1var Kf=Object.defineProperty;var Xf=(e,t,r)=>t in e?Kf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Cr=(e,t,r)=>Xf(e,typeof t!="symbol"?t+"":t,r);import{a9 as Yf,H as Qf,l as Jf,u as vu,n as Zf,w as Ge,aB as ii,r as le,bq as ev,br as io,o as ai,y as tn,c as he,a as tr,p as tv,s as rv,aI as nv,ap as rr,J as iv,z as rn,x as du}from"../vendors/vendor-stable.BZTOV27i.js";const av=function(){const t=typeof document!="undefined"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),ov=function(e){return"/"+e},Yo={},yO=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),o=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.all(r.map(l=>{if(l=ov(l),l in Yo)return;Yo[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const g=document.createElement("link");if(g.rel=u?"stylesheet":av,u||(g.as="script",g.crossOrigin=""),g.href=l,o&&g.setAttribute("nonce",o),document.head.appendChild(g),u)return new Promise((E,b)=>{g.addEventListener("load",E),g.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})};var we=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function st(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function sv(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Rr=function(e){return e&&e.Math===Math&&e},xe=Rr(typeof globalThis=="object"&&globalThis)||Rr(typeof window=="object"&&window)||Rr(typeof self=="object"&&self)||Rr(typeof we=="object"&&we)||Rr(typeof we=="object"&&we)||function(){return this}()||Function("return this")(),ao={},Qe=function(e){try{return!!e()}catch(t){return!0}},lv=Qe,lt=!lv(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),uv=Qe,oi=!uv(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),cv=oi,hn=Function.prototype.call,bt=cv?hn.bind(hn):function(){return hn.apply(hn,arguments)},hu={},pu={}.propertyIsEnumerable,gu=Object.getOwnPropertyDescriptor,fv=gu&&!pu.call({1:2},1);hu.f=fv?function(t){var r=gu(this,t);return!!r&&r.enumerable}:pu;var si=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},mu=oi,yu=Function.prototype,Aa=yu.call,vv=mu&&yu.bind.bind(Aa,Aa),We=mu?vv:function(e){return function(){return Aa.apply(e,arguments)}},wu=We,dv=wu({}.toString),hv=wu("".slice),nn=function(e){return hv(dv(e),8,-1)},pv=We,gv=Qe,mv=nn,Ii=Object,yv=pv("".split),wv=gv(function(){return!Ii("z").propertyIsEnumerable(0)})?function(e){return mv(e)==="String"?yv(e,""):Ii(e)}:Ii,li=function(e){return e==null},bv=li,Ev=TypeError,oo=function(e){if(bv(e))throw new Ev("Can't call method on "+e);return e},_v=wv,Ov=oo,an=function(e){return _v(Ov(e))},Ci=typeof document=="object"&&document.all,$e=typeof Ci=="undefined"&&Ci!==void 0?function(e){return typeof e=="function"||e===Ci}:function(e){return typeof e=="function"},Sv=$e,dt=function(e){return typeof e=="object"?e!==null:Sv(e)},Ri=xe,Av=$e,xv=function(e){return Av(e)?e:void 0},Wt=function(e,t){return arguments.length<2?xv(Ri[e]):Ri[e]&&Ri[e][t]},$v=We,so=$v({}.isPrototypeOf),ui=typeof navigator!="undefined"&&String(navigator.userAgent)||"",bu=xe,Pi=ui,Qo=bu.process,Jo=bu.Deno,Zo=Qo&&Qo.versions||Jo&&Jo.version,es=Zo&&Zo.v8,ct,zn;es&&(ct=es.split("."),zn=ct[0]>0&&ct[0]<4?1:+(ct[0]+ct[1]));!zn&&Pi&&(ct=Pi.match(/Edge\/(\d+)/),(!ct||ct[1]>=74)&&(ct=Pi.match(/Chrome\/(\d+)/),ct&&(zn=+ct[1])));var Eu=zn,ts=Eu,Tv=Qe,Iv=xe,Cv=Iv.String,_u=!!Object.getOwnPropertySymbols&&!Tv(function(){var e=Symbol("symbol detection");return!Cv(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ts&&ts<41}),Rv=_u,Ou=Rv&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Pv=Wt,kv=$e,Nv=so,Bv=Ou,Dv=Object,Su=Bv?function(e){return typeof e=="symbol"}:function(e){var t=Pv("Symbol");return kv(t)&&Nv(t.prototype,Dv(e))},Fv=String,ci=function(e){try{return Fv(e)}catch(t){return"Object"}},Lv=$e,Mv=ci,jv=TypeError,Ct=function(e){if(Lv(e))return e;throw new jv(Mv(e)+" is not a function")},Uv=Ct,Hv=li,lo=function(e,t){var r=e[t];return Hv(r)?void 0:Uv(r)},ki=bt,Ni=$e,Bi=dt,Gv=TypeError,Wv=function(e,t){var r,n;if(t==="string"&&Ni(r=e.toString)&&!Bi(n=ki(r,e))||Ni(r=e.valueOf)&&!Bi(n=ki(r,e))||t!=="string"&&Ni(r=e.toString)&&!Bi(n=ki(r,e)))return n;throw new Gv("Can't convert object to primitive value")},Au={exports:{}},rs=xe,Vv=Object.defineProperty,uo=function(e,t){try{Vv(rs,e,{value:t,configurable:!0,writable:!0})}catch(r){rs[e]=t}return t},qv=xe,zv=uo,ns="__core-js_shared__",is=Au.exports=qv[ns]||zv(ns,{});(is.versions||(is.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var co=Au.exports,as=co,xu=function(e,t){return as[e]||(as[e]=t||{})},Kv=oo,Xv=Object,on=function(e){return Xv(Kv(e))},Yv=We,Qv=on,Jv=Yv({}.hasOwnProperty),Et=Object.hasOwn||function(t,r){return Jv(Qv(t),r)},Zv=We,ed=0,td=Math.random(),rd=Zv(1 .toString),$u=function(e){return"Symbol("+(e===void 0?"":e)+")_"+rd(++ed+td,36)},nd=xe,id=xu,os=Et,ad=$u,od=_u,sd=Ou,hr=nd.Symbol,Di=id("wks"),ld=sd?hr.for||hr:hr&&hr.withoutSetter||ad,Ve=function(e){return os(Di,e)||(Di[e]=od&&os(hr,e)?hr[e]:ld("Symbol."+e)),Di[e]},ud=bt,ss=dt,ls=Su,cd=lo,fd=Wv,vd=Ve,dd=TypeError,hd=vd("toPrimitive"),pd=function(e,t){if(!ss(e)||ls(e))return e;var r=cd(e,hd),n;if(r){if(t===void 0&&(t="default"),n=ud(r,e,t),!ss(n)||ls(n))return n;throw new dd("Can't convert object to primitive value")}return t===void 0&&(t="number"),fd(e,t)},gd=pd,md=Su,Tu=function(e){var t=gd(e,"string");return md(t)?t:t+""},yd=xe,us=dt,xa=yd.document,wd=us(xa)&&us(xa.createElement),fo=function(e){return wd?xa.createElement(e):{}},bd=lt,Ed=Qe,_d=fo,Iu=!bd&&!Ed(function(){return Object.defineProperty(_d("div"),"a",{get:function(){return 7}}).a!==7}),Od=lt,Sd=bt,Ad=hu,xd=si,$d=an,Td=Tu,Id=Et,Cd=Iu,cs=Object.getOwnPropertyDescriptor;ao.f=Od?cs:function(t,r){if(t=$d(t),r=Td(r),Cd)try{return cs(t,r)}catch(n){}if(Id(t,r))return xd(!Sd(Ad.f,t,r),t[r])};var _t={},Rd=lt,Pd=Qe,Cu=Rd&&Pd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),kd=dt,Nd=String,Bd=TypeError,Rt=function(e){if(kd(e))return e;throw new Bd(Nd(e)+" is not an object")},Dd=lt,Fd=Iu,Ld=Cu,pn=Rt,fs=Tu,Md=TypeError,Fi=Object.defineProperty,jd=Object.getOwnPropertyDescriptor,Li="enumerable",Mi="configurable",ji="writable";_t.f=Dd?Ld?function(t,r,n){if(pn(t),r=fs(r),pn(n),typeof t=="function"&&r==="prototype"&&"value"in n&&ji in n&&!n[ji]){var i=jd(t,r);
vendor: 19,385 bytes, line 1
1i&&i[ji]&&(t[r]=n.value,n={configurable:Mi in n?n[Mi]:i[Mi],enumerable:Li in n?n[Li]:i[Li],writable:!1})}return Fi(t,r,n)}:Fi:function(t,r,n){if(pn(t),r=fs(r),pn(n),Fd)try{return Fi(t,r,n)}catch(i){}if("get"in n||"set"in n)throw new Md("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var Ud=lt,Hd=_t,Gd=si,vo=Ud?function(e,t,r){return Hd.f(e,t,Gd(1,r))}:function(e,t,r){return e[t]=r,e},Ru={exports:{}},$a=lt,Wd=Et,Pu=Function.prototype,Vd=$a&&Object.getOwnPropertyDescriptor,ku=Wd(Pu,"name"),qd=ku&&function(){}.name==="something",zd=ku&&(!$a||$a&&Vd(Pu,"name").configurable),Nu={PROPER:qd,CONFIGURABLE:zd},Kd=We,Xd=$e,Ta=co,Yd=Kd(Function.toString);Xd(Ta.inspectSource)||(Ta.inspectSource=function(e){return Yd(e)});var ho=Ta.inspectSource,Qd=xe,Jd=$e,vs=Qd.WeakMap,Zd=Jd(vs)&&/native code/.test(String(vs)),eh=xu,th=$u,ds=eh("keys"),po=function(e){return ds[e]||(ds[e]=th(e))},go={},rh=Zd,Bu=xe,nh=dt,ih=vo,Ui=Et,Hi=co,ah=po,oh=go,hs="Object already initialized",Ia=Bu.TypeError,sh=Bu.WeakMap,Kn,Xr,Xn,lh=function(e){return Xn(e)?Xr(e):Kn(e,{})},uh=function(e){return function(t){var r;if(!nh(t)||(r=Xr(t)).type!==e)throw new Ia("Incompatible receiver, "+e+" required");return r}};if(rh||Hi.state){var pt=Hi.state||(Hi.state=new sh);pt.get=pt.get,pt.has=pt.has,pt.set=pt.set,Kn=function(e,t){if(pt.has(e))throw new Ia(hs);return t.facade=e,pt.set(e,t),t},Xr=function(e){return pt.get(e)||{}},Xn=function(e){return pt.has(e)}}else{var ur=ah("state");oh[ur]=!0,Kn=function(e,t){if(Ui(e,ur))throw new Ia(hs);return t.facade=e,ih(e,ur,t),t},Xr=function(e){return Ui(e,ur)?e[ur]:{}},Xn=function(e){return Ui(e,ur)}}var mo={set:Kn,get:Xr,has:Xn,enforce:lh,getterFor:uh},yo=We,ch=Qe,fh=$e,gn=Et,Ca=lt,vh=Nu.CONFIGURABLE,dh=ho,Du=mo,hh=Du.enforce,ph=Du.get,ps=String,Mn=Object.defineProperty,gh=yo("".slice),mh=yo("".replace),yh=yo([].join),wh=Ca&&!ch(function(){return Mn(function(){},"length",{value:8}).length!==8}),bh=String(String).split("String"),Eh=Ru.exports=function(e,t,r){gh(ps(t),0,7)==="Symbol("&&(t="["+mh(ps(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!gn(e,"name")||vh&&e.name!==t)&&(Ca?Mn(e,"name",{value:t,configurable:!0}):e.name=t),wh&&r&&gn(r,"arity")&&e.length!==r.arity&&Mn(e,"length",{value:r.arity});try{r&&gn(r,"constructor")&&r.constructor?Ca&&Mn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var n=hh(e);return gn(n,"source")||(n.source=yh(bh,typeof t=="string"?t:"")),e};Function.prototype.toString=Eh(function(){return fh(this)&&ph(this).source||dh(this)},"toString");var Fu=Ru.exports,_h=$e,Oh=_t,Sh=Fu,Ah=uo,sr=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(_h(r)&&Sh(r,a,n),n.global)i?e[t]=r:Ah(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch(o){}i?e[t]=r:Oh.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Lu={},xh=Math.ceil,$h=Math.floor,Th=Math.trunc||function(t){var r=+t;return(r>0?$h:xh)(r)},Ih=Th,fi=function(e){var t=+e;return t!==t||t===0?0:Ih(t)},Ch=fi,Rh=Math.max,Ph=Math.min,kh=function(e,t){var r=Ch(e);return r<0?Rh(r+t,0):Ph(r,t)},Nh=fi,Bh=Math.min,Dh=function(e){var t=Nh(e);return t>0?Bh(t,9007199254740991):0},Fh=Dh,xr=function(e){return Fh(e.length)},Lh=an,Mh=kh,jh=xr,Uh=function(e){return function(t,r,n){var i=Lh(t),a=jh(i);if(a===0)return!e&&-1;var o=Mh(n,a),l;if(e&&r!==r){for(;a>o;)if(l=i[o++],l!==l)return!0}else for(;a>o;o++)if((e||o in i)&&i[o]===r)return e||o||0;return!e&&-1}},Hh={indexOf:Uh(!1)},Gh=We,Gi=Et,Wh=an,Vh=Hh.indexOf,qh=go,gs=Gh([].push),Mu=function(e,t){var r=Wh(e),n=0,i=[],a;for(a in r)!Gi(qh,a)&&Gi(r,a)&&gs(i,a);for(;t.length>n;)Gi(r,a=t[n++])&&(~Vh(i,a)||gs(i,a));return i},wo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],zh=Mu,Kh=wo,Xh=Kh.concat("length","prototype");Lu.f=Object.getOwnPropertyNames||function(t){return zh(t,Xh)};var ju={};ju.f=Object.getOwnPropertySymbols;var Yh=Wt,Qh=We,Jh=Lu,Zh=ju,ep=Rt,tp=Qh([].concat),rp=Yh("Reflect","ownKeys")||function(t){var r=Jh.f(ep(t)),n=Zh.f;return n?tp(r,n(t)):r},ms=Et,np=rp,ip=ao,ap=_t,op=function(e,t,r){for(var n=np(t),i=ap.f,a=ip.f,o=0;o<n.length;o++){var l=n[o];!ms(e,l)&&!(r&&ms(r,l))&&i(e,l,a(t,l))}},sp=Qe,lp=$e,up=/#|\.prototype\./,sn=function(e,t){var r=fp[cp(e)];return r===dp?!0:r===vp?!1:lp(t)?sp(t):!!t},cp=sn.normalize=function(e){return String(e).replace(up,".").toLowerCase()},fp=sn.data={},vp=sn.NATIVE="N",dp=sn.POLYFILL="P",Uu=sn,mn=xe,hp=ao.f,pp=vo,gp=sr,mp=uo,yp=op,wp=Uu,Je=function(e,t){var r=e.target,n=e.global,i=e.stat,a,o,l,u,c,g;if(n?o=mn:i?o=mn[r]||mp(r,{}):o=mn[r]&&mn[r].prototype,o)for(l in t){if(c=t[l],e.dontCallGetSet?(g=hp(o,l),u=g&&g.value):u=o[l],a=wp(n?l:r+(i?".":"#")+l,e.forced),!a&&u!==void 0){if(typeof c==typeof u)continue;yp(c,u)}(e.sham||u&&u.sham)&&pp(c,"sham",!0),gp(o,l,c,e)}},bp=Je,Wi=xe;bp({global:!0,forced:Wi.globalThis!==Wi},{globalThis:Wi});var Ep=Ve,_p=Ep("toStringTag"),Hu={};Hu[_p]="z";var bo=String(Hu)==="[object z]",Op=bo,Sp=$e,jn=nn,Ap=Ve,xp=Ap("toStringTag"),$p=Object,Tp=jn(function(){return arguments}())==="Arguments",Ip=function(e,t){try{return e[t]}catch(r){}},Eo=Op?jn:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=Ip(t=$p(e),xp))=="string"?r:Tp?jn(t):(n=jn(t))==="Object"&&Sp(t.callee)?"Arguments":n},Cp=bo,Rp=Eo,Pp=Cp?{}.toString:function(){return"[object "+Rp(this)+"]"},kp=bo,Np=sr,Bp=Pp;kp||Np(Object.prototype,"toString",Bp,{unsafe:!0});var Dp=xe,Fp=nn,vi=Fp(Dp.process)==="process",Lp=We,Mp=Ct,jp=function(e,t,r){try{return Lp(Mp(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(n){}},Up=dt,Hp=function(e){return Up(e)||e===null},Gp=Hp,Wp=String,Vp=TypeError,qp=function(e){if(Gp(e))return e;throw new Vp("Can't set "+Wp(e)+" as a prototype")},zp=jp,Kp=dt,Xp=oo,Yp=qp,Gu=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=zp(Object.prototype,"__proto__","set"),r(t,[]),e=t instanceof Array}catch(n){}return function(i,a){return Xp(i),Yp(a),Kp(i)&&(e?r(i,a):i.__proto__=a),i}}():void 0),Qp=_t.f,Jp=Et,Zp=Ve,ys=Zp("toStringTag"),_o=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Jp(e,ys)&&Qp(e,ys,{configurable:!0,value:t})},ws=Fu,e0=_t,t0=function(e,t,r){return r.get&&ws(r.get,t,{getter:!0}),r.set&&ws(r.set,t,{setter:!0}),e0.f(e,t,r)},r0=Wt,n0=t0,i0=Ve,a0=lt,bs=i0("species"),o0=function(e){var t=r0(e);a0&&t&&!t[bs]&&n0(t,bs,{configurable:!0,get:function(){return this}})},s0=so,l0=TypeError,u0=function(e,t){if(s0(t,e))return e;throw new l0("Incorrect invocation")},c0=We,f0=Qe,Wu=$e,v0=Eo,d0=Wt,h0=ho,Vu=function(){},qu=d0("Reflect","construct"),Oo=/^\s*(?:class|function)\b/,p0=c0(Oo.exec),g0=!Oo.test(Vu),Pr=function(t){if(!Wu(t))return!1;try{return qu(Vu,[],t),!0}catch(r){return!1}},zu=function(t){if(!Wu(t))return!1;switch(v0(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g0||!!p0(Oo,h0(t))}catch(r){return!0}};zu.sham=!0;var Ku=!qu||f0(function(){var e;return Pr(Pr.call)||!Pr(Object)||!Pr(function(){e=!0})||e})?zu:Pr,m0=Ku,y0=ci,w0=TypeError,b0=function(e){if(m0(e))return e;throw new w0(y0(e)+" is not a constructor")},Es=Rt,E0=b0,_0=li,O0=Ve,S0=O0("species"),Xu=function(e,t){var r=Es(e).constructor,n;return r===void 0||_0(n=Es(r)[S0])?t:E0(n)},A0=oi,Yu=Function.prototype,_s=Yu.apply,Os=Yu.call,x0=typeof Reflect=="object"&&Reflect.apply||(A0?Os.bind(_s):function(){return Os.apply(_s,arguments)}),$0=nn,T0=We,I0=function(e){if($0(e)==="Function")return T0(e)},Ss=I0,C0=Ct,R0=oi,P0=Ss(Ss.bind),di=function(e,t){return C0(e),t===void 0?e:R0?P0(e,t):function(){return e.apply(t,arguments)}},k0=Wt,Qu=k0("document","documentElement"),N0=We,B0=N0([].slice),D0=TypeError,F0=function(e,t){if(e<t)throw new D0("Not enough arguments");return e},L0=ui,Ju=/(?:ipad|iphone|ipod).*applewebkit/i.test(L0),Ke=xe,M0=x0,j0=di,As=$e,U0=Et,Zu=Qe,xs=Qu,H0=B0,$s=fo,G0=F0,W0=Ju,V0=vi,Ra=Ke.setImmediate,Ts=Ke.clearImmediate,q0=Ke.process,Vi=Ke.Dispatch,z0=Ke.Function,Is=Ke.MessageChannel,K0=Ke.String,qi=0,Vr={},Cs="onreadystatechange",Yr,Xt,zi,Ki;Zu(function(){Yr=Ke.location});var So=function(e){if(U0(Vr,e)){var t=Vr[e];delete Vr[e],t()}},Xi=function(e){return function(){So(e)}},Rs=function(e){So(e.data)},Ps=function(e){Ke.postMessage(K0(e),Yr.protocol+"//"+Yr.host)};(!Ra||!Ts)&&(Ra=function(t){G0(arguments.length,1);var r=As(t)?t:z0(t),n=H0(arguments,1);return Vr[++qi]=function(){M0(r,void 0,n)},Xt(qi),qi},Ts=function(t){delete Vr[t]},V0?Xt=function(e){q0.nextTick(Xi(e))}:Vi&&Vi.now?Xt=function(e){Vi.now(Xi(e))}:Is&&!W0?(zi=new Is,Ki=zi.port2,zi.port1.onmessage=Rs,Xt=j0(Ki.postMessage,Ki)):Ke.addEventListener&&As(Ke.postMessage)&&!Ke.importScripts&&Yr&&Yr.protocol!=="file:"&&!Zu(Ps)?(Xt=Ps,Ke.addEventListener("message",Rs,!1)):Cs in $s("script")?Xt=function(e){xs.appendChild($s("script"))[Cs]=function(){xs.removeChild(this),So(e)}}:Xt=function(e){setTimeout(Xi(e),0)});var ec={set:Ra},ks=xe,X0=lt,Y0=Object.getOwnPropertyDescriptor,Q0=function(e){if(!X0)return ks[e];var t=Y0(ks,e);return t&&t.value},tc=function(){this.head=null,this.tail=null};tc.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e){var t=this.head=e.next;return t===null&&(this.tail=null),e.item}}};var rc=tc,J0=ui,Z0=/ipad|iphone|ipod/i.test(J0)&&typeof Pebble!="undefined",eg=ui,tg=/web0s(?!.*chrome)/i.test(eg),br=xe,rg=Q0,Ns=di,Yi=ec.set,ng=rc,ig=Ju,ag=Z0,og=tg,Qi=vi,Bs=br.MutationObserver||br.WebKitMutationObserver,Ds=br.document,Fs=br.process,yn=br.Promise,Pa=rg("queueMicrotask"),cr,Ji,Zi,wn,Ls;if(!Pa){var bn=new ng,En=function(){var e,t;for(Qi&&(e=Fs.domain)&&e.exit();t=bn.get();)try{t()}catch(r){throw bn.head&&cr(),r}e&&e.enter()};!ig&&!Qi&&!og&&Bs&&Ds?(Ji=!0,Zi=Ds.createTextNode(""),new Bs(En).observe(Zi,{characterData:!0}),cr=function(){Zi.data=Ji=!Ji}):!ag&&yn&&yn.resolve?(wn=yn.resolve(void 0),wn.constructor=yn,Ls=Ns(wn.then,wn),cr=function(){Ls(En)}):Qi?cr=function(){Fs.nextTick(En)}:(Yi=Ns(Yi,br),cr=function(){Yi(En)}),Pa=function(e){bn.head||cr(),bn.add(e)}}var sg=Pa,lg=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch(r){}},Ao=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},ug=xe,ln=ug.Promise,nc=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",cg=nc,fg=vi,vg=!cg&&!fg&&typeof window=="object"&&typeof document=="object",dg=xe,qr=ln,hg=$e,pg=Uu,gg=ho,mg=Ve,yg=vg,wg=nc,ea=Eu;qr&&qr.prototype;var bg=mg("species"),ka=!1,ic=hg(dg.PromiseRejectionEvent),Eg=pg("Promise",function(){var e=gg(qr),t=e!==String(qr);if(!t&&ea===66)return!0;if(!ea||ea<51||!/native code/.test(e)){var r=new qr(function(a){a(1)}),n=function(a){a(function(){},function(){})},i=r.constructor={};if(i[bg]=n,ka=r.then(function(){})instanceof n,!ka)return!0}return!t&&(yg||wg)&&!ic}),un={CONSTRUCTOR:Eg,REJECTION_EVENT:ic,SUBCLASSING:ka},$r={},Ms=Ct,_g=TypeError,Og=function(e){var t,r;this.promise=new e(function(n,i){if(t!==void 0||r!==void 0)throw new _g("Bad Promise constructor");t=n,r=i}),this.resolve=Ms(t),this.reject=Ms(r)};$r.f=function(e){return new Og(e)};var Sg=Je,Yn=vi,jt=xe,Er=bt,js=sr,Us=Gu,Ag=_o,xg=o0,$g=Ct,Un=$e,Tg=dt,Ig=u0,Cg=Xu,ac=ec.set,xo=sg,Rg=lg,Pg=Ao,kg=rc,oc=mo,Qn=ln,$o=un,sc=$r,hi="Promise",lc=$o.CONSTRUCTOR,Ng=$o.REJECTION_EVENT,Bg=$o.SUBCLASSING,ta=oc.getterFor(hi),Dg=oc.set,dr=Qn&&Qn.prototype,Jt=Qn,_n=dr,uc=jt.TypeError,Na=jt.document,To=jt.process,Ba=sc.f,Fg=Ba,Lg=!!(Na&&Na.createEvent&&jt.dispatchEvent),cc="unhandledrejection",Mg="rejectionhandled",Hs=0,fc=1,jg=2,Io=1,vc=2,On,Gs,Ug,Ws,dc=function(e){var t;return Tg(e)&&Un(t=e.then)?t:!1},hc=function(e,t){var r=t.value,n=t.state===fc,i=n?e.ok:e.fail,a=e.resolve,o=e.reject,l=e.domain,u,c,g;try{i?(n||(t.rejection===vc&&Gg(t),t.rejection=Io),i===!0?u=r:(l&&l.enter(),u=i(r),l&&(l.exit(),g=!0)),u===e.promise?o(new uc("Promise-chain cycle")):(c=dc(u))?Er(c,u,a,o):a(u)):o(r)}catch(E){l&&!g&&l.exit(),o(E)}},pc=function(e,t){e.notified||(e.notified=!0,xo(function(){for(var r=e.reactions,n;n=r.get();)hc(n,e);e.notified=!1,t&&!e.rejection&&Hg(e)}))},gc=function(e,t,r){var n,i;Lg?(n=Na.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),jt.dispatchEvent(n)):n={promise:t,reason:r},!Ng&&(i=jt["on"+e])?i(n):e===cc&&Rg("Unhandled promise rejection",r)},Hg=function(e){Er(ac,jt,function(){var t=e.facade,r=e.value,n=Vs(e),i;if(n&&(i=Pg(function(){Yn?To.emit("unhandledRejection",r,t):gc(cc,t,r)}),e.rejection=Yn||Vs(e)?vc:Io,i.error))throw i.value})},Vs=function(e){return e.rejection!==Io&&!e.parent},Gg=function(e){Er(ac,jt,function(){var t=e.facade;Yn?To.emit("rejectionHandled",t):gc(Mg,t,e.value)})},pr=function(e,t,r){return function(n){e(t,n,r)}},mr=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=jg,pc(e,!0))},Da=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new uc("Promise can't be resolved itself");var n=dc(t);n?xo(function(){var i={done:!1};try{Er(n,t,pr(Da,i,e),pr(mr,i,e))}catch(a){mr(i,a,e)}}):(e.value=t,e.state=fc,pc(e,!1))}catch(i){mr({done:!1},i,e)}}};if(lc&&(Jt=function(t){Ig(this,_n),$g(t),Er(On,this);var r=ta(this);try{t(pr(Da,r),pr(mr,r))}catch(n){mr(r,n)}},_n=Jt.prototype,On=function(t){Dg(this,{type:hi,done:!1,notified:!1,parent:!1,reactions:new kg,rejection:!1,state:Hs,value:void 0})},On.prototype=js(_n,"then",function(t,r){var n=ta(this),i=Ba(Cg(this,Jt));return n.parent=!0,i.ok=Un(t)?t:!0,i.fail=Un(r)&&r,i.domain=Yn?To.domain:void 0,n.state===Hs?n.reactions.add(i):xo(function(){hc(i,n)}),i.promise}),Gs=function(){var e=new On,t=ta(e);this.promise=e,this.resolve=pr(Da,t),this.reject=pr(mr,t)},sc.f=Ba=function(e){return e===Jt||e===Ug?new Gs(e):Fg(e)},Un(Qn)&&dr!==Object.prototype)){Ws=dr.then,Bg||js(dr,"then",function(t,r){var n=this;return new Jt(function(i,a){Er(Ws,n,i,a)}).then(t,r)},{unsafe:!0});try{delete dr.constructor}catch(e){}Us&&Us(dr,_n)}Sg({global:!0,constructor:!0,wrap:!0,forced:lc},{Promise:Jt});Ag(Jt,hi,!1);xg(hi);var cn={},Wg=Ve,Vg=cn,qg=Wg("iterator"),zg=Array.prototype,Kg=function(e){return e!==void 0&&(Vg.Array===e||zg[qg]===e)},Xg=Eo,qs=lo,Yg=li,Qg=cn,Jg=Ve,Zg=Jg("iterator"),mc=function(e){if(!Yg(e))return qs(e,Zg)||qs(e,"@@iterator")||Qg[Xg(e)]},em=bt,tm=Ct,rm=Rt,nm=ci,im=mc,am=TypeError,om=function(e,t){var r=arguments.length<2?im(e):t;if(tm(r))return rm(em(r,e));throw new am(nm(e)+" is not iterable")},sm=bt,zs=Rt,lm=lo,um=function(e,t,r){var n,i;zs(e);try{if(n=lm(e,"return"),!n){if(t==="throw")throw r;return r}n=sm(n,e)}catch(a){i=!0,n=a}if(t==="throw")throw r;if(i)throw n;return zs(n),r},cm=di,fm=bt,vm=Rt,dm=ci,hm=Kg,pm=xr,Ks=so,gm=om,mm=mc,Xs=um,ym=TypeError,Hn=function(e,t){this.stopped=e,this.result=t},Ys=Hn.prototype,Co=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),a=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),l=!!(r&&r.INTERRUPTED),u=cm(t,n),c,g,E,b,O,N,T,I=function(d){return c&&Xs(c,"normal",d),new Hn(!0,d)},C=function(d){return i?(vm(d),l?u(d[0],d[1],I):u(d[0],d[1])):l?u(d,I):u(d)};if(a)c=e.iterator;else if(o)c=e;else{if(g=mm(e),!g)throw new ym(dm(e)+" is not iterable");if(hm(g)){for(E=0,b=pm(e);b>E;E++)if(O=C(e[E]),O&&Ks(Ys,O))return O;return new Hn(!1)}c=gm(e,g)}for(N=a?e.next:c.next;!(T=fm(N,c)).done;){try{O=C(T.value)}catch(d){Xs(c,"throw",d)}if(typeof O=="object"&&O&&Ks(Ys,O))return O}return new Hn(!1)},wm=Ve,yc=wm("iterator"),wc=!1;try{var bm=0,Qs={next:function(){return{done:!!bm++}},return:function(){wc=!0}};Qs[yc]=function(){return this},Array.from(Qs,function(){throw 2})}catch(e){}var Em=function(e,t){try{if(!t&&!wc)return!1}catch(i){return!1}var r=!1;try{var n={};n[yc]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(i){}return r},_m=ln,Om=Em,Sm=un.CONSTRUCTOR,bc=Sm||!Om(function(e){_m.all(e).then(void 0,function(){})}),Am=Je,xm=bt,$m=Ct,Tm=$r,Im=Ao,Cm=Co,Rm=bc;Am({target:"Promise",stat:!0,forced:Rm},{all:function(t){var r=this,n=Tm.f(r),i=n.resolve,a=n.reject,o=Im(function(){var l=$m(r.resolve),u=[],c=0,g=1;Cm(t,function(E){var b=c++,O=!1;g++,xm(l,r,E).then(function(N){O||(O=!0,u[b]=N,--g||i(u))},a)}),--g||i(u)});return o.error&&a(o.value),n.promise}});var Pm=Je,km=un.CONSTRUCTOR,Fa=ln,Nm=Wt,Bm=$e,Dm=sr,Js=Fa&&Fa.prototype;Pm({target:"Promise",proto:!0,forced:km,real:!0},{catch:function(e){return this.then(void 0,e)}});if(Bm(Fa)){var Zs=Nm("Promise").prototype.catch;Js.catch!==Zs&&Dm(Js,"catch",Zs,{unsafe:!0})}var Fm=Je,Lm=bt,Mm=Ct,jm=$r,Um=Ao,Hm=Co,Gm=bc;Fm({target:"Promise",stat:!0,forced:Gm},{race:function(t){var r=this,n=jm.f(r),i=n.reject,a=Um(function(){var o=Mm(r.resolve);Hm(t,function(l){Lm(o,r,l).then(n.resolve,i)})});return a.error&&i(a.value),n.promise}});var Wm=Je,Vm=$r,qm=un.CONSTRUCTOR;Wm({target:"Promise",stat:!0,forced:qm},{reject:function(t){var r=Vm.f(this),n=r.reject;return n(t),r.promise}});var zm=Rt,Km=dt,Xm=$r,Ec=function(e,t){if(zm(e),Km(t)&&t.constructor===e)return t;var r=Xm.f(e),n=r.resolve;return n(t),r.promise},Ym=Je,Qm=Wt,Jm=un.CONSTRUCTOR,Zm=Ec;Qm("Promise");Ym({target:"Promise",stat:!0,forced:Jm},{resolve:function(t){return Zm(this,t)}});var ey=Je,Jn=ln,ty=Qe,_c=Wt,Oc=$e,ry=Xu,el=Ec,ny=sr,La=Jn&&Jn.prototype,iy=!!Jn&&ty(function(){La.finally.call({then:function(){}},function(){})});ey({target:"Promise",proto:!0,real:!0,forced:iy},{finally:function(e){var t=ry(this,_c("Promise")),r=Oc(e);return this.then(r?function(n){return el(t,e()).then(function(){return n})}:e,r?function(n){return el(t,e()).then(function(){throw n})}:e)}});if(Oc(Jn)){var tl=_c("Promise").prototype.finally;La.finally!==tl&&ny(La,"finally",tl,{unsafe:!0})}var ay=xe,oy=We,pi=function(e,t){return oy(ay[e].prototype[t])},sy=pi;sy("Promise","finally");var Sc={},ly=Mu,uy=wo,cy=Object.keys||function(t){return ly(t,uy)},fy=lt,vy=Cu,dy=_t,hy=Rt,py=an,gy=cy;Sc.f=fy&&!vy?Object.defineProperties:function(t,r){hy(t);for(var n=py(r),i=gy(r),a=i.length,o=0,l;a>o;)dy.f(t,l=i[o++],n[l]);return t};var my=Rt,yy=Sc,rl=wo,wy=go,by=Qu,Ey=fo,_y=po,nl=">",il="<",Ma="prototype",ja="script",Ac=_y("IE_PROTO"),ra=function(){},xc=function(e){return il+ja+nl+e+il+"/"+ja+nl},al=function(e){e.write(xc("")),e.close();var t=e.parentWindow.Object;return e=null,t},Oy=function(){var e=Ey("iframe"),t="java"+ja+":",r;return e.style.display="none",by.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(xc("document.F=Object")),r.close(),r.F},Sn,Gn=function(){try{Sn=new ActiveXObject("htmlfile")}catch(t){}Gn=typeof document!="undefined"?document.domain&&Sn?al(Sn):Oy():al(Sn);for(var e=rl.length;e--;)delete Gn[Ma][rl[e]];return Gn()};wy[Ac]=!0;var $c=Object.create||function(t,r){var n;return t!==null?(ra[Ma]=my(t),n=new ra,ra[Ma]=null,n[Ac]=t):n=Gn(),r===void 0?n:yy.f(n,r)},Sy=Ve,Ay=$c,xy=_t.f,Ua=Sy("unscopables"),Ha=Array.prototype;Ha[Ua]===void 0&&xy(Ha,Ua,{configurable:!0,value:Ay(null)});var gi=function(e){Ha[Ua][e]=!0},$y=Qe,Ty=!$y(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Iy=Et,Cy=$e,Ry=on,Py=po,ky=Ty,ol=Py("IE_PROTO"),Ga=Object,Ny=Ga.prototype,Tc=ky?Ga.getPrototypeOf:function(e){var t=Ry(e);if(Iy(t,ol))return t[ol];var r=t.constructor;return Cy(r)&&t instanceof r?r.prototype:t instanceof Ga?Ny:null},By=Qe,Dy=$e,Fy=dt,sl=Tc,Ly=sr,My=Ve,Wa=My("iterator"),Ic=!1,nr,na,ia;[].keys&&(ia=[].keys(),"next"in ia?(na=sl(sl(ia)),na!==Object.prototype&&(nr=na)):Ic=!0);var jy=!Fy(nr)||By(function(){var e={};
1return nr[Wa].call(e)!==e});jy&&(nr={});Dy(nr[Wa])||Ly(nr,Wa,function(){return this});var Cc={IteratorPrototype:nr,BUGGY_SAFARI_ITERATORS:Ic},Uy=Cc.IteratorPrototype,Hy=$c,Gy=si,Wy=_o,Vy=cn,qy=function(){return this},zy=function(e,t,r,n){var i=t+" Iterator";return e.prototype=Hy(Uy,{next:Gy(+!n,r)}),Wy(e,i,!1),Vy[i]=qy,e},Ky=Je,Xy=bt,Rc=Nu,Yy=$e,Qy=zy,ll=Tc,ul=Gu,Jy=_o,Zy=vo,aa=sr,e1=Ve,t1=cn,Pc=Cc,r1=Rc.PROPER,n1=Rc.CONFIGURABLE,cl=Pc.IteratorPrototype,An=Pc.BUGGY_SAFARI_ITERATORS,kr=e1("iterator"),fl="keys",Nr="values",vl="entries",i1=function(){return this},a1=function(e,t,r,n,i,a,o){Qy(r,t,n);var l=function(C){if(C===i&&b)return b;if(!An&&C&&C in g)return g[C];switch(C){case fl:return function(){return new r(this,C)};case Nr:return function(){return new r(this,C)};case vl:return function(){return new r(this,C)}}return function(){return new r(this)}},u=t+" Iterator",c=!1,g=e.prototype,E=g[kr]||g["@@iterator"]||i&&g[i],b=!An&&E||l(i),O=t==="Array"&&g.entries||E,N,T,I;if(O&&(N=ll(O.call(new e)),N!==Object.prototype&&N.next&&(ll(N)!==cl&&(ul?ul(N,cl):Yy(N[kr])||aa(N,kr,i1)),Jy(N,u,!0))),r1&&i===Nr&&E&&E.name!==Nr&&(n1?Zy(g,"name",Nr):(c=!0,b=function(){return Xy(E,this)})),i)if(T={values:l(Nr),keys:a?b:l(fl),entries:l(vl)},o)for(I in T)(An||c||!(I in g))&&aa(g,I,T[I]);else Ky({target:t,proto:!0,forced:An||c},T);return g[kr]!==b&&aa(g,kr,b,{name:i}),t1[t]=b,T},o1=function(e,t){return{value:e,done:t}},s1=an,Ro=gi,dl=cn,kc=mo,l1=_t.f,u1=a1,xn=o1,c1=lt,Nc="Array Iterator",f1=kc.set,v1=kc.getterFor(Nc);u1(Array,"Array",function(e,t){f1(this,{type:Nc,target:s1(e),index:0,kind:t})},function(){var e=v1(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,xn(void 0,!0);switch(e.kind){case"keys":return xn(r,!1);case"values":return xn(t[r],!1)}return xn([r,t[r]],!1)},"values");var hl=dl.Arguments=dl.Array;Ro("keys");Ro("values");Ro("entries");if(c1&&hl.name!=="values")try{l1(hl,"name",{value:"values"})}catch(e){}var d1=lt,h1=_t,p1=si,g1=function(e,t,r){d1?h1.f(e,t,p1(0,r)):e[t]=r},m1=Je,y1=Co,w1=g1;m1({target:"Object",stat:!0},{fromEntries:function(t){var r={};return y1(t,function(n,i){w1(r,n,i)},{AS_ENTRIES:!0}),r}});var b1=xe,E1=b1,_1=E1;_1.Object.fromEntries;var O1=nn,Bc=Array.isArray||function(t){return O1(t)==="Array"},S1=TypeError,A1=9007199254740991,x1=function(e){if(e>A1)throw S1("Maximum allowed index exceeded");return e},$1=Bc,T1=xr,I1=x1,C1=di,Dc=function(e,t,r,n,i,a,o,l){for(var u=i,c=0,g=o?C1(o,l):!1,E,b;c<n;)c in r&&(E=g?g(r[c],c,t):r[c],a>0&&$1(E)?(b=T1(E),u=Dc(e,t,E,b,u,a-1)-1):(I1(u+1),e[u]=E),u++),c++;return u},Fc=Dc,pl=Bc,R1=Ku,P1=dt,k1=Ve,N1=k1("species"),gl=Array,B1=function(e){var t;return pl(e)&&(t=e.constructor,R1(t)&&(t===gl||pl(t.prototype))?t=void 0:P1(t)&&(t=t[N1],t===null&&(t=void 0))),t===void 0?gl:t},D1=B1,Lc=function(e,t){return new(D1(e))(t===0?0:t)},F1=Je,L1=Fc,M1=on,j1=xr,U1=fi,H1=Lc;F1({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,r=M1(this),n=j1(r),i=H1(r,0);return i.length=L1(i,r,r,n,0,t===void 0?1:U1(t)),i}});var G1=gi;G1("flat");var W1=pi;W1("Array","flat");var V1=Je,q1=Fc,z1=Ct,K1=on,X1=xr,Y1=Lc;V1({target:"Array",proto:!0},{flatMap:function(t){var r=K1(this),n=X1(r),i;return z1(t),i=Y1(r,0),i.length=q1(i,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),i}});var Q1=gi;Q1("flatMap");var J1=pi;J1("Array","flatMap");var Z1=Je,ew=on,tw=xr,rw=fi,nw=gi;Z1({target:"Array",proto:!0},{at:function(t){var r=ew(this),n=tw(r),i=rw(t),a=i>=0?i:n+i;return a<0||a>=n?void 0:r[a]}});nw("at");var iw=pi;iw("Array","at");const aw=/#/g,ow=/&/g,sw=/\//g,lw=/=/g,Po=/\+/g,uw=/%5e/gi,cw=/%60/gi,fw=/%7c/gi,vw=/%20/gi;function dw(e){return encodeURI(""+e).replace(fw,"|")}function Va(e){return dw(typeof e=="string"?e:JSON.stringify(e)).replace(Po,"%2B").replace(vw,"+").replace(aw,"%23").replace(ow,"%26").replace(cw,"`").replace(uw,"^").replace(sw,"%2F")}function oa(e){return Va(e).replace(lw,"%3D")}function Mc(e=""){try{return decodeURIComponent(""+e)}catch(t){return""+e}}function hw(e){return Mc(e.replace(Po," "))}function pw(e){return Mc(e.replace(Po," "))}function jc(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const i=hw(n[1]);if(i==="__proto__"||i==="constructor")continue;const a=pw(n[2]||"");t[i]===void 0?t[i]=a:Array.isArray(t[i])?t[i].push(a):t[i]=[t[i],a]}return t}function gw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${oa(e)}=${Va(r)}`).join("&"):`${oa(e)}=${Va(t)}`:oa(e)}function mw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
1gw(t,e[t])).filter(Boolean).join("&")}const yw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ww=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,bw=/^([/\\]\s*){2,}[^/\\]/;function Ew(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?yw.test(e):ww.test(e)||(t.acceptRelative?bw.test(e):!1)}function _w(e="",t){return e.endsWith("/")}function wO(e="",t){return(_w(e)?e.slice(0,-1):e)||"/"}function bO(e="",t){return e.endsWith("/")?e:e+"/"}function EO(e=""){return e.split("://").map(t=>t.replace(/\/{2,}/g,"/")).join("://")}function _O(e,t){const r=Hc(e),n={...jc(r.search),...t};return r.search=mw(n),Ow(r)}function OO(e){return jc(Hc(e).search)}const Uc=Symbol.for("ufo:protocolRelative");function Hc(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,E,b=""]=r;return{protocol:E.toLowerCase(),pathname:b,href:E+b,auth:"",host:"",search:"",hash:""}}if(!Ew(e,{acceptRelative:!0}))return ml(e);const[,n="",i,a=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",l=""]=a.match(/([^#/?]*)(.*)?/)||[],{pathname:u,search:c,hash:g}=ml(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:u,search:c,hash:g,[Uc]:!n}}function ml(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Ow(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",i=e.auth?e.auth+"@":"",a=e.host||"";return(e.protocol||e[Uc]?(e.protocol||"")+"//":"")+i+a+t+r+n}var Sw="2.0.0",_r="",yl="?",Zn="function",Lt="undefined",Or="object",qa="string",Qr="major",re="model",ee="name",Z="type",ie="vendor",te="version",Ue="architecture",gr="console",ce="mobile",be="tablet",Fe="smarttv",Wr="wearable",sa="xr",za="embedded",Br="inapp",wl="user-agent",Ka=500,ko="brands",Zt="formFactors",No="fullVersionList",yr="platform",Bo="platformVersion",mi="bitness",Vt="sec-ch-ua",Aw=Vt+"-full-version-list",xw=Vt+"-arch",$w=Vt+"-"+mi,Tw=Vt+"-form-factors",Iw=Vt+"-"+ce,Cw=Vt+"-"+re,Gc=Vt+"-"+yr,Rw=Gc+"-version",Wc=[ko,No,ce,re,yr,Bo,Ue,Zt,mi],ze="browser",St="cpu",gt="device",At="engine",at="os",wr="result",$n="Amazon",Dr="Apple",bl="ASUS",El="BlackBerry",Yt="Google",_l="Huawei",Ol="Lenovo",Pw="Honor",la="LG",Wn="Microsoft",Sl="Motorola",Fr="Samsung",Al="Sharp",Tn="Sony",ua="Xiaomi",ca="Zebra",fr="Mobile ",Lr=" Browser",xl="Chrome",kt="Chromecast",kw="Edge",Mr="Firefox",jr="Opera",$l="Facebook",Tl="Sogou",Xa="Windows",Nw=typeof window!==Lt,He=Nw&&window.navigator?window.navigator:void 0,Ft=He&&He.userAgentData?He.userAgentData:void 0,Bw=function(e,t){var r={},n=t;if(!ei(t)){n={};for(var i in t)for(var a in t[i])n[a]=t[i][a].concat(n[a]?n[a]:[])}for(var o in e)r[o]=n[o]&&n[o].length%2===0?n[o].concat(e[o]):e[o];return r},yi=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},Ya=function(e,t){if(typeof e===Or&&e.length>0){for(var r in e)if(xt(e[r])==xt(t))return!0;return!1}return Tr(e)?xt(t).indexOf(xt(e))!==-1:!1},ei=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||(t?ei(e[r]):!1)},Tr=function(e){return typeof e===qa},fa=function(e){if(e){for(var t=[],r=ir(/\\?\"/g,e).split(","),n=0;n<r.length;n++)if(r[n].indexOf(";")>-1){var i=Jr(r[n]).split(";v=");t[n]={brand:i[0],version:i[1]}}else t[n]=Jr(r[n]);return t}},xt=function(e){return Tr(e)?e.toLowerCase():e},va=function(e){return Tr(e)?ir(/[^\d\.]/g,e).split(".")[0]:void 0},$t=function(e){for(var t in e){var r=e[t];typeof r==Or&&r.length==2?this[r[0]]=r[1]:this[r]=void 0}return this},ir=function(e,t){return Tr(t)?t.replace(e,_r):t},Ur=function(e){return ir(/\\?\"/g,e)},Jr=function(e,t){if(Tr(e))return e=ir(/^\s\s*/,e),typeof t===Lt?e:e.substring(0,Ka)},Il=function(e,t){if(!(!e||!t))for(var r=0,n,i,a,o,l,u;r<t.length&&!l;){var c=t[r],g=t[r+1];for(n=i=0;n<c.length&&!l&&c[n];)if(l=c[n++].exec(e),l)for(a=0;a<g.length;a++)u=l[++i],o=g[a],typeof o===Or&&o.length>0?o.length===2?typeof o[1]==Zn?this[o[0]]=o[1].call(this,u):this[o[0]]=o[1]:o.length===3?typeof o[1]===Zn&&!(o[1].exec&&o[1].test)?this[o[0]]=u?o[1].call(this,u,o[2]):void 0:this[o[0]]=u?u.replace(o[
vendor: 4,321 bytes, line 1
11],o[2]):void 0:o.length===4&&(this[o[0]]=u?o[3].call(this,u.replace(o[1],o[2])):void 0):this[o]=u||void 0;r+=2}},zr=function(e,t){for(var r in t)if(typeof t[r]===Or&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(Ya(t[r][n],e))return r===yl?void 0:r}else if(Ya(t[r],e))return r===yl?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},Cl={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Rl={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Pl={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[te,[ee,fr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[te,[ee,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[ee,te],[/opios[\/ ]+([\w\.]+)/i],[te,[ee,jr+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[te,[ee,jr+" GX"]],[/\bopr\/([\w\.]+)/i],[te,[ee,jr]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[te,[ee,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[te,[ee,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[ee,te],[/quark(?:pc)?\/([-\w\.]+)/i],[te,[ee,"Quark"]],[/\bddg\/([\w\.]+)/i],[te,[ee,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[te,[ee,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[te,[ee,"WeChat"]],[/konqueror\/([\w\.]+)/i],[te,[ee,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[te,[ee,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[te,[ee,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[te,[ee,"Smart "+Ol+Lr]],[/(avast|avg)\/([\w\.]+)/i],[[ee,/(.+)/,"$1 Secure"+Lr],te],[/\bfocus\/([\w\.]+)/i],[te,[ee,Mr+" Focus"]],[/\bopt\/([\w\.]+)/i],[te,[ee,jr+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[te,[ee,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[te,[ee,"Dolphin"]],[/coast\/([\w\.]+)/i],[te,[ee,jr+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[te,[ee,"MIUI"+Lr]],[/fxios\/([\w\.-]+)/i],[te,[ee,fr+Mr]],[/\bqihoobrowser\/?([\w\.]*)/i],[te,[ee,"360"]],[/\b(qq)\/([\w\.]+)/i],[[ee,/(.+)/,"$1Browser"],te],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[ee,/(.+)/,"$1"+Lr],te],[/samsungbrowser\/([\w\.]+)/i],[te,[ee,Fr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[te,[ee,Tl+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[ee,Tl+" Mobile"],te],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[ee,te],[/(lbbrowser|rekonq)/i],[ee],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[te,ee],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[ee,$l],te,[Z,Br]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[ee,te,[Z,Br]],[/\bgsa\/([\w\.]+) .*safari\//i],[te,[ee,"GSA"],[Z,Br]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[te,[ee,"TikTok"],[Z,Br]],[/\[(linkedin)app\]/i],[ee,[Z,Br]],[/(chromium)[\/ ]([-\w\.]+)/i],[ee,te],[/headlesschrome(?:\/([\w\.]+)| )/i],[te,[ee,xl+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[ee,xl+" WebView"],te],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[te,[ee,"Android"+Lr]],[/chrome\/([\w\.]+) mobile/i],[te,[ee,fr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[ee,te],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[te,[ee,fr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[ee,fr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[te,ee],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[ee,[te,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[ee,te],[/(?:mobile|tablet);
1.*(firefox)\/([\w\.-]+)/i],[[ee,fr+Mr],te],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[ee,"Netscape"],te],[/(wolvic|librewolf)\/([\w\.]+)/i],[ee,te],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[te,[ee,Mr+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[ee,[te,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[ee,[te,/[^\d\.]+./,_r]]],cpu:[[/\b(?:(amd|x|x86[-_]?|wow|win)64)\b/i],[[Ue,"amd64"]],[/(ia32(?=;))/i,/((?:i[346]|x)86)[;\)]/i],[[Ue,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[Ue,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[Ue,"armhf"]],[/windows (ce|mobile); ppc;/i],[[Ue,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[Ue,/ower/,_r,xt]],[/(sun4\w)[;\)]/i],[[Ue,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[Ue,xt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[re,[ie,Fr],[Z,be]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[re,[ie,Fr],[Z,ce]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[re,[ie,Dr],[Z,ce]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[re,[ie,Dr],[Z,be]],[/(macintosh);/i],[re,[ie,Dr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[re,[ie,Al],[Z,ce]],[/(?:honor)([-\w ]+)[;\)]/i],[re,[ie,Pw],[Z,ce]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[re,[ie,_l],[Z,be]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[re,[ie,_l],[Z,ce]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[re,/_/g," "],[ie,ua],[Z,ce]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[re,/_/g," "],[ie,ua],[Z,be]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[re,[ie,"OPPO"],[Z,ce]],[/\b(opd2\d{3}a?) bui/i],[re,[ie,"OPPO"],[Z,be]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[re,[ie,"Vivo"],[Z,ce]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[re,[ie,"Realme"],[Z,ce]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[re,[ie,Sl],[Z,ce]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[re,[ie,Sl],[Z,be]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[re,[ie,la],[Z,be]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[re,[ie,la],[Z,ce]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[re,[ie,Ol],[Z,be]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[re,/_/g," "],[ie,"Nokia"],[Z,ce]],[/(pixel c)\b/i],[re,[ie,Yt],[Z,be]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[re,[ie,Yt],[Z,ce]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[re,[ie,Tn],[Z,ce]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[re,"Xperia Tablet"],[ie,Tn],[Z,be]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[re,[ie,"OnePlus"],[Z,ce]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[re,[ie,$n],[Z,be]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[re,/(.+)/g,"Fire Phone $1"],[ie,$n],[Z,ce]],[/(playbook);[-\w\),; ]+(rim)/i],[re,ie,[Z,be]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[re,[ie,El],[Z,ce]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[re,[ie,bl],[Z,be]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[re,[ie,bl],[Z,ce]],[/(nexus 9)/i],[re,[ie,"HTC"],[Z,be]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[ie,[re,/_/g," "],[Z,ce]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w)
vendor: 5,469 bytes, line 1
1)?(\)| bui)/i],[re,[ie,"TCL"],[Z,be]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[re,[ie,"TCL"],[Z,ce]],[/(itel) ((\w+))/i],[[ie,xt],re,[Z,zr,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[re,[ie,"Acer"],[Z,be]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[re,[ie,"Meizu"],[Z,ce]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[re,[ie,"Ulefone"],[Z,ce]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[re,[ie,"Energizer"],[Z,ce]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[re,[ie,"Cat"],[Z,ce]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[re,[ie,"Smartfren"],[Z,ce]],[/droid.+; (a(?:015|06[35]|142p?))/i],[re,[ie,"Nothing"],[Z,ce]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[ie,re,[Z,ce]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[ie,re,[Z,be]],[/(surface duo)/i],[re,[ie,Wn],[Z,be]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[re,[ie,"Fairphone"],[Z,ce]],[/(shield[\w ]+) b/i],[re,[ie,"Nvidia"],[Z,be]],[/(sprint) (\w+)/i],[ie,re,[Z,ce]],[/(kin\.[onetw]{3})/i],[[re,/\./g," "],[ie,Wn],[Z,ce]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[re,[ie,ca],[Z,be]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[re,[ie,ca],[Z,ce]],[/smart-tv.+(samsung)/i],[ie,[Z,Fe]],[/hbbtv.+maple;(\d+)/i],[[re,/^/,"SmartTV"],[ie,Fr],[Z,Fe]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[ie,la],[Z,Fe]],[/(apple) ?tv/i],[ie,[re,Dr+" TV"],[Z,Fe]],[/crkey.*devicetype\/chromecast/i],[[re,kt+" Third Generation"],[ie,Yt],[Z,Fe]],[/crkey.*devicetype\/([^/]*)/i],[[re,/^/,"Chromecast "],[ie,Yt],[Z,Fe]],[/fuchsia.*crkey/i],[[re,kt+" Nest Hub"],[ie,Yt],[Z,Fe]],[/crkey/i],[[re,kt],[ie,Yt],[Z,Fe]],[/droid.+aft(\w+)( bui|\))/i],[re,[ie,$n],[Z,Fe]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[re,[ie,Al],[Z,Fe]],[/(bravia[\w ]+)( bui|\))/i],[re,[ie,Tn],[Z,Fe]],[/(mitv-\w{5}) bui/i],[re,[ie,ua],[Z,Fe]],[/Hbbtv.*(technisat) (.*);/i],[ie,re,[Z,Fe]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[ie,Jr],[re,Jr],[Z,Fe]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[Z,Fe]],[/(ouya)/i,/(nintendo) (\w+)/i],[ie,re,[Z,gr]],[/droid.+; (shield) bui/i],[re,[ie,"Nvidia"],[Z,gr]],[/(playstation \w+)/i],[re,[ie,Tn],[Z,gr]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[re,[ie,Wn],[Z,gr]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[re,[ie,Fr],[Z,Wr]],[/((pebble))app/i],[ie,re,[Z,Wr]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[re,[ie,Dr],[Z,Wr]],[/droid.+; (wt63?0{2,3})\)/i],[re,[ie,ca],[Z,Wr]],[/droid.+; (glass) \d/i],[re,[ie,Yt],[Z,sa]],[/(pico) (4|neo3(?: link|pro)?)/i],[ie,re,[Z,sa]],[/; (quest( \d| pro)?)/i],[re,[ie,$l],[Z,sa]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[ie,[Z,za]],[/(aeobc)\b/i],[re,[ie,$n],[Z,za]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[re,[Z,ce]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[re,[Z,be]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[Z,be]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[Z,ce]],[/(android[-\w\. ]{0,9});.+buil/i],[re,[ie,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[te,[ee,kw+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[ee,te],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[te,[ee,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[ee,te],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[te,ee]],os:[[/microsoft (windows) (vista|xp)/i],[ee,te],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[ee,[te,zr,Cl]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[te,zr,Cl],[ee,Xa]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[te,/_/g,"."],[ee,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[ee,"macOS"],[te,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[te,[ee,kt+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[te,[ee,kt+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[te,[ee,kt+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[te,[ee,kt+" Linux"]],[/crkey\/([\d\.]+)/i],[te,[ee,kt]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[te,ee],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[ee,te],[/\(bb(10);/i],[te,[ee,El]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[te,[ee,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[te,[ee,Mr+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[te,[ee,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[te,[ee,"wat
1chOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[ee,"Chrome OS"],te],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[ee,te],[/(sunos) ?([\w\.\d]*)/i],[[ee,"Solaris"],te],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[ee,te]]},In=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return $t.call(e.init,[[ze,[ee,te,Qr,Z]],[St,[Ue]],[gt,[Z,re,ie]],[At,[ee,te]],[at,[ee,te]]]),$t.call(e.isIgnore,[[ze,[te,Qr]],[At,[te]],[at,[te]]]),$t.call(e.isIgnoreRgx,[[ze,/ ?browser$/i],[at,/ ?os$/i]]),$t.call(e.toString,[[ze,[ee,te]],[St,[Ue]],[gt,[ie,re]],[At,[ee,te]],[at,[ee,te]]]),e}(),Dw=function(e,t){var r=In.init[t],n=In.isIgnore[t]||0,i=In.isIgnoreRgx[t]||0,a=In.toString[t]||0;function o(){$t.call(this,r)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return Ft?Ft.getHighEntropyValues(Wc).then(function(l){return e.setCH(new Vc(l,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=wr&&(o.prototype.is=function(l){var u=!1;for(var c in this)if(this.hasOwnProperty(c)&&!Ya(n,c)&&xt(i?ir(i,this[c]):this[c])==xt(i?ir(i,l):l)){if(u=!0,l!=Lt)break}else if(l==Lt&&u){u=!u;break}return u},o.prototype.toString=function(){var l=_r;for(var u in a)typeof this[a[u]]!==Lt&&(l+=(l?" ":_r)+this[a[u]]);return l||Lt}),Ft||(o.prototype.then=function(l){var u=this,c=function(){for(var E in u)u.hasOwnProperty(E)&&(this[E]=u[E])};c.prototype={is:o.prototype.is,toString:o.prototype.toString};var g=new c;return l(g),g}),new o};function Vc(e,t){if(e=e||{},$t.call(this,Wc),t)$t.call(this,[[ko,fa(e[Vt])],[No,fa(e[Aw])],[ce,/\?1/.test(e[Iw])],[re,Ur(e[Cw])],[yr,Ur(e[Gc])],[Bo,Ur(e[Rw])],[Ue,Ur(e[xw])],[Zt,fa(e[Tw])],[mi,Ur(e[$w])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==Lt&&(this[r]=e[r])}function kl(e,t,r,n){return this.get=function(i){return i?this.data.hasOwnProperty(i)?this.data[i]:void 0:this.data},this.set=function(i,a){return this.data[i]=a,this},this.setCH=function(i){return this.uaCH=i,this},this.detectFeature=function(){if(He&&He.userAgent==this.ua)switch(this.itemType){case ze:He.brave&&typeof He.brave.isBrave==Zn&&this.set(ee,"Brave");break;case gt:!this.get(Z)&&Ft&&Ft[ce]&&this.set(Z,ce),this.get(re)=="Macintosh"&&He&&typeof He.standalone!==Lt&&He.maxTouchPoints&&He.maxTouchPoints>2&&this.set(re,"iPad").set(Z,be);break;case at:!this.get(ee)&&Ft&&Ft[yr]&&this.set(ee,Ft[yr]);break;case wr:var i=this.data,a=function(o){return i[o].getItem().detectFeature().get()};this.set(ze,a(ze)).set(St,a(St)).set(gt,a(gt)).set(At,a(At)).set(at,a(at))}return this},this.parseUA=function(){return this.itemType!=wr&&Il.call(this.data,this.ua,this.rgxMap),this.itemType==ze&&this.set(Qr,va(this.get(te))),this},this.parseCH=function(){var i=this.uaCH,a=this.rgxMap;switch(this.itemType){case ze:var o=i[No]||i[ko],l;if(o)for(var u in o){var c=ir(/(Google|Microsoft) /,o[u].brand||o[u]),g=o[u].version;!/not.a.brand/i.test(c)&&(!l||/chrom/i.test(l)&&!/chromi/i.test(c))&&(this.set(ee,c).set(te,g).set(Qr,va(g)),l=c)}break;case St:var E=i[Ue];E&&(E&&i[mi]=="64"&&(E+="64"),Il.call(this.data,E+";",a));break;case gt:if(i[ce]&&this.set(Z,ce),i[re]&&this.set(re,i[re]),i[re]=="Xbox"&&this.set(Z,gr).set(ie,Wn),i[Zt]){var b;if(typeof i[Zt]!="string")for(var O=0;!b&&O<i[Zt].length;)b=zr(i[Zt][O++],Rl);else b=zr(i[Zt],Rl);this.set(Z,b)}break;case at:var N=i[yr];if(N){var T=i[Bo];N==Xa&&(T=parseInt(va(T),10)>=13?"11":"10"),this.set(ee,N).set(te,T)}this.get(ee)==Xa&&i[re]=="Xbox"&&this.set(ee,"Xbox").set(te,void 0);break;case wr:var I=this.data,C=function(d){return I[d].getItem().setCH(i).parseCH().get()};this.set(ze,C(ze)).set(St,C(St)).set(gt,C(gt)).set(At,C(At)).set(at,C(at))}return this},$t.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",r],["data",Dw(this,e)]]),this}function Ut(e,t,r){if(typeof e===Or?(ei(e,!0)?(typeof t===Or&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e===qa&&!ei(t,!0)&&(r=t,t=void 0),r&&typeof r.append===Zn){var n={};r.forEach(function(u,c){n[c]=u}),r=n}if(!(this instanceof Ut))return new Ut(e,t,r).getResult();var i=typeof e===qa?e:r&&r[wl]?r[wl]:He&&He.userAgent?He.userAgent:_r,a=new Vc(r,!0),o=t?Bw(Pl,t):Pl,l=function(u){return u==wr?function(){return new kl(u,i,o,a).set("ua",i).set(ze,this.getBrowser()).set(St,this.getCPU()).set(gt,this.getDevice()
1).set(At,this.getEngine()).set(at,this.getOS()).get()}:function(){return new kl(u,i,o[u],a).parseUA().get()}};return $t.call(this,[["getBrowser",l(ze)],["getCPU",l(St)],["getDevice",l(gt)],["getEngine",l(At)],["getOS",l(at)],["getResult",l(wr)],["getUA",function(){return i}],["setUA",function(u){return Tr(u)&&(i=u.length>Ka?Jr(u,Ka):u),this}]]).setUA(i),this}Ut.VERSION=Sw;Ut.BROWSER=yi([ee,te,Qr,Z]);Ut.CPU=yi([Ue]);Ut.DEVICE=yi([re,ie,Z,gr,ce,Fe,be,Wr,za]);Ut.ENGINE=Ut.OS=yi([ee,te]);var Fw=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,da=Math.ceil,rt=Math.floor,je="[BigNumber Error] ",Nl=je+"Number primitive has more than 15 significant digits: ",ut=1e14,ue=14,Bl=9007199254740991,ha=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Nt=1e7,qe=1e9;function qc(e){var t,r,n,i=d.prototype={constructor:d,toString:null,valueOf:null},a=new d(1),o=20,l=4,u=-7,c=21,g=-1e7,E=1e7,b=!1,O=1,N=0,T={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"Â ",suffix:""},I="0123456789abcdefghijklmnopqrstuvwxyz",C=!0;function d(f,m){var s,v,h,w,A,p,y,S,R=this;if(!(R instanceof d))return new d(f,m);if(m==null){if(f&&f._isBigNumber===!0){R.s=f.s,!f.c||f.e>E?R.c=R.e=null:f.e<g?R.c=[R.e=0]:(R.e=f.e,R.c=f.c.slice());return}if((p=typeof f=="number")&&f*0==0){if(R.s=1/f<0?(f=-f,-1):1,f===~~f){for(w=0,A=f;A>=10;A/=10,w++);w>E?R.c=R.e=null:(R.e=w,R.c=[f]);return}S=String(f)}else{if(!Fw.test(S=String(f)))return n(R,S,p);R.s=S.charCodeAt(0)==45?(S=S.slice(1),-1):1}(w=S.indexOf("."))>-1&&(S=S.replace(".","")),(A=S.search(/e/i))>0?(w<0&&(w=A),w+=+S.slice(A+1),S=S.substring(0,A)):w<0&&(w=S.length)}else{if(_e(m,2,I.length,"Base"),m==10&&C)return R=new d(f),j(R,o+R.e+1,l);if(S=String(f),p=typeof f=="number"){if(f*0!=0)return n(R,S,p,m);if(R.s=1/f<0?(S=S.slice(1),-1):1,d.DEBUG&&S.replace(/^0\.0*|\./,"").length>15)throw Error(Nl+f)}else R.s=S.charCodeAt(0)===45?(S=S.slice(1),-1):1;for(s=I.slice(0,m),w=A=0,y=S.length;A<y;A++)if(s.indexOf(v=S.charAt(A))<0){if(v=="."){if(A>w){w=y;continue}}else if(!h&&(S==S.toUpperCase()&&(S=S.toLowerCase())||S==S.toLowerCase()&&(S=S.toUpperCase()))){h=!0,A=-1,w=0;continue}return n(R,String(f),p,m)}p=!1,S=r(S,m,10,R.s),(w=S.indexOf("."))>-1?S=S.replace(".",""):w=S.length}for(A=0;S.charCodeAt(A)===48;A++);for(y=S.length;S.charCodeAt(--y)===48;);if(S=S.slice(A,++y)){if(y-=A,p&&d.DEBUG&&y>15&&(f>Bl||f!==rt(f)))throw Error(Nl+R.s*f);if((w=w-A-1)>E)R.c=R.e=null;else if(w<g)R.c=[R.e=0];else{if(R.e=w,R.c=[],A=(w+1)%ue,w<0&&(A+=ue),A<y){for(A&&R.c.push(+S.slice(0,A)),y-=ue;A<y;)R.c.push(+S.slice(A,A+=ue));A=ue-(S=S.slice(A)).length}else A-=y;for(;A--;S+="0");R.c.push(+S)}}else R.c=[R.e=0]}d.clone=qc,d.ROUND_UP=0,d.ROUND_DOWN=1,d.ROUND_CEIL=2,d.ROUND_FLOOR=3,d.ROUND_HALF_UP=4,d.ROUND_HALF_DOWN=5,d.ROUND_HALF_EVEN=6,d.ROUND_HALF_CEIL=7,d.ROUND_HALF_FLOOR=8,d.EUCLID=9,d.config=d.set=function(f){var m,s;if(f!=null)if(typeof f=="object"){if(f.hasOwnProperty(m="DECIMAL_PLACES")&&(s=f[m],_e(s,0,qe,m),o=s),f.hasOwnProperty(m="ROUNDING_MODE")&&(s=f[m],_e(s,0,8,m),l=s),f.hasOwnProperty(m="EXPONENTIAL_AT")&&(s=f[m],s&&s.pop?(_e(s[0],-1e9,0,m),_e(s[1],0,qe,m),u=s[0],c=s[1]):(_e(s,-1e9,qe,m),u=-(c=s<0?-s:s))),f.hasOwnProperty(m="RANGE"))if(s=f[m],s&&s.pop)_e(s[0],-1e9,-1,m),_e(s[1],1,qe,m),g=s[0],E=s[1];else if(_e(s,-1e9,qe,m),s)g=-(E=s<0?-s:s);else throw Error(je+m+" cannot be zero: "+s);if(f.hasOwnProperty(m="CRYPTO"))if(s=f[m],s===!!s)if(s)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))b=s;else throw b=!s,Error(je+"crypto unavailable");else b=s;else throw Error(je+m+" not true or false: "+s);if(f.hasOwnProperty(m="MODULO_MODE")&&(s=f[m],_e(s,0,9,m),O=s),f.hasOwnProperty(m="POW_PRECISION")&&(s=f[m],_e(s,0,qe,m),N=s),f.hasOwnProperty(m="FORMAT"))if(s=f[m],typeof s=="object")T=s;else throw Error(je+m+" not an object: "+s);if(f.hasOwnProperty(m="ALPHABET"))if(s=f[m],typeof s=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(s))C=s.slice(0,10)=="0123456789",I=s;else throw Error(je+m+" invalid: "+s)}else throw Error(je+"Object expected: "+f);return{DECIMAL_PLACES:o,ROUNDING_MODE:l,EXPONENTIAL_AT:[u,c],RANGE:[g,E],CRYPTO:b,MODULO_MODE:O,POW_PRECISION:N,FORMAT:T,ALPHABET:I}},d.isBigNumber=function(f){if(!f||f._isBigNumber!==!0)return!1;if(!d.DEBUG)return!0;
vendor: 15,932 bytes, line 1
1var m,s,v=f.c,h=f.e,w=f.s;e:if({}.toString.call(v)=="[object Array]"){if((w===1||w===-1)&&h>=-1e9&&h<=qe&&h===rt(h)){if(v[0]===0){if(h===0&&v.length===1)return!0;break e}if(m=(h+1)%ue,m<1&&(m+=ue),String(v[0]).length==m){for(m=0;m<v.length;m++)if(s=v[m],s<0||s>=ut||s!==rt(s))break e;if(s!==0)return!0}}}else if(v===null&&h===null&&(w===null||w===1||w===-1))return!0;throw Error(je+"Invalid BigNumber: "+f)},d.maximum=d.max=function(){return k(arguments,-1)},d.minimum=d.min=function(){return k(arguments,1)},d.random=function(){var f=9007199254740992,m=Math.random()*f&2097151?function(){return rt(Math.random()*f)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(s){var v,h,w,A,p,y=0,S=[],R=new d(a);if(s==null?s=o:_e(s,0,qe),A=da(s/ue),b)if(crypto.getRandomValues){for(v=crypto.getRandomValues(new Uint32Array(A*=2));y<A;)p=v[y]*131072+(v[y+1]>>>11),p>=9e15?(h=crypto.getRandomValues(new Uint32Array(2)),v[y]=h[0],v[y+1]=h[1]):(S.push(p%1e14),y+=2);y=A/2}else if(crypto.randomBytes){for(v=crypto.randomBytes(A*=7);y<A;)p=(v[y]&31)*281474976710656+v[y+1]*1099511627776+v[y+2]*4294967296+v[y+3]*16777216+(v[y+4]<<16)+(v[y+5]<<8)+v[y+6],p>=9e15?crypto.randomBytes(7).copy(v,y):(S.push(p%1e14),y+=7);y=A/7}else throw b=!1,Error(je+"crypto unavailable");if(!b)for(;y<A;)p=m(),p<9e15&&(S[y++]=p%1e14);for(A=S[--y],s%=ue,A&&s&&(p=ha[ue-s],S[y]=rt(A/p)*p);S[y]===0;S.pop(),y--);if(y<0)S=[w=0];else{for(w=-1;S[0]===0;S.splice(0,1),w-=ue);for(y=1,p=S[0];p>=10;p/=10,y++);y<ue&&(w-=ue-y)}return R.e=w,R.c=S,R}}(),d.sum=function(){for(var f=1,m=arguments,s=new d(m[0]);f<m.length;)s=s.plus(m[f++]);return s},r=function(){var f="0123456789";function m(s,v,h,w){for(var A,p=[0],y,S=0,R=s.length;S<R;){for(y=p.length;y--;p[y]*=v);for(p[0]+=w.indexOf(s.charAt(S++)),A=0;A<p.length;A++)p[A]>h-1&&(p[A+1]==null&&(p[A+1]=0),p[A+1]+=p[A]/h|0,p[A]%=h)}return p.reverse()}return function(s,v,h,w,A){var p,y,S,R,F,J,V,X,Y=s.indexOf("."),B=o,ne=l;for(Y>=0&&(R=N,N=0,s=s.replace(".",""),X=new d(v),J=X.pow(s.length-Y),N=R,X.c=m(Ot(tt(J.c),J.e,"0"),10,h,f),X.e=X.c.length),V=m(s,v,h,A?(p=I,f):(p=f,I)),S=R=V.length;V[--R]==0;V.pop());if(!V[0])return p.charAt(0);if(Y<0?--S:(J.c=V,J.e=S,J.s=w,J=t(J,X,B,ne,h),V=J.c,F=J.r,S=J.e),y=S+B+1,Y=V[y],R=h/2,F=F||y<0||V[y+1]!=null,F=ne<4?(Y!=null||F)&&(ne==0||ne==(J.s<0?3:2)):Y>R||Y==R&&(ne==4||F||ne==6&&V[y-1]&1||ne==(J.s<0?8:7)),y<1||!V[0])s=F?Ot(p.charAt(1),-B,p.charAt(0)):p.charAt(0);else{if(V.length=y,F)for(--h;++V[--y]>h;)V[y]=0,y||(++S,V=[1].concat(V));for(R=V.length;!V[--R];);for(Y=0,s="";Y<=R;s+=p.charAt(V[Y++]));s=Ot(s,S,p.charAt(0))}return s}}(),t=function(){function f(v,h,w){var A,p,y,S,R=0,F=v.length,J=h%Nt,V=h/Nt|0;for(v=v.slice();F--;)y=v[F]%Nt,S=v[F]/Nt|0,A=V*y+S*J,p=J*y+A%Nt*Nt+R,R=(p/w|0)+(A/Nt|0)+V*S,v[F]=p%w;return R&&(v=[R].concat(v)),v}function m(v,h,w,A){var p,y;if(w!=A)y=w>A?1:-1;else for(p=y=0;p<w;p++)if(v[p]!=h[p]){y=v[p]>h[p]?1:-1;break}return y}function s(v,h,w,A){for(var p=0;w--;)v[w]-=p,p=v[w]<h[w]?1:0,v[w]=p*A+v[w]-h[w];for(;!v[0]&&v.length>1;v.splice(0,1));}return function(v,h,w,A,p){var y,S,R,F,J,V,X,Y,B,ne,se,pe,ge,Ce,_,x,P,G=v.s==h.s?1:-1,D=v.c,M=h.c;if(!D||!D[0]||!M||!M[0])return new d(!v.s||!h.s||(D?M&&D[0]==M[0]:!M)?NaN:D&&D[0]==0||!M?G*0:G/0);for(Y=new d(G),B=Y.c=[],S=v.e-h.e,G=w+S+1,p||(p=ut,S=nt(v.e/ue)-nt(h.e/ue),G=G/ue|0),R=0;M[R]==(D[R]||0);R++);if(M[R]>(D[R]||0)&&S--,G<0)B.push(1),F=!0;else{for(Ce=D.length,x=M.length,R=0,G+=2,J=rt(p/(M[0]+1)),J>1&&(M=f(M,J,p),D=f(D,J,p),x=M.length,Ce=D.length),ge=x,ne=D.slice(0,x),se=ne.length;se<x;ne[se++]=0);P=M.slice(),P=[0].concat(P),_=M[0],M[1]>=p/2&&_++;do{if(J=0,y=m(M,ne,x,se),y<0){if(pe=ne[0],x!=se&&(pe=pe*p+(ne[1]||0)),J=rt(pe/_),J>1)for(J>=p&&(J=p-1),V=f(M,J,p),X=V.length,se=ne.length;m(V,ne,X,se)==1;)J--,s(V,x<X?P:M,X,p),X=V.length,y=1;else J==0&&(y=J=1),V=M.slice(),X=V.length;if(X<se&&(V=[0].concat(V)),s(ne,V,se,p),se=ne.length,y==-1)for(;m(M,ne,x,se)<1;)J++,s(ne,x<se?P:M,se,p),se=ne.length}else y===0&&(J++,ne=[0]);B[R++]=J,ne[0]?ne[se++]=D[ge]||0:(ne=[D[ge]],se=1)}while((ge++<Ce||ne[0]!=null)&&G--);F=ne[0]!=null,B[0]||B.splice(0,1)}if(p==ut){for(R=1,G=B[0];G>=10;G/=10,R++);j(Y,w+(Y.e=R+S*ue-1)+1,A,F)}else Y.e=S,Y.r=+F;return Y}}();function $(f,m,s,v){var h,w,A,p,y;if(s==null?s=l:_e(s,0,8),!f.c)return f.toString();if(h=f.c[0],A=f.e,m==null)y=tt(f.c),y=v==1||v==2&&(A<=u||A>=c)?Rn(y,A):Ot(y,A,"0");else if(f=j(new d(f),m,s),w=f.e,y=tt(f.c),p=y.length,v==1||v==2&&(m<=w||w<=u)){for(;p<m;y+="0",p++);y=Rn(y,w)}else if(m-=A,y=Ot(y,w,"0"),w+1>p){if(--m>0)for(y+=".";m--;y+="0");}else if(m+=w-p,m>0)for(w+1==p&&(y+=".");m--;y+="0");return f.s<0&&h?"-"+y:y}function k(f,m){for(var s,v,h=1,w=new d(f[0]);h<f.length;h++)v=new d(f[h]),(!v.s||(s=Qt(w,v))===m||s===0&&w.s===m)&&(w=v);return w}function W(f,m,s){for(var v=1,h=m.length;!m[--h];m.pop());for(h=m[0];h>=10;h/=10,v++);return(s=v+s*ue-1)>E?f.c=f.e=null:s<g?f.c=[f.e=0]:(f.e=s,f.c=m),f}n=function(){var f=/^(-?)0([xbo])(?=\w[\w.]*$)/i,m=/^([^.]+)\.$/,s=/^\.([^.]+)$/,v=/^-?(Infinity|NaN)$/,h=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(w,A,p,y){var S,R=p?A:A.replace(h,"");if(v.test(R))w.s=isNaN(R)?null:R<0?-1:1;else{if(!p&&(R=R.replace(f,function(F,J,V){return S=(V=V.toLowerCase())=="x"?16:V=="b"?2:8,!y||y==S?J:F}),y&&(S=y,R=R.replace(m,"$1").replace(s,"0.$1")),A!=R))return new d(R,S);if(d.DEBUG)throw Error(je+"Not a"+(y?" base "+y:"")+" number: "+A);w.s=null}w.c=w.e=null}}();function j(f,m,s,v){var h,w,A,p,y,S,R,F=f.c,J=ha;if(F){e:{for(h=1,p=F[0];p>=10;p/=10,h++);if(w=m-h,w<0)w+=ue,A=m,y=F[S=0],R=rt(y/J[h-A-1]%10);else if(S=da((w+1)/ue),S>=F.length)if(v){for(;F.length<=S;F.push(0));y=R=0,h=1,w%=ue,A=w-ue+1}else break e;else{for(y=p=F[S],h=1;p>=10;p/=10,h++);w%=ue,A=w-ue+h,R=A<0?0:rt(y/J[h-A-1]%10)}if(v=v||m<0||F[S+1]!=null||(A<0?y:y%J[h-A-1]),v=s<4?(R||v)&&(s==0||s==(f.s<0?3:2)):R>5||R==5&&(s==4||v||s==6&&(w>0?A>0?y/J[h-A]:0:F[S-1])%10&1||s==(f.s<0?8:7)),m<1||!F[0])return F.length=0,v?(m-=f.e+1,F[0]=J[(ue-m%ue)%ue],f.e=-m||0):F[0]=f.e=0,f;if(w==0?(F.length=S,p=1,S--):(F.length=S+1,p=J[ue-w],F[S]=A>0?rt(y/J[h-A]%J[A])*p:0),v)for(;;)if(S==0){for(w=1,A=F[0];A>=10;A/=10,w++);for(A=F[0]+=p,p=1;A>=10;A/=10,p++);w!=p&&(f.e++,F[0]==ut&&(F[0]=1));break}else{if(F[S]+=p,F[S]!=ut)break;F[S--]=0,p=1}for(w=F.length;F[--w]===0;F.pop());}f.e>E?f.c=f.e=null:f.e<g&&(f.c=[f.e=0])}return f}function U(f){var m,s=f.e;return s===null?f.toString():(m=tt(f.c),m=s<=u||s>=c?Rn(m,s):Ot(m,s,"0"),f.s<0?"-"+m:m)}return i.absoluteValue=i.abs=function(){var f=new d(this);return f.s<0&&(f.s=1),f},i.comparedTo=function(f,m){return Qt(this,new d(f,m))},i.decimalPlaces=i.dp=function(f,m){var s,v,h,w=this;if(f!=null)return _e(f,0,qe),m==null?m=l:_e(m,0,8),j(new d(w),f+w.e+1,m);if(!(s=w.c))return null;if(v=((h=s.length-1)-nt(this.e/ue))*ue,h=s[h])for(;h%10==0;h/=10,v--);return v<0&&(v=0),v},i.dividedBy=i.div=function(f,m){return t(this,new d(f,m),o,l)},i.dividedToIntegerBy=i.idiv=function(f,m){return t(this,new d(f,m),0,1)},i.exponentiatedBy=i.pow=function(f,m){var s,v,h,w,A,p,y,S,R,F=this;if(f=new d(f),f.c&&!f.isInteger())throw Error(je+"Exponent not an integer: "+U(f));if(m!=null&&(m=new d(m)),p=f.e>14,!F.c||!F.c[0]||F.c[0]==1&&!F.e&&F.c.length==1||!f.c||!f.c[0])return R=new d(Math.pow(+U(F),p?f.s*(2-Cn(f)):+U(f))),m?R.mod(m):R;if(y=f.s<0,m){if(m.c?!m.c[0]:!m.s)return new d(NaN);v=!y&&F.isInteger()&&m.isInteger(),v&&(F=F.mod(m))}else{if(f.e>9&&(F.e>0||F.e<-1||(F.e==0?F.c[0]>1||p&&F.c[1]>=24e7:F.c[0]<8e13||p&&F.c[0]<=9999975e7)))return w=F.s<0&&Cn(f)?-0:0,F.e>-1&&(w=1/w),new d(y?1/w:w);N&&(w=da(N/ue+2))}for(p?(s=new d(.5),y&&(f.s=1),S=Cn(f)):(h=Math.abs(+U(f)),S=h%2),R=new d(a);;){if(S){if(R=R.times(F),!R.c)break;w?R.c.length>w&&(R.c.length=w):v&&(R=R.mod(m))}if(h){if(h=rt(h/2),h===0)break;S=h%2}else if(f=f.times(s),j(f,f.e+1,1),f.e>14)S=Cn(f);else{if(h=+U(f),h===0)break;S=h%2}F=F.times(F),w?F.c&&F.c.length>w&&(F.c.length=w):v&&(F=F.mod(m))}return v?R:(y&&(R=a.div(R)),m?R.mod(m):w?j(R,N,l,A):R)},i.integerValue=function(f){var m=new d(this);return f==null?f=l:_e(f,0,8),j(m,m.e+1,f)},i.isEqualTo=i.eq=function(f,m){return Qt(this,new d(f,m))===0},i.isFinite=function(){return!!this.c},i.isGreaterThan=i.gt=function(f,m){return Qt(this,new d(f,m))>0},i.isGreaterThanOrEqualTo=i.gte=function(f,m){return(m=Qt(this,new d(f,m)))===1||m===0},i.isInteger=function(){return!!this.c&&nt(this.e/ue)>this.c.length-2},i.isLessThan=i.lt=function(f,m){return Qt(this,new d(f,m))<0},i.isLessThanOrEqualTo=i.lte=function(f,m){return(m=Qt(this,new d(f,m)))===-1||m===0},i.isNaN=function(){return!this.s},i.isNegative=function(){return this.s<0},i.isPositive=function(){return this.s>0},i.isZero=function(){return!!this.c&&this.c[0]==0},i.minus=function(f,m){var s,v,h,w,A=this,p=A.s;if(f=new d(f,m),m=f.s,!p||!m)return new d(NaN);if(p!=m)return f.s=-m,A.plus(f);var y=A.e/ue,S=f.e/ue,R=A.c,F=f.c;if(!y||!S){if(!R||!F)return R?(f.s=-m,f):new d(F?A:NaN);if(!R[0]||!F[0])return F[0]?(f.s=-m,f):new d(R[0]?A:l==3?-0:0)}if(y=nt(y),S=nt(S),R=R.slice(),p=y-S){for((w=p<0)?(p=-p,h=R):(S=y,h=F),h.reverse(),m=p;m--;h.push(0));h.reverse()}else for(v=(w=(p=R.length)<(m=F.length))?p:m,p=m=0;m<v;m++)if(R[m]!=F[m]){w=R[m]<F[m];break}if(w&&(h=R,R=F,F=h,f.s=-f.s),m=(v=F.length)-(s=R.length),m>0)for(;m--;R[s++]=0);for(m=ut-1;v>p;){if(R[--v]<F[v]){for(s=v;s&&!R[--s];R[s]=m);--R[s],R[v]+=ut}R[v]-=F[v]}for(;R[0]==0;R.splice(0,1),--S);return R[0]?W(f,R,S):(f.s=l==3?-1:1,f.c=[f.e=0],f)},i.modulo=i.mod=function(f,m){var s,v,h=this;return f=new d(f,m),!h.c||!f.s||f.c&&!f.c[0]?new d(NaN):!f.c||h.c&&!h.c[0]?new d(h):(O==9?(v=f.s,f.s=1,s=t(h,f,0,3),f.s=v,s.s*=v):s=t(h,f,0,O),f=h.minus(s.times(f)),!f.c[0]&&O==1&&(f.s=h.s),f)},i.multipliedBy=i.times=function(f,m){var s,v,h,w,A,p,y,S,R,F,J,V,X,Y,B,ne=this,se=ne.c,pe=(f=new d(f,m)).c;if(!se||!pe||!se[0]||!pe[0])return!ne.s||!f.s||se&&!se[0]&&!pe||pe&&!pe[0]&&!se?f.c=f.e=f.s=null:(f.s*=ne.s,!se||!pe?f.c=f.e=null:(f.c=[0],f.e=0)),f;for(v=nt(ne.e/ue)+nt(f.e/ue),f.s*=ne.s,y=se.length,F=pe.length,y<F&&(X=se,se=pe,pe=X,h=y,y=F,F=h),h=y+F,X=[];h--;X.push(0));for(Y=ut,B=Nt,h=F;--h>=0;){for(s=0,J=pe[h]%B,V=pe[h]/B|0,A=y,w=h+A;w>h;)S=se[--A]%B,R=se[A]/B|0,p=V*S+R*J,S=J*S+p%B*B+X[w]+s,s=(S/Y|0)+(p/B|0)+V*R,X[w--]=S%Y;X[w]=s}return s?++v:X.splice(0,1),W(f,X,v)},i.negated=function(){var f=new d(this);return f.s=-f.s||null,f},i.plus=function(f,m){var s,v=this,h=v.s;if(f=new d(f,m),m=f.s,!h||!m)return new d(NaN);if(h!=m)return f.s=-m,v.minus(f);var w=v.e/ue,A=f.e/ue,p=v.c,y=f.c;if(!w||!A){if(!p||!y)return new d(h/0);if(!p[0]||!y[0])return y[0]?f:new d(p[0]?v:h*0)}if(w=nt(w),A=nt(A),p=p.slice(),h=w-A){for(h>0?(A=w,s=y):(h=-h,s=p),s.reverse();h--;s.push(0));s.reverse()}for(h=p.length,m=y.length,h-m<0&&(s=y,y=p,p=s,m=h),h=0;m;)h=(p[--m]=p[m]+y[m]+h)/ut|0,p[m]=ut===p[m]?0:p[m]%ut;return h&&(p=[h].concat(p),++A),W(f,p,A)},i.precision=i.sd=function(f,m){var s,v,h,w=this;if(f!=null&&f!==!!f)return _e(f,1,qe),m==null?m=l:_e(m,0,8),j(new d(w),f,m);if(!(s=w.c))return null;if(h=s.length-1,v=h*ue+1,h=s[h]){for(;h%10==0;h/=10,v--);for(h=s[0];h>=10;h/=10,v++);}return f&&w.e+1>v&&(v=w.e+1),v},i.shiftedBy=function(f){return _e(f,-9007199254740991,Bl),this.times("1e"+f)},i.squareRoot=i.sqrt=function(){var f,m,s,v,h,w=this,A=w.c,p=w.s,y=w.e,S=o+4,R=new d("0.5");if(p!==1||!A||!A[0])return new d(!p||p<0&&(!A||A[0])?NaN:A?w:1/0);if(p=Math.sqrt(+U(w)),p==0||p==1/0?(m=tt(A),(m.length+y)%2==0&&(m+="0"),p=Math.sqrt(+m),y=nt((y+1)/2)-(y<0||y%2),p==1/0?m="5e"+y:(m=p.toExponential(),m=m.slice(0,m.indexOf("e")+1)+y),s=new d(m)):s=new d(p+""),s.c[0]){for(y=s.e,p=y+S,p<3&&(p=0);;)if(h=s,s=R.times(h.plus(t(w,h,S,1))),tt(h.c).slice(0,p)===(m=tt(s.c)).slice(0,p))if(s.e<y&&--p,m=m.slice(p-3,p+1),m=="9999"||!v&&m=="4999"){if(!v&&(j(h,h.e+o+2,0),h.times(h).eq(w))){s=h;break}S+=4,p+=4,v=1}else{(!+m||!+m.slice(1)&&m.charAt(0)=="5")&&(j(s,s.e+o+2,1),f=!s.times(s).eq(w));break}}return j(s,s.e+o+1,l,f)},i.toExponential=function(f,m){return f!=null&&(_e(f,0,qe),f++),$(this,f,m,1)},i.toFixed=function(f,m){return f!=null&&(_e(f,0,qe),f=f+this.e+1),$(this,f,m)},i.toFormat=function(f,m,s){var v,h=this;if(s==null)f!=null&&m&&typeof m=="object"?(s=m,m=null):f&&typeof f=="object"?(s=f,f=m=null):s=T;else if(typeof s!="object")throw Error(je+"Argument not an object: "+s);if(v=h.toFixed(f,m),h.c){var w,A=v.split("."),p=+s.groupSize,y=+s.secondaryGroupSize,S=s.groupSeparator||"",R=A[0],F=A[1],J=h.s<0,V=J?R.slice(1):R,X=V.length;if(y&&(w=p,p=y,y=w,X-=w),p>0&&X>0){for(w=X%p||p,R=V.substr(0,w);w<X;w+=p)R+=S+V.substr(w,p);y>0&&(R+=S+V.slice(w)),J&&(R="-"+R)}v=F?R+(s.decimalSeparator||"")+((y=+s.fractionGroupSize)?F.replace(new RegExp("\\d{"+y+"}\\B","g"),"$&"+(s.fractionGroupSeparator||"")):F):R}return(s.prefix||"")+v+(s.suffix||"")},i.toFraction=function(f){var m,s,v,h,w,A,p,y,S,R,F,J,V=this,X=V.c;if(f!=null&&(p=new d(f),!p.isInteger()&&(p.c||p.s!==1)||p.lt(a)))throw Error(je+"Argument "+(p.isInteger()?"out of range: ":"not an integer: ")+U(p));if(!X)return new d(V);for(m=new d(a),S=s=new d(a),v=y=new d(a),J=tt(X),w=m.e=J.length-V.e-1,m.c[0]=ha[(A=w%ue)<0?ue+A:A],f=!f||p.comparedTo(m)>0?w>0?m:S:p,A=E,E=1/0,p=new d(J),y.c[0]=0;R=t(p,m,0,1),h=s.plus(R.times(v)),h.comparedTo(f)!=1;)s=v,v=h,S=y.plus(R.times(h=S)),y=h,m=p.minus(R.times(h=m)),p=h;return h=t(f.minus(s),v,0,1),y=y.plus(h.times(S)),s=s.plus(h.times(v)),y.s=S.s=V.s,w=w*2,F=t(S,v,w,l).minus(V).abs().comparedTo(t(y,s,w,l).minus(V).abs())<1?[S,v]:[y,s],E=A,F},i.toNumber=function(){return+U(this)},i.toPrecision=function(f,m){return f!=null&&_e(f,1,qe),$(this,f,m,2)},i.toString=function(f){var m,s=this,v=s.s,h=s.e;return h===null?v?(m="Infinity",v<0&&(m="-"+m)):m="NaN":(f==null?m=h<=u||h>=c?Rn(tt(s.c),h):Ot(tt(s.c),h,"0"):f===10&&C?(s=j(new d(s),o+h+1,l),m=Ot(tt(s.c),s.e,"0")):(_e(f,2,I.length,"Base"),m=r(Ot(tt(s.c),h,"0"),10,f,v,!0)),v<0&&s.c[0]&&(m="-"+m)),m},i.valueOf=i.toJSON=function(){return U(this)},i._isBigNumber=!0,i[Symbol.toStringTag]="BigNumber",i[Symbol.for("nodejs.util.inspect.custom")]=i.valueOf,e!=null&&d.set(e),d}function nt(e){var t=e|0;return e>0||e===t?t:t-1}function tt(e){for(var t,r,n=1,i=e.length,a=e[0]+"";n<i;){for(t=e[n++]+"",r=ue-t.length;r--;t="0"+t);a+=t}for(i=a.length;a.charCodeAt(--i)===48;);return a.slice(0,i+1||1)}function Qt(e,t){var r,n,i=e.c,a=t.c,o=e.s,l=t.s,u=e.e,c=t.e;if(!o||!l)return null;if(r=i&&!i[0],n=a&&!a[0],r||n)return r?n?0:-l:o;if(o!=l)return o;if(r=o<0,n=u==c,!i||!a)return n?0:!i^r?1:-1;if(!n)return u>c^r?1:-1;for(l=(u=i.length)<(c=a.length)?u:c,o=0;o<l;o++)if(i[o]!=a[o])return i[o]>a[o]^r?1:-1;return u==c?0:u>c^r?1:-1}function _e(e,t,r,n){if(e<t||e>r||e!==rt(e))throw Error(je+(n||"Argument")+(typeof e=="number"?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function Cn(e){var t=e.c.length-1;return nt(e.e/ue)==t&&e.c[t]%2!=0}function Rn(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function Ot(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}var Dl=qc(),Lw=Object.defineProperty,Mw=(e,t,r)=>t in e?Lw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pa=(e,t,r)=>(Mw(e,typeof t!="symbol"?t+"":t,r),r),jw=(e=>(e[e.ROUND_UP=0]="ROUND_UP",e[e.ROUND_DOWN=1]="ROUND_DOWN",e[e.ROUND_CEIL=2]="ROUND_CEIL",e[e.ROUND_FLOOR=3]="ROUND_FLOOR",e[e.ROUND_HALF_UP=4]="ROUND_HALF_UP",e[e.ROUND_HALF_DOWN=5]="ROUND_HALF_DOWN",e[e.ROUND_HALF_EVEN=6]="ROUND_HALF_EVEN",e[e.ROUND_HALF_CEIL=7]="ROUND_HALF_CEIL",e[e.ROUND_HALF_FLOOR=8]="ROUND_HALF_FLOOR",e))(jw||{});let Uw=class{constructor(t,r){pa(this,"bigNum"),pa(this,"formatConfig",{decimalSeparator:".",groupSize:3}),pa(this,"toFixedConfig",{roundingMode:4,tailZero:!1}),this.setNumber(t),r!=null&&r.format&&this.format(r.format),r!=null&&r.toFixed&&this.toFixed(r.toFixed)}get number(){return this.bigNum}setNumber(t){return this.bigNum=Dl(t),this.bigNum.isNaN()&&console.error(`EasyNo type error, ${t}
1 is NaN`),this}format(t){return this.formatConfig={...this.formatConfig,...t},this}toFixed(t){return typeof t=="number"?this.toFixedConfig.decimalPlaces=t:t&&(this.toFixedConfig={...this.toFixedConfig,...t}),this}toString(){return this.bigNum.isNaN()?"":typeof this.toFixedConfig.decimalPlaces<"u"?this.toFixedConfig.tailZero?this.bigNum.toFormat(this.toFixedConfig.decimalPlaces,this.toFixedConfig.roundingMode,this.formatConfig):Dl(this.bigNum.toFixed(this.toFixedConfig.decimalPlaces,this.toFixedConfig.roundingMode)).toFormat(this.formatConfig):this.bigNum.toFormat(this.formatConfig)}plus(...t){return this.bigNum=t.reduce((r,n)=>r.plus(n),this.bigNum),this}minus(...t){return this.bigNum=t.reduce((r,n)=>r.minus(n),this.bigNum),this}div(...t){return this.bigNum=t.reduce((r,n)=>r.div(n),this.bigNum),this}times(...t){return this.bigNum=t.reduce((r,n)=>r.times(n),this.bigNum),this}isGreaterThan(t){return this.bigNum.isGreaterThan(t)}isLessThan(t){return this.bigNum.isLessThan(t)}};function AO(...e){return new Uw(...e)}let Pn;const Hw=new Uint8Array(16);function Gw(){if(!Pn&&(Pn=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Pn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Pn(Hw)}const Ww=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Vw(e){return typeof e=="string"&&Ww.test(e)}const Re=[];for(let e=0;e<256;++e)Re.push((e+256).toString(16).slice(1));function zc(e,t=0){return Re[e[t+0]]+Re[e[t+1]]+Re[e[t+2]]+Re[e[t+3]]+"-"+Re[e[t+4]]+Re[e[t+5]]+"-"+Re[e[t+6]]+Re[e[t+7]]+"-"+Re[e[t+8]]+Re[e[t+9]]+"-"+Re[e[t+10]]+Re[e[t+11]]+Re[e[t+12]]+Re[e[t+13]]+Re[e[t+14]]+Re[e[t+15]]}function qw(e){if(!Vw(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}function zw(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}const Kw="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Xw="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Kc(e,t,r){function n(i,a,o,l){var u;if(typeof i=="string"&&(i=zw(i)),typeof a=="string"&&(a=qw(a)),((u=a)===null||u===void 0?void 0:u.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+i.length);if(c.set(a),c.set(i,a.length),c=r(c),c[6]=c[6]&15|t,c[8]=c[8]&63|128,o){l=l||0;for(let g=0;g<16;++g)o[l+g]=c[g];return o}return zc(c)}try{n.name=e}catch(i){}return n.DNS=Kw,n.URL=Xw,n}function Yw(e){if(typeof e=="string"){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return Qw(Jw(Zw(e),e.length*8))}function Qw(e){const t=[],r=e.length*32,n="0123456789abcdef";for(let i=0;i<r;i+=8){const a=e[i>>5]>>>i%32&255,o=parseInt(n.charAt(a>>>4&15)+n.charAt(a&15),16);t.push(o)}return t}function Xc(e){return(e+64>>>9<<4)+14+1}function Jw(e,t){e[t>>5]|=128<<t%32,e[Xc(t)-1]=t;let r=1732584193,n=-271733879,i=-1732584194,a=271733878;for(let o=0;o<e.length;o+=16){const l=r,u=n,c=i,g=a;r=ke(r,n,i,a,e[o],7,-680876936),a=ke(a,r,n,i,e[o+1],12,-389564586),i=ke(i,a,r,n,e[o+2],17,606105819),n=ke(n,i,a,r,e[o+3],22,-1044525330),r=ke(r,n,i,a,e[o+4],7,-176418897),a=ke(a,r,n,i,e[o+5],12,1200080426),i=ke(i,a,r,n,e[o+6],17,-1473231341),n=ke(n,i,a,r,e[o+7],22,-45705983),r=ke(r,n,i,a,e[o+8],7,1770035416),a=ke(a,r,n,i,e[o+9],12,-1958414417),i=ke(i,a,r,n,e[o+10],17,-42063),n=ke(n,i,a,r,e[o+11],22,-1990404162),r=ke(r,n,i,a,e[o+12],7,1804603682),a=ke(a,r,n,i,e[o+13],12,-40341101),i=ke(i,a,r,n,e[o+14],17,-1502002290),n=ke(n,i,a,r,e[o+15],22,1236535329),r=Ne(r,n,i,a,e[o+1],5,-165796510),a=Ne(a,r,n,i,e[o+6],9,-1069501632),i=Ne(i,a,r,n,e[o+11],14,643717713),n=Ne(n,i,a,r,e[o],20,-373897302),r=Ne(r,n,i,a,e[o+5],5,-701558691),a=Ne(a,r,n,i,e[o+10],9,38016083),i=Ne(i,a,r,n,e[o+15],14,-660478335),n=Ne(n,i,a,r,e[o+4],20,-405537848),r=Ne(r,n,i,a,e[o+9],5,568446438),a=Ne(a,r,n,i,e[o+14],9,-1019803690),i=Ne(i,a,r,n,e[o+3],14,-187363961),n=Ne(n,i,a,r,e[o+8],20,1163531501),r=Ne(r,n,i,a,e[o+13],5,-1444681467),a=Ne(a,r,n,i,e[o+2],9,-51403784),i=Ne(i,a,r,n,e[o+7],14,1735328473),n=Ne(n,i,a,r,e[o+12],20,-1926607734),r=Be(r,n,i,a,e[o+5],4,-378558),a=Be(a,r,n,i,e[o+8],11,-2022574463),i=Be(i,a,r,n,e[o+11],16,1839030562),n=Be(n,i,a,r,e[o+14],23,-35309556),r=Be(r,n,i,a,e[o+1],4,-1530992060),a=Be(a,r,n,i,e[o+4],11,1272893353),i=Be(i,a,r,n,e[o+7],16,-155497632),n=Be(n,i,a,r,e[o+10],23,-1094730640),r=Be(r,n,i,a,e[o+13],4,681279174),a=Be(a,r,n,i,e[o],11,-358537222),i=Be(i,a,r,n,e[o+3],16,-722521979),n=Be(n,i,a,r,e[o+6],23,76029189),r=Be(r,n,i,a,e[o+9],4,-640364487),a=Be(a,r,n,i,e[o+12],11,-421815835),i=Be(i,a,r,n,e[o+15],16,530742520),n=Be(n,i,a,r,e[o+2],23,-995338651),r=De(r,n,i,a,e[o],6,-198630844),a=De(a,r,n,i,e[o+7],10,1126891415),i=De(i,a,r,n,e[o+14],15,-1416354905),n=De(n,i,a,r,e[o+5],21,-57434055),r
1=De(r,n,i,a,e[o+12],6,1700485571),a=De(a,r,n,i,e[o+3],10,-1894986606),i=De(i,a,r,n,e[o+10],15,-1051523),n=De(n,i,a,r,e[o+1],21,-2054922799),r=De(r,n,i,a,e[o+8],6,1873313359),a=De(a,r,n,i,e[o+15],10,-30611744),i=De(i,a,r,n,e[o+6],15,-1560198380),n=De(n,i,a,r,e[o+13],21,1309151649),r=De(r,n,i,a,e[o+4],6,-145523070),a=De(a,r,n,i,e[o+11],10,-1120210379),i=De(i,a,r,n,e[o+2],15,718787259),n=De(n,i,a,r,e[o+9],21,-343485551),r=Mt(r,l),n=Mt(n,u),i=Mt(i,c),a=Mt(a,g)}return[r,n,i,a]}function Zw(e){if(e.length===0)return[];const t=e.length*8,r=new Uint32Array(Xc(t));for(let n=0;n<t;n+=8)r[n>>5]|=(e[n/8]&255)<<n%32;return r}function Mt(e,t){const r=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(r>>16)<<16|r&65535}function eb(e,t){return e<<t|e>>>32-t}function wi(e,t,r,n,i,a){return Mt(eb(Mt(Mt(t,e),Mt(n,a)),i),r)}function ke(e,t,r,n,i,a,o){return wi(t&r|~t&n,e,t,i,a,o)}function Ne(e,t,r,n,i,a,o){return wi(t&n|r&~n,e,t,i,a,o)}function Be(e,t,r,n,i,a,o){return wi(t^r^n,e,t,i,a,o)}function De(e,t,r,n,i,a,o){return wi(r^(t|~n),e,t,i,a,o)}const xO=Kc("v3",48,Yw),tb=typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Fl={randomUUID:tb};function rb(e,t,r){if(Fl.randomUUID&&!e)return Fl.randomUUID();e=e||{};const n=e.random||(e.rng||Gw)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,zc(n)}function nb(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function ga(e,t){return e<<t|e>>>32-t}function ib(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof e=="string"){const o=unescape(encodeURIComponent(e));e=[];for(let l=0;l<o.length;++l)e.push(o.charCodeAt(l))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const n=e.length/4+2,i=Math.ceil(n/16),a=new Array(i);for(let o=0;o<i;++o){const l=new Uint32Array(16);for(let u=0;u<16;++u)l[u]=e[o*64+u*4]<<24|e[o*64+u*4+1]<<16|e[o*64+u*4+2]<<8|e[o*64+u*4+3];a[o]=l}a[i-1][14]=(e.length-1)*8/Math.pow(2,32),a[i-1][14]=Math.floor(a[i-1][14]),a[i-1][15]=(e.length-1)*8&4294967295;for(let o=0;o<i;++o){const l=new Uint32Array(80);for(let O=0;O<16;++O)l[O]=a[o][O];for(let O=16;O<80;++O)l[O]=ga(l[O-3]^l[O-8]^l[O-14]^l[O-16],1);let u=r[0],c=r[1],g=r[2],E=r[3],b=r[4];for(let O=0;O<80;++O){const N=Math.floor(O/20),T=ga(u,5)+nb(N,c,g,E)+b+t[N]+l[O]>>>0;b=E,E=g,g=ga(c,30)>>>0,c=u,u=T}r[0]=r[0]+u>>>0,r[1]=r[1]+c>>>0,r[2]=r[2]+g>>>0,r[3]=r[3]+E>>>0,r[4]=r[4]+b>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const Ll=Kc("v5",80,ib);var ab=Object.defineProperty,ob=(e,t,r)=>t in e?ab(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ft=(e,t,r)=>ob(e,typeof t!="symbol"?t+"":t,r);function Ml(e){return e==null}class bi{constructor({storageType:t="memory",serialize:r=JSON.stringify,deserialize:n=JSON.parse,serializationStrategy:i="auto",manageExpiry:a=!0,key:o=l=>l}={}){ft(this,"serialize"),ft(this,"deserialize"),ft(this,"storageType"),ft(this,"manageExpiry"),ft(this,"initialized",Promise.resolve()),ft(this,"key"),this.key=o,this.initialized=this.initializeStorage(),this.manageExpiry=a,this.storageType=t;const l=["local","session","cookie"].includes(t),u=l&&this.manageExpiry||i==="force"?!0:i==="never"?!1:l;this.serialize=u?c=>{try{return r(c)}catch(g){throw new Error(`Serialization error: ${g}`)}}:null,this.deserialize=u?c=>{try{return n(c)}catch(g){return c}}:null}async ready(){await this.initialized}isAfter(t){return t!==null&&Date.now()>t}beforeSetItem(t,r={}){if(!this.manageExpiry)return this.serialize?this.serialize(t):t;const{updatedAt:n,expiresAt:i,removeAt:a}=this.calculateTimestamps(r),o={updatedAt:n,expiresAt:i,removeAt:a,data:t};return this.serialize?this.serialize(o):o}afterGetItem(t,r,n){if(r=r||{},Ml(t))return null;const i=this.deserialize&&typeof t=="string"?this.deserialize(t):t;return Ml(i)?null:this.manageExpiry?this.isAfter(i.removeAt)?(n==null||n(),null):!r.allowExpired&&this.isAfter(i.expiresAt)?
1null:i.data:i}calculateTimestamps(t={}){var l,u;const r=Date.now(),n=(l=t.expires)!=null?l:null,i=n?r+n*1e3:null,a=(u=t.delayRemove)!=null?u:0,o=i?i+a*1e3:null;return{expiresAt:i,removeAt:o,updatedAt:r}}async initializeStorage(){}}class Yc extends bi{constructor(t,r){super({storageType:"memory",...r}),ft(this,"storage",new Map),ft(this,"hydrateFunc"),ft(this,"persistFunc"),this.hydrateFunc=t==null?void 0:t.hydrate,this.persistFunc=t==null?void 0:t.persist,this.initialized=this.initializeStorage()}async initializeStorage(){return this.hydrate()}async hydrate(){if(this.hydrateFunc){const t=await this.hydrateFunc();t&&(this.storage=t)}}async persist(){this.persistFunc&&await this.persistFunc(this.storage)}get(t,r){t=this.key(t);const n=this.storage.get(t);return this.afterGetItem(n,r,()=>this.delete(t,r))}set(t,r,n){t=this.key(t);const i=this.beforeSetItem(r,n);this.storage.set(t,i),n!=null&&n.skipPersist||this.persist()}delete(t,r){t=this.key(t),this.storage.delete(t),r!=null&&r.skipPersist||this.persist()}clear(t){if(this.manageExpiry&&t!=null&&t.onlyExpired)for(const[r]of this.storage.entries())this.get(r,{skipPersist:!0});else this.storage.clear();t!=null&&t.skipPersist||this.persist()}}class sb extends bi{constructor(t){super({storageType:"cookie",...t})}setCookie(t,r,n){t=this.key(t),document.cookie=`${t}=${encodeURIComponent(r)}${n};path=/;SameSite=Lax`}get(t,r){t=this.key(t);const n=`${t}=`,i=document.cookie.split(";");for(const a of i){const o=a.trim();if(o.indexOf(n)===0){const l=decodeURIComponent(o.substring(n.length,o.length));return this.afterGetItem(l,r,()=>this.delete(t))}}return null}set(t,r,n){t=this.key(t);const i=this.beforeSetItem(r,n);let a="";const{removeAt:o}=this.calculateTimestamps(n);o&&(a=`;expires=${new Date(o).toUTCString()}`),this.setCookie(t,i,a)}delete(t){t=this.key(t),this.setCookie(t,"",";expires=Thu, 01 Jan 1970 00:00:00 GMT")}clear(t){const r=document.cookie.split(";");for(const n of r){const i=n.indexOf("="),a=i>-1?n.slice(0,i).trim():n;t!=null&&t.onlyExpired?this.get(a):this.delete(a)}}}let jl=class extends bi{constructor(t,r={}){super({storageType:t===localStorage?"local":"session",...r}),ft(this,"storage"),this.storage=t}get(t,r){t=this.key(t);const n=this.storage.getItem(t);return this.afterGetItem(n,r,()=>this.delete(t))}set(t,r,n){t=this.key(t);const i=this.beforeSetItem(r,n);this.storage.setItem(t,i)}delete(t){t=this.key(t),this.storage.removeItem(t)}clear(t){if(this.manageExpiry&&t!=null&&t.onlyExpired)for(let r=0;r<this.storage.length;r++){const n=this.storage.key(r);n&&this.get(n)}else this.storage.clear()}},TO=class extends bi{constructor(t,r){const n=typeof t=="string"?{type:t}:t;super({storageType:n.type,...r}),ft(this,"storage"),n.type==="local"&&typeof localStorage<"u"?this.storage=new jl(localStorage,r):n.type==="session"&&typeof sessionStorage<"u"?this.storage=new jl(sessionStorage,r):n.type==="cookie"&&typeof document<"u"?this.storage=new sb(r):(this.storage=new Yc(n.persistence,r),n.type!=="memory"&&(this.storageType="memory",console.info(`Storage type '${n.type}' is not supported. Falling back to 'memory'.`)))}ready(){return this.storage.ready()}get(t,r={}){return t=this.key(t),this.storage.get(t,r)}set(t,r,n={}){t=this.key(t),this.storage.set(t,r,n)}delete(t){t=this.key(t),this.storage.delete(t)}clear(t){this.storage.clear(t)}};const ma=(e,t)=>`${e}:${t}`;function lb(e=new Yc){return(t,r,n={})=>{const{merge:i=!0,cacheTime:a=0}=n,o=i||a?e.get(t):null;if(o)return o;const l=typeof i=="number"&&i>0?i:void 0,u=(a||l||0)/1e3,c=r().then(g=>(!a&&!l?e.delete(t):e.set(t,g,{expires:u}),g),g=>{throw e.delete(t),g});return e.set(t,c,{expires:u}),c}}const ub=60*1e3,cb=0;function CO(e){const t=new Map,r=lb(),n={},i=(u,c)=>{const g=t.get(u);if(g){const{resolve:E,reject:b,timeout:O}=g;return c.status===1?E(c):b(c),O&&clearTimeout(O),t.delete(u),!0}return!1},a=u=>{if(!(typeof u=="string"&&!/^\{/.test(u)))try{const{uuid:c,type:g,payload:E,status:b=1}=typeof u=="string"?JSON.parse(u):u,O=g&&c,N=n[g];if(!O&&!N)return;console.log([`[BRIDGE GET]: <<<<<< ${g}`,`[OTHER2SELF MESSAGE ${c}]`,JSON.stringify({status:b,payload:E})].join(` 2`));const T=ma(g,c);
vendor: 20,661 bytes, lines 2-4
2i(T,{uuid:c,type:g,payload:E,status:b})||n[g]&&n[g].forEach(I=>I({uuid:c,type:g,payload:E,status:b}))}catch(c){console.error("Error processing received event:",c)}},o=new Map;let l=e.registerMessage(a);return Object.assign(u=>{if(o.has(u))return o.get(u);const c={send:(g,{merge:E=!0,timeout:b=ub,cache:O=cb,fireAndForget:N=!1}={})=>{var T;if((T=e==null?void 0:e.disabled)!=null&&T.call(e))return;const I=Ll(JSON.stringify(g||{}),Ll.URL),C=ma(u,I);return r(C,()=>new Promise((d,$)=>{const k=E||O?I:rb(),W=ma(u,k),j=()=>{console.log([`[BRIDGE SEND]: >>>>>> ${u}`,`[SELF2OTHER MESSAGE ${k}]`,JSON.stringify(g)].join(` 3`)),e.sendMessage({type:u,uuid:k,payload:g})};if(N)return j(),d();t.set(W,{resolve:d,reject:$,timeout:setTimeout(()=>{console.log([`[BRIDGE SEND]: >>>>>> ${u}`,`[SELF2OTHER MESSAGE ${k}]`,"bridge timeout"].join(` 4`)),i(W,{uuid:k,type:u,payload:{message:"bridge timeout"},status:0})},b)}),j()}),{merge:E,cacheTime:O})},on:g=>{var E;return(E=e==null?void 0:e.disabled)!=null&&E.call(e)||(n[u]||(n[u]=[]),n[u].push(g)),c},off:g=>(n[u]&&(n[u]=n[u].filter(E=>g?E!==g:!1)),c),once:g=>{var E;if((E=e==null?void 0:e.disabled)!=null&&E.call(e))return c;const b=O=>{g(O),c.off(b)};return c.on(b),c}};return o.set(u,c),c},{update:(u=e)=>{l&&l(),l=u.registerMessage(a)},destroy:()=>{l&&(l(),l=void 0);for(const u in n)n[u]=[];o.clear()}})}/*! js-cookie v3.0.5 | MIT */function kn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var fb={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Qa(e,t){function r(i,a,o){if(typeof document!="undefined"){o=kn({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var u in o)o[u]&&(l+="; "+u,o[u]!==!0&&(l+="="+o[u].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+l}}function n(i){if(!(typeof document=="undefined"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},l=0;l<a.length;l++){var u=a[l].split("="),c=u.slice(1).join("=");try{var g=decodeURIComponent(u[0]);if(o[g]=e.read(c,g),i===g)break}catch(E){}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",kn({},a,{expires:-1}))},withAttributes:function(i){return Qa(this.converter,kn({},this.attributes,i))},withConverter:function(i){return Qa(kn({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var RO=Qa(fb,{path:"/"}),Ei={exports:{}},Qc={exports:{}},Jc={exports:{}};(function(e){(function(t){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,a=Math.floor,o="[BigNumber Error] ",l=o+"Number primitive has more than 15 significant digits: ",u=1e14,c=14,g=9007199254740991,E=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],b=1e7,O=1e9;function N(j){var U,f,m,s=B.prototype={constructor:B,toString:null,valueOf:null},v=new B(1),h=20,w=4,A=-7,p=21,y=-1e7,S=1e7,R=!1,F=1,J=0,V={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"Â ",suffix:""},X="0123456789abcdefghijklmnopqrstuvwxyz",Y=!0;function B(_,x){var P,G,D,M,K,L,H,z,q=this;if(!(q instanceof B))return new B(_,x);if(x==null){if(_&&_._isBigNumber===!0){q.s=_.s,!_.c||_.e>S?q.c=q.e=null:_.e<y?q.c=[q.e=0]:(q.e=_.e,q.c=_.c.slice());return}if((L=typeof _=="number")&&_*0==0){if(q.s=1/_<0?(_=-_,-1):1,_===~~_){for(M=0,K=_;K>=10;K/=10,M++);M>S?q.c=q.e=null:(q.e=M,q.c=[_]);return}z=String(_)}else{if(!n.test(z=String(_)))return m(q,z,L);q.s=z.charCodeAt(0)==45?(z=z.slice(1),-1):1}(M=z.indexOf("."))>-1&&(z=z.replace(".","")),(K=z.search(/e/i))>0?(M<0&&(M=K),M+=+z.slice(K+1),z=z.substring(0,K)):M<0&&(M=z.length)}else{if(d(x,2,X.length,"Base"),x==10&&Y)return q=new B(_),ge(q,h+q.e+1,w);if(z=String(_),L=typeof _=="number"){if(_*0!=0)return m(q,z,L,x);if(q.s=1/_<0?(z=z.slice(1),-1):1,B.DEBUG&&z.replace(/^0\.0*|\./,"").length>15)throw Error(l+_)}else q.s=z.charCodeAt(0)===45?(z=z.slice(1),-1):1;for(P=X.slice(0,x),M=K=0,H=z.length;K<H;K++)if(P.indexOf(G=z.charAt(K))<0){if(G=="."){if(K>M){M=H;continue}}else if(!D&&(z==z.toUpperCase()&&(z=z.toLowerCase())||z==z.toLowerCase()&&(z=z.toUpperCase()))){D=!0,K=-1,M=0;continue}return m(q,String(_),L,x)}L=!1,z=f(z,x,10,q.s),(M=z.indexOf("."))>-1?z=z.replace(".",""):M=z.length}for(K=0;z.charCodeAt(K)===48;K++);for(H=z.length;z.charCodeAt(--H)===48;);if(z=z.slice(K,++H)){if(H-=K,L&&B.DEBUG&&H>15&&(_>g||_!==a(_)))throw Error(l+q.s*_);if((M=M-K-1)>S)q.c=q.e=null;else if(M<y)q.c=[q.e=0];else{if(q.e=M,q.c=[],K=(M+1)%c,M<0&&(K+=c),K<H){for(K&&q.c.push(+z.slice(0,K)),H-=c;K<H;)q.c.push(+z.slice(K,K+=c));K=c-(z=z.slice(K)).length}else K-=H;for(;K--;z+="0");q.c.push(+z)}}else q.c=[q.e=0]}B.clone=N,B.ROUND_UP=0,B.ROUND_DOWN=1,B.ROUND_CEIL=2,B.ROUND_FLOOR=3,B.ROUND_HALF_UP=4,B.ROUND_HALF_DOWN=5,B.ROUND_HALF_EVEN=6,B.ROUND_HALF_CEIL=7,B.ROUND_HALF_FLOOR=8,B.EUCLID=9,B.config=B.set=function(_){var x,P;if(_!=null)if(typeof _=="object"){if(_.hasOwnProperty(x="DECIMAL_PLACES")&&(P=_[x],d(P,0,O,x),h=P),_.hasOwnProperty(x="ROUNDING_MODE")&&(P=_[x],d(P,0,8,x),w=P),_.hasOwnProperty(x="EXPONENTIAL_AT")&&(P=_[x],P&&P.pop?(d(P[0],-1e9,0,x),d(P[1],0,O,x),A=P[0],p=P[1]):(d(P,-1e9,O,x),A=-(p=P<0?-P:P))),_.hasOwnProperty(x="RANGE"))if(P=_[x],P&&P.pop)d(P[0],-1e9,-1,x),d(P[1],1,O,x),y=P[0],S=P[1];else if(d(P,-1e9,O,x),P)y=-(S=P<0?-P:P);else throw Error(o+x+" cannot be zero: "+P);if(_.hasOwnProperty(x="CRYPTO"))if(P=_[x],P===!!P)if(P)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))R=P;else throw R=!P,Error(o+"crypto unavailable");else R=P;else throw Error(o+x+" not true or false: "+P);if(_.hasOwnProperty(x="MODULO_MODE")&&(P=_[x],d(P,0,9,x),F=P),_.hasOwnProperty(x="POW_PRECISION")&&(P=_[x],d(P,0,O,x),J=P),_.hasOwnProperty(x="FORMAT"))if(P=_[x],typeof P=="object")V=P;else throw Error(o+x+" not an object: "+P);if(_.hasOwnProperty(x="ALPHABET"))if(P=_[x],typeof P=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(P))Y=P.slice(0,10)=="0123456789",X=P;else throw Error(o+x+" invalid: "+P)}else throw Error(o+"Object expected: "+_);return{DECIMAL_PLACES:h,ROUNDING_MODE:w,EXPONENTIAL_AT:[A,p],RANGE:[y,S],CRYPTO:R,MODULO_MODE:F,POW_PRECISION:J,FORMAT:V,ALPHABET:X}},B.isBigNumber=function(_){if(!_||_._isBigNumber!==!0)return!1;if(!B.DEBUG)return!0;var x,P,G=_.c,D=_.e,M=_.s;e:if({}.toString.call(G)=="[object Array]"){if((M===1||M===-1)&&D>=-1e9&&D<=O&&D===a(D)){if(G[0]===0){if(D===0&&G.length===1)return!0;break e}if(x=(D+1)%c,x<1&&(x+=c),String(G[0]).length==x){for(x=0;x<G.length;x++)if(P=G[x],P<0||P>=u||P!==a(P))break e;if(P!==0)return!0}}}else if(G===null&&D===null&&(M===null||M===1||M===-1))return!0;throw Error(o+"Invalid BigNumber: "+_)},B.maximum=B.max=function(){return se(arguments,-1)},B.minimum=B.min=function(){return se(arguments,1)},B.random=function(){var _=9007199254740992,x=Math.random()*_&2097151?function(){return a(Math.random()*_)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(P){var G,D,M,K,L,H=0,z=[],q=new B(v);if(P==null?P=h:d(P,0,O),K=i(P/c),R)if(crypto.getRandomValues){for(G=crypto.getRandomValues(new Uint32Array(K*=2));H<K;)L=G[H]*131072+(G[H+1]>>>11),L>=9e15?(D=crypto.getRandomValues(new Uint32Array(2)),G[H]=D[0],G[H+1]=D[1]):(z.push(L%1e14),H+=2);H=K/2}else if(crypto.randomBytes){for(G=crypto.randomBytes(K*=7);H<K;)L=(G[H]&31)*281474976710656+G[H+1]*1099511627776+G[H+2]*4294967296+G[H+3]*16777216+(G[H+4]<<16)+(G[H+5]<<8)+G[H+6],L>=9e15?crypto.randomBytes(7).copy(G,H):(z.push(L%1e14),H+=7);H=K/7}else throw R=!1,Error(o+"crypto unavailable");if(!R)for(;H<K;)L=x(),L<9e15&&(z[H++]=L%1e14);for(K=z[--H],P%=c,K&&P&&(L=E[c-P],z[H]=a(K/L)*L);z[H]===0;z.pop(),H--);if(H<0)z=[M=0];else{for(M=-1;z[0]===0;z.splice(0,1),M-=c);for(H=1,L=z[0];L>=10;L/=10,H++);H<c&&(M-=c-H)}return q.e=M,q.c=z,q}}(),B.sum=function(){for(var _=1,x=arguments,P=new B(x[0]);_<x.length;)P=P.plus(x[_++]);return P},f=function(){var _="0123456789";function x(P,G,D,M){for(var K,L=[0],H,z=0,q=P.length;z<q;){for(H=L.length;H--;L[H]*=G);for(L[0]+=M.indexOf(P.charAt(z++)),K=0;K<L.length;K++)L[K]>D-1&&(L[K+1]==null&&(L[K+1]=0),L[K+1]+=L[K]/D|0,L[K]%=D)}return L.reverse()}return function(P,G,D,M,K){var L,H,z,q,Q,ae,oe,fe,me=P.indexOf("."),Oe=h,ve=w;for(me>=0&&(q=J,J=0,P=P.replace(".",""),fe=new B(G),ae=fe.pow(P.length-me),J=q,fe.c=x(W(I(ae.c),ae.e,"0"),10,D,_),fe.e=fe.c.length),oe=x(P,G,D,K?(L=X,_):(L=_,X)),z=q=oe.length;oe[--q]==0;oe.pop());if(!oe[0])return L.charAt(0);if(me<0?--z:(ae.c=oe,ae.e=z,ae.s=M,ae=U(ae,fe,Oe,ve,D),oe=ae.c,Q=ae.r,z=ae.e),H=z+Oe+1,me=oe[H],q=D/2,Q=Q||H<0||oe[H+1]!=null,Q=ve<4?(me!=null||Q)&&(ve==0||ve==(ae.s<0?3:2)):me>q||me==q&&(ve==4||Q||ve==6&&oe[H-1]&1||ve==(ae.s<0?8:7)),H<1||!oe[0])P=Q?W(L.charAt(1),-Oe,L.charAt(0)):L.charAt(0);else{if(oe.length=H,Q)for(--D;++oe[--H]>D;)oe[H]=0,H||(++z,oe=[1].concat(oe));for(q=oe.length;!oe[--q];);for(me=0,P="";me<=q;P+=L.charAt(oe[me++]));P=W(P,z,L.charAt(0))}return P}}(),U=function(){function _(G,D,M){var K,L,H,z,q=0,Q=G.length,ae=D%b,oe=D/b|0;for(G=G.slice();Q--;)H=G[Q]%b,z=G[Q]/b|0,K=oe*H+z*ae,L=ae*H+K%b*b+q,q=(L/M|0)+(K/b|0)+oe*z,G[Q]=L%M;return q&&(G=[q].concat(G)),G}function x(G,D,M,K){var L,H;if(M!=K)H=M>K?1:-1;else for(L=H=0;L<M;L++)if(G[L]!=D[L]){H=G[L]>D[L]?1:-1;break}return H}function P(G,D,M,K){for(var L=0;M--;)G[M]-=L,L=G[M]<D[M]?1:0,G[M]=L*K+G[M]-D[M];for(;!G[0]&&G.length>1;G.splice(0,1));}return function(G,D,M,K,L){var H,z,q,Q,ae,oe,fe,me,Oe,ve,de,Pe,dn,$i,Ti,ht,Ir,et=G.s==D.s?1:-1,Le=G.c,Se=D.c;if(!Le||!Le[0]||!Se||!Se[0])return new B(!G.s||!D.s||(Le?Se&&Le[0]==Se[0]:!Se)?NaN:Le&&Le[0]==0||!Se?et*0:et/0);for(me=new B(et),Oe=me.c=[],z=G.e-D.e,et=M+z+1,L||(L=u,z=T(G.e/c)-T(D.e/c),et=et/c|0),q=0;Se[q]==(Le[q]||0);q++);if(Se[q]>(Le[q]||0)&&z--,et<0)Oe.push(1),Q=!0;else{for($i=Le.length,ht=Se.length,q=0,et+=2,ae=a(L/(Se[0]+1)),ae>1&&(Se=_(Se,ae,L),Le=_(Le,ae,L),ht=Se.length,$i=Le.length),dn=ht,ve=Le.slice(0,ht),de=ve.length;de<ht;ve[de++]=0);Ir=Se.slice(),Ir=[0].concat(Ir),Ti=Se[0],Se[1]>=L/2&&Ti++;do{if(ae=0,H=x(Se,ve,ht,de),H<0){if(Pe=ve[0],ht!=de&&(Pe=Pe*L+(ve[1]||0)),ae=a(Pe/Ti),ae>1)for(ae>=L&&(ae=L-1),oe=_(Se,ae,L),fe=oe.length,de=ve.length;x(oe,ve,fe,de)==1;)ae--,P(oe,ht<fe?Ir:Se,fe,L),fe=oe.length,H=1;else ae==0&&(H=ae=1),oe=Se.slice(),fe=oe.length;if(fe<de&&(oe=[0].concat(oe)),P(ve,oe,de,L),de=ve.length,H==-1)for(;x(Se,ve,ht,de)<1;)ae++,P(ve,ht<de?Ir:Se,de,L),de=ve.length}else H===0&&(ae++,ve=[0]);Oe[q++]=ae,ve[0]?ve[de++]=Le[dn]||0:(ve=[Le[dn]],de=1)}while((dn++<$i||ve[0]!=null)&&et--);Q=ve[0]!=null,Oe[0]||Oe.splice(0,1)}if(L==u){for(q=1,et=Oe[0];et>=10;et/=10,q++);ge(me,M+(me.e=q+z*c-1)+1,K,Q)}else me.e=z,me.r=+Q;return me}}();function ne(_,x,P,G){var D,M,K,L,H;if(P==null?P=w:d(P,0,8),!_.c)return _.toString();if(D=_.c[0],K=_.e,x==null)H=I(_.c),H=G==1||G==2&&(K<=A||K>=p)?k(H,K):W(H,K,"0");else if(_=ge(new B(_),x,P),M=_.e,H=I(_.c),L=H.length,G==1||G==2&&(x<=M||M<=A)){for(;L<x;H+="0",L++);H=k(H,M)}else if(x-=K,H=W(H,M,"0"),M+1>L){if(--x>0)for(H+=".";x--;H+="0");}else if(x+=M-L,x>0)for(M+1==L&&(H+=".");x--;H+="0");return _.s<0&&D?"-"+H:H}function se(_,x){for(var P,G,D=1,M=new B(_[0]);D<_.length;D++)G=new B(_[D]),(!G.s||(P=C(M,G))===x||P===0&&M.s===x)&&(M=G);return M}function pe(_,x,P){for(var G=1,D=x.length;!x[--D];x.pop());for(D=x[0];D>=10;D/=10,G++);return(P=G+P*c-1)>S?_.c=_.e=null:P<y?_.c=[_.e=0]:(_.e=P,_.c=x),_}m=function(){var _=/^(-?)0([xbo])(?=\w[\w.]*$)/i,x=/^([^.]+)\.$/,P=/^\.([^.]+)$/,G=/^-?(Infinity|NaN)$/,D=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(M,K,L,H){var z,q=L?K:K.replace(D,"");if(G.test(q))M.s=isNaN(q)?null:q<0?-1:1;else{if(!L&&(q=q.replace(_,function(Q,ae,oe){return z=(oe=oe.toLowerCase())=="x"?16:oe=="b"?2:8,!H||H==z?ae:Q}),H&&(z=H,q=q.replace(x,"$1").replace(P,"0.$1")),K!=q))return new B(q,z);if(B.DEBUG)throw Error(o+"Not a"+(H?" base "+H:"")+" number: "+K);M.s=null}M.c=M.e=null}}();function ge(_,x,P,G){var D,M,K,L,H,z,q,Q=_.c,ae=E;if(Q){e:{for(D=1,L=Q[0];L>=10;L/=10,D++);if(M=x-D,M<0)M+=c,K=x,H=Q[z=0],q=a(H/ae[D-K-1]%10);else if(z=i((M+1)/c),z>=Q.length)if(G){for(;Q.length<=z;Q.push(0));H=q=0,D=1,M%=c,K=M-c+1}else break e;else{for(H=L=Q[z],D=1;L>=10;L/=10,D++);M%=c,K=M-c+D,q=K<0?0:a(H/ae[D-K-1]%10)}if(G=G||x<0||Q[z+1]!=null||(K<0?H:H%ae[D-K-1]),G=P<4?(q||G)&&(P==0||P==(_.s<0?3:2)):q>5||q==5&&(P==4||G||P==6&&(M>0?K>0?H/ae[D-K]:0:Q[z-1])%10&1||P==(_.s<0?8:7)),x<1||!Q[0])return Q.length=0,G?(x-=_.e+1,Q[0]=ae[(c-x%c)%c],_.e=-x||0):Q[0]=_.e=0,_;if(M==0?(Q.length=z,L=1,z--):(Q.length=z+1,L=ae[c-M],Q[z]=K>0?a(H/ae[D-K]%ae[K])*L:0),G)for(;;)if(z==0){for(M=1,K=Q[0];K>=10;K/=10,M++);for(K=Q[0]+=L,L=1;K>=10;K/=10,L++);M!=L&&(_.e++,Q[0]==u&&(Q[0]=1));break}else{if(Q[z]+=L,Q[z]!=u)break;Q[z--]=0,L=1}for(M=Q.length;Q[--M]===0;Q.pop());}_.e>S?_.c=_.e=null:_.e<y&&(_.c=[_.e=0])}return _}function Ce(_){var x,P=_.e;return P===null?_.toString():(x=I(_.c),x=P<=A||P>=p?k(x,P):W(x,P,"0"),_.s<0?"-"+x:x)}return s.absoluteValue=s.abs=function(){var _=new B(this);return _.s<0&&(_.s=1),_},s.comparedTo=function(_,x){return C(this,new B(_,x))},s.decimalPlaces=s.dp=function(_,x){var P,G,D,M=this;if(_!=null)return d(_,0,O),x==null?x=w:d(x,0,8),ge(new B(M),_+M.e+1,x);if(!(P=M.c))return null;if(G=((D=P.length-1)-T(this.e/c))*c,D=P[D])for(;D%10==0;D/=10,G--);return G<0&&(G=0),G},s.dividedBy=s.div=function(_,x){return U(this,new B(_,x),h,w)},s.dividedToIntegerBy=s.idiv=function(_,x){return U(this,new B(_,x),0,1)},s.exponentiatedBy=s.pow=function(_,x){var P,G,D,M,K,L,H,z,q,Q=this;if(_=new B(_),_.c&&!_.isInteger())throw Error(o+"Exponent not an integer: "+Ce(_));if(x!=null&&(x=new B(x)),L=_.e>14,!Q.c||!Q.c[0]||Q.c[0]==1&&!Q.e&&Q.c.length==1||!_.c||!_.c[0])return q=new B(Math.pow(+Ce(Q),L?_.s*(2-$(_)):+Ce(_))),x?q.mod(x):q;if(H=_.s<0,x){if(x.c?!x.c[0]:!x.s)return new B(NaN);G=!H&&Q.isInteger()&&x.isInteger(),G&&(Q=Q.mod(x))}else{if(_.e>9&&(Q.e>0||Q.e<-1||(Q.e==0?Q.c[0]>1||L&&Q.c[1]>=24e7:Q.c[0]<8e13||L&&Q.c[0]<=9999975e7)))return M=Q.s<0&&$(_)?-0:0,Q.e>-1&&(M=1/M),new B(H?1/M:M);J&&(M=i(J/c+2))}for(L?(P=new B(.5),H&&(_.s=1),z=$(_)):(D=Math.abs(+Ce(_)),z=D%2),q=new B(v);;){if(z){if(q=q.times(Q),!q.c)break;M?q.c.length>M&&(q.c.length=M):G&&(q=q.mod(x))}if(D){if(D=a(D/2),D===0)break;z=D%2}else if(_=_.times(P),ge(_,_.e+1,1),_.e>14)z=$(_);else{if(D=+Ce(_),D===0)break;z=D%2}Q=Q.times(Q),M?Q.c&&Q.c.length>M&&(Q.c.length=M):G&&(Q=Q.mod(x))}return G?q:(H&&(q=v.div(q)),x?q.mod(x):M?ge(q,J,w,K):q)},s.integerValue=function(_){var x=new B(this);return _==null?_=w:d(_,0,8),ge(x,x.e+1,_)},s.isEqualTo=s.eq=function(_,x){return C(this,new B(_,x))===0},s.isFinite=function(){return!!this.c},s.isGreaterThan=s.gt=function(_,x){return C(this,new B(_,x))>0},s.isGreaterThanOrEqualTo=s.gte=function(_,x){return(x=C(this,new B(_,x)))===1||x===0},s.isInteger=function(){return!!this.c&&T(this.e/c)>this.c.length-2},s.isLessThan=s.lt=function(_,x){return C(this,new B(_,x))<0},s.isLessThanOrEqualTo=s.lte=function(_,x){return(x=C(this,new B(_,x)))===-1||x===0},s.isNaN=function(){return!this.s},s.isNegative=function(){return this.s<0},s.isPositive=function(){return this.s>0},s.isZero=function(){return!!this.c&&this.c[0]==0},s.minus=function(_,x){var P,G,D,M,K=this,L=K.s;if(_=new B(_,x),x=_.s,!L||!x)return new B(NaN);if(L!=x)return _.s=-x,K.plus(_);var H=K.e/c,z=_.e/c,q=K.c,Q=_.c;if(!H||!z){if(!q||!Q)return q?(_.s=-x,_):new B(Q?K:NaN);if(!q[0]||!Q[0])return Q[0]?(_.s=-x,_):new B(q[0]?K:w==3?-0:0)}if(H=T(H),z=T(z),q=q.slice(),L=H-z){for((M=L<0)?(L=-L,D=q):(z=H,D=Q),D.reverse(),x=L;x--;D.push(0));D.reverse()}else for(G=(M=(L=q.length)<(x=Q.length))?L:x,L=x=0;x<G;x++)if(q[x]!=Q[x]){M=q[x]<Q[x];break}if(M&&(D=q,q=Q,Q=D,_.s=-_.s),x=(G=Q.length)-(P=q.length),x>0)for(;x--;q[P++]=0);for(x=u-1;G>L;){if(q[--G]<Q[G]){for(P=G;P&&!q[--P];q[P]=x);--q[P],q[G]+=u}q[G]-=Q[G]}for(;q[0]==0;q.splice(0,1),--z);return q[0]?pe(_,q,z):(_.s=w==3?-1:1,_.c=[_.e=0],_)},s.modulo=s.mod=function(_,x){var P,G,D=this;return _=new B(_,x),!D.c||!_.s||_.c&&!_.c[0]?new B(NaN):!_.c||D.c&&!D.c[0]?new B(D):(F==9?(G=_.s,_.s=1,P=U(D,_,0,3),_.s=G,P.s*=G):P=U(D,_,0,F),_=D.minus(P.times(_)),!_.c[0]&&F==1&&(_.s=D.s),_)},s.multipliedBy=s.times=function(_,x){var P,G,D,M,K,L,H,z,q,Q,ae,oe,fe,me,Oe,ve=this,de=ve.c,Pe=(_=new B(_,x)).c;if(!de||!Pe||!de[0]||!Pe[0])return!ve.s||!_.s||de&&!de[0]&&!Pe||Pe&&!Pe[0]&&!de?_.c=_.e=_.s=null:(_.s*=ve.s,!de||!Pe?_.c=_.e=null:(_.c=[0],_.e=0)),_;for(G=T(ve.e/c)+T(_.e/c),_.s*=ve.s,H=de.length,Q=Pe.length,H<Q&&(fe=de,de=Pe,Pe=fe,D=H,H=Q,Q=D),D=H+Q,fe=[];D--;fe.push(0));for(me=u,Oe=b,D=Q;--D>=0;){for(P=0,ae=Pe[D]%Oe,oe=Pe[D]/Oe|0,K=H,M=D+K;M>D;)z=de[--K]%Oe,q=de[K]/Oe|0,L=oe*z+q*ae,z=ae*z+L%Oe*Oe+fe[M]+P,P=(z/me|0)+(L/Oe|0)+oe*q,fe[M--]=z%me;fe[M]=P}return P?++G:fe.splice(0,1),pe(_,fe,G)},s.negated=function(){var _=new B(this);return _.s=-_.s||null,_},s.plus=function(_,x){var P,G=this,D=G.s;if(_=new B(_,x),x=_.s,!D||!x)return new B(NaN);if(D!=x)return _.s=-x,G.minus(_);var M=G.e/c,K=_.e/c,L=G.c,H=_.c;if(!M||!K){if(!L||!H)return new B(D/0);if(!L[0]||!H[0])return H[0]?_:new B(L[0]?G:D*0)}if(M=T(M),K=T(K),L=L.slice(),D=M-K){for(D>0?(K=M,P=H):(D=-D,P=L),P.reverse();D--;P.push(0));P.reverse()}for(D=L.length,x=H.length,D-x<0&&(P=H,H=L,L=P,x=D),D=0;x;)D=(L[--x]=L[x]+H[x]+D)/u|0,L[x]=u===L[x]?0:L[x]%u;return D&&(L=[D].concat(L),++K),pe(_,L,K)},s.precision=s.sd=function(_,x){var P,G,D,M=this;if(_!=null&&_!==!!_)return d(_,1,O),x==null?x=w:d(x,0,8),ge(new B(M),_,x);if(!(P=M.c))return null;if(D=P.length-1,G=D*c+1,D=P[D]){for(;D%10==0;D/=10,G--);for(D=P[0];D>=10;D/=10,G++);}return _&&M.e+1>G&&(G=M.e+1),G},s.shiftedBy=function(_){return d(_,-9007199254740991,g),this.times("1e"+_)},s.squareRoot=s.sqrt=function(){var _,x,P,G,D,M=this,K=M.c,L=M.s,H=M.e,z=h+4,q=new B("0.5");if(L!==1||!K||!K[0])return new B(!L||L<0&&(!K||K[0])?NaN:K?M:1/0);if(L=Math.sqrt(+Ce(M)),L==0||L==1/0?(x=I(K),(x.length+H)%2==0&&(x+="0"),L=Math.sqrt(+x),H=T((H+1)/2)-(H<0||H%2),L==1/0?x="5e"+H:(x=L.toExponential(),x=x.slice(0,x.indexOf("e")+1)+H),P=new B(x)):P=new B(L+""),P.c[0]){for(H=P.e,L=H+z,L<3&&(L=0);;)if(D=P,P=q.times(D.plus(U(M,D,z,1))),I(D.c).slice(0,L)===(x=I(P.c)).slice(0,L))if(P.e<H&&--L,x=x.slice(L-3,L+1),x=="9999"||!G&&x=="4999"){if(!G&&(ge(D,D.e+h+2,0),D.times(D).eq(M))){P=D;break}z+=4,L+=4,G=1}else{(!+x||!+x.slice(1)&&x.charAt(0)=="5")&&(ge(P,P.e+h+2,1),_=!P.times(P).eq(M));break}}return ge(P,P.e+h+1,w,_)},s.toExponential=function(_,x){return _!=null&&(d(_,0,O),_++),ne(this,_,x,1)},s.toFixed=function(_,x){return _!=null&&(d(_,0,O),_=_+this.e+1),ne(this,_,x)},s.toFormat=function(_,x,P){var G,D=this;if(P==null)_!=null&&x&&typeof x=="object"?(P=x,x=null):_&&typeof _=="object"?(P=_,_=x=null):P=V;else if(typeof P!="object")throw Error(o+"Argument not an object: "+P);if(G=D.toFixed(_,x),D.c){var M,K=G.split("."),L=+P.groupSize,H=+P.secondaryGroupSize,z=P.groupSeparator||"",q=K[0],Q=K[1],ae=D.s<0,oe=ae?q.slice(1):q,fe=oe.length;if(H&&(M=L,L=H,H=M,fe-=M),L>0&&fe>0){for(M=fe%L||L,q=oe.substr(0,M);M<fe;M+=L)q+=z+oe.substr(M,L);H>0&&(q+=z+oe.slice(M)),ae&&(q="-"+q)}G=Q?q+(P.decimalSeparator||"")+((H=+P.fractionGroupSize)?Q.replace(new RegExp("\\d{"+H+"}\\B","g"),"$&"+(P.fractionGroupSeparator||"")):Q):q}return(P.prefix||"")+G+(P.suffix||"")},s.toFraction=function(_){var x,P,G,D,M,K,L,H,z,q,Q,ae,oe=this,fe=oe.c;if(_!=null&&(L=new B(_),!L.isInteger()&&(L.c||L.s!==1)||L.lt(v)))throw Error(o+"Argument "+(L.isInteger()?"out of range: ":"not an integer: ")+Ce(L));if(!fe)return new B(oe);for(x=new B(v),z=P=new B(v),G=H=new B(v),ae=I(fe),M=x.e=ae.length-oe.e-1,x.c[0]=E[(K=M%c)<0?c+K:K],_=!_||L.comparedTo(x)>0?M>0?x:z:L,K=S,S=1/0,L=new B(ae),H.c[0]=0;q=U(L,x,0,1),D=P.plus(q.times(G)),D.comparedTo(_)!=1;)P=G,G=D,z=H.plus(q.times(D=z)),H=D,x=L.minus(q.times(D=x)),L=D;return D=U(_.minus(P),G,0,1),H=H.plus(D.times(z)),P=P.plus(D.times(G)),H.s=z.s=oe.s,M=M*2,Q=U(z,G,M,w).minus(oe).abs().comparedTo(U(H,P,M,w).minus(oe).abs())<1?[z,G]:[H,P],S=K,Q},s.toNumber=function(){return+Ce(this)},s.toPrecision=function(_,x){return _!=null&&d(_,1,O),ne(this,_,x,2)},s.toString=function(_){var x,P=this,G=P.s,D=P.e;return D===null?G?(x="Infinity",G<0&&(x="-"+x)):x="NaN":(_==null?x=D<=A||D>=p?k(I(P.c),D):W(I(P.c),D,"0"):_===10&&Y?(P=ge(new B(P),h+D+1,w),x=W(I(P.c),P.e,"0")):(d(_,2,X.length,"Base"),x=f(W(I(P.c),D,"0"),10,_,G,!0)),G<0&&P.c[0]&&(x="-"+x)),x},s.valueOf=s.toJSON=function(){return Ce(this)},s._isBigNumber=!0,j!=null&&B.set(j),B}
vendor: 4,755 bytes, lines 4-11
4function T(j){var U=j|0;return j>0||j===U?U:U-1}function I(j){for(var U,f,m=1,s=j.length,v=j[0]+"";m<s;){for(U=j[m++]+"",f=c-U.length;f--;U="0"+U);v+=U}for(s=v.length;v.charCodeAt(--s)===48;);return v.slice(0,s+1||1)}function C(j,U){var f,m,s=j.c,v=U.c,h=j.s,w=U.s,A=j.e,p=U.e;if(!h||!w)return null;if(f=s&&!s[0],m=v&&!v[0],f||m)return f?m?0:-w:h;if(h!=w)return h;if(f=h<0,m=A==p,!s||!v)return m?0:!s^f?1:-1;if(!m)return A>p^f?1:-1;for(w=(A=s.length)<(p=v.length)?A:p,h=0;h<w;h++)if(s[h]!=v[h])return s[h]>v[h]^f?1:-1;return A==p?0:A>p^f?1:-1}function d(j,U,f,m){if(j<U||j>f||j!==a(j))throw Error(o+(m||"Argument")+(typeof j=="number"?j<U||j>f?" out of range: ":" not an integer: ":" not a primitive number: ")+String(j))}function $(j){var U=j.c.length-1;return T(j.e/c)==U&&j.c[U]%2!=0}function k(j,U){return(j.length>1?j.charAt(0)+"."+j.slice(1):j)+(U<0?"e":"e+")+U}function W(j,U,f){var m,s;if(U<0){for(s=f+".";++U;s+=f);j=s+j}else if(m=j.length,++U>m){for(s=f,U-=m;--U;s+=f);j+=s}else U<m&&(j=j.slice(0,U)+"."+j.slice(U));return j}r=N(),r.default=r.BigNumber=r,e.exports?e.exports=r:(t||(t=typeof self!="undefined"&&self?self:window),t.BigNumber=r)})(we)})(Jc);var Zc=Jc.exports;(function(e){var t=Zc,r=e.exports;(function(){var n=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i,a,o={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;function u(g){return n.lastIndex=0,n.test(g)?'"'+g.replace(n,function(E){var b=o[E];return typeof b=="string"?b:"\\u"+("0000"+E.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+g+'"'}function c(g,E){var b,O,N,T,I=i,C,d=E[g],$=d!=null&&(d instanceof t||t.isBigNumber(d));switch(d&&typeof d=="object"&&typeof d.toJSON=="function"&&(d=d.toJSON(g)),typeof l=="function"&&(d=l.call(E,g,d)),typeof d){case"string":return $?d:u(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":case"bigint":return String(d);case"object":if(!d)return"null";if(i+=a,C=[],Object.prototype.toString.apply(d)==="[object Array]"){for(T=d.length,b=0;b<T;b+=1)C[b]=c(b,d)||"null";return N=C.length===0?"[]":i?`[ 5`+i+C.join(`, 6`+i)+` 7`+I+"]":"["+C.join(",")+"]",i=I,N}if(l&&typeof l=="object")for(T=l.length,b=0;b<T;b+=1)typeof l[b]=="string"&&(O=l[b],N=c(O,d),N&&C.push(u(O)+(i?": ":":")+N));else Object.keys(d).forEach(function(k){var W=c(k,d);W&&C.push(u(k)+(i?": ":":")+W)});return N=C.length===0?"{}":i?`{ 8`+i+C.join(`, 9`+i)+` 10`+I+"}":"{"+C.join(",")+"}",i=I,N}}typeof r.stringify!="function"&&(r.stringify=function(g,E,b){var O;if(i="",a="",typeof b=="number")for(O=0;O<b;O+=1)a+=" ";else typeof b=="string"&&(a=b);if(l=E,E&&typeof E!="function"&&(typeof E!="object"||typeof E.length!="number"))throw new Error("JSON.stringify");return c("",{"":g})})})()})(Qc);var vb=Qc.exports,Nn=null;const db=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,hb=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var pb=function(e){var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(e!=null){if(e.strict===!0&&(t.strict=!0),e.storeAsString===!0&&(t.storeAsString=!0),t.alwaysParseAsBig=e.alwaysParseAsBig===!0?e.alwaysParseAsBig:!1,t.useNativeBigInt=e.useNativeBigInt===!0?e.useNativeBigInt:!1,typeof e.constructorAction!="undefined")if(e.constructorAction==="error"||e.constructorAction==="ignore"||e.constructorAction==="preserve")t.constructorAction=e.constructorAction;else throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`);if(typeof e.protoAction!="undefined")if(e.protoAction==="error"||e.protoAction==="ignore"||e.protoAction==="preserve")t.protoAction=e.protoAction;else throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`)}var r,n,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` 11`,r:"\r",t:" "},a,o=function(T){throw{name:"SyntaxError",message:T,at:r,text:a}},l=function(T){return T&&T!==n&&o("Expected '"+T+"' instead of '"+n+"'"),n=a.charAt(r),r+=1,n},u=function(){var T,I="";for(n==="-"&&(I="-",l("-"));n>="0"&&n<="9";)I+=n,l();if(n===".")for(I+=".";l()&&n>="0"&&n<="9";)I+=n;if(n==="e"||n==="E")for(I+=n,l(),(n==="-"||n==="+")&&(I+=n,l());n>="0"&&n<="9";)I+=n,l();if(T=+I,!isFinite(T))o("Bad number");else return Nn==null&&(Nn=Zc),I.length>15?t.storeAsString?I:t.useNativeBigInt?BigInt(I):new Nn(I):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(T):new Nn(T):T},c=function(){var T,I,C="",d;
11if(n==='"')for(var $=r;l();){if(n==='"')return r-1>$&&(C+=a.substring($,r-1)),l(),C;if(n==="\\"){if(r-1>$&&(C+=a.substring($,r-1)),l(),n==="u"){for(d=0,I=0;I<4&&(T=parseInt(l(),16),!!isFinite(T));I+=1)d=d*16+T;C+=String.fromCharCode(d)}else if(typeof i[n]=="string")C+=i[n];else break;$=r}}o("Bad string")},g=function(){for(;n&&n<=" ";)l()},E=function(){switch(n){case"t":return l("t"),l("r"),l("u"),l("e"),!0;case"f":return l("f"),l("a"),l("l"),l("s"),l("e"),!1;case"n":return l("n"),l("u"),l("l"),l("l"),null}o("Unexpected '"+n+"'")},b,O=function(){var T=[];if(n==="["){if(l("["),g(),n==="]")return l("]"),T;for(;n;){if(T.push(b()),g(),n==="]")return l("]"),T;l(","),g()}}o("Bad array")},N=function(){var T,I=Object.create(null);if(n==="{"){if(l("{"),g(),n==="}")return l("}"),I;for(;n;){if(T=c(),g(),l(":"),t.strict===!0&&Object.hasOwnProperty.call(I,T)&&o('Duplicate key "'+T+'"'),db.test(T)===!0?t.protoAction==="error"?o("Object contains forbidden prototype property"):t.protoAction==="ignore"?b():I[T]=b():hb.test(T)===!0?t.constructorAction==="error"?o("Object contains forbidden constructor property"):t.constructorAction==="ignore"?b():I[T]=b():I[T]=b(),g(),n==="}")return l("}"),I;l(","),g()}}o("Bad object")};return b=function(){switch(g(),n){case"{":return N();case"[":return O();case'"':return c();case"-":return u();default:return n>="0"&&n<="9"?u():E()}},function(T,I){var C;return a=T+"",r=0,n=" ",C=b(),g(),n&&o("Syntax error"),typeof I=="function"?function d($,k){var W,j=$[k];return j&&typeof j=="object"&&Object.keys(j).forEach(function(U){W=d(j,U),W!==void 0?j[U]=W:delete j[U]}),I.call($,k,j)}({"":C},""):C}},gb=pb,ef=vb.stringify,tf=gb;Ei.exports=function(e){return{parse:tf(e),stringify:ef}};Ei.exports.parse=tf();Ei.exports.stringify=ef;var mb=Ei.exports;const PO=st(mb);var Do=typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function";function yb(e=60,t=!1){if(Do&&!t){let r=0,n=1e3/e;return i=>{let a=o=>{o>=r+n?(r=o,i(o)):window.requestAnimationFrame(a)};return window.requestAnimationFrame(a)}}else return r=>setTimeout(r,1e3/e)}var Ul=Do?requestAnimationFrame:yb(),wb=Do?cancelAnimationFrame:e=>{clearTimeout(e)},bb={quadratic:{fn:e=>e*(2-e)},circular:{fn:e=>Math.sqrt(1- --e*e)},back:{fn:e=>(--e,e*e*(5*e+4)+1)},bounce:{fn:e=>e<1/2.75?7.5625*e*e:e<2/2.75?(e-=1.5/2.75,7.5625*e*e+.75):e<2.5/2.75?(e-=2.25/2.75,7.5625*e*e+.9375):(e-=2.625/2.75,7.5625*e*e+.984375)},elastic:{fn:e=>{let t=.22;return e===0?0:e===1?1:.4*2**(-10*e)*Math.sin((e-t/4)*(2*Math.PI)/t)+1}},none:{fn:e=>e}},kO=class{constructor(t,r={}){Cr(this,"raf",Ul);Cr(this,"isAnimating",!1);Cr(this,"target");Cr(this,"rafId");this.raf=r.raf||Ul,this.target=t}getNow(){return+new Date}setTarget(t,r,{onComplete:n,onUpdate:i}){for(let o in this.target)Object.prototype.hasOwnProperty.call(this.target,o)&&(this.target[o]=t(o));let a={target:this.target,progress:r};r===1?(i(a),n==null||n(a)):i(a)}to(t,{duration:r,ease:n="none",onComplete:i,onUpdate:a,onEndNextRaf:o}){if(this.isAnimating)return this;let l=this.raf,u=this.getNow(),c=u+r,g=JSON.parse(JSON.stringify(this.target)),E=()=>{if(!this.isAnimating)return;let b=this.getNow();if(b<c){let O=(b-u)/r,N=bb[n].fn(O);this.setTarget(T=>(t[T]-g[T])*N+g[T],N,{onUpdate:a,onComplete:i}),this.isAnimating&&(this.rafId=l(E))}else this.isAnimating=!1,this.setTarget(O=>t[O],1,{onUpdate:a,onComplete:i}),o&&(this.rafId=l(()=>{o()}))};return this.isAnimating=!0,E(),this}kill(){return this.isAnimating=!1,this.rafId!=null&&(wb(this.rafId),this.rafId=void 0),this}};function BO(e){return{all:e=e||new Map,on:function(t,r){var n=e.get(t);n?n.push(r):e.set(t,[r])},off:function(t,r){var n=e.get(t);n&&(r?n.splice(n.indexOf(r)>>>0,1):e.set(t,[]))},emit:function(t,r){var n=e.get(t);n&&n.slice().map(function(i){i(r)}),(n=e.get("*"))&&n.slice().map(function(i){i(t,r)}
vendor: 21,294 bytes, line 11
11)}}}var rf={exports:{}};function Eb(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ya={exports:{}};const _b={},Ob=Object.freeze(Object.defineProperty({__proto__:null,default:_b},Symbol.toStringTag,{value:"Module"})),Sb=sv(Ob);var Hl;function Me(){return Hl||(Hl=1,function(e,t){(function(r,n){e.exports=n()})(we,function(){var r=r||function(n,i){var a;if(typeof window!="undefined"&&window.crypto&&(a=window.crypto),typeof self!="undefined"&&self.crypto&&(a=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window!="undefined"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof we!="undefined"&&we.crypto&&(a=we.crypto),!a&&typeof Eb=="function")try{a=Sb}catch(d){}var o=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch(d){}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch(d){}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function d(){}return function($){var k;return d.prototype=$,k=new d,d.prototype=null,k}}(),u={},c=u.lib={},g=c.Base=function(){return{extend:function(d){var $=l(this);return d&&$.mixIn(d),(!$.hasOwnProperty("init")||this.init===$.init)&&($.init=function(){$.$super.init.apply(this,arguments)}),$.init.prototype=$,$.$super=this,$},create:function(){var d=this.extend();return d.init.apply(d,arguments),d},init:function(){},mixIn:function(d){for(var $ in d)d.hasOwnProperty($)&&(this[$]=d[$]);d.hasOwnProperty("toString")&&(this.toString=d.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),E=c.WordArray=g.extend({init:function(d,$){d=this.words=d||[],$!=i?this.sigBytes=$:this.sigBytes=d.length*4},toString:function(d){return(d||O).stringify(this)},concat:function(d){var $=this.words,k=d.words,W=this.sigBytes,j=d.sigBytes;if(this.clamp(),W%4)for(var U=0;U<j;U++){var f=k[U>>>2]>>>24-U%4*8&255;$[W+U>>>2]|=f<<24-(W+U)%4*8}else for(var m=0;m<j;m+=4)$[W+m>>>2]=k[m>>>2];return this.sigBytes+=j,this},clamp:function(){var d=this.words,$=this.sigBytes;d[$>>>2]&=4294967295<<32-$%4*8,d.length=n.ceil($/4)},clone:function(){var d=g.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var $=[],k=0;k<d;k+=4)$.push(o());return new E.init($,d)}}),b=u.enc={},O=b.Hex={stringify:function(d){for(var $=d.words,k=d.sigBytes,W=[],j=0;j<k;j++){var U=$[j>>>2]>>>24-j%4*8&255;W.push((U>>>4).toString(16)),W.push((U&15).toString(16))}return W.join("")},parse:function(d){for(var $=d.length,k=[],W=0;W<$;W+=2)k[W>>>3]|=parseInt(d.substr(W,2),16)<<24-W%8*4;return new E.init(k,$/2)}},N=b.Latin1={stringify:function(d){for(var $=d.words,k=d.sigBytes,W=[],j=0;j<k;j++){var U=$[j>>>2]>>>24-j%4*8&255;W.push(String.fromCharCode(U))}return W.join("")},parse:function(d){for(var $=d.length,k=[],W=0;W<$;W++)k[W>>>2]|=(d.charCodeAt(W)&255)<<24-W%4*8;return new E.init(k,$)}},T=b.Utf8={stringify:function(d){try{return decodeURIComponent(escape(N.stringify(d)))}catch($){throw new Error("Malformed UTF-8 data")}},parse:function(d){return N.parse(unescape(encodeURIComponent(d)))}},I=c.BufferedBlockAlgorithm=g.extend({reset:function(){this._data=new E.init,this._nDataBytes=0},_append:function(d){typeof d=="string"&&(d=T.parse(d)),this._data.concat(d),this._nDataBytes+=d.sigBytes},_process:function(d){var $,k=this._data,W=k.words,j=k.sigBytes,U=this.blockSize,f=U*4,m=j/f;d?m=n.ceil(m):m=n.max((m|0)-this._minBufferSize,0);var s=m*U,v=n.min(s*4,j);if(s){for(var h=0;h<s;h+=U)this._doProcessBlock(W,h);$=W.splice(0,s),k.sigBytes-=v}return new E.init($,v)},clone:function(){var d=g.clone.call(this);return d._data=this._data.clone(),d},_minBufferSize:0});c.Hasher=I.extend({cfg:g.extend(),init:function(d){this.cfg=this.cfg.extend(d),this.reset()},reset:function(){I.reset.call(this),this._doReset()},update:function(d){return this._append(d),this._process(),this},finalize:function(d){d&&this._append(d);var $=this._doFinalize();return $},blockSize:16,_createHelper:function(d){return function($,k){return new d.init(k).finalize($)}},_createHmacHelper:function(d){return function($,k){return new C.HMAC.init(d,k).finalize($)}}});var C=u.algo={};return u}(Math);return r})}(ya)),ya.exports}var wa={exports:{}},Gl;function nf(){return Gl||(Gl=1,function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=n.enc;o.Base64={stringify:function(u){var c=u.words,g=u.sigBytes,E=this._map;u.clamp();for(var b=[],O=0;O<g;O+=3)for(var N=c[O>>>2]>>>24-O%4*8&255,T=c[O+1>>>2]>>>24-(O+1)%4*8&255,I=c[O+2>>>2]>>>24-(O+2)%4*8&255,C=N<<16|T<<8|I,d=0;d<4&&O+d*.75<g;d++)b.push(E.charAt(C>>>6*(3-d)&63));var $=E.charAt(64);if($)for(;b.length%4;)b.push($);return b.join("")},parse:function(u){var c=u.length,g=this._map,E=this._reverseMap;if(!E){E=this._reverseMap=[];for(var b=0;b<g.length;b++)E[g.charCodeAt(b)]=b}var O=g.charAt(64);if(O){var N=u.indexOf(O);N!==-1&&(c=N)}return l(u,c,E)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(u,c,g){for(var E=[],b=0,O=0;O<c;O++)if(O%4){var N=g[u.charCodeAt(O-1)]<<O%4*2,T=g[u.charCodeAt(O)]>>>6-O%4*2,I=N|T;E[b>>>2]|=I<<24-b%4*8,b++}return a.create(E,b)}}(),r.enc.Base64})}(wa)),wa.exports}var ba={exports:{}},Wl;function af(){return Wl||(Wl=1,function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){return function(n){var i=r,a=i.lib,o=a.WordArray,l=a.Hasher,u=i.algo,c=[];(function(){for(var T=0;T<64;T++)c[T]=n.abs(n.sin(T+1))*4294967296|0})();var g=u.MD5=l.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(T,I){for(var C=0;C<16;C++){var d=I+C,$=T[d];T[d]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360}var k=this._hash.words,W=T[I+0],j=T[I+1],U=T[I+2],f=T[I+3],m=T[I+4],s=T[I+5],v=T[I+6],h=T[I+7],w=T[I+8],A=T[I+9],p=T[I+10],y=T[I+11],S=T[I+12],R=T[I+13],F=T[I+14],J=T[I+15],V=k[0],X=k[1],Y=k[2],B=k[3];V=E(V,X,Y,B,W,7,c[0]),B=E(B,V,X,Y,j,12,c[1]),Y=E(Y,B,V,X,U,17,c[2]),X=E(X,Y,B,V,f,22,c[3]),V=E(V,X,Y,B,m,7,c[4]),B=E(B,V,X,Y,s,12,c[5]),Y=E(Y,B,V,X,v,17,c[6]),X=E(X,Y,B,V,h,22,c[7]),V=E(V,X,Y,B,w,7,c[8]),B=E(B,V,X,Y,A,12,c[9]),Y=E(Y,B,V,X,p,17,c[10]),X=E(X,Y,B,V,y,22,c[11]),V=E(V,X,Y,B,S,7,c[12]),B=E(B,V,X,Y,R,12,c[13]),Y=E(Y,B,V,X,F,17,c[14]),X=E(X,Y,B,V,J,22,c[15]),V=b(V,X,Y,B,j,5,c[16]),B=b(B,V,X,Y,v,9,c[17]),Y=b(Y,B,V,X,y,14,c[18]),X=b(X,Y,B,V,W,20,c[19]),V=b(V,X,Y,B,s,5,c[20]),B=b(B,V,X,Y,p,9,c[21]),Y=b(Y,B,V,X,J,14,c[22]),X=b(X,Y,B,V,m,20,c[23]),V=b(V,X,Y,B,A,5,c[24]),B=b(B,V,X,Y,F,9,c[25]),Y=b(Y,B,V,X,f,14,c[26]),X=b(X,Y,B,V,w,20,c[27]),V=b(V,X,Y,B,R,5,c[28]),B=b(B,V,X,Y,U,9,c[29]),Y=b(Y,B,V,X,h,14,c[30]),X=b(X,Y,B,V,S,20,c[31]),V=O(V,X,Y,B,s,4,c[32]),B=O(B,V,X,Y,w,11,c[33]),Y=O(Y,B,V,X,y,16,c[34]),X=O(X,Y,B,V,F,23,c[35]),V=O(V,X,Y,B,j,4,c[36]),B=O(B,V,X,Y,m,11,c[37]),Y=O(Y,B,V,X,h,16,c[38]),X=O(X,Y,B,V,p,23,c[39]),V=O(V,X,Y,B,R,4,c[40]),B=O(B,V,X,Y,W,11,c[41]),Y=O(Y,B,V,X,f,16,c[42]),X=O(X,Y,B,V,v,23,c[43]),V=O(V,X,Y,B,A,4,c[44]),B=O(B,V,X,Y,S,11,c[45]),Y=O(Y,B,V,X,J,16,c[46]),X=O(X,Y,B,V,U,23,c[47]),V=N(V,X,Y,B,W,6,c[48]),B=N(B,V,X,Y,h,10,c[49]),Y=N(Y,B,V,X,F,15,c[50]),X=N(X,Y,B,V,s,21,c[51]),V=N(V,X,Y,B,S,6,c[52]),B=N(B,V,X,Y,f,10,c[53]),Y=N(Y,B,V,X,p,15,c[54]),X=N(X,Y,B,V,j,21,c[55]),V=N(V,X,Y,B,w,6,c[56]),B=N(B,V,X,Y,J,10,c[57]),Y=N(Y,B,V,X,v,15,c[58]),X=N(X,Y,B,V,R,21,c[59]),V=N(V,X,Y,B,m,6,c[60]),B=N(B,V,X,Y,y,10,c[61]),Y=N(Y,B,V,X,U,15,c[62]),X=N(X,Y,B,V,A,21,c[63]),k[0]=k[0]+V|0,k[1]=k[1]+X|0,k[2]=k[2]+Y|0,k[3]=k[3]+B|0},_doFinalize:function(){var T=this._data,I=T.words,C=this._nDataBytes*8,d=T.sigBytes*8;I[d>>>5]|=128<<24-d%32;var $=n.floor(C/4294967296),k=C;I[(d+64>>>9<<4)+15]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360,I[(d+64>>>9<<4)+14]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,T.sigBytes=(I.length+1)*4,this._process();for(var W=this._hash,j=W.words,U=0;U<4;U++){var f=j[U];j[U]=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360}return W},clone:function(){var T=l.clone.call(this);return T._hash=this._hash.clone(),T}});function E(T,I,C,d,$,k,W){var j=T+(I&C|~I&d)+$+W;return(j<<k|j>>>32-k)+I}function b(T,I,C,d,$,k,W){var j=T+(I&d|C&~d)+$+W;return(j<<k|j>>>32-k)+I}function O(T,I,C,d,$,k,W){var j=T+(I^C^d)+$+W;return(j<<k|j>>>32-k)+I}function N(T,I,C,d,$,k,W){var j=T+(C^(I|~d))+$+W;return(j<<k|j>>>32-k)+I}i.MD5=l._createHelper(g),i.HmacMD5=l._createHmacHelper(g)}(Math),r.MD5})}(ba)),ba.exports}var Ea={exports:{}},_a={exports:{}},Vl;function Ab(){return Vl||(Vl=1,function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=i.Hasher,l=n.algo,u=[],c=l.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(g,E){for(var b=this._hash.words,O=b[0],N=b[1],T=b[2],I=b[3],C=b[4],d=0;d<80;d++){if(d<16)u[d]=g[E+d]|0;else{var $=u[d-3]^u[d-8]^u[d-14]^u[d-16];u[d]=$<<1|$>>>31}var k=(O<<5|O>>>27)+C+u[d];d<20?k+=(N&T|~N&I)+1518500249:d<40?k+=(N^T^I)+1859775393:d<60?k+=(N&T|N&I|T&I)-1894007588:k+=(N^T^I)-899497514,C=I,I=T,T=N<<30|N>>>2,N=O,O=k}b[0]=b[0]+O|0,b[1]=b[1]+N|0,b[2]=b[2]+T|0,b[3]=b[3]+I|0,b[4]=b[4]+C|0},_doFinalize:function(){var g=this._data,E=g.words,b=this._nDataBytes*8,O=g.sigBytes*8;return E[O>>>5]|=128<<24-O%32,E[(O+64>>>9<<4)+14]=Math.floor(b/4294967296),E[(O+64>>>9<<4)+15]=b,g.sigBytes=E.length*4,this._process(),this._hash},clone:function(){var g=o.clone.call(this);return g._hash=this._hash.clone(),g}});n.SHA1=o._createHelper(c),n.HmacSHA1=o._createHmacHelper(c)}(),r.SHA1})}(_a)),_a.exports}var Oa={exports:{}},ql;function xb(){return ql||(ql=1,function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){(function(){var n=r,i=n.lib,a=i.Base,o=n.enc,l=o.Utf8,u=n.algo;u.HMAC=a.extend({init:function(c,g){c=this._hasher=new c.init,typeof g=="string"&&(g=l.parse(g));var E=c.blockSize,b=E*4;g.sigBytes>b&&(g=c.finalize(g)),g.clamp();for(var O=this._oKey=g.clone(),N=this._iKey=g.clone(),T=O.words,I=N.words,C=0;C<E;C++)T[C]^=1549556828,I[C]^=909522486;O.sigBytes=N.sigBytes=b,this.reset()},reset:function(){var c=this._hasher;c.reset(),c.update(this._iKey)},update:function(c){return this._hasher.update(c),this},finalize:function(c){var g=this._hasher,E=g.finalize(c);g.reset();var b=g.finalize(this._oKey.clone().concat(E));return b}})})()})}(Oa)),Oa.exports}var zl;function of(){return zl||(zl=1,function(e,t){(function(r,n,i){e.exports=n(Me(),Ab(),xb())})(we,function(r){return function(){var n=r,i=n.lib,a=i.Base,o=i.WordArray,l=n.algo,u=l.MD5,c=l.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:1}),init:function(g){this.cfg=this.cfg.extend(g)},compute:function(g,E){for(var b,O=this.cfg,N=O.hasher.create(),T=o.create(),I=T.words,C=O.keySize,d=O.iterations;I.length<C;){b&&N.update(b),b=N.update(g).finalize(E),N.reset();for(var $=1;$<d;$++)b=N.finalize(b),N.reset();T.concat(b)}return T.sigBytes=C*4,T}});n.EvpKDF=function(g,E,b){return c.create(b).compute(g,E)}}(),r.EvpKDF})}(Ea)),Ea.exports}var Sa={exports:{}},Kl;function _i(){return Kl||(Kl=1,function(e,t){(function(r,n,i){e.exports=n(Me(),of())})(we,function(r){r.lib.Cipher||function(n){var i=r,a=i.lib,o=a.Base,l=a.WordArray,u=a.BufferedBlockAlgorithm,c=i.enc;c.Utf8;var g=c.Base64,E=i.algo,b=E.EvpKDF,O=a.Cipher=u.extend({cfg:o.extend(),createEncryptor:function(s,v){return this.create(this._ENC_XFORM_MODE,s,v)},createDecryptor:function(s,v){return this.create(this._DEC_XFORM_MODE,s,v)},init:function(s,v,h){this.cfg=this.cfg.extend(h),this._xformMode=s,this._key=v,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(s){return this._append(s),this._process()},finalize:function(s){s&&this._append(s);var v=this._doFinalize();return v},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function s(v){return typeof v=="string"?m:j}return function(v){return{encrypt:function(h,w,A){return s(w).encrypt(v,h,w,A)},decrypt:function(h,w,A){return s(w).decrypt(v,h,w,A)}}}}()});a.StreamCipher=O.extend({_doFinalize:function(){var s=this._process(!0);return s},blockSize:1});var N=i.mode={},T=a.BlockCipherMode=o.extend({createEncryptor:function(s,v){return this.Encryptor.create(s,v)},createDecryptor:function(s,v){return this.Decryptor.create(s,v)},init:function(s,v){this._cipher=s,this._iv=v}}),I=N.CBC=function(){var s=T.extend();s.Encryptor=s.extend({processBlock:function(h,w){var A=this._cipher,p=A.blockSize;v.call(this,h,w,p),A.encryptBlock(h,w),this._prevBlock=h.slice(w,w+p)}}),s.Decryptor=s.extend({processBlock:function(h,w){var A=this._cipher,p=A.blockSize,y=h.slice(w,w+p);A.decryptBlock(h,w),v.call(this,h,w,p),this._prevBlock=y}});function v(h,w,A){var p,y=this._iv;y?(p=y,this._iv=n):p=this._prevBlock;for(var S=0;S<A;S++)h[w+S]^=p[S]}return s}(),C=i.pad={},d=C.Pkcs7={pad:function(s,v){for(var h=v*4,w=h-s.sigBytes%h,A=w<<24|w<<16|w<<8|w,p=[],y=0;y<w;y+=4)p.push(A);var S=l.create(p,w);s.concat(S)},unpad:function(s){var v=s.words[s.sigBytes-1>>>2]&255;s.sigBytes-=v}};a.BlockCipher=O.extend({cfg:O.cfg.extend({mode:I,padding:d}),reset:function(){var s;O.reset.call(this);var v=this.cfg,h=v.iv,w=v.mode;this._xformMode==this._ENC_XFORM_MODE?s=w.createEncryptor:(s=w.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==s?this._mode.init(this,h&&h.words):(this._mode=s.call(w,this,h&&h.words),this._mode.__creator=s)},_doProcessBlock:function(s,v){this._mode.processBlock(s,v)},_doFinalize:function(){var s,v=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(v.pad(this._data,this.blockSize),s=this._process(!0)):(s=this._process(!0),v.unpad(s)),s},blockSize:128/32});var $=a.CipherParams=o.extend({init:function(s){this.mixIn(s)},toString:function(s){return(s||this.formatter).stringify(this)}}),k=i.format={},W=k.OpenSSL={stringify:function(s){var v,h=s.ciphertext,w=s.salt;return w?v=l.create([1398893684,1701076831]).concat(w).concat(h):v=h,v.toString(g)},parse:function(s){var v,h=g.parse(s),w=h.words;return w[0]==1398893684&&w[1]==1701076831&&(v=l.create(w.slice(2,4)),w.splice(0,4),h.sigBytes-=16),$.create({ciphertext:h,salt:v})}},j=a.SerializableCipher=o.extend({cfg:o.extend({format:W}),encrypt:function(s,v,h,w){w=this.cfg.extend(w);var A=s.createEncryptor(h,w),p=A.finalize(v),y=A.cfg;return $.create({ciphertext:p,key:h,iv:y.iv,algorithm:s,mode:y.mode,padding:y.padding,blockSize:s.blockSize,formatter:w.format})},decrypt:function(s,v,h,w){w=this.cfg.extend(w),v=this._parse(v,w.format);var A=s.createDecryptor(h,w).finalize(v.ciphertext);return A},_parse:function(s,v){return typeof s=="string"?v.parse(s,this):s}}),U=i.kdf={},f=U.OpenSSL={execute:function(s,v,h,w,A){if(w||(w=l.random(64/8)),A)var p=b.create({keySize:v+h,hasher:A}).compute(s,w);else var p=b.create({keySize:v+h}).compute(s,w);var y=l.create(p.words.slice(v),h*4);return p.sigBytes=v*4,$.create({key:p,iv:y,salt:w})}},m=a.PasswordBasedCipher=j.extend({cfg:j.cfg.extend({kdf:f}),encrypt:function(s,v,h,w){w=this.cfg.extend(w);var A=w.kdf.execute(h,s.keySize,s.ivSize,w.salt,w.hasher);w.iv=A.iv;var p=j.encrypt.call(this,s,v,A.key,w);return p.mixIn(A),p},decrypt:function(s,v,h,w){w=this.cfg.extend(w),v=this._parse(v,w.format);var A=w.kdf.execute(h,s.keySize,s.ivSize,v.salt,w.hasher);w.iv=A.iv;var p=j.decrypt.call(this,s,v,A.key,w);return p}})}()})}(Sa)),Sa.exports}(function(e,t){(function(r,n,i){e.exports=n(Me(),nf(),af(),of(),_i())})(we,function(r){return function(){var n=r,i=n.lib,a=i.BlockCipher,o=n.algo,l=[],u=[],c=[],g=[],E=[],b=[],O=[],N=[],T=[],I=[];(function(){for(var $=[],k=0;k<256;k++)k<128?$[k]=k<<1:$[k]=k<<1^283;for(var W=0,j=0,k=0;k<256;k++){var U=j^j<<1^j<<2^j<<3^j<<4;U=U>>>8^U&255^99,l[W]=U,u[U]=W;var f=$[W],m=$[f],s=$[m],v=$[U]*257^U*16843008;c[W]=v<<24|v>>>8,g[W]=v<<16|v>>>16,E[W]=v<<8|v>>>24,b[W]=v;var v=s*16843009^m*65537^f*257^W*16843008;O[U]=v<<24|v>>>8,N[U]=v<<16|v>>>16,T[U]=v<<8|v>>>24,I[U]=v,W?(W=f^$[$[$[s^f]]],j^=$[$[j]]):W=j=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],d=o.AES=a.extend({_doReset:function(){var $;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var k=this._keyPriorReset=this._key,W=k.words,j=k.sigBytes/4,U=this._nRounds=j+6,f=(U+1)*4,m=this._keySchedule=[],s=0;s<f;s++)s<j?m[s]=W[s]:($=m[s-1],s%j?j>6&&s%j==4&&($=l[$>>>24]<<24|l[$>>>16&255]<<16|l[$>>>8&255]<<8|l[$&255]):($=$<<8|$>>>24,$=l[$>>>24]<<24|l[$>>>16&255]<<16|l[$>>>8&255]<<8|l[$&255],$^=C[s/j|0]<<24),m[s]=m[s-j]^$);for(var v=this._invKeySchedule=[],h=0;h<f;h++){var s=f-h;if(h%4)var $=m[s];else var $=m[s-4];h<4||s<=4?v[h]=$:v[h]=O[l[$>>>24]]^N[l[$>>>16&255]]^T[l[$>>>8&255]]^I[l[$&255]]}}},encryptBlock:function($,k){this._doCryptBlock($,k,this._keySchedule,c,g,E,b,l)},decryptBlock:function($,k){var W=$[k+1];$[k+1]=$[k+3],$[k+3]=W,this._doCryptBlock($,k,this._invKeySchedule,O,N,T,I,u);var W=$[k+1];$[k+1]=$[k+3],$[k+3]=W},_doCryptBlock:function($,k,W,j,U,f,m,s){for(var v=this._nRounds,h=$[k]^W[0],w=$[k+1]^W[1],A=$[k+2]^W[2],p=$[k+3]^W[3],y=4,S=1;S<v;S++){var R=j[h>>>24]^U[w>>>16&255]^f[A>>>8&255]^m[p&255]^W[y++],F=j[w>>>24]^U[A>>>16&255]^f[p>>>8&255]^m[h&255]^W[y++],J=j[A>>>24]^U[p>>>16&255]^f[h>>>8&255]^m[w&255]^W[y++],V=j[p>>>24]^U[h>>>16&255]^f[w>>>8&255]^m[A&255]^W[y++];h=R,w=F,A=J,p=V}var R=(s[h>>>24]<<24|s[w>>>16&255]<<16|s[A>>>8&255]<<8|s[p&255])^W[y++],F=(s[w>>>24]<<24|s[A>>>16&255]<<16|s[p>>>8&255]<<8|s[h&255])^W[y++],J=(s[A>>>24]<<24|s[p>>>16&255]<<16|s[h>>>8&255]<<8|s[w&255])^W[y++],V=(s[p>>>24]<<24|s[h>>>16&255]<<16|s[w>>>8&255]<<8|s[A&255])^W[y++];$[k]=R,$[k+1]=F,$[k+2]=J,$[k+3]=V},keySize:256/32});n.AES=a._createHelper(d)}(),r.AES})})(rf);var $b=rf.exports;const DO=st($b);var Tb=Me();const FO=st(Tb);var Ib=nf();const LO=st(Ib);var sf={exports:{}};(function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){return r.enc.Latin1})})(sf);var Cb=sf.exports;const MO=st(Cb);var lf={exports:{}};(function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){return r.enc.Utf8})})(lf);var Rb=lf.exports;const jO=st(Rb);var Pb=af();const UO=st(Pb);var uf={exports:{}};(function(e,t){(function(r,n,i){e.exports=n(Me(),_i())})(we,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),n.Decryptor=n.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),n}(),r.mode.ECB})})(uf);var kb=uf.exports;const HO=st(kb);var cf={exports:{}};(function(e,t){(function(r,n,i){e.exports=n(Me(),_i())})(we,function(r){return r.pad.Pkcs7})})(cf);var Nb=cf.exports;const GO=st(Nb);var ff={exports:{}};(function(e,t){(function(r,n,i){e.exports=n(Me(),_i())})(we,function(r){return r.pad.ZeroPadding={pad:function(n,i){var a=i*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var i=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})})(ff);var Bb=ff.exports;const WO=st(Bb);var vf={exports:{}};(function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){return function(n){var i=r,a=i.lib,o=a.WordArray,l=a.Hasher,u=i.algo,c=[],g=[];(function(){function O(C){for(var d=n.sqrt(C),$=2;$<=d;$++)if(!(C%$))return!1;return!0}function N(C){return(C-(C|0))*4294967296|0}for(var T=2,I=0;I<64;)O(T)&&(I<8&&(c[I]=N(n.pow(T,1/2))),g[I]=N(n.pow(T,1/3)),I++),T++})();var E=[],b=u.SHA256=l.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(O,N){for(var T=this._hash.words,I=T[0],C=T[1],d=T[2],$=T[3],k=T[4],W=T[5],j=T[6],U=T[7],f=0;f<64;f++){if(f<16)E[f]=O[N+f]|0;else{var m=E[f-15],s=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,v=E[f-2],h=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;E[f]=s+E[f-7]+h+E[f-16]}var w=k&W^~k&j,A=I&C^I&d^C&d,p=(I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22),y=(k<<26|k>>>6)^(k<<21|k>>>11)^(k<<7|k>>>25),S=U+y+w+g[f]+E[f],R=p+A;U=j,j=W,W=k,k=$+S|0,$=d,d=C,C=I,I=S+R|0}T[0]=T[0]+I|0,T[1]=T[1]+C|0,T[2]=T[2]+d|0,T[3]=T[3]+$|0,T[4]=T[4]+k|0,T[5]=T[5]+W|0,T[6]=T[6]+j|0,T[7]=T[7]+U|0},_doFinalize:function(){var O=this._data,N=O.words,T=this._nDataBytes*8,I=O.sigBytes*8;return N[I>>>5]|=128<<24-I%32,N[(I+64>>>9<<4)+14]=n.floor(T/4294967296),N[(I+64>>>9<<4)+15]=T,O.sigBytes=N.length*4,this._process(),this._hash},clone:function(){var O=l.clone.call(this);return O._hash=this._hash.clone(),O}});i.SHA256=l._createHelper(b),i.HmacSHA256=l._createHmacHelper(b)}(Math),r.SHA256})})(vf);var Db=vf.exports;const VO=st(Db);var Fb={exports:{}};(function(e,t){(function(r,n){e.exports=n(Me())})(we,function(r){return function(){if(typeof ArrayBuffer=="function"){var n=r,i=n.lib,a=i.WordArray,o=a.init,l=a.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var c=u.byteLength,g=[],E=0;E<c;E++)g[E>>>2]|=u[E]<<24-E%4*8;o.call(this,g,c)}else o.apply(this,arguments)};l.prototype=a}}(),r.lib.WordArray})})(Fb);
11function Lb(e,t){let r,n,i;const a=le(!0),o=()=>{a.value=!0,i()};Ge(e,o,{flush:"sync"});const l=typeof t=="function"?t:t.get,u=typeof t=="function"?void 0:t.set,c=ev((g,E)=>(n=g,i=E,{get(){return a.value&&(r=l(),a.value=!1),n(),r},set(b){u==null||u(b)}}));return Object.isExtensible(c)&&(c.trigger=o),c}function vt(e){return Qf()?(Jf(e),!0):!1}function qO(e){let t=0,r,n;const i=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return(...a)=>(t+=1,r||(n=Yf(!0),r=n.run(()=>e(...a))),vt(i),r)}function ye(e){return typeof e=="function"?e():vu(e)}const ar=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const zO=e=>typeof e!="undefined",df=e=>e!=null,Mb=Object.prototype.toString,jb=e=>Mb.call(e)==="[object Object]",Xl=()=>+Date.now(),Xe=()=>{},Ub=Hb();function Hb(){var e,t;return ar&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Fo(e,t){function r(...n){return new Promise((i,a)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(a)})}return r}const hf=e=>e();function pf(e,t={}){let r,n,i=Xe;const a=l=>{clearTimeout(l),i(),i=Xe};return l=>{const u=ye(e),c=ye(t.maxWait);return r&&a(r),u<=0||c!==void 0&&c<=0?(n&&(a(n),n=null),Promise.resolve(l())):new Promise((g,E)=>{i=t.rejectOnCancel?E:g,c&&!n&&(n=setTimeout(()=>{r&&a(r),n=null,g(l())},c)),r=setTimeout(()=>{n&&a(n),n=null,g(l())},u)})}}function gf(...e){let t=0,r,n=!0,i=Xe,a,o,l,u,c;!ii(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[o,l=!0,u=!0,c=!1]=e;const g=()=>{r&&(clearTimeout(r),r=void 0,i(),i=Xe)};return b=>{const O=ye(o),N=Date.now()-t,T=()=>a=b();return g(),O<=0?(t=Date.now(),T()):(N>O&&(u||!n)?(t=Date.now(),T()):l&&(a=new Promise((I,C)=>{i=c?C:I,r=setTimeout(()=>{t=Date.now(),n=!0,I(T()),g()},Math.max(0,O-N))})),!u&&!r&&(r=setTimeout(()=>n=!0,O)),n=!1,a)}}function Gb(e=hf){const t=le(!0);function r(){t.value=!1}function n(){t.value=!0}const i=(...a)=>{t.value&&e(...a)};return{isActive:io(t),pause:r,resume:n,eventFilter:i}}function Yl(e,t=!1,r="Timeout"){return new Promise((n,i)=>{setTimeout(t?()=>i(r):n,e)})}function Wb(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{const n=t;t=void 0,n&&await n},r}function Vb(e){return tn()}function mf(e,t=200,r={}){return Fo(pf(t,r),e)}function KO(e,t=200,r={}){const n=le(e.value),i=mf(()=>{n.value=e.value},t,r);return Ge(e,()=>i()),n}function qb(e,t=200,r=!1,n=!0,i=!1){return Fo(gf(t,r,n,i),e)}function Lo(e,t,r={}){const{eventFilter:n=hf,...i}=r;return Ge(e,Fo(n,t),i)}function zb(e,t,r={}){const{eventFilter:n,...i}=r,{eventFilter:a,pause:o,resume:l,isActive:u}=Gb(n);return{stop:Lo(e,t,{...i,eventFilter:a}),pause:o,resume:l,isActive:u}}function fn(e,t=!0,r){Vb()?ai(e,r):t?e():Zf(e)}function Ja(e,t=!1){function r(E,{flush:b="sync",deep:O=!1,timeout:N,throwOnTimeout:T}={}){let I=null;const d=[new Promise($=>{I=Ge(e,k=>{E(k)!==t&&(I==null||I(),$(k))},{flush:b,deep:O,immediate:!0})})];return N!=null&&d.push(Yl(N,T).then(()=>ye(e)).finally(()=>I==null?void 0:I())),Promise.race(d)}function n(E,b){if(!ii(E))return r(k=>k===E,b);const{flush:O="sync",deep:N=!1,timeout:T,throwOnTimeout:I}=b!=null?b:{};let C=null;const $=[new Promise(k=>{C=Ge([e,E],([W,j])=>{t!==(W===j)&&(C==null||C(),k(W))},{flush:O,deep:N,immediate:!0})})];return T!=null&&$.push(Yl(T,I).then(()=>ye(e)).finally(()=>(C==null||C(),ye(e)))),Promise.race($)}function i(E){return r(b=>!!b,E)}function a(E){return n(null,E)}function o(E){return n(void 0,E)}function l(E){return r(Number.isNaN,E)}function u(E,b){return r(O=>{const N=Array.from(O);return N.includes(E)||N.includes(ye(E))},b)}function c(E){return g(1,E)}function g(E=1,b){let O=-1;return r(()=>(O+=1,O>=E),b)}return Array.isArray(ye(e))?{toMatch:r,toContains:u,changed:c,changedTimes:g,get not(){return Ja(e,!t)}}:{toMatch:r,toBe:n,toBeTruthy:i,toBeNull:a,toBeNaN:l,toBeUndefined:o,changed:c,
11changedTimes:g,get not(){return Ja(e,!t)}}}function XO(e){return Ja(e)}function Kb(e,t=1e3,r={}){const{immediate:n=!0,immediateCallback:i=!1}=r;let a=null;const o=le(!1);function l(){a&&(clearInterval(a),a=null)}function u(){o.value=!1,l()}function c(){const g=ye(t);g<=0||(o.value=!0,i&&e(),l(),a=setInterval(e,g))}if(n&&ar&&c(),ii(t)||typeof t=="function"){const g=Ge(t,()=>{o.value&&ar&&c()});vt(g)}return vt(u),{isActive:o,pause:u,resume:c}}function Xb(e,t,r={}){const{immediate:n=!0}=r,i=le(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function l(){i.value=!1,o()}function u(...c){o(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,e(...c)},ye(t))}return n&&(i.value=!0,ar&&u()),vt(l),{isPending:io(i),start:u,stop:l}}function YO(e=!1,t={}){const{truthyValue:r=!0,falsyValue:n=!1}=t,i=ii(e),a=le(e);function o(l){if(arguments.length)return a.value=l,a.value;{const u=ye(r);return a.value=a.value===u?ye(n):u,a.value}}return i?o:[a,o]}function QO(e,t,r={}){const{debounce:n=0,maxWait:i=void 0,...a}=r;return Lo(e,t,{...a,eventFilter:pf(n,{maxWait:i})})}function JO(e,t,r={}){const{throttle:n=0,trailing:i=!0,leading:a=!0,...o}=r;return Lo(e,t,{...o,eventFilter:gf(n,i,a)})}function Ae(e){var t;const r=ye(e);return(t=r==null?void 0:r.$el)!=null?t:r}const Ze=ar?window:void 0,yf=ar?window.document:void 0,wf=ar?window.navigator:void 0;function Ie(...e){let t,r,n,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,n,i]=e,t=Ze):[t,r,n,i]=e,!t)return Xe;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],o=()=>{a.forEach(g=>g()),a.length=0},l=(g,E,b,O)=>(g.addEventListener(E,b,O),()=>g.removeEventListener(E,b,O)),u=Ge(()=>[Ae(t),ye(i)],([g,E])=>{if(o(),!g)return;const b=jb(E)?{...E}:E;a.push(...r.flatMap(O=>n.map(N=>l(g,O,N,b))))},{immediate:!0,flush:"post"}),c=()=>{u(),o()};return vt(c),c}let Ql=!1;function ZO(e,t,r={}){const{window:n=Ze,ignore:i=[],capture:a=!0,detectIframe:o=!1}=r;if(!n)return Xe;Ub&&!Ql&&(Ql=!0,Array.from(n.document.body.children).forEach(b=>b.addEventListener("click",Xe)),n.document.documentElement.addEventListener("click",Xe));let l=!0;const u=b=>i.some(O=>{if(typeof O=="string")return Array.from(n.document.querySelectorAll(O)).some(N=>N===b.target||b.composedPath().includes(N));{const N=Ae(O);return N&&(b.target===N||b.composedPath().includes(N))}}),g=[Ie(n,"click",b=>{const O=Ae(e);if(!(!O||O===b.target||b.composedPath().includes(O))){if(b.detail===0&&(l=!u(b)),!l){l=!0;return}t(b)}},{passive:!0,capture:a}),Ie(n,"pointerdown",b=>{const O=Ae(e);l=!u(b)&&!!(O&&!b.composedPath().includes(O))},{passive:!0}),o&&Ie(n,"blur",b=>{setTimeout(()=>{var O;const N=Ae(e);((O=n.document.activeElement)==null?void 0:O.tagName)==="IFRAME"&&!(N!=null&&N.contains(n.document.activeElement))&&t(b)},0)})].filter(Boolean);return()=>g.forEach(b=>b())}const Yb=500,Qb=10;function eS(e,t,r){var n,i;const a=he(()=>Ae(e));let o,l,u,c=!1;function g(){o&&(clearTimeout(o),o=void 0),l=void 0,u=void 0,c=!1}function E(C){var d,$,k;const[W,j,U]=[u,l,c];if(g(),!(r!=null&&r.onMouseUp)||!j||!W||(d=r==null?void 0:r.modifiers)!=null&&d.self&&C.target!==a.value)return;($=r==null?void 0:r.modifiers)!=null&&$.prevent&&C.preventDefault(),(k=r==null?void 0:r.modifiers)!=null&&k.stop&&C.stopPropagation();const f=C.x-j.x,m=C.y-j.y,s=Math.sqrt(f*f+m*m);r.onMouseUp(C.timeStamp-W,s,U)}function b(C){var d,$,k,W;(d=r==null?void 0:r.modifiers)!=null&&d.self&&C.target!==a.value||(g(),($=r==null?void 0:r.modifiers)!=null&&$.prevent&&C.preventDefault(),(k=r==null?void 0:r.modifiers)!=null&&k.stop&&C.stopPropagation(),l={x:C.x,y:C.y},u=C.timeStamp,o=setTimeout(()=>{c=!0,t(C)},(W=r==null?void 0:r.delay)!=null?W:Yb))}function O(C){var d,$,k,W;if((d=r==null?void 0:r.modifiers)!=null&&d.self&&C.target!==a.value||!l||(r==null?void 0:r.distanceThreshold)===!1)return;($=r==null?void 0:r.modifiers)!=null&&$.prevent&&C.preventDefault(),(k=r==null?void 0:r.modifiers)!=null&&k.stop&&C.stopPropagation();const j=C.x-l.x,U=C.y-l.y;Math.sqrt(j*j+U*U)>=((W=r==null?void 0:r.distanceThreshold)!=null?W:Qb)&&g()}const N={capture:(n=r==null?void 0:r.modifiers)==null?void 0:n.capture,once:(i=r==null?void 0:r.modifiers)==null?void 0:i.once},T=[Ie(a,"pointerdown",b,N),Ie(a,"pointermove",O,N),Ie(a,["pointerup","pointerleave"],E,N)];return()=>T.forEach(C=>C())}function Jb(){const e=le(!1),t=tn();return t&&ai(()=>{e.value=!0},t),e}function qt(e){const t=Jb();return he(()=>
11(t.value,!!e()))}function Zb(e,t,r={}){const{window:n=Ze,...i}=r;let a;const o=qt(()=>n&&"MutationObserver"in n),l=()=>{a&&(a.disconnect(),a=void 0)},u=he(()=>{const b=ye(e),O=(Array.isArray(b)?b:[b]).map(Ae).filter(df);return new Set(O)}),c=Ge(()=>u.value,b=>{l(),o.value&&b.size&&(a=new MutationObserver(t),b.forEach(O=>a.observe(O,i)))},{immediate:!0,flush:"post"}),g=()=>a==null?void 0:a.takeRecords(),E=()=>{l(),c()};return vt(E),{isSupported:o,stop:E,takeRecords:g}}function eE(e,t={}){const{immediate:r=!0,fpsLimit:n=void 0,window:i=Ze}=t,a=le(!1),o=n?1e3/n:null;let l=0,u=null;function c(b){if(!a.value||!i)return;l||(l=b);const O=b-l;if(o&&O<o){u=i.requestAnimationFrame(c);return}l=b,e({delta:O,timestamp:b}),u=i.requestAnimationFrame(c)}function g(){!a.value&&i&&(a.value=!0,l=0,u=i.requestAnimationFrame(c))}function E(){a.value=!1,u!=null&&i&&(i.cancelAnimationFrame(u),u=null)}return r&&g(),vt(E),{isActive:io(a),pause:E,resume:g}}function tE(e,t={}){const{window:r=Ze}=t,n=qt(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let i;const a=le(!1),o=c=>{a.value=c.matches},l=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",o):i.removeListener(o))},u=tv(()=>{n.value&&(l(),i=r.matchMedia(ye(e)),"addEventListener"in i?i.addEventListener("change",o):i.addListener(o),a.value=i.matches)});return vt(()=>{u(),l(),i=void 0}),a}function Jl(e,t={}){const{controls:r=!1,navigator:n=wf}=t,i=qt(()=>n&&"permissions"in n);let a;const o=typeof e=="string"?{name:e}:e,l=le(),u=()=>{a&&(l.value=a.state)},c=Wb(async()=>{if(i.value){if(!a)try{a=await n.permissions.query(o),Ie(a,"change",u),u()}catch(g){l.value="prompt"}return a}});return c(),r?{state:l,isSupported:i,query:c}:l}function tS(e={}){const{navigator:t=wf,read:r=!1,source:n,copiedDuring:i=1500,legacy:a=!1}=e,o=qt(()=>t&&"clipboard"in t),l=Jl("clipboard-read"),u=Jl("clipboard-write"),c=he(()=>o.value||a),g=le(""),E=le(!1),b=Xb(()=>E.value=!1,i);function O(){o.value&&C(l.value)?t.clipboard.readText().then(d=>{g.value=d}):g.value=I()}c.value&&r&&Ie(["copy","cut"],O);async function N(d=ye(n)){c.value&&d!=null&&(o.value&&C(u.value)?await t.clipboard.writeText(d):T(d),g.value=d,E.value=!0,b.start())}function T(d){const $=document.createElement("textarea");$.value=d!=null?d:"",$.style.position="absolute",$.style.opacity="0",document.body.appendChild($),$.select(),document.execCommand("copy"),$.remove()}function I(){var d,$,k;return(k=($=(d=document==null?void 0:document.getSelection)==null?void 0:d.call(document))==null?void 0:$.toString())!=null?k:""}function C(d){return d==="granted"||d==="prompt"}return{isSupported:c,text:g,copied:E,copy:N}}function rE(e){const t=tn(),r=Lb(()=>null,()=>t.proxy.$el);return nv(r.trigger),ai(r.trigger),r}function rS(e={}){const{document:t=yf}=e;if(!t)return le("visible");const r=le(t.visibilityState);return Ie(t,"visibilitychange",()=>{r.value=t.visibilityState}),r}function bf(e,t,r={}){const{window:n=Ze,...i}=r;let a;const o=qt(()=>n&&"ResizeObserver"in n),l=()=>{a&&(a.disconnect(),a=void 0)},u=he(()=>Array.isArray(e)?e.map(E=>Ae(E)):[Ae(e)]),c=Ge(u,E=>{if(l(),o.value&&n){a=new ResizeObserver(t);for(const b of E)b&&a.observe(b,i)}},{immediate:!0,flush:"post"}),g=()=>{l(),c()};return vt(g),{isSupported:o,stop:g}}function nS(e,t={}){const{reset:r=!0,windowResize:n=!0,windowScroll:i=!0,immediate:a=!0}=t,o=le(0),l=le(0),u=le(0),c=le(0),g=le(0),E=le(0),b=le(0),O=le(0);function N(){const T=Ae(e);if(!T){r&&(o.value=0,l.value=0,u.value=0,c.value=0,g.value=0,E.value=0,b.value=0,O.value=0);return}const I=T.getBoundingClientRect();o.value=I.height,l.value=I.bottom,u.value=I.left,c.value=I.right,g.value=I.top,E.value=I.width,b.value=I.x,O.value=I.y}return bf(e,N),Ge(()=>Ae(e),T=>!T&&N()),Zb(e,N,{attributeFilter:["style","class"]}),i&&Ie("scroll",N,{capture:!0,passive:!0}),n&&Ie("resize",N,{passive:!0}),fn(()=>{a&&N()}),{height:o,bottom:l,left:u,right:c,top:g,width:E,x:b,y:O,update:N}}function iS(e,t={width:0,height:0},r={}){const{window:n=Ze,box:i="content-box"}=r,a=he(()=>{var E,b;return(b=(E=Ae(e))==null?void 0:E.namespaceURI)==null?void 0:b.includes("svg")}),o=le(t.width),l=le(t.height),{stop:u}=bf(e,([E])=>{const b=i==="border-box"?E.borderBoxSize:i==="content-box"?E.contentBoxSize:E.devicePixelContentBoxSize;if(n&&a.value){const O=Ae(e);
11if(O){const N=O.getBoundingClientRect();o.value=N.width,l.value=N.height}}else if(b){const O=Array.isArray(b)?b:[b];o.value=O.reduce((N,{inlineSize:T})=>N+T,0),l.value=O.reduce((N,{blockSize:T})=>N+T,0)}else o.value=E.contentRect.width,l.value=E.contentRect.height},r);fn(()=>{const E=Ae(e);E&&(o.value="offsetWidth"in E?E.offsetWidth:t.width,l.value="offsetHeight"in E?E.offsetHeight:t.height)});const c=Ge(()=>Ae(e),E=>{o.value=E?t.width:0,l.value=E?t.height:0});function g(){u(),c()}return{width:o,height:l,stop:g}}function nE(e,t,r={}){const{root:n,rootMargin:i="0px",threshold:a=.1,window:o=Ze,immediate:l=!0}=r,u=qt(()=>o&&"IntersectionObserver"in o),c=he(()=>{const N=ye(e);return(Array.isArray(N)?N:[N]).map(Ae).filter(df)});let g=Xe;const E=le(l),b=u.value?Ge(()=>[c.value,Ae(n),E.value],([N,T])=>{if(g(),!E.value||!N.length)return;const I=new IntersectionObserver(t,{root:Ae(T),rootMargin:i,threshold:a});N.forEach(C=>C&&I.observe(C)),g=()=>{I.disconnect(),g=Xe}},{immediate:l,flush:"post"}):Xe,O=()=>{g(),b(),E.value=!1};return vt(O),{isSupported:u,isActive:E,pause(){g(),E.value=!1},resume(){E.value=!0},stop:O}}function aS(e,t={}){const{window:r=Ze,scrollTarget:n,threshold:i=0}=t,a=le(!1);return nE(e,o=>{let l=a.value,u=0;for(const c of o)c.time>=u&&(u=c.time,l=c.isIntersecting);a.value=l},{root:n,window:r,threshold:i}),a}const Zl=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function oS(e,t={}){const{document:r=yf,autoExit:n=!1}=t,i=he(()=>{var C;return(C=Ae(e))!=null?C:r==null?void 0:r.querySelector("html")}),a=le(!1),o=he(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(C=>r&&C in r||i.value&&C in i.value)),l=he(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(C=>r&&C in r||i.value&&C in i.value)),u=he(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(C=>r&&C in r||i.value&&C in i.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(C=>r&&C in r),g=qt(()=>i.value&&r&&o.value!==void 0&&l.value!==void 0&&u.value!==void 0),E=()=>c?(r==null?void 0:r[c])===i.value:!1,b=()=>{if(u.value){if(r&&r[u.value]!=null)return r[u.value];{const C=i.value;if((C==null?void 0:C[u.value])!=null)return!!C[u.value]}}return!1};async function O(){if(!(!g.value||!a.value)){if(l.value)if((r==null?void 0:r[l.value])!=null)await r[l.value]();else{const C=i.value;(C==null?void 0:C[l.value])!=null&&await C[l.value]()}a.value=!1}}async function N(){if(!g.value||a.value)return;b()&&await O();const C=i.value;o.value&&(C==null?void 0:C[o.value])!=null&&(await C[o.value](),a.value=!0)}async function T(){await(a.value?O():N())}const I=()=>{const C=b();(!C||C&&E())&&(a.value=C)};return Ie(r,Zl,I,!1),Ie(()=>Ae(i),Zl,I,!1),n&&vt(O),{isSupported:g,isFullscreen:a,enter:N,exit:O,toggle:T}}const eu=1;function sS(e,t={}){const{throttle:r=0,idle:n=200,onStop:i=Xe,onScroll:a=Xe,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:c=Ze,onError:g=U=>{console.error(U)}}=t,E=le(0),b=le(0),O=he({get(){return E.value},set(U){T(U,void 0)}}),N=he({get(){return b.value},set(U){T(void 0,U)}});function T(U,f){var m,s,v,h;if(!c)return;const w=ye(e);if(!w)return;(v=w instanceof Document?c.document.body:w)==null||v.scrollTo({top:(m=ye(f))!=null?m:N.value,left:(s=ye(U))!=null?s:O.value,behavior:ye(u)});const A=((h=w==null?void 0:w.document)==null?void 0:h.documentElement)||(w==null?void 0:w.documentElement)||w;O!=null&&(E.value=A.scrollLeft),N!=null&&(b.value=A.scrollTop)}const I=le(!1),C=tr({left:!0,right:!1,top:!0,bottom:!1}),d=tr({left:!1,right:!1,top:!1,bottom:!1}),$=U=>{I.value&&(I.value=!1,d.left=!1,d.right=!1,d.top=!1,d.bottom=!1,i(U))},k=mf($,r+n),W=U=>{var f;if(!c)return;const m=((f=U==null?void 0:U.document)==null?void 0:f.documentElement)||(U==null?void 0:U.documentElement)||Ae(U),{display:s,flexDirection:v}=getComputedStyle(m),h=m.scrollLeft;
11d.left=h<E.value,d.right=h>E.value;const w=Math.abs(h)<=(o.left||0),A=Math.abs(h)+m.clientWidth>=m.scrollWidth-(o.right||0)-eu;s==="flex"&&v==="row-reverse"?(C.left=A,C.right=w):(C.left=w,C.right=A),E.value=h;let p=m.scrollTop;U===c.document&&!p&&(p=c.document.body.scrollTop),d.top=p<b.value,d.bottom=p>b.value;const y=Math.abs(p)<=(o.top||0),S=Math.abs(p)+m.clientHeight>=m.scrollHeight-(o.bottom||0)-eu;s==="flex"&&v==="column-reverse"?(C.top=S,C.bottom=y):(C.top=y,C.bottom=S),b.value=p},j=U=>{var f;if(!c)return;const m=(f=U.target.documentElement)!=null?f:U.target;W(m),I.value=!0,k(U),a(U)};return Ie(e,"scroll",r?qb(j,r,!0,!1):j,l),fn(()=>{try{const U=ye(e);if(!U)return;W(U)}catch(U){g(U)}}),Ie(e,"scrollend",$,l),{x:O,y:N,isScrolling:I,arrivedState:C,directions:d,measure(){const U=ye(e);c&&U&&W(U)}}}function lS(e={}){const{window:t=Ze}=e,r=qt(()=>t&&"screen"in t&&"orientation"in t.screen),n=r.value?t.screen.orientation:{},i=le(n.type),a=le(n.angle||0);return r.value&&Ie(t,"orientationchange",()=>{i.value=n.type,a.value=n.angle}),{isSupported:r,orientation:i,angle:a,lockOrientation:u=>r.value&&typeof n.lock=="function"?n.lock(u):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{r.value&&typeof n.unlock=="function"&&n.unlock()}}}function uS(e=rE()){const t=rv(),r=()=>{const n=Ae(e);n&&(t.value=n.parentElement)};return fn(r),Ge(()=>ye(e),r),t}function cS(e={}){const{controls:t=!1,offset:r=0,immediate:n=!0,interval:i="requestAnimationFrame",callback:a}=e,o=le(Xl()+r),l=()=>o.value=Xl()+r,u=a?()=>{l(),a(o.value)}:l,c=i==="requestAnimationFrame"?eE(u,{immediate:n}):Kb(u,i,{immediate:n});return t?{timestamp:o,...c}:o}function fS(e="history",t={}){const{initialValue:r={},removeNullishValues:n=!0,removeFalsyValues:i=!1,write:a=!0,window:o=Ze}=t;if(!o)return tr(r);const l=tr({});function u(){if(e==="history")return o.location.search||"";if(e==="hash"){const C=o.location.hash||"",d=C.indexOf("?");return d>0?C.slice(d):""}else return(o.location.hash||"").replace(/^#/,"")}function c(C){const d=C.toString();if(e==="history")return`${d?`?${d}`:""}${o.location.hash||""}`;if(e==="hash-params")return`${o.location.search||""}${d?`#${d}`:""}`;const $=o.location.hash||"#",k=$.indexOf("?");return k>0?`${$.slice(0,k)}${d?`?${d}`:""}`:`${$}${d?`?${d}`:""}`}function g(){return new URLSearchParams(u())}function E(C){const d=new Set(Object.keys(l));for(const $ of C.keys()){const k=C.getAll($);l[$]=k.length>1?k:C.get($)||"",d.delete($)}Array.from(d).forEach($=>delete l[$])}const{pause:b,resume:O}=zb(l,()=>{const C=new URLSearchParams("");Object.keys(l).forEach(d=>{const $=l[d];Array.isArray($)?$.forEach(k=>C.append(d,k)):n&&$==null||i&&!$?C.delete(d):C.set(d,$)}),N(C)},{deep:!0});function N(C,d){b(),d&&E(C),o.history.replaceState(o.history.state,o.document.title,o.location.pathname+c(C)),O()}function T(){a&&N(g(),!0)}Ie(o,"popstate",T,!1),e!=="history"&&Ie(o,"hashchange",T,!1);const I=g();return I.keys().next().value?E(I):Object.assign(l,r),l}function vS(e={}){const{window:t=Ze,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:a=!0}=e,o=le(r),l=le(n),u=()=>{t&&(a?(o.value=t.innerWidth,l.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(u(),fn(u),Ie("resize",u,{passive:!0}),i){const c=tE("(orientation: portrait)");Ge(c,()=>u())}return{width:o,height:l}}function dS(e,t){return e.then(function(r){return[null,r]}).catch(function(r){return[r,void 0]})}function Mo(e){try{return document.execCommand(e)}catch(t){return!1}}function iE(e){const t=document.documentElement.getAttribute("dir")==="rtl",r=document.createElement("textarea");r.style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[t?"right":"left"]="-9999px";const n=window.pageYOffset||document.documentElement.scrollTop;return r.style.top=`${n}px`,r.setAttribute("readonly",""),r.value=e,r}function jo(e){var r;let t="";if(e.nodeName==="SELECT")e.focus(),t=e.value;else if(e.nodeName==="INPUT"||e.nodeName==="TEXTAREA"){const n=e,i=n.hasAttribute("readonly");i||n.setAttribute("readonly",""),n.select(),n.setSelectionRange(0,n.value.length),i||n.removeAttribute("readonly"),t=n.value}else{e.hasAttribute("contenteditable")&&e.focus();const n=window.getSelection(),i=document.createRange();i.selectNodeContents(e),n==null||n.removeAllRanges(),n==null||n.addRange(i),t=(r=n==null?void 0:n.toString())!=null?r:""}return t}function tu(e,t,r){var o;const n=(o=r.container)!=null?o:document.body,i=iE(e);n.appendChild(i);const a=jo(i);return Mo(t),i.remove(),a}const aE=["text","search","url","tel","password"];function oE(e,t={container:document.body}){let r="";return typeof e=="string"?r=tu(e,"copy",t):e instanceof HTMLInputElement&&!aE.includes(e.type)?r=tu(e.value,"copy",t):(r=jo(e),Mo("copy")),r}function sE(e){const t=jo(e);return Mo("cut"),t}function Ef(e,t){return oE(e,t)}function _f(e){return sE(e)}const lE={copy:Ef,cut:_f},hS=Object.freeze(Object.defineProperty({__proto__:null,copy:Ef,cut:_f,default:lE},Symbol.toStringTag,{value:"Module"}));var pS=class{constructor(e){var t,r;this.key=(t=e.key)!=null?t:Math.random().toString(36).slice(2,11)+Date.now().toString(36),this.open=e.open,this.close=e.close,this.data=(r=e.data)!=null?r:{},this.init=e.init,this.maxWaitingInit=e.maxWaitingInit||5e3,this.autoClose=e.autoClose||0,this.allowAutoOpen=e.allowAutoOpen===void 0?!0:e.allowAutoOpen}},gS=class{get id(){return this._id}get queue(){return this._queue}get waiting_open(){return this._waiting_open}get queued(){return this._queued}get current(){return this._current}get auto(){return this._auto}constructor(){this._queue=[],this._temp_add_queue=[],this._add_initing=!1,this._waiting_open=[],this._queued=[],this._current=null,this._auto=!1,this._timer=null,this._interval=0,this.retryInit=async(e,t=3,r=Date.now())=>{var n;try{let i=Date.now()-r,a=(n=e.maxWaitingInit)!=null?n:5e3,o=a-i,l=`PopupItem with key ${e.key} init function timeout after ${a}ms`;if(o<=0)throw Error(l);
11if(e.init){let c=e.init;e.init=async()=>{let g=null;try{return await Promise.race([c.call(e),new Promise((E,b)=>{g=setTimeout(()=>b(Error(l)),o)})])}finally{g&&clearTimeout(g),e.init=c}}}if(!e.init)return e.data;let u=await e.init();return e.data=u,u}catch(i){let a=Date.now()-r,o=e.maxWaitingInit||5e3;if(a>o)throw Error(`PopupItem with key ${e.key} init function timeout after ${o}ms`);if(t>0)return await new Promise(l=>setTimeout(l,1e3)),this.retryInit(e,t-1,r);throw Error(`PopupItem with key ${e.key} init function failed after 3 retries`)}},this._id=Math.random().toString(36).slice(2,11)+Date.now().toString(36)}async _autoOpen(){if(this._current)return;let e,t=this._waiting_open.findIndex(r=>r.allowAutoOpen!==!1);t>=0?e=this._waiting_open.splice(t,1)[0]:(t=this._queue.findIndex(r=>r.allowAutoOpen!==!1),t>=0&&(e=this._queue.splice(t,1)[0])),e&&(this._current=e,await e.open(this._current),e.autoClose&&e.autoClose>0&&setTimeout(async()=>{this._current&&this._current.key===e.key&&await this.close()},e.autoClose))}async _tryAutoOpen(){!this._auto||this._current||(this._interval<=0?await this._autoOpen():this._timer||this._scheduleNext())}_scheduleNext(){this._timer&&(this._timer=(clearTimeout(this._timer),null)),!(!this._auto||this._interval<=0)&&(this._timer=setTimeout(async()=>{this._timer=null,this._auto&&(!this._current&&(this._waiting_open.length>0||this._queue.length>0)&&await this._autoOpen(),this._auto&&this._scheduleNext())},this._interval))}findItem(e){return this.queue.find(t=>t.key===e)||null}_findWaitingIndex(e){return this.waiting_open.find(t=>t.key===e)||null}_removeItem(e){this._queue=this._queue.filter(t=>t.key!==e)}_removeWaitingItem(e){this._waiting_open=this._waiting_open.filter(t=>t.key!==e)}findQueuedItem(e){return this.queued.find(t=>t.key===e)||null}async addBatch(e,t=1,r){if(!(!e||e.length===0)){if(t>=2)for(let n of e)try{if(!n.key||!n.open||!n.close){console.warn(`PopupItem must have key, open and close functions. Skipping item: ${n.key}`);continue}if(this.findItem(n.key)||this._findWaitingIndex(n.key)){console.warn(`PopupItem with key ${n.key} already exists in the queue. Skipping.`);continue}try{await this.retryInit(n)}catch(i){if(t===3){console.error(`Failed to initialize PopupItem with key ${n.key}:`,i);break}}this._queue.push(n),r==null||r(n)}catch(i){console.error(`Failed to initialize PopupItem with key ${n.key}:`,i);continue}else{let n=e.filter(i=>!i.key||!i.open||!i.close?(console.warn(`PopupItem must have key, open and close functions. Skipping item: ${i.key}`),!1):this.findItem(i.key)||this._findWaitingIndex(i.key)?(console.warn(`PopupItem with key ${i.key} already exists in the queue. Skipping.`),!1):!0);(await Promise.allSettled(n.map(i=>this.retryInit(i)))).forEach((i,a)=>{i.status==="fulfilled"?this._queue.push(n[a]):console.error(`Failed to initialize PopupItem with key ${n[a].key}:`,i.reason),r==null||r(n[a])})}await this._tryAutoOpen()}}async add(e,t){if(!e.key||!e.open||!e.close)throw Error("PopupItem must have key, open and close functions");if(this.findItem(e.key)||this._findWaitingIndex(e.key))throw Error(`PopupItem with key ${e.key} already exists in the queue`);if(this._temp_add_queue.push(e),this._add_initing)return new Promise((r,n)=>{let i=setInterval(()=>{!this._temp_add_queue.find(a=>a.key===e.key)&&this.findItem(e.key)?(clearInterval(i),t==null||t(e.data),r()):!this._temp_add_queue.find(a=>a.key===e.key)&&!this.findItem(e.key)&&!this._add_initing&&(clearInterval(i),n(Error(`PopupItem with key ${e.key} failed to initialize`)))},100)});this._add_initing=!0;try{for(;this._temp_add_queue.length>0;){let r=this._temp_add_queue.shift();try{await this.retryInit(r),this._queue.push(r),r.key===e.key&&(t==null||t(r.data))}catch(n){if(console.error(`Failed to initialize PopupItem with key ${r.key}:`,n),r.key===e.key)throw n}}}finally{this._add_initing=!1}await this._tryAutoOpen()}clear(){this.stop(),this._queue=[],this._waiting_open=[],this._queued=[],this._current=null}async close(e=!0){if(!this._current)return;this._queued.push(this._current);let t=this._current;if(this._current=null,await t.close(t),e&&this._waiting_open.length>0){let r=this._waiting_open.shift();this._current=r,await r.open(this._current),r.autoClose&&r.autoClose>0&&setTimeout(async()=>{this._current&&this._current.key===r.key&&await this.close()},r.autoClose);return}this._auto&&e&&(this._interval<=0?await this._autoOpen():this._scheduleNext())}async open(e){if(this._current)return;let t=1;if(e){let n=this._findWaitingIndex(e)||(t=2,this.findItem(e));if(!n)throw Error(`PopupItem with key ${e} not found in the queue`);t===2?this._removeItem(e):this._removeWaitingItem(e),this._current=n,await n.open(this._current),n.autoClose&&n.autoClose>0&&setTimeout(async()=>{this._current&&this._current.key===n.key&&await this.close()},n.autoClose);return}let r=this._waiting_open.length>0?this._waiting_open.shift():this._queue.shift();r&&(this._current=r,await r.open(this._current),r.autoClose&&r.autoClose>0&&setTimeout(async()=>{this._current&&this._current.key===r.key&&await this.close()},r.autoClose))}async navigateTo(e){if(!e)throw Error("key is required");if(!(this._current&&this._current.key===e)&&this._current){let t=this._current;await this.close(!1),await this.open(e),this._waiting_open.unshift(t)}}
11async insert(e,t=!1,r){if(!e.key||!e.open||!e.close)throw Error("PopupItem must have key, open and close functions");if(this.findItem(e.key)||this._findWaitingIndex(e.key))throw Error(`PopupItem with key ${e.key} already exists in the queue`);t&&this._current&&await this.close(!1),await this.retryInit(e),r==null||r(e.data),this._queue.unshift(e),t?await this.open():await this._tryAutoOpen()}async start(e=5e3){this._auto&&this.stop(),this._auto=!0,this._interval=e>0?e:0,this._interval<=0?!this._current&&(this._waiting_open.length>0||this._queue.length>0)&&await this._autoOpen():this._scheduleNext()}stop(){this._auto&&(this._auto=!1,this._timer&&(this._timer=(clearTimeout(this._timer),null)))}remove(e){if(this._current&&this._current.key===e)return this.close(),!0;let t=1;return(()=>{let r=this._findWaitingIndex(e);if(r)return r;let n=this.findItem(e);return n?(t=2,n):(t=0,null)})()?t===2?(this._removeItem(e),!0):t===1?(this._removeWaitingItem(e),!0):!1:!1}};function uE(e){return e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e)}function cE(e){return typeof e=="function"}function fE(e){return e==null}function vE(e){return Number(e)>=0&&String(Number(e))===String(e)}function dE(e){return uE(e)||Array.isArray(e)}function Uo(e){return/^\[.+\]$/i.test(e)}function Of(e){return Uo(e)?e.replace(/\[|\]/gi,""):e}function vr(e,t,r){var n;return e?Uo(t)?(n=e[Of(t)])!=null?n:r:(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((i,a)=>dE(i)&&a in i?i[a]:r,e):r}function Bt(e,t,r){if(Uo(t)){e[Of(t)]=r;return}const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let i=e;for(let a=0;a<n.length;a++){if(a===n.length-1){i[n[a]]=r;return}(!(n[a]in i)||fE(i[n[a]]))&&(i[n[a]]=vE(n[a+1])?[]:{}),i=i[n[a]]}}function ti(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(let n=e.length-1;n>=0;n--)if(!ti(e[n],t[n]))return!1;return!0}if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.toString()===t.toString();if(e instanceof File&&t instanceof File)return e.name===t.name&&e.size===t.size&&e.type===t.type;const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length-1;n>=0;n--)if(!Object.prototype.hasOwnProperty.call(t,r[n]))return!1;for(let n=r.length-1;n>=0;n--){const i=r[n];if(!ti(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Te(e){if(e===null||typeof e!="object")return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e.source,e.flags);if(Array.isArray(e))return e.map(r=>Te(r));if(typeof File!="undefined"&&e instanceof File)return e;const t={};for(const r of Object.keys(e))t[r]=Te(e[r]);return t}function Za(e){return Array.isArray(e)?e:e?[e]:[]}function hE(e){return e?!!(typeof Event!="undefined"&&cE(Event)&&e instanceof Event||e&&e.srcElement):!1}function pE(e){if(!hE(e))return e;const t=e.target||{};if(t.type==="file"&&t.files){const r=Array.from(t.files);return t.multiple?r:r[0]}return t.value}const Pt=Symbol("lite-vee-validate-form"),vn=Symbol("lite-vee-validate-field");function zt(e,t){var r,n;const i=tn();return(n=(r=i==null?void 0:i.provides)==null?void 0:r[e])!=null?n:rn(e,t)}let ru=0;function mS(e){const t=ru++,r=le(!1),n=le(!1),i=le(0),a=Te(rr(e==null?void 0:e.initialValues)||{}),o=tr(Te(a)),l=le(Te(a)),u=le(Te(a)),c=le([]),g=le({}),E=le({});function b(p){return g.value[p]}function O(p,y){const S=c.value.findIndex(R=>R.path===p&&R.id===y);S!==-1&&(c.value.splice(S,1),delete g.value[p])}function N(p,y){const S=b(p);if(!S){y?E.value[p]=Za(y):delete E.value[p];return}E.value[p]&&delete E.value[p],S.errors=Za(y),S.valid=!S.errors.length}function T(p){Object.keys(p).forEach(y=>N(y,p[y]))}const I=he(()=>{const p=c.value.reduce((y,S)=>(S.errors.length&&(y[S.path]=S.errors),y),{});return{...E.value,...p}}),C=he(()=>Object.keys(I.value).reduce((p,y)=>{const S=I.value[y];return S!=null&&S.length&&(p[y]=S[0]),p},{})),d=he(()=>{const p=c.value;return{valid:p.every(y=>y.valid)&&!Object.keys(E.value).length,dirty:p.some(y=>y.dirty),touched:p.some(y=>y.touched),pending:p.some(y=>y.pending),initialValues:l.value}});function $(p,y,S=!1){Bt(l.value,p,Te(y)),S&&Bt(u.value,p,Te(y))}function k(p,y,S=!1){$(p,y),Bt(o,p,y),S&&!(e!=null&&e.initialValues)&&Bt(u.value,p,Te(y))}function W(p,y){var S;const R=rr(p),F=g.value[R];if(F)return F;const J=tr({id:ru+c.value.length,path:R,touched:!1,pending:!1,valid:!0,validated:!1,required:!1,initialValue:he(()=>vr(l.value,R)),value:he(()=>vr(o,R)),errors:[],bails:(S=y==null?void 0:y.bails)!=null?S:!0,label:y==null?void 0:y.label,type:(y==null?void 0:y.type)||"default",dirty:he(()=>
11!ti(vr(o,R),vr(l.value,R))),validate:y==null?void 0:y.validate,__flags:{pendingReset:!1}});return c.value.push(J),g.value[R]=J,J}function j(p,y,S=!1){Bt(o,p,y),S&&v(p)}function U(p,y=!1){Object.keys(p).forEach(S=>{Bt(o,S,p[S])}),y&&s()}function f(p,y){const S=b(p);S&&(S.touched=y)}function m(p){if(typeof p=="boolean"){c.value.forEach(y=>y.touched=p);return}Object.keys(p).forEach(y=>f(y,!!p[y]))}async function s(p){((p==null?void 0:p.mode)||"force")==="force"&&c.value.forEach(F=>F.validated=!0),n.value=!0;const y=await Promise.all(c.value.map(F=>F.validate?F.validate(p).then(J=>({key:F.path,valid:J.valid,errors:J.errors})):Promise.resolve({key:F.path,valid:!0,errors:[]})));n.value=!1;const S={},R={};for(const F of y)S[F.key]={valid:F.valid,errors:F.errors},F.errors.length&&(R[F.key]=F.errors[0]);return{valid:y.every(F=>F.valid),results:S,errors:R,source:"fields"}}async function v(p,y){const S=b(p);return S&&(y==null?void 0:y.mode)!=="silent"&&(S.validated=!0),S!=null&&S.validate?S.validate(y):{valid:!0,errors:[]}}function h(p,y){var S;const R=b(p),F=y&&"value"in y?y.value:vr(u.value,p);$(p,Te(F),!0),Bt(o,p,Te(F)),R&&(R.errors=(y==null?void 0:y.errors)||[],R.touched=(S=y==null?void 0:y.touched)!=null?S:!1,R.valid=!0,R.validated=!1,R.pending=!1)}function w(p,y){const S=p!=null&&p.values?Te(p.values):Te(u.value),R=y!=null&&y.force?S:{...Te(u.value),...S};l.value=Te(R),c.value.forEach(F=>{var J;F.__flags.pendingReset=!0,F.validated=!1,F.touched=((J=p==null?void 0:p.touched)==null?void 0:J[F.path])||!1,F.errors=[],F.valid=!0,F.pending=!1}),Object.keys(o).forEach(F=>{delete o[F]}),Object.keys(R).forEach(F=>{Bt(o,F,Te(R[F]))}),E.value={},T((p==null?void 0:p.errors)||{}),i.value=(p==null?void 0:p.submitCount)||0,c.value.forEach(F=>F.__flags.pendingReset=!1)}const A={formId:t,values:o,errors:C,errorBag:I,meta:d,isSubmitting:r,isValidating:n,submitCount:i,initialValues:l,validate:s,validateField:v,setFieldError:N,setErrors:T,setFieldValue:j,setValues:U,setFieldTouched:f,setTouched:m,resetForm:w,resetField:h,handleSubmit:(p,y)=>async S=>{var R;(R=S==null?void 0:S.preventDefault)==null||R.call(S),r.value=!0,i.value+=1;try{const F=await s();if(!F.valid){y==null||y({errors:F.errors});return}return await p(o,{evt:S})}finally{r.value=!1}},defineField:(p,y)=>{const S=typeof y=="object"?y==null?void 0:y.label:void 0,R=b(p)||W(p,{label:S}),F=he({get:()=>vr(o,p),set:V=>j(p,V,!1)}),J=he(()=>({onBlur:()=>{R.touched=!0,v(p)},onInput:()=>{},onChange:()=>v(p)}));return[F,J]},createPathState:W,findPathState:b,removePathState:O,setFieldInitialValue:$,stageInitialValue:k};return du(Pt,A),A}function gE(e){return`${e.field} is not valid.`}async function mE(e,t){const r=e.rules,n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},i=Array.isArray(r)?r:[r],a=[];for(let o=0;o<i.length;o++){const l=i[o],u=await l(t,n);if(!(typeof u!="string"&&!Array.isArray(u)&&u)){if(Array.isArray(u))a.push(...u);else{const c=typeof u=="string"?u:gE(n);a.push(c)}if(e.bails)return{errors:a}}}return{errors:a}}async function yE(e,t,r={}){var n;const i={name:r.name||"{field}",rules:t,label:r.label,bails:(n=r.bails)!=null?n:!0,formData:r.values||{}},a=await mE(i,e);return{...a,valid:!a.errors.length}}function wE(e){return{validateOnMount:!1,validateOnValueUpdate:!0,bails:!0,standalone:!1,controlled:!0,...e}}function yS(e,t,r){var n,i,a;const{validateOnMount:o,validateOnValueUpdate:l,bails:u,label:c,type:g,standalone:E}=wE(r),b=E?void 0:zt(Pt),O=()=>rr(e),N=he(()=>O()),T=he(()=>vu(t)),I=le((n=r==null?void 0:r.initialValue)!=null?n:void 0),C=le([]),d=le((i=r==null?void 0:r.initialValue)!=null?i:void 0),$=b?b.createPathState(N,{bails:u,label:typeof c=="string"?c:void 0,type:g,validate:ne=>A(ne)}):void 0;b&&(r==null?void 0:r.initialValue)!==void 0&&b.stageInitialValue(O(),r.initialValue,!0);const k=tr({touched:!1,pending:!1,valid:!0,validated:!1,required:!1,initialValue:d.value,dirty:!1}),W=$!=null?$:k,j=b?he(()=>$.errors):C,U=he(()=>j.value[0]);function f(){return b?b.values[O()]:I.value}function m(ne){b?b.setFieldValue(O(),ne,!1):(I.value=ne,k.dirty=!ti(ne,d.value))}async function s(){var ne;const se=T.value;return se?yE(f(),se,{name:O(),label:typeof c=="string"?c:void 0,values:(ne=b==null?void 0:b.values)!=null?ne:{},bails:u}):{valid:!0,errors:[]}}
11function v(ne){b?b.setFieldError(O(),ne):(C.value=ne,k.valid=!ne.length)}async function h(){W.pending=!0,W.validated=!0;const ne=await s();return v(ne.errors),W.pending=!1,W.valid=ne.valid,ne}async function w(){const ne=await s();return W.valid=ne.valid,ne}function A(ne){return(ne==null?void 0:ne.mode)==="silent"?w():h()}function p(ne,se=!0){m(ne),se?h():w()}const y=he({get:()=>f(),set:ne=>p(ne,l)});function S(ne,se=!0){p(pE(ne),se)}function R(ne,se=!1){W.touched=!0,se&&h()}function F(ne){W.touched=ne}function J(ne){v(Za(ne))}function V(ne){var se,pe,ge,Ce;const _=ne&&"value"in ne?ne.value:X();m(Te(_)),b?(b.setFieldInitialValue(O(),Te(_),!0),$.errors=(se=ne==null?void 0:ne.errors)!=null?se:[],$.touched=(pe=ne==null?void 0:ne.touched)!=null?pe:!1,$.validated=!1,$.pending=!1,$.valid=!0):(d.value=Te(_),C.value=(ge=ne==null?void 0:ne.errors)!=null?ge:[],k.touched=(Ce=ne==null?void 0:ne.touched)!=null?Ce:!1,k.validated=!1,k.pending=!1,k.dirty=!1),w()}function X(){return b?b.initialValues.value[O()]:d.value}const Y={id:(a=$==null?void 0:$.id)!=null?a:-1,name:N,value:y,meta:W,errors:j,errorMessage:U,validate:A,resetField:V,handleChange:S,handleBlur:R,setState:()=>{},setTouched:F,setErrors:J,setValue:p};du(vn,Y);const B=tn();return B&&ai(()=>{if(o){h();return}w()}),B&&b&&$&&iv(()=>{b.removePathState($.path,$.id)}),Y}function wS(e){const t=zt(Pt),r=e?void 0:rn(vn,void 0);return function(){return r?r.validate():t&&e?t.validateField(rr(e)):Promise.resolve({valid:!0,errors:[]})}}function bS(e){const t=zt(Pt),r=e?void 0:rn(vn,void 0);return he(()=>e?t==null?void 0:t.errors.value[rr(e)]:r==null?void 0:r.errorMessage.value)}function ES(e){const t=zt(Pt),r=e?void 0:rn(vn,void 0);return function(n){if(e&&t){t.setFieldError(rr(e),n);return}r&&r.setErrors(n||[])}}function _S(e){const t=zt(Pt),r=e?void 0:rn(vn,void 0);return function(n,i){if(e&&t){t.setFieldValue(rr(e),n,i);return}r==null||r.setValue(n,i)}}function OS(){const e=zt(Pt);return he(()=>(e==null?void 0:e.values)||{})}function SS(){const e=zt(Pt);return he(()=>(e==null?void 0:e.errors.value)||{})}function AS(){const e=zt(Pt);return function(){return e?e.validate():Promise.resolve({valid:!0,results:{},errors:{},source:"none"})}}function bE(e){return e==null}function EE(e){return Array.isArray(e)&&e.length===0}function _E(e,t){return Array.isArray(e)?e[0]:e[t]}function OE(e){return!!(e==null||e===""||Array.isArray(e)&&e.length===0)}const xS=e=>bE(e)||EE(e)||e===!1?!1:!!String(e).trim().length,SE=(e,t)=>{if(OE(e))return!0;let r=_E(t,"regex");return typeof r=="string"&&(r=new RegExp(r)),Array.isArray(e)?e.every(n=>SE(n,{regex:r})):r.test(String(e))};var AE={},Tt={};Object.defineProperty(Tt,"__esModule",{value:!0});Tt.ModelStorage=Tt.Meta=Tt.Attr=void 0;class Sf{constructor(t){this.name="",this.rules={},this.name=t}setRule(t){Object.assign(this.rules,t)}}Tt.Attr=Sf;class Af{constructor(t){this.name="",this.attrs=[],this.target=t,this.name=t.name}attr(t){let r=this.attrs.find(n=>n.name===t);return r||(r=new Sf(t),this.attrs.push(r)),r}merge(t=[]){t.forEach(r=>{this.attrs.find(n=>n.name===r.name)||this.attrs.push(r)})}}Tt.Meta=Af;class xf{constructor(){this.entities=[]}has(t){return this.entities.some(r=>r.target===t)}entity(t){let r=this.entities.find(n=>n.target===t);return r||(r=new Af(t),this.entities.push(r)),r}}Tt.ModelStorage=xf;const xE=new xf;Tt.default=xE;(function(e){var t=we&&we.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.setLogger=e.setMessageFormat=e.Entity=e.entity=e.Model=e.Param=e.param=e.converty=e.Reverse=e.reverse=e.Omit=e.omit=e.To=e.to=e.Validator=e.validator=e.Blankable=e.blankable=e.Nullable=e.nullable=e.Recover=e.recover=e.format=e.Dep=e.dep=e.Merge=e.merge=e.Parse=e.parse=e.Enum=e.Enumeration=e.enumeration=e.From=e.from=e.Type=e.type=e.Decorators=e.decorators=e.ModelError=e.defaults=void 0;const r=t(Tt);e.defaults={storage:r.default,message:"{entity}.{attr} defined as {type}, got: {value}",lightly:!0,blankable:!1,igundef:!1,logger:{error(s,v){throw new i(s)}}};const n=({entity:s="",attr:v="",type:h="",value:w="",source:A=""})=>{e.defaults.logger.error(e.defaults.message.replace("{entity}",s).replace("{attr}",v).replace("{type}",h).replace("{value}",w),A)};
11class i extends Error{constructor(v){super(v),this.name=new.target.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,new.target),typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(this,new.target.prototype):this.__proto__=new.target.prototype}}e.ModelError=i;const a=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule(s)};e.decorators=a,e.Decorators=e.decorators;const o=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({type:s})};e.type=o,e.Type=e.type;const l=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({from:s})};e.from=l,e.From=e.from;const u=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({enumeration:s})};e.enumeration=u,e.Enumeration=e.enumeration,e.Enum=e.enumeration;const c=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({parse:s})};e.parse=c,e.Parse=e.parse;const g=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({merge:s})};e.merge=g,e.Merge=e.merge;const E=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({dep:s})};e.dep=E,e.Dep=e.dep,e.format=e.parse;const b=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({recover:s})};e.recover=b,e.Recover=e.recover;const O=(s=!0)=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({nullable:s})};e.nullable=O,e.Nullable=e.nullable;const N=(s=!0)=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({blankable:s})};e.blankable=N,e.Blankable=e.blankable;const T=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({validator:s})};e.validator=T,e.Validator=e.validator;const I=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({to:s})};e.to=I,e.To=e.to;const C=(s=!0)=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({omit:s})};e.omit=C,e.Omit=e.omit;const d=s=>function(v,h){r.default.entity(v.constructor).attr(h).setRule({reverse:s})};e.reverse=d,e.Reverse=e.reverse;const $=(s,v)=>{if(!v)return;if(s.length===1)return v[s[0]];const h=s.shift()||"";return $(s,v[h])};
11function k(s,v){return v===Boolean?s==="false"?!1:v(s):v===Array?s.split?s.split(","):Array.isArray(s)?s:[]:v(s)}e.converty=k;function W(...s){return function(v,h,w){const A=w.value;return w.value=function(){if(!s)return A.apply(this,arguments);if(arguments.length===0)return e.defaults.logger.error(`${v.name}.${h}(${s.name}) got undefined`),A.apply(this,arguments);if(s.find((p,y)=>arguments[y]&&p!==arguments[y].constructor)){const p=[...arguments].map(S=>S.constructor.name).join(", "),y=s.map(S=>S.name).join(", ");e.defaults.logger.error(`${v.name}.${h}(${p} <> ${y})`)}return A.apply(this,arguments)},w}}e.param=W,e.Param=W;class j{constructor(v){this.parse(v)}doPrivateParse(v,h,w){var A;const{name:p,rules:y}=v;if(y.omit)return;const S=Array.isArray(y.from)?y.from.map(J=>J):[y.from||p];let R;for(;R==null&&S.length>0;)R=$(S.shift().split("."),h);const F=y.parse?y.parse.call(this,R,h):this[p]!==null&&this[p]!==void 0&&r.default.has(Object.getPrototypeOf(this[p]).constructor)?this[p].parse(R):R;if(F==null){y.nullable!==!0&&(w==null?void 0:w.nullable)!==!0&&n({source:h,entity:this.constructor.name,attr:p,type:Array.isArray(y.type)?y.type.map(J=>J.name).join(", "):(A=y.type)===null||A===void 0?void 0:A.name,value:F});return}if(this[p]=F,y.enumeration)y.enumeration.includes(F)||n({source:h,entity:this.constructor.name,attr:p,type:y.enumeration.join(", "),value:F});else if(Array.isArray(y.type)){F==null&&n({source:h,entity:this.constructor.name,attr:p,type:y.type.map(V=>V.name).join(", "),value:F});const J=Object.getPrototypeOf(F).constructor;y.type.includes(J)||n({source:h,entity:this.constructor.name,attr:p,type:y.type.map(V=>V.name).join(", "),value:F})}else if(y.type){F==null&&n({source:h,entity:this.constructor.name,attr:p,type:y.type.name,value:F});const J=Object.getPrototypeOf(F).constructor;y.type!==J&&n({source:h,entity:this.constructor.name,attr:p,type:y.type.name,value:F})}}doPrivateCopy(v,h){return r.default.entity(this.constructor).attrs.forEach(w=>{const{name:A,rules:p}=w;if(!Object.prototype.hasOwnProperty.call(v,A)||p.omit)return;if(p.merge){this[A]=p.merge.call(this,v[A],v);return}(v[A]===null||v[A]===void 0)&&(h!=null&&h.ignoreNull)||(this[A]!==null&&this[A]!==void 0&&r.default.has(Object.getPrototypeOf(this[A]).constructor)?this[A].merge(v[A]):Array.isArray(v[A])?this[A]=v[A].map(S=>S):this[A]=v[A])}),this}parse(v,h){var w;if(!v)return this;const A=Object.getPrototypeOf(v).constructor===Object.getPrototypeOf(this).constructor,p=r.default.entity(this.constructor).attrs;if(((w=h==null?void 0:h.igundef)!==null&&w!==void 0?w:e.defaults.igundef)===!1){const y=p.map(R=>R.name),S=Object.keys(this).filter(R=>!y.includes(R));Object.keys(v).filter(R=>S.includes(R)).forEach(R=>{this[R]=v[R]})}return A?this.doPrivateCopy(v):p.forEach(y=>{this.doPrivateParse(y,v,h)}),(h==null?void 0:h.validate)!==!1&&p.forEach(y=>{y.rules.validator&&(Array.isArray(y.rules.validator)?y.rules.validator:[y.rules.validator]).forEach(S=>{S.call(this,this[y.name],this)})}),this}merge(v,h){var w;if(!v)return this;const A=r.default.entity(this.constructor).attrs;if(((w=h==null?void 0:h.igundef)!==null&&w!==void 0?w:e.defaults.igundef)===!1){const p=A.map(S=>S.name),y=Object.keys(this).filter(S=>!p.includes(S));Object.keys(v).filter(S=>y.includes(S)).forEach(S=>{this[S]=v[S]})}return this.doPrivateCopy(v,h),this}recover(v){if(!v)return this;if(Object.getPrototypeOf(v).constructor===Object.getPrototypeOf(this).constructor)this.doPrivateCopy(v);else{const w=r.default.entity(this.constructor).attrs;Object.keys(this).forEach(A=>{var p;if(!Object.prototype.hasOwnProperty.call(v,A))return;const y=(p=w.find(R=>R.name===A))===null||p===void 0?void 0:p.rules;if(y!=null&&y.recover){this[A]=y.recover.call(this,v[A],v);return}const S=this[A]!==null&&this[A]!==void 0?Object.getPrototypeOf(this[A]).constructor:null;if(S&&r.default.has(S)){this[A].recover(v[A]);return}if(y!=null&&y.type){const R=Array.isArray(y==null?void 0:y.type)?y.type[0]:y.type;this[A]=k(v[A],R);return}S?this[A]=k(v[A],S):this[A]=v[A]})}return this}reverse(v){var h;const w={},A=(h=v==null?void 0:v.lightly)!==null&&h!==void 0?h:e.defaults.lightly;
11return r.default.entity(this.constructor).attrs.forEach(p=>{var y,S,R,F;const{name:J,rules:V}=p;if(!V.hasOwnProperty("to")||V.omit||!((y=v==null?void 0:v.exclusion)===null||y===void 0)&&y.includes(J))return;const X=V.reverse?V.reverse.call(this,this[J],this):this[J]!==null&&this[J]!==void 0&&r.default.has(Object.getPrototypeOf(this[J]).constructor)?this[J].reverse():this[J];((R=(S=v==null?void 0:v.blankable)!==null&&S!==void 0?S:V.blankable)!==null&&R!==void 0?R:e.defaults.blankable)===!1&&X===""||A===!0&&[null,void 0].includes(X)||(!((F=V.to)===null||F===void 0)&&F.includes(".")?V.to.split(".").reduce((Y,B,ne,se)=>(ne===se.length-1?Y[B]=X:Y[B]===void 0&&(Y[B]={}),Y[B]),w):w[V.to||J]=X)}),w}runDecorators(v){return r.default.entity(this.constructor).attrs.reduce((h,w)=>{const A=w.rules[v];return h[w.name]=A==null?void 0:A.call(this,this),h},{})}}e.Model=j;const U=()=>function(s){const v=r.default.entity(s),h=Object.getPrototypeOf(s.prototype);if(h.constructor.name!=="Object"&&s!==h.constructor){const w=r.default.entity(h.constructor).attrs;v.merge(w)}v.attrs=v.attrs.sort((w,A)=>!w.rules.dep||w.rules.dep.length===0?-1:w.rules.dep.includes(A.name)?1:-1)};e.entity=U,e.Entity=e.entity;const f=s=>{e.defaults.message=s};e.setMessageFormat=f;const m=s=>{e.defaults.logger=s};e.setLogger=m})(AE);const $S=(e,t,r)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((i,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};var eo={exports:{}},Ee={},to={exports:{}},lr={};function $f(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-
11position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function $E(e,t,r){}function TE(e,t,r){}var IE=/javascript\s*\:/img;function CE(e,t){return IE.test(t)?"":t}lr.whiteList=$f();lr.getDefaultWhiteList=$f;lr.onAttr=$E;lr.onIgnoreAttr=TE;lr.safeAttrValue=CE;var RE={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,i;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Hr=RE;function PE(e,t){e=Hr.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,n=!1,i=0,a=0,o="";function l(){if(!n){var g=Hr.trim(e.slice(i,a)),E=g.indexOf(":");if(E!==-1){var b=Hr.trim(g.slice(0,E)),O=Hr.trim(g.slice(E+1));if(b){var N=t(i,o.length,b,O,g);N&&(o+=N+"; ")}}}i=a+1}for(;a<r;a++){var u=e[a];if(u==="/"&&e[a+1]==="*"){var c=e.indexOf("*/",a+2);if(c===-1)break;a=c+1,i=a+1,n=!1}else u==="("?n=!0:u===")"?n=!1:u===";"?n||l():u===` 12`&&l()}return Hr.trim(o)}var kE=PE,Bn=lr,NE=kE;function nu(e){return e==null}function BE(e){var t={};for(var r in e)t[r]=e[r];return t}function Tf(e){e=BE(e||{}),e.whiteList=e.whiteList||Bn.whiteList,e.onAttr=e.onAttr||Bn.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Bn.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Bn.safeAttrValue,this.options=e}Tf.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,n=r.whiteList,i=r.onAttr,a=r.onIgnoreAttr,o=r.safeAttrValue,l=NE(e,function(u,c,g,E,b){var O=n[g],N=!1;if(O===!0?N=O:typeof O=="function"?N=O(E):O instanceof RegExp&&(N=O.test(E)),N!==!0&&(N=!1),E=o(g,E),!!E){var T={position:c,sourcePosition:u,source:b,isWhite:N};if(N){var I=i(g,E,T);return nu(I)?g+":"+E:I}else{var I=a(g,E,T);if(!nu(I))return I}}});return l};var DE=Tf;(function(e,t){var r=lr,n=DE;function i(o,l){var u=new n(l);return u.process(o)}t=e.exports=i,t.FilterCSS=n;for(var a in r)t[a]=r[a];typeof window!="undefined"&&(window.filterCSS=e.exports)}
vendor: 8,970 bytes, line 12
12)(to,to.exports);var Ho=to.exports,Go={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,i;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,r=t.exec(e);return r?r.index:-1}},FE=Ho.FilterCSS,LE=Ho.getDefaultWhiteList,ri=Go;function If(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var Cf=new FE;function ME(e,t,r){}function jE(e,t,r){}function UE(e,t,r){}function HE(e,t,r){}function Rf(e){return e.replace(WE,"<").replace(VE,">")}function GE(e,t,r,n){if(r=Ff(r),t==="href"||t==="src"){if(r=ri.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(t==="background"){if(Dn.lastIndex=0,Dn.test(r))return""}else if(t==="style"){if(iu.lastIndex=0,iu.test(r)||(au.lastIndex=0,au.test(r)&&(Dn.lastIndex=0,Dn.test(r))))return"";n!==!1&&(n=n||Cf,r=n.process(r))}return r=Lf(r),r}var WE=/</g,VE=/>/g,qE=/"/g,zE=/"/g,KE=/&#([a-zA-Z0-9]*);?/gim,XE=/:?/gim,YE=/&newline;?/gim,Dn=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,iu=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,au=/u\s*r\s*l\s*\(.*/gi;function Pf(e){return e.replace(qE,""")}function kf(e){return e.replace(zE,'"')}function Nf(e){return e.replace(KE,function(r,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function Bf(e){return e.replace(XE,":").replace(YE," ")}function Df(e){for(var t="",r=0,n=e.length;r<n;r++)t+=e.charCodeAt(r)<32?" ":e.charAt(r);return ri.trim(t)}function Ff(e){return e=kf(e),e=Nf(e),e=Bf(e),e=Df(e),e}function Lf(e){return e=Pf(e),e=Rf(e),e}function QE(){return""}function JE(e,t){typeof t!="function"&&(t=function(){});var r=!Array.isArray(e);function n(o){return r?!0:ri.indexOf(e,o)!==-1}var i=[],a=!1;return{onIgnoreTag:function(o,l,u){if(n(o))if(u.isClosing){var c="[/removed]",g=u.position+c.length;return i.push([a!==!1?a:u.position,g]),a=!1,c}else return a||(a=u.position),"[removed]";else return t(o,l,u)},remove:function(o){var l="",u=0;return ri.forEach(i,function(c){l+=o.slice(u,c[0]),u=c[1]}),l+=o.slice(u),l}}}function ZE(e){for(var t="",r=0;r<e.length;){var n=e.indexOf("<!--",r);if(n===-1){t+=e.slice(r);break}t+=e.slice(r,n);var i=e.indexOf("-->",n);if(i===-1)break;r=i+3}return t}function e_(e){var t=e.split("");return t=t.filter(function(r){var n=r.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),t.join("")}Ee.whiteList=If();Ee.getDefaultWhiteList=If;Ee.onTag=ME;Ee.onIgnoreTag=jE;Ee.onTagAttr=UE;Ee.onIgnoreTagAttr=HE;Ee.safeAttrValue=GE;Ee.escapeHtml=Rf;Ee.escapeQuote=Pf;Ee.unescapeQuote=kf;Ee.escapeHtmlEntities=Nf;Ee.escapeDangerHtml5Entities=Bf;Ee.clearNonPrintableCharacter=Df;Ee.friendlyAttrValue=Ff;Ee.escapeAttrValue=Lf;Ee.onIgnoreTagStripAll=QE;Ee.StripTagBody=JE;Ee.stripCommentTag=ZE;Ee.stripBlankChar=e_;Ee.attributeWrapSign='"';Ee.cssFilter=Cf;Ee.getDefaultCSSWhiteList=LE;var Oi={},Dt=Go;function t_(e){var t=Dt.spaceIndex(e),r;return t===-1?r=e.slice(1,-1):r=e.slice(1,t+1),r=Dt.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function r_(e){return e.slice(0,2)==="</"}function n_(e,t,r){var n="",i=0,a=!1,o=!1,l=0,u=e.length,c="",g="";e:for(l=0;l<u;l++){var E=e.charAt(l);if(a===!1){if(E==="<"){a=l;continue}}else if(o===!1){if(E==="<"){n+=r(e.slice(i,l)),a=l,i=l;continue}if(E===">"||l===u-1){n+=r(e.slice(i,a)),g=e.slice(a,l+1),c=t_(g),n+=t(a,n.length,c,g,r_(g)),i=l+1,a=!1;continue}if(E==='"'||E==="'")for(var b=1,O=e.charAt(l-b);O.trim()===""||O==="=";){if(O==="="){o=E;continue e}O=e.charAt(l-++b)}}else if(E===o){o=!1;continue}}return i<u&&(n+=r(e.substr(i))),n}var i_=/[^a-zA-Z0-9\\_:.-]/gim;function a_(e,t){var r=0,n=0,i=[],a=!1,o=e.length;function l(b,O){if(b=Dt.trim(b),b=b.replace(i_,"").toLowerCase(),!(b.length<1)){var N=t(b,O||"");N&&i.push(N)}}for(var u=0;u<o;u++){var c=e.charAt(u),g,E;if(a===!1&&c==="="){a=e.slice(r,u),r=u+1,n=e.charAt(r)==='"'||e.charAt(r)==="'"?r:s_(e,u+1);continue}if(a!==!1&&u===n){if(E=e.indexOf(c,u+1),E===-1)break;g=Dt.trim(e.slice(n+1,E)),l(a,g),a=!1,u=E,r=u+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),a===!1)if(E=o_(e,u),E===-1){g=Dt.trim(e.slice(r,u)),l(g),a=!1,r=u+1;continue}else{u=E-1;continue}else if(E=l_(e,u-1),E===-1){g=Dt.trim(e.slice(r,u)),g=ou(g),l(a,g),a=!1,r=u+1;continue}else continue}return r<e.length&&(a===!1?l(e.slice(r)):l(a,ou(Dt.trim(e.slice(r))))),Dt.trim(i.join(" "))}function o_(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="="?t:-1}}function s_(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="'"||r==='"'?t:-1}}function l_(e,t){for(;t>0;t--){var r=e[t];if(r!==" ")return r==="="?t:-1}}function u_(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function ou(e){return u_(e)?e.substr(1,e.length-2):e}Oi.parseTag=n_;Oi.parseAttr=a_;var c_=Ho.FilterCSS,it=Ee,Mf=Oi,f_=Mf.parseTag,v_=Mf.parseAttr,Vn=Go;function Fn(e){return e==null}function d_(e){var t=Vn.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=Vn.trim(e.slice(t+1,-1));var r=e[e.length-1]==="/";return r&&(e=Vn.trim(e.slice(0,-1))),{html:e,closing:r}}function h_(e){var t={};for(var r in e)t[r]=e[r];return t}function p_(e){var t={};for(var r in e)Array.isArray(e[r])?t[r.toLowerCase()]=e[r].map(function(n){return n.toLowerCase()}):t[r.toLowerCase()]=e[r];return t}function jf(e){e=h_(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=it.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=p_(e.whiteList||e.allowList):e.whiteList=it.whiteList,this.attributeWrapSign=e.singleQuotedAttributeValue===!0?"'":it.attributeWrapSign,e.onTag=e.onTag||it.onTag,e.onTagAttr=e.onTagAttr||it.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||it.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||it.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||it.safeAttrValue,e.escapeHtml=e.escapeHtml||it.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new c_(e.css))}jf.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,n=r.whiteList,i=r.onTag,a=r.onIgnoreTag,o=r.onTagAttr,l=r.onIgnoreTagAttr,u=r.safeAttrValue,c=r.escapeHtml,g=t.attributeWrapSign,E=t.cssFilter;r.stripBlankChar&&(e=it.stripBlankChar(e)),r.allowCommentTag||(e=it.stripCommentTag(e));var b=!1;r.stripIgnoreTagBody&&(b=it.StripTagBody(r.stripIgnoreTagBody,a),a=b.onIgnoreTag);var O=f_(e,function(N,T,I,C,d){var $={sourcePosition:N,position:T,isClosing:d,isWhite:Object.prototype.hasOwnProperty.call(n,I)},k=i(I,C,$);if(!Fn(k))return k;if($.isWhite){if($.isClosing)return"</"+I+">";var W=d_(C),j=n[I],U=v_(W.html,function(f,m){var s=Vn.indexOf(j,f)!==-1,v=o(I,f,m,s);return Fn(v)?s?(m=u(I,f,m,E),m?f+"="+g+m+g:f):(v=l(I,f,m,s),Fn(v)?void 0:v):v});return C="<"+I,U&&(C+=" "+U),W.closing&&(C+=" /"),C+=">",C}else return k=a(I,C,$),Fn(k)?c(C):k},c);return b&&(O=b.remove(O)),O};var g_=jf;(function(e,t){var r=Ee,n=Oi,i=g_;function a(l,u){var c=new i(u);return c.process(l)}t=e.exports=a,t.filterXSS=a,t.FilterXSS=i,function(){for(var l in r)t[l]=r[l];for(var u in n)t[u]=n[u]}(),typeof window!="undefined"&&(window.filterXSS=e.exports);function o(){return typeof self!="undefined"&&typeof DedicatedWorkerGlobalScope!="undefined"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=e.exports)}
vendor: 9,414 bytes, line 12
12)(eo,eo.exports);var m_=eo.exports;const TS=st(m_);function y_(){if(typeof window=="undefined"||typeof document=="undefined")return()=>{};const e=window._SVG_SPRITE_IDS_=window._SVG_SPRITE_IDS_||[],t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.style.position="absolute",t.style.width="0",t.style.height="0";function r(){document.body.insertBefore(t,document.body.firstChild)}return document.readyState==="loading"?document.addEventListener("DOMContentLoaded",r):r(),function(i,a){(e.indexOf(a)>-1||document.getElementById(a))&&console.warn(`Icon #${a} was duplicately registered. It must be globally unique.`),e.push(a),t.insertAdjacentHTML("beforeend",i)}}const IS=y_();function Ye(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function or(e){var t=Ye(e).Element;return e instanceof t||e instanceof Element}function ot(e){var t=Ye(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Wo(e){if(typeof ShadowRoot=="undefined")return!1;var t=Ye(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var er=Math.max,ni=Math.min,Sr=Math.round;function ro(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Uf(){return!/^((?!chrome|android).)*safari/i.test(ro())}function Ar(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&ot(e)&&(i=e.offsetWidth>0&&Sr(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Sr(n.height)/e.offsetHeight||1);var o=or(e)?Ye(e):window,l=o.visualViewport,u=!Uf()&&r,c=(n.left+(u&&l?l.offsetLeft:0))/i,g=(n.top+(u&&l?l.offsetTop:0))/a,E=n.width/i,b=n.height/a;return{width:E,height:b,top:g,right:c+E,bottom:g+b,left:c,x:c,y:g}}function Vo(e){var t=Ye(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function w_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function b_(e){return e===Ye(e)||!ot(e)?Vo(e):w_(e)}function wt(e){return e?(e.nodeName||"").toLowerCase():null}function Kt(e){return((or(e)?e.ownerDocument:e.document)||window.document).documentElement}function qo(e){return Ar(Kt(e)).left+Vo(e).scrollLeft}function It(e){return Ye(e).getComputedStyle(e)}function zo(e){var t=It(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function E_(e){var t=e.getBoundingClientRect(),r=Sr(t.width)/e.offsetWidth||1,n=Sr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function __(e,t,r){r===void 0&&(r=!1);var n=ot(t),i=ot(t)&&E_(t),a=Kt(t),o=Ar(e,i,r),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((wt(t)!=="body"||zo(a))&&(l=b_(t)),ot(t)?(u=Ar(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=qo(a))),{x:o.left+l.scrollLeft-u.x,y:o.top+l.scrollTop-u.y,width:o.width,height:o.height}}function Hf(e){var t=Ar(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Si(e){return wt(e)==="html"?e:e.assignedSlot||e.parentNode||(Wo(e)?e.host:null)||Kt(e)}function Gf(e){return["html","body","#document"].indexOf(wt(e))>=0?e.ownerDocument.body:ot(e)&&zo(e)?e:Gf(Si(e))}function Kr(e,t){var r;t===void 0&&(t=[]);var n=Gf(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Ye(n),o=i?[a].concat(a.visualViewport||[],zo(n)?n:[]):n,l=t.concat(o);return i?l:l.concat(Kr(Si(o)))}function O_(e){return["table","td","th"].indexOf(wt(e))>=0}function su(e){return!ot(e)||It(e).position==="fixed"?null:e.offsetParent}function S_(e){var t=/firefox/i.test(ro()),r=/Trident/i.test(ro());if(r&&ot(e)){var n=It(e);if(n.position==="fixed")return null}var i=Si(e);for(Wo(i)&&(i=i.host);ot(i)&&["html","body"].indexOf(wt(i))<0;){var a=It(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Ai(e){for(var t=Ye(e),r=su(e);r&&O_(r)&&It(r).position==="static";)r=su(r);return r&&(wt(r)==="html"||wt(r)==="body"&&It(r).position==="static")?t:r||S_(e)||t}var mt="top",Ht="bottom",Gt="right",yt="left",A_="auto",Ko=[mt,Ht,Gt,yt],Zr="start",en="end",x_="clippingParents",Wf="viewport",Gr="popper",$_="reference",CS=Ko.reduce(function(e,t){return e.concat([t+"-"+Zr,t+"-"+en])},[]),T_=[].concat(Ko,[A_]).reduce(function(e,t){return e.concat([t,t+"-"+Zr,t+"-"+en])},[]),I_="beforeRead",C_="read",R_="afterRead",P_="beforeMain",k_="main",N_="afterMain",B_="beforeWrite",D_="write",F_="afterWrite",L_=[I_,C_,R_,P_,k_,N_,B_,D_,F_];function M_(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(l){if(!r.has(l)){var u=t.get(l);u&&i(u)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function j_(e){var t=M_(e);return L_.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function U_(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function H_(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}function G_(e,t){var r=Ye(e),n=Kt(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,l=0,u=0;if(i){a=i.width,o=i.height;var c=Uf();(c||!c&&t==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:a,height:o,x:l+qo(e),y:u}}function W_(e){var t,r=Kt(e),n=Vo(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=er(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=er(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+qo(e),u=-n.scrollTop;return It(i||r).direction==="rtl"&&(l+=er(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:l,y:u}}function V_(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Wo(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function no(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function q_(e,t){var r=Ar(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function lu(e,t,r){return t===Wf?no(G_(e,r)):or(t)?q_(t,r):no(W_(Kt(e)))}function z_(e){var t=Kr(Si(e)),r=["absolute","fixed"].indexOf(It(e).position)>=0,n=r&&ot(e)?Ai(e):e;return or(n)?t.filter(function(i){return or(i)&&V_(i,n)&&wt(i)!=="body"}):[]}function K_(e,t,r,n){var i=t==="clippingParents"?z_(e):[].concat(t),a=[].concat(i,[r]),o=a[0],l=a.reduce(function(u,c){var g=lu(e,c,n);return u.top=er(g.top,u.top),u.right=ni(g.right,u.right),u.bottom=ni(g.bottom,u.bottom),u.left=er(g.left,u.left),u},lu(e,o,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function xi(e){return e.split("-")[0]}function Xo(e){return e.split("-")[1]}function Vf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qf(e){var t=e.reference,r=e.element,n=e.placement,i=n?xi(n):null,a=n?Xo(n):null,o=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,u;switch(i){case mt:u={x:o,y:t.y-r.height};break;case Ht:u={x:o,y:t.y+t.height};break;case Gt:u={x:t.x+t.width,y:l};break;case yt:u={x:t.x-r.width,y:l};break;default:u={x:t.x,y:t.y}}var c=i?Vf(i):null;if(c!=null){var g=c==="y"?"height":"width";switch(a){case Zr:u[c]=u[c]-(t[g]/2-r[g]/2);break;case en:u[c]=u[c]+(t[g]/2-r[g]/2);break}}return u}function zf(){return{top:0,right:0,bottom:0,left:0}}function X_(e){return Object.assign({},zf(),e)}function Y_(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}function Q_(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,l=r.boundary,u=l===void 0?x_:l,c=r.rootBoundary,g=c===void 0?Wf:c,E=r.elementContext,b=E===void 0?Gr:E,O=r.altBoundary,N=O===void 0?!1:O,T=r.padding,I=T===void 0?0:T,C=X_(typeof I!="number"?I:Y_(I,Ko)),d=b===Gr?$_:Gr,$=e.rects.popper,k=e.elements[N?d:b],W=K_(or(k)?k:k.contextElement||Kt(e.elements.popper),u,g,o),j=Ar(e.elements.reference),U=qf({reference:j,element:$,placement:i}),f=no(Object.assign({},$,U)),m=b===Gr?f:j,s={top:W.top-m.top+C.top,bottom:m.bottom-W.bottom+C.bottom,left:W.left-m.left+C.left,right:m.right-W.right+C.right},v=e.modifiersData.offset;if(b===Gr&&v){var h=v[i];Object.keys(s).forEach(function(w){var A=[Gt,Ht].indexOf(w)>=0?1:-1,p=[mt,Ht].indexOf(w)>=0?"y":"x";s[w]+=h[p]*A})}return s}var uu={placement:"bottom",modifiers:[],strategy:"absolute"};function cu(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function J_(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?uu:i;return function(l,u,c){c===void 0&&(c=a);var g={placement:"bottom",orderedModifiers:[],options:Object.assign({},uu,a),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},E=[],b=!1,O={state:g,setOptions:function(C){var d=typeof C=="function"?C(g.o
vendor: 4,206 bytes, line 12
12ptions):C;T(),g.options=Object.assign({},a,g.options,d),g.scrollParents={reference:or(l)?Kr(l):l.contextElement?Kr(l.contextElement):[],popper:Kr(u)};var $=j_(H_([].concat(n,g.options.modifiers)));return g.orderedModifiers=$.filter(function(k){return k.enabled}),N(),O.update()},forceUpdate:function(){if(!b){var C=g.elements,d=C.reference,$=C.popper;if(cu(d,$)){g.rects={reference:__(d,Ai($),g.options.strategy==="fixed"),popper:Hf($)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach(function(s){return g.modifiersData[s.name]=Object.assign({},s.data)});for(var k=0;k<g.orderedModifiers.length;k++){if(g.reset===!0){g.reset=!1,k=-1;continue}var W=g.orderedModifiers[k],j=W.fn,U=W.options,f=U===void 0?{}:U,m=W.name;typeof j=="function"&&(g=j({state:g,options:f,name:m,instance:O})||g)}}}},update:U_(function(){return new Promise(function(I){O.forceUpdate(),I(g)})}),destroy:function(){T(),b=!0}};if(!cu(l,u))return O;O.setOptions(c).then(function(I){!b&&c.onFirstUpdate&&c.onFirstUpdate(I)});function N(){g.orderedModifiers.forEach(function(I){var C=I.name,d=I.options,$=d===void 0?{}:d,k=I.effect;if(typeof k=="function"){var W=k({state:g,name:C,instance:O,options:$}),j=function(){};E.push(W||j)}})}function T(){E.forEach(function(I){return I()}),E=[]}return O}}var Ln={passive:!0};function Z_(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,l=o===void 0?!0:o,u=Ye(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(g){g.addEventListener("scroll",r.update,Ln)}),l&&u.addEventListener("resize",r.update,Ln),function(){a&&c.forEach(function(g){g.removeEventListener("scroll",r.update,Ln)}),l&&u.removeEventListener("resize",r.update,Ln)}}const eO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Z_,data:{}};function tO(e){var t=e.state,r=e.name;t.modifiersData[r]=qf({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const rO={name:"popperOffsets",enabled:!0,phase:"read",fn:tO,data:{}};var nO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function iO(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Sr(r*i)/i||0,y:Sr(n*i)/i||0}}function fu(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,g=e.roundOffsets,E=e.isFixed,b=o.x,O=b===void 0?0:b,N=o.y,T=N===void 0?0:N,I=typeof g=="function"?g({x:O,y:T}):{x:O,y:T};O=I.x,T=I.y;var C=o.hasOwnProperty("x"),d=o.hasOwnProperty("y"),$=yt,k=mt,W=window;if(c){var j=Ai(r),U="clientHeight",f="clientWidth";if(j===Ye(r)&&(j=Kt(r),It(j).position!=="static"&&l==="absolute"&&(U="scrollHeight",f="scrollWidth")),j=j,i===mt||(i===yt||i===Gt)&&a===en){k=Ht;var m=E&&j===W&&W.visualViewport?W.visualViewport.height:j[U];T-=m-n.height,T*=u?1:-1}if(i===yt||(i===mt||i===Ht)&&a===en){$=Gt;var s=E&&j===W&&W.visualViewport?W.visualViewport.width:j[f];O-=s-n.width,O*=u?1:-1}}var v=Object.assign({position:l},c&&nO),h=g===!0?iO({x:O,y:T},Ye(r)):{x:O,y:T};if(O=h.x,T=h.y,u){var w;return Object.assign({},v,(w={},w[k]=d?"0":"",w[$]=C?"0":"",w.transform=(W.devicePixelRatio||1)<=1?"translate("+O+"px, "+T+"px)":"translate3d("+O+"px, "+T+"px, 0)",w))}return Object.assign({},v,(t={},t[k]=d?T+"px":"",t[$]=C?O+"px":"",t.transform="",t))}function aO(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,l=r.roundOffsets,u=l===void 0?!0:l,c={placement:xi(t.placement),variation:Xo(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,fu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,fu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const oO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aO,data:{}};function sO(e){var t=e.state;
vendor: 4,359 bytes, line 12
12Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!ot(a)||!wt(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var l=i[o];l===!1?a.removeAttribute(o):a.setAttribute(o,l===!0?"":l)}))})}function lO(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=o.reduce(function(u,c){return u[c]="",u},{});!ot(i)||!wt(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}const uO={name:"applyStyles",enabled:!0,phase:"write",fn:sO,effect:lO,requires:["computeStyles"]};var cO=[eO,rO,oO,uO],RS=J_({defaultModifiers:cO});function fO(e,t,r){var n=xi(e),i=[yt,mt].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],l=a[1];return o=o||0,l=(l||0)*i,[yt,Gt].indexOf(n)>=0?{x:l,y:o}:{x:o,y:l}}function vO(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=T_.reduce(function(g,E){return g[E]=fO(E,t.rects,a),g},{}),l=o[t.placement],u=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}const PS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:vO};function dO(e){return e==="x"?"y":"x"}function qn(e,t,r){return er(e,ni(t,r))}function hO(e,t,r){var n=qn(e,t,r);return n>r?r:n}function pO(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,l=o===void 0?!1:o,u=r.boundary,c=r.rootBoundary,g=r.altBoundary,E=r.padding,b=r.tether,O=b===void 0?!0:b,N=r.tetherOffset,T=N===void 0?0:N,I=Q_(t,{boundary:u,rootBoundary:c,padding:E,altBoundary:g}),C=xi(t.placement),d=Xo(t.placement),$=!d,k=Vf(C),W=dO(k),j=t.modifiersData.popperOffsets,U=t.rects.reference,f=t.rects.popper,m=typeof T=="function"?T(Object.assign({},t.rects,{placement:t.placement})):T,s=typeof m=="number"?{mainAxis:m,altAxis:m}:Object.assign({mainAxis:0,altAxis:0},m),v=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,h={x:0,y:0};if(j){if(a){var w,A=k==="y"?mt:yt,p=k==="y"?Ht:Gt,y=k==="y"?"height":"width",S=j[k],R=S+I[A],F=S-I[p],J=O?-f[y]/2:0,V=d===Zr?U[y]:f[y],X=d===Zr?-f[y]:-U[y],Y=t.elements.arrow,B=O&&Y?Hf(Y):{width:0,height:0},ne=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:zf(),se=ne[A],pe=ne[p],ge=qn(0,U[y],B[y]),Ce=$?U[y]/2-J-ge-se-s.mainAxis:V-ge-se-s.mainAxis,_=$?-U[y]/2+J+ge+pe+s.mainAxis:X+ge+pe+s.mainAxis,x=t.elements.arrow&&Ai(t.elements.arrow),P=x?k==="y"?x.clientTop||0:x.clientLeft||0:0,G=(w=v==null?void 0:v[k])!=null?w:0,D=S+Ce-G-P,M=S+_-G,K=qn(O?ni(R,D):R,S,O?er(F,M):F);j[k]=K,h[k]=K-S}if(l){var L,H=k==="x"?mt:yt,z=k==="x"?Ht:Gt,q=j[W],Q=W==="y"?"height":"width",ae=q+I[H],oe=q-I[z],fe=[mt,yt].indexOf(C)!==-1,me=(L=v==null?void 0:v[W])!=null?L:0,Oe=fe?ae:q-U[Q]-f[Q]-me+s.altAxis,ve=fe?q+U[Q]+f[Q]-me-s.altAxis:oe,de=O&&fe?hO(Oe,q,ve):qn(O?Oe:ae,q,O?ve:oe);j[W]=de,h[W]=de-q}t.modifiersData[n]=h}}const kS={name:"preventOverflow",enabled:!0,phase:"main",fn:pO,requiresIfExists:["offset"]};export{xS as $,nS as A,wS as B,SE as C,_O as D,Xb as E,oS as F,lS as G,OO as H,rb as I,bf as J,qb as K,mf as L,yS as M,fS as N,tS as O,XO as P,jc as Q,Ut as R,SS as S,bS as T,ES as U,CO as V,RO as W,TO as X,wO as Y,PO as Z,yO as _,IS as a,bO as a0,EO as a1,BO as a2,FO as a3,WO as a4,GO as a5,HO as a6,MO as a7,LO as a8,jO as a9,cS as aA,vS as aB,AS as aC,V_ as aD,xi as aE,Hf as aF,Ai as aG,qn as aH,X_ as aI,Y_ as aJ,Ko as aK,Vf as aL,mt as aM,yt as aN,Ht as aO,Gt as aP,Xo as aQ,CS as aR,T_ as aS,Q_ as aT,A_ as aU,Zr as aV,nE as aW,hS as aX,VO as aa,UO as ab,DO as ac,Xe as ad,Hc as ae,Yl as af,AE as ag,qO as ah,gS as ai,pS as aj,$S as ak,Ow as al,m_ as am,TS as an,Ll as ao,xO as ap,aS as aq,Zb as ar,PS as as,kS as at,RS as au,Eb as av,Sb as aw,YO as ax,eS as ay,ZO as az,kO as b,yb as c,mS as d,sS as e,AO as f,QO as g,Kb as h,iS as i,st as j,we as k,jw as l,rS as m,Ul as n,lE as o,_S as p,Ie as q,wb as r,mw as s,dS as t,uS as u,Dl as v,JO as w,KO as x,zO as y,OS as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.