PageSourceSearch

https://aizzy.ai/assets/b1066814604/main-BnR24Ft-.js

js aizzy.ai collected 2026-10-05 11:47:44 UTC 575,497 bytes, 66 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/b1066814604/web-BoQbxVTz.js","assets/b1066814604/dist-CmmY6pGV.js","assets/b1066814604/web-DLX7bWlt.js","assets/b1066814604/web-Dpm3YJ8u.js","assets/b1066814604/KnowledgeScopeService-zMsBz_H8.js","assets/b1066814604/rolldown-runtime-C0FnF6B9.js","assets/b1066814604/time-uEQ0kgHJ.js","assets/b1066814604/time-CZR_GkK7.js","assets/b1066814604/format-DJMY5r_3.js","assets/b1066814604/pdf-DQZ4jI0q.js","assets/b1066814604/ai-BSRUqpCb.js","assets/b1066814604/base-E_f_HYm-.js","assets/b1066814604/logger-8O_OoPJu.js","assets/b1066814604/errorReporter-yb4Jlz1C.js","assets/b1066814604/KnowledgeFolderService-Bykh8Und.js","assets/b1066814604/UserLocalRepository-DLn-WldE.js","assets/b1066814604/StorageHelper-DUObh9D9.js","assets/b1066814604/index.browser-D65rSomk.js","assets/b1066814604/chat-X-WtSgRO.js","assets/b1066814604/vendor-DlfC4ZQ6.js","assets/b1066814604/query-DAtxUNYh.js","assets/b1066814604/ui-C13mE2LO.js","assets/b1066814604/ui-1whHLOYP.js","assets/b1066814604/messages-DhuAeRJk.js","assets/b1066814604/runtime-6CwPqz2V.js","assets/b1066814604/routes-CuejvpMH.js","assets/b1066814604/ModelAccess-CrQsKaNe.js","assets/b1066814604/ui-BVysYbtm.js","assets/b1066814604/react-CbeqxWOI.js","assets/b1066814604/breakpoints-C38NzeHt.js","assets/b1066814604/UserService-Cqw9BgwW.js","assets/b1066814604/replyLanguage-1kdtojg8.js","assets/b1066814604/sessionManager-D0RGnSSO.js","assets/b1066814604/http-CW0ejgmv.js","assets/b1066814604/api_core-8Z4ciCkl.js","assets/b1066814604/useEventListener-B1KLhn1Q.js","assets/b1066814604/IconCheck-B-8N-OCm.js","assets/b1066814604/ModalSelectModel-DS6-DJV5.js","assets/b1066814604/useResponsive-D-Iu7id8.js","assets/b1066814604/assistant-hEtxO-CJ.js","assets/b1066814604/openrouterDirect-eAcN-GH2.js","assets/b1066814604/notification-DTK2yGr3.js","assets/b1066814604/dist-DyMjCtlc.js","assets/b1066814604/ChatLocalService-ByKJvt14.js","assets/b1066814604/chatHelpers-C2Ed9n0O.js","assets/b1066814604/messageHelpers-Cmi5ITWO.js","assets/b1066814604/liveDataTurns-CLs7YXXn.js","assets/b1066814604/ClientSecretVaultService-RVmxsXmE.js","assets/b1066814604/chat-PKBpqg5h.js","assets/b1066814604/conversationTree-U9Wz5Q7R.js","assets/b1066814604/ModalSelectModel-Bdbi0viN.css","assets/b1066814604/IconCoin-BoddqMwW.js","assets/b1066814604/IconCopy-CzUrVvip.js","assets/b1066814604/IconDownload-CFupwarT.js","assets/b1066814604/useAssistantCategoryTabs-CbxFuLxz.js","assets/b1066814604/useUserHook-DoQTlJvP.js","assets/b1066814604/globalThis-Cb5RZ8_X.js","assets/b1066814604/ReactQuery-Df6vSfXH.js","assets/b1066814604/VectorLocalRepository-_jFacbby.js","assets/b1066814604/ChatDocumentRepository-B4M4MuK-.js","assets/b1066814604/serviceError-BXwEUg3i.js","assets/b1066814604/download-D2t59ici.js","assets/b1066814604/hooks-CF4C3R58.js","assets/b1066814604/useSharedChatWorker-C3HR9iwJ.js","assets/b1066814604/nativeShell-CCjFKYnZ.js","assets/b1066814604/browserNotification-BW8iqo2Q.js","assets/b1066814604/useAsyncAction-DbrOKeIx.js","assets/b1066814604/useUpdateLanguage-CJ_5Z-w5.js","assets/b1066814604/timeouts-UipEOX-R.js","assets/b1066814604/solana-D1v_0x3R.js","assets/b1066814604/walletSession-0gYMouGM.js","assets/b1066814604/walletDeepLink-DyylPdp-.js","assets/b1066814604/walletWebDeepLinkAuth-KBN7b9Vh.js","assets/b1066814604/phantomDeepLink-IyZEm0pA.js","assets/b1066814604/markdown-BbdpezuE.js","assets/b1066814604/walletWebFlowStore-CzkMd94v.js","assets/b1066814604/tokenRefresh-iE05mRzZ.js","assets/b1066814604/storage-NR1sjHEW.js","assets/b1066814604/HybridChannelService-BHqSVeNH.js","assets/b1066814604/ChannelExportMessages-BJaqVTMe.js","assets/b1066814604/ChannelExportPdfRenderer-Di2ygCwn.js","assets/b1066814604/ChannelExportMarkdownRenderer-56rFhh4r.js","assets/b1066814604/ChannelOperations-CEsu0mtz.js","assets/b1066814604/LocalExtractionSupport-Cu8nvHD0.js","assets/b1066814604/ImageOcrBatchService-BcQL5hNo.js","assets/b1066814604/ImageOcrLocalRepository-BEg_sZtC.js","assets/b1066814604/GeneratedImageRepository-B_ImRsXm.js","assets/b1066814604/workerFactory-Cy37MUpG.js","assets/b1066814604/ai.worker-BfOpMG0N.js","assets/b1066814604/ocrLanguage-DrbfT7CK.js","assets/b1066814604/sendValidation-DJA3imVc.js","assets/b1066814604/ragEmbedding-Cie4doeQ.js","assets/b1066814604/VectorService-Cuo78pPN.js","assets/b1066814604/ChannelRemoteRepository-BsRAUGcv.js","assets/b1066814604/PromptLibraryService-CQqHaTxQ.js","assets/b1066814604/appEntry-CQNf5o7m.js","assets/b1066814604/textQuality-BE3e505i.js","assets/b1066814604/imageOcrStore-DLvuRI3K.js","assets/b1066814604/copyToClipboard-VceKG1iP.js","assets/b1066814604/SeoHead-vkFpgtkK.js","assets/b1066814604/AmountPresetRow-Bdrxqcyn.js","assets/b1066814604/chat-CfZr5h3H.css","assets/b1066814604/credits-payment-C5Ev6XER.css","assets/b1066814604/assistants-B3o30Jah.js","assets/b1066814604/IconInfoCircle-Dr0kCwE6.js","assets/b1066814604/ModalFooter-BzI8iHz-.js","assets/b1066814604/settings-IrmMYeB3.js","assets/b1066814604/formatTimeAgo-CA4B2m5o.js","assets/b1066814604/IconMail-BKgwVd01.js","assets/b1066814604/setupBlocks-Bkz6kIJD.js","assets/b1066814604/fileReader-C0E9Y7ua.js","assets/b1066814604/DecisionsApi-Dl20rrCg.js","assets/b1066814604/CopyRow-C236UGj_.js","assets/b1066814604/useOrderPaymentClaim-BDkRUWH3.js","assets/b1066814604/settings-Bsf_uEHe.css","assets/b1066814604/LandingOrChat-DwmZyZzE.js","assets/b1066814604/Index-MZPV3ime.js","assets/b1066814604/FooterLandingPage-WI6JS5MG.js","assets/b1066814604/TitleSectionLandingPage-CUU2dUkv.js","assets/b1066814604/PageMaintenance-fLN--HKP.js","assets/b1066814604/icon-D1Owc6hh.js","assets/b1066814604/Roadmap-hZbmVnoq.js","assets/b1066814604/HighlightedTitle-DYm-RBiX.js","assets/b1066814604/AIAudit-CTHwBrBE.js","assets/b1066814604/Pricing-Cg2jjRYs.js","assets/b1066814604/paymentMethods-7fzJ11dQ.js","assets/b1066814604/PhantomDeepLinkCallback-ziuLF_6x.js","assets/b1066814604/WalletDeepLinkCallback-Bgx3s6T9.js","assets/b1066814604/walletFlowFailure-CdCn-lCv.js","assets/b1066814604/SolflareDeepLinkCallback-DqjNo8Qv.js","assets/b1066814604/WalletWebDeepLinkCallback-DxThdbUt.js","assets/b1066814604/PhantomPayCallback-pr2GPWjH.js","assets/b1066814604/phantomPayDeepLink-BWJ-4D2J.js","assets/b1066814604/solanaPaymentUtils-C7claZQh.js","assets/b1066814604/AppleAuthCallback-DCqHG5x9.js","assets/b1066814604/DeviceLinkApproval-DqArMxgU.js","assets/b1066814604/pendingDeviceLink-CGn2mvYj.js","assets/b1066814604/GoogleAuthCallback-D_xfH7Rt.js","assets/b1066814604/OAuthCallbackPage-8mHiSUpu.js","assets/b1066814604/community-DgwQ2vPO.js","assets/b1066814604/ConnectCodingAgents-UcXugE7T.js","assets/b1066814604/PublicPayPage-5BDwsloW.js","assets/b1066814604/purchaseSurface-CIWk8U6J.js"])))=>i.map(i=>d[i]);
2import{o as e,r as t,t as n}from"./rolldown-runtime-C0FnF6B9.js";import{a as r,i,n as a,o,r as s,s as c,t as l,u}from"./vendor-DlfC4ZQ6.js";import{i as d,o as f,s as p}from"./query-DAtxUNYh.js";import{C as m}from"./ui-C13mE2LO.js";import{r as h}from"./time-CZR_GkK7.js";import{n as g,r as _}from"./time-uEQ0kgHJ.js";import{_ as v,d as y,g as b,h as x,o as S,s as C,t as w}from"./errorReporter-yb4Jlz1C.js";import{n as T,t as E}from"./logger-8O_OoPJu.js";import{a as D,d as O,f as k,n as A,p as j,t as M}from"./format-DJMY5r_3.js";import{B as N,C as P,E as F,H as I,J as L,K as ee,R as te,S as ne,U as re,V as ie,_ as ae,_t as oe,at as R,c as se,ct as z,d as ce,dt as le,et as ue,f as de,ft as fe,gt as pe,ht as B,it as V,lt as me,m as he,mt as ge,ot as _e,p as ve,pt as ye,q as be,rt as H,st as xe,t as Se,ut as Ce,y as we,z as Te}from"./ui-1whHLOYP.js";import{t as Ee}from"./dist-DyMjCtlc.js";import{r as De}from"./runtime-6CwPqz2V.js";import{$ as Oe,$C as ke,$O as Ae,$S as je,$_ as Me,$x as Ne,A as Pe,A_ as Fe,BS as Ie,B_ as Le,Bd as Re,C as ze,C_ as Be,Ct as Ve,Cv as He,D as Ue,D_ as We,Dt as Ge,E as Ke,E_ as qe,Et as Je,F as Ye,FS as Xe,F_ as Ze,G as Qe,GS as $e,G_ as et,Gx as tt,H as nt,HS as rt,H_ as it,Hx as at,I as ot,IS as st,I_ as ct,J as lt,JD as ut,J_ as dt,Jx as ft,K as pt,KS as mt,K_ as ht,Kx as gt,LS as _t,L_ as vt,Ld as yt,M as bt,M_ as xt,N as St,NS as Ct,N_ as wt,O as Tt,OT as Et,O_ as Dt,Ot,P as kt,PS as At,P_ as jt,Q as Mt,QO as Nt,QS as Pt,Q_ as Ft,Qx as It,RS as Lt,R_ as Rt,Rd as zt,S as Bt,S_ as Vt,St as Ht,Sv as Ut,T as Wt,T_ as Gt,Tt as Kt,U as qt,UE as Jt,US as Yt,U_ as Xt,Ux as Zt,VS as Qt,V_ as $t,Vd as en,Vx as tn,W as nn,WS as rn,W_ as an,Wg as on,Wx as sn,X as cn,XO as ln,XS as un,X_ as dn,Xg as fn,Xx as pn,Y as mn,YO as hn,YS as gn,YT as _n,Y_ as vn,Yg as yn,Yx as bn,Z as xn,ZO as Sn,ZS as Cn,Z_ as wn,Zg as Tn,Zx as En,__ as Dn,_t as On,_v as kn,a as An,aS as jn,ab as Mn,at as Nn,av as Pn,b_ as Fn,bt as In,bv as Ln,c as Rn,c_ as zn,ct as Bn,cv as Vn,d as Hn,d_ as Un,dt as Wn,dv as Gn,eC as Kn,eS as qn,ek as Jn,et as Yn,ev as Xn,ew as Zn,f as Qn,f_ as $n,fk as er,ft as tr,fv as nr,g as rr,g_ as ir,gt as ar,gv as or,gx as sr,h as cr,h_ as lr,hf as ur,hl as dr,ht as fr,hv as pr,iS as mr,it as hr,iv as gr,j as _r,j_ as vr,k as yr,k_ as br,kt as xr,l as Sr,l_ as Cr,lt as wr,lv as Tr,m as Er,m_ as Dr,mt as Or,mv as kr,mx as Ar,nS as jr,
vendor: 4,620 bytes, line 2
2nt as Mr,nv as Nr,o as Pr,oS as Fr,ot as Ir,ov as Lr,p as Rr,p_ as zr,pk as Br,pt as Vr,pv as Hr,q as Ur,qS as Wr,qT as Gr,q_ as Kr,qx as qr,rS as Jr,rk as Yr,rt as Xr,rv as Zr,s as Qr,sS as $r,s_ as ei,st as ti,sv as ni,tC as ri,tS as ii,tt as ai,tv as oi,tw as si,u as ci,uS as li,u_ as ui,ut as di,uv as fi,v_ as pi,vt as mi,vv as hi,w as gi,wT as _i,w_ as vi,wt as yi,wv as bi,x as xi,x_ as Si,xt as Ci,xv as wi,y_ as Ti,yt as Ei,yv as Di,zS as Oi,z_ as ki,zd as Ai}from"./messages-DhuAeRJk.js";import{t as U}from"./routes-CuejvpMH.js";import{a as ji,o as Mi}from"./useSharedChatWorker-C3HR9iwJ.js";import{_ as Ni,i as Pi,l as Fi,n as Ii,o as Li}from"./ModelAccess-CrQsKaNe.js";import{a as Ri,n as zi,o as Bi,t as Vi}from"./ui-BVysYbtm.js";import{n as Hi,t as Ui}from"./UserLocalRepository-DLn-WldE.js";import{h as Wi,t as Gi}from"./UserService-Cqw9BgwW.js";import{a as Ki,i as qi}from"./replyLanguage-1kdtojg8.js";import{s as Ji}from"./ai-BSRUqpCb.js";import{t as Yi}from"./useEventListener-B1KLhn1Q.js";import{i as Xi,t as Zi}from"./dist-CmmY6pGV.js";import{a as Qi,d as $i,i as ea,l as ta,n as na,o as ra,r as ia,t as aa,u as oa}from"./phantomDeepLink-IyZEm0pA.js";import{a as sa,d as ca,i as la,l as ua,n as da,o as fa,r as pa,s as ma,u as ha}from"./nativeShell-CCjFKYnZ.js";import{a as ga,i as _a,t as va}from"./ModalSelectModel-DS6-DJV5.js";import{t as ya}from"./IconDownload-CFupwarT.js";import{f as ba,i as xa,m as Sa,n as Ca,o as wa,p as Ta,r as Ea,s as Da}from"./useUserHook-DoQTlJvP.js";import{t as Oa}from"./react-CbeqxWOI.js";import{n as ka,r as Aa}from"./base-E_f_HYm-.js";import{n as ja}from"./KnowledgeScopeService-zMsBz_H8.js";import{n as Ma}from"./notification-DTK2yGr3.js";import{t as Na}from"./useAsyncAction-DbrOKeIx.js";import{C as Pa,J as Fa,K as Ia,X as La,Y as Ra,Z as za,at as Ba,ct as Va,dt as Ha,n as Ua,ot as Wa,q as Ga,st as Ka,t as qa}from"./hooks-CF4C3R58.js";import{i as Ja,r as Ya}from"./sessionManager-D0RGnSSO.js";import{t as Xa}from"./http-CW0ejgmv.js";import{a as Za,i as Qa,n as $a,r as eo,t as to}from"./walletSession-0gYMouGM.js";import{a as no,i as ro,n as io,o as ao,r as oo,s as so}from"./walletDeepLink-DyylPdp-.js";import"./walletWebFlowStore-CzkMd94v.js";import{t as co}from"./useResponsive-D-Iu7id8.js";import{r as lo,t as uo}from"./ReactQuery-Df6vSfXH.js";import{a as fo}from"./chatHelpers-C2Ed9n0O.js";import{i as po,n as mo}from"./ChatLocalService-ByKJvt14.js";import{n as ho}from"./ChannelExportMessages-BJaqVTMe.js";import{n as go}from"./ChannelOperations-CEsu0mtz.js";import{b as _o,g as vo,y as yo}from"./ImageOcrBatchService-BcQL5hNo.js";import{n as bo}from"./ClientSecretVaultService-RVmxsXmE.js";import{n as xo}from"./chat-PKBpqg5h.js";import{c as So}from"./sendValidation-DJA3imVc.js";import{a as Co,i as wo,n as To}from"./KnowledgeFolderService-Bykh8Und.js";import{t as Eo}from"./paymentMethods-7fzJ11dQ.js";import{a as Do,i as Oo,n as ko,r as Ao}from"./solanaPayWallet-Bfb4cKos.js";import{i as jo,n as Mo,r as No,t as Po}from"./topUpIntent-CPZP36ps.js";import{a as Fo,i as Io,o as Lo,t as Ro}from"./pendingDeviceLink-CGn2mvYj.js";var W=n(((e,t)=>{var n=function(e){return e&&e.Math===Math&&e};t.exports=n(typeof globalThis==`object`&&globalThis)||n(typeof window==`object`&&window)||n(typeof self==`object`&&self)||n(typeof global==`object`&&global)||n(typeof e==`object`&&e)||(function(){return this})()||Function(`return this`)()})),G=n(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),K=n(((e,t)=>{t.exports=!G()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})})),zo=n(((e,t)=>{t.exports=!G()(function(){var e=function(){}.bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})})),q=n(((e,t)=>{var n=zo(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),Bo=n((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),Vo=n(((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}})),J=n(((e,t)=>{var n=zo(),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);t.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}})),Ho=n(((e,t)=>{var n=J(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}})),Uo=n(((e,t)=>{var n=J(),r=G(),i=Ho(),a=Object,o=n(``.split);t.exports=r(function(){return!a(`z`).propertyIsEnumerable(0)})?function(e){return i(e)===`String`?o(e,``):a(e)}:a})),Wo=n(((e,t)=>{t.exports=function(e){return e==null}})),Go=n(((e,t)=>{var n=Wo(),r=TypeError;
vendor: 8,503 bytes, line 2
2t.exports=function(e){if(n(e))throw new r(`Can't call method on `+e);return e}})),Ko=n(((e,t)=>{var n=Uo(),r=Go();t.exports=function(e){return n(r(e))}})),qo=n(((e,t)=>{var n=typeof document==`object`&&document.all;t.exports=n===void 0&&n!==void 0?function(e){return typeof e==`function`||e===n}:function(e){return typeof e==`function`}})),Y=n(((e,t)=>{var n=qo();t.exports=function(e){return typeof e==`object`?e!==null:n(e)}})),Jo=n(((e,t)=>{var n=W(),r=qo(),i=function(e){return r(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}})),Yo=n(((e,t)=>{t.exports=J()({}.isPrototypeOf)})),Xo=n(((e,t)=>{var n=W().navigator,r=n&&n.userAgent;t.exports=r?String(r):``})),Zo=n(((e,t)=>{var n=W(),r=Xo(),i=n.process,a=n.Deno,o=i&&i.versions||a&&a.version,s=o&&o.v8,c,l;s&&(c=s.split(`.`),l=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!l&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(l=+c[1]))),t.exports=l})),Qo=n(((e,t)=>{var n=Zo(),r=G(),i=W().String;t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol(`symbol detection`);return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})})),$o=n(((e,t)=>{t.exports=Qo()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`})),es=n(((e,t)=>{var n=Jo(),r=qo(),i=Yo(),a=$o(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}})),ts=n(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return`Object`}}})),ns=n(((e,t)=>{var n=qo(),r=ts(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a function`)}})),rs=n(((e,t)=>{var n=ns(),r=Wo();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),is=n(((e,t)=>{var n=q(),r=qo(),i=Y(),a=TypeError;t.exports=function(e,t){var o,s;if(t===`string`&&r(o=e.toString)&&!i(s=n(o,e))||r(o=e.valueOf)&&!i(s=n(o,e))||t!==`string`&&r(o=e.toString)&&!i(s=n(o,e)))return s;throw new a(`Can't convert object to primitive value`)}})),as=n(((e,t)=>{t.exports=!1})),os=n(((e,t)=>{var n=W(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),ss=n(((e,t)=>{var n=as(),r=W(),i=os(),a=`__core-js_shared__`,o=t.exports=r[a]||i(a,{});(o.versions||=[]).push({version:`3.50.0`,mode:n?`pure`:`global`,copyright:`© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.`,license:`https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE`,source:`https://github.com/zloirock/core-js`})})),cs=n(((e,t)=>{var n=ss(),r=Object.create||Object;t.exports=function(e,t){return n[e]||(n[e]=t||r(null))}})),ls=n(((e,t)=>{var n=Go(),r=Object;t.exports=function(e){return r(n(e))}})),us=n(((e,t)=>{var n=J(),r=ls(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),ds=n(((e,t)=>{var n=J(),r=0,i=Math.random(),a=n(1.1.toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}})),fs=n(((e,t)=>{var n=W(),r=cs(),i=us(),a=ds(),o=Qo(),s=$o(),c=n.Symbol,l=r(`wks`),u=s?c.for||c:c&&c.withoutSetter||a;t.exports=function(e){return i(l,e)||(l[e]=o&&i(c,e)?c[e]:u(`Symbol.`+e)),l[e]}})),ps=n(((e,t)=>{var n=q(),r=Y(),i=es(),a=rs(),o=is(),s=fs(),c=TypeError,l=s(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var s=a(e,l),u;if(s){if(t===void 0&&(t=`default`),u=n(s,e,t),!r(u)||i(u))return u;throw new c(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),o(e,t)}})),ms=n(((e,t)=>{var n=ps(),r=es();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}})),hs=n(((e,t)=>{var n=W(),r=Y(),i=n.document,a=r(i)&&r(i.createElement);t.exports=function(e){return a?i.createElement(e):{}}})),gs=n(((e,t)=>{var n=K(),r=G(),i=hs();t.exports=!n&&!r(function(){return Object.defineProperty(i(`div`),"a",{get:function(){return 7}}).a!==7})})),_s=n((e=>{var t=K(),n=q(),r=Bo(),i=Vo(),a=Ko(),o=ms(),s=us(),c=gs(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=a(e),t=o(t),c)try{return l(e,t)}catch{}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),vs=n(((e,t)=>{var n=K(),r=G();t.exports=n&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})})),X=n(((e,t)=>{var n=Y(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not an object`)}})),ys=n((e=>{var t=K(),n=gs(),r=vs(),i=X(),a=ms(),o=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=`enumerable`,u=`configurable`,d=`writable`;e.f=t?r?function(e,t,n){if(i(e),t=a(t),i(n),typeof e==`function`&&t===`prototype`&&`value`in n&&d in n&&!n[d]){var r=c(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:u in n?n[u]:r[u],enumerable:l in n?n[l]:r[l],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=a(t),i(r),n)try{return s(e,t,r)}catch{}if(`get`in r||`set`in r)throw new o(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}})),bs=n(((e,t)=>{var n=K(),r=ys(),i=Vo();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),xs=n(((e,t)=>{var n=K(),r=us(),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(i,`name`);t.exports={EXISTS:o,PROPER:o&&function(){}.name===`something`,CONFIGURABLE:o&&(!n||n&&a(i,`name`).configurable)}})),Ss=n(((e,t)=>{var n=J(),r=qo(),i=ss(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),Cs=n(((e,t)=>{var n=W(),r=qo(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))})),ws=n(((e,t)=>{var n=cs(),r=ds(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}})),Ts=n(((e,t)=>{t.exports={}})),Es=n(((e,t)=>{var n=Cs(),r=W(),i=Y(),a=bs(),o=us(),s=ss(),c=ws(),l=Ts(),u=`Object already initialized`,d=r.TypeError,f=r.WeakMap,p,m,h,g=function(e){return h(e)?m(e):p(e,{})},_=function(e){return function(t){var n;if(!i(t)||(n=m(t)).type!==e)throw new d(`Incompatible receiver, `+e+` required`);return n}};if(n||s.state){var v=s.state||=new f;v.get=v.get,v.has=v.has,v.set=v.set,p=function(e,t){if(v.has(e))throw new d(u);return t.facade=e,v.set(e,t),t},m=function(e){return v.get(e)||{}},h=function(e){return v.has(e)}}else{var y=c(`state`);l[y]=!0,p=function(e,t){if(o(e,y))throw new d(u);return t.facade=e,a(e,y,t),t},m=function(e){return o(e,y)?e[y]:{}},h=function(e){return o(e,y)}}t.exports={set:p,get:m,has:h,enforce:g,getterFor:_}})),Ds=n(((e,t)=>{var n=J(),r=G(),i=qo(),a=us(),o=K(),s=xs().CONFIGURABLE,c=Ss(),l=Es(),u=l.enforce,d=l.get,f=String,p=Object.defineProperty,m=n(``.slice),h=n(``.replace),g=n([].join),_=o&&!r(function(){return p(function(){},`length`,{value:8}).length!==8}),v=String(String).split(`String`),y=t.exports=function(e,t,n){m(f(t),0,7)===`Symbol(`&&(t=`[`+h(f(t),/^Symbol\(([^)]*)\).*$/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!a(e,`name`)||s&&e.name!==t)&&(o?p(e,`name`,{value:t,configurable:!0}):e.name=t),_&&n&&a(n,`arity`)&&e.length!==n.arity&&p(e,`length`,{value:n.arity});try{n&&a(n,`constructor`)&&n.constructor?o&&p(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=u(e);return a(r,`source`)||(r.source=g(v,typeof t==`string`?t:``)),e};Function.prototype.toString=y(function(){return i(this)&&d(this).source||c(this)},`toString`)})),Os=n(((e,t)=>{var n=qo(),r=ys(),i=Ds(),a=os();t.exports=function(e,t,o,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}})),ks=n(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),As=n(((e,t)=>{var n=ks();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}})),js=n(((e,t)=>{var n=As(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),Ms=n(((e,t)=>{var n=As(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),Ns=n(((e,t)=>{var n=Ms();t.exports=function(e){return n(e.length)}})),Ps=n(((e,t)=>{var n=Ko(),r=js(),i=Ns(),a=function(e){return function(t,a,o){var s=n(t),c=i(s);if(c===0)return!e&&-1;var l=r(o,c),u;if(e&&a!==a){for(;c>l;)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),Fs=n(((e,t)=>{var n=J(),r=us(),i=Ko(),a=Ps().indexOf,o=Ts(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;
vendor: 10,236 bytes, lines 2-3
2for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}})),Is=n(((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]})),Ls=n((e=>{var t=Fs(),n=Is().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}})),Rs=n((e=>{e.f=Object.getOwnPropertySymbols})),zs=n(((e,t)=>{var n=Jo(),r=J(),i=Ls(),a=Rs(),o=X(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),Bs=n(((e,t)=>{var n=us(),r=zs(),i=_s(),a=ys();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}})),Vs=n(((e,t)=>{var n=G(),r=qo(),i=/#|\.prototype\./,a=function(e,t){var i=s[o(e)];return i===l?!0:i===c?!1:r(t)?n(t):!!t},o=a.normalize=function(e){return String(e).replace(i,`.`).toLowerCase()},s=a.data={},c=a.NATIVE=`N`,l=a.POLYFILL=`P`;t.exports=a})),Z=n(((e,t)=>{var n=W(),r=_s().f,i=bs(),a=Os(),o=os(),s=Bs(),c=Vs();t.exports=function(e,t){var l=e.target,u=e.global,d=e.stat,f,p=u?n:d?n[l]||o(l,{}):n[l]&&n[l].prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=r(p,m),h=_&&_.value):h=p[m],f=c(u?m:l+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;s(g,h)}(e.sham||h&&h.sham)&&i(g,`sham`,!0),a(p,m,g,e)}}})),Hs=n(((e,t)=>{var n=fs()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`})),Us=n(((e,t)=>{var n=Hs(),r=qo(),i=Ho(),a=fs()(`toStringTag`),o=Object,s=i(function(){return arguments}())===`Arguments`,c=function(e,t){try{return e[t]}catch{}};t.exports=n?i:function(e){var t,n,l;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=c(t=o(e),a))==`string`?n:s?i(t):(l=i(t))===`Object`&&r(t.callee)?`Arguments`:l}})),Ws=n(((e,t)=>{var n=Us(),r=String;t.exports=function(e){if(n(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return r(e)}})),Gs=n(((e,t)=>{var n=Fs(),r=Is();t.exports=Object.keys||function(e){return n(e,r)}})),Ks=n((e=>{var t=K(),n=vs(),r=ys(),i=X(),a=Ko(),o=Gs();e.f=t&&!n?Object.defineProperties:function(e,t){i(e);for(var n=a(t),s=o(t),c=s.length,l=0,u;c>l;)r.f(e,u=s[l++],n[u]);return e}})),qs=n(((e,t)=>{t.exports=Jo()(`document`,`documentElement`)})),Js=n(((e,t)=>{var n=X(),r=Ks(),i=Is(),a=Ts(),o=qs(),s=hs(),c=ws(),l=`>`,u=`<`,d=`prototype`,f=`script`,p=c(`IE_PROTO`),m=function(){},h=function(e){return u+f+l+e+u+`/`+f+l},g=function(e){e.write(h(``)),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e=s(`iframe`),t=`java`+f+`:`,n;return e.style.display=`none`,o.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(h(`document.F=Object`)),n.close(),n.F},v,y=function(){try{v=new ActiveXObject(`htmlfile`)}catch{}y=typeof document<`u`?document.domain&&v?g(v):_():g(v);for(var e=i.length;e--;)delete y[d][i[e]];return y()};a[p]=!0,t.exports=Object.create||function(e,t){var i;return e===null?i=y():(m[d]=n(e),i=new m,m[d]=null,i[p]=e),t===void 0?i:r.f(i,t)}})),Ys=n(((e,t)=>{t.exports=J()([].slice)})),Xs=n(((e,t)=>{var n=Ho(),r=Ko(),i=Ls().f,a=Ys(),o=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch{return a(o)}};t.exports.f=function(e){return o&&n(e)===`Window`?s(e):i(r(e))}})),Zs=n(((e,t)=>{var n=Ds(),r=ys();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}})),Qs=n((e=>{e.f=fs()})),$s=n(((e,t)=>{t.exports=W()})),ec=n(((e,t)=>{var n=$s(),r=us(),i=Qs(),a=ys().f;t.exports=function(e){var t=n.Symbol||={};r(t,e)||a(t,e,{value:i.f(e)})}})),tc=n(((e,t)=>{var n=q(),r=Jo(),i=fs(),a=Os();t.exports=function(){var e=r(`Symbol`),t=e&&e.prototype,o=t&&t.valueOf,s=i(`toPrimitive`);t&&!t[s]&&a(t,s,function(e){return n(o,this)},{arity:1})}})),nc=n(((e,t)=>{var n=ys().f,r=us(),i=fs()(`toStringTag`);t.exports=function(e,t,a){e&&!a&&(e=e.prototype),e&&!r(e,i)&&n(e,i,{configurable:!0,value:t})}})),rc=n(((e,t)=>{var n=Ho(),r=J();t.exports=function(e){if(n(e)===`Function`)return r(e)}})),ic=n(((e,t)=>{var n=rc(),r=ns(),i=zo(),a=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:i?a(e,t):function(){return e.apply(t,arguments)}}})),ac=n(((e,t)=>{var n=Ho();t.exports=Array.isArray||function(e){return n(e)===`Array`}})),oc=n(((e,t)=>{var n=J(),r=G(),i=qo(),a=Us(),o=Jo(),s=Ss(),c=function(){},l=o(`Reflect`,`construct`),u=/^\s*(?:class|function)\b/,d=n(u.exec),f=!u.test(c),p=function(e){if(!i(e))return!1;try{return l(c,[],e),!0}catch{return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}try{return f||!!d(u,s(e))}catch{return!0}};m.sham=!0,t.exports=!l||r(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?m:p})),sc=n(((e,t)=>{var n=ac(),r=oc(),i=Y(),a=fs()(`species`),o=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,r(t)&&(t===o||n(t.prototype))?t=void 0:i(t)&&(t=t[a],t===null&&(t=void 0))),t===void 0?o:t}})),cc=n(((e,t)=>{var n=sc();t.exports=function(e,t){return new(n(e))(t===0?0:t)}})),lc=n(((e,t)=>{var n=K(),r=ys(),i=Vo();t.exports=function(e,t,a){n?r.f(e,t,i(0,a)):e[t]=a}})),uc=n(((e,t)=>{var n=ic(),r=Uo(),i=ls(),a=Ns(),o=cc(),s=lc(),c=function(e){var t=e===1,c=e===2,l=e===3,u=e===4,d=e===6,f=e===7,p=e===5||d;return function(m,h,g){for(var _=i(m),v=r(_),y=a(v),b=n(h,g),x=0,S=0,C=t?o(m,y):c||f?o(m,0):void 0,w,T;y>x;x++)if((p||x in v)&&(w=v[x],T=b(w,x,_),e)){if(t)s(C,x,T);else if(T)switch(e){case 3:return!0;case 5:return w;case 6:return x;case 2:s(C,S++,w)}else switch(e){case 4:return!1;case 7:s(C,S++,w)}}return d?-1:l||u?u:C}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}})),dc=n((()=>{var e=Z(),t=W(),n=q(),r=J(),i=as(),a=K(),o=Qo(),s=G(),c=us(),l=Yo(),u=X(),d=Ko(),f=ms(),p=Ws(),m=Vo(),h=Js(),g=Gs(),_=Ls(),v=Xs(),y=Rs(),b=_s(),x=ys(),S=Ks(),C=Bo(),w=Os(),T=Zs(),E=cs(),D=ws(),O=Ts(),k=ds(),A=fs(),j=Qs(),M=ec(),N=tc(),P=nc(),F=Es(),I=uc().forEach,L=D(`hidden`),ee=`Symbol`,te=`prototype`,ne=F.set,re=F.getterFor(ee),ie=Object[te],ae=t.Symbol,oe=ae&&ae[te],R=t.RangeError,se=t.TypeError,z=t.QObject,ce=b.f,le=x.f,ue=v.f,de=C.f,fe=r([].push),pe=E(`symbols`),B=E(`op-symbols`),V=E(`wks`),me=!z||!z[te]||!z[te].findChild,he=function(e,t,n){var r=ce(ie,t);return r&&delete ie[t],le(e,t,n),r&&e!==ie&&le(ie,t,r),e},ge=a&&s(function(){return h(le({},`a`,{get:function(){return le(this,`a`,{value:7}).a}})).a!==7})?he:le,_e=function(e,t){var n=pe[e]=h(oe);return ne(n,{type:ee,tag:e,description:t}),a||(n.description=t),n},ve=function(e,t,n){e===ie&&ve(B,t,n),u(e);var r=f(t);return u(n),c(pe,r)?((`enumerable`in n?!n.enumerable:!c(e,r)||c(e,L)&&e[L][r])?(c(e,L)||le(e,L,m(1,h(null))),e[L][r]=!0):(c(e,L)&&e[L][r]&&(e[L][r]=!1),n=h(n,{enumerable:m(0,!1)})),ge(e,r,n)):le(e,r,n)},ye=function(e,t){u(e);var r=d(t);return I(g(r).concat(Ce(r)),function(t){(!a||n(H,r,t))&&ve(e,t,r[t])}),e},be=function(e,t){return t===void 0?h(e):ye(h(e),t)},H=function(e){var t=f(e),r=n(de,this,t);return this===ie&&c(pe,t)&&!c(B,t)?!1:r||!c(this,t)||!c(pe,t)||c(this,L)&&this[L][t]?r:!0},xe=function(e,t){var n=d(e),r=f(t);if(!(n===ie&&c(pe,r)&&!c(B,r))){var i=ce(n,r);return i&&c(pe,r)&&!(c(n,L)&&n[L][r])&&(i.enumerable=!0),i}},Se=function(e){var t=ue(d(e)),n=[];return I(t,function(e){!c(pe,e)&&!c(O,e)&&fe(n,e)}),n},Ce=function(e){var t=e===ie,n=ue(t?B:d(e)),r=[];return I(n,function(e){c(pe,e)&&(!t||c(ie,e))&&fe(r,pe[e])}),r};o||(ae=function(){if(l(oe,this))throw new se(`Symbol is not a constructor`);var e=!arguments.length||arguments[0]===void 0?void 0:p(arguments[0]),r=k(e),i=function(e){var a=this===void 0?t:this;a===ie&&n(i,B,e),c(a,L)&&c(a[L],r)&&(a[L][r]=!1);var o=m(1,e);try{ge(a,r,o)}catch(e){if(!(e instanceof R))throw e;he(a,r,o)}};return a&&me&&ge(ie,r,{configurable:!0,set:i}),_e(r,e)},oe=ae[te],w(oe,`toString`,function(){return re(this).tag}),w(ae,`withoutSetter`,function(e){return _e(k(e),e)}),C.f=H,x.f=ve,S.f=ye,b.f=xe,_.f=v.f=Se,y.f=Ce,j.f=function(e){return _e(A(e),e)},a&&(T(oe,`description`,{configurable:!0,get:function(){return re(this).description}}),i||w(ie,`propertyIsEnumerable`,H,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:ae}),I(g(V),function(e){M(e)}),e({target:ee,stat:!0,forced:!o},{useSetter:function(){me=!0},useSimple:function(){me=!1}}),e({target:`Object`,stat:!0,forced:!o,sham:!a},{create:be,defineProperty:ve,defineProperties:ye,getOwnPropertyDescriptor:xe}),e({target:`Object`,stat:!0,forced:!o},{getOwnPropertyNames:Se}),N(),P(ae,ee),O[L]=!0})),fc=n(((e,t)=>{t.exports=Qo()&&!!Symbol.for&&!!Symbol.keyFor})),pc=n((()=>{var e=Z(),t=Jo(),n=us(),r=Ws(),i=cs(),a=fc(),o=i(`string-to-symbol-registry`),s=i(`symbol-to-string-registry`);e({target:`Symbol`,stat:!0,forced:!a},{for:function(e){var i=r(e);if(n(o,i))return o[i];var a=t(`Symbol`)(i);return o[i]=a,s[a]=i,a}})})),mc=n((()=>{var e=Z(),t=us(),n=es(),r=ts(),i=cs(),a=fc(),o=i(`symbol-to-string-registry`);e({target:`Symbol`,stat:!0,forced:!a},{keyFor:function(e){if(!n(e))throw TypeError(r(e)+` is not a symbol`);if(t(o,e))return o[e]}})})),hc=n(((e,t)=>{var n=Y(),r=Es().get;t.exports=function(e){if(!n(e))return!1;var t=r(e);return!!t&&t.type===`RawJSON`}})),gc=n(((e,t)=>{t.exports=J()(1.1.valueOf)})),_c=n(((e,t)=>{var n=J(),r=us(),i=SyntaxError,a=parseInt,o=String.fromCharCode,s=n(``.charAt),c=n(``.slice),l=n(/./.exec),u={'\\"':`"`,"\\\\":`\\`,"\\/":`/`,"\\b":`\b`,"\\f":`\f`,"\\n":`
3`,"\\r":`\r`,"\\t":`	`},d=/^[\da-f]{4}$/i,f=/^[\u0000-\u001F]$/;t.exports=function(e,t){for(var n=!0,p=``;t<e.length;){var m=s(e,t);if(m===`\\`){var h=c(e,t,t+2);if(r(u,h))p+=u[h],t+=2;else if(h===`\\u`){t+=2;var g=c(e,t,t+4);if(!l(d,g))throw new i(`Bad Unicode escape at: `+t);p+=o(a(g,16)),t+=4}else throw new i(`Unknown escape sequence: "`+h+`"`)}else if(m===`"`){n=!1,t++;break}else{if(l(f,m))throw new i(`Bad control character in string literal at: `+t);p+=m,t++}}if(n)throw new i(`Unterminated string at: `+t);return{value:p,end:t}}})),vc=n(((e,t)=>{t.exports=!G()(function(){var e=`9007199254740993`,t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})})),yc=n((()=>
3{var e=Z(),t=Jo(),n=q(),r=J(),i=G(),a=ac(),o=qo(),s=Y(),c=Js(),l=hc(),u=es(),d=Ho(),f=gc(),p=Ps().includes,m=us(),h=Ws(),g=_c(),_=ds(),v=Qo(),y=vc(),b=String,x=TypeError,S=t(`JSON`,`stringify`),C=t(`BigInt`),w=r(``.valueOf),T=r((!0).valueOf),E=C&&r(C.prototype.valueOf),D=r(/./.exec),O=r(``.charAt),k=r(``.charCodeAt),A=r(``.replace),j=r(``.slice),M=r([].push),N=r([].pop),P=r(1.1.toString),F=/[\uD800-\uDFFF]/g,I=/^[\uD800-\uDBFF]$/,L=/^[\uDC00-\uDFFF]$/,ee=/^\d+$/,te=_(),ne=_(),re=_(),ie=te.length,ae=ne.length,oe=!v||i(function(){var e=t(`Symbol`)(`stringify detection`);return S([e])!==`[null]`||S({a:e})!==`{}`||S(Object(e))!==`{}`}),R=i(function(){return S(`\udf06\ud834`)!==`"\\udf06\\ud834"`||S(`\udead`)!==`"\\udead"`}),se=y?t(`JSON`,`isRawJSON`):l,z=oe?function(e,t,r){return S(e,function(e,r){var i=n(t,this,e,r);if(!u(i))return i},r)}:S,ce=function(e,t,n){var r=O(n,t-1),i=O(n,t+1);return D(I,e)&&!D(L,i)||D(L,e)&&!D(I,r)?`\\u`+P(k(e,0),16):e},le=function(e){if(a(e)){for(var t=e.length,n=[],r=c(null),i=0;i<t;i++){var o=e[i],s;if(typeof o==`string`)s=o;else if(typeof o==`number`||d(o)===`Number`||d(o)===`String`)s=h(o);else continue;m(r,s)||(r[s]=!0,M(n,s))}return n}},ue=function(e,t){try{return e(t),!0}catch{return!1}},de=function(e){var t=d(e);return t===`Number`&&ue(f,e)||t===`String`&&ue(w,e)||t===`Boolean`&&ue(T,e)||!!E&&t===`BigInt`&&ue(E,e)},fe=function(e){if(!s(e)||o(e)||a(e))return!1;try{return!de(e)}catch{return!0}},pe=function(e,t){return{toJSON:function(){var r=e[t];if(s(r)||typeof r==`bigint`){var i=r.toJSON;o(i)&&(r=n(i,r,t))}return r}}},B=function(e){for(var t=0,n=e.length;t<n;t++)if(D(ee,e[t]))return ne;return``},V=function(e,t,n){for(var r=c(null),i=0,a=t.length;i<a;i++){var o=t[i];r[n+o]=pe(e,o)}return r[re]=null,r};S&&e({target:`JSON`,stat:!0,arity:3,forced:oe||R||!y},{stringify:function(e,t,r){var i=o(t)?t:void 0,s=i?void 0:le(t),c=s&&B(s),l=[],u=[],d=[],f,m=!1,h=!0,_=z(e,function(e,t){if(e=b(e),s){if(e===re){N(u),f=N(d);return}if(h)h=!1;else if(this!==f&&!a(this)&&!p(s,e))return}else i&&(t=n(i,this,e,t));if(se(t))return y?t:(m=!0,te+(M(l,t.rawJSON)-1));if(s&&fe(t)){if(p(u,t))throw new x(`Converting circular structure to JSON`);var r=V(t,s,c);return M(u,t),M(d,f),f=r,c&&(m=!0),r}return t},r);if(typeof _!=`string`||(R&&(_=A(_,F,ce)),!m))return _;for(var v=``,S=_.length,C=0;C<S;C++){var w=O(_,C);if(w===`"`){var T=g(_,++C).end-1,E=j(_,C,T);j(E,0,ie)===te?v+=l[j(E,ie)]:j(E,0,ae)===ne?v+=`"`+j(E,ae)+`"`:v+=`"`+E+`"`,C=T}else v+=w}return v}})})),bc=n((()=>{var e=Z(),t=Qo(),n=G(),r=Rs(),i=ls();e({target:`Object`,stat:!0,forced:!t||n(function(){r.f(1)})},{getOwnPropertySymbols:function(e){var t=r.f;return t?t(i(e)):[]}})})),xc=n((()=>{dc(),pc(),mc(),yc(),bc()})),Sc=n((()=>{var e=Z(),t=K(),n=W(),r=q(),i=J(),a=us(),o=qo(),s=Yo(),c=Ws(),l=Zs(),u=Bs(),d=n.Symbol,f=d&&d.prototype;if(t&&o(d)&&(!(`description`in f)||d().description!==void 0)){var p={},m=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:c(arguments[0]),t=s(f,this)?new d(e):e===void 0?d():d(e);return e===``&&(p[t]=!0),t};u(m,d);var h=m.for;m.for={for:function(e){var t=c(e),n=r(h,this,t);return t===``&&(p[n]=!0),n}}.for,m.prototype=f,f.constructor=m;var g=String(d(`description detection`))===`Symbol(description detection)`,_=i(f.valueOf),v=i(f.toString),y=/^Symbol\((.*)\)[^)]+$/,b=i(``.replace),x=i(``.slice);l(f,`description`,{configurable:!0,get:function(){var e=_(this);if(a(p,e))return``;var t=v(e),n=g?x(t,7,-1):b(t,y,`$1`);return n===``?void 0:n}}),e({global:!0,constructor:!0,forced:!0},{Symbol:m})}})),Cc=n((()=>{var e=W(),t=ec(),n=ys().f,r=_s().f,i=e.Symbol;if(t(`asyncDispose`),i){var a=r(i,`asyncDispose`);a.enumerable&&a.configurable&&a.writable&&n(i,`asyncDispose`,{value:a.value,enumerable:!1,configurable:!1,writable:!1})}})),wc=n((()=>{ec()(`asyncIterator`)})),Tc=n((()=>{var e=W(),t=ec(),n=ys().f,r=_s().f,i=e.Symbol;if(t(`dispose`),i){var a=r(i,`dispose`);a.enumerable&&a.configurable&&a.writable&&n(i,`dispose`,{value:a.value,enumerable:!1,configurable:!1,writable:!1})}})),Ec=n((()=>{ec()(`hasInstance`)})),Dc=n((()=>{ec()(`isConcatSpreadable`)})),Oc=n((()=>{ec()(`iterator`)})),kc=n((()=>{ec()(`match`)})),Ac=n((()=>{ec()(`matchAll`)})),jc=n((()=>{ec()(`replace`)})),Mc=n((()=>{ec()(`search`)})),Nc=n((()=>{ec()(`species`)})),Pc=n((()=>{ec()(`split`)})),Fc=n((()=>{var e=ec(),t=tc();e(`toPrimitive`),t()})),Ic=n((()=>{var e=Jo(),t=ec(),n=nc();t(`toStringTag`),n(e(`Symbol`),`Symbol`)})),Lc=n((()=>{ec()(`unscopables`)})),Rc=n(((e,t)=>{var n=zo(),r=Function.prototype,i=r.apply,a=r.call;t.exports=typeof Reflect==`object`&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})})),zc=n(((e,t)=>{var n=J(),r=ns();t.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch{}}})),Bc=n(((e,t)=>{var n=Y();t.exports=function(e){return n(e)||e===null}})),Vc=n(((e,t)=>{var n=Bc(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(`Can't set `+r(e)+` as a prototype`)}})),Hc=n(((e,t)=>{var n=zc(),r=Y(),i=Go(),a=Vc();
vendor: 3,088 bytes, line 3
3t.exports=Object.setPrototypeOf||(`__proto__`in{}?function(){var e=!1,t={},o;try{o=n(Object.prototype,`__proto__`,`set`),o(t,[]),e=t instanceof Array}catch{}return function(t,n){return i(t),a(n),r(t)&&(e?o(t,n):t.__proto__=n),t}}():void 0)})),Uc=n(((e,t)=>{var n=ys().f;t.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}})),Wc=n(((e,t)=>{var n=qo(),r=Y(),i=Hc();t.exports=function(e,t,a){var o,s;return i&&n(o=t.constructor)&&o!==a&&r(s=o.prototype)&&s!==a.prototype&&i(e,s),e}})),Gc=n(((e,t)=>{var n=Ws();t.exports=function(e,t){return e===void 0?arguments.length<2?``:t:n(e)}})),Kc=n(((e,t)=>{var n=Y(),r=bs();t.exports=function(e,t){n(t)&&`cause`in t&&r(e,`cause`,t.cause)}})),qc=n(((e,t)=>{var n=J(),r=Error,i=n(``.replace),a=(function(e){return String(new r(e).stack)})(`zxcasd`),o=/\n\s*at [^:]*:[^\n]*/,s=o.test(a);t.exports=function(e,t){if(s&&typeof e==`string`&&!r.prepareStackTrace)for(;t--;)e=i(e,o,``);return e}})),Jc=n(((e,t)=>{var n=G(),r=Vo();t.exports=!n(function(){var e=Error(`a`);return`stack`in e?(Object.defineProperty(e,"stack",r(1,7)),e.stack!==7):!0})})),Yc=n(((e,t)=>{var n=bs(),r=qc(),i=Jc(),a=Error.captureStackTrace;t.exports=function(e,t,o,s){i&&(a?a(e,t):n(e,`stack`,r(o,s)))}})),Xc=n(((e,t)=>{var n=Jo(),r=us(),i=bs(),a=Yo(),o=Hc(),s=Bs(),c=Uc(),l=Wc(),u=Gc(),d=Kc(),f=Yc(),p=K(),m=as();t.exports=function(e,t,h,g){var _=`stackTraceLimit`,v=g?2:1,y=e.split(`.`),b=y[y.length-1],x=n.apply(null,y);if(x){var S=x.prototype;if(!m&&r(S,`cause`)&&delete S.cause,!h)return x;var C=n(`Error`),w=t(function(e,t){var n=u(g?t:e,void 0),r=g?new x(e):new x;return n!==void 0&&i(r,`message`,n),f(r,w,r.stack,2),this&&a(S,this)&&l(r,this,w),arguments.length>v&&d(r,arguments[v]),r});if(w.prototype=S,b===`Error`?p&&_ in x&&(c(w,x,_),c(w,x,`prepareStackTrace`)):o?o(w,C):s(w,C,{name:!0}),s(w,x),!m)try{S.name!==b&&i(S,`name`,b),S.constructor=w}catch{}return w}}})),Zc=n((()=>{var e=Z(),t=W(),n=Rc(),r=Xc(),i=`WebAssembly`,a=t[i],o=Error(`e`,{cause:7}).cause!==7,s=function(t,n){var i={};i[t]=r(t,n,o),e({global:!0,constructor:!0,arity:1,forced:o},i)},c=function(t,n){if(a&&a[t]){var s={};s[t]=r(i+`.`+t,n,o),e({target:i,stat:!0,constructor:!0,arity:1,forced:o},s)}};s(`Error`,function(e){return function(t){return n(e,this,arguments)}}),s(`EvalError`,function(e){return function(t){return n(e,this,arguments)}}),s(`RangeError`,function(e){return function(t){return n(e,this,arguments)}}),s(`ReferenceError`,function(e){return function(t){return n(e,this,arguments)}}),s(`SyntaxError`,function(e){return function(t){return n(e,this,arguments)}}),s(`TypeError`,function(e){return function(t){return n(e,this,arguments)}}),s(`URIError`,function(e){return function(t){return n(e,this,arguments)}}),c(`CompileError`,function(e){return function(t){return n(e,this,arguments)}}),c(`LinkError`,function(e){return function(t){return n(e,this,arguments)}}),c(`RuntimeError`,function(e){return function(t){return n(e,this,arguments)}})})),Qc=n((()=>{var e=Z(),t=Jo(),n=Y(),r=Us(),i=G(),a=`Error`,o=`DOMException`,s=Object.
3setPrototypeOf||{}.__proto__,c=t(o),l=Error,u=l.isError;e({target:`Error`,stat:!0,sham:!0,forced:!u||!s||i(function(){return c&&!u(new c(o))||!u(new l(a,{cause:function(){}}))||u(t(`Object`,`create`)(l.prototype))})},{isError:function(e){if(!n(e))return!1;var t=r(e);return t===a||t===o}})})),$c=n(((e,t)=>{var n=K(),r=G(),i=X(),a=Gc(),o=Error.prototype.toString;t.exports=r(function(){if(n){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if(o.call(e)!==`true`)return!0}return o.call({message:1,name:2})!==`2: 1`||o.call({})!==`Error`})?function(){var e=i(this),t=a(e.name,`Error`),n=a(e.message);return t?n?t+`: `+n:t:n}:o})),el=n((()=>{var e=Os(),t=$c(),n=Error.prototype;n.toString!==t&&e(n,`toString`,t)})),tl=n(((e,t)=>{t.exports=!G()(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})})),nl=n(((e,t)=>{var n=us(),r=qo(),i=ls(),a=ws(),o=tl(),s=a(`IE_PROTO`),c=Object,l=c.prototype;t.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var a=t.constructor;return r(a)&&t instanceof a?a.prototype:t instanceof c?l:null}})),rl=n(((e,t)=>{t.exports=Object.create?Object.create(null):{}})),il=n(((e,t)=>{var n=fs(),r=rl(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}})),al=n(((e,t)=>{var n=Ho(),r=Wo(),i=rs(),a=fs()(`iterator`),o=Array.prototype;t.exports=function(e){if(!r(e))return i(e,a)||i(e,`@@iterator`)||(n(e)===`Arguments`?o[a]:void 0)}})),ol=n(((e,t)=>{var n=q(),r=qo(),i=X(),a=ts(),o=al(),s=TypeError;t.exports=function(e,t){var c=arguments.length<2?o(e):t;if(r(c))return i(n(c,e));throw new s(a(e)+` is not iterable`)}})),sl=n(((e,t)=>{var n=q(),r=X(),i=rs();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}})),cl=n(((e,t)=>{var n=ic(),r=q(),i=X(),a=ts(),o=il(),s=Ns(),c=Yo(),l=ol(),u=al(),d=sl(),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;t.exports=function(e,t,h){var g=h&&h.that,_=!!(h&&h.AS_ENTRIES),v=!!(h&&h.IS_RECORD),y=!!(h&&h.IS_ITERATOR),b=!!(h&&h.INTERRUPTED),x=n(t,g),S,C,w,T,E,D,O,k=function(e){var t=S;return S=void 0,t&&d(t,`normal`),new p(!0,e)},A=function(e){return _?(i(e),b?x(e[0],e[1],k):x(e[0],e[1])):b?x(e,k):x(e)};if(v)S=e.iterator;else if(y)S=e;else{if(C=u(e),!C)throw new f(a(e)+` is not iterable`);if(o(C)){for(w=0,T=s(e);T>w;w++)if(E=A(e[w]),E&&c(m,E))return E;return new p(!1)}S=l(e,C)}for(D=v?e.next:S.next;!(O=r(D,S)).done;){var j=O.value;try{E=A(j)}catch(e){if(S)d(S,`throw`,e);else throw e}if(typeof E==`object`&&E&&c(m,E))return E}return new p(!1)}})),ll=n((()=>{var e=Z(),t=Yo(),n=nl(),r=Hc(),i=Bs(),a=Js(),o=bs(),s=Vo(),c=Kc(),l=Yc(),u=cl(),d=Gc(),f=fs()(`toStringTag`),p=Error,m=[].push,h=function(e,i){var s=t(g,this),_;r?_=r(new p,s?n(this):g):(_=s?this:a(g),o(_,f,`Error`)),i!==void 0&&o(_,`message`,d(i)),l(_,h,_.stack,1),arguments.length>2&&c(_,arguments[2]);var v=[];return u(e,m,{that:v}),o(_,`errors`,v),_};r?r(h,p):i(h,p,{name:!0});var g=h.prototype=a(p.prototype,{constructor:s(1,h),message:s(1,``),name:s(1,`AggregateError`)});e({global:!0,constructor:!0,arity:2},{AggregateError:h})})),ul=n((()=>{ll()})),dl=n((()=>{var e=Z(),t=Jo(),n=Rc(),r=G(),i=Xc(),a=`AggregateError`,o=t(a),s=!r(function(){return o([1]).errors[0]!==1})&&r(function(){return o([1],a,{cause:7}).cause!==7});e({global:!0,constructor:!0,arity:2,forced:s},{AggregateError:i(a,function(e){return function(t,r){return n(e,this,arguments)}},s,!0)})})),fl=n((()=>{var e=Z(),t=W(),n=Yo(),r=nl(),i=Hc(),a=Bs(),o=Js(),s=bs(),c=Vo(),l=Yc(),u=Gc(),d=fs(),f=G(),p=as(),m=t.SuppressedError,h=d(`toStringTag`),g=Error,_=!!m&&m.length!==3,v=!!m&&f(function(){return new m(1,2,3,{cause:4}).cause===4}),y=_||v,b=function(e,t,a){var c=n(x,this),d;return i?d=y&&(!c||r(this)===x)?new m:i(new g,c?r(this):x):(d=c?this:o(x),s(d,h,`Error`)),a!==void 0&&s(d,`message`,u(a)),l(d,b,d.stack,1),s(d,`error`,e),s(d,`suppressed`,t),d};i?i(b,g):a(b,g,{name:!0});var x=b.prototype=y?m.prototype:o(g.prototype,{constructor:c(1,b),message:c(1,``),name:c(1,`SuppressedError`)});y&&!p&&(x.constructor=b),e({global:!0,constructor:!0,arity:3,forced:y},{SuppressedError:b})})),pl=n(((e,t)=>{var n=fs(),r=Js(),i=ys().f,a=n(`unscopables`),o=Array.prototype;o[a]===void 0&&i(o,a,{configurable:!0,value:r(null)}),t.exports=function(e){o[a][e]=!0}})),ml=n((()=>{var e=Z(),t=ls(),n=Ns(),r=As(),i=pl();e({target:`Array`,proto:!0},{at:function(e){var i=t(this),a=n(i),o=r(e),s=o>=0?o:a+o;return s<0||s>=a?void 0:i[s]}}),i(`at`)}
vendor: 8,437 bytes, line 3
3)),hl=n(((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw new n(`Maximum allowed index exceeded`);return e}})),gl=n(((e,t)=>{var n=K(),r=ac(),i=TypeError,a=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(r(e)&&!a(e,`length`).writable)throw new i(`Cannot set read only .length`);return e.length=t}:function(e,t){return e.length=t}})),_l=n(((e,t)=>{var n=G(),r=fs(),i=Zo(),a=r(`species`);t.exports=function(e){return i>=51||!n(function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},t[e](Boolean).foo!==1})}})),vl=n((()=>{var e=Z(),t=G(),n=ac(),r=Y(),i=ls(),a=Ns(),o=hl(),s=lc(),c=gl(),l=cc(),u=_l(),d=fs(),f=Zo(),p=d(`isConcatSpreadable`),m=f>=51||!t(function(){var e=[];return e[p]=!1,e.concat()[0]!==e}),h=function(e){if(!r(e))return!1;var t=e[p];return t===void 0?n(e):!!t};e({target:`Array`,proto:!0,arity:1,forced:!m||!u(`concat`)},{concat:function(e){var t=i(this),n=l(t,0),r=0,u,d,f,p,m;for(u=-1,f=arguments.length;u<f;u++)if(m=u===-1?t:arguments[u],h(m))for(p=a(m),o(r+p),d=0;d<p;d++,r++)d in m&&s(n,r,m[d]);else o(r+1),s(n,r++,m);return c(n,r),n}})})),yl=n(((e,t)=>{var n=ts(),r=TypeError;t.exports=function(e,t){if(!delete e[t])throw new r(`Cannot delete property `+n(t)+` of `+n(e))}})),bl=n(((e,t)=>{var n=ls(),r=js(),i=Ns(),a=yl(),o=Math.min;t.exports=[].copyWithin||function(e,t){var s=n(this),c=i(s),l=r(e,c),u=r(t,c),d=arguments.length>2?arguments[2]:void 0,f=o((d===void 0?c:r(d,c))-u,c-l),p=1;for(u<l&&l<u+f&&(p=-1,u+=f-1,l+=f-1);f-->0;)u in s?s[l]=s[u]:a(s,l),l+=p,u+=p;return s}})),xl=n((()=>{var e=Z(),t=bl(),n=pl();e({target:`Array`,proto:!0},{copyWithin:t}),n(`copyWithin`)})),Sl=n(((e,t)=>{var n=G();t.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}})),Cl=n((()=>{var e=Z(),t=uc().every;e({target:`Array`,proto:!0,forced:!Sl()(`every`)},{every:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),wl=n(((e,t)=>{var n=ls(),r=js(),i=Ns();t.exports=[].fill||function(e){for(var t=n(this),a=i(t),o=arguments.length,s=r(o>1?arguments[1]:void 0,a),c=o>2?arguments[2]:void 0,l=c===void 0?a:r(c,a);l>s;)t[s++]=e;return t}})),Tl=n((()=>{var e=Z(),t=wl(),n=pl();e({target:`Array`,proto:!0},{fill:t}),n(`fill`)})),El=n((()=>{var e=Z(),t=uc().filter;e({target:`Array`,proto:!0,forced:!_l()(`filter`)},{filter:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Dl=n((()=>{var e=Z(),t=uc().find,n=pl(),r=`find`,i=!0;r in[]&&[,][r](function(){i=!1}),e({target:`Array`,proto:!0,forced:i},{find:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(r)})),Ol=n((()=>{var e=Z(),t=uc().findIndex,n=pl(),r=`findIndex`,i=!0;r in[]&&[,][r](function(){i=!1}),e({target:`Array`,proto:!0,forced:i},{findIndex:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(r)})),kl=n(((e,t)=>{var n=ic(),r=Uo(),i=ls(),a=Ns(),o=function(e){var t=e===1;return function(o,s,c){for(var l=i(o),u=r(l),d=a(u),f=n(s,c),p,m;d-->0;)if(p=u[d],m=f(p,d,l),m)switch(e){case 0:return p;case 1:return d}return t?-1:void 0}};t.exports={findLast:o(0),findLastIndex:o(1)}})),Al=n((()=>{var e=Z(),t=kl().findLast,n=pl();e({target:`Array`,proto:!0},{findLast:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`findLast`)})),jl=n((()=>{var e=Z(),t=kl().findLastIndex,n=pl();e({target:`Array`,proto:!0},{findLastIndex:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`findLastIndex`)})),Ml=n(((e,t)=>{var n=ac(),r=Ns(),i=hl(),a=ic(),o=lc(),s=function(e,t,c,l,u,d,f,p){for(var m=u,h=0,g=f?a(f,p):!1,_,v;h<l;)h in c&&(_=g?g(c[h],h,t):c[h],d>0&&n(_)?(v=r(_),m=s(e,t,_,v,m,d-1)-1):(i(m+1),o(e,m,_)),m++),h++;return m};t.exports=s})),Nl=n((()=>{var e=Z(),t=Ml(),n=ls(),r=Ns(),i=As(),a=cc();e({target:`Array`,proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=n(this),s=r(o),c=e===void 0?1:i(e),l=a(o,0);return t(l,o,o,s,0,c),l}})})),Pl=n((()=>{var e=Z(),t=Ml(),n=ns(),r=ls(),i=Ns(),a=cc();e({target:`Array`,proto:!0},{flatMap:function(e){var o=r(this),s=i(o),c;return n(e),c=a(o,0),t(c,o,o,s,0,1,e,arguments.length>1?arguments[1]:void 0),c}})})),Fl=n(((e,t)=>{var n=uc().forEach;t.exports=Sl()(`forEach`)?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})),Il=n((()=>{var e=Z(),t=Fl();e({target:`Array`,proto:!0,forced:[].forEach!==t},{forEach:t})})),Ll=n(((e,t)=>{var n=X(),r=sl();t.exports=function(e,t,i,a){try{return a?t(n(i)[0],i[1]):t(i)}catch(t){r(e,`throw`,t)}}})),Rl=n(((e,t)=>{var n=ic(),r=q(),i=ls(),a=Ll(),o=il(),s=oc(),c=Ns(),l=lc(),u=gl(),d=ol(),f=al(),p=sl(),m=hl(),h=Array;t.exports=function(e){var t=s(this),g=arguments.length,_=g>1?arguments[1]:void 0,v=_!==void 0;v&&(_=n(_,g>2?arguments[2]:void 0));var y=i(e),b=f(y),x=0,S,C,w,T,E,D;if(b&&!(this===h&&o(b)))for(C=t?new this:[],T=d(y,b),E=T.next;!(w=r(E,T)).done;x++){try{m(x)}catch(e){p(T,`throw`,e)}D=v?a(T,_,[w.value,x],!0):w.value;try{l(C,x,D)}catch(e){p(T,`throw`,e)}}else for(S=c(y),C=t?new this(S):h(S);S>x;x++)D=v?_(y[x],x):y[x],l(C,x,D);return u(C,x),C}})),zl=n(((e,t)=>{var n=fs()(`iterator`),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch{}t.exports=function(e,t){try{if(!t&&!r)return!1}catch{return!1}var i=!1;try{var a={};a[n]=function(){return{next:function(){return{done:i=!0}}}},e(a)}catch{}return i}})),Bl=n((()=>{var e=Z(),t=Rl();e({target:`Array`,stat:!0,forced:!zl()(function(e){Array.from(e)})},{from:t})})),Vl=n((()=>{var e=Z(),t=Ps().includes,n=G(),r=pl(),i=n(function(){return![,].includes()}),a=n(function(){return[,1].includes(void 0,1)});e({target:`Array`,proto:!0,forced:i||a},{includes:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),r(`includes`)})),Hl=n((()=>{var e=Z(),t=rc(),n=Ps().indexOf,r=Sl(),i=t([].indexOf),a=!!i&&1/i([1],1,-0)<0;e({target:`Array`,proto:!0,forced:a||!r(`indexOf`)},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return a?i(this,e,t)||0:n(this,e,t)}})})),Ul=n((()=>{Z()({target:`Array`,stat:!0},{isArray:ac()})})),Wl=n(((e,t)=>{var n=G(),r=qo(),i=Y(),a=Js(),o=nl(),s=Os(),c=fs(),l=as(),u=c(`iterator`),d=!1,f,p,m;[].keys&&(m=[].keys(),`next`in m?(p=o(o(m)),p!==Object.prototype&&(f=p)):d=!0),!i(f)||n(function(){var e={};return f[u].call(e)!==e})?f={}:l&&(f=a(f)),r(f[u])||s(f,u,function(){return this}),t.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:d}})),Gl=n(((e,t)=>{var n=Wl().IteratorPrototype,r=Js(),i=Vo(),a=nc(),o=rl(),s=function(){return this};t.exports=function(e,t,c,l){var u=t+` Iterator`;return e.prototype=r(n,{next:i(+!l,c)}),a(e,u,!1,!0),o[u]=s,e}})),Kl=n(((e,t)=>{var n=Z(),r=q(),i=as(),a=xs(),o=qo(),s=Gl(),c=nl(),l=Hc(),u=nc(),d=bs(),f=Os(),p=fs(),m=rl(),h=Wl(),g=a.PROPER,_=a.CONFIGURABLE,v=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,b=p(`iterator`),x=`keys`,S=`values`,C=`entries`,w=function(){return this};t.exports=function(e,t,a,p,h,T,E){s(a,t,p);var D=function(e){if(e===h&&M)return M;if(!y&&e&&e in A)return A[e];switch(e){case x:return function(){return new a(this,e)};case S:return function(){return new a(this,e)};case C:return function(){return new a(this,e)}}return function(){return new a(this)}},O=t+` Iterator`,k=!1,A=e.prototype,j=A[b]||A[`@@iterator`]||h&&A[h],M=!y&&j||D(h),N=t===`Array`&&A.entries||j,P,F,I;if(N&&(P=c(N.call(new e)),P!==Object.prototype&&P.next&&(!i&&c(P)!==v&&(l?l(P,v):o(P[b])||f(P,b,w)),u(P,O,!0,!0),i&&(m[O]=w))),g&&h===S&&j&&j.name!==S&&(!i&&_?d(A,`name`,S):(k=!0,M=function(){return r(j,this)})),h){if(F={values:D(S),keys:T?M:D(x),entries:D(C)},E)for(I in F)(y||k||!(I in A))&&f(A,I,F[I]);else n({target:t,proto:!0,forced:y||k},F)}return(!i||E)&&A[b]!==M&&f(A,b,M,{name:h}),m[t]=M,F}})),ql=n(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),Jl=n(((e,t)=>{var n=Ko(),r=pl(),i=rl(),a=Es(),o=ys().f,s=Kl(),c=ql(),l=as(),u=K(),d=`Array Iterator`,f=a.set,p=a.getterFor(d);t.exports=s(Array,`Array`,function(e,t){f(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case`keys`:return c(n,!1);case`values`:return c(t[n],!1)}return c([n,t[n]],!1)},`values`);var m=i.Arguments=i.Array;
3if(r(`keys`),r(`values`),r(`entries`),!l&&u&&m.name!==`values`)try{o(m,`name`,{value:`values`})}catch{}})),Yl=n((()=>{var e=Z(),t=J(),n=Uo(),r=Ko(),i=Sl(),a=t([].join);e({target:`Array`,proto:!0,forced:n!==Object||!i(`join`,`,`)},{join:function(e){return a(r(this),e===void 0?`,`:e)}})})),Xl=n(((e,t)=>{var n=Rc(),r=Ko(),i=As(),a=Ns(),o=Sl(),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o(`lastIndexOf`);t.exports=l||!u?function(e){if(l)return n(c,this,arguments)||0;var t=r(this),o=a(t);if(o===0)return-1;var u=o-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=o+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c})),Zl=n((()=>{var e=Z(),t=Xl();e({target:`Array`,proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t})})),Ql=n((()=>{var e=Z(),t=uc().map;e({target:`Array`,proto:!0,forced:!_l()(`map`)},{map:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),$l=n((()=>{var e=Z(),t=G(),n=oc(),r=lc(),i=gl(),a=Array;e({target:`Array`,stat:!0,forced:t(function(){function e(){}return!(a.of.call(e)instanceof e)})},{of:function(){for(var e=0,t=arguments.length,o=new(n(this)?this:a)(t);t>e;)r(o,e,arguments[e++]);return i(o,t),o}})})),eu=n((()=>{var e=Z(),t=ls(),n=Ns(),r=gl(),i=hl();e({target:`Array`,proto:!0,arity:1,forced:G()(function(){return[].push.call({length:4294967296},1)!==4294967297})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var a=t(this),o=n(a),s=arguments.length;i(o+s);for(var c=0;c<s;c++)a[o]=arguments[c],o++;return r(a,o),o}})})),tu=n(((e,t)=>{var n=ns(),r=ls(),i=Uo(),a=Ns(),o=TypeError,s=`Reduce of empty array with no initial value`,c=function(e){return function(t,c,l,u){var d=r(t),f=i(d),p=a(d);if(n(c),p===0&&l<2)throw new o(s);var m=e?p-1:0,h=e?-1:1;if(l<2)for(;;){if(m in f){u=f[m],m+=h;break}if(m+=h,e?m<0:p<=m)throw new o(s)}for(;e?m>=0:p>m;m+=h)m in f&&(u=c(u,f[m],m,d));return u}};t.exports={left:c(!1),right:c(!0)}})),nu=n(((e,t)=>{var n=W(),r=Xo(),i=Ho(),a=function(e){return r.slice(0,e.length)===e};t.exports=(function(){return a(`Bun/`)?`BUN`:a(`Cloudflare-Workers`)?`CLOUDFLARE`:a(`Deno/`)?`DENO`:a(`Node.js/`)?`NODE`:n.Bun&&typeof Bun.version==`string`?`BUN`:n.Deno&&typeof Deno.version==`object`?`DENO`:i(n.process)===`process`?`NODE`:n.window&&n.document?`BROWSER`:`REST`})()})),ru=n(((e,t)=>{t.exports=nu()===`NODE`})),iu=n((()=>{var e=Z(),t=tu().left,n=Sl(),r=Zo();e({target:`Array`,proto:!0,forced:!ru()&&r>79&&r<83||!n(`reduce`)},{reduce:function(e){var n=arguments.length;return t(this,e,n,n>1?arguments[1]:void 0)}})})),au=n((()=>{var e=Z(),t=tu().right,n=Sl(),r=Zo();e({target:`Array`,proto:!0,forced:!ru()&&r>79&&r<83||!n(`reduceRight`)},{reduceRight:function(e){return t(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})})),ou=n((()=>{var e=Z(),t=J(),n=ac(),r=t([].reverse),i=[1,2];e({target:`Array`,proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),r(this)}})})),su=n((()=>{var e=Z(),t=ac(),n=oc(),r=Y(),i=js(),a=Ns(),o=Ko(),s=lc(),c=gl(),l=fs(),u=_l(),d=Ys(),f=u(`slice`),p=l(`species`),m=Array,h=Math.max;e({target:`Array`,proto:!0,forced:!f},{slice:function(e,l){var u=o(this),f=a(u),g=i(e,f),_=i(l===void 0?f:l,f),v,y,b;if(t(u)&&(v=u.constructor,n(v)&&(v===m||t(v.prototype))?v=void 0:r(v)&&(v=v[p],v===null&&(v=void 0)),v===m||v===void 0))return d(u,g,_);for(y=new(v===void 0?m:v)(h(_-g,0)),b=0;g<_;g++,b++)g in u&&s(y,b,u[g]);return c(y,b),y}})})),cu=n((()=>{var e=Z(),t=uc().some;e({target:`Array`,proto:!0,forced:!Sl()(`some`)},{some:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),lu=n(((e,t)=>{var n=Ys(),r=Math.floor,i=function(e,t){var a=e.length;if(a<8)for(var o=1,s,c;o<a;){for(c=o,s=e[o];c&&t(e[c-1],s)>0;)e[c]=e[--c];c!==o++&&(e[c]=s)}else for(var l=r(a/2),u=i(n(e,0,l),t),d=i(n(e,l),t),f=u.length,p=d.length,m=0,h=0;m<f||h<p;)e[m+h]=m<f&&h<p?t(u[m],d[h])<=0?u[m++]:d[h++]:m<f?u[m++]:d[h++];return e};t.exports=i})),uu=n(((e,t)=>{var n=Xo().match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]})),du=n(((e,t)=>{var n=Xo();t.exports=/MSIE|Trident/.test(n)})),fu=n(((e,t)=>
3{var n=Xo().match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]})),pu=n((()=>{var e=Z(),t=J(),n=ns(),r=ls(),i=Ns(),a=yl(),o=Ws(),s=G(),c=lu(),l=Sl(),u=uu(),d=du(),f=Zo(),p=fu(),m=[],h=t(m.sort),g=t(m.push),_=s(function(){m.sort(void 0)}),v=s(function(){m.sort(null)}),y=l(`sort`),b=!s(function(){if(f)return f<70;if(!(u&&u>3)){if(d)return!0;if(p)return p<603;var e=``,t,n,r,i;for(t=65;t<76;t++){switch(n=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(i=0;i<47;i++)m.push({k:n+i,v:r})}for(m.sort(function(e,t){return t.v-e.v}),i=0;i<m.length;i++)n=m[i].k.charAt(0),e.charAt(e.length-1)!==n&&(e+=n);return e!==`DGBEFHACIJK`}}),x=_||!v||!y||!b,S=function(e){return function(t,n){if(n===void 0)return-1;if(t===void 0)return 1;if(e!==void 0)return+e(t,n)||0;var r=o(t),i=o(n);return r===i?0:r>i?1:-1}};e({target:`Array`,proto:!0,forced:x},{sort:function(e){e!==void 0&&n(e);var t=r(this);if(b)return e===void 0?h(t):h(t,e);var o=[],s=i(t),l,u;for(u=0;u<s;u++)u in t&&g(o,t[u]);for(c(o,S(e)),l=i(o),u=0;u<l;)t[u]=o[u++];for(;u<s;)a(t,u++);return t}})})),mu=n(((e,t)=>{var n=Jo(),r=Zs(),i=fs(),a=K(),o=i(`species`);t.exports=function(e){var t=n(e);a&&t&&!t[o]&&r(t,o,{configurable:!0,get:function(){return this}})}})),hu=n((()=>{mu()(`Array`)})),gu=n((()=>{var e=Z(),t=ls(),n=js(),r=As(),i=Ns(),a=gl(),o=hl(),s=cc(),c=lc(),l=yl(),u=_l()(`splice`),d=Math.max,f=Math.min;e({target:`Array`,proto:!0,forced:!u},{splice:function(e,u){var p=t(this),m=i(p),h=n(e,m),g=arguments.length,_,v,y,b,x,S;for(g===0?_=v=0:g===1?(_=0,v=m-h):(_=g-2,v=f(d(r(u),0),m-h)),o(m+_-v),y=s(p,v),b=0;b<v;b++)x=h+b,x in p&&c(y,b,p[x]);if(a(y,v),_<v){for(b=h;b<m-v;b++)x=b+v,S=b+_,x in p?p[S]=p[x]:l(p,S);for(b=m;b>m-v+_;b--)l(p,b-1)}else if(_>v)for(b=m-v;b>h;b--)x=b+v-1,S=b+_-1,x in p?p[S]=p[x]:l(p,S);for(b=0;b<_;b++)p[b+h]=arguments[b+2];return a(p,m-v+_),y}})})),_u=n((()=>{var e=Z(),t=Ns(),n=Ko(),r=lc(),i=pl(),a=Array;e({target:`Array`,proto:!0},{toReversed:function(){for(var e=n(this),i=t(e),o=new a(i),s=0;s<i;s++)r(o,s,e[i-s-1]);return o}}),i(`toReversed`)})),vu=n(((e,t)=>{var n=Ns();t.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}})),yu=n(((e,t)=>{var n=W();t.exports=function(e,t){var r=n[e],i=r&&r.prototype;return i&&i[t]}})),bu=n((()=>{var e=Z(),t=J(),n=ns(),r=Ko(),i=vu(),a=yu(),o=pl(),s=Array,c=t(a(`Array`,`sort`));e({target:`Array`,proto:!0},{toSorted:function(e){return e!==void 0&&n(e),c(i(s,r(this)),e)}}),o(`toSorted`)})),xu=n((()=>{var e=Z(),t=pl(),n=hl(),r=Ns(),i=js(),a=Ko(),o=As(),s=lc(),c=Array,l=Math.max,u=Math.min;e({target:`Array`,proto:!0},{toSpliced:function(e,t){var d=a(this),f=r(d),p=i(e,f),m=arguments.length,h=0,g,_,v,y;for(m===0?g=_=0:m===1?(g=0,_=f-p):(g=m-2,_=u(l(o(t),0),f-p)),v=n(f+g-_),y=c(v);h<p;h++)s(y,h,d[h]);for(;h<p+g;h++)s(y,h,arguments[h-p+2]);for(;h<v;h++)s(y,h,d[h+_-g]);return y}}),t(`toSpliced`)})),Su=n((()=>{pl()(`flat`)})),Cu=n((()=>{pl()(`flatMap`)})),wu=n((()=>{var e=Z(),t=ls(),n=Ns(),r=gl(),i=yl(),a=hl();e({target:`Array`,proto:!0,arity:1,forced:[].unshift(0)!==1||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var o=t(this),s=n(o),c=arguments.length;if(c){a(s+c);for(var l=s;l--;){var u=l+c;l in o?o[u]=o[l]:i(o,u)}for(var d=0;d<c;d++)o[d]=arguments[d]}return r(o,s+c)}})})),Tu=n((()=>{var e=Z(),t=Ns(),n=As(),r=Ko(),i=lc(),a=Array,o=RangeError;e({target:`Array`,proto:!0,forced:(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(e){return e!==4}})()},{with:function(e,s){var c=r(this),l=t(c),u=n(e),d=u<0?l+u:u;if(d>=l||d<0)throw new o(`Incorrect index`);for(var f=new a(l),p=0;p<l;p++)i(f,p,p===d?s:c[p]);return f}})})),Eu=n(((e,t)=>{t.exports=typeof ArrayBuffer<`u`&&typeof DataView<`u`})),Du=n(((e,t)=>{var n=Os();t.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}})),Ou=n(((e,t)=>{var n=Yo(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw new r(`Incorrect invocation`)}})),ku=n(((e,t)=>{var n=As(),r=Ms(),i=RangeError;t.exports=function(e){if(e===void 0)return 0;var t=n(e),a=r(t);if(t!==a)throw new i(`Wrong length or index`);return a}})),Au=n(((e,t)=>{t.exports=Math.sign||function(e){var t=+e;return t===0||t!==t?t:t<0?-1:1}}
vendor: 4,576 bytes, line 3
3)),ju=n(((e,t)=>{var n=4503599627370496;t.exports=function(e){return e+n-n}})),Mu=n(((e,t)=>{var n=Au(),r=ju(),i=Math.abs,a=2220446049250313e-31;t.exports=function(e,t,o,s){var c=+e,l=i(c),u=n(c);if(l<s)return u*r(l/s/t)*s*t;var d=(1+t/a)*l,f=d-(d-l);return f>o||f!==f?u*(1/0):u*f}})),Nu=n(((e,t)=>{var n=Mu(),r=1.1920928955078125e-7,i=34028234663852886e22,a=11754943508222875e-54;t.exports=Math.fround||function(e){return n(e,r,i,a)}})),Pu=n(((e,t)=>{var n=Array,r=Math.abs,i=Math.pow,a=Math.floor,o=Math.log,s=Math.LN2;t.exports={pack:function(e,t,c){var l=n(c),u=c*8-t-1,d=(1<<u)-1,f=d>>1,p=t===23?i(2,-24)-i(2,-77):0,m=+(e<0||e===0&&1/e<0),h=0,g,_,v;for(e=r(e),e!==e||e===1/0?(_=e===e?0:1,g=d):(g=a(o(e)/s),v=i(2,-g),e*v<1&&(g--,v*=2),g+f>=1?e+=p/v:e+=p*i(2,1-f),e*v>=2&&(g++,v/=2),g+f>=d?(_=0,g=d):g+f>=1?(_=(e*v-1)*i(2,t),g+=f):(_=e*i(2,f-1)*i(2,t),g=0));t>=8;)l[h++]=_&255,_/=256,t-=8;for(g=g<<t|_,u+=t;u>0;)l[h++]=g&255,g/=256,u-=8;return l[h-1]|=m*128,l},unpack:function(e,t){var n=e.length,r=n*8-t-1,a=(1<<r)-1,o=a>>1,s=r-7,c=n-1,l=e[c--],u=l&127,d;for(l>>=7;s>0;)u=u*256+e[c--],s-=8;for(d=u&(1<<-s)-1,u>>=-s,s+=t;s>0;)d=d*256+e[c--],s-=8;if(u===0)u=1-o;else if(u===a)return d?NaN:l?-1/0:1/0;else d+=i(2,t),u-=o;return(l?-1:1)*d*i(2,u-t)}}})),Fu=n(((e,t)=>{var n=W(),r=J(),i=K(),a=Eu(),o=xs(),s=bs(),c=Zs(),l=Du(),u=G(),d=Ou(),f=As(),p=ku(),m=Nu(),h=Pu(),g=nl(),_=Hc(),v=wl(),y=Ys(),b=Wc(),x=Bs(),S=nc(),C=Es(),w=o.PROPER,T=o.CONFIGURABLE,E=`ArrayBuffer`,D=`DataView`,O=`prototype`,k=`Wrong length`,A=`Wrong index`,j=C.getterFor(E),M=C.getterFor(D),N=C.set,P=n[E],F=P,I=F&&F[O],L=n[D],ee=L&&L[O],te=Object.prototype,ne=n.Array,re=n.RangeError,ie=r(v),ae=r([].reverse),oe=h.pack,R=h.unpack,se=function(e){return[e&255]},z=function(e){return[e&255,e>>8&255]},ce=function(e){return[e&255,e>>8&255,e>>16&255,e>>24&255]},le=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},ue=function(e){return oe(m(e),23,4)},de=function(e){return oe(e,52,8)},fe=function(e,t,n){c(e[O],t,{configurable:!0,get:function(){return n(this)[t]}})},pe=function(e,t,n,r){var i=M(e),a=p(n),o=!!r;if(a+t>i.byteLength)throw new re(A);var s=i.bytes,c=a+i.byteOffset,l=y(s,c,c+t);return o?l:ae(l)},B=function(e,t,n,r,i,a){var o=M(e),s=p(n),c=r(+i),l=!!a;if(s+t>o.byteLength)throw new re(A);for(var u=o.bytes,d=s+o.byteOffset,f=0;f<t;f++)u[d+f]=c[l?f:t-f-1]};if(!a)F=function(e){d(this,I);var t=p(e);N(this,{type:E,bytes:ie(ne(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)},I=F[O],L=function(e,t,n){d(this,ee),d(e,I);var r=j(e),a=r.byteLength,o=f(t);if(o<0||o>a)throw new re(`Wrong offset`);if(n=n===void 0?a-o:p(n),o+n>a)throw new re(k);N(this,{type:D,buffer:e,byteLength:n,byteOffset:o,bytes:r.bytes}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},ee=L[O],i&&(fe(F,`byteLength`,j),fe(L,`buffer`,M),fe(L,`byteLength`,M),fe(L,`byteOffset`,M)),l(ee,{getInt8:function(e){return pe(this,1,e)[0]<<24>>24},getUint8:function(e){return pe(this,1,e)[0]},getInt16:function(e){var t=pe(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=pe(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return le(pe(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return le(pe(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return R(pe(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return R(pe(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){B(this,1,e,se,t)},setUint8:function(e,t){B(this,1,e,se,t)},setInt16:function(e,t){B(this,2,e,z,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){B(this,2,e,z,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){B(this,4,e,ce,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){B(this,4,e,ce,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){B(this,4,e,ue,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){B(this,8,e,de,t,arguments.length>2&&arguments[2])}});else{var V=w&&P.name!==E;!u(function(){P(1)})||!u(function(){new P(-1)})||u(function(){return new P,new P(1.5),new P(NaN),P.length!==1||V&&!T})?(F=function(e){return d(this,I),b(new P(p(e)),this,F)},F[O]=I,I.constructor=F,x(F,P)):V&&T&&s(P,`name`,E),_&&g(ee)!==te&&_(ee,te);var me=new L(new F(2)),he=r(ee.setInt8);me.setInt8(0,2147483648),me.setInt8(1,2147483649),(me.getInt8(0)||!me.getInt8(1))&&l(ee,{setInt8:function(e,t){he(this,e,t<<24>>24)},setUint8:function(e,t){he(this,e,t<<24>>24)}},{unsafe:!0})}S(F,E),S(L,D),t.exports={ArrayBuffer:F,DataView:L}})),Iu=n((()=>
3{var e=Z(),t=W(),n=Fu(),r=mu(),i=`ArrayBuffer`,a=n[i],o=t[i];e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),r(i)})),Lu=n(((e,t)=>{var n=Eu(),r=K(),i=W(),a=qo(),o=Y(),s=us(),c=Us(),l=ts(),u=bs(),d=Os(),f=Zs(),p=Yo(),m=nl(),h=Hc(),g=fs(),_=ds(),v=Es(),y=v.enforce,b=v.get,x=i.Int8Array,S=x&&x.prototype,C=i.Uint8ClampedArray,w=C&&C.prototype,T=x&&m(x),E=S&&m(S),D=Object.prototype,O=i.TypeError,k=g(`toStringTag`),A=_(`TYPED_ARRAY_TAG`),j=`TypedArrayConstructor`,M=n&&!!h&&c(i.opera)!==`Opera`,N=!1,P,F,I,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ee={BigInt64Array:8,BigUint64Array:8},te=function(e){if(!o(e))return!1;var t=c(e);return t===`DataView`||s(L,t)||s(ee,t)},ne=function(e){var t=m(e);if(o(t)){var n=b(t);return n&&s(n,j)?n[j]:ne(t)}},re=function(e){if(!o(e))return!1;var t=c(e);return s(L,t)||s(ee,t)},ie=function(e){if(re(e))return e;throw new O(`Target is not a typed array`)},ae=function(e){if(a(e)&&(!h||p(T,e)))return e;throw new O(l(e)+` is not a typed array constructor`)},oe=function(e,t,n,a){if(r){if(n)for(var o in L){var c=i[o];if(c&&s(c.prototype,e))try{delete c.prototype[e]}catch{try{c.prototype[e]=t}catch{}}}(!E[e]||n)&&d(E,e,n?t:M&&S[e]||t,a)}},R=function(e,t,n){var a,o;if(r){if(h){if(n){for(a in L)if(o=i[a],o&&s(o,e))try{delete o[e]}catch{}}if(!T[e]||n)try{return d(T,e,n?t:M&&T[e]||t)}catch{}else return}for(a in L)o=i[a],o&&(!o[e]||n)&&d(o,e,t)}};for(P in L)F=i[P],I=F&&F.prototype,I?y(I)[j]=F:M=!1;for(P in ee)F=i[P],I=F&&F.prototype,I&&(y(I)[j]=F);if((!M||!a(T)||T===Function.prototype)&&(T=function(){throw new O(`Incorrect invocation`)},M))for(P in L)i[P]&&h(i[P],T);if((!M||!E||E===D)&&(E=T.prototype,M))for(P in L)i[P]&&h(i[P].prototype,E);if(M&&m(w)!==E&&h(w,E),r&&!s(E,k))for(P in N=!0,f(E,k,{configurable:!0,get:function(){return o(this)?this[A]:void 0}}),L)i[P]&&u(i[P].prototype,A,P);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:N&&A,aTypedArray:ie,aTypedArrayConstructor:ae,exportTypedArrayMethod:oe,exportTypedArrayStaticMethod:R,getTypedArrayConstructor:ne,isView:te,isTypedArray:re,TypedArray:T,TypedArrayPrototype:E}})),Ru=n((()=>{var e=Z(),t=Lu(),n=t.NATIVE_ARRAY_BUFFER_VIEWS;e({target:`ArrayBuffer`,stat:!0,forced:!n},{isView:t.isView})})),zu=n((()=>{var e=Z(),t=rc(),n=G(),r=Fu(),i=X(),a=js(),o=Ms(),s=r.ArrayBuffer,c=r.DataView,l=c.prototype,u=t(s.prototype.slice),d=t(l.getUint8),f=t(l.setUint8);e({target:`ArrayBuffer`,proto:!0,unsafe:!0,forced:n(function(){return!new s(2).slice(1,void 0).byteLength})},{slice:function(e,t){if(u&&t===void 0)return u(i(this),e);for(var n=i(this).byteLength,r=a(e,n),l=a(t===void 0?n:t,n),p=new s(o(l-r)),m=new c(this),h=new c(p),g=0;r<l;)f(h,g++,d(m,r++));return p}})})),Bu=n((()=>{var e=Z(),t=Fu();e({global:!0,constructor:!0,forced:!Eu()},{DataView:t.DataView})})),Vu=n((()=>{Bu()})),Hu=n((()=>{var e=Z(),t=J(),n=Math.pow,r=31,i=1023,a=n(2,-24),o=.0009765625,s=function(e){var t=e>>>15,s=e>>>10&r,c=e&i;return s===r?c===0?t===0?1/0:-1/0:NaN:s===0?c*(t===0?a:-a):n(2,s-15)*(t===0?1+c*o:-1-c*o)},c=t(DataView.prototype.getUint16);e({target:`DataView`,proto:!0},{getFloat16:function(e){return s(c(this,e,arguments.length>1&&arguments[1]))}})})),Uu=n(((e,t)=>{var n=Us(),r=TypeError;t.exports=function(e){if(n(e)===`DataView`)return e;throw new r(`Argument is not a DataView`)}})),Wu=n(((e,t)=>{var n=Math.log,r=Math.LN2;t.exports=Math.log2||function(e){return n(e)/r}})),Gu=n((()=>{var e=Z(),t=J(),n=Uu(),r=ku(),i=Wu(),a=ju(),o=Math.floor,s=Math.pow,c=65520,l=61005353927612305e-21,u=16777216,d=1024,f=function(e){if(e!==e)return 32256;if(e===0)return(1/e==-1/0)<<15;var t=e<0;if(t&&(e=-e),e>=c)return t<<15|31744;if(e<l)return t<<15|a(e*u);var n=o(i(e));if(n===-15)return t<<15|d;var r=a((e*s(2,-n)-1)*d);return r===d?t<<15|n+16<<10:t<<15|n+15<<10|r},p=t(DataView.prototype.setUint16);e({target:`DataView`,proto:!0},{setFloat16:function(e,t){p(n(this),r(e),f(+t),arguments.length>2&&arguments[2])}})})),Ku=n(((e,t)=>{var n=W(),r=zc(),i=Ho(),a=n.ArrayBuffer,o=n.TypeError;t.exports=a&&r(a.prototype,`byteLength`,`get`)||function(e){if(i(e)!==`ArrayBuffer`)throw new o(`ArrayBuffer expected`);return e.byteLength}})),qu=n(((e,t)=>{var n=W(),r=Eu(),i=Ku(),a=n.DataView;t.exports=function(e){if(!r||i(e)!==0)return!1;try{return new a(e),!1}catch{return!0}}})),Ju=n((()=>{var e=K(),t=Zs(),n=qu(),r=ArrayBuffer.prototype;
3e&&!(`detached`in r)&&t(r,`detached`,{configurable:!0,get:function(){return n(this)}})})),Yu=n(((e,t)=>{var n=qu(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`ArrayBuffer is detached`);return e}})),Xu=n(((e,t)=>{var n=W(),r=ru();t.exports=function(e){if(r){try{return n.process.getBuiltinModule(e)}catch{}try{return Function(`return require("`+e+`")`)()}catch{}}}})),Zu=n(((e,t)=>{var n=W(),r=G(),i=Zo(),a=nu(),o=n.structuredClone;t.exports=!!o&&!r(function(){if(a===`DENO`&&i>92||a===`NODE`&&i>94||a===`BROWSER`&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return e.byteLength!==0||t.byteLength!==8})})),Qu=n(((e,t)=>{var n=W(),r=Xu(),i=Zu(),a=n.structuredClone,o=n.ArrayBuffer,s=n.MessageChannel,c=!1,l,u,d,f;if(i)c=function(e){a(e,{transfer:[e]})};else if(o)try{s||(l=r(`worker_threads`),l&&(s=l.MessageChannel)),s&&(u=new s,d=new o(2),f=function(e){u.port1.postMessage(null,[e])},d.byteLength===2&&(f(d),d.byteLength===0&&(c=f)))}catch{}t.exports=c})),$u=n(((e,t)=>{var n=W(),r=J(),i=zc(),a=ku(),o=Yu(),s=Ku(),c=Qu(),l=Zu(),u=n.structuredClone,d=n.ArrayBuffer,f=n.DataView,p=Math.max,m=Math.min,h=d.prototype,g=f.prototype,_=r(h.slice),v=i(h,`resizable`,`get`),y=i(h,`maxByteLength`,`get`),b=r(g.getInt8),x=r(g.setInt8);t.exports=(l||c)&&function(e,t,n){var r=s(e),i=t===void 0?r:a(t),h=!v||!v(e),g;if(o(e),l&&(e=u(e,{transfer:[e]}),r===i&&(n||h)))return e;if(r>=i&&(!n||h))g=_(e,0,i);else{g=new d(i,n&&!h&&y?{maxByteLength:p(i,y(e))}:void 0);for(var S=new f(e),C=new f(g),w=m(i,r),T=0;T<w;T++)x(C,T,b(S,T))}return l||c(e),g}})),ed=n((()=>{var e=Z(),t=$u();t&&e({target:`ArrayBuffer`,proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}})})),td=n((()=>{var e=Z(),t=$u();t&&e({target:`ArrayBuffer`,proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}})})),nd=n((()=>{var e=Z(),t=J(),n=G()(function(){return new Date(16e11).getYear()!==120}),r=t(Date.prototype.getFullYear);e({target:`Date`,proto:!0,forced:n},{getYear:function(){return r(this)-1900}})})),rd=n((()=>{var e=Z(),t=J(),n=Date,r=t(n.prototype.getTime);e({target:`Date`,stat:!0},{now:function(){return r(new n)}})})),id=n((()=>{var e=Z(),t=J(),n=As(),r=Date.prototype,i=t(r.getTime),a=t(r.setFullYear);e({target:`Date`,proto:!0},{setYear:function(e){i(this);var t=+e;if(t!==t)return a(this,t);var r=n(t),o=r>=0&&r<=99?r+1900:r;return a(this,o)}})})),ad=n((()=>{Z()({target:`Date`,proto:!0},{toGMTString:Date.prototype.toUTCString})})),od=n(((e,t)=>{var n=As(),r=Ws(),i=Go(),a=RangeError,o=Math.floor;t.exports=function(e){var t=r(i(this)),s=``,c=n(e);if(c<0||c===1/0)throw new a(`Wrong number of repetitions`);for(;c>0;(c=o(c/2))&&(t+=t))c%2&&(s+=t);return s}})),sd=n(((e,t)=>{var n=J(),r=Ms(),i=Ws(),a=od(),o=Go(),s=n(a),c=n(``.slice),l=Math.ceil,u=function(e){return function(t,n,a){var u=i(o(t)),d=r(n),f=u.length;if(d<=f)return u;var p=a===void 0?` `:i(a),m,h;return p===``?u:(m=d-f,h=s(p,l(m/p.length)),h.length>m&&(h=c(h,0,m)),e?u+h:h+u)}};t.exports={start:u(!1),end:u(!0)}})),cd=n(((e,t)=>{var n=J(),r=G(),i=sd().start,a=RangeError,o=isFinite,s=Math.abs,c=Date.prototype,l=c.toISOString,u=n(c.getTime),d=n(c.getUTCDate),f=n(c.getUTCFullYear),p=n(c.getUTCHours),m=n(c.getUTCMilliseconds),h=n(c.getUTCMinutes),g=n(c.getUTCMonth),_=n(c.getUTCSeconds);t.exports=r(function(){return l.call(new Date(-5e13-1))!==`0385-07-25T07:06:39.999Z`})||!r(function(){l.call(new Date(NaN))})?function(){if(!o(u(this)))throw new a(`Invalid time value`);var e=this,t=f(e),n=m(e),r=t<0?`-`:t>9999?`+`:``;return r+i(s(t),r?6:4,0)+`-`+i(g(e)+1,2,0)+`-`+i(d(e),2,0)+`T`+i(p(e),2,0)+`:`+i(h(e),2,0)+`:`+i(_(e),2,0)+`.`+i(n,3,0)+`Z`}:l})),ld=n((()=>{var e=Z(),t=cd();e({target:`Date`,proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t})})),ud=n((()=>{var e=Z(),t=G(),n=ls(),r=ps();e({target:`Date`,proto:!0,forced:t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1})},{toJSON:function(e){var t=n(this),i=r(t,`number`);return typeof i==`number`&&!isFinite(i)?null:t.toISOString()}})})),dd=n(((e,t)=>{var n=X(),r=is(),i=TypeError;t.exports=function(e){if(n(this),e===`string`||e==="default")e=`string`;else if(e!==`number`)throw new i(`Incorrect hint`);return r(this,e)}})),fd=n((()=>{var e=us(),t=Os(),n=dd(),r=fs()(`toPrimitive`),i=Date.prototype;e(i,r)||t(i,r,n)})),pd=n((()=>{var e=J(),t=Os(),n=Date.prototype,r=`Invalid Date`,i=`toString`,a=e(n[i]),o=e(n.getTime);String(new Date(NaN))!==r&&t(n,i,function(){var e=o(this);return e===e?a(this):r})})),md=n(((e,t)=>{var n=Jo(),r=q(),i=J(),a=ic(),o=X(),s=ns(),c=Wo(),l=rs(),u=fs(),d=u(`asyncDispose`),f=u(`dispose`),p=i([].push),m=function(e,t){if(t===`async-dispose`){var i=l(e,d);return i!==void 0||(i=l(e,f),i===void 0)?i:function(){var e=this;return new(n(`Promise`))(function(t){r(i,e),t(void 0)})}}return l(e,f)},h=function(e,t,n){return arguments.length<3&&!c(e)&&(n=s(m(o(e),t))),n===void 0?function(){}:a(n,e)};t.exports=function(e,t,n,r){var i;if(arguments.length<4){if(c(t)&&n===`sync-dispose`)return;i=h(t,n)}else i=h(void 0,n,r);p(e.stack,i)}})),hd=n((()=>{var e=Z(),t=K(),n=Jo(),r=ns(),i=Ou(),a=Os(),o=Du(),s=Zs(),c=fs(),l=Es(),u=md(),d=n(`SuppressedError`),f=ReferenceError,p=c(`dispose`),m=c(`toStringTag`),h=`DisposableStack`,g=l.set,_=l.getterFor(h),v=`sync-dispose`,y=`disposed`,b=`pending`,x=function(e){var t=_(e);if(t.state===y)throw new f(h+` already disposed`);return t},S=function(){g(i(this,C),{type:h,state:b,stack:[]}),t||(this.disposed=!1)},C=S.prototype;o(C,{dispose:function(){var e=_(this);if(e.state!==y){e.state=y,t||(this.disposed=!0);for(var n=e.stack,r=n.length,i=!1,a;r;){var o=n[--r];n[r]=null;try{o()}catch(e){i?a=new d(e,a):(i=!0,a=e)}}if(e.stack=null,i)throw a}},use:function(e){return u(x(this),e,v),e},adopt:function(e,t){var n=x(this);return r(t),u(n,void 0,v,function(){t(e)}),e},defer:function(e){var t=x(this);r(e),u(t,void 0,v,e)},move:function(){var e=x(this),n=new S;return _(n).stack=e.stack,e.stack=[],e.state=y,t||(this.disposed=!0),n}}),t&&s(C,`disposed`,{configurable:!0,get:function(){return _(this).state===y}}),a(C,p,C.dispose,{name:`dispose`}),a(C,m,h,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:S})})),gd=n((()=>{var e=Z(),t=J(),n=Ws(),r=t(``.charAt),i=t(``.charCodeAt),a=t(/./.exec),o=t(1.1.toString),s=t(``.toUpperCase),c=t([].join),l=Array,u=/[\w*+\-./@]/,d=function(e,t){for(var n=o(e,16);n.length<t;)n=`0`+n;return n};e({global:!0},{escape:function(e){var t=n(e),o=t.length,f=l(o),p,m,h;for(p=0;p<o;p++)m=r(t,p),a(u,m)?f[p]=m:(h=i(m,0),h<256?f[p]=`%`+s(d(h,2)):f[p]=`%u`+s(d(h,4)));return c(f,``)}})})),_d=n(((e,t)=>{var n=J(),r=ns(),i=Y(),a=us(),o=Ys(),s=zo(),c=Function,l=n([].concat),u=n([].join),d={},f=function(e,t,n){if(!a(d,t)){for(var r=[],i=0;i<t;i++)r[i]=`a[`+i+`]`;d[t]=c(`C,a`,`return new C(`+u(r,`,`)+`)`)}return d[t](e,n)};t.exports=s?c.bind:function(e){var t=r(this),n=t.prototype,a=o(arguments,1
3),s=function(){var n=l(a,o(arguments));return this instanceof s?f(t,n.length,n):t.apply(e,n)};return i(n)&&(s.prototype=n),s}})),vd=n((()=>{var e=Z(),t=_d();e({target:`Function`,proto:!0,forced:Function.bind!==t},{bind:t})})),yd=n((()=>{var e=qo(),t=Y(),n=ys(),r=Yo(),i=fs(),a=Ds(),o=i(`hasInstance`),s=Function.prototype;o in s||n.f(s,o,{value:a(function(n){if(!e(this)||!t(n))return!1;var i=this.prototype;return t(i)?r(i,n):n instanceof this},o)})})),bd=n((()=>{var e=K(),t=xs().EXISTS,n=J(),r=Zs(),i=Function.prototype,a=n(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=n(o.exec);e&&!t&&r(i,`name`,{configurable:!0,get:function(){try{return s(o,a(this))[1]}catch{return``}}})})),xd=n((()=>{var e=Z(),t=W();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),Sd=n((()=>{var e=Z(),t=W(),n=Ou(),r=X(),i=qo(),a=nl(),o=Zs(),s=lc(),c=G(),l=us(),u=fs(),d=Wl().IteratorPrototype,f=K(),p=as(),m=`constructor`,h=`Iterator`,g=u(`toStringTag`),_=TypeError,v=t[h],y=p||!i(v)||v.prototype!==d||!c(function(){v({})}),b=function(){if(n(this,d),a(this)===d)throw new _(`Abstract class Iterator not directly constructable`)},x=function(e,t){f?o(d,e,{configurable:!0,get:function(){return t},set:function(t){if(r(this),this===d)throw new _(`You can't redefine this property`);l(this,e)?this[e]=t:s(this,e,t)}}):d[e]=t};l(d,g)||x(g,h),(y||!l(d,m)||d[m]===Object)&&x(m,b),b.prototype=d,e({global:!0,constructor:!0,forced:y},{Iterator:b})})),Cd=n(((e,t)=>{var n=sl();t.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(e[i]!==void 0)try{r=n(e[i].iterator,t,r)}catch(e){t=`throw`,r=e}if(t===`throw`)throw r;return r}})),wd=n(((e,t)=>{t.exports=function(e){e.iterator=e.next=e.nextHandler=e.mapper=e.predicate=e.inner=e.iterables=e.iters=e.openIters=e.padding=e.finishResults=e.buffer=null}})),Td=n(((e,t)=>{var n=q(),r=Js(),i=bs(),a=Du(),o=fs(),s=Es(),c=rs(),l=Wl().IteratorPrototype,u=ql(),d=sl(),f=Cd(),p=wd(),m=o(`toStringTag`),h=`IteratorHelper`,g=`WrapForValidIterator`,_=`normal`,v=`throw`,y=s.set,b=function(e){var t=s.getterFor(e?g:h);return a(r(l),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return u(void 0,!0);try{var r=n.nextHandler();return n.done&&p(n),n.returnHandlerResult?r:u(r,n.done)}catch(e){throw n.done=!0,p(n),e}},return:function(){var r=t(this),i=r.iterator,a=r.inner,o=r.openIters,s=r.done;if(r.done=!0,e){var l=c(i,`return`);return l?n(l,i):u(void 0,!0)}if(p(r),s)return u(void 0,!0);if(a)try{d(a.iterator,_)}catch(e){return d(i,v,e)}if(o)try{f(o,_)}catch(e){if(i)return d(i,v,e);throw e}return i&&d(i,_),u(void 0,!0)}})},x=b(!0),S=b(!1);i(S,m,`Iterator Helper`),t.exports=function(e,t,n){var r=function(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?g:h,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,y(this,i)};return r.prototype=t?x:S,r}})),Ed=n((()=>{var e=Z(),t=q(),n=ns(),r=X(),i=al(),a=Td(),o=as(),s=Array,c=a(function(){for(;;){var e=this.iterator;if(!e){var n=this.nextIterableIndex++,i=this.iterables;if(n>=i.length){this.done=!0;return}var a=i[n];this.iterables[n]=null,e=this.iterator=r(t(a.method,a.iterable)),this.next=e.next}var o=r(t(this.next,e));if(o.done){this.iterator=null,this.next=null;continue}return o.value}});e({target:`Iterator`,stat:!0,forced:o},{concat:function(){for(var e=arguments.length,t=s(e),a=0;a<e;a++){var o=r(arguments[a]);t[a]={iterable:o,method:n(i(o))}}return new c({iterables:t,nextIterableIndex:0,iterator:null,next:null})}})})),Dd=n((()=>{var e=q(),t=Os(),n=rs(),r=us(),i=fs(),a=Wl().IteratorPrototype,o=i(`dispose`);r(a,o)||t(a,o,function(){var t=n(this,`return`);t&&e(t,this)})})),Od=n(((e,t)=>{t.exports=function(e){return{iterator:e,next:e.next,done:!1}}})),kd=n(((e,t)=>{var n=RangeError;t.exports=function(e){if(e===e)return e;throw new n(`NaN is not allowed`)}})),Ad=n(((e,t)=>{var n=As(),r=RangeError;t.exports=function(e){var t=n(e);if(t<0)throw new r(`The argument can't be less than 0`);return t}})),jd=n(((e,t)=>{t.exports=function(e,t){var n=typeof Iterator==`function`&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch{return!0}}})),Md=n(((e,t)=>{var n=W();t.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}})),Nd=n((()=>{var e=Z(),t=q(),n=X(),r=Od(),i=kd(),a=Ad(),o=sl(),s=Td(),c=jd(),l=Md(),u=as(),d=RangeError,f=1/0,p=!u&&!c(`drop`,0),m=!u&&!p&&l(`drop`,RangeError),h=u||p||m||!function(){try{Iterator.prototype.drop.call({next:function(){return{done:!0}}},9007199254740992)}catch(e){return e instanceof d}}(),g=s(function(){for(var e=this.iterator,r=this.next,i,a;this.remaining;)if(this.remaining--,i=n(t(r,e)),a=this.done=!!i.done,a)return;if(i=n(t(r,e)),a=this.done=!!i.done,!a)return i.value});e({target:`Iterator`,proto:!0,real:!0,forced:h},{drop:function(e){n(this);var s;try{if(s=a(i(+e)),s>9007199254740991&&s!==f)throw new d(`The argument should be a safe integer`)}catch(e){o(this,`throw`,e)}return m?t(m,this,s):new g(r(this),{remaining:s})}})})),Pd=n((()=>{var e=Z(),t=q(),n=cl(),r=ns(),i=X(),a=Od(),o=sl(),s=Md()(`every`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{every:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return!n(c,function(t,n){if(!e(t,l++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})})),Fd=n((()=>{var e=Z(),t=q(),n=ns(),r=X(),i=Od(),a=Td(),o=Ll(),s=as(),c=sl(),l=jd(),u=Md(),d=!s&&!l(`filter`,function(){}),f=!s&&!d&&u(`filter`,TypeError),p=s||d||f,m=a(function(){for(var e=this.iterator,n=this.predicate,i=this.next,a,s,c;;){if(a=r(t(i,e)),s=this.done=!!a.done,s)return;if(c=a.value,o(e,n,[c,this.counter++],!0))return c}});e({target:`Iterator`,proto:!0,real:!0,forced:p},{filter:function(e){r(this);try{n(e)}catch(e){c(this,`throw`,e)}return f?t(f,this,e):new m(i(this),{predicate:e})}})})),Id=n((()=>{var e=Z(),t=q(),n=cl(),r=ns(),i=X(),a=Od(),o=sl(),s=Md()(`find`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{find:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return n(c,function(t,n){if(e(t,l++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})})),Ld=n(((e,t)=>{var n=q(),r=X(),i=Od(),a=al();t.exports=function(e,t){(!t||typeof e!=`string`)&&r(e);var o=a(e);return i(r(o===void 0?e:n(o,e)))}})),Rd=n((()=>{var e=Z(),t=q(),n=ns(),r=X(),i=Od(),a=Ld(),o=Td(),s=sl(),c=G(),l=as(),u=jd(),d=Md(),f=!l&&c(function(){return[1].values().flatMap(function(){return[1]}).find(function(){return!0})!==1}),p=!l&&!f&&!u(`flatMap`,function(){}),m=!l&&!f&&!p&&d(`flatMap`,TypeError),h=l||f||p||m,g=o(function(){for(var e=this.iterator,n=this.mapper,i,o;;){if(o=this.inner)try{if(i=r(t(o.next,o.iterator)),!i.done)return i.value;this.inner=null}catch(t){s(e,`throw`,t)}
3if(i=r(t(this.next,e)),this.done=!!i.done)return;try{this.inner=a(n(i.value,this.counter++),!1)}catch(t){s(e,`throw`,t)}}});e({target:`Iterator`,proto:!0,real:!0,forced:h},{flatMap:function(e){r(this);try{n(e)}catch(e){s(this,`throw`,e)}return m?t(m,this,e):new g(i(this),{mapper:e,inner:null})}})})),zd=n((()=>{var e=Z(),t=q(),n=cl(),r=ns(),i=X(),a=Od(),o=sl(),s=Md()(`forEach`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{forEach:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;n(c,function(t){e(t,l++)},{IS_RECORD:!0})}})})),Bd=n((()=>{var e=Z(),t=q(),n=ls(),r=Yo(),i=Wl().IteratorPrototype,a=Td(),o=Ld(),s=as()||function(){try{Iterator.from({return:null}).return()}catch{return!0}}(),c=a(function(){return t(this.next,this.iterator)},!0);e({target:`Iterator`,stat:!0,forced:s},{from:function(e){var t=o(typeof e==`string`?n(e):e,!0);return r(i,t.iterator)?t.iterator:new c(t)}})})),Vd=n((()=>{var e=Z(),t=q(),n=ns(),r=X(),i=Od(),a=Td(),o=Ll(),s=sl(),c=jd(),l=Md(),u=as(),d=!u&&!c(`map`,function(){}),f=!u&&!d&&l(`map`,TypeError),p=u||d||f,m=a(function(){var e=this.iterator,n=r(t(this.next,e));if(!(this.done=!!n.done))return o(e,this.mapper,[n.value,this.counter++],!0)});e({target:`Iterator`,proto:!0,real:!0,forced:p},{map:function(e){r(this);try{n(e)}catch(e){s(this,`throw`,e)}return f?t(f,this,e):new m(i(this),{mapper:e})}})})),Hd=n((()=>{var e=Z(),t=cl(),n=ns(),r=X(),i=Od(),a=sl(),o=Md(),s=Rc(),c=G(),l=TypeError,u=c(function(){[].keys().reduce(function(){},void 0)}),d=!u&&o(`reduce`,l);e({target:`Iterator`,proto:!0,real:!0,forced:u||d},{reduce:function(e){r(this);try{n(e)}catch(e){a(this,`throw`,e)}var o=arguments.length<2,c=o?void 0:arguments[1];if(d)return s(d,this,o?[e]:[e,c]);var u=i(this),f=0;if(t(u,function(t){o?(o=!1,c=t):c=e(c,t,f),f++},{IS_RECORD:!0}),o)throw new l(`Reduce of empty iterator with no initial value`);return c}})})),Ud=n((()=>{var e=Z(),t=q(),n=cl(),r=ns(),i=X(),a=Od(),o=sl(),s=Md()(`some`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{some:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return n(c,function(t,n){if(e(t,l++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})})),Wd=n((()=>{var e=Z(),t=q(),n=X(),r=Od(),i=kd(),a=Ad(),o=Td(),s=sl(),c=jd(),l=Md(),u=as(),d=RangeError,f=1/0,p=!u&&!c(`take`,1),m=!u&&!p&&l(`take`,RangeError),h=u||p||m||!function(){try{Iterator.prototype.take.call({next:function(){return{done:!0}}},9007199254740992)}catch(e){return e instanceof d}}(),g=o(function(){var e=this.iterator;if(!this.remaining--)return this.done=!0,s(e,`normal`,void 0);var r=n(t(this.next,e));if(!(this.done=!!r.done))return r.value});e({target:`Iterator`,proto:!0,real:!0,forced:h},{take:function(e){n(this);var o;try{if(o=a(i(+e)),o>9007199254740991&&o!==f)throw new d(`The argument should be a safe integer`)}catch(e){s(this,`throw`,e)}return m?t(m,this,o):new g(r(this),{remaining:o})}})})),Gd=n((()=>{var e=Z(),t=X(),n=lc(),r=cl(),i=Od();e({target:`Iterator`,proto:!0,real:!0},{toArray:function(){var e=[],a=0;return r(i(t(this)),function(t){n(e,a++,t)},{IS_RECORD:!0}),e}})})),Kd=n(((e,t)=>{var n=Y(),r=String,i=TypeError;t.exports=function(e){if(e===void 0||n(e))return e;throw new i(r(e)+` is not an object or undefined`)}})),qd=n(((e,t)=>{var n=ol(),r=Od();t.exports=function(e){return r(n(e))}})),Jd=n(((e,t)=>{var n=TypeError;t.exports=function(e){var t=e&&e.mode;if(t===void 0||t===`shortest`||t===`longest`||t===`strict`)return t||`shortest`;throw new n("Incorrect `mode` option")}})),Yd=n(((e,t)=>{var n=q(),r=J(),i=X(),a=Td(),o=Cd(),s=TypeError,c=r([].slice),l=r([].push),u=`Iterator is exhausted`,d=`throw`,f=a(function(){var e=this.iterCount;if(!e){this.done=!0;return}for(var t=this.openIters,r=this.iters,a=this.padding,c=this.mode,f=this.finishResults,p=[],m,h,g=0;g<e;g++){var _=r[g];if(_===null)m=a[g];else{try{m=i(n(_.next,_.iterator)),h=m.done,m=m.value}catch(e){return t[g]=void 0,o(t,d,e)}if(h){if(t[g]=void 0,this.openItersCount--,c===`shortest`)return this.done=!0,o(t,`normal`,void 0);if(c===`strict`){if(g)return o(t,d,new s(u));for(var v,y,b=1;b<e;b++){try{v=i(n(r[b].next,r[b].iterator)),y=v.done,v=v.value}catch(e){return t[b]=void 0,o(t,d,e)}if(y)t[b]=void 0,this.openItersCount--;else return o(t,d,new s(u))}this.done=!0;return}if(!this.openItersCount){this.done=!0;return}r[g]=null,m=a[g]}}l(p,m)}return f?f(p):p});t.exports=function(e,t,n,r){var i=e.length;return new f({iters:e,iterCount:i,openIters:c(e,0),openItersCount:i,mode:t,padding:n,finishResults:r})}})),Xd=n((()=>{var e=Z(),t=X(),n=Kd(),r=q(),i=J(),a=qd(),o=Ld(),s=Jd(),c=sl(),l=Cd(),u=Yd(),d=as(),f=i([].concat),p=i([].push),m=`throw`;e({target:`Iterator`,stat:!0,forced:d},{zip:function(e){t(e);for(var i=arguments.length>1?n(arguments[1]):void 0,d=s(i),h=d===`longest`?n(i&&i.padding):void 0,g=[],_=[],v=a(e),y,b,x;!b;){try{x=t(r(v.next,v.iterator)),b=x.done}catch(e){return l(g,m,e)}if(!b){try{y=o(x.value,!1)}catch(e){return l(f([v],g),m,e)}p(g,y)}}var S=g.length,C,w,T;if(d===`longest`){if(h===void 0)for(C=0;C<S;C++)p(_,void 0);else{try{T=a(h)}catch(e){return l(g,m,e)}var E=!0;for(C=0;C<S;C++)if(E){try{x=t(r(T.next,T.iterator)),w=x.done,x=x.value}catch(e){return l(g,m,e)}w?E=!1:p(_,x)}else p(_,void 0);if(E)try{c(T.iterator,`normal`)}catch(e){return l(g,m,e)}}}return u(g,d,_)}})})),Zd=n((()=>{var e=Z(),t=X(),n=Kd(),r=lc(),i=q(),a=J(),o=Jo(),s=Bo(),c=Ld(),l=Jd(),u=Cd(),d=Yd(),f=as(),p=a([].push),m=`throw`;e({target:`Iterator`,stat:!0,forced:f},{zipKeyed:function(e){t(e);var a=arguments.length>1?n(arguments[1]):void 0,f=l(a),h=f===`longest`?n(a&&a.padding):void 0,g=[],_=[],v=o(`Reflect`,`ownKeys`)(e),y=[],b=s.f,x,S,C;for(x=0;x<v.length;
3x++)try{if(S=v[x],!i(b,e,S))continue;C=e[S],C!==void 0&&(p(y,S),p(g,c(C,!1)))}catch(e){return u(g,m,e)}var w=g.length;if(f===`longest`){if(h===void 0)for(x=0;x<w;x++)p(_,void 0);else for(x=0;x<y.length;x++){try{C=h[y[x]]}catch(e){return u(g,m,e)}p(_,C)}}return d(g,f,_,function(e){for(var t=o(`Object`,`create`)(null),n=0;n<w;n++)r(t,y[n],e[n]);return t})}})})),Qd=n((()=>{var e=Z(),t=vc(),n=hc();e({target:`JSON`,stat:!0,forced:!t},{isRawJSON:n})})),$d=n((()=>{var e=Z(),t=K(),n=W(),r=Jo(),i=J(),a=q(),o=qo(),s=Y(),c=ac(),l=us(),u=Ws(),d=Ns(),f=lc(),p=G(),m=_c(),h=Qo(),g=n.JSON,_=n.Number,v=n.SyntaxError,y=g&&g.parse,b=r(`Object`,`keys`),x=Object.getOwnPropertyDescriptor,S=i(``.charAt),C=i(``.slice),w=i(/./.exec),T=i([].push),E=/^\d$/,D=/^[1-9]$/,O=/^[\d-]$/,k=/^[\t\n\r ]$/,A=0,j=1,M=function(e,t){e=u(e);var n=new I(e,0),r=n.parse(),i=r.value,a=n.skip(k,r.end);if(a<e.length)throw new v(`Unexpected extra character: "`+S(e,a)+`" after the parsed data at: `+a);return o(t)?N({"":i},``,t,r):i},N=function(e,t,n,r){var i=e[t],o=r&&i===r.value,u=o&&typeof r.source==`string`?{source:r.source}:{},f,p,m,h,g;if(s(i)){var _=c(i),v=o?r.nodes:_?[]:{};if(_)for(f=v.length,m=d(i),h=0;h<m;h++)P(i,h,N(i,``+h,n,h<f?v[h]:void 0));else for(p=b(i),m=d(p),h=0;h<m;h++)g=p[h],P(i,g,N(i,g,n,l(v,g)?v[g]:void 0))}return a(n,e,t,i,u)},P=function(e,n,r){if(t){var i=x(e,n);if(i&&!i.configurable)return}r===void 0?delete e[n]:f(e,n,r)},F=function(e,t,n,r){this.value=e,this.end=t,this.source=n,this.nodes=r},I=function(e,t){this.source=e,this.index=t};I.prototype={fork:function(e){return new I(this.source,e)},parse:function(){var e=this.source,t=this.skip(k,this.index),n=this.fork(t),r=S(e,t);if(w(O,r))return n.number();switch(r){case`{`:return n.object();case`[`:return n.array();case`"`:return n.string();case`t`:return n.keyword(!0);case`f`:return n.keyword(!1);case`n`:return n.keyword(null)}throw new v(`Unexpected character: "`+r+`" at: `+t)}
3,node:function(e,t,n,r,i){return new F(t,r,e?null:C(this.source,n,r),i)},object:function(){for(var e=this.source,t=this.index+1,n=!1,r={},i={},a=!1;t<e.length;){if(t=this.until([`"`,`}`],t),S(e,t)===`}`&&!n){t++,a=!0;break}var o=this.fork(t).string(),s=o.value;t=o.end,t=this.until([`:`],t)+1,t=this.skip(k,t),o=this.fork(t).parse(),f(i,s,o),f(r,s,o.value),t=this.until([`,`,`}`],o.end);var c=S(e,t);if(c===`,`)n=!0,t++;else if(c===`}`){t++,a=!0;break}}if(!a)throw new v(`Unterminated object at: `+t);return this.node(j,r,this.index,t,i)},array:function(){for(var e=this.source,t=this.index+1,n=!1,r=[],i=[],a=!1;t<e.length;){if(t=this.skip(k,t),S(e,t)===`]`&&!n){t++,a=!0;break}var o=this.fork(t).parse();if(T(i,o),T(r,o.value),t=this.until([`,`,`]`],o.end),S(e,t)===`,`)n=!0,t++;else if(S(e,t)===`]`){t++,a=!0;break}}if(!a)throw new v(`Unterminated array at: `+t);return this.node(j,r,this.index,t,i)},string:function(){var e=this.index,t=m(this.source,this.index+1);return this.node(A,t.value,e,t.end)},number:function(){var e=this.source,t=this.index,n=t;if(S(e,n)===`-`&&n++,S(e,n)===`0`)n++;else if(w(D,S(e,n)))n=this.skip(E,n+1);else throw new v(`Failed to parse number at: `+n);if(S(e,n)===`.`){var r=n+1;if(n=this.skip(E,r),r===n)throw new v(`Failed to parse number's fraction at: `+n)}if(S(e,n)===`e`||S(e,n)===`E`){n++,(S(e,n)===`+`||S(e,n)===`-`)&&n++;var i=n;if(n=this.skip(E,n),i===n)throw new v(`Failed to parse number's exponent value at: `+n)}return this.node(A,_(C(e,t,n)),t,n)},keyword:function(e){var t=``+e,n=this.index,r=n+t.length;if(C(this.source,n,r)!==t)throw new v(`Failed to parse value at: `+n);return this.node(A,e,n,r)},skip:function(e,t){for(var n=this.source;t<n.length&&w(e,S(n,t));t++);return t},until:function(e,t){t=this.skip(k,t);for(var n=S(this.source,t),r=0;r<e.length;r++)if(e[r]===n)return t;throw new v(`Unexpected character: "`+n+`" at: `+t)}};var L=p(function(){var e=`9007199254740993`,t;return y(e,function(e,n,r){t=r.source}),t!==e}),ee=h&&!p(function(){return 1/y(`-0 	`)!=-1/0});e({target:`JSON`,stat:!0,forced:L},{parse:function(e,t){return ee&&!o(t)?y(e):M(e,t)}})})),ef=n(((e,t)=>{t.exports=!G()(function(){return Object.isExtensible(Object.preventExtensions({}))})})),tf=n((()=>{var e=Z(),t=ef(),n=vc(),r=Jo(),i=J(),a=Ws(),o=lc(),s=Es().set,c=SyntaxError,l=r(`JSON`,`parse`),u=r(`Object`,`create`),d=r(`Object`,`freeze`),f=i(``.charAt),p=`Unacceptable as raw JSON`,m=function(e){return e===` `||e===`	`||e===`
4`||e===`\r`};e({target:`JSON`,stat:!0,forced:!n},{rawJSON:function(e){var n=a(e);if(n===``||m(f(n,0))||m(f(n,n.length-1)))throw new c(p);var r=l(n);if(typeof r==`object`&&r)throw new c(p);var i=u(null);return s(i,{type:`RawJSON`}),o(i,`rawJSON`,n),t?d(i):i}})})),nf=n((()=>{var e=W();nc()(e.JSON,`JSON`,!0)})),rf=n(((e,t)=>{t.exports=G()(function(){if(typeof ArrayBuffer==`function`){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})})),af=n(((e,t)=>{var n=G(),r=Y(),i=Ho(),a=rf(),o=Object.isExtensible;t.exports=n(function(){o(1)})||a?function(e){return!r(e)||a&&i(e)===`ArrayBuffer`?!1:!o||o(e)}:o})),of=n(((e,t)=>{var n=Z(),r=J(),i=Ts(),a=Y(),o=us(),s=ys().f,c=Ls(),l=Xs(),u=af(),d=ds(),f=ef(),p=!1,m=d(`meta`),h=0,g=function(e){s(e,m,{value:{objectID:`O`+h++,weakData:{}}})},_=t.exports={enable:function(){_.enable=function(){},p=!0;var e=c.f,t=r([].splice),i={};i[m]=1,e(i).length&&(c.f=function(n){for(var r=e(n),i=0,a=r.length;i<a;i++)if(r[i]===m){t(r,i,1);break}return r},n({target:`Object`,stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return typeof e==`symbol`?e:(typeof e==`string`?`S`:`P`)+e;if(!o(e,m)){if(!u(e))return`F`;if(!t)return`E`;g(e)}return e[m].objectID},getWeakData:function(e,t){if(!o(e,m)){if(!u(e))return!0;if(!t)return!1;g(e)}return e[m].weakData},onFreeze:function(e){return f&&p&&u(e)&&!o(e,m)&&g(e),e}};i[m]=!0})),sf=n(((e,t)=>{var n=Z(),r=W(),i=J(),a=Vs(),o=Os(),s=of(),c=cl(),l=Ou(),u=qo(),d=Wo(),f=Y(),p=G(),m=zl(),h=nc(),g=Wc();t.exports=function(e,t,_){var v=e.indexOf(`Map`)!==-1,y=e.indexOf(`Weak`)!==-1,b=v?`set`:`add`,x=r[e],S=x&&x.prototype,C=x,w={},T=function(e){var t=i(S[e]);o(S,e,e===`add`?function(e){return t(this,e===0?0:e),this}:e===`delete`?function(e){return y&&!f(e)?!1:t(this,e===0?0:e)}:e===`get`?function(e){return y&&!f(e)?void 0:t(this,e===0?0:e)}:e===`has`?function(e){return y&&!f(e)?!1:t(this,e===0?0:e)}:function(e,n){return t(this,e===0?0:e,n),this})};
4if(a(e,!u(x)||!(y||S.forEach&&!p(function(){new x().entries().next()}))))C=_.getConstructor(t,e,v,b),s.enable();else if(a(e,!0)){var E=new C,D=E[b](y?{}:-0,1)!==E,O=p(function(){E.has(1)}),k=m(function(e){new x(e)}),A=!y&&p(function(){for(var e=new x,t=5;t--;)e[b](t,t);return!e.has(-0)});k||(C=t(function(e,t){l(e,S);var n=g(new x,e,C);return d(t)||c(t,n[b],{that:n,AS_ENTRIES:v}),n}),C.prototype=S,S.constructor=C),(O||A)&&(T(`delete`),T(`has`),v&&T(`get`)),(A||D)&&T(b),y&&S.clear&&delete S.clear}return w[e]=C,n({global:!0,constructor:!0,forced:C!==x},w),h(C,e),y||_.setStrong(C,e,v),C}})),cf=n(((e,t)=>{var n=Js(),r=Zs(),i=Du(),a=ic(),o=Ou(),s=Wo(),c=cl(),l=Kl(),u=ql(),d=mu(),f=K(),p=of().fastKey,m=Es(),h=m.set,g=m.getterFor;t.exports={getConstructor:function(e,t,l,u){var d=e(function(e,r){o(e,m),h(e,{type:t,index:n(null),first:null,last:null,size:0}),f||(e.size=0),s(r)||c(r,e[u],{that:e,AS_ENTRIES:l})}),m=d.prototype,_=g(t),v=function(e,t,n){var r=_(e),i=y(e,t),a,o;return i?i.value=n:(r.last=i={index:o=p(t,!0),key:t,value:n,previous:a=r.last,next:null,removed:!1},r.first||=i,a&&(a.next=i),f?r.size++:e.size++,o!==`F`&&(r.index[o]=i)),e},y=function(e,t){var n=_(e),r=p(t),i;if(r!==`F`)return n.index[r];for(i=n.first;i;i=i.next)if(i.key===t)return i};return i(m,{clear:function(){for(var e=this,t=_(e),r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=null),r=r.next;t.first=t.last=null,t.index=n(null),f?t.size=0:e.size=0},delete:function(e){var t=this,n=_(t),r=y(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first===r&&(n.first=i),n.last===r&&(n.last=a),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t=_(this),n=a(e,arguments.length>1?arguments[1]:void 0),r;r=r?r.next:t.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(e){return!!y(this,e)}}),i(m,l?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,e===0?0:e,t)}}:{add:function(e){return v(this,e=e===0?0:e,e)}}),f&&r(m,`size`,{configurable:!0,get:function(){return _(this).size}}),d},setStrong:function(e,t,n){var r=t+` Iterator`,i=g(t),a=g(r);l(e,t,function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:null})},function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return!e.target||!(e.last=n=n?n.next:e.state.first)?(e.target=null,u(void 0,!0)):u(t===`keys`?n.key:t===`values`?n.value:[n.key,n.value],!1)},n?`entries`:`values`,!n,!0),d(t)}}})),lf=n((()=>{sf()(`Map`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},cf())})),uf=n((()=>{lf()})),df=n(((e,t)=>{var n=J(),r=Map.prototype;t.exports={Map,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete),proto:r}})),ff=n((()=>{var e=Z(),t=J(),n=ns(),r=Go(),i=cl(),a=hl(),o=df(),s=as(),c=G(),l=o.Map,u=o.has,d=o.get,f=o.set,p=t([].push),m=s||c(function(){return l.groupBy(`ab`,function(e){return e}).get(`a`).length!==1});e({target:`Map`,stat:!0,forced:s||m},{groupBy:function(e,t){r(e),n(t);var o=new l,s=0;return i(e,function(e){a(s);var n=t(e,s++);u(o,n)?p(d(o,n),e):f(o,n,[e])}),o}})})),pf=n((()=>{var e=Z(),t=df(),n=as(),r=t.get,i=t.has,a=t.set;e({target:`Map`,proto:!0,real:!0,forced:n},{getOrInsert:function(e,t){return i(this,e)?r(this,e):(a(this,e,t),t)}})})),mf=n((()=>{var e=Z(),t=ns(),n=df(),r=as(),i=n.get,a=n.has,o=n.set;e({target:`Map`,proto:!0,real:!0,forced:r},{getOrInsertComputed:function(e,n){var r=a(this,e);if(t(n),r)return i(this,e);e===0&&1/e==-1/0&&(e=0);var s=n(e);return o(this,e,s),s}})})),hf=n(((e,t)=>{var n=Math.log;t.exports=Math.log1p||function(e){var t=+e;if(t>-1e-8&&t<1e-8)return t-t*t/2;var r=1+t;return r===1?t:t===r-1?n(r):t*n(r)/(r-1)}})),gf=n((()=>{var e=Z(),t=hf(),n=Math.acosh,r=Math.log,i=Math.sqrt,a=Math.LN2;e({target:`Math`,stat:!0,forced:!n||Math.floor(n(Number.MAX_VALUE))!==710||n(1/0)!==1/0},{acosh:function(e){var n=+e;return n<1?NaN:n>94906265.62425156?r(n)+a:t(n-1+i(n-1)*i(n+1))}})})),_f=n((()=>{var e=Z(),t=hf(),n=Math.asinh,r=Math.log,i=Math.sqrt,a=Math.LN2,o=94906265.62425156;function s(e){var n=+e;return!isFinite(n)||n===0?n:n<0?-s(-n):n>o?r(n)+a:n<1e-8?n:t(n+n*n/(1+i(n*n+1)))}e({target:`Math`,stat:!0,forced:!(n&&1/n(0)>0)},{asinh:s})})),vf=n((()=>{var e=Z(),t=hf(),n=Math.atanh;e({target:`Math`,stat:!0,forced:!(n&&1/n(-0)<0)},{atanh:function(e){var n=+e;return n===0?n:t(2*n/(1-n))/2}})})),yf=n((()=>{var e=Z(),t=Au(),n=Math.abs,r=Math.pow;e({target:`Math`,stat:!0},{cbrt:function(e){var i=+e,a=t(i)*r(n(i),1/3);return i!==0&&isFinite(i)?(2*a+i/(a*a))/3:a}})})),bf=n((()=>{var e=Z(),t=Math.floor,n=Math.log,r=Math.LOG2E;e({target:`Math`,stat:!0},{clz32:function(e){var i=e>>>0;return i?31-t(n(i+.5)*r):32}})})),xf=n(((e,t)=>
4{var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!==-2e-17?function(e){var t=+e;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n})),Sf=n((()=>{var e=Z(),t=xf(),n=Math.cosh,r=Math.abs,i=Math.E;e({target:`Math`,stat:!0,forced:!n||n(710)===1/0},{cosh:function(e){var n=t(r(e)-1)+1;return(n+1/(n*i*i))*(i/2)}})})),Cf=n((()=>{var e=Z(),t=xf();e({target:`Math`,stat:!0,forced:t!==Math.expm1},{expm1:t})})),wf=n((()=>{Z()({target:`Math`,stat:!0},{fround:Nu()})})),Tf=n((()=>{var e=Z(),t=Mu(),n=.0009765625,r=65504,i=6103515625e-14;e({target:`Math`,stat:!0},{f16round:function(e){return t(e,n,r,i)}})})),Ef=n((()=>{var e=Z(),t=Math.hypot,n=Math.abs,r=Math.sqrt;e({target:`Math`,stat:!0,arity:2,forced:!!t&&t(1/0,NaN)!==1/0},{hypot:function(e,t){for(var i=0,a=0,o=arguments.length,s=0,c,l;a<o;)c=n(arguments[a++]),s<c?(l=s/c,i=i*l*l+1,s=c):c>0?(l=c/s,i+=l*l):i+=c;return s===1/0?1/0:s*r(i)}})})),Df=n((()=>{var e=Z(),t=G(),n=Math.imul;e({target:`Math`,stat:!0,forced:t(function(){return n(4294967295,5)!==-5||n.length!==2})},{imul:function(e,t){var n=65535,r=+e,i=+t,a=n&r,o=n&i;return 0|a*o+((n&r>>>16)*o+a*(n&i>>>16)<<16>>>0)}})})),Of=n(((e,t)=>{var n=Math.log,r=Math.LOG10E;t.exports=Math.log10||function(e){return n(e)*r}})),kf=n((()=>{Z()({target:`Math`,stat:!0},{log10:Of()})})),Af=n((()=>{Z()({target:`Math`,stat:!0},{log1p:hf()})})),jf=n((()=>{Z()({target:`Math`,stat:!0},{log2:Wu()})})),Mf=n((()=>{Z()({target:`Math`,stat:!0},{sign:Au()})})),Nf=n((()=>{var e=Z(),t=G(),n=xf(),r=Math.abs,i=Math.exp,a=Math.E;e({target:`Math`,stat:!0,forced:t(function(){return Math.sinh(-2e-17)!==-2e-17})},{sinh:function(e){var t=+e;return r(t)<1?(n(t)-n(-t))/2:(i(t-1)-i(-t-1))*(a/2)}})})),Pf=n((()=>{var e=Z(),t=J(),n=cl(),r=RangeError,i=TypeError,a=1/0,o=NaN,s=Math.abs,c=Math.pow,l=t([].push),u=c(2,1023),d=c(2,53)-1,f=Number.MAX_VALUE,p=c(2,971),m={},h={},g={},_={},v={},y=function(e,t){var n=e+t;return{hi:n,lo:t-(n-e)}};e({target:`Math`,stat:!0},{sumPrecise:function(e){var t=[],c=0,b=_;switch(n(e,function(e){if(++c>d)throw new r(`Maximum allowed index exceeded`);if(typeof e!=`number`)throw new i(`Value is not a number`);b!==m&&(e===e?e===a?b=b===h?m:g:e===-a?b=b===g?m:h:(e!==0||1/e===a)&&(b===_||b===v)&&(b=v,l(t,e)):b=m)}),b){case m:return o;case h:return-a;case g:return a;case _:return-0}for(var x=[],S=0,C,w,T,E,D,O,k=0;k<t.length;k++){C=t[k];for(var A=0,j=0;j<x.length;j++){if(w=x[j],s(C)<s(w)&&(O=C,C=w,w=O),T=y(C,w),E=T.hi,D=T.lo,s(E)===a){var M=E===a?1:-1;S+=M,C=C-M*u-M*u,s(C)<s(w)&&(O=C,C=w,w=O),T=y(C,w),E=T.hi,D=T.lo}D!==0&&(x[A++]=D),C=E}x.length=A,C!==0&&l(x,C)}var N=x.length-1;if(E=0,D=0,S!==0){var P=N>=0?x[N]:0;if(N--,s(S)>1||S>0&&P>0||S<0&&P<0)return S>0?a:-a;if(T=y(S*u,P/2),E=T.hi,D=T.lo,D*=2,s(2*E)===a)return E>0?E===u&&D===-(p/2)&&N>=0&&x[N]<0?f:a:E===-u&&D===p/2&&N>=0&&x[N]>0?-f:-a;D!==0&&(x[++N]=D,D=0),E*=2}for(;N>=0&&(T=y(E,x[N--]),E=T.hi,D=T.lo,D===0););return N>=0&&(D<0&&x[N]<0||D>0&&x[N]>0)&&(w=D*2,C=E+w,w===C-E&&(E=C)),E}})})),Ff=n((()=>{var e=Z(),t=xf(),n=Math.exp;e({target:`Math`,stat:!0},{tanh:function(e){var r=+e,i=t(r),a=t(-r);return i===1/0?1:a===1/0?-1:(i-a)/(n(r)+n(-r))}})})),If=n((()=>{nc()(Math,`Math`,!0)})),Lf=n((()=>{Z()({target:`Math`,stat:!0},{trunc:ks()})})),Rf=n(((e,t)=>{t.exports=`	
5\v\f\r \xA0               \u2028\u2029`})),zf=n(((e,t)=>{var n=J(),r=Go(),i=Ws(),a=Rf(),o=n(``.replace),s=RegExp(`^[`+a+`]+`),c=RegExp(`(^|[^`+a+`])[`+a+`]+$`),l=function(e){return function(t){var n=i(r(t));return e&1&&(n=o(n,s,``)),e&2&&(n=o(n,c,`$1`)),n}};t.exports={start:l(1),end:l(2),trim:l(3)}})),Bf=n((()=>{var e=Z(),t=as(),n=K(),r=W(),i=$s(),a=J(),o=Vs(),s=us(),c=Wc(),l=Yo(),u=es(),d=ps(),f=G(),p=Ls().f,m=_s().f,h=ys().f,g=gc(),_=zf().trim,v=`Number`,y=r[v],b=i[v],x=y.prototype,S=r.TypeError,C=a(``.slice),w=a(``.charCodeAt),T=function(e){var t=d(e,`number`);return typeof t==`bigint`?t:E(t)},E=function(e){var t=d(e,`number`),n,r,i,a,o,s,c,l;if(u(t))throw new S(`Cannot convert a Symbol value to a number`);if(typeof t==`string`&&t.length>2){if(t=_(t),n=w(t,0),n===43||n===45){if(r=w(t,2),r===88||r===120
5)return NaN}else if(n===48){switch(w(t,1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+t}for(o=C(t,2),s=o.length,c=0;c<s;c++)if(l=w(o,c),l<48||l>a)return NaN;return parseInt(o,i)}}return+t},D=o(v,!y(` 0o1`)||!y(`0b1`)||y(`+0x1`)),O=function(e){return l(x,e)&&f(function(){g(e)})},k=function(e){var t=arguments.length<1?0:y(T(e));return O(this)?c(Object(t),this,k):t};k.prototype=x,D&&!t&&(x.constructor=k),e({global:!0,constructor:!0,wrap:!0,forced:D},{Number:k});var A=function(e,t){for(var r=n?p(t):`MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range`.split(`,`),i=0,a;r.length>i;i++)s(t,a=r[i])&&!s(e,a)&&h(e,a,m(t,a))};t&&b&&A(i[v],b),(D||t)&&A(i[v],y)})),Vf=n((()=>{Z()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:2**-52})})),Hf=n(((e,t)=>{var n=W().isFinite;t.exports=Number.isFinite||function(e){return typeof e==`number`&&n(e)}})),Uf=n((()=>{Z()({target:`Number`,stat:!0},{isFinite:Hf()})})),Wf=n(((e,t)=>{var n=Y(),r=Math.floor;t.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&r(e)===e}})),Gf=n((()=>{Z()({target:`Number`,stat:!0},{isInteger:Wf()})})),Kf=n((()=>{Z()({target:`Number`,stat:!0},{isNaN:function(e){return e!==e}})})),qf=n((()=>{var e=Z(),t=Wf(),n=Math.abs;e({target:`Number`,stat:!0},{isSafeInteger:function(e){return t(e)&&n(e)<=9007199254740991}})})),Jf=n((()=>{Z()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})})),Yf=n((()=>{Z()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})})),Xf=n(((e,t)=>{var n=W(),r=G(),i=J(),a=Ws(),o=zf().trim,s=Rf(),c=i(``.charAt),l=n.parseFloat,u=n.Symbol,d=u&&u.iterator;t.exports=1/l(s+`-0`)!=-1/0||d&&!r(function(){l(Object(d))})?function(e){var t=o(a(e)),n=l(t);return n===0&&c(t,0)===`-`?-0:n}:l})),Zf=n((()=>{var e=Z(),t=Xf();e({target:`Number`,stat:!0,forced:Number.parseFloat!==t},{parseFloat:t})})),Qf=n(((e,t)=>{var n=W(),r=G(),i=J(),a=Ws(),o=zf().trim,s=Rf(),c=n.parseInt,l=n.Symbol,u=l&&l.iterator,d=/^[+-]?0x/i,f=i(d.exec);t.exports=c(s+`08`)!==8||c(s+`0x16`)!==22||u&&!r(function(){c(Object(u))})?function(e,t){var n=o(a(e));return c(n,t>>>0||(f(d,n)?16:10))}:c})),$f=n((()=>{var e=Z(),t=Qf();e({target:`Number`,stat:!0,forced:Number.parseInt!==t},{parseInt:t})})),ep=n((()=>{var e=Z(),t=J(),n=As(),r=gc(),i=od(),a=Of(),o=G(),s=RangeError,c=String,l=isFinite,u=Math.abs,d=Math.floor,f=Math.pow,p=Math.round,m=t(1.1.toExponential),h=t(i),g=t(``.slice),_=f(10,308),v=m(-69e-12,4)===`-6.9000e-11`&&m(1.255,2)===`1.25e+0`&&m(12345,3)===`1.235e+4`&&m(25,0)===`3e+1`;e({target:`Number`,proto:!0,forced:!v||!function(){return o(function(){m(1,1/0)})&&o(function(){m(1,-1/0)})}()||!function(){return!o(function(){m(1/0,1/0),m(NaN,1/0)})}()},{toExponential:function(e){var t=r(this);if(e===void 0)return m(t);var i=n(e);if(!l(t))return String(t);if(i<0||i>20)throw new s(`Incorrect fraction digits`);if(v)return m(t,i);var o=``,y,b,x,S,C,w,T;return t<0&&(o=`-`,t=-t),t===0?(b=0,y=h(`0`,i+1)):(C=a(t),b=d(C),T=i-b>=308?t*_*f(10,i-b-308):t/f(10,b-i),w=p(T),T-w>=.5&&(w+=1),w>=f(10,i+1)&&(w/=10,b+=1),y=c(w)),i!==0&&(y=g(y,0,1)+`.`+g(y,1)),b===0?(x=`+`,S=`0`):(x=b>0?`+`:`-`,S=c(u(b))),y+=`e`+x+S,o+y}})})),tp=n((()=>{var e=Z(),t=J(),n=As(),r=gc(),i=od(),a=G(),o=RangeError,s=String,c=Math.floor,l=t(i),u=t(``.slice),d=t(1.1.toFixed),f=function(e,t,n){return t===0?n:t%2==1?f(e,t-1,n*e):f(e*e,t/2,n)},p=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t},m=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=c(i/1e7)},h=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=c(r/t),r=r%t*1e7},g=function(e){for(var t=6,n=``;--t>=0;)if(n!==``||t===0||e[t]!==0){var r=s(e[t]);n=n===``?r:n+l(`0`,7-r.length)+r}return n};e({target:`Number`,proto:!0,forced:a(function(){return d(8e-5,3)!==`0.000`||d(.9,0)!==`1`||d(1.255,2)!==`1.25`||d(0xde0b6b3a7640080,0)!==`1000000000000000128`})||!a(function(){d({})})},{toFixed:function(e){var t=r(this),i=n(e),a=[0,0,0,0,0,0],c=``,d=`0`,_,v,y,b;if(i<0||i>20)throw new o(`Incorrect fraction digits`);if(t!==t)return`NaN`;if(t<=-1e21||t>=1e21)return s(t);if(t<0&&(c=`-`,t=-t),t>1e-21){if(_=p(t*f(2,69,1))-69,v=_<0?t*f(2,-_,1):t/f(2,_,1),v*=4503599627370496,_=52-_,_>0){for(m(a,0,v),y=i;y>=7;)m(a,1e7,0),y-=7;for(m(a,f(10,y,1),0),y=_-1;y>=23;)h(a,1<<23),y-=23;h(a,1<<y),m(a,1,1),h(a,2),d=g(a)}else m(a,0,v),m(a,1<<-_,0),d=g(a)+l(`0`,i)}return i>0?(b=d.length,d=c+(b<=i?`0.`+l(`0`,i-b)+d:u(d,0,b-i)+`.`+u(d,b-i))):d=c+d,d}})})),np=n((()=>{var e=Z(),t=J(),n=G(),r=gc(),i=t(1.1.toPrecision);e({target:`Number`,proto:!0,forced:n(function(){return i(1,void 0)!==`1`})||!n(function(){i({})})},{toPrecision:function(e){return e===void 0?i(r(this)):i(r(this),e)}})})),rp=n(((e,t)=>{var n=K(),r=J(),i=q(),a=G(),o=Gs(),s=Rs(),c=Bo(),l=ls(),u=Uo(),d=Object.assign,f=Object.defineProperty,p=r([].concat);t.exports=!d||a(function(){if(n&&d({b:1},d(f({},`a`,{enumerable:!0,get:function(){f(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(`assign detection`),i=`abcdefghijklmnopqrst`;return e[r]=7,i.split(``).forEach(function(e){t[e]=e}),d({},e)[r]!==7||o(d({},t)).join(``)!==i})?function(e,t){for(var r=l(e),a=arguments.length,d=1,f=s.f,m=c.f;a>d;)for(var h=u(arguments[d++]),g=f?p(o(h),f(h)):o(h),_=g.length,v=0,y;_>v;)y=g[v++],(!n||i(m,h,y))&&(r[y]=h[y]);return r}:d})),ip=n((()=>{var e=Z(),t=rp();e({target:`Object`,stat:!0,arity:2,forced:Object.assign!==t},{assign:t})})),ap=n((()=>{var e=Z(),t=K(),n=Js();e({target:`Object`,stat:!0,sham:!t},{create:n})}
5)),op=n(((e,t)=>{var n=as(),r=W(),i=G(),a=fu();t.exports=n||!i(function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete r[e]}})})),sp=n((()=>{var e=Z(),t=K(),n=op(),r=ns(),i=ls(),a=ys();t&&e({target:`Object`,proto:!0,forced:n},{__defineGetter__:function(e,t){a.f(i(this),e,{get:r(t),enumerable:!0,configurable:!0})}})})),cp=n((()=>{var e=Z(),t=K(),n=Ks().f;e({target:`Object`,stat:!0,forced:Object.defineProperties!==n,sham:!t},{defineProperties:n})})),lp=n((()=>{var e=Z(),t=K(),n=ys().f;e({target:`Object`,stat:!0,forced:Object.defineProperty!==n,sham:!t},{defineProperty:n})})),up=n((()=>{var e=Z(),t=K(),n=op(),r=ns(),i=ls(),a=ys();t&&e({target:`Object`,proto:!0,forced:n},{__defineSetter__:function(e,t){a.f(i(this),e,{set:r(t),enumerable:!0,configurable:!0})}})})),dp=n(((e,t)=>{var n=K(),r=G(),i=J(),a=nl(),o=Gs(),s=Ko(),c=Bo().f,l=i(c),u=i([].push),d=n&&r(function(){var e=Object.create(null);return e[2]=2,!l(e,2)}),f=function(e){return function(t){for(var r=s(t),i=o(r),c=d&&a(r)===null,f=i.length,p=0,m=[],h;f>p;)h=i[p++],(!n||(c?h in r:l(r,h)))&&u(m,e?[h,r[h]]:r[h]);return m}};t.exports={entries:f(!0),values:f(!1)}})),fp=n((()=>{var e=Z(),t=dp().entries;e({target:`Object`,stat:!0},{entries:function(e){return t(e)}})})),pp=n((()=>{var e=Z(),t=ef(),n=G(),r=Y(),i=of().onFreeze,a=Object.freeze;e({target:`Object`,stat:!0,forced:n(function(){a(1)}),sham:!t},{freeze:function(e){return a&&r(e)?a(i(e)):e}})})),mp=n((()=>{var e=Z(),t=cl(),n=lc();e({target:`Object`,stat:!0},{fromEntries:function(e){var r={};return t(e,function(e,t){n(r,e,t)},{AS_ENTRIES:!0}),r}})})),hp=n((()=>{var e=Z(),t=G(),n=Ko(),r=_s().f,i=K();e({target:`Object`,stat:!0,forced:!i||t(function(){r(1)}),sham:!i},{getOwnPropertyDescriptor:function(e,t){return r(n(e),t)}})})),gp=n((()=>{var e=Z(),t=K(),n=zs(),r=Ko(),i=_s(),a=lc();e({target:`Object`,stat:!0,sham:!t},{getOwnPropertyDescriptors:function(e){for(var t=r(e),o=i.f,s=n(t),c={},l=0,u,d;s.length>l;)d=o(t,u=s[l++]),d!==void 0&&a(c,u,d);return c}})})),_p=n((()=>{var e=Z(),t=G(),n=Xs().f;e({target:`Object`,stat:!0,forced:t(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:n})})),vp=n((()=>{var e=Z(),t=G(),n=ls(),r=nl(),i=tl();e({target:`Object`,stat:!0,forced:t(function(){r(1)}),sham:!i},{getPrototypeOf:function(e){return r(n(e))}})})),yp=n((()=>{var e=Z(),t=lc(),n=Jo(),r=J(),i=ns(),a=Go(),o=ms(),s=cl(),c=hl(),l=G(),u=Object.groupBy,d=n(`Object`,`create`),f=r([].push);e({target:`Object`,stat:!0,forced:!u||l(function(){return u(`ab`,function(e){return e}).a.length!==1})},{groupBy:function(e,n){a(e),i(n);var r=d(null),l=0;return s(e,function(e){c(l);var i=o(n(e,l++));i in r?f(r[i],e):t(r,i,[e])}),r}})})),bp=n((()=>{Z()({target:`Object`,stat:!0},{hasOwn:us()})})),xp=n(((e,t)=>{t.exports=Object.is||function(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}})),Sp=n((()=>{Z()({target:`Object`,stat:!0},{is:xp()})})),Cp=n((()=>{var e=Z(),t=af();e({target:`Object`,stat:!0,forced:Object.isExtensible!==t},{isExtensible:t})})),wp=n((()=>{var e=Z(),t=G(),n=Y(),r=Ho(),i=rf(),a=Object.isFrozen;e({target:`Object`,stat:!0,forced:i||t(function(){a(1)})},{isFrozen:function(e){return!n(e)||i&&r(e)===`ArrayBuffer`?!0:a?a(e):!1}})})),Tp=n((()=>{var e=Z(),t=G(),n=Y(),r=Ho(),i=rf(),a=Object.isSealed;e({target:`Object`,stat:!0,forced:i||t(function(){a(1)})},{isSealed:function(e){return!n(e)||i&&r(e)===`ArrayBuffer`?!0:a?a(e):!1}})})),Ep=n((()=>{var e=Z(),t=ls(),n=Gs();e({target:`Object`,stat:!0,forced:G()(function(){n(1)})},{keys:function(e){return n(t(e))}})})),Dp=n((()=>{var e=Z(),t=K(),n=op(),r=ls(),i=ms(),a=nl(),o=_s().f;t&&e({target:`Object`,proto:!0,forced:n},{__lookupGetter__:function(e){var t=r(this),n=i(e),s;do if(s=o(t,n))return s.get;while(t=a(t))}})})),Op=n((()=>{var e=Z(),t=K(),n=op(),r=ls(),i=ms(),a=nl(),o=_s().f;t&&e({target:`Object`,proto:!0,forced:n},{__lookupSetter__:function(e){var t=r(this),n=i(e),s;do if(s=o(t,n))return s.set;while(t=a(t))}})})),kp=n((()=>{var e=Z(),t=Y(),n=of().onFreeze,r=ef(),i=G(),a=Object.preventExtensions;e({target:`Object`,stat:!0,forced:i(function(){a(1)}),sham:!r},{preventExtensions:function(e){return a&&t(e)?a(n(e)):e}})})),Ap=n((()=>
vendor: 10,771 bytes, line 5
5{var e=K(),t=Zs(),n=Y(),r=Bc(),i=ls(),a=Go(),o=Object.getPrototypeOf,s=Object.setPrototypeOf,c=Object.prototype,l=`__proto__`;if(e&&o&&s&&{}[l]!==c)try{t(c,l,{configurable:!0,get:function(){return o(i(this))},set:function(e){var t=a(this);r(e)&&n(t)&&s(t,e)}})}catch{}})),jp=n((()=>{var e=Z(),t=Y(),n=of().onFreeze,r=ef(),i=G(),a=Object.seal;e({target:`Object`,stat:!0,forced:i(function(){a(1)}),sham:!r},{seal:function(e){return a&&t(e)?a(n(e)):e}})})),Mp=n((()=>{Z()({target:`Object`,stat:!0},{setPrototypeOf:Hc()})})),Np=n(((e,t)=>{var n=Hs(),r=Us();t.exports=n?{}.toString:function(){return`[object `+r(this)+`]`}})),Pp=n((()=>{var e=Hs(),t=Os(),n=Np();e||t(Object.prototype,`toString`,n,{unsafe:!0})})),Fp=n((()=>{var e=Z(),t=dp().values;e({target:`Object`,stat:!0},{values:function(e){return t(e)}})})),Ip=n((()=>{var e=Z(),t=Xf();e({global:!0,forced:parseFloat!==t},{parseFloat:t})})),Lp=n((()=>{var e=Z(),t=Qf();e({global:!0,forced:parseInt!==t},{parseInt:t})})),Rp=n(((e,t)=>{var n=oc(),r=ts(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a constructor`)}})),zp=n(((e,t)=>{var n=X(),r=Rp(),i=Wo(),a=fs()(`species`);t.exports=function(e,t){var o=n(e).constructor,s;return o===void 0||i(s=n(o)[a])?t:r(s)}})),Bp=n(((e,t)=>{var n=TypeError;t.exports=function(e,t){if(e<t)throw new n(`Not enough arguments`);return e}})),Vp=n(((e,t)=>{var n=Xo();t.exports=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n)})),Hp=n(((e,t)=>{var n=W(),r=Rc(),i=ic(),a=qo(),o=us(),s=G(),c=qs(),l=Ys(),u=hs(),d=Bp(),f=Vp(),p=ru(),m=n.setImmediate,h=n.clearImmediate,g=n.process,_=n.Dispatch,v=n.Function,y=n.MessageChannel,b=n.String,x=0,S={},C=`onreadystatechange`,w,T,E,D;s(function(){w=n.location});var O=function(e){if(o(S,e)){var t=S[e];delete S[e],t()}},k=function(e){return function(){O(e)}},A=function(e){O(e.data)},j=function(e){n.postMessage(b(e),w.protocol+`//`+w.host)};(!m||!h)&&(m=function(e){d(arguments.length,1);var t=a(e)?e:v(e),n=l(arguments,1);return S[++x]=function(){r(t,void 0,n)},T(x),x},h=function(e){delete S[e]},p?T=function(e){g.nextTick(k(e))}:_&&_.now?T=function(e){_.now(k(e))}:y&&!f?(E=new y,D=E.port2,E.port1.onmessage=A,T=i(D.postMessage,D)):n.addEventListener&&a(n.postMessage)&&!n.importScripts&&w&&w.protocol!==`file:`&&!s(j)?(T=j,n.addEventListener(`message`,A,!1)):T=C in u(`script`)?function(e){c.appendChild(u(`script`))[C]=function(){c.removeChild(this),O(e)}}:function(e){setTimeout(k(e),0)}),t.exports={set:m,clear:h}})),Up=n(((e,t)=>{var n=W(),r=K(),i=Object.getOwnPropertyDescriptor;t.exports=function(e){if(!r)return n[e];var t=i(n,e);return t&&t.value}})),Wp=n(((e,t)=>{var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return(this.head=e.next)===null&&(this.tail=null),e.item}},t.exports=n})),Gp=n(((e,t)=>{var n=Xo();t.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<`u`})),Kp=n(((e,t)=>{var n=Xo();t.exports=/web0s(?!.*chrome)/i.test(n)})),qp=n(((e,t)=>{var n=W(),r=Up(),i=ic(),a=Hp().set,o=Wp(),s=Vp(),c=Gp(),l=Kp(),u=ru(),d=n.MutationObserver||n.WebKitMutationObserver,f=n.document,p=n.process,m=n.Promise,h=r(`queueMicrotask`),g,_,v,y,b;if(!h){var x=new o,S=function(){var e,t;for(u&&(e=p.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&g(),e}e&&e.enter()};!s&&!u&&!l&&d&&f?(_=!0,v=f.createTextNode(``),new d(S).observe(v,{characterData:!0}),g=function(){v.data=_=!_}):!c&&m&&m.resolve?(y=m.resolve(void 0),y.constructor=m,b=i(y.then,y),g=function(){b(S)}):u?g=function(){p.nextTick(S)}:(a=i(a,n),g=function(){a(S)}),h=function(e){x.head||g(),x.add(e)}}t.exports=h})),Jp=n(((e,t)=>{t.exports=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}})),Yp=n(((e,t)=>{t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}})),Xp=n(((e,t)=>{t.exports=W().Promise})),Zp=n(((e,t)=>{var n=W(),r=Xp(),i=qo(),a=Vs(),o=Ss(),s=fs(),c=nu(),l=as(),u=Zo(),d=r&&r.prototype,f=s(`species`),p=!1,m=i(n.PromiseRejectionEvent);t.exports={CONSTRUCTOR:a(`Promise`,function(){var e=o(r),t=e!==String(r);if(!t&&u===66||l&&!(d.catch&&d.finally))return!0;if(!u||u<51||!/native code/.test(e)){var n=new r(function(e){e(1)}),i=function(e){e(function(){},function(){})},a=n.constructor={};if(a[f]=i,p=n.then(function(){})instanceof i,!p)return!0}return!t&&(c===`BROWSER`||c===`DENO`)&&!m}),REJECTION_EVENT:m,SUBCLASSING:p}})),Qp=n(((e,t)=>{var n=ns(),r=TypeError,i=function(e){var t,i;this.promise=new e(function(e,n){if(t!==void 0||i!==void 0)throw new r(`Bad Promise constructor`);t=e,i=n}),this.resolve=n(t),this.reject=n(i)};t.exports.f=function(e){return new i(e)}})),$p=n((()=>{var e=Z(),t=as(),n=ru(),r=W(),i=$s(),a=q(),o=Os(),s=Hc(),c=nc(),l=mu(),u=ns(),d=qo(),f=Y(),p=Ou(),m=zp(),h=Hp().set,g=qp(),_=Jp(),v=Yp(),y=Wp(),b=Es(),x=Xp(),S=Zp(),C=Qp(),w=`Promise`,T=S.CONSTRUCTOR,E=S.REJECTION_EVENT,D=S.SUBCLASSING,O=b.getterFor(w),k=b.set,A=x&&x.prototype,j=x,M=A,N=r.TypeError,P=r.document,F=r.process,I=C.f,L=I,ee=!!(P&&P.createEvent&&r.dispatchEvent),te=`unhandledrejection`,ne=`rejectionhandled`,re=0,ie=1,ae=2,oe=1,R=2,se,z,ce,le,ue=function(e){var t;return f(e)&&d(t=e.then)?t:!1},de=function(e,t){var n=t.value,r=t.state===ie,i=r?e.ok:e.fail,o=e.resolve,s=e.reject,c=e.domain,l,u,d;try{i?(r||(t.rejection===R&&me(t),t.rejection=oe),i===!0?l=n:(c&&c.enter(),l=i(n),c&&(c.exit(),d=!0)),l===e.promise?s(new N(`Promise-chain cycle`)):(u=ue(l))?a(u,l,o,s):o(l)):s(n)}catch(e){c&&!d&&c.exit(),s(e)}},fe=function(e,t){e.notified||(e.notified=!0,g(function(){for(var n=e.reactions,r;r=n.get();)de(r,e);e.notified=!1,t&&!e.rejection&&B(e)}))},pe=function(e,t,n){var i,a;ee?(i=P.createEvent(`Event`),i.promise=t,i.reason=n,i.initEvent(e,!1,!0),r.dispatchEvent(i)):i={promise:t,reason:n},!E&&(a=r[`on`+e])?a(i):e===te&&_(`Unhandled promise rejection`,n)},B=function(e){a(h,r,function(){var t=e.facade,r=e.value,i=V(e),a;if(i&&(a=v(function(){n?F.emit(`unhandledRejection`,r,t):pe(te,t,r)}),e.rejection=n||V(e)?R:oe,a.error))throw a.value})},V=function(e){return e.rejection!==oe&&!e.parent},me=function(e){a(h,r,function(){var t=e.facade;n?F.emit(`rejectionHandled`,t):pe(ne,t,e.value)})},he=function(e,t,n){return function(r){e(t,r,n)}},ge=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=ae,fe(e,!0))},_e=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new N(`Promise can't be resolved itself`);var r=ue(t);r?g(function(){var n={done:!1};try{a(r,t,he(_e,n,e),he(ge,n,e))}catch(t){ge(n,t,e)}}):(e.value=t,e.state=ie,fe(e,!1))}catch(t){ge({done:!1},t,e)}}};if(T&&(j=function(e){p(this,M),u(e),a(se,this);var t=O(this);try{e(he(_e,t),he(ge,t))}catch(e){ge(t,e)}},M=j.prototype,se=function(e){k(this,{type:w,done:!1,notified:!1,parent:!1,reactions:new y,rejection:!1,state:re,value:null})},se.prototype=o(M,`then`,function(e,t){var r=O(this),i=I(m(this,j));return r.parent=!0,i.ok=!d(e)||e,i.fail=d(t)&&t,i.domain=n?F.domain:void 0,r.state===re?r.reactions.add(i):g(function(){de(i,r)}),i.promise}),z=function(){var e=new se,t=O(e);this.promise=e,this.resolve=he(_e,t),this.reject=he(ge,t)},C.f=I=function(e){return e===j||e===ce?new z(e):L(e)},!t&&d(x)&&A!==Object.prototype)){le=A.then,D||o(A,`then`,function(e,t){var n=this;return new j(function(e,t){a(le,n,e,t)}).then(e,t)},{unsafe:!0});try{delete A.constructor}catch{}s&&s(A,M)}e({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:j}),ce=i.Promise,c(j,w,!1,!0),l(w)})),em=n(((e,t)=>{var n=Xp(),r=zl();t.exports=Zp().CONSTRUCTOR||!r(function(e){n.all(e).then(void 0,function(){})})})),tm=n((()=>{var e=Z(),t=q(),n=ns(),r=Qp(),i=Yp(),a=cl();e({target:`Promise`,stat:!0,forced:em()},{all:function(e){var o=this,s=r.f(o),c=s.resolve,l=s.reject,u=i(function(){var r=n(o.resolve),i=[],s=0,u=1;a(e,function(e){var n=s++,a=!1;u++,t(r,o,e).then(function(e){a||(a=!0,i[n]=e,--u||c(i))},l)}),--u||c(i)});return u.error&&l(u.value),s.promise}})})),nm=n((()=>{var e=Z(),t=as(),n=Zp().CONSTRUCTOR,r=Xp(),i=Jo(),a=qo(),o=Os(),s=r&&r.prototype;if(e({target:`Promise`,proto:!0,forced:n,real:!0},{catch:function(e){return this.then(void 0,e)}}),!t&&a(r)){var c=i(`Promise`).prototype.catch;s.catch!==c&&o(s,`catch`,c,{unsafe:!0})}})),rm=n((()=>{var e=Z(),t=q(),n=ns(),r=Qp(),i=Yp(),a=cl();e({target:`Promise`,stat:!0,forced:em()},{race:function(e){var o=this,s=r.f(o),c=s.reject,l=i(function(){var r=n(o.resolve);a(e,function(e){t(r,o,e).then(s.resolve,c)})});return l.error&&c(l.value),s.promise}})})),im=n((()=>{var e=Z(),t=Qp(),n=Zp().CONSTRUCTOR;e({target:`Promise`,stat:!0,forced:n},{reject:function(e){var n=t.f(this),r=n.reject;return r(e),n.promise}})})),am=n(((e,t)=>{var n=X(),r=Y(),i=Qp();t.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var a=i.f(e),o=a.resolve;return o(t),a.promise}})),om=n((()=>{var e=Z(),t=Jo(),n=as(),r=Xp(),i=Zp().CONSTRUCTOR,a=am(),o=t(`Promise`),s=n&&!i;e({target:`Promise`,stat:!0,forced:n||i},{resolve:function(e){return a(s&&this===o?r:this,e)}})})),sm=n((()=>{$p(),tm(),nm(),rm(),im(),om()})),cm=n((()=>{var e=Z(),t=q(),n=ns(),r=Qp(),i=Yp(),a=cl();e({target:`Promise`,stat:!0,forced:em()},{allSettled:function(e){var o=this,s=r.f(o),c=s.resolve,l=s.reject,u=i(function(){var r=n(o.resolve),i=[],s=0,l=1;a(e,function(e){var n=s++,a=!1;l++,t(r,o,e).then(function(e){a||(a=!0,i[n]={status:`fulfilled`,value:e},--l||c(i))},function(e){a||(a=!0,i[n]={status:`rejected`,reason:e},--l||c(i))})}),--l||c(i)});return u.error&&l(u.value),s.promise}})})),lm=n((()=>{var e=Z(),t=q(),n=ns(),r=Jo(),i=Qp(),a=Yp(),o=cl(),s=em(),c=`No one promise resolved`;e({target:`Promise`,stat:!0,forced:s},{any:function(e){var s=this,l=r(`AggregateError`),u=i.f(s),d=u.resolve,f=u.reject,p=a(function(){var r=n(s.resolve),i=[],a=0,u=1,p=!1;o(e,function(e){var n=a++,o=!1;u++,t(r,s,e).then(function(e){o||p||(p=!0,d(e))},function(e){o||p||(o=!0,i[n]=e,--u||f(new l(i,c)))})}),--u||f(new l(i,c))});return p.error&&f(p.value),u.promise}})})),um=n((()=>{var e=Z(),t=as(),n=Xp(),r=G(),i=Jo(),a=qo(),o=zp(),s=am(),c=Os(),l=n&&n.prototype;if(e({target:`Promise`,proto:!0,real:!0,forced:!!n&&r(function(){l.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=o(this,i(`Promise`)),n=a(e);return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}}),!t&&a(n)){var u=i(`Promise`).prototype.finally;l.finally!==u&&c(l,`finally`,u,{unsafe:!0})}})),dm=n((()=>{var e=Z(),t=W(),n=Rc(),r=Ys(),i=am(),a=Qp(),o=ns(),s=Yp(),c=G(),l=t.Promise,u=!1;e({target:`Promise`,stat:!0,forced:!l||!l.try||c(function(){var e=l.resolve();return l.try(function(t){return u=t===8,e},8)!==e})||!u},{try:function(e){var t=arguments.length>
51?r(arguments,1):[],c=s(function(){return n(o(e),void 0,t)});if(!c.error)return i(this,c.value);var l=a.f(this),u=l.reject;return u(c.value),l.promise}})})),fm=n((()=>{var e=Z(),t=Qp();e({target:`Promise`,stat:!0},{withResolvers:function(){var e=t.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})})),pm=n(((e,t)=>{var n=W(),r=ss(),i=qo(),a=Js(),o=nl(),s=Os(),c=fs(),l=as(),u=`USE_FUNCTION_CONSTRUCTOR`,d=c(`asyncIterator`),f=n.AsyncIterator,p=r.AsyncIteratorPrototype,m,h;if(p)m=p;else if(i(f))m=f.prototype;else if(r[u]||n[u])try{h=o(o(o(Function(`return async function*(){}()`)()))),o(h)===Object.prototype&&(m=h)}catch{}m?l&&(m=a(m)):m={},i(m[d])||s(m,d,function(){return this}),t.exports=m})),mm=n(((e,t)=>{var n=q(),r=X(),i=Js(),a=rs(),o=Du(),s=Es(),c=sl(),l=Jo(),u=pm(),d=ql(),f=l(`Promise`),p=`AsyncFromSyncIterator`,m=s.set,h=s.getterFor(p),g=function(e,t,n,r,i){var a=e.done;f.resolve(e.value).then(function(e){t(d(e,a))},function(e){if(!a&&i)try{c(r,`throw`,e)}catch(t){e=t}n(e)})},_=function(e){e.type=p,m(this,e)};_.prototype=o(i(u),{next:function(){var e=h(this),t=arguments.length>0,i=t?arguments[0]:void 0;return new f(function(a,o){g(r(t?n(e.next,e.iterator,i):n(e.next,e.iterator)),a,o,e.iterator,!0)})},return:function(){var e=h(this).iterator,t=arguments.length>0,i=t?arguments[0]:void 0;return new f(function(o,s){var c=a(e,`return`);if(c===void 0)return o(d(i,!0));g(r(t?n(c,e,i):n(c,e)),o,s,e)})},throw:function(){var e=h(this).iterator,t=arguments.length>0,i=t?arguments[0]:void 0;return new f(function(o,s){var l=a(e,`throw`);if(l===void 0){try{c(e,`normal`)}catch(e){return s(e)}return s(TypeError(`The iterator does not provide a throw method`))}g(r(t?n(l,e,i):n(l,e)),o,s,e,!0)})}}),t.exports=_})),hm=n(((e,t)=>{var n=q(),r=mm(),i=X(),a=ol(),o=Od(),s=rs(),c=fs()(`asyncIterator`);t.exports=function(e,t){var l=arguments.length<2?s(e,c):t;return l?i(n(l,e)):new r(o(a(e)))}})),gm=n(((e,t)=>{var n=q(),r=X(),i=Jo(),a=rs();t.exports=function(e,t,o,s){try{var c=a(e,`return`);if(c)return i(`Promise`).resolve(n(c,e)).then(function(e){try{t!==s&&r(e)}catch(e){s(e);return}t(o)},function(e){t===s?t(o):s(e)})}catch(e){return s(t===s?o:e)}t(o)}})),_m=n(((e,t)=>{var n=q(),r=ns(),i=X(),a=Y(),o=hl(),s=Jo(),c=lc(),l=gl(),u=Od(),d=gm(),f=function(e){var t=e===0,f=e===1,p=e===2,m=e===3;return function(e,h,g){i(e);var _=h!==void 0;(_||!t)&&r(h);var v=u(e),y=s(`Promise`),b=v.iterator,x=v.next,S=0;return new y(function(e,r){var s=function(e){d(b,r,e,r)},u=function(){try{try{o(S)}catch(e){return s(e)}y.resolve(i(n(x,b))).then(function(n){try{if(i(n).done)t?(l(g,S),e(g)):e(m?!1:p||void 0);else{var o=n.value;try{if(_){var v=S++,x=h(o,v),C=function(n){if(f)u();else if(p)n?u():d(b,e,!1,r);else if(t)try{c(g,v,n),u()}catch(e){s(e)}else n?d(b,e,m||o,r):u()};a(x)?y.resolve(x).then(C,s):C(x)}else c(g,S++,o),u()}catch(e){s(e)}}}catch(e){r(e)}},r)}catch(e){r(e)}};u()})}};t.exports={toArray:f(0),forEach:f(1),every:f(2),some:f(3),find:f(4)}})),vm=n(((e,t)=>{var n=ic(),r=J(),i=oc(),a=hm(),o=ol(),s=Od(),c=al(),l=rs(),u=Jo(),d=yu(),f=fs(),p=mm(),m=_m().toArray,h=f(`asyncIterator`),g=r(d(`Array`,`values`)),_=r(g([]).next),v=function(){return new y(this)},y=function(e){this.iterator=g(e)};y.prototype.next=function(){return _(this.iterator)},t.exports=function(e){var t=this,r=arguments.length,d=r>1?arguments[1]:void 0,f=r>2?arguments[2]:void 0;return new(u(`Promise`))(function(r){d!==void 0&&(d=n(d,f));var u=l(e,h),g=u?void 0:c(e)||v,_=i(t)?new t:[];r(m(u?a(e,u):new p(s(o(e,g))),d,_))})}})),ym=n((()=>{var e=Z(),t=vm(),n=G(),r=Array.fromAsync;e({target:`Array`,stat:!0,forced:!r||n(function(){var e=0;return r.call(function(){return e++,[]},{length:0}),e!==1})},{fromAsync:t})})),bm=n((()=>{var e=Z(),t=K(),n=Jo(),r=ns(),i=Ou(),a=Os(),o=Du(),s=Zs(),c=fs(),l=Es(),u=md(),d=Zo(),f=n(`Promise`),p=n(`SuppressedError`),m=ReferenceError,h=c(`asyncDispose`),g=c(`toStringTag`),_=`AsyncDisposableStack`,v=l.set,y=l.getterFor(_),b=`async-dispose`,x=`disposed`,S=`pending`,C=function(e){var t=y(e);if(t.state===x)throw new m(_+` already disposed`);return t},w=function(){v(i(this,T),{type:_,state:S,stack:[]}),t||(this.disposed=!1)},T=w.prototype;o(T,{disposeAsync:function(){var e=this;return new f(function(n,r){var i=y(e);if(i.state===x)return n(void 0);
5i.state=x,t||(e.disposed=!0);var a=i.stack,o=a.length,s=!1,c,l=function(e){s?c=new p(e,c):(s=!0,c=e),u()},u=function(){if(o){var e=a[--o];a[o]=null;try{f.resolve(e()).then(u,l)}catch(e){l(e)}}else i.stack=null,s?r(c):n(void 0)};u()})},use:function(e){return u(C(this),e,b),e},adopt:function(e,t){var n=C(this);return r(t),u(n,void 0,b,function(){return t(e)}),e},defer:function(e){var t=C(this);r(e),u(t,void 0,b,e)},move:function(){var e=C(this),n=new w;return y(n).stack=e.stack,e.stack=[],e.state=x,t||(this.disposed=!0),n}}),t&&s(T,`disposed`,{configurable:!0,get:function(){return y(this).state===x}}),a(T,h,T.disposeAsync,{name:`disposeAsync`}),a(T,g,_,{nonWritable:!0}),e({global:!0,constructor:!0,forced:d&&d<136},{AsyncDisposableStack:w})})),xm=n((()=>{var e=q(),t=Os(),n=Jo(),r=rs(),i=us(),a=fs(),o=pm(),s=a(`asyncDispose`),c=n(`Promise`);i(o,s)||t(o,s,function(){var t=this;return new c(function(n,i){var a=r(t,`return`);a?c.resolve(e(a,t)).then(function(){n(void 0)},i):n(void 0)})})})),Sm=n((()=>{var e=Z(),t=Rc(),n=ns(),r=X();e({target:`Reflect`,stat:!0,forced:!G()(function(){Reflect.apply(function(){})})},{apply:function(e,i,a){return t(n(e),i,r(a))}})})),Cm=n((()=>{var e=Z(),t=Jo(),n=Rc(),r=_d(),i=Rp(),a=X(),o=Y(),s=Js(),c=G(),l=t(`Reflect`,`construct`),u=Object.prototype,d=[].push,f=c(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),p=!c(function(){l(function(){})}),m=f||p;e({target:`Reflect`,stat:!0,forced:m,sham:m},{construct:function(e,t){i(e);var c=arguments.length<3?e:i(arguments[2]);if(a(t),p&&!f)return l(e,t,c);if(e===c){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var m=[null];return n(d,m,t),new(n(r,e,m))}var h=c.prototype,g=s(o(h)?h:u),_=n(e,g,t);return o(_)?_:g}})})),wm=n((()=>{var e=Z(),t=K(),n=X(),r=ms(),i=ys(),a=qo(),o=G(),s=TypeError;e({target:`Reflect`,stat:!0,forced:o(function(){Reflect.defineProperty(i.f({}
vendor: 4,544 bytes, lines 5-6
5,1,{value:1}),1,{value:2})}),sham:!t},{defineProperty:function(e,t,o){n(e);var c=r(t),l,u;if(n(o),(`get`in o||`set`in o)&&(`get`in o&&!a(l=o.get)&&l!==void 0||`set`in o&&!a(u=o.set)&&u!==void 0||`value`in o||`writable`in o))throw new s(`Invalid property descriptor`);try{return i.f(e,c,o),!0}catch{return!1}}})})),Tm=n((()=>{var e=Z(),t=X(),n=_s().f,r=ms();e({target:`Reflect`,stat:!0},{deleteProperty:function(e,i){t(e);var a=r(i),o=n(e,a);return o&&!o.configurable?!1:delete e[a]}})})),Em=n(((e,t)=>{var n=us();t.exports=function(e){return e!==void 0&&(n(e,`value`)||n(e,`writable`))}})),Dm=n((()=>{var e=Z(),t=q(),n=Y(),r=X(),i=Em(),a=_s(),o=nl(),s=ms(),c=function(e,s,l){if(r(e)===l)return e[s];var u=a.f(e,s);if(u)return i(u)?u.value:u.get===void 0?void 0:t(u.get,l);var d=o(e);if(n(d))return c(d,s,l)};e({target:`Reflect`,stat:!0},{get:function(e,t){return c(r(e),s(t),arguments.length<3?e:arguments[2])}})})),Om=n((()=>{var e=Z(),t=K(),n=X(),r=_s();e({target:`Reflect`,stat:!0,sham:!t},{getOwnPropertyDescriptor:function(e,t){return r.f(n(e),t)}})})),km=n((()=>{var e=Z(),t=X(),n=nl();e({target:`Reflect`,stat:!0,sham:!tl()},{getPrototypeOf:function(e){return n(t(e))}})})),Am=n((()=>{Z()({target:`Reflect`,stat:!0},{has:function(e,t){return t in e}})})),jm=n((()=>{var e=Z(),t=X(),n=af();e({target:`Reflect`,stat:!0},{isExtensible:function(e){return t(e),n(e)}})})),Mm=n((()=>{Z()({target:`Reflect`,stat:!0},{ownKeys:zs()})})),Nm=n((()=>{var e=Z(),t=Jo(),n=X();e({target:`Reflect`,stat:!0,sham:!ef()},{preventExtensions:function(e){n(e);try{var r=t(`Object`,`preventExtensions`);return r&&r(e),!0}catch{return!1}}})})),Pm=n((()=>{var e=Z(),t=q(),n=X(),r=Y(),i=Em(),a=G(),o=ys(),s=_s(),c=nl(),l=Vo(),u=ms(),d=function(e,a,u,f){var p=s.f(n(e),a),m,h,g;if(!p){if(r(h=c(e)))return d(h,a,u,f);p=l(0)}if(i(p)){if(p.writable===!1||!r(f))return!1;if(m=s.f(f,a)){if(!i(m)||m.writable===!1)return!1;o.f(f,a,{value:u})}else try{o.f(f,a,l(0,u))}catch{return!1}}else{if(g=p.set,g===void 0)return!1;t(g,f,u)}return!0};e({target:`Reflect`,stat:!0,forced:a(function(){var e=function(){},t=o.f(new e,`a`,{configurable:!0});return Reflect.set(e.prototype,`a`,1,t)!==!1})},{set:function(e,t,r){return d(n(e),u(t),r,arguments.length<4?e:arguments[3])}})})),Fm=n((()=>{var e=Z(),t=X(),n=Vc(),r=Hc();r&&e({target:`Reflect`,stat:!0},{setPrototypeOf:function(e,i){t(e),n(i);try{return r(e,i),!0}catch{return!1}}})})),Im=n((()=>{var e=Z(),t=W(),n=nc();e({global:!0},{Reflect:{}}),n(t.Reflect,`Reflect`,!0)})),Lm=n(((e,t)=>{var n=Y(),r=Ho(),i=fs()(`match`);t.exports=function(e){var t;return n(e)&&((t=e[i])===void 0?r(e)===`RegExp`:!!t)}})),Rm=n(((e,t)=>{var n=W(),r=G(),i=n.RegExp;t.exports={correct:!r(function(){var e=!0;try{i(`.`,`d`)}catch{e=!1}var t={},n=``,r=e?`dgimsy`:`gimsy`,a=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:`s`,global:`g`,ignoreCase:`i`,multiline:`m`,sticky:`y`};for(var s in e&&(o.hasIndices=`d`),o)a(s,o[s]);return Object.getOwnPropertyDescriptor(i.prototype,`flags`).get.call(t)!==r||n!==r})}})),zm=n(((e,t)=>{var n=X();t.exports=function(){var e=n(this),t=``;return e.hasIndices&&(t+=`d`),e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.unicodeSets&&(t+=`v`),e.sticky&&(t+=`y`),t}})),Bm=n(((e,t)=>{var n=q(),r=us(),i=Yo(),a=Rm(),o=zm(),s=RegExp.prototype;t.exports=a.correct?function(e){return e.flags}:function(e){return!a.correct&&i(s,e)&&!r(e,`flags`)?n(o,e):e.flags}})),Vm=n(((e,t)=>{var n=G(),r=W().RegExp,i=n(function(){var e=r(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!==null}),a=i||n(function(){return!r(`a`,`y`).sticky});t.exports={BROKEN_CARET:i||n(function(){var e=r(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!==null}),MISSED_STICKY:a,UNSUPPORTED_Y:i}})),Hm=n(((e,t)=>{var n=G(),r=W().RegExp;t.exports=n(function(){var e=r(`.`,`s`);return!(e.dotAll&&e.test(`
6`)&&e.flags===`s`)})})),Um=n(((e,t)=>{var n=G(),r=W().RegExp;t.exports=n(function(){var e=r(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})})),Wm=n((()=>{var e=K(),t=W(),n=J(),r=Vs(),i=Wc(),a=bs(),o=Js(),s=Ls().f,c=Yo(),l=Lm(),u=Ws(),d=Bm(),f=Vm(),p=Uc(),m=Os(),h=G(),g=us(),_=Es().enforce,v=mu(),y=fs(),b=Hm(),x=Um(),S=y(`match`),C=t.RegExp,w=C.prototype,T=t.SyntaxError,E=n(w.exec),D=n(``.charAt),O=n(``.replace),k=n(``.indexOf),A=n(``.slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,N=/a/g,P=new C(M)!==M,F=f.MISSED_STICKY,I=f.UNSUPPORTED_Y,L=e&&(!P||F||b||x||h(function(){return N[S]=!1,C(M)!==M||C(N)===N||Str
6ing(C(M,`i`))!==`/a/i`})),ee=function(e){for(var t=e.length,n=0,r=``,i=!1,a;n<t;n++){if(a=D(e,n),a===`\\`){r+=a+D(e,++n);continue}!i&&a===`.`?r+=`[\\s\\S]`:(a===`[`?i=!0:a===`]`&&(i=!1),r+=a)}return r},te=function(e){for(var t=e.length,n=0,r=``,i=[],a=o(null),s=!1,c=!1,l=0,u=``,d;n<t;n++){if(d=D(e,n),d===`\\`){if(d+=D(e,++n),!c&&D(d,1)===`\\`){r+=`\\x5c`;continue}}else if(d===`]`)s=!1;else if(!s)switch(!0){case d===`[`:s=!0;break;case d===`(`:r+=d,E(j,A(e,n+1))?(n+=2,c=!0,l++):D(e,n+1)!==`?`&&l++;continue;case d===`>`&&c:if(u===``||g(a,u))throw new T(`Invalid capture group name`);a[u]=!0,i[i.length]=[u,l],c=!1,u=``;continue}c?u+=d:r+=d}for(var f=0;f<i.length;f++)for(var p=`\\k<`+i[f][0]+`>`,m=`\\`+i[f][1];k(r,p)>-1;)r=O(r,p,m);return[r,i]};if(r(`RegExp`,L)){for(var ne=function(e,t){var n=c(w,this),r=l(e),o=t===void 0,s=[],f=e,p,m,h,g,v,y;if(!n&&r&&o&&e.constructor===ne)return e;if((r||c(w,e))&&(e=e.source,o&&(t=d(f))),e=e===void 0?``:u(e),t=t===void 0?``:u(t),f=e,b&&`dotAll`in M&&(m=!!t&&k(t,`s`)>-1,m&&(t=O(t,/s/g,``))),p=t,F&&`sticky`in M&&(h=!!t&&k(t,`y`)>-1,h&&I&&(t=O(t,/y/g,``))),x&&(g=te(e),e=g[0],s=g[1]),v=i(C(e,t),n?this:w,ne),(m||h||s.length)&&(y=_(v),m&&(y.dotAll=!0,y.raw=ne(ee(e),p)),h&&(y.sticky=!0),s.length&&(y.groups=s)),e!==f)try{a(v,`source`,f===``?`(?:)`:f)}catch{}return v},re=s(C),ie=0;re.length>ie;)p(ne,C,re[ie++]);w.constructor=ne,ne.prototype=w,m(t,`RegExp`,ne,{constructor:!0})}v(`RegExp`)})),Gm=n(((e,t)=>{var n=TypeError;t.exports=function(e){if(typeof e==`string`)return e;throw new n(`Argument is not a string`)}})),Km=n((()=>{var e=Z(),t=J(),n=Gm(),r=us(),i=sd().start,a=Rf(),o=Array,s=RegExp.escape,c=t(``.charAt),l=t(``.charCodeAt),u=t(1.1.toString),d=t([].join),f=/^[0-9a-z]/i,p=/^[$()*+./?[\\\]^{|}]/,m=RegExp(`^[!"#%&',\\-:;<=>@\`~`+a+`]`),h=t(f.exec),g={"	":`t`,"\n":`n`,"\v":`v`,"\f":`f`,"\r":`r`},_=function(e){var t=u(l(e,0),16);return t.length<3?`\\x`+i(t,2,`0`):`\\u`+i(t,4,`0`)};e({target:`RegExp`,stat:!0,forced:!s||s(`ab`)!==`\\x61b`},{escape:function(e){n(e);for(var t=e.length,i=o(t),a=0;a<t;a++){var s=c(e,a);if(a===0&&h(f,s))i[a]=_(s);else if(r(g,s))i[a]=`\\`+g[s];else if(h(p,s))i[a]=`\\`+s;else if(h(m,s))i[a]=_(s);else{var u=l(s,0);(u&63488)==55296?u>=56320||a+1>=t||(l(e,a+1)&64512)!=56320?i[a]=_(s):(i[a]=s,i[++a]=c(e,a)):i[a]=s}}return d(i,``)}})})),qm=n((()=>{var e=K(),t=Hm(),n=Ho(),r=Zs(),i=Es().get,a=RegExp.prototype,o=TypeError;e&&t&&r(a,`dotAll`,{configurable:!0,get:function(){if(this!==a){if(n(this)===`RegExp`)return!!i(this).dotAll;throw new o(`Incompatible receiver, RegExp required`)}}})})),Jm=n(((e,t)=>{var n=q(),r=J(),i=Ws(),a=zm(),o=Vm(),s=cs(),c=Js(),l=Es().get,u=Hm(),d=Um(),f=s(`native-string-replace`,String.prototype.replace),p=RegExp.prototype.exec,m=p,h=r(``.charAt),g=r(``.indexOf),_=r(``.replace),v=r(``.slice),y=(function(){var e=/a/,t=/b*/g;return n(p,e,`a`),n(p,t,`a`),e.lastIndex!==0||t.lastIndex!==0})(),b=o.BROKEN_CARET,x=/()??/.exec(``)[1]!==void 0,S=y||x||b||u||d,C=function(e,t){for(var n=e.groups=c(null),r=0;r<t.length;r++){var i=t[r];n[i[0]]=e[i[1]]}};S&&(m=function(e){var t=this,r=l(t),o=i(e),s=r.raw,c,u,d;if(s)return s.lastIndex=t.lastIndex,c=n(m,s,o),t.lastIndex=s.lastIndex,c&&r.groups&&C(c,r.groups),c;var S=r.groups,w=b&&t.sticky,T=n(a,t),E=t.source,D=0,O=o;if(w){T=_(T,`y`,``),g(T,`g`)===-1&&(T+=`g`),O=v(o,t.lastIndex);var k=t.lastIndex>0&&h(o,t.lastIndex-1);t.lastIndex>0&&(!t.multiline||t.multiline&&k!==`
7`&&k!==`\r`&&k!==`\u2028`&&k!==`\u2029`)&&(E=`(?: (?:`+E+`))`,O=` `+O,D++),u=RegExp(`^(?:`+E+`)`,T)}x&&(u=RegExp(`^`+E+`$(?!\\s)`,T)),y&&(d=t.lastIndex);var A=n(p,w?u:t,O);return w?A?(A.input=o,A[0]=v(A[0],D),A.index=t.lastIndex,t.lastIndex+=A[0].length):t.lastIndex=0:y&&A&&(t.lastIndex=t.global?A.index+A[0].length:d),x&&A&&A.length>1&&n(f,A[0],u,function(){for(var e=1;e<arguments.length-2;e++)arguments[e]===void 0&&(A[e]=void 0)}),A&&S&&C(A,S),A}),t.exports=m})),Ym=n((()=>{var e=Z(),t=Jm();e({target:`RegExp`,proto:!0,forced:/./.exec!==t},{exec:t})})),Xm=n((()=>{var e=K(),t=Zs(),n=Rm(),r=zm();e&&!n.correct&&(t(RegExp.prototype,`flags`,{configurable:!0,get:r}),n.correct=!0)})),Zm=n((()=>{var e=K(),t=Vm().MISSED_STICKY,n=Ho(),r=Zs(),i=Es().get,a=RegExp.prototype,o=TypeError;e&&t&&r(a,`sticky`,{configurable:!0,get:function(){if(this!==a){if(n(this)===`RegExp`)return!!i(this).sticky;throw new o(`Incompatible receiver, RegExp required`)}}})})),Qm=n((()=>{Ym();var e=Z(),t=q(),n=qo(),r=X(),i=Ws(),a=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},t.test(`abc`)===!0&&e}(),o=/./.test;e({target:`RegExp`,proto:!0,forced:!a},{test:function(e){var a=r(this),s=i(e),c=a.exec;if(!n(c))return t(o,a,s);
vendor: 8,405 bytes, line 7
7var l=t(c,a,s);return l!==null&&(r(l),!0)}})})),$m=n((()=>{var e=xs().PROPER,t=Os(),n=X(),r=Ws(),i=G(),a=Bm(),o=`toString`,s=RegExp.prototype,c=s[o],l=i(function(){return c.call({source:`a`,flags:`b`})!==`/a/b`}),u=e&&c.name!==o;(l||u)&&t(s,o,function(){var e=n(this),t=r(e.source),i=r(a(e));return`/`+t+`/`+i},{unsafe:!0})})),eh=n((()=>{sf()(`Set`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},cf())})),th=n((()=>{eh()})),nh=n(((e,t)=>{var n=J(),r=Set.prototype;t.exports={Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}})),rh=n(((e,t)=>{var n=nh().has;t.exports=function(e){return n(e),e}})),ih=n(((e,t)=>{var n=q();t.exports=function(e,t,r){for(var i=r?e:e.iterator,a=e.next,o,s;!(o=n(a,i)).done;)if(s=t(o.value),s!==void 0)return s}})),ah=n(((e,t)=>{var n=J(),r=ih(),i=nh(),a=i.Set,o=i.proto,s=n(o.forEach),c=n(o.keys),l=c(new a).next;t.exports=function(e,t,n){return n?r({iterator:c(e),next:l},t):s(e,t)}})),oh=n(((e,t)=>{var n=nh(),r=ah(),i=n.Set,a=n.add;t.exports=function(e){var t=new i;return r(e,function(e){a(t,e)}),t}})),sh=n(((e,t)=>{t.exports=zc()(nh().proto,`size`,`get`)||function(e){return e.size}})),ch=n(((e,t)=>{var n=ns(),r=X(),i=q(),a=As(),o=Od(),s=`Invalid size`,c=RangeError,l=TypeError,u=Math.max,d=function(e,t){this.set=e,this.size=u(t,0),this.has=n(e.has),this.keys=n(e.keys)};d.prototype={getIterator:function(){return o(r(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},t.exports=function(e){r(e);var t=+e.size;if(t!==t)throw new l(s);var n=a(t);if(n<0)throw new c(s);return new d(e,n)}})),lh=n(((e,t)=>{var n=rh(),r=nh(),i=oh(),a=sh(),o=ch(),s=ah(),c=ih(),l=r.has,u=r.remove;t.exports=function(e){var t=n(this),r=o(e),d=i(t);return a(d)<=r.size?s(d,function(e){r.includes(e)&&u(d,e)}):c(r.getIterator(),function(e){l(d,e)&&u(d,e)}),d}})),uh=n(((e,t)=>{var n=Jo(),r=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error(`e`)}}};t.exports=function(e,t){var a=n(`Set`);try{new a()[e](r(0));try{return new a()[e](r(-1)),!1}catch{if(!t)return!0;try{return new a()[e](i(-1/0)),!1}catch{return t(new a([1,2])[e](i(1/0)))}}}catch{return!1}}})),dh=n((()=>{var e=Z(),t=lh(),n=G();e({target:`Set`,proto:!0,real:!0,forced:!uh()(`difference`,function(e){return e.size===0})||n(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var n=e++>1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return t.difference(e).size!==3})},{difference:t})})),fh=n(((e,t)=>{var n=rh(),r=nh(),i=sh(),a=ch(),o=ah(),s=ih(),c=r.Set,l=r.add,u=r.has;t.exports=function(e){var t=n(this),r=a(e),d=new c;return i(t)>r.size?s(r.getIterator(),function(e){u(t,e)&&l(d,e)}):o(t,function(e){r.includes(e)&&l(d,e)}),d}})),ph=n((()=>{var e=Z(),t=G(),n=fh();e({target:`Set`,proto:!0,real:!0,forced:!uh()(`intersection`,function(e){return e.size===2&&e.has(1)&&e.has(2)})||t(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!==`3,2`})},{intersection:n})})),mh=n(((e,t)=>{var n=rh(),r=nh().has,i=sh(),a=ch(),o=ah(),s=ih(),c=sl();t.exports=function(e){var t=n(this),l=a(e);if(i(t)<=l.size)return o(t,function(e){if(l.includes(e))return!1},!0)!==!1;var u=l.getIterator();return s(u,function(e){if(r(t,e))return c(u.iterator,`normal`,!1)})!==!1}})),hh=n((()=>{var e=Z(),t=mh();e({target:`Set`,proto:!0,real:!0,forced:!uh()(`isDisjointFrom`,function(e){return!e})},{isDisjointFrom:t})})),gh=n(((e,t)=>{var n=rh(),r=sh(),i=ah(),a=ch();t.exports=function(e){var t=n(this),o=a(e);return r(t)>o.size?!1:i(t,function(e){if(!o.includes(e))return!1},!0)!==!1}})),_h=n((()=>{var e=Z(),t=gh();e({target:`Set`,proto:!0,real:!0,forced:!uh()(`isSubsetOf`,function(e){return e})},{isSubsetOf:t})})),vh=n(((e,t)=>{var n=rh(),r=nh().has,i=sh(),a=ch(),o=ih(),s=sl();t.exports=function(e){var t=n(this),c=a(e);if(i(t)<c.size)return!1;var l=c.getIterator();return o(l,function(e){if(!r(t,e))return s(l.iterator,`normal`,!1)})!==!1}})),yh=n((()=>{var e=Z(),t=vh();e({target:`Set`,proto:!0,real:!0,forced:!uh()(`isSupersetOf`,function(e){return!e})},{isSupersetOf:t})})),bh=n(((e,t)=>{var n=rh(),r=nh(),i=oh(),a=ch(),o=ih(),s=r.add,c=r.has,l=r.remove;t.exports=function(e){var t=n(this),r=a(e).getIterator(),u=i(t);return o(r,function(e){c(t,e)?l(u,e):s(u,e)}),u}})),xh=n(((e,t)=>{t.exports=function(e){try{var t=new Set,n=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return n.size===1&&n.values().next().value===4}catch{return!1}}})),Sh=n((()=>{var e=Z(),t=bh(),n=xh();e({target:`Set`,proto:!0,real:!0,forced:!uh()(`symmetricDifference`)||!n(`symmetricDifference`)},{symmetricDifference:t})})),Ch=n(((e,t)=>{var n=rh(),r=nh().add,i=oh(),a=ch(),o=ih();t.exports=function(e){var t=n(this),s=a(e).getIterator(),c=i(t);return o(s,function(e){r(c,e)}),c}})),wh=n((()=>{var e=Z(),t=Ch(),n=xh();e({target:`Set`,proto:!0,real:!0,forced:!uh()(`union`)||!n(`union`)},{union:t})})),Th=n((()=>{var e=Z(),t=J(),n=Go(),r=As(),i=Ws(),a=G(),o=t(``.charAt);e({target:`String`,proto:!0,forced:a(function(){return`ð ®·`.at(-2)!==`\ud842`})},{at:function(e){var t=i(n(this)),a=t.length,s=r(e),c=s>=0?s:a+s;return c<0||c>=a?void 0:o(t,c)}})})),Eh=n(((e,t)=>{var n=J(),r=As(),i=Ws(),a=Go(),o=n(``.charAt),s=n(``.charCodeAt),c=n(``.slice),l=function(e){return function(t,n){var l=i(a(t)),u=r(n),d=l.length,f,p;return u<0||u>=d?e?``:void 0:(f=s(l,u),f<55296||f>56319||u+1===d||(p=s(l,u+1))<56320||p>57343?e?o(l,u):f:e?c(l,u,u+2):(f-55296<<10)+(p-56320)+65536)}};t.exports={codeAt:l(!1),charAt:l(!0)}})),Dh=n((()=>{var e=Z(),t=Eh().codeAt;e({target:`String`,proto:!0},{codePointAt:function(e){return t(this,e)}})})),Oh=n(((e,t)=>{var n=Lm(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`The method doesn't accept regular expressions`);return e}})),kh=n(((e,t)=>{var n=fs()(`match`);t.exports=function(e){var t=/./;try{`/./`[e](t)}catch{try{return t[n]=!1,`/./`[e](t)}catch{}}return!1}})),Ah=n((()=>{var e=Z(),t=rc(),n=_s().f,r=Ms(),i=Ws(),a=Oh(),o=Go(),s=kh(),c=as(),l=t(``.slice),u=Math.min,d=s(`endsWith`);e({target:`String`,proto:!0,forced:!(!c&&!d&&function(){var e=n(String.prototype,`endsWith`);return e&&!e.writable}())&&!d},{endsWith:function(e){var t=i(o(this));a(e);var n=i(e),s=arguments.length>1?arguments[1]:void 0,c=t.length,d=s===void 0?c:u(r(s),c);return l(t,d-n.length,d)===n}})})),jh=n((()=>{var e=Z(),t=J(),n=js(),r=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join);e({target:`String`,stat:!0,arity:1,forced:!!a&&a.length!==1},{fromCodePoint:function(e){for(var t=[],a=arguments.length,s=0,c;a>s;){if(c=+arguments[s],n(c,1114111)!==c)throw new r(c+` is not a valid code point`);t[s++]=c<65536?i(c):i(((c-=65536)>>10)+55296,c%1024+56320)}return o(t,``)}})})),Mh=n((()=>{var e=Z(),t=J(),n=Oh(),r=Go(),i=Ws(),a=kh(),o=t(``.indexOf);e({target:`String`,proto:!0,forced:!a(`includes`)},{includes:function(e){return!!~o(i(r(this)),i(n(e)),arguments.length>1?arguments[1]:void 0)}})})),Nh=n((()=>{var e=Z(),t=J(),n=Go(),r=Ws(),i=t(``.charCodeAt);e({target:`String`,proto:!0},{isWellFormed:function(){for(var e=r(n(this)),t=e.length,a=0;a<t;a++){var o=i(e,a);if((o&63488)==55296&&(o>=56320||++a>=t||(i(e,a)&64512)!=56320))return!1}return!0}})})),Ph=n((()=>{var e=Eh().charAt,t=Ws(),n=Es(),r=Kl(),i=ql(),a=`String Iterator`,o=n.set,s=n.getterFor(a);r(String,`String`,function(e){o(this,{type:a,string:t(e),index:0})},function(){var t=s(this),n=t.string,r=t.index,a;return r>=n.length?i(void 0,!0):(a=e(n,r),t.index+=a.length,i(a,!1))})})),Fh=n(((e,t)=>{Ym();var n=q(),r=Os(),i=Jm(),a=G(),o=fs(),s=bs(),c=o(`species`),l=RegExp.prototype;t.exports=function(e,t,u,d){var f=o(e),p=!a(function(){var t={};return t[f]=function(){return 7},``[e](t)!==7}),m=p&&!a(function(){var t=!1,n=/a/;if(e===`split`){var r={};r[c]=function(){return n},n={constructor:r,flags:``},n[f]=/./[f]}return n.exec=function(){return t=!0,null},n[f](``),!t});if(!p||!m||u){var h=/./[f],g=t(f,``[e],function(e,t,r,a,o){var s=t.exec;return s===i||s===l.exec?p&&!o?{done:!0,value:n(h,t,r,a)}:{done:!0,value:n(e,r,t,a)}:{done:!1}});r(String.prototype,e,g[0]),r(l,f,g[1])}d&&s(l[f],`sham`,!0)}})),Ih=n(((e,t)=>{var n=Eh().charAt;
7t.exports=function(e,t,r){return t+(r&&n(e,t).length||1)}})),Lh=n(((e,t)=>{var n=q(),r=X(),i=qo(),a=Ho(),o=Jm(),s=TypeError;t.exports=function(e,t){var c=e.exec;if(i(c)){var l=n(c,e,t);return l!==null&&r(l),l}if(a(e)===`RegExp`)return n(o,e,t);throw new s(`RegExp#exec called on incompatible receiver`)}})),Rh=n((()=>{var e=q(),t=J(),n=Fh(),r=X(),i=Y(),a=Ms(),o=Ws(),s=Go(),c=rs(),l=Ih(),u=Bm(),d=Lh(),f=t(``.indexOf);n(`match`,function(t,n,p){return[function(n){var r=s(this),a=i(n)?c(n,t):void 0;if(a)return e(a,n,r);var l=o(r);return new RegExp(n)[t](l)},function(e){var t=r(this),i=o(e),s=p(n,t,i);if(s.done)return s.value;var c=o(u(t));if(!~f(c,`g`))return d(t,i);var m=!!~f(c,`u`)||!!~f(c,`v`);t.lastIndex=0;for(var h=[],g=0,_;(_=d(t,i))!==null;){var v=o(_[0]);h[g]=v,v===``&&(t.lastIndex=l(i,a(t.lastIndex),m)),g++}return g===0?null:h}]})})),zh=n((()=>{var e=Z(),t=q(),n=rc(),r=Gl(),i=ql(),a=Go(),o=Ms(),s=Ws(),c=X(),l=Y(),u=Ho(),d=Lm(),f=Bm(),p=rs(),m=Os(),h=G(),g=fs(),_=zp(),v=Ih(),y=Lh(),b=Es(),x=as(),S=g(`matchAll`),C=`RegExp String`,w=C+` Iterator`,T=b.set,E=b.getterFor(w),D=RegExp.prototype,O=TypeError,k=n(``.indexOf),A=n(``.matchAll),j=!!A&&!h(function(){A(`a`,/./)}),M=r(function(e,t,n,r){T(this,{type:w,regexp:e,string:t,global:n,unicode:r,done:!1})},C,function(){var e=E(this);if(e.done)return i(void 0,!0);var t=e.regexp,n=e.string,r=y(t,n);return r===null?(e.done=!0,i(void 0,!0)):e.global?(s(r[0])===``&&(t.lastIndex=v(n,o(t.lastIndex),e.unicode)),i(r,!1)):(e.done=!0,i(r,!1))}),N=function(e){var t=c(this),n=s(e),r=_(t,RegExp),i=s(f(t)),a=new r(r===RegExp?t.source:t,i),l=!!~k(i,`g`),u=!!~k(i,`u`)||!!~k(i,`v`);return a.lastIndex=o(t.lastIndex),new M(a,n,l,u)};e({target:`String`,proto:!0,forced:j},{matchAll:function(e){var n=a(this),r,i,o,c;if(l(e)){if(d(e)&&(r=s(a(f(e))),!~k(r,`g`)))throw new O("`.matchAll` does not allow non-global regexes");if(j)return A(n,e);if(o=p(e,S),o===void 0&&x&&u(e)===`RegExp`&&(o=N),o)return t(o,e,n)}else if(j)return A(n,e);return i=s(n),c=new RegExp(e,`g`),x?t(N,c,i):c[S](i)}}),x||S in D||m(D,S,N)})),Bh=n(((e,t)=>{var n=Xo();t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)})),Vh=n((()=>{var e=Z(),t=sd().end;e({target:`String`,proto:!0,forced:Bh()},{padEnd:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Hh=n((()=>{var e=Z(),t=sd().start;e({target:`String`,proto:!0,forced:Bh()},{padStart:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Uh=n((()=>{var e=Z(),t=J(),n=Ko(),r=ls(),i=Ws(),a=Ns(),o=t([].push),s=t([].join);e({target:`String`,stat:!0},{raw:function(e){var t=n(r(e).raw),c=a(t);if(!c)return``;for(var l=arguments.length,u=[],d=0;;){if(o(u,i(t[d++])),d===c)return s(u,``);d<l&&o(u,i(arguments[d]))}}})})),Wh=n((()=>{Z()({target:`String`,proto:!0},{repeat:od()})})),Gh=n(((e,t)=>{var n=J(),r=ls(),i=Math.floor,a=n(``.charAt),o=n(``.replace),s=n(``.slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,u,d,f){var p=n+e.length,m=u.length,h=l;return d!==void 0&&(d=r(d),h=c),o(f,h,function(r,o){var c;switch(a(o,0)){case`$`:return`$`;case`&`:return e;case"`":return s(t,0,n);case`'`:return s(t,p);case`<`:c=d[s(o,1,-1)];break;default:var l=+o;if(l===0)return r;if(l>m){var f=i(l/10);return f===0?r:f<=m?u[f-1]===void 0?a(o,1):u[f-1]+a(o,1):r}c=u[l-1]}return c===void 0?``:c})}})),Kh=n((()=>{var e=Rc(),t=q(),n=J(),r=Fh(),i=G(),a=X(),o=qo(),s=Y(),c=As(),l=Ms(),u=Ws(),d=Go(),f=Ih(),p=rs(),m=Gh(),h=Bm(),g=Lh(),_=fs()(`replace`),v=Math.max,y=Math.min,b=n([].concat),x=n([].push),S=n(``.indexOf),C=n(``.slice),w=function(e){return e===void 0?e:String(e)},T=(function(){return`a`.replace(/./,`$0`)===`$0`})(),E=(function(){return/./[_]?/./[_](`a`,`$0`)===``:!1})();r(`replace`,function(n,r,i){var T=E?`$`:`$0`;return[function(e,n){var i=d(this),a=s(e)?p(e,_):void 0;return a?t(a,e,i,n):t(r,u(i),e,n)},function(t,n){var s=a(this),d=u(t),p=o(n);p||(n=u(n));var _=u(h(s));if(typeof n==`string`&&!~S(n,T)&&!~S(n,`$<`)&&!~S(_,`y`)){var E=i(r,s,d,n);if(E.done)return E.value}var D=!!~S(_,`g`),O;D&&(O=!!~S(_,`u`)||!!~S(_,`v`),s.lastIndex=0);for(var k=[],A;A=g(s,d),!(A===null||(x(k,A),!D));)u(A[0])===``&&(s.lastIndex=f(d,l(s.lastIndex),O));for(var j=``,M=0,N=0;N<k.length;N++){A=k[N];for(var P=u(A[0]),F=v(y(c(A.index),d.length),0),I=[],L,ee=1;ee<A.length;ee++)x(I,w(A[ee]));var te=A.groups;if(p){var ne=b([P],I,F,d);te!==void 0&&x(ne,te),L=u(e(n,void 0,ne))}else L=m(P,d,F,I,te,n);F>=M&&(j+=C(d,M,F)+L,M=F+P.length)}return j+C(d,M)}]},!!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`})||!T||E)})),qh=n((()=>{var e=Z(),t=q(),n=J(),r=Go(),i=qo(),a=Y(),o=Lm(),s=Ws(),c=rs(),l=Bm(),u=Gh(),d=fs(),f=as(),p=d(`replace`),m=TypeError,h=n(``.indexOf),g=n(``.replace),_=n(``.slice),v=Math.max;e({target:`String`,proto:!0},{replaceAll:function(e,n){var d=r(this),y,b,x,S,C,w,T,E,D,O,k=0,A=``;
7if(a(e)){if(y=o(e),y&&(b=s(r(l(e))),!~h(b,`g`)))throw new m("`.replaceAll` does not allow non-global regexes");if(x=c(e,p),x)return t(x,e,d,n);if(f&&y)return g(s(d),e,n)}for(S=s(d),C=s(e),w=i(n),w||(n=s(n)),T=C.length,E=v(1,T),D=h(S,C);D!==-1;)O=w?s(n(C,D,S)):u(C,S,D,[],void 0,n),A+=_(S,k,D)+O,k=D+T,D=D+E>S.length?-1:h(S,C,D+E);return k<S.length&&(A+=_(S,k)),A}})})),Jh=n((()=>{var e=q(),t=Fh(),n=X(),r=Y(),i=Go(),a=xp(),o=Ws(),s=rs(),c=Lh();t(`search`,function(t,l,u){return[function(n){var a=i(this),c=r(n)?s(n,t):void 0;if(c)return e(c,n,a);var l=o(a);return new RegExp(n)[t](l)},function(e){var t=n(this),r=o(e),i=u(l,t,r);if(i.done)return i.value;var s=t.lastIndex;a(s,0)||(t.lastIndex=0);var d=c(t,r);return a(t.lastIndex,s)||(t.lastIndex=s),d===null?-1:d.index}]})})),Yh=n((()=>{var e=q(),t=J(),n=Fh(),r=X(),i=Y(),a=Go(),o=zp(),s=Ih(),c=Ms(),l=Ws(),u=rs(),d=Bm(),f=Lh(),p=Vm(),m=G(),h=p.UNSUPPORTED_Y,g=4294967295,_=Math.min,v=t([].push),y=t(``.slice),b=t(``.indexOf),x=!m(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`}),S=`abbc`.split(/(b)*/)[1]===`c`||`test`.split(/(?:)/,-1).length!==4||`ab`.split(/(?:ab)*/).length!==2||`.`.split(/(.?)(.?)/).length!==4||`.`.split(/()()/).length>1||``.split(/.?/).length;n(`split`,function(t,n,p){var m=`0`.split(void 0,0).length?function(t,r){return t===void 0&&r===0?[]:e(n,this,t,r)}:n;return[function(n,r){var o=a(this),s=i(n)?u(n,t):void 0;return s?e(s,n,o,r):e(m,l(o),n,r)},function(e,t){var i=r(this),a=l(e);if(!S){var u=p(m,i,a,t,m!==n);if(u.done)return u.value}var x=o(i,RegExp),C=l(d(i)),w=!!~b(C,`u`)||!!~b(C,`v`);h?~b(C,`g`)||(C+=`g`):~b(C,`y`)||(C+=`y`);var T=new x(h?`^(?:`+i.source+`)`:i,C),E=t===void 0?g:t>>>0;if(E===0)return[];if(a.length===0)return f(T,a)===null?[a]:[];for(var D=0,O=0,k=[];O<a.length;){T.lastIndex=h?0:O;var A=f(T,h?y(a,O):a),j;if(A===null||(j=_(c(T.lastIndex+(h?O:0)),a.length))===D)O=s(a,O,w);else{if(v(k,y(a,D,O)),k.length===E)return k;for(var M=1;M<=A.length-1;M++)if(v(k,A[M]),k.length===E)return k;O=D=j}}return v(k,y(a,D)),k}]},S||!x,h)})),Xh=n((()=>{var e=Z(),t=rc(),n=_s().f,r=Ms(),i=Ws(),a=Oh(),o=Go(),s=kh(),c=as(),l=t(``.slice),u=Math.min,d=s(`startsWith`);e({target:`String`,proto:!0,forced:!(!c&&!d&&function(){var e=n(String.prototype,`startsWith`);return e&&!e.writable}())&&!d},{startsWith:function(e){var t=i(o(this));a(e);var n=i(e),s=r(u(arguments.length>1?arguments[1]:void 0,t.length));return l(t,s,s+n.length)===n}})})),Zh=n((()=>{var e=Z(),t=J(),n=Go(),r=As(),i=Ws(),a=t(``.slice),o=Math.max,s=Math.min;e({target:`String`,proto:!0,forced:!``.substr||`ab`.substr(-1)!==`b`},{substr:function(e,t){var c=i(n(this)),l=c.length,u=r(e),d=u<0?o(l+u,0):s(u,l),f=t===void 0?l:r(t);if(f<=0)return``;var p=s(d+f,l);return d>=p?``:a(c,d,p)}})})),Qh=n((()=>{var e=Z(),t=q(),n=J(),r=Go(),i=Ws(),a=G(),o=Array,s=n(``.charAt),c=n(``.charCodeAt),l=n([].join),u=``.toWellFormed,d=`�`,f=u&&a(function(){return t(u,1)!==`1`});e({target:`String`,proto:!0,forced:f},{toWellFormed:function(){var e=i(r(this));if(f)return t(u,e);for(var n=e.length,a=o(n),p=0;p<n;p++){var m=c(e,p);(m&63488)==55296?m>=56320||p+1>=n||(c(e,p+1)&64512)!=56320?a[p]=d:(a[p]=s(e,p),a[++p]=s(e,p)):a[p]=s(e,p)}return l(a,``)}})})),$h=n(((e,t)=>{var n=xs().PROPER,r=G(),i=Rf(),a=`​…᠎`;t.exports=function(e){return r(function(){return!!i[e]()||a[e]()!==a||n&&i[e].name!==e})}})),eg=n((()=>{var e=Z(),t=zf().trim;e({target:`String`,proto:!0,forced:$h()(`trim`)},{trim:function(){return t(this)}})})),tg=n(((e,t)=>{var n=zf().end;t.exports=$h()(`trimEnd`)?function(){return n(this)}:``.trimEnd})),ng=n((()=>{var e=Z(),t=tg();e({target:`String`,proto:!0,name:`trimEnd`,forced:``.trimRight!==t},{trimRight:t})})),rg=n((()=>{ng();var e=Z(),t=tg();e({target:`String`,proto:!0,name:`trimEnd`,forced:``.trimEnd!==t},{trimEnd:t})})),ig=n(((e,t)=>{var n=zf().start;t.exports=$h()(`trimStart`)?function(){return n(this)}:``.trimStart})),ag=n((()=>{var e=Z(),t=ig();e({target:`String`,proto:!0,name:`trimStart`,forced:``.trimLeft!==t},{trimLeft:t})})),og=n((()=>{ag();var e=Z(),t=ig();e({target:`String`,proto:!0,name:`trimStart`,forced:``.trimStart!==t},{trimStart:t})})),sg=n(((e,t)=>{var n=J(),r=Go(),i=Ws(),a=/"/g,o=n(``.replace);t.exports=function(e,t,n,s){var c=i(r(e)),l=`<`+t;return n!==``&&(l+=` `+n+`="`+o(i(s),a,`&quot;`)+`"`),l+`>`+c+`</`+t+`>`}})),cg=n(((e,t)=>{var n=G();t.exports=function(e){return n(function(){var t=``[e](`"`);return t!==t.toLowerCase()||t.split(`"`).length>3})}})),lg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`anchor`)},{anchor:function(e){return t(this,`a`,`name`,e)}})})),ug=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`big`)},{big:function(){return t(this,`big`,``,``)}})})),dg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`blink`)},{blink:function(){return t(this,`blink`,``,``)}})})),fg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`bold`)},{bold:function(){return t(this,`b`,``,``)}})})),pg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`fixed`)},{fixed:function(){return t(this,`tt`,``,``)}})})),mg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`fontcolor`)},{fontcolor:function(e){return t(this,`font`,`color`,e)}})})),hg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`fontsize`)},{fontsize:function(e){return t(this,`font`,`size`,e)}})})),gg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`italics`)},{italics:function(){return t(this,`i`,``,``)}})})),_g=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`link`)},{link:function(e){return t(this,`a`,`href`,e)}})})),vg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`small`)},{small:function(){return t(this,`small`,``,``)}})})),yg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`strike`)},{strike:function(){return t(this,`strike`,``,``)}})})),bg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`sub`)},{sub:function(){return t(this,`sub`,``,``)}})})),xg=n((()=>{var e=Z(),t=sg();e({target:`String`,proto:!0,forced:cg()(`sup`)},{sup:function(){return t(this,`sup`,``,``)}})})),Sg=n(((e,t)=>{var n=W(),r=G(),i=zl(),a=Lu().NATIVE_ARRAY_BUFFER_VIEWS,o=n.ArrayBuffer,s=n.Int8Array;t.exports=!a||!r(function(){s(1)})||!r(function(){new s(-1)})||!i(function(e){new s,new s(null),new s(1.5),new s(e)},!0)||r(function(){return new s(new o(2),1,void 0).length!==1})})),Cg=n(((e,t)=>{var n=Ad(),r=RangeError;t.exports=function(e,t){var i=n(e);if(i%t)throw new r(`Wrong offset`);return i}})),wg=n(((e,t)=>{var n=Math.floor;t.exports=function(e){var t=+e;if(t!==t||t<=0)return 0;if(t>=255)return 255;var r=n(t);return r+.5<t?r+1:t<r+.5||r%2==0?r:r+1}})),Tg=n(((e,t)=>{var n=Us();t.exports=function(e){var t=n(e);return t===`BigInt64Array`||t===`BigUint64Array`}})),Eg=n(((e,t)=>{var n=ps(),r=TypeError;t.exports=function(e){var t=n(e,`number`);
vendor: 5,598 bytes, line 7
7if(typeof t==`number`)throw new r(`Can't convert number to bigint`);return BigInt(t)}})),Dg=n(((e,t)=>{var n=ic(),r=q(),i=ns(),a=Rp(),o=ls(),s=Ns(),c=ol(),l=al(),u=il(),d=Tg(),f=Lu().aTypedArrayConstructor,p=Eg();t.exports=function(e){var t=a(this),m=arguments.length,h=m>1?arguments[1]:void 0,g=h!==void 0;g&&i(h);var _=o(e),v=l(_),y,b,x,S,C,w,T,E;if(v&&!u(v))for(T=c(_,v),E=T.next,_=[];!(w=r(E,T)).done;)_.push(w.value);for(g&&m>2&&(h=n(h,arguments[2])),b=s(_),x=new(f(t))(b),S=d(x),y=0;b>y;y++)C=g?h(_[y],y):_[y],x[y]=S?p(C):+C;return x}})),Og=n(((e,t)=>{var n=Z(),r=W(),i=q(),a=K(),o=Sg(),s=Lu(),c=Fu(),l=Ou(),u=Vo(),d=bs(),f=Wf(),p=ku(),m=Cg(),h=wg(),g=ms(),_=us(),v=Us(),y=Y(),b=es(),x=Js(),S=Yo(),C=Hc(),w=Ls().f,T=Dg(),E=uc().forEach,D=mu(),O=Zs(),k=ys(),A=_s(),j=vu(),M=Es(),N=Wc(),P=M.get,F=M.set,I=M.enforce,L=k.f,ee=A.f,te=r.RangeError,ne=c.ArrayBuffer,re=ne.prototype,ie=c.DataView,ae=s.NATIVE_ARRAY_BUFFER_VIEWS,oe=s.TYPED_ARRAY_TAG,R=s.TypedArray,se=s.TypedArrayPrototype,z=s.isTypedArray,ce=`BYTES_PER_ELEMENT`,le=`Wrong length`,ue=function(e,t){O(e,t,{configurable:!0,get:function(){return P(this)[t]}})},de=function(e){var t;return S(re,e)||(t=v(e))===`ArrayBuffer`||t===`SharedArrayBuffer`},fe=function(e,t){return z(e)&&!b(t)&&t in e&&f(+t)&&t>=0},pe=function(e,t){return t=g(t),fe(e,t)?u(2,e[t]):ee(e,t)},B=function(e,t,n){return t=g(t),fe(e,t)&&y(n)&&_(n,`value`)&&!_(n,`get`)&&!_(n,`set`)&&!n.configurable&&(!_(n,`writable`)||n.writable)&&(!_(n,`enumerable`)||n.enumerable)?(e[t]=n.value,e):L(e,t,n)};a?(ae||(A.f=pe,k.f=B,ue(se,`buffer`),ue(se,`byteOffset`),ue(se,`byteLength`),ue(se,`length`)),n({target:`Object`,stat:!0,forced:!ae},{getOwnPropertyDescriptor:pe,defineProperty:B}),t.exports=function(e,t,a){var s=e.match(/\d+/)[0]/8,c=e+(a?`Clamped`:``)+`Array`,u=`get`+e,f=`set`+e,g=r[c],_=g,v=_&&_.prototype,b={},S=function(e,t){var n=P(e);return n.view[u](t*s+n.byteOffset,!0)},O=function(e,t,n){var r=P(e);r.view[f](t*s+r.byteOffset,a?h(n):n,!0)},k=function(e,t){L(e,t,{get:function(){return S(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};ae?o&&(_=t(function(e,t,n,r){return l(e,v),N(function(){return y(t)?de(t)?r===void 0?n===void 0?new g(t):new g(t,m(n,s)):new g(t,m(n,s),r):z(t)?j(_,t):i(T,_,t):new g(p(t))}(),e,_)}),C&&C(_,R),E(w(g),function(e){e in _||d(_,e,g[e])}),_.prototype=v):(_=t(function(e,t,n,r){l(e,v);var a=0,o=0,c,u,d;if(!y(t))d=p(t),u=d*s,c=new ne(u);else if(de(t)){c=t,o=m(n,s);var f=t.byteLength;if(r===void 0){if(f%s||(u=f-o,u<0))throw new te(le)}else if(u=p(r)*s,u+o>f)throw new te(le);d=u/s}else if(z(t))return j(_,t);else return i(T,_,t);for(F(e,{buffer:c,byteOffset:o,byteLength:u,length:d,view:new ie(c)});a<d;)k(e,a++)}),C&&C(_,R),v=_.prototype=x(se)),v.constructor!==_&&d(v,`constructor`,_),I(v).TypedArrayConstructor=_,oe&&d(v,oe,c);var A=_!==g;b[c]=_,n({global:!0,constructor:!0,forced:A,sham:!ae},b),ce in _||d(_,ce,s),ce in v||d(v,ce,s),D(c)}):t.exports=function(){}})),kg=n((()=>{Og()(`Float32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Ag=n((()=>{Og()(`Float64`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),jg=n((()=>{Og()(`Int8`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Mg=n((()=>{Og()(`Int16`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Ng=n((()=>{Og()(`Int32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Pg=n((()=>{Og()(`Uint8`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Fg=n((()=>{Og()(`Uint8`,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)})),Ig=n((()=>{Og()(`Uint16`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Lg=n((()=>{Og()(`Uint32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Rg=n((()=>{var e=Lu(),t=Ns(),n=As(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`at`,function(e){var i=r(this),a=t(i),o=n(e),s=o>=0?o:a+o;return s<0||s>=a?void 0:i[s]})})),zg=n((()=>{var e=J(),t=Lu(),n=e(bl()),r=t.aTypedArray,i=t.exportTypedArrayMethod;i(`copyWithin`,function(e,t){return n(r(this),e,t,arguments.length>2?arguments[2]:void 0)})})),Bg=n((()=>{var e=Lu(),t=uc().every,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`every`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Vg=n((()=>{var e=Lu(),t=wl(),n=Eg(),r=Us(),i=q(),a=J(),o=G(),s=e.aTypedArray,c=e.exportTypedArrayMethod,l=a(``.slice);c(`fill`,function(e){var a=arguments.length;s(this);var o=l(r(this),0,3)===`Big`?n(e):+e;return i(t,this,o,a>1?arguments[1]:void 0,a>2?arguments[2]:void 0)},o(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),e!==1}))})),Hg=n(((e,t)=>{var n=vu(),r=Lu().getTypedArrayConstructor;t.exports=function(e,t){return n(r(e),t)}})),Ug=n((()=>{var e=Lu(),t=uc().filter,n=Hg(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`filter`,function(e){var i=t(r(this),e,arguments.length>1?arguments[1]:void 0);return n(this,i)})})),Wg=n((()=>{var e=Lu(),t=uc().find,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`find`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Gg=n((()=>{var e=Lu(),t=uc().findIndex,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findIndex`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Kg=n((()=>{var e=Lu(),t=kl().findLast,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findLast`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),qg=n((()=>{var e=Lu(),t=kl().findLastIndex,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findLastIndex`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Jg=n((()=>
7{var e=Lu(),t=uc().forEach,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`forEach`,function(e){t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Yg=n((()=>{var e=Sg(),t=Lu().exportTypedArrayStaticMethod;t(`from`,Dg(),e)})),Xg=n((()=>{var e=Lu(),t=Ps().includes,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`includes`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Zg=n((()=>{var e=Lu(),t=Ps().indexOf,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`indexOf`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Qg=n((()=>{var e=W(),t=G(),n=J(),r=Lu(),i=Jl(),a=fs()(`iterator`),o=e.Uint8Array,s=n(i.values),c=n(i.keys),l=n(i.entries),u=r.aTypedArray,d=r.exportTypedArrayMethod,f=o&&o.prototype,p=!t(function(){f[a].call([1])}),m=!!f&&f.values&&f[a]===f.values&&f.values.name===`values`,h=function(){return s(u(this))};d(`entries`,function(){return l(u(this))},p),d(`keys`,function(){return c(u(this))},p),d(`values`,h,p||!m,{name:`values`}),d(a,h,p||!m,{name:`values`})})),$g=n((()=>{var e=Lu(),t=J(),n=e.aTypedArray,r=e.exportTypedArrayMethod,i=t([].join);r(`join`,function(e){return i(n(this),e)})})),e_=n((()=>{var e=Lu(),t=Rc(),n=Xl(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`lastIndexOf`,function(e){var i=arguments.length;return t(n,r(this),i>1?[e,arguments[1]]:[e])})})),t_=n((()=>{var e=Lu(),t=uc().map,n=Hg(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`map`,function(e){var i=t(r(this),e,arguments.length>1?arguments[1]:void 0);return n(this,i)})})),n_=n((()=>{var e=Lu(),t=Sg(),n=e.aTypedArrayConstructor,r=e.exportTypedArrayStaticMethod;r(`of`,function(){for(var e=0,t=arguments.length,r=new(n(this))(t);t>e;)r[e]=arguments[e++];return r},t)})),r_=n((()=>{var e=Lu(),t=tu().left,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`reduce`,function(e){var r=arguments.length;return t(n(this),e,r,r>1?arguments[1]:void 0)})})),i_=n((()=>{var e=Lu(),t=tu().right,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`reduceRight`,function(e){var r=arguments.length;return t(n(this),e,r,r>1?arguments[1]:void 0)})})),a_=n((()=>{var e=Lu(),t=e.aTypedArray,n=e.exportTypedArrayMethod,r=Math.floor;n(`reverse`,function(){for(var e=this,n=t(e).length,i=r(n/2),a=0,o;a<i;)o=e[a],e[a++]=e[--n],e[n]=o;return e})})),o_=n((()=>{var e=W(),t=q(),n=Lu(),r=Ns(),i=Cg(),a=ls(),o=G(),s=e.RangeError,c=e.Int8Array,l=c&&c.prototype,u=l&&l.set,d=n.aTypedArray,f=n.exportTypedArrayMethod,p=!o(function(){var e=new Uint8ClampedArray(2);return t(u,e,{length:1,0:3},1),e[1]!==3}),m=p&&n.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var e=new c(2);return e.set(1),e.set(`2`,1),e[0]!==0||e[1]!==2});f(`set`,function(e){d(this);var n=i(arguments.length>1?arguments[1]:void 0,1),o=a(e);if(p)return t(u,this,o,n);var c=this.length,l=r(o),f=0;if(l+n>c)throw new s(`Wrong length`);for(;f<l;)this[n+f]=o[f++]},!p||m)})),s_=n((()=>{var e=Lu(),t=G(),n=Ys(),r=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;a(`slice`,function(e,t){for(var a=n(r(this),e,t),o=i(this),s=0,c=a.length,l=new o(c);c>s;)l[s]=a[s++];return l},t(function(){new Int8Array(1).slice()}))})),c_=n((()=>{var e=Lu(),t=uc().some,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`some`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),l_=n((()=>{var e=W(),t=rc(),n=G(),r=ns(),i=lu(),a=Lu(),o=uu(),s=du(),c=Zo(),l=fu(),u=a.aTypedArray,d=a.exportTypedArrayMethod,f=e.Uint16Array,p=f&&t(f.prototype.sort),m=!!p&&!(n(function(){p(new f(2),null)})&&n(function(){p(new f(2),{})})),h=!!p&&!n(function(){if(c)return c<74;if(o)return o<67;if(s)return!0;if(l)return l<602;var e=new f(516),t=Array(516),n,r;for(n=0;n<516;n++)r=n%4,e[n]=515-n,t[n]=n-2*r+3;for(p(e,function(e,t){return(e/4|0)-(t/4|0)}),n=0;n<516;n++)if(e[n]!==t[n])return!0}),g=function(e){return function(t,n){return e===void 0?n===n?t===t?t===0&&n===0?1/t>0?1/n>0?0:1:1/n>0?-1:0:t>n?1:t<n?-1:0:1:t===t?-1:0:+e(t,n)||0}};d(`sort`,function(e){return e!==void 0&&r(e),h?p(this,e):i(u(this),g(e))},!h||m)})),u_=n((()=>{var e=Lu(),t=Ms(),n=js(),r=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;a(`subarray`,function(e,a){var o=r(this),s=o.length,c=n(e,s);return new(i(o))(o.buffer,o.byteOffset+c*o.BYTES_PER_ELEMENT,t((a===void 0?s:n(a,s))-c))})})),d_=n((()=>{var e=W(),t=Rc(),n=Lu(),r=G(),i=Ys(),a=e.Int8Array,o=n.aTypedArray,s=n.exportTypedArrayMethod,c=[].toLocaleStr
vendor: 4,326 bytes, lines 7-8
7ing,l=!!a&&r(function(){c.call(new a(1))});s(`toLocaleString`,function(){return t(c,l?i(o(this)):o(this),i(arguments))},r(function(){return[1,2].toLocaleString()!==new a([1,2]).toLocaleString()})||!r(function(){a.prototype.toLocaleString.call([1,2])}))})),f_=n((()=>{var e=Ns(),t=Lu(),n=t.aTypedArray,r=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;r(`toReversed`,function(){for(var t=n(this),r=e(t),a=new(i(t))(r),o=0;o<r;o++)a[o]=t[r-o-1];return a})})),p_=n((()=>{var e=Lu(),t=J(),n=ns(),r=vu(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,s=t(e.TypedArrayPrototype.sort);o(`toSorted`,function(e){e!==void 0&&n(e);var t=i(this);return s(r(a(t),t),e)})})),m_=n((()=>{var e=Lu().exportTypedArrayMethod,t=G(),n=W(),r=J(),i=n.Uint8Array,a=i&&i.prototype||{},o=[].toString,s=r([].join);t(function(){o.call({})})&&(o=function(){return s(this)});var c=a.toString!==o;e(`toString`,o,c)})),h_=n((()=>{var e=Lu(),t=Tg(),n=Ns(),r=As(),i=Eg(),a=e.aTypedArray,o=e.getTypedArrayConstructor,s=e.exportTypedArrayMethod,c=RangeError,l=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return e===8}}(),u=l&&function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}}();s(`with`,{with:function(e,s){var l=a(this),u=n(l),d=r(e),f=d<0?u+d:d,p=t(l)?i(s):+s;if(f>=u||f<0)throw new c(`Incorrect index`);for(var m=new(o(l))(u),h=0;h<u;h++)m[h]=h===f?p:l[h];return m}}.with,!l||u)})),g_=n(((e,t)=>{var n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`,r=n+`+/`,i=n+`-_`,a=function(e){for(var t={},n=0;n<64;n++)t[e.charAt(n)]=n;return t};t.exports={i2c:r,c2i:a(r),i2cUrl:i,c2iUrl:a(i)}})),__=n(((e,t)=>{var n=TypeError;t.exports=function(e){var t=e&&e.alphabet;if(t===void 0||t===`base64`||t===`base64url`)return t||`base64`;throw new n("Incorrect `alphabet` option")}})),v_=n(((e,t)=>{var n=W(),r=J(),i=Kd(),a=Gm(),o=us(),s=g_(),c=__(),l=Yu(),u=s.c2i,d=s.c2iUrl,f=n.SyntaxError,p=n.TypeError,m=n.Array,h=r(``.charAt),g=Math.floor,_=function(e,t){for(var n=e.length;t<n;t++){var r=h(e,t);if(r!==` `&&r!==`	`&&r!==`
8`&&r!==`\f`&&r!==`\r`)break}return t},v=function(e,t,n){var r=e.length;r<4&&(e+=r===2?`AA`:`A`);var i=(t[h(e,0)]<<18)+(t[h(e,1)]<<12)+(t[h(e,2)]<<6)+t[h(e,3)],a=[i>>16&255,i>>8&255,i&255];if(r===2){if(n&&a[1]!==0)throw new f(`Extra bits`);return[a[0]]}if(r===3){if(n&&a[2]!==0)throw new f(`Extra bits`);return[a[0],a[1]]}return a},y=function(e,t,n){for(var r=t.length,i=0;i<r;i++)e[n+i]=t[i];return n+r};t.exports=function(e,t,n,r){a(e),i(t);var s=c(t)===`base64`?u:d,b=t?t.lastChunkHandling:void 0;if(b===void 0&&(b=`loose`),b!==`loose`&&b!==`strict`&&b!==`stop-before-partial`)throw new p("Incorrect `lastChunkHandling` option");n&&l(n.buffer);var x=e.length,S=n||m(g(x*3/4)),C=0,w=0,T=``,E=0;if(r)for(;;){if(E=_(e,E),E===x){if(T.length>0){if(b===`stop-before-partial`)break;if(b===`loose`){if(T.length===1)throw new f(`Malformed padding: exactly one additional character`);C=y(S,v(T,s,!1),C)}else throw new f(`Missing padding`)}w=x;break}var D=h(e,E);if(++E,D===`=`){if(T.length<2)throw new f(`Padding is too early`);if(E=_(e,E),T.length===2){if(E===x){if(b===`stop-before-partial`)break;throw new f(`Malformed padding: only one =`)}h(e,E)===`=`&&(++E,E=_(e,E))}if(E<x)throw new f(`Unexpected character after padding`);C=y(S,v(T,s,b===`strict`),C),w=x;break}if(!o(s,D))throw new f(`Unexpected character`);var O=r-C;if(O===1&&T.length===2||O===2&&T.length===3||(T+=D,T.length===4&&(C=y(S,v(T,s,!1),C),T=``,w=E,C===r)))break}return n||(S.length=C),{bytes:S,read:w,written:C}}})),y_=n((()=>{var e=Z(),t=W(),n=vu(),r=v_(),i=t.Uint8Array,a=!i||!i.fromBase64||!function(){try{i.fromBase64(`a`);return}catch{}try{i.fromBase64(``,null)}catch{return!0}}();i&&e({target:`Uint8Array`,stat:!0,forced:a},{fromBase64:function(e){return n(i,r(e,arguments.length>1?arguments[1]:void 0,null,9007199254740991).bytes)}})})),b_=n(((e,t)=>{var n=W(),r=J(),i=n.Uint8Array,a=n.SyntaxError,o=Math.min,s=r(``.match);t.exports=function(e,t){var n=e.length;if(n%2!=0)throw new a(`String should be an even number of characters`);for(var r=t?o(t.length,n/2):n/2,c=t||new i(r),l=s(e,/[\S\s]{2}/g),u=0;u<r;u++){var d=+(`0x`+l[u]+`0`);if(d!==d)throw new a(`String should only contain hex characters`);c[u]=d>>4}return{bytes:c,read:u<<1}}})),x_=n((()=>{var e=Z(),t=W(),n=Gm(),r=b_();
8t.Uint8Array&&e({target:`Uint8Array`,stat:!0},{fromHex:function(e){return r(n(e)).bytes}})})),S_=n(((e,t)=>{var n=Us(),r=TypeError;t.exports=function(e){if(n(e)===`Uint8Array`)return e;throw new r(`Argument is not an Uint8Array`)}})),C_=n((()=>{var e=Z(),t=W(),n=v_(),r=S_(),i=t.Uint8Array,a=!i||!i.prototype.setFromBase64||!function(){var e=new i([255,255,255,255,255]);try{e.setFromBase64(``,null);return}catch{}try{e.setFromBase64(`a`);return}catch{}try{e.setFromBase64(`MjYyZg===`)}catch{return e[0]===50&&e[1]===54&&e[2]===50&&e[3]===255&&e[4]===255}}();i&&e({target:`Uint8Array`,proto:!0,forced:a},{setFromBase64:function(e){r(this);var t=n(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})})),w_=n((()=>{var e=Z(),t=W(),n=Gm(),r=S_(),i=Yu(),a=b_();function o(){try{new Uint8Array(new ArrayBuffer(16,{maxByteLength:1024})).setFromHex(`cafed00d`)}catch{return!0}}t.Uint8Array&&e({target:`Uint8Array`,proto:!0,forced:o()},{setFromHex:function(e){r(this),n(e),i(this.buffer);var t=a(e,this).read;return{read:t,written:t/2}}})})),T_=n((()=>{var e=Z(),t=W(),n=J(),r=Kd(),i=S_(),a=Yu(),o=g_(),s=__(),c=o.i2c,l=o.i2cUrl,u=Math.floor,d=Math.ceil,f=n(``.charAt),p=t.Uint8Array,m=t.Array,h=n([].join),g=!p||!p.prototype.toBase64||!function(){try{new p().toBase64(null)}catch{return!0}}();p&&e({target:`Uint8Array`,proto:!0,forced:g},{toBase64:function(){var e=i(this),t=arguments.length?r(arguments[0]):void 0,n=s(t)===`base64`?c:l,o=!!t&&!!t.omitPadding;a(this.buffer);for(var p=0,g=e.length,_=m(o?u(g/3)*4+(g%3?g%3+1:0):d(g/3)*4),v=0,y,b=function(e){return f(n,y>>6*e&63)};p+2<g;p+=3)y=(e[p]<<16)+(e[p+1]<<8)+e[p+2],_[v++]=b(3),_[v++]=b(2),_[v++]=b(1),_[v++]=b(0);return p+2===g?(y=(e[p]<<16)+(e[p+1]<<8),_[v++]=b(3),_[v++]=b(2),_[v++]=b(1),o||(_[v++]=`=`)):p+1===g&&(y=e[p]<<16,_[v++]=b(3),_[v++]=b(2),o||(_[v++]=`=`,_[v++]=`=`)),h(_,``)}})})),E_=n((()=>{var e=Z(),t=W(),n=J(),r=S_(),i=Yu(),a=n(1.1.toString),o=n([].join),s=Array,c=t.Uint8Array,l=!c||!c.prototype.toHex||!(function(){try{return new c([255,255,255,255,255,255,255,255]).toHex()===`ffffffffffffffff`}catch{return!1}})();c&&e({target:`Uint8Array`,proto:!0,forced:l},{toHex:function(){r(this),i(this.buffer);for(var e=s(this.length),t=0,n=this.length;t<n;t++){var c=a(this[t],16);e[t]=c.length===1?`0`+c:c}return o(e,``)}})})),D_=n((()=>{var e=Z(),t=J(),n=Ws(),r=String.fromCharCode,i=t(``.charAt),a=t(/./.exec),o=t(``.slice),s=/^[\da-f]{2}$/i,c=/^[\da-f]{4}$/i;e({global:!0},{unescape:function(e){for(var t=n(e),l=``,u=t.length,d=0,f,p;d<u;){if(f=i(t,d++),f===`%`){if(i(t,d)===`u`){if(p=o(t,d+1,d+5),a(c,p)){l+=r(parseInt(p,16)),d+=5;continue}}else if(p=o(t,d,d+2),a(s,p)){l+=r(parseInt(p,16)),d+=2;continue}}l+=f}return l}})})),O_=n(((e,t)=>{var n=J(),r=Du(),i=of().getWeakData,a=Ou(),o=X(),s=Wo(),c=Y(),l=cl(),u=uc(),d=us(),f=Es(),p=f.set,m=f.getterFor,h=u.find,g=u.findIndex,_=n([].splice),v=0,y=function(e){return e.frozen||=new b},b=function(){this.entries=[]},x=function(e,t){return h(e.entries,function(e){return e[0]===t})};b.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var n=x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,function(t){return t[0]===e});return~t&&_(this.entries,t,1),!!~t}},t.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){a(e,h),p(e,{type:t,id:v++,frozen:null}),s(r)||l(r,e[u],{that:e,AS_ENTRIES:n})}),h=f.prototype,g=m(t),_=function(e,t,n){var r=g(e),a=i(o(t),!0);return a===!0?y(r).set(t,n):a[r.id]=n,e};return r(h,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?y(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?y(t).has(e):n&&d(n,t.id)}}),r(h,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);if(n===!0)return y(t).get(e);if(n)return n[t.id]}},set:function(e,t){return _(this,e,t)}}:{add:function(e){return _(this,e,!0)}}),f}}})),k_=n((()=>{var e=ef(),t=W(),n=J(),r=Du(),i=of(),a=sf(),o=O_(),s=Y(),c=Es().enforce,l=G(),u=Cs(),d=Object,f=Array.isArray,p=d.isExtensible,m=d.isFrozen,h=d.isSealed,g=d.freeze,_=d.seal,v=!t.ActiveXObject&&`ActiveXObject`in t,y,b=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},x=a(`WeakMap`,b,o),S=x.prototype,C=n(S.set),w=function(){return e&&l(function(){var e=g([]);return C(new x,e,1),!m(e)})};if(u){if(v){y=o.getConstructor(b,`WeakMap`,!0),i.enable();var T=n(S.delete),E=n(S.has),D=n(S.get);r(S,{delete:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,T(this,e)||t.frozen.delete(e)}return T(this,e)},has:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,E(this,e)||t.frozen.has(e)}return E(this,e)},get:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,E(this,e)?D(this,e):t.frozen.get(e)}return D(this,e)},set:function(e,t){if(s(e)&&!p(e)){var n=c(this);n.frozen||=new y,E(this,e)?C(this,e,t):n.frozen.set(e,t)}else C(this,e,t);return this}})}else w()&&r(S,{set:function(e,t){var n;return f(e)&&(m(e)?n=g:h(e)&&(n=_)),C(this,e,t),n&&n(e),this}})}})),A_=n((()=>{k_()})),j_=n(((e,t)=>{var n=J(),r=WeakMap.prototype;
8t.exports={WeakMap,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete)}})),M_=n((()=>{var e=Z(),t=j_(),n=as(),r=t.get,i=t.has,a=t.set;e({target:`WeakMap`,proto:!0,real:!0,forced:n},{getOrInsert:function(e,t){return i(this,e)?r(this,e):(a(this,e,t),t)}})})),N_=n(((e,t)=>{var n=j_().has;t.exports=function(e){return n(e),e}})),P_=n(((e,t)=>{var n=j_(),r=new n.WeakMap,i=n.set,a=n.remove;t.exports=function(e){return i(r,e,1),a(r,e),e}})),F_=n((()=>{var e=Z(),t=ns(),n=N_(),r=P_(),i=j_(),a=as(),o=i.get,s=i.has,c=i.set;e({target:`WeakMap`,proto:!0,real:!0,forced:a||!function(){try{WeakMap.prototype.getOrInsertComputed&&new WeakMap().getOrInsertComputed(1,function(){throw 1})}catch(e){return e instanceof TypeError}}()},{getOrInsertComputed:function(e,i){if(a||n(this),r(e),t(i),s(this,e))return o(this,e);var l=i(e);return c(this,e,l),l}})})),I_=n((()=>{sf()(`WeakSet`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},O_())})),L_=n((()=>{I_()})),R_=n((()=>{var e=Z(),t=W(),n=Jo(),r=J(),i=q(),a=G(),o=Ws(),s=Bp(),c=g_().c2i,l=/[^\d+/a-z]/i,u=/[\t\n\f\r ]+/g,d=/[=]{1,2}$/,f=n(`atob`),p=Array,m=String.fromCharCode,h=r(``.charAt),g=r(``.replace),_=r([].join),v=r(l.exec),y=!!f&&!a(function(){return f(`aGk=`)!==`hi`}),b=y&&a(function(){return f(` `)!==``}),x=y&&!a(function(){f(`a`)}),S=y&&!a(function(){f()}),C=y&&f.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!y||b||x||S||C},{atob:function(e){if(s(arguments.length,1),y&&!b&&!x)return i(f,t,e);var r=g(o(e),u,``),a=0,S=0,C,w,T;r.length&3||(r=g(r,d,``)),C=r.length;var E=C&3;if(E===1||v(l,r))throw new(n(`DOMException`))(`The string is not correctly encoded`,`InvalidCharacterError`);for(var D=new p((C>>2)*3+(E?E-1:0)),O=0;a<C;)w=h(r,a++),T=S&3?(T<<6)+c[w]:c[w],S++&3&&(D[O++]=m(255&T>>(-2*S&6)));return _(D,``)}})})),z_=n((()=>{var e=Z(),t=W(),n=Jo(),r=J(),i=q(),a=G(),o=Ws(),s=Bp(),c=g_().i2c,l=n(`btoa`),u=Array,d=r([].join),f=r(``.charAt),p=r(``.charCodeAt),m=!!l&&!a(function(){return l(`hi`)!==`aGk=`}),h=m&&!a(function(){l()}),g=m&&a(function(){return l(null)!==`bnVsbA==`}),_=m&&l.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!m||h||g||_},{btoa:function(e){if(s(arguments.length,1),m)return i(l,t,o(e));for(var r=o(e),a=new u((r.length+2)/3<<2),h=0,g=0,_=c,v,y;f(r,g)||(_=`=`,g%1);){if(y=p(r,g+=3/4),y>255)throw new(n(`DOMException`))(`The string contains characters outside of the Latin1 range`,`InvalidCharacterError`);v=v<<8|y,a[h++]=f(_,63&v>>8-g%1*8)}return d(a,``)}})})),B_=n(((e,t)=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}})),V_=n(((e,t)=>{var n=hs()(`span`).classList,r=n&&n.constructor&&n.constructor.prototype;t.exports=r===Object.prototype?void 0:r})),H_=n((()=>{var e=W(),t=B_(),n=V_(),r=Fl(),i=bs(),a=function(e){if(e&&e.forEach!==r)try{i(e,`forEach`,r)}catch{e.forEach=r}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);a(n)})),U_=n((()=>{var e=W(),t=B_(),n=V_(),r=Jl(),i=bs(),a=nc(),o=fs()(`iterator`),s=r.values,c=function(e,n){if(e){if(e[o]!==s)try{i(e,o,s)}catch{e[o]=s}if(a(e,n,!0),t[n]){for(var c in r)if(e[c]!==r[c])try{i(e,c,r[c])}catch{e[c]=r[c]}}}};for(var l in t)c(e[l]&&e[l].prototype,l);c(n,`DOMTokenList`)})),W_=n(((e,t)=>{t.exports={IndexSizeError:{s:`INDEX_SIZE_ERR`,c:1,m:1},DOMStringSizeError:{s:`DOMSTRING_SIZE_ERR`,c:2,m:0},HierarchyRequestError:{s:`HIERARCHY_REQUEST_ERR`,c:3,m:1},WrongDocumentError:{s:`WRONG_DOCUMENT_ERR`,c:4,m:1},InvalidCharacterError:{s:`INVALID_CHARACTER_ERR`,c:5,m:1},NoDataAllowedError:{s:`NO_DATA_ALLOWED_ERR`,c:6,m:0},NoModificationAllowedError:{s:`NO_MODIFICATION_ALLOWED_ERR`,c:7,m:1},NotFoundError:{s:`NOT_FOUND_ERR`,c:8,m:1},NotSupportedError:{s:`NOT_SUPPORTED_ERR`,c:9,m:1},InUseAttributeError:{s:`INUSE_ATTRIBUTE_ERR`,c:10,m:1},InvalidStateError:{s:`INVALID_STATE_ERR`,c:11,m:1},SyntaxError:{s:`SYNTAX_ERR`,c:12,m:1},InvalidModificationError:{s:`INVALID_MODIFICATION_ERR`,c:13,m:1},NamespaceError:{s:`NAMESPACE_ERR`,c:14,m:1},InvalidAccessError:{s:`INVALID_ACCESS_ERR`,c:15,m:1},ValidationError:{s:`VALIDATION_ERR`,c:16,m:0},TypeMismatchError:{s:`TYPE_MISMATCH_ERR`,c:17,m:1},SecurityError:{s:`SECURITY_ERR`,c:18,m:1}
8,NetworkError:{s:`NETWORK_ERR`,c:19,m:1},AbortError:{s:`ABORT_ERR`,c:20,m:1},URLMismatchError:{s:`URL_MISMATCH_ERR`,c:21,m:1},QuotaExceededError:{s:`QUOTA_EXCEEDED_ERR`,c:22,m:1},TimeoutError:{s:`TIMEOUT_ERR`,c:23,m:1},InvalidNodeTypeError:{s:`INVALID_NODE_TYPE_ERR`,c:24,m:1},DataCloneError:{s:`DATA_CLONE_ERR`,c:25,m:1}}})),G_=n((()=>{var e=Z(),t=Jo(),n=Xu(),r=G(),i=Js(),a=Vo(),o=ys().f,s=Os(),c=Zs(),l=us(),u=Ou(),d=X(),f=$c(),p=Gc(),m=W_(),h=qc(),g=Es(),_=K(),v=as(),y=`DOMException`,b=`DATA_CLONE_ERR`,x=t(`Error`),S=t(y)||(function(){try{new((t(`MessageChannel`))||(n(`worker_threads`)).MessageChannel)().port1.postMessage(new WeakMap)}catch(e){if(e.name===b&&e.code===25)return e.constructor}})(),C=S&&S.prototype,w=x.prototype,T=g.set,E=g.getterFor(y),D=`stack`in new x(y),O=function(e){return l(m,e)&&m[e].m?m[e].c:0},k=function(){u(this,A);var e=arguments.length,t=p(e<1?void 0:arguments[0]),n=p(e<2?void 0:arguments[1],`Error`),r=O(n);if(T(this,{type:y,name:n,message:t,code:r}),_||(this.name=n,this.message=t,this.code=r),D){var i=new x(t);i.name=y,o(this,`stack`,a(1,h(i.stack,1)))}},A=k.prototype=i(w),j=function(e){return{enumerable:!0,configurable:!0,get:e}},M=function(e){return j(function(){return E(this)[e]})};_&&(c(A,`code`,M(`code`)),c(A,`message`,M(`message`)),c(A,`name`,M(`name`))),o(A,`constructor`,a(1,k));var N=r(function(){return!(new S instanceof x)}),P=N||r(function(){return w.toString!==f||String(new S(1,2))!==`2: 1`}),F=N||r(function(){return new S(1,`DataCloneError`).code!==25}),I=N||S[b]!==25||C[b]!==25,L=v?P||F||I:N;e({global:!0,constructor:!0,forced:L},{DOMException:L?k:S});var ee=t(y),te=ee.prototype;for(var ne in P&&(v||S===ee)&&s(te,`toString`,f),F&&_&&S===ee&&c(te,`code`,j(function(){return O(d(this).name)})),m)if(l(m,ne)){var re=m[ne],ie=re.s,ae=a(6,re.c);l(ee,ie)||o(ee,ie,ae),l(te,ie)||o(te,ie,ae)}})),K_=n((()=>{var e=Z(),t=W(),n=Jo(),r=Vo(),i=ys().f,a=us(),o=Ou(),s=Wc(),c=Gc(),l=W_(),u=qc(),d=K(),f=as(),p=`DOMException`,m=n(`Error`),h=n(p),g=function(){o(this,_);var e=arguments.length,t=c(e<1?void 0:arguments[0]),n=new h(t,c(e<2?void 0:arguments[1],`Error`)),a=new m(t);return a.name=p,i(n,`stack`,r(1,u(a.stack,1))),s(n,this,g),n},_=g.prototype=h.prototype,v=`stack`in new m(p),y=`stack`in new h(1,2),b=h&&d&&Object.getOwnPropertyDescriptor(t,p),x=!!b&&!(b.writable&&b.configurable),S=v&&!x&&!y;e({global:!0,constructor:!0,forced:f||S},{DOMException:S?g:h});var C=n(p),w=C.prototype;if(w.constructor!==C){for(var T in f||i(w,`constructor`,r(1,C)),l)if(a(l,T)){var E=l[T],D=E.s;a(C,D)||i(C,D,r(6,E.c))}}})),q_=n((()=>{var e=Jo(),t=nc(),n=`DOMException`;t(e(n),n)})),J_=n((()=>{var e=Z(),t=W(),n=Hp().clear;e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==n},{clearImmediate:n})})),Y_=n(((e,t)=>{var n=W(),r=Rc(),i=qo(),a=nu(),o=Xo(),s=Ys(),c=Bp(),l=n.Function,u=/MSIE .\./.test(o)||a===`BUN`&&(function(){var e=n.Bun.version.split(`.`);return e.length<3||e[0]===`0`&&(e[1]<3||e[1]===`3`&&e[2]===`0`)})();t.exports=function(e,t){var n=t?2:1;return u?function(a,o){var u=c(arguments.length,1)>n,d=i(a)?a:l(a),f=u?s(arguments,n):[],p=u?function(){r(d,this,f)}:d;return t?e(p,o):e(p)}:e}})),X_=n((()=>{var e=Z(),t=W(),n=Hp().set,r=Y_(),i=t.setImmediate?r(n,!1):n;e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i})})),Z_=n((()=>{J_(),X_()})),Q_=n((()=>{var e=Z(),t=W(),n=qp(),r=ns(),i=Bp(),a=G(),o=K();e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:a(function(){return o&&Object.getOwnPropertyDescriptor(t,`queueMicrotask`).value.length!==1})},{queueMicrotask:function(e){i(arguments.length,1),n(r(e))}})})),$_=n((()=>{var e=Z(),t=W(),n=Zs(),r=K(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(r){var s=Object.getOwnPropertyDescriptor(t,`self`);(o||!s||!s.get||!s.enumerable)&&n(t,`self`,{get:function(){return t},set:function(e){if(this!==t)throw new i(`Illegal invocation`);a(t,`self`,{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}})),ev=n((()=>{var e=as(),t=Z(),n=W(),r=Jo(),i=J(),a=G(),o=ds(),s=qo(),c=oc(),l=Wo(),u=Y(),d=es(),f=cl(),p=X(),m=Us(),h=us(),g=lc(),_=bs(),v=Ns(),y=Bp(),b=Bm(),x=df(),S=nh(),C=ah(),w=Qu(),T=Jc(),E=Zu(),D=n.Object,O=n.Array,k=n.Date,A=n.Error,j=n.TypeError,M=n.PerformanceMark,N=r(`DOMException`),P=x.Map,F=x.has,I=x.get,L=x.set,ee=S.Set,te=S.add,ne=S.has,re=r(`Object`,`keys`),ie=i([].push),ae=i((!0).valueOf),oe=i(1.1.valueOf),R=i(``.valueOf),se=i(k.prototype.getTime),z=o(`structuredClone`),ce=`DataCloneError`,le=`Transferring`,ue=function(e){return!a(function(){var t=new n.Set([7]),r=e(t),i=e(D(7));return r===t||!r.has(7)||!u(i)||+i!=7})&&e},de=function(e,t){return!a(function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)})},fe=function(e){return!a(function(){var t=e(new n.AggregateError([1],z,{cause:3}));return t.name!==`AggregateError`||t.errors[0]!==1||t.message!==z||t.cause!==3})}
vendor: 16,086 bytes, line 8
8,pe=n.structuredClone,B=e||!de(pe,A)||!de(pe,N)||!fe(pe),V=!pe&&ue(function(e){return new M(z,{detail:e}).detail}),me=ue(pe)||V,he=function(e){throw new N(`Uncloneable type: `+e,ce)},ge=function(e,t){throw new N((t||`Cloning`)+` of `+e+` cannot be properly polyfilled in this engine`,ce)},_e=function(e,t){return me||ge(t),me(e)},ve=function(){var e;try{e=new n.DataTransfer}catch{try{e=new n.ClipboardEvent(``).clipboardData}catch{}}return e&&e.items&&e.files?e:null},ye=function(e,t,r){if(F(t,e))return I(t,e);var i=r||m(e),a,o,c,l,u,d;if(i===`SharedArrayBuffer`)a=me?me(e):e;else{var f=n.DataView;!f&&!s(e.slice)&&ge(`ArrayBuffer`);try{if(s(e.slice)&&!e.resizable)a=e.slice(0);else for(o=e.byteLength,c=(`maxByteLength`in e)?{maxByteLength:e.maxByteLength}:void 0,a=new ArrayBuffer(o,c),l=new f(e),u=new f(a),d=0;d<o;d++)u.setUint8(d,l.getUint8(d))}catch{throw new N(`ArrayBuffer is detached`,ce)}}return L(t,e,a),a},be=function(e,t,r,i,a){var o=n[t];return u(o)||ge(t),new o(ye(e.buffer,a),r,i)},H=function(e,t){if(d(e)&&he(`Symbol`),!u(e))return e;if(t){if(F(t,e))return I(t,e)}else t=new P;var i=m(e),a,o,c,l,f,p,y,x;switch(i){case`Array`:c=O(v(e));break;case`Object`:c={};break;case`Map`:c=new P;break;case`Set`:c=new ee;break;case`RegExp`:c=new RegExp(e.source,b(e));break;case`Error`:switch(o=e.name,o){case`AggregateError`:c=new(r(o))([]);break;case`EvalError`:case`RangeError`:case`ReferenceError`:case`SuppressedError`:case`SyntaxError`:case`TypeError`:case`URIError`:c=new(r(o));break;case`CompileError`:case`LinkError`:case`RuntimeError`:c=new(r(`WebAssembly`,o));break;default:c=new A}break;case`DOMException`:c=new N(e.message,e.name);break;case`ArrayBuffer`:case`SharedArrayBuffer`:c=ye(e,t,i);break;case`DataView`:case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float16Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:p=i===`DataView`?e.byteLength:e.length,c=be(e,i,e.byteOffset,p,t);break;case`DOMQuad`:try{c=new DOMQuad(H(e.p1,t),H(e.p2,t),H(e.p3,t),H(e.p4,t))}catch{c=_e(e,i)}break;case`File`:if(me)try{c=me(e),m(c)!==i&&(c=void 0)}catch{}if(!c)try{c=new File([e],e.name,e)}catch{}c||ge(i);break;case`FileList`:if(l=ve(),l){for(f=0,p=v(e);f<p;f++)l.items.add(H(e[f],t));c=l.files}else c=_e(e,i);break;case`ImageData`:try{c=new ImageData(H(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch{c=_e(e,i)}break;default:if(me)c=me(e);else switch(i){case`BigInt`:c=D(e.valueOf());break;case`Boolean`:c=D(ae(e));break;case`Number`:c=D(oe(e));break;case`String`:c=D(R(e));break;case`Date`:c=new k(se(e));break;case`Blob`:try{c=e.slice(0,e.size,e.type)}catch{ge(i)}break;case`DOMPoint`:case`DOMPointReadOnly`:a=n[i];try{c=a.fromPoint?a.fromPoint(e):new a(e.x,e.y,e.z,e.w)}catch{ge(i)}break;case`DOMRect`:case`DOMRectReadOnly`:a=n[i];try{c=a.fromRect?a.fromRect(e):new a(e.x,e.y,e.width,e.height)}catch{ge(i)}break;case`DOMMatrix`:case`DOMMatrixReadOnly`:a=n[i];try{c=a.fromMatrix?a.fromMatrix(e):new a(e)}catch{ge(i)}break;case`AudioData`:case`VideoFrame`:s(e.clone)||ge(i);try{c=e.clone()}catch{he(i)}break;case`CropTarget`:case`CryptoKey`:case`FileSystemDirectoryHandle`:case`FileSystemFileHandle`:case`FileSystemHandle`:case`GPUCompilationInfo`:case`GPUCompilationMessage`:case`ImageBitmap`:case`RTCCertificate`:case`WebAssembly.Module`:ge(i);default:he(i)}}switch(L(t,e,c),i){case`Array`:case`Object`:for(y=re(e),f=0,p=v(y);f<p;f++)x=y[f],g(c,x,H(e[x],t));break;case`Map`:e.forEach(function(e,n){L(c,H(n,t),H(e,t))});break;case`Set`:e.forEach(function(e){te(c,H(e,t))});break;case`Error`:_(c,`message`,H(e.message,t)),h(e,`cause`)&&_(c,`cause`,H(e.cause,t)),o===`AggregateError`?c.errors=H(e.errors,t):o===`SuppressedError`&&(c.error=H(e.error,t),c.suppressed=H(e.suppressed,t));case`DOMException`:T&&_(c,`stack`,H(e.stack,t))}return c},xe=function(e,t){if(!u(e))throw new j(`Transfer option cannot be converted to a sequence`);var r=[];f(e,function(e){ie(r,p(e))});for(var i=0,a=v(r),o=new ee,l,d,h,g,_,y;i<a;){if(l=r[i++],d=m(l),g=void 0,d===`ArrayBuffer`?ne(o,l):F(t,l))throw new N(`Duplicate transferable`,ce);if(d===`ArrayBuffer`){te(o,l);continue}if(E)g=pe(l,{transfer:[l]});else switch(d){case`ImageBitmap`:h=n.OffscreenCanvas,c(h)||ge(d,le);try{_=new h(l.width,l.height),y=_.getContext(`bitmaprenderer`),y.transferFromImageBitmap(l),g=_.transferToImageBitmap()}catch{}break;case`AudioData`:case`VideoFrame`:(!s(l.clone)||!s(l.close))&&ge(d,le);try{g=l.clone(),l.close()}catch{}break;case`MediaSourceHandle`:case`MessagePort`:case`MIDIAccess`:case`OffscreenCanvas`:case`ReadableStream`:case`RTCDataChannel`:case`TransformStream`:case`WebTransportReceiveStream`:case`WebTransportSendStream`:case`WritableStream`:ge(d,le)}if(g===void 0)throw new N(`This object cannot be transferred: `+d,ce);L(t,l,g)}return o},Se=function(e){C(e,function(e){E?pe(e,{transfer:[e]}):s(e.transfer)?e.transfer():w?w(e):ge(`ArrayBuffer`,le)})};t({global:!0,enumerable:!0,sham:!E,forced:B},{structuredClone:function(e){var t=y(arguments.length,1)>1&&!l(arguments[1])?p(arguments[1]):void 0,n=t?t.transfer:void 0,r,i;n!==void 0&&(r=new P,i=xe(n,r));var a=H(e,r);return i&&Se(i),a}})})),tv=n((()=>{var e=Z(),t=W(),n=Y_()(t.setInterval,!0);e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n})})),nv=n((()=>{var e=Z(),t=W(),n=Y_()(t.setTimeout,!0);e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n})})),rv=n((()=>{tv(),nv()})),iv=n(((e,t)=>{var n=G(),r=fs(),i=K(),a=as(),o=r(`iterator`);t.exports=!n(function(){var e=new URL(`b?a=1&b=2&c=3`,`https://a`),t=e.searchParams,n=new URLSearchParams(`a=1&a=2&b=3`),r=``;return e.pathname=`c%20d`,t.forEach(function(e,n){t.delete(`b`),r+=n+e}),n.delete(`a`,2),n.delete(`b`,void 0),a&&(!e.toJSON||!n.has(`a`,1)||n.has(`a`,2)||!n.has(`a`,void 0)||n.has(`b`))||!t.size&&(a||!i)||!t.sort||e.href!==`https://a/c%20d?a=1&c=3`||t.get(`c`)!==`3`||String(new URLSearchParams(`?a=1`))!==`a=1`||!t[o]||new URL(`https://a@b`).username!==`a`||new URLSearchParams(new URLSearchParams(`a=b`)).get(`a`)!==`b`||new URL(`https://тест`).host!==`xn--e1aybc`||new URL(`https://a#б`).hash!==`#%D0%B1`||r!==`a1c3`||new URL(`https://x`,void 0).host!==`x`})})),av=n(((e,t)=>{var n=J(),r=2147483647,i=36,a=1,o=26,s=38,c=700,l=72,u=128,d=`-`,f=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m=`Overflow: input needs wider integers to process`,h=i-a,g=RangeError,_=n(p.exec),v=Math.floor,y=String.fromCharCode,b=n(``.charCodeAt),x=n([].join),S=n([].push),C=n(``.replace),w=n(``.split),T=n(``.toLowerCase),E=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=b(e,n++);if(i>=55296&&i<=56319&&n<r){var a=b(e,n++);(a&64512)==56320?S(t,((i&1023)<<10)+(a&1023)+65536):(S(t,i),n--)}else S(t,i)}return t},D=function(e){return e+22+75*(e<26)},O=function(e,t,n){var r=0;for(e=n?v(e/c):e>>1,e+=v(e/t);e>h*o>>1;)e=v(e/h),r+=i;return v(r+(h+1)*e/(e+s))},k=function(e){var t=[];e=E(e);var n=e.length,s=u,c=0,f=l,p,h;for(p=0;p<e.length;p++)h=e[p],h<128&&S(t,y(h));var _=t.length,b=_;for(_&&S(t,d);b<n;){var C=r;for(p=0;p<e.length;p++)h=e[p],h>=s&&h<C&&(C=h);var w=b+1;if(C-s>v((r-c)/w))throw new g(m);for(c+=(C-s)*w,s=C,p=0;p<e.length;p++){if(h=e[p],h<s&&++c>r)throw new g(m);if(h===s){for(var T=c,k=i;;){var A=k<=f?a:k>=f+o?o:k-f;if(T<A)break;var j=T-A,M=i-A;S(t,y(D(A+j%M))),T=v(j/M),k+=i}S(t,y(D(T))),f=O(c,w,b===_),c=0,b++}}c++,s++}return x(t,``)};t.exports=function(e){var t=[],n=w(C(T(e),p,`.`),`.`),r,i;for(r=0;r<n.length;r++)i=n[r],S(t,_(f,i)?`xn--`+k(i):i);return x(t,`.`)}})),ov=n(((e,t)=>{jh();var n=Jo(),r=J(),i=String.fromCharCode,a=n(`String`,`fromCodePoint`),o=encodeURIComponent,s=parseInt,c=r(``.charAt),l=r([].push),u=r(``.replace),d=r(``.slice),f=r(/./.exec),p=`�`,m=/^[0-9a-f]+$/i,h=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDFFF]/g,g=function(e,t){var n=d(e,t,t+2);return f(m,n)?s(n,16):NaN},_=function(e){for(var t=0,n=128;n>0&&(e&n)!==0;n>>=1)t++;return t},v=function(e){var t=null,n=e.length;switch(n){case 1:t=e[0];break;case 2:t=(e[0]&31)<<6|e[1]&63;break;case 3:t=(e[0]&15)<<12|(e[1]&63)<<6|e[2]&63;break;case 4:t=(e[0]&7)<<18|(e[1]&63)<<12|(e[2]&63)<<6|e[3]&63}return t===null||t>1114111||t>=55296&&t<=57343||t<(n>3?65536:n>2?2048:n>1?128:0)?null:t},y=function(e){return e.length===2?e:p};t.exports={decode:function(e){for(var t=e.length,n=``,r=0;r<t;){var o=c(e,r);if(o===`%`){if(c(e,r+1)===`%`||r+3>t){n+=`%`,r++;continue}var s=g(e,r+1);if(s!==s){n+=o,r++;continue}r+=2;var u=_(s);if(u===0)o=i(s);else{if(u===1||u>4){n+=p,r++;continue}for(var d=[s],f=1;f<u&&(r++,!(r+3>t||c(e,r)!==`%`));){var m=g(e,r+1);if(m!==m||m>191||m<128||f===1&&(s===224&&m<160||s===237&&m>159||s===240&&m<144||s===244&&m>143))break;l(d,m),r+=2,f++}if(d.length!==u){n+=p;continue}var h=v(d);if(h===null){for(var y=0;y<u;y++)n+=p;r++;continue}o=a(h)}}n+=o,r++}return n},encode:function(e){try{return o(e)}catch{return o(u(e,h,y))}}}})),sv=n(((e,t)=>{Jl();var n=Z(),r=W(),i=Up(),a=q(),o=J(),s=K(),c=iv(),l=ov(),u=Os(),d=Zs(),f=Du(),p=nc(),m=Gl(),h=Es(),g=Ou(),_=qo(),v=us(),y=ic(),b=Us(),x=X(),S=Y(),C=Ws(),w=Js(),T=Vo(),E=ol(),D=al(),O=ql(),k=Bp(),A=fs(),j=lu(),M=A(`iterator`),N=`URLSearchParams`,P=N+`Iterator`,F=h.set,I=h.getterFor(N),L=h.getterFor(P),ee=l.decode,te=l.encode,ne=i(`fetch`),re=i(`Request`),ie=i(`Headers`),ae=re&&re.prototype,oe=ie&&ie.prototype,R=r.TypeError,se=o(``.charAt),z=o([].join),ce=o([].push),le=o(``.replace),ue=o([].shift),de=o([].splice),fe=o(``.split),pe=o(``.slice),B=/\+/g,V=function(e){return ee(le(e,B,` `))},me=/[!'()~]|%20/g,he={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`},ge=function(e){return he[e]},_e=function(e){return le(te(e),me,ge)},ve=m(function(e,t){F(this,{type:P,target:I(e).entries,index:0,kind:t})},N,function(){var e=L(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,O(void 0,!0);var r=t[n];switch(e.kind){case`keys`:return O(r.key,!1);case`values`:return O(r.value,!1)}return O([r.key,r.value],!1)},!0),ye=function(e){this.entries=[],this.url=null,e!==void 0&&(S(e)?this.parseObject(e):this.parseQuery(typeof e==`string`?se(e,0)===`?`?pe(e,1):e:C(e)))};ye.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t=this.entries,n=D(e),r,i,o,s,c,l,u;if(n)for(r=E(e,n),i=r.next;!(o=a(i,r)).done;){if(s=E(x(o.value)),c=s.next,(l=a(c,s)).done||(u=a(c,s)).done||!a(c,s).done)throw new R(`Expected sequence with length 2`);ce(t,{key:C(l.value),value:C(u.value)})}else for(var d in e)v(e,d)&&ce(t,{key:d,value:C(e[d])})},parseQuery:function(e){if(e)for(var t=this.entries,n=fe(e,`&`),r=0,i,a;r<n.length;)i=n[r++],i.length&&(a=fe(i,`=`),ce(t,{key:V(ue(a)),value:V(z(a,`=`))}))},serialize:function(){for(var e=this.entries,t=[],n=0,r;n<e.length;)r=e[n++],ce(t,_e(r.key)+`=`+_e(r.value));return z(t,`&`)},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var be=function(){g(this,H);var e=arguments.length>0?arguments[0]:void 0,t=F(this,new ye(e));s||(this.size=t.entries.length)},H=be.prototype;if(f(H,{append:function(e,t){var n=I(this);k(arguments.length,2),ce(n.entries,{key:C(e),value:C(t)}),s||this.size++,n.updateURL()},delete:function(e){for(var t=I(this),n=k(arguments.length,1),r=t.entries,i=C(e),a=n<2?void 0:arguments[1],o=a===void 0?a:C(a),c=0;c<r.length;){var l=r[c];l.key===i&&(o===void 0||l.value===o)?de(r,c,1):c++}s||(this.size=r.length),t.updateURL()},get:function(e){var t=I(this).entries;k(arguments.length,1);for(var n=C(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=I(this).entries;k(arguments.length,1);for(var n=C(e),r=[],i=0;i<t.length;i++)t[i].key===n&&ce(r,t[i].value);return r},has:function(e){for(var t=I(this).entries,n=k(arguments.length,1),r=C(e),i=n<2?void 0:arguments[1],a=i===void 0?i:C(i),o=0;o<t.length;){var s=t[o++];if(s.key===r&&(a===void 0||s.value===a))return!0}return!1},set:function(e,t){var n=I(this);k(arguments.length,2);for(var r=n.entries,i=!1,a=C(e),o=C(t),c=0,l;c<r.length;c++)l=r[c],l.key===a&&(i?de(r,c--,1):(i=!0,l.value=o));i||ce(r,{key:a,value:o}),s||(this.size=r.length),n.updateURL()},sort:function(){var e=I(this);j(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t=I(this).entries,n=y(e,arguments.length>1?arguments[1]:void 0),r=0,i;r<t.length;)i=t[r++],n(i.value,i.key,this)},keys:function(){return new ve(this,`keys`)},values:function(){return new ve(this,`values`)},entries:function(){return new ve(this,`entries`)}},{enumerable:!0}),u(H,M,H.entries,{name:`entries`}),u(H,`toString`,function(){return I(this).serialize()},{enumerable:!0}),s&&d(H,`size`,{get:function(){return I(this).entries.length},configurable:!0,enumerable:!0}),p(be,N),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:be}),!c&&_(ie)){var xe=o(oe.has),Se=o(oe.set),Ce=function(e){if(S(e)){var t=e.body,n;if(b(t)===N)return n=e.headers?new ie(e.headers):new ie,xe(n,`content-type`)||Se(n,`content-type`,`application/x-www-form-urlencoded;charset=UTF-8`),w(e,{body:T(0,C(t)),headers:T(0,n)})}return e};if(_(ne)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return ne(e,arguments.length>1?Ce(arguments[1]):{})}}),_(re)){var we=function(e){return g(this,ae),new re(e,arguments.length>1?Ce(arguments[1]):{})};ae.constructor=we,we.prototype=ae,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:we})}}t.exports={URLSearchParams:be,getState:I}})),cv=n((()=>{Ph();var e=Z(),t=K(),n=iv(),r=W(),i=ic(),a=J(),o=Os(),s=Zs(),c=Ou(),l=us(),u=rp(),d=Rl(),f=Ys(),p=Eh().codeAt,m=av(),h=ov(),g=Ws(),_=nc(),v=Bp(),y=sv(),b=Es(),x=b.set,S=b.getterFor(`URL`),C=y.URLSearchParams,w=y.getState,T=h.decode,E=h.encode,D=r.URL,O=r.TypeError,k=r.parseInt,A=Math.floor,j=Math.pow,M=String.fromCharCode,N=a(``.charAt),P=a(/./.exec),F=a([].join),I=a(1.1.toString),L=a([].pop),ee=a([].push),te=a(``.replace),ne=a([].shift),re=a(``.split),ie=a(``.indexOf),ae=a(``.slice),oe=a(``.toLowerCase),R=a([].unshift),se=`Invalid authority`,z=`Invalid scheme`,ce=`Invalid host`,le=`Invalid port`,ue=/[a-z]/i,de=/[\d+\-.a-z]/i,fe=/\d/,pe=/^0x/i,B=/^[0-7]+$/,V=/^\d+$/,me=/^[\da-f]+$/i,he=/[\u0000-\u0020#%/:<>?@[\\\]^|\u007F]/,ge=/[\0\t\n\r #/:<>?@[\\\]^|]/,_e=/^[\u0000-\u0020]+/,ve=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ye=/[\t\n\r]/g,be=/[^\u0000-\u007F]/,H=`¨¯´¸˘˙˚˛˜˝ͺ΄΅᾽᾿῀῁῍῎῏῝῞῟῭΅´῾‗‾⁇⁈⁉℀℁℅℆⩴゛゜ﱞﱟﱠﱡﱢﱣﷺﷻ︓︖﹇﹈﹉﹊﹋﹌﹕﹖﹟﹤﹥﹨﹪﹫ﹰﹲﹴﹶﹸﹺﹼﹾ ̄`,xe,Se=function(e){return e===173||e===847||e===8203||e===12644||e===65279||e===65440||e>=4447&&e<=4448||e>=6068&&e<=6069||e>=6155&&e<=6159||e>=8288&&e<=8292||e>=8298&&e<=8303||e>=65024&&e<=65039||e>=917760&&e<=917999},Ce=function(e){return e===65533||e>=55296&&e<=57343||e>=128&&e<=159||e>=8206&&e<=8207||e>=8232&&e<=8233||e>=8234&&e<=8238||e>=8293&&e<=8297||e>=64976&&e<=65007||(e&65534)==65534||e>=57344&&e<=63743||e>=983040&&e<=1114109},we=function(e){return e>=65281&&e<=65374?e-65248:e===160||e===5760||e===8239||e===8287||e===12288||e>=8192&&e<=8202||e<=65535&&ie(H,M(e))>-1?32:e},Te=function(e){if(!P(be,e))return e===``?null:m(e);var t=d(e),n=``,r,i,a;for(r=0;r<t.length;r++){if(i=p(t[r],0),Ce(i))return null;Se(i)||(a=we(i),n+=a===i?t[r]:M(a))}return n===``?null:m(n)},Ee=function(e){var t=re(e,`.`),n,r;if(t[t.length-1]===``){if(t.length===1)return!1;t.length--}return n=t[t.length-1],P(V,n)?!0:P(pe,n)?(r=ae(n,2),r===``||!!P(me,r)):!1},De=function(e){var t=re(e,`.`),n,r,i,a,o,s,c;if(t.length&&t[t.length-1]===``&&t.length--,n=t.length,n>4)return null;for(r=[],i=0;i<n;i++){if(a=t[i],a===``)return null;if(o=10,a.length>1&&N(a,0)===`0`&&(o=P(pe,a)?16:8,a=ae(a,o===8?1:2)),a===``)s=0;else{if(!P(o===10?V:o===8?B:me,a))return null;s=k(a,o)}ee(r,s)}for(i=0;i<n;i++)if(s=r[i],i===n-1){if(s>=j(256,5-n))return null}else if(s>255)return null;for(c=L(r),i=0;i<r.length;i++)c+=r[i]*j(256,3-i);return c},Oe=function(e){var t=[0,0,0,0,0,0,0,0],n=0,r=null,i=0,a,o,s,c,l,u,d,f=function(){return N(e,i)};if(f()===`:`){if(N(e,1)!==`:`)return;
vendor: 11,468 bytes, line 8
8i+=2,n++,r=n}for(;f();){if(n===8)return;if(f()===`:`){if(r!==null)return;i++,n++,r=n;continue}for(a=o=0;o<4&&P(me,f());)a=a*16+k(f(),16),i++,o++;if(f()===`.`){if(o===0||(i-=o,n>6))return;for(s=0;f();){if(c=null,s>0){if(f()===`.`&&s<4)i++;else return}if(!P(fe,f()))return;for(;P(fe,f());){if(l=k(f(),10),c===null)c=l;else if(c===0)return;else c=c*10+l;if(c>255)return;i++}t[n]=t[n]*256+c,s++,(s===2||s===4)&&n++}if(s!==4)return;break}if(f()===`:`){if(i++,!f())return}else if(f())return;t[n++]=a}if(r!==null)for(u=n-r,n=7;n!==0&&u>0;)d=t[n],t[n--]=t[r+u-1],t[r+--u]=d;else if(n!==8)return;return t},ke=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)e[a]===0?(r===null&&(r=a),++i):(i>n&&(t=r,n=i),r=null,i=0);return i>n?r:t},Ae=function(e){var t,n,r,i;if(typeof e==`number`){for(t=[],n=0;n<4;n++)R(t,e%256),e=A(e/256);return F(t,`.`)}if(typeof e==`object`){for(t=``,r=ke(e),n=0;n<8;n++)i&&e[n]===0||(i&&=!1,r===n?(t+=n?`:`:`::`,i=!0):(t+=I(e[n],16),n<7&&(t+=`:`)));return`[`+t+`]`}return e},je={},Me=u({},je,{" ":1,'"':1,"#":1,"<":1,">":1}),Ne=u({},Me,{"'":1}),Pe=u({},je,{" ":1,'"':1,"<":1,">":1,"`":1}),Fe=u({},Pe,{"#":1,"?":1,"{":1,"}":1,"^":1}),Ie=u({},Fe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Le=function(e,t){var n=p(e,0);return n>=32&&n<127&&!l(t,e)?e:e===`'`&&l(t,e)?`%27`:E(e)},Re={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ze=function(e,t){var n;return e.length===2&&P(ue,N(e,0))&&((n=N(e,1))===`:`||!t&&n===`|`)},Be=function(e){var t;return e.length>1&&ze(ae(e,0,2))&&(e.length===2||(t=N(e,2))===`/`||t===`\\`||t===`?`||t===`#`)},Ve=function(e){return e===`.`||oe(e)===`%2e`},He=function(e){return e=oe(e),e===`..`||e===`%2e.`||e===`.%2e`||e===`%2e%2e`},Ue={},We={},Ge={},Ke={},qe={},Je={},Ye={},Xe={},Ze={},Qe={},$e={},et={},tt={},nt={},rt={},it={},at={},ot={},st={},ct={},lt={},ut=function(e,t,n){var r=g(e),i,a,o;if(t){if(a=this.parse(r),a)throw new O(a);this.searchParams=null}else{if(n!==void 0&&(i=new ut(n,!0)),a=this.parse(r,null,i),a)throw new O(a);o=w(new C),o.bindURL(this),this.searchParams=o}};ut.prototype={type:`URL`,parse:function(e,t,n){var r=this,i=t||Ue,a=0,o=``,s=!1,c=!1,u=!1,p,m,h,_;for(e=g(e),t||(r.scheme=``,r.username=``,r.password=``,r.host=null,r.port=null,r.path=[],r.query=null,r.fragment=null,r.cannotBeABaseURL=!1,e=te(e,_e,``),e=te(e,ve,`$1`)),e=te(e,ye,``),p=d(e);a<=p.length;){switch(m=p[a],i){case Ue:if(m&&P(ue,m))o+=oe(m),i=We;else if(t)return z;else{i=Ge;continue}break;case We:if(m&&P(de,m))o+=oe(m);else if(m===`:`){if(t&&(r.isSpecial()!==l(Re,o)||o===`file`&&(r.includesCredentials()||r.port!==null)||r.scheme===`file`&&r.host===``))return;if(r.scheme=o,t){r.isSpecial()&&Re[r.scheme]===r.port&&(r.port=null);return}o=``,r.scheme===`file`?i=nt:r.isSpecial()&&n&&n.scheme===r.scheme?i=Ke:r.isSpecial()?i=Xe:p[a+1]===`/`?(i=qe,a++):(r.cannotBeABaseURL=!0,ee(r.path,``),i=st)}else if(t)return z;else{o=``,i=Ge,a=0;continue}break;case Ge:if(!n||n.cannotBeABaseURL&&m!==`#`)return z;if(n.cannotBeABaseURL&&m===`#`){r.scheme=n.scheme,r.path=f(n.path),r.query=n.query,r.fragment=``,r.cannotBeABaseURL=!0,i=lt;break}i=n.scheme===`file`?nt:Je;continue;case Ke:if(m===`/`&&p[a+1]===`/`)i=Ze,a++;else{i=Je;continue}break;case qe:if(m===`/`){i=Qe;break}i=ot;continue;case Je:if(r.scheme=n.scheme,m===xe)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=n.query;else if(m===`/`||m===`\\`&&r.isSpecial())i=Ye;else if(m===`?`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=``,i=ct;else if(m===`#`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=n.query,r.fragment=``,i=lt;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.path.length&&r.path.length--,i=ot;continue}break;case Ye:if(r.isSpecial()&&(m===`/`||m===`\\`))i=Ze;else if(m===`/`)i=Qe;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,i=ot;continue}break;case Xe:if(i=Ze,m!==`/`||p[a+1]!==`/`)continue;a++;break;case Ze:if(m!==`/`&&m!==`\\`){i=Qe;continue}break;case Qe:if(m===`@`){s&&(o=`%40`+o),s=!0,h=d(o);for(var v=0;v<h.length;v++){var y=h[v];if(y===`:`&&!u){u=!0;continue}var b=Le(y,Ie);u?r.password+=b:r.username+=b}o=``}else if(m===xe||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()){if(s&&o===``)return se;a-=d(o).length+1,o=``,i=$e}else o+=m;break;case $e:case et:if(t&&r.scheme===`file`){i=it;continue}if(m===`:`&&!c){if(o===``)return ce;if(t===et)return;if(_=r.parseHost(o),_)return _;o=``,i=tt}else if(m===xe||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()){if(r.isSpecial()&&o===``)return ce;if(t&&o===``&&(r.includesCredentials()||r.port!==null))return;if(_=r.parseHost(o),_)return _;if(o=``,i=at,t)return;continue}else m===`[`?c=!0:m===`]`&&(c=!1),o+=m;break;case tt:if(P(fe,m))o+=m;else if(m===xe||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()||t){if(o!==``){var x=k(o,10);if(x>65535)return le;r.port=r.isSpecial()&&x===Re[r.scheme]?null:x,o=``}if(t)return;i=at;continue}else return le;break;case nt:if(r.scheme=`file`,r.host=``,m===`/`||m===`\\`)i=rt;else if(n&&n.scheme===`file`)switch(m){case xe:r.host=n.host,r.path=f(n.path),r.query=n.query;break;case`?`:r.host=n.host,r.path=f(n.path),r.query=``,i=ct;break;case`#`:r.host=n.host,r.path=f(n.path),r.query=n.query,r.fragment=``,i=lt;break;default:r.host=n.host,Be(F(f(p,a),``))||(r.path=f(n.path),r.shortenPath()),i=ot;continue}else{i=ot;continue}break;case rt:if(m===`/`||m===`\\`){i=it;break}n&&n.scheme===`file`&&(r.host=n.host,!Be(F(f(p,a),``))&&ze(n.path[0],!0)&&ee(r.path,n.path[0])),i=ot;continue;case it:if(m===xe||m===`/`||m===`\\`||m===`?`||m===`#`){if(!t&&ze(o))i=ot;else if(o===``){if(r.host=``,t)return;i=at}else{if(_=r.parseHost(o),_)return _;if(r.host===`localhost`&&(r.host=``),t)return;o=``,i=at}continue}o+=m;break;case at:if(r.isSpecial()){if(i=ot,m!==`/`&&m!==`\\`)continue}else if(!t&&m===`?`)r.query=``,i=ct;else if(!t&&m===`#`)r.fragment=``,i=lt;else if(m!==xe&&(i=ot,m!==`/`))continue;break;case ot:if(m===xe||m===`/`||m===`\\`&&r.isSpecial()||!t&&(m===`?`||m===`#`)){if(He(o)?(r.shortenPath(),m!==`/`&&!(m===`\\`&&r.isSpecial())&&ee(r.path,``)):Ve(o)?m!==`/`&&!(m===`\\`&&r.isSpecial())&&ee(r.path,``):(r.scheme===`file`&&!r.path.length&&ze(o)&&(r.host!==null&&r.host!==``&&(r.host=``),o=N(o,0)+`:`),ee(r.path,o)),o=``,r.scheme===`file`&&(m===xe||m===`?`||m===`#`))for(;r.path.length>1&&r.path[0]===``;)ne(r.path);m===`?`?(r.query=``,i=ct):m===`#`&&(r.fragment=``,i=lt)}else o+=Le(m,Fe);break;case st:m===`?`?(r.query=``,i=ct):m===`#`?(r.fragment=``,i=lt):m!==xe&&(m===` `?r.path[0]+=p[a+1]===`?`||p[a+1]===`#`?`%20`:` `:r.path[0]+=Le(m,je));break;case ct:!t&&m===`#`?(r.fragment=``,i=lt):m!==xe&&(r.query+=Le(m,r.isSpecial()?Ne:Me));break;case lt:m!==xe&&(r.fragment+=Le(m,Pe))}a++}},parseHost:function(e){var t,n,r;if(N(e,0)===`[`){if(N(e,e.length-1)!==`]`||(t=Oe(ae(e,1,-1)),!t))return ce;this.host=t}else if(this.isSpecial()){if(e=Te(T(e)),e===null||P(he,e))return ce;if(Ee(e)){if(t=De(e),t===null)return ce;this.host=t}else this.host=e}else{if(P(ge,e))return ce;for(t=``,n=d(e),r=0;r<n.length;r++)t+=Le(n[r],je);this.host=t}},cannotHaveUsernamePasswordPort:function(){return this.host===null||this.host===``||this.cannotBeABaseURL||this.scheme===`file`},includesCredentials:function(){return this.username!==``||this.password!==``},isSpecial:function(){return l(Re,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&(this.scheme!==`file`||t!==1||!ze(e[0],!0))&&e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,c=e.fragment,l=t+`:`;return i===null?t===`file`&&(l+=`//`):(l+=`//`,e.includesCredentials()&&(l+=n+(r?`:`+r:``)+`@`),l+=Ae(i),a!==null&&(l+=`:`+a)),i===null&&!e.cannotBeABaseURL&&o.length>1&&o[0]===``&&(l+=`/.`),l+=e.cannotBeABaseURL?o[0]:o.length?`/`+F(o,`/`):``,s!==null&&(l+=`?`+s),c!==null&&(l+=`#`+c),l},setHref:function(e){var t=this.parse(e);if(t)throw new O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if(e===`blob`)try{return new dt(this.path[0]).origin}catch{return`null`}return e===`file`||!this.isSpecial()?`null`:e+`://`+Ae(this.host)+(t===null?``:`:`+t)},getProtocol:function(){return this.scheme+`:`},setProtocol:function(e){this.parse(g(e)+`:`,Ue)},getUsername:function(){return this.username},setUsername:function(e){var t=d(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username=``;for(var n=0;n<t.length;n++)this.username+=Le(t[n],Ie)}},getPassword:function(){return this.password},setPassword:function(e){var t=d(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password=``;for(var n=0;n<t.length;n++)this.password+=Le(t[n],Ie)}},getHost:function(){var e=this.host,t=this.port;return e===null?``:t===null?Ae(e):Ae(e)+`:`+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,$e)},getHostname:function(){var e=this.host;return e===null?``:Ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,et)},getPort:function(){var e=this.port;return e===null?``:g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=g(e),e===``?this.port=null:this.parse(e,tt))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?`/`+F(e,`/`):``},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,at))},getSearch:function(){var e=this.query;return e?`?`+e:``},setSearch:function(e){e=g(e),e===``?this.query=null:(N(e,0)===`?`&&(e=ae(e,1)),this.query=``,this.parse(e,ct)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?`#`+e:``},setHash:function(e){if(e=g(e),e===``){this.fragment=null;return}N(e,0)===`#`&&(e=ae(e,1)),this.fragment=``,this.parse(e,lt)},update:function(){this.query=this.searchParams.serialize()||null}};var dt=function(e){var n=c(this,ft),r=x(n,new ut(e,!1,v(arguments.length,1)>1?arguments[1]:void 0));t||(n.href=r.serialize(),n.origin=r.getOrigin(),n.protocol=r.getProtocol(),n.username=r.getUsername(),n.password=r.getPassword(),n.host=r.getHost(),n.hostname=r.getHostname(),n.port=r.getPort(),n.pathname=r.getPathname(),n.search=r.getSearch(),n.searchParams=r.getSearchParams(),n.hash=r.getHash())},ft=dt.prototype,pt=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(t&&(s(ft,`href`,pt(`serialize`,`setHref`)),s(ft,`origin`,pt(`getOrigin`)),s(ft,`protocol`,pt(`getProtocol`,`setProtocol`)),s(ft,`username`,pt(`getUsername`,`setUsername`)),s(ft,`password`,pt(`getPassword`,`setPassword`)),s(ft,`host`,pt(`getHost`,`setHost`)),s(ft,`hostname`,pt(`getHostname`,`setHostname`)),s(ft,`port`,pt(`getPort`,`setPort`)),s(ft,`pathname`,pt(`getPathname`,`setPathname`)),s(ft,`search`,pt(`getSearch`,`setSearch`)),s(ft,`searchParams`,pt(`getSearchParams`)),s(ft,`hash`,pt(`getHash`,`setHash`))),o(ft,`toJSON`,function(){return S(this).serialize()},{enumerable:!0}),o(ft,`toString`,function(){return S(this).serialize()},{enumerable:!0}),D){var mt=D.createObjectURL,ht=D.revokeObjectURL;mt&&o(dt,`createObjectURL`,i(mt,D)),ht&&o(dt,`revokeObjectURL`,i(ht,D))}_(dt,`URL`),e({global:!0,constructor:!0,forced:!n,sham:!t},{URL:dt})})),lv=n((()=>{cv()})),uv=n((()=>{var e=Z(),t=Jo(),n=G(),r=Bp(),i=Ws(),a=iv(),o=t(`URL`),s=a&&n(function(){o.canParse()}),c=n(function(){return o.canParse.length!==1});
8e({target:`URL`,stat:!0,forced:!s||c},{canParse:function(e){var t=r(arguments.length,1),n=i(e),a=t<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(n,a)}catch{return!1}}})})),dv=n((()=>{var e=Z(),t=Jo(),n=Bp(),r=Ws(),i=iv(),a=t(`URL`);e({target:`URL`,stat:!0,forced:!i},{parse:function(e){var t=n(arguments.length,1),i=r(e),o=t<2||arguments[1]===void 0?void 0:r(arguments[1]);try{return new a(i,o)}catch{return null}}})})),fv=n((()=>{var e=Z(),t=q(),n=yu()(`URL`,`toString`);e({target:`URL`,proto:!0,enumerable:!0},{toJSON:function(){return t(n,this)}})})),pv=n((()=>{sv()})),mv=n((()=>{var e=Os(),t=J(),n=Ws(),r=Bp(),i=URLSearchParams,a=i.prototype,o=t(a.append),s=t(a.delete),c=t(a.forEach),l=t([].push),u=new i(`a=1&a=2&b=3`);u.delete(`a`,1),u.delete(`b`,void 0),u+``!=`a=2`&&e(a,`delete`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=[];c(this,function(e,t){l(a,{key:t,value:e})}),r(t,1);for(var u=n(e),d=n(i),f=0,p=a.length,m;f<p;)m=a[f],s(this,m.key),f++;for(f=0;f<p;)m=a[f++],(m.key!==u||m.value!==d)&&o(this,m.key,m.value)},{enumerable:!0,unsafe:!0})})),hv=n((()=>{var e=Os(),t=J(),n=Ws(),r=Bp(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),s=t(a.has),c=new i(`a=1`);(c.has(`a`,2)||!c.has(`a`,void 0))&&e(a,`has`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=o(this,e);r(t,1);for(var c=n(i),l=0;l<a.length;)if(a[l++]===c)return!0;return!1},{enumerable:!0,unsafe:!0})})),gv=n((()=>{var e=K(),t=J(),n=Zs(),r=URLSearchParams.prototype,i=t(r.forEach);e&&!(`size`in r)&&n(r,`size`,{get:function(){var e=0;return i(this,function(){e++}),e},configurable:!0,enumerable:!0})})),_v=n(((e,t)=>{xc(),Sc(),Cc(),wc(),Tc(),Ec(),Dc(),Oc(),kc(),Ac(),jc(),Mc(),Nc(),Pc(),Fc(),Ic(),Lc(),Zc(),Qc(),el(),ul(),dl(),fl(),ml(),vl(),xl(),Cl(),Tl(),El(),Dl(),Ol(),Al(),jl(),Nl(),Pl(),Il(),Bl(),Vl(),Hl(),Ul(),Jl(),Yl(),Zl(),Ql(),$l(),eu(),iu(),au(),ou(),su(),cu(),pu(),hu(),gu(),_u(),bu(),xu(),Su(),Cu(),wu(),Tu(),Iu(),Ru(),zu(),Vu(),Hu(),Gu(),Ju(),ed(),td(),nd(),rd(),id(),ad(),ld(),ud(),fd(),pd(),hd(),gd(),vd(),yd(),bd(),xd(),Sd(),Ed(),Dd(),Nd(),Pd(),Fd(),Id(),Rd(),zd(),Bd(),Vd(),Hd(),Ud(),Wd(),Gd(),Xd(),Zd(),Qd(),$d(),tf(),yc(),nf(),uf(),ff(),pf(),mf(),gf(),_f(),vf(),yf(),bf(),Sf(),Cf(),wf(),Tf(),Ef(),Df(),kf(),Af(),jf(),Mf(),Nf(),Pf(),Ff(),If(),Lf(),Bf(),Vf(),Uf(),Gf(),Kf(),qf(),Jf(),Yf(),Zf(),$f(),ep(),tp(),np(),ip(),ap(),sp(),cp(),lp(),up(),fp(),pp(),mp(),hp(),gp(),_p(),vp(),yp(),bp(),Sp(),Cp(),wp(),Tp(),Ep(),Dp(),Op(),kp(),Ap(),jp(),Mp(),Pp(),Fp(),Ip(),Lp(),sm(),cm(),lm(),um(),dm(),fm(),ym(),bm(),xm(),Sm(),Cm(),wm(),Tm(),Dm(),Om(),km(),Am(),jm(),Mm(),Nm(),Pm(),Fm(),Im(),Wm(),Km(),qm(),Ym(),Xm(),Zm(),Qm(),$m(),th(),dh(),ph(),hh(),_h(),yh(),Sh(),wh(),Th(),Dh(),Ah(),jh(),Mh(),Nh(),Ph(),Rh(),zh(),Vh(),Hh(),Uh(),Wh(),Kh(),qh(),Jh(),Yh(),Xh(),Zh(),Qh(),eg(),rg(),og(),lg(),ug(),dg(),fg(),pg(),mg(),hg(),gg(),_g(),vg(),yg(),bg(),xg(),kg(),Ag(),jg(),Mg(),Ng(),Pg(),Fg(),Ig(),Lg(),Rg(),zg(),Bg(),Vg(),Ug(),Wg(),Gg(),Kg(),qg(),Jg(),Yg(),Xg(),Zg(),Qg(),$g(),e_(),t_(),n_(),r_(),i_(),a_(),o_(),s_(),c_(),l_(),u_(),d_(),f_(),p_(),m_(),h_(),y_(),x_(),C_(),w_(),T_(),E_(),D_(),A_(),M_(),F_(),L_(),R_(),z_(),H_(),U_(),G_(),K_(),q_(),Z_(),Q_(),$_(),ev(),rv(),lv(),uv(),dv(),fv(),pv(),mv(),hv(),gv(),t.exports=$s()})),vv=n(((e,t)=>{var n=function(e){var t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i,a=typeof Symbol==`function`?Symbol:{},o=a.iterator||`@@iterator`,s=a.asyncIterator||`@@asyncIterator`,c=a.toStringTag||`@@toStringTag`;function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},``)}catch{l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var a=t&&t.prototype instanceof _?t:_,o=Object.create(a.prototype);return r(o,`_invoke`,{value:E(e,n,new A(i||[]))}),o}e.wrap=u;function d(e,t,n){try{return{type:`normal`,arg:e.call(t,n)}}catch(e){return{type:`throw`,arg:e}}}var f=`suspendedStart`,p=`suspendedYield`,m=`executing`,h=`completed`,g={};function _(){}function v(){}function y(){}var b={};l(b,o,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(j([])));S&&S!==t&&n.call(S,o)&&(b=S);var C=y.prototype=_.prototype=Object.create(b);v.prototype=y,r(C,`constructor`,{value:y,configurable:!0}),r(y,`constructor`,{value:v,configurable:!0}),v.displayName=l(y,c,`GeneratorFunction`);function w(e){[`next`,`throw`,`return`].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}e.isGeneratorFunction=function(e){var t=typeof e==`function`&&e.constructor;return t?t===v||(t.displayName||t.name)===`GeneratorFunction`:!1},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,`GeneratorFunction`)),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}};function T(e,t){function i(r,a,o,s){var c=d(e[r],e,a);if(c.type===`throw`)s(c.arg);else{var l=c.arg,u=l.value;return u&&typeof u==`object`&&n.call(u,`__await`)?t.resolve(u.__await).then(function(e){i(`next`,e,o,s)},function(e){i(`throw`,e,o,s)}):t.resolve(u).then(function(e){l.value=e,o(l)},function(e){return i(`throw`,e,o,s)})}}var a;function o(e,n){function r(){return new t(function(t,r){i(e,n,t,r)})}return a=a?a.then(r,r):r()}r(this,`_invoke`,{value:o})}w(T.prototype),l(T.prototype,s,function(){return this}),e.AsyncIterator=T,e.async=function(t,n,r,i,a){a===void 0&&(a=Promise);var o=new T(u(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})};function E(e,t,n){var r=f;return function(i,a){if(r===m)throw Error(`Generator is already running`);if(r===h){if(i===`throw`)throw a;return M()}
8for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=D(o,n);if(s){if(s===g)continue;return s}}if(n.method===`next`)n.sent=n._sent=n.arg;else if(n.method===`throw`){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else n.method===`return`&&n.abrupt(`return`,n.arg);r=m;var c=d(e,t,n);if(c.type===`normal`){if(r=n.done?h:p,c.arg===g)continue;return{value:c.arg,done:n.done}}c.type===`throw`&&(r=h,n.method=`throw`,n.arg=c.arg)}}}function D(e,t){var n=t.method,r=e.iterator[n];if(r===i)return t.delegate=null,n===`throw`&&e.iterator.return&&(t.method=`return`,t.arg=i,D(e,t),t.method===`throw`)||n!==`return`&&(t.method=`throw`,t.arg=TypeError(`The iterator does not provide a '`+n+`' method`)),g;var a=d(r,e.iterator,t.arg);if(a.type===`throw`)return t.method=`throw`,t.arg=a.arg,t.delegate=null,g;var o=a.arg;if(!o)return t.method=`throw`,t.arg=TypeError(`iterator result is not an object`),t.delegate=null,g;if(o.done)t[e.resultName]=o.value,t.next=e.nextLoc,t.method!==`return`&&(t.method=`next`,t.arg=i);else return o;return t.delegate=null,g}w(C),l(C,c,`Generator`),l(C,o,function(){return this}),l(C,`toString`,function(){return`[object Generator]`});function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type=`normal`,delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:`root`}],e.forEach(O,this),this.reset(!0)}e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}};function j(e){if(e!=null){var t=e[o];if(t)return t.call(e);if(typeof e.next==`function`)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=i,t.done=!0,t};return a.next=a}}throw TypeError(typeof e+` is not iterable`)}e.values=j;function M(){return{value:i,done:!0}}return A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method=`next`,this.arg=i,this.tryEntries.forEach(k),!e)for(var t in this)t.charAt(0)===`t`&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=i)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type===`throw`)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return s.type=`throw`,s.arg=e,t.next=n,r&&(t.method=`next`,t.arg=i),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if(o.tryLoc===`root`)return r(`end`);if(o.tryLoc<=this.prev){var c=n.call(o,`catchLoc`),l=n.call(o,`finallyLoc`);if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else if(l){if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else throw Error(`try statement without catch or finally`)}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,`finallyLoc`)&&this.prev<i.finallyLoc){var a=i;break}}a&&(e===`break`||e===`continue`)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method=`next`,this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if(e.type===`throw`)throw e.arg;return e.type===`break`||e.type===`continue`?this.next=e.arg:e.type===`return`?(this.rval=this.arg=e.arg,this.method=`return`,this.next=`end`):e.type===`normal`&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(r.type===`throw`){var i=r.arg;k(n)}return i}}throw Error(`illegal catch attempt`)},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},this.method===`next`&&(this.arg=i),g}},e}(typeof t==`object`?t.exports:{});try{regeneratorRuntime=n}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=n:Function(`r`,`regeneratorRuntime = r`)(n)}})),yv=n(((e,t)=>{var n=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/\u00a0/g,` `)},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){n||={};var r,a;switch(i.util.type(t)){case`Object`:if(a=i.util.objId(t),n[a])return n[a];for(var o in r={},n[a]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case`Array`:return a=i.util.objId(t),n[a]?n[a]:(r=[],n[a]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return`none`},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,`gi`),``),e.classList.add(`language-`+n)},currentScript:function(){if(typeof document>`u`)return null;if(document.currentScript&&document.currentScript.tagName===`SCRIPT`)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName(`script`);for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r=`no-`+t;e;){var i=e.classList;if(i.contains(t))return!0;
vendor: 3,678 bytes, line 8
8if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r||=i.languages;var a=r[e],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(o[c]=n[c]);n.hasOwnProperty(s)||(o[s]=a[s])}var l=r[e];return r[e]=o,i.languages.DFS(i.languages,function(t,n){n===l&&t!=e&&(this[t]=o)}),o},DFS:function e(t,n,r,a){a||={};var o=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var c=t[s],l=i.util.type(c);l===`Object`&&!a[o(c)]?(a[o(c)]=!0,e(c,n,null,a)):l===`Array`&&!a[o(c)]&&(a[o(c)]=!0,e(c,n,s,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:`code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code`};i.hooks.run(`before-highlightall`,r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run(`before-all-elements-highlight`,r);for(var a=0,o;o=r.elements[a++];)i.highlightElement(o,t===!0,r.callback)},highlightElement:function(t,n,r){var a=i.util.getLanguage(t),o=i.languages[a];i.util.setLanguage(t,a);var s=t.parentElement;s&&s.nodeName.toLowerCase()===`pre`&&i.util.setLanguage(s,a);var c={element:t,language:a,grammar:o,code:t.textContent};function l(e){c.highlightedCode=e,i.hooks.run(`before-insert`,c),c.element.innerHTML=c.highlightedCode,i.hooks.run(`after-highlight`,c),i.hooks.run(`complete`,c),r&&r.call(c.element)}if(i.hooks.run(`before-sanity-check`,c),s=c.element.parentElement,s&&s.nodeName.toLowerCase()===`pre`&&!s.hasAttribute(`tabindex`)&&s.setAttribute(`tabindex`,`0`),!c.code){i.hooks.run(`complete`,c),r&&r.call(c.element);return}if(i.hooks.run(`before-highlight`,c),!c.grammar){l(i.util.encode(c.code));return}if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){l(e.data)},u.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(i.highlight(c.code,c.grammar,c.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run(`before-tokenize`,r),!r.grammar)throw Error(`The language "`+r.language+`" has no grammar.`);return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run(`after-tokenize`,r),a.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new c;return l(i,i.head,e),s(e,i,t,i.head,0),d(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(!(!n||!n.length))for(var r=0,a;a=n[r++];)a(t)}},Token:a};e.Prism=i;function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=(r||``).length|0}a.stringify=function e(t,n){if(typeof t==`string`)return t;if(Array.isArray(t)){var r=``;return t.forEach(function(t){r+=e(t,n)}),r}var a={type:t.type,content:e(t.content,n),tag:`span`,classes:[`token`,t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run(`wrap`,a);var s=``;for(var c in a.attributes)s+=` `+c+`="`+(a.attributes[c]||``).replace(/"/g,`&quot;`)+`"`;return`<`+a.tag+` class="`+a.classes.join(` `)+`"`+s+`>`+a.content+`</`+a.tag+`>`};function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(e,t,n,r,c,d){for(var f in n)if(!(!n.hasOwnProperty(f)||!n[f])){var p=n[f];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(d&&d.cause==f+`,`+m)return;
vendor: 991 bytes, line 8
8var h=p[m],g=h.inside,_=!!h.lookbehind,v=!!h.greedy,y=h.alias;if(v&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+`g`)}for(var x=h.pattern||h,S=r.next,C=c;S!==t.tail&&!(d&&C>=d.reach);C+=S.value.length,S=S.next){var w=S.value;if(t.length>e.length)return;if(!(w instanceof a)){var T=1,E;if(v){if(E=o(x,C,e,_),!E||E.index>=e.length)break;var D=E.index,O=E.index+E[0].length,k=C;for(k+=S.value.length;D>=k;)S=S.next,k+=S.value.length;if(k-=S.value.length,C=k,S.value instanceof a)continue;for(var A=S;A!==t.tail&&(k<O||typeof A.value==`string`);A=A.next)T++,k+=A.value.length;T--,w=e.slice(C,k),E.index-=C}else if(E=o(x,0,w,_),!E)continue;var D=E.index,j=E[0],M=w.slice(0,D),N=w.slice(D+j.length),P=C+w.length;d&&P>d.reach&&(d.reach=P);var F=S.prev;M&&(F=l(t,F,M),C+=M.length),u(t,F,T);var I=new a(f,g?i.tokenize(j,g):j,y,j);if(S=l(t,F,I),N&&l(t,S,N),T>1){var L={cause:f+`,`+m,reach:P};s(e,t,n,S.prev,C,L),d&&L.reach>d.reach&&(d.reach=L
vendor: 12,611 bytes, lines 8-9
8.reach)}}}}}}function c(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}function d(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}if(!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener(`message`,function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()},!1)),i;var f=i.util.currentScript();f&&(i.filename=f.src,f.hasAttribute(`data-manual`)&&(i.manual=!0));function p(){i.manual||i.highlightAll()}if(!i.manual){var m=document.readyState;m===`loading`||m===`interactive`&&f&&f.defer?document.addEventListener(`DOMContentLoaded`,p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return i}(typeof window<`u`?window:typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope?self:{});t!==void 0&&t.exports&&(t.exports=n),typeof global<`u`&&(global.Prism=n),n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:`attr-equals`},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:`named-entity`},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside[`attr-value`].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside[`internal-subset`].inside=n.languages.markup,n.hooks.add(`wrap`,function(e){e.type===`entity`&&(e.attributes.title=e.content.replace(/&amp;/,`&`))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r[`language-`+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i[`language-`+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var a={};a[e]={pattern:RegExp(`(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[\\s\\S])*?(?=<\\/__>)`.replace(/__/g,function(){return e}),`i`),lookbehind:!0,greedy:!0,inside:i},n.languages.insertBefore(`markup`,`cdata`,a)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(e,t){n.languages.markup.tag.inside[`special-attr`].push({pattern:RegExp(`(^|["'\\s])(?:`+e+`)\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s'">=]+(?=[\\s>]))`,`i`),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,`language-`+t],inside:n.languages[t]},punctuation:[{pattern:/^=/,alias:`attr-equals`},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend(`markup`,{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp(`@[\\w-](?:[^;{\\s"']|\\s+(?!\\s)|`+t.source+`)*?(?:;|(?=\\s*\\{))`),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:`selector`},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp(`\\burl\\((?:`+t.source+`|(?:[^\\\\\\r\\n()"']|\\\\[\\s\\S])*)\\)`,`i`),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp(`^`+t.source+`$`),alias:`url`}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+`)*(?=\\s*\\{)`),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined(`style`,`css`),n.tag.addAttribute(`style`,`css`))})(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend(`clike`,{"class-name":[n.languages.clike[`class-name`],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(`(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])`),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript[`class-name`][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore(`javascript`,`keyword`,{regex:{pattern:RegExp(`((?:^|[^$\\w\\xA0-\\uFFFF."'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))`),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:`language-regex`,inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:`function`},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore(`javascript`,`string`,{hashbang:{pattern:/^#!.*/,greedy:!0,alias:`comment`},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:`string`},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:`punctuation`},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:`property`}}),n.languages.insertBefore(`javascript`,`operator`,{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:`property`}}),n.languages.markup&&(n.languages.markup.tag.addInlined(`script`,`javascript`),n.languages.markup.tag.addAttribute(`on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)`,`javascript`)),n.languages.js=n.languages.javascript,(function(){if(n===void 0||typeof document>`u`)return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e=`Loading…`,t=function(e,t){return`✖ Error `+e+` while fetching file: `+t},r=`✖ Error: File does not exist or is empty`,i={js:`javascript`,py:`python`,rb:`ruby`,ps1:`powershell`,psm1:`powershell`,sh:`bash`,bat:`batch`,h:`c`,tex:`latex`},a=`data-src-status`,o=`loading`,s=`loaded`,c=`failed`,l=`pre[data-src]:not([`+a+`="`+s+`"]):not([`+a+`="`+o+`"])`;function u(e,n,i){var a=new XMLHttpRequest;a.open(`GET`,e,!0),a.onreadystatechange=function(){a.readyState==4&&(a.status<400&&a.responseText?n(a.responseText):a.status>=400?i(t(a.status,a.statusText)):i(r))},a.send(null)}function d(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||``);if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}n.hooks.add(`before-highlightall`,function(e){e.selector+=`, `+l}),n.hooks.add(`before-sanity-check`,function(t){var r=t.element;if(r.matches(l)){t.code=``,r.setAttribute(a,o);var f=r.appendChild(document.createElement(`CODE`));f.textContent=e;var p=r.getAttribute(`data-src`),m=t.language;if(m===`none`){var h=(/\.(\w+)$/.exec(p)||[,`none`])[1];m=i[h]||h}n.util.setLanguage(f,m),n.util.setLanguage(r,m);var g=n.plugins.autoloader;g&&g.loadLanguages(m),u(p,function(e){r.setAttribute(a,s);var t=d(r.getAttribute(`data-range`));if(t){var i=e.split(/\r\n?|\n/g),o=t[0],c=t[1]==null?i.length:t[1];o<0&&(o+=i.length),o=Math.max(0,Math.min(o-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),e=i.slice(o,c).join(`
9`),r.hasAttribute(`data-start`)||r.setAttribute(`data-start`,String(o+1))}f.textContent=e,n.highlightElement(f)},function(e){r.setAttribute(a,c),f.textContent=e})}}),n.plugins.fileHighlight={highlight:function(e){for(var t=(e||document).querySelectorAll(l),r=0,i;i=t[r++];)n.highlightElement(i)}};var f=!1;n.fileHighlight=function(){f||=(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}})()}))
9;_v(),vv();var bv=e(yv()),xv=bv.default||bv;window.Prism=xv,globalThis.Prism=xv;var Sv=globalThis.Prism;Sv.languages.javascript=Sv.languages.extend(`clike`,{"class-name":[Sv.languages.clike[`class-name`],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(`(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])`),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Sv.languages.javascript[`class-name`][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Sv.languages.insertBefore(`javascript`,`keyword`,{regex:{pattern:RegExp(`((?:^|[^$\\w\\xA0-\\uFFFF."'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))`),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:`language-regex`,inside:Sv.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:`function`},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Sv.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Sv.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Sv.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Sv.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Sv.languages.insertBefore(`javascript`,`string`,{hashbang:{pattern:/^#!.*/,greedy:!0,alias:`comment`},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:`string`},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:`punctuation`},rest:Sv.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:`property`}}),Sv.languages.insertBefore(`javascript`,`operator`,{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:`property`}}),Sv.languages.markup&&(Sv.languages.markup.tag.addInlined(`script`,`javascript`),Sv.languages.markup.tag.addAttribute(`on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?
9:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)`,`javascript`)),Sv.languages.js=Sv.languages.javascript,(function(e){e.languages.typescript=e.languages.extend(`javascript`,{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript[`literal-property`];var t=e.languages.extend(`typescript`,{});delete t[`class-name`],e.languages.typescript[`class-name`].inside=t,e.languages.insertBefore(`typescript`,`function`,{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:`operator`},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:`class-name`,inside:t}}}}),e.languages.ts=e.languages.typescript})(globalThis.Prism);var Cv=globalThis.Prism;Cv.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:`punctuation`},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:`string`},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:[`annotation`,`punctuation`],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
9])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Cv.languages.python[`string-interpolation`].inside.interpolation.inside.rest=Cv.languages.python,Cv.languages.py=Cv.languages.python,(function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=`(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*`,r={pattern:RegExp(`(^|[^\\w.])`+n+`[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b`),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend(`clike`,{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(`(^|[^\\w.])`+n+`[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()]|\\s*(?:\\[[\\s,]*\\]\\s*)?::\\s*new\\b)`),lookbehind:!0,inside:r.inside},{pattern:RegExp(`(\\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\\s+)`+n+`[A-Z]\\w*\\b`),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore(`java`,`string`,{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:`string`},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore(`java`,`class-name`,{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:`punctuation`},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(`(\\bimport\\s+)`+n+`(?:[A-Z]\\w*|\\*)(?=\\s*;)`),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(`(\\bimport\\s+static\\s+)`+n+`(?:\\w+|\\*)(?=\\s*;)`),lookbehind:!0,alias:`static`,inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(`(\\b(?:exports|import(?:\\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\\s+)(?!<keyword>)[a-z]\\w*(?:\\.[a-z]\\w*)*\\.?`.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(globalThis.Prism),(function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return`(?:`+t[+n]+`)`})}function n(e,n,r){return RegExp(t(e,n),r||``)}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,function(){return`(?:`+e+`)`});return e.replace(/<<self>>/g,`[^\\s\\S]`)}var i={type:`bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void`,typeDeclaration:`class enum interface record struct`,contextual:`add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)`,other:`abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield`};function a(e){return`\\b(?:`+e.trim().replace(/ /g,`|`)+`)\\b`}
vendor: 4,811 bytes, line 9
9var o=a(i.typeDeclaration),s=RegExp(a(i.type+` `+i.typeDeclaration+` `+i.contextual+` `+i.other)),c=a(i.typeDeclaration+` `+i.contextual+` `+i.other),l=a(i.type+` `+i.typeDeclaration+` `+i.other),u=r(`<(?:[^<>;=+\\-*/%&|^]|<<self>>)*>`,2),d=r(`\\((?:[^()]|<<self>>)*\\)`,2),f=`@?\\b[A-Za-z_]\\w*\\b`,p=t(`<<0>>(?:\\s*<<1>>)?`,[f,u]),m=t(`(?!<<0>>)<<1>>(?:\\s*\\.\\s*<<1>>)*`,[c,p]),h=`\\[\\s*(?:,\\s*)*\\]`,g=t(`<<0>>(?:\\s*(?:\\?\\s*)?<<1>>)*(?:\\s*\\?)?`,[m,h]),_=t(`(?:<<0>>|<<1>>)(?:\\s*(?:\\?\\s*)?<<2>>)*(?:\\s*\\?)?`,[t(`\\(<<0>>+(?:,<<0>>+)+\\)`,[t(`[^,()<>[\\];=+\\-*/%&|^]|<<0>>|<<1>>|<<2>>`,[u,d,h])]),m,h]),v={keyword:s,punctuation:/[<>()?,.:[\]]/},y=`'(?:[^\\r\\n'\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'`,b=`"(?:\\\\.|[^\\\\"\\r\\n])*"`,x=`@"(?:""|\\\\[\\s\\S]|[^\\\\"])*"(?!")`;e.languages.csharp=e.languages.extend(`clike`,{string:[{pattern:n(`(^|[^$\\\\])<<0>>`,[x]),lookbehind:!0,greedy:!0},{pattern:n(`(^|[^@$\\\\])<<0>>`,[b]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(`(\\busing\\s+static\\s+)<<0>>(?=\\s*;)`,[m]),lookbehind:!0,inside:v},{pattern:n(`(\\busing\\s+<<0>>\\s*=\\s*)<<1>>(?=\\s*;)`,[f,_]),lookbehind:!0,inside:v},{pattern:n(`(\\busing\\s+)<<0>>(?=\\s*=)`,[f]),lookbehind:!0},{pattern:n(`(\\b<<0>>\\s+)<<1>>`,[o,p]),lookbehind:!0,inside:v},{pattern:n(`(\\bcatch\\s*\\(\\s*)<<0>>`,[m]),lookbehind:!0,inside:v},{pattern:n(`(\\bwhere\\s+)<<0>>`,[f]),lookbehind:!0},{pattern:n(`(\\b(?:is(?:\\s+not)?|as)\\s+)<<0>>`,[g]),lookbehind:!0,inside:v},{pattern:n(`\\b<<0>>(?=\\s+(?!<<1>>|with\\s*\\{)<<2>>(?:\\s*[=,;:{)\\]]|\\s+(?:in|when)\\b))`,[_,l,f]),inside:v}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore(`csharp`,`number`,{range:{pattern:/\.\./,alias:`operator`}}),e.languages.insertBefore(`csharp`,`punctuation`,{"named-parameter":{pattern:n(`([(,]\\s*)<<0>>(?=\\s*:)`,[f]),lookbehind:!0,alias:`punctuation`}}),e.languages.insertBefore(`csharp`,`class-name`,{namespace:{pattern:n(`(\\b(?:namespace|using)\\s+)<<0>>(?:\\s*\\.\\s*<<0>>)*(?=\\s*[;{])`,[f]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(`(\\b(?:default|sizeof|typeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<<0>>)*(?=\\s*\\))`,[d]),lookbehind:!0,alias:`class-name`,inside:v},"return-type":{pattern:n(`<<0>>(?=\\s+(?:<<1>>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))`,[_,m]),inside:v,alias:`class-name`},"constructor-invocation":{pattern:n(`(\\bnew\\s+)<<0>>(?=\\s*[[({])`,[_]),lookbehind:!0,inside:v,alias:`class-name`},"generic-method":{pattern:n(`<<0>>\\s*<<1>>(?=\\s*\\()`,[f,u]),inside:{function:n(`^<<0>>`,[f]),generic:{pattern:RegExp(u),alias:`class-name`,inside:v}}},"type-list":{pattern:n(`\\b((?:<<0>>\\s+<<1>>|record\\s+<<1>>\\s*<<5>>|where\\s+<<2>>)\\s*:\\s*)(?:<<3>>|<<4>>|<<1>>\\s*<<5>>|<<6>>)(?:\\s*,\\s*(?:<<3>>|<<4>>|<<6>>))*(?=\\s*(?:where|[{;]|=>|$))`,[o,p,f,_,s.source,d,`\\bnew\\s*\\(\\s*\\)`]),lookbehind:!0,inside:{"record-arguments":{pattern:n(`(^(?!new\\s*\\()<<0>>\\s*)<<1>>`,[p,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(_),greedy:!0,inside:v},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:`property`,inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:`keyword`}}}});var S=b+`|`+y,C=t(`\\/(?![*/])|\\/\\/[^\\r\\n]*[\\r\\n]|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|<<0>>`,[S]),w=r(t(`[^"'/()]|<<0>>|\\(<<self>>*\\)`,[C]),2),T=`\\b(?:assembly|event|field|method|module|param|property|return|type)\\b`,E=t(`<<0>>(?:\\s*\\(<<1>>*\\))?`,[m,w]);e.languages.insertBefore(`csharp`,`class-name`,{attribute:{pattern:n(`((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<<0>>\\s*:\\s*)?<<1>>(?:\\s*,\\s*<<1>>)*(?=\\s*\\])`,[T,E]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(`^<<0>>(?=\\s*:)`,[T]),alias:`keyword`},"attribute-arguments":{pattern:n(`\\(<<0>>*\\)`,[w]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var D=`:[^}\\r\\n]+`,O=r(t(`[^"'/()]|<<0>>|\\(<<self>>*\\)`,[C]),2),k=t(`\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}`,[O,D]),A=r(t(`[^"'/()]|\\/(?!\\*)|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|<<0>>|\\(<<self>>*\\)`,[S]),2),j=t(`\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}`,[A,D]);function M(t,r){return{interpolation:{pattern:n(`((?:^|[^{])(?:\\{\\{)*)<<0>>`,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(`(^\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\}$)`,[r,D]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:`language-csharp`,inside:e.languages.csharp}}}
9,string:/[\s\S]+/}}e.languages.insertBefore(`csharp`,`string`,{"interpolation-string":[{pattern:n(`(^|[^\\\\])(?:\\$@|@\\$)"(?:""|\\\\[\\s\\S]|\\{\\{|<<0>>|[^\\\\{"])*"`,[k]),lookbehind:!0,greedy:!0,inside:M(k,O)},{pattern:n(`(^|[^@\\\\])\\$"(?:\\\\.|\\{\\{|<<0>>|[^\\\\"{])*"`,[j]),lookbehind:!0,greedy:!0,inside:M(j,A)}],char:{pattern:RegExp(y),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp})(globalThis.Prism);var wv=globalThis.Prism;wv.languages.go=wv.languages.extend(`clike`,{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),wv.languages.insertBefore(`go`,`string`,{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete wv.languages.go[`class-name`],(function(e){for(var t=`\\/\\*(?:[^*/]|\\*(?!\\/)|\\/(?!\\*)|<self>)*\\*\\/`,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return`[^\\s\\S]`}),e.languages.rust={comment:[{pattern:RegExp(`(^|[^\\\\])`+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:`attr-name`,inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:`punctuation`},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:`symbol`},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:`punctuation`},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:`function`},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:`class-name`},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:`namespace`},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:`namespace`,inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:`property`},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust[`closure-params`].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(globalThis.Prism),(function(e){e.languages.ruby=e.languages.extend(`clike`,{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore(`ruby`,`operator`,{"double-colon":{pattern:/::/,alias:`punctuation`}});var t={pattern:/((?:^|[^\\])(?:\\{2}
9)*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:`punctuation`}}};delete e.languages.ruby.function;var n=`(?:`+[`([^a-zA-Z0-9\\s{(\\[<=])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1`,`\\((?:[^()\\\\]|\\\\[\\s\\S]|\\((?:[^()\\\\]|\\\\[\\s\\S])*\\))*\\)`,`\\{(?:[^{}\\\\]|\\\\[\\s\\S]|\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\})*\\}`,`\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S]|\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\])*\\]`,`<(?:[^<>\\\\]|\\\\[\\s\\S]|<(?:[^<>\\\\]|\\\\[\\s\\S])*>)*>`].join(`|`)+`)`,r=`(?:"(?:\\\\.|[^"\\\\\\r\\n])*"|(?:\\b[a-zA-Z_]\\w*|[^\\s\\0-\\x7F]+)[?!]?|\\$.)`;e.languages.insertBefore(`ruby`,`keyword`,{"regex-literal":[{pattern:RegExp(`%r`+n+`[egimnosux]{0,6}`),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(`(^|[^:]):`+r),lookbehind:!0,greedy:!0},{pattern:RegExp(`([\\r\\n{(,][ \\t]*)`+r+`(?=:(?!:))`),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore(`ruby`,`string`,{"string-literal":[{pattern:RegExp(`%[qQiIwWs]?`+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:`heredoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:`heredoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(`%x`+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:`string`}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:`string`}}}]}),delete e.languages.ruby.string,e.languages.insertBefore(`ruby`,`number`,{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby})(globalThis.Prism);var Tv=globalThis.Prism;Tv.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},(function(e){var t=`\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
9CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b`,n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:`punctuation`,inside:null},r={bash:n,environment:{pattern:RegExp(`\\$`+t),alias:`constant`},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp(`(\\{)`+t),lookbehind:!0,alias:`constant`}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:`important`},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:`function`},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:`function`}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:`variable`,lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp(`(^|[\\s;|&]|[<>]\\()`+t),lookbehind:!0,alias:`constant`}},alias:`variable`,lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:`variable`,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp(`\\$?`+t),alias:`constant`},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:`class-name`},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:`important`},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
9&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:`important`}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=[`comment`,`function-name`,`for-or-select`,`assign-left`,`parameter`,`string`,`environment`,`function`,`keyword`,`builtin`,`boolean`,`file-descriptor`,`operator`,`punctuation`,`number`],a=r.variable[1].inside,o=0;o<i.length;o++)a[i[o]]=e.languages.bash[i[o]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(globalThis.Prism);var Ev=globalThis.Prism;Ev.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:`keyword`}},Ev.languages.webmanifest=Ev.languages.json,(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r=`(?:`+n.source+`(?:[ 	]+`+t.source+`)?|`+t.source+`(?:[ 	]+`+n.source+`)?)`,i=`(?:[^\\s\\x00-\\x08\\x0e-\\x1f!"#%&'*,\\-:>?@[\\]\`{|}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]|[?:-]<PLAIN>)(?:[ \\t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*`.replace(/<PLAIN>/g,function(){return`[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]`}),a=`"(?:[^"\\\\\\r\\n]|\\\\.)*"|'(?:[^'\\\\\\r\\n]|\\\\.)*'`;function o(e,t){t=(t||``).replace(/m/g,``)+`m`;var n=`([:\\-,[{]\\s*(?:\\s<<prop>>[ \\t]+)?)(?:<<value>>)(?=[ \\t]*(?:$|,|\\]|\\}|(?:[\\r\\n]\\s*)?#))`.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e});return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(`([\\-:]\\s*(?:\\s<<prop>>[ \\t]+)?[|>])[ \\t]*(?:((?:\\r?\\n|\\r)[ \\t]+)\\S[^\\r\\n]*(?:\\2[^\\r\\n]+)*)`.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:`string`},comment:/#.*/,key:{pattern:RegExp(`((?:^|[:\\-,[{\\r\\n?])[ \\t]*(?:<<prop>>[ \\t]+)?)<<key>>(?=\\s*:\\s)`.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return`(?:`+i+`|`+a+`)`})),lookbehind:!0,greedy:!0,alias:`atrule`},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:`important`},datetime:{pattern:o(`\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ \\t]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[ \\t]*(?:Z|[-+]\\d\\d?(?::\\d{2})?))?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?`),lookbehind:!0,alias:`number`},boolean:{pattern:o(`false|true`,`i`),lookbehind:!0,alias:`important`},null:{pattern:o(`null|~`,`i`),lookbehind:!0,alias:`important`},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(`[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)`,`i`),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(globalThis.Prism),(function(e){function t(e){return e.replace(/__/g,function(){return`(?:[\\w-]+|'[^'\\n\\r]*'|"(?:\\\\.|[^\\\\"\\r\\n])*")`})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(t(`(^[\\t ]*\\[\\s*(?:\\[\\s*)?)__(?:\\s*\\.\\s*__)*(?=\\s*\\])`),`m`),lookbehind:!0,greedy:!0,alias:`class-name`},key:{pattern:RegExp(t(`(^[\\t ]*|[{,]\\s*)__(?:\\s*\\.\\s*__)*(?=\\s*=)`),`m`),lookbehind:!0,greedy:!0,alias:`property`},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:`number`},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:`number`}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(globalThis.Prism),(function(e){var t=`(?:[ \\t]+(?![ \\t])(?:<SP_BS>)?|<SP_BS>)`.replace(/<SP_BS>/g,function(){return`\\\\[\\r\\n](?:\\s|\\\\[\\r\\n]|#.*(?!.))*(?![\\s#]|\\\\[\\r\\n])`}),n=`"(?:[^"\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*"|'(?:[^'\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*'`,r=`--[\\w-]+=(?:<STR>|(?!["'])(?:[^\\s\\\\]|\\\\.)+)`.replace(/<STR>/g,function(){return n}),i={pattern:RegExp(n),greedy:!0},a={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function o(e,n){return e=e.replace(/<OPT>/g,function(){return r}).replace(/<SP>/g,function(){return t}),RegExp(e,n)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?
9:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:o(`(^(?:ONBUILD<SP>)?\\w+<SP>)<OPT>(?:<SP><OPT>)*`,`i`),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:o(`(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\\b`,`i`),lookbehind:!0,greedy:!0},{pattern:o(`(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \\t\\\\]+<SP>)AS`,`i`),lookbehind:!0,greedy:!0},{pattern:o(`(^ONBUILD<SP>)\\w+`,`i`),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:a,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:a},e.languages.dockerfile=e.languages.docker})(globalThis.Prism),(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp(`@[\\w-](?:[^;{\\s"']|\\s+(?!\\s)|`+t.source+`)*?(?:;|(?=\\s*\\{))`),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:`selector`},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp(`\\burl\\((?:`+t.source+`|(?:[^\\\\\\r\\n()"']|\\\\[\\s\\S])*)\\)`,`i`),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp(`^`+t.source+`$`),alias:`url`}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+`)*(?=\\s*\\{)`),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined(`style`,`css`),n.tag.addAttribute(`style`,`css`))})(globalThis.Prism),(function(e){var t=e.util.clone(e.languages.javascript),n=`(?:\\s|\\/\\/.*(?!.)|\\/\\*(?:[^*]|\\*(?!\\/))\\*\\/)`,r=`(?:\\{(?:\\{(?:\\{[^{}]*\\}|[^{}])*\\}|[^{}])*\\})`,i=`(?:\\{<S>*\\.{3}(?:[^{}]|<BRACES>)*\\})`;function a(e,t){return e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),RegExp(e,t)}i=a(i).source,e.languages.jsx=e.languages.extend(`markup`,t),e.languages.jsx.tag.pattern=a(`<\\/?(?:[\\w.:-]+(?:<S>+(?:[\\w.:$-]+(?:=(?:"(?:\\\\[\\s\\S]|[^\\\\"])*"|'(?:\\\\[\\s\\S]|[^\\\\'])*'|[^\\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\\/?)?>`),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside[`attr-value`].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside[`class-name`]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore(`inside`,`attr-name`,{spread:{pattern:a(`<SPREAD>`),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore(`inside`,`special-attr`,{script:{pattern:a(`=<BRACES>`),alias:`language-javascript`,inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:`punctuation`},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?typeof e==`string`?e:typeof e.content==`string`?e.content:e.content.map(o).join(``):``},s=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],a=!1;if(typeof i!=`string`&&(i.type===`tag`&&i.content[0]&&i.content[0].type===`tag`?i.content[0].content[0].content===`</`?n.length>0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():i.content[i.content.length-1].content===`/>`||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&i.type===`punctuation`&&i.content===`{`?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&i.type===`punctuation`&&i.content===`}`?n[n.length-1].openedBraces--:a=!0),(a||typeof i==`string`)&&n.length>0&&n[n.length-1].openedBraces===0){var c=o(i);r<t.length-1&&(typeof t[r+1]==`string`||t[r+1].type===`plain-text`)&&(c+=o(t[r+1]),t.splice(r+1,1)),r>0&&(typeof t[r-1]==`string`||t[r-1].type===`plain-text`)&&(c=o(t[r-1])+c,t.splice(r-1,1),r--),t[r]=new e.Token(`plain-text`,c,null,c)}i.content&&typeof i.content!=`string`&&s(i.content)}};e.hooks.add(`after-tokenize`,function(e){(e.language===`jsx`||e.language===`tsx`)&&s(e.tokens)})})(globalThis.Prism),(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend(`jsx`,t),delete e.languages.tsx.parameter,delete e.languages.tsx[`literal-property`];var n=e.languages.tsx.tag;n.pattern=RegExp(`(^|[^\\w$]|(?=<\\/))(?:`+n.pattern.source+`)`,n.pattern.flags),n.lookbehind=!0})(globalThis.Prism),(function(e){function t(e){return e=e.replace(/<inner>/g,function(){return`(?:\\\\.|[^\\\\\\n\\r]|(?:\\n|\\r\\n?)(?![\\r\\n]))`}),RegExp(`((?:^|[^\\\\])(?:\\\\{2})*)(?:`+e+`)`)}var n="(?:\\\\.|``(?:[^`\\r\\n]|`(?!`))+``|`[^`\\r\\n]+`|[^\\\\|\\r\\n`])+",r=`\\|?__(?:\\|__)+\\|?(?:(?:\\
9n|\\r\\n?)|(?![\\s\\S]))`.replace(/__/g,function(){return n}),i=`\\|?[ \\t]*:?-{3,}:?[ \\t]*(?:\\|[ \\t]*:?-{3,}:?[ \\t]*)+\\|?(?:\\n|\\r\\n?)`;e.languages.markdown=e.languages.extend(`markup`,{}),e.languages.insertBefore(`markdown`,`prolog`,{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:[`yaml`,`language-yaml`],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:`punctuation`},table:{pattern:RegExp(`^`+r+i+`(?:`+r+`)*`,`m`),inside:{"table-data-rows":{pattern:RegExp(`^(`+r+i+`)(?:`+r+`)*$`),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp(`^(`+r+`)`+i+`$`),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp(`^`+r+`$`),inside:{"table-header":{pattern:RegExp(n),alias:`important`,inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:`keyword`},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:`important`,inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:`important`,inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:`punctuation`},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:`punctuation`},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:`url`},bold:{pattern:t(`\\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\\b|\\*\\*(?:(?!\\*)<inner>|\\*(?:(?!\\*)<inner>)+\\*)+\\*\\*`),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(`\\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\\b|\\*(?:(?!\\*)<inner>|\\*\\*(?:(?!\\*)<inner>)+\\*\\*)+\\*`),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(`(~~?)(?:(?!~)<inner>)+\\2`),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:[`code`,`keyword`]},url:{pattern:t(`!?\\[(?:(?!\\])<inner>)+\\](?:\\([^\\s)]+(?:[\\t ]+"(?:\\\\.|[^"\\\\])*")?\\)|[ \\t]?\\[(?:(?!\\])<inner>)+\\])`),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),[`url`,`bold`,`italic`,`strike`].forEach(function(t){[`url`,`bold`,`italic`,`strike`,`code-snippet`].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add(`after-tokenize`,function(e){if(e.language!==`markdown`&&e.language!==`md`)return;function t(e){if(!(!e||typeof e==`string`))for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i.type!==`code`){t(i.content);continue}var a=i.content[1],o=i.content[3];if(a&&o&&a.type===`code-language`&&o.type===`code-block`&&typeof a.content==`string`){var s=a.content.replace(/\b#/g,`sharp`).replace(/\b\+\+/g,`pp`);s=(/[a-z][\w-]*/i.exec(s)||[``])[0].toLowerCase();var c=`language-`+s;o.alias?typeof o.alias==`string`?o.alias=[o.alias,c]:o.alias.push(c):o.alias=[c]}}}t(e.tokens)}),e.hooks.add(`wrap`,function(t){if(t.type===`code-block`){for(var n=``,r=0,i=t.classes.length;r<i;r++){var a=t.classes[r],o=/language-(.+)/.exec(a);if(o){n=o[1];break}}var s=e.languages[n];if(s)t.content=e.highlight(c(t.content),s,n);else if(n&&n!==`none`&&e.plugins.autoloader){var l=`md-`+new Date().valueOf()+`-`+Math.floor(Math.random()*0x2386f26fc10000);t.attributes.id=l,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(l);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,`gi`),o={amp:`&`,lt:`<`,gt:`>`,quot:`"`},s=String.fromCodePoint||String.fromCharCode;function c(e){var t=e.replace(a,``);return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return t=t.toLowerCase(),t[0]===`#`?s(t[1]===`x`?parseInt(t.slice(2),16):Number(t.slice(1))):o[t]||e}),t}e.languages.md=e.languages.markdown})(globalThis.Prism);var Dv=globalThis.Prism;Dv.languages.solidity=Dv.languages.extend(`clike`,{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),Dv.languages.insertBefore(`solidity`,`keyword`,{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),Dv.languages.insertBefore(`solidity`,`number`,{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:`number`}}),Dv.languages.sol=Dv.languages.solidity,window._defineProperty=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},window._objectSpread=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:Object(arguments[t]),r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){window._defineProperty(e,t,n[t])})}return e},window._objectWithoutProperties=function(e,t){if(e==null)return{};t=Array.isArray(t)?t:t?[t]:[];for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];t.indexOf(a)>=0||(n[a]=e[a])}if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),s=0;s<o.length;s++){var c=o[s];t.indexOf(c)>=0||Object.prototype.propertyIsEnumerable.call(e,c)&&(n[c]=e[c])}return n},window._defineProperty=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},window._extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},window._classCallCheck=function(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)},window._createClass=function(e,t,n){return t&&Ov(e.prototype,t),n&&Ov(e,n),e};function Ov(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}window._typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},window._toArray=function(e){return Array.isArray(e)?e:Array.from(e)},window._toConsumableArray=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},window._asyncToGenerator=function(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){kv(a,r,i,o,s,`next`,e)}function s(e){kv(a,r,i,o,s,`throw`,e)}o(void 0)})}};function kv(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}var Av=e(u());function jv(e,t){k(2,arguments);var n=O(e),r=j(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function Mv(e){k(1,arguments);var t=O(e);return t.setHours(0,0,0,0),t}function Nv(e,t){k(2,arguments);var n=Mv(e),r=Mv(t);return n.getTime()===r.getTime()}function Pv(e){k(1,arguments);var t=O(e);return t.setHours(23,59,59,999),t}function Fv(e,t){k(2,arguments);var n=O(e),r=O(t);return n.getTime()>r.getTime()}function Iv(e,t){k(2,arguments);var n=O(e),r=O(t);return n.getTime()<r.getTime()}function Lv(e){return k(1,arguments),Nv(e,Date.now())}function Rv(e,t){return k(2,arguments),jv(e,-j(t))}
9var zv=5,Bv=h,Vv=[/websocket/i,/ws[\-_]?proxy/i,/partysocket/i,/chat\.shared-worker/i,/econnreset/i,/err_connection/i,/failed to fetch/i,/load failed/i,/networkerror/i],Hv=[],Uv=!1,Wv=[/^chrome-extension:\/\//i,/^moz-extension:\/\//i,/^safari-web-extension:\/\//i,/^safari-extension:\/\//i],Gv=[/failed to send message to background script/i,/the message port closed before a response was received/i,/cannot redefine property: ethereum/i];function Kv(e,t,n){let r=[e??``,n??``];return!!(Wv.some(e=>r.some(t=>e.test(t)))||t&&Gv.some(e=>e.test(t)))}function qv(e,t){let n=`${e}\n${t??``}`;return Vv.some(e=>e.test(n))}async function Jv(e){if(Uv)return;let t=g();for(;Hv.length>0&&t-Hv[0]>Bv;)Hv.shift();Hv.push(t),!(Hv.length<zv)&&(E.error(`🚨 [GLOBAL ERROR HANDLER] ${zv} errors in ${Bv/1e3}s — suggesting reload`),await oe.confirm({title:`Debug Mode`,message:e,variant:`warning`})?window.location.reload():(Uv=!0,Hv.length=0))}function Yv(){let e=new AbortController;return window.addEventListener(`error`,e=>{let t={type:`javascript-error`,message:e.error?.message||e.message||`Unknown JavaScript error`,filename:e.filename||`Unknown file`,lineno:e.lineno||0,colno:e.colno||0,stack:e.error?.stack||`No stack trace available`,timestamp:_(),url:window.location.href,userAgent:navigator.userAgent};E.error(`🚨 [GLOBAL ERROR HANDLER] JavaScript Error:`,t),!Kv(t.filename,t.message,t.stack)&&(w({message:t.message,kind:`window_error`,stack:t.stack,file:t.filename,line:t.lineno,column:t.colno}),qv(t.message,t.stack)||Jv(`Se han detectado múltiples errores. ¿Deseas recargar la página?`))},{signal:e.signal}),window.addEventListener(`unhandledrejection`,e=>{let t=e.reason,n=t&&(t.message||String(t))||`Unhandled promise rejection`,r=t&&t.stack||void 0,i={type:`unhandled-promise-rejection`,message:n,stack:r||`No stack trace available`,timestamp:_(),url:window.location.href,userAgent:navigator.userAgent};if(E.error(`🚨 [GLOBAL ERROR HANDLER] Unhandled Promise Rejection:`,i),r&&r.includes(`errorReporter`)){e.preventDefault();return}if(Kv(void 0,n,r)){e.preventDefault();return}w({message:n,kind:`unhandled_rejection`,stack:r}),e.preventDefault(),qv(n,r)||Jv(`Se han detectado múltiples errores de conexión. ¿Deseas recargar la página?`)},{signal:e.signal}),E.log(`🔍 [GLOBAL ERROR HANDLER] Global error handlers configured`),e}async function Xv(){T.settings.info(`Starting language initialization`);try{let e=Wi(),t=Ki(e??qi());T.settings.info(e?`Using the language the user picked:`:`Using browser language:`,t),De(t,{reload:!1}),T.settings.info(`Language initialization completed successfully`)}catch(e){T.settings.error(`Error initializing language:`,e),De(`en-US`,{reload:!1}),T.settings.info(`Using default language: en-US`)}}var Q=e(p()),Zv=Xi(`App`,{web:()=>Ji(()=>import(`./web-BoQbxVTz.js`).then(e=>new e.AppWeb),__vite__mapDeps([0,1]))}),Qv=[U.PHANTOM_CONNECT,U.PHANTOM_SIGNMESSAGE,U.SOLFLARE_CONNECT,U.SOLFLARE_SIGNMESSAGE];function $v(e){let t;try{t=new URL(e)}catch{return null}let n=t.protocol===`http:`||t.protocol===`https:`;if(!n&&t.protocol!==`aizzy:`)return null;let r=`/${(n?t.pathname:`${t.host}/${t.pathname}`).split(`/`).filter(Boolean).join(`/`)}`;return Qv.includes(r)?`${r}${t.search}${t.hash}`:null}function ey(){let e=c(),t=(0,Q.useRef)(null),n=(0,Q.useCallback)(n=>{if(!n||n===t.current)return;t.current=n;let r=$v(n);if(!r){T.auth.warn(`[DEEPLINK] Ignoring deep link with no matching route`);return}T.auth.info(`[DEEPLINK] Routing deep link to`,r.split(`?`)[0]),e(r)},[e]);(0,Q.useEffect)(()=>{if(!Zi.isNativePlatform())return;let e=!1,t;return Zv.addListener(`appUrlOpen`,e=>n(e.url)).then(n=>{if(e){n.remove();return}t=()=>{n.remove()}}).catch(e=>T.auth.error(`[DEEPLINK] Failed to register appUrlOpen listener:`,e)),Zv.getLaunchUrl().then(t=>{!e&&t?.url&&n(t.url)}).catch(e=>T.auth.warn(`[DEEPLINK] Could not read launch URL:`,e)),()=>{e=!0,t?.()}},[n]),(0,Q.useEffect)(()=>{let e=da();if(!e)return;let t=e.deepLink;if(!t){T.auth.error(`[DEEPLINK] Tauri shell has no deep-link API — aizzy:// URLs will not route`);return}let r=!1,i,a=e=>{if(!(r||!Array.isArray(e)))for(let t of e)typeof t==`string`&&n(t)};return t.onOpenUrl(e=>a(e)).then(e=>{if(r){e();return}i=e}).catch(e=>T.auth.error(`[DEEPLINK] Failed to register deep-link listener:`,e)),t.getCurrent().then(e=>a(e)).catch(e=>
9T.auth.warn(`[DEEPLINK] Could not read launch URL:`,e)),()=>{r=!0,i?.()}},[n])}var ty=B(`outline`,`adjustments-horizontal`,`AdjustmentsHorizontal`,[[`path`,{d:`M12 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-0`}],[`path`,{d:`M4 6l8 0`,key:`svg-1`}],[`path`,{d:`M16 6l4 0`,key:`svg-2`}],[`path`,{d:`M6 12a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-3`}],[`path`,{d:`M4 12l2 0`,key:`svg-4`}],[`path`,{d:`M10 12l10 0`,key:`svg-5`}],[`path`,{d:`M15 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-6`}],[`path`,{d:`M4 18l11 0`,key:`svg-7`}],[`path`,{d:`M19 18l1 0`,key:`svg-8`}]]),ny=B(`outline`,`alert-circle`,`AlertCircle`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0`,key:`svg-0`}],[`path`,{d:`M12 8v4`,key:`svg-1`}],[`path`,{d:`M12 16h.01`,key:`svg-2`}]]),ry=B(`outline`,`alert-triangle`,`AlertTriangle`,[[`path`,{d:`M12 9v4`,key:`svg-0`}],[`path`,{d:`M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0`,key:`svg-1`}],[`path`,{d:`M12 16h.01`,key:`svg-2`}]]),iy=B(`outline`,`arrow-up-right`,`ArrowUpRight`,[[`path`,{d:`M17 7l-10 10`,key:`svg-0`}],[`path`,{d:`M8 7l9 0l0 9`,key:`svg-1`}]]),ay=B(`outline`,`bolt`,`Bolt`,[[`path`,{d:`M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11`,key:`svg-0`}]]),oy=B(`outline`,`brand-apple`,`BrandApple`,[[`path`,{d:`M8.286 7.008c-3.216 0 -4.286 3.23 -4.286 5.92c0 3.229 2.143 8.072 4.286 8.072c1.165 -.05 1.799 -.538 3.214 -.538c1.406 0 1.607 .538 3.214 .538s4.286 -3.229 4.286 -5.381c-.03 -.011 -2.649 -.434 -2.679 -3.23c-.02 -2.335 2.589 -3.179 2.679 -3.228c-1.096 -1.606 -3.162 -2.113 -3.75 -2.153c-1.535 -.12 -3.032 1.077 -3.75 1.077c-.729 0 -2.036 -1.077 -3.214 -1.077`,key:`svg-0`}],[`path`,{d:`M12 4a2 2 0 0 0 2 -2a2 2 0 0 0 -2 2`,key:`svg-1`}]]),sy=B(`outline`,`browser`,`Browser`,[[`path`,{d:`M4 8h16`,key:`svg-0`}],[`path`,{d:`M4 6a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2l0 -12`,key:`svg-1`}],[`path`,{d:`M8 4v4`,key:`svg-2`}]]),cy=B(`outline`,`bulb-off`,`BulbOff`,[[`path`,{d:`M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7`,key:`svg-0`}],[`path`,{d:`M11.089 7.083a5 5 0 0 1 5.826 5.84m-1.378 2.611a5.012 5.012 0 0 1 -.537 .466a3.5 3.5 0 0 0 -1 3a2 2 0 1 1 -4 0a3.5 3.5 0 0 0 -1 -3a5 5 0 0 1 -.528 -7.544`,key:`svg-1`}],[`path`,{d:`M9.7 17h4.6`,key:`svg-2`}],[`path`,{d:`M3 3l18 18`,key:`svg-3`}]]),ly=B(`outline`,`bulb`,`Bulb`,[[`path`,{d:`M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7`,key:`svg-0`}],[`path`,{d:`M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3`,key:`svg-1`}],[`path`,{d:`M9.7 17l4.6 0`,key:`svg-2`}]]),uy=B(`outline`,`chevron-left`,`ChevronLeft`,[[`path`,{d:`M15 6l-6 6l6 6`,key:`svg-0`}]]),dy=B(`outline`,`chevron-right`,`ChevronRight`,[[`path`,{d:`M9 6l6 6l-6 6`,key:`svg-0`}]]),fy=B(`outline`,`circle-check`,`CircleCheck`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,ke
9y:`svg-0`}],[`path`,{d:`M9 12l2 2l4 -4`,key:`svg-1`}]]),py=B(`outline`,`clock-x`,`ClockX`,[[`path`,{d:`M20.926 13.15a9 9 0 1 0 -7.835 7.784`,key:`svg-0`}],[`path`,{d:`M12 7v5l2 2`,key:`svg-1`}],[`path`,{d:`M22 22l-5 -5`,key:`svg-2`}],[`path`,{d:`M17 22l5 -5`,key:`svg-3`}]]),my=B(`outline`,`device-mobile`,`DeviceMobile`,[[`path`,{d:`M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14`,key:`svg-0`}],[`path`,{d:`M11 4h2`,key:`svg-1`}],[`path`,{d:`M12 17v.01`,key:`svg-2`}]]),hy=B(`outline`,`dots`,`Dots`,[[`path`,{d:`M4 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-1`}],[`path`,{d:`M18 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-2`}]]),gy=B(`outline`,`external-link`,`ExternalLink`,[[`path`,{d:`M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6`,key:`svg-0`}],[`path`,{d:`M11 13l9 -9`,key:`svg-1`}],[`path`,{d:`M15 4h5v5`,key:`svg-2`}]]),_y=B(`outline`,`folder`,`Folder`,[[`path`,{d:`M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2`,key:`svg-0`}]]),vy=B(`outline`,`folders`,`Folders`,[[`path`,{d:`M9 3h3l2 2h5a2 2 0 0 1 2 2v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2`,key:`svg-0`}],[`path`,{d:`M17 16v2a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2h2`,key:`svg-1`}]]),yy=B(`outline`,`grip-vertical`,`GripVertical`,[[`path`,{d:`M8 5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M8 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-1`}],[`path`,{d:`M8 19a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-2`}],[`path`,{d:`M14 5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-3`}],[`path`,{d:`M14 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-4`}],[`path`,{d:`M14 19a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-5`}]]),by=B(`outline`,`login-2`,`Login2`,[[`path`,{d:`M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2`,key:`svg-0`}],[`path`,{d:`M3 12h13l-3 -3`,key:`svg-1`}],[`path`,{d:`M13 15l3 -3`,key:`svg-2`}]]),xy=B(`outline`,`menu-2`,`Menu2`,[[`path`,{d:`M4 6l16 0`,key:`svg-0`}],[`path`,{d:`M4 12l16 0`,key:`svg-1`}],[`path`,{d:`M4 18l16 0`,key:`svg-2`}]]),Sy=B(`outline`,`message-2`,`Message2`,[[`path`,{d:`M8 9h8`,key:`svg-0`}],[`path`,{d:`M8 13h6`,key:`svg-1`}],[`path`,{d:`M9 18h-3a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-3l-3 3l-3 -3`,key:`svg-2`}]]),Cy=B(`outline`,`messages`,`Messages`,[[`path`,{d:`M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10`,key:`svg-0`}],[`path`,{d:`M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2`,key:`svg-1`}]]),wy=B(`outline`,`microphone`,`Microphone`,[[`path`,{d:`M9 5a3 3 0 0 1 3 -3a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3a3 3 0 0 1 -3 -3l0 -5`,key:`svg-0`}],[`path`,{d:`M5 10a7 7 0 0 0 14 0`,key:`svg-1`}],[`path`,{d:`M8 21l8 0`,key:`svg-2`}],[`path`,{d:`M12 17l0 4`,key:`svg-3`}]]),Ty=B(`outline`,`pencil-plus`,`PencilPlus`,[[`path`,{d:`M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4`,key:`svg-0`}],[`path`,{d:`M13.5 6.5l4 4`,key:`svg-1`}],[`path`,{d:`M16 19h6`,key:`svg-2`}],[`path`,{d:`M19 16v6`,key:`svg-3`}]]),Ey=B(`outline`,`photo`,`Photo`,[[`path`,{d:`M15 8h.01`,key:`svg-0`}],[`path`,{d:`M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12`,key:`svg-1`}],[`path`,{d:`M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5`,key:`svg-2`}],[`path`,{d:`M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3`,key:`svg-3`}]]),Dy=B(`outline`,`power`,`Power`,[[`path`,{d:`M7 6a7.75 7.75 0 1 0 10 0`,key:`svg-0`}],[`path`,{d:`M12 4l0 8`,key:`svg-1`}]]),Oy=B(`outline`,`qrcode`,`Qrcode`,[[`path`,{d:`M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-0`}],[`path`,{d:`M7 17l0 .01`,key:`svg-1`}],[`path`,{d:`M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-2`}],[`path`,{d:`M7 7l0 .01`,key:`svg-3`}],[`path`,{d:`M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-4`}],[`path`,{d:`M17 7l0 .01`,key:`svg-5`}],[`path`,{d:`M14 14l3 0`,key:`svg-6`}],[`path`,{d:`M20 14l0 .01`,key:`svg-7`}],[`path`,{d:`M14 14l0 3`,key:`svg-8`}],[`path`,{d:`M14 20l3 0`,key:`svg-9`}],[`path`,{d:`M17 17l3 0`,key:`svg-10`}],[`path`,{d:`M20 17l0 3`,key:`svg-11`}]]),ky=B(`outline`,`refresh`,`Refresh`,[[`path`,{d:`M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4`,key:`svg-0`}],[`path`,{d:`M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4`,key:`svg-1`}]]),Ay=B(`outline`,`robot`,`Robot`,[[`path`,{d:`M6 6a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2l0 -4`,key:`svg-0`}],[`path`,{d:`M12 2v2`,key:`svg-1`}],[`path`,{d:`M9 12v9`,key:`svg-2`}],[`path`,{d:`M15 12v9`,key:`svg-3`}],[`path`,{d:`M5 16l4 -2`,key:`svg-4`}],[`path`,{d:`M15 14l4 2`,key:`svg-5`}],[`path`,{d:`M9 18h6`,key:`svg-6`}],[`path`,{d:`M10 8v.01`,key:`svg-7`}],[`path`,{d:`M14 8v.01`,key:`svg-8`}]]),jy=B(`outline`,`settings`,`Settings`,[[`path`,{d:`M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065`,key:`svg-0`}],[`path`,{d:`M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0`,key:`svg-1`}]]),My=B(`outline`,`shield-x`,`ShieldX`,[[`path`,{d:`M13.252 20.601c-.408 .155 -.826 .288 -1.252 .399a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.19 7.357`,ke
vendor: 42,332 bytes, lines 9-13
9y:`svg-0`}],[`path`,{d:`M22 22l-5 -5`,key:`svg-1`}],[`path`,{d:`M17 22l5 -5`,key:`svg-2`}]]),Ny=B(`outline`,`users`,`Users`,[[`path`,{d:`M5 7a4 4 0 1 0 8 0a4 4 0 1 0 -8 0`,key:`svg-0`}],[`path`,{d:`M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2`,key:`svg-1`}],[`path`,{d:`M16 3.13a4 4 0 0 1 0 7.75`,key:`svg-2`}],[`path`,{d:`M21 21v-2a4 4 0 0 0 -3 -3.85`,key:`svg-3`}]]),Py=B(`outline`,`wifi-off`,`WifiOff`,[[`path`,{d:`M12 18l.01 0`,key:`svg-0`}],[`path`,{d:`M9.172 15.172a4 4 0 0 1 5.656 0`,key:`svg-1`}],[`path`,{d:`M6.343 12.343a7.963 7.963 0 0 1 3.864 -2.14m4.163 .155a7.965 7.965 0 0 1 3.287 2`,key:`svg-2`}],[`path`,{d:`M3.515 9.515a12 12 0 0 1 3.544 -2.455m3.101 -.92a12 12 0 0 1 10.325 3.374`,key:`svg-3`}],[`path`,{d:`M3 3l18 18`,key:`svg-4`}]]),Fy=e(m());function Iy(){var e=[...arguments];return(0,Q.useMemo)(()=>t=>{e.forEach(e=>e(t))},e)}var Ly=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Ry(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function zy(e){return`nodeType`in e}function By(e){return e?Ry(e)?e:zy(e)?e.ownerDocument?.defaultView??window:window:window}function Vy(e){let{Document:t}=By(e);return e instanceof t}function Hy(e){return!Ry(e)&&e instanceof By(e).HTMLElement}function Uy(e){return e instanceof By(e).SVGElement}function Wy(e){return e?Ry(e)?e.document:zy(e)?Vy(e)?e:Hy(e)||Uy(e)?e.ownerDocument:document:document:document}var Gy=Ly?Q.useLayoutEffect:Q.useEffect;function Ky(e){let t=(0,Q.useRef)(e);return Gy(()=>{t.current=e}),(0,Q.useCallback)(function(){var e=[...arguments];return t.current==null?void 0:t.current(...e)},[])}function qy(){let e=(0,Q.useRef)(null);return[(0,Q.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,Q.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function Jy(e,t){t===void 0&&(t=[e]);let n=(0,Q.useRef)(e);return Gy(()=>{n.current!==e&&(n.current=e)},t),n}function Yy(e,t){let n=(0,Q.useRef)();return(0,Q.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function Xy(e){let t=Ky(e),n=(0,Q.useRef)(null);return[n,(0,Q.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function Zy(e){let t=(0,Q.useRef)();return(0,Q.useEffect)(()=>{t.current=e},[e]),t.current}var Qy={};function $y(e,t){return(0,Q.useMemo)(()=>{if(t)return t;let n=Qy[e]==null?0:Qy[e]+1;return Qy[e]=n,e+`-`+n},[e,t])}function eb(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var tb=eb(1),nb=eb(-1);function rb(e){return`clientX`in e&&`clientY`in e}function ib(e){if(!e)return!1;let{KeyboardEvent:t}=By(e.target);return t&&e instanceof t}function ab(e){if(!e)return!1;let{TouchEvent:t}=By(e.target);return t&&e instanceof t}function ob(e){if(ab(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return rb(e)?{x:e.clientX,y:e.clientY}:null}var sb=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[sb.Translate.toString(e),sb.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),cb=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function lb(e){return e.matches(cb)?e:e.querySelector(cb)}var ub={display:`none`};function db(e){let{id:t,value:n}=e;return Q.createElement(`div`,{id:t,style:ub},n)}function fb(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return Q.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function pb(){let[e,t]=(0,Q.useState)(``);return{announce:(0,Q.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var mb=(0,Q.createContext)(null);function hb(e){let t=(0,Q.useContext)(mb);(0,Q.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function gb(){let[e]=(0,Q.useState)(()=>new Set),t=(0,Q.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,Q.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var _b={draggable:`
10    To pick up a draggable item, press the space bar.
11    While dragging, use the arrow keys to move the item.
12    Press space again to drop the item in its new position, or press escape to cancel.
13  `},vb={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function yb(e){let{announcements:t=vb,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=_b}=e,{announce:a,announcement:o}=pb(),s=$y(`DndLiveRegion`),[c,l]=(0,Q.useState)(!1);if((0,Q.useEffect)(()=>{l(!0)},[]),hb((0,Q.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=Q.createElement(Q.Fragment,null,Q.createElement(db,{id:r,value:i.draggable}),Q.createElement(fb,{id:s,announcement:o}));return n?(0,Fy.createPortal)(u,n):u}var bb;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(bb||={});function xb(){}function Sb(e,t){return(0,Q.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function Cb(){var e=[...arguments];return(0,Q.useMemo)(()=>[...e].filter(e=>e!=null),[...e])}var wb=Object.freeze({x:0,y:0});function Tb(e,t){return Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2)}function Eb(e,t){let n=ob(e);if(!n)return`0 0`;let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+`% `+r.y+`%`}function Db(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function Ob(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function kb(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function Ab(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function jb(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}var Mb=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=jb(t,t.left,t.top),a=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=Tb(jb(r),i);a.push({id:t,data:{droppableContainer:e,value:n}})}}return a.sort(Db)},Nb=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=kb(t),a=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=kb(r),o=i.reduce((e,t,r)=>e+Tb(n[r],t),0),s=Number((o/4).toFixed(4));a.push({id:t,data:{droppableContainer:e,value:s}})}}return a.sort(Db)};function Pb(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var Fb=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=Pb(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(Ob)};function Ib(e,t){let{top:n,left:r,bottom:i,right:a}=t;return n<=e.y&&e.y<=i&&r<=e.x&&e.x<=a}var Lb=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:r}=e;if(!r)return[];let i=[];for(let e of t){let{id:t}=e,a=n.get(t);if(a&&Ib(r,a)){let n=kb(a).reduce((e,t)=>e+Tb(r,t),0),o=Number((n/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:o}})}}return i.sort(Db)};function Rb(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function zb(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:wb}function Bb(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var Vb=Bb(1);function Hb(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Ub(e,t,n){let r=Hb(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var Wb={ignoreTransform:!1};function Gb(e,t){t===void 0&&(t=Wb);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=By(e).getComputedStyle(e);t&&(n=Ub(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function Kb(e){return Gb(e,{ignoreTransform:!0})}function qb(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Jb(e,t){return t===void 0&&(t=By(e).getComputedStyle(e)),t.position===`fixed`}function Yb(e,t){t===void 0&&(t=By(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function Xb(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(Vy(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!Hy(i)||Uy(i)||n.includes(i))return n;let a=By(e).getComputedStyle(i);return i!==e&&Yb(i,a)&&n.push(i),Jb(i,a)?n:r(i.parentNode)}return e?r(e):n}function Zb(e){let[t]=Xb(e,1);return t??null}function Qb(e){return!Ly||!e?null:Ry(e)?e:zy(e)?Vy(e)||e===Wy(e).scrollingElement?window:Hy(e)?e:null:null}function $b(e){return Ry(e)?e.scrollX:e.scrollLeft}function ex(e){return Ry(e)?e.scrollY:e.scrollTop}function tx(e){return{x:$b(e),y:ex(e)}}var nx;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(nx||={});function rx(e){return!Ly||!e?!1:e===document.scrollingElement}function ix(e){let t={x:0,y:0},n=rx(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var ax={x:.2,y:.2};function ox(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=ax);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=ix(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=nx.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=nx.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=nx.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=nx.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function sx(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function cx(e){return e.reduce((e,t)=>tb(e,tx(t)),wb)}function lx(e){return e.reduce((e,t)=>e+$b(t),0)}function ux(e){return e.reduce((e,t)=>e+ex(t),0)}function dx(e,t){if(t===void 0&&(t=Gb),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);Zb(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var fx=[[`x`,[`left`,`right`],lx],[`y`,[`top`,`bottom`],ux]],px=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=Xb(t),r=cx(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of fx)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},mx=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function hx(e){let{EventTarget:t}=By(e);return e instanceof t?e:Wy(e)}function gx(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var _x;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(_x||={});function vx(e){e.preventDefault()}function yx(e){e.stopPropagation()}var bx;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(bx||={});var xx={start:[bx.Space,bx.Enter],cancel:[bx.Esc],end:[bx.Space,bx.Enter,bx.Tab]},Sx=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case bx.Right:return{...n,x:n.x+25};case bx.Left:return{...n,x:n.x-25};case bx.Down:return{...n,y:n.y+25};case bx.Up:return{...n,y:n.y-25}}},Cx=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new mx(Wy(t)),this.windowListeners=new mx(By(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(_x.Resize,this.handleCancel),this.windowListeners.add(_x.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(_x.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&dx(n),t(wb)}handleKeyDown(e){if(ib(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=xx,coordinateGetter:a=Sx,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:wb;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=nb(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=ix(n),p=sx(n),m={x:Math.min(i===bx.Right?p.right-p.width/2:p.right,Math.max(i===bx.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===bx.Down?p.bottom-p.height/2:p.bottom,Math.max(i===bx.Down?p.top:p.top+p.height/2,u.y))},h=i===bx.Right&&!s||i===bx.Left&&!c,g=i===bx.Down&&!l||i===bx.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===bx.Right&&e<=d.x||i===bx.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}r.x=a?n.scrollLeft-e:i===bx.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===bx.Down&&e<=d.y||i===bx.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}r.y=a?n.scrollTop-e:i===bx.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,tb(nb(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};Cx.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=xx,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function wx(e){return!!(e&&`distance`in e)}function Tx(e){return!!(e&&`delay`in e)}var Ex=class{constructor(e,t,n){n===void 0&&(n=hx(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=Wy(i),this.documentListeners=new mx(this.document),this.listeners=new mx(n),this.windowListeners=new mx(By(i)),this.initialCoordinates=ob(r)??wb,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(_x.Resize,this.handleCancel),this.windowListeners.add(_x.DragStart,vx),this.windowListeners.add(_x.VisibilityChange,this.handleCancel),this.windowListeners.add(_x.ContextMenu,vx),this.documentListeners.add(_x.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Tx(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(wx(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(_x.Click,yx,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(_x.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=ob(e)??wb,s=nb(n,o);if(!t&&a){if(wx(a)){if(a.tolerance!=null&&gx(s,a.tolerance))return this.handleCancel();if(gx(s,a.distance))return this.handleStart()}if(Tx(a)&&gx(s,a.tolerance))return this.handleCancel();this.handlePending(a,s);return}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===bx.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},Dx={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},Ox=class extends Ex{constructor(e){let{event:t}=e,n=Wy(t.target);super(e,Dx,n)}};Ox.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var kx={move:{name:`mousemove`},end:{name:`mouseup`}},Ax;(function(e){e[e.RightClick=2]=`RightClick`})(Ax||={});var jx=class extends Ex{constructor(e){super(e,kx,Wy(e.event.target))}};jx.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==Ax.RightClick&&(r?.({event:n}),!0)}}];var Mx={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},Nx=class extends Ex{constructor(e){super(e,Mx)}static setup(){return window.addEventListener(Mx.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Mx.move.name,e)};function e(){}}};Nx.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Px;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Px||={});var Fx;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(Fx||={});function Ix(e){let{acceleration:t,activator:n=Px.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=Fx.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Rx({delta:d,disabled:!a}),[m,h]=qy(),g=(0,Q.useRef)({x:0,y:0}),_=(0,Q.useRef)({x:0,y:0}),v=(0,Q.useMemo)(()=>{switch(n){case Px.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Px.DraggableRect:return i}},[n,i,c]),y=(0,Q.useRef)(null),b=(0,Q.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,Q.useMemo)(()=>s===Fx.TreeOrder?[...l].reverse():l,[s,l]);(0,Q.useEffect)(()=>{if(!a||!l.length||!v){h();return}for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=ox(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var Lx={x:{[nx.Backward]:!1,[nx.Forward]:!1},y:{[nx.Backward]:!1,[nx.Forward]:!1}};function Rx(e){let{delta:t,disabled:n}=e,r=Zy(t);return Yy(e=>{if(n||!r||!e)return Lx;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[nx.Backward]:e.x[nx.Backward]||i.x===-1,[nx.Forward]:e.x[nx.Forward]||i.x===1},y:{[nx.Backward]:e.y[nx.Backward]||i.y===-1,[nx.Forward]:e.y[nx.Forward]||i.y===1}}},[n,t,r])}function zx(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return Yy(e=>t==null?null:r??e??null,[r,t])}function Bx(e,t){return(0,Q.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Vx;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Vx||={});var Hx;(function(e){e.Optimized=`optimized`})(Hx||={});var Ux=new Map;function Wx(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,Q.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,Q.useRef)(e),d=g(),f=Jy(d),p=(0,Q.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,Q.useRef)(null),h=Yy(t=>{if(d&&!n)return Ux;if(!t||t===Ux||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new px(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,Q.useEffect)(()=>{u.current=e},[e]),(0,Q.useEffect)(()=>{d||p()},[n,d]),(0,Q.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,Q.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Vx.Always:return!1;case Vx.BeforeDragging:return n;default:return!n}}}function Gx(e,t){return Yy(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function Kx(e,t){return Gx(e,t)}function qx(e){let{callback:t,disabled:n}=e,r=Ky(t),i=(0,Q.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,Q.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Jx(e){let{callback:t,disabled:n}=e,r=Ky(t),i=(0,Q.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,Q.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Yx(e){return new px(Gb(e),e)}function Xx(e,t,n){t===void 0&&(t=Yx);let[r,i]=(0,Q.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=qx({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=Jx({callback:a});return Gy(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function Zx(e){return zb(e,Gx(e))}var Qx=[];function $x(e){let t=(0,Q.useRef)(e),n=Yy(n=>e?n&&n!==Qx&&e&&t.current&&e.parentNode===t.current.parentNode?n:Xb(e):Qx,[e]);return(0,Q.useEffect)(()=>{t.current=e},[e]),n}function eS(e){let[t,n]=(0,Q.useState)(null),r=(0,Q.useRef)(e),i=(0,Q.useCallback)(e=>{let t=Qb(e.target);t&&n(e=>e?(e.set(t,tx(t)),new Map(e)):null)},[]);return(0,Q.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=Qb(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,tx(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{Qb(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,Q.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>tb(e,t),wb):cx(e):wb,[e,t])}function tS(e,t){t===void 0&&(t=[]);let n=(0,Q.useRef)(null);return(0,Q.useEffect)(()=>{n.current=null},t),(0,Q.useEffect)(()=>{let t=e!==wb;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?nb(e,n.current):wb}function nS(e){(0,Q.useEffect)(()=>{if(!Ly)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function rS(e,t){return(0,Q.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function iS(e){return(0,Q.useMemo)(()=>e?qb(e):null,[e])}var aS=[];function oS(e,t){t===void 0&&(t=Gb);let[n]=e,r=iS(n?By(n):null),[i,a]=(0,Q.useState)(aS);function o(){a(()=>e.length?e.map(e=>rx(e)?r:new px(t(e),e)):aS)}let s=Jx({callback:o});return Gy(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function sS(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return Hy(t)?t:e}function cS(e){let{measure:t}=e,[n,r]=(0,Q.useState)(null),i=Jx({callback:(0,Q.useCallback)(e=>{for(let{target:n}of e)if(Hy(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=Xy((0,Q.useCallback)(e=>{let n=sS(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,Q.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var lS=[{sensor:Ox,options:{}},{sensor:Cx,options:{}}],uS={current:{}},dS={draggable:{measure:Kb},droppable:{measure:Kb,strategy:Vx.WhileDragging,frequency:Hx.Optimized},dragOverlay:{measure:Gb}},fS=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},pS={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new fS,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:xb},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:dS,measureDroppableContainers:xb,windowRect:null,measuringScheduled:!1},mS={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:xb,draggableNodes:new Map,over:null,measureDroppableContainers:xb},hS=(0,Q.createContext)(mS),gS=(0,Q.createContext)(pS);function _S(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new fS}}}function vS(e,t){switch(t.type){case bb.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case bb.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case bb.DragEnd:case bb.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case bb.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new fS(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case bb.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new fS(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case bb.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new fS(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function yS(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,Q.useContext)(hS),a=Zy(r),o=Zy(n?.id);return(0,Q.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!ib(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=lb(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function bS(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function xS(e){return(0,Q.useMemo)(()=>({draggable:{...dS.draggable,...e?.draggable},droppable:{...dS.droppable,...e?.droppable},dragOverlay:{...dS.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function SS(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,Q.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;Gy(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=zb(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=Zb(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var CS=(0,Q.createContext)({...wb,scaleX:1,scaleY:1}),wS;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(wS||={});var TS=(0,Q.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=lS,collisionDetection:o=Fb,measuring:s,modifiers:c,...l}=e,[u,d]=(0,Q.useReducer)(vS,void 0,_S),[f,p]=gb(),[m,h]=(0,Q.useState)(wS.Uninitialized),g=m===wS.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,Q.useRef)({initial:null,translated:null}),C=(0,Q.useMemo)(()=>_==null?null:{id:_,data:x?.data??uS,rect:S},[_,x]),w=(0,Q.useRef)(null),[T,E]=(0,Q.useState)(null),[D,O]=(0,Q.useState)(null),k=Jy(l,Object.values(l)),A=$y(`DndDescribedBy`,t),j=(0,Q.useMemo)(()=>b.getEnabled(),[b]),M=xS(s),{droppableRects:N,measureDroppableContainers:P,measuringScheduled:F}=Wx(j,{dragging:g,dependencies:[y.x,y.y],config:M.droppable}),I=zx(v,_),L=(0,Q.useMemo)(()=>D?ob(D):null,[D]),ee=Ee(),te=Kx(I,M.draggable.measure);SS({activeNode:_==null?null:v.get(_),config:ee.layoutShiftCompensation,initialRect:te,measure:M.draggable.measure});let ne=Xx(I,M.draggable.measure,te),re=Xx(I?I.parentElement:null),ie=(0,Q.useRef)({activatorEvent:null,active:null,activeNode:I,collisionRect:null,collisions:null,droppableRects:N,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ae=b.getNodeFor(ie.current.over?.id),oe=cS({measure:M.dragOverlay.measure}),R=oe.nodeRef.current??I,se=g?oe.rect??ne:null,z=!!(oe.nodeRef.current&&oe.rect),ce=Zx(z?null:ne),le=iS(R?By(R):null),ue=$x(g?ae??I:null),de=oS(ue),fe=bS(c,{transform:{x:y.x-ce.x,y:y.y-ce.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:ne,containerNodeRect:re,draggingNodeRect:se,over:ie.current.over,overlayNodeRect:oe.rect,scrollableAncestors:ue,scrollableAncestorRects:de,windowRect:le}),pe=L?tb(L,y):null,B=eS(ue),V=tS(B),me=tS(B,[ne]),he=tb(fe,V),ge=se?Vb(se,fe):null,_e=C&&ge?o({active:C,collisionRect:ge,droppableRects:N,droppableContainers:j,pointerCoordinates:pe}):null,ve=Ab(_e,`id`),[ye,be]=(0,Q.useState)(null),H=Rb(z?fe:tb(fe,me),ye?.rect??null,ne),xe=(0,Q.useRef)(null),Se=(0,Q.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:ie,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=k.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=k.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=k.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,Fy.unstable_batchedUpdates)(()=>{r?.(i),h(wS.Initializing),d({type:bb.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(xe.current),O(a)})},onMove(e){d({type:bb.DragMove,coordinates:e})},onEnd:s(bb.DragEnd),onCancel:s(bb.DragCancel)});xe.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ie.current,o=null;if(t&&i){let{cancelDrop:s}=k.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===bb.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=bb.DragCancel)}w.current=null,(0,Fy.unstable_batchedUpdates)(()=>{d({type:e}),h(wS.Uninitialized),be(null),E(null),O(null),xe.current=null;let t=e===bb.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=k.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Ce=Bx(a,(0,Q.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,Se(n,t))},[v,Se]));nS(a),Gy(()=>{ne&&m===wS.Initializing&&h(wS.Initialized)},[ne,m]),(0,Q.useEffect)(()=>{let{onDragMove:e}=k.current,{active:t,activatorEvent:n,collisions:r,over:i}=ie.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:he.x,y:he.y},over:i};(0,Fy.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[he.x,he.y]),(0,Q.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ie.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=k.current,o=r.get(ve),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,Fy.unstable_batchedUpdates)(()=>{be(s),a?.(c),f({type:`onDragOver`,event:c})})},[ve]),Gy(()=>{ie.current={activatorEvent:D,active:C,activeNode:I,collisionRect:ge,collisions:_e,droppableRects:N,draggableNodes:v,draggingNode:R,draggingNodeRect:se,droppableContainers:b,over:ye,scrollableAncestors:ue,scrollAdjustedTranslate:he},S.current={initial:se,translated:ge}},[C,I,_e,ge,v,R,se,N,b,ye,ue,he]),Ix({...ee,delta:y,draggingRect:ge,pointerCoordinates:pe,scrollableAncestors:ue,scrollableAncestorRects:de});let we=(0,Q.useMemo)(()=>({active:C,activeNode:I,activeNodeRect:ne,activatorEvent:D,collisions:_e,containerNodeRect:re,dragOverlay:oe,draggableNodes:v,droppableContainers:b,droppableRects:N,over:ye,measureDroppableContainers:P,scrollableAncestors:ue,scrollableAncestorRects:de,measuringConfiguration:M,measuringScheduled:F,windowRect:le}),[C,I,ne,D,_e,re,oe,v,b,N,ye,P,ue,de,M,F,le]),Te=(0,Q.useMemo)(()=>({activatorEvent:D,activators:Ce,active:C,activeNodeRect:ne,ariaDescribedById:{draggable:A},dispatch:d,draggableNodes:v,over:ye,measureDroppableContainers:P}),[D,Ce,C,ne,d,A,v,ye,P]);return Q.createElement(mb.Provider,{value:p},Q.createElement(hS.Provider,{value:Te},Q.createElement(gS.Provider,{value:we},Q.createElement(CS.Provider,{value:H},i)),Q.createElement(yS,{disabled:n?.restoreFocus===!1})),Q.createElement(yb,{...n,hiddenTextDescribedById:A}));function Ee(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),ES=(0,Q.createContext)(null),DS=`button`,OS=`Draggable`;function kS(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=$y(OS),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,Q.useContext)(hS),{role:p=DS,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,Q.useContext)(g?CS:ES),[v,y]=Xy(),[b,x]=Xy(),S=rS(o,t),C=Jy(n);return Gy(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,Q.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===DS?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}function AS(){return(0,Q.useContext)(gS)}var jS=`Droppable`,MS={timeout:25};function NS(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=$y(jS),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,Q.useContext)(hS),u=(0,Q.useRef)({disabled:n}),d=(0,Q.useRef)(!1),f=(0,Q.useRef)(null),p=(0,Q.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...MS,...i},_=Jy(h??r),v=Jx({callback:(0,Q.useCallback)(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)},[g]),disabled:m||!o}),[y,b]=Xy((0,Q.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=Jy(t);return(0,Q.useEffect)(()=>{!v||!y.current||(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,Q.useEffect)(()=>(s({type:bb.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:bb.UnregisterDroppable,key:a,id:r})),[r]),(0,Q.useEffect)(()=>{n!==u.current.disabled&&(s({type:bb.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function PS(e){let{animation:t,children:n}=e,[r,i]=(0,Q.useState)(null),[a,o]=(0,Q.useState)(null),s=Zy(n);return!n&&!r&&s&&i(s),Gy(()=>{if(!a)return;let e=r?.key,n=r?.props.id;if(e==null||n==null){i(null);return}Promise.resolve(t(n,a)).then(()=>{i(null)})},[t,r,a]),Q.createElement(Q.Fragment,null,n,r?(0,Q.cloneElement)(r,{ref:o}):null)}var FS={x:0,y:0,scaleX:1,scaleY:1};function IS(e){let{children:t}=e;return Q.createElement(hS.Provider,{value:mS},Q.createElement(CS.Provider,{value:FS},t))}var LS={position:`fixed`,touchAction:`none`},RS=e=>ib(e)?`transform 250ms ease`:void 0,zS=(0,Q.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:a,className:o,rect:s,style:c,transform:l,transition:u=RS}=e;if(!s)return null;let d=i?l:{...l,scaleX:1,scaleY:1},f={...LS,width:s.width,height:s.height,top:s.top,left:s.left,transform:sb.Transform.toString(d),transformOrigin:i&&r?Eb(r,s):void 0,transition:typeof u==`function`?u(r):u,...c};return Q.createElement(n,{className:o,style:f,ref:t},a)}),BS={duration:250,easing:`ease`,keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:sb.Transform.toString(t)},{transform:sb.Transform.toString(n)}]},sideEffects:(e=>t=>{let{active:n,dragOverlay:r}=t,i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(let[e,t]of Object.entries(a.active))t!==void 0&&(i[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(a!=null&&a.dragOverlay)for(let[e,t]of Object.entries(a.dragOverlay))t!==void 0&&r.node.style.setProperty(e,t);return o!=null&&o.active&&n.node.classList.add(o.active),o!=null&&o.dragOverlay&&r.node.classList.add(o.dragOverlay),function(){for(let[e,t]of Object.entries(i))n.node.style.setProperty(e,t);o!=null&&o.active&&n.node.classList.remove(o.active)}})({styles:{active:{opacity:`0`}}})};function VS(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return Ky((e,a)=>{if(t===null)return;let o=n.get(e);if(!o)return;let s=o.node.current;if(!s)return;let c=sS(a);if(!c)return;let{transform:l}=By(a).getComputedStyle(a),u=Hb(l);if(!u)return;let d=typeof t==`function`?t:HS(t);return dx(s,i.draggable.measure),d({active:{id:e,data:o.data,node:s,rect:i.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:i,transform:u})})}function HS(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...BS,...e};return e=>{let{active:a,dragOverlay:o,transform:s,...c}=e;if(!t)return;let l={x:o.rect.left-a.rect.left,y:o.rect.top-a.rect.top},u={scaleX:s.scaleX===1?1:a.rect.width*s.scaleX/o.rect.width,scaleY:s.scaleY===1?1:a.rect.height*s.scaleY/o.rect.height},d={x:s.x-l.x,y:s.y-l.y,...u},f=i({...c,active:a,dragOverlay:o,transform:{initial:s,final:d}}),[p]=f,m=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(m))return;let h=r?.({active:a,dragOverlay:o,...c}),g=o.node.animate(f,{duration:t,easing:n,fill:`forwards`});return new Promise(e=>{g.onfinish=()=>{h?.(),e()}})}}var US=0;function WS(e){return(0,Q.useMemo)(()=>{if(e!=null)return US++,US},[e])}var GS=Q.memo(e=>
13{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:a,modifiers:o,wrapperElement:s=`div`,className:c,zIndex:l=999}=e,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggableNodes:m,droppableContainers:h,dragOverlay:g,over:_,measuringConfiguration:v,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:x}=AS(),S=(0,Q.useContext)(CS),C=WS(d?.id),w=bS(o,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggingNodeRect:g.rect,over:_,overlayNodeRect:g.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:x}),T=Gx(f),E=VS({config:r,draggableNodes:m,droppableContainers:h,measuringConfiguration:v}),D=T?g.setRef:void 0;return Q.createElement(IS,null,Q.createElement(PS,{animation:E},d&&C?Q.createElement(zS,{key:C,id:d.id,ref:D,as:s,activatorEvent:u,adjustScale:t,className:c,transition:a,rect:T,style:{zIndex:l,...i},transform:w},n):null))}),KS=Oa(e=>({byChannel:{},loaded:!1,refresh:async()=>{let t=await ja.listAll(),n={};for(let e of t)e.folderId&&(n[e.channelId]=e.folderId);e({byChannel:n,loaded:!0})}})),qS=()=>{let{subscription:e}=Da();return{subscription:e,formatSubscriptionPeriod:()=>{if(!e)return``;let t=new Date(e.current_period_end),n=new Date(e.current_period_start);return(t.getTime()-n.getTime())/864e5>30?bt():gi()}}},$=f();function JS({large:e=!1,showCreditsExplanation:t=!1}){let{subscription:n,formatSubscriptionPeriod:r}=qS();return(0,$.jsxs)(R,{children:[(0,$.jsx)(Se,{text:`${xi()} ${A(n?.current_period_end??``)}`,children:(0,$.jsxs)(`strong`,{className:`${e?`text-2xl sm:text-3xl`:`small`} m-0 p-0 break-words user-subscription-strong`,children:[ze(),` `,r()]})}),t&&(0,$.jsxs)(xe,{className:`w-full credits-explanation user-subscription-explanation ${e?`is-large`:``}`,children:[(0,$.jsx)(`p`,{className:`${e?`text-lg`:`small`} p-0 user-subscription-text`,children:`${xi()} ${A(n?.current_period_end??``)}`}),(0,$.jsx)(`p`,{className:`mt-4`,children:Wt()}),(0,$.jsx)(`h5`,{className:`mt-3 user-subscription-heading`,children:Ke()}),(0,$.jsx)(`p`,{children:Pe()}),(0,$.jsx)(`pre`,{className:`max-w-full overflow-x-auto break-words user-subscription-pre`,children:yr()}),(0,$.jsx)(`p`,{children:Tt()}),(0,$.jsx)(`pre`,{className:`max-w-full overflow-x-auto break-words user-subscription-pre`,children:Ue()}),(0,$.jsx)(`p`,{className:`user-subscription-debit`,children:_r()}),(0,$.jsx)(`p`,{children:Bt()})]})]})}var YS=[{name:`twitter`,link:`https://x.com/aizzyai`,image:`data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1865_1459)'%3e%3cpath%20d='M5%204.5H8L15%2015.5H12L5%204.5Z'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.1175%2010.9707L5%2015.5001'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.0003%204.5L10.8828%209.02938'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1865_1459'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(2%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e`},{name:`instagram`,link:`https://www.instagram.com/aizzy.ai`,image:`data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1865_1453)'%3e%3cpath%20d='M10%2012.5C11.3807%2012.5%2012.5%2011.3807%2012.5%2010C12.5%208.61929%2011.3807%207.5%2010%207.5C8.61929%207.5%207.5%208.61929%207.5%2010C7.5%2011.3807%208.61929%2012.5%2010%2012.5Z'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-miterlimit='10'/%3e%3cpath%20d='M13%204H7C5.34315%204%204%205.34315%204%207V13C4%2014.6569%205.34315%2016%207%2016H13C14.6569%2016%2016%2014.6569%2016%2013V7C16%205.34315%2014.6569%204%2013%204Z'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.25%207.5C13.6642%207.5%2014%207.16421%2014%206.75C14%206.33579%2013.6642%206%2013.25%206C12.8358%206%2012.5%206.33579%2012.5%206.75C12.5%207.16421%2012.8358%207.5%2013.25%207.5Z'%20fill='%23667085'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1865_1453'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(2%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e`},{name:`youtube`,link:`https://www.youtube.com/@AizzyAi`,image:`data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1865_1440)'%3e%3cpath%20d='M11.25%209L7.875%206.75V11.25L11.25%209Z'%2
130stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.6875%209.00007C1.6875%2011.1031%201.90336%2012.3364%202.06789%2012.9706C2.1114%2013.1431%202.1952%2013.3029%202.31242%2013.4367C2.42963%2013.5705%202.57692%2013.6747%202.74219%2013.7405C5.09906%2014.6497%209%2014.6251%209%2014.6251C9%2014.6251%2012.9009%2014.6497%2015.2578%2013.7405C15.4236%2013.675%2015.5715%2013.5711%2015.6892%2013.4372C15.8069%2013.3033%2015.8911%2013.1434%2015.9349%2012.9706C16.0995%2012.3378%2016.3153%2011.1031%2016.3153%209.00007C16.3153%206.89702%2016.0995%205.66374%2015.9349%205.02952C15.8916%204.85607%2015.8076%204.69545%2015.6899%204.56094C15.5721%204.42644%2015.424%204.32193%2015.2578%204.25608C12.9009%203.35046%209%203.37507%209%203.37507C9%203.37507%205.09906%203.35046%202.74219%204.2596C2.57599%204.32545%202.42788%204.42995%202.31013%204.56446C2.19238%204.69896%202.10837%204.85959%202.06508%205.03303C1.90336%205.66303%201.6875%206.89702%201.6875%209.00007Z'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1865_1440'%3e%3crect%20width='18'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e`},{name:`discord`,link:`https://discord.com/invite/YCwY4GtdWv`,image:`data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1865_1444)'%3e%3cpath%20d='M7.75%2011.5C8.16421%2011.5%208.5%2011.1642%208.5%2010.75C8.5%2010.3358%208.16421%2010%207.75%2010C7.33579%2010%207%2010.3358%207%2010.75C7%2011.1642%207.33579%2011.5%207.75%2011.5Z'%20fill='%23667085'/%3e%3cpath%20d='M12.25%2011.5C12.6642%2011.5%2013%2011.1642%2013%2010.75C13%2010.3358%2012.6642%2010%2012.25%2010C11.8358%2010%2011.5%2010.3358%2011.5%2010.75C11.5%2011.1642%2011.8358%2011.5%2012.25%2011.5Z'%20fill='%23667085'/%3e%3cpath%20d='M11.59%206.6061L11.9025%205.37923C11.9337%205.25579%2012.0103%205.14864%2012.117%205.07914C12.2236%205.00964%2012.3526%204.9829%2012.4781%205.00423L14.7306%205.37548C14.8279%205.39127%2014.9185%205.4352%2014.9911%205.50183C15.0637%205.56847%2015.1153%205.6549%2015.1394%205.75048L16.985%2013.0236C17.0132%2013.1379%2017.0001%2013.2586%2016.9481%2013.3642C16.8961%2013.4698%2016.8084%2013.5537%2016.7006%2013.6011L12.5131%2015.4574C12.4496%2015.4862%2012.3808%2015.5017%2012.311%2015.5028C12.2412%2015.504%2012.172%2015.4908%2012.1075%2015.4641C12.0431%2015.4374%2011.9848%2015.3977%2011.9363%2015.3475C11.8878%2015.2973%2011.8501%2015.2377%2011.8256%2015.1724L11.1875%2013.4417'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.40954%206.6061L8.09704%205.37923C8.06583%205.25579%207.98926%205.14864%207.88258%205.07914C7.77589%205.00964%207.64694%204.9829%207.52142%205.00423L5.26892%205.37548C5.17162%205.39127%205.08108%205.4352%205.00845%205.50183C4.93581%205.56847%204.88427%205.6549%204.86017%205.75048L3.01454%2013.0224C2.98635%2013.1367%202.99941%2013.2573%203.05144%2013.363C3.10346%2013.4686%203.1911%2013.5525%203.29892%2013.5999L7.48642%2015.4561C7.54996%2015.4849%207.61875%2015.5004%207.68853%2015.5016C7.7583%2015.5027%207.82757%2015.4895%207.89203%2015.4628C7.95649%2015.4361%208.01478%2015.3964%208.06327%2015.3462C8.11176%2015.2961%208.14942%2015.2364%208.17392%2015.1711L8.81204%2013.4417'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%206.89451C7.97752%206.62776%208.98675%206.49509%2010%206.50014C11.0132%206.49509%2012.0225%206.62776%2013%206.89451'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13%2013.1055C12.0225%2013.3722%2011.0132%2013.5049%2010%2013.4998C8.98675%2013.5049%207.97752%2013.3722%207%2013.1055'%20stroke='%23667085'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1865_1444'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(2%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e`}];function XS(e){if(!Number.isFinite(e))return`—`;let t=e<0?`-`:``,n=Math.abs(e);return n===0?`$0.00`:n<.001?`${t}<$0.001`:n<.0095?`${t}$${n.toFixed(3)}`:`${t}$${n.toFixed(2)}`}var ZS=`/assets/b1066814604/smallLogoAizzy-5b17AUeF.svg`,QS=[1,5,10,25];function $S(e){let t=new URLSearchParams(e),n=t.get(`buy`)??t.get(`pay`);if(n!==null&&n!==``){let e=Number(n);if(Number.isFinite(e)&&e>=1&&e<=1e4)return{amount:e,amountSource:`url`}}return{amount:10,amountSource:`default`}}function eC(e){return e.length===1?e[0]:e.includes(Eo.SOLANA)?Eo.SOLANA:e[0]??Eo.SOLANA}function tC(e,t){if(Do(e))return e;if(Ao(e)){let n=t.length===1?t[0]:null;return n&&Oo(n)?n:ko(e,null)}return null}function nC(e){let{amount:t,amountSource:n}=$S(e.search);return{amount:t,presets:QS,method:eC(e.methods),wallet:tC(e.storedWallet,e.installedSolanaWallets),singleMethod:e.methods.length===1,amountSource:n}}function rC(e,t){return e?e.kind===`injected`?`in_page`:Do(t)?`wallet_app`:`panel`:`panel_only`}function iC(e,t){return t===`panel`||t===`wallet_app`?aC(e):null}function aC(e){return e?.kind===`deeplink`?e.wallet:null}var oC=`welcome`;function sC(e){return`/settings?tab=credits&buy=${e}`}function cC(){let e=c(),t=Ca(),n=Vi(e=>e.setOpenLogin);return(0,Q.useCallback)((r=10,i={})=>{let a=sC(r)+(i.welcome?`&${oC}=1`:``);if(!t){jo(a),n(!0);return}e(a)},[e,t,n])}var lC=[[`email:`,`google`],[`apple:`,`apple`]];function uC(e){return lC.find(([t])=>e.startsWith(t))?.[1]??`wallet`}function dC(){let e=wa(),t=D(e,Gi.getAccessToken()),n=uC(t),r=e?.user_metadata?.display_name,i=typeof r==`string`&&r?r:`Test mode`,a={wallet:()=>M(t),google:er,apple:Br};return{address:t,label:Gi.isGuestMode()?i:a[n](),kind:n}}var fC=()=>{let{credits:e,hasSubscriptionActive:t,isLoadingCredits:n,isGuestMode:r}
13=Da(),i=wa(),a=t(),o=Ca(),s=cC(),c=Vi(e=>e.setOpenLeftBar),[l,u]=(0,Q.useState)(!0),d=typeof i?.user_metadata?.picture==`string`?i.user_metadata.picture:null,{address:f,label:p}=dC();return{credits:e,isLoadingCredits:n,isSubscriptionActive:a,avatarProfile:d,userName:p,solanaAddress:f,isGuestMode:r,isOpen:l,toggleOpen:()=>u(!l),handleCreditClick:()=>{o?s(10):c(!0)}}},pC=`app-settings:`,mC=`AppSettings`,hC=Xi(mC);function gC(){return la()||pa()&&Zi.isPluginAvailable(mC)}async function _C(){if(!gC())throw Error(`app settings are not reachable from this surface`);la()?window.location.assign(pC):await hC.open()}function vC(){return typeof window>`u`?!1:typeof window.matchMedia==`function`&&window.matchMedia(`(display-mode: standalone)`).matches?!0:window.navigator.standalone===!0}var yC=()=>pa()||vC();function bC(e){return gC()&&(e||!pa())?{text:gn(),action:`settings`}:e?{text:yC()?un():Cn(),action:`retry`}:{text:yC()?Pt():je(),action:`retry`}}function xC(e,t){switch(e){case`denied`:return bC(t);case`no_camera`:return{text:mt(),action:`close`};case`busy`:return{text:ri(),action:`retry`}}}var SC=()=>{_C().catch(e=>T.auth.error(`[DEVICE_LINK_SCAN] app settings did not open`,e))};function CC({state:e,deniedWithoutPrompt:t,stillBlocked:n,onRetry:r,onClose:i}){let{text:a,action:o}=xC(e,t),s=(0,Q.useRef)(null);return(0,Q.useEffect)(()=>{s.current?.focus()},[a]),(0,$.jsxs)(R,{className:`device-link-scanner-status`,gap:3,align:`center`,justify:`center`,"data-testid":`device-link-scan-status`,children:[(0,$.jsx)(re,{ref:s,tabIndex:-1,className:`device-link-scanner-sentence`,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,"data-testid":`device-link-scan-sentence`,children:a}),o===`retry`&&(0,$.jsx)(z,{type:`button`,variant:`outline`,size:`sm`,"data-testid":`device-link-scan-retry`,onClick:r,children:Oi()}),o===`retry`&&n!==null&&(0,$.jsx)(R,{className:`min-h-5`,align:`center`,"aria-live":`polite`,"aria-atomic":`true`,children:n>0&&(0,$.jsx)(H,{as:`p`,size:`sm`,weight:`medium`,color:`body`,className:`m-0 animate-in fade-in-0 duration-300`,"data-testid":`device-link-scan-still-blocked`,children:_t()},n)}),o===`settings`&&(0,$.jsx)(z,{type:`button`,variant:`outline`,size:`sm`,"data-testid":`device-link-scan-open-settings`,onClick:SC,children:rt()}),o===`close`&&(0,$.jsx)(z,{type:`button`,size:`sm`,"data-testid":`device-link-scan-close`,onClick:i,children:$e()})]})}var wC=e=>e===`starting`||e===`scanning`||e===`rejected`;function TC(e){switch(DC(e)){case`NotAllowedError`:case`SecurityError`:case`service-not-allowed`:return`denied`;case`NotFoundError`:case`OverconstrainedError`:return`no_camera`;default:return`busy`}}function EC(e){return e<300}function DC(e){return typeof e==`string`?e:typeof e==`object`&&e&&`name`in e&&typeof e.name==`string`?e.name:``}var OC=class e{constructor(t,n,r,i,a){this._legacyCanvasSize=e.DEFAULT_CANVAS_SIZE,this._preferredCamera=`environment`,this._maxScansPerSecond=25,this._lastScanTimestamp=-1,this._destroyed=this._flashOn=this._paused=this._active=!1,this.$video=t,this.$canvas=document.createElement(`canvas`),r&&typeof r==`object`?this._onDecode=n:(console.warn(r||i||a?`You're using a deprecated version of the QrScanner constructor which will be removed in the future`:`Note that the type of the scan result passed to onDecode will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true.`),this._legacyOnDecode=n),n=typeof r==`object`?r:{},this._onDecodeError=n.onDecodeError||(typeof r==`function`?r:this._onDecodeError),this._calculateScanRegion=n.calculateScanRegion||(typeof i==`function`?i:this._calculateScanRegion),this._preferredCamera=n.preferredCamera||a||this._preferredCamera,this._legacyCanvasSize=typeof r==`number`?r:typeof i==`number`?i:this._legacyCanvasSize,this._maxScansPerSecond=n.maxScansPerSecond||this._maxScansPerSecond,this._onPlay=this._onPlay.bind(this),this._onLoadedMetaData=this._onLoadedMetaData.bind(this),this._onVisibilityChange=this._onVisibilityChange.bind(this),this._updateOverlay=this._updateOverlay.bind(this),t.disablePictureInPicture=!0,t.playsInl
13ine=!0,t.muted=!0;let o=!1;if(t.hidden&&(t.hidden=!1,o=!0),document.body.contains(t)||(document.body.appendChild(t),o=!0),r=t.parentElement,n.highlightScanRegion||n.highlightCodeOutline){if(i=!!n.overlay,this.$overlay=n.overlay||document.createElement(`div`),a=this.$overlay.style,a.position=`absolute`,a.display=`none`,a.pointerEvents=`none`,this.$overlay.classList.add(`scan-region-highlight`),!i&&n.highlightScanRegion){this.$overlay.innerHTML=`<svg class="scan-region-highlight-svg" viewBox="0 0 238 238" preserveAspectRatio="none" style="position:absolute;width:100%;height:100%;left:0;top:0;fill:none;stroke:#e9b213;stroke-width:4;stroke-linecap:round;stroke-linejoin:round"><path d="M31 2H10a8 8 0 0 0-8 8v21M207 2h21a8 8 0 0 1 8 8v21m0 176v21a8 8 0 0 1-8 8h-21m-176 0H10a8 8 0 0 1-8-8v-21"/></svg>`;try{this.$overlay.firstElementChild.animate({transform:[`scale(.98)`,`scale(1.01)`]},{duration:400,iterations:1/0,direction:`alternate`,easing:`ease-in-out`})}catch{}r.insertBefore(this.$overlay,this.$video.nextSibling)}n.highlightCodeOutline&&(this.$overlay.insertAdjacentHTML(`beforeend`,`<svg class="code-outline-highlight" preserveAspectRatio="none" style="display:none;width:100%;height:100%;fill:none;stroke:#e9b213;stroke-width:5;stroke-dasharray:25;stroke-linecap:round;stroke-linejoin:round"><polygon/></svg>`),this.$codeOutlineHighlight=this.$overlay.lastElementChild)}this._scanRegion=this._calculateScanRegion(t),requestAnimationFrame(()=>{let e=window.getComputedStyle(t);e.display===`none`&&(t.style.setProperty(`display`,`block`,`important`),o=!0),e.visibility!==`visible`&&(t.style.setProperty(`visibility`,`visible`,`important`),o=!0),o&&(console.warn(`QrScanner has overwritten the video hiding style to avoid Safari stopping the playback.`),t.style.opacity=`0`,t.style.width=`0`,t.style.height=`0`,this.$overlay&&this.$overlay.parentElement&&this.$overlay.parentElement.removeChild(this.$overlay),delete this.$overlay,delete this.$codeOutlineHighlight),this.$overlay&&this._updateOverlay()}),t.addEventListener(`play`,this._onPlay),t.addEventListener(`loadedmetadata`,this._onLoadedMetaData),document.addEventListener(`visibilitychange`,this._onVisibilityChange),window.addEventListener(`resize`,this._updateOverlay),this._qrEnginePromise=e.createQrEngine()}static set WORKER_PATH(e){console.warn(`Setting QrScanner.WORKER_PATH is not required and not supported anymore. Have a look at the README for new setup instructions.`)}static async hasCamera(){try{return!!(await e.listCameras(!1)).length}catch{return!1}}static async listCameras(t=!1){if(!navigator.mediaDevices)return[];let n=async()=>(await navigator.mediaDevices.enumerateDevices()).filter(e=>e.kind===`videoinput`),r;try{t&&(await n()).every(e=>!e.label)&&(r=await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}))}catch{}try{return(await n()).map((e,t)=>({id:e.deviceId,label:e.label||(t===0?`Default Camera`:`Camera ${t+1}`)}))}finally{r&&(console.warn(`Call listCameras after successfully starting a QR scanner to avoid creating a temporary video stream`),e._stopVideoStream(r))}}async hasFlash(){let t;try{if(this.$video.srcObject){if(!(this.$video.srcObject instanceof MediaStream))return!1;t=this.$video.srcObject}else t=(await this._getCameraStream()).stream;return`torch`in t.getVideoTracks()[0].getSettings()}catch{return!1}finally{t&&t!==this.$video.srcObject&&(console.warn(`Call hasFlash after successfully starting the scanner to avoid creating a temporary video stream`),e._stopVideoStream(t))}}isFlashOn(){return this._flashOn}async toggleFlash(){this._flashOn?await this.turnFlashOff():await this.turnFlashOn()}async turnFlashOn(){if(!this._flashOn&&!this._destroyed&&(this._flashOn=!0,this._active&&!this._paused))try{if(!await this.hasFlash())throw`No flash available`;await this.$video.srcObject.getVideoTracks()[0].applyConstraints({advanced:[{torch:!0}]})}catch(e){throw this._flashOn=!1,e}}async turnFlashOff(){this._flashOn&&(this._flashOn=!1,await this._restartVideoStream())}destroy(){this.$video.removeEventListener(`loadedmetadata`,this._onLoadedMetaData),this.$video.removeEventListener(`play`,this._onPlay),document.removeEventListener(`visibilitychange`,this._onVisibilityChange),window.removeEventListener(`resize`,this._updateOverlay),this._destroyed=!0,this._flashOn=!1,this.stop(),e._postWorkerMessage(this._qrEnginePromise,`close`)}
13async start(){if(this._destroyed)throw Error(`The QR scanner can not be started as it had been destroyed.`);if((!this._active||this._paused)&&(window.location.protocol!==`https:`&&console.warn(`The camera stream is only accessible if the page is transferred via https.`),this._active=!0,!document.hidden)){if(this._paused=!1,this.$video.srcObject)await this.$video.play();else try{let{stream:t,facingMode:n}=await this._getCameraStream();!this._active||this._paused?e._stopVideoStream(t):(this._setVideoMirror(n),this.$video.srcObject=t,await this.$video.play(),this._flashOn&&(this._flashOn=!1,this.turnFlashOn().catch(()=>{})))}catch(e){if(!this._paused)throw this._active=!1,e}}}stop(){this.pause(),this._active=!1}async pause(t=!1){if(this._paused=!0,!this._active)return!0;this.$video.pause(),this.$overlay&&(this.$overlay.style.display=`none`);let n=()=>{this.$video.srcObject instanceof MediaStream&&(e._stopVideoStream(this.$video.srcObject),this.$video.srcObject=null)};return t?(n(),!0):(await new Promise(e=>setTimeout(e,300)),this._paused?(n(),!0):!1)}async setCamera(e){e!==this._preferredCamera&&(this._preferredCamera=e,await this._restartVideoStream())}static async scanImage(t,n,r,i,a=!1,o=!1){let s,c=!1;n&&(`scanRegion`in n||`qrEngine`in n||`canvas`in n||`disallowCanvasResizing`in n||`alsoTryWithoutScanRegion`in n||`returnDetailedScanResult`in n)?(s=n.scanRegion,r=n.qrEngine,i=n.canvas,a=n.disallowCanvasResizing||!1,o=n.alsoTryWithoutScanRegion||!1,c=!0):console.warn(n||r||i||a||o?`You're using a deprecated api for scanImage which will be removed in the future.`:`Note that the return type of scanImage will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true.`),n=!!r;try{let l,u;[r,l]=await Promise.all([r||e.createQrEngine(),e._loadImage(t)]),[i,u]=e._drawToCanvas(l,s,i,a);let d;if(r instanceof Worker){let t=r;n||e._postWorkerMessageSync(t,`inversionMode`,`both`),d=await new Promise((n,r)=>{let a,o,c,l=-1;o=i=>{i.data.id===l&&(t.removeEventListener(`message`,o),t.removeEventListener(`error`,c),clearTimeout(a),i.data.data===null?r(e.NO_QR_CODE_FOUND):n({data:i.data.data,cornerPoints:e._convertPoints(i.data.cornerPoints,s)}))},c=e=>{t.removeEventListener(`message`,o),t.removeEventListener(`error`,c),clearTimeout(a),r(`Scanner error: `+(e?e.message||e:`Unknown Error`))},t.addEventListener(`message`,o),t.addEventListener(`error`,c),a=setTimeout(()=>c(`timeout`),1e4);let d=u.getImageData(0,0,i.width,i.height);l=e._postWorkerMessageSync(t,`decode`,d,[d.data.buffer])})}else d=await Promise.race([new Promise((e,t)=>window.setTimeout(()=>t(`Scanner error: timeout`),1e4)),(async()=>{try{var[n]=await r.detect(i);if(!n)throw e.NO_QR_CODE_FOUND;return{data:n.rawValue,cornerPoints:e._convertPoints(n.cornerPoints,s)}}catch(r){if(n=r.message||r,/not implemented|service unavailable/.test(n))return e._disableBarcodeDetector=!0,e.scanImage(t,{scanRegion:s,canvas:i,disallowCanvasResizing:a,alsoTryWithoutScanRegion:o});throw`Scanner error: ${n}`}})()]);return c?d:d.data}catch(n){if(!s||!o)throw n;let l=await e.scanImage(t,{qrEngine:r,canvas:i,disallowCanvasResizing:a});return c?l:l.data}finally{n||e._postWorkerMessage(r,`close`)}}setGrayscaleWeights(t,n,r,i=!0){e._postWorkerMessage(this._qrEnginePromise,`grayscaleWeights`,{red:t,green:n,blue:r,useIntegerApproximation:i})}setInversionMode(t){e._postWorkerMessage(this._qrEnginePromise,`inversionMode`,t)}static async createQrEngine(t){if(t&&console.warn(`Specifying a worker path is not required and not supported anymore.`),t=()=>Ji(()=>import(`./qr-scanner-worker.min-CJaXo3yu.js`).then(e=>e.createWorker()),[]),!(!e._disableBarcodeDetector&&`BarcodeDetector`in window&&BarcodeDetector.getSupportedFormats&&(await BarcodeDetector.getSupportedFormats()).includes(`qr_code`)))return t();let n=navigator.userAgentData;return n&&n.brands.some(({brand:e})=>/Chromium/i.test(e))&&/mac ?OS/i.test(n.platform)&&await n.getHighEntropyValues([`architecture`,`platformVersion`]).then(({architecture:e,platformVersion:t})=>/arm/i.test(e||`arm`)&&13<=parseInt(t||`13`)).catch(()=>!0)?t():new BarcodeDetector({formats:[`qr_code`]})}_onPlay(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay(),this.$overlay&&(this.$overlay.style.display=``),this._scanFrame()}_onLoadedMetaData(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay()}_onVisibilityChange(){document.hidden?this.pause():this._active&&this.start()}_calculateScanRegion(e){let t=Math.round(2/3*Math.min(e.videoWidth,e.videoHeight));return{x:Math.round((e.videoWidth-t)/2),y:Math.round((e.videoHeight-t)/2),width:t,height:t,downScaledWidth:this._legacyCanvasSize,downScaledHeight:this._legacyCanvasSize}}_updateOverlay(){requestAnimationFrame(()=>{if(this.$overlay){var e=this.$video,t=e.videoWidth,n=e.videoHeight,r=e.offsetWidth,i=e.offsetHeight,a=e.offsetLeft,o=e.offsetTop,s=window.getComputedStyle(e),c=s.objectFit,l=t/n,u=r/i;switch(c){case`none`:var d=t,f=n;break;case`fill`:d=r,f=i;break;default:(c===`cover`?l>u:l<u)?(f=i,d=f*l):(d=r,f=d/l),c===`scale-down`&&(d=Math.min(d,t),f=Math.min(f,n))}var[p,m]=s.objectPosition.split(` `).map((e,t)=>{let n=parseFloat(e);return e.endsWith(`%`)?(t?i-f:r-d)*n/100:n});s=this._scanRegion.width||t,u=this._scanRegion.height||n,c=this._scanRegion.x||0;var h=this._scanRegion.y||0;l=this.$overlay.style,l.width=`${s/t*d}px`,l.height=`${u/n*f}px`,l.top=`${o+m+h/n*f}px`,n=/scaleX\(-1\)/.test(e.style.transform),l.left=`${a+(n?r-p-d:p)+(n?t-c-s:c)/t*d}px`,l.transform=e.style.transform}})}static _convertPoints(e,t){if(!t)return e;let n=t.x||0,r=t.y||0,i=t.width&&t.downScaledWidth?t.width/t.downScaledWidth:1;t=t.height&&t.downScaledHeight?t.height/t.downScaledHeight:1;for(let a of e)a.x=a.x*i+n,a.y=a.y*t+r;return e}_scanFrame(){!this._active||this.$video.paused||this.$video.ended||(`requestVideoFrameCallback`in this.$video?this.$video.requestVideoFrameCallback.bind(this.$video):requestAnimationFrame)(async()=>
13{if(!(1>=this.$video.readyState)){var t=Date.now()-this._lastScanTimestamp,n=1e3/this._maxScansPerSecond;t<n&&await new Promise(e=>setTimeout(e,n-t)),this._lastScanTimestamp=Date.now();try{var r=await e.scanImage(this.$video,{scanRegion:this._scanRegion,qrEngine:this._qrEnginePromise,canvas:this.$canvas})}catch(e){if(!this._active)return;this._onDecodeError(e)}!e._disableBarcodeDetector||await this._qrEnginePromise instanceof Worker||(this._qrEnginePromise=e.createQrEngine()),r?(this._onDecode?this._onDecode(r):this._legacyOnDecode&&this._legacyOnDecode(r.data),this.$codeOutlineHighlight&&(clearTimeout(this._codeOutlineHighlightRemovalTimeout),this._codeOutlineHighlightRemovalTimeout=void 0,this.$codeOutlineHighlight.setAttribute(`viewBox`,`${this._scanRegion.x||0} ${this._scanRegion.y||0} ${this._scanRegion.width||this.$video.videoWidth} ${this._scanRegion.height||this.$video.videoHeight}`),this.$codeOutlineHighlight.firstElementChild.setAttribute(`points`,r.cornerPoints.map(({x:e,y:t})=>`${e},${t}`).join(` `)),this.$codeOutlineHighlight.style.display=``)):this.$codeOutlineHighlight&&!this._codeOutlineHighlightRemovalTimeout&&(this._codeOutlineHighlightRemovalTimeout=setTimeout(()=>this.$codeOutlineHighlight.style.display=`none`,100))}this._scanFrame()})}_onDecodeError(t){t!==e.NO_QR_CODE_FOUND&&console.log(t)}async _getCameraStream(){if(!navigator.mediaDevices)throw`Camera not found.`;let e=/^(environment|user)$/.test(this._preferredCamera)?`facingMode`:`deviceId`,t=[{width:{min:1024}},{width:{min:768}},{}],n=t.map(t=>Object.assign({},t,{[e]:{exact:this._preferredCamera}}));for(let e of[...n,...t])try{let t=await navigator.mediaDevices.getUserMedia({video:e,audio:!1});return{stream:t,facingMode:this._getFacingMode(t)||(e.facingMode?this._preferredCamera:this._preferredCamera===`environment`?`user`:`environment`)}}catch{}throw`Camera not found.`}async _restartVideoStream(){let e=this._paused;await this.pause(!0)&&!e&&this._active&&await this.start()}static _stopVideoStream(e){for(let t of e.getTracks())t.stop(),e.removeTrack(t)}_setVideoMirror(e){this.$video.style.transform=`scaleX(`+(e===`user`?-1:1)+`)`}_getFacingMode(e){return(e=e.getVideoTracks()[0])?/rear|back|environment/i.test(e.label)?`environment`:/front|user|face/i.test(e.label)?`user`:null:null}static _drawToCanvas(e,t,n,r=!1){n||=document.createElement(`canvas`);let i=t&&t.x?t.x:0,a=t&&t.y?t.y:0,o=t&&t.width?t.width:e.videoWidth||e.width,s=t&&t.height?t.height:e.videoHeight||e.height;return r||(r=t&&t.downScaledWidth?t.downScaledWidth:o,t=t&&t.downScaledHeight?t.downScaledHeight:s,n.width!==r&&(n.width=r),n.height!==t&&(n.height=t)),t=n.getContext(`2d`,{alpha:!1}),t.imageSmoothingEnabled=!1,t.drawImage(e,i,a,o,s,0,0,n.width,n.height),[n,t]}static async _loadImage(t){if(t instanceof Image)return await e._awaitImageLoad(t),t;if(t instanceof HTMLVideoElement||t instanceof HTMLCanvasElement||t instanceof SVGImageElement||`OffscreenCanvas`in window&&t instanceof OffscreenCanvas||`ImageBitmap`in window&&t instanceof ImageBitmap)return t;if(t instanceof File||t instanceof Blob||t instanceof URL||typeof t==`string`){let n=new Image;n.src=t instanceof File||t instanceof Blob?URL.createObjectURL(t):t.toString();try{return await e._awaitImageLoad(n),n}finally{(t instanceof File||t instanceof Blob)&&URL.revokeObjectURL(n.src)}}else throw`Unsupported image type.`}static async _awaitImageLoad(e){e.complete&&e.naturalWidth!==0||await new Promise((t,n)=>{let r=i=>{e.removeEventListener(`load`,r),e.removeEventListener(`error`,r),i instanceof ErrorEvent?n(`Image load error`):t()};e.addEventListener(`load`,r),e.addEventListener(`error`,r)})}static async _postWorkerMessage(t,n,r,i){return e._postWorkerMessageSync(await t,n,r,i)}static _postWorkerMessageSync(t,n,r,i){if(!(t instanceof Worker))return-1;let a=e._workerMessageId++;return t.postMessage({id:a,type:n,data:r},i),a}};OC.DEFAULT_CANVAS_SIZE=400,OC.NO_QR_CODE_FOUND=`No QR code found`,OC._disableBarcodeDetector=!1,OC._workerMessageId=0;function kC(e,t){let n;try{n=new URL(e)}catch{return{ok:!1,reason:`not_a_link`}}if(n.origin===`null`||n.origin!==t)return{ok:!1,reason:`wrong_origin`};
13if(n.pathname!==U.DEVICE_LINK)return{ok:!1,reason:`not_device_link`};let r=n.searchParams.get(`p`);return Fo(r)?e===`${t}${Io(r)}`?{ok:!0,pairingId:r}:{ok:!1,reason:`not_device_link`}:{ok:!1,reason:`invalid_id`}}function AC(){return ma()??window.location.origin}async function jC(){if(typeof navigator>`u`||typeof navigator.permissions?.query!=`function`)return null;try{return await navigator.permissions.query({name:`camera`})}catch{return null}}async function MC(e){return EC(e)||await NC()}async function NC(){return(await jC())?.state===`denied`}var PC=8e3;function FC(){return LC(navigator.mediaDevices.getUserMedia({video:{facingMode:{ideal:`environment`},width:{ideal:1280},height:{ideal:720}},audio:!1}))}function IC(e){if(e instanceof MediaStream)for(let t of e.getTracks())t.stop()}function LC(e){return new Promise((t,n)=>{let r=window.setTimeout(()=>n(Error(`camera start timed out`)),PC);e.then(e=>{window.clearTimeout(r),t(e)},e=>{window.clearTimeout(r),n(e)})})}var RC=1,zC=400;function BC({videoWidth:e,videoHeight:t,clientWidth:n,clientHeight:r}){let i=n>0&&r>0,a=i?Math.max(n/e,r/t):1,o=i?Math.min(n,r)/a:Math.min(e,t),s=Math.round(RC*Math.min(o,e,t));return{x:Math.round((e-s)/2),y:Math.round((t-s)/2),width:s,height:s,downScaledWidth:zC,downScaledHeight:zC}}function VC(e,t){(0,Q.useEffect)(()=>{if(!e)return;let n=null,r=!1,i=()=>{n&&n.state!==`denied`&&t()};return jC().then(e=>{r||!e||(n=e,n.addEventListener(`change`,i))}),()=>{r=!0,n?.removeEventListener(`change`,i)}},[e,t])}async function HC(e){if(e)return!1;let t,n=new Promise(e=>{t=setTimeout(()=>e(!1),250)});try{return await Promise.race([NC(),n])}finally{clearTimeout(t)}}function UC(e,t){let[n,r]=(0,Q.useState)(!1),[i,a]=(0,Q.useState)(0),o=(0,Q.useRef)(0),s=(0,Q.useRef)(t);(0,Q.useEffect)(()=>{s.current=t});let c=(0,Q.useCallback)(async(e,t=!1)=>{let n=++o.current,i=await HC(sa());n===o.current&&(i?(T.auth.warn(`[DEVICE_LINK_SCAN] camera blocked before asking`,e),e===`tap`&&t&&a(e=>e+1)):a(0),s.current(i,e),r(!0))},[]);return(0,Q.useEffect)(()=>{if(e)return a(0),c(`open`),()=>{o.current+=1,r(!1)}},[e,c]),{ready:n,stillBlocked:i,ask:c}}function WC(e,t){let n=(0,Q.useRef)(t);(0,Q.useEffect)(()=>{n.current=t}),(0,Q.useEffect)(()=>{if(!e)return;let t=()=>document.hidden?n.current.hidden():n.current.visible(),r=()=>n.current.pageHide();return document.addEventListener(`visibilitychange`,t),window.addEventListener(`pagehide`,r),()=>{document.removeEventListener(`visibilitychange`,t),window.removeEventListener(`pagehide`,r)}},[e])}function GC(e){if(!(e instanceof MediaStream))return null;let[t]=e.getVideoTracks();return!t||typeof t.getCapabilities!=`function`?null:t.getCapabilities().torch===!0?t:null}async function KC(e,t){let n={torch:t};await e.applyConstraints({advanced:[n]});let{torch:r}=e.getSettings();return r===void 0||r===t}function qC(e,t,n){let[r,i]=(0,Q.useState)(!1),[a,o]=(0,Q.useState)(!1);return(0,Q.useEffect)(()=>{o(!1),i(t&&GC(e?.srcObject??null)!==null)},[t,e]),{torchSupported:r,torchOn:a,toggleTorch:(0,Q.useCallback)(async()=>{let t=GC(e?.srcObject??null);if(!t)return;let r=!a;try{await KC(t,r)?o(r):r?T.auth.warn(`[DEVICE_LINK_SCAN] torch did not turn on`):await n()}catch(e){T.auth.warn(`[DEVICE_LINK_SCAN] torch toggle failed`,e)}},[e,a,n])}}var JC=2500,YC=30,XC=[20,40,20];function ZC({open:e,video:t,onClose:n}){let r=c(),[i,a]=(0,Q.useState)(`starting`),[o,s]=(0,Q.useState)(null),[l,u]=(0,Q.useState)(!1),d=(0,Q.useRef)(null),f=(0,Q.useRef)(null),p=(0,Q.useRef)(0),m=(0,Q.useRef)(!1),h=(0,Q.useRef)({navigate:r,onClose:n});(0,Q.useEffect)(()=>{h.current={navigate:r,onClose:n}});let{ready:g,stillBlocked:_,ask:v}=UC(e,(e,t)=>{m.current=!e&&t===`open`,u(e),a(e?`denied`:`starting`)}),y=e&&g,b=(0,Q.useCallback)(()=>{p.current+=1,f.current!==null&&(window.clearTimeout(f.current),f.current=null),d.current?.destroy(),d.current=null,t&&(IC(t.srcObject),t.srcObject=null)},[t]),x=(0,Q.useCallback)(e=>{let t=kC(e,AC());if(!t.ok){f.current===null?(T.auth.warn(`[DEVICE_LINK_SCAN] code rejected`,t.reason),navigator.vibrate?.(XC)):window.clearTimeout(f.current),s(t.reason),a(`rejected`),f.current=window.setTimeout(()=>{f.current=null,a(e=>e===`rejected`?`scanning`:e)},JC);return}b(),navigator.vibrate?.(YC),h.current.navigate(Io(t.pairingId),{state:Ro}),h.current.onClose()},[b]),S=(0,Q.useCallback)(async()=>
13{if(b(),!t)return;let e=p.current;a(`starting`);let n=performance.now();try{let n=await FC();if(e!==p.current){IC(n);return}t.srcObject=n;let r=new OC(t,e=>x(e.data),{returnDetailedScanResult:!0,preferredCamera:`environment`,maxScansPerSecond:10,calculateScanRegion:BC,onDecodeError:()=>{}});if(d.current=r,await LC(r.start()),e!==p.current)return;a(`scanning`)}catch(t){if(e!==p.current)return;b();let r=TC(t);T.auth.warn(`[DEVICE_LINK_SCAN] camera start failed`,r,t);let i=p.current,o=r===`denied`&&await MC(performance.now()-n);if(i!==p.current)return;u(o),a(r)}},[b,t,x]),C=qC(t,i===`scanning`||i===`rejected`,S),w=i===`denied`&&l,E=(0,Q.useCallback)(()=>void v(`tap`,w),[v,w]),D=(0,Q.useCallback)(()=>void v(`resume`),[v]);return(0,Q.useEffect)(()=>{if(!y||!t)return;let e=m.current?300:0;m.current=!1;let n=window.setTimeout(()=>void S(),e);return()=>{window.clearTimeout(n),b()}},[y,t,S,b]),WC(y,{hidden:()=>{t&&(b(),a(`starting`))},visible:()=>t?void S():D(),pageHide:b}),VC(y&&!wC(i),D),{state:i,rejection:o,deniedWithoutPrompt:l,stillBlocked:w?_:null,ready:g,...C,retry:E}}function QC({open:e,onOpenChange:t}){let[n,r]=(0,Q.useState)(null),i=(0,Q.useRef)(null),a=()=>t(!1),{state:o,rejection:s,deniedWithoutPrompt:c,stillBlocked:l,ready:u,torchSupported:d,torchOn:f,toggleTorch:p,retry:m}=ZC({open:e,video:n,onClose:a}),h=wC(o),g=f?Xe():At(),_=s===`wrong_origin`?Ie():Qt(),v=(0,$.jsx)(ee,{className:`device-link-scanner-title`,children:st()});return(0,$.jsxs)(he,{open:e&&u,onOpenChange:t,side:`bottom`,hideCloseButton:!0,className:pe(`device-link-scanner-sheet`,h&&`is-camera`),onOpenAutoFocus:e=>{e.preventDefault(),i.current?.focus()},children:[(0,$.jsx)(xe,{className:`device-link-scanner-handle`,"aria-hidden":`true`}),(0,$.jsx)(R,{ref:i,className:`device-link-scanner-body`,gap:4,align:`center`,tabIndex:-1,"aria-busy":o===`starting`,"data-testid":`device-link-scanner`,"data-state":o,children:wC(o)?(0,$.jsxs)(_e,{className:`device-link-scanner-frame`,children:[(0,$.jsx)(`video`,{ref:r,className:`device-link-scanner-video`,playsInline:!0,muted:!0,autoPlay:!0,"aria-hidden":`true`}),o!==`starting`&&(0,$.jsx)(xe,{className:`device-link-scanner-viewfinder`,"aria-hidden":`true`}),o===`starting`&&(0,$.jsxs)(R,{className:`device-link-scanner-starting`,gap:3,align:`center`,justify:`center`,children:[(0,$.jsx)(me,{size:20}),(0,$.jsx)(H,{as:`p`,size:`sm`,color:`body`,className:`text-center`,role:`status`,"aria-live":`polite`,children:Lt()})]}),(0,$.jsxs)(R,{className:`device-link-scanner-caption`,gap:1,align:`center`,children:[v,(0,$.jsx)(re,{className:`device-link-scanner-instruction`,children:Wr()})]}),(0,$.jsx)(xe,{className:`device-link-scanner-notice`,"aria-live":`polite`,"aria-atomic":`true`,children:o===`rejected`&&(0,$.jsx)(H,{as:`p`,size:`sm`,weight:`medium`,color:`white`,className:`device-link-scanner-notice-text`,children:_})})]}):(0,$.jsxs)($.Fragment,{children:[v,(0,$.jsx)(CC,{state:o,deniedWithoutPrompt:c,stillBlocked:l,onRetry:m,onClose:a})]})}),o!==`no_camera`&&(0,$.jsxs)(V,{className:`device-link-scanner-footer`,align:`center`,justify:`end`,gap:3,children:[d&&(0,$.jsxs)(z,{type:`button`,variant:`outline`,"aria-pressed":f,"data-testid":`device-link-scan-torch`,onClick:()=>void p(),children:[f?(0,$.jsx)(cy,{size:18,stroke:1.5}):(0,$.jsx)(ly,{size:18,stroke:1.5}),g]}),(0,$.jsx)(z,{type:`button`,variant:`ghost`,"data-testid":`device-link-scan-cancel`,onClick:a,children:Kn()})]})]})}function $C(e){return e.isLogged&&!e.isGuest&&e.isMobileLoginSurface&&e.hasCamera}function ew(){return typeof navigator>`u`||typeof window>`u`?!1:typeof navigator.mediaDevices?.getUserMedia==`function`&&window.isSecureContext===!0}function tw(){let{isMobileMd:e}=co();return ao(Zi.isNativePlatform(),navigator.userAgent,e)}function nw(){let e=Ca(),{isGuestMode:t}=Da();return $C({isLogged:e,isGuest:t,isMobileLoginSurface:tw(),hasCamera:ew()})}function rw({variant:e=`card`}){let t=nw(),n=Vi(e=>e.setOpenLeftBarMobile),[r,i]=(0,Q.useState)(!1);if(!t)return null;let a=(0,$.jsx)(QC,{open:r,onOpenChange:i});return e===`menu`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(de,{icon:(0,$.jsx)(Oy,{stroke:1.5,size:16,className:`sidebar-icon`}),label:rn(),hint:Yt(),onClick:()=>{n(!1),i(!0)}}),a]}):(0,$.jsxs)(R,{gap:1,children:[(0,$.jsxs)(z,{type:`button`,variant:`outline`,className:`h-auto min-h-10 w-full whitespace-normal py-2`,"data-testid":`device-link-scan-open`,onClick:()=>i(!0),children:[(0,$.jsx)(Oy,{size:18,stroke:1.5,className:`shrink-0`,"aria-hidden":`true`}),rn()]}),(0,$.jsx)(H,{as:`p`,size:`xs`,color:`faint`,className:`text-center`,children:Yt()}),a]})}var iw=Object.keys({google:!0,apple:!0,phantom:!0,solflare:!0,vultisig:!0,phone:!0,browser:!0,test_mode:!0});function aw(e,t){switch(e){case`google`:case`apple`:return t.isOidcAvailable(e);case`test_mode`:return t.isTestModeEnabled;case`phantom`:case`solflare`:return!t.isTauriShell&&(t.isMobileLoginSurface||t.isWalletInjected(e));case`vultisig`:return!t.isTauriShell&&!t.isMobileLoginSurface&&t.isWalletInjected(`vultisig`);case`phone`:return!t.isMobileLoginSurface&&t.hasScannableOrigin;case`browser`:return t.isTauriShell&&t.hasScannableOrigin}}function ow(){if(typeof window>`u`)return null;let e=window;return e.__TAURI__?.core?.invoke??e.__TAURI_INTERNALS__?.invoke??null}async function sw(e,t){let n=ow();if(!n)throw Error(`The Tauri command bridge is unavailable, so "${e}" cannot run here.`);return await n(e,t)}
13var cw=class extends Error{kind;constructor(e,t){super(t),this.kind=e,this.name=`GoogleSignInError`}};function lw(e){if(typeof e!=`object`||!e)return;let t=e.status;if(typeof t==`number`)return t;let n=e.response?.status;return typeof n==`number`?n:void 0}var uw=new Set([`ERR_NETWORK`,`ECONNABORTED`,`ECONNREFUSED`,`ECONNRESET`,`ETIMEDOUT`,`ENOTFOUND`,`EAI_AGAIN`]);function dw(e){if(typeof e!=`object`||!e)return!1;let{code:t,isAxiosError:n,request:r,response:i}=e;return typeof t==`string`&&uw.has(t)?!0:n===!0&&i===void 0&&r!==void 0}function fw(e,t){let n=e instanceof Error?e.message:String(e),r=lw(e),i=(e,r)=>new cw(e,`${t}: ${r} (${n})`);return r===void 0?dw(e)?i(`network_unreachable`,`no response`):i(`verification_failed`,`unclassified`):r===429?i(`rate_limited`,`HTTP 429`):i(r>=500?`server_error`:r>=400?`token_rejected`:`verification_failed`,`HTTP ${r}`)}function pw(e){if(!(e instanceof cw)||e.kind!==`cancelled`)return!1;let t=e.message.toLowerCase();return t.includes(`cancel`)&&t.includes(`user`)}var mw=`start_google_login`,hw=[`cancelled`,`sign_in_unavailable`];function gw(e){if(typeof e==`object`&&e){let{kind:t,message:n}=e;if(typeof t==`string`&&hw.includes(t))return new cw(t,typeof n==`string`?n:`The desktop shell refused the sign-in.`)}return new cw(`sign_in_unavailable`,e instanceof Error?e.message:String(e))}async function _w(){if(!fa())throw new cw(`sign_in_unavailable`,`The desktop Google sign-in needs the Tauri shell's loopback redirect.`);let e=S;if(!e)throw new cw(`sign_in_unavailable`,`Desktop Google sign-in is not configured (missing REACT_APP_OAUTH_GOOGLE_DESKTOP_CLIENT_ID).`);let t;try{t=(await $a.requestGoogleChallenge()).nonce}catch(e){throw fw(e,`challenge`)}if(!t)throw new cw(`verification_failed`,`The sign-in challenge came back without a nonce.`);let n;try{n=await sw(mw,{clientId:e,nonce:t})}catch(e){throw gw(e)}if(!n)throw new cw(`sign_in_unavailable`,`The desktop shell returned no ID token.`);try{let e=await $a.verifyGoogleCredential(n);return to(e,`google`),e}catch(e){throw fw(e,`verify`)}}var vw;(function(e){e.NoCredentialAvailable=`NO_CREDENTIAL_AVAILABLE`,e.ProviderConfigurationError=`PROVIDER_CONFIGURATION_ERROR`,e.SignInCanceled=`SIGN_IN_CANCELED`})(vw||={});var yw=Xi(`GoogleSignIn`,{web:()=>Ji(()=>import(`./web-DLX7bWlt.js`).then(e=>new e.GoogleSignInWeb),__vite__mapDeps([2,1]))});function bw(e){if(typeof e!=`object`||!e)return;let t=e.code;return typeof t==`string`?t:void 0}function xw(e){let t=e instanceof Error?e.message:String(e);switch(bw(e)){case`SIGN_IN_CANCELED`:return new cw(`cancelled`,t);case`NO_CREDENTIAL_AVAILABLE`:return new cw(`no_google_account`,t);case`PROVIDER_CONFIGURATION_ERROR`:return new cw(`provider_unavailable`,t);case`UNIMPLEMENTED`:case`UNAVAILABLE`:return new cw(`plugin_missing`,t);default:return new cw(`sign_in_unavailable`,t)}}async function Sw(){if(!pa())throw new cw(`sign_in_unavailable`,`Native Google sign-in is Android-only (Credential Manager).`);let e=C.google;if(!e)throw new cw(`sign_in_unavailable`,`Google sign-in is not configured (missing REACT_APP_OAUTH_GOOGLE_CLIENT_ID).`);let t;try{t=(await $a.requestGoogleChallenge()).nonce}catch(e){throw fw(e,`challenge`)}if(!t)throw new cw(`verification_failed`,`The sign-in challenge came back without a nonce.`);let n;try{await yw.initialize({clientId:e}),n=(await yw.signIn({nonce:t})).idToken}catch(e){throw xw(e)}if(!n)throw new cw(`sign_in_unavailable`,`Credential Manager returned no ID token.`);try{let e=await $a.verifyGoogleCredential(n);return to(e,`google`),e}catch(e){throw fw(e,`verify`)}}function Cw(){return fa()?S.length>0:pa()?C.google.length>0:!1}async function ww(){if(fa())return _w();if(pa())return Sw();throw new cw(`sign_in_unavailable`,`This shell has no native Google sign-in flow.`)}var Tw;(function(e){e.Email=`EMAIL`,e.FullName=`FULL_NAME`})(Tw||={});var Ew;(function(e){e.LikelyReal=`LIKELY_REAL`,e.Unknown=`UNKNOWN`,e.Unsupported=`UNSUPPORTED`})(Ew||={});var Dw;(function(e){e.SignInCanceled=`SIGN_IN_CANCELED`})(Dw||={});var Ow=Xi(`AppleSignIn`,{web:()=>Ji(()=>import(`./web-Dpm3YJ8u.js`).then(e=>
13new e.AppleSignInWeb),__vite__mapDeps([3,1]))}),kw=class extends Error{kind;constructor(e,t){super(t),this.kind=e,this.name=`AppleSignInError`}},Aw=`AppleSignIn`;function jw(){return la()&&Zi.isPluginAvailable(Aw)}function Mw(e){let t=e instanceof Error?e.message:String(e);switch(bw(e)){case`SIGN_IN_CANCELED`:return new kw(`cancelled`,t);case`UNIMPLEMENTED`:case`UNAVAILABLE`:return new kw(`plugin_missing`,t);default:return new kw(`sign_in_unavailable`,`code ${bw(e)??`none`}: ${t}`)}}function Nw(e,t){let n=fw(e,t);switch(n.kind){case`network_unreachable`:case`rate_limited`:case`server_error`:case`token_rejected`:case`verification_failed`:return new kw(n.kind,n.message);default:return new kw(`verification_failed`,n.message)}}async function Pw(){if(!jw())throw new kw(`sign_in_unavailable`,`Native Sign in with Apple is iOS-only and needs the plugin's native half.`);let e;try{e=(await $a.requestAppleChallenge()).nonce}catch(e){throw Nw(e,`challenge`)}if(!e)throw new kw(`verification_failed`,`The sign-in challenge came back without a nonce.`);let t;try{t=(await Ow.signIn({nonce:e})).idToken}catch(e){throw Mw(e)}if(!t)throw new kw(`sign_in_unavailable`,`Apple returned no identity token.`);try{let e=await $a.verifyAppleCredential(t);return to(e,`apple`),e}catch(e){throw Nw(e,`verify`)}}var Fw={google:Cw,apple:jw};function Iw(e){return sa()?Fw[e]():C[e].length>0}function Lw(){let e=tw();return(0,Q.useCallback)(t=>aw(t,{isTauriShell:fa(),isMobileLoginSurface:e,isOidcAvailable:Iw,isTestModeEnabled:ua&&ca(),hasScannableOrigin:ma()!==null,isWalletInjected:Wa}),[e])}var Rw=({src:e,alt:t=``,size:n=40,name:r=`?`,className:i=``})=>{let[a,o]=(0,Q.useState)(!1),s=(0,Q.useMemo)(()=>({width:n,height:n}),[n]),c=Math.max(8,Math.floor(n*.4));if(e&&!a)return(0,$.jsx)(`img`,{src:e,alt:t,className:`avatar-img ${i}`,style:s,onError:()=>o(!0)});let l=r?.trim().split(/\s+/).map(e=>e[0]).filter(Boolean).join(``).toUpperCase().slice(0,2)||`?`;return(0,$.jsx)(V,{align:`center`,justify:`center`,gap:0,className:`avatar-fallback ${i}`,style:{...s,fontSize:c},children:l})},zw=`phantom.deeplink.flow.started`;function Bw(e,t,n=Date.now()){let r={wallet:t,startedAt:n};e.setItem(zw,JSON.stringify(r))}function Vw(e){e.removeItem(zw)}function Hw(e,t,n=Date.now()){let r;try{r=JSON.parse(e.getItem(`phantom.deeplink.flow.started`)??`null`)}catch{return!1}let i=r?.startedAt;return r?.wallet===t&&typeof i==`number`&&Number.isFinite(i)&&n-i<=9e5}function Uw(e){sessionStorage.setItem(aa,JSON.stringify(e))}function Ww(e,t){let n=ia[t].label,r=sessionStorage.getItem(aa);if(!r)throw Hw(localStorage,t)?new na(`${n} login state was lost while ${n} was open. Please start the login again.`,`flow_state_lost`):new na(`No ${n} login in progress. Please start the login again.`,`no_flow_in_progress`);let i;try{i=JSON.parse(r)}catch{throw new na(`${n} login state is corrupted. Please start the login again.`)}let a=i.wallet??`phantom`;if(!i.dappPublicKey||!i.dappSecretKey)throw new na(`${n} login state is corrupted. Please start the login again.`);if(i.step!==e||a!==t)throw new na(`${n} login is out of sequence. Please start the login again.`,`out_of_sequence`);return i}function Gw(){sessionStorage.removeItem(aa),Vw(localStorage)}function Kw(e=`phantom`){let t=ta();return Uw({step:`connect`,wallet:e,dappPublicKey:t.publicKey,dappSecretKey:t.secretKey}),Bw(localStorage,e),Qi(t.publicKey,ea[e].connect,e)}async function qw(e,t=`phantom`){try{let n=Ww(`connect`,t),r=oa(e,n.dappSecretKey,t),i=await Qa(r.walletPublicKey,`phantom`);if(!i?.success||!i.data||!i.nonce)throw new na(i?.error??`Server challenge request failed. Please try again.`);return Uw({step:`sign`,wallet:t,dappPublicKey:n.dappPublicKey,dappSecretKey:n.dappSecretKey,phantomEncryptionPublicKey:r.phantomEncryptionPublicKey,session:r.session,walletAddress:r.walletPublicKey,challenge:i.data,challengeNonce:i.nonce}),ra({dappPublicKey:n.dappPublicKey,dappSecretKey:n.dappSecretKey,phantomEncryptionPublicKey:r.phantomEncryptionPublicKey,session:r.session,message:i.data,redirectLink:ea[t].signMessage,wallet:t})}catch(e){throw Gw(),e}}async function Jw(e,t=`phantom`){try{let n=Ww(`sign`,t),{phantomEncryptionPublicKey:r,walletAddress:i,challenge:a,challengeNonce:o}=n;
13if(!r||!i||!a||!o)throw new na(`${ia[t].label} login is out of sequence. Please start the login again.`);let{signature:s}=$i(e,n.dappSecretKey,r,t),c=await Za({address:i,message:a,signature:s,nonce:o});if(!c?.access_token)throw new na(c?.error??`Signature verification failed. Please try again.`);return to(c,t),c}finally{Gw()}}var Yw=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAACwCAMAAACYaRRsAAAAAXNSR0IArs4c6QAAADNQTFRFAAAAr5/vp5/vqp/0q5/zrJ/yqp/yq5/xq5/xq5/zrJ/yqp/yq5/yq5/xrJ/yq5/yq5/yofGcmwAAABB0Uk5TABAgMEBQYHCAj5+vv8/f7yMagooAAAQbSURBVHja7Z1bjsQoDEXNM7zx/lc7/TOKRlXjCiQQLHF+W626cptr46TcsNlsNpvNZrPZfCL1H+4Pq7VWsDDaupTwgxSdkctpPWJBihLsMqKVS3iJfLyvWZhQsYFoXlVrIzZTLLyECdhHMTAf6Qr2kyTMRUe8iZuauQXvk8Qsua7iI1TFRO6JZSL3xM6Qy0fxedRYKNYZEfkolhEJ1vMKV3EYRfDIhpMIzyI8DsbAk+iCo6mCR3hPApPwnih4BoeTSPAEMuM0NNzHVERkFGKPU5FPpgMDo9AVCdbz4gPnY6EbEfAFYr/ejK8goA9V8R3sHfflkxMWX6POrxbzO6CAb3K8ojchQUaKON3OyiEBQH6fX1Qnf8wRy2y9njoKQfwuo5P1WspswhUn0lP1Buo4pEsXGTtUL91tiUp1uwW/4ibqRUddB8O18hTG6qVbF0GWhIrfSIP10p+VKb8KDYKH6EVPVfl49YYAl4hjyqqjDpO+ITgMmivoQYID8hJscZRg0yF4uF5Kk6NOpOkUrAbOQQJlV65PsKx4D8pqCyUkdQkWeeBsTFHPBAR2CU4jZ2OBKmGuS7AfOX6UlImI2iPY4rNk6q9XxKXaOnfAE6hylAXxwyuCRUGCm+/xyIQfZPXvJ8euMXzEEQQjQZiAX4lGgtC+Yo/gAynWm65pXBJHJPCSHEQCL4nmkcAnimh5lgS+k3FRMvHAm5GrKVwWxyMhTjSPhKAf1Elcl0JcMpYkEE07h8J8Xk0Y1TmPC1MJC+aSwglXxhLzrCWRxOyIR+fjcGkcD0s7UcwCXLgF2DMLMEpmAc7cAnwwCzAKZgEORJFjcZuzyMyEM66NZTBcJd91Dsir7xHIzNMObp6WmbURiluAPTOLgMLsaqQYBJhTRlj2l3vJoE1jVDU8fBB5nLiTigtjmE1YA4/HyvR38gOui2L2GPGAbyyfwCNucxVbKfiTLIa9TFcjtuKvOvCQqbsp2Eg03WtGIt7Gy3a7cr16IT1glqa9oXFXe8oBvaVqTiv3KxOrgf/lCbMM7e/B2B/5ME5wbE6rLH64aVEwTnAWhGDKrmrvkrUndhyl5t8g0sgBzRPtamrRS1/MsoKRgo9Wa6yKbGurg5880Z34Br0n/lOugKGCExGsK3b134qerQAYKvjsplTbL5wYn/CPmhqWzN7Q21guo4AnSA/oBT9x62bsNeC24VHR8OquqSzb5olewFPoG/lwIvLg8J6ILr0tXwOqBzwKEZuW464KnjRUgwkrkXzDriKiGszKiWovLxzOXsEIAhK0dVPC+lTwj5QGbnWXSDDAniZacTWwBplBeNu/yZMUrIOqL61lH7VALVlYCnobbw0KVoLefl2DgXUxPiOe5HgoWB6l9eGc1VrufyOz2Ww2m81ms2nlH5c1NP+9GJ6uAAAAAElFTkSuQmCC`,Xw={vultisig:{name:`Vultisig`,description:()=>Hn(),download:()=>Qn(),close:()=>Er()},phantom:{name:`Phantom`,description:()=>zt(),download:()=>Ai(),close:()=>en()},solflare:{name:`Solflare`,description:()=>St(),download:()=>kt(),close:()=>ot()}},Zw=({open:e,onClose:t,providerName:n,iconSrc:r,downloadUrl:i,description:a,storeLinks:o})=>{let s=Xw[n],c=s.name,l=o&&so(navigator.userAgent)?o:null,u=no(navigator.userAgent),d=e=>{e.startsWith(`https://`)?window.open(e,`_blank`,`noopener,noreferrer`):Ma.error(Rn())};return(0,$.jsx)(ie,{open:e,onOpenChange:e=>{e||t?.()},children:(0,$.jsxs)(I,{"data-testid":`install-wallet-modal`,children:[(0,$.jsx)(ee,{className:`sr-only`,children:`Install Wallet`}),(0,$.jsxs)(R,{className:`p-4 mb-1`,align:`center`,gap:3,children:[(0,$.jsx)(ue,{src:r,alt:n,width:48,height:48}),l?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(H,{weight:`semibold`,className:`text-center`,children:Pr({walletName:c})}),(0,$.jsx)(re,{className:`text-center`,children:Qr({walletName:c})}),(0,$.jsxs)(V,{className:`w-full`,justify:`center`,gap:3,children:[u!==`android`&&(0,$.jsx)(z,{variant:`secondary`,"data-testid":`install-wallet-store-ios`,onClick:()=>d(l.ios),children:ci()}),u!==`ios`&&(0,$.jsx)(z,{variant:`secondary`,"data-testid":`install-wallet-store-android`,onClick:()=>d(l.android),children:An()}),(0,$.jsx)(z,{variant:`ghost`,"data-testid":`install-wallet-back`,onClick:t,children:Sr()})]})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(re,{className:`text-center`,children:a||s.description()}),(0,$.jsxs)(V,{className:`w-full`,justify:`center`,gap:3,children:[(0,$.jsxs)(z,{variant:`secondary`,onClick:()=>d(i),children:[(0,$.jsx)(ue,{src:r,alt:n,width:24,height:24}),s.download()]}),(0,$.jsx)(z,{variant:`ghost`,onClick:t,children:s.close()})]})]})]})]})})};function Qw(e){return No()||Lo()||(Po(),e)}function $w(){let e=c(),t=o(),n=`${t.pathname}${t.search}`;return(0,Q.useCallback)(t=>{let r=Qw(t??n);r!==n&&e(r)},[e,n])}var eT=()=>{let{setOpenLogin:e,setIsLogged:t}=Vi(),n=$w(),[r,i]=(0,Q.useState)(!1),a=Lw(),{isLoading:o,connect:s,getInstallRequired:c}=Ka(`phantom`,{onSuccess:()=>{Bi.setWalletProvider(`phantom`),t(!0),e(!1),window.dispatchEvent(new Event(`authStateChanged`)),n()},onError:e=>{let t=y(e,`Unknown error`);t.includes(`Receiving end does not exist`)||t.includes(`establish connection`)?Ma.error(`A extensão da Phantom Wallet falhou. Por favor, atualize a sua página (F5) e tente novamente.`):Ma.error(`Erro ao conectar à Phantom Wallet: `+t)},onInstallRequired:()=>i(!0)});if(!a(`phantom`))return null;let l=()=>{if(sa()){window.location.href=Kw();return}s()},u=!sa()&&so(navigator.userAgent)&&c();return(0,$.jsxs)(R,{gap:`3`,children:[(0,$.jsxs)(z,{variant:`secondary`,loading:o,className:`w-full login-provider-btn`,type:`button`,onClick:l,children:[(0,$.jsx)(ue,{src:Yw,alt:`Phantom`,
13width:24,height:24}),Re()]}),u&&(0,$.jsx)(z,{variant:`ghost`,size:`sm`,className:`w-full login-provider-secondary`,type:`button`,"data-testid":`phantom-open-in-app-browser`,onClick:async()=>{await oo(ro(window.location.href,window.location.origin))||i(!0)},children:yt()}),(0,$.jsx)(Zw,{providerName:`phantom`,iconSrc:Yw,downloadUrl:`https://phantom.com/`,storeLinks:io.phantom,open:r,onClose:()=>i(!1)})]})},tT=`data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3clinearGradient%20id='solflare-flame'%20x1='6'%20y1='26'%20x2='26'%20y2='6'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23FC7227'/%3e%3cstop%20offset='1'%20stop-color='%23FFC10B'/%3e%3c/linearGradient%3e%3c/defs%3e%3ccircle%20cx='16'%20cy='16'%20r='15'%20fill='%2317161B'/%3e%3cpath%20d='M16%205c1%203.4%202.8%205.6%205.4%207%202.7%201.5%204.1%203.4%204.1%206a7.6%207.6%200%200%201-7.2%207.9c.9-1.5%201.2-2.9.8-4.2-.4-1.4-1.5-2.5-3.1-3.4-2.6-1.4-3.9-3.3-3.9-5.8C12.1%209.6%2013.4%207%2016%205Z%20M11.5%2018.6c1.9.8%203%201.8%203.4%203%20.4%201.3%200%202.7-1.1%204.2A7.7%207.7%200%200%201%208.5%2021c1-1.2%202-2%203-2.4Z'%20fill='url(%23solflare-flame)'/%3e%3c/svg%3e`,nT=()=>{let{setOpenLogin:e,setIsLogged:t}=Vi(),n=$w(),[r,i]=(0,Q.useState)(!1),a=Lw(),{isLoading:o,connect:s}=Ka(`solflare`,{onSuccess:()=>{Bi.setWalletProvider(`solflare`),t(!0),e(!1),window.dispatchEvent(new Event(`authStateChanged`)),n()},onError:e=>{Ma.error(`Solflare login failed: `+y(e,`Unknown error`))},onInstallRequired:()=>i(!0)});return a(`solflare`)?(0,$.jsxs)(R,{gap:`3`,children:[(0,$.jsxs)(z,{variant:`secondary`,loading:o,className:`w-full login-provider-btn`,type:`button`,onClick:()=>{if(sa()){window.location.href=Kw(`solflare`);return}s()},children:[(0,$.jsx)(ue,{src:tT,alt:`Solflare`,width:24,height:24}),Ye()]}),(0,$.jsx)(Zw,{providerName:`solflare`,iconSrc:tT,downloadUrl:`https://solflare.com/`,storeLinks:io.solflare,open:r,onClose:()=>i(!1)})]}):null},rT=`/assets/b1066814604/vult-Ycrs0_-7.svg`,iT=()=>{let{setOpenLogin:e,setIsLogged:t}=Vi(),n=$w(),[r,i]=(0,Q.useState)(!1),a=Lw(),{isLoading:o,connect:s}=Ka(`vultisig`,{onSuccess:()=>{t(!0),e(!1),window.dispatchEvent(new Event(`authStateChanged`)),n()},onError:e=>{let t=y(e,`Unknown error`);t.includes(`not connected`)||t.includes(`bloqueada`)||t.includes(`unauthorized`)?Ma.error(`Vultisig está bloqueada ou não autorizada. Por favor, desbloqueie a extensão e tente conectar novamente.`):Ma.error(`Erro ao conectar à Vultisig: `+t)}
13,onInstallRequired:()=>i(!0)});return a(`vultisig`)?(0,$.jsxs)(R,{gap:`3`,children:[(0,$.jsxs)(z,{variant:`secondary`,loading:o,className:`w-full login-provider-btn`,type:`button`,onClick:s,children:[(0,$.jsx)(ue,{src:rT,alt:`Vultisig`,width:24,height:24}),Rr()]}),(0,$.jsx)(Zw,{providerName:`vultisig`,iconSrc:rT,downloadUrl:`https://chromewebstore.google.com/detail/vultisig/jilagaejamkmhnhpaodbgaralplelkha`,open:r,onClose:()=>i(!1)})]}):null},aT=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20x='0px'%20y='0px'%20width='21'%20height='21'%20viewBox='0%200%2048%2048'%3e%3cpath%20fill='%23FFC107'%20d='M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z'%3e%3c/path%3e%3cpath%20fill='%23FF3D00'%20d='M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z'%3e%3c/path%3e%3cpath%20fill='%234CAF50'%20d='M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z'%3e%3c/path%3e%3cpath%20fill='%231976D2'%20d='M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z'%3e%3c/path%3e%3c/svg%3e`,oT=`https://accounts.google.com/o/oauth2/v2/auth`,sT=`google_login_state`;async function cT(){let e=C.google;if(!e)throw new cw(`sign_in_unavailable`,`Google sign-in is not configured (missing REACT_APP_OAUTH_GOOGLE_CLIENT_ID).`);let t;try{({nonce:t}=await $a.requestGoogleChallenge())}catch(e){throw fw(e,`challenge`)}let n=crypto.randomUUID();sessionStorage.setItem(sT,n);let r=new URLSearchParams({client_id:e,redirect_uri:`${window.location.origin}${U.GOOGLE_AUTH_CALLBACK}`,response_type:`code id_token`,scope:`openid email`,nonce:t,state:n,prompt:`select_account`,response_mode:`fragment`});window.location.assign(`${oT}?${r.toString()}`)}async function lT(e){let t=new URLSearchParams(e.startsWith(`#`)?e.slice(1):e),n=t.get(`error`);
13if(n)throw new cw(n===`access_denied`?`cancelled`:`sign_in_unavailable`,`Google refused the authorization (${n}).`);let r=t.get(`id_token`),i=t.get(`state`),a=sessionStorage.getItem(sT);if(sessionStorage.removeItem(sT),!r)throw new cw(`no_response`,`Google sign-in callback opened without a response (no credential, no error).`);if(!a||i!==a)throw new cw(`verification_failed`,`Google sign-in state mismatch (CSRF check).`);let o;try{o=await $a.verifyGoogleCredential(r)}catch(e){throw fw(e,`verify`)}return to(o,`google`),o}var uT={no_google_account:()=>({title:Jr(),body:mr()}),provider_unavailable:()=>({title:Ne(),body:qn()}),plugin_missing:()=>({title:En(),body:It()}),network_unreachable:()=>({title:jn(),body:Fr()}),rate_limited:()=>({title:bn(),body:pn()}),server_error:()=>({title:qr(),body:ft()}),token_rejected:()=>({title:tt(),body:gt()}),sign_in_unavailable:()=>({title:Zt(),body:sn()}),no_response:()=>({title:ii(),body:jr()}),verification_failed:()=>({title:tn(),body:at()})};function dT(e){return(uT[e]??uT.verification_failed)()}function fT(e){switch(e){case`cancelled`:case`no_google_account`:case`provider_unavailable`:case`network_unreachable`:case`rate_limited`:case`no_response`:return!1;case`plugin_missing`:case`server_error`:case`token_rejected`:case`sign_in_unavailable`:case`verification_failed`:return!0}}var pT=()=>{let[e,t]=(0,Q.useState)(!1),n=Vi(e=>e.setIsLogged),r=Vi(e=>e.setOpenLogin),i=$w();if(!Iw(`google`))return null;let a=(e,t)=>{let n=e instanceof cw?e.kind:`sign_in_unavailable`;if((t===`redirect`?n===`cancelled`:pw(e))?T.auth.debug(`[GoogleLogin] ${t} sign-in dismissed by the user`):fT(n)?T.auth.error(`[GoogleLogin] ${t} sign-in failed:`,n,e):T.auth.warn(`[GoogleLogin] ${t} sign-in did not complete:`,n,e),n===`cancelled`)return;let r=dT(n);Ma.error(r.title,r.body)},o=async()=>{try{await ww(),n(!0),r(!1),window.dispatchEvent(new Event(`authStateChanged`)),i()}catch(e){a(e,`native`)}finally{t(!1)}};return(0,$.jsxs)(R,{gap:3,children:[(0,$.jsxs)(z,{variant:`secondary`,loading:e,className:`w-full login-provider-btn`,"data-testid":`login-google`,type:`button`,onClick:async()=>{if(t(!0),Cw()){await o();return}try{await cT()}catch(e){a(e,`redirect`),t(!1)}},children:[(0,$.jsx)(ue,{src:aT,alt:`Google`,width:24,height:24}),li()]}),(0,$.jsx)(`p`,{className:`profile-card-login-terms`,children:$r()})]})};function mT(e){let t=e=>({title:Nt(),body:e});switch(e){case`network_unreachable`:case`rate_limited`:case`server_error`:case`no_response`:return dT(e);case`plugin_missing`:return t(Ae());case`sign_in_unavailable`:return t(ln());case`token_rejected`:return t(Sn());case`verification_failed`:return t(hn())}}var hT=`https://appleid.apple.com/auth/authorize`,gT=`apple_login_state`;async function _T(){let e=C.apple;if(!e)throw Error(`Sign in with Apple is not configured (missing REACT_APP_OAUTH_APPLE_CLIENT_ID).`);let{nonce:t}=await $a.requestAppleChallenge(),n=crypto.randomUUID();sessionStorage.setItem(gT,n);let r=new URLSearchParams({client_id:e,redirect_uri:`${window.location.origin}${U.APPLE_AUTH_CALLBACK}`,response_type:`code id_token`,response_mode:`fragment`,nonce:t,state:n});window.location.assign(`${hT}?${r.toString()}`)}async function vT(e){let t=new URLSearchParams(e.startsWith(`#`)?e.slice(1):e),n=t.get(`error`);if(n)throw new kw(n===`user_cancelled_authorize`?`cancelled`:`sign_in_unavailable`,`Apple sign-in was cancelled or refused (${n}).`);let r=t.get(`id_token`),i=t.get(`state`),a=sessionStorage.getItem(gT);if(sessionStorage.removeItem(gT),!r)throw new kw(`no_response`,`Apple sign-in callback opened without a response (no credential, no error).`);if(!a||i!==a)throw new kw(`verification_failed`,`Apple sign-in state mismatch — please try again.`);let o=await $a.verifyAppleCredential(r);return to(o,`apple`),o}var yT=()=>{let[e,t]=(0,Q.useState)(!1),n=Vi(e=>e.setIsLogged),r=Vi(e=>e.setOpenLogin),i=$w();if(!Iw(`apple`))return null;let a=async()=>{try{await Pw(),n(!0),r(!1),window.dispatchEvent(new Event(`authStateChanged`)),i()}catch(e){let t=e instanceof kw?e.kind:`sign_in_unavailable`;if(t===`cancelled`){T.auth.debug(`[AppleLogin] native sign-in dismissed by the user`);return}fT(t)?T.auth.error(`[AppleLogin] native sign-in failed:`,t,e):T.auth.warn(`[AppleLogin] native sign-in did not complete:`,t,e);let n=mT(t);Ma.error(n.title,n.body)}finally{t(!1)}};return(0,$.jsx)(R,{gap:3,children:(0,$.jsxs)(z,{variant:`secondary`,loading:e,className:`w-full login-provider-btn`,"data-testid":`login-apple`,type:`button`,onClick:async()=>
13{if(t(!0),jw()){await a();return}try{await _T()}catch(e){Ma.error(Jn()+y(e,`Unknown error`)),t(!1)}},children:[(0,$.jsx)(oy,{stroke:1.5,size:24}),Yr()]})})},bT=()=>(0,$.jsx)(V,{className:`profile-card-login-divider`,align:`center`,gap:3,children:oi()});function xT(){return[lr(),zr({approve:Ct()}),$n()]}var ST=()=>[Zr(),gr({approve:Ct()}),Nr()],CT={phone:{Icon:my,title:()=>Me(),creating:()=>Ze(),steps:xT,seen:()=>pi(),codeTitle:()=>$t(),codeWarning:()=>ki(),codeWrong:()=>Rt(),expiredTitle:()=>Dt(),expiredBody:()=>Fe(),expiredSeenBody:()=>br({approve:Ct()}),codeExpiredBody:()=>Kr(),codeBlockedBody:()=>wn(),errorTitle:()=>vr(),errorRateLimited:()=>xt(),errorCreate:()=>wt(),newCode:()=>qe(),newCodeIn:e=>Gt({time:e}),signedIn:()=>ir()},browser:{Icon:sy,title:()=>Di(),creating:()=>kn(),steps:ST,seen:()=>ST()[1],codeTitle:()=>Ut(),codeWarning:()=>wi(),codeWrong:()=>Ln(),expiredTitle:()=>Gn(),expiredBody:()=>Hr(),expiredSeenBody:()=>nr({approve:Ct()}),codeExpiredBody:()=>He(),codeBlockedBody:()=>bi(),errorTitle:()=>kr(),errorRateLimited:()=>pr(),errorCreate:()=>or(),newCode:()=>fi(),newCodeIn:e=>Tr({time:e}),signedIn:()=>Pn()}},wT=`textarea[name="input-main-chat"]`;function TT(){let e=document.querySelector(wT);return e?.focus(),!!e&&document.activeElement===e}function ET(){let e=0,t=()=>{TT()||++e>=30||requestAnimationFrame(t)};requestAnimationFrame(t)}var DT=2e3,OT=50;function kT(){let e=Date.now()+DT,t=()=>{let n=document.activeElement;(!n||n===document.body||!n.isConnected||n.closest(`[data-phone-qr-dialog]`)!==null)&&(TT()||Date.now()<e&&window.setTimeout(t,OT))};t()}var AT=({onContinue:e})=>{let t=(0,Q.useId)();return(0,$.jsxs)(R,{gap:1,align:`center`,children:[(0,$.jsxs)(z,{variant:`secondary`,size:`sm`,type:`button`,className:`w-full`,"aria-describedby":t,onClick:e,"data-testid":`login-browser-continue`,children:[(0,$.jsx)(sy,{size:16,stroke:1.75,"aria-hidden":`true`}),Di()]}),(0,$.jsx)(H,{size:`xs`,color:`faint`,id:t,children:hi()})]})},jT=({Icon:e,busy:t=!1,children:n,className:r,...i})=>(0,$.jsxs)(V,{gap:3,align:`start`,className:pe(`login-phone-qr-notice`,r),...i,children:[(0,$.jsx)(e,{size:20,stroke:1.75,className:`login-phone-qr-notice-icon shrink-0`,"aria-hidden":`true`}),(0,$.jsx)(R,{gap:1,className:`min-w-0 flex-1`,children:n}),t&&(0,$.jsx)(ye,{size:16,stroke:1.75,className:`login-phone-qr-notice-icon spin shrink-0`,"aria-hidden":`true`})]});function MT(e,t,n,r){let[i,a]=(0,Q.useState)(null),o=(0,Q.useRef)(r);return(0,Q.useEffect)(()=>{o.current=r}),(0,Q.useEffect)(()=>{if(!n||e===null){a(null);return}let r,i=()=>{let n=Math.max(0,Math.ceil((e-(Date.now()+t))/1e3));a(n),!(n>0)&&(window.clearInterval(r),o.current())};return r=window.setInterval(i,1e3),i(),()=>window.clearInterval(r)},[n,e,t]),i}function NT(e){let t=Math.max(0,Math.floor(e));return`${Math.floor(t/60)}:${String(t%60).padStart(2,`0`)}`}var PT=({secondsLeft:e,reconnecting:t,seen:n,openFailed:r,onReopen:i})=>(0,$.jsxs)(R,{gap:4,"data-testid":`login-browser-waiting`,children:[r&&(0,$.jsx)(jT,{Icon:ry,role:`alert`,"data-testid":`login-browser-open-failed`,children:(0,$.jsxs)(H,{as:`p`,size:`sm`,color:`body`,children:[ni(),` `,(0,$.jsx)(z,{variant:`link`,size:`sm`,type:`button`,className:`h-auto p-0 align-baseline font-semibold underline`,onClick:i,"data-testid":`login-browser-open-retry`,children:Ti()})]})}),(0,$.jsx)(ne,{as:`ol`,data:CT.browser.steps(),className:`login-phone-steps list-decimal space-y-1.5 pl-5`,renderItem:(e,t)=>(0,$.jsx)(H,{size:`sm`,color:n&&t===0?`faint`:`body`,children:e})}),t&&(0,$.jsx)(jT,{Icon:Py,busy:!0,"data-testid":`login-phone-qr-status`,children:(0,$.jsx)(H,{as:`p`,size:`sm`,weight:`medium`,color:`heading`,children:Fn()})}),(0,$.jsxs)(V,{align:`center`,gap:3,children:[!r&&(0,$.jsxs)(z,{variant:`link`,size:`sm`,type:`button`,className:`h-auto p-0 font-semibold`,onClick:i,"data-testid":`login-browser-reopen`,children:[(0,$.jsx)(gy,{size:16,stroke:1.75,"aria-hidden":`true`}),Lr()]}),(0,$.jsx)(ce,{}),e!==null&&(0,$.jsx)(H,{size:`xs`,color:`turquoise`,nowrap:!0,"data-testid":`login-phone-qr-countdown`,children:We({time:NT(e)})})]})]}),FT=[[0,1,2],[3,4,5]],IT=({ref:e,code:t,onChange:n,busy:r,...i})=>(0,$.jsxs)(_e,{className:pe(`login-phone-code`,r&&`is-busy`),children:[(0,$.jsx)(P,{ref:e,type:`text`,inputMode:`numeric`,autoComplete:`one-time-code`,spell
13Check:!1,value:t,onChange:n,readOnly:r,"aria-busy":r,className:`login-phone-code-input`,"data-testid":`login-phone-qr-code-input`,...i}),(0,$.jsx)(V,{gap:5,justify:`center`,className:`login-phone-code-slots`,"aria-hidden":`true`,children:FT.map(e=>(0,$.jsx)(V,{gap:2,"data-testid":`login-phone-qr-code-group`,children:e.map(e=>(0,$.jsx)(H,{size:`xl`,weight:`semibold`,color:`heading`,className:pe(`login-phone-code-slot`,e===Math.min(t.length,5)&&`is-next`),children:t[e]??``},e))},e[0]))})]});function LT(e,t,n){if(e)return dt();if(t?.kind===`unreachable`)return Le();if(t?.kind!==`wrong`)return``;let r=t.attemptsLeft;return r===null?n():r===1?vt():ct({count:r})}var RT=({id:e,busy:t,problem:n,wrong:r})=>{let i=t?ye:n?.kind===`wrong`?ny:n?Py:null;return(0,$.jsxs)(V,{gap:2,align:`center`,id:e,"aria-live":`polite`,className:pe(`login-phone-code-status`,!t&&n?.kind===`wrong`&&`is-wrong`),"data-testid":`login-phone-qr-code-wrong`,children:[i&&(0,$.jsx)(i,{size:16,stroke:1.75,className:pe(`shrink-0`,t&&`spin`),"aria-hidden":`true`}),(0,$.jsx)(H,{size:`base`,weight:n&&!t?`medium`:`normal`,color:n&&!t?`heading`:`faint`,children:LT(t,n,r)})]})},zT=({busy:e,problem:t,secondsLeft:n,copy:r,onSubmit:i,onStartOver:a})=>{let[o,s]=(0,Q.useState)(``),[c,l]=(0,Q.useState)(!1),[u,d]=(0,Q.useState)(!1),f=(0,Q.useRef)(null),p=(0,Q.useRef)(null),m=(0,Q.useRef)(!1),h=(0,Q.useId)(),g=(0,Q.useId)(),_=(0,Q.useId)(),v=(0,Q.useId)();return(0,Q.useEffect)(()=>{e||f.current?.focus()},[e]),(0,Q.useEffect)(()=>{t&&(l(!0),t.kind===`wrong`&&(d(!0),f.current?.select()))},[t]),(0,Q.useEffect)(()=>{c||!m.current||o.length!==6||(m.current=!1,p.current?.requestSubmit())},[o,c]),(0,$.jsxs)(`form`,{ref:p,onSubmit:t=>{t.preventDefault(),!(o.length!==6||e)&&i(o)},"data-testid":`login-phone-qr-code-entry`,children:[(0,$.jsx)(F,{text:Xt(),htmlFor:h,className:`sr-only`}),(0,$.jsxs)(R,{gap:3,children:[(0,$.jsx)(IT,{ref:f,id:h,code:o,onChange:e=>{let t=e.target.value.replace(/\D/g,``).slice(0,6);m.current=t.length===6&&o.length<6,d(!1),s(t)},"aria-describedby":`${_} ${g} ${v}`,"aria-invalid":u&&t?.kind===`wrong`,busy:e}),(0,$.jsx)(RT,{id:_,busy:e,problem:t,wrong:r.codeWrong}),(0,$.jsxs)(V,{justify:`between`,align:`center`,gap:3,wrap:!0,children:[(0,$.jsx)(H,{size:`xs`,color:`faint`,id:g,"data-testid":`login-phone-qr-code-hint`,children:c?an({button:vn()}):et()}),n!==null&&(0,$.jsx)(H,{size:`xs`,color:`turquoise`,nowrap:!0,"data-testid":`login-phone-qr-countdown`,children:We({time:NT(n)})})]}),c&&(0,$.jsx)(z,{type:`submit`,size:`sm`,className:`w-full`,disabled:o.length!==6,"data-testid":`login-phone-qr-code-check`,children:vn()}),(0,$.jsxs)(V,{gap:2,align:`start`,"data-testid":`login-phone-qr-code-notice`,children:[(0,$.jsx)(r.Icon,{size:16,stroke:1.75,className:`mt-0.5 shrink-0 text-[var(--sidebar-muted)]`,"aria-hidden":`true`}),(0,$.jsxs)(H,{as:`p`,size:`sm`,color:`faint`,id:v,children:[r.codeWarning(),` `,(0,$.jsx)(z,{variant:`link`,size:`sm`,type:`button`,className:`h-auto p-0 align-baseline font-semibold underline`,onClick:a,"data-testid":`login-phone-qr-start-over`,children:it()})]})]})]})]})},BT=232,VT=({linkUrl:e,dimmed:t,children:n})=>(0,$.jsxs)(_e,{className:pe(`login-phone-qr-frame self-center`,t&&`is-dimmed`),"data-testid":`login-phone-qr-frame`,children:[(0,$.jsx)(xe,{"aria-hidden":n?!0:void 0,children:(0,$.jsx)(ae,{value:e,size:BT,label:Si()})}),n]}),HT={offline:()=>vi(),rate_limited:e=>e.errorRateLimited(),create:e=>e.errorCreate(),claim:()=>jt()},UT={expired:e=>e.expiredBody(),code_expired:e=>e.codeExpiredBody(),code_exhausted:e=>e.codeBlockedBody()},WT=({outcome:e,via:t,error:n,retryAfterMs:r,linkUrl:i,seen:a,onNewCode:o,onRetry:s})=>{let c=CT[t],l=e===`error`&&n===`rate_limited`,[u]=(0,Q.useState)(()=>l&&r!==null?Date.now()+r:null),[d,f]=(0,Q.useState)(!1),p=MT(u,0,u!==null&&!d,()=>f(!0)),m=u!==null&&!d,h=e===`error`?HT[n??`claim`](c):e===`expired`&&a?c.expiredSeenBody():UT[e](c),g=e===`error`&&!l,_=e===`expired`&&t===`phone`?i:null,v=(0,$.jsxs)(z,{variant:`default`,size:`sm`,type:`button`,className:_?`absolute shadow-lg`:`w-full`,autoFocus:!0,disabled:m,onClick:g?s:o,"data-testid":g?`login-phone-qr-retry`:`login-phone-qr-new-code`,children:[_&&(0,$.jsx)(ky,{size:16,stroke:1.75,"aria-hidden":`true`}
13),g?Ti():m?c.newCodeIn(NT(p??Math.ceil((r??0)/1e3))):c.newCode()]});return(0,$.jsxs)(R,{gap:_?4:3,role:`alert`,"data-testid":`login-phone-qr-${e.replace(/_/g,`-`)}`,children:[_&&(0,$.jsx)(VT,{linkUrl:_,dimmed:!0,children:v}),(0,$.jsx)(H,{as:`p`,size:`sm`,color:`body`,"data-testid":`login-phone-qr-outcome`,children:h}),!_&&v]})},GT=({linkUrl:e,secondsLeft:t,reconnecting:n,seen:r,showClock:i,refreshing:a,onNewCode:o})=>(0,$.jsxs)(R,{gap:4,children:[(0,$.jsx)(VT,{linkUrl:e,dimmed:r}),r&&(0,$.jsx)(jT,{Icon:my,"data-testid":`login-phone-qr-seen`,children:(0,$.jsxs)(H,{as:`p`,size:`sm`,color:`body`,children:[pi(),` `,Dn(),` `,(0,$.jsx)(z,{variant:`link`,size:`sm`,type:`button`,className:`h-auto p-0 align-baseline font-semibold underline`,onClick:o,"data-testid":`login-phone-qr-not-you`,children:qe()})]})}),(0,$.jsx)(ne,{as:`ol`,data:xT(),className:`login-phone-steps list-decimal space-y-1.5 pl-5`,renderItem:(e,t)=>(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(H,{size:`sm`,color:r&&t===0?`faint`:`body`,children:e}),t===0&&!r&&(0,$.jsx)(H,{as:`p`,size:`xs`,color:`faint`,"data-testid":`login-phone-qr-step-menu`,children:Dr({action:rn()})})]})}),n&&(0,$.jsx)(jT,{Icon:Py,busy:!0,"data-testid":`login-phone-qr-status`,children:(0,$.jsx)(H,{as:`p`,size:`sm`,weight:`medium`,color:`heading`,children:Fn()})}),i&&!a&&t!==null&&(0,$.jsx)(H,{size:`xs`,color:`turquoise`,nowrap:!0,className:`self-end`,"data-testid":`login-phone-qr-countdown`,children:We({time:NT(t)})})]});function KT(e,t,n){let[r,i]=(0,Q.useState)(null),a=(0,Q.useRef)({screen:e,seconds:null});return(0,Q.useEffect)(()=>{let r=a.current;if(a.current={screen:e,seconds:t},r.screen!==e){i(null);return}let o=r.seconds!==null&&r.seconds>30;n&&o&&t!==null&&t>0&&t<=30&&i({screen:e,seconds:t})},[t,e,n]),r?.screen===e?r.seconds:null}function qT(e,t,n,r,i,a){let o=KT(e,t,e===`waiting`&&r||e===`code`);if(o!==null)return We({time:NT(o)});switch(e){case`creating`:return a.creating();case`waiting`:return n?Fn():i?a.seen():a.steps()[0];case`code`:case`claiming`:return a.codeTitle();case`approved`:return Xn();default:return``}}function JT(e,t,n){switch(e){case`code`:case`claiming`:case`approved`:return{title:n.codeTitle(),Icon:null};case`expired`:return{title:n.expiredTitle(),Icon:py};case`code_expired`:return{title:ht(),Icon:py};case`code_exhausted`:return{title:dn(),Icon:My};case`error`:return t===`offline`?{title:Be(),Icon:Py}:{title:n.errorTitle(),Icon:ry};default:return{title:n.title(),Icon:null}}}var YT=({pairing:e,via:t,handoff:n,onContinueInBrowser:r,onClose:i,onOtherWay:a,onCloseAutoFocus:o})=>{let{phase:s,linkUrl:c,secondsLeft:l,error:u,retryAfterMs:d,codeProblem:f,reconnecting:p,seen:m,refreshing:h,refreshesOnExpiry:g,submitCode:_,start:v,retry:y}=e,b=(0,Q.useRef)(null),x=CT[t],S=qT(s,l,p,!g,m,x),{title:C,Icon:w}=JT(s,u,x),T=()=>b.current?.querySelector(`h2`)?.focus();return(0,Q.useEffect)(()=>{b.current?.contains(document.activeElement)||T()},[s,t]),(0,$.jsxs)(I,{ref:b,className:`max-w-md`,hideCloseButton:!0,"aria-describedby":void 0,onOpenAutoFocus:e=>{e.preventDefault(),T()},onPointerDownOutside:e=>e.preventDefault(),onCloseAutoFocus:o,"data-testid":`login-phone-qr-panel`,"data-phase":s,"data-phone-qr-dialog":``,"data-via":t,children:[(0,$.jsx)(H,{as:`p`,className:`sr-only`,"aria-live":`polite`,"aria-atomic":`true`,"data-testid":`login-phone-qr-announcer`,children:S}),(0,$.jsxs)(R,{gap:4,children:[(0,$.jsxs)(V,{gap:2,align:`center`,className:`min-h-6`,children:[w&&(0,$.jsx)(w,{size:24,stroke:1.75,className:`shrink-0 text-[var(--sidebar-muted)]`,"aria-hidden":`true`}),(0,$.jsx)(ee,{tabIndex:-1,className:`leading-snug focus:outline-none`,"data-testid":`login-phone-qr-heading`,children:C})]}),s===`creating`&&(0,$.jsxs)(V,{justify:`center`,align:`center`,gap:3,className:`min-h-72`,children:[(0,$.jsx)(me,{size:16,stroke:1.5}),(0,$.jsx)(H,{size:`sm`,color:`faint`,children:x.creating()})]}),s===`waiting`&&c&&t===`browser`&&(0,$.jsx)(PT,{secondsLeft:l,reconnecting:p,seen:m,openFailed:n.openFailed,onReopen:n.reopen}),s===`waiting`&&c&&t===`phone`&&(0,$.jsx)(GT,{linkUrl:c,secondsLeft:l,reconnecting:p,seen:m,showClock:!g,refreshing:h,onNewCode:v}),s===`waiting`&&c&&r&&(0,$.jsx)(AT,{onContinue:r}),(s===`code`||s===`claiming`)&&(0,$.jsx)(zT,{busy:s===`claiming`,problem:f,secondsLeft:l,copy:x,onSubmit:_,onStartOver:v}),s===`approved`&&(0,$.jsxs)(V,{justify:`center`,align:`center`,gap:3,children:[(0,$.jsx)(me,{size:16,stroke:1.5}),(0,$.jsx)(H,{size:`sm`,color:`faint`,children:Xn()})]}),(s===`expired`||s===`code_expired`||s===`code_exhausted`||s===`error`)&&(0,$.jsx)(WT,{outcome:s,via:t,error:u,retryAfterMs:d,linkUrl:c,seen:m,onNewCode:v,onRetry:y},`${s}-${u}`),s!==`approved`&&(0,$.jsxs)(V,{justify:`center`,align:`center`,gap:2,wrap:!0,children:[(0,$.jsx)(z,{variant:`ghost`,size:`sm`,type:`button`,onClick:i,"data-testid":`login-phone-qr-cancel`,children:Ft()}),(0,$.jsx)(z,{variant:`ghost`,size:`sm`,type:`button`,onClick:a,"data-testid":`login-phone-qr-other-way`,children:Vt()})]})]})]})},XT=`open_web_app_link`;async function ZT(e){await sw(XT,{url:e})}function QT(e,t,n){let[r,i]=(0,Q.useState)(!1),a=(0,Q.useRef)(null),o=(0,Q.useCallback)(async e=>{a.current=e,i(!1);try{await ZT(e)}catch(t){if(a.current!==e)return;T.auth.warn(`[BrowserPairingHandoff] the browser did not open:`,t),i(!0)}},[]);return(0,Q.useEffect)(()=>{e&&t&&n!==null&&a.current!==n&&o(n)},[e,t,n,o]),{openFailed:r,reopen:(0,Q.useCallback)(()=>{n!==null&&o(n)},[n,o])}}var $T=e=>typeof e==`number`&&Number.isFinite(e);function eE(e,t=Date.now()){return e*1e3-t}var tE=6e5;
13function nE(e,t=Date.now()){if(typeof e!=`string`||e.trim()===``)return null;let n=e.trim(),r=/^\d+$/.test(n)?Number(n)*1e3:Date.parse(n)-t;return!Number.isFinite(r)||r<=0||r>tE?null:r}function rE(e,t){let n=`p=${encodeURIComponent(t)}`;return`${e}${U.DEVICE_LINK}?${n}`}async function iE(){try{return await $a.createDevicePairing()}catch(e){throw lE(e)}}function aE(e){return e>1e11?e:e*1e3}function oE(e){return typeof e?.access_token==`string`&&e.access_token.length>0}var sE=new Set([202,409,425]),cE=class extends Error{retryAfterMs;constructor(e){super(`Pairing call was rate limited.`),this.name=`DevicePairingRateLimited`,this.retryAfterMs=e}};function lE(e){return!zi.isAxiosError(e)||e.response?.status!==Xa.TOO_MANY_REQUESTS?e:new cE(nE(e.response.headers?.[`retry-after`]))}async function uE(e,t,n,r={}){try{let i=await $a.claimDevicePairing(e,t,n,r);if(oE(i))return to(i,`unknown`),{kind:`session`};let a=i?.status;if(a===`pending`||a===`approved`)return{kind:`pending`,expiresAt:null,seen:!1};if(a===`expired`||a===`consumed`||a===`claimed`)return{kind:`expired`};throw Error(`Unexpected pairing claim response (${a??`no status`}).`)}catch(e){if(!zi.isAxiosError(e)||!e.response)throw e;let t=e.response.status,n=e.response.data?.meta,r=typeof n?.expires_at==`number`&&Number.isFinite(n.expires_at)?aE(n.expires_at):null;if(sE.has(t))return{kind:`pending`,expiresAt:r,seen:n?.seen===!0};if(t===Xa.PRECONDITION_REQUIRED)return{kind:`code_required`,expiresAt:r};if(t===Xa.FORBIDDEN){let e=n?.attempts_left;return{kind:`code_invalid`,attemptsLeft:Number.isInteger(e)&&e>=0?e:null}}if(t===Xa.GONE)return{kind:`code_exhausted`};if(t===Xa.NOT_FOUND)return{kind:`expired`};throw lE(e)}}function dE(e){let t=e;if(t?.name===`DevicePairingRateLimited`)return`rate_limited`;if(t?.isAxiosError!==!0)return`refused`;let n=t.response?.status;
13return typeof n==`number`?n===429?`rate_limited`:n>=500?`offline`:`refused`:`offline`}function fE(e,t,n,r){return e===`code`||e===`claiming`?`code_expired`:e!==`waiting`||r||n>=5?`expired`:t?`refresh_when_visible`:`refresh`}function pE(e,t,n,r){let{setPhase:i,setCodeProblem:a,fail:o}=r,s=(0,Q.useRef)(!1),c=(0,Q.useCallback)(async r=>{let c=t.current,l=r.trim();if(!e||!c||l.length===0||s.current)return;let u=n.current;s.current=!0,a(null),i(`claiming`);try{let r=await uE(e,c,l);if(u!==n.current)return;switch(r.kind){case`code_invalid`:a({kind:`wrong`,attemptsLeft:r.attemptsLeft}),i(`code`);return;case`session`:case`code_exhausted`:case`expired`:t.current=null,i(r.kind===`session`?`approved`:r.kind===`expired`?`code_expired`:r.kind);return;default:i(`waiting`)}}catch(e){if(u!==n.current)return;if(dE(e)!==`offline`)return o(e,`claim`);a({kind:`unreachable`}),i(`code`)}finally{s.current=!1}},[e,t,n,i,a,o]);return(0,Q.useCallback)(e=>void c(e),[c])}var mE=1e3,hE=2e3,gE=8e3,_E=35e3;function vE(e,t,n,r){let i=(0,Q.useRef)(r);i.current=r;let[a,o]=(0,Q.useState)(!1);return(0,Q.useEffect)(()=>{if(!e||!t)return;let r=!1,a,s=null,c=0,l=e=>{window.clearTimeout(a),a=window.setTimeout(()=>void u(),e)},u=async()=>{let e=n.current;if(r||!e)return;let a=new AbortController;s=a;let u=window.setTimeout(()=>a.abort(),_E),d=Date.now();try{let n=await uE(t,e,null,{signal:a.signal,holdUntilApproved:c===0});if(r||s!==a)return;switch(c=0,o(!1),n.kind){case`code_required`:i.current.onCodeRequired(n.expiresAt);return;case`session`:i.current.onSession();return;case`expired`:case`code_exhausted`:i.current.onTerminal(n.kind);return;default:{n.kind===`pending`&&i.current.onPending(n.expiresAt,n.seen);let e=document.hidden?hE:mE;l(Math.max(0,e-(Date.now()-d)))}}}catch(e){if(r||s!==a)return;let t=dE(e);if(t===`refused`){i.current.onRefused();return}t===`offline`&&o(!0),c=Math.min(Math.max(c*2,mE),gE),l(c)}finally{window.clearTimeout(u)}},d=()=>{s?.abort(),s=null,l(0)},f=()=>{o(!1),d()},p=()=>{s?.abort(),s=null,o(!0),c=Math.max(c,mE),l(c)},m=()=>{!document.hidden&&c>0&&d()};return window.addEventListener(`online`,f),window.addEventListener(`offline`,p),document.addEventListener(`visibilitychange`,m),l(0),()=>{r=!0,window.clearTimeout(a),s?.abort(),window.removeEventListener(`online`,f),window.removeEventListener(`offline`,p),document.removeEventListener(`visibilitychange`,m),o(!1)}},[e,t,n]),{reconnecting:a}}function yE(e=!1){let[t,n]=(0,Q.useState)(`idle`),[r,i]=(0,Q.useState)(null),[a,o]=(0,Q.useState)(null),[s,c]=(0,Q.useState)(null),[l,u]=(0,Q.useState)(null),[d,f]=(0,Q.useState)(!1),[p,m]=(0,Q.useState)(!1),[h,g]=(0,Q.useState)(0),_=(0,Q.useRef)(null),v=(0,Q.useRef)(0),y=()=>(v.current+=1,_.current=null,v.current);(0,Q.useEffect)(()=>()=>void y(),[]);let b=(0,Q.useCallback)(e=>{let t=y();return o(null),u(null),i(null),f(!1),m(!1),n(e),t},[]),x=(0,Q.useCallback)(()=>void b(`idle`),[b]),S=(0,Q.useCallback)((e,t)=>{let r=dE(e);m(!1),o(r===`refused`?t:r),c(e instanceof cE?e.retryAfterMs:null),n(`error`)},[]),C=(0,Q.useCallback)(async e=>{e===`start`&&g(0);let t=e===`refresh_in_place`?y():b(`creating`);e===`refresh_in_place`&&m(!0);try{let e=await iE(),r=aE(e.expires_at);if(!e.pairing_id||!e.pairing_secret||!Number.isFinite(r)||!$T(e.server_now))throw Error(`The server returned an incomplete pairing.`);if(t!==v.current)return;_.current=e.pairing_secret,i({id:e.pairing_id,expiresAt:r,clockOffsetMs:eE(e.server_now),seen:!1}),m(!1),n(`waiting`)}catch(e){if(t!==v.current)return;S(e,`create`)}},[b,S]),w=r?.seen===!0,T=w||e,E=e=>{let r=fE(e,document.hidden,h,T);if(r===`refresh`){g(e=>e+1),C(t===`waiting`?`refresh_in_place`:`refresh`);return}_.current=null,f(r===`refresh_when_visible`),n(r===`code_expired`?`code_expired`:`expired`)};Yi(`visibilitychange`,t===`expired`&&d?()=>{document.hidden||E(`waiting`)}:null,void 0,document);let D=t===`waiting`&&!p||t===`code`||t===`claiming`,O=MT(r?.expiresAt??null,r?.clockOffsetMs??0,D,()=>E(t)),k=(e,t)=>i(n=>n&&{...n,expiresAt:e??n.expiresAt,seen:n.seen||t}),{reconnecting:A}=vE(t===`waiting`&&!p,r?.id??null,_,{onPending:(e,t)=>
13{t&&!w&&k(e,!0)},onCodeRequired:e=>{k(e,!1),n(`code`)},onSession:()=>{_.current=null,n(`approved`)},onTerminal:e=>{if(e===`expired`)return E(`waiting`);_.current=null,n(e)},onRefused:()=>{o(`claim`),n(`error`)}}),j=pE(r?.id??null,_,v,{setPhase:n,setCodeProblem:u,fail:S}),M=(0,Q.useCallback)(()=>{if(!(_.current!==null&&r!==null&&r.expiresAt>Date.now()+r.clockOffsetMs))return void C(`start`);o(null),u(null),n(`waiting`)},[r,C]);Yi(`online`,t===`error`&&a===`offline`?M:null);let N=ma();return{phase:t,linkUrl:r!==null&&N!==null?rE(N,r.id):null,secondsLeft:O,error:a,retryAfterMs:s,codeProblem:l,reconnecting:A,seen:w,refreshing:p,refreshesOnExpiry:fE(`waiting`,!1,h,T)===`refresh`,submitCode:j,start:()=>void C(`start`),retry:M,cancel:x}}var bE=8e3,xE=({method:e=`phone`})=>{let t=Vi(e=>e.setOpenLogin),n=Vi(e=>e.setIsLogged),r=$w(),[i,a]=(0,Q.useState)(!1),[o,s]=(0,Q.useState)(e),c=(0,Q.useId)(),l=(0,Q.useRef)(null),u=(0,Q.useRef)(!1),d=Lw(),f=yE(o===`browser`),{phase:p,start:m,cancel:h}=f,g=QT(o===`browser`,p===`waiting`&&!f.refreshing,f.linkUrl);if((0,Q.useEffect)(()=>{p===`approved`&&(Ma.success(CT[o].signedIn(),void 0,{duration:bE}),n(!0),t(!1),window.dispatchEvent(new Event(`authStateChanged`)),r(),kT())},[p,o,r,n,t]),!d(e))return null;let _=()=>{a(!0),m()},v=()=>{h(),a(!1),s(e)},y=()=>{u.current=!0,v()},b=e=>{if(!u.current)return;u.current=!1;let t=(l.current?.closest(`.profile-card--login`))?.querySelector(`.login-provider-btn:not([data-phone-qr-open])`);t&&(e.preventDefault(),t.focus())},x=e===`browser`;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(z,{variant:`secondary`,className:`w-full login-provider-btn`,type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i,"aria-describedby":x?c:void 0,"data-phone-qr-open":i,ref:l,"data-testid":x?`login-browser-open`:`login-phone-qr-open`,onClick:_,children:[x?(0,$.jsx)(oy,{stroke:1.5,size:24}):(0,$.jsx)(my,{stroke:1.5,size:20}),x?Yr():Me()]}),x&&(0,$.jsx)(H,{as:`p`,size:`xs`,color:`faint`,className:`text-center`,id:c,"data-testid":`login-browser-note`,children:Vn()}),(0,$.jsx)(ie,{open:i,onOpenChange:e=>!e&&v(),children:i&&(0,$.jsx)(YT,{pairing:f,via:o,handoff:g,onContinueInBrowser:o===`phone`&&d(`browser`)?()=>s(`browser`):null,onClose:v,onOtherWay:y,onCloseAutoFocus:b})})]})},SE=()=>(0,$.jsxs)(R,{className:`login-unavailable`,gap:2,"data-testid":`login-unavailable`,children:[(0,$.jsx)(H,{as:`p`,size:`sm`,weight:`medium`,children:zn()}),(0,$.jsx)(H,{as:`p`,size:`xs`,color:`faint`,children:Cr()})]}),CE=()=>{let{setOpenLogin:e,setIsLogged:t}=Vi(),{isLoading:n,execute:r}=Na(),i=Lw(),a=$w();if(!i(`test_mode`))return null;async function o(){await r(async()=>{let n=await eo();if(!n?.access_token)throw Error(`Guest test mode did not return a valid access token.`);let r={id:`-1`,name:`Test Mode`,address:ha,solana_address:ha,wallet_address:ha,user_metadata:{auth_mode:`guest`,display_name:`Test Mode`}};Hi.setTokenData({access_token:n.access_token,refresh_token:n.refresh_token,user:r}),Hi.setUser(r),Bi.removeWalletProvider();let i=Bi.getMainChatConfig()||{};Bi.setMainChatConfig({...i,machine:Ha.id}),t(!0),e(!1),window.dispatchEvent(new Event(`authStateChanged`)),a()}).catch(e=>{let t=e,n=t?.response?.data?.message||t?.message||`Unknown error`;Ma.error(`Failed to enter test mode: `+n)})}return(0,$.jsxs)(R,{gap:`3`,className:`login-testmode-card`,children:[(0,$.jsx)(z,{variant:`secondary`,loading:n,"data-testid":`login-test-mode`,className:`w-full button-gray login-testmode-btn`,type:`button`,onClick:o,children:`Test mode (no wallet)`}),(0,$.jsx)(`p`,{className:`login-testmode-note`,children:`Dev-only guest session for testing chat, WASM audio, OCR, vision, and local document flows.`})]})},wE=()=>{let{credits:e,isLoadingCredits:t,isSubscriptionActive:n,avatarProfile:r,userName:i,solanaAddress:o,isGuestMode:s,isOpen:c,toggleOpen:l,handleCreditClick:u}=fC(),d=Ca(),f=xa(),p=Vi(e=>e.openLogin),m=Vi(e=>e.setOpenLogin),h=p&&!d,g=Lw(),_=!Ba(),v=g(`google`)||g(`apple`)||g(`browser`),y=g(`phantom`)||g(`solflare`),b=g(`vultisig`),x=y||b,S=x||g(`phone`)||g(`test_mode`),C=iw.some(g);return(0,$.jsxs)(R,{className:`footer-aside-nav`,gap:5,children:[d?(0,$.jsxs)(R,{className:`profile-card`,gap:5,children:[(0,$.jsxs)(V,{className:`profile-card-row`,align:`center`,justify:`between`,children:[(0,$.jsxs)(V,{className:`profile-card-user`,align:`center`,gap:3,children:[(0,$.jsx)(Rw,{src:r??``,name:o,size:28}),(0,$.jsx)(`span`,{className:`one-line profile-card-name`,children:i})]}
13),(0,$.jsx)(ge,{className:`cursor-pointer profile-card-chevron ${c?`is-open`:``}`,stroke:1.5,size:16,onClick:l})]}),c&&(0,$.jsxs)(R,{className:`profile-card-expanded animate__animated animate__fadeIn`,gap:2,children:[(0,$.jsx)(z,{type:`button`,variant:`ghost`,size:`sm`,className:`profile-card-credits`,onClick:u,children:n?(0,$.jsx)(JS,{}):t?(0,$.jsx)(V,{className:`profile-card-credits-loading`,align:`center`,justify:`center`,children:(0,$.jsx)(me,{size:16,stroke:1.5})}):(0,$.jsxs)(V,{className:`profile-card-credits-row`,align:`center`,justify:`between`,gap:3,children:[(0,$.jsxs)(`span`,{className:`profile-card-credits-label`,children:[(0,$.jsx)(ay,{stroke:1.5,size:16}),s?xr():ai()]}),e?(0,$.jsx)(`span`,{className:`profile-card-credits-amount`,children:XS(e.amount)}):null]})}),(0,$.jsx)(de,{icon:(0,$.jsx)(jy,{stroke:1.5,size:16,className:`sidebar-icon`}),label:Et(),to:`/settings`}),(0,$.jsx)(de,{icon:(0,$.jsx)(Ay,{stroke:1.5,size:16,className:`sidebar-icon`}),label:Jt(),to:`/assistants`}),(0,$.jsx)(rw,{variant:`menu`}),(0,$.jsx)(de,{icon:(0,$.jsx)(Dy,{stroke:1.5,size:16,className:`sidebar-icon`}),label:dr(),onClick:f})]})]}):h?(0,$.jsxs)(R,{className:`profile-card profile-card--login`,gap:4,children:[(0,$.jsxs)(V,{className:`profile-card-login-header`,align:`center`,justify:`between`,children:[(0,$.jsx)(`h4`,{children:ui()}),(0,$.jsx)(z,{type:`button`,variant:`ghost`,size:`sm`,className:`profile-card-login-close`,"aria-label":`Close sign in`,onClick:()=>m(!1),children:(0,$.jsx)(Ce,{stroke:1.5,size:16})})]}),_&&(0,$.jsx)(pT,{}),_&&(0,$.jsx)(yT,{}),_&&(0,$.jsx)(xE,{method:`browser`}),_&&v&&S&&(0,$.jsx)(bT,{}),y&&(0,$.jsx)(`span`,{className:`profile-card-login-label`,children:ei()}),(0,$.jsx)(eT,{}),(0,$.jsx)(nT,{}),b&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(bT,{}),(0,$.jsxs)(xe,{className:`login-vultisig-card`,children:[(0,$.jsx)(`span`,{className:`login-vultisig-badge`,children:rr()}),(0,$.jsx)(iT,{}),(0,$.jsx)(`p`,{className:`login-vultisig-note`,children:cr()})]})]}),!_&&v&&x&&(0,$.jsx)(bT,{}),!_&&(0,$.jsx)(pT,{}),!_&&(0,$.jsx)(yT,{}),!_&&(0,$.jsx)(xE,{method:`browser`}),(0,$.jsx)(xE,{}),(0,$.jsx)(CE,{}),!C&&(0,$.jsx)(SE,{}),C&&(0,$.jsx)(`p`,{className:`profile-card-login-terms`,children:Un()})]}):(0,$.jsxs)(R,{className:`profile-card profile-card--guest`,gap:2,children:[(0,$.jsx)(de,{icon:(0,$.jsx)(jy,{stroke:1.5,size:16,className:`sidebar-icon`}),label:Et(),to:`/settings`}),(0,$.jsx)(de,{icon:(0,$.jsx)(by,{stroke:1.5,size:16,className:`sidebar-icon`}),label:ut(),dark:!0,onClick:()=>m(!0)})]}),(0,$.jsxs)(R,{className:`footer-aside-meta`,gap:3,children:[(0,$.jsxs)(V,{className:`footer-aside-row`,align:`center`,justify:`between`,gap:3,children:[(0,$.jsx)(a,{to:U.WELCOME,className:`footer-aside-muted footer-aside-link`,children:Mt()}),(0,$.jsx)(a,{to:U.WELCOME,className:`footer-aside-logo`,children:(0,$.jsx)(ue,{src:ZS,alt:`Aizzy`,width:50,height:16})})]}),(0,$.jsxs)(V,{className:`footer-aside-row`,align:`center`,justify:`between`,gap:3,children:[(0,$.jsxs)(`span`,{className:`footer-aside-muted footer-aside-follow`,children:[(0,$.jsx)(`u`,{children:Oe()}),(0,$.jsx)(iy,{stroke:1.5,width:14,height:14})]}),(0,$.jsx)(ne,{className:`footer-aside-socials`,data:YS,keyExtractor:(e,t)=>t,renderItem:e=>(0,$.jsx)(a,{to:e.link,target:`_blank`,rel:`noopener noreferrer`,children:(0,$.jsx)(ue,{src:e.image,alt:e.name})})})]})]})]})};function TE(e){return Array.isArray?Array.isArray(e):FE(e)===`[object Array]`}function EE(e){if(typeof e==`string`)return e;if(typeof e==`bigint`)return e.toString();let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function DE(e){return e==null?``:EE(e)}function OE(e){return typeof e==`string`}function kE(e){return typeof e==`number`}function AE(e){return e===!0||e===!1||ME(e)&&FE(e)==`[object Boolean]`}function jE(e){return typeof e==`object`}function ME(e){return jE(e)&&e!==null}function NE(e){return e!=null}function PE(e){return!e.trim().length}function FE(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var IE=`Incorrect 'index' type`,LE=`Invalid doc index: must be a non-negative integer within the bounds of the docs array`,RE=e=>`Invalid value for key ${e}`,zE=e=>`Pattern length exceeds max of ${e}
13.`,BE=e=>`Missing ${e} property in key`,VE=e=>`Property 'weight' in key '${e}' must be a positive integer`,HE=`Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.`,UE=Object.prototype.hasOwnProperty,WE=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=GE(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function GE(e){let t=null,n=null,r=null,i=1,a=null;if(OE(e)||TE(e))r=e,t=KE(e),n=qE(e);else{if(!UE.call(e,`name`))throw Error(BE(`name`));let o=e.name;if(r=o,UE.call(e,`weight`)&&e.weight!==void 0&&(i=e.weight,i<=0))throw Error(VE(qE(o)));t=KE(o),n=qE(o),a=e.getFn??null}return{path:t,id:n,weight:i,src:r,getFn:a}}function KE(e){return TE(e)?e:e.split(`.`)}function qE(e){return TE(e)?e.join(`.`):e}function JE(e,t){let n=[],r=!1,i=(e,t,a,o)=>{if(NE(e)){if(!t[a])n.push(o===void 0?e:{v:e,i:o});else{let s=e[t[a]];if(!NE(s))return;if(a===t.length-1&&(OE(s)||kE(s)||AE(s)||typeof s==`bigint`))n.push(o===void 0?DE(s):{v:DE(s),i:o});else if(TE(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,a+1,e)}else t.length&&i(s,t,a+1,o)}}};return i(e,OE(t)?t.split(`.`):t,0),r?n:n[0]}var YE={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},XE={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},ZE={location:0,threshold:.6,distance:100},QE={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:`any`,getFn:JE,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},$E=Object.freeze({...XE,...YE,...ZE,...QE});function eD(e){return e>=9&&e<=13||e===32||e===160}function tD(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=0,a=!1;for(let e=0;e<t.length;e++)eD(t.charCodeAt(e))?a=!1:a||=(i++,!0);if(i===0&&(i=1),n.has(i))return n.get(i);let o=Math.round(r/i**(.5*e))/r;return n.set(i,o),o},clear(){n.clear()}}}var nD=class{constructor({getFn:e=$E.getFn,fieldNormWeight:t=$E.fieldNormWeight}={}){this.norm=tD(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(OE(this.docs[0]))for(let n=0;n<e;n++){let e=this._createStringRecord(this.docs[n],n);e&&(this.records[t++]=e)}else for(let n=0;n<e;n++)this.records[t++]=this._createObjectRecord(this.docs[n],n);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error(LE);if(OE(e)){let n=this._createStringRecord(e,t);return n&&this.records.push(n),n}let n=this._createObjectRecord(e,t);return this.records.push(n),n}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error(LE);for(let t=0,n=this.records.length;t<n;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i>e&&--this.records[t].i}removeAll(e){let t=new Set;for(let n of e)Number.isInteger(n)&&n>=0&&t.add(n);if(t.size===0)return;this.records=this.records.filter(e=>!t.has(e.i));let n=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e.i?t=i+1:r=i}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!NE(e)||PE(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let n={i:t,$:{}};for(let t=0,r=this.keys.length;t<r;t++){let r=this.keys[t],i=r.getFn?r.getFn(e):this.getFn(e,r.path);if(NE(i)){if(TE(i)){let e=[];for(let t=0,n=i.length;t<n;t+=1){let n=i[t];if(NE(n)){if(OE(n)){if(!PE(n)){let r={v:n,i:t,n:this.norm.get(n)};e.push(r)}}else if(NE(n.v)){let t=OE(n.v)?n.v:DE(n.v);if(!PE(t)){let r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}}n.$[t]=e}else if(OE(i)&&!PE(i)){let e={v:i,n:this.norm.get(i)};n.$[t]=e}}}return n}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function rD(e,t,{getFn:n=$E.getFn,fieldNormWeight:r=$E.fieldNormWeight}={}){let i=new nD({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(GE)),i.setSources(t),i.create(),i}function iD(e,{getFn:t=$E.getFn,fieldNormWeight:n=$E.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new nD({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function aD(e=[],t=$E.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}function oD(e,t,n,{location:r=$E.location,distance:i=$E.distance,threshold:a=$E.threshold,findAllMatches:o=$E.findAllMatches,minMatchCharLength:s=$E.minMatchCharLength,includeMatches:c=$E.includeMatches,ignoreLocation:l=$E.ignoreLocation}={}){if(t.length>32)throw Error(zE(32));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=(e,t)=>{let n=e/u;if(l)return n;let r=Math.abs(f-t);return i?n+r/i:r?1:n},g=s>1||c,_=g?Array(d):[],v;for(;(v=e.indexOf(t,m))>-1;){let e=h(0,v);if(p=Math.min(e,p),m=v+u,g){let e=0;for(;e<u;)_[v+e]=1,e+=1}}m=-1;let y=[],b=1,x=0,S=u+d,C=1<<u-1;for(let t=0;t<u;t+=1){let r=0,i=S;for(;r<i;
vendor: 20,167 bytes, line 13
13)h(t,f+i)<=p?r=i:S=i,i=Math.floor((S-r)/2+r);S=i;let a=Math.max(1,f-i+1),s=o?d:Math.min(f+i,d)+u,c=Array(s+2);c[s+1]=(1<<t)-1;for(let r=s;r>=a;--r){let i=r-1,o=n[e[i]];if(c[r]=(c[r+1]<<1|1)&o,t&&(c[r]|=(y[r+1]|y[r])<<1|1|y[r+1]),c[r]&C&&(b=h(t,i),b<=p)){if(p=b,m=i,x=t,m<=f)break;a=Math.max(1,2*f-m)}}if(h(t+1,f)>p)break;y=c}if(g&&m>=0){let t=Math.min(d-1,m+u-1+x);for(let r=m;r<=t;r+=1)n[e[r]]&&(_[r]=1)}let w={isMatch:m>=0,score:Math.max(.001,b)};if(g){let e=aD(_,s);e.length?c&&(w.indices=e):w.isMatch=!1}return w}function sD(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function cD(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){let r=t[t.length-1],i=e[n];i[0]<=r[1]+1?r[1]=Math.max(r[1],i[1]):t.push(i)}return t}var lD={ł:`l`,Ł:`L`,đ:`d`,Đ:`D`,ø:`o`,Ø:`O`,ħ:`h`,Ħ:`H`,ŧ:`t`,Ŧ:`T`,ı:`i`,ß:`ss`},uD=RegExp(`[`+Object.keys(lD).join(``)+`]`,`g`),dD=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``).replace(uD,e=>lD[e]):e=>e,fD=class{constructor(e,{location:t=$E.location,threshold:n=$E.threshold,distance:r=$E.distance,includeMatches:i=$E.includeMatches,findAllMatches:a=$E.findAllMatches,minMatchCharLength:o=$E.minMatchCharLength,isCaseSensitive:s=$E.isCaseSensitive,ignoreDiacritics:c=$E.ignoreDiacritics,ignoreLocation:l=$E.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?dD(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:sD(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,n=d-t;for(;e<n;)u(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?dD(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=oD(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&u.push(...g)});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=cD(u)),p}},pD=new Set([`fuzzy`,`include`]);function mD(e){return e.startsWith(`inverse`)}var hD=[{type:`exact`,multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:`exact`,search(t){let n=t===e;return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`include`,multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:`include`,search(t){let n=0,r,i=[],a=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+a,i.push([r,n-1]);let o=!!i.length;return{isMatch:o,score:+!o,indices:i}}})},{type:`prefix-exact`,multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:`prefix-exact`,search(t){let n=t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`inverse-prefix-exact`,multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:`inverse-prefix-exact`,search(t){let n=!t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`inverse-suffix-exact`,multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:`inverse-suffix-exact`,search(t){let n=!t.endsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`suffix-exact`,multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:`suffix-exact`,search(t){let n=t.endsWith(e);return{isMatch:n,score:+!n,indices:[t.length-e.length,t.length-1]}}})},{type:`inverse-exact`,multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:`inverse-exact`,search(t){let n=t.indexOf(e)===-1;return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`fuzzy`,multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let n=new fD(e,{location:t.location??$E.location,threshold:t.threshold??$E.threshold,distance:t.distance??$E.distance,includeMatches:t.includeMatches??$E.includeMatches,findAllMatches:t.findAllMatches??$E.findAllMatches,minMatchCharLength:t.minMatchCharLength??$E.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??$E.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??$E.ignoreDiacritics,ignoreLocation:t.ignoreLocation??$E.ignoreLocation});return{type:`fuzzy`,search(e){return n.searchIn(e)}}}}],gD=hD.length,_D=`\0`,vD=`|`;function yD(e){let t=[],n=e.length,r=0;for(;r<n;){for(;r<n&&e[r]===` `;)r++;if(r>=n)break;let i=r;for(;i<n&&e[i]!==` `&&e[i]!==`"`;)i++;if(i<n&&e[i]===`"`){for(i++;i<n;){if(e[i]===`"`){let t=i+1;if(t>=n||e[t]===` `){i++;break}if(e[t]===`$`&&(t+1>=n||e[t+1]===` `)){i+=2;break}}i++}t.push(e.substring(r,i)),r=i}else{for(;i<n&&e[i]!==` `;)i++;t.push(e.substring(r,i)),r=i}}return t}function bD(e,t){let n=e.match(t);return n?n[1]:null}function xD(e,t={}){return e.replace(/\\\|/g,_D).split(vD).map(e=>{let n=yD(e.replace(/\u0000/g,`|`).trim()).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<gD;){let e=hD[o],n=bD(i,e.multiRegex);n&&(r.push(e.create(n,t)),a=!0)}if(!a)for(o=-1;++o<gD;){let e=hD[o],n=bD(i,e.singleRegex);if(n){r.push(e.create(n,t));break}}}return r})}var SD=class{constructor(e,{isCaseSensitive:t=$E.isCaseSensitive,ignoreDiacritics:n=$E.ignoreDiacritics,includeMatches:r=$E.includeMatches,minMatchCharLength:i=$E.minMatchCharLength,ignoreLocation:a=$E.ignoreLocation,findAllMatches:o=$E.findAllMatches,location:s=$E.location,threshold:c=$E.threshold,distance:l=$E.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?dD(e):e,this.pattern=e,this.query=xD(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?dD(e):e;let a=0,o=[],s=0,c=!1;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0,c=!1;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:l,indices:u,score:d}=r.search(e);if(l)a+=1,s+=d,mD(r.type)&&(c=!0),n&&(pD.has(r.type)?o.push(...u):o.push(u));else{s=0,a=0,o.length=0,c=!1;break}}if(a){let e={isMatch:!0,score:s/a};return c&&(e.hasInverse=!0),n&&(e.indices=cD(o)),e}}return{isMatch:!1,score:1}}},CD=[];function wD(...e){CD.push(...e)}function TD(e,t){for(let n=0,r=CD.length;n<r;n+=1){let r=CD[n];if(r.condition(e,t))return new r(e,t)}return new fD(e,t)}var ED={AND:`$and`,OR:`$or`},DD={PATH:`$path`,PATTERN:`$val`},OD=e=>!!(e[ED.AND]||e[ED.OR]),kD=e=>!!e[DD.PATH],AD=e=>!TE(e)&&jE(e)&&!OD(e),jD=e=>({[ED.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function MD(e,t,{auto:n=!0}={}){let r=e=>{if(OE(e)){let r={keyId:null,pattern:e};return n&&(r.searcher=TD(e,t)),r}let i=Object.keys(e),a=kD(e);if(!a&&i.length>1&&!OD(e))return r(jD(e));if(AD(e)){let r=a?e[DD.PATH]:i[0],o=a?e[DD.PATTERN]:e[r];if(!OE(o))throw Error(RE(r));let s={keyId:qE(r),pattern:o};return n&&(s.searcher=TD(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];TE(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return OD(e)||(e=jD(e)),r(e)}function ND(e,{ignoreFieldNorm:t=$E.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),n}function PD(e,{ignoreFieldNorm:t=$E.ignoreFieldNorm}){e.forEach(e=>{e.score=ND(e.matches,{ignoreFieldNorm:t})})}var FD=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):this.comparator(e,this.heap[0])<0&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){let t=this.heap;for(;e>0;){let n=e-1>>1;if(this.comparator(t[e],t[n])<=0)break;let r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){let t=this.heap,n=t.length,r=e;do{e=r;let i=2*e+1,a=2*e+2;if(i<n&&this.comparator(t[i],t[r])>0&&(r=i),a<n&&this.comparator(t[a],t[r])>0&&(r=a),r!==e){let n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}};function ID(e){let t=[];return e.matches.forEach(e=>{if(!NE(e.indices)||!e.indices.length)return;let n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.id),e.idx>-1&&(n.refIndex=e.idx),t.push(n)}),t}function LD(e,t,{includeMatches:n=$E.includeMatches,includeScore:r=$E.includeScore}={}){return e.map(e=>{let{idx:i}=e,a={item:t[i],refIndex:i};return n&&(a.matches=ID(e)),r&&(a.score=e.score),a})}var RD=/[\p{L}\p{M}\p{N}_]+/gu,zD=new WeakSet;function BD(e){zD.has(e)||(zD.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function VD(e){if(typeof e==`function`){let t=!1;return n=>{let r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(e=>typeof e!=`string`)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?`array containing non-strings`:typeof r}.`);return r}}return e instanceof RegExp?(e.global||BD(e),t=>t.match(e)||[]):e=>e.match(RD)||[]}function HD({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){let r=VD(n);return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=dD(n)),r(n)}}}var UD=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=HD({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});let n=this.analyzer.tokenize(e),{df:r,fieldCount:i}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(let e of n){this.termSearchers.push(new fD(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));let n=r.get(e)||0,a=Math.log(1+(i-n+.5)/(n+.5));this.idfWeights.push(a)}this.combineAll=t.tokenMatch===`all`,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],n=0,r=0,i=0,a=0,o=this.combineAll&&!this.useMask?new Set:null;for(let s=0;s<this.termSearchers.length;s++){let c=this.termSearchers[s].searchIn(e),l=this.idfWeights[s];r+=l,c.isMatch&&(i++,n+=l*(1-c.score),c.indices&&t.push(...c.indices),this.combineAll&&(this.useMask?a|=1<<s:o.add(s)))}if(i===0)return{isMatch:!1,score:1};let s=r>0?1-n/r:0,c={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(c.indices=cD(t)),this.combineAll&&(this.useMask?c.matchedMask=a:c.matchedTerms=o,c.termCount=this.numTerms),c}};function WD(e,t,n,r){let i=r.tokenize(t);if(!i.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);let a=new Set(i),o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(let t of a)o.set(t,(o.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function GD(e,t,n,r){let{i,v:a,$:o}=t;if(a!==void 0){WD(e,a,i,r);return}if(o)for(let t=0;t<n;t++){let n=o[t];if(n){if(Array.isArray(n))for(let t of n)WD(e,t.v,i,r);else WD(e,n.v,i,r)}}}function KD(e,t,n){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let i of e)GD(r,i,t,n);return r}function qD(e,t,n,r){GD(e,t,n,r)}function JD(e,t){let n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);let r=e.docTermFieldHits.get(t);if(r){for(let[t,n]of r){let r=(e.df.get(t)||0)-n;r<=0?e.df.delete(t):e.df.set(t,r)}e.docTermFieldHits.delete(t)}}function YD(e,t){if(t.length===0)return;let n=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of n)JD(e,t);let r=e=>{let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e?t=i+1:r=i}return e-t},i=n[0],a=new Map;for(let[t,n]of e.docFieldCount)a.set(t>i?r(t):t,n);e.docFieldCount=a;let o=new Map;for(let[t,n]of e.docTermFieldHits)o.set(t>i?r(t):t,n);e.docTermFieldHits=o}var XD=class{constructor(e,t,n){this.options={...$E,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new WE(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=TD(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof nD))throw Error(IE);if(this._myIndex=t||rD(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=HD({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=KD(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!NE(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){let e=HD({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});qD(this._invertedIndex,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],n=[];for(let r=0,i=this._docs.length;r<i;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){this._invertedIndex&&YD(this._invertedIndex,n);let e=new Set(n);this._docs=this._docs.filter((t,n)=>!e.has(n)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error(LE);this._invertedIndex&&YD(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){let{limit:n=-1}=t||{},{includeMatches:r,includeScore:i,shouldSort:a,sortFn:o,ignoreFieldNorm:s}=this.options;if(OE(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return kE(n)&&n>-1&&(e=e.slice(0,n)),e}let c=a&&kE(n)&&n>0&&OE(e),l=o,u=(e,t)=>l(e,t)||e.idx-t.idx,d;if(c){let t=new FD(n,u);OE(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),d=t.extractSorted()}else d=OE(e)?OE(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),PD(d,{ignoreFieldNorm:s}),a&&d.sort(OE(e)?u:l),kE(n)&&n>-1&&(d=d.slice(0,n));return LD(d,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=t?null:[];return a.forEach(({v:e,i:a,n:s})=>{if(!NE(e))return;let c=r.searchIn(e);if(c.isMatch){let r={score:c.score,value:e,norm:s,indices:c.indices};i&&(r.matchedMask=c.matchedMask,r.matchedTerms=c.matchedTerms,r.termCount=c.termCount);let l=[r];if(!i||this._coversAllTokens(l)){let r={item:e,idx:a,matches:l};t?(r.score=ND(r.matches,{ignoreFieldNorm:n}),t.insert(r)):o.push(r)}}}),o}_searchLogical(e){let t=MD(e,this.options),n=this._normalizedKeys(),r=(e,t,i)=>{if(!(`children`in e)){let{keyId:r,searcher:a}=e,o;return r===null?(o=[],n.forEach((e,n)=>{o.push(...this._findMatches({key:e,value:t[n],searcher:a}))})):o=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:a}),o&&o.length?[{idx:i,item:t,matches:o}]:[]}let{children:a,operator:o}=e,s=[];for(let e=0,n=a.length;e<n;e+=1){let n=a[e],c=r(n,t,i);if(c.length)s.push(...c);else if(o===ED.AND)return[]}return s},i=this._myIndex.records,a=new Map,o=[];return i.forEach(({$:e,i:n})=>{if(NE(e)){let i=r(t,e,n);i.length&&(a.has(n)||(a.set(n,{idx:n,item:e,matches:[]}),o.push(a.get(n))),i.forEach(({matches:e})=>{a.get(n).matches.push(...e)}))}}),o}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=this._normalizedKeys(),s=t?null:[];return a.forEach(({$:e,i:a})=>{if(!NE(e))return;let c=[],l=!1,u=!1;if(o.forEach((t,n)=>{let i=this._findMatches({key:t,value:e[n],searcher:r});i.length?(c.push(...i),i[0].hasInverse&&(u=!0)):l=!0}),!(u&&l)&&c.length&&(!i||this._coversAllTokens(c))){let r={idx:a,item:e,matches:c};t?(r.score=ND(r.matches,{ignoreFieldNorm:n}),t.insert(r)):s.push(r)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!NE(t))return[];let r=[];if(TE(t))t.forEach(({v:t,i,n:a})=>{if(!NE(t))return;let o=n.searchIn(t);if(o.isMatch){let n={score:o.score,key:e,value:t,idx:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(n.matchedMask=o.matchedMask,n.matchedTerms=o.matchedTerms,n.termCount=o.termCount),r.push(n)}});else{let{v:i,n:a}=t,o=n.searchIn(i);if(o.isMatch){let t={score:o.score,key:e,value:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(t.matchedMask=o.matchedMask,t.matchedTerms=o.matchedTerms,t.termCount=o.termCount),r.push(t)}}return r}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(t===void 0)return!0;if(t<=31){let n=0;for(let t=0;t<e.length;t++)n|=e[t].matchedMask||0;return n===2**t-1}let n=new Set;for(let t=0;t<e.length;t++){let r=e[t].matchedTerms;if(r)for(let e of r)n.add(e)}return n.size===t}};XD.version=`7.5.0`,XD.createIndex=rD,XD.parseIndex=iD,XD.config=$E,XD.match=function(e,t,n){if(n&&n.useTokenSearch)throw Error(HE);return TD(e,{...$E,...n}).searchIn(t)},XD.parseQuery=MD,wD(SD),wD(UD),XD.use=function(...e){e.forEach(e
13=>wD(e))};var ZD=XD;function QD(e){let[t,n]=(0,Q.useState)(``),[r,i]=(0,Q.useState)([]),a=wa(),o=(0,Q.useMemo)(()=>e.filter(e=>e.source===`indexeddb`),[e]);(0,Q.useEffect)(()=>{let e=a?fo(a):``;if(!e){i([]);return}let t=!1;return(async()=>{let n=[];await Promise.all(o.map(async t=>{try{let r=(await mo.getMessagesByChatId(po(t._id,e))).map(e=>`${e.chat_request??``} ${e.chat_response?.content??``}`).join(` `);r.trim()&&n.push({channel:t,text:r})}catch{}})),t||i(n)})(),()=>{t=!0}},[o,a]);let s=(0,Q.useMemo)(()=>{let e=t.trim();return e.length<2?[]:new ZD(o,{keys:[`channel_name`],threshold:.4,ignoreLocation:!0,minMatchCharLength:2}).search(e).map(e=>e.item)},[t,o]),c=(0,Q.useMemo)(()=>{let e=t.trim();return e.length<2||r.length===0?[]:new ZD(r,{keys:[`text`],threshold:.4,ignoreLocation:!0,minMatchCharLength:2}).search(e).map(e=>e.item.channel)},[t,r]);return{searchChats:t,setSearchChats:n,filteredChannels:(0,Q.useMemo)(()=>{if(t.trim().length<2)return o;let e=new Set,n=[];for(let t of[...s,...c])e.has(t._id)||(e.add(t._id),n.push(t));return n},[t,o,s,c])}}function $D(e){let t=new Date,n=Mv(t),r=Mv(Rv(t,1)),i=Pv(Rv(t,7)),a=Mv(Rv(t,30));return{todayChats:e.filter(e=>Lv(new Date(e.createdAt))),yesterdayChats:e.filter(e=>Fv(new Date(e.createdAt),r)&&Iv(new Date(e.createdAt),n)),last7DaysChats:e.filter(e=>Fv(new Date(e.createdAt),i)&&Iv(new Date(e.createdAt),r)),last30DaysChats:e.filter(e=>Fv(new Date(e.createdAt),a)&&Iv(new Date(e.createdAt),i)),previousChats:e.filter(e=>Iv(new Date(e.createdAt),a))}}function eO(){let e=xo(e=>e.reset),{deleteAllChannels:t,isLoading:n}=Ga();return{deleteAllChats:(0,Q.useCallback)(async()=>{if(!await oe.confirm({title:si(),message:Zn(),variant:`danger`,confirmLabel:ke()}))return!1;let n=await t();return e(),n?.success===!0},[t,e]),isDeleting:n}}function tO(e){let{setOpenLeftBarMobile:t}=Vi(),{deleteAllChats:n,isDeleting:r}=eO();return{deleteChats:(0,Q.useCallback)(async()=>{await n()&&e&&t(!1)},[n,e,t]),isDeleting:r}}var nO=/iphone|ipad|ipod/i;function rO(e){if(!/Macintosh/i.test(e)||!/Safari/i.test(e)||/Chrome/i.test(e)||/Chromium/i.test(e))return!1;let t=e.match(/Version\/(\d+)/);if(!t)return!1;let n=parseInt(t[1],10);return Number.isFinite(n)&&n>=17}function iO(){let[e,t]=(0,Q.useState)(null),[n,r]=(0,Q.useState)(!1),[i,a]=(0,Q.useState)(!1),[o,s]=(0,Q.useState)(!1);(0,Q.useEffect)(()=>{if(typeof window>`u`||Zi.isNativePlatform())return;let e=navigator.userAgent||``,n=nO.test(e);
13if(a(n),s(rO(e)),vC()){r(!0);return}let i=new AbortController;return window.addEventListener(`beforeinstallprompt`,e=>{e.preventDefault(),t(e)},{signal:i.signal}),window.addEventListener(`appinstalled`,()=>{r(!0),t(null)},{signal:i.signal}),`serviceWorker`in navigator&&navigator.serviceWorker.register(`/sw.js`).catch(()=>{}),()=>i.abort()},[]);let c=(0,Q.useCallback)(async()=>{if(!e)return!1;await e.prompt();let n=await e.userChoice;return t(null),n.outcome===`accepted`},[e]);return{canShowInstallButton:!n&&(e!==null||i||o),isInstalled:n,isAppleIOS:i,isMacSafari:o,promptInstall:c}}var aO={title:`Install Aizzy on iOS`,steps:[{text:(0,$.jsxs)($.Fragment,{children:[`Tap the `,(0,$.jsx)(`b`,{children:`Share`}),` button in Safari's toolbar`]})},{text:(0,$.jsxs)($.Fragment,{children:[`Scroll down and tap `,(0,$.jsx)(`b`,{children:`Add to Home Screen`})]})},{text:(0,$.jsxs)($.Fragment,{children:[`Tap `,(0,$.jsx)(`b`,{children:`Add`}),` to install Aizzy`]})}]},oO={title:`Install Aizzy on macOS`,steps:[{text:(0,$.jsxs)($.Fragment,{children:[`Click `,(0,$.jsx)(`b`,{children:`Share`}),` in Safari's toolbar (or `,(0,$.jsx)(`b`,{children:`File`}),` → `,(0,$.jsx)(`b`,{children:`Share`}),`)`]})},{text:(0,$.jsxs)($.Fragment,{children:[`Select `,(0,$.jsx)(`b`,{children:`Add to Dock`})]})},{text:(0,$.jsxs)($.Fragment,{children:[`Click `,(0,$.jsx)(`b`,{children:`Add`}),` to install Aizzy`]})}]};function sO({config:e,onClose:t}){return(0,Fy.createPortal)((0,$.jsx)(`div`,{className:`fixed inset-0 z-[9999] flex items-center justify-center p-4`,style:{backgroundColor:`rgba(0, 0, 0, 0.6)`},onClick:t,children:(0,$.jsxs)(`div`,{className:`w-full max-w-sm rounded-2xl p-6 shadow-2xl`,style:{backgroundColor:`var(--darkgray)`,color:`var(--white)`},onClick:e=>e.stopPropagation(),children:[(0,$.jsx)(`h3`,{className:`mb-3 text-lg font-semibold`,children:e.title}),(0,$.jsx)(`ol`,{className:`space-y-3 text-sm`,style:{color:`var(--lightgray)`},children:e.steps.map((e,t)=>(0,$.jsxs)(`li`,{className:`flex gap-2`,children:[(0,$.jsxs)(`span`,{className:`font-bold`,style:{color:`var(--turquoise)`},children:[t+1,`.`]}),(0,$.jsx)(`span`,{children:e.text})]},t))}),(0,$.jsx)(`button`,{onClick:t,className:`mt-4 w-full rounded-lg py-2 text-sm font-medium`,style:{backgroundColor:`var(--turquoise)`,color:`var(--black)`},children:`Got it`})]})}),document.body)}function cO({variant:e=`default`}={}){let{canShowInstallButton:t,isAppleIOS:n,isMacSafari:r,promptInstall:i}=iO(),[a,o]=(0,Q.useState)(null);if(!t)return null;let s=()=>{n?o(aO):r?o(oO):i()};return(0,$.jsxs)($.Fragment,{children:[e===`prominent`?(0,$.jsxs)(`button`,{onClick:s,className:`flex items-center gap-3 rounded-xl px-6 py-3 text-base font-semibold shadow-lg transition hover:shadow-xl hover:opacity-90`,style:{backgroundColor:`var(--turquoise)`,color:`var(--black)`},children:[(0,$.jsx)(ya,{className:`h-5 w-5`}),(0,$.jsxs)(R,{align:`start`,gap:0,children:[(0,$.jsx)(`span`,{children:`Install Aizzy App`}),(0,$.jsx)(`span`,{className:`text-xs font-normal opacity-70`,children:`Add to your device for quick access`})]})]}):(0,$.jsxs)(`button`,{onClick:s,className:e===`compact`?`flex w-full items-center gap-2 rounded-lg px-3 py-1.5 text-xs font-medium transition`:`flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition hover:opacity-90`,style:e===`compact`?{color:`var(--lightgray)`}:{backgroundColor:`var(--turquoise)`,color:`var(--black)`},children:[(0,$.jsx)(ya,{className:e===`compact`?`h-3.5 w-3.5`:`h-4 w-4`}),`Install App`]}),a&&(0,$.jsx)(sO,{config:a,onClose:()=>o(null)})]})}var lO=()=>(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`g`,{filter:`url(#filter0_i_1114_3472)`,children:[(0,$.jsxs)(`g`,{clipPath:`url(#clip0_1114_3472)`,children:[(0,$.jsx)(`rect`,{width:`684.901`,height:`684.901`,rx:`187.278`,fill:`var(--black)`}),(0,$.jsx)(`g`,{opacity:`0.33`,filter:`url(#filter1_bf_1114_3472)`,children:(0,$.jsx)(`rect`,{x:`42.8086`,y:`42.8064`,width:`599.289`,height:`599.289`,rx:`299.644`,fill:`var(--black)`,fillOpacity:`0.24`})}),(0,$.jsxs)(`g`,{opacity:`0.11`,children:[(0,$.jsx)(`mask`,{id:`path-4-inside-1_1114_3472`,fill:`white`,children:(0,$.jsx)(`path`,{d:`M576.55 331.749C576.55 363.827 576.55 425.91 576.55 478.084C576.55 526.567 537.273 565.846 488.79 565.846C437.886 565.846 377.162 565.846 342.453 565.846C213.164 565.846 108.355 461.038 108.355 331.749C108.355 202.461 213.164 97.6521 342.453 97.6521C471.741 97.6521 576.55 202.461 576.55 331.749Z`})}),(0,$.jsx)(`g`,{filter:`url(#filter2_i_1114_3472)`,children:(0,$.jsx)(`path`,{d:`M576.55 331.749C576.55 363.827 576.55 425.91 576.55 478.084C576.55 526.567 537.273 565.846 488.79 565.846C437.886 565.846 377.162 565.846 342.453 565.846C213.164 565.846 108.355 461.038 108.355 331.749C108.355 202.461 213.164 97.6521 342.453 97.6521C471.741 97.6521 576.55 202.461 576.55 331.749Z`,fill:`url(#paint0_radial_1114_3472)`,fillOpacity:`0.24`})}),(0,$.jsx)(`path`,{d:`M577.281 331.749A234.828 234.828 0 1 1 107.624 331.749A234.828 234.828 0 1 1 577.281 331.749ZM575.818 331.749A233.365 233.365 0 1 1 109.087 331.749A233.365 233.365 0 1 1 575.818 331.749Z`,fillRule:`evenodd`,fill:`url(#paint1_linear_1114_3472)`,fillOpacity:`0.24`,mask:`url(#path-4-inside-1_1114_3472)`})]}),(0,$.jsx)(`g`,{opacity:`0.33`,filter:`url(#filter3_bf_1114_3472)`,children:(0,$.jsx)(`rect`,{x:`42.8086`,y:`42.8064`,width:`599.289`,height:`599.289`,rx:`299.644`,fill:`var(--black)`,fillOpacity:`0.24`})}),(0,$.jsx)(`g`,{opacity:`0.33`,filter:`url(#filter4_b_1114_3472)`,children:(0,$.jsx)(`rect`,{x:`42.8086`,y:`42.8064`,width:`599.289`,height:`599.289`,rx:`299.644`,fill:`var(--black)`,fillOpacity:`0.24`})}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`22.5435`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`171.7`,cy:`22.5435`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`263.118`,cy:`22.5435`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`354.54`,cy:`22.5435`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`445.958`,cy:`22.5435`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`537.376`,cy:`22.5435`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`628.798`,cy:`22.5435`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`113.963`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`171.7`,cy:`113.963`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`263.118`,cy:`113.963`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`354.54`,cy:`113.963`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`445.958`,cy:`113.963`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`537.376`,cy:`113.963`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`628.798`,cy:`113.963`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`205.383`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.32`,cx:`171.7`,cy:`205.383`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`263.118`,cy:`205.383`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`354.54`,cy:`205.383`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`445.958`,cy:`205.383`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`537.376`,cy:`205.383`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.88`,cx:`628.798`,cy:`205.383`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`296.802`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`171.7`,cy:`296.802`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`263.118`,cy:`296.802`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`354.54`,cy:`296.802`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`445.958`,cy:`296.802`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`628.798`,cy:`296.802`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`388.222`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`171.7`,cy:`388.222`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`263.118`,cy:`388.222`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`354.54`,cy:`388.222`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`445.958`,cy:`388.222`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`537.376`,cy:`388.222`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`628.798`,cy:`388.222`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`479.641`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.66`,cx:`171.7`,cy:`479.641`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`263.118`,cy:`479.641`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`354.54`,cy:`479.641`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`445.958`,cy:`479.641`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`537.376`,cy:`479.641`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`628.798`,cy:`479.641`,r:`5.57885`,fill:`var(--white)`}
vendor: 4,190 bytes, line 13
13),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`571.061`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`171.7`,cy:`571.061`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.66`,cx:`263.118`,cy:`571.061`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`354.54`,cy:`571.061`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`445.958`,cy:`571.061`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`537.376`,cy:`571.061`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`628.798`,cy:`571.061`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`80.2781`,cy:`662.481`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`171.7`,cy:`662.481`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`263.118`,cy:`662.481`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`354.54`,cy:`662.481`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`445.958`,cy:`662.481`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`537.376`,cy:`662.481`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`628.798`,cy:`662.481`,r:`5.57885`,fill:`var(--white)`}),(0,$.jsx)(`g`,{filter:`url(#filter5_i_1114_3472)`,children:(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M340.783 136.445C450.678 136.445 539.766 225.533 539.766 335.427V483.482C539.766 511.609 516.965 534.41 488.838 534.41H340.783C230.888 534.41 141.801 445.322 141.801 335.427C141.801 225.533 230.888 136.445 340.783 136.445Z`,fill:`url(#paint2_radial_1114_3472)`})}),(0,$.jsx)(`path`,{d:`M340.783 137.114C450.309 137.114 539.097 225.902 539.097 335.427V483.482C539.097 511.239 516.595 533.741 488.838 533.741H340.783C231.258 533.741 142.47 444.953 142.47 335.427C142.47 225.902 231.258 137.114 340.783 137.114Z`,stroke:`url(#paint3_linear_1114_3472)`,strokeWidth:`1.3377`}),(0,$.jsx)(`path`,{opacity:`0.11`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M542.319 309.881C543.281 317.816 543.776 325.895 543.776 334.09V482.145C543.776 510.271 520.975 533.073 492.848 533.073H344.794C274.162 533.073 212.125 496.271 176.812 440.797C182.036 329.454 273.962 240.786 386.597 240.786C448.357 240.786 503.89 267.444 542.319 309.881Z`,fill:`black`}),(0,$.jsx)(`g`,{opacity:`0.22`,filter:`url(#filter6_f_1114_3472)`,children:(0,$.jsx)(`ellipse`,{cx:`283.503`,cy:`203.547`,rx:`88.4552`,ry:`117.093`,transform:`rotate(56.952 283.503 203.547)`,fill:`white`})}),(0,$.jsx)(`g`,{opacity:`0.22`,filter:`url(#filter7_f_1114_3472)`,children:(0,$.jsx)(`ellipse`,{cx:`285.221`,cy:`194.244`,rx:`49.4806`,ry:`65.5002`,transform:`rotate(56.952 285.221 194.244)`,fill:`white`})}),(0,$.jsx)(`g`,{filter:`url(#filter8_dddi_1114_3472)`,children:(0,$.jsx)(`circle`,{cx:`343.793`,cy:`335.093`,r:`86.2815`,fill:`var(--black)`})})]}),(0,$.jsx)(`rect`,{x:`0.668849`,y:`0.668849`,width:`683.564`,height:`683.564`,rx:`186.609`,stroke:`url(#paint4_linear_1114_3472)`,strokeOpacity:`0.24`,strokeWidth:`1.3377`})]}),(0,$.jsxs)(`defs`,{children:[(0,$.jsxs)(`filter`,{id:`filter0_i_1114_3472`,x:`0`,y:`0`,width:`684.902`,height:`697.609`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dy:`12.7081`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`18.8615`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect1_innerShadow_1114_3472`})]}),(0,$.jsxs)(`filter`,{id:`filter1_bf_1114_3472`,x:`-224.731`,y:`-224.733`,width:`1134.37`,height:`1134.37`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`Backgroun
13dImageFix`}),(0,$.jsx)(`feGaussianBlur`,{in:`BackgroundImageFix`,stdDeviation:`133.77`}),(0,$.jsx)(`feComposite`,{in2:`SourceAlpha`,operator:`in`,result:`effect1_backgroundBlur_1114_3472`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_backgroundBlur_1114_3472`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`33.4425`,result:`effect2_foregroundBlur_1114_3472`})]}),(0,$.jsxs)(`filter`,{id:`filter2_i_1114_3472`,x:`108.355`,y:`97.6521`,width:`468.195`,height:`471.121`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dy:`2.92621`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`5.85243`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect1_innerShadow_1114_3472`})]}),(0,$.jsxs)(`filter`,{id:`filter3_bf_1114_3472`,x:`-224.731`,y:`-224.733`,width:`1134.37`,height:`1134.37`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feGaussianBlur`,{in:`BackgroundImageFix`,stdDeviation:`133.77`}),(0,$.jsx)(`feComposite`,{in2:`SourceAlpha`,operator:`in`,result:`effect1_backgroundBlur_1114_3472`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_backgroundBlur_1114_3472`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`33.4425`,result:`effect2_foregroundBlur_1114_3472`})]}),(0,$.jsxs)(`filter`,{id:`filter4_b_1114_3472`,x:`-224.731`,y:`-224.733`,width:`1134.37`,height:`1134.37`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feGaussianBlur`,{in:`BackgroundImageFix`,stdDeviation:`133.77`}),(0,$.jsx)(`feComposite`,{in2:`SourceAlpha`,operator:`in`,result:`effect1_backgroundBlur_1114_3472`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_backgroundBlur_1114_3472`,result:`shape`})]}),(0,$.jsxs)(`filter`,{id:`filter5_i_1114_3472`,x:`141.801`,y:`136.445`,width:`397.965`,height:`400.64`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dy:`2.6754`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`13.377`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect1_innerShadow_1114_3472`})]}),(0,$.jsxs)(`filter`,{id:`filter6_f_1114_3472`,x:`96.4638`,y:`28.0405`,width:`374.08`,height:`351.013`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`38.8267`,result:`effect1_foregroundBlur_1114_3472`})]}),(0,$.jsxs)(`filter`,{id:`filter7_f_1114_3472`,x:`146.378`,y:`61.8527`,width:`277.686`,height:`264.782`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`38.8267`,result:`effect1_foregroundBlur_1114_3472`})]}),(0,$.jsxs)(`filter`,{id:`filter8_dddi_1114_3472`,x:`223.963`,y:`229.571`,width:`288.047`,height:`288.048`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`Backgroun
13dImageFix`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dx:`4.83865`,dy:`7.70039`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`4.69157`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.065 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_1114_3472`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dx:`12.2478`,dy:`19.4916`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`12.586`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08775 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`effect1_dropShadow_1114_3472`,result:`effect2_dropShadow_1114_3472`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dx:`24.1932`,dy:`38.5019`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`28.8712`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`effect2_dropShadow_1114_3472`,result:`effect3_dropShadow_1114_3472`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect3_dropShadow_1114_3472`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feMorphology`,{radius:`0.72178`,operator:`erode`,in:`SourceAlpha`,result:`effect4_innerShadow_1114_3472`}),(0,$.jsx)(`feOffset`,{dy:`5.05246`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`8.01175`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.304525 0 0 0 0 0.349208 0 0 0 0 0.438574 0 0 0 0.4 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect4_innerShadow_1114_3472`})]}),(0,$.jsxs)(`radialGradient`,{id:`paint0_radial_1114_3472`,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(280.25 152.163) rotate(73.8339) scale(488.862)`,children:[(0,$.jsx)(`stop`,{stopColor:`white`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0.24`})]}),(0,$.jsxs)(`linearGradient`,{id:`paint1_linear_1114_3472`,x1:`270.217`,y1:`113.704`,x2:`342.453`,y2:`598.996`,gradientUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`stop`,{stopColor:`white`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0`})]}),(0,$.jsxs)(`radialGradient`,{id:`paint2_radial_1114_3472`,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(271.223 202.326) rotate(50.8354) scale(302.362 494.339)`,children:[(0,$.jsx)(`stop`,{stopColor:`var(--turquoise)`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`var(--teal)`})]}),(0,$.jsxs)(`linearGradient`,{id:`paint3_linear_1114_3472`,x1:`271.223`,y1:`162.53`,x2:`340.783`,y2:`534.41`,gradientUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`stop`,{stopColor:`white`,stopOpacity:`0.12`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0`})]}),(0,$.jsxs)(`linearGradient`,{id:`paint4_linear_1114_3472`,x1:`342.451`,y1:`0`,x2:`342.451`,y2:`684.901`,gradientUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`stop`,{stopColor:`white`,stopOpacity:`0.16`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0`})]}),(0,$.jsx)(`clipPath`,{id:`clip0_1114_3472`,children:(0,$.jsx)(`rect`,{width:`684.901`,height:`684.901`,rx:`187.278`,fill:`white`})})]})]}),uO=()=>(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`g`,{filter:`url(#filter0_i_1114_1564)`,children:[(0,$.jsxs)(`g`,{clipPath:`url(#clip0_1114_1564)`,children:[(0,$.jsx)(`rect`,{width:`23.9104`,height:`23.9104`,rx:`6.53801`,fill:`var(--black)`}),(0,$.jsx)(`g`,{opacity:`0.33`,filter:`url(#filter1_bf_1114_1564)`,children:(0,$.jsx)(`rect`,{x:`1.49414`,y:`1.49414`,width:`20.9216`,height:`20.9216`,rx:`10.4608`,fill:`var(--black)`,fillOpacity:`0.24`})}),(0,$.jsxs)(`g`,{opacity:`0.11`,children:[(0,$.jsx)(`mask`,{id:`path-4-inside-1_1114_1564`,fill:`white`,children:(0,$.jsx)(`path`,{d:`M20.1273 11.5807C20.1273 12.7006 20.1273 14.8679 20.1273 16.6894C20.1273 18.382 
1318.7561 19.7532 17.0635 19.7532C15.2864 19.7532 13.1665 19.7532 11.9547 19.7532C7.44119 19.7532 3.78223 16.0943 3.78223 11.5807C3.78223 7.06716 7.44119 3.4082 11.9547 3.4082C16.4683 3.4082 20.1273 7.06716 20.1273 11.5807Z`})}),(0,$.jsx)(`g`,{filter:`url(#filter2_i_1114_1564)`,children:(0,$.jsx)(`path`,{d:`M20.1273 11.5807C20.1273 12.7006 20.1273 14.8679 20.1273 16.6894C20.1273 18.382 18.7561 19.7532 17.0635 19.7532C15.2864 19.7532 13.1665 19.7532 11.9547 19.7532C7.44119 19.7532 3.78223 16.0943 3.78223 11.5807C3.78223 7.06716 7.44119 3.4082 11.9547 3.4082C16.4683 3.4082 20.1273 7.06716 20.1273 11.5807Z`,fill:`url(#paint0_radial_1114_1564)`,fillOpacity:`0.24`})})]}),(0,$.jsx)(`g`,{opacity:`0.33`,filter:`url(#filter3_bf_1114_1564)`,children:(0,$.jsx)(`rect`,{x:`1.49414`,y:`1.49414`,width:`20.9216`,height:`20.9216`,rx:`10.4608`,fill:`var(--black)`,fillOpacity:`0.24`})}),(0,$.jsx)(`g`,{opacity:`0.33`,filter:`url(#filter4_b_1114_1564)`,children:(0,$.jsx)(`rect`,{x:`1.49414`,y:`1.49414`,width:`20.9216`,height:`20.9216`,rx:`10.4608`,fill:`var(--black)`,fillOpacity:`0.24`})}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`0.786559`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`5.99359`,cy:`0.786559`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`9.185`,cy:`0.786559`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`12.3774`,cy:`0.786559`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`15.5688`,cy:`0.786559`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`18.7602`,cy:`0.786559`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`21.9516`,cy:`0.786559`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`3.97797`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`5.99359`,cy:`3.97797`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`9.185`,cy:`3.97797`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`12.3774`,cy:`3.97797`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`15.5688`,cy:`3.97797`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`18.7602`,cy:`3.97797`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`21.9516`,cy:`3.97797`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`7.17035`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.32`,cx:`5.99359`,cy:`7.17035`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`9.185`,cy:`7.17035`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`12.3774`,cy:`7.17035`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`15.5688`,cy:`7.17035`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`18.7602`,cy:`7.17035`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.88`,cx:`21.9516`,cy:`7.17035`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`10.3618`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`5.99359`,cy:`10.3618`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`9.185`,cy:`10.3618`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`12.3774`,cy:`10.3618`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`15.5688`,cy:`10.3618`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`21.9516`,cy:`10.3618`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`13.5532`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`5.99359`,cy:`13.5532`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`9.185`,cy:`13.5532`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`12.3774`,cy:`13.5532`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`15.5688`,cy:`13.5532`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`18.7602`,cy:`13.5532`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`21.9516`,cy:`13.5532`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`16.7446`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.66`,cx:`5.99359`,cy:`16.7446`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.55`,cx:`9.185`,cy:`16.7446`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`12.3774`,cy:`16.7446`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.33`,cx:`15.5688`,cy:`16.7446`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`18.7602`,cy:`16.7446`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`21.9516`,cy:`16.7446`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`19.936`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`5.99359`,cy:`19.936`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.66`,cx:`9.185`,cy:`19.936`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`12.3774`,cy:`19.936`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`15.5688`,cy:`19.936`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`18.7602`,cy:`19.936`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`21.9516`,cy:`19.936`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`2.80218`,cy:`23.1274`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`5.99359`,cy:`23.1274`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`9.185`,cy:`23.1274`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`12.3774`,cy:`23.1274`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`15.5688`,cy:`23.1274`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.04`,cx:`18.7602`,cy:`23.1274`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`circle`,{opacity:`0.11`,cx:`21.9516`,cy:`23.1274`,r:`0.194762`,fill:`var(--white)`}),(0,$.jsx)(`g`,{filter:`url(#filter5_i_1114_1564)`,children:(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.8968 4.76367C15.7333 4.76367 18.8435 7.8738 18.8435 11.7103V16.879C18.8435 17.8609 18.0475 18.6569 17.0655 18.6569H11.8968C8.06031 18.6569 4.9502 15.5468 4.9502 11.7103C4.9502 7.8738 8.06031 4.76367 11.8968 4.76367Z`,fill:`url(#paint2_radial_1114_1564)`})}),(0,$.jsx)(`path`,{d:`M11.8968 4.78702C15.7205 4.78702 18.8201 7.88669 18.8201 11.7103V16.879C18.8201 17.848 18.0346 18.6336 17.0655 18.6336H11.8968C8.0732 18.6336 4.97355 15.5339 4.97355 11.7103C4.97355 7.88669 8.0732 4.78702 11.8968 4.78702Z`,stroke:`url(#paint3_linear_1114_1564)`,strokeWidth:`0.0467001`}),(0,$.jsx)(`path`,{opacity:`0.11`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.933 10.8184C18.9666 11.0955 18.9838 11.3775 18.9838 11.6636V16.8323C18.9838 17.8142 18.1878 18.6102 17.2059 18.6102H12.0372C9.57139 18.6102 7.40564 17.3254 6.17285 15.3888C6.3552 11.5017 9.5644 8.40625 13.4966 8.40625C15.6527 8.40625 17.5914 9.33692 18.933 10.8184Z`,fill:`black`}),(0,$.jsx)(`g`,{opacity:`0.22`,filter:`url(#filter6_f_1114_1564)`,children:(0,$.jsx)(`ellipse`,{cx:`9.89722`,cy:`7.10577`,rx:`3.08804`,ry:`4.08781`,transform:`rotate(56.952 9.89722 7.10577)`,fill:`white`})}),(0,$.jsx)(`g`,{opacity:`0.22`,filter:`url(#filter7_f_1114_1564)`,children:(0,$.jsx)(`ellipse`,{cx:`9.95793`,cy:`6.78089`,rx:`1.72741`,ry:`2.28666`,transform:`rotate(56.952 9.95793 6.78089)`,fill:`white`})}),(0,$.jsx)(`g`,{filter:`url(#filter8_dddi_1114_1564)`,children:(0,$.jsx)(`circle`,{cx:`12.0024`,cy:`11.6977`,r:`3.01216`,fill:`var(--black)`})})]}),(0,$.jsx)(`rect`,{x:`0.02335`,y:`0.02335`,width:`23.8637`,height:`23.8637`,rx:`6.51466`,stroke:`url(#paint4_linear_1114_1564)`,strokeOpacity:`0.24`,strokeWidth:`0.0467001`})]}),(0,$.jsx)(`path`,{d:`M31.9375 19.425H28.8135L34.5014 3.26855H38.1145L43.8
13103 19.425H40.6863L36.371 6.5819H36.2448L31.9375 19.425ZM32.04 13.0902H40.5601V15.4411H32.04V13.0902Z`,fill:`var(--logo-text)`}),(0,$.jsx)(`path`,{d:`M45.1293 19.425V7.30767H47.9851V19.425H45.1293Z`,fill:`var(--logo-text)`}),(0,$.jsx)(`path`,{d:`M49.5709 19.425V17.6106L55.8189 9.7769V9.67435H49.776V7.30767H59.3137V9.25623L53.3654 16.9558V17.0584H59.5188V19.425H49.5709Z`,fill:`var(--logo-text)`}),(0,$.jsx)(`path`,{d:`M60.8256 19.425V17.6106L67.0736 9.7769V9.67435H61.0307V7.30767H70.5684V9.25623L64.6202 16.9558V17.0584H70.7735V19.425H60.8256Z`,fill:`var(--logo-text)`}),(0,$.jsx)(`path`,{d:`M74.7368 23.9995C74.3476 23.9995 73.9874 23.968 73.6561 23.9049C73.33 23.847 72.5022 23.4841 72.3076 23.4052L73.5377 21.4751C73.9532 21.5961 74.324 21.6539 74.6501 21.6487C74.9761 21.6434 75.2628 21.5408 75.5099 21.341C75.7624 21.1464 75.9754 20.8203 76.1489 20.3628L76.3935 19.708L71.9994 7.33818H75.0287L77.8214 16.4893H77.9476L80.7482 7.33818H83.7854L78.9337 20.9229C78.7076 21.5645 78.4078 22.1141 78.0344 22.5717C77.661 23.0345 77.2034 23.3868 76.6617 23.6288C76.1253 23.876 75.4837 23.9995 74.7368 23.9995Z`,fill:`var(--logo-text)`}),(0,$.jsxs)(`defs`,{children:[(0,$.jsxs)(`filter`,{id:`filter0_i_1114_1564`,x:`0`,y:`0`,width:`23.9102`,height:`24.3538`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dy:`0.443651`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`0.658471`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect1_innerShadow_1114_1564`})]}),(0,$.jsxs)(`filter`,{id:`filter1_bf_1114_1564`,x:`-7.84588`,y:`-7.84588`,width:`39.6019`,height:`39.6019`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feGaussianBlur`,{in:`BackgroundImageFix`,stdDeviation:`4.67001`}),(0,$.jsx)(`feComposite`,{in2:`SourceAlpha`,operator:`in`,result:`effect1_backgroundBlur_1114_1564`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_backgroundBlur_1114_1564`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`1.1675`,result:`effect2_foregroundBlur_1114_1564`})]}),(0,$.jsxs)(`filter`,{id:`filter2_i_1114_1564`,x:`3.78223`,y:`3.4082`,width:`16.3447`,height:`16.4469`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dy:`0.102156`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`0.204313`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect1_innerShadow_1114_1564`})]}),(0,$.jsxs)(`filter`,{id:`filter3_bf_1114_1564`,x:`-7.84588`,y:`-7.84588`,width:`39.6019`,height:`39.6019`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feGaussianBlur`,{in:`BackgroundImageFix`,stdDeviation:`4.67001`}),(0,$.jsx)(`feComposite`,{in2:`SourceAlpha`,operator:`in`,result:`effect1_backgroundBlur_1114_1564`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_backgroundBlur_1114_1564`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`1.1675`,result:`effect2_foregroundBlur_1114_1564`})]}),(0,$.jsxs)(`filter`,{id:`filter4_b_1114_1564`,x:`-7.84588`,y:`-7.84588`,width:`39.6019`,height:`39.6019`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`Backgroun
13dImageFix`}),(0,$.jsx)(`feGaussianBlur`,{in:`BackgroundImageFix`,stdDeviation:`4.67001`}),(0,$.jsx)(`feComposite`,{in2:`SourceAlpha`,operator:`in`,result:`effect1_backgroundBlur_1114_1564`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_backgroundBlur_1114_1564`,result:`shape`})]}),(0,$.jsxs)(`filter`,{id:`filter5_i_1114_1564`,x:`4.9502`,y:`4.76367`,width:`13.8936`,height:`13.987`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dy:`0.0934002`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`0.467001`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect1_innerShadow_1114_1564`})]}),(0,$.jsxs)(`filter`,{id:`filter6_f_1114_1564`,x:`3.36719`,y:`0.978513`,width:`13.0596`,height:`12.2539`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`1.35547`,result:`effect1_foregroundBlur_1114_1564`})]}),(0,$.jsxs)(`filter`,{id:`filter7_f_1114_1564`,x:`5.11035`,y:`2.15918`,width:`9.69434`,height:`9.24317`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`1.35547`,result:`effect1_foregroundBlur_1114_1564`})]}),(0,$.jsxs)(`filter`,{id:`filter8_dddi_1114_1564`,x:`7.81901`,y:`8.01385`,width:`10.0561`,height:`10.0561`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dx:`0.168921`,dy:`0.268827`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`0.163786`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.065 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_1114_1564`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dx:`0.427581`,dy:`0.680467`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`0.439388`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08775 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`effect1_dropShadow_1114_1564`,result:`effect2_dropShadow_1114_1564`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feOffset`,{dx:`0.844605`,dy:`1.34413`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`1.00792`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`effect2_dropShadow_1114_1564`,result:`effect3_dropShadow_1114_1564`}),(0,$.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect3_dropShadow_1114_1564`,result:`shape`}),(0,$.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,$.jsx)(`feMorphology`,{radius:`0.0251979`,operator:`erode`,in:`SourceAlpha`,result:`effect4_innerShadow_1114_1564`}),(0,$.jsx)(`feOffset`,{dy:`0.176385`}),(0,$.jsx)(`feGaussianBlur`,{stdDeviation:`0.279697`}),(0,$.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`arithmetic`,k2:`-1`,k3:`1`}),(0,$.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.304525 0 0 0 0 0.349208 0 0 0 0 0.438574 0 0 0 0.4 0`}
13),(0,$.jsx)(`feBlend`,{mode:`normal`,in2:`shape`,result:`effect4_innerShadow_1114_1564`})]}),(0,$.jsxs)(`radialGradient`,{id:`paint0_radial_1114_1564`,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(9.78319 5.31123) rotate(73.8339) scale(17.0666)`,children:[(0,$.jsx)(`stop`,{stopColor:`white`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0.24`})]}),(0,$.jsxs)(`linearGradient`,{id:`paint1_linear_1114_1564`,x1:`9.43294`,y1:`3.9686`,x2:`11.9547`,y2:`20.9105`,gradientUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`stop`,{stopColor:`white`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0`})]}),(0,$.jsxs)(`radialGradient`,{id:`paint2_radial_1114_1564`,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(9.46843 7.06365) rotate(50.8354) scale(10.5557 17.2577)`,children:[(0,$.jsx)(`stop`,{stopColor:`var(--turquoise)`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`var(--teal)`})]}),(0,$.jsxs)(`linearGradient`,{id:`paint3_linear_1114_1564`,x1:`9.46843`,y1:`5.67432`,x2:`11.8968`,y2:`18.6569`,gradientUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`stop`,{stopColor:`white`,stopOpacity:`0.12`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0`})]}),(0,$.jsxs)(`linearGradient`,{id:`paint4_linear_1114_1564`,x1:`11.9552`,y1:`0`,x2:`11.9552`,y2:`23.9104`,gradientUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`stop`,{stopColor:`white`,stopOpacity:`0.16`}),(0,$.jsx)(`stop`,{offset:`1`,stopColor:`white`,stopOpacity:`0`})]}),(0,$.jsx)(`clipPath`,{id:`clip0_1114_1564`,children:(0,$.jsx)(`rect`,{width:`23.9104`,height:`23.9104`,rx:`6.53801`,fill:`white`})})]})]});function dO({variant:e=`full`,width:t,height:n,className:r}){return e===`icon`?(0,$.jsx)(`svg`,{width:t??40,height:n??40,viewBox:`0 0 685 685`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:r,children:(0,$.jsx)(lO,{})}):(0,$.jsx)(`svg`,{width:t??84,height:n??24,viewBox:`0 0 84 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:r,children:(0,$.jsx)(uO,{})})}var fO=({onToggle:e,state:t,iconLeftPipe:n,expanded:r,ariaLabel:i,ariaExpanded:a,ariaControls:o})=>{let s=t?.openLeftBar;return(0,$.jsx)(z,{type:`button`,variant:`ghost`,size:`sm`,className:`btn-open-bar ${s?`is-open`:`is-closed`} ${n?`has-pipe`:``}`,onClick:e,"aria-label":i,"aria-expanded":a,"aria-controls":o,children:(0,$.jsx)(V,{align:`center`,justify:`center`,className:`icon-open-bar`,children:n?s?(0,$.jsx)(uy,{stroke:1.5,className:`sidebar-toggle-icon`}):(0,$.jsx)(dy,{stroke:1.5,className:`sidebar-toggle-icon`}):(0,$.jsx)(ge,{stroke:1.5,className:`sidebar-toggle-icon ${r?`is-expanded`:`is-collapsed`}`})})})};fO.displayName=`ButtonOpenLeftBar`;var pO=({openLeftBar:e,chatListOpen:t,isCreating:n,groupChats:r,searchChats:i,showInput:a,dropDownShow:o,loading:s,dropdownRef:c,onNewChat:l,onLogoClick:u,onSidebarToggle:d,onSearchToggle:f,onDropdownToggle:p,onDeleteAllChats:m,onChatListToggle:h,setSearchChats:g})=>{let _=t?Qe():nn();return(0,$.jsxs)($.Fragment,{children:[!e&&(0,$.jsx)(z,{type:`button`,variant:`ghost`,size:`sm`,onClick:u,className:`pointer-event`,children:(0,$.jsx)(dO,{variant:`icon`})}),(0,$.jsxs)(V,{justify:`between`,align:`center`,className:`sidebar-logo-row`,children:[e&&(0,$.jsx)(z,{type:`button`,variant:`ghost`,size:`sm`,onClick:u,className:`pointer-event`,children:(0,$.jsx)(dO,{variant:`full`,width:84,height:24})}),(0,$.jsx)(fO,{onToggle:d,state:{openLeftBar:e,windowWidth:void 0},iconLeftPipe:!0})]}),!e&&(0,$.jsx)(xe,{className:`divider`}),e&&(0,$.jsx)(xe,{className:`px-1 pb-1`,children:(0,$.jsx)(cO,{variant:`compact`})}),(0,$.jsx)(ve,{dark:!0,type:`button`,onClick:l,disabled:n,children:n?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(me,{size:16}),(0,$.jsx)(`span`,{className:`one-line`,children:`Creating...`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(fe,{stroke:1.5,size:16,className:`sidebar-icon`}),e&&(0,$.jsx)(`span`,{className:`one-line`,children:Ur()})]})}),(0,$.jsx)(de,{icon:(0,$.jsx)(Ay,{stroke:1.8,size:16,className:`sidebar-icon`}),label:Xr(),to:`/assistants`,showLabel:e}),(0,$.jsx)(de,{icon:(0,$.jsx)(Ny,{stroke:1.8,size:16,className:`sidebar-icon`}),label:Mr(),to:`/community`,showLabel:e}),e&&r&&(0,$.jsxs)(V,{ref:c,className:`sidebar-chats-row cursor-pointer`,align:`center`,justify:`between`,children:[(0,$.jsxs)(V,{align:`center`,gap:3,className:`sidebar-row`,children:[(0,$.jsx)(Sy,{stroke:1.5,size:14}),(0,$.jsx)(z,{type:`button`,variant:`ghost`,className:`one-line sidebar-chats-label bg-transparent border-0 p-0`,"aria-expanded":t,"aria-controls":`sidebar-chat-list`,title:_,onClick:h,children:`Chats`})]}),(0,$.jsxs)(V,{align:`center`,gap:2,className:`animate__animated animate__fadeInDown animate__faster`,children:[t&&(0,$.jsx)(ve,{type:`button`,"aria-label":qt(),title:qt(),"aria-pressed":a,props:{className:`button-search-aside`},onClick:f,children:(0,$.jsx)(_a,{stroke:1.5,size:13,className:a?`icon-on`:`icon-muted`})}),(0,$.jsx)(ve,{type:`button`,"aria-label":pt(),title:pt(),"aria-haspopup":`menu`,"aria-expanded":o,props:{className:`button-chats-menu${o?` is-active`:``}`},onClick:p,children:(0,$.jsx)(hy,{stroke:1.5,size:14})}
13),(0,$.jsx)(fO,{ariaLabel:_,ariaExpanded:t,ariaControls:`sidebar-chat-list`,state:{openLeftBar:e,windowWidth:void 0},onToggle:h,expanded:t})]}),o&&(0,$.jsx)(R,{gap:2,role:`menu`,"aria-label":pt(),className:`px-2 dropdown-chats animate__animated animate__fadeInDown animate__faster`,children:(0,$.jsx)(ve,{type:`button`,hover:!0,role:`menuitem`,onClick:m,props:{className:`w-full ${s?`flex justify-center`:`flex justify-between`}`},children:s?(0,$.jsx)(me,{size:16}):(0,$.jsxs)($.Fragment,{children:[e&&(0,$.jsx)(`span`,{className:`one-line`,children:Yn()}),(0,$.jsx)(le,{stroke:1.5,size:16})]})})})]}),r&&a&&e&&t&&(0,$.jsx)(P,{className:`animate__animated animate__fadeInDown animate__faster`,type:`text`,name:`search-chats`,placeholder:qt(),"aria-label":qt(),id:`search-chats`,value:i,onChange:e=>g(e.target.value)})]})};function mO(e,t,n){let r=e.getQueryData(t);r&&e.setQueryData(t,r.filter(e=>!n(e)))}function hO(e,t,n,r=`assistants`){let i=e.getQueryData(t);if(!i)return;let a=i[r];Array.isArray(a)&&e.setQueryData(t,{...i,[r]:[n,...a],total_count:(i.total_count||0)+1})}var gO=(0,Q.memo)(({source:e})=>{let t=e===`indexeddb`;return(0,$.jsx)(`span`,{className:`channel-source-badge ${t?`local`:`server`}`,children:t?`local`:`server`})});gO.displayName=`ChannelSourceBadge`;var _O=(0,Q.memo)(({chatId:e})=>{let t=_o(t=>t.progressByChannel[e]);if(!t)return null;switch(t.status){case yo.IMPORTING_IMAGE:return(0,$.jsxs)(`span`,{className:`chat-list-progress chat-list-progress-image`,title:t.description||`Importing images…`,children:[(0,$.jsx)(Ey,{className:`spin`,size:14}),t.description&&(0,$.jsx)(`span`,{children:t.description})]});case yo.IMPORTING_AUDIO:return(0,$.jsxs)(`span`,{className:`chat-list-progress chat-list-progress-audio`,title:t.description||`Transcribing audio…`,children:[(0,$.jsx)(wy,{className:`spin`,size:14}),t.description&&(0,$.jsx)(`span`,{children:t.description})]});case yo.PROCESSING:return(0,$.jsx)(me,{size:16,className:`chat-list-progress-icon`});case yo.COMPLETED:return(0,$.jsx)(fy,{size:16,className:`chat-list-progress-icon completed`});default:return null}});_O.displayName=`ProgressBadge`;var vO=(0,Q.memo)(({chat:e,index:t,openLeftBar:n,sizeIcon:r,configsMainChat:i,loadingChatId:a,iconTrash:o,handleSelectChat:s,handleChannelDelete:c,handleChannelRename:l,onMouseEnter:u,onMouseLeave:d})=>{let f=i?.chatData?._id===e._id,p=a===e._id,m=o===e._id,h=(0,Q.useCallback)(()=>{s(e)},[s,e]),g=(0,Q.useCallback)(t=>{t.stopPropagation();let n=e.id||e._id;n&&c(n)},[c,e]),[_,v]=(0,Q.useState)(null),[y,b]=(0,Q.useState)(!1),[x,S]=(0,Q.useState)(``),C=(0,Q.useCallback)(e=>{e.preventDefault(),v({x:e.clientX,y:e.clientY})},[]),w=(0,Q.useCallback)(()=>v(null),[]),T=(0,Q.useCallback)(()=>{b(!1);let t=x.trim(),n=e.id||e._id;t&&n&&t!==e.channel_name&&l(n,t)},[x,e.id,e._id,e.channel_name,l]),E=e._id||e.id,{attributes:D,listeners:O,setNodeRef:k,isDragging:A}=kS({id:E??`chat-row-${t}`,disabled:!E,data:{type:`chat-row`,title:e.channel_name}});return(0,$.jsxs)(`li`,{ref:k,onMouseEnter:()=>u(e._id),onMouseLeave:d,children:[(0,$.jsxs)(ve,{onClick:h,hover:!0,props:{className:`hover-list-chats chat-list-row${f?` active`:``}${p?` loading`:``}${A?` opacity-40`:``}`,onContextMenu:C,...E?{...O,...D}:{},...e._id?{"data-channel-id":e._id}:{}},children:[!n&&(0,$.jsx)(Cy,{size:r,className:`sidebar-icon`}),n&&(p?(0,$.jsx)(me,{}):(0,$.jsxs)(V,{className:`chat-list-row-body`,align:`center`,justify:`between`,children:[(0,$.jsxs)(V,{align:`center`,gap:2,className:`channel-content`,children:[y?(0,$.jsx)(`input`,{autoFocus:!0,value:x,className:`min-w-0 flex-1 rounded border border-[var(--input-border)] bg-[var(--input-bg)] px-1.5 py-0.5 text-sm text-[var(--app-text)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--turquoise)]`,"aria-label":Ge(),onClick:e=>e.stopPropagation(),onChange:e=>S(e.target.value),onKeyDown:e=>{e.key===`Enter`&&T(),e.key===`Escape`&&b(!1)},onBlur:T}):(0,$.jsx)(`span`,{className:`channel-name`,children:e?.channel_name}),(0,$.jsx)(gO,{source:e?.source}),(0,$.jsx)(_O,{chatId:e._id})]}),m&&(0,$.jsx)(`span`,{className:`chat-list-trash`,children:(0,$.jsx)(le,{stroke:1.5,size:16,onClick:g})})]}))]}),_&&(0,$.jsx)(te,{x:_.x,y:_.y,onClose:w,items:[{id:`rename`,label:di(),onSelect:()=>{S(e.channel_name??``),b(!0)}},{id:`delete`,label:Ot(),onSelect:()=>{let t=e.id||e._id;t&&c(t)}}]})]},e._id||e.id||t)});vO.displayName=`ChatListItem`;var yO=({title:e=`Title`,chats:t=[]})=>{let{windowWidth:n,openLeftBar:r,setConfigsMainChat:i,setOpenLeftBarMobile:a}=Vi(),[s,l]=(0,Q.useState)(null),[u,d]=(0,Q.useState)(null),f=xo(e=>e.reset),p=c(),m=o(),h=Ia(),{isMobileLg:g}=co(),_=n>=992?21:18,v=(0,Q.useCallback)(e=>{if(h?.chatData?._id===e._id)return;let t=e.source===`indexeddb`?{...e,id:e._id||e.id,_id:e._id}:e;i(Sa.chatData,t),i(`enableWebSearch`,Ri(Vi.getState().configsMainChat)),i(`webSearchExplicit`,!1),i(`enableMultiSearch`,!1),_o.getState().progressByChannel[e._id]?.status===yo.COMPLETED&&_o.getState().clearProgress(e._id
13),m.pathname!==`/`&&p(`/app`),g&&a(!1)},[h?.chatData?._id,m.pathname,p,i,a,g]),y=(0,Q.useCallback)(async e=>{if(e){if(l(e),await ba(_n()))try{let t=h?.chatData?._id===e,n=await go.deleteChannel(e);if(!n.success)throw Error(n.message);mO(lo,[uo.CHANNELS],t=>t._id===e),t&&(i(Sa.chatData,null),f()),lo.invalidateQueries({queryKey:[uo.CHANNELS]}),lo.invalidateQueries({queryKey:uo.channels.stats()}),lo.invalidateQueries({queryKey:uo.channels.migration()})}catch(e){T.channel.error(ho.errorDeletingChannel,e)}finally{l(null)}else l(null)}},[h?.chatData?._id,f,i]),b=(0,Q.useCallback)(async(e,t)=>{if(!e||!t.trim())return;let n=await go.renameChannel(e,t.trim());if(!n.success){T.channel.error(n.message);return}lo.invalidateQueries({queryKey:[uo.CHANNELS]}),lo.invalidateQueries({queryKey:uo.channels.stats()});let r=Vi.getState().configsMainChat?.chatData;r&&r._id===e&&i(`chatData`,{...r,channel_name:t.trim()})},[lo,i]),x=(0,Q.useCallback)(e=>{d(e)},[]),S=(0,Q.useCallback)(()=>{d(null)},[]);return(0,$.jsxs)(`section`,{className:`group-list-chats`,children:[e&&(0,$.jsx)(`h6`,{children:e}),(0,$.jsx)(ne,{data:t||[],keyExtractor:(e,t)=>e._id||e.id||String(t),renderItem:(e,t)=>(0,$.jsx)(vO,{chat:e,index:t,openLeftBar:r,sizeIcon:_,isMobile:g,configsMainChat:h,loadingChatId:s,iconTrash:u,handleSelectChat:v,handleChannelDelete:y,handleChannelRename:b,onMouseEnter:x,onMouseLeave:S}),listItem:!1})]})},bO=({openLeftBar:e,searchChats:t,groupedChats:n,filteredChannels:r,isLoading:i})=>i?(0,$.jsx)(V,{justify:`center`,className:`mt-4 w-full`,children:(0,$.jsx)(me,{size:16})}):e?t.length>0?(0,$.jsx)(R,{gap:2,id:`sidebar-chat-list`,className:`list-chats`,children:(0,$.jsx)(yO,{title:nt(),chats:r})}):(0,$.jsxs)(R,{gap:2,id:`sidebar-chat-list`,className:`list-chats`,children:[n.todayChats.length>0&&(0,$.jsx)(yO,{title:e?mn():null,chats:n.todayChats}),n.yesterdayChats.length>0&&(0,$.jsx)(yO,{title:e?lt():null,chats:n.yesterdayChats}),n.last7DaysChats.length>0&&(0,$.jsx)(yO,{title:e?cn():null,chats:n.last7DaysChats}),n.last30DaysChats.length>0&&(0,$.jsx)(yO,{title:e?xn():null,chats:n.last30DaysChats}),n.previousChats.length>0&&(0,$.jsx)(yO,{title:e?`Previous`:null,chats:n.previousChats})]}):null,xO=new Set,SO=new Set;function CO(e){return xO.add(e),()=>xO.delete(e)}function wO(e){xO.forEach(t=>t(e))}function TO(e){return SO.add(e),()=>SO.delete(e)}function EO(e){SO.forEach(t=>t(e))}var DO=`min-w-0 flex-1 rounded-lg px-2 py-1.5 text-left text-sm transition-colors hover:bg-[var(--surface-alt)]`,OO=`ring-2 ring-[var(--turquoise)]`,kO=700,AO=({folder:e,depth:t,docCount:n,chatCount:r,isActive:i,isExpanded:a,expandable:o,siblingIndex:s,currentChannelId:c,onToggleExpand:l,onSelect:u,onMoveCurrentChat:d,onRename:f,onNewChatInFolder:p,onDeleteFolder:m})=>{let{setNodeRef:h,isOver:g}=NS({id:e.id,data:{type:`scope-target`,name:e.name,siblingIndex:s}}),{attributes:_,listeners:v,setNodeRef:y,isDragging:b}=kS({id:e.id,disabled:t>0,data:{type:`folder-row`,folderId:e.id,parentId:e.parentId,siblingIndex:s}}),{active:x,over:S}=AS(),C=(0,Q.useRef)(void 0),w=x!==null&&S?.id===e.id;(0,Q.useEffect)(()=>{if(!(!w||a))return C.current=window.setTimeout(()=>l(e.id),kO),()=>window.clearTimeout(C.current)},[w,a,l,e.id]);let[T,E]=(0,Q.useState)(null),[D,O]=(0,Q.useState)(!1),[k,A]=(0,Q.useState)(``),j=(0,Q.useCallback)(e=>{e.preventDefault(),E({x:e.clientX,y:e.clientY})},[]),M=(0,Q.useCallback)(()=>E(null),[]),N=(0,Q.useCallback)(()=>{O(!1);let t=k.trim();t&&t!==e.name&&f(e.id,t)},[k,e.id,e.name,f]),P=(0,Q.useCallback)(()=>O(!1),[]),F=(0,Q.useMemo)(()=>{let t=[{id:`new-chat`,label:Wn(),onSelect:()=>p(e.id)},{id:`rename`,label:di(),onSelect:()=>{A(e.name),O(!0)}},{id:`delete`,label:Vr(),onSelect:()=>m(e)}];return c&&!i&&t.splice(1,0,{id:`move-here`,label:tr(),onSelect:()=>d(e.id)}),t},[e,c,i,p,f,m]);return(0,$.jsxs)(V,{gap:1,className:`w-full`,style:{marginLeft:t*12},children:[o?(0,$.jsx)(`button`,{type:`button`,className:`flex h-6 w-5 shrink-0 items-center justify-center rounded-md text-[var(--sidebar-muted)] hover:bg-[var(--surface-alt)]`,"aria-expanded":a,"aria-label":e.name,onClick:()=>l(e.id),children:a?(0,$.jsx)(ge,{size:13,stroke:1.5}):(0,$.jsx)(dy,{size:13,stroke:1.5})}):(0,$.jsx)(`span`,{className:`w-5 shrink-0`}),D?(0,$.jsx)(`input`,{autoFocus:!0,value:k,"aria-label":ti(),className:`min-w-0 flex-1 rounded-lg border border-[var(--input-border)] bg-[var(--input-bg)] px-2 py-1.5 text-sm text-[var(--app-text)] focu
13s-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--turquoise)]`,onChange:e=>A(e.target.value),onKeyDown:e=>{e.key===`Enter`&&N(),e.key===`Escape`&&P()},onBlur:N}):(0,$.jsx)(`button`,{type:`button`,ref:h,"data-folder-id":e.id,"data-scope-target":e.id,...t===0?{...v,..._,ref:e=>{h(e),y(e)}}:{},"data-sibling-index":t===0?s:void 0,className:`${DO} ${i?`bg-[var(--surface-alt)] font-medium text-[var(--heading-text)]`:`text-[var(--sidebar-text)]`}${g?` ${OO}`:``}${b?` opacity-40`:``}`,title:Nn(),"aria-pressed":i,onClick:()=>u(e.id),onContextMenu:j,children:(0,$.jsxs)(V,{gap:2,className:`items-center`,children:[t===0&&(0,$.jsx)(yy,{size:12,stroke:1.5,className:`shrink-0 text-[var(--sidebar-muted)] opacity-60`}),(0,$.jsx)(_y,{size:14,stroke:1.5,className:`shrink-0 ${i||g?`text-[var(--turquoise)]`:`text-[var(--sidebar-muted)]`}`}),(0,$.jsx)(`span`,{className:`truncate`,children:e.name}),(0,$.jsx)(`span`,{className:`ml-auto shrink-0 pl-2 text-xs font-normal text-[var(--sidebar-muted)]`,children:r>0?`${ar({count:n})} · ${yi({count:r})}`:ar({count:n})})]})}),T&&(0,$.jsx)(te,{x:T.x,y:T.y,items:F,onClose:M})]})},jO=({isActive:e,onSelect:t})=>{let{setNodeRef:n,isOver:r}=NS({id:`all`,data:{type:`scope-target`,name:Kt()}});return(0,$.jsx)(`button`,{type:`button`,ref:n,"data-scope-target":`all`,className:`${DO} ${e?`bg-[var(--surface-alt)] font-medium text-[var(--heading-text)]`:`text-[var(--sidebar-text)]`}${r?` ${OO}`:``}`,"aria-pressed":e,onClick:t,children:Kt()})};function MO({channels:e,searching:t,onNewChatInFolder:n}){let r=Ia()?.chatData?._id??null,i=o(),a=Vi(e=>e.isLogged),[s,c]=(0,Q.useState)([]),[l,u]=(0,Q.useState)(()=>new Set),[d,f]=(0,Q.useState)(!0),[p,m]=(0,Q.useState)(!1),[h,g]=(0,Q.useState)(``),_=KS(e=>e.byChannel),v=KS(e=>e.refresh),y=r?_[r]??null:null,b=(0,Q.useRef)(null);b.current=r;let x=(0,Q.useCallback)(async()=>{let e=await To.list();c(e),await v()},[v]);(0,Q.useEffect)(()=>{x()},[x,i.pathname,a]);let S=(0,Q.useCallback)(e=>wo(s,e),[s]),C=(0,Q.useMemo)(()=>{let t=new Map;for(let n of e){let e=n._id?_[n._id]:void 0;if(!e)continue;let r=t.get(e);r?r.push(n):t.set(e,[n])}return t},[e,_]),w=(0,Q.useCallback)(async e=>{if(!r){Ma.error(Bn());return}await ja.setScope(vo(r),e),await v(),e&&u(t=>new Set(t).add(e))},[r,v]),T=(0,Q.useCallback)(e=>{u(t=>new Set(t).add(e))},[]),E=(0,Q.useCallback)(async()=>{let e=h.trim();m(!1),g(``),e&&(await To.save({parentId:null,name:e,documentIds:[]}),await x())},[h,x]),D=(0,Q.useCallback)(async(e,t)=>{await To.rename(e,t),await x()},[x]),O=(0,Q.useCallback)(async e=>{let t=C.get(e.id)?.length??0;await oe.confirm({title:mi({folder:e.name}),message:Ei({folder:e.name,count:t}),confirmLabel:In(),variant:`danger`})&&(await To.remove(e.id),await x(),Ma.success(On({folder:e.name})))},[C,x]),k=(0,Q.useCallback)(async()=>{let e=KS.getState().byChannel,t=s.length;await oe.confirm({title:Ci(),message:Ht({count:t,chats:Object.values(e).filter(Boolean).length}),confirmLabel:In(),variant:`danger`})&&(await To.removeAll(),await x(),Ma.success(Je({count:t})))},[s,x]),A=(0,Q.useCallback)(e=>{u(t=>new Set(t).add(e)),n?.(e)},[n]);(0,Q.useEffect)(()=>TO(({folderId:e,parentId:t,toIndex:n})=>{(async()=>{await To.moveSiblingsTo(t,e,n),await x()})()}),[x]),(0,Q.useEffect)(()=>CO(({channelId:e,folderId:t})=>{(async()=>{if(await ja.setScope(vo(e),t),await v(),t){u(e=>new Set(e).add(t));let e=await To.getById(t);Ma.success(Ve({folder:e?.name??``}))}else Ma.success(Ir())})()}),[v]);let j=(0,Q.useCallback)(e=>{u(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),M=(e,n,i)=>{let a=S(e.id),o=C.get(e.id)??[],c=t?[]:o,u=l.has(e.id);return(0,$.jsxs)(R,{gap:1,children:[(0,$.jsx)(AO,{folder:e,depth:n,siblingIndex:i,docCount:Co(s,e.id).length,chatCount:o.length,isActive:y===e.id,isExpanded:u,expandable:a.length>0||o.length>0,currentChannelId:r,onToggleExpand:j,onSelect:e=>void T(e),onMoveCurrentChat:e=>void w(e),onRename:D,onNewChatInFolder:A,onDeleteFolder:e=>void O(e)}),u&&(0,$.jsxs)(R,{gap:1,style:{marginLeft:(n+1)*12+40},children:[a.map((e,t)=>M(e,n+1,t)),c.length>0&&(0,$.jsx)(yO,{title:null,chats:c})]})]},e.id)},N=S(null),P=(0,$.jsx)(`input`,{autoFocus:!0,value:h,placeholder:wr(),"aria-label":wr(),className:`w-full rounded-lg border border-[var(--input-border)] bg-[var(--input-bg)] px-2 py-1.5 text-sm text-[var(--app-text)] placeholder:text-[var(--input-placeholder)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--turquoise)]`,onChange:e=>g(e.target.value),onKeyDown:e=>{e.key===`Enter`&&E(),e.key===`Escape`&&(m(!1),g(``))},onBlur:()=>void E()});return(0,$.jsxs)(`section`,{className:`group-list-chats`,"data-testid":`sidebar-knowledge-folders`,children:[(0,$.jsxs)(`h6`,{className:`flex w-full items-center`,children:[(0,$.jsxs)(`button`,{type:`button`,className:`flex min-w-0 flex-1 items-center gap-1`,"aria-expanded":d,onClick:()=>f(e=>!e),children:[(0,$.jsx)(vy,{size:14,stroke:1.5,className:`shrink-0 text-[var(--sidebar-muted)]`}),(0,$.jsx)(`span`,{className:`truncate`,children:hr()}),d?(0,$.jsx)(ge,{size:13,stroke:1.5,className:`shrink-0 text-[var(--sidebar-muted)]`}):(0,$.jsx)(dy,{size:13,stroke:1.5,className:`shrink-0 text-[var(--sidebar-muted)]`})]}),s.length>0&&(0,$.jsx)(`button`,{type:`button`,className:`flex h-5 w-5 shrink-0 items-center justify-center rounded-md text-[var(--sidebar-muted)] hover:bg-[var(--surface-alt)] hover:text-[var(--badge-danger-text)]`,"aria-label":Ci(),title:Ci(),onClick:()=>void k(),children:`×`}),(0,$.jsx)(`button`,{type:`button`,className:`flex h-5 w-5 shrink-0 items-center justify-center rounded-md text-[var(--sidebar-muted)] hover:bg-[var(--surface-alt)] hover:text-[var(--heading-text)]`,"aria-label":wr(),title:wr(),onClick:()=>m(!0),children:(0,$.jsx)(fe,{size:13,stroke:1.5})})]}),d&&(p||s.length>0)&&(0,$.jsxs)(R,{gap:1,className:`px-1`,children:[p&&P,s.length>0&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(jO,{isActive:y===null,onSelect:()=>void w(null)}),N.map((e,t)=>M(e,0,t))]})]})]})}var NO=200,PO=480,FO=260;function IO(e){let[t,n]=(0,Q.useState)(()=>typeof window>`u`?FO:Bi.getSidebarWidth()),[r,i]=(0,Q.useState)(!1),a=(0,Q.useRef)(0),o=(0,Q.useRef)(FO),s=(0,Q.useRef)(t);(0,Q.useEffect)(()=>{s.current=t},[t]);let c=(0,Q.useCallback)(n=>{e||(i(!0),a.current=n.clientX,o.current=t,document.body.style.cursor=`ew-resize`,document.body.style.userSelect=`none`)},[e,t]),l=(0,Q.useCallback)(e=>{let t=e.clientX-a.current,r=Math.max(NO,Math.min(PO,o.current+t));n(r)},[]),u=(0,Q.useCallback)(()=>{i(!1),document.body.style.cursor=``,document.body.style.userSelect=``,Bi.setSidebarWidth(s.current)},[]);return Yi(`mousemove`,r?l:null),Yi(`mouseup`,r?u:null),{sidebarWidth:t,isResizing:r,handleResizeStart:c}}var LO=()=>{let e=!1,{handleCreateChannel:t,isCreating:n}=Fa(),r=La(),{openLeftBar:i,openLeftBarMobile:a,chatListOpen:s,setChatListOpen:l,setOpenLeftBar:u,setOpenLeftBarMobile:d}=Vi(),[f,p]=(0,Q.useState)(!1),[m,h]=(0,Q.useState)(!0),g=c(),_=o(),v=xo(e=>e.reset),{isMobileLg:y}=co(),b=y,{sidebarWidth:x,isResizing:S,handleResizeStart:C}=IO(b),{channels:w,isLoading:T,error:E}=Ra(),D=(0,Q.useMemo)(()=>Array.isArray(w)?w.map(({_id:e,user_id:t,channel_name:n,assistant_id:r,created_at:i,updated_at:a,source:o})=>({_id:e,user_id:t,channel_name:n,assistant_id:r,createdAt:i,updatedAt:a,source:o})):[],[w]),{searchChats:O,setSearchChats:k,filteredChannels:A}=QD(D),j=(0,Q.useMemo)(()=>D.filter(e=>e.source===`indexeddb`),[D]),M=KS(e=>e.byChannel),N=KS(e=>e.refresh);(0,Q.useEffect)(()=>{N()},[N,_.pathname]);let P=(0,Q.useMemo)(()=>D.filter(e=>!(e._id&&M[e._id])),[D,M]),F=O.length>0,I=(0,Q.useMemo)(()=>$D(P),[P]),L=j.length>0;(0,Q.useEffect)(()=>{b&&u(!0)},[b,u]);let ee=()=>{b?d(!a):u(!i)},te=(0,Q.useRef)(null),ne=(0,Q.useCallback)(()=>p(!1),[]);Te(te,ne),(0,Q.useEffect)(()=>
13{if(!f)return;let e=new AbortController;return document.addEventListener(`keydown`,e=>{e.key===`Escape`&&p(!1)},{signal:e.signal}),()=>e.abort()},[f]);let re=(0,Q.useRef)(null),ie=(0,Q.useCallback)(e=>{e.composedPath().some(e=>e?.classList?.contains?.(`menu-btn`)||e?.classList?.contains?.(`menu-toggle-mobile`))||d(!1)},[d]);Te(re,ie);let{deleteChats:ae,isDeleting:oe}=tO(b),R=(0,Q.useCallback)(()=>(p(!1),ae()),[ae]);(0,Q.useEffect)(()=>{Ta(E??``,e),e=!0},[E]);let se=(0,Q.useCallback)(()=>{Ja.unselectForLogoClick(),xo.getState().isReceivingMessage||v(),g(`/app`),b&&d(!1)},[g,v,b,d]),z=(0,Q.useCallback)(async()=>{r()&&(b&&d(!1),await t(),_.pathname!==`/app`&&g(`/app`))},[r,b,d,t,_.pathname,g]),ce=(0,Q.useCallback)(async e=>{if(!r())return;b&&d(!1);let n=await t();if(!n)return;let i=n.data||n,a=i?.id||i?._id;if(!a)return;let{knowledgeScopeService:o}=await Ji(async()=>{let{knowledgeScopeService:e}=await import(`./KnowledgeScopeService-zMsBz_H8.js`).then(e=>e.t);return{knowledgeScopeService:e}},__vite__mapDeps([4,5,6,7,8,9,10,11,12,13]));await o.setScope(vo(String(a)),e),await KS.getState().refresh(),_.pathname!==`/app`&&g(`/app`),ET();let{knowledgeFolderService:s}=await Ji(async()=>{let{knowledgeFolderService:e}=await import(`./KnowledgeFolderService-Bykh8Und.js`).then(e=>e.t);return{knowledgeFolderService:e}},__vite__mapDeps([14,5,6,7,8,9,10,15,12,13,16,11,4,17])),c=await s.getById(e);Ma.success(Ve({folder:c?.name??``}))},[r,b,d,t,_.pathname,g]),le=(0,Q.useCallback)(()=>{p(!1),l(!s)},[s,l]),ue=(0,Q.useCallback)(()=>{m?(h(!1),k(``)):h(!0)},[m,k]),de=Cb(Sb(jx,{activationConstraint:{distance:6}})),[fe,pe]=(0,Q.useState)(null),B=(0,Q.useCallback)(({active:e})=>{e.data.current?.type===`chat-row`&&pe({id:String(e.id),title:e.data.current.title})},[]),he=(0,Q.useCallback)(({active:e,over:t})=>{if(pe(null),t){if(e.data.current?.type===`folder-row`){let n=String(e.id);if(t.id===n||t.data.current?.type!==`scope-target`||t.id===`all`)return;let r=Number(t.data.current?.siblingIndex??0);EO({folderId:n,parentId:e.data.current?.parentId??null,toIndex:r});return}e.data.current?.type===`chat-row`&&t.data.current?.type===`scope-target`&&wO({channelId:String(e.id),folderId:t.id===`all`?null:String(t.id)})}},[]),ge=(0,Q.useMemo)(()=>({onDragStart:({active:e})=>e.data.current?.type===`chat-row`?Or({title:e.data.current.title??``}):void 0,onDragOver:()=>void 0,onDragEnd:({active:e,over:t})=>e.data.current?.type!==`chat-row`||!t?fr():t.id===`all`?Ir():Ve({folder:String(t.data.current?.name??t.id)}),onDragCancel:()=>fr()}),[]);return(0,$.jsxs)($.Fragment,{children:[b&&a&&(0,$.jsx)(xe,{className:`sidebar-mobile-backdrop`,onClick:()=>d(!1),"aria-hidden":`true`}),(0,$.jsx)(`aside`,{ref:re,className:`side-menu-type-2 flex ${i?``:`minimize`} ${b&&a?`is-open-mobile`:``}`,style:!b&&i?{width:`${x}px`,minWidth:`${x}px`}:void 0,children:(0,$.jsxs)(TS,{sensors:de,collisionDetection:Lb,accessibility:{announcements:ge},onDragStart:B,onDragEnd:he,onDragCancel:()=>pe(null),children:[(0,$.jsx)(pO,{openLeftBar:i,chatListOpen:s,isCreating:n,groupChats:L,searchChats:O,showInput:m,dropDownShow:f,loading:oe,dropdownRef:te,onNewChat:z,onLogoClick:se,onSidebarToggle:ee,onSearchToggle:ue,onDropdownToggle:()=>p(e=>!e),onDeleteAllChats:R,onChatListToggle:le,setSearchChats:k}),T?(0,$.jsx)(V,{justify:`center`,className:`mt-4 w-full`,children:(0,$.jsx)(me,{size:16})}):i&&s&&(0,$.jsx)(bO,{openLeftBar:i,searchChats:O,groupedChats:I,filteredChannels:A}),i?(0,$.jsx)(MO,{channels:D,searching:F,onNewChatInFolder:e=>void ce(e)}):null,i?(0,$.jsx)(wE,{}):(0,$.jsx)(ve,{props:{className:`sidebar-button-collapsed`,title:Et(),"aria-label":Et()},onClick:()=>g(`/settings`),children:(0,$.jsx)(jy,{stroke:1.5,size:16})}),!b&&i&&(0,$.jsx)(xe,{className:`sidebar-resize-handle${S?` is-resizing`:``}`,onMouseDown:C}),(0,$.jsx)(GS,{dropAnimation:null,children:fe?(0,$.jsxs)(V,{gap:2,align:`center`,className:`pointer-events-none max-w-[280px] cursor-grabbing rounded-lg border border-[var(--input-border)] bg-[var(--surface-alt)] px-3 py-2 shadow-lg`,children:[(0,$.jsx)(Cy,{size:14,stroke:1.5,className:`shrink-0 text-[var(--turquoise)]`}),fe.title?(0,$.jsx)(H,{className:`truncate text-sm text-[var(--app-text)]`,children:fe.title}):null]}):null})]})})]})},RO=`dark`,zO=e=>e===`light`||e===`dark`,BO=()=>{let e=Bi.getGeneralConfig();return zO(e?.theme)?e.theme:RO},VO=e=>{if(typeof window>`u`)return;let t=Bi.getGeneralConfig()||{};Bi.setGeneralConfig({...t,theme:e})},HO=e=>{typeof document>`u`||typeof window>`u`||(document.documentElement.classList.toggle(`dark`,e===`dark`),document.body?.setAttribute(`data-layout-mode`,e),document.documentElement.style.colorScheme=e,window.dispatchEvent(new Event(`aizzy:theme-changed`)))},UO=`autoPriceRouting`;function WO(){let e=Vi(e=>e.configsMainChat),t=Vi(e=>e.setConfigsMainChat);return{routingAuto:e?.[UO]===!0,setRoutingAuto:e=>t(UO,e)}}var GO=()=>{let e=Va(),{configsMainChat:t}=Vi(),{routingAuto:n,setRoutingAuto:r}=WO(),{data:i}=Ua(),a=qa(n),o=(n?a.data:i)||[],s=Li(t?.machine),c=(Fi(t?.machine)?Ni(t.machine,`store`):null)??Ii(s,o),l=Pi(c,s),{isReceivingMessage:u}=xo();return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(z,{type:`button`,variant:`ghost`,className:`change-machine-wrapper`,onClick:e.open,disabled:u,children:[(0,$.jsx)(`span`,{className:`one-line`,children:l}),(0,$.jsx)(ge,{size:14})]}),(0,$.jsx)(va,{open:e.isOpen,setOpen:e.close,models:o,routingAuto:n,onToggleRouting:r,autoError:n&&a.isError,autoLoading:n&&a.isPending,onRetryAuto:()=>{a.refetch()}})]})};function KO({compact:e=!1,disabled:t=!1}){let{routingAuto:n,setRoutingAuto:r}=WO(),i=n?fn():Tn(),a=`${on()} — ${i}`;return(0,$.jsxs)(L,{pressed:n,disabled:t,"aria-label":a,title:a,className:`auto-price-chip`,"data-testid":`auto-price-routing-chip`,onClick:()=>r(!n),children:[(0,$.jsx)(`span`,{className:`auto-price-chip-label one-line`,children:e?yn():on()}),(0,$.jsx)(`span`,{className:`auto-price-chip-dot`,"aria-hidden":`true`})]})}var qO=4096,JO=1.15;function YO(e){let t=e.image_output_price;return typeof t!=`number`||!Number.isFinite(t)||t<=0?null:t*qO*JO}function XO(e,t,n=0){let r=YO(e);if(r===null)return null;let i=Math.max(0,n),a=i>0?((e.reference_price_per_image??0)*i+(e.reference_price_per_request??0
13))*JO:0;return r*Math.max(1,t)+a}function ZO(e){return e<.01?`$${e.toFixed(3)}`:`$${e.toFixed(2)}`}function QO(e){let t=e.indexOf(`: `);return t>0?e.slice(t+2):e}function $O({model:e,n:t,disabled:n=!1,onOpen:r,referenceCount:i=0,variant:a=`row`}){let o=e?XO(e,t,i):null,s=e?o===null?Ar():`~${ZO(o)}`:``,c=[t>1?`×${t}`:``,s].filter(Boolean).join(` · `);return(0,$.jsx)(z,{type:`button`,variant:`ghost`,className:pe(`image-studio-trigger`,a===`stacked`&&`is-stacked`),disabled:n,onClick:r,"aria-haspopup":`dialog`,"data-testid":`image-studio-trigger`,"aria-label":e?`${Mn()}: ${e.name}${c?`, ${c}`:``}`:sr(),title:Mn(),children:(0,$.jsxs)(V,{align:`center`,gap:a===`stacked`?2:3,className:`image-studio-trigger-row`,"aria-hidden":`true`,children:[a===`row`&&(0,$.jsx)(ty,{size:16,stroke:1.8}),a===`stacked`?(0,$.jsxs)(R,{gap:0,align:`start`,className:`image-studio-trigger-stack`,children:[(0,$.jsx)(H,{as:`span`,className:`image-studio-trigger-name`,children:e?QO(e.name):sr()}),c&&(0,$.jsx)(H,{as:`span`,className:`image-studio-trigger-meta`,children:c})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(H,{as:`span`,className:`image-studio-trigger-name`,children:e?QO(e.name):sr()}),c&&(0,$.jsx)(H,{as:`span`,className:`image-studio-trigger-meta`,children:c})]}),(0,$.jsx)(ga,{size:16,stroke:1.8})]})})}var ek=Oa(e=>({options:{n:1},setOptions:t=>e({options:t}),sheetOpen:!1,openSheet:()=>e({sheetOpen:!0}),closeSheet:()=>e({sheetOpen:!1}),referenceCount:0,setReferenceCount:t=>e({referenceCount:t})}));function tk({isChatRoute:e,isCreatingChannel:t,onOpenMenu:n,onNewChat:r}){let i=Ca(),{credits:a}=Da(),o=cC(),s=a?XS(a.amount):null,{isImageMode:c,imageModel:l}=za(),u=ek(e=>e.options.n),d=ek(e=>e.referenceCount),f=ek(e=>e.openSheet),p=xo(e=>e.isGeneratingImage);return(0,$.jsxs)(V,{align:`center`,justify:`between`,className:`app-shell-topbar`,children:[(0,$.jsx)(z,{type:`button`,variant:`ghost`,size:`icon`,"aria-label":Gr(),className:`button-icon menu-toggle-mobile app-shell-menu-toggle`,onClick:n,children:(0,$.jsx)(xy,{stroke:1.5,size:20})}),e&&(0,$.jsx)(V,{align:`center`,justify:`center`,className:`app-shell-topbar-model`,gap:2,children:c?(0,$.jsx)($O,{variant:`stacked`,model:l,n:u,referenceCount:d,disabled:p,onOpen:f}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(GO,{}),(0,$.jsx)(KO,{compact:!0})]})}),i&&(0,$.jsxs)(z,{type:`button`,variant:`ghost`,size:`sm`,className:`app-shell-topbar-balance`,"aria-label":s?ur({amount:s}):_i(),"data-testid":`topbar-balance`,onClick:()=>o(),children:[(0,$.jsx)(fe,{stroke:1.5,size:16}),s]}),(0,$.jsx)(z,{type:`button`,variant:`ghost`,size:`icon`,"aria-label":Ur(),title:Ur(),className:`button-icon app-shell-topbar-newchat`,disabled:t,onClick:r,children:(0,$.jsx)(Ty,{stroke:1.5,size:20})})]})}function nk(){let e=Ca(),{credits:t,isLoadingCredits:n,isLoadingSubscription:r,hasSubscriptionActive:i,isGuestMode:a}=Da(),o=cC(),s=(0,Q.useRef)(!1);(0,Q.useEffect)(()=>{s.current||!e||a||n||r||t&&(i()||t.amount>0||Mo()&&(s.current=!0,o(10,{welcome:!0})))},[e,a,t,n,r,i,o])}function rk(){return nk(),null}var ik=e=>{let{setConfigsMainChat:t}=Vi(),n=Vi(e=>e.openLeftBarMobile),r=Vi(e=>e.setOpenLeftBarMobile),{isMobileLg:i}=co(),a=o(),[s,l]=(0,Q.useState)(()=>BO()),u=()=>(Bi.getMainChatConfig()||{})?.chatData?._id;(0,Q.useEffect)(()=>Ja.onChannelUnselect(e=>{T.channel.info(`Channel unselected event received:`,e);let n=e?.reason===Ya.REASONS.LOGOUT||e?.reason===Ya.REASONS.SESSION_EXPIRED,r=xo.getState().isReceivingMessage;if(r&&!n){T.channel.info(`[Guard] Stream is active — deferring channel unselect`);return}r&&xo.getState().errorReceiveMessageManager(),t(Sa.chatData,null),e.reason===`storage_mode_changed`&&(T.channel.info(`Storage mode changed, invalidating channels cache`),lo.invalidateQueries({queryKey:[uo.CHANNELS]}),lo.invalidateQueries({queryKey:uo.channels.stats()}),lo.invalidateQueries({queryKey:uo.channels.migration()}))}),[]),(0,Q.useEffect)(()=>{let e=a.pathname;e!==U.APP&&e!==U.ROOT&&u()&&(T.channel.info(`Not on chat page (${e}), unselecting channel`),Ja.unselectForNavigation(`chat`,e))},[a.pathname]),Yi(`aizzy:theme-changed`,()=>{l(BO())}),(0,Q.useEffect)(()=>{n&&r(!1)},[a.pathname,a.search]);let d=a.pathname===U.ROOT||a.pathname===U.WELCOME,f=a.pathname===U.MAINTENANCE,p=a.pathname===U.ROADMAP,m=a.pathname===U.AI_AUDIT,h=a.pathname===U.PRICING,g=d||f||p||m||h,_=a.pathname===U.APP,v=a.pathname===U.DEVICE_LINK,y=c(),{handleCreateChannel:b,isCreating:x}=Fa(),S=La();return(0,$.jsxs)(V,{gap:0,className:`app-shell${g?` app-shell--marketing`:``}${v?` app-shell--no-topbar`:``}`,children:[!g&&(0,$.jsx)(LO,{}),!g&&!v&&i&&!n&&(0,$.jsx)(tk,{isChatRoute:_,isCreatingChannel:x,onOpenMenu:()=>r(!0),onNewChat:async()=>{S()&&(await b(),a.pathname!==U.APP&&y(U.APP))}}),_&&(0,$.jsx)(rk,{}),(0,$.jsx)(R,{gap:0,className:`main-content-area`,children:e.children}
13),!d&&(0,$.jsx)(Ee,{theme:s,position:`top-center`,duration:3e3,closeButton:!0})]})},ak=(0,Q.lazy)(()=>Ji(()=>import(`./chat-X-WtSgRO.js`).then(e=>e.t),__vite__mapDeps([18,5,19,20,21,10,7,6,13,12,8,9,22,23,24,25,26,27,16,15,28,29,30,31,32,33,34,35,1,36,37,38,39,11,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,4,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,17,88,89,90,91,14,92,93,94,95,96,97,98,99,100,101,102]))),ok=(0,Q.lazy)(()=>Ji(()=>import(`./assistants-B3o30Jah.js`),__vite__mapDeps([103,5,19,20,21,10,13,7,12,8,6,9,22,23,24,42,25,27,16,26,15,28,29,36,53,54,55,30,31,32,33,34,41,56,57,58,11,59,60,61,1,39,62,63,64,35,4,65,66,67,68,69,70,71,72,73,74,75,38,76,47,77,44,78,43,45,46,79,80,81,82,83,84,85,86,87,17,88,89,48,49,40,90,91,14,92,93,104,105,98,99]))),sk=(0,Q.lazy)(()=>Ji(()=>import(`./settings-IrmMYeB3.js`).then(e=>e.t),__vite__mapDeps([106,5,19,20,21,10,6,7,13,12,9,8,22,23,24,25,26,27,16,15,28,29,30,31,32,33,34,36,37,38,39,11,40,41,42,43,44,45,46,47,48,49,50,52,53,104,94,17,107,108,55,56,57,58,59,60,61,1,105,109,66,62,63,64,35,4,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,14,92,93,110,98,99,111,112,113,114]))),ck=(0,Q.lazy)(()=>Ji(()=>import(`./LandingOrChat-DwmZyZzE.js`),__vite__mapDeps([115,5,19,20,21,10,25,95,1,29]))),lk=(0,Q.lazy)(()=>Ji(()=>import(`./Index-MZPV3ime.js`),__vite__mapDeps([116,5,20,22,19,21,10,23,24,64,13,7,1,51,108,109,36,52,104,38,27,6,12,16,26,15,28,29,99,117,25,30,31,32,8,9,33,34,67,42,41,118]))),uk=(0,Q.lazy)(()=>Ji(()=>import(`./PageMaintenance-fLN--HKP.js`),__vite__mapDeps([119,20,5,22,19,21,10,23,24,38,27,7,6,12,13,16,26,15,28,29,99,117,25,30,31,32,8,9,33,34,67,42,41,120]))),dk=(0,Q.lazy)(()=>Ji(()=>import(`./Roadmap-hZbmVnoq.js`),__vite__mapDeps([121,20,5,22,19,21,10,23,24,38,27,7,6,12,13,16,26,15,28,29,99,117,25,30,31,32,8,9,33,34,67,42,41,118,122]))),fk=(0,Q.lazy)(()=>Ji(()=>import(`./AIAudit-CTHwBrBE.js`),__vite__mapDeps([123,19,5,20,21,10,22,23,24,36,104,67,12,13,7,42,27,6,16,26,15,28,29,30,31,32,8,9,33,34,25,41,38,99,117,118,122]))),pk=(0,Q.lazy)(()=>Ji(()=>import(`./Pricing-Cg2jjRYs.js`),__vite__mapDeps([124,5,19,20,21,10,12,13,7,22,23,24,25,51,34,6,27,16,26,15,28,29,32,8,9,33,38,93,125,99,117,30,31,67,42,41,118,122]))),mk=(0,Q.lazy)(()=>Ji(()=>import(`./PhantomDeepLinkCallback-ziuLF_6x.js`),__vite__mapDeps([126,20,5,127,19,21,10,13,7,12,22,23,24,25,27,6,16,26,15,28,29,73,69,74,41,42,68,128]))),hk=(0,Q.lazy)(()=>Ji(()=>import(`./SolflareDeepLinkCallback-DqjNo8Qv.js`),__vite__mapDeps([129,20,5,127,19,21,10,13,7,12,22,23,24,25,27,6,16,26,15,28,29,73,69,74,41,42,68,128]))),gk=(0,Q.lazy)(()=>Ji(()=>import(`./WalletWebDeepLinkCallback-DxThdbUt.js`),__vite__mapDeps([130,5,19,20,21,10,13,7,12,22,23,24,25,27,6,16,26,15,28,29,73,69,74,41,42,68,72,70,75,128]))),_k=(0,Q.lazy)(()=>Ji(()=>import(`./PhantomPayCallback-pr2GPWjH.js`),__vite__mapDeps([131,5,19,20,21,10,13,7,12,22,23,24,25,73,69,74,41,42,71,128,132,30,27,6,16,26,15,28,29,31,32,8,9,33,34,133]))),vk=(0,Q.lazy)(()=>Ji(()=>import(`./AppleAuthCallback-DCqHG5x9.js`),__vite__mapDeps([134,5,19,20,21,10,13,7,12,22,23,24,25,27,6,16,26,15,28,29,41,42,68]))),yk=(0,Q.lazy)(()=>Ji(()=>import(`./DeviceLinkApproval-DqArMxgU.js`),__vite__mapDeps([135,5,19,20,21,10,13,7,12,22,23,24,25,27,6,16,26,15,28,29,35,107,55,9,8,42,30,31,32,33,34,41,56,57,58,11,59,60,61,1,39,136]))),bk=(0,Q.lazy)(()=>Ji(()=>import(`./GoogleAuthCallback-D_xfH7Rt.js`),__vite__mapDeps([137,5,19,20,21,10,12,13,7,22,23,24,25,27,6,16,26,15,28,29,41,42,68]))),xk=(0,Q.lazy)(()=>Ji(()=>import(`./OAuthCallbackPage-8mHiSUpu.js`),__vite__mapDeps([138,5,19,20,21,10,13,7,22,23,24,25]))),Sk=(0,Q.lazy)(()=>Ji(()=>import(`./community-DgwQ2vPO.js`),__vite__mapDeps([139,5,20,13,7,22,19,21,10,23,24,27,6,12,16,26,15,28,29,104,55,9,8,42,25,30,31,32,33,34,41,56,57,58,11,59,60,61,1,39,66,99]))),Ck=(0,Q.lazy)(()=>Ji(()=>import(`./ConnectCodingAgents-UcXugE7T.js`),__vite__mapDeps([140,5,20,22,19,21,10,23,24,109,13,7,36,52,104,111,53]))),wk=(0,Q.lazy)(()=>Ji(()=>import(`./PublicPayPage-5BDwsloW.js`),__vite__mapDeps([141,5,19,20,21,10,22,23,24,34,6,7,13,25,27,12,16,26,15,28,29,32,8,9,33,142,112,41,42,98]))),Tk=[{path:U.APP,component:ak},{path:U.ASSISTANTS,component:ok},{path:U.SETTINGS,component:sk},{path:U.OAUTH_CALLBACK,component:xk},{path:U.ROOT,component:ck},{path:U.WELCOME,component:lk},{path:U.MAINTENANCE,component:uk},{path:U.ROADMAP,component:dk},{path:U.AI_AUDIT,component:fk},{path:U.PRICING,component:pk},{path:U.PHANTOM_CONNECT,component:mk},{path:U.PHANTOM_SIGNMESSAGE,component:mk},{path:U.SOLFLARE_CONNECT,component:hk},{path:U.SOLFLARE_SIGNMESSAGE,component:hk},{path:U.WALLET_WEB_CONNECT,component:gk},{path:U.WALLET_WEB_SIGNMESSAGE,component:gk},{path:U.PHANTOM_PAY,component:_k},{path:U.GOOGLE_AUTH_CALLBACK,component:bk},{path:U.APPLE_AUTH_CALLBACK,component:vk},{path:U.DEVICE_LINK,component:yk},{path:U.COMMUNITY,component:Sk},{path:U.CONNECT,component:Ck}],Ek=[{path:U.PAY,component:wk}],Dk=(0,$.jsx)(V,{justify:`center`,className:`h-screen`,children:(0,$.jsx)(`div`,{className:`spinner-border text-black`,role:`status`,children:(0,$.jsx)(`span`,{className:`sr-only`,children:`Loading...`})})}),Ok=()=>(0,$.jsxs)(r,{children:[Tk.map((e,t)=>(0,$.jsx)(i,{path:e.path,element:(0,$.jsx)(ik,{children:(0,$.jsx)(Q.Suspense,{fallback:Dk,children:(0,$.jsx)(e.component,{})})})},t)),Ek.map(e=>(0,$.jsx)(i,{path:e.path,element:(0,$.jsx)(Q.Suspense,{fallback:Dk,children:(0,$.jsx)(e.component,{})})},e.path)),(0,$.jsx)(i,{path:U.ACCOUNT,element:(0,$.jsx)(s,{replace:!0,to:U.PROFILE})}),(0,$.jsx)(i,{path:`*`,element:(0,$.jsx)(s,{to:U.ROOT})})]}),kk={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function Ak(e){return e?{lang:e?.lang??void 0,message:e?.message,abortEarly:e?.abortEarly??void 0,abortPipeEarly:e?.abortPipeEarly??void 0}:kk}function jk(e){let t=typeof e;
13return t===`string`?`"${e}"`:t===`number`||t===`bigint`||t===`boolean`?`${e}`:t===`object`||t===`function`?(e&&Object.getPrototypeOf(e)?.constructor?.name)??`null`:t}function Mk(e,t,n,r,i){let a=i&&`input`in i?i.input:n.value,o=i?.expected??e.expects??null,s=i?.received??jk(a),c={kind:e.kind,type:e.type,input:a,expected:o,received:s,message:`Invalid ${t}: ${o?`Expected ${o} but r`:`R`}eceived ${s}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},l=e.kind===`schema`,u=i?.message??e.message??(e.reference,c.lang,void 0)??(l?(c.lang,void 0):null)??r.message??(c.lang,void 0);u!==void 0&&(c.message=typeof u==`function`?u(c):u),l&&(n.typed=!1),n.issues?n.issues.push(c):n.issues=[c]}var Nk=new WeakMap;function Pk(e){let t=Nk.get(e);return t||(t={version:1,vendor:`valibot`,validate(t){return e[`~run`]({value:t},Ak())}},Nk.set(e,t)),t}function Fk(e,t){let n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??`never`}var Ik=class extends Error{constructor(e){super(e[0].message),this.name=`ValiError`,this.issues=e}};function Lk(e,t){return{kind:`validation`,type:`min_length`,reference:Lk,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&e.value.length<this.requirement&&Mk(this,`length`,e,t,{received:`${e.value.length}`}),e}}}function Rk(e,t,n){return typeof e.fallback==`function`?e.fallback(t,n):e.fallback}function zk(e,t,n){return typeof e.default==`function`?e.default(t,n):e.default}function Bk(e,t){return{kind:`schema`,type:`array`,reference:Bk,expects:`Array`,async:!1,item:e,message:t,get"~standard"(){return Pk(this)},"~run"(e,t){let n=e.value;if(Array.isArray(n)){e.typed=!0,e.value=[];for(let r=0;r<n.length;r++){let i=n[r],a=this.item[`~run`]({value:i},t);if(a.issues){let o={type:`array`,origin:`value`,input:n,key:r,value:i};for(let t of a.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||=a.issues,t.abortEarly){e.typed=!1;break}}a.typed||(e.typed=!1),e.value.push(a.value)}}else Mk(this,`type`,e,t);return e}}}function Vk(e){return{kind:`schema`,type:`boolean`,reference:Vk,expects:`boolean`,async:!1,message:e,get"~standard"(){return Pk(this)},"~run"(e,t){return typeof e.value==`boolean`?e.typed=!0:Mk(this,`type`,e,t),e}}}function Hk(e){return{kind:`schema`,type:`number`,reference:Hk,expects:`number`,async:!1,message:e,get"~standard"(){return Pk(this)},"~run"(e,t){return typeof e.value==`number`&&!isNaN(e.value)?e.typed=!0:Mk(this,`type`,e,t),e}}}function Uk(e,t){return{kind:`schema`,type:`object`,reference:Uk,expects:`Object`,async:!1,entries:e,message:t,get"~standard"(){return Pk(this)},"~run"(e,t){let n=e.value;if(n&&typeof n==`object`){e.typed=!0,e.value={};for(let r in this.entries){let i=this.entries[r];if(r in n||(i.type===`exact_optional`||i.type===`optional`||i.type===`nullish`)&&i.default!==void 0){let a=r in n?n[r]:zk(i),o=i[`~run`]({value:a},t);if(o.issues){let i={type:`object`,origin:`value`,input:n,key:r,value:a};for(let t of o.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||=o.issues,t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value[r]=o.value}else if(i.fallback!==void 0)e.value[r]=Rk(i);else if(i.type!==`exact_optional`&&i.type!==`optional`&&i.type!==`nullish`&&(Mk(this,`key`,e,t,{input:void 0,expected:`"${r}"`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]}),t.abortEarly))break}}else Mk(this,`type`,e,t);return e}}}function Wk(e,t){return{kind:`schema`,type:`optional`,reference:Wk,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return Pk(this)},"~run"(e,t){return e.value===void 0&&(this.default!==void 0&&(e.value=zk(this,e,t)),e.value===void 0)?(e.typed=!0,e):this.wrapped[`~run`](e,t)}}}function Gk(e,t){return{kind:`schema`,type:`picklist`,reference:Gk,expects:Fk(e.map(jk),`|`),async:!1,options:e,message:t,get"~standard"(){return Pk(this)},"~run"(e,t){return this.options.includes(e.value)?e.typed=!0:Mk(this,`type`,e,t),e}}}function Kk(e){return{kind:`schema`,type:`string`,reference:Kk,expects:`string`,async:!1,message:e,get"~standard"(){return Pk(this)},"~run"(e,t){return typeof e.value==`string`?e.typed=!0:Mk(this,`type`,e,t),e}}}function qk(e,t,n){let r=e[`~run`]({value:t},Ak(n));if(r.issues)throw new Ik(r.issues);return r.value}function Jk(...e){return{...e[0],pipe:e,get"~standard"(){return Pk(this)},"~run"(t,n){for(let r of e)if(r.kind!==`metadata`){if(t.issues&&(r.kind===`schema`||r.kind===`transformation`)){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r[`~run`](t,n))}return t}}}function Yk(e,t,n){let r=e[`~run`]({value:t},Ak(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}var Xk=Jk(Kk(),Lk(4,`Enter your vault passphrase`)),Zk=()=>{let{isOpen:e,onSuccess:t,close:n}=So(),[r,i]=(0,Q.useState)(``),[a,o]=(0,Q.useState)(!1),[s,c]=(0,Q.useState)(null),l=(0,Q.useCallback)(async()=>{let e=Yk(Xk,r);if(!e.success){c(e.issues[0]?.message||`Enter your vault passphrase`);return}o(!0),c(null);try{bo.isInitialized()?await bo.unlock(r):await bo.initialize(r),i(``),n(),t?.()}catch(e){c(y(e,`Wrong passphrase — try again`))}finally{o(!1)}},[r,n,t]),u=we(l);return e?(0,$.jsx)(xe,{className:`vault-modal-backdrop`,onClick:e=>{e.target===e.currentTarget&&n()},children:(0,$.jsxs)(xe,{className:`vault-modal`,children:[(0,$.jsxs)(V,{className:`vault-modal-header`,align:`center`,justify:`between`,children:[(0,$.jsxs)(V,{className:`vault-modal-header-left`,align:`center`,gap:3,children:[(0,$.jsx)(`span`,{className:`vault-modal-lock`,children:`🔐`}),(0,$.jsxs)(xe,{children:[(0,$.jsx)(xe,{className:`vault-modal-title`,children:`Unlock Vault`}),(0,$.jsx)(xe,{className:`vault-modal-subtitle`,children:`Enter your passphrase to access Google integrations`})]})]}),(0,$.jsx)(be,{onClick:()=>{i(``),c(null),n()}})]}),(0,$.jsxs)(R,{className:`vault-modal-body`,gap:3,children:[(0,$.jsx)(se,{autoFocus:!0,t
13ype:`password`,placeholder:`Your vault passphrase`,value:r,onChange:e=>{i(e.target.value),c(null)},onKeyDown:e=>{e.key===`Escape`?(i(``),c(null),n()):u(e)},className:pe(`vault-modal-input`,s&&`is-error`),disabled:a,error:s??void 0}),(0,$.jsx)(`p`,{className:`vault-modal-hint`,children:`Your passphrase never leaves this device — secrets are encrypted locally.`})]}),(0,$.jsxs)(V,{className:`vault-modal-footer`,justify:`end`,gap:3,children:[(0,$.jsx)(z,{variant:`secondary`,onClick:()=>{i(``),c(null),n()},disabled:a,children:`Cancel`}),(0,$.jsx)(z,{variant:`default`,loading:a,disabled:!r,onClick:l,children:`Unlock & Send`})]})]})}):null},Qk=class extends Q.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0,errorMessage:e?.message,errorStack:e?.stack}}componentDidCatch(e,t){w({message:e.message,kind:`react_boundary`,stack:e.stack+`
14`+t.componentStack})}render(){if(this.state.hasError){let e=this.state.errorMessage||`Unknown error`,t=this.state.errorStack||``;return(0,$.jsxs)(xe,{role:`alert`,style:{padding:24,maxWidth:800,margin:`0 auto`,fontFamily:`monospace`,color:`var(--app-text)`,background:`var(--app-bg)`},children:[(0,$.jsx)(`h1`,{style:{color:`var(--destruction-text)`},children:`🚨 React Render Error`}),(0,$.jsxs)(`p`,{children:[(0,$.jsx)(`strong`,{children:`Message:`}),` `,e]}),(0,$.jsx)(`pre`,{style:{background:`var(--black)`,color:`var(--white)`,padding:12,overflow:`auto`,maxHeight:400,fontSize:12},children:t}),(0,$.jsx)(`button`,{onClick:()=>window.location.reload(),style:{padding:`8px 16px`,cursor:`pointer`},children:`Reload`})]})}return this.props.children}},$k={unknown:0,pending:1,processing:2,expired:3,failed:4,confirmed:5};function eA(e,t,n){return!e||n&&e!==`confirmed`?t:$k[e]>$k[t]?e:t}var tA=9e5,nA=936e5,rA=72e5,iA=9e5,aA=[`confirmed`,`failed`,`quote_lapsed`,`window_closed`];function oA(e){return aA.includes(e)}function sA(e){let t=e.acceptedUntil?Date.parse(e.acceptedUntil):NaN,n=Number.isFinite(t)?t:e.startedAt+rA;return Math.min(e.startedAt+nA,n+iA)}function cA(e,t){return e.settledAt&&t-e.settledAt>864e5||e.dismissedAt&&t-e.dismissedAt>864e5?!0:t-e.startedAt>nA}function lA(e,t){return e.status===`confirmed`?!1:e.lastSeenAt===null||t<sA(e)}var uA=3e5;function dA(e,t,n){return e.txSignature||fA(e,n)!==`quote_lapsed`?!1:t.some(t=>t.status===`confirmed`&&t.orderId!==e.orderId&&t.amountUsd===e.amountUsd&&t.tokenType===e.tokenType&&Math.abs(t.startedAt-e.startedAt)<uA)}function fA(e,t=Date.now()){if(e.status===`confirmed`)return`confirmed`;if(e.status===`failed`)return`failed`;if(e.status===`expired`){let n=e.acceptedUntil?Date.parse(e.acceptedUntil):NaN;return Number.isFinite(n)&&n>t?`waiting`:e.txSignature?`window_closed`:`quote_lapsed`}return e.status===`processing`?`processing`:e.status===`unknown`?`unknown`:e.txSignature?t<sA(e)?`processing`:`window_closed`:e.source===`wallet_app`&&t-e.startedAt<tA?`handoff`:t>=sA(e)?`unknown`:`waiting`}var pA=`aizzy.credit.inflight.v1`,mA=`pending_credit_order`,hA=12,gA=new Set;function _A(e){return gA.add(e),()=>{gA.delete(e)}}function vA(){for(let e of gA)e()}function yA(){return D(null,Gi.getAccessToken())||``}function bA(){return OA(),xA()}function xA(){try{let e=JSON.parse(localStorage.getItem(`aizzy.credit.inflight.v1`)||`null`),t=e&&typeof e==`object`?e.orders:null;return t&&typeof t==`object`?{...t}:{}}catch{return{}}}function SA(e){try{localStorage.setItem(pA,JSON.stringify({v:1,orders:CA(e)}))}catch{}vA()}function CA(e){let t=Object.values(e);if(t.length<=hA)return e;let n=e=>e.dismissedAt?0:e.settledAt?1:2,r=t.sort((e,t)=>n(t)-n(e)||t.startedAt-e.startedAt).slice(0,hA);return Object.fromEntries(r.map(e=>[e.orderId,e]))}function wA(e=Date.now()){let t=yA();return t?Object.values(bA()).filter(n=>n.account===t&&!cA(n,e)).sort((e,t)=>t.startedAt-e.startedAt):[]}function TA(e=Date.now()){let t=bA(),n=Object.values(t).filter(t=>!cA(t,e));n.length!==Object.keys(t).length&&SA(Object.fromEntries(n.map(e=>[e.orderId,e])))}var EA=!1;function DA(){if(EA)return;EA=!0;let e=null;try{if(e=localStorage.getItem(mA),!e)return;localStorage.removeItem(mA)}catch{return}let t=yA();if(!t)return;let n=xA();n[e]||(n[e]={orderId:e,account:t,amountUsd:null,tokenType:null,walletLabel:null,source:`legacy`,status:`unknown`,txSignature:null,startedAt:Date.now(),acceptedUntil:null,lastSeenAt:null,lastReadFailed:!1,settledAt:null,dismissedAt:null},SA(n))}function OA(){EA||DA()}function kA(e,t={}){let n=yA();if(!e.orderId||!n)return;let r=bA(),i=r[e.orderId];if(i?.status===`confirmed`)return;let a=!!e.txSignature||t.forceStatus===!0;if(i?.dismissedAt&&!a)return;let o=e.status??i?.status??`pending`,s=eA(i?.status,o,t.forceStatus===!0);r[e.orderId]={orderId:e.orderId,account:n,amountUsd:i?.amountUsd??e.amountUsd??null,tokenType:e.tokenType??i?.tokenType??null,walletLabel:e.walletLabel??i?.walletLabel??null,source:i?.source??e.source??`in_page`,status:s,txSignature:e.txSignature??i?.txSignature??null,startedAt:i?.startedAt??Date.now(),acceptedUntil:i?.acceptedUntil??null,lastSeenAt:i?.lastSeenAt??null,lastReadFailed:i?.lastReadFailed??!1,settledAt:i&&s===i.status?i.settledAt:null,dismissedAt:null},SA(r)}function AA(e,t,n={}){kA({...n,orderId:e,status:`processing`,txSignature:t},{forceStatus:!!t})}function jA(e,t){let n=bA(),r=n[e];if(!r||r.status===`confirmed`)return!1;let i=MA(t?.status);if(!i)return!1;let a=Date.now(),o={...r,status:i,txSignature:r.txSignature??t?.tx_signature??t?.tx_hash??null,acceptedUntil:t?.accepted_until??r.acceptedUntil,amountUsd:r.amountUsd??NA(t?.amount_usd),tokenType:r.tokenType??(t?.token_type||null),lastSeenAt:a,lastReadFailed:!1},s=oA(fA(o,a));return n[e]={...o,settledAt:s?r.settledAt??a:null},SA(n),i!==r.status}function MA(e){return[`pending`,`processing`,`confirmed`,`failed`,`expired`].find(t=>t===e)??null}function NA(e){if(e==null||e===``)return null;let t=Number(e);return Number.isFinite(t)?t:null}function PA(e){let t=bA(),n=t[e];!n||n.lastReadFailed||(t[e]={...n,lastReadFailed:!0},SA(t))}function FA(e){let t=bA();t[e]&&(delete t[e],SA(t))}function IA(e){let t=bA(),n=t[e];!n||n.dismissedAt||(t[e]={...n,dismissedAt:Date.now()},SA(t))}function LA(){let e=yA();if(!e)return;let t=bA(),n=Object.values(t).filter(t=>t.account===e);n.length!==Object.keys(t).length&&SA(Object.fromEntries(n.map(e=>[e.orderId,e])))}
14var RA=()=>{let{setWindowWidth:e,setIsLogged:t}=Vi();ey(),Yi(`resize`,()=>e(window.innerWidth));let{isInitializing:n,error:r}=Ea();(0,Q.useEffect)(()=>{r&&T.auth.error(`Initialization error:`,r),n&&T.auth.info(`Initializing app data...`)},[n,r]);let i=(0,Q.useRef)(!0);(0,Q.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[]);let a=(0,Q.useCallback)(()=>{try{if(!i.current)return;let e=Hi.getAccessToken(),n=!!e;if(!n){let e=Bi.getMainChatConfig()?.chatData,t=Vi.getState().configsMainChat?.chatData;(e||t)&&(T.auth.info(`Session expired, clearing selected chat`),Ja.unselectForSessionExpired())}t(n),T.auth.info(`Auth state updated:`,{isLoggedIn:n,hasToken:!!e})}catch(e){T.auth.error(`Error checking auth state:`,e),t(!1),Ja.unselectForSessionExpired()}},[t]),o=(0,Q.useCallback)(()=>{try{lo.invalidateQueries({queryKey:uo.channels.all}),lo.invalidateQueries({queryKey:uo.models}),lo.invalidateQueries({queryKey:uo.user.all}),lo.invalidateQueries({queryKey:uo.assistants.all}),lo.invalidateQueries({queryKey:uo.localAssistants})}catch(e){T.auth.error(`Failed to refresh auth-dependent data on auth change:`,e)}},[]);return(0,Q.useEffect)(()=>{try{T.auth.info(`Setting up authentication state management`),a(),T.auth.info(`Event listeners configured successfully`)}catch(e){T.auth.error(`Critical error in auth setup:`,e);try{t(!1)}catch(e){T.auth.error(`Even fallback state update failed:`,e)}}},[a,t]),Yi(`storage`,e=>{try{if(!i.current)return;(e.key===null||Ui.includes(e.key))&&(T.auth.info(`Storage change detected for auth key:`,e.key),LA(),a(),o())}catch(e){T.auth.error(`Error handling storage change:`,e)}}),Yi(`authStateChanged`,()=>{try{if(!i.current)return;T.auth.info(`Auth change event detected`),a(),o()}catch(e){T.auth.error(`Error handling auth change:`,e)}}),(0,Q.useEffect)(()=>{HO(BO())},[]),(0,$.jsx)(Qk,{children:(0,$.jsxs)(Pa,{children:[(0,$.jsx)(Ok,{}),(0,$.jsx)(Zk,{}),(0,$.jsx)(N,{})]})})};window.__aizzyClearStorage=()=>{Bi.clearAllSession(),Hi.clearAll(),window.location.reload()};async function zA(e,t){T.data.info(`[RENDER] Starting app render`);try{e.render((0,$.jsx)(Qk,{children:(0,$.jsx)(d,{client:lo,children:(0,$.jsx)(l,{children:(0,$.jsx)(RA,{})})})})),T.data.info(`[RENDER] App rendered successfully`)}catch(n){T.data.error(`[RENDER] Error during app render:`,n),BA(e,t)}}function BA(e,t){try{T.data.info(`[RENDER] Attempting simplified render`),e.render((0,$.jsx)(Qk,{children:(0,$.jsx)(l,{children:(0,$.jsx)(V,{className:`fallback-render-shell`,justify:`center`,align:`center`,children:(0,$.jsxs)(xe,{"aria-busy":`true`,role:`status`,className:`fallback-render-card`,children:[(0,$.jsx)(`h2`,{className:`fallback-render-heading`,children:`🔧 Loading Aizzy...`}),(0,$.jsx)(`p`,{className:`fallback-render-text`,children:`We are preparing the application for you`}),(0,$.jsx)(`button`,{onClick:()=>window.location.reload(),className:`button-black`,children:`🔄 Retry`})]})})})})),T.data.info(`[RENDER] Simplified render completed`)}catch(e){T.data.error(`[RENDER] Even simplified render failed:`,e),VA(t)}}function VA(e){let t=document.getElementById(e);t&&(t.innerHTML=`
15    <div style="
16      display: flex;
17      justify-content: center;
18      align-items: center;
19      min-height: 100vh;
20      background-color: var(--white);
21      font-family: Arial, sans-serif;
22      text-align: center;
23      padding: 20px;
24    ">
25      <div role="alert" style="
26        background: white;
27        padding: 40px;
28        border-radius: 12px;
29        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
30        max-width: 500px;
31      ">
32        <h2 style="color: var(--gray); margin-bottom: 20px;">
33          🚨 Initialization Error
34        </h2>
35        <p style="color: var(--gray); margin-bottom: 20px;">
36          Aizzy could not be loaded correctly. This may be due to:
37        </p>
38        <ul style="text-align: left; color: var(--gray); margin-bottom: 30px;">
39          <li>Connection issues</li>
40          <li>Corrupted browser cache</li>
41          <li>Browser extensions interfering</li>
42        </ul>
43        <button onclick="window.location.reload()" style="
44          background: var(--gray);
45          color: white;
46          border: none;
47          padding: 12px 24px;
48          border-radius: 8px;
49          cursor: pointer;
50          margin-right: 10px;
51        ">
52          🔄 Reload Page
53        </button>
54        <button onclick="window.__aizzyClearStorage()" style="
55          background: var(--lightgray);
56          color: white;
57          border: none;
58          padding: 12px 24px;
59          border-radius: 8px;
60          cursor: pointer;
61        ">
62          🗑️ Clear Cache
63        </button>
64      </div>
65    </div>
66  `,T.data.info(`[RENDER] Last resort HTML render completed`))}function HA(){let e=b();e!==null&&T.crypto.warn(`[BOOT] ${v(e)}. Consequences: the secret vault cannot be created, unlocked or read here, and finished turns will not be integrity-confirmed to the server.`)}function UA(e){let t=(e,t)=>e<<t|e>>>32-t,n=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],r=new Int32Array(64);for(let e=0;e<64;e++)r[e]=Math.floor(Math.abs(Math.sin(e+1))*4294967296);let i=e.length,a=i*8,o=(i+8>>6<<6)+64,s=new Uint8Array(o);s.set(e),s[i]=128,s[o-8]=a&255,s[o-7]=a>>>8&255,s[o-6]=a>>>16&255,s[o-5]=a>>>24&255;let c=1732584193,l=4023233417,u=2562383102,d=271733878,f=new Int32Array(16);for(let e=0;e<o;e+=64){for(let t=0;t<16;t++){let n=e+t*4;f[t]=s[n]|s[n+1]<<8|s[n+2]<<16|s[n+3]<<24}let i=c,a=l,o=u,p=d;for(let e=0;e<64;e++){let s,c;e<16?(s=a&o|~a&p,c=e):e<32?(s=p&a|~p&o,c=5*e+1&15):e<48?(s=a^o^p,c=3*e+5&15):(s=o^(a|~p),c=7*e&15),s=s+i+r[e]+f[c]|0,i=p,p=o,o=a,a=a+t(s,n[e])|0}c=c+i|0,l=l+a|0,u=u+o|0,d=d+p|0}let p=new Uint8Array(16),m=[c,l,u,d];for(let e=0;e<4;e++)p[e*4]=m[e]&255,p[e*4+1]=m[e]>>>8&255,p[e*4+2]=m[e]>>>16&255,p[e*4+3]=m[e]>>>24&255;return p}function WA(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function GA(e,t){let n=new TextEncoder().encode(e),r=new Uint8Array(48),i=0,a=new Uint8Array;for(;i<48;){let e=new Uint8Array(a.length+n.length+t.length);e.set(a,0),e.set(n,a.length),e.set(t,a.length+n.length),a=UA(e);let o=Math.min(a.length,48-i);r.set(a.subarray(0,o),i),i+=o}return{key:WA(r.subarray(0,32)),iv:WA(r.subarray(32,48))}}function KA(e){let t=atob(e.replace(/\s+/g,``)),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}async function qA(e,t){x();let n=KA(e),r=[83,97,108,116,101,100,95,95];if(n.length<16)throw Error(`legacy-aes: too short`);for(let e=0;e<8;e++)if(n[e]!==r[e])throw Error(`legacy-aes: bad magic`);let i=n.slice(8,16),a=n.slice(16),{key:o,iv:s}=GA(t,i),c=await crypto.subtle.importKey(`raw`,o,{name:`AES-CBC`},!1,[`decrypt`]),l=await crypto.subtle.decrypt({name:`AES-CBC`,iv:s},c,WA(a));return new TextDecoder(`utf-8`,{fatal:!0}).decode(l)}var JA=t({rerunLegacyAesMigrationAfterImport:()=>ij,runLegacyAesMigration:()=>rj}),YA=`&vMHQ5JuTlQWJpgxvHczS2^W50Wyzh^KPqDf^9Bf*%yu3csHgmVax*lVoXhksLa%YCLr*5Z8YVCvLpoW6Es!ONxb2L^I19H^f`,XA=`aizzy:legacy-aes-migration:v1`,ZA=`U2FsdGVk`;function QA(){try{return localStorage.getItem(XA)===`1`}catch{return!1}}function $A(){try{localStorage.setItem(XA,`1`)}catch{}}function ej(){try{localStorage.removeItem(XA)}catch{}}async function tj(){let e=ka().table(Aa.chats),t=await e.toArray(),n=!0;for(let r of t){if(!r||!Array.isArray(r.messages))continue;let t=[...r.messages],i=!1,a=!1;for(let e=0;e<t.length;e++){let n=t[e];if(!(typeof n!=`string`||!n.startsWith(ZA)))try{let r=await qA(n,YA);JSON.parse(r),t[e]=r,i=!0}catch(t){T.crypto.warn(`[legacy-aes] chat message decrypt/parse failed (permanent); leaving row untouched`,{chatId:r.id,index:e,error:t}),a=!0;break}}if(!(a||!i))try{await e.update(r.id,{messages:t})}catch(e){T.crypto.warn(`[legacy-aes] failed to write migrated chat row; leaving untouched`,{chatId:r.id,error:e}),n=!1}}return n}async function nj(){let e=ka().table(Aa.channels),t=await e.toArray(),n=!0;for(let r of t){let t=r?.channel_name;if(typeof t!=`string`||!t.startsWith(ZA))continue;let i;try{if(i=await qA(t,YA),!i)throw Error(`empty channel_name after decrypt`)}catch(e){T.crypto.warn(`[legacy-aes] channel_name decrypt failed (permanent); leaving row untouched`,{channelId:r?.id,error:e});continue}try{await e.update(r.id,{channel_name:i})}catch(e){T.crypto.warn(`[legacy-aes] failed to write migrated channel row; will retry next boot`,{channelId:r?.id,error:e}),n=!1}}return n}async function rj(){try{if(QA())return;let e=await tj(),t=await nj();e&&t?($A(),T.crypto.info(`[legacy-aes] migration completed cleanly`)):T.crypto.warn(`[legacy-aes] migration incomplete — will retry next boot`)}catch(e){T.crypto.warn(`[legacy-aes] migration aborted with unexpected error`,e)}}async function ij(){try{let e=await tj(),t=await nj();e&&t?($A(),T.crypto.info(`[legacy-aes] post-import migration pass completed cleanly`)):(ej(),T.crypto.warn(`[legacy-aes] post-import migration incomplete — will retry next boot`))}catch(e){ej(),T.crypto.warn(`[legacy-aes] post-import migration aborted with unexpected error`,e)}}Yv(),Mi();var aj=`root`,oj=Av.createRoot(document.getElementById(aj),{onUncaughtError:(e,t)=>
66{let n=e instanceof Error?e:Error(String(e));w({message:n.message,kind:`react_uncaught`,stack:n.stack,componentStack:t.componentStack})},onCaughtError:(e,t)=>{let n=e instanceof Error?e:Error(String(e));w({message:n.message,kind:`react_caught`,stack:n.stack,componentStack:t.componentStack})}});T.settings.info(`Starting Aizzy initialization`),HA(),bo.restoreSession().then(e=>{e&&T.settings.info(`Session restored from sessionStorage — vault is unlocked`)}).catch(e=>T.settings.warn(`Could not restore vault session:`,e)),Xv().then(()=>(T.settings.info(`Language initialization completed, running legacy AES migration`),rj())).then(()=>(T.settings.info(`Legacy AES migration completed, starting render`),zA(oj,aj))).catch(e=>(T.settings.error(`Critical initialization error:`,e),rj().finally(()=>zA(oj,aj)))).finally(()=>ji());export{$w as $,py as $t,YO as A,Xb as At,cO as B,Gy as Bt,Wk as C,bx as Ct,Kk as D,Nb as Dt,Yk as E,Mb as Et,BO as F,Cb as Ft,NT as G,ky as Gt,$T as H,Py as Ht,zO as I,sb as It,vT as J,wy as Jt,MT as K,Oy as Kt,VO as L,ib as Lt,KO as M,kS as Mt,GO as N,NS as Nt,ek as O,Gb as Ot,HO as P,Sb as Pt,tT as Q,hy as Qt,hO as R,nb as Rt,Uk as S,TS as St,Gk as T,Ox as Tt,eE as U,jy as Ut,eO as V,$y as Vt,KT as W,Ay as Wt,dT as X,yy as Xt,fT as Y,xy as Yt,lT as Z,gy as Zt,oA as _,ou as _n,aC as _t,kA as a,ny as an,kw as at,Vk as b,Hl as bn,JS as bt,NA as c,eg as cn,nw as ct,TA as d,Kh as dn,oC as dt,fy as en,Zw as et,wA as f,Rh as fn,cC as ft,dA as g,sm as gn,nC as gt,lA as h,$m as hn,rC as ht,FA as i,ry as in,Rw as it,ZO as j,AS as jt,XO as k,Ab as kt,pA as l,Xh as ln,QC as lt,_A as m,Ah as mn,iC as mt,jA as n,uy as nn,qw as nt,AA as o,ty as on,cw as ot,bA as p,Mh as pn,QS as pt,TT as q,Ey as qt,IA as r,oy as rn,Jw as rt,PA as s,U_ as sn,rw as st,JA as t,dy as tn,Yw as tt,yA as u,Yh as un,dC as ut,fA as v,iu as vn,XS as vt,qk as w,Cx as wt,Hk as x,KS as xt,Bk as y,Jl as yn,YS as yt,dO as z,Iy as zt};

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.