PageSourceSearch

https://firstvet.com/_nuxt/CSBx1tWs.js

js firstvet.com collected 2026-09-24 09:23:38 UTC 732,380 bytes, 84 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CYn3Sb0T2.js","./2G0Juyjs.js","./CpehnsQK.js","./BXO2z0r_.js","./ByVedN-Y.js","./FW6fSsy_.js","./B_ZxU8pK.js","./BLAzUmDd.js","./PknzRMnF.js","./Csr4Cqko.js","./CP8JGvKZ.js","./B4NQJFsT.js","./B0_hzlrX.js","./BZo7wB2G.js","./4kOapjgE.js","./Br2ldy1I.js","./ChkbbEd8.js","./DX5lzS0Y.js","./D7KZUwPp.js","./BGAOVUa2.js","./CPPg8-wd.js","./CD2135u5.js","./D4gGCL4C.js","./D20tdH69.js","./BGoqMq3A.js","./CyP-kafI.js","./ZSCH9HmY.js","./Bd6QkQPM.js","./Chmyg-rw.js","./CH1MIuIm2.js","./Dw1pE_6K.js","./BedCIuGe2.js","./Bl8SsX4Q2.js","./DpR1W37D2.js","./CQhSJvSr2.js","./3sCpsyst2.js","./m4CKwVbr2.js","./89RVcN_d2.js","./DHBFoeUr2.js","./C87RB04E2.js","./CUQtooSs2.js","./D68u13a_.js","./Bfp5Ko8w.js","./DeIX7Bm0.js","./BJhZbI6e.js","./D4v2FfVx2.js","./BCXGD4Jt.js","./CwBOe-A42.js","./Bzuixv5P2.js","./Dbnn8gFm.js","./BLeMYSkQ.js","./DOvtnai1.js","./BXYCL3LJ.js","./EditorialButtonLink.xjGkbzTD.css","./SuAw3ic0.js","./BvK8Arak.js","./XcylsxR4.js","./PageBuilder.DPqDfx2F.css","./Cjh3jBPG2.js","./Czkr_03e.js","./qcVPp-03.js","./StaticPictogram.CDSVuYSx.css","./Healthchecks.BnhD4jt3.css","./zdvL6xfG.js","./PartnerLogoCloud.DPTeWTMJ.css","./DAZymfXO.js","./DXW0hR4Q.js","./BN-kKlZJ.js","./DIaLsv-s.js","./pages.CSfz-xdS.css","./IjBFr6oD.js","./CNQjVoF8.js","./campaigns.C2HcLer3.css","./DODB2ik0.js","./DxIvOjXJ.js","./CG1RpLl1.js","./Txop1dmS.js","./D530o4oU2.js","./lEamQcJ2.js","./DynamicPictogram.9bQPDC6R.css","./Button.DN1EktL4.css","./CIXK-nQL.js","./Dcl7N-Fi2.js","./BcjNqg092.js","./DKIzskcF2.js","./DzLNFpi62.js","./uHhgmsJf2.js","./DmkE9j-p2.js","./kkg-eH-u2.js","./Modal.DDsFWYji.css","./BJx4TJbO2.js","./DHai4uRZ2.js","./_code_.DO9h3H-z.css","./Fl7cNa5v.js","./CHzYUP_Z2.js","./CYX-TydB.js","./BTHD4NBi.js","./5KyKY48_.js","./DxmOghBr.js","./9VHaRWqZ2.js","./B4v-KgNa.js","./DXxKD8fj.js","./Zzldib9S.js","./n553JoVa.js","./InputField.CoJev5c5.css","./BzB7YWT0.js","./CZjuRoHG2.js","./CIXl8BQy2.js","./BtD10_Cc2.js","./QJh-SxaX2.js","./Cwqb01AQ2.js","./yMw8Sv9j.js","./price-management.B5U9bEsA.css","./D6YWlBwZ.js","./CGxwBeTH2.js","./BpkBVd4h2.js","./z8E-3XVG2.js","./DC
1ZNGIKB2.js","./U4CHvRce2.js","./mUUqfLe92.js","./DioHehVl.js","./DSXfhGPq2.js","./W7vGojGr2.js","./CkwFq9hx2.js","./Ck7cT0L0.js","./BFvYFj1N.js","./DXhBLQsO.js","./DPbZDhDx.js","./BenefitIcon.ktFFiPXZ.css","./BaCSBQck.js","./DQfoVrJB2.js","./CiLpeYQy.js","./B-dgdfE-2.js","./DB7WdVhJ2.js","./3bR7xx362.js","./Bh5Nyd2r2.js","./Dh6TbM012.js","./CjIYqG4G2.js","./QuantitySelector.C7zB32Eb.css","./Bsn4gVY62.js","./Dw1u6n9N2.js","./DJrp7mP-2.js","./Cve5lMVE2.js","./DKIKEH2d2.js","./ProductCard.BjIDWNvA.css","./BvbMK7Rz2.js","./CyZkMkGb.js","./BcGg8yaL.js","./BwN868cA2.js","./DLBuwIdr2.js","./B5KweN2L2.js","./CJIqlm7T2.js","./C9X9zgXT2.js","./Ckzv6iLN2.js","./BP6q1UO62.js","./CIXmcthk2.js","./review.D5onXbGA.css","./QySyD4_t2.js","./CXARP4D_.js","./YI-6zKrE2.js","./CO7HAiDw2.js","./B3rn7MVp2.js","./B_n8veOW.js","./BPX_4x1-.js","./Badge.CzpiN24G.css","./Dc8o4Tjy.js","./QhCd-oDx2.js","./ArticleGrid.hNw_R-k_.css","./BCRx-rOC.js","./DVmIlBVw.js","./BLcLsvaW.js","./CIDk5KLF.js","./t_LpK2i1.js","./Dgrckl_K.js","./PageHeader.De3iXmkV.css","./_slug_.Dc0miADm.css","./BsXvT3aQ.js","./C9HvjrUQ2.js","./CcgFQkMd2.js","./DD8-Z9Zm2.js","./CS22y6yq2.js","./BtM-_SP12.js","./Select.CqGj9zI2.css","./wUK2qBCf2.js","./CTrNJjfq2.js","./iaY7CKQ02.js","./a1M9z7_T2.js","./CM8plefQ2.js","./InfoCookiePolicy.jsiqqr0N.css","./_slug_.DGXEp3Aw.css","./HnUbIY192.js","./BSoToMPA.js","./SwiperNext.DmrlNBXo.css","./CqUe-0ZD.js","./Videos.De_bCR9H.css","./DRYSiRp42.js","./ProductsSwiper.DekPJc70.css","./CRKxzV7y2.js","./BNRYexBv.js","./ByBBKt18.js","./CgK-ecZQ.js","./Bf9ppMHc2.js","./CKPNRuSQ2.js","./DyuNpk69.js","./CcqGQYrw2.js","./LkDhnnKC2.js","./DottedDivider.C0wAgMnl.css","./_slug_.C_Qqc9wM.css","./DCCb7IiE2.js","./UIx5YD1X.js","./I8o_Goho.js","./Cwtko4oL2.js","./DpWhCSHZ2.js","./ShippingFreeProgressBar.Cq_83LbH.css","./Bs43gEwA2.js","./Sidebar.Bdpt8tST.css","./Chbpdp3V2.js","./Footer.BcU_boAw.css","./Cpey0qeJ2.js","./Bp74bnft2.js","./_...DoRsMOli.css","./CION2u-C2.js","./cookies.BBbsZpq9.css","./D2L8L4UZ2.js","./DpI-HBO52.js","./INttFD9Y.js","./X_UP-LXd.js","./BAHQXGLT.js","./Cl3Ml1Xy2.js","./BWdfv5be.js","./DyqKVV9G.js","./HFkYqN67.js","./CiILOlR8.js","./7Mr8TFz8.js","./BtCR25rp.js","./v9nRpv0A.js","./BflmpdGH2.js","./BlWKzQqo.js","./checkout.BNx-ykrh.css","./CZZvetsS2.js","./DNm0EmkF.js","./CuIqMEFl.js","./BC6VEecm.js","./DpY3HhTS.js","./CmSax34d2.js","./BmpPtwZp2.js","./DJPg8cQI2.js","./w91W88cq2.js","./Cugdzirc2.js","./CWEYZKA52.js","./xiM3D6i02.js","./Cd705CIs2.js","./CSr-uRTE.js","./C8kr3Ogr2.js","./order-history.DJFVX8LC.css","./B0u0BCcn2.js","./BPi89j3s2.js","./ManualReturns.0vVEPJFC.css","./returns.D5oLtJzC.css","./BOEHAm2x2.js","./Ie250TCF2.
1js","./harUqpPR2.js","./DAyUExcP2.js","./DuQxzDgs2.js","./Bek7zLkG2.js","./CocsQ29z2.js","./DnPoTxB6.js","./Cq_li-562.js","./DYkSQqZI2.js","./DG5N9WYS2.js","./CJudsBEa.js","./DX_ZCkDe2.js","./Bj6jI4O3.js","./CwxnW_ca.js","./Cbg295Bl2.js","./DzBJSuBS.js","./Swiper.Cm-D-0Rg.css","./zlKY0gzZ.js","./DEJ11DgX.js","./BPPyhlHZ.js","./DAwO8kXd.js","./BFFLliKi2.js","./DCuRiTih.js","./CMStwu2z2.js","./_slug_.CWjoP_Qi.css","./CX022Gku.js","./D0562S9H.js","./_...D9hYJtW_.css","./BX0St8WX.js","./5rRqwcKh.js","./cookies.ChB4D9JE.css","./CWm_Rc1b.js","./D0G8rMZS.js","./employers.3rrNhyuX.css","./Sn84X04o.js","./D9oDaHNd.js","./mjnZEdjj.js","./insurers.BE5DLfx-.css","./BajJX35p.js","./BKVbvCIw.js","./1HKUMAg9.js","./dsU_fmk0.js","./CX1EuQ8O.js","./Bc1l-SCJ.js","./BBDxlXp4.js","./BGeNjFL22.js","./CbxTcnqx2.js","./B-WSg1F72.js","./DQU9jqep2.js","./BKrsJwXU2.js","./CdMletBD.js","./BRnVnC32.js"])))=>i.map(i=>d[i]);
2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`54c87872638239515ef3f30797ca52f364bc3abf`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`18dd9f60-61b2-4942-a484-f0f1de9e7ba6`,e._sentryDebugIdIdentifier=`sentry-dbid-18dd9f60-61b2-4942-a484-f0f1de9e7ba6`)}catch{}})();import{a as e,i as t,l as n,r,s as i}from"./Dw1pE_6K.js";import{a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,r as m,s as h,t as g}from"./2G0Juyjs.js";import{At as _,C as v,Ct as y,Dt as b,E as x,Et as S,F as ee,I as te,L as ne,M as re,N as ie,O as ae,S as oe,St as C,Tt as se,U as ce,V as le,X as ue,_t as de,a as fe,at as pe,b as me,bt as he,ct as ge,d as w,en as _e,f as ve,gt as ye,kt as be,lt as xe,m as Se,mt as Ce,p as we,pt as Te,st as Ee,u as De,ut as Oe,wt as ke,y as Ae,yt as je}from"./CpehnsQK.js";import{i as Me,r as Ne}from"./B4NQJFsT.js";import{t as Pe}from"./ByVedN-Y.js";import{a as Fe,c as Ie,d as Le,g as Re,h as ze,i as Be,l as Ve,m as He,n as Ue,o as We,r as Ge,s as Ke,t as qe,y as Je}from"./BXO2z0r_.js";import{_ as Ye,a as Xe,c as Ze,d as Qe,o as $e,p as et,r as tt}from"./FW6fSsy_.js";import{n as nt,t as rt}from"./PknzRMnF.js";import{n as it}from"./Csr4Cqko.js";import{a as at,c as ot,d as st,f as ct,i as lt,l as ut,o as dt,p as ft,r as pt,s as mt,t as ht,u as gt}from"./BCXGD4Jt.js";import{A as _t,B as vt,C as yt,D as bt,E as xt,F as St,I as Ct,L as wt,M as Tt,N as Et,O as Dt,P as Ot,R as kt,S as At,T as jt,_ as Mt,a as Nt,b as Pt,c as Ft,d as It,f as Lt,g as Rt,h as zt,i as Bt,j as Vt,k as Ht,m as Ut,n as Wt,o as Gt,p as Kt,r as qt,s as Jt,u as Yt,v as Xt,w as Zt,x as Qt,y as $t,z as en}from"./BLAzUmDd.js";import{l as tn}from"./CP8JGvKZ.js";import{i as nn,n as rn}from"./v9nRpv0A.js";import{t as an}from"./BZo7wB2G.js";import{t as T}from"./4kOapjgE.js";import{i as on,r as sn,t as cn}from"./D4gGCL4C.js";import{n as ln,r as un,t as dn}from"./BtCR25rp.js";import{t as fn}from"./DioHehVl.js";import{t as pn}from"./ZSCH9HmY.js";import{t as mn}from"./BGoqMq3A.js";import{t as hn}from"./CyP-kafI.js";import{n as gn}from"./Br2ldy1I.js";import{s as _n,t as vn}from"./D20tdH69.js";import{t as yn}from"./ChkbbEd8.js";import{t as bn}from"./BGAOVUa2.js";import{r as xn}from"./CD2135u5.js";import{n as Sn,t as Cn}from"./BJhZbI6e.js";import{t as wn}from"./Bd6QkQPM.js";import{$ as Tn,$t as En,A as Dn,B as On,Bt as kn,C as An,Ct as jn,D as Mn,E as Nn,F as Pn,G as Fn,H as In,I as Ln,J as Rn,K as zn,L as Bn,M as Vn,N as Hn,O as Un,P as E,Pt as Wn,Q as Gn,R as Kn,St as qn,T as Jn,V as Yn,Vt as Xn,Xt as Zn,Y as Qn,Z as $n,Zt as er,_t as tr,an as nr,at as rr,b as ir,ct as ar,dt as or,et as sr,f as cr,fn as lr,gt as ur,ht as dr,i as fr,it as pr,jt as mr,k as hr,l as gr,ln as _r,lt as vr,mt as yr,nn as br,nt as xr,on as D,ot as Sr,pn as Cr,pt as wr,q as Tr,qt as Er,rt as Dr,st as Or,tt as kr,ut as Ar,vt as jr,w as Mr,x as Nr,xt as Pr,y as Fr,z as Ir,zt as Lr}from"./Chmyg-rw.js";import{F as Rr,N as zr,P as Br,_ as Vr,a as O,b as Hr,c as Ur,f as Wr,g as Gr,i as Kr,m as qr,n as Jr,o as Yr,p as Xr,r as Zr,s as Qr,t as $r,v as ei,w as ti,x as ni,y as ri}from"./BRnVnC32.js";import{a as ii,c as ai,d as oi,h as si,i as ci,l as li,m as k,o as ui,r as di,s as fi,u as pi}from"./BedCIuGe2.js";import{a as mi,i as hi,n as gi,r as _i,t as vi}from"./DSXfhGPq2.js";import{a as yi}from"./CH1MIuIm2.js";import{c as bi,d as xi,i as Si,l as Ci,n as wi,o as Ti,r as Ei,s as Di,t as Oi,u as ki}from"./DHBFoeUr2.js";import{i as Ai,n as ji,r as Mi,t as Ni}from"./YI-6zKrE2.js";import{t as Pi}from"./BpkBVd4h2.js";import{c as Fi,i as Ii,s as Li,t as Ri}from"./a1M9z7_T2.js";import{n as zi,t as Bi}from"./1D_QqQp_2.js";import{t as Vi}
2from"./CkwFq9hx2.js";import{n as Hi,t as Ui}from"./DB7WdVhJ2.js";import{g as Wi,s as Gi}from"./3bR7xx362.js";import{t as Ki}from"./BflmpdGH2.js";import{t as qi}from"./QJh-SxaX2.js";import{a as Ji,i as Yi}from"./BcjNqg092.js";import{t as Xi}from"./DmkE9j-p2.js";import{t as Zi}from"./Bp74bnft2.js";import{t as Qi}from"./z8E-3XVG2.js";import{t as $i}from"./DQfoVrJB2.js";import{t as ea}from"./D4v2FfVx2.js";import{t as ta}from"./DCZNGIKB2.js";import{t as na}from"./Dbnn8gFm.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`global`in globalThis||(globalThis.global=globalThis);var ra=/\\/g,ia=/</g,aa=/"/g,oa=/%\w+(?:\.\w+)?/g,sa=`%separator`;function ca(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return n?(r||``).replace(ra,`\\\\`).replace(ia,`\\u003C`).replace(aa,`\\"`):r||``}function la(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(oa);if(!a)return e;let o=e.includes(sa);return e=e.replace(oa,e=>{if(e===sa||!a.includes(e))return e;let n=ca(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(sa).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var ua=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,da=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),fa=ft({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=da(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=da(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ua))}}}),pa=ft({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function ma(e){return typeof e?.then==`function`}function ha(e){if(typeof e==`function`)return e;if(ma(e))return Promise.resolve(e).then(ha);if(Array.isArray(e)){let t=e.map(ha);return t.some(ma)?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=t.map(t=>ha(e[t]));if(n.some(ma))return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var ga=ft(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=ha(a);if(!ma(o)){t.delete(i);continue}t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})}}}}},`promises`),_a={meta:`content`,link:`href`,htmlAttrs:`lang`},va=[`innerHTML`,`textContent`],ya=ft(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=la(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=_a[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=la(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of va)typeof e[t]==`string`&&(e[t]=la(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=la(n.textContent,e._templateParams,e._separator))}}}),`template-params`);function ba(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function xa(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>ba(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};
2return t.init?.forEach(e=>e&&i.push(e)),i}var Sa=c(()=>{Ct(`skipHydrate`,e=>!on(e)&&1),wt(`skipHydrate`,e=>void 0)}),Ca=rt;function wa(e){try{return JSON.parse(e)}catch{return e}}var Ta=[[`NuxtError`,e=>Be(e)],[`EmptyShallowRef`,e=>se(e===`_`?void 0:e===`0n`?BigInt(0):wa(e))],[`EmptyRef`,e=>C(e===`_`?void 0:e===`0n`?BigInt(0):wa(e))],[`ShallowRef`,e=>se(e)],[`ShallowReactive`,e=>y(e)],[`Ref`,e=>C(e)],[`Reactive`,e=>he(e)]];Ta.push([`Island`,({key:e,params:t,result:n})=>{let r=a();return r.isHydrating||(r.payload.data[e]||=Ca(`/__nuxt_island/${e}.json`,{responseType:`json`,...t?{params:t}:{}}).then(t=>(r.payload.data[e]=t,t))),{html:``,...n}}]);var Ea=m({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of Ta)wt(e,t);Object.assign(e.payload,([t,n]=s(()=>e.runWithContext(kt)),t=await t,n(),t)),delete window.__NUXT__}},1);function Da(e,t){t.push(h),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function Oa(e,t,n){let r=e.push,i=e;return i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>ba(i,e),i.render=()=>n(i),i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,t.callHook(`entries:updated`,i)},i.push=(n,a)=>{let o=a?.onRendered?t.hook(`dom:rendered`,a.onRendered):void 0,s=r(n,a),c=e.entries.get(s._i);return c&&(c._o=n),i.dirty=!0,t.callHook(`entries:updated`,i),{_i:s._i,patch(e){s.patch(e),i.dirty=!0,t.callHook(`entries:updated`,i)},dispose(){o?.(),e.entries.has(s._i)&&(s.dispose(),i.invalidate())}}},t.hook(`entries:updated`,()=>{i.render()}),i}var ka=/\s+/;function Aa(e={}){return t=>Pa(t,e)}function ja(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Ma(e){for(let t in e._s)e._s[t]();for(let t in e._p)e._p[t]();e._s={},e._p={},e._e.clear(),e._l.clear()}function Na(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let e of[...t.body.children,...t.head.children]){let t=e.tagName.toLowerCase();if(!st.has(t))continue;let r={innerHTML:e.innerHTML};for(let t of e.getAttributeNames())r[t]=e.getAttribute(t);let i=mt({tag:t,props:{}},r);i.key=e.getAttribute(`data-hid`)||void 0;let a=lt(i)||at(i),o=a,s=1;for(;n._e.has(o);)o=`${a}:${s++}`;n._e.set(o,e)}for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(ka))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function Pa(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom,i=!!r&&r._d!==n;if(!n||!i&&!e.dirty&&!ja(e)||e._du)return!1;let a=n.defaultView;e._du=!0;let o=!1;try{let r=function(e,t,n,r){let i=`${e}:${t}`;d._s[i]=!r&&d._p[i]||n,delete d._p[i]},i=function(e){let t=d._p[e];return delete d._p[e],t},s=function(e,t,n,i,a,o){let s=`event:${t}`,c=`${e}:${s}`,l=d._l.get(c);if(l&&l[0]===o&&l[1]===n&&l[2]===i){r(e,s,l[4]);return}l?.[4]();let u=`data-${t}`,f=(e=>i.call(a,e)),p=()=>{o.removeEventListener(n,f),a.getAttribute(u)===``&&a.removeAttribute(u),d._l.get(c)?.[3]===f&&d._l.delete(c)};o.addEventListener(n,f),d._l.set(c,[o,n,i,f,p]),a.setAttribute(u,``),r(e,s,p,!0)},c=function({id:e,$el:t,tag:n}){let o=n.tag.endsWith(`Attrs`);if(d._e.set(e,t),!o){let a=n.textContent;a!=null&&a!==``&&(a!==t.textContent&&(t.textContent=a),r(e,`text`,()=>{t.textContent===a&&(t.textContent=``)},!0));let o=n.innerHTML;o!=null&&o!==``&&(o!==t.innerHTML&&(t.innerHTML=o),r(e,`html`,()=>{t.innerHTML===o&&(t.innerHTML=``)},!0));let s=`${e}:el`;d._s[s]=i(s)||(()=>{t?.remove(),d._e.delete(e)})}for(let r in n.props){let o=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof o==`function`){let i=r.slice(2);t?.dataset?.[`${r}fired`]&&o.call(t,new((a?.Event)||Event)(i)),s(e,r,i,o,t,n.tag===`bodyAttrs`&&a?a:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&o)for(let e of o){let n=`${c}:${e}`;d._s[n]=i(n)||(()=>t.classList.remove(e)),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&o)for(let[e,n]of o){let r=`${c}:${e}`;d._s[r]=i(r)||(()=>t.style.removeProperty(e)),t.style.setProperty(e,n)}else o!==!1&&o!==null&&(t.getAttribute(r)!==o&&t.setAttribute(r,o===!0?``:String(o)),d._s[c]=i(c)||(()=>t.removeAttribute(r)))}},l={shouldRender:!0,tags:[]};if(ut(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=e._dom;u?._d!==n&&(u&&Ma(u),u=void 0),u?u._p=u._s:u=Na(e,n),u._s={};let d=u,f=[],p={};e.dirty=!1;let m=ot(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),h=[],g={};for(let e of m){let t=g[e._d]||0,i=(t?`${e._d}:${t}`:e._d)||e._h,a={tag:e,id:i,shouldRender:!0};if(e.tag===`meta`&&e._d&&dt(e._d)&&(g[e._d]=t+1),h.push(a),e.tag===`title`){n.title=e.textContent,r(`title`,``,()=>n.title=d._t);continue}a.$el=d._e.get(i),a.$el?c(a):st.has(e.tag)&&f.push(a)}for(let e of f)e.$el=n.createElement(e.tag.tag),c(e),(p[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(let e in d._p)d._p[e]();e._dom=d,o=!0,ut(e,`dom:rendered`,{renders:h})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return o&&(e.dirty||ja(e))&&Pa(e,t),o}var Fa=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(ct[e.tagPriority]||0);function Ia(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||Aa({document:e.document}),n=Oa(xa(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Fa,init:[]}),gt(e.hooks),t);
2return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function La(e={}){let t=Aa(),n,r=0;return n=Ia({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=pt(n),n}var Ra={disableDefaults:!0,plugins:[pa,ga,ya,fa]},za=m({name:`nuxt:head`,enforce:`pre`,setup(e){Da(e,La(Ra))}}),Ba=Ve(async e=>{let t,n;if(!e.meta?.validate)return;let r=([t,n]=s(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r!==!0)return Be({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})},1),Va=Ve(e=>{fn().queryToEnabledFeatures(e.query)});function Ha(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw Re.NUXT_E2010({path:t});if(n.protocol&&$e(n.protocol))throw Re.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:a().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var Ua=!1;function Wa(){if(Ua)return;function e(){let e=Nn(),t=e&&Mn(e);if(t){let e=`internal_error`;Cr&&D.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}e.tag=`sentry_tracingErrorCallback`,Ua=!0,Rr(e),Br(e)}var Ga=class{constructor(e={}){this._traceId=e.traceId||jr(),this._spanId=e.spanId||tr()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function Ka(e){if(!Cr)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`,parent_span_id:r}=E(e),{spanId:i}=e.spanContext(),a=Vn(e),o=Mn(e),s=o===e,c=`[Tracing] Starting ${a?`sampled`:`unsampled`} ${s?`root `:``}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){let{op:e,description:t}=E(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}D.log(`${c}
3  ${l.join(`
4  `)}`)}function qa(e){if(!Cr)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`}=E(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${Mn(e)===e?`root `:``}span "${t}" with ID ${r}`;D.log(i)}function Ja(e,t,n,r=Nn()){let i=r&&Mn(r);i&&(Cr&&D.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[xr]:t,[kr]:n}))}function Ya(e){if(!e||e.length===0)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[kr],i=n[xr];typeof r==`string`&&typeof i==`number`&&(t[e.name]={value:i,unit:r})}),t}var Xa=1e3,Za=class{constructor(e={}){this._traceId=e.traceId||jr(),this._spanId=e.spanId||tr(),this._startTime=e.startTimestamp||jn(),this._links=e.links,this._attributes={},this.setAttributes({[pr]:`manual`,[Dr]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),`sampled`in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return t===void 0?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=Hn(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(Or,`custom`),this}end(e){this._endTime||(this._endTime=Hn(e),qa(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Dr],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:hr(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[pr],profile_id:this._attributes[Gn],exclusive_time:this._attributes[$n],measurements:Ya(this._events),is_segment:this._isStandaloneSpan&&Mn(this)===this||void 0,segment_id:this._isStandaloneSpan?Mn(this).spanContext().spanId:void 0,links:Jn(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){Cr&&D.log(`[Tracing] Adding an event to span:`,e);let r=Qa(t)?t:n||jn(),i=Qa(t)?{}:t||{},a={name:e,time:Hn(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=vr();if(e&&e.emit(`spanEnd`,this),!(this._isStandaloneSpan||this===Mn(this)))return;if(this._isStandaloneSpan){this._sampled?to(ti([this],e)):(Cr&&D.log(`[Tracing] Discarding standalone span because its trace was not chosen to be sampled.`),e&&e.recordDroppedEvent(`sample_rate`,`span`));return}let t=this._convertSpanToTransaction();t&&(Tr(this).scope||Ar()).captureEvent(t)}_convertSpanToTransaction(){if(!$a(E(this)))return;this._name||=(Cr&&D.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),`<unlabeled transaction>`);let{scope:e,isolationScope:t}=Tr(this),n=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;let r=Un(this).filter(e=>e!==this&&!eo(e)).map(e=>E(e)).filter($a),i=this._attributes[Or];
4delete this._attributes[Tn],r.forEach(e=>{delete e.data[Tn]});let a={contexts:{trace:Bn(this)},spans:r.length>Xa?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,Xa):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:Nr(this)},request:n,...i&&{transaction_info:{source:i}}},o=Ya(this._events);return o&&Object.keys(o).length&&(Cr&&D.log(`[Measurements] Adding measurements to transaction event`,JSON.stringify(o,void 0,2)),a.measurements=o),a}};function Qa(e){return e&&typeof e==`number`||e instanceof Date||Array.isArray(e)}function $a(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function eo(e){return e instanceof Za&&e.isStandaloneSpan()}function to(e){let t=vr();if(!t)return;let n=e[1];if(!n||n.length===0){t.recordDroppedEvent(`before_send`,`span`);return}t.sendEnvelope(e)}function no(e,t,n=()=>{},r=()=>{}){let i;try{i=e()}catch(e){throw t(e),n(),e}return ro(i,t,n,r)}function ro(e,t,n,r){return En(e)?e.then(e=>(n(),r(e),e),e=>{throw t(e),n(),e}):(n(),r(e),e)}function io(e,t,n){if(!An(e))return[!1];let r,i;typeof e.tracesSampler==`function`?(i=e.tracesSampler({...t,inheritOrSampleWith:e=>typeof t.parentSampleRate==`number`?t.parentSampleRate:typeof t.parentSampled==`boolean`?Number(t.parentSampled):e}),r=!0):t.parentSampled===void 0?e.tracesSampleRate!==void 0&&(i=e.tracesSampleRate,r=!0):i=t.parentSampled;let a=In(i);if(a===void 0)return Cr&&D.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!a)return Cr&&D.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),[!1,a,r];let o=n<a;return o||Cr&&D.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,a,r]}var ao=`__SENTRY_SUPPRESS_TRACING__`;function oo(e,t){let n=fo();if(n.startSpan)return n.startSpan(e,t);let r=uo(e),{forceTransaction:i,parentSpan:a,scope:o}=e,s=o?.clone();return wr(s,()=>go(a)(()=>{let n=Ar(),o=ho(n,a),s=e.onlyIfParent&&!o?new Ga:lo({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return ur(n,s),no(()=>t(s),()=>{let{status:e}=E(s);s.isRecording()&&(!e||e===`ok`)&&s.setStatus({code:2,message:`internal_error`})},()=>{s.end()})}))}function so(e){let t=fo();if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=uo(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?t=>wr(e.scope,t):i===void 0?e=>e():e=>co(i,e))(()=>{let t=Ar(),a=ho(t,i);return e.onlyIfParent&&!a?new Ga:lo({parentSpan:a,spanArguments:n,forceTransaction:r,scope:t})})}function co(e,t){let n=fo();return n.withActiveSpan?n.withActiveSpan(e,t):wr(n=>(ur(n,e||void 0),t(n)))}function lo({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!An()){let r=new Ga;if(n||!e){let e={sampled:`false`,sample_rate:`0`,transaction:t.name,...Nr(r)};Fr(r,e)}return r}let i=or(),a;if(e&&!n)a=mo(e,r,t),Mr(e,a);else if(e){let n=Nr(e),{traceId:i,spanId:o}=e.spanContext(),s=Vn(e);a=po({traceId:i,parentSpanId:o,...t},r,s),Fr(a,n)}else{let{traceId:e,dsc:n,parentSpanId:o,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};a=po({traceId:e,parentSpanId:o,...t},r,s),n&&Fr(a,n)}return Ka(a),Rn(a,r,i),a}function uo(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=Hn(e.startTime),delete n.startTime,n}return t}function fo(){let e=_r();return yr(e)}function po(e,t,n){let r=vr(),i=r?.getOptions()||{},{name:a=``}=e,o={spanAttributes:{...e.attributes},spanName:a,parentSampled:n};r?.emit(`beforeSampling`,o,{decision:!1});let s=o.parentSampled??n,c=o.spanAttributes,l=t.getPropagationContext(),[u,d,f]=t.getScopeData().sdkProcessingMetadata[ao]?[!1]:io(i,{name:a,parentSampled:s,attributes:c,parentSampleRate:In(l.dsc?.sample_rate)},l.sampleRand),p=new Za({...e,attributes:{[Or]:`custom`,[Sr]:d!==void 0&&f?d:void 0,...c},sampled:u});return!u&&r&&(Cr&&D.log(`[Tracing] Discarding root span because its trace was not chosen to be sampled.`),r.recordDroppedEvent(`sample_rate`,`transaction`)),r&&r.emit(`spanStart`,p),p}function mo(e,t,n){let{spanId:r,traceId:i}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[ao]&&Vn(e),o=a?new Za({...n,parentSpanId:r,traceId:i,sampled:a}):new Ga({traceId:i});Mr(e,o);let s=vr();return s&&(s.emit(`spanStart`,o),n.endTimestamp&&s.emit(`spanEnd`,o)),o}function ho(e,t){if(t)return t;if(t===null)return;let n=dr(e);if(!n)return;let r=vr();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Mn(n):n}function go(e){return e===void 0?e=>e():t=>co(e,t)}var _o={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3}
4,vo=`heartbeatFailed`,yo=`idleTimeout`,bo=`finalTimeout`,xo=`externalFinish`;function So(e,t={}){let n=new Map,r=!1,i,a=xo,o=!t.disableAutoFinish,s=[],{idleTimeout:c=_o.idleTimeout,finalTimeout:l=_o.finalTimeout,childSpanTimeout:u=_o.childSpanTimeout,beforeSpanEnd:d,trimIdleSpanEndTimestamp:f=!0}=t,p=vr();if(!p||!An()){let e=new Ga,t={sample_rate:`0`,sampled:`false`,...Nr(e)};return Fr(e,t),e}let m=Ar(),h=Nn(),g=Co(e);g.end=new Proxy(g.end,{apply(e,t,n){if(d&&d(g),t instanceof Ga)return;let[r,...i]=n,a=r||jn(),o=Hn(a),s=Un(g).filter(e=>e!==g),c=E(g);if(!s.length||!f)return S(o),Reflect.apply(e,t,[o,...i]);let u=p.getOptions().ignoreSpans,m=s?.reduce((e,t)=>{let n=E(t);return!n.timestamp||u&&zr(n,u)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),h=c.start_timestamp,_=Math.min(h?h+l/1e3:1/0,Math.max(h||-1/0,Math.min(o,m||1/0)));return S(_),Reflect.apply(e,t,[_,...i])}});function _(){i&&=(clearTimeout(i),void 0)}function v(e){_(),i=setTimeout(()=>{!r&&n.size===0&&o&&(a=yo,g.end(e))},c)}function y(e){i=setTimeout(()=>{!r&&o&&(a=vo,g.end(e))},u)}function b(e){_(),n.set(e,!0),y(jn()+u/1e3)}function x(e){n.has(e)&&n.delete(e),n.size===0&&v(jn()+c/1e3)}function S(e){r=!0,n.clear(),s.forEach(e=>e()),ur(m,h);let t=E(g),{start_timestamp:i}=t;if(!i)return;t.data[`sentry.idle_span_finish_reason`]||g.setAttribute(sr,a);let o=t.status;(!o||o===`unknown`)&&g.setStatus({code:1}),D.log(`[Tracing] Idle span "${t.op}" finished`);let u=Un(g).filter(e=>e!==g),d=0;u.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:`cancelled`}),t.end(e),Cr&&D.log(`[Tracing] Cancelling span since span ended early`,JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=E(t),i=r<=e,a=(l+c)/1e3,o=n-r<=a;if(Cr){let e=JSON.stringify(t,void 0,2);i?o||D.log(`[Tracing] Discarding span since it finished after idle span final timeout`,e):D.log(`[Tracing] Discarding span since it happened after idle span was finished`,e)}(!o||!i)&&(Dn(g,t),d++)}),d>0&&g.setAttribute(`sentry.idle_span_discarded_spans`,d)}return s.push(p.on(`spanStart`,e=>{r||e===g||E(e).timestamp||e instanceof Za&&e.isStandaloneSpan()||Un(g).includes(e)&&b(e.spanContext().spanId)})),s.push(p.on(`spanEnd`,e=>{r||x(e.spanContext().spanId)})),s.push(p.on(`idleSpanEnableAutoFinish`,e=>{e===g&&(o=!0,v(),n.size&&y())})),t.disableAutoFinish||v(),setTimeout(()=>{r||(g.setStatus({code:2,message:`deadline_exceeded`}),a=bo,g.end())},l),g}function Co(e){let t=so(e);return ur(Ar(),t),Cr&&D.log(`[Tracing] Started span is an idle span`),t}function wo(e={}){let t=e.client||vr();if(!cr()||!t)return{};let n=_r(),r=yr(n);if(r.getTraceData)return r.getTraceData(e);let i=e.scope||Ar(),a=e.span||Nn(),o=a?Pn(a):To(i),s=a?Nr(a):ir(t,i),c=zn(s);if(!Kn.test(o))return D.warn(`Invalid sentry-trace data. Cannot generate trace data`),{};let l={"sentry-trace":o,baggage:c};return e.propagateTraceparent&&(l.traceparent=a?Ln(a):Eo(i)),l}function To(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Ir(t,r,n)}function Eo(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return On(t,r,n)}function Do(e,t,n,r,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=An()&&t(o);if(e.endTimestamp&&s){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(Ao(n,e),Oo(n,e,i),delete r[t]);return}let{spanOrigin:c=`auto.http.browser`,propagateTraceparent:l=!1}=typeof i==`object`?i:{spanOrigin:i},u=!!Nn(),d=s&&u?so(No(o,a,c)):new Ga;if(e.fetchData.__span=d.spanContext().spanId,r[d.spanContext().spanId]=d,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=ko(t,n,An()&&u?d:void 0,l);r&&(e.args[1]=n,n.headers=r)}let f=vr();if(f){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};f.emit(`beforeOutgoingRequestSpan`,d,t)}return d}function Oo(e,t,n){(typeof n==`object`&&n?n.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function ko(e,t,n,r){let i=wo({span:n,propagateTraceparent:r}),a=i[`sentry-trace`],o=i.baggage,s=i.traceparent;if(!a)return;let c=t.headers||(er(e)?e.headers:void 0);if(!c)return{...i};if(Mo(c)){let e=new Headers(c);if(e.get(`sentry-trace`)||e.set(`sentry-trace`,a),r&&s&&!e.get(`traceparent`)&&e.set(`traceparent`,s),o){let t=e.get(`baggage`);t?jo(t)||e.set(`baggage`,`${t},${o}`):e.set(`baggage`,o)}return e}if(Array.isArray(c)){let e=[...c];c.find(e=>e[0]===`sentry-trace`)||e.push([`sentry-trace`,a]),r&&s&&!c.find(e=>e[0]===`traceparent`)&&e.push([`traceparent`,s]);let t=c.find(e=>e[0]===`baggage`&&jo(e[1]));return o&&!t&&e.push([`baggage`,o]),e}{let e=`sentry-trace`in c?c[`sentry-trace`]:void 0,t=`traceparent`in c?c.traceparent:void 0,n=`baggage`in c?c.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find(e=>jo(e)):jo(n));o&&!l&&i.push(o);let u={...c,"sentry-trace":e??a,baggage:i.length>0?i.join(`,`):void 0};return r&&s&&!t&&(u.traceparent=s),u}}function Ao(e,t){if(t.response){Qn(e,t.response.status);let n=t.response?.headers?.get(`content-length`);if(n){let t=parseInt(n);t>0&&e.setAttribute(`http.response_content_length`,t)}}else t.error&&e.setStatus({code:2,message:`internal_error`});e.end()}function jo(e){return e.split(`,`).some(e=>e.trim().startsWith(Fn))}function Mo(e){return typeof Headers<`u`&&Er(e,Headers)}function No(e,t,n){if(e.startsWith(`data:`))return{name:`${t} ${Hr(e)}`,attributes:Po(e,void 0,t,n)};let r=ei(e);return{name:`${t} ${r?Gr(r):e}`,attributes:Po(e,r,t,n)}}function Po(e,t,n,r){let i={url:Hr(e),type:`fetch`,"http.method":n,[pr]:r,[Dr]:`http.client`};return t&&(Vr(t)||(i[`http.url`]=Hr(t.href),i[`server.address`]=t.host),t.search&&(i[`http.query`]=t.search),t.hash&&(i[`http.fragment`]=t.hash)),i}function Fo(){return!Wr()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function Io(){return typeof window<`u`&&(!Fo()||Lo())}function Lo(){return lr.process?.type===`renderer`}var Ro=(e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`,zo=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=Ro(t.value,n),e(t)))}},Bo=(e=!0)=>{let t=O.performance?.getEntriesByType?.(`navigation`)[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},Vo=()=>Bo()?.activationStart??0;
4function Ho(e,t,n){O.document&&O.addEventListener(e,t,n)}function Uo(e,t,n){O.document&&O.removeEventListener(e,t,n)}var Wo=-1,Go=new Set,Ko=()=>O.document?.visibilityState===`hidden`&&!O.document?.prerendering?0:1/0,qo=e=>{if(Yo(e)&&Wo>-1){if(e.type===`visibilitychange`||e.type===`pagehide`)for(let e of Go)e();isFinite(Wo)||(Wo=e.type===`visibilitychange`?e.timeStamp:0,Uo(`prerenderingchange`,qo,!0))}},Jo=()=>{if(O.document&&Wo<0){let e=Vo();Wo=(O.document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).filter(t=>t.name===`hidden`&&t.startTime>e)[0]?.startTime)??Ko(),Ho(`visibilitychange`,qo,!0),Ho(`pagehide`,qo,!0),Ho(`prerenderingchange`,qo,!0)}return{get firstHiddenTime(){return Wo},onHidden(e){Go.add(e)}}};function Yo(e){return e.type===`pagehide`||O.document?.visibilityState===`hidden`}var Xo=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+0xe8d4a51000}`,Zo=(e,t=-1)=>{let n=Bo(),r=`navigate`;return n&&(O.document?.prerendering||Vo()>0?r=`prerender`:O.document?.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:Xo(),navigationType:r}},Qo=new WeakMap;function $o(e,t){try{return Qo.get(e)||Qo.set(e,new t),Qo.get(e)}catch{return new t}}var es=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}},ts=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},ns=e=>{let t=!1;return()=>{t||=(e(),!0)}},rs=e=>{O.document?.prerendering?addEventListener(`prerenderingchange`,()=>e(),!0):e()},is=[1800,3e3],as=(e,t={})=>{rs(()=>{let n=Jo(),r=Zo(`FCP`),i,a=ts(`paint`,e=>{for(let t of e)t.name===`first-contentful-paint`&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-Vo(),0),r.entries.push(t),i(!0)))});a&&(i=zo(e,r,is,t.reportAllChanges))})},os=[.1,.25],ss=(e,t={})=>{as(ns(()=>{let n=Zo(`CLS`,0),r,i=Jo(),a=$o(t,es),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=ts(`layout-shift`,o);s&&(r=zo(e,n,os,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),O?.setTimeout?.(r))}))},cs=0,ls=1/0,us=0,ds=e=>{e.forEach(e=>{e.interactionId&&(ls=Math.min(ls,e.interactionId),us=Math.max(us,e.interactionId),cs=us?(us-ls)/7+1:0)})},fs,ps=()=>fs?cs:performance.interactionCount||0,ms=()=>{`interactionCount`in performance||fs||(fs=ts(`event`,ds,{type:`event`,buffered:!0,durationThreshold:0}))},hs=10,gs=0,_s=()=>ps()-gs,vs=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){gs=ps(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(_s()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||e.entryType===`first-input`))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<hs||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>hs){let e=this._longestInteractionList.splice(hs);for(let t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}},ys=e=>{let t=O.requestIdleCallback||O.setTimeout;O.document?.visibilityState===`hidden`?e():(e=ns(e),Ho(`visibilitychange`,e,{once:!0,capture:!0}),Ho(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),Uo(`visibilitychange`,e,{capture:!0}),Uo(`pagehide`,e,{capture:!0})}
4))},bs=[200,500],xs=40,Ss=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&`interactionId`in PerformanceEventTiming.prototype))return;let n=Jo();rs(()=>{ms();let r=Zo(`INP`),i,a=$o(t,vs),o=e=>{ys(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,i())})},s=ts(`event`,o,{durationThreshold:t.durationThreshold??xs});i=zo(e,r,bs,t.reportAllChanges),s&&(s.observe({type:`first-input`,buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),i(!0)}))})},Cs=class{_processEntry(e){this._onBeforeProcessingEntry?.(e)}},ws=[2500,4e3],Ts=(e,t={})=>{rs(()=>{let n=Jo(),r=Zo(`LCP`),i,a=$o(t,Cs),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(let t of e)a._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-Vo(),0),r.entries=[t],i())},s=ts(`largest-contentful-paint`,o);if(s){i=zo(e,r,ws,t.reportAllChanges);let n=ns(()=>{o(s.takeRecords()),s.disconnect(),i(!0)}),a=e=>{e.isTrusted&&(ys(n),Uo(e.type,a,{capture:!0}))};for(let e of[`keydown`,`click`,`visibilitychange`])Ho(e,a,{capture:!0})}})},Es=[800,1800],Ds=e=>{O.document?.prerendering?rs(()=>Ds(e)):O.document?.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>Ds(e),!0)},Os=(e,t={})=>{let n=Zo(`TTFB`),r=zo(e,n,Es,t.reportAllChanges);Ds(()=>{let e=Bo();e&&(n.value=Math.max(e.responseStart-Vo(),0),n.entries=[e],r(!0))})},ks={},As={},js,Ms,Ns,Ps;function Fs(e,t=!1){return Gs(`cls`,e,Vs,js,t)}function Is(e,t=!1){return Gs(`lcp`,e,Hs,Ms,t)}function Ls(e){return Gs(`ttfb`,e,Us,Ns)}function Rs(e){return Gs(`inp`,e,Ws,Ps)}function zs(e,t){return qs(e,t),As[e]||(Ks(e),As[e]=!0),Js(e,t)}function Bs(e,t){let n=ks[e];if(n?.length)for(let r of n)try{r(t)}catch(t){Yr&&D.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${br(r)}\nError:`,t)}}function Vs(){return ss(e=>{Bs(`cls`,{metric:e}),js=e},{reportAllChanges:!0})}function Hs(){return Ts(e=>{Bs(`lcp`,{metric:e}),Ms=e},{reportAllChanges:!0})}function Us(){return Os(e=>{Bs(`ttfb`,{metric:e}),Ns=e})}function Ws(){return Ss(e=>{Bs(`inp`,{metric:e}),Ps=e})}function Gs(e,t,n,r,i=!1){qs(e,t);let a;return As[e]||(a=n(),As[e]=!0),r&&t({metric:r}),Js(e,t,i?a:void 0)}function Ks(e){let t={};e===`event`&&(t.durationThreshold=0),ts(e,t=>{Bs(e,{entries:t})},t)}function qs(e,t){ks[e]=ks[e]||[],ks[e].push(t)}function Js(e,t,n){return()=>{n&&n();let r=ks[e];if(!r)return;let i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function Ys(e){return`duration`in e}var Xs=e=>{let t=t=>{(t.type===`pagehide`||O.document?.visibilityState===`hidden`)&&e(t)};Ho(`visibilitychange`,t,{capture:!0,once:!0}),Ho(`pagehide`,t,{capture:!0,once:!0})};function Zs(e){return typeof e==`number`&&isFinite(e)}function Qs(e,t,n,{...r}){let i=E(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime==`function`&&e.updateStartTime(t),co(e,()=>{let e=so({startTime:t,...r});return e&&e.end(n),e})}function $s(e){let t=vr();if(!t)return;let{name:n,transaction:r,attributes:i,startTime:a}=e,{release:o,environment:s,sendDefaultPii:c}=t.getOptions(),l=t.getIntegrationByName(`Replay`)?.getReplayId(),u=Ar(),d=u.getUser(),f=d===void 0?void 0:d.email||d.id||d.ip_address,p;try{p=u.getScopeData().contexts.profile.profile_id}catch{}return so({name:n,attributes:{release:o,environment:s,user:f||void 0,profile_id:p||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":O.navigator?.userAgent,"client.address":c?`{{auto}}`:void 0,...i},startTime:a,experimental:{standalone:!0}})}function ec(){return O.addEventListener&&O.performance}function tc(e){return e/1e3}function nc(e){let t=`unknown`,n=`unknown`,r=``;for(let i of e){if(i===`/`){[t,n]=e.split(`/`);break}if(!isNaN(Number(i))){t=r===`h`?`http`:r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function rc(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function ic(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n),r=!0}Xs(()=>{i(`pagehide`)});let a=e.on(`beforeStartNavigationSpan`,(e,t)=>{t?.isRedirect||(i(`navigation`),a(),o())}),o=e.on(`afterStartPageLoadSpan`,e=>{n=e.spanContext().spanId,o()})}function ac(e){let t=0,n;if(!rc(`layout-shift`))return;let r=Fs(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);ic(e,(e,i)=>{oc(t,n,i,e),r()})}function oc(e,t,n,r){Yr&&D.log(`Sending CLS span (${e})`);let i=t?tc((Pr()||0)+t.startTime):jn(),a=Ar().getScopeData().transactionName,o=t?Xn(t.sources[0]?.node):`Layout shift`,s={[pr]:`auto.http.browser.cls`,[Dr]:`ui.webvital.cls`,[$n]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};
4t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=Xn(e.node)});let c=$s({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`cls`,{[kr]:``,[xr]:e}),c.end(i))}function sc(e){let t=0,n;if(!rc(`largest-contentful-paint`))return;let r=Is(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);ic(e,(e,i)=>{cc(t,n,i,e),r()})}function cc(e,t,n,r){Yr&&D.log(`Sending LCP span (${e})`);let i=tc((Pr()||0)+(t?.startTime||0)),a=Ar().getScopeData().transactionName,o=t?Xn(t.element):`Largest contentful paint`,s={[pr]:`auto.http.browser.lcp`,[Dr]:`ui.webvital.lcp`,[$n]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s[`lcp.element`]=Xn(t.element)),t.id&&(s[`lcp.id`]=t.id),t.url&&(s[`lcp.url`]=t.url),t.loadTime!=null&&(s[`lcp.loadTime`]=t.loadTime),t.renderTime!=null&&(s[`lcp.renderTime`]=t.renderTime),t.size!=null&&(s[`lcp.size`]=t.size));let c=$s({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`lcp`,{[kr]:`millisecond`,[xr]:e}),c.end(i))}function lc(e){return e&&((Pr()||performance.timeOrigin)+e)/1e3}function uc(e){let t={};if(e.nextHopProtocol!=null){let{name:n,version:r}=nc(e.nextHopProtocol);t[`network.protocol.version`]=r,t[`network.protocol.name`]=n}return Pr()||ec()?.timeOrigin?dc({...t,"http.request.redirect_start":lc(e.redirectStart),"http.request.redirect_end":lc(e.redirectEnd),"http.request.worker_start":lc(e.workerStart),"http.request.fetch_start":lc(e.fetchStart),"http.request.domain_lookup_start":lc(e.domainLookupStart),"http.request.domain_lookup_end":lc(e.domainLookupEnd),"http.request.connect_start":lc(e.connectStart),"http.request.secure_connection_start":lc(e.secureConnectionStart),"http.request.connection_end":lc(e.connectEnd),"http.request.request_start":lc(e.requestStart),"http.request.response_start":lc(e.responseStart),"http.request.response_end":lc(e.responseEnd),"http.request.time_to_first_byte":e.responseStart==null?void 0:e.responseStart/1e3}):t}function dc(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!=null))}var fc=2147483647,pc=0,mc={},hc,gc;function _c({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=ec();if(r&&Pr()){r.mark&&O.performance.mark(`sentry-tracing-init`);let i=t?sc(n):Sc(),a=Cc(),o=e?ac(n):xc();return()=>{i?.(),a(),o?.()}}return()=>void 0}function vc(){zs(`longtask`,({entries:e})=>{let t=Nn();if(!t)return;let{op:n,start_timestamp:r}=E(t);for(let i of e){let e=tc(Pr()+i.startTime),a=tc(i.duration);n===`navigation`&&r&&e<r||Qs(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-task`,attributes:{[pr]:`auto.ui.browser.metrics`}})}})}function yc(){new PerformanceObserver(e=>{let t=Nn();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=tc(Pr()+n.startTime),{start_timestamp:r,op:i}=E(t);if(i===`navigation`&&r&&e<r)continue;let a=tc(n.duration),o={[pr]:`auto.ui.browser.metrics`},{invoker:s,invokerType:c,sourceURL:l,sourceFunctionName:u,sourceCharPosition:d}=n.scripts[0];o[`browser.script.invoker`]=s,o[`browser.script.invoker_type`]=c,l&&(o[`code.filepath`]=l),u&&(o[`code.function`]=u),d!==-1&&(o[`browser.script.source_char_position`]=d),Qs(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-animation-frame`,attributes:o})}}).observe({type:`long-animation-frame`,buffered:!0})}function bc(){zs(`event`,({entries:e})=>{let t=Nn();if(t){for(let n of e)if(n.name===`click`){let e=tc(Pr()+n.startTime),r=tc(n.duration),i={name:Xn(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[pr]:`auto.ui.browser.metrics`}},a=Lr(n.target);a&&(i.attributes[`ui.component_name`]=a),Qs(t,e,e+r,i)}}})}function xc(){return Fs(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(mc.cls={value:e.value,unit:``},gc=t)},!0)}function Sc(){return Is(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(mc.lcp={value:e.value,unit:`millisecond`},hc=t)},!0)}function Cc(){return Ls(({metric:e})=>{e.entries[e.entries.length-1]&&(mc.ttfb={value:e.value,unit:`millisecond`})})}function wc(e,t){let n=ec(),r=Pr();if(!n?.getEntries||!r)return;let i=tc(r),a=n.getEntries(),{op:o,start_timestamp:s}=E(e);
4a.slice(pc).forEach(n=>{let r=tc(n.startTime),a=tc(Math.max(0,n.duration));if(!(o===`navigation`&&s&&i+r<s))switch(n.entryType){case`navigation`:Oc(e,n,i);break;case`mark`:case`paint`:case`measure`:{Ec(e,n,r,a,i,t.ignorePerformanceApiSpans);let o=Jo(),s=n.startTime<o.firstHiddenTime;n.name===`first-paint`&&s&&(mc.fp={value:n.startTime,unit:`millisecond`}),n.name===`first-contentful-paint`&&s&&(mc.fcp={value:n.startTime,unit:`millisecond`});break}case`resource`:Mc(e,n,n.name,r,a,i,t.ignoreResourceSpans)}}),pc=Math.max(a.length-1,0),Nc(e),o===`pageload`&&(Ic(mc),t.recordClsOnPageloadSpan||delete mc.cls,t.recordLcpOnPageloadSpan||delete mc.lcp,Object.entries(mc).forEach(([e,t])=>{Ja(e,t.value,t.unit)}),e.setAttribute(`performance.timeOrigin`,i),e.setAttribute(`performance.activationStart`,Vo()),Pc(e,t)),hc=void 0,gc=void 0,mc={}}function Tc(e){if(e?.entryType===`measure`)try{return e.detail.devtools.track===`Components ⚛`}catch{return}}function Ec(e,t,n,r,i,a){if(Tc(t)||[`mark`,`measure`].includes(t.entryType)&&mr(t.name,a))return;let o=Bo(!1),s=tc(o?o.requestStart:0),c=i+Math.max(n,s),l=i+n,u=l+r,d={[pr]:`auto.resource.browser.metrics`};c!==l&&(d[`sentry.browser.measure_happened_before_request`]=!0,d[`sentry.browser.measure_start_time`]=c),Dc(d,t),c<=u&&Qs(e,c,u,{name:t.name,op:t.entryType,attributes:d})}function Dc(e,t){try{let n=t.detail;if(!n)return;if(typeof n==`object`){for(let[t,r]of Object.entries(n))if(r&&Zn(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(r!==void 0)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(Zn(n)){e[`sentry.browser.measure.detail`]=n;return}try{e[`sentry.browser.measure.detail`]=JSON.stringify(n)}catch{}}catch{}}function Oc(e,t,n){[`unloadEvent`,`redirect`,`domContentLoadedEvent`,`loadEvent`,`connect`].forEach(r=>{kc(e,t,r,n)}),kc(e,t,`secureConnection`,n,`TLS/SSL`),kc(e,t,`fetch`,n,`cache`),kc(e,t,`domainLookup`,n,`DNS`),jc(e,t,n)}function kc(e,t,n,r,i=n){let a=t[Ac(n)],o=t[`${n}Start`];!o||!a||Qs(e,r+tc(o),r+tc(a),{op:`browser.${i}`,name:t.name,attributes:{[pr]:`auto.ui.browser.metrics`,...n===`redirect`&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function Ac(e){return e===`secureConnection`?`connectEnd`:e===`fetch`?`domainLookupStart`:`${e}End`}function jc(e,t,n){let r=n+tc(t.requestStart),i=n+tc(t.responseEnd),a=n+tc(t.responseStart);t.responseEnd&&(Qs(e,r,i,{op:`browser.request`,name:t.name,attributes:{[pr]:`auto.ui.browser.metrics`}}),Qs(e,a,i,{op:`browser.response`,name:t.name,attributes:{[pr]:`auto.ui.browser.metrics`}}))}function Mc(e,t,n,r,i,a,o){if(t.initiatorType===`xmlhttprequest`||t.initiatorType===`fetch`)return;let s=t.initiatorType?`resource.${t.initiatorType}`:`resource.other`;if(o?.includes(s))return;let c={[pr]:`auto.resource.browser.metrics`},l=ri(n);l.protocol&&(c[`url.scheme`]=l.protocol.split(`:`).pop()),l.host&&(c[`server.address`]=l.host),c[`url.same_origin`]=n.includes(O.location.origin),Fc(t,c,[[`responseStatus`,`http.response.status_code`],[`transferSize`,`http.response_transfer_size`],[`encodedBodySize`,`http.response_content_length`],[`decodedBodySize`,`http.decoded_response_content_length`],[`renderBlockingStatus`,`resource.render_blocking_status`],[`deliveryType`,`http.response_delivery_type`]]);let u={...c,...uc(t)},d=a+r;Qs(e,d,d+i,{name:n.replace(O.location.origin,``),op:s,attributes:u})}function Nc(e){let t=O.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute(`effectiveConnectionType`,n.effectiveType),n.type&&e.setAttribute(`connectionType`,n.type),Zs(n.rtt)&&(mc[`connection.rtt`]={value:n.rtt,unit:`millisecond`})),Zs(t.deviceMemory)&&e.setAttribute(`deviceMemory`,`${t.deviceMemory} GB`),Zs(t.hardwareConcurrency)&&e.setAttribute(`hardwareConcurrency`,String(t.hardwareConcurrency))}function Pc(e,t){hc&&t.recordLcpOnPageloadSpan&&(hc.element&&e.setAttribute(`lcp.element`,Xn(hc.element)),hc.id&&e.setAttribute(`lcp.id`,hc.id),hc.url&&e.setAttribute(`lcp.url`,hc.url.trim().slice(0,200)),hc.loadTime!=null&&e.setAttribute(`lcp.loadTime`,hc.loadTime),hc.renderTime!=null&&e.setAttribute(`lcp.renderTime`,hc.renderTime),e.setAttribute(`lcp.size`,hc.size)),gc?.sources&&t.recordClsOnPageloadSpan&&gc.sources.forEac
4h((t,n)=>e.setAttribute(`cls.source.${n+1}`,Xn(t.node)))}function Fc(e,t,n){n.forEach(([n,r])=>{let i=e[n];i!=null&&(typeof i==`number`&&i<fc||typeof i==`string`)&&(t[r]=i)})}function Ic(e){let t=Bo(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e[`ttfb.requestTime`]={value:n-r,unit:`millisecond`})}function Lc(){return ec()&&Pr()?zs(`element`,Rc):()=>void 0}var Rc=({entries:e})=>{let t=Nn(),n=t?Mn(t):void 0,r=n?E(n).description:Ar().getScopeData().transactionName;e.forEach(e=>{let t=e;if(!t.identifier)return;let n=t.name,i=t.renderTime,a=t.loadTime,[o,s]=a?[tc(a),`load-time`]:i?[tc(i),`render-time`]:[jn(),`entry-emission`],c=n===`image-paint`?tc(Math.max(0,(i??0)-(a??0))):0,l={[pr]:`auto.ui.browser.elementtiming`,[Dr]:`ui.elementtiming`,[Or]:`component`,"sentry.span_start_time_source":s,"sentry.transaction_name":r,"element.id":t.id,"element.type":t.element?.tagName?.toLowerCase()||`unknown`,"element.size":t.naturalWidth&&t.naturalHeight?`${t.naturalWidth}x${t.naturalHeight}`:void 0,"element.render_time":i,"element.load_time":a,"element.url":t.url||void 0,"element.identifier":t.identifier,"element.paint_type":n};oo({name:`element[${t.identifier}]`,attributes:l,startTime:o,onlyIfParent:!0},e=>{e.end(o+c)})})};function zc(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return Yr&&D.error(t,`Failed to get xhr response headers`,e),{}}return t?t.split(`\r
5`).reduce((e,t)=>{let[n,r]=t.split(`: `);return r&&(e[n.toLowerCase()]=r),e},{}):{}}var Bc=[],Vc=new Map,Hc=new Map,Uc=60;function Wc(){if(ec()&&Pr()){let e=Kc();return()=>{e()}}return()=>void 0}var Gc={click:`click`,pointerdown:`click`,pointerup:`click`,mousedown:`click`,mouseup:`click`,touchstart:`click`,touchend:`click`,mouseover:`hover`,mouseout:`hover`,mouseenter:`hover`,mouseleave:`hover`,pointerover:`hover`,pointerout:`hover`,pointerenter:`hover`,pointerleave:`hover`,dragstart:`drag`,dragend:`drag`,drag:`drag`,dragenter:`drag`,dragleave:`drag`,dragover:`drag`,drop:`drag`,keydown:`press`,keyup:`press`,keypress:`press`,input:`press`};function Kc(){return Rs(qc)}var qc=({metric:e})=>{if(e.value==null)return;let t=tc(e.value);if(t>Uc)return;let n=e.entries.find(t=>t.duration===e.value&&Gc[t.name]);if(!n)return;let{interactionId:r}=n,i=Gc[n.name],a=tc(Pr()+n.startTime),o=Nn(),s=o?Mn(o):void 0,c=r==null?void 0:Vc.get(r),l=c?.span||s,u=l?E(l).description:Ar().getScopeData().transactionName,d=$s({name:c?.elementName||Xn(n.target),transaction:u,attributes:{[pr]:`auto.http.browser.inp`,[Dr]:`ui.interaction.${i}`,[$n]:n.duration},startTime:a});d&&(d.addEvent(`inp`,{[kr]:`millisecond`,[xr]:e.value}),d.end(a+t))};function Jc(){let e=Object.keys(Gc);Io()&&e.forEach(e=>{O.addEventListener(e,t,{capture:!0,passive:!0})});function t(e){let t=e.target;if(!t)return;let n=Xn(t),r=Math.round(e.timeStamp);if(Hc.set(r,n),Hc.size>50){let e=Hc.keys().next().value;e!==void 0&&Hc.delete(e)}}function n(e){let t=Math.round(e.startTime),n=Hc.get(t);if(!n)for(let e=-5;e<=5;e++){let r=Hc.get(t+e);if(r){n=r;break}}return n||`<unknown>`}let r=({entries:e})=>{let t=Nn(),r=t&&Mn(t);e.forEach(e=>{if(!Ys(e))return;let t=e.interactionId;if(t==null||Vc.has(t))return;let i=e.target?Xn(e.target):n(e);if(Bc.length>10){let e=Bc.shift();Vc.delete(e)}Bc.push(t),Vc.set(t,{span:r,elementName:i})})};zs(`event`,r),zs(`first-input`,r)}function Yc(e){return e.split(`,`).some(e=>e.trim().startsWith(`sentry-`))}function Xc(e){try{return new URL(e,Qr.location.origin).href}catch{return}}function Zc(e){return e.entryType===`resource`&&`initiatorType`in e&&typeof e.nextHopProtocol==`string`&&(e.initiatorType===`fetch`||e.initiatorType===`xmlhttprequest`)}function Qc(e){try{return new Headers(e)}catch{return}}var $c=new WeakMap,el=new Map,tl={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function nl(e,t){let{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:a,enableHTTPTimings:o,tracePropagationTargets:s,onRequestSpanStart:c,onRequestSpanEnd:l}={...tl,...t},u=typeof a==`function`?a:e=>!0,d=e=>il(e,s),f={},p=e.getOptions().propagateTraceparent;n&&(e.addEventProcessor(e=>
5(e.type===`transaction`&&e.spans&&e.spans.forEach(e=>{if(e.op===`http.client`){let t=el.get(e.span_id);t&&(e.timestamp=t/1e3,el.delete(e.span_id))}}),e)),i&&Xr(e=>{if(e.response){let t=$c.get(e.response);t&&e.endTimestamp&&el.set(t,e.endTimestamp)}}),qr(e=>{let t=Do(e,u,d,f,{propagateTraceparent:p,onRequestSpanEnd:l});if(e.response&&e.fetchData.__span&&$c.set(e.response,e.fetchData.__span),t){let n=Xc(e.fetchData.url),r=n?ri(n).host:void 0;t.setAttributes({"http.url":n?Hr(n):void 0,"server.address":r}),o&&rl(t),c?.(t,{headers:e.headers})}})),r&&Zr(e=>{let t=al(e,u,d,f,p,l);t&&(o&&rl(t),c?.(t,{headers:Qc(e.xhr.__sentry_xhr_v3__?.request_headers)}))})}function rl(e){let{url:t}=E(e).data;if(!t||typeof t!=`string`)return;let n=zs(`resource`,({entries:r})=>{r.forEach(r=>{Zc(r)&&r.name.endsWith(t)&&(e.setAttributes(uc(r)),setTimeout(n))})})}function il(e,t){let n=kn();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?mr(r.toString(),t)||a&&mr(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?mr(e,t):n}}function al(e,t,n,r,i,a){let o=e.xhr,s=o?.[Jr];if(!o||o.__sentry_own_request__||!s)return;let{url:c,method:l}=s,u=An()&&t(c);if(e.endTimestamp&&u){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&s.status_code!==void 0&&(Qn(n,s.status_code),n.end(),a?.(n,{headers:Qc(zc(o)),error:e.error}),delete r[t]);return}let d=Xc(c),f=ri(d||c),p=Hr(ni(c)),m=!!Nn(),h=u&&m?so({name:`${l} ${p}`,attributes:{url:Hr(c),type:`xhr`,"http.method":l,"http.url":d?Hr(d):void 0,"server.address":f?.host,[pr]:`auto.http.browser`,[Dr]:`http.client`,...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new Ga;o.__sentry_xhr_span_id__=h.spanContext().spanId,r[o.__sentry_xhr_span_id__]=h,n(c)&&ol(o,An()&&m?h:void 0,i);let g=vr();return g&&g.emit(`beforeOutgoingRequestSpan`,h,e),h}function ol(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=wo({span:t,propagateTraceparent:n});r&&sl(e,r,i,a)}function sl(e,t,n,r){let i=e.__sentry_xhr_v3__?.request_headers;if(!(i?.[`sentry-trace`]||!e.setRequestHeader))try{if(e.setRequestHeader(`sentry-trace`,t),r&&!i?.traceparent&&e.setRequestHeader(`traceparent`,r),n){let t=i?.baggage;(!t||!Yc(t))&&e.setRequestHeader(`baggage`,n)}}catch{}}function cl(){Qr.document?Qr.document.addEventListener(`visibilitychange`,()=>{let e=Nn();if(!e)return;let t=Mn(e);if(Qr.document.hidden&&t){let e=`cancelled`,{op:n,status:r}=E(t);$r&&D.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute(`sentry.cancellation_reason`,`document.hidden`),t.end()}}):$r&&D.warn(`[Tracing] Could not set up background tab detection due to lack of global document`)}var ll=`sentry_previous_trace`,ul=`sentry.previous_trace`;function dl(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r=t===`session-storage`,i=r?ml():void 0;e.on(`spanStart`,e=>{if(Mn(e)!==e)return;let t=Ar().getPropagationContext();i=fl(i,e,t),r&&pl(i)});let a=!0;n&&e.on(`beforeSampling`,e=>{if(!i)return;let t=Ar(),n=t.getPropagationContext();if(a&&n.parentSpanId){a=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(i.sampleRate),sampled:String(hl(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=hl(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[rr]:i.sampleRate}})}function fl(e,t,n){let r=E(t);function i(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[`sentry.sample_rate`])}catch{return 0}}let a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;let o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&($r&&D.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[ar]:`previous_trace`}}),t.setAttribute(ul,`${o.traceId}-${o.spanId}-${+!!hl(o)}`)),a)}function pl(e){try{Qr.sessionStorage.setItem(ll,JSON.stringify(e))}catch(e){$r&&D.warn(`Could not store previous trace in sessionStorage`,e)}}function ml(){try{let e=Qr.sessionStorage?.getItem(ll);return JSON.parse(e)}catch{return}}function hl(e){return e.traceFlags===1}var gl=`BrowserTracing`,_l={..._o,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
5dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:`in-memory`,consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...tl},vl=((e={})=>{let t={name:void 0,source:void 0},n=Qr.document,{enableInp:r,enableElementTiming:i,enableLongTask:a,enableLongAnimationFrame:o,_experiments:{enableInteractions:s,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:l},beforeStartSpan:u,idleTimeout:d,finalTimeout:f,childSpanTimeout:p,markBackgroundSpan:m,traceFetch:h,traceXHR:g,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:v,enableHTTPTimings:y,ignoreResourceSpans:b,ignorePerformanceApiSpans:x,instrumentPageLoad:S,instrumentNavigation:ee,detectRedirects:te,linkPreviousTrace:ne,consistentTraceSampling:re,enableReportPageLoaded:ie,onRequestSpanStart:ae,onRequestSpanEnd:oe}={..._l,...e},C,se,ce;function le(e,r,i=!0){let a=r.op===`pageload`,o=r.name,s=u?u(r):r,m=s.attributes||{};if(o!==s.name&&(m[Or]=`custom`,s.attributes=m),!i){let e=qn();so({...s,startTime:e}).end(e);return}t.name=s.name,t.source=m[Or];let h=So(s,{idleTimeout:d,finalTimeout:f,childSpanTimeout:p,disableAutoFinish:a,beforeSpanEnd:t=>{C?.(),wc(t,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!l,ignoreResourceSpans:b,ignorePerformanceApiSpans:x}),Tl(e,void 0);let n=Ar(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:h.spanContext().traceId,sampled:Vn(h),dsc:Nr(t)}),a&&(ce=void 0)},trimIdleSpanEndTimestamp:!ie});a&&ie&&(ce=h),Tl(e,h);function g(){n&&[`interactive`,`complete`].includes(n.readyState)&&e.emit(`idleSpanEnableAutoFinish`,h)}a&&!ie&&n&&(n.addEventListener(`readystatechange`,()=>{g()}),g())}return{name:gl,setup(e){if(Wa(),C=_c({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:l||!1,client:e}),r&&Wc(),i&&Lc(),o&&lr.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(`long-animation-frame`)?yc():a&&vc(),s&&bc(),te&&n){let e=()=>{se=jn()};addEventListener(`click`,e,{capture:!0}),addEventListener(`keydown`,e,{capture:!0,passive:!0})}function t(){let t=wl(e);t&&!E(t).timestamp&&($r&&D.log(`[Tracing] Finishing current active span with op: ${E(t).op}`),t.setAttribute(sr,`cancelled`),t.end())}e.on(`startNavigationSpan`,(n,r)=>{if(vr()!==e)return;if(r?.isRedirect){$r&&D.warn(`[Tracing] Detected redirect, navigation span will not be the root span, but a child span.`),le(e,{op:`navigation.redirect`,...n},!1);return}se=void 0,t(),or().setPropagationContext({traceId:jr(),sampleRand:Math.random(),propagationSpanId:An()?void 0:tr()});let i=Ar();i.setPropagationContext({traceId:jr(),sampleRand:Math.random(),propagationSpanId:An()?void 0:tr()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),le(e,{op:`navigation`,...n,parentSpan:null,forceTransaction:!0})}),e.on(`startPageLoadSpan`,(n,r={})=>{if(vr()!==e)return;t();let i=r.sentryTrace||xl(`sentry-trace`),a=r.baggage||xl(`baggage`),o=Yn(i,a),s=Ar();s.setPropagationContext(o),An()||(s.getPropagationContext().propagationSpanId=tr()),s.setSDKProcessingMetadata({normalizedRequest:Ur()}),le(e,{op:`pageload`,...n})}),e.on(`endPageloadSpan`,()=>{ie&&ce&&(ce.setAttribute(sr,`reportPageLoaded`),ce.end())})},afterAllSetup(e){let n=kn();if(ne!==`off`&&dl(e,{linkPreviousTrace:ne,consistentTraceSampling:re}),Qr.location){if(S){let t=Pr();yl(e,{name:Qr.location.pathname,startTime:t?t/1e3:void 0,attributes:{[Or]:`url`,[pr]:`auto.pageload.browser`}})}ee&&Kr(({to:t,from:r})=>{if(r===void 0&&n?.indexOf(t)!==-1){n=void 0;return}n=void 0;let i=ei(t),a=wl(e),o=a&&te&&Dl(a,se);bl(e,{name:i?.pathname||Qr.location.pathname,attributes:{[Or]:`url`,[pr]:`auto.navigation.browser`}},{url:t,isRedirect:o})})}m&&cl(),s&&Sl(e,d,f,p,t),r&&Jc(),nl(e,{traceFetch:h,traceXHR:g,trackFetchStreamPerformance:_,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:v,enableHTTPTimings:y,onRequestSpanStart:ae,onRequestSpanEnd:oe})}}});function yl(e,t,n){e.emit(`startPageLoadSpan`,t,n),Ar().setTransactionName(t.name);let r=wl(e);return r&&e.emit(`afterStartPageLoadSpan`,r),r}function bl(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit(`beforeStartNavigationSpan`,t,{isRedirect:i}),e.emit(`startNavigationSpan`,t,{isRedirect:i});let a=Ar();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...Ur(
5),url:r}}),wl(e)}function xl(e){return(Qr.document?.querySelector(`meta[name=${e}]`))?.getAttribute(`content`)||void 0}function Sl(e,t,n,r,i){let a=Qr.document,o;a&&addEventListener(`click`,()=>{let a=`ui.action.click`,s=wl(e);if(s){let e=E(s).op;if([`navigation`,`pageload`].includes(e)){$r&&D.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(o&&=(o.setAttribute(sr,`interactionInterrupted`),o.end(),void 0),!i.name){$r&&D.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}o=So({name:i.name,op:a,attributes:{[Or]:i.source||`url`}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})},{capture:!0})}var Cl=`_sentry_idleSpan`;function wl(e){return e[Cl]}function Tl(e,t){Wn(e,Cl,t)}var El=1.5;function Dl(e,t){let n=E(e),r=qn();return!(r-n.start_timestamp>El||t&&r-t<=El)}var Ol=[`activate`,`mount`],kl=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Al=/(?:^|[-_])(\w)/g,jl=e=>e.replace(Al,e=>e.toUpperCase()).replace(/[-_]/g,``),Ml=`<Root>`,Nl=`<Anonymous>`,Pl=(e,t)=>e.repeat(t),Fl=(e,t)=>{if(!e)return Nl;if(e.$root===e)return Ml;if(!e.$options)return Nl;let n=e.$options,r=n.name||n._componentTag||n.__name,i=n.__file;if(!r&&i){let e=i.match(/([^/\\]+)\.vue$/);e&&(r=e[1])}return(r?`<${jl(r)}>`:Nl)+(i&&t!==!1?` at ${i}`:``)},Il=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){let t=[],n=0;for(;e;){if(t.length>0){let r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`\n\nfound in\n\n${t.map((e,t)=>`${(t===0?`---> `:Pl(` `,5+t*2))+(Array.isArray(e)?`${Fl(e[0])}... (${e[1]} recursive calls)`:Fl(e))}`).join(`
6`)}`}return`\n\n(found in ${Fl(e)})`},Ll=(e,t)=>{let{errorHandler:n}=e.config;e.config.errorHandler=(r,i,a)=>{let o={componentName:Fl(i,!1),lifecycleHook:a,trace:i?Il(i):``};if(t?.attachProps!==!1&&i&&(i.$options?.propsData?o.propsData=i.$options.propsData:i.$props&&(o.propsData=i.$props)),setTimeout(()=>{gr(r,{captureContext:{contexts:{vue:o}},mechanism:{handled:!!n,type:`auto.function.vue.error_handler`}})}),typeof n==`function`&&e.config.errorHandler)n.call(e,r,i,a);else throw r}},Rl=`ui.vue`,zl={activate:[`activated`,`deactivated`],create:[`beforeCreate`,`created`],unmount:[`beforeUnmount`,`unmounted`],destroy:[`beforeDestroy`,`destroyed`],mount:[`beforeMount`,`mounted`],update:[`beforeUpdate`,`updated`]};function Bl(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function Vl(e,t){function n(e){return e.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,`$1`)}return e.some(e=>n(t)===n(e))}var Hl=(e={})=>{let t=(e.hooks||[]).concat(Ol).filter((e,t,n)=>n.indexOf(e)===t),n={},r=e.timeout||2e3;for(let i of t){let t=zl[i];if(!t){kl&&D.warn(`Unknown hook: ${i}`);continue}for(let a of t)n[a]=function(){let n=this.$root===this;n&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||so({name:`Application Render`,op:`${Rl}.render`,attributes:{"sentry.origin":`auto.ui.vue`},onlyIfParent:!0}),Bl(this,jn(),r));let o=Fl(this,!1);if(!(n||(Array.isArray(e.trackComponents)?Vl(e.trackComponents,o):e.trackComponents))){Bl(this,jn(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};let s=a===t[0],c=this.$root?.$_sentryRootComponentSpan||Nn();if(s){if(c){let e=this.$_sentryComponentSpans[i];e&&e.end(),this.$_sentryComponentSpans[i]=so({name:`Vue ${o}`,op:`${Rl}.${i}`,attributes:{[pr]:`auto.ui.vue`},onlyIfParent:!0})}}else{let e=this.$_sentryComponentSpans[i];if(!e)return;e.end(),Bl(this,jn(),r)}}}return n},Ul={Vue:lr.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:Ol,timeout:2e3,trackComponents:!1}},Wl=`Vue`,Gl=fr((e={})=>({name:Wl,setup(t){let n={...Ul,...t.getOptions(),...e};if(!n.Vue&&!n.app){nr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}
6n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(e=>Kl(e,n)):n.Vue&&Kl(n.Vue,n)}})),Kl=(e,t)=>{kl&&e._instance?.isMounted===!0&&nr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&Ll(e,t),An(t)&&e.mixin(Hl(t.tracingOptions))};function ql(e,t,n){let r=!1;e.onError(e=>gr(e,{mechanism:{handled:!1}})),e.beforeEach((e,i,a)=>{let o=r?void 0:Jl(),s={};for(let t of Object.keys(e.params))s[`url.path.parameter.${t}`]=e.params[t],s[`params.${t}`]=e.params[t];for(let t of Object.keys(e.query)){let n=e.query[t];n&&(s[`query.${t}`]=n)}let c=e.path,l=`url`;if(e.name&&t.routeLabel!==`path`)c=e.name.toString(),l=`custom`;else if(e.matched.length>0){let t=e.matched.length-1;c=e.matched[t].path,l=`route`}Ar().setTransactionName(c),t.instrumentPageLoad&&o&&(E(o).data[`sentry.source`]!==`custom`&&(o.updateName(c),o.setAttribute(Or,l)),o.setAttributes({...s,[pr]:`auto.pageload.vue`}),r=!0),t.instrumentNavigation&&!o&&n({name:c,op:`navigation`,attributes:{...s,[pr]:`auto.navigation.vue`,[Or]:l}}),a&&a()})}function Jl(){let e=Nn(),t=e&&Mn(e);if(t)return E(t).op===`pageload`?t:void 0}function Yl(e={}){if(!e.router)return vl(e);let t=vl({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:i=!0,routeLabel:a=`name`}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),ql(n,{routeLabel:a,instrumentNavigation:r,instrumentPageLoad:i},t=>{bl(e,t)})}}}function Xl(e){return typeof e==`function`}function Zl(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ql=Zl(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription:
7`+t.map(function(e,t){return t+1+`) `+e.toString()}).join(`
8  `):``,this.name=`UnsubscriptionError`,this.errors=t}});function $l(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var eu=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=oi(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var c=this.initialTeardown;if(Xl(c))try{c()}catch(e){i=e instanceof Ql?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var u=oi(l),d=u.next();!d.done;d=u.next()){var f=d.value;try{ru(f)}catch(e){i??=[],e instanceof Ql?i=pi(pi([],li(i)),li(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Ql(i)}},e.prototype.add=function(t){if(t&&t!==this)if(this.closed)ru(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=this._finalizers??[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&$l(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&$l(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e}(),tu=eu.EMPTY;function nu(e){return e instanceof eu||e&&`closed`in e&&Xl(e.remove)&&Xl(e.add)&&Xl(e.unsubscribe)}function ru(e){Xl(e)?e():e.unsubscribe()}var iu={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},au={setTimeout:function(e,t){var n=[...arguments].slice(2),r=au.delegate;return r?.setTimeout?r.setTimeout.apply(r,pi([e,t],li(n))):setTimeout.apply(void 0,pi([e,t],li(n)))},clearTimeout:function(e){return(au.delegate?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ou(e){au.setTimeout(function(){var t=iu.onUnhandledError;if(t)t(e);else throw e})}function su(){}var cu=(function(){return du(`C`,void 0,void 0)})();function lu(e){return du(`E`,void 0,e)}function uu(e){return du(`N`,e,void 0)}function du(e,t,n){return{kind:e,value:t,error:n}}var fu=null;function pu(e){if(iu.useDeprecatedSynchronousErrorHandling){var t=!fu;if(t&&(fu={errorThrown:!1,error:null}),e(),t){var n=fu,r=n.errorThrown,i=n.error;if(fu=null,r)throw i}}else e()}function mu(e){iu.useDeprecatedSynchronousErrorHandling&&fu&&(fu.errorThrown=!0,fu.error=e)}var hu=function(e){fi(t,e);function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,nu(t)&&t.add(n)):n.destination=Cu,n}return t.create=function(e,t,n){return new yu(e,t,n)},t.prototype.next=function(e){this.isStopped?Su(uu(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?Su(lu(e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?Su(cu,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(eu),gu=Function.prototype.bind;function _u(e,t){return gu.call(e,t)}var vu=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){bu(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){bu(e)}else bu(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){bu(e)}},e}(),yu=function(e){fi(t,e);function t(t,n,r){var i=e.call(this)||this,a;if(Xl(t)||!t)a={next:t??void 0,error:n??void 0,complete:r??void 0};else{var o;
vendor: 9,691 bytes, line 8
8i&&iu.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=function(){return i.unsubscribe()},a={next:t.next&&_u(t.next,o),error:t.error&&_u(t.error,o),complete:t.complete&&_u(t.complete,o)}):a=t}return i.destination=new vu(a),i}return t}(hu);function bu(e){iu.useDeprecatedSynchronousErrorHandling?mu(e):ou(e)}function xu(e){throw e}function Su(e,t){var n=iu.onStoppedNotification;n&&au.setTimeout(function(){return n(e,t)})}var Cu={closed:!0,next:su,error:xu,complete:su},wu=(function(){return typeof Symbol==`function`&&Symbol.observable||`@@observable`})();function Tu(e){return e}function Eu(e){return e.length===0?Tu:e.length===1?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var Du=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this,i=Au(e)?e:new yu(e,t,n);return pu(function(){var e=r,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?r._subscribe(i):r._trySubscribe(i))}),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return t=Ou(t),new t(function(t,r){var i=new yu({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)})},e.prototype._subscribe=function(e){return this.source?.subscribe(e)},e.prototype[wu]=function(){return this},e.prototype.pipe=function(){return Eu([...arguments])(this)},e.prototype.toPromise=function(e){var t=this;return e=Ou(e),new e(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function Ou(e){return e??iu.Promise??Promise}function ku(e){return e&&Xl(e.next)&&Xl(e.error)&&Xl(e.complete)}function Au(e){return e&&e instanceof hu||ku(e)&&nu(e)}function ju(e){return Xl(e?.lift)}function Mu(e){return function(t){if(ju(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError(`Unable to lift unknown Observable type`)}}function Nu(e,t,n,r,i){return new Pu(e,t,n,r,i)}var Pu=function(e){fi(t,e);function t(t,n,r,i,a,o){var s=e.call(this,t)||this;return s.onFinalize=a,s.shouldUnsubscribe=o,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((t=this.onFinalize)==null||t.call(this))}},t}(hu),Fu=Zl(function(e){return function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`}}),Iu=function(e){fi(t,e);function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return t.prototype.lift=function(e){var t=new Lu(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fu},t.prototype.next=function(e){var t=this;pu(function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||=Array.from(t.observers);try{for(var i=oi(t.currentObservers),a=i.next();!a.done;a=i.next())a.value.next(e)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;pu(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;pu(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){return this.observers?.length>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?tu:(this.currentObservers=null,a.push(e),new eu(function(){t.currentObservers=null,$l(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Du;return e.source=this,e},t.create=function(e,t){return new Lu(e,t)},t}(Du),Lu=function(e){fi(t,e);function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return t.prototype.next=function(e){var t,n;(n=(t=this.destination)?.next)==null||n.call(t,e)},t.prototype.error=function(e){var t,n;(n=(t=this.destination)?.error)==null||n.call(t,e)},t.prototype.complete=function(){var e,t;(t=(e=this.destination)?.complete)==null||t.call(e)},t.prototype._subscribe=function(e){return this.source?.subscribe(e)??tu},t}(Iu),Ru=function(e){fi(t,e);function t(t){var n=e.call(this)||this;return n._value=t,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(Iu),zu={now:function(){return(zu.delegate||Date).now()},delegate:void 0},Bu=function(e){fi(t,e);function t(t,n,r){t===void 0&&(t=1/0),n===void 0&&(n=1/0),r===void 0&&(r=zu);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this,r=n._infiniteTimeWindow,i=n._buffer.slice(),a=0;a<i.length&&!e.closed;a+=r?1:2)e.next(i[a]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,c=1;c<r.length&&r[c]<=o;c+=2)s=c;s&&r.splice(0,s+1)}},t}(Iu),Vu=function(e){fi(t,e);function t(t,n){return e.call(this)||this}return t.prototype.schedule=function(e,t){return t===void 0&&(t=0),this},t}(eu),Hu={setInterval:function(e,t){var n=[...arguments].slice(2),r=Hu.delegate;return r?.setInterval?r.setInterval.apply(r,pi([e,t],li(n))):setInterval.apply(void 0,pi([e,t],li(n)))},clearInterval:function(e){return(Hu.delegate?.clearInterval||clearInterval)(e)},delegate:void 0},Uu=function(e){fi(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return t.prototype.schedule=function(e,t){if(t===void 0&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id??this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return n===void 0&&(n=0),Hu.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(n===void 0&&(n=0),n!=null&&this.delay===n&&this.pending===!1)return t;t!=null&&Hu.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error(`executing a cancelled action`);this.pending=!1;var n=this._execute(e,t);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r;try{this.work(e)}catch(e){n=!0,r=e||Error(`Scheduled action threw falsy error`)}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this,n=t.id,r=t.scheduler,i=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,$l(i,this),n!=null&&(this.id=this.recycleAsyncId(r,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Vu),Wu=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return t===void 0&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=zu.now,e}(),Gu=new(function(e){fi(t,e);function t(t,n){n===void 0&&(n=Wu.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r}return t.prototype.flush=function(e){var t=this.actions;if(this._active){t.push(e);return}var n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}},t}(Wu))(Uu),Ku=new Du(function(e){return e.complete()});function qu(e){return e&&Xl(e.schedule)}function Ju(e){return e[e.length-1]}function Yu(e){return qu(Ju(e))?e.pop():void 0}var Xu=(function(e){return e&&typeof e.length==`number`&&typeof e!=`function`});function Zu(e){return Xl(e?.then)}function Qu(e){return Xl(e[wu])}function $u(e){return Symbol.asyncIterator&&Xl(e?.[Symbol.asyncIterator])}function ed(e){return TypeError(`You provided `+(typeof e==`object`&&e?`an invali
8d object`:`'`+e+`'`)+` where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function td(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var nd=td();function rd(e){return Xl(e?.[nd])}function id(e){return di(this,arguments,function(){var t,n,r,i;return ai(this,function(a){switch(a.label){case 0:t=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,ii(t.read())];case 3:return n=a.sent(),r=n.value,i=n.done,i?[4,ii(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,ii(r)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function ad(e){return Xl(e?.getReader)}function od(e){if(e instanceof Du)return e;if(e!=null){if(Qu(e))return sd(e);if(Xu(e))return cd(e);if(Zu(e))return ld(e);if($u(e))return dd(e);if(rd(e))return ud(e);if(ad(e))return fd(e)}throw ed(e)}function sd(e){return new Du(function(t){var n=e[wu]();if(Xl(n.subscribe))return n.subscribe(t);throw TypeError(`Provided object does not correctly implement Symbol.observable`)})}function cd(e){return new Du(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ld(e){return new Du(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,ou)})}function ud(e){return new Du(function(t){var n,r;try{for(var i=oi(e),a=i.next();!a.done;a=i.next()){var o=a.value;if(t.next(o),t.closed)return}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()})}function dd(e){return new Du(function(t){pd(e,t).catch(function(e){return t.error(e)})})}function fd(e){return dd(id(e))}function pd(e,t){var n,r,i,a;return ui(this,void 0,void 0,function(){var o,s;return ai(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=ci(e),c.label=1;case 1:return[4,n.next()];case 2:if(r=c.sent(),r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=c.sent(),i={error:s},[3,11];case 6:return c.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function md(e,t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var a=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(a),!i)return a}function hd(e,t){return t===void 0&&(t=0),Mu(function(n,r){n.subscribe(Nu(r,function(n){return md(r,e,function(){return r.next(n)},t)},function(){return md(r,e,function(){return r.complete()},t)},function(n){return md(r,e,function(){return r.error(n)},t)}))})}function gd(e,t){return t===void 0&&(t=0),Mu(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function _d(e,t){return od(e).pipe(gd(t),hd(t))}function vd(e,t){return od(e).pipe(gd(t),hd(t))}function yd(e,t){return new Du(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function bd(e,t){return new Du(function(n){var r;return md(n,t,function(){r=e[nd](),md(n,t,function(){var e,t,i;try{e=r.next(),t=e.value,i=e.done}catch(e){n.error(e);return}i?n.complete():n.next(t)},0,!0)}),function(){return Xl(r?.return)&&r.return()}})}function xd(e,t){if(!e)throw Error(`Iterable cannot be null`);return new Du(function(n){md(n,t,function(){var r=e[Symbol.asyncIterator]();md(n,t,function(){r.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}function Sd(e,t){return xd(id(e),t)}function Cd(e,t){if(e!=null){if(Qu(e))return _d(e,t);if(Xu(e))return yd(e,t);if(Zu(e))return vd(e,t);if($u(e))return xd(e,t);if(rd(e))return bd(e,t);if(ad(e))return Sd(e,t)}throw ed(e)}function wd(e,t){return t?Cd(e,t):od(e)}function Td(){var e=[...arguments];return wd(e,Yu(e))}function Ed(e,t){var n=Xl(e)?e:function(){return e},r=function(e){return e.error(n())};return new Du(t?function(e){return t.schedule(r,0,e)}:r)}var Dd;(function(e){e.NEXT=`N`,e.ERROR=`E`,e.COMPLETE=`C`})(Dd||={});var Od=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue=e===`N`}return e.prototype.observe=function(e){return kd(this,e)},e.prototype.do=function(e,t,n){var r=this,i=r.kind,a=r.value,o=r.error;return i===`N`?e?.(a):i===`E`?t?.(o):n?.()},e.prototype.accept=function(e,t,n){return Xl(e?.next)?this.observe(e):this.do(e,t,n
8)},e.prototype.toObservable=function(){var e=this,t=e.kind,n=e.value,r=e.error,i=t===`N`?Td(n):t===`E`?Ed(function(){return r}):t===`C`?Ku:0;if(!i)throw TypeError(`Unexpected notification kind `+t);return i},e.createNext=function(t){return new e(`N`,t)},e.createError=function(t){return new e(`E`,void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e(`C`),e}();function kd(e,t){var n,r,i,a=e,o=a.kind,s=a.value,c=a.error;if(typeof o!=`string`)throw TypeError(`Invalid notification, missing "kind"`);o===`N`?(n=t.next)==null||n.call(t,s):o===`E`?(r=t.error)==null||r.call(t,c):(i=t.complete)==null||i.call(t)}var Ad=Zl(function(e){return function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`}});function jd(e,t){var n=typeof t==`object`;return new Promise(function(r,i){var a=!1,o;e.subscribe({next:function(e){o=e,a=!0},error:i,complete:function(){a?r(o):n?r(t.defaultValue):i(new Ad)}})})}function Md(e){return e instanceof Date&&!isNaN(e)}function Nd(e,t){return Mu(function(n,r){var i=0;n.subscribe(Nu(r,function(n){r.next(e.call(t,n,i++))}))})}function Pd(e,t,n,r,i,a,o,s){var c=[],l=0,u=0,d=!1,f=function(){d&&!c.length&&!l&&t.complete()},p=function(e){return l<r?m(e):c.push(e)},m=function(e){a&&t.next(e),l++;var s=!1;od(n(e,u++)).subscribe(Nu(t,function(e){i?.(e),a?p(e):t.next(e)},function(){s=!0},void 0,function(){if(s)try{l--;for(var e=function(){var e=c.shift();o?md(t,o,function(){return m(e)}):m(e)};c.length&&l<r;)e();f()}catch(e){t.error(e)}}))};return e.subscribe(Nu(t,p,function(){d=!0,f()})),function(){s?.()}}function Fd(e,t,n){return n===void 0&&(n=1/0),Xl(t)?Fd(function(n,r){return Nd(function(e,i){return t(n,e,r,i)})(od(e(n,r)))},n):(typeof t==`number`&&(n=t),Mu(function(t,r){return Pd(t,r,e,n)}))}function Id(e){return e===void 0&&(e=1/0),Fd(Tu,e)}function Ld(){return Id(1)}function Rd(){var e=[...arguments];return Ld()(wd(e,Yu(e)))}function zd(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Gu);var r=-1;return t!=null&&(qu(t)?n=t:r=t),new Du(function(t){var i=Md(e)?+e-n.now():e;i<0&&(i=0);var a=0;return n.schedule(function(){t.closed||(t.next(a++),0<=r?this.schedule(void 0,r):t.complete())},i)})}function Bd(e,t){return Mu(function(n,r){var i=0;n.subscribe(Nu(r,function(n){return e.call(t,n,i++)&&r.next(n)}))})}function Vd(e){return Mu(function(t,n){var r=null,i=!1,a;r=t.subscribe(Nu(n,void 0,void 0,function(o){a=od(e(o,Vd(e)(t))),r?(r.unsubscribe(),r=null,a.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,a.subscribe(n))})}function Hd(e,t){return t===void 0&&(t=Tu),e??=Ud,Mu(function(n,r){var i,a=!0;n.subscribe(Nu(r,function(n){var o=t(n);(a||!e(i,o))&&(a=!1,i=o,r.next(n))}))})}function Ud(e,t){return e===t}function Wd(e){return Mu(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function Gd(){return Mu(function(e,t){e.subscribe(Nu(t,function(e){t.next(Od.createNext(e))},function(){t.next(Od.createComplete()),t.complete()},function(e){t.next(Od.createError(e)),t.complete()}))})}function Kd(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new Iu}:t,r=e.resetOnError,i=r===void 0||r,a=e.resetOnComplete,o=a===void 0||a,s=e.resetOnRefCountZero,c=s===void 0||s;return function(e){var t,r,a,s=0,l=!1,u=!1,d=function(){r?.unsubscribe(),r=void 0},f=function(){d(),t=a=void 0,l=u=!1},p=function(){var e=t;f(),e?.unsubscribe()};return Mu(function(e,m){s++,!u&&!l&&d();var h=a??=n();m.add(function(){s--,s===0&&!u&&!l&&(r=qd(p,c))}),h.subscribe(m),!t&&s>0&&(t=new yu({next:function(e){return h.next(e)},error:function(e){u=!0,d(),r=qd(f,i,e),h.error(e)},complete:function(){l=!0,d(),r=qd(f,o),h.complete()}}),od(e).subscribe(t))})(e)}}function qd(e,t){var n=[...arguments].slice(2);if(t===!0){e();return}if(t!==!1){var r=new yu({next:function(){r.unsubscribe(),e()}});return od(t.apply(void 0,pi([],li(n)))).subscribe(r)}}function Jd(e,t,n){var r,i,a,o,s=!1;return e&&typeof e==`object`?(r=e.bufferSize,o=r===void 0?1/0:r,i=e.windowTime,t=i===void 0?1/0:i,a=e.refCount,s=a!==void 0&&a,n=e.scheduler):o=e??1/0,Kd({connector:function(){return new Bu(o,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Yd(e,t,n){var r=Xl(e)||t||n?{next:e,error:t,complete:n}:e;return r?Mu(function(e,t){var n;(n=r.subscribe)==null||n.call(r);var i=!0;e.subscribe(Nu(t,function(e){var n;(n=r.next)==null||n.call(r,e),t.next(e)},function(){var e;i=!1,(e=r.complete)==null||e.call(r),t.complete()},function(e){var n;i=!1,(n=r.error)==null||n.call(r,e),t.error(e)},function(){var e,t;i&&((e=r.unsubscribe)==null||e.call(r)),(t=r.finalize)==null||t.call(r)}))}):Tu}function Xd(e){try{return e()}catch{}}var Zd=Xd(()=>globalThis)||Xd(()=>window)||Xd(()=>self)||Xd(()=>global)||Xd(function(){return Xd.constructor(`return this`)()}),Qd=`4.2.10`,$d=new Map;function ef(e){let t=$d.get(e)||1;return $d.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function tf(e,t=0){let n=ef(`stringifyForDisplay`);return JSON.stringify(e,(e,t)=>t===void 0?n:t,t).split(JSON.stringify(n)).join(`<undefined>`)}
8var nf=`Invariant Violation`,rf=class e extends Error{constructor(t=nf){super(t),this.name=nf,Object.setPrototypeOf(this,e.prototype)}},af=[`debug`,`log`,`warn`,`error`,`silent`],of=af.indexOf(`silent`);function A(e,...t){if(!e)throw cf(...t)}function sf(e){return function(t,...n){if(af.indexOf(e)>=of){let r=console[e]||console.log;if(typeof t==`number`){let e=t;t=df(e),t||(t=ff(e,n),n=[])}r(t,...n)}}}A.debug=sf(`debug`),A.log=sf(`log`),A.warn=sf(`warn`),A.error=sf(`error`);function cf(e,...t){return new rf(df(e,t)||ff(e,t))}var lf=Symbol.for(`ApolloErrorMessageHandler_`+Qd);function uf(e){if(typeof e==`string`)return e;try{return tf(e,2).slice(0,1e3)}catch{return`<non-serializable>`}}function df(e,t=[]){if(e)return Zd[lf]&&Zd[lf](e,t.map(uf))}function ff(e,t=[]){if(e)return typeof e==`string`?t.reduce((e,t)=>e.replace(/%[sdfo]/,uf(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:Qd,message:e,args:t.map(uf)}))}`}function pf(e,t,n,r){if(n.kind===k.INT||n.kind===k.FLOAT)e[t.value]=Number(n.value);else if(n.kind===k.BOOLEAN||n.kind===k.STRING)e[t.value]=n.value;else if(n.kind===k.OBJECT){let i={};n.fields.map(e=>pf(i,e.name,e.value,r)),e[t.value]=i}else if(n.kind===k.VARIABLE){let i=(r||{})[n.name.value];e[t.value]=i}else if(n.kind===k.LIST)e[t.value]=n.values.map(e=>{let n={};return pf(n,t,e,r),n[t.value]});else if(n.kind===k.ENUM)e[t.value]=n.value;else if(n.kind===k.NULL)e[t.value]=null;else throw cf(19,t.value,n.kind)}function mf(e,t){if(e.arguments&&e.arguments.length){let n={};return e.arguments.forEach(({name:e,value:r})=>pf(n,e,r,t)),n}return null}var hf={...Zd[Symbol.for(`apollo.cacheSize`)]};function gf(e,t){return e.definitions.find(e=>e.kind===`OperationDefinition`&&!!e.name)?.name.value??t}var _f=()=>Object.create(null),{forEach:vf,slice:yf}=Array.prototype,{hasOwnProperty:bf}=Object.prototype,xf=class e{constructor(e=!0,t=_f){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return vf.call(e,e=>t=t.getChildTrie(e)),bf.call(t,`data`)?t.data:t.data=this.makeData(yf.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);i&&(t=i.removeArray(yf.call(e,1)),!i.data&&!i.weak&&!(i.strong&&i.strong.size)&&r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(t){let n=this.mapFor(t,!0),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&Sf(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}};function Sf(e){switch(typeof e){case`object`:if(e===null)break;case`function`:return!0}return!1}function Cf(){}var wf=class{constructor(e=1/0,t=Cf){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return t?(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0):!1}};function Tf(){}var Ef=Tf,Df=typeof WeakRef<`u`?WeakRef:function(e){return{deref:()=>e}},Of=typeof WeakMap<`u`?WeakMap:Map,kf=typeof FinalizationRegistry<`u`?FinalizationRegistry:function(){return{register:Tf,unregister:Tf}},Af=10024,jf=class{constructor(e=1/0,t=Ef){this.max=e,this.dispose=t,this.map=new Of,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<Af;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let n=t.key;delete t.key,t.keyRef=new Df(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new kf(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);
8return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return t?(this.deleteNode(t),!0):!1}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}},Mf=new WeakSet;function Nf(e){e.size<=(e.max||-1)||Mf.has(e)||(Mf.add(e),setTimeout(()=>{e.clean(),Mf.delete(e)},100))}var Pf=function(e,t){let n=new jf(e,t);return n.set=function(e,t){let n=jf.prototype.set.call(this,e,t);return Nf(this),n},n},Ff=function(e,t){let n=new wf(e,t);return n.set=function(e,t){let n=wf.prototype.set.call(this,e,t);return Nf(this),n},n};function If(e,{max:t,makeCacheKey:n=e=>e}){let r=new xf(!0),i=new Pf(t);return(...t)=>{let a=r.lookupArray(n(t)),o=i.get(a);if(o){if(o.error)throw o.error;return o.result}let s=i.set(a,{});try{return s.result=e(...t)}catch(e){throw s.error=e,e}}}var Lf=If((t,n)=>{A(t&&t.kind===`Document`,1);let r=t.definitions.filter(e=>e.kind===`OperationDefinition`);n&&A(r.length==1&&r[0].operation===n,4,n,n,r[0].operation),e(t,{Field(e,n,i,a){if(e.alias&&(e.alias.value===`__typename`||e.alias.value.startsWith(`__ac_`))&&e.alias.value!==e.name.value){let n=t,i=[];for(let e of a)n=n[e],n.kind===k.FIELD&&i.push(n.alias?.value||n.name.value);throw i.splice(-1,1,e.name.value),cf(5,e.alias.value,i.join(`.`),r[0].operation,gf(t,`(anonymous)`))}}})},{max:hf.checkDocument||2e3}),{toString:Rf}=Object.prototype;function zf(e){return e.length===0?Ku:new Du(t=>{let{length:n}=e,r=Array(n),i=new Map;e.forEach((e,t)=>{i.has(e)||i.set(e,new Set),i.get(e).add(t)});let a=i.size,o=i.size,s;i.forEach((n,i)=>{let c=!1,l=i.subscribe({next:a=>{n.forEach(e=>r[e]=a),c||(c=!0,o--),o||(s||=new Set(e.filter(e=>e.dirty)),s.delete(i),s.size||(t.next(r.slice()),s=void 0))},complete:()=>{a--,a||t.complete()},error:t.error.bind(t)});t.add(l)})})}function Bf(...e){let t={};return e.forEach(e=>{e&&Reflect.ownKeys(e).forEach(n=>{let r=e[n];r!==void 0&&(t[n]=r)})}),t}function Vf(e=[]){let t={};return e.forEach(e=>{t[e.name.value]=e}),t}function Hf(e){return typeof e==`object`&&!!e}var{hasOwnProperty:Uf}=Object.prototype,Wf=function(e,t,n){return this.merge(e[n],t[n])},Gf=e=>isNaN(+e)?{}:[],Kf=class{options;reconciler;constructor(e={}){this.options=e,this.reconciler=e.reconciler||Wf}merge(e,t,n={}){let r=n.atPath;if(r?.length){let[i,...a]=r;e===void 0&&(e=Gf(i));let o=e[i];o===void 0&&a.length&&(o=Gf(a[0]));let s=this.merge(o,t,{...n,atPath:a});return o!==s&&(e=this.shallowCopyForMerge(e),e[i]=s),e}return Array.isArray(e)&&Array.isArray(t)&&this.options.arrayMerge===`truncate`&&e.length>t.length&&(e=e.slice(0,t.length),this.pastCopies.add(e)),Hf(t)&&Hf(e)?(Object.keys(t).forEach(n=>{if(Uf.call(e,n)){let r=e[n];if(t[n]!==r){let i=this.reconciler(e,t,n);i!==r&&(e=this.shallowCopyForMerge(e),e[n]=i)}}else e=this.shallowCopyForMerge(e),e[n]=t[n]}),e):t}isObject=Hf;pastCopies=new Set;shallowCopyForMerge(e){return Hf(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):{__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e))),e}};function qf(e){let t={},n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(e=>{e.defaultValue&&pf(t,e.variable.name,e.defaultValue)}),t}function Jf(e,t){switch(e.kind){case`InlineFragment`:return e;case`FragmentSpread`:{let n=e.name.value;if(typeof t==`function`)return t(n);let r=t&&t[n];return A(r,9,n),r||null}default:return null}}function Yf(e,t){let n=t,r=[];return e.definitions.forEach(e=>{if(e.kind===`OperationDefinition`)throw cf(10,e.operation,e.name?` named '${e.name.value}'`:``);e.kind===`FragmentDefinition`&&r.push(e)}),n===void 0&&(A(r.length===1,11,r.length),n=r[0].name.value),{...e,definitions:[{kind:`OperationDefinition`,operation:`query`,selectionSet:{kind:`SelectionSet`,selections:[{kind:`FragmentSpread`,name:{kind:`N
8ame`,value:n}}]}},...e.definitions]}}function Xf(e){A(e.kind===`Document`,6),A(e.definitions.length<=1,7);let t=e.definitions[0];return A(t.kind===`FragmentDefinition`,8),t}function Zf(e){return e.definitions.filter(e=>e.kind===`FragmentDefinition`)}function Qf(e){Lf(e);let t;for(let n of e.definitions){if(n.kind===`OperationDefinition`)return n;n.kind===`FragmentDefinition`&&!t&&(t=n)}if(t)return t;throw cf(12)}function $f(e){return Lf(e),e.definitions.filter(e=>e.kind===`OperationDefinition`)[0]}function ep(e){let t=$f(e);return A(t&&t.operation===`query`,13),t}var tp=Object.assign(function(e){return JSON.stringify(e,rp)},{reset(){np=new Ff(hf.canonicalStringify||1e3)}}),np;tp.reset();function rp(e,t){if(t&&typeof t==`object`){let e=Object.getPrototypeOf(t);if(e===Object.prototype||e===null){let n=Object.keys(t);if(n.every(ip))return t;let r=JSON.stringify(n),i=np.get(r);if(!i){n.sort();let e=JSON.stringify(n);i=np.get(e)||n,np.set(r,i),np.set(e,i)}let a=Object.create(e);return i.forEach(e=>{a[e]=t[e]}),a}}return t}function ip(e,t,n){return t===0||n[t-1]<=e}var ap=[`connection`,`include`,`skip`,`client`,`rest`,`export`,`nonreactive`,`stream`],op=tp,sp=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){let e=n.connection.filter?n.connection.filter:[];e.sort();let r={};e.forEach(e=>{r[e]=t[e]});let i=op(r);if(i!==`{}`)return`${n.connection.key}(${i})`}return n.connection.key}let r=e;if(t){let e=op(t);e!==`{}`&&(r+=`(${e})`)}return n&&Object.keys(n).forEach(e=>{ap.indexOf(e)===-1&&(n[e]&&Object.keys(n[e]).length?r+=`@${e}(${op(n[e])})`:r+=`@${e}`)}),r},{setStringify(e){let t=op;return op=e,t}});function cp(e){return!!e.errors?.length}function lp(n,r,i){let a=new Set(n),o=a.size;return e(r,{Directive(e){if(a.delete(e.name.value)&&(!i||!a.size))return t}}),i?!a.size:a.size<o}function up(n){let r=!1;return e(n,{Directive:{enter(e){if(e.name.value===`client`&&e.arguments&&(r=e.arguments.some(e=>e.name.value===`always`&&e.value.kind===`BooleanValue`&&e.value.value===!0),r))return t}}}),r}var dp=Array.isArray;function fp(e){return Hf(e)&&e.kind===`Document`&&Array.isArray(e.definitions)}function pp(e){return e.kind===`Field`}function mp(e){return Array.isArray(e)&&e.length>0}function hp(e){return{__ref:String(e)}}function gp(e){return e}function _p(e){let t=e[0]||{},n=e.length;if(n>1){let r=new Kf;for(let i=1;i<n;++i)t=r.merge(t,e[i])}return t}function vp(e,t){return Bf(e,t,t.variables&&{variables:Bf({...e&&e.variables,...t.variables})})}function yp(e){return e.catch(()=>{}),e}function bp(t,n){Lf(n);let r=xp(``),i=xp(``),a=e=>{for(let t=0,n;t<e.length&&(n=e[t]);++t)if(!dp(n)){if(n.kind===k.OPERATION_DEFINITION)return r(n.name&&n.name.value);if(n.kind===k.FRAGMENT_DEFINITION)return i(n.name.value)}return A.error(14),null},o=0;for(let e=n.definitions.length-1;e>=0;--e)n.definitions[e].kind===k.OPERATION_DEFINITION&&++o;let s=Sp(t),c=e=>mp(e)&&e.map(s).some(e=>e&&e.remove),l=new Map,u=!1,d={enter(e){if(c(e.directives))return u=!0,null}},f=e(n,{Field:d,InlineFragment:d,VariableDefinition:{enter(){return!1}},Variable:{enter(e,t,n,r,i){let o=a(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter(e,t,n,r,i){if(c(e.directives))return u=!0,null;let o=a(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter(e,t,n,r){l.set(JSON.stringify(r),e)},leave(e,t,n,r){if(e===l.get(JSON.stringify(r)))return e;if(o>0&&e.selectionSet.selections.every(e=>e.kind===k.FIELD&&e.name.value===`__typename`))return i(e.name.value).removed=!0,u=!0,null}},Directive:{leave(e){if(s(e))return u=!0,null}}});if(!u)return n;let p=e=>(e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(t=>{p(i(t)).transitiveVars.forEach(t=>{e.transitiveVars.add(t)})})),e),m=new Set;f.definitions.forEach(e=>{e.kind===k.OPERATION_DEFINITION?p(r(e.name&&e.name.value)).fragmentSpreads.forEach(e=>{m.add(e)}):e.kind===k.FRAGMENT_DEFINITION&&o===0&&!i(e.name.value).removed&&m.add(e.name.value)}),m.forEach(e=>{p(i(e)).fragmentSpreads.forEach(e=>{m.add(e)})});let h=e=>!!(!m.has(e)||i(e).removed),g={enter(e){if(h(e.name.value))return null}};return wp(e(f,{FragmentSpread:g,FragmentDefinition:g,OperationDefinition:{leave(e){if(e.variableDefinitions){let t=p(r(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return{...e,variableDefinitions:e.variableDefinitions.filter(e=>t.has(e.variable.name.value))}}}}}))}function xp(e){let t=new Map;return function(n=e){let r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function Sp(e){let t=new Map,n=new Map;
8return e.forEach(e=>{e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))}),e=>{let r=t.get(e.name.value);return!r&&n.size&&n.forEach((t,n)=>{n(e)&&(r=t)}),r}}function Cp(e,t){return!e||e.selectionSet.selections.every(e=>e.kind===k.FRAGMENT_SPREAD&&Cp(t[e.name.value],t))}function wp(e){return Cp($f(e)||Xf(e),Vf(Zf(e)))?null:e}function Tp(t){return e(t,{FragmentSpread(e){if(!e.directives?.some(({name:e})=>e.value===`unmask`))return null}})}function Ep(e){return e.alias?e.alias.value:e.name.value}function Dp({directives:e},t){return!e||!e.length||kp(e).every(({directive:e,ifArgument:n})=>{let r=!1;return n.value.kind===`Variable`?(r=t&&t[n.value.name.value],A(r!==void 0,15,e.name.value)):r=n.value.value,e.name.value===`skip`?!r:r})}function Op({name:{value:e}}){return e===`skip`||e===`include`}function kp(e){let t=[];return e&&e.length&&e.forEach(e=>{if(!Op(e))return;let n=e.arguments,r=e.name.value;A(n&&n.length===1,16,r);let i=n[0];A(i.name&&i.name.value===`if`,17,r);let a=i.value;A(a&&(a.kind===`Variable`||a.kind===`BooleanValue`),18,r),t.push({directive:e,ifArgument:i})}),t}function Ap(e,t){let n=null;e.directives&&(n={},e.directives.forEach(e=>{n[e.name.value]={},e.arguments&&e.arguments.forEach(({name:r,value:i})=>pf(n[e.name.value],r,i,t))}));let r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(({name:e,value:n})=>pf(r,e,n,t))),sp(e.name.value,r,n)}function jp(e){let t={data:e.data};return e.error&&(t.error=e.error),t}function Mp(e,t=()=>void 0){return n=>new Du(r=>{let i=t();return n.subscribe({next(t){let n;try{n=e(t,i)}catch(e){r.error(e)}n!==void 0&&r.next(n)},error(e){r.error(e)},complete(){r.complete()}})})}var{toString:Np,hasOwnProperty:Pp}=Object.prototype,Fp=Function.prototype.toString,Ip=new Map;function j(e,t){try{return Lp(e,t)}finally{Ip.clear()}}function Lp(e,t){if(e===t)return!0;let n=Np.call(e);if(n!==Np.call(t))return!1;switch(n){case`[object Array]`:if(e.length!==t.length)return!1;case`[object Object]`:{if(Hp(e,t))return!0;let n=Rp(e),r=Rp(t),i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;++e)if(!Pp.call(t,n[e]))return!1;for(let r=0;r<i;++r){let i=n[r];if(!Lp(e[i],t[i]))return!1}return!0}case`[object Error]`:return e.name===t.name&&e.message===t.message;case`[object Number]`:if(e!==e)return t!==t;case`[object Boolean]`:case`[object Date]`:return+e==+t;case`[object RegExp]`:case`[object String]`:return e==`${t}`;case`[object Map]`:case`[object Set]`:{if(e.size!==t.size)return!1;if(Hp(e,t))return!0;let r=e.entries(),i=n===`[object Map]`;for(;;){let e=r.next();if(e.done)break;let[n,a]=e.value;if(!t.has(n)||i&&!Lp(a,t.get(n)))return!1}return!0}case`[object Uint16Array]`:case`[object Uint8Array]`:case`[object Uint32Array]`:case`[object Int32Array]`:case`[object Int8Array]`:case`[object Int16Array]`:case`[object ArrayBuffer]`:e=new Uint8Array(e),t=new Uint8Array(t);case`[object DataView]`:{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}case`[object AsyncFunction]`:case`[object GeneratorFunction]`:case`[object AsyncGeneratorFunction]`:case`[object Function]`:{let n=Fp.call(e);return n===Fp.call(t)&&!Vp(n,Bp)}}return!1}function Rp(e){return Object.keys(e).filter(zp,e)}function zp(e){return this[e]!==void 0}var Bp=`{ [native code] }`;function Vp(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function Hp(e,t){let n=Ip.get(e);if(n){if(n.has(t))return!0}else Ip.set(e,n=new Set);return n.add(t),!1}function Up(e,{data:t,...n},{data:r,...i},a){return j(n,i)&&Wp(Qf(e).selectionSet,t,r,{fragmentMap:Vf(Zf(e)),variables:a})}function Wp(e,t,n,r){if(t===n)return!0;let i=new Set;return e.selections.every(e=>{if(i.has(e)||(i.add(e),!Dp(e,r.variables))||Gp(e))return!0;if(pp(e)){let i=Ep(e),a=t&&t[i],o=n&&n[i],s=e.selectionSet;if(!s)return j(a,o);let c=Array.isArray(a),l=Array.isArray(o);if(c!==l)return!1;if(c&&l){let e=a.length;if(o.length!==e)return!1;for(let t=0;t<e;++t)if(!Wp(s,a[t],o[t],r))return!1;return!0}return Wp(s,a,o,r)}{let i=Jf(e,r.fragmentMap);if(i)return Gp(i)?!0:Wp(i.selectionSet,t,n,r)}})}function Gp(e){return!!e.directives&&e.directives.some(Kp)}function Kp(e){return e.name.value===`nonreactive`}function qp(e,t){let n,r;function i(e){return e!==n&&(n=e,r=t(n)),r}return Object.assign(e.pipe(Nd(i),Jd({bufferSize:1,refCount:!0})),{getCurrentResult:()=>i(e.getCurrentResult())})}var Jp=If(function(e,t,n){return qp(e,n)},{max:1,makeCacheKey:e=>e.slice(0,2)}),Yp=Symbol.for(`apollo.result.extensions`),Xp=Symbol.for(`apollo.result.streamInfo`),Zp=Symbol.for(`apollo.observableQuery.variablesUnknown`),Qp=null,$p={},em=1,tm=()=>class{constructor(){this.id=[`slot`,em++,Date.now(),Math.random().toString(36).slice(2)].join(`:`)}hasValue(){for(let e=Qp;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===$p)break;return e!==Qp&&(Qp.slots[this.id]=t),!0}return Qp&&(Qp.slots[this.id]=$p),!1}getValue(){if(this.hasValue())return Qp.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},a=Qp;Qp={parent:a,slots:i};try{return t.apply(r,n)}finally{Qp=a}}static bind(e){let t=Qp;return function(){let n=Qp;try{return Qp=t,e.apply(this,arguments)}finally{Qp=n}}}static noContext(e,t,n){if(Qp){let r=Qp;try{return Qp=null,e.apply(n,t)}finally{Qp=r}}return e.apply(n,t)}};function nm(e){try{return e()}catch{}}var rm=`@wry/context:Slot`,im=nm(()=>globalThis)||nm(()=>global)||Object.create(null),am=im[rm]||Array[rm]||(function(e){try{Object.defineProperty(im,rm,{value:e,enumerable:!1,writable:!1,
8configurable:!0})}finally{return e}})(tm()),{bind:om,noContext:sm}=am,cm=new am,{hasOwnProperty:lm}=Object.prototype,um=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function dm(e){let{unsubscribe:t}=e;typeof t==`function`&&(e.unsubscribe=void 0,t())}var fm=[],pm=100;function mm(e,t){if(!e)throw Error(t||`assertion failure`)}function hm(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function gm(e){switch(e.length){case 0:throw Error(`unknown value`);case 1:return e[0];case 2:throw e[1]}}function _m(e){return e.slice(0)}var vm=class e{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}peek(){if(this.value.length===1&&!Sm(this))return ym(this),this.value[0]}recompute(e){return mm(!this.recomputing,`already recomputing`),ym(this),Sm(this)?bm(this,e):gm(this.value)}setDirty(){this.dirty||(this.dirty=!0,wm(this),dm(this))}dispose(){this.setDirty(),Am(this),Em(this,(e,t)=>{e.setDirty(),jm(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||=fm.pop()||new Set,this.deps.add(e)}forgetDeps(){this.deps&&=(um(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),fm.push(this.deps),null)}};vm.count=0;function ym(e){let t=cm.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Sm(e)?Dm(t,e):Om(t,e),t}function bm(e,t){return Am(e),cm.withValue(e,xm,[e,t]),Mm(e,t)&&Cm(e),gm(e.value)}function xm(e,t){e.recomputing=!0;let{normalizeResult:n}=e,r;n&&e.value.length===1&&(r=_m(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!hm(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch{}}catch(t){e.value[1]=t}e.recomputing=!1}function Sm(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function Cm(e){e.dirty=!1,!Sm(e)&&Tm(e)}function wm(e){Em(e,Dm)}function Tm(e){Em(e,Om)}function Em(e,t){let n=e.parents.size;if(n){let r=um(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function Dm(e,t){mm(e.childValues.has(t)),mm(Sm(t));let n=!Sm(e);if(!e.dirtyChildren)e.dirtyChildren=fm.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&wm(e)}function Om(e,t){mm(e.childValues.has(t)),mm(!Sm(t));let n=e.childValues.get(t);n.length===0?e.childValues.set(t,_m(t.value)):hm(n,t.value)||e.setDirty(),km(e,t),!Sm(e)&&Tm(e)}function km(e,t){let n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(fm.length<pm&&fm.push(n),e.dirtyChildren=null))}function Am(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{jm(e,n)}),e.forgetDeps(),mm(e.dirtyChildren===null)}function jm(e,t){t.parents.delete(e),e.childValues.delete(t),km(e,t)}function Mm(e,t){if(typeof e.subscribe==`function`)try{dm(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}var Nm={setDirty:!0,dispose:!0,forget:!0};function Pm(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=cm.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),typeof n==`function`&&(dm(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&lm.call(Nm,n)?n:`setDirty`;um(r).forEach(e=>e[i]()),t.delete(e),dm(r)}},r}var Fm;function Im(...e){return(Fm||=new xf(typeof WeakMap==`function`)).lookupArray(e)}var Lm=new Set;function Rm(e,{max:t=2**16,keyArgs:n,makeCacheKey:r=Im,normalizeResult:i,subscribe:a,cache:o=wf}=Object.create(null)){let s=typeof o==`function`?new o(t,e=>e.dispose()):o,c=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(t===void 0)return e.apply(null,arguments);let o=s.get(t);o||(s.set(t,o=new vm(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>s.delete(t));let c=o.recompute(Array.prototype.slice.call(arguments));return s.set(t,o),Lm.add(s),cm.hasValue()||(Lm.forEach(e=>e.clean()),Lm.clear()),c};Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:a,cache:s});function l(e){let t=e&&s.get(e);t&&t.setDirty()}c.dirtyKey=l,c.dirty=function(){l(r.apply(null,arguments))};function u(e){let t=e&&s.get(e);if(t)return t.peek()}
8c.peekKey=u,c.peek=function(){return u(r.apply(null,arguments))};function d(e){return e?s.delete(e):!1}return c.forgetKey=d,c.forget=function(){return d(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}function zm(...e){return Im.bind(null,...e)}var Bm=class{isIncrementalResult(e){return!1}prepareRequest(e){return A(!lp([`defer`,`stream`],e.query),67),e}extractErrors(){}startRequest=void 0};function Vm(e,{client:t}){let n={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:gf(e.query),operationType:$f(e.query).operation},r={...e.context},i=e=>{r=typeof e==`function`?{...r,...e(a())}:{...r,...e}},a=()=>Object.freeze({...r});return Object.defineProperty(n,"setContext",{enumerable:!1,value:i}),Object.defineProperty(n,"getContext",{enumerable:!1,value:a}),Object.defineProperty(n,"client",{enumerable:!1,value:t}),n}function Hm(t,n){let r={...t},i=new Set(Object.keys(t));return e(n,{Variable(e,t,n){n&&n.kind!==`VariableDefinition`&&i.delete(e.name.value)}}
8),i.forEach(e=>{delete r[e]}),r}var Um=class e{static empty(){return new e(()=>Ku)}static from(t){if(t.length===0)return e.empty();let[n,...r]=t;return n.concat(...r)}static split(t,n,r=new e((e,t)=>t(e))){let i=new e((e,i)=>t(e)?n.request(e,i):r.request(e,i));return Object.assign(i,{left:n,right:r})}static execute(e,t,n){return e.request(Vm(t,n),()=>Ku)}static concat(...t){return e.from(t)}constructor(e){e&&(this.request=e)}split(t,n,r){return this.concat(e.split(t,n,r))}concat(...e){return e.length===0?this:e.reduce(this.combine.bind(this),this)}combine(t,n){let r=new e((e,r)=>t.request(e,e=>n.request(e,r)));return Object.assign(r,{left:t,right:n})}request(e,t){throw cf(65)}left;right},Wm=Um.execute;function Gm(e){return e}var Km=class e{transform;cached;resultCache=new WeakSet;getCacheKey(e){return[e]}static identity(){return new e(Gm,{cache:!1})}static split(t,n,r=e.identity()){return Object.assign(new e(e=>(t(e)?n:r).transformDocument(e),{cache:!1}),{left:n,right:r})}constructor(e,t={}){this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=t.cache!==!1,this.resetCache()}resetCache(){if(this.cached){let t=new xf;this.performWork=Rm(e.prototype.performWork.bind(this),{makeCacheKey:e=>{let n=this.getCacheKey(e);if(n)return A(Array.isArray(n),20),t.lookupArray(n)},max:hf[`documentTransform.cache`],cache:jf})}}performWork(e){return Lf(e),this.transform(e)}transformDocument(e){if(this.resultCache.has(e))return e;let t=this.performWork(e);return this.resultCache.add(t),t}concat(t){return Object.assign(new e(e=>t.transformDocument(this.transformDocument(e)),{cache:!1}),{left:this,right:t})}left;
8right},qm,Jm=Object.assign(e=>{let t=qm.get(e);return t||(t=r(e),qm.set(e,t)),t},{reset(){qm=new Pf(hf.print||2e3)}});Jm.reset();function Ym(e){return!!(e&&typeof e==`object`&&typeof e.__ref==`string`)}var Xm={kind:k.FIELD,name:{kind:k.NAME,value:`__typename`}},Zm=Object.assign(function(t){return e(t,{SelectionSet:{enter(e,t,n){if(n&&n.kind===k.OPERATION_DEFINITION)return;let{selections:r}=e;if(!r||r.some(e=>e.kind===k.FIELD&&(e.name.value===`__typename`||e.name.value.lastIndexOf(`__`,0)===0)))return;let i=n;if(!(i.kind===k.FIELD&&i.directives&&i.directives.some(e=>e.name.value===`export`)))return{...e,selections:[...r,Xm]}}}})},{added(e){return e===Xm}});function Qm(e,t){return $f(e)?.operation===t}function $m(e){return Qm(e,`mutation`)}function eh(e){return Qm(e,`subscription`)}function th(e){return e===7||e===8}function nh(e){return!th(e)}var rh=class{assumeImmutableResults=!1;lookupFragment(e){return null}batch(e){let t=typeof e.optimistic==`string`?e.optimistic:e.optimistic===!1?null:void 0,n;return this.performTransaction(()=>n=e.update(this),t),n}recordOptimisticTransaction(e,t){this.performTransaction(e,t)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,t=!!e.optimistic){return this.read({...e,rootId:e.id||`ROOT_QUERY`,optimistic:t})}fragmentWatches=new xf(!0);watchFragment(e){let{fragment:t,fragmentName:n,from:r}=e,i=this.getFragmentDoc(t,n),a=(Array.isArray(r)?r:[r]).map(e=>e==null?e:this.toCacheId(e));if(!Array.isArray(r)){let t=this.watchSingleFragment(a[0],i,e);return r===null?t:Jp(t,Symbol.for(`apollo.transform.individualResult`),e=>({...e,data:e.data??{}}))}let o;function s(e){let t=e.reduce((e,t,n)=>(e.data.push(t.data),e.complete&&=t.complete,e.dataState=e.complete?`complete`:`partial`,t.missing&&(e.missing||={},e.missing[n]=t.missing),e),{data:[],dataState:`complete`,complete:!0});return j(o,t)||(o=t),o}if(a.length===0)return sh;let c=!1,l=a.map(t=>this.watchSingleFragment(t,i,e)),u=zf(l).pipe(Nd(s),Yd({subscribe:()=>c=!0,unsubscribe:()=>c=!1}),Jd({bufferSize:1,refCount:!0}));return Object.assign(u,{getCurrentResult:()=>c&&o?o:s(l.map(e=>e.getCurrentResult()))})}onAfterBroadcast=e=>e();watchSingleFragment(e,t,n){if(e===null)return ah;let{optimistic:r=!0,variables:i}=n,a=[t,tp({id:e,optimistic:r,variables:i})],o=this.fragmentWatches.lookupArray(a);if(!o.observable){let s=!1,c;function l(e){let r=e.result;return(!c||!Up(t,{data:c.data},{data:r},n.variables))&&(c={data:r,dataState:e.complete?`complete`:`partial`,complete:e.complete},e.missing&&(c.missing=e.missing.missing)),c}let u=new Du(n=>{s=!0;let o=this.watch({variables:i,returnPartialData:!0,id:e,query:t,optimistic:r,immediate:!0,callback:e=>{u.dirty=!0,this.onAfterBroadcast(()=>{n.next(l(e)),u.dirty=!1})}});return()=>{s=!1,o(),this.fragmentWatches.removeArray(a)}}).pipe(Hd(),Kd({connector:()=>new Bu(1),resetOnRefCountZero:()=>zd(0)}));o.observable=Object.assign(u,{dirty:!1,getCurrentResult:()=>s&&c?c:l(this.diff({id:e,query:t,returnPartialData:!0,optimistic:r,variables:i}))})}return o.observable}getFragmentDoc=Rm(Yf,{max:hf[`cache.fragmentQueryDocuments`]||1e3,cache:jf,makeCacheKey:zm(this)});readFragment(e,t=!!e.optimistic){let n=e.from===void 0?e.id:this.toCacheId(e.from);return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:n,optimistic:t})}writeQuery({id:e,data:t,...n}){return this.write(Object.assign(n,{dataId:e||`ROOT_QUERY`,result:t}))}writeFragment({data:e,fragment:t,fragmentName:n,...r}){let i=r.from===void 0?r.id:this.toCacheId(r.from);return this.write(Object.assign(r,{query:this.getFragmentDoc(t,n),dataId:i,result:e}))}updateQuery(e,t){return this.batch({update(n){let r=n.readQuery(e),i=t(r);return i==null?r:(n.writeQuery({...e,data:i}),i)}})}updateFragment(e,t){return this.batch({update(n){let r=n.readFragment(e),i=t(r);return i==null?r:(n.writeFragment({...e,data:i}),i)}})}toCacheId(e){return typeof e==`string`?e:this.identify(e)}},ih=Object.freeze({data:null,dataState:`complete`,complete:!0}),ah=Object.assign(new Du(e=>{e.next(ih)}),{dirty:!1,getCurrentResult:()=>ih}),oh=Object.freeze({data:[],dataState:`complete`,complete:!0}),sh=Object.assign(new Du(e=>{e.next(oh)}),{getCurrentResult:()=>oh}
8),ch=class e extends Error{message;path;query;variables;constructor(t,n,r,i){if(super(t),this.message=t,this.path=n,this.query=r,this.variables=i,this.name=`MissingFieldError`,Array.isArray(this.path)){this.missing=this.message;for(let e=this.path.length-1;e>=0;--e)this.missing={[this.path[e]]:this.missing}}else this.missing=this.path;this.__proto__=e.prototype}missing},{hasOwnProperty:lh}=Object.prototype;function uh({__typename:e,id:t,_id:n},r){if(typeof e==`string`&&(r&&(r.keyObject=t==null?n==null?void 0:{_id:n}:{id:t}),t==null&&n!=null&&(t=n),t!=null))return`${e}:${typeof t==`number`||typeof t==`string`?t:JSON.stringify(t)}`}var dh={dataIdFromObject:uh,resultCaching:!0};function fh(e){return Bf(dh,e)}var ph=/^[_a-z][_0-9a-z]*/i;function mh(e){let t=e.match(ph);return t?t[0]:e}function hh(e,t,n){return Hf(t)?dp(t)?t.every(t=>hh(e,t,n)):e.selections.every(e=>{if(pp(e)&&Dp(e,n)){let r=Ep(e);return lh.call(t,r)&&(!e.selectionSet||hh(e.selectionSet,t[r],n))}return!0}):!1}function gh(e){return Hf(e)&&!Ym(e)&&!dp(e)}function _h(){return new Kf}function vh(e,t){let n=Vf(Zf(e));return{fragmentMap:n,lookupFragment(e){let r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var yh={},bh=()=>yh,xh={},Sh=class{policies;group;data={};constructor(e,t){this.policies=e,this.group=t}toObject(){return{...this.data}}has(e){return this.lookup(e,!0)!==void 0}get(e,t){if(this.group.depend(e,t),lh.call(this.data,e)){let n=this.data[e];if(n&&lh.call(n,t))return n[t]}if(t===`__typename`&&lh.call(this.policies.rootTypenamesById,e))return this.policies.rootTypenamesById[e];if(this instanceof Eh)return this.parent.get(e,t)}lookup(e,t){if(t&&this.group.depend(e,`__exists`),lh.call(this.data,e))return this.data[e];if(this instanceof Eh)return this.parent.lookup(e,t);if(this.policies.rootTypenamesById[e])return{}}merge(e,t){let n;Ym(e)&&(e=e.__ref),Ym(t)&&(t=t.__ref);let r=typeof e==`string`?this.lookup(n=e):e,i=typeof t==`string`?this.lookup(n=t):t;if(!i)return;A(typeof n==`string`,104);let a=new Kf({reconciler:Oh}).merge(r,i);if(this.data[n]=a,a!==r&&(delete this.refs[n],this.group.caching)){let e={};
8r||(e.__exists=1),Object.keys(i).forEach(t=>{if(!r||r[t]!==a[t]){e[t]=1;let n=mh(t);n!==t&&!this.policies.hasKeyArgs(a.__typename,n)&&(e[n]=1),a[t]===void 0&&!(this instanceof Eh)&&delete a[t]}}),e.__typename&&!(r&&r.__typename)&&this.policies.rootTypenamesById[n]===a.__typename&&delete e.__typename,Object.keys(e).forEach(e=>this.group.dirty(n,e))}}modify(e,t,n){let r=this.lookup(e);if(r){let i={},a=!1,o=!0,s={DELETE:yh,INVALIDATE:xh,isReference:Ym,toReference:this.toReference,canRead:this.canRead,readField:(t,n)=>this.policies.readField(typeof t==`string`?{fieldName:t,from:n||hp(e)}:t,{store:this})};if(Object.keys(r).forEach(c=>{let l=mh(c),u=r[c];if(u===void 0)return;let d=typeof t==`function`?t:t[c]||(n?void 0:t[l]);if(d){let t=d===bh?yh:d(gp(u),{...s,fieldName:l,storeFieldName:c,storage:this.getStorage(e,c)});t===xh?this.group.dirty(e,c):(t===yh&&(t=void 0),t!==u&&(i[c]=t,a=!0,u=t))}u!==void 0&&(o=!1)}),a)return this.merge(e,i),o&&(this instanceof Eh?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,`__exists`)),!0}return!1}delete(e,t,n){let r=this.lookup(e);if(r){let i=this.getFieldValue(r,`__typename`),a=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,a?{[a]:bh}:bh,!!n)}return!1}evict(e,t){let n=!1;return e.id&&(lh.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof Eh&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||`__exists`)),n}clear(){this.replace(null)}extract(){let e=this.toObject(),t=[];return this.getRootIdSet().forEach(e=>{lh.call(this.policies.rootTypenamesById,e)||t.push(e)}),t.length&&(e.__META={extraRootIds:t.sort()}),e}replace(e){if(Object.keys(this.data).forEach(t=>{e&&lh.call(e,t)||this.delete(t)}),e){let{__META:t,...n}=e;Object.keys(n).forEach(e=>{this.merge(e,n[e])}),t&&t.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){let t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof Eh?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){let e=this.getRootIdSet(),t=this.toObject();e.forEach(n=>{lh.call(t,n)&&(Object.keys(this.findChildRefIds(n)).forEach(e.add,e),delete t[n])});let n=Object.keys(t);if(n.length){let e=this;for(;e instanceof Eh;)e=e.parent;n.forEach(t=>e.delete(t))}return n}refs={};findChildRefIds(e){if(!lh.call(this.refs,e)){let t=this.refs[e]={},n=this.data[e];if(!n)return t;let r=new Set([n]);r.forEach(e=>{Ym(e)&&(t[e.__ref]=!0),Hf(e)&&Object.keys(e).forEach(t=>{let n=e[t];Hf(n)&&r.add(n)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,t)=>gp(Ym(e)?this.get(e.__ref,t):e&&e[t]);canRead=e=>Ym(e)?this.has(e.__ref):typeof e==`object`;toReference=(e,t)=>{if(typeof e==`string`)return hp(e);if(Ym(e))return e;let[n]=this.policies.identify(e);if(n){let r=hp(n);return t&&this.merge(n,e),r}};get supportsResultCaching(){return this.group.caching}},Ch=class{caching;parent;d=null;keyMaker;constructor(e,t=null){this.caching=e,this.parent=t,this.resetCaching()}resetCaching(){this.d=this.caching?Pm():null,this.keyMaker=new xf}depend(e,t){if(this.d){this.d(wh(e,t));let n=mh(t);n!==t&&this.d(wh(e,n)),this.parent&&this.parent.depend(e,t)}}dirty(e,t){this.d&&this.d.dirty(wh(e,t),t===`__exists`?`forget`:`setDirty`)}};function wh(e,t){return t+`#`+e}function Th(e,t){kh(e)&&e.group.depend(t,`__exists`)}Sh.Root=class extends Sh{constructor({policies:e,resultCaching:t=!0,seed:n}){super(e,new Ch(t)),n&&this.replace(n)}stump=new Dh(this);addLayer(e,t){return this.stump.addLayer(e,t)}removeLayer(){return this}storageTrie=new xf;getStorage(){return this.storageTrie.lookupArray(arguments)}};var Eh=class e extends Sh{id;parent;replay;group;constructor(e,t,n,r){super(t.policies,r),this.id=e,this.parent=t,this.replay=n,this.group=r,n(this)}addLayer(t,n){return new e(t,this,n,this.group)}removeLayer(e){let t=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEac
8h(e=>{let n=this.data[e],r=t.lookup(e);r?n?n!==r&&Object.keys(n).forEach(t=>{j(n[t],r[t])||this.group.dirty(e,t)}):(this.group.dirty(e,`__exists`),Object.keys(r).forEach(t=>{this.group.dirty(e,t)})):this.delete(e)}),t):t===this.parent?this:t.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(e){let t=this.parent.findChildRefIds(e);return lh.call(this.data,e)?{...t,...super.findChildRefIds(e)}:t}getStorage(...e){let t=this.parent;for(;t.parent;)t=t.parent;return t.getStorage(...e)}},Dh=class extends Eh{constructor(e){super(`EntityStore.Stump`,e,()=>{},new Ch(e.group.caching,e.group))}removeLayer(){return this}merge(e,t){return this.parent.merge(e,t)}};function Oh(e,t,n){let r=e[n],i=t[n];return j(r,i)?r:i}function kh(e){return!!(e&&e.supportsResultCaching)}var Ah=new am;function jh(e){let t=e.directives?.find(({name:e})=>e.value===`unmask`);if(!t)return`mask`;let n=t.arguments?.find(({name:e})=>e.value===`mode`);return n&&`value`in n.value&&n.value.value===`migrate`?`migrate`:`unmask`}function Mh(e,t,n){return Ah.withValue(!0,()=>{let r=Ph(e,t,n,!1);return Object.isFrozen(e),r})}function Nh(e,t){if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),n}function Ph(e,t,n,r,i){let{knownChanged:a}=n,o=Nh(e,n.mutableTargets);if(Array.isArray(e)){for(let[i,s]of Array.from(e.entries())){if(s===null){o[i]=null;continue}let e=Ph(s,t,n,r,void 0);a.has(e)&&a.add(o),o[i]=e}return a.has(o)?o:e}for(let s of t.selections){let t;if(r&&a.add(o),s.kind===k.FIELD){let i=Ep(s),c=s.selectionSet;if(t=o[i]||e[i],t===void 0)continue;if(c&&t!==null){let o=Ph(e[i],c,n,r,void 0);a.has(o)&&(t=o)}o[i]=t}if(s.kind===k.INLINE_FRAGMENT&&(!s.typeCondition||n.cache.fragmentMatches(s,e.__typename))&&(t=Ph(e,s.selectionSet,n,r,i)),s.kind===k.FRAGMENT_SPREAD){let r=s.name.value,a=n.fragmentMap[r]||(n.fragmentMap[r]=n.cache.lookupFragment(r));A(a,39,r);let o=jh(s);o!==`mask`&&(t=Ph(e,a.selectionSet,n,o===`migrate`,i))}a.has(t)&&a.add(o)}return`__typename`in e&&!(`__typename`in o)&&(o.__typename=e.__typename),Object.keys(o).length!==Object.keys(e).length&&a.add(o),a.has(o)?o:e}function Fh(e,t,n,r){let i=t.definitions.filter(e=>e.kind===k.FRAGMENT_DEFINITION);r===void 0&&(A(i.length===1,41,i.length),r=i[0].name.value);let a=i.find(e=>e.name.value===r);return A(!!a,42,r),e==null||j(e,{})?e:Mh(e,a.selectionSet,{operationType:`fragment`,operationName:a.name.value,fragmentMap:Vf(Zf(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}function Ih(e,t,n){let r=$f(t);return A(r,43),e==null?e:Mh(e,r.selectionSet,{operationType:r.operation,operationName:r.name?.value,fragmentMap:Vf(Zf(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}var Lh={};function Rh(e){let t=JSON.stringify(e);return Lh[t]||(Lh[t]={})}function zh(e){let t=Rh(e);return t.keyFieldsFn||=(t,n)=>{let r=(e,t)=>n.readField(t,e),i=n.keyObject=Vh(e,e=>{let i=Wh(n.storeObject,e,r);return i===void 0&&t!==n.storeObject&&lh.call(t,e[0])&&(i=Wh(t,e,Uh)),A(i!==void 0,107,e.join(`.`),t),i});return`${n.typename}:${JSON.stringify(i)}`}}function Bh(e){let t=Rh(e);return t.keyArgsFn||=(t,{field:n,variables:r,fieldName:i})=>{let a=Vh(e,e=>{let i=e[0],a=i.charAt(0);if(a===`@`){if(n&&mp(n.directives)){let t=i.slice(1),a=n.directives.find(e=>e.name.value===t),o=a&&mf(a,r);return o&&Wh(o,e.slice(1))}return}if(a===`$`){let t=i.slice(1);if(r&&lh.call(r,t)){let n=e.slice(0);return n[0]=t,Wh(r,n)}return}if(t)return Wh(t,e)}),o=JSON.stringify(a);return(t||o!==`{}`)&&(i+=`:`+o),i}}function Vh(e,t){let n=new Kf;return Hh(e).reduce((e,r)=>{let i=t(r);if(i!==void 0){for(let e=r.length-1;e>=0;--e)i={[r[e]]:i};e=n.merge(e,i)}return e},{})}function Hh(e){let t=Rh(e);if(!t.paths){let n=t.paths=[],r=[];e.forEach((t,i)=>{dp(t)?(Hh(t).forEach(e=>n.push(r.concat(e))),r.length=0):(r.push(t),dp(e[i+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function Uh(e,t){return e[t]}function Wh(e,t,n){return n||=Uh,Gh(t.reduce(function e(t,r){return dp(t)?t.map(t=>e(t,r)):t&&n(t,r)},e))}function Gh(e){return Hf(e)?dp(e)?e.map(Gh):Vh(Object.keys(e).sort(),t=>Wh(e,t)):e}var Kh=new am,qh=new WeakMap;function Jh(e){let t=qh.get(e);return t||qh.set(e,t={vars:new Set,dep:Pm()}),t}
8function Yh(e){Jh(e).vars.forEach(t=>t.forgetCache(e))}function Xh(e){Jh(e).vars.forEach(t=>t.attachCache(e))}function Zh(e){let t=new Set,n=new Set,r=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(e=>{Jh(e).dep.dirty(r),Qh(e)});let i=Array.from(n);n.clear(),i.forEach(t=>t(e))}}else{let e=Kh.getValue();e&&(i(e),Jh(e).dep(r))}return e};r.onNextChange=e=>(n.add(e),()=>{n.delete(e)});let i=r.attachCache=e=>(t.add(e),Jh(e).vars.add(r),r);return r.forgetCache=e=>t.delete(e),r}function Qh(e){e.broadcastWatches&&e.broadcastWatches()}function $h(e){return e.args===void 0?e.field?mf(e.field,e.variables):null:e.args}var eg=()=>void 0,tg=(e,t)=>t.fieldName,ng=(e,t,{mergeObjects:n})=>n(e,t),rg=(e,t)=>t,ig=(e,t,{streamFieldInfo:n,existingData:r})=>{if(!e&&!r)return t;let i=[],a=e??r,o=n?.isLastChunk?t.length:Math.max(a.length,t.length);for(let e=0;e<o;e++)i[e]=t[e]===void 0?a[e]:t[e];return i},ag=class{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(e){this.config=e,this.config={dataIdFromObject:uh,...e},this.cache=this.config.cache,this.setRootTypename(`Query`),this.setRootTypename(`Mutation`),this.setRootTypename(`Subscription`),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}identify(e,t){let n=this,r=t&&(t.typename||t.storeObject?.__typename)||e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return[`ROOT_QUERY`];let i=t&&t.storeObject||e,a={...t,typename:r,storeObject:i,readField:t&&t.readField||((...e)=>{let t=cg(e,i);return n.readField(t,{store:n.cache.data,variables:t.variables})})},o,s=r&&this.getTypePolicy(r),c=s&&s.keyFn||this.config.dataIdFromObject;return Ah.withValue(!0,()=>{for(;c;){let t=c({...e,...i},a);if(dp(t))c=zh(t);else{o=t;break}}}),o=o?String(o):void 0,a.keyObject?[o,a.keyObject]:[o]}addTypePolicies(e){Object.keys(e).forEach(t=>{let{queryType:n,mutationType:r,subscriptionType:i,...a}=e[t];n&&this.setRootTypename(`Query`,t),r&&this.setRootTypename(`Mutation`,t),i&&this.setRootTypename(`Subscription`,t),lh.call(this.toBeAdded,t)?this.toBeAdded[t].push(a):this.toBeAdded[t]=[a]})}updateTypePolicy(e,t,n){let r=this.getTypePolicy(e),{keyFields:i,fields:a}=t;function o(e,t){e.merge=typeof t==`function`?t:t===!0?ng:t===!1?rg:e.merge}o(r,t.merge),r.keyFn=i===!1?eg:dp(i)?zh(i):typeof i==`function`?i:r.keyFn,a&&Object.keys(a).forEach(t=>{let r=n[t];(!r||r?.typename!==e)&&(r=n[t]={typename:e});let i=a[t];if(typeof i==`function`)r.read=i;else{let{keyArgs:e,read:t,merge:n}=i;r.keyFn=e===!1?tg:dp(e)?Bh(e):typeof e==`function`?e:r.keyFn,typeof t==`function`&&(r.read=t),o(r,n)}r.read&&r.merge&&(r.keyFn=r.keyFn||tg)})}setRootTypename(e,t=e){let n=`ROOT_`+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(A(!r||r===e,108,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(t=>{this.getSupertypeSet(t,!0),e[t].forEach(e=>{this.getSupertypeSet(e,!0).add(t);let n=e.match(ph);(!n||n[0]!==e)&&this.fuzzySubtypes.set(e,new RegExp(e))})})}getTypePolicy(e){if(!lh.call(this.typePolicies,e)){let t=this.typePolicies[e]={};t.fields={};let n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((t,r)=>{if(t.test(e)){let e=this.supertypeMap.get(r);e&&e.forEach(e=>n.add(e))}})),n&&n.size&&n.forEach(e=>{let{fields:n,...r}=this.getTypePolicy(e);Object.assign(t,r),Object.assign(t.fields,n)})}let t=this.toBeAdded[e];return t&&t.length&&t.splice(0).forEach(t=>{this.updateTypePolicy(e,t,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,t){if(e)return this.getTypePolicy(e).fields[t]}getSupertypeSet(e,t){let n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n}fragmentMatches(e,t,n,r){if(!e.typeCondition)return!0;if(!t)return!1;let i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i)){let a=this.getSupertypeSet(t,!0),o=[a],s=e=>{let t=this.getSupertypeSet(e,!1);t&&t.size&&o.indexOf(t)<0&&o.push(t)},c=!!(n&&this.fuzzySubtypes.size);for(let l=0;l<o.length;++l){let u=o[l];if(u.has(i))return a.has(i)||a.add(i),!0;u.forEach(s),c&&l===o.length-1&&hh(e.selectionSet,n,r)&&(c=!1,this.fuzzySubtypes.forEac
8h((e,n)=>{let r=t.match(e);r&&r[0]===t&&s(n)}))}}return!1}hasKeyArgs(e,t){let n=this.getFieldPolicy(e,t);return!!(n&&n.keyFn)}getStoreFieldName(e){let{typename:t,fieldName:n}=e,r=this.getFieldPolicy(t,n),i,a=r&&r.keyFn;if(a&&t){let r={typename:t,fieldName:n,field:e.field||null,variables:e.variables},o=$h(e);for(;a;){let e=a(o,r);if(dp(e))a=Bh(e);else{i=e||n;break}}}return i===void 0&&(i=e.field?Ap(e.field,e.variables):sp(n,$h(e))),i===!1?n:n===mh(i)?i:n+`:`+i}readField(e,t){let n=e.from;if(!n||!(e.field||e.fieldName))return;if(e.typename===void 0){let r=t.store.getFieldValue(n,`__typename`);r&&(e.typename=r)}let r=this.getStoreFieldName(e),i=mh(r),a=t.store.getFieldValue(n,r),o=this.getFieldPolicy(e.typename,i),s=o&&o.read;if(s){let i=og(this,n,e,t,t.store.getStorage(Ym(n)?n.__ref:n,r));return Kh.withValue(this.cache,s,[a,i])}return a}getReadFunction(e,t){let n=this.getFieldPolicy(e,t);return n&&n.read}getMergeFunction(e,t,n){let r=this.getFieldPolicy(e,t),i=r&&r.merge;return!i&&n&&(r=this.getTypePolicy(n),i=r&&r.merge),i}runMergeFunction(e,t,{field:n,typename:r,merge:i,path:a},o,s){let c=e;if(i===ng)return lg(o.store)(e,t);if(i===rg)return t;o.overwrite&&(e=void 0);let l=o.extensions?.[Xp]?.deref()?.peekArray(a);if(l){let{current:e,previous:n}=l;if(n&&j(n.incoming,t)&&j(n.streamFieldInfo,e))return n.result}let u=i(e,t,sg(this,void 0,{typename:r,fieldName:n.name.value,field:n,variables:o.variables,path:a},o,s||{},c));return l&&(l.previous={incoming:t,streamFieldInfo:l.current,result:u}),u}};function og(e,t,n,r,i){let a=e.getStoreFieldName(n),o=mh(a),s=n.variables||r.variables,{toReference:c,canRead:l}=r.store;return{args:$h(n),field:n.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:Ym,toReference:c,storage:i,cache:e.cache,canRead:l,readField(...n){return e.readField(cg(n,t,s),r)},mergeObjects:lg(r.store)}}function sg(e,t,n,r,i,a){let o={...og(e,t,n,r,i),extensions:r.extensions,existingData:a},s=r.extensions;if(s&&Xp in s){let{[Xp]:e,...t}=s,r=e?.deref()?.peekArray(n.path);r&&(o.streamFieldInfo=r.current),o.extensions=Object.keys(t).length===0?void 0:t}return o}function cg(e,t,n){let{0:r,1:i,length:a}=e,o;return typeof r==`string`?o={fieldName:r,from:a>1?i:t}:(o={...r},lh.call(o,`from`)||(o.from=t)),o.variables===void 0&&(o.variables=n),o}function lg(e){return function(t,n){if(dp(t)||dp(n))throw cf(111);if(Hf(t)&&Hf(n)){let r=e.getFieldValue(t,`__typename`),i=e.getFieldValue(n,`__typename`);if(r&&i&&r!==i)return n;if(Ym(t)&&gh(n))return e.merge(t.__ref,n),t;if(gh(t)&&Ym(n))return e.merge(t,n.__ref),n;if(gh(t)&&gh(n))return{...t,...n}}return n}}function ug(e){return[e.selectionSet,e.objectOrReference,e.context]}var dg=class{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(e){this.config=e,this.executeSelectionSet=Rm(e=>{let t=ug(e);return this.executeSelectionSet.peek(...t)||(Th(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:hf[`inMemoryCache.executeSelectionSet`]||5e4,keyArgs:ug,makeCacheKey(e,t,n){if(kh(n.store))return n.store.makeCacheKey(e,Ym(t)?t.__ref:t,n.varString)}}),this.executeSubSelectedArray=Rm(e=>(Th(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:hf[`inMemoryCache.executeSubSelectedArray`]||1e4,makeCacheKey({field:e,array:t,context:n}){if(kh(n.store))return n.store.makeCacheKey(e,t,n.varString)}})}diffQueryAgainstStore({store:e,query:t,rootId:n=`ROOT_QUERY`,variables:r,returnPartialData:i=!0}){let a=this.config.cache.policies;r=Bf(qf(ep(t)),r);let o=hp(n),s=this.executeSelectionSet({selectionSet:Qf(t).selectionSet,objectOrReference:o,enclosingRef:o,context:{store:e,query:t,policies:a,variables:r,varString:tp(r),...vh(t,this.config.fragments)}}),c;s.missing&&(c=new ch(fg(s.missing),s.missing,t,r));let l=!c,{result:u}=s;return{result:l?u:i?Object.keys(u).length===0?null:u:null,complete:l,missing:c}}isFresh(e,t,n,r){if(kh(r.store)&&this.knownResults.get(e)===n){let i=this.executeSelectionSet.peek(n,t,r);if(i&&e===i.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:t,enclosingRef:n,context:r}){if(Ym(t)&&!r.policies.rootTypenamesById[t.__ref]&&!r.store.has(t.__ref))return{result:{},missing:`Dangling reference to missing ${t.__ref} object`};let{variables:i,policies:a,store:o}=r,s=o.getFieldValue(t,`__typename`),c=[],l,u=new Kf;typeof s==`string`&&!a.rootIdsByTypename[s]&&c.push({__typename:s});function d(e,t){return e.missing&&(l=u.merge(l,{[t]:e.missing})),e.result}let f=new Set(e.selections);
8f.forEach(e=>{if(Dp(e,i))if(pp(e)){let i=a.readField({fieldName:e.name.value,field:e,variables:r.variables,from:t},r),o=Ep(e);i===void 0?Zm.added(e)||(l=u.merge(l,{[o]:`Can't find field '${e.name.value}' on ${Ym(t)?t.__ref+` object`:`object `+JSON.stringify(t,null,2)}`})):dp(i)?i.length>0&&(i=d(this.executeSubSelectedArray({field:e,array:i,enclosingRef:n,context:r}),o)):e.selectionSet&&i!=null&&(i=d(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:i,enclosingRef:Ym(i)?i:n,context:r}),o)),i!==void 0&&c.push({[o]:i})}else{let t=Jf(e,r.lookupFragment);if(!t&&e.kind===k.FRAGMENT_SPREAD)throw cf(112,e.name.value);t&&a.fragmentMatches(t,s)&&t.selectionSet.selections.forEach(f.add,f)}});let p=gp({result:_p(c),missing:l});return p.result&&this.knownResults.set(p.result,e),p}execSubSelectedArrayImpl({field:e,array:t,enclosingRef:n,context:r}){let i,a=new Kf;function o(e,t){return e.missing&&(i=a.merge(i,{[t]:e.missing})),e.result}return e.selectionSet&&(t=t.filter(e=>e===void 0||r.store.canRead(e))),t=t.map((t,i)=>t===null?null:dp(t)?o(this.executeSubSelectedArray({field:e,array:t,enclosingRef:n,context:r}),i):e.selectionSet?o(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:t,enclosingRef:Ym(t)?t:n,context:r}),i):t),{result:t,missing:i}}};function fg(e){try{JSON.stringify(e,(e,t)=>{if(typeof t==`string`)throw t;return t})}catch(e){return e}}function pg(e,t,n){let r=`${t}${n}`,i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:{...e,clientOnly:t,deferred:n}),i}var mg=class{cache;reader;fragments;constructor(e,t,n){this.cache=e,this.reader=t,this.fragments=n}writeToStore(e,{query:t,result:n,dataId:r,variables:i,overwrite:a,extensions:o}){let s=$f(t),c=_h();i={...qf(s),...i};let l={store:e,written:{}
8,merge(e,t){return c.merge(e,t)},variables:i,varString:tp(i),...vh(t,this.fragments),overwrite:!!a,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:o},u=this.processSelectionSet({result:n||{},dataId:r,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:l,path:[]});if(!Ym(u))throw cf(114,n);return l.incomingById.forEach(({storeObject:t,mergeTree:n,fieldNodeSet:r},i)=>{let a=hp(i);if(n&&n.map.size){let e=this.applyMerges(n,a,t,l);if(Ym(e))return;t=e}e.merge(i,t)}),e.retain(u.__ref),u}processSelectionSet({dataId:e,result:t,selectionSet:n,context:r,mergeTree:i,path:a}){let{policies:o}=this.cache,s={},c=e&&o.rootTypenamesById[e]||xg(t,n,r.fragmentMap)||e&&r.store.get(e,`__typename`);typeof c==`string`&&(s.__typename=c);let l=(...e)=>{let t=cg(e,s,r.variables);if(Ym(t.from)){let e=r.incomingById.get(t.from.__ref);if(e){let n=o.readField({...t,from:e.storeObject},r);if(n!==void 0)return n}}return o.readField(t,r)},u=new Set;this.flattenFields(n,t,r,c).forEach((e,n)=>{let r=t[Ep(n)],d=[...a,n.name.value];if(u.add(n),r!==void 0){let t=o.getStoreFieldName({typename:c,fieldName:n.name.value,field:n,variables:e.variables}),a=gg(i,t),u=this.processFieldValue(r,n,n.selectionSet?pg(e,!1,!1):e,a,d),f;n.selectionSet&&(Ym(u)||gh(u))&&(f=l(`__typename`,u));let p=o.getMergeFunction(c,n.name.value,f);p?a.info={field:n,typename:c,merge:p,path:d}:e.extensions?.[Xp]&&Array.isArray(u)&&vg(n)?a.info={field:n,typename:c,merge:ig,path:d}:bg(i,t),s=e.merge(s,{[t]:u})}});try{let[i,a]=o.identify(t,{typename:c,selectionSet:n,fragmentMap:r.fragmentMap,storeObject:s,readField:l});e||=i,a&&(s=r.merge(s,a))}catch(t){if(!e)throw t}if(typeof e==`string`){let a=hp(e),o=r.written[e]||(r.written[e]=[]);if(o.indexOf(n)>=0||(o.push(n),this.reader&&this.reader.isFresh(t,a,n,r)))return a;let c=r.incomingById.get(e);return c?(c.storeObject=r.merge(c.storeObject,s),c.mergeTree=_g(c.mergeTree,i),u.forEach(e=>c.fieldNodeSet.add(e))):r.incomingById.set(e,{storeObject:s,mergeTree:yg(i)?void 0:i,fieldNodeSet:u}),a}return s}processFieldValue(e,t,n,r,i){return!t.selectionSet||e===null?e:dp(e)?e.map((e,a)=>{let o=this.processFieldValue(e,t,n,gg(r,a),[...i,a]);return bg(r,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r,path:i})}flattenFields(e,t,n,r=xg(t,e,n.fragmentMap)){let i=new Map,{policies:a}=this.cache,o=new xf(!1);return(function e(s,c){let l=o.lookup(s,c.clientOnly,c.deferred);l.visited||(l.visited=!0,s.selections.forEach(o=>{if(!Dp(o,n.variables))return;let{clientOnly:s,deferred:l}=c;if(!(s&&l)&&mp(o.directives)&&o.directives.forEach(e=>{let t=e.name.value;if(t===`client`&&(s=!0),t===`defer`){let t=mf(e,n.variables);(!t||t.if!==!1)&&(l=!0)}}),pp(o)){let e=i.get(o);e&&(s&&=e.clientOnly,l&&=e.deferred),i.set(o,pg(n,s,l))}else{let i=Jf(o,n.lookupFragment);if(!i&&o.kind===k.FRAGMENT_SPREAD)throw cf(116,o.name.value);i&&a.fragmentMatches(i,r,t,n.variables)&&e(i.selectionSet,pg(n,s,l))}}))})(e,n),i}applyMerges(e,t,n,r,i){if(e.map.size&&!Ym(n)){let a=!dp(n)&&(Ym(t)||gh(t))?t:void 0,o=n;a&&!i&&(i=[Ym(a)?a.__ref:a]);let s,c=(e,t)=>dp(e)?typeof t==`number`?e[t]:void 0:r.store.getFieldValue(e,String(t));e.map.forEach((e,t)=>{let n=c(a,t),l=c(o,t);if(l===void 0)return;i&&i.push(t);let u=this.applyMerges(e,n,l,r,i);u!==l&&(s||=new Map,s.set(t,u)),i&&A(i.pop()===t)}),s&&(n=dp(o)?o.slice(0):{...o},s.forEach((e,t)=>{n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&r.store.getStorage(...i)):n}},hg=[];function gg({map:e},t){return e.has(t)||e.set(t,hg.pop()||{map:new Map}),e.get(t)}function _g(e,t){if(e===t||!t||yg(t))return e;if(!e||yg(e))return t;let n=e.info&&t.info?{...e.info,...t.info}:e.info||t.info,r=e.map.size&&t.map.size,i={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){let n=new Set(t.map.keys());e.map.forEach((e,r)=>{i.map.set(r,_g(e,t.map.get(r))),n.delete(r)}),n.forEach(n=>{i.map.set(n,_g(t.map.get(n),e.map.get(n)))})}return i}function vg(e){return!!e.directives&&e.directives.some(e=>e.name.value===`stream`)}function yg(e){return!e||!(e.info||e.map.size)}function bg({map:e},t){let n=e.get(t);n&&yg(n)&&(hg.push(n),e.delete(t))}function xg(e,t,n){let r;for(let n of t.selections)if(pp(n)){if(n.name.value===`__typename`)return e[Ep(n)]}else r?r.push(n):r=[n];if(typeof e.__typename==`string`)return e.__typename;if(r)for(let t of r){let r=xg(e,Jf(t,n).selectionSet,n);if(typeof r==`string`)return r}}var Sg=class extends rh{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new Km(Zm);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=Zh;constructor(e={}){super(),this.config=fh(e),this.policies=new ag({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){let e=this.data=new Sh.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){let{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new mg(this,this.storeReader=new dg({cache:this,fragments:e}),e),this.maybeBroadcastWatch=Rm((e,t)=>
8this.broadcastWatch(e,t),{max:hf[`inMemoryCache.maybeBroadcastWatch`]||5e3,makeCacheKey:e=>{let t=e.optimistic?this.optimisticData:this.data;if(kh(t)){let{optimistic:n,id:r,variables:i}=e;return t.makeCacheKey(e.query,e.callback,tp({optimistic:n,id:r,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}restore(e){return this.init(),e&&this.data.replace(e),this}extract(e=!1){return(e?this.optimisticData:this.data).extract()}read(e){let{returnPartialData:t=!1}=e;return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t}).result}write(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}modify(e){if(lh.call(e,`id`)&&!e.id)return!1;let t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||`ROOT_QUERY`,e.fields,!1)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}diff(e){return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,rootId:e.id||`ROOT_QUERY`,config:this.config})}watch(e){return this.watches.size||Xh(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&Yh(this),this.maybeBroadcastWatch.forget(e)}}gc(e){tp.reset(),Jm.reset();let t=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),t}retain(e,t){return(t?this.optimisticData:this.data).retain(e)}release(e,t){return(t?this.optimisticData:this.data).release(e)}identify(e){if(Ym(e))return e.__ref;try{return this.policies.identify(e)[0]}catch{}}evict(e){if(!e.id){if(lh.call(e,`id`))return!1;e={...e,id:`ROOT_QUERY`}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}reset(e){return this.init(),tp.reset(),e&&e.discardWatches?(this.watches.forEach(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),Yh(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){let t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())}txCount=0;batch(e){let{update:t,optimistic:n=!0,removeOptimistic:r,onWatchUpdated:i}=e,a,o=e=>{let{data:n,optimisticData:r}=this;++this.txCount,e&&(this.data=this.optimisticData=e);try{return a=t(this)}finally{--this.txCount,this.data=n,this.optimisticData=r}},s=new Set;return i&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated(e){return s.add(e),!1}}),typeof n==`string`?this.optimisticData=this.optimisticData.addLayer(n,o):n===!1?o(this.data):o(),typeof r==`string`&&(this.optimisticData=this.optimisticData.removeLayer(r)),i&&s.size?(this.broadcastWatches({...e,onWatchUpdated(e,t){let n=i.call(this,e,t);return n!==!1&&s.delete(e),n}}),s.size&&s.forEach(e=>this.maybeBroadcastWatch.dirty(e))):this.broadcastWatches(e),a}performTransaction(e,t){return this.batch({update:e,optimistic:t||t!==null})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,t){return this.policies.fragmentMatches(e,t)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}resolvesClientField(e,t){return!!this.policies.getReadFunction(e,t)}broadcastWatches(e){if(!this.txCount){let t=this.onAfterBroadcast,n=new Set;this.onAfterBroadcast=e=>{n.add(e)};try{this.watches.forEach(t=>this.maybeBroadcastWatch(t,e)),n.forEach(e=>e())}finally{this.onAfterBroadcast=t}}}addFragmentsToDocument(e){let{fragments:t}=this.config;return t?t.transform(e):e}broadcastWatch(e,t){let{lastDiff:n}=e,r=this.diff(e);t&&(e.optimistic&&typeof t.optimistic==`string`&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&t.onWatchUpdated.call(this,e,r,n)===!1)||(!n||!j(n.result,r.result))&&e.callback(e.lastDiff=r,n)}};function Cg(e){return e.map(e=>e.message||`Error message not found.`).join(`
9`)}var wg=class e extends Error{static is(e){return mi(e,`CombinedProtocolErrors`)}static formatMessage=Cg;errors;constructor(t){super(e.formatMessage(t,{defaultFormatMessage:Cg}
9)),this.name=`CombinedProtocolErrors`,this.errors=t,hi(this),Object.setPrototypeOf(this,e.prototype)}};function Tg(e){return typeof e==`object`&&!!e&&typeof e.message==`string`&&typeof e.name==`string`&&(typeof e.stack==`string`||e.stack===void 0)}var Eg=class e extends Error{static is(e){return mi(e,`UnconventionalError`)}constructor(t){super(`An error of unexpected shape occurred.`,{cause:t}),this.name=`UnconventionalError`,hi(this),Object.setPrototypeOf(this,e.prototype)}},Dg=new WeakSet;function Og(e){Dg.add(e)}var kg=class e extends Error{static is(e){return mi(e,`ServerError`)}response;statusCode;bodyText;constructor(t,n){super(t),this.name=`ServerError`,this.response=n.response,this.statusCode=n.response.status,this.bodyText=n.bodyText,hi(this),Object.setPrototypeOf(this,e.prototype)}},Ag=class e extends Error{static is(e){return mi(e,`ServerParseError`)}response;statusCode;bodyText;constructor(t,n){super(t instanceof Error?t.message:`Could not parse server response`,{cause:t}),this.name=`ServerParseError`,this.response=n.response,this.statusCode=n.response.status,this.bodyText=n.bodyText,hi(this),Object.setPrototypeOf(this,e.prototype)}},jg=Symbol();function Mg(e){return`extensions`in e&&wg.is(e.extensions[jg])}function Ng(e){return Tg(e)?e:typeof e==`string`?Error(e,{cause:e}):new Eg(e)}var M;(function(e){e[e.loading=1]=`loading`,e[e.setVariables=2]=`setVariables`,e[e.fetchMore=3]=`fetchMore`,e[e.refetch=4]=`refetch`,e[e.poll=6]=`poll`,e[e.ready=7]=`ready`,e[e.error=8]=`error`,e[e.streaming=9]=`streaming`})(M||={});var{assign:Pg,hasOwnProperty:Fg}=Object,Ig={loading:!0,networkStatus:M.loading,data:void 0,dataState:`empty`,partial:!0},Lg={loading:!1,networkStatus:M.ready,data:void 0,dataState:`empty`,partial:!0},Rg=class{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:e,options:t,transformedQuery:n=e.transform(t.query)}){this.queryManager=e,this.waitForNetworkResult=t.fetchPolicy===`network-only`,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);let{watchQuery:{fetchPolicy:r=`cache-first`}={}}=e.defaultOptions,{fetchPolicy:i=r,initialFetchPolicy:a=i===`standby`?r:i}=t;t[Zp]&&(A(i===`standby`,82),this.variablesUnknown=!0),this.lastQuery=n,this.options={...t,initialFetchPolicy:a,fetchPolicy:i,variables:this.getVariablesWithDefaults(t.variables)},this.initializeObservablesQueue(),this[`@@observable`]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);let o=$f(this.query);this.queryName=o&&o.name&&o.name.value}initializeObservablesQueue(){this.subject=new Ru({query:this.query,variables:this.variables,result:Ig,meta:{}});let e=this.subject.pipe(Yd({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),Mp(({query:e,variables:t,result:n,meta:r},i)=>{let{shouldEmit:a}=r;if(n===Ig&&(i.previous=void 0,i.previousVariables=void 0),this.options.fetchPolicy===`standby`||a===2)return;if(a===1)return c();let{previous:o,previousVariables:s}=i;if(o){let r=this.queryManager.getDocumentInfo(e),i=this.queryManager.dataMasking,a=i?r.nonReactiveQuery:e;if((i||r.hasNonreactiveDirective?Up(a,o,n,t):j(o,n))&&j(s,t))return}if(a===3&&(!this.options.notifyOnNetworkStatusChange||j(o,n)))return;return c();function c(){return i.previous=n,i.previousVariables=t,n}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new Iu,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e})}getInitialResult(e){let t=e||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&(t===`network-only`||t===`cache-and-network`)&&(t=`cache-first`);let n=()=>{let e=this.getCacheDiff(),t=this.options.returnPartialData||e.complete?e.result??void 0:void 0;return this.maskResult({data:t,dataState:e.complete?`complete`:t===void 0?`empty`:`partial`,loading:!e.complete,networkStatus:e.complete?M.ready:M.loading,partial:!e.complete})};switch(t){case`cache-only`:return{...n(),loading:!1,networkStatus:M.ready};case`cache-first`:return n();case`cache-and-network`:return{...n(),loading:!0,networkStatus:M.loading};case`standby`:return Lg;default:return Ig}}resubscribeCache(){let{variables:e,fetchPolicy:t}=this.options,n=this.query,r=t===`standby`||t===`no-cache`||this.waitForNetworkResult,i=!zg({query:n,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((r||i)&&this.unsubscribeFromCache?.(),r||!i)return;let a={query:n,variables:e,optimistic:!0,watcher:this,callback:e=>{let t=this.queryManager.getDocumentInfo(n);
9if((t.hasClientExports||t.hasForcedResolvers)&&(a.lastDiff=void 0),a.lastOwnDiff===e)return;let{result:r}=this.subject.getValue();!e.complete&&(r.error||r===Ig||r===Lg)||j(r.data,e.result)||this.scheduleNotify()}},o=this.cache.watch(a);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,o()},{query:n,variables:e})}stableLastResult;getCurrentResult(){let{result:e}=this.subject.getValue(),t=e.networkStatus===M.error||this.hasObservers()||this.options.fetchPolicy===`no-cache`?e:this.getInitialResult();return t===Ig&&(t=this.getInitialResult()),j(this.stableLastResult,t)||(this.stableLastResult=t),this.stableLastResult}refetch(e){let{fetchPolicy:t}=this.options,n={pollInterval:0};return n.fetchPolicy=t===`no-cache`?`no-cache`:`network-only`,e&&!j(this.variables,e)&&(n.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._lastWrite=void 0,this._reobserve(n,{newNetworkStatus:M.refetch})}fetchMore({query:e,variables:t,context:n,errorPolicy:r,updateQuery:i}){A(this.options.fetchPolicy!==`cache-only`,84,gf(this.query,`(anonymous)`));let a={...Bf(this.options,{errorPolicy:`none`},{query:e,context:n,errorPolicy:r}),variables:e?t:{...this.variables,...t},fetchPolicy:`no-cache`,notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};a.query=this.transformDocument(a.query),this.lastQuery=e?this.transformDocument(this.options.query):a.query;let o=!1,s=this.options.fetchPolicy!==`no-cache`;s||A(i,85);let{finalize:c,pushNotification:l}=this.pushOperation(M.fetchMore);l({source:`newNetworkStatus`,kind:`N`,value:{}},{shouldEmit:3});let{promise:u,operator:d}=Bg(),{observable:f}=this.queryManager.fetchObservableWithInfo(a,{networkStatus:M.fetchMore,exposeExtensions:!0}),p=f.pipe(d,Bd(e=>e.kind===`N`&&e.source===`network`)).subscribe({next:e=>{o=!1;let t=e.value,n=t[Yp];if(th(e.value.networkStatus)&&c(),s){let e=this.getCacheDiff();this.cache.batch({update:e=>{i?e.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:n},e=>i(e,{fetchMoreResult:t.data,variables:a.variables})):e.writeQuery({query:a.query,variables:a.variables,data:t.data,extensions:n})},onWatchUpdated:(n,r)=>{if(n.watcher===this&&!j(r.result,e.result)){o=!0;let e=this.getCurrentResult();nh(t.networkStatus)&&l({kind:`N`,source:`network`,value:{...e,networkStatus:t.networkStatus===M.error?M.ready:t.networkStatus,loading:!1,data:r.result,dataState:t.dataState===`streaming`?`streaming`:`complete`}})}}})}else{let e=this.getCurrentResult(),n=i(e.data,{fetchMoreResult:t.data,variables:a.variables});l({kind:`N`,value:{...e,networkStatus:M.ready,loading:!1,data:n,dataState:e.dataState===`streaming`?`streaming`:`complete`},source:`network`})}}});return yp(u.then(e=>jp(this.maskResult(e))).finally(()=>{if(p.unsubscribe(),c(),s&&!o){let e=this.getCurrentResult();e.dataState===`streaming`?l({kind:`N`,source:`network`,value:{...e,dataState:`complete`,networkStatus:M.ready}}):l({kind:`N`,source:`newNetworkStatus`,value:{}},{shouldEmit:1})}}))}subscribeToMore(e){let t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:t=>{let{updateQuery:n,onError:r}=e,{error:i}=t;if(i){r?r(i):A.error(86,i);return}n&&this.updateQuery((e,r)=>n(e,{subscriptionData:t,...r}))}});return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)&&t.unsubscribe()}}applyOptions(e){let t=Bf(this.options,e||{});Pg(this.options,t),this.updatePolling()}async setVariables(e){return e=this.getVariablesWithDefaults(e),j(this.variables,e)||(this.options.variables=e,!this.hasObservers())?jp(this.getCurrentResult()):this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:M.setVariables})}updateQuery(e){let{queryManager:t}=this,{result:n,complete:r}=this.getCacheDiff({optimistic:!1}),i=e(n,{variables:this.variables,complete:!!r,previousData:n});i&&(this.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),t.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,t){if(t.nextFetchPolicy){let{fetchPolicy:n=`cache-first`,initialFetchPolicy:r=n}=t;n===`standby`||(t.fetchPolicy=typeof t.nextFetchPolicy==`function`?t.nextFetchPolicy.call(t,n,{reason:e,options:t,observable:this,initialFetchPolicy:r}):e===`variables-changed`?r:t.nextFetchPolicy)}return t.fetchPolicy}fetch(e,t,n,r){let i=this.options.fetchPolicy;e.context??={};let a=!1,{observable:o,fromLink:s}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:t,query:n,onCacheHit:()=>{a=!0},fetchQueryOperator:e=>new Du(n=>{try{return e.subscribe({next(e){a=!0,n.next(e)},error:e=>n.error(e),complete:()=>n.complete()})}finally{a||(u.override=t,this.input.next({kind:`N`,source:`newNetworkStatus`,value:{resetError:!0},query:c,variables:l,meta:{shouldEmit:3,fetchPolicy:i}}))}}),observableQuery:this}),{query:c,variables:l}=this,u={abort:()=>{f.unsubscribe()},query:c,variables:l};this.activeOperations.add(u);let d=t==M.refetch||t==M.setVariables;o=o.pipe(r,Kd());let f=o.pipe(Yd({next:e=>{e.source===`newNetworkStatus`||e.kind===`N`&&e.value.loading?u.override=t:delete u.override},finalize:()=>this.activeOperations.delete(u)})).subscribe({next:e=>{let t={};d&&e.kind===`N`&&`loading`in e.value&&!e.value.loading&&(d=!1,t.shouldEmit=1),this.input.next({...e,query:c,variables:l,meta:t})}});return{fromLink:s,subscription:f,observable:o}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;let{pollingInfo:e,options:{fetchPolicy:t,pollInterval:n}}=this,r=()=>{let{options:e}=this;return!e.pollInterval||!this.hasObservers()||e.fetchPolicy===`cache-only`||e.fetchPolicy===`standby`};
9if(r()){this.cancelPolling();return}if(e?.interval===n)return;let i=e||(this.pollingInfo={});i.interval=n;let a=()=>{if(r())return this.cancelPolling();this.pollingInfo&&(!nh(this.networkStatus)&&!this.options.skipPollAttempt?.()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy===`no-cache`?`no-cache`:`network-only`},{newNetworkStatus:M.poll}).then(o,o):o())},o=()=>{let e=this.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(a,e.interval))};o()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,t){this.isTornDown=!1;let{newNetworkStatus:n}=t||{};this.queryManager.obsQueries.add(this);let r=n===M.refetch||n===M.poll,i=this.variables,a=this.options.fetchPolicy,o=Bf(this.options,e||{});this.variablesUnknown&&=o.fetchPolicy===`standby`;let s=r?o:Pg(this.options,o),c=this.transformDocument(s.query);this.lastQuery=c,e&&`variables`in e&&(s.variables=this.getVariablesWithDefaults(e.variables)),r||(this.updatePolling(),e&&e.variables&&!j(e.variables,i)&&s.fetchPolicy!==`standby`&&(s.fetchPolicy===a||typeof s.nextFetchPolicy==`function`)&&(this.applyNextFetchPolicy(`variables-changed`,s),n===void 0&&(n=M.setVariables)));let l=this.networkStatus;n||(n=M.loading,l!==M.loading&&e?.variables&&!j(e.variables,i)&&(n=M.setVariables),s.fetchPolicy===`standby`&&(n=M.ready)),s.fetchPolicy===`standby`&&this.cancelPolling(),this.resubscribeCache();let{promise:u,operator:d}=Bg(s.fetchPolicy===`standby`?{data:void 0}:void 0),{subscription:f,observable:p,fromLink:m}=this.fetch(s,n,c,d);!r&&(m||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=f);let h=Object.assign(yp(u.then(e=>jp(this.maskResult(e))).finally(()=>{!this.hasObservers()&&this.activeOperations.size===0&&this.tearDownQuery()})),{retain:()=>{let e=p.subscribe({}),t=()=>e.unsubscribe();return u.then(t,t),h}});return h}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){let t=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return t===e.data?e:{...e,data:t}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&=(clearTimeout(this.notifyTimeout),void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||=setTimeout(()=>this.notify(!0),0))}notify(e=!1){if(!e){let e=this.queryManager.getDocumentInfo(this.query);if(e.hasClientExports||e.hasForcedResolvers)return}let{dirty:t}=this;if(this.resetNotifications(),t&&(this.options.fetchPolicy===`cache-only`||this.options.fetchPolicy===`cache-and-network`||!this.activeOperations.size)){let e=this.getCacheDiff();j(e.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:`N`,value:{data:e.result,dataState:e.complete?`complete`:e.result?`partial`:`empty`,networkStatus:M.ready,loading:!1,error:void 0,partial:!e.complete},source:`cache`,query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(e){let t=!1,{query:n,variables:r}=this,i=()=>{this.activeOperations.delete(a)},a={override:e,abort:()=>{t=!0,i()},query:n,variables:r};return this.activeOperations.add(a),{finalize:i,pushNotification:(e,i)=>{t||this.input.next({...e,query:n,variables:r,meta:{...i}})}}}calculateNetworkStatus(e){return e===M.streaming?e:Array.from(this.activeOperations.values()).reverse().find(e=>zg(e,this)&&e.override!==void 0)?.override??e}abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){let e=this.options.fetchPolicy===`cache-only`;this.setResult(e?Lg:Ig,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,t){this.input.next({source:`setResult`,kind:`N`,value:e,query:this.query,variables:this.variables,meta:{...t}})}operator=Mp(e=>{let{query:t,meta:n}=e;
9if(e.source===`setResult`)return{query:t,variables:this.variables,result:e.value,meta:n};if(e.kind===`C`)return;let r=`resolvedVariables`in e?e.resolvedVariables:void 0;if(e.query!==this.query)return;if(!j(r,this.variables)){if(!j(e.variables,this.variables))return;r&&(this.options.variables=r,this.resubscribeCache())}let i=this.variables,a,o=this.subject.getValue();if(e.source===`cache`){if(a=e.value,a.networkStatus===M.ready&&a.partial&&(!this.options.returnPartialData||o.result.networkStatus===M.error)&&this.options.fetchPolicy!==`cache-only`)return}else if(e.source===`network`)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),a=e.kind===`E`?{...zg(o,e)||r&&j(r,o.variables)?o.result:{data:void 0,dataState:`empty`,partial:!0},error:e.error,networkStatus:M.error,loading:!1}:e.value,e.kind===`E`&&a.dataState===`streaming`&&(a.dataState=`complete`),a.error&&(n.shouldEmit=1);else if(e.source===`newNetworkStatus`){let t=zg(o,e)?o.result:this.getInitialResult(n.fetchPolicy),{resetError:r}=e.value,i=r?void 0:t.error,s=i?M.error:M.ready;a={...t,error:i,networkStatus:s}}return A(a),a.error||delete a.error,a.networkStatus=this.calculateNetworkStatus(a.networkStatus),a.loading=nh(a.networkStatus),a=this.maskResult(a),o.result.data!==void 0&&a.data!==o.result.data&&j(a.data,o.result.data)&&(a.data=o.result.data),{query:t,variables:i,result:a,meta:n}});reobserveCacheFirst(){let{fetchPolicy:e,nextFetchPolicy:t}=this.options;e===`cache-and-network`||e===`network-only`?this.reobserve({fetchPolicy:`cache-first`,nextFetchPolicy(n,r){return this.nextFetchPolicy=t,typeof this.nextFetchPolicy==`function`?this.nextFetchPolicy(n,r):e}}):this.reobserve()}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}};function zg(e,t){return!!(e&&t&&e.query===t.query&&j(e.variables,t.variables))}function Bg(e){let t=e,n,r;return{promise:new Promise((e,t)=>{n=e,r=t}),operator:Yd({next(e){if(e.kind===`E`)return r(e.error);e.kind===`N`&&e.source!==`newNetworkStatus`&&!e.value.loading&&(t=e.value)},finalize:()=>{if(t)n(t);else{let e=`The operation was aborted.`,t=`AbortError`;r(typeof DOMException<`u`?new DOMException(e,t):Object.assign(Error(e),{name:t}))}}})}}var Vg={},Hg=new WeakMap;function Ug(e,t){let n=e[t];typeof n==`function`&&(e[t]=function(){return Hg.set(e,(Hg.get(e)+1)%0x38d7ea4c68000),n.apply(this,arguments)})}var Wg=new WeakMap,Gg=class{cache;queryManager;id;observableQuery;incremental;constructor(e,t){let n=this.cache=e.cache,r=(Wg.get(e)||0)+1;Wg.set(e,r),this.id=r+``,this.observableQuery=t,this.queryManager=e,Hg.has(n)||(Hg.set(n,0),Ug(n,`evict`),Ug(n,`modify`),Ug(n,`reset`))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(e){(this.observableQuery||this)._lastWrite=e}resetLastWrite(){this.lastWrite=void 0}shouldWrite(e,t){let{lastWrite:n}=this;return!(n&&n.dmCount===Hg.get(this.cache)&&j(t,n.variables)&&j(e.data,n.result.data)&&e.extensions?.[Xp]===n.result.extensions?.[Xp])}get hasNext(){return this.incremental?this.incremental.hasNext:!1}maybeHandleIncrementalResult(e,t,n){let{incrementalHandler:r}=this.queryManager;return r.isIncrementalResult(t)?(this.incremental||=r.startRequest({query:n}),this.incremental.handle(e,t)):t}markQueryResult(e,{document:t,variables:n,errorPolicy:r,cacheWriteBehavior:i}){let a={query:t,variables:n,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();let o=i===0,s=o?void 0:this.cache.diff(a),c=this.maybeHandleIncrementalResult(s?.result,e,t);return o||(Kg(c,r)?this.cache.batch({onWatchUpdated:(e,t)=>{e.watcher===this.observableQuery&&(e.lastOwnDiff=t)}
9,update:e=>{if(this.shouldWrite(c,n))e.writeQuery({query:t,data:c.data,variables:n,overwrite:i===1,extensions:c.extensions}),this.lastWrite={result:c,variables:n,dmCount:Hg.get(this.cache)};else if(s&&s.complete){c={...c,data:s.result};return}let r=e.diff(a);r.complete&&(c={...c,data:r.result})}}):this.lastWrite=void 0),c}markMutationResult(e,t,n=this.cache){let r=[],i=t.cacheWriteBehavior===0,a=this.maybeHandleIncrementalResult(i?void 0:n.diff({id:`ROOT_MUTATION`,query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}).result,e,t.document);if(t.errorPolicy===`ignore`&&(a={...a,errors:[]}),cp(a)&&t.errorPolicy===`none`)return Promise.resolve(a);let o=()=>({...a,dataState:this.hasNext?`streaming`:`complete`});if(!i&&Kg(a,t.errorPolicy)){r.push({result:a.data,dataId:`ROOT_MUTATION`,query:t.document,variables:t.variables,extensions:a.extensions});let{updateQueries:e}=t;e&&this.queryManager.getObservableQueries(`all`).forEach(t=>{let n=t&&t.queryName;if(!n||!Object.hasOwnProperty.call(e,n))return;let i=e[n],{query:a,variables:s}=t,{result:c,complete:l}=t.getCacheDiff({optimistic:!1});if(l&&c){let e=i(c,{mutationResult:o(),queryName:a&&gf(a)||void 0,queryVariables:s});e&&r.push({result:e,dataId:`ROOT_QUERY`,query:a,variables:s})}})}let s=t.refetchQueries;if(typeof s==`function`&&(s=s(o())),r.length>0||(s||``).length>0||t.update||t.onQueryUpdated||t.removeOptimistic){let e=[];
9if(this.queryManager.refetchQueries({updateCache:e=>{i||r.forEach(t=>e.write(t));let{update:n}=t;if(n){if(!i){let n=e.diff({id:`ROOT_MUTATION`,query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});n.complete&&(a={...a,data:n.result})}this.hasNext||n(e,a,{context:t.context,variables:t.variables})}!i&&!t.keepRootFields&&!this.hasNext&&e.modify({id:`ROOT_MUTATION`,fields(e,{fieldName:t,DELETE:n}){return t===`__typename`?e:n}})},include:s,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(t=>e.push(t)),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(e).then(()=>a)}return Promise.resolve(a)}markMutationOptimistic(e,t){let n=typeof e==`function`?e(t.variables,{IGNORE:Vg}):e;return n!==Vg&&(this.cache.recordOptimisticTransaction(e=>{try{this.markMutationResult({data:n},t,e)}catch(e){A.error(e)}},this.id),!0)}markSubscriptionResult(e,{document:t,variables:n,errorPolicy:r,cacheWriteBehavior:i}){i!==0&&(Kg(e,r)&&this.cache.write({query:t,result:e.data,dataId:`ROOT_SUBSCRIPTION`,variables:n,extensions:e.extensions}),this.queryManager.broadcastQueries())}};function Kg(e,t=`none`){let n=t===`ignore`||t===`all`,r=!cp(e);return!r&&n&&e.data&&(r=!0),r}var qg=class{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){let t=new Km(e=>this.cache.transformDocument(e),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;let n=e.documentTransform;this.documentTransform=n?t.concat(n).concat(t):t,this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches(cf(89))}cancelPendingFetches(e){this.fetchCancelFns.forEach(t=>t(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:t,optimisticResponse:n,updateQueries:r,refetchQueries:i=[],awaitRefetchQueries:a=!1,update:o,onQueryUpdated:s,fetchPolicy:c,errorPolicy:l,keepRootFields:u,context:d}){let f=new Gg(this);e=this.cache.transformForLink(this.transform(e));let{hasClientExports:p}=this.getDocumentInfo(e);t=this.getVariables(e,t),p&&(t=await this.localState.getExportedVariables({client:this.client,document:e,variables:t,context:d}));let m=this.mutationStore&&(this.mutationStore[f.id]={mutation:e,variables:t,loading:!0,error:null}),h=n&&f.markMutationOptimistic(n,{document:e,variables:t,cacheWriteBehavior:c===`no-cache`?0:2,errorPolicy:l,context:d,updateQueries:r,update:o,keepRootFields:u});return this.broadcastQueries(),new Promise((p,g)=>{let _={};return this.getObservableFromLink(e,{...d,optimisticResponse:h?n:void 0},t,c,{},!1).observable.pipe(Jg(),Fd(n=>{let p={...n};return wd(f.markMutationResult(p,{document:e,variables:t,cacheWriteBehavior:c===`no-cache`?0:2,errorPolicy:l,context:d,update:o,updateQueries:r,awaitRefetchQueries:a,refetchQueries:i,removeOptimistic:h?f.id:void 0,onQueryUpdated:s,keepRootFields:u}))})).pipe(Nd(e=>{if(cp(e)&&l===`none`)throw new _i(Xg(e));return m&&(m.loading=!1,m.error=null),e})).subscribe({next:t=>{if(this.broadcastQueries(),!f.hasNext){let n={data:this.maskOperation({document:e,data:t.data,fetchPolicy:c,cause:_})};cp(t)&&(n.error=new _i(t)),Object.keys(t.extensions||{}).length&&(n.extensions=t.extensions),p(n)}},error:e=>{if(m&&(m.loading=!1,m.error=e),h&&this.cache.removeOptimistic(f.id),this.broadcastQueries(),l===`ignore`)return p({data:void 0});if(l===`all`)return p({data:void 0,error:e});g(e)}})})}fetchQuery(e,t){return Lf(e.query,si.QUERY),(async()=>jd(this.fetchObservableWithInfo(e,{networkStatus:t}).observable.pipe(Mp(e=>{switch(e.kind){case`E`:throw e.error;case`N`:if(e.source!==`newNetworkStatus`)return jp(e.value)}})),{defaultValue:{data:void 0}}))()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new Pf(hf[`queryManager.getDocumentInfo`]||2e3);getDocumentInfo(e){let{transformCache:t}=this;if(!t.has(e)){let n=$f(e),r={hasClientExports:lp([`client`,`export`],e,!0),hasForcedResolvers:up(e),hasNonreactiveDirective:lp([`nonreactive`],e),hasIncrementalDirective:lp([`defer`],e),nonReactiveQuery:Yg(e),clientQuery:lp([`client`],e)?e:null,serverQuery:bp([{name:`client`,remove:!0},{name:`connection`},{name:`nonreactive`},{name:`unmask`}],e),operationType:n?.operation,defaultVars:qf(n),asQuery:{...e,definitions:e.definitions.map(e=>e.kind===`OperationDefinition`&&e.operation!==`query`?{...e,operation:`query`}:e)}};t.set(e,r)}let n=t.get(e);if(n.violation)throw n.violation;return n}getVariables(e,t){let n=this.getDocumentInfo(e).defaultVars,r=Object.entries(t??{}).map(([e,t])=>[e,t===void 0?n[e]:t]);return{...n,...Object.fromEntries(r)}}watchQuery(e){Lf(e.query,si.QUERY);let t=this.transform(e.query);return e={...e,variables:this.getVariables(t,e.variables)},e.notifyOnNetworkStatusChange===void 0&&(e.notifyOnNetworkStatusChange=!0),new Rg({queryManager:this,options:e,transformedQuery:t})}query(e){let t=this.transform(e.query);return this.fetchQuery({...e,query:t}).then(n=>({...n,data:this.maskOperation({document:t,data:n?.data,fetchPolicy:e.fetchPolicy})}))}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches(cf(91)),this.obsQueries.forEac
9h(e=>{e.reset()}),this.mutationStore&&={},this.cache.reset(e)}getObservableQueries(e=`active`){let t=new Set,n=new Map,r=new Map,i=new Set;return Array.isArray(e)&&e.forEach(e=>{if(typeof e==`string`)n.set(e,e),r.set(e,!1);else if(fp(e)){let t=Jm(this.transform(e));n.set(t,gf(e)),r.set(t,!1)}else Hf(e)&&e.query&&i.add(e)}),this.obsQueries.forEach(n=>{let i=Jm(this.transform(n.options.query));if(e===`all`){t.add(n);return}let{queryName:a,options:{fetchPolicy:o}}=n;(e!==`active`||o!==`standby`)&&(e===`active`||a&&r.has(a)||i&&r.has(i))&&(t.add(n),a&&r.set(a,!0),i&&r.set(i,!0))}),i.size&&i.forEach(e=>{let n=new Rg({queryManager:this,options:{...vp(this.defaultOptions.watchQuery,e),fetchPolicy:`network-only`}});t.add(n)}),t}refetchObservableQueries(e=!1){let t=[];return this.getObservableQueries(e?`all`:`active`).forEach(n=>{let{fetchPolicy:r}=n.options;(e||r!==`standby`)&&r!==`cache-only`&&t.push(n.refetch())}),this.broadcastQueries(),Promise.all(t)}startGraphQLSubscription(e){let{query:t,variables:n}=e,{fetchPolicy:r=`cache-first`,errorPolicy:i=`none`,context:a={},extensions:o={}}=e;Lf(t,si.SUBSCRIPTION),t=this.transform(t),n=this.getVariables(t,n);let s,c=(this.getDocumentInfo(t).hasClientExports?wd(this.localState.getExportedVariables({client:this.client,document:t,variables:n,context:a})):Td(n)).pipe(Fd(e=>{let{observable:n,restart:c}=this.getObservableFromLink(t,a,e,r,o),l=new Gg(this);return s=c,n.pipe(Nd(n=>{l.markSubscriptionResult(n,{document:t,variables:e,errorPolicy:i,cacheWriteBehavior:r===`no-cache`?0:2});let a={data:n.data??void 0};return cp(n)?a.error=new _i(n):Mg(n)&&(a.error=n.extensions[jg],delete n.extensions[jg]),n.extensions&&Object.keys(n.extensions).length&&(a.extensions=n.extensions),a.error&&i===`none`&&(a.data=void 0),i===`ignore`&&delete a.error,a}),Vd(e=>Td(i===`ignore`?{data:void 0}:{data:void 0,error:e})),Bd(e=>!!(e.data||e.error)))}));return Object.assign(c,{restart:()=>s?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(e=>e.notify())}inFlightLinkObservables=new xf(!1);getObservableFromLink(e,t,n,r,i,a=t?.queryDeduplication??this.queryDeduplication){let o={},{serverQuery:s,clientQuery:c,operationType:l,hasIncrementalDirective:u}=this.getDocumentInfo(e),d=gf(e),f={client:this.client};if(s){let{inFlightLinkObservables:e,link:r}=this;try{let c=this.incrementalHandler.prepareRequest({query:s,variables:n,context:{...this.defaultContext,...t,queryDeduplication:a},extensions:i});t=c.context;function u(e){return new Du(t=>{function n(){return e.subscribe({next:t.next.bind(t),complete:t.complete.bind(t),error:t.error.bind(t)})}let r=n();return o.restart||=()=>{r.unsubscribe(),r=n()},()=>{r.unsubscribe(),o.restart=void 0}})}if(a){let t=Jm(s),i=tp(n);o=e.lookup(t,i),o.observable||(o.observable=Wm(r,c,f).pipe(u,Wd(()=>{e.peek(t,i)===o&&e.remove(t,i)}),l===si.SUBSCRIPTION?Kd():Jd({refCount:!0})))}else o.observable=Wm(r,c,f).pipe(u)}catch(e){o.observable=Ed(()=>e)}}else o.observable=Td({data:{}});if(c){let{operation:i}=$f(e);A(!u,96,i[0].toUpperCase()+i.slice(1),d??`(anonymous)`),o.observable=o.observable.pipe(Fd(e=>wd(this.localState.execute({client:this.client,document:c,remoteResult:e,context:t,variables:n,fetchPolicy:r}))))}return{restart:()=>o.restart?.(),observable:o.observable.pipe(Vd(e=>{throw e=Ng(e),Og(e),e}))}}getResultsFromLink(e,{queryInfo:t,cacheWriteBehavior:n,observableQuery:r,exposeExtensions:i}){let{errorPolicy:a}=e,o=this.cache.transformForLink(e.query);return this.getObservableFromLink(o,e.context,e.variables,e.fetchPolicy).observable.pipe(Nd(s=>{let c=t.markQueryResult(s,{...e,document:o,cacheWriteBehavior:n}),l=cp(c);if(l&&a===`none`)throw t.resetLastWrite(),r?.resetNotifications(),new _i(Xg(c));let u={data:c.data,...t.hasNext?{loading:!0,networkStatus:M.streaming,dataState:`streaming`,partial:!0}:{dataState:c.data?`complete`:`empty`,loading:!1,networkStatus:M.ready,partial:!c.data}};return i&&`extensions`in c&&(u[Yp]=c.extensions),l&&(a===`none`&&(u.data=void 0,u.dataState=`empty`),a!==`ignore`&&(u.error=new _i(Xg(c)),u.dataState!==`streaming`&&(u.networkStatus=M.error))),u}),Vd(e=>{if(a===`none`)throw t.resetLastWrite(),r?.resetNotifications(),e;let n={data:void 0,dataState:`empty`,loading:!1,networkStatus:M.ready,partial:!0};return a!==`ignore`&&(n.error=e,n.networkStatus=M.error),Td(n)}))}fetchObservableWithInfo(e,{networkStatus:t=M.loading,query:n=e.query,fetchQueryOperator:r=e=>e,onCacheHit:i=()=>{},observableQuery:a,exposeExtensions:o}){let s=this.getVariables(n,e.variables),{fetchPolicy:c=`cache-first`,errorPolicy:l=`none`,returnPartialData:u=!1,notifyOnNetworkStatusChange:d=!0,context:f={}}=e;this.prioritizeCacheValues&&(c===`network-only`||c===`cache-and-network`)&&(c=`cache-first`);let p=Object.assign({},e,{query:n,variables:s,fetchPolicy:c,errorPolicy:l,returnPartialData:u,notifyOnNetworkStatusChange:d,context:f}),m=new Gg(this,a),h=n=>{p.variables=n;let s=c===`no-cache`?0:t===M.refetch&&p.refetchWritePolicy!==`merge`?1:2,l=this.fetchQueryByPolicy(p,{queryInfo:m,cacheWriteBehavior:s,onCacheHit:i,observableQuery:a,exposeExtensions:o});return l.observable=l.observable.pipe(r),p.fetchPolicy!==`standby`&&a?.applyNextFetchPolicy(`after-fetch`,e),l},g=()=>{this.fetchCancelFns.delete(m.id)};this.fetchCancelFns.set(m.id,e=>{_.next({kind:`E`,error:e,source:`network`})});let _=new Iu,v,y;
9if(this.getDocumentInfo(p.query).hasClientExports)v=wd(this.localState.getExportedVariables({client:this.client,document:p.query,variables:p.variables,context:p.context})).pipe(Fd(e=>h(e).observable)),y=!0;else{let e=h(p.variables);y=e.fromLink,v=e.observable}return{observable:new Du(e=>{e.add(g),v.subscribe(e),_.subscribe(e)}).pipe(Kd()),fromLink:y}}refetchQueries({updateCache:e,include:t,optimistic:n=!1,removeOptimistic:r=n?ef(`refetchQueries`):void 0,onQueryUpdated:i}){let a=new Map;t&&this.getObservableQueries(t).forEach(e=>{if(e.options.fetchPolicy===`cache-only`||e.variablesUnknown)return;let t=e.getCurrentResult();a.set(e,{oq:e,lastDiff:{result:t?.data,complete:!t?.partial}})});let o=new Map;if(e){let t=new Set;this.cache.batch({update:e,optimistic:n&&r||!1,removeOptimistic:r,onWatchUpdated(e,n,r){let s=e.watcher;if(s instanceof Rg&&!t.has(s)){if(t.add(s),i){a.delete(s);let e=i(s,n,r);return e===!0&&(e=s.refetch().retain()),e!==!1&&o.set(s,e),e}i!==null&&s.options.fetchPolicy!==`cache-only`&&a.set(s,{oq:s,lastDiff:r,diff:n})}}})}return a.size&&a.forEach(({oq:e,lastDiff:t,diff:n})=>{let r;i&&(n||=e.getCacheDiff(),r=i(e,n,t)),(!i||r===!0)&&(r=e.refetch().retain()),r!==!1&&o.set(e,r)}),r&&this.cache.removeOptimistic(r),o}noCacheWarningsByCause=new WeakSet;maskOperation(e){let{document:t,data:n}=e;return this.dataMasking?Ih(n,t,this.cache):n}maskFragment(e){let{data:t,fragment:n,fragmentName:r}=e;return this.dataMasking?Fh(t,n,this.cache,r):t}fetchQueryByPolicy({query:e,variables:t,fetchPolicy:n,errorPolicy:r,returnPartialData:i,context:a},{cacheWriteBehavior:o,onCacheHit:s,queryInfo:c,observableQuery:l,exposeExtensions:u}){let d=()=>this.cache.diff({query:e,variables:t,returnPartialData:!0,optimistic:!0}),f=(o,c)=>{let l=o.result,u=e=>(!o.complete&&!i&&(e=void 0),{data:e,dataState:o.complete?`complete`:e?`partial`:`empty`,loading:nh(c),networkStatus:c,partial:!o.complete}),d=e=>Td({kind:`N`,value:u(e),resolvedVariables:t,source:`cache`});return(o.complete||i)&&this.getDocumentInfo(e).hasForcedResolvers?(s(),wd(this.localState.execute({client:this.client,document:e,remoteResult:l?{data:l}:void 0,context:a,variables:t,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:n}).then(e=>({kind:`N`,value:u(e.data||void 0),resolvedVariables:t,source:`cache`})))):r===`none`&&c===M.refetch&&o.missing?d(void 0):d(l||void 0)},p=()=>this.getResultsFromLink({query:e,variables:t,context:a,fetchPolicy:n,errorPolicy:r},{cacheWriteBehavior:o,queryInfo:c,observableQuery:l,exposeExtensions:u}).pipe(Jg(),Gd(),Nd(e=>({...e,resolvedVariables:t,source:`network`})));switch(n){default:case`cache-first`:{let e=d();return e.complete?{fromLink:!1,observable:f(e,M.ready)}:i?{fromLink:!0,observable:Rd(f(e,M.loading),p())}:{fromLink:!0,observable:p()}}case`cache-and-network`:{let e=d();return e.complete||i?{fromLink:!0,observable:Rd(f(e,M.loading),p())}:{fromLink:!0,observable:p()}}case`cache-only`:return{fromLink:!1,observable:Rd(f(d(),M.ready))};case`network-only`:return{fromLink:!0,observable:p()};case`no-cache`:return{fromLink:!0,observable:p()};case`standby`:return{fromLink:!1,observable:Ku}}}};function Jg(){let e=!1;return Yd({next(){e=!0},complete(){A(e,100)}})}function Yg(t){return e(t,{FragmentSpread:e=>{if(!e.directives?.some(e=>e.name.value===`unmask`))return{...e,directives:[...e.directives||[],{kind:k.DIRECTIVE,name:{kind:k.NAME,value:`nonreactive`}}]}}})}function Xg(e){if(e.extensions?.[Xp]==null)return e;let{extensions:{[Xp]:t,...n},...r}=e;return Object.keys(n).length>0&&(r.extensions=n),r}var Zg=class{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;refetchEventManager;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){let{cache:t,documentTransform:n,ssrMode:r=!1,ssrForceFetchDelay:i=0,queryDeduplication:a=!0,defaultOptions:o,defaultContext:s,assumeImmutableResults:c=t.assumeImmutableResults,localState:l,devtools:u,dataMasking:d,link:f,incrementalHandler:p=new Bm,experiments:m=[],refetchEventManager:h}=e;this.link=f,this.cache=t,this.queryDeduplication=a,this.defaultOptions=o||{},this.devtoolsConfig={...u,enabled:u?.enabled??!1},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=Qd,this.queryManager=new qg({client:this,defaultOptions:this.defaultOptions,defaultContext:s,documentTransform:n,queryDeduplication:a,ssrMode:r,dataMasking:!!d,clientOptions:e,incrementalHandler:p,assumeImmutableResults:c,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:l}),this.prioritizeCacheValues=r||i>0,i&&setTimeout(()=>{this.prioritizeCacheValues=!1},i),this.devtoolsConfig.enabled&&this.connectToDevTools(),m.forEach(t=>t.call(this,e)),this.refetchEventManager=h,this.refetchEventManager?.connect(this)}connectToDevTools(){if(typeof window>`u`)return;let e=window,t=Symbol.for(`apollo.devtools`);(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop(),this.refetchEventManager?.disconnect(this)}watchQuery(e){let{refetchOn:t}=e;if(this.defaultOptions.watchQuery){let n=this.defaultOptions.watchQuery.refetchOn,r;t&&typeof t==`object`&&(typeof n==`object`?r={...n,...t}:n!=null&&(r=e=>{let r=t[e.source]??n;return typeof r==`function`?r(e):r})),e=vp(this.defaultOptions.watchQuery,e),r&&(e.refetchOn=r)}return this.queryManager.watchQuery(e)}query=e=>(this.defaultOptions.query&&(e=vp(this.defaultOptions.query,e)),this.queryManager.query(e));mutate=e=>{let t=vp(Bf({fetchPolicy:`network-only`,errorPolicy:`none`},this.defaultOptions.mutate),e);return Lf(t.mutation,si.MUTATION),this.queryManager.mutate(t)};subscribe(e){let t={},n=this.queryManager.startGraphQLSubscription(e),r=n.pipe(Nd(n=>({...n,data:this.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,cause:t})})));return Object.assign(r,{restart:n.restart})}readQuery(e,t=!!e.optimistic){return this.cache.readQuery({...e,query:this.transform(e.query)},t)}watchFragment(e){let t=this.queryManager.dataMasking;return this.cache.watchFragment({...e,fragment:this.transform(e.fragment,t)})}
9readFragment(e,t=!!e.optimistic){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},t)}writeQuery(e){let t=this.cache.writeQuery(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),t}writeFragment(e){let t=this.cache.writeFragment(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),t}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return Wm(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(t=>t!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(t=>t!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){let t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((e,t)=>{n.push(t),r.push(e)});let i=Promise.all(r);return i.queries=n,i.results=r,i.catch(e=>{}),i}getObservableQueries(e=`active`){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new Km(Tp);transform(e,t=!1){let n=this.queryManager.transform(e);return t?this.maskedFragmentTransform.transformDocument(n):n}},{hasOwnProperty:Qg}=Object.prototype;function $g(e){return Hf(e)&&`payload`in e}async function*e_(e){let t=new TextDecoder(`utf-8`),n=(e.headers?.get(`content-type`))?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),r=`\r
10--`+(n?n[1]??n[2]??n[3]??`-`:`-`),i=``;A(e.body&&typeof e.body.getReader==`function`,62);let a=e.body.getReader(),o=!1,s=!1,c,l=()=>s&&i[0]==`-`&&i[1]==`-`;try{for(;!o;){({value:c,done:o}=await a.read());let e=typeof c==`string`?c:t.decode(c),n=i.length-r.length+1;i+=e;let u=i.indexOf(r,n);for(;u>-1&&!l();){s=!0;let e;[e,i]=[i.slice(0,u),i.slice(u+r.length)];let t=e.indexOf(`\r
11\r
12`),n=n_(e.slice(0,t))[`content-type`];if(n&&n.toLowerCase().indexOf(`application/json`)===-1)throw Error(`Unsupported patch content type: application/json is required.`);let a=e.slice(t);a&&(yield a),u=i.indexOf(r)}if(l())return}throw Error(`premature end of multipart body`)}finally{a.cancel()}}async function t_(e,t){for await(let n of e_(e)){let r=r_(e,n);if(Object.keys(r).length!=0)if($g(r)){if(Object.keys(r).length===1&&r.payload===null)return;let e={...r.payload};`errors`in r&&(e.extensions={...e.extensions,[jg]:new wg(r.errors??[])}),t(e)}else t(r)}}function n_(e){let t={};return e.split(`
13`).forEach(e=>{let n=e.indexOf(`:`);if(n>-1){let r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}function r_(e,t){if(e.status>=300)throw new kg(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(n){throw new Ag(n,{response:e,bodyText:t})}}function i_(e,t){try{return JSON.parse(t)}catch(n){throw new Ag(n,{response:e,bodyText:t})}}function a_(e,t){return e.headers.get(`content-type`)?.includes(`application/graphql-response+json`)?i_(e,t):r_(e,t)}function o_(e){return t=>t.text().then(n=>{let r=a_(t,n);if(!Array.isArray(r)&&!Qg.call(r,`data`)&&!Qg.call(r,`errors`))throw new kg(`Server response was malformed for query '${Array.isArray(e)?e.map(e=>e.operationName):e.operationName}'.`,{response:t,bodyText:n});return r})}var s_={http:{includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},headers:{accept:`application/graphql-response+json,application/json;q=0.9`,"content-type":`application/json`},options:{method:`POST`}},c_=(e,t)=>t(e);function l_(e,t,...n){let r={},i={};n.forEach(e=>{r={...r,...e.options,headers:{...r.headers,...e.headers}},e.credentials&&(r.credentials=e.credentials),r.headers.accept=(e.http?.accept||[]).concat(r.headers.accept).join(`,`),i={...i,...e.http}}),r.headers=u_(r.headers,i.preserveHeaderCase);let{operationName:a,extensions:o,variables:s,query:c}=e,l={operationName:a,variables:s};return i.includeExtensions&&Object.keys(o||{}).length&&(l.extensions=o),i.includeQuery&&(l.query=t(c,Jm)),{options:r,body:l}}function u_(e,t){if(!t){let t={};
13return Object.keys(Object(e)).forEach(n=>{t[n.toLowerCase()]=e[n]}),t}let n={};Object.keys(Object(e)).forEach(t=>{n[t.toLowerCase()]={originalName:t,value:e[t]}});let r={};return Object.keys(n).forEach(e=>{r[n[e].originalName]=n[e].value}),r}var d_=(e,t)=>e.getContext().uri||(typeof t==`function`?t(e):t||`/graphql`);function f_(e,t){let n=[],r=(e,t)=>{n.push(`${e}=${encodeURIComponent(t)}`)};if(`query`in t&&r(`query`,t.query),t.operationName&&r(`operationName`,t.operationName),t.variables){let e;try{e=JSON.stringify(t.variables)}catch(e){return{parseError:e}}r(`variables`,e)}if(t.extensions){let e;try{e=JSON.stringify(t.extensions)}catch(e){return{parseError:e}}r(`extensions`,e)}let i=``,a=e,o=e.indexOf(`#`);o!==-1&&(i=e.substr(o),a=e.substr(0,o));let s=a.indexOf(`?`)===-1?`?`:`&`;return{newURI:a+s+n.join(`&`)+i}}var p_=Xd(()=>fetch);function m_(){}var h_=class extends Um{constructor(e={}){let{uri:t=`/graphql`,fetch:n,print:r=c_,includeExtensions:i,preserveHeaderCase:a,useGETForQueries:o,includeUnusedVariables:s=!1,...c}=e,l={http:Bf({includeExtensions:i,preserveHeaderCase:a}),options:c.fetchOptions,credentials:c.credentials,headers:c.headers};super(e=>{let i=d_(e,t),a=e.getContext(),c={...a.http};eh(e.query)&&(c.accept=[`multipart/mixed;boundary=graphql;subscriptionSpec=1.0`,...c.accept||[]]);let u={http:c,options:a.fetchOptions,credentials:a.credentials,headers:a.headers},{options:d,body:f}=l_(e,r,s_,l,u);f.variables&&!s&&(f.variables=Hm(f.variables,e.query));let p=new AbortController,m=()=>{p=void 0};if(d.signal){let e=d.signal,t=()=>{p?.abort(e.reason)};e.addEventListener(`abort`,t,{once:!0}),m=()=>{p?.signal.removeEventListener(`abort`,m),p=void 0,e.removeEventListener(`abort`,t),m=m_},p.signal.addEventListener(`abort`,m,{once:!0})}return d.signal=p.signal,o&&!$m(e.query)&&(d.method=`GET`),new Du(t=>{if(d.method===`GET`){let{newURI:e,parseError:t}=f_(i,f);if(t)throw t;i=e}else d.body=JSON.stringify(f);let r=n||Xd(()=>fetch)||p_,a=t.next.bind(t);return r(i,d).then(t=>{e.setContext({response:t});let n=t.headers?.get(`content-type`);return n!==null&&/^multipart\/mixed/i.test(n)?t_(t,a):o_(e)(t).then(a)}).then(()=>{m(),t.complete()}).catch(e=>{m(),t.error(e)}),()=>{p&&p.abort()}})})}},g_=class extends Um{constructor(e={}){super((t,n)=>{let r=t.client,i=r.queryManager.clientOptions,a=t.getContext();{let{name:n,version:r,transport:o=`headers`}=Bf({},i.clientAwareness,e.clientAwareness,a.clientAwareness);o===`headers`&&t.setContext(({headers:e})=>({headers:Bf({"apollographql-client-name":n,"apollographql-client-version":r},e)}))}{let{transport:n=`extensions`}=Bf({},i.enhancedClientAwareness,e.enhancedClientAwareness);n===`extensions`&&(t.extensions=Bf({clientLibrary:{name:`@apollo/client`,version:r.version}},t.extensions)),n===`headers`&&t.setContext(({headers:e})=>({headers:Bf({"apollographql-library-name":`@apollo/client`,"apollographql-library-version":r.version},e)}))}return n(t)})}},__=class extends Um{constructor(e={}){let{left:t,right:n,request:r}=Um.from([new g_(e),new h_(e)]);super(r),Object.assign(this,{left:t,right:n})}};function v_(e,t){let n=yi(e)-+yi(t);return n>0?-1:n<0?1:n}var y_=Ve(async e=>{let t,n,{isAccountsEnabled:r,isSttExchangeEnabled:i}=f().public.featureFlags;if(!r||!i)return;let{stt:a}=e.query;if(!a)return;let o=vn();return[t,n]=s(()=>o.loginWithShortTermToken(a)),await t,n(),Le({...e,query:{...e.query,stt:void 0}})},1);function b_(e,t){let n={...e};return delete n[t],n}var x_=[Ba,Va,y_,Ve(e=>{let{defaultCookieDomain:t}=f().public,n=gn(Ei,{path:`/`,domain:t||void 0,maxAge:wi,sameSite:`lax`}),r=e.query[Si];if(r!=null&&r!==``){n.value=`1`,xi();let t=b_(e.query,Si);return JSON.stringify(t)===JSON.stringify(e.query)?void 0:Le({path:e.path,query:t,hash:e.hash},{replace:!0})}Ci(n.value)||ki()&&(n.value=`1`)}),Ve(e=>{if(e.fullPath!==`/`&&e.fullPath.endsWith(`/`)){let[t,n]=e.fullPath.split(`?`),r=t.replace(/\/+$/,``),i=new URLSearchParams(n||``);Array.from(i.entries()).forEach(([e,t])=>{t.endsWith(`/`)&&i.set(e,t.replace(/\/+$/,``))});let a=i.toString(),o=a?`${r}?${a}`:r;if(o.startsWith(`//`))return;if(o!==e.fullPath)return Le(o,{redirectCode:301})}}),Ve(e=>{let t=vt({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return tt(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],S_={"admin-base":()=>T(()=>import(`./CYn3Sb0T2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]),import.meta.url),"admin-payments":()=>T(()=>import(`./Bl8SsX4Q2.js`),__vite__mapDeps([32,1,2,3,4,5,6,23,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31]),import.meta.url),"admin-pricing":()=>T(()=>import(`./DpR1W37D2.js`),__vite__mapDeps([33,1,2,3,4,5,6,23,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31]),import.meta.url),auth:()=>T(()=>import(`./CQhSJvSr2.js`),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31]),import.meta.url),"hide-review-form-if-no-email-query":()=>T(()=>import(`./3sCpsyst2.js`),__vite__mapDeps([35,3,1,2,4,5,6]),import.meta.url),login:()=>T(()=>import(`./m4CKwVbr2.js`),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,37,38,39]),import.meta.url),"redirect-locale":()=>T(()=>import(`./CUQtooSs2.js`),__vite__mapDeps([40,3,1,2,4,5,6,15,8,9]),import.meta.url),"royal-canin-rec
13ommendations-auth":()=>T(()=>import(`./D68u13a_.js`),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url),"set-homepage-layout":()=>T(()=>import(`./Bfp5Ko8w.js`),__vite__mapDeps([42,3,1,2,4,5,6]),import.meta.url)},C_={layout:`full-width`},w_={layout:`empty`},T_={layout:`empty`},E_={layout:`full-width`},D_={layout:`full-width`},O_={layout:`empty`},k_={layout:`full-width`},A_={layout:`full-width`},j_={layout:`full-width`},M_={middleware:ji},N_={layout:`full-width`},P_={layout:`full-width`},F_={layout:`full-width`},I_={middleware:ji},L_={middleware:Mi},R_={layout:`full-width`},z_={middleware:[e=>Ri({pageTitles:Fi,to:e}),Ai({webviewLayout:`webview-account`,setDefaultLayout:!1,whenWebview:e=>Ii({slug:e.params.slug,pageSlugTranslations:Li,locale:a().$i18n.locale.value})})]},B_={middleware:ji},V_={layout:`empty`,key:e=>`guide-${(Array.isArray(e.params.slug)?e.params.slug:[e.params.slug])[0]??``}`},H_={layout:`empty`},U_={layout:`full-width`},W_={layout:`full-width`},G_={layout:`full-width`},K_={middleware:Mi},q_={middleware:Mi},J_={layout:`full-height`},Y_={layout:`full-width`},X_={middleware:[`auth`,Ni]},Z_={layout:`empty`},Q_={middleware:e=>Ri({pageTitles:Fi,to:e})},$_={layout:`full-width`},ev={middleware:Mi},tv={layout:`full-width`},nv={middleware:Mi},rv={layout:`full-width`},iv={layout:`full-width`},av={layout:`full-width`},ov={layout:`full-width`},sv={layout:`full-width`},cv={layout:`empty`},lv={layout:`full-width`},uv={middleware:Mi},dv={layout:`full-width`},fv={layout:`full-width`},pv={layout:`full-width`},mv={layout:`full-width`},hv={layout:`full-width`},gv={layout:`full-width`},_v={layout:`full-width`},vv={layout:`full-width`},yv={layout:`full-width`},bv={layout:`full-width`},xv={layout:`full-width`},Sv={layout:`full-width`},Cv={middleware:ji},wv={layout:`full-width`},Tv={layout:`full-width`},Ev={layout:`full-width`},Dv={layout:`full-width`},Ov=[{name:`index`,path:`/`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`shop-admin-price-management-campaigns___sv`,path:`/sv/butik/admin/prishantering/kampanjer`,meta:{...w_||{},middleware:[`auth`,`admin-base`,`admin-pricing`]},component:()=>T(()=>import(`./IjBFr6oD.js`),__vite__mapDeps([70,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,44,48,49,71,46,47,72]),import.meta.url)},{name:`shop-admin-price-management-campaigns___en`,path:`/en/shop/admin/price-management/campaigns`,meta:{...w_||{},middleware:[`auth`,`admin-base`,`admin-pricing`]},component:()=>T(()=>import(`./IjBFr6oD.js`),__vite__mapDeps([70,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,44,48,49,71,46,47,72]),import.meta.url)},{name:`shop-admin-price-management-settings___sv`,path:`/sv/butik/admin/prishantering/installningar`,meta:{...T_||{},middleware:[`auth`,`admin-base`,`admin-pricing`]},component:()=>T(()=>import(`./DODB2ik0.js`),__vite__mapDeps([73,2,11,7,1,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,49,71,46,44,27,47,74,75,22,23,24,25,26,28,29,30,31]),import.meta.url)},{name:`shop-admin-price-management-settings___en`,path:`/en/shop/admin/price-management/settings`,meta:{...T_||{},middleware:[`auth`,`admin-base`,`admin-pricing`]},component:()=>T(()=>import(`./DODB2ik0.js`),__vite__mapDeps([73,2,11,7,1,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,49,71,46,44,27,47,74,75,22,23,24,25,26,28,29,30,31]),import.meta.url)},{name:`shop-admin-royal-canin-recommendations-consent___sv`,path:`/sv/butik/admin/royal-canin-recommendations/consent`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./Txop1dmS.js`),__vite__mapDeps([76,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,49,77,48,78,79,80,71,46,44,47,81]),import.meta.url)},{name:`shop-admin-royal-canin-recommendations-consent___en`,path:`/en/shop/admin/royal-canin-rec
13ommendations/consent`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./Txop1dmS.js`),__vite__mapDeps([76,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,49,77,48,78,79,80,71,46,44,47,81]),import.meta.url)},{name:`shop-royal-canin-recommendations-sms-code___sv`,path:`/sv/butik/royal-canin-rekommendationer/sms/:code()`,meta:{...E_||{},middleware:[`royal-canin-recommendations-auth`]},component:()=>T(()=>import(`./Dcl7N-Fi2.js`),__vite__mapDeps([82,1,2,11,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,44,31,83,48,49,78,79,84,85,77,80,86,87,88,89,90,91,68,92]),import.meta.url)},{name:`press-pr-pr___dk`,path:`/dk/press/pr`,meta:D_||{},component:()=>T(()=>import(`./Fl7cNa5v.js`),__vite__mapDeps([93,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94]),import.meta.url)},{name:`press-pr-pr___de`,path:`/de/press/pr`,meta:D_||{},component:()=>T(()=>import(`./Fl7cNa5v.js`),__vite__mapDeps([93,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94]),import.meta.url)},{name:`press-pr-pr___uk`,path:`/uk/press/pr`,meta:D_||{},component:()=>T(()=>import(`./Fl7cNa5v.js`),__vite__mapDeps([93,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94]),import.meta.url)},{name:`press-pr-pr___us`,path:`/us/press/pr`,meta:D_||{},component:()=>T(()=>import(`./Fl7cNa5v.js`),__vite__mapDeps([93,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94]),import.meta.url)},{name:`press-pr-pr___fi`,path:`/fi/press/pr`,meta:D_||{},component:()=>T(()=>import(`./Fl7cNa5v.js`),__vite__mapDeps([93,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94]),import.meta.url)},{name:`press-pr-pr___no`,path:`/no/press/pr`,meta:D_||{},component:()=>T(()=>import(`./Fl7cNa5v.js`),__vite__mapDeps([93,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94]),import.meta.url)},{name:`press-pr-pr___sv`,path:`/sv/press/pr`,meta:D_||{},component:()=>T(()=>import(`./Fl7cNa5v.js`),__vite__mapDeps([93,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94]),import.meta.url)},{name:`shop-admin-cdmv___sv`,path:`/sv/butik/admin/cdmv`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./CYX-TydB.js`),__vite__mapDeps([95,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,27,49,77,48,78,79,80,71,46,44,47,81,96,23,22,24,25,26,28,29,30,31,97]),import.meta.url)},{name:`shop-admin-cdmv___en`,path:`/en/shop/admin/cdmv`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./CYX-TydB.js`),__vite__mapDeps([95,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,27,49,77,48,78,79,80,71,46,44,47,81,96,23,22,24,25,26,28,29,30,31,97]),import.meta.url)},{name:`shop-admin-email___sv`,path:`/sv/butik/admin/email`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./DxmOghBr.js`),__vite__mapDeps([98,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,27,99,49,77,48,78,79,80,71,46,44,47,81,97,22,23,24,25,26,28,29,30,31]),import.meta.url)},{name:`shop-admin-email___en`,path:`/en/shop/admin/email`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./DxmOghBr.js`),__vite__mapDeps([98,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,27,99,49,77,48,78,79,80,71,46,44,47,81,97,22,23,24,25,26,28,29,30,31]),import.meta.url)},{name:`shop-admin-food-guide___sv`,path:`/sv/butik/admin/food-guide`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./B4v-KgNa.js`),__vite__mapDeps([100,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,44,49,71,46,47,81,48,101]),import.meta.url)},{name:`shop-admin-food-guide___en`,path:`/en/shop/admin/food-guide`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./B4v-KgNa.js`),__vite__mapDeps([100,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,44,49,71,46,47,81,48,101]),import.meta.url)},{name:`shop-admin-global-payments___sv`,path:`/sv/butik/admin/global-payments`,meta:{middleware:[`auth`,`admin-base`,`admin-payments`]},component:()=>T(()=>import(`./Zzldib9S.js`),__vite__mapDeps([102,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,49,78,48,79,77,80,71,46,44,27,47,103,83,88,104,81,97,22,23,24,25,26,28,29,30,31]),import.meta.url)}
13,{name:`shop-admin-global-payments___en`,path:`/en/shop/admin/global-payments`,meta:{middleware:[`auth`,`admin-base`,`admin-payments`]},component:()=>T(()=>import(`./Zzldib9S.js`),__vite__mapDeps([102,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,49,78,48,79,77,80,71,46,44,27,47,103,83,88,104,81,97,22,23,24,25,26,28,29,30,31]),import.meta.url)},{name:`shop-admin-price-management___sv`,path:`/sv/butik/admin/prishantering`,meta:{...O_||{},middleware:[`auth`,`admin-base`,`admin-pricing`]},component:()=>T(()=>import(`./BzB7YWT0.js`),__vite__mapDeps([105,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,22,25,26,24,23,27,28,29,106,107,108,109,99,48,49,78,79,110,77,80,65,71,46,44,47,74,75,111,112]),import.meta.url)},{name:`shop-admin-price-management___en`,path:`/en/shop/admin/price-management`,meta:{...O_||{},middleware:[`auth`,`admin-base`,`admin-pricing`]},component:()=>T(()=>import(`./BzB7YWT0.js`),__vite__mapDeps([105,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,22,25,26,24,23,27,28,29,106,107,108,109,99,48,49,78,79,110,77,80,65,71,46,44,47,74,75,111,112]),import.meta.url)},{name:`shop-admin-royal-canin-recommendations___sv`,path:`/sv/butik/admin/royal-canin-recommendations`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./D6YWlBwZ.js`),__vite__mapDeps([113,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,107,49,77,48,78,79,80,71,46,44,47,81]),import.meta.url)},{name:`shop-admin-royal-canin-recommendations___en`,path:`/en/shop/admin/royal-canin-recommendations`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./D6YWlBwZ.js`),__vite__mapDeps([113,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,107,49,77,48,78,79,80,71,46,44,47,81]),import.meta.url)},{name:`shop-campaigns-royal-canin-klinik-erbjudande___sv`,path:`/sv/butik/kampanjer/royal-canin-klinik-erbjudande`,meta:k_||{},component:()=>T(()=>import(`./CGxwBeTH2.js`),__vite__mapDeps([114,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,25,26,24,44,27,115,116,117,47,46,48,49,50,110,118,22,119,120,23,28,29,121,106,108,84,85,122,123,71,124,78,79,125,52,53,126,127,128,129,130,131,132,133,134,38,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,152]),import.meta.url)},{name:`shop-product-review___sv`,path:`/sv/butik/produkt/:slug()/recension`,meta:{...A_||{},middleware:`hide-review-form-if-no-email-query`},component:()=>T(()=>import(`./Ckzv6iLN2.js`),__vite__mapDeps([153,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,44,27,48,117,47,46,49,78,79,84,85,77,80,71,154,155,156]),import.meta.url)},{name:`shop-product-review___en`,path:`/en/shop/product/:slug()/review`,meta:{...A_||{},middleware:`hide-review-form-if-no-email-query`},component:()=>T(()=>import(`./Ckzv6iLN2.js`),__vite__mapDeps([153,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,44,27,48,117,47,46,49,78,79,84,85,77,80,71,154,155,156]),import.meta.url)},{name:`shop-royal-canin-recommendations-login___sv`,path:`/sv/butik/royal-canin-rekommendationer/logga-in`,meta:j_||{},component:()=>T(()=>import(`./QySyD4_t2.js`),__vite__mapDeps([157,1,2,11,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,44,49]),import.meta.url)},{name:`shop-brands-slug-subSlug___sv`,path:`/sv/butik/varumarken/:slug()/:subSlug()`,meta:M_||{},component:()=>T(()=>import(`./CXARP4D_.js`),__vite__mapDeps([158,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,27,159,38,115,116,117,47,46,48,49,110,160,78,79,161,118,22,119,120,23,28,29,30,31,121,106,108,84,85,122,123,71,124,125,52,53,126,127,128,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,152,162,163,164]),import.meta.url)},{name:`shop-brands-slug-subSlug___en`,path:`/en/shop/brands/:slug()/:subSlug()`,meta:M_||{},component:()=>T(()=>import(`./CXARP4D_.js`),__vite__mapDeps([158,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,27,159,38,115,116,117,47,46,48,49,110,160,78,79,161,118,22,119,120,23,28,29,30,31,121,106,108,84,85,122,123,71,124,125,52,53,126,127,128,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,152,162,163,164]),import.meta.url)},{name:`articles-animal-slug___dk`,path:`/dk/artikler/dyr/:slug()`,meta:N_||{},component:()=>T(()=>import(`./Dc8o4Tjy.js`),__vite__mapDeps([165,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles-animal-slug___de`,path:`/de/artikel/tier/:slug()`,meta:N_||{},component:()=>T(()=>import(`./Dc8o4Tjy.js`),__vite__mapDeps([165,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles-animal-slug___uk`,path:`/uk/articles/animal/:slug()`,meta:N_||{},component:()=>T(()=>import(`./Dc8o4Tjy.js`),__vite__mapDeps([165,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles-animal-slug___us`,path:`/us/articles/animal/:slug()`,meta:N_||{},component:()=>T(()=>import(`./Dc8o4Tjy.js`),__vite__mapDeps([165,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles-animal-slug___fi`,path:`/fi/artikkeleita/elain/:slug()`,meta:N_||{},component:()=>T(()=>import(`./Dc8o4Tjy.js`),__vite__mapDeps([165,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles-animal-slug___no`,path:`/no/artikler/dyr/:slug()`,meta:N_||{},component:()=>T(()=>import(`./Dc8o4Tjy.js`),__vite__mapDeps([165,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles-animal-slug___sv`,path:`/sv/artiklar/djur/:slug()`,meta:N_||{},component:()=>T(()=>import(`./Dc8o4Tjy.js`),__vite__mapDeps([165,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles-author-slug___dk`,path:`/dk/artikler/forfatter/:slug()`,meta:P_||{},component:()=>T(()=>import(`./BCRx-rOC.js`),__vite__mapDeps([168,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,94,169]),import.meta.url)},{name:`articles-author-slug___de`,path:`/de/artikel/autoren/:slug()`,meta:P_||{},component:()=>T(()=>import(`./BCRx-rOC.js`),__vite__mapDeps([168,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,94,169]),import.meta.url)},{name:`articles-author-slug___uk`,path:`/uk/articles/author/:slug()`,meta:P_||{},component:()=>T(()=>import(`./BCRx-rOC.js`),__vite__mapDeps([168,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,94,169]),import.meta.url)},{name:`articles-author-slug___us`,path:`/us/articles/author/:slug()`,meta:P_||{},component:()=>T(()=>import(`./BCRx-rOC.js`),__vite__mapDeps([168,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,94,169]),import.meta.url)},{name:`articles-author-slug___fi`,path:`/fi/artikkeleita/kirjoittaja/:slug()`,meta:P_||{},component:()=>T(()=>import(`./BCRx-rOC.js`),__vite__mapDeps([168,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,94,169]),import.meta.url)},{name:`articles-author-slug___no`,path:`/no/artikler/forfatter/:slug()`,meta:P_||{},component:()=>T(()=>import(`./BCRx-rOC.js`),__vite__mapDeps([168,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,94,169]),import.meta.url)},{name:`articles-author-slug___sv`,path:`/sv/artiklar/skribent/:slug()`,meta:P_||{},component:()=>T(()=>import(`./BCRx-rOC.js`),__vite__mapDeps([168,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,94,169]),import.meta.url)},{name:`press-pr-slug___dk`,path:`/dk/press/pr/:slug()`,meta:F_||{},component:()=>T(()=>import(`./BLcLsvaW.js`),__vite__mapDeps([170,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,50,94]),import.meta.url)},{name:`press-pr-slug___de`,path:`/de/press/pr/:slug()`,meta:F_||{},component:()=>T(()=>import(`./BLcLsvaW.js`),__vite__mapDeps([170,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,50,94]),import.meta.url)},{name:`press-pr-slug___uk`,path:`/uk/press/pr/:slug()`,meta:F_||{},component:()=>T(()=>import(`./BLcLsvaW.js`),__vite__mapDeps([170,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,50,94]),import.meta.url)},{name:`press-pr-slug___us`,path:`/us/press/pr/:slug()`,meta:F_||{},component:()=>T(()=>import(`./BLcLsvaW.js`),__vite__mapDeps([170,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,50,94]),import.meta.url)},{name:`press-pr-slug___fi`,path:`/fi/press/pr/:slug()`,meta:F_||{},component:()=>T(()=>import(`./BLcLsvaW.js`),__vite__mapDeps([170,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,50,94]),import.meta.url)},{name:`press-pr-slug___no`,path:`/no/press/pr/:slug()`,meta:F_||{},component:()=>T(()=>import(`./BLcLsvaW.js`),__vite__mapDeps([170,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,50,94]),import.meta.url)}
13,{name:`press-pr-slug___sv`,path:`/sv/press/pr/:slug()`,meta:F_||{},component:()=>T(()=>import(`./BLcLsvaW.js`),__vite__mapDeps([170,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,50,94]),import.meta.url)},{name:`shop-brands-slug___sv`,path:`/sv/butik/varumarken/:slug()`,meta:I_||{},component:()=>T(()=>import(`./CIDk5KLF.js`),__vite__mapDeps([171,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,25,26,24,44,27,159,38,115,116,48,117,47,46,49,110,160,78,79,161,118,22,119,120,23,28,29,121,106,108,84,85,122,123,71,124,125,52,53,126,127,128,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,152,172,173,174,162,163,164,175]),import.meta.url)},{name:`shop-brands-slug___en`,path:`/en/shop/brands/:slug()`,meta:I_||{},component:()=>T(()=>import(`./CIDk5KLF.js`),__vite__mapDeps([171,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,25,26,24,44,27,159,38,115,116,48,117,47,46,49,110,160,78,79,161,118,22,119,120,23,28,29,121,106,108,84,85,122,123,71,124,125,52,53,126,127,128,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,152,172,173,174,162,163,164,175]),import.meta.url)},{name:`shop-campaigns-slug___sv`,path:`/sv/butik/kampanjer/:slug()`,meta:L_||{},component:()=>T(()=>import(`./BsXvT3aQ.js`),__vite__mapDeps([176,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,159,38,115,133,134,23,22,27,28,29,30,31,117,47,46,48,49,84,110,177,85,160,78,79,161,132,120,87,60,61,135,50,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145,146,71,129,131,147]),import.meta.url)},{name:`shop-campaigns-slug___en`,path:`/en/shop/special-offers/:slug()`,meta:L_||{},component:()=>T(()=>import(`./BsXvT3aQ.js`),__vite__mapDeps([176,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,159,38,115,133,134,23,22,27,28,29,30,31,117,47,46,48,49,84,110,177,85,160,78,79,161,132,120,87,60,61,135,50,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145,146,71,129,131,147]),import.meta.url)},{name:`shop-deal-code___sv`,path:`/sv/butik/rekommendation/:code()`,meta:R_||{},component:()=>T(()=>import(`./CcgFQkMd2.js`),__vite__mapDeps([178,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,49,84,85,119,22,120,23,24,25,27,28,29,121,106,108,122,123,110,77,48,78,79,80,145,179,133,134,38,60,61,137,87,138,140,141,139,180,181,182,154,183,184,109,99]),import.meta.url)},{name:`shop-info-slug___sv`,path:`/sv/butik/info/:slug()`,meta:z_||{},component:()=>T(()=>import(`./iaY7CKQ02.js`),__vite__mapDeps([185,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,38,159,115,186,49,187,188,71,46,27,47,189]),import.meta.url)},{name:`shop-info-slug___en`,path:`/en/shop/info/:slug()`,meta:z_||{},component:()=>T(()=>import(`./iaY7CKQ02.js`),__vite__mapDeps([185,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,38,159,115,186,49,187,188,71,46,27,47,189]),import.meta.url)},{name:`shop-product-slug___sv`,path:`/sv/butik/produkt/:slug()`,meta:B_||{},component:()=>T(()=>import(`./HnUbIY192.js`),__vite__mapDeps([190,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,22,120,26,25,24,44,27,38,159,115,133,134,23,28,29,87,116,48,117,47,46,49,78,79,50,191,192,55,193,194,60,61,195,54,196,84,85,135,110,197,163,164,160,161,132,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145,71,127,128,147,149,150,152,180,181,182,154,198,199,125,52,53,126,200,201,202,155,173,131,203,204,205,206,207]),import.meta.url)},{name:`shop-product-slug___en`,path:`/en/shop/product/:slug()`,meta:B_||{},component:()=>T(()=>import(`./HnUbIY192.js`),__vite__mapDeps([190,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,22,120,26,25,24,44,27,38,159,115,133,134,23,28,29,87,116,48,117,47,46,49,78,79,50,191,192,55,193,194,60,61,195,54,196,84,85,135,110,197,163,164,160,161,132,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145,71,127,128,147,149,150,152,180,181,182,154,198,199,125,52,53,126,200,201,202,155,173,131,203,204,205,206,207]),import.meta.url)}
13,{name:`shop-guides-slug___sv`,path:`/sv/butik/guide/:slug(.*)*`,meta:V_||{},component:()=>T(()=>import(`./DCCb7IiE2.js`),__vite__mapDeps([208,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,25,26,24,44,38,115,116,48,49,78,79,50,55,161,131,160,77,80,86,87,88,89,169,150,90,209,22,120,23,27,28,29,30,31,83,130,117,47,46,210,60,61,136,119,121,106,108,84,85,122,123,110,137,138,118,142,67,68,181,182,103,104,201,211,132,133,134,135,58,139,140,141,143,144,179,180,154,183,212,202,213,214,215,216,39,37,217,218,219,101,204,220]),import.meta.url)},{name:`app-cookies___dk`,path:`/dk/app/cookies`,meta:H_||{},component:()=>T(()=>import(`./CION2u-C2.js`),__vite__mapDeps([221,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,222]),import.meta.url)},{name:`app-cookies___de`,path:`/de/app/cookies`,meta:H_||{},component:()=>T(()=>import(`./CION2u-C2.js`),__vite__mapDeps([221,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,222]),import.meta.url)},{name:`app-cookies___uk`,path:`/uk/app/cookies`,meta:H_||{},component:()=>T(()=>import(`./CION2u-C2.js`),__vite__mapDeps([221,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,222]),import.meta.url)},{name:`app-cookies___us`,path:`/us/app/cookies`,meta:H_||{},component:()=>T(()=>import(`./CION2u-C2.js`),__vite__mapDeps([221,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,222]),import.meta.url)},{name:`app-cookies___fi`,path:`/fi/app/cookies`,meta:H_||{},component:()=>T(()=>import(`./CION2u-C2.js`),__vite__mapDeps([221,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,222]),import.meta.url)},{name:`app-cookies___no`,path:`/no/app/cookies`,meta:H_||{},component:()=>T(()=>import(`./CION2u-C2.js`),__vite__mapDeps([221,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,222]),import.meta.url)},{name:`app-cookies___sv`,path:`/sv/apps/cookies`,meta:H_||{},component:()=>T(()=>import(`./CION2u-C2.js`),__vite__mapDeps([221,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,222]),import.meta.url)},{name:`app-ppcontacts___dk`,path:`/dk/ppcontacts`,meta:U_||{},component:()=>T(()=>import(`./D2L8L4UZ2.js`),__vite__mapDeps([223,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`app-ppcontacts___de`,path:`/de/ppcontacts`,meta:U_||{},component:()=>T(()=>import(`./D2L8L4UZ2.js`),__vite__mapDeps([223,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`app-ppcontacts___uk`,path:`/uk/ppcontacts`,meta:U_||{},component:()=>T(()=>import(`./D2L8L4UZ2.js`),__vite__mapDeps([223,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`app-ppcontacts___us`,path:`/us/ppcontacts`,meta:U_||{},component:()=>T(()=>import(`./D2L8L4UZ2.js`),__vite__mapDeps([223,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`app-ppcontacts___fi`,path:`/fi/ppcontacts`,meta:U_||{},component:()=>T(()=>import(`./D2L8L4UZ2.js`),__vite__mapDeps([223,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`app-ppcontacts___no`,path:`/no/ppcontacts`,meta:U_||{},component:()=>T(()=>import(`./D2L8L4UZ2.js`),__vite__mapDeps([223,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`app-ppcontacts___sv`,path:`/sv/ppcontacts`,meta:U_||{},component:()=>T(()=>import(`./D2L8L4UZ2.js`),__vite__mapDeps([223,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`articles-author___dk`,path:`/dk/artikler/forfatter`,meta:W_||{},component:()=>T(()=>import(`./INttFD9Y.js`),__vite__mapDeps([225,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,169]),import.meta.url)},{name:`articles-author___de`,path:`/de/artikel/autoren`,meta:W_||{},component:()=>T(()=>import(`./INttFD9Y.js`),__vite__mapDeps([225,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,169]),import.meta.url)},{name:`articles-author___uk`,path:`/uk/articles/author`,meta:W_||{},component:()=>T(()=>import(`./INttFD9Y.js`),__vite__mapDeps([225,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,169]),import.meta.url)},{name:`articles-author___us`,path:`/us/articles/author`,meta:W_||{},component:()=>T(()=>import(`./INttFD9Y.js`),__vite__mapDeps([225,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,169]),import.meta.url)},{name:`articles-author___fi`,path:`/fi/artikkeleita/kirjoittaja`,meta:W_||{},component:()=>T(()=>import(`./INttFD9Y.js`),__vite__mapDeps([225,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,169]),import.meta.url)},{name:`articles-author___no`,path:`/no/artikler/forfatter`,meta:W_||{},component:()=>T(()=>import(`./INttFD9Y.js`),__vite__mapDeps([225,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,169]),import.meta.url)},{name:`articles-author___sv`,path:`/sv/artiklar/skribent`,meta:W_||{},component:()=>T(()=>import(`./INttFD9Y.js`),__vite__mapDeps([225,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,169]),import.meta.url)},{name:`shop-admin___sv`,path:`/sv/butik/admin`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./X_UP-LXd.js`),__vite__mapDeps([226,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,107,48,49,77,78,79,80,71,46,44,47,81,96,97]),import.meta.url)}
13,{name:`shop-admin___en`,path:`/en/shop/admin`,meta:{middleware:[`auth`,`admin-base`]},component:()=>T(()=>import(`./X_UP-LXd.js`),__vite__mapDeps([226,1,2,11,7,4,3,5,6,8,9,10,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,107,48,49,77,78,79,80,71,46,44,47,81,96,97]),import.meta.url)},{name:`shop-advent-calendar___sv`,path:`/sv/butik/djurkalender`,meta:G_||{},component:()=>T(()=>import(`./BAHQXGLT.js`),__vite__mapDeps([227,1,2,9,5,7,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,115,117,47,46,48,49,228,135,50,110,177,30,31,22,85,160,78,79,161,71,27]),import.meta.url)},{name:`shop-brands___sv`,path:`/sv/butik/varumarken`,meta:K_||{},component:()=>T(()=>import(`./BWdfv5be.js`),__vite__mapDeps([229,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,25,26,24,44,38,159,115,87,49,110,160,78,48,79,161,71,46,27,47,151,30,31,22]),import.meta.url)},{name:`shop-brands___en`,path:`/en/shop/brands`,meta:K_||{},component:()=>T(()=>import(`./BWdfv5be.js`),__vite__mapDeps([229,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,25,26,24,44,38,159,115,87,49,110,160,78,48,79,161,71,46,27,47,151,30,31,22]),import.meta.url)},{name:`shop-campaigns___sv`,path:`/sv/butik/kampanjer`,meta:q_||{},component:()=>T(()=>import(`./DyqKVV9G.js`),__vite__mapDeps([230,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,159,38,115,117,47,46,48,49,177,30,31,22,85,160,78,79,161,118,110,119,120,23,27,28,29,121,106,108,84,122,123,71,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,231,228,173,232]),import.meta.url)},{name:`shop-campaigns___en`,path:`/en/shop/special-offers`,meta:q_||{},component:()=>T(()=>import(`./DyqKVV9G.js`),__vite__mapDeps([230,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,159,38,115,117,47,46,48,49,177,30,31,22,85,160,78,79,161,118,110,119,120,23,27,28,29,121,106,108,84,122,123,71,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,231,228,173,232]),import.meta.url)},{name:`shop-checkout___sv`,path:`/sv/butik/kassa`,meta:J_||{},component:()=>T(()=>import(`./7Mr8TFz8.js`),__vite__mapDeps([233,1,2,11,3,4,5,6,8,9,7,10,12,13,14,15,16,17,18,19,20,21,22,234,235,120,26,25,24,23,27,28,29,30,31,44,115,133,134,38,236,99,83,87,130,48,49,78,79,210,50,60,61,135,110,119,121,106,108,84,85,122,123,77,80,118,142,143,86,88,89,71,46,47,149,150,90,179,137,138,140,141,139,180,181,182,154,183,103,104,201,212,202,213,214,237,238]),import.meta.url),children:[{name:`shop-checkout-pickup___sv`,path:`pickup`,component:()=>T(()=>import(`./CZZvetsS2.js`),__vite__mapDeps([239,2,11,3,1,4,5,6,44,16,77,21,13,10,19,48,78,79,80,86,87,88,89,149,150,9]),import.meta.url)}]},{name:`shop-checkout___en`,path:`/en/shop/checkout`,meta:J_||{},component:()=>T(()=>import(`./7Mr8TFz8.js`),__vite__mapDeps([233,1,2,11,3,4,5,6,8,9,7,10,12,13,14,15,16,17,18,19,20,21,22,234,235,120,26,25,24,23,27,28,29,30,31,44,115,133,134,38,236,99,83,87,130,48,49,78,79,210,50,60,61,135,110,119,121,106,108,84,85,122,123,77,80,118,142,143,86,88,89,71,46,47,149,150,90,179,137,138,140,141,139,180,181,182,154,183,103,104,201,212,202,213,214,237,238]),import.meta.url),children:[{name:`shop-checkout-pickup___en`,path:`pickup`,component:()=>T(()=>import(`./CZZvetsS2.js`),__vite__mapDeps([239,2,11,3,1,4,5,6,44,16,77,21,13,10,19,48,78,79,80,86,87,88,89,149,150,9]),import.meta.url)}]},{name:`shop-checkout-login___sv`,path:`/sv/butik/kassa/login`,meta:Y_||{},component:()=>T(()=>import(`./DNm0EmkF.js`),__vite__mapDeps([240,2,9,5,7,1,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,49,77,48,78,79,80]),import.meta.url)},{name:`shop-checkout-login___en`,path:`/en/shop/checkout/login`,meta:Y_||{},component:()=>T(()=>import(`./DNm0EmkF.js`),__vite__mapDeps([240,2,9,5,7,1,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,23,22,24,25,26,27,28,29,30,31,49,77,48,78,79,80]),import.meta.url)},{name:`shop-dashboard___sv`,path:`/sv/butik/mina-sidor`,meta:X_||{},component:()=>T(()=>import(`./CuIqMEFl.js`),__vite__mapDeps([241,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,234,235,120,22,25,26,24,23,27,28,29,44,38,159,115,49,60,48,61,84,85,160,78,79,161,71,46,47,216,39,242,195,54,55,196,145,198]),import.meta.url),children:[{name:`shop-dashboard-account-settings-personal-information___sv`,path:`kontoinstallningar/personuppgifter`,component:()=>T(()=>import(`./DpY3HhTS.js`),__vite__mapDeps([243,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,38,78,48,79,60,61,143,77,80,86,87,88,89,71,46,44,47]),import.meta.url)},{name:`shop-dashboard-account-settings-personal-information___en`,path:`/en
13/shop/my-pages/account-settings/personal-information`,component:()=>T(()=>import(`./DpY3HhTS.js`),__vite__mapDeps([243,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,38,78,48,79,60,61,143,77,80,86,87,88,89,71,46,44,47]),import.meta.url)},{name:`shop-dashboard-order-history-id___sv`,path:`orderhistorik/:id()`,component:()=>T(()=>import(`./CmSax34d2.js`),__vite__mapDeps([244,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,120,22,44,107,29,25,26,24,48,60,61,77,78,79,80,71,46,27,47,245,23,28,115,87,85,110,155,246,247,50,141,180,248,249,183,250]),import.meta.url)},{name:`shop-dashboard-order-history-id___en`,path:`/en/shop/my-pages/order-history/:id()`,component:()=>T(()=>import(`./CmSax34d2.js`),__vite__mapDeps([244,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,120,22,44,107,29,25,26,24,48,60,61,77,78,79,80,71,46,27,47,245,23,28,115,87,85,110,155,246,247,50,141,180,248,249,183,250]),import.meta.url)},{name:`shop-dashboard-subscriptions-id___sv`,path:`prenumerationer/:id()`,component:()=>T(()=>import(`./Cd705CIs2.js`),__vite__mapDeps([251,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,25,26,24,44,29,22,106,107,48,78,79,60,61,197,77,80,122,120,23,27,28,123,110,86,87,88,89,143,71,46,47,181,182,247,50,141,180,248,249,183,250]),import.meta.url)},{name:`shop-dashboard-account-settings___sv`,path:`kontoinstallningar`,component:()=>T(()=>import(`./CSr-uRTE.js`),__vite__mapDeps([252,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,44,38,186,115,78,48,79,60,61,71,46,47]),import.meta.url)},{name:`shop-dashboard-account-settings___en`,path:`/en/shop/my-pages/account-settings`,component:()=>T(()=>import(`./CSr-uRTE.js`),__vite__mapDeps([252,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,44,38,186,115,78,48,79,60,61,71,46,47]),import.meta.url)},{name:`shop-dashboard-order-history___sv`,path:`orderhistorik`,component:()=>T(()=>import(`./C8kr3Ogr2.js`),__vite__mapDeps([253,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,25,26,24,44,29,30,31,107,48,50,60,61,77,78,79,80,71,46,27,47,149,150,181,182,246,248,250,254]),import.meta.url)},{name:`shop-dashboard-order-history___en`,path:`/en/shop/my-pages/order-history`,component:()=>T(()=>import(`./C8kr3Ogr2.js`),__vite__mapDeps([253,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,25,26,24,44,29,30,31,107,48,50,60,61,77,78,79,80,71,46,27,47,149,150,181,182,246,248,250,254]),import.meta.url)},{name:`shop-dashboard-returns___sv`,path:`returer`,component:()=>T(()=>import(`./B0u0BCcn2.js`),__vite__mapDeps([255,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,27,186,25,26,24,115,256,22,23,28,29,30,31,133,134,38,83,78,48,79,60,61,77,80,139,71,46,47,149,150,90,180,181,182,103,88,104,201,257,258]),import.meta.url)},{name:`shop-dashboard-returns___en`,path:`/en/shop/my-pages/returns`,component:()=>T(()=>import(`./B0u0BCcn2.js`),__vite__mapDeps([255,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,27,186,25,26,24,115,256,22,23,28,29,30,31,133,134,38,83,78,48,79,60,61,77,80,139,71,46,47,149,150,90,180,181,182,103,88,104,201,257,258]),import.meta.url)},{name:`shop-dashboard-special-offers___sv`,path:`erbjudanden`,component:()=>T(()=>import(`./BOEHAm2x2.js`),__vite__mapDeps([259,2,9,5,7,1,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,48]),import.meta.url)},{name:`shop-dashboard-subscriptions___sv`,path:`prenumerationer`,component:()=>T(()=>
13import(`./Ie250TCF2.js`),__vite__mapDeps([260,30,1,2,18,4,3,5,6,19,20,10,11,31,9,7,8,12,13,14,15,16,17,21,25,26,24,44,107,29,22,38,115,48,197,140,133,134,23,27,28,78,79,141,139,71,46,47,250]),import.meta.url)}]},{name:`shop-dashboard___en`,path:`/en/shop/my-pages`,meta:X_||{},component:()=>T(()=>import(`./CuIqMEFl.js`),__vite__mapDeps([241,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,234,235,120,22,25,26,24,23,27,28,29,44,38,159,115,49,60,48,61,84,85,160,78,79,161,71,46,47,216,39,242,195,54,55,196,145,198]),import.meta.url),children:[{name:`shop-dashboard-account-settings-personal-information___sv`,path:`/sv/butik/mina-sidor/kontoinstallningar/personuppgifter`,component:()=>T(()=>import(`./DpY3HhTS.js`),__vite__mapDeps([243,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,38,78,48,79,60,61,143,77,80,86,87,88,89,71,46,44,47]),import.meta.url)},{name:`shop-dashboard-account-settings-personal-information___en`,path:`account-settings/personal-information`,component:()=>T(()=>import(`./DpY3HhTS.js`),__vite__mapDeps([243,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,38,78,48,79,60,61,143,77,80,86,87,88,89,71,46,44,47]),import.meta.url)},{name:`shop-dashboard-order-history-id___sv`,path:`/sv/butik/mina-sidor/orderhistorik/:id()`,component:()=>T(()=>import(`./CmSax34d2.js`),__vite__mapDeps([244,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,120,22,44,107,29,25,26,24,48,60,61,77,78,79,80,71,46,27,47,245,23,28,115,87,85,110,155,246,247,50,141,180,248,249,183,250]),import.meta.url)},{name:`shop-dashboard-order-history-id___en`,path:`order-history/:id()`,component:()=>T(()=>import(`./CmSax34d2.js`),__vite__mapDeps([244,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,120,22,44,107,29,25,26,24,48,60,61,77,78,79,80,71,46,27,47,245,23,28,115,87,85,110,155,246,247,50,141,180,248,249,183,250]),import.meta.url)},{name:`shop-dashboard-subscriptions-id___sv`,path:`/sv/butik/mina-sidor/prenumerationer/:id()`,component:()=>T(()=>import(`./Cd705CIs2.js`),__vite__mapDeps([251,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,25,26,24,44,29,22,106,107,48,78,79,60,61,197,77,80,122,120,23,27,28,123,110,86,87,88,89,143,71,46,47,181,182,247,50,141,180,248,249,183,250]),import.meta.url)},{name:`shop-dashboard-account-settings___sv`,path:`/sv/butik/mina-sidor/kontoinstallningar`,component:()=>T(()=>import(`./CSr-uRTE.js`),__vite__mapDeps([252,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,44,38,186,115,78,48,79,60,61,71,46,47]),import.meta.url)},{name:`shop-dashboard-account-settings___en`,path:`account-settings`,component:()=>T(()=>import(`./CSr-uRTE.js`),__vite__mapDeps([252,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,44,38,186,115,78,48,79,60,61,71,46,47]),import.meta.url)},{name:`shop-dashboard-order-history___sv`,path:`/sv/butik/mina-sidor/orderhistorik`,component:()=>T(()=>import(`./C8kr3Ogr2.js`),__vite__mapDeps([253,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,25,26,24,44,29,30,31,107,48,50,60,61,77,78,79,80,71,46,27,47,149,150,181,182,246,248,250,254]),import.meta.url)},{name:`shop-dashboard-order-history___en`,path:`order-history`,component:()=>T(()=>import(`./C8kr3Ogr2.js`),__vite__mapDeps([253,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,25,26,24,44,29,30,31,107,48,50,60,61,77,78,79,80,71,46,27,47,149,150,181,182,246,248,250,254]),import.meta.url)},{name:`shop-dashboard-returns___sv`,path:`/sv/butik/mina-sidor/returer`,component:()=>T(()=>import(`./B0u0BCcn2.js`),__vite__mapDeps([255,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,27,186,25,26,24,115,256,22,23,28,29,30,31,133,134,38,83,78,48,79,60,61,77,80,139,71,46,47,149,150,90,180,181,182,103,88,104,201,257,258]),import.meta.url)},{name:`shop-dashboard-returns___en`,path:`returns`,component:()=>T(()=>import(`./B0u0BCcn2.js`),__vite__mapDeps([255,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,27,186,25,26,24,115,256,22,23,28,29,30,31,133,134,38,83,78,48,79,60,61,77,80,139,71,46,47,149,150,90,180,181,182,103,88,104,201,257,258]),import.meta.url)},{name:`shop-dashboard-special-offers___sv`,path:`/sv/butik/mina-sidor/erbjudanden`,component:()=>T(()=>import(`./BOEHAm2x2.js`),__vite__mapDeps([259,2,9,5,7,1,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,48]),import.meta.url)},{name:`shop-dashboard-subscriptions___sv`,path:`/sv/butik/mina-sidor/prenumerationer`,component:()=>T(()=>
13import(`./Ie250TCF2.js`),__vite__mapDeps([260,30,1,2,18,4,3,5,6,19,20,10,11,31,9,7,8,12,13,14,15,16,17,21,25,26,24,44,107,29,22,38,115,48,197,140,133,134,23,27,28,78,79,141,139,71,46,47,250]),import.meta.url)}]},{name:`shop-favorites___sv`,path:`/sv/butik/favorites`,component:()=>T(()=>import(`./harUqpPR2.js`),__vite__mapDeps([261,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,31,84,85,132,30,22,120,23,24,25,26,27,28,29,44,133,134,38,87,48,78,79,60,61,135,50,110,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,115,86,88,89,142,143,144,145,71,46,47,198]),import.meta.url)},{name:`shop-food-consultation___sv`,path:`/sv/butik/foderradgivning`,component:()=>T(()=>import(`./DAyUExcP2.js`),__vite__mapDeps([262,2,9,5,7,1,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,115,160,78,48,79,161,71,46,27,47]),import.meta.url)},{name:`shop-health-check___sv`,path:`/sv/butik/health-check`,meta:Z_||{},component:()=>T(()=>import(`./DuQxzDgs2.js`),__vite__mapDeps([263,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49]),import.meta.url)},{name:`shop-health-check___en`,path:`/en/shop/health-check`,meta:Z_||{},component:()=>T(()=>import(`./DuQxzDgs2.js`),__vite__mapDeps([263,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49]),import.meta.url)},{name:`shop-info___sv`,path:`/sv/butik/info`,meta:Q_||{},component:()=>T(()=>import(`./Bek7zLkG2.js`),__vite__mapDeps([264,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,186,25,26,24,115,49]),import.meta.url)},{name:`shop-info___en`,path:`/en/shop/info`,meta:Q_||{},component:()=>T(()=>import(`./Bek7zLkG2.js`),__vite__mapDeps([264,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,186,25,26,24,115,49]),import.meta.url)},{name:`shop-login___sv`,path:`/sv/butik/logga-in`,meta:{...$_||{},middleware:[`login`]},component:()=>T(()=>import(`./CocsQ29z2.js`),__vite__mapDeps([265,1,2,9,5,7,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,44,49,78,48,79,163,164,266,77,80,71,46,47,37,38,39]),import.meta.url)},{name:`shop-order-return___sv`,path:`/sv/butik/returer`,component:()=>T(()=>import(`./Cq_li-562.js`),__vite__mapDeps([267,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,256,22,23,24,25,26,27,28,29,30,31,186,115,133,134,38,83,78,48,79,60,61,77,80,139,71,46,47,149,150,90,180,181,182,103,88,104,201,257]),import.meta.url)},{name:`shop-order-return___en`,path:`/en/shop/returns`,component:()=>T(()=>import(`./Cq_li-562.js`),__vite__mapDeps([267,1,2,7,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,256,22,23,24,25,26,27,28,29,30,31,186,115,133,134,38,83,78,48,79,60,61,77,80,139,71,46,47,149,150,90,180,181,182,103,88,104,201,257]),import.meta.url)},{name:`shop-parasite-tests___sv`,path:`/sv/butik/parasitundersokningar`,component:()=>T(()=>import(`./DYkSQqZI2.js`),__vite__mapDeps([268,2,9,5,7,1,4,3,6,8,10,11,12,13,14,15,16,17,18,19,20,21,25,26,24,44,115,78,48,79,160,161,71,46,27,47]),import.meta.url)},{name:`shop-receipt___sv`,path:`/sv/butik/kvitto`,meta:ev||{},component:()=>T(()=>import(`./DG5N9WYS2.js`),__vite__mapDeps([269,30,1,2,18,4,3,5,6,19,20,10,11,31,9,7,8,12,13,14,15,16,17,21,22,120,26,25,24,23,27,28,29,44,38,159,115,133,134,49,78,48,79,60,61,119,121,106,108,84,85,122,123,110,58,77,80,141,118,71,46,47,201,81,237,236,87,249,183,205,206]),import.meta.url)},{name:`shop-receipt___en`,path:`/en/shop/receipt`,meta:ev||{},component:()=>T(()=>import(`./DG5N9WYS2.js`),__vite__mapDeps([269,30,1,2,18,4,3,5,6,19,20,10,11,31,9,7,8,12,13,14,15,16,17,21,22,120,26,25,24,23,27,28,29,44,38,159,115,133,134,49,78,48,79,60,61,119,121,106,108,84,85,122,123,110,58,77,80,141,118,71,46,47,201,81,237,236,87,249,183,205,206]),import.meta.url)},{name:`shop-recommended-products___sv`,path:`/sv/butik/rekommenderade-produkter`,component:()=>T(()=>import(`./CJudsBEa.js`),__vite__mapDeps([270,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,27,84,85,119,22,120,23,24,25,28,29,121,106,108,122,123,110,77,48,78,79,80,145,71,46,47,179,133,134,38,60,61,137,87,138,140,141,139,180,181,182,154,183,184,109,99,214]),import.meta.url)}
13,{name:`shop-recommended-products___en`,path:`/en/shop/recommended-products`,component:()=>T(()=>import(`./CJudsBEa.js`),__vite__mapDeps([270,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,27,84,85,119,22,120,23,24,25,28,29,121,106,108,122,123,110,77,48,78,79,80,145,71,46,47,179,133,134,38,60,61,137,87,138,140,141,139,180,181,182,154,183,184,109,99,214]),import.meta.url)},{name:`shop-royal-canin-recommendations___sv`,path:`/sv/butik/royal-canin-rekommendationer`,meta:{...tv||{},middleware:[`royal-canin-recommendations-auth`]},component:()=>T(()=>import(`./DX_ZCkDe2.js`),__vite__mapDeps([271,1,2,11,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,44,83,49,78,48,79,77,80,90,91,68]),import.meta.url)},{name:`shop-search___sv`,path:`/sv/butik/sok`,meta:nv||{},component:()=>T(()=>import(`./Bj6jI4O3.js`),__vite__mapDeps([272,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,38,159,49,78,48,79,118,22,25,26,24,115,110,119,120,23,27,28,29,30,31,121,106,108,84,85,122,123,71,46,47,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151]),import.meta.url)},{name:`shop-search___en`,path:`/en/shop/search`,meta:nv||{},component:()=>T(()=>import(`./Bj6jI4O3.js`),__vite__mapDeps([272,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,44,38,159,49,78,48,79,118,22,25,26,24,115,110,119,120,23,27,28,29,30,31,121,106,108,84,85,122,123,71,46,47,129,130,50,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151]),import.meta.url)},{name:`questions-id-slug___dk`,path:`/dk/sporgsmal/:id()/:slug()`,meta:rv||{},component:()=>T(()=>import(`./CwxnW_ca.js`),__vite__mapDeps([273,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,26,47,46,45,49,51,44,50,52,53]),import.meta.url)},{name:`questions-id-slug___de`,path:`/de/fragen/:id()/:slug()`,meta:rv||{},component:()=>T(()=>import(`./CwxnW_ca.js`),__vite__mapDeps([273,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,26,47,46,45,49,51,44,50,52,53]),import.meta.url)},{name:`questions-id-slug___uk`,path:`/uk/questions/:id()/:slug()`,meta:rv||{},component:()=>T(()=>import(`./CwxnW_ca.js`),__vite__mapDeps([273,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,26,47,46,45,49,51,44,50,52,53]),import.meta.url)},{name:`questions-id-slug___fi`,path:`/fi/kysymykset/:id()/:slug()`,meta:rv||{},component:()=>T(()=>import(`./CwxnW_ca.js`),__vite__mapDeps([273,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,26,47,46,45,49,51,44,50,52,53]),import.meta.url)},{name:`questions-id-slug___no`,path:`/no/sporsmal/:id()/:slug()`,meta:rv||{},component:()=>T(()=>import(`./CwxnW_ca.js`),__vite__mapDeps([273,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,26,47,46,45,49,51,44,50,52,53]),import.meta.url)},{name:`questions-id-slug___sv`,path:`/sv/fragor/:id()/:slug()`,meta:rv||{},component:()=>T(()=>import(`./CwxnW_ca.js`),__vite__mapDeps([273,2,3,1,4,5,6,9,7,8,10,11,12,13,14,15,16,17,18,19,20,21,26,47,46,45,49,51,44,50,52,53]),import.meta.url)},{name:`articles-slug___dk`,path:`/dk/artikler/:slug()`,meta:iv||{},component:()=>T(()=>import(`./Cbg295Bl2.js`),__vite__mapDeps([274,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,45,46,47,117,48,49,78,79,51,50,52,53,54,275,191,192,55,276,193,194,60,61,84,85,110,94,160,115,161,24,132,22,120,23,25,27,28,29,133,134,38,87,135,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145]),import.meta.url)},{name:`articles-slug___de`,path:`/de/artikel/:slug()`,meta:iv||{},component:()=>T(()=>import(`./Cbg295Bl2.js`),__vite__mapDeps([274,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,45,46,47,117,48,49,78,79,51,50,52,53,54,275,191,192,55,276,193,194,60,61,84,85,110,94,160,115,161,24,132,22,120,23,25,27,28,29,133,134,38,87,135,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145]),import.meta.url)},{name:`articles-slug___uk`,path:`/uk/articles/:slug()`,meta:iv||{},component:()=>T(()=>import(`./Cbg295Bl2.js`),__vite__mapDeps([274,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,45,46,47,117,48,49,78,79,51,50,52,53,54,275,191,192,55,276,193,194,60,61,84,85,110,94,160,115,161,24,132,22,120,23,25,27,28,29,133,134,38,87,135,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145]),import.meta.url)},{name:`articles-slug___us`,path:`/us/articles/:slug()`,meta:iv||{},component:()=>T(()=>import(`./Cbg295Bl2.js`),__vite__mapDeps([274,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,45,46,47,117,48,49,78,79,51,50,52,53,54,275,191,192,55,276,193,194,60,61,84,85,110,94,160,115,161,24,132,22,120,23,25,27,28,29,133,134,38,87,135,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145]),import.meta.url)},{name:`articles-slug___fi`,path:`/fi/artikkeleita/:slug()`,meta:iv||{},component:()=>T(()=>import(`./Cbg295Bl2.js`),__vite__mapDeps([274,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,45,46,47,117,48,49,78,79,51,50,52,53,54,275,191,192,55,276,193,194,60,61,84,85,110,94,160,115,161,24,132,22,120,23,25,27,28,29,133,134,38,87,135,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145]),import.meta.url)},{name:`articles-slug___no`,path:`/no/artikler/:slug()`,meta:iv||{},component:()=>T(()=>import(`./Cbg295Bl2.js`),__vite__mapDeps([274,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,45,46,47,117,48,49,78,79,51,50,52,53,54,275,191,192,55,276,193,194,60,61,84,85,110,94,160,115,161,24,132,22,120,23,25,27,28,29,133,134,38,87,135,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145]),import.meta.url)},{name:`articles-slug___sv`,path:`/sv/artiklar/:slug()`,meta:iv||{},component:()=>T(()=>import(`./Cbg295Bl2.js`),__vite__mapDeps([274,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,26,44,45,46,47,117,48,49,78,79,51,50,52,53,54,275,191,192,55,276,193,194,60,61,84,85,110,94,160,115,161,24,132,22,120,23,25,27,28,29,133,134,38,87,135,136,130,119,121,106,108,122,123,58,77,80,137,138,139,140,141,118,86,88,89,142,143,144,145]),import.meta.url)},{name:`city-slug___dk`,path:`/dk/by/:slug()`,meta:av||{},component:()=>T(()=>import(`./zlKY0gzZ.js`),__vite__mapDeps([277,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`city-slug___de`,path:`/de/stadt/:slug()`,meta:av||{},component:()=>T(()=>import(`./zlKY0gzZ.js`),__vite__mapDeps([277,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`city-slug___uk`,path:`/uk/city/:slug()`,meta:av||{},component:()=>T(()=>import(`./zlKY0gzZ.js`),__vite__mapDeps([277,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`city-slug___us`,path:`/us/city/:slug()`,meta:av||{},component:()=>T(()=>import(`./zlKY0gzZ.js`),__vite__mapDeps([277,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`city-slug___fi`,path:`/fi/kaupunki/:slug()`,meta:av||{},component:()=>T(()=>import(`./zlKY0gzZ.js`),__vite__mapDeps([277,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`city-slug___no`,path:`/no/by/:slug()`,meta:av||{},component:()=>T(()=>import(`./zlKY0gzZ.js`),__vite__mapDeps([277,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`city-slug___sv`,path:`/sv/stad/:slug()`,meta:av||{},component:()=>T(()=>import(`./zlKY0gzZ.js`),__vite__mapDeps([277,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`insurance-slug___dk`,path:`/dk/forsikring/:slug()`,meta:ov||{},component:()=>T(()=>import(`./DEJ11DgX.js`),__vite__mapDeps([278,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`insurance-slug___de`,path:`/de/versicherung/:slug()`,meta:ov||{},component:()=>T(()=>import(`./DEJ11DgX.js`),__vite__mapDeps([278,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`insurance-slug___uk`,path:`/uk/insurance/:slug()`,meta:ov||{},component:()=>T(()=>import(`./DEJ11DgX.js`),__vite__mapDeps([278,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`insurance-slug___us`,path:`/us/insurance/:slug()`,meta:ov||{},component:()=>T(()=>import(`./DEJ11DgX.js`),__vite__mapDeps([278,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`insurance-slug___fi`,path:`/fi/vakuutus/:slug()`,meta:ov||{},component:()=>T(()=>import(`./DEJ11DgX.js`),__vite__mapDeps([278,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`insurance-slug___no`,path:`/no/forsikring/:slug()`,meta:ov||{},component:()=>T(()=>import(`./DEJ11DgX.js`),__vite__mapDeps([278,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`insurance-slug___sv`,path:`/sv/forsakring/:slug()`,meta:ov||{},component:()=>T(()=>import(`./DEJ11DgX.js`),__vite__mapDeps([278,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`jobs-slug___dk`,path:`/dk/jobs/:slug()`,meta:sv||{},component:()=>T(()=>import(`./DCuRiTih.js`),__vite__mapDeps([282,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,52,53]),import.meta.url)},{name:`jobs-slug___de`,path:`/de/jobs/:slug()`,meta:sv||{},component:()=>T(()=>import(`./DCuRiTih.js`),__vite__mapDeps([282,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,52,53]),import.meta.url)},{name:`jobs-slug___uk`,path:`/uk/jobs/:slug()`,meta:sv||{},component:()=>T(()=>import(`./DCuRiTih.js`),__vite__mapDeps([282,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,52,53]),import.meta.url)},{name:`jobs-slug___us`,path:`/us/jobs/:slug()`,meta:sv||{},component:()=>T(()=>import(`./DCuRiTih.js`),__vite__mapDeps([282,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,52,53]),import.meta.url)},{name:`jobs-slug___fi`,path:`/fi/jobs/:slug()`,meta:sv||{},component:()=>T(()=>import(`./DCuRiTih.js`),__vite__mapDeps([282,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,52,53]),import.meta.url)},{name:`jobs-slug___no`,path:`/no/jobs/:slug()`,meta:sv||{},component:()=>T(()=>import(`./DCuRiTih.js`),__vite__mapDeps([282,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,52,53]),import.meta.url)},{name:`jobs-slug___sv`,path:`/sv/jobs/:slug()`,meta:sv||{},component:()=>T(()=>import(`./DCuRiTih.js`),__vite__mapDeps([282,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,52,53]),import.meta.url)},{name:`app-slug___dk`,path:`/dk/app/:slug()`,meta:cv||{},component:()=>T(()=>import(`./CMStwu2z2.js`),__vite__mapDeps([283,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,284]),import.meta.url)},{name:`app-slug___de`,path:`/de/app/:slug()`,meta:cv||{},component:()=>T(()=>import(`./CMStwu2z2.js`),__vite__mapDeps([283,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,284]),import.meta.url)},{name:`app-slug___uk`,path:`/uk/app/:slug()`,meta:cv||{},component:()=>T(()=>import(`./CMStwu2z2.js`),__vite__mapDeps([283,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,284]),import.meta.url)},{name:`app-slug___us`,path:`/us/app/:slug()`,meta:cv||{},component:()=>T(()=>import(`./CMStwu2z2.js`),__vite__mapDeps([283,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,284]),import.meta.url)},{name:`app-slug___fi`,path:`/fi/app/:slug()`,meta:cv||{},component:()=>T(()=>import(`./CMStwu2z2.js`),__vite__mapDeps([283,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,284]),import.meta.url)},{name:`app-slug___no`,path:`/no/app/:slug()`,meta:cv||{},component:()=>T(()=>import(`./CMStwu2z2.js`),__vite__mapDeps([283,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,284]),import.meta.url)},{name:`app-slug___sv`,path:`/sv/apps/:slug()`,meta:cv||{},component:()=>T(()=>import(`./CMStwu2z2.js`),__vite__mapDeps([283,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,284]),import.meta.url)},{name:`partner-slug___dk`,path:`/dk/partners/:slug()`,meta:lv||{},component:()=>T(()=>import(`./CX022Gku.js`),__vite__mapDeps([285,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`partner-slug___de`,path:`/de/versicherungspartnern/:slug()`,meta:lv||{},component:()=>T(()=>import(`./CX022Gku.js`),__vite__mapDeps([285,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`partner-slug___uk`,path:`/uk/partners/:slug()`,meta:lv||{},component:()=>T(()=>import(`./CX022Gku.js`),__vite__mapDeps([285,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`partner-slug___us`,path:`/us/partners/:slug()`,meta:lv||{},component:()=>T(()=>import(`./CX022Gku.js`),__vite__mapDeps([285,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`partner-slug___fi`,path:`/fi/yhteisty%C3%B6kumppanit/:slug()`,meta:lv||{},component:()=>T(()=>import(`./CX022Gku.js`),__vite__mapDeps([285,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`partner-slug___no`,path:`/no/partners/:slug()`,meta:lv||{},component:()=>T(()=>import(`./CX022Gku.js`),__vite__mapDeps([285,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)}
13,{name:`partner-slug___sv`,path:`/sv/partners/:slug()`,meta:lv||{},component:()=>T(()=>import(`./CX022Gku.js`),__vite__mapDeps([285,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,94,279,78,48,79,52,53,280,281,30,31,44]),import.meta.url)},{name:`shop-slug___sv`,path:`/sv/butik/:slug(.*)*`,meta:uv||{},component:()=>T(()=>import(`./D0562S9H.js`),__vite__mapDeps([286,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,25,26,24,44,38,159,115,116,48,117,47,46,49,50,54,55,110,160,78,79,161,118,22,119,120,23,27,28,29,121,106,108,84,85,122,123,71,129,130,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,155,245,172,173,174,232,203,287]),import.meta.url)},{name:`shop-slug___en`,path:`/en/shop/:slug(.*)*`,meta:uv||{},component:()=>T(()=>import(`./D0562S9H.js`),__vite__mapDeps([286,30,1,2,18,4,3,5,6,19,20,10,11,31,7,8,9,12,13,14,15,16,17,21,25,26,24,44,38,159,115,116,48,117,47,46,49,50,54,55,110,160,78,79,161,118,22,119,120,23,27,28,29,121,106,108,84,85,122,123,71,129,130,131,132,133,134,87,60,61,135,136,58,77,80,137,138,139,140,141,86,88,89,142,143,144,145,146,147,148,149,150,90,151,155,245,172,173,174,232,203,287]),import.meta.url)},{name:`articles___dk`,path:`/dk/artikler`,meta:dv||{},component:()=>T(()=>import(`./BX0St8WX.js`),__vite__mapDeps([288,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles___de`,path:`/de/artikel`,meta:dv||{},component:()=>T(()=>import(`./BX0St8WX.js`),__vite__mapDeps([288,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles___uk`,path:`/uk/articles`,meta:dv||{},component:()=>T(()=>import(`./BX0St8WX.js`),__vite__mapDeps([288,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles___us`,path:`/us/articles`,meta:dv||{},component:()=>T(()=>import(`./BX0St8WX.js`),__vite__mapDeps([288,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles___fi`,path:`/fi/artikkeleita`,meta:dv||{},component:()=>T(()=>import(`./BX0St8WX.js`),__vite__mapDeps([288,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles___no`,path:`/no/artikler`,meta:dv||{},component:()=>T(()=>import(`./BX0St8WX.js`),__vite__mapDeps([288,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`articles___sv`,path:`/sv/artiklar`,meta:dv||{},component:()=>T(()=>import(`./BX0St8WX.js`),__vite__mapDeps([288,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,166,26,44,45,46,47,78,48,79,50,77,80,146,88,167]),import.meta.url)},{name:`cookies___dk`,path:`/dk/cookies`,meta:fv||{},component:()=>T(()=>import(`./5rRqwcKh.js`),__vite__mapDeps([289,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,290]),import.meta.url)},{name:`cookies___de`,path:`/de/cookies`,meta:fv||{},component:()=>T(()=>import(`./5rRqwcKh.js`),__vite__mapDeps([289,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,290]),import.meta.url)},{name:`cookies___uk`,path:`/uk/cookies`,meta:fv||{},component:()=>T(()=>import(`./5rRqwcKh.js`),__vite__mapDeps([289,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,290]),import.meta.url)},{name:`cookies___us`,path:`/us/cookies`,meta:fv||{},component:()=>T(()=>import(`./5rRqwcKh.js`),__vite__mapDeps([289,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,290]),import.meta.url)},{name:`cookies___fi`,path:`/fi/cookies`,meta:fv||{},component:()=>T(()=>import(`./5rRqwcKh.js`),__vite__mapDeps([289,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,290]),import.meta.url)},{name:`cookies___no`,path:`/no/cookies`,meta:fv||{},component:()=>T(()=>import(`./5rRqwcKh.js`),__vite__mapDeps([289,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,290]),import.meta.url)},{name:`cookies___sv`,path:`/sv/cookies`,meta:fv||{},component:()=>T(()=>import(`./5rRqwcKh.js`),__vite__mapDeps([289,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,187,44,188,290]),import.meta.url)},{name:`employers___us`,path:`/us/employers`,meta:pv||{},component:()=>T(()=>import(`./CWm_Rc1b.js`),__vite__mapDeps([291,2,11,9,5,7,1,4,3,6,8,10,12,13,14,15,16,17,18,19,20,21,45,46,47,48,49,78,79,50,52,53,292,83,77,80,86,87,88,89,59,60,61,62,63,64,65,293]),import.meta.url)},{name:`insurance___dk`,path:`/dk/forsikring`,meta:mv||{},component:()=>T(()=>import(`./Sn84X04o.js`),__vite__mapDeps([294,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`insurance___de`,path:`/de/versicherung`,meta:mv||{},component:()=>T(()=>import(`./Sn84X04o.js`),__vite__mapDeps([294,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`insurance___uk`,path:`/uk/insurance`,meta:mv||{},component:()=>T(()=>import(`./Sn84X04o.js`),__vite__mapDeps([294,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`insurance___us`,path:`/us/insurance`,meta:mv||{},component:()=>T(()=>import(`./Sn84X04o.js`),__vite__mapDeps([294,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`insurance___fi`,path:`/fi/vakuutus`,meta:mv||{},component:()=>T(()=>import(`./Sn84X04o.js`),__vite__mapDeps([294,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`insurance___no`,path:`/no/forsikring`,meta:mv||{},component:()=>T(()=>import(`./Sn84X04o.js`),__vite__mapDeps([294,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`insurance___sv`,path:`/sv/forsakring`,meta:mv||{},component:()=>T(()=>import(`./Sn84X04o.js`),__vite__mapDeps([294,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`insurers___us`,path:`/us/insurers`,meta:hv||{},component:()=>T(()=>import(`./mjnZEdjj.js`),__vite__mapDeps([296,2,11,9,5,7,1,4,3,6,8,10,12,13,14,15,16,17,18,19,20,21,45,46,47,48,49,50,292,83,77,78,79,80,86,87,88,89,63,64,65,66,297]),import.meta.url)},{name:`jobs___dk`,path:`/dk/jobs`,meta:gv||{},component:()=>T(()=>import(`./BajJX35p.js`),__vite__mapDeps([298,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,77,48,78,79,80]),import.meta.url)},{name:`jobs___de`,path:`/de/jobs`,meta:gv||{},component:()=>T(()=>import(`./BajJX35p.js`),__vite__mapDeps([298,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,77,48,78,79,80]),import.meta.url)},{name:`jobs___uk`,path:`/uk/jobs`,meta:gv||{},component:()=>T(()=>import(`./BajJX35p.js`),__vite__mapDeps([298,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,77,48,78,79,80]),import.meta.url)},{name:`jobs___us`,path:`/us/jobs`,meta:gv||{},component:()=>T(()=>import(`./BajJX35p.js`),__vite__mapDeps([298,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,77,48,78,79,80]),import.meta.url)},{name:`jobs___fi`,path:`/fi/jobs`,meta:gv||{},component:()=>T(()=>import(`./BajJX35p.js`),__vite__mapDeps([298,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,77,48,78,79,80]),import.meta.url)},{name:`jobs___no`,path:`/no/jobs`,meta:gv||{},component:()=>T(()=>import(`./BajJX35p.js`),__vite__mapDeps([298,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,77,48,78,79,80]),import.meta.url)},{name:`jobs___sv`,path:`/sv/jobs`,meta:gv||{},component:()=>T(()=>import(`./BajJX35p.js`),__vite__mapDeps([298,2,11,3,1,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,77,48,78,79,80]),import.meta.url)},{name:`partner___dk`,path:`/dk/partners`,meta:_v||{},component:()=>T(()=>import(`./BKVbvCIw.js`),__vite__mapDeps([299,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`partner___de`,path:`/de/versicherungspartnern`,meta:_v||{},component:()=>T(()=>import(`./BKVbvCIw.js`),__vite__mapDeps([299,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`partner___uk`,path:`/uk/partners`,meta:_v||{},component:()=>T(()=>import(`./BKVbvCIw.js`),__vite__mapDeps([299,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`partner___us`,path:`/us/partners`,meta:_v||{},component:()=>T(()=>import(`./BKVbvCIw.js`),__vite__mapDeps([299,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`partner___fi`,path:`/fi/yhteisty%C3%B6kumppanit`,meta:_v||{},component:()=>T(()=>import(`./BKVbvCIw.js`),__vite__mapDeps([299,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`partner___no`,path:`/no/partners`,meta:_v||{},component:()=>T(()=>import(`./BKVbvCIw.js`),__vite__mapDeps([299,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)}
13,{name:`partner___sv`,path:`/sv/partners`,meta:_v||{},component:()=>T(()=>import(`./BKVbvCIw.js`),__vite__mapDeps([299,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,295,94]),import.meta.url)},{name:`ppcontacts___dk`,path:`/dk/ppcontacts`,meta:vv||{},component:()=>T(()=>import(`./1HKUMAg9.js`),__vite__mapDeps([300,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppcontacts___de`,path:`/de/ppcontacts`,meta:vv||{},component:()=>T(()=>import(`./1HKUMAg9.js`),__vite__mapDeps([300,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppcontacts___uk`,path:`/uk/ppcontacts`,meta:vv||{},component:()=>T(()=>import(`./1HKUMAg9.js`),__vite__mapDeps([300,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppcontacts___us`,path:`/us/ppcontacts`,meta:vv||{},component:()=>T(()=>import(`./1HKUMAg9.js`),__vite__mapDeps([300,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppcontacts___fi`,path:`/fi/ppcontacts`,meta:vv||{},component:()=>T(()=>import(`./1HKUMAg9.js`),__vite__mapDeps([300,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppcontacts___no`,path:`/no/ppcontacts`,meta:vv||{},component:()=>T(()=>import(`./1HKUMAg9.js`),__vite__mapDeps([300,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppcontacts___sv`,path:`/sv/ppcontacts`,meta:vv||{},component:()=>T(()=>import(`./1HKUMAg9.js`),__vite__mapDeps([300,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppja___dk`,path:`/dk/ppja`,meta:yv||{},component:()=>T(()=>import(`./dsU_fmk0.js`),__vite__mapDeps([301,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppja___de`,path:`/de/ppja`,meta:yv||{},component:()=>T(()=>import(`./dsU_fmk0.js`),__vite__mapDeps([301,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppja___uk`,path:`/uk/ppja`,meta:yv||{},component:()=>T(()=>import(`./dsU_fmk0.js`),__vite__mapDeps([301,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppja___us`,path:`/us/ppja`,meta:yv||{},component:()=>T(()=>import(`./dsU_fmk0.js`),__vite__mapDeps([301,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppja___fi`,path:`/fi/ppja`,meta:yv||{},component:()=>T(()=>import(`./dsU_fmk0.js`),__vite__mapDeps([301,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppja___no`,path:`/no/ppja`,meta:yv||{},component:()=>T(()=>import(`./dsU_fmk0.js`),__vite__mapDeps([301,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`ppja___sv`,path:`/sv/ppja`,meta:yv||{},component:()=>T(()=>import(`./dsU_fmk0.js`),__vite__mapDeps([301,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`press___dk`,path:`/dk/press`,meta:bv||{},component:()=>T(()=>import(`./CX1EuQ8O.js`),__vite__mapDeps([302,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`press___de`,path:`/de/press`,meta:bv||{},component:()=>T(()=>import(`./CX1EuQ8O.js`),__vite__mapDeps([302,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`press___uk`,path:`/uk/press`,meta:bv||{},component:()=>T(()=>import(`./CX1EuQ8O.js`),__vite__mapDeps([302,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`press___us`,path:`/us/press`,meta:bv||{},component:()=>T(()=>import(`./CX1EuQ8O.js`),__vite__mapDeps([302,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`press___fi`,path:`/fi/press`,meta:bv||{},component:()=>T(()=>
13import(`./CX1EuQ8O.js`),__vite__mapDeps([302,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`press___no`,path:`/no/press`,meta:bv||{},component:()=>T(()=>import(`./CX1EuQ8O.js`),__vite__mapDeps([302,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`press___sv`,path:`/sv/press`,meta:bv||{},component:()=>T(()=>import(`./CX1EuQ8O.js`),__vite__mapDeps([302,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`privacy-policy___dk`,path:`/dk/privatlivspolitik`,meta:xv||{},component:()=>T(()=>import(`./Bc1l-SCJ.js`),__vite__mapDeps([303,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`privacy-policy___de`,path:`/de/datenschutz-bestimmungen`,meta:xv||{},component:()=>T(()=>import(`./Bc1l-SCJ.js`),__vite__mapDeps([303,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`privacy-policy___uk`,path:`/uk/privacy-policy`,meta:xv||{},component:()=>T(()=>import(`./Bc1l-SCJ.js`),__vite__mapDeps([303,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`privacy-policy___us`,path:`/us/privacy-policy`,meta:xv||{},component:()=>T(()=>import(`./Bc1l-SCJ.js`),__vite__mapDeps([303,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`privacy-policy___fi`,path:`/fi/tietosuojakaytanto`,meta:xv||{},component:()=>T(()=>import(`./Bc1l-SCJ.js`),__vite__mapDeps([303,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`privacy-policy___no`,path:`/no/personvernpolicy`,meta:xv||{},component:()=>T(()=>import(`./Bc1l-SCJ.js`),__vite__mapDeps([303,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`privacy-policy___sv`,path:`/sv/integritetspolicy`,meta:xv||{},component:()=>T(()=>import(`./Bc1l-SCJ.js`),__vite__mapDeps([303,2,7,1,4,3,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,224,26,45,46,47]),import.meta.url)},{name:`questions___dk`,path:`/dk/sporgsmal`,meta:Sv||{},component:()=>T(()=>import(`./BBDxlXp4.js`),__vite__mapDeps([304,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,78,48,79,51,50,77,80,146,88]),import.meta.url)},{name:`questions___de`,path:`/de/fragen`,meta:Sv||{},component:()=>T(()=>import(`./BBDxlXp4.js`),__vite__mapDeps([304,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,78,48,79,51,50,77,80,146,88]),import.meta.url)},{name:`questions___uk`,path:`/uk/questions`,meta:Sv||{},component:()=>T(()=>import(`./BBDxlXp4.js`),__vite__mapDeps([304,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,78,48,79,51,50,77,80,146,88]),import.meta.url)},{name:`questions___fi`,path:`/fi/kysymykset`,meta:Sv||{},component:()=>T(()=>import(`./BBDxlXp4.js`),__vite__mapDeps([304,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,78,48,79,51,50,77,80,146,88]),import.meta.url)},{name:`questions___no`,path:`/no/sporsmal`,meta:Sv||{},component:()=>T(()=>import(`./BBDxlXp4.js`),__vite__mapDeps([304,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,78,48,79,51,50,77,80,146,88]),import.meta.url)},{name:`questions___sv`,path:`/sv/fragor`,meta:Sv||{},component:()=>T(()=>import(`./BBDxlXp4.js`),__vite__mapDeps([304,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,49,78,48,79,51,50,77,80,146,88]),import.meta.url)},{name:`shop___sv`,path:`/sv/butik`,meta:Cv||{},component:()=>T(()=>import(`./BGeNjFL22.js`),__vite__mapDeps([305,30,1,2,18,4,3,5,6,19,20,10,11,31,9,7,8,12,13,14,15,16,17,21,120,22,25,26,24,44,27,38,159,115,133,134,23,28,29,116,117,47,46,48,49,78,79,84,85,177,77,80,145,71,231,228,135,50,110,198,245,87,155,242,195,54,55,196]),import.meta.url)},{name:`shop___en`,path:`/en/shop`,meta:Cv||{},component:()=>T(()=>import(`./BGeNjFL22.js`),__vite__mapDeps([305,30,1,2,18,4,3,5,6,19,20,10,11,31,9,7,8,12,13,14,15,16,17,21,120,22,25,26,24,44,27,38,159,115,133,134,23,28,29,116,117,47,46,48,49,78,79,84,85,177,77,80,145,71,231,228,135,50,110,198,245,87,155,242,195,54,55,196]),import.meta.url)},{name:`sitemap___sv`,path:`/sv/sitemap`,meta:wv||{},component:()=>T(()=>import(`./CbxTcnqx2.js`),__vite__mapDeps([306,2,26,1,17,8,4,5,9,18,3,6,19,20,10,11,21,13,44,16,49]),import.meta.url)},{name:`sitemap___uk`,path:`/uk/sitemap`,meta:wv||{},component:()=>T(()=>import(`./CbxTcnqx2.js`),__vite__mapDeps([306,2,26,1,17,8,4,5,9,18,3,6,19,20,10,11,21,13,44,16,49]),import.meta.url)},{name:`sitemap___dk`,path:`/dk/sitemap`,meta:wv||{},component:()=>T(()=>import(`./CbxTcnqx2.js`),__vite__mapDeps([306,2,26,1,17,8,4,5,9,18,3,6,19,20,10,11,21,13,44,16,49]),import.meta.url)},{name:`sitemap___de`,path:`/de/sitemap`,meta:wv||{},component:()=>T(()=>import(`./CbxTcnqx2.js`),__vite__mapDeps([306,2,26,1,17,8,4,5,9,18,3,6,19,20,10,11,21,13,44,16,49]),import.meta.url)},{name:`sitemap___us`,path:`/us/sitemap`,meta:wv||{},component:()=>T(()=>import(`./CbxTcnqx2.js`),__vite__mapDeps([306,2,26,1,17,8,4,5,9,18,3,6,19,20,10,11,21,13,44,16,49]),import.meta.url)},{name:`sitemap___fi`,path:`/fi/sitemap`,meta:wv||{},component:()=>T(()=>import(`./CbxTcnqx2.js`),__vite__mapDeps([306,2,26,1,17,8,4,5,9,18,3,6,19,20,10,11,21,13,44,16,49]),import.meta.url)},{name:`sitemap___no`,path:`/no/sitemap`,meta:wv||{},component:()=>T(()=>import(`./CbxTcnqx2.js`),__vite__mapDeps([306,2,26,1,17,8,4,5,9,18,3,6,19,20,10,11,21,13,44,16,49]),import.meta.url)},{name:`symptom___dk`,path:`/dk/symptomer`,meta:Tv||{},component:()=>T(()=>import(`./B-WSg1F72.js`),__vite__mapDeps([307,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,52,53,94]),import.meta.url)},{name:`symptom___de`,path:`/de/symptome`,meta:Tv||{},component:()=>T(()=>import(`./B-WSg1F72.js`),__vite__mapDeps([307,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,52,53,94]),import.meta.url)},{name:`symptom___uk`,path:`/uk/symptoms`,meta:Tv||{},component:()=>T(()=>import(`./B-WSg1F72.js`),__vite__mapDeps([307,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,52,53,94]),import.meta.url)},{name:`symptom___us`,path:`/us/symptoms`,meta:Tv||{},component:()=>T(()=>import(`./B-WSg1F72.js`),__vite__mapDeps([307,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,52,53,94]),import.meta.url)},{name:`symptom___fi`,path:`/fi/oireet`,meta:Tv||{},component:()=>T(()=>import(`./B-WSg1F72.js`),__vite__mapDeps([307,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,52,53,94]),import.meta.url)},{name:`symptom___no`,path:`/no/symptomer`,meta:Tv||{},component:()=>T(()=>import(`./B-WSg1F72.js`),__vite__mapDeps([307,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,52,53,94]),import.meta.url)},{name:`symptom___sv`,path:`/sv/symtom`,meta:Tv||{},component:()=>T(()=>import(`./B-WSg1F72.js`),__vite__mapDeps([307,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,78,48,79,52,53,94]),import.meta.url)},{name:`terms-conditions___dk`,path:`/dk/brugervilkar`,meta:Ev||{},component:()=>T(()=>import(`./DQU9jqep2.js`),__vite__mapDeps([308,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49]),import.meta.url)},{name:`terms-conditions___de`,path:`/de/nutzungsbedingungen`,meta:Ev||{},component:()=>T(()=>import(`./DQU9jqep2.js`),__vite__mapDeps([308,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49]),import.meta.url)},{name:`terms-conditions___uk`,path:`/uk/terms-of-service`,meta:Ev||{},component:()=>T(()=>import(`./DQU9jqep2.js`),__vite__mapDeps([308,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49]),import.meta.url)},{name:`terms-conditions___us`,path:`/us/terms-and-conditions`,meta:Ev||{},component:()=>T(()=>import(`./DQU9jqep2.js`),__vite__mapDeps([308,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49]),import.meta.url)},{name:`terms-conditions___fi`,path:`/fi/kayttoehdot`,meta:Ev||{},component:()=>T(()=>import(`./DQU9jqep2.js`),__vite__mapDeps([308,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49]),import.meta.url)},{name:`terms-conditions___no`,path:`/no/vilkar-for-bruk`,meta:Ev||{},component:()=>T(()=>import(`./DQU9jqep2.js`),__vite__mapDeps([308,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49]),import.meta.url)},{name:`terms-conditions___sv`,path:`/sv/anvandarvillkor`,meta:Ev||{},component:()=>T(()=>import(`./DQU9jqep2.js`),__vite__mapDeps([308,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49]),import.meta.url)}
13,{name:`slug___dk`,path:`/dk/:slug(.*)*`,meta:Dv||{},component:()=>T(()=>import(`./BKrsJwXU2.js`),__vite__mapDeps([309,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`slug___de`,path:`/de/:slug(.*)*`,meta:Dv||{},component:()=>T(()=>import(`./BKrsJwXU2.js`),__vite__mapDeps([309,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`slug___uk`,path:`/uk/:slug(.*)*`,meta:Dv||{},component:()=>T(()=>import(`./BKrsJwXU2.js`),__vite__mapDeps([309,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`slug___us`,path:`/us/:slug(.*)*`,meta:Dv||{},component:()=>T(()=>import(`./BKrsJwXU2.js`),__vite__mapDeps([309,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`slug___fi`,path:`/fi/:slug(.*)*`,meta:Dv||{},component:()=>T(()=>import(`./BKrsJwXU2.js`),__vite__mapDeps([309,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`slug___no`,path:`/no/:slug(.*)*`,meta:Dv||{},component:()=>T(()=>import(`./BKrsJwXU2.js`),__vite__mapDeps([309,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)}
13,{name:`slug___sv`,path:`/sv/:slug(.*)*`,meta:Dv||{},component:()=>T(()=>import(`./BKrsJwXU2.js`),__vite__mapDeps([309,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,45,46,47,49,56,57,94]),import.meta.url)},{name:`index___sv`,path:`/sv`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`index___uk`,path:`/uk`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`index___dk`,path:`/dk`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`index___de`,path:`/de`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`index___us`,path:`/us`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`index___fi`,path:`/fi`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`index___no`,path:`/no`,meta:{...C_||{},middleware:[`redirect-locale`,`set-homepage-layout`]},component:()=>T(()=>import(`./DeIX7Bm0.js`),__vite__mapDeps([43,1,2,11,3,4,5,6,9,7,8,10,12,13,14,15,16,17,18,19,20,21,26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)}];function kv(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Ye(n,``)}let s=Ye(r,e),c=!n||Xe(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Av=m({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,r=f().app.baseURL,i=an.history?.(r)??nn(r),a=an.routes?([t,n]=s(()=>an.routes(Ov)),t=await t,n(),t??Ov):Ov,o,c=rn({...an,scrollBehavior:(e,t,n)=>{if(t===tn){o=n;return}if(an.scrollBehavior){if(c.options.scrollBehavior=an.scrollBehavior,`scrollRestoration`in window.history){let e=c.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return an.scrollBehavior(e,tn,o||n)}},history:i,routes:a});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(c);let l=se(c.currentRoute.value);c.afterEach((e,t)=>{l.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});let u=kv(r,window.location,e.payload.path),d=se(c.currentRoute.value),p=()=>{d.value=c.currentRoute.value};c.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;if(n===r){ln({route:e,Component:{type:n}})===ln({route:t,Component:{type:r}})&&p();return}e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&p()});let m={sync:p};for(let e in d.value)Object.defineProperty(m,e,{get:()=>d.value[e],enumerable:!0});e._route=y(m),e._middleware||={global:[],named:{}};let h=Ke();c.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Ge),r&&await e.callHook(`page:loading:end`)});try{[t,n]=s(()=>c.isReady()),await t,n()}catch(r){[t,n]=s(()=>Ue(e,r)),await t,n()}let g=u===c.currentRoute.value.fullPath?c.currentRoute.value:c.resolve(u),_=c.currentRoute.value.fullPath,v=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&Xe(c.currentRoute.value.path,e.payload.path);p();function b(t){!e.isHydrating&&t.fullPath!==kv(r,window.location)&&i.push(t.fullPath)}let x=e.payload.state._layout;return c.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=he(t.meta),e.isHydrating&&x&&!ye(t.meta.layout)&&(t.meta.layout=x),e._processingMiddleware=!0;{let r=new Set([...x_,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of un(t))r.add(e)}let i=vt({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await S_[i]?.().then(e=>e.default||e):i;if(!r)throw Re.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||Be({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>We(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return Fe(i)&&i.fatal&&(await e.runWithContext(()=>We(i)),b(t)),i}catch(n){let r=Be(n);return r.fatal&&(await e.runWithContext(()=>We(r)),b(t)),r}}}}),c.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),c.afterEach(t=>{if(t.matched.length===0&&!h.value)return e.runWithContext(()=>We(Be({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>
13{try{if(`name`in g&&(g.name=void 0),c.currentRoute.value.fullPath===_)if(v){let t=c.resolve(e.payload.path);`name`in t&&(t.name=void 0),await c.replace({...t,force:!0});let n=()=>{e[`~restoreDeferredRoute`]&&(e[`~restoreDeferredRoute`]=void 0,c.currentRoute.value=c.resolve(u),p(),c.replace({...g,force:!0}).catch(()=>{}))};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await c.replace({...g,force:!0});c.options.scrollBehavior=an.scrollBehavior}catch(t){await Ue(e,t)}}),{provide:{router:c}}}},1);function jv(e){e.indexable!==void 0&&(e.indexable=String(e.indexable)!==`false`),e.trailingSlash!==void 0&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!==`false`),e.url&&!tt(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=et(String(e.url)));let t=Object.keys(e).sort((e,t)=>e.localeCompare(t)),n={};for(let r of t)n[r]=e[r];return n}function Mv(e){let t=e?.debug||!1,n=[];function r(e){if(!e||typeof e!=`object`||Object.keys(e).length===0)return()=>{};if(!e._context&&t){let t=Error(`tmp`).stack?.split(`
14`)[2]?.split(` `)[5];t?.includes(`/`)&&(t=`anonymous`),e._context=t}let r={};for(let t in e){let n=e[t];n!==void 0&&n!==``&&(r[t]=n)}let i;return Object.keys(r).filter(e=>!e.startsWith(`_`)).length>0&&(i=n.push(r)),()=>{i!==void 0&&n.splice(i-1,1)}}function i(e){let t={};e?.debug&&(t._context={}),t._priority={};for(let r in n.sort((e,t)=>(e._priority||0)-(t._priority||0)))for(let i in n[r]){let a=i,o=e?.resolveRefs?be(n[r][i]):n[r][i];!i.startsWith(`_`)&&o!==void 0&&o!==``&&(t[i]=o,n[r]._priority!==void 0&&n[r]._priority!==-1&&(t._priority[a]=n[r]._priority),e?.debug&&(t._context[a]=n[r]._context?.[a]||n[r]._context||`anonymous`))}return e?.skipNormalize?t:jv(t)}return{stack:n,push:r,get:i}}var Nv=m({name:`nuxt-site-config:init`,enforce:`pre`,async setup(e){let t=Mv(),n=_t(`site-config`);{let e=n.value||window.__NUXT_SITE_CONFIG__||{};for(let n in e)n[0]!==`_`&&t.push({[n]:e[n],_priority:e._priority?.[n]||-1})}return{provide:{nuxtSiteConfig:t}}}}),Pv=m(()=>{let e=ze();bn(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),Fv=m(e=>{let t;async function n(){let r;try{r=await en()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,p);try{let n=await rt(it(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}bn(()=>{t=setTimeout(n,p)})}),Iv=m({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Pe(navigator.userAgent)&&Ha()})}}),Lv=m({name:`nuxt:chunk-reload`,setup(e){let t=ze(),n=f(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){Ha({path:Ze(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),Rv=m({name:`pinia`,setup(e){let t=cn();return e.vueApp.use(t),sn(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){let e=a();e.payload.pinia=S(e.$pinia).state.value,sn(void 0)}}});function zv(e,{extendComposer:t,extendComposerInstance:n}){let r=Te(),i=e.install.bind(e);e.install=(a,...o)=>{let s=yn({},o[0]);s.__composerExtend=t=>(n(t,jt(e)),()=>{}),e.mode===`legacy`&&(s.__vueI18nExtend=e=>(n(e,jt(e)),()=>{})),Reflect.apply(i,e,[a,s]);let c=jt(e);if(r.run(()=>{t(c),e.mode===`legacy`&&bt(e.global)&&n(e.global,jt(e.global))}),e.mode===`composition`&&a.config.globalProperties.$i18n!=null&&n(a.config.globalProperties.$i18n,c),a.unmount){let e=a.unmount.bind(a);a.unmount=()=>{r.stop(),e()}}}}var Bv=m({name:`i18n:plugin`,parallel:!1,async setup(e){let t,n,r=a(e._id);Object.defineProperty(e.versions,"nuxtI18n",{get:()=>`9.5.6`});let i=r.$config.public.i18n,o=yt(i);Zt(i,o),r.$config.public.i18n.defaultLocale=o;let c={...i,defaultLocale:o,baseUrl:Rt(r)},l=([t,n]=s(()=>Qt(St,a())),t=await t,n(),t);l.messages||={},l.fallbackLocale??=!1,o&&(l.locale=o);for(let e of Tt)l.messages[e]??={};let u=Cn(l);
14r._vueI18n=u,u.__localeFromRoute=Dt(),u.__firstAccess=!0,u.__setLocale=e=>{let t=xt(u);de(t.locale)?t.locale.value=e:t.locale=e};let d=Ft(),f=Lt();return zv(u,{extendComposer(e){let t=C(c.locales);e.locales=De(()=>t.value);let n=C(Tt);e.localeCodes=De(()=>n.value);let i=C(c.baseUrl());e.baseUrl=De(()=>i.value),Ee(e.locale,()=>i.value=c.baseUrl()),e.strategy=c.strategy,e.localeProperties=De(()=>Ot.find(t=>t.code===e.locale.value)||{code:e.locale.value}),e.setLocale=async t=>{if(await Mt(r,t,u.__firstAccess),e.strategy===`no_prefix`){await e.loadLocaleMessages(t),u.__setLocale(t);return}let n=r.$router.currentRoute.value,i=await r.runWithContext(()=>zt({to:n,nuxtApp:r,locale:t,routeLocale:u.__localeFromRoute(n)}));await r.runWithContext(()=>Xt({nuxt:r,redirectPath:i,locale:t,route:n},!0))},e.loadLocaleMessages=async t=>await Pt(t,Et,e.mergeLocaleMessage.bind(e),r),e.differentDomains=c.differentDomains,e.defaultLocale=c.defaultLocale,e.getBrowserLocale=()=>Yt(),e.getLocaleCookie=()=>It(d,f,e.defaultLocale),e.setLocaleCookie=e=>{!f||!f.useCookie||(d.value=e)},e.onBeforeLanguageSwitch=(e,t,n,i)=>r.callHook(`i18n:beforeLocaleSwitch`,{oldLocale:e,newLocale:t,initialSetup:n,context:i}),e.onLanguageSwitched=(e,t)=>r.callHook(`i18n:localeSwitched`,{oldLocale:e,newLocale:t}),e.finalizePendingLocaleChange=async()=>{u.__pendingLocale&&=(u.__setLocale(u.__pendingLocale),u.__resolvePendingLocalePromise?.(),void 0)},e.waitForPendingLocaleChange=async()=>{u.__pendingLocale&&u.__pendingLocalePromise&&await u.__pendingLocalePromise}},extendComposerInstance(e,t){let n=[[`locales`,()=>t.locales],[`localeCodes`,()=>t.localeCodes],[`baseUrl`,()=>t.baseUrl],[`strategy`,()=>t.strategy],[`localeProperties`,()=>t.localeProperties],[`setLocale`,()=>async e=>Reflect.apply(t.setLocale,t,[e])],[`loadLocaleMessages`,()=>async e=>Reflect.apply(t.loadLocaleMessages,t,[e])],[`differentDomains`,()=>t.differentDomains],[`defaultLocale`,()=>t.defaultLocale],[`getBrowserLocale`,()=>()=>Reflect.apply(t.getBrowserLocale,t,[])],[`getLocaleCookie`,()=>()=>Reflect.apply(t.getLocaleCookie,t,[])],[`setLocaleCookie`,()=>e=>Reflect.apply(t.setLocaleCookie,t,[e])],[`onBeforeLanguageSwitch`,()=>(e,n,r,i)=>Reflect.apply(t.onBeforeLanguageSwitch,t,[e,n,r,i])],[`onLanguageSwitched`,()=>(e,n)=>Reflect.apply(t.onLanguageSwitched,t,[e,n])],[`finalizePendingLocaleChange`,()=>()=>Reflect.apply(t.finalizePendingLocaleChange,t,[])],[`waitForPendingLocaleChange`,()=>()=>Reflect.apply(t.waitForPendingLocaleChange,t,[])]];for(let[t,r]of n)Object.defineProperty(e,t,{get:r})}}),r.vueApp.use(u),Object.defineProperty(r,"$i18n",{get:()=>xt(u)}),{provide:{localeHead:Kt(Jt),localePath:qt(),localeRoute:Bt(),getRouteBaseName:Nt(),switchLocalePath:Gt(),resolveRoute:Kt($t),localeLocation:Wt()}}}},1),Vv=m({name:`i18n:plugin:switch-locale-path-ssr`,dependsOn:[`i18n:plugin`],setup(e){let t=a(e._id);if(t.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;let n=Gt(),r=new RegExp([`<!--${Vt}-\\[(\\w+)\\]-->`,`.+?`,`<!--/${Vt}-->`].join(``),`g`);t.hook(`app:rendered`,e=>{e.renderResult?.html!=null&&(e.renderResult.html=e.renderResult.html.replaceAll(r,(e,t)=>e.replace(/href="([^"]+)"/,`href="${encodeURI(n(t??``))}"`)))})}}),Hv=m({name:`i18n:plugin:route-locale-detect`,dependsOn:[`i18n:plugin`],async setup(e){let t,n,r=a(e._id),i=r.$router.currentRoute;async function o(e){let t=Ut(r,e,r._vueI18n.__localeFromRoute(e),_(r.$i18n.locale),r.$i18n.getLocaleCookie());if(r._vueI18n.__firstAccess){r._vueI18n.__setLocale(t);let e=At(_(r._vueI18n.global.fallbackLocale),[t]);await Promise.all(e.map(e=>r.$i18n.loadLocaleMessages(e))),await r.$i18n.loadLocaleMessages(t)}return await r.runWithContext(()=>Mt(r,t,r._vueI18n.__firstAccess))&&(t=_(r.$i18n.locale)),t}[t,n]=s(()=>o(i.value)),await t,n();let c=Ve(async(e,t)=>{let n,i,a=([n,i]=s(()=>r.runWithContext(()=>o(e))),n=await n,i(),n),c=([n,i]=s(()=>r.runWithContext(()=>zt({to:e,nuxtApp:r,from:t,locale:a,routeLocale:r._vueI18n.__localeFromRoute(e)},!0))),n=await n,i(),n);return r._vueI18n.__firstAccess=!1,[n,i]=s(()=>r.runWithContext(()=>Xt({nuxt:r,redirectPath:c,locale:a,route:e}))),n=await n,i(),n},1);Ie(`locale-changing`,c,{global:!0})}},1),Uv=m({name:`nuxt:global-components`}),Wv=m({name:`nuxt:prefetch`,setup(e){let t=ze();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof zi[t]==`function`&&await zi[t]()})}),e.hooks.hook(`link:prefetch`,e=>
14{if(tt(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=un(n.meta.middleware).filter(e=>typeof e==`string`);for(let e of i){let t=S_[e];typeof t==`function`&&t()}typeof r==`string`&&r in zi&&xn(zi[r])})}}),Gv=m({name:`sentry-client-config`,async setup(){let e,t;[e,t]=s(()=>T(()=>import(`./CdMletBD.js`),__vite__mapDeps([310,1,2,28,311]),import.meta.url)),await e,t()}},1);function Kv(e,t){if(e==null)return;let n=e;for(let e=0;e<t.length;e++){if(n===void 0||n[t[e]]===void 0)return;if(n===null||n[t[e]]===null)return null;n=n[t[e]]}return n}function qv(e,t,n){if(n.length===0)return t;let r=n[0];return n.length>1&&(t=qv(typeof e!=`object`||!e||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function Jv(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);let n={};for(let t in e)n[t]=e[t];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);let n={};for(let t in e)n[t]=e[t];return n}return qv(e,Jv(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function Yv(e,t){return t.map(e=>e.split(`.`)).map(t=>[t,Kv(e,t)]).filter(e=>e[1]!==void 0).reduce((e,t)=>qv(e,t[1],t[0]),{})}function Xv(e,t){return t.map(e=>e.split(`.`)).reduce((e,t)=>Jv(e,t),e)}function Zv(e,{storage:t,serializer:n,key:r,debug:i,pick:a,omit:o,beforeHydrate:s,afterHydrate:c},l,u=!0){try{u&&s?.(l);let i=t.getItem(r);if(i){let t=n.deserialize(i),r=a?Yv(t,a):t,s=o?Xv(r,o):r;e.$patch(s)}u&&c?.(l)}catch(e){i&&console.error(`[pinia-plugin-persistedstate]`,e)}}function Qv(e,{storage:t,serializer:n,key:r,debug:i,pick:a,omit:o}){try{let i=a?Yv(e,a):e,s=o?Xv(i,o):i,c=n.serialize(s);t.setItem(r,c)}catch(e){i&&console.error(`[pinia-plugin-persistedstate]`,e)}}function $v(e,t){return typeof e==`function`?e(t):typeof e==`string`?e:t}function ey(e,t,n){let{pinia:r,store:i,options:{persist:a=n}}=e;if(!a)return;if(!(i.$id in r.state.value)){let e=r._s.get(i.$id.replace(`__hot:`,``));e&&Promise.resolve().then(()=>e.$persist());return}let o=(Array.isArray(a)?a:a===!0?[{}]:[a]).map(t);i.$hydrate=({runHooks:t=!0}={})=>{o.forEach(n=>{Zv(i,n,e,t)})},i.$persist=()=>{o.forEach(e=>{Qv(i.$state,e)})},o.forEach(t=>{Zv(i,t,e),i.$subscribe((e,n)=>Qv(n,t),{detached:!0})})}function ty(e){let t=f().public.piniaPluginPersistedstate;ey(e,n=>{let r=$v(n.key,e.store.$id);return{key:t.key?t.key.replace(/%id/g,r):r,debug:n.debug??t.debug??!1,serializer:n.serializer??{serialize:e=>JSON.stringify(e),deserialize:e=>JSON.parse(e)},storage:n.storage??(t.storage?t.storage===`cookies`?Vi.cookies(t.cookieOptions):Vi[t.storage]():Vi.cookies()),beforeHydrate:n.beforeHydrate,afterHydrate:n.afterHydrate,pick:n.pick,omit:n.omit}},t.auto??!1)}var ny=m({name:`pinia-plugin-persistedstate`,setup({$pinia:e}){e.use(ty)}}),ry=m({name:`nuxt-site-config:i18n`,dependsOn:[`i18n:plugin`,`i18n:plugin:ssg-detect`,`i18n:plugin:route-locale-detect`],setup(e){let t=e.$i18n;if(!t)return;let n=a().$nuxtSiteConfig,r=be(t.baseUrl);if(r){let e=n.get({resolveRefs:!0}),t=e.url;if(t&&!t.includes(`localhost`)){let n=Qe(r,`https://`),i=Qe(t,`https://`);n.host!==i.host&&e.env===`production`&&console.error(`[Nuxt Site Config] Your I18n baseUrl \`${n.host}\` doesn't match your site url ${i.host}. This will cause production SEO issues. Either provide a matching baseUrl or remove the site url config.`)}}let i;Ee(t.locale,()=>{i&&i();let e=De(()=>{let e=be(t.locales).find(e=>e.code===t.defaultLocale);return e?.language||e?.iso||t.defaultLocale});i=n.push({_priority:-1,_context:`@nuxtjs/i18n`,url:De(()=>be(t.baseUrl)||void 0),defaultLocale:e,currentLocale:De(()=>{let n=be(t.localeProperties);return n.language?n.language:e.value}),description:De(()=>t.te(`nuxtSiteConfig.description`)?t.t(`nuxtSiteConfig.description`):void 0),name:De(()=>t.te(`nuxtSiteConfig.name`)?t.t(`nuxtSiteConfig.name`):void 0)})},{immediate:!0})}}),iy=[`getActiveHead`,`useHead`,`useSeoMeta`,`useHeadSafe`,`useServerHead`,`useServerSeoMeta`,`useServerHeadSafe`],ay=`%separator`;RegExp(`${ay}(?:\\s*${ay})*`,`g`),console.createTask!==void 0&&console.createTask;var oy;function sy(){return oy}var cy=Symbol(`ScriptProxyTarget`);function ly(){}
14ly[cy]=!0,pe[0];function uy(e){return typeof e==`function`?e():_(e)}function dy(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;let t=uy(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(e=>dy(e));if(typeof t==`object`){let e={};for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(n===`titleTemplate`||n[0]===`o`&&n[1]===`n`){e[n]=_(t[n]);continue}e[n]=dy(t[n])}return e}return t}var fy=`usehead`,py=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},my=`__unhead_injection_handler__`;function hy(){return my in py?py[my]():ae(fy)||sy()}function gy(e,t={}){let n=t.head||hy();if(n)return n.ssr?n.push(e,t):_y(n,e,t)}function _y(e,t,n={}){let r=C(!1),i=C({});ge(()=>{i.value=r.value?{}:dy(t)});let a=e.push(i.value,n);return Ee(i,e=>{a.patch(e)}),v()&&(ee(()=>{a.dispose()}),te(()=>{r.value=!0}),ie(()=>{r.value=!1})),a}[...iy];var vy={install(e){e.mixin({created(){if(typeof this.$options?.jsonld!=`function`)return;let e=De(()=>this.$options.jsonld.call(this));gy(()=>({script:[{type:`application/ld+json`,innerHTML:e.value?JSON.stringify(e.value,null,``):void 0}]}))}})}},yy=m(e=>{e.vueApp.use(vy)}),by=m(e=>{{let t=e.$config.public.gtm,n=ze(),r={...t,vueRouter:t.enableRouterSync&&n?n:void 0};e.vueApp.use(Hi(r))}}),xy={breakpoints:{xs:320,sm:640,md:768,lg:1024,xl:1280,"2xl":1536},cookie:{expires:365,name:`viewport`,path:`/`,sameSite:`Strict`,secure:!0},defaultBreakpoints:{desktop:`lg`,mobile:`xs`,tablet:`md`},fallbackBreakpoint:`lg`,feature:`minWidth`},Sy={breakpoints:{desktop:1024,desktopMedium:1280,desktopWide:1600,mobile:320,mobileMedium:375,mobileWide:425,tablet:768},cookie:{expires:365,name:`viewport`,path:`/`,sameSite:`Strict`,secure:!0},defaultBreakpoints:{desktop:`desktop`,mobile:`mobile`,tablet:`tablet`},fallbackBreakpoint:`desktop`,feature:`minWidth`};function Cy(e={},t=Sy){return{...t,...e,cookie:{...t.cookie,...e.cookie}}}function wy(){let e=He();return De(()=>Cy(e.meta.viewport,xy))}var Ty=n(i(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self,n.cookie=r())})(e,(function(){function e(e){var t=[],n=``;for(n in e)t.push(n);return t}function t(e){return e=JSON.stringify(e),!(typeof e!=`string`||!/^\{[\s\S]*\}$/.test(e))}function n(e){return e instanceof Array}function r(e){return Array.prototype.slice.call(e)}function i(){if(!(this instanceof i))return new i}i.prototype={get:function(e){for(var t=e+`=`,n=document.cookie.split(`;`),r=0;r<n.length;r++){for(var i=n[r];i.charAt(0)==` `;)i=i.substring(1,i.length);if(i.indexOf(t)==0)return decodeURI(i.substring(t.length,i.length))}return!1},set:function(e,n,r){if(t(e))for(let t in e)this.set(t,e[t],n,r);else if(typeof e==`string`){let i=t(r)?r:{expires:r},a=i.path===void 0?`;path=/`:`;path=${i.path};path=/`,o=i.domain?`;domain=${i.domain}`:``,s=i.secure?`;secure`:``,c=i.expires===void 0?``:i.expires;typeof c==`string`&&c!==``?c=new Date(c):typeof c==`number`&&(c=new Date(+new Date+864e5*c)),c!==``&&`toGMTString`in c&&(c=`;expires=${c.toGMTString()}`);let l=i.sameSite?`;SameSite=${i.sameSite}`:``;document.cookie=`${e}=${encodeURI(n)+c+a+o+s+l}`}},remove:function(e){e=n(e)?e:r(arguments);for(var t=0,i=e.length;t<i;t++)this.set(e[t],``,-1);return e},clear:function(t){return t?this.remove(t):this.remove(e(this.all()))},all:function(){if(document.cookie===``)return{};for(var e=document.cookie.split(`; `),t={},n=0,r=e.length;n<r;n++){var i=e[n].split(`=`);t[decodeURI(i[0])]=decodeURI(i[1])}return t}};let a=null,o=function(e,n,r){let o=arguments;if(a||=i(),o.length===0)return a.all();if(o.length===1&&e===null)return a.clear();if(o.length===2&&!n)return a.clear(e);if(typeof e==`string`&&!n)return a.get(e);if(typeof e==`string`&&n||t(e))return a.set(e,n,r)};for(let e in i.prototype)o[e]=i.prototype[e];return o}))}))(),1),Ey=`viewportState`;function Dy(e,t){e=b(e);let n=De({get(){return t.value||e.value.fallbackBreakpoint},set(n){t.value=n,typeof window<`u`&&e.value.cookie.name&&Ty.default.set(e.value.cookie.name,t.value,e.value.cookie)}}),r=De(()=>{let t=.1,n=e.value.breakpoints||{},r=Object.keys(n).sort((e,t)=>
14n[e]-n[t]),i={},a=r.length;for(;a--;){let o=r[a],s=n[o],c=n[r[a+1]],l=n[r[a-1]],u=``;e.value.feature===`minWidth`?(u=a>0?`(min-width: ${s}px)`:`(min-width: 1px)`,c&&(u+=` and (max-width: ${c-t}px)`)):(u=`(max-width: ${s}px)`,l&&(u=`(min-width: ${l+t}px) and ${u}`)),i[o]={mediaQuery:u,size:s}}return i}),i=De(()=>Object.keys(r.value));return{breakpoint:n,breakpointValue:a,isGreaterOrEquals:s,isGreaterThan:o,isLessOrEquals:l,isLessThan:c,match:u,matches:d,queries:r};function a(t){return(be(e).breakpoints||{})[t]}function o(e){let t=i.value.indexOf(n.value),r=i.value.indexOf(e);return r!==-1&&r>t}function s(e){return o(e)||u(e)}function c(e){let t=i.value.indexOf(n.value),r=i.value.indexOf(e);return r!==-1&&r<t}function l(e){return c(e)||u(e)}function u(e){return n.value===e}function d(...e){return e.includes(n.value)}}var Oy=m(e=>{let t=Dy(wy(),_t(Ey,`$UTe_wfzPZt`)),n=[];return e.hook(`app:suspense:resolve`,()=>{for(let e in t.queries.value){let r=function(n){n.matches&&(t.breakpoint.value=e)},{mediaQuery:i}=t.queries.value[e],a=window.matchMedia(i);a.matches&&(t.breakpoint.value=e),a.addEventListener(`change`,r),n.push(()=>a.removeEventListener(`change`,r))}}),e.vueApp.onUnmount(()=>{for(;n.length;)n.pop()?.()}),e.provide(`viewport`,t)}),ky=m(()=>{`serviceWorker`in navigator&&window.addEventListener(`load`,()=>{navigator.serviceWorker.register(`/sw-asset-retry.js`).then(e=>{console.log(`Asset retry service worker registered:`,e.scope)}).catch(e=>{console.error(`Service worker registration failed:`,e)})})}),Ay=m(()=>{let e=`country-select`,t=31536e3,{$i18n:n}=a(),r=He(),{brand:i}=f().public,{pathname:o}=Ht(),{defaultLocale:s}=f().public,c=gn(`locale`),l=Object.values(mn[i]??{}).flatMap(e=>e.i18n).map(e=>e.code).find(e=>o.toLowerCase().startsWith(`/${e.toLowerCase()}`))||c.value||s,u=!n.locale.value||!n.locales.value.map(e=>e.code).includes(n.locale.value);o!==`/`&&o!==`/${e}`&&o!==`/${s}/${e}`&&(n.setLocale(l),r.name&&r.name!==e?(gn(`locale`,{maxAge:t}).value=n.locale.value,gn(`first-locale-check`,{maxAge:t}).value=`initialized`):u&&n.setLocale(s),n.onLanguageSwitched=async(e,n)=>{gn(`locale`,{maxAge:t}).value=n})}),jy=()=>{let{defaultCookieDomain:e}=f().public;return gn(`growthbook-id`,{path:`/`,domain:e,maxAge:2592e3})},My={fetch:globalThis.fetch?globalThis.fetch.bind(globalThis):void 0,SubtleCrypto:globalThis.crypto?globalThis.crypto.subtle:void 0,EventSource:globalThis.EventSource};function Ny(){return My}function Py(e){let t=2166136261,n=e.length;for(let r=0;r<n;r++)t^=e.charCodeAt(r),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return t>>>0}function Fy(e,t,n){return n===2?Py(Py(e+t)+``)%1e4/1e4:n===1?Py(t+e)%1e3/1e3:null}function Iy(e){return e<=0?[]:Array(e).fill(1/e)}function Ly(e,t){return e>=t[0]&&e<t[1]}function Ry(e,t){let n=Fy(`__`+t[0],e,1);return n!==null&&n>=t[1]&&n<t[2]}function zy(e,t){for(let n=0;n<t.length;n++)if(Ly(e,t[n]))return n;return-1}function By(e){try{let t=e.replace(/([^\\])\//g,`$1\\/`);return new RegExp(t)}catch(e){console.error(e);return}}function Vy(e,t){if(!t.length)return!1;let n=!1,r=!1;for(let i=0;i<t.length;i++){let a=Wy(e,t[i].type,t[i].pattern);if(t[i].include===!1){if(a)return!1}else n=!0,a&&(r=!0)}return r||!n}function Hy(e,t,n){try{let r=t.replace(/[*.+?^${}()|[\]\\]/g,`\\$&`).replace(/_____/g,`.*`);return n&&(r=`\\/?`+r.replace(/(^\/|\/$)/g,``)+`\\/?`),RegExp(`^`+r+`$`,`i`).test(e)}catch{return!1}}function Uy(e,t){try{let n=new URL(t.replace(/^([^:/?]*)\./i,`https://$1.`).replace(/\*/g,`_____`),`https://_____`),r=[[e.host,n.host,!1],[e.pathname,n.pathname,!0]];return n.hash&&r.push([e.hash,n.hash,!1]),n.searchParams.forEach((t,n)=>{r.push([e.searchParams.get(n)||``,t,!1])}),!r.some(e=>!Hy(e[0],e[1],e[2]))}catch{return!1}}function Wy(e,t,n){try{let r=new URL(e,`https://_`);if(t===`regex`){let e=By(n);return e?e.test(r.href)||e.test(r.href.substring(r.origin.length)):!1}return t===`simple`&&Uy(r,n)}catch{return!1}}function Gy(e,t,n){t=t===void 0?1:t,t<0?t=0:t>1&&(t=1);let r=Iy(e);n||=r,n.length!==e&&(n=r);let i=n.reduce((e,t)=>t+e,0);(i<.99||i>1.01)&&(n=r);let a=0;return n.map(e=>{let n=a;return a+=e,[n,n+t*e]})}function Ky(e,t,n){if(!t)return null;let r=t.split(`?`)[1];if(!r)return null;let i=r.replace(/#.*/,``).split(`&`).map(e=>e.split(`=`,2)).filter(([t])=>t===e).map(([,e])=>parseInt(e));return i.length>0&&i[0]>=0&&i[0]<n?i[0]:null}function qy(e){try{return e()}catch(e){return console.error(e),!1}}var Jy=e=>Uint8Array.from(atob(e),e=>e.charCodeAt(0));
14async function Yy(e,t,n){if(t||=``,n=n||globalThis.crypto&&globalThis.crypto.subtle||My.SubtleCrypto,!n)throw Error(`No SubtleCrypto implementation found`);try{let r=await n.importKey(`raw`,Jy(t),{name:`AES-CBC`,length:128},!0,[`encrypt`,`decrypt`]),[i,a]=e.split(`.`),o=await n.decrypt({name:`AES-CBC`,iv:Jy(i)},r,Jy(a));return new TextDecoder().decode(o)}catch{throw Error(`Failed to decrypt`)}}function Xy(e){return typeof e==`string`?e:JSON.stringify(e)}function Zy(e){typeof e==`number`&&(e+=``),(!e||typeof e!=`string`)&&(e=`0`);let t=e.replace(/(^v|\+.*$)/g,``).split(/[-.]/);return t.length===3&&t.push(`~`),t.map(e=>e.match(/^[0-9]+$/)?e.padStart(5,` `):e).join(`-`)}function Qy(){let e;try{e=`1.6.5`}catch{e=``}return e}function $y(e,t){let n,r;try{n=new URL(e),r=new URL(t)}catch(e){return console.error(`Unable to merge query strings: ${e}`),t}return n.searchParams.forEach((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)}),r.toString()}function eb(e){return typeof e==`object`&&!!e}function tb(e){return e.urlPatterns&&e.variations.some(e=>eb(e)&&`urlRedirect`in e)?`redirect`:e.variations.some(e=>eb(e)&&(e.domMutations||`js`in e||`css`in e))?`visual`:`unknown`}async function nb(e,t){return new Promise(n=>{let r=!1,i,a=e=>{r||(r=!0,i&&clearTimeout(i),n(e||null))};t&&(i=setTimeout(()=>a(),t)),e.then(e=>a(e)).catch(()=>a())})}var rb={staleTTL:6e4,maxAge:144e5,cacheKey:`gbFeaturesCache`,backgroundSync:!0,maxEntries:10,disableIdleStreams:!1,idleStreamInterval:2e4,disableCache:!1},ib=Ny(),ab={fetchFeaturesCall:({host:e,clientKey:t,headers:n})=>ib.fetch(`${e}/api/features/${t}`,{headers:n}),fetchRemoteEvalCall:({host:e,clientKey:t,payload:n,headers:r})=>{let i={method:`POST`,headers:{"Content-Type":`application/json`,...r},body:JSON.stringify(n)};return ib.fetch(`${e}/api/eval/${t}`,i)},eventSourceCall:({host:e,clientKey:t,headers:n})=>n?new ib.EventSource(`${e}/sub/${t}`,{headers:n}):new ib.EventSource(`${e}/sub/${t}`),startIdleListener:()=>{let e;if(!(typeof window<`u`&&typeof document<`u`))return;let t=()=>{document.visibilityState===`visible`?(window.clearTimeout(e),_b()):document.visibilityState===`hidden`&&(e=window.setTimeout(gb,rb.idleStreamInterval))};return document.addEventListener(`visibilitychange`,t),()=>document.removeEventListener(`visibilitychange`,t)},stopIdleListener:()=>{}};try{globalThis.localStorage&&(ib.localStorage=globalThis.localStorage)}catch{}var ob=new Map,sb=!1,cb=new Map,lb=new Map,ub=new Map,db=new Set;function fb(e){Object.assign(rb,e),rb.backgroundSync||Mb()}async function pb({instance:e,timeout:t,skipCache:n,allowStale:r,backgroundSync:i}){return i||(rb.backgroundSync=!1),yb({instance:e,allowStale:r,timeout:t,skipCache:n})}function mb(e){let t=bb(e),n=ob.get(t)||new Set;n.add(e),ob.set(t,n)}function hb(e){ob.forEach(t=>t.delete(e))}function gb(){ub.forEach(e=>{e&&(e.state=`idle`,kb(e))})}function _b(){ub.forEach(e=>{e&&e.state===`idle`&&Ab(e)})}async function vb(){try{if(!ib.localStorage)return;await ib.localStorage.setItem(rb.cacheKey,JSON.stringify(Array.from(cb.entries())))}catch{}}async function yb({instance:e,allowStale:t,timeout:n,skipCache:r}){let i=bb(e),a=xb(e),o=new Date,s=new Date(o.getTime()-rb.maxAge+rb.staleTTL);await Sb();let c=!rb.disableCache&&!r?cb.get(a):void 0;return c&&(t||c.staleAt>o)&&c.staleAt>s?(c.sse&&db.add(i),c.staleAt<o?Eb(e):Db(e),{data:c.data,success:!0,source:`cache`}):await nb(Eb(e),n)||{data:null,success:!1,source:`timeout`,error:Error(`Timeout`)}}function bb(e){let[t,n]=e.getApiInfo();return`${t}||${n}`}function xb(e){let t=bb(e);if(!(`isRemoteEval`in e)||!e.isRemoteEval())return t;let n=e.getAttributes(),r=e.getCacheKeyAttributes()||Object.keys(e.getAttributes()),i={};r.forEach(e=>{i[e]=n[e]});let a=e.getForcedVariations(),o=e.getUrl();return`${t}||${JSON.stringify({ca:i,fv:a,url:o})}`}async function Sb(){if(!sb){sb=!0;try{if(ib.localStorage){let e=await ib.localStorage.getItem(rb.cacheKey);if(!rb.disableCache&&e){let t=JSON.parse(e);t&&Array.isArray(t)&&t.forEach(([e,t])=>{cb.set(e,{...t,staleAt:new Date(t.staleAt)})}),Cb()}}}catch{}if(!rb.disableIdleStreams){let e=ab.startIdleListener();e&&(ab.stopIdleListener=e)}}}function Cb(){let e=Array.from(cb.entries()).map(([e,t])=>({key:e,staleAt:t.staleAt.getTime()})).sort((e,t)=>
14e.staleAt-t.staleAt),t=Math.min(Math.max(0,cb.size-rb.maxEntries),cb.size);for(let n=0;n<t;n++)cb.delete(e[n].key)}function wb(e,t,n){let r=n.dateUpdated||``,i=new Date(Date.now()+rb.staleTTL),a=rb.disableCache?void 0:cb.get(t);if(a&&r&&a.version===r){a.staleAt=i,vb();return}rb.disableCache||(cb.set(t,{data:n,version:r,staleAt:i,sse:db.has(e)}),Cb()),vb();let o=ob.get(e);o&&o.forEach(e=>Tb(e,n))}async function Tb(e,t){await e.setPayload(t||e.getPayload())}async function Eb(e){let{apiHost:t,apiRequestHeaders:n}=e.getApiHosts(),r=e.getClientKey(),i=`isRemoteEval`in e&&e.isRemoteEval(),a=bb(e),o=xb(e),s=lb.get(o);return s||(s=(i?ab.fetchRemoteEvalCall({host:t,clientKey:r,payload:{attributes:e.getAttributes(),forcedVariations:e.getForcedVariations(),forcedFeatures:Array.from(e.getForcedFeatures().entries()),url:e.getUrl()},headers:n}):ab.fetchFeaturesCall({host:t,clientKey:r,headers:n})).then(e=>{if(!e.ok)throw Error(`HTTP error: ${e.status}`);return e.headers.get(`x-sse-support`)===`enabled`&&db.add(a),e.json()}).then(t=>(wb(a,o,t),Db(e),lb.delete(o),{data:t,success:!0,source:`network`})).catch(e=>(lb.delete(o),{data:null,source:`error`,success:!1,error:e})),lb.set(o,s)),s}function Db(e,t=!1){let n=bb(e),r=xb(e),{streamingHost:i,streamingHostRequestHeaders:a}=e.getApiHosts(),o=e.getClientKey();if(t&&db.add(n),rb.backgroundSync&&db.has(n)&&ib.EventSource){if(ub.has(n))return;let e={src:null,host:i,clientKey:o,headers:a,cb:t=>{try{if(t.type===`features-updated`){let e=ob.get(n);e&&e.forEach(e=>{Eb(e)})}else if(t.type===`features`){let e=JSON.parse(t.data);wb(n,r,e)}e.errors=0}catch{Ob(e)}},errors:0,state:`active`};ub.set(n,e),Ab(e)}}function Ob(e){if(e.state!==`idle`&&(e.errors++,e.errors>3||e.src&&e.src.readyState===2)){let t=3**(e.errors-3)*(1e3+Math.random()*1e3);kb(e),setTimeout(()=>{[`idle`,`active`].includes(e.state)||Ab(e)},Math.min(t,3e5))}}function kb(e){e.src&&(e.src.onopen=null,e.src.onerror=null,e.src.close(),e.src=null,e.state===`active`&&(e.state=`disabled`))}function Ab(e){e.src=ab.eventSourceCall({host:e.host,clientKey:e.clientKey,headers:e.headers}),e.state=`active`,e.src.addEventListener(`features`,e.cb),e.src.addEventListener(`features-updated`,e.cb),e.src.onerror=()=>Ob(e),e.src.onopen=()=>{e.errors=0}}function jb(e,t){kb(e),ub.delete(t)}function Mb(){db.clear(),ub.forEach(jb),ob.clear(),ab.stopIdleListener()}function Nb(e,t){if(t.streaming){if(!e.getClientKey())throw Error(`Must specify clientKey to enable streaming`);t.payload&&Db(e,!0),mb(e)}}var Pb=/^[a-zA-Z:_][a-zA-Z0-9:_.-]*$/,Fb={revert:function(){}},Ib=new Map,Lb=new Set;function Rb(e){return e===`html`?{childList:!0,subtree:!0,attributes:!0,characterData:!0}:{childList:!1,subtree:!1,attributes:!0,attributeFilter:[e]}}function zb(e){var t=Ib.get(e);return t||(t={element:e,attributes:{}},Ib.set(e,t)),t}function Bb(e,t,n,r,i){var a=n(e),o={isDirty:!1,originalValue:a,virtualValue:a,mutations:[],el:e,_positionTimeout:null,observer:new MutationObserver(function(){if(!(t===`position`&&o._positionTimeout)){t===`position`&&(o._positionTimeout=setTimeout(function(){o._positionTimeout=null},1e3));var r=n(e);(t!==`position`||r.parentNode!==o.virtualValue.parentNode||r.insertBeforeNode!==o.virtualValue.insertBeforeNode)&&r!==o.virtualValue&&(o.originalValue=r,i(o))}}),mutationRunner:i,setValue:r,getCurrentValue:n};return t===`position`&&e.parentNode?o.observer.observe(e.parentNode,{childList:!0,subtree:!0,attributes:!1,characterData:!1}):o.observer.observe(e,Rb(t)),o}function Vb(e,t){var n=t.getCurrentValue(t.el);t.virtualValue=e,e&&typeof e!=`string`?(!n||e.parentNode!==n.parentNode||e.insertBeforeNode!==n.insertBeforeNode)&&(t.isDirty=!0,ux()):e!==n&&(t.isDirty=!0,ux())}function Hb(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),Vb(sx(t),e)}function Ub(e){var t=new Set(e.originalValue.split(/\s+/).filter(Boolean));e.mutations.forEach(function(e){return e.mutate(t)}),Vb(Array.from(t).filter(Boolean).join(` `),e)}function Wb(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),Vb(t,e)}function Gb(e){var t=e.parentSelector,n=e.insertBeforeSelector,r=document.querySelector(t);if(!r)return null;var i=n?document.querySelector(n):null;return n&&!i?null:{parentNode:r,insertBeforeNode:i}}function Kb(e){var t=e.originalValue;e.mutations.forEach(function(e){t=Gb(e.mutate())||t}),Vb(t,e)}var qb=function(e){return e.innerHTML},Jb=function(e,t){return e.innerHTML=t};function Yb(e){var t=zb(e);return t.html||=Bb(e,`html`,qb,Jb,Hb),t.html}var Xb=function(e){return{parentNode:e.parentElement,insertBeforeNode:e.nextElementSibling}},Zb=function(e,t){t.insertBeforeNode&&!t.parentNode.contains(t.insertBeforeNode)||t.parentNode.insertBefore(e,t.insertBeforeNode)};function Qb(e){var t=zb(e);return t.position||=Bb(e,`position`,Xb,Zb,Kb),t.position}var $b=function(e,t){return t?e.className=t:e.removeAttribute(`class`)},ex=function(e){return e.className};function tx(e){var t=zb(e);return t.classes||=Bb(e,`class`,ex,$b,Ub),t.classes}var nx=function(e){return function(t){return t.getAttribute(e)??null}},rx=function(e){return function(t,n){return n===null?t.removeAttribute(e):t.setAttribute(e,n)}};function ix(e,t){var n=zb(e);return n.attributes[t]||(n.attributes[t]=Bb(e,t,nx(t),rx(t),Wb)),n.attributes[t]}function ax(e,t){var n=Ib.get(e);if(n)if(t===`html`){var r,i;(r=n.html)==null||(i=r.observer)==null||i.disconnect(),delete n.html}else if(t===`class`){var a,o;(a=n.classes)==null||(o=a.observer)==null||o.disconnect(),delete n.classes}else if(t===`position`){var s,c;(s=n.position)==null||(c=s.observer)==null||c.disconnect(),delete n.position}else{var l,u,d;(l=n.attributes)==null||(u=l[t])==null||(d=u.observer)==null||d.disconnect(),delete n.attributes[t]}}var ox;function sx(e){return ox||=document.createElement(`div`),ox.innerHTML=e,ox.innerHTML}function cx(e,t,n){if(n.isDirty){n.isDirty=!1;var r=n.virtualValue;n.mutations.length||ax(e,t),n.setValue(e,r)}}function lx(e,t){e.html&&cx(t,`html`,e.html),e.classes&&cx(t,`class`,e.classes),e.position&&cx(t,`position`,e.position),Object.keys(e.attributes).forEac
14h(function(n){cx(t,n,e.attributes[n])})}function ux(){Ib.forEach(lx)}function dx(e,t){var n=null;e.kind===`html`?n=Yb(t):e.kind===`class`?n=tx(t):e.kind===`attribute`?n=ix(t,e.attribute):e.kind===`position`&&(n=Qb(t)),n&&(n.mutations.push(e),n.mutationRunner(n))}function fx(e,t){var n=null;if(e.kind===`html`?n=Yb(t):e.kind===`class`?n=tx(t):e.kind===`attribute`?n=ix(t,e.attribute):e.kind===`position`&&(n=Qb(t)),n){var r=n.mutations.indexOf(e);r!==-1&&n.mutations.splice(r,1),n.mutationRunner(n)}}function px(e){if(e.kind!==`position`||e.elements.size!==1){var t=new Set(e.elements);document.querySelectorAll(e.selector).forEach(function(n){t.has(n)||(e.elements.add(n),dx(e,n))})}}function mx(e){e.elements.forEach(function(t){return fx(e,t)}),e.elements.clear(),Lb.delete(e)}function hx(){Lb.forEach(px)}var gx;function _x(){typeof document>`u`||(gx||=new MutationObserver(function(){hx()}),hx(),gx.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!1,characterData:!1}))}_x();function vx(e){return typeof document>`u`?Fb:(Lb.add(e),px(e),{revert:function(){mx(e)}})}function yx(e,t){return vx({kind:`html`,elements:new Set,mutate:t,selector:e})}function bx(e,t){return vx({kind:`position`,elements:new Set,mutate:t,selector:e})}function xx(e,t){return vx({kind:`class`,elements:new Set,mutate:t,selector:e})}function Sx(e,t,n){return Pb.test(t)?t===`class`||t===`className`?xx(e,function(e){var t=n(Array.from(e).join(` `));e.clear(),t&&t.split(/\s+/g).filter(Boolean).forEach(function(t){return e.add(t)})}):vx({kind:`attribute`,attribute:t,elements:new Set,mutate:n,selector:e}):Fb}function Cx(e){var t=e.selector,n=e.action,r=e.value,i=e.attribute,a=e.parentSelector,o=e.insertBeforeSelector;if(i===`html`){if(n===`append`)return yx(t,function(e){return e+(r??``)});if(n===`set`)return yx(t,function(){return r??``})}else if(i===`class`){if(n===`append`)return xx(t,function(e){r&&e.add(r)});if(n===`remove`)return xx(t,function(e){r&&e.delete(r)});if(n===`set`)return xx(t,function(e){e.clear(),r&&e.add(r)})}else if(i===`position`){if(n===`set`&&a)return bx(t,function(){return{insertBeforeSelector:o,parentSelector:a}})}else if(n===`append`)return Sx(t,i,function(e){return e===null?r??``:e+(r??``)});else if(n===`set`)return Sx(t,i,function(){return r??``});else if(n===`remove`)return Sx(t,i,function(){return null});return Fb}var wx={html:yx,classes:xx,attribute:Sx,position:bx,declarative:Cx},Tx={};function Ex(e,t,n){n||={};for(let[r,i]of Object.entries(t))switch(r){case`$or`:if(!Ix(e,i,n))return!1;break;case`$nor`:if(Ix(e,i,n))return!1;break;case`$and`:if(!Lx(e,i,n))return!1;break;case`$not`:if(Ex(e,i,n))return!1;break;default:if(!kx(i,Dx(e,r),n))return!1}return!0}function Dx(e,t){let n=t.split(`.`),r=e;for(let e=0;e<n.length;e++)if(r&&typeof r==`object`&&n[e]in r)r=r[n[e]];else return null;return r}function Ox(e,t=!1){let n=`${e}${t?`/i`:``}`;return Tx[n]||(Tx[n]=new RegExp(e.replace(/([^\\])\//g,`$1\\/`),t?`i`:void 0)),Tx[n]}function kx(e,t,n,r=!1){if(typeof e==`string`)return r?String(t).toLowerCase()===e.toLowerCase():t+``===e;if(typeof e==`number`)return t*1===e;if(typeof e==`boolean`)return t!==null&&!!t===e;if(e===null)return t===null;if(Array.isArray(e)||!Ax(e))return JSON.stringify(t)===JSON.stringify(e);for(let r in e)if(!Fx(r,t,e[r],n))return!1;return!0}function Ax(e){let t=Object.keys(e);return t.length>0&&t.filter(e=>e[0]===`$`).length===t.length}function jx(e){if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=typeof e;return[`string`,`number`,`boolean`,`object`,`undefined`].includes(t)?t:`unknown`}function Mx(e,t,n){if(!Array.isArray(e))return!1;let r=Ax(t)?e=>kx(t,e,n):e=>Ex(e,t,n);for(let t=0;t<e.length;t++)if(e[t]&&r(e[t]))return!0;return!1}function Nx(e,t,n=!1){if(n){let n=e=>typeof e==`string`?e.toLowerCase():e;return Array.isArray(e)?e.some(e=>t.some(t=>n(e)===n(t))):t.some(t=>n(e)===n(t))}return Array.isArray(e)?e.some(e=>t.includes(e)):t.includes(e)}function Px(e,t,n,r=!1){if(!Array.isArray(e))return!1;for(let i=0;i<t.length;i++){let a=!1;for(let o=0;o<e.length;o++)if(kx(t[i],e[o],n,r)){a=!0;break}if(!a)return!1}return!0}function Fx(e,t,n,r){switch(e){case`$veq`:return Zy(t)===Zy(n);case`$vne`:return Zy(t)!==Zy(n);case`$vgt`:return Zy(t)>Zy(n);case`$vgte`:return Zy(t)>=Zy(n);case`$vlt`:return Zy(t)<Zy(n);case`$vlte`:return Zy(t)<=Zy(n);case`$eq`:return t===n;case`$ne`:return t!==n;case`$lt`:return t<n;case`$lte`:return t<=n;case`$gt`:return t>n;case`$gte`:return t>=n;case`$exists`:return n?t!=null:t==null;case`$in`:return Array.isArray(n)?Nx(t,n):!1;case`$ini`:return Array.isArray(n)?Nx(t,n,!0):!1;case`$inGroup`:return Nx(t,r[n]||[]);case`$notInGroup`:return!Nx(t,r[n]||[]);case`$nin`:return Array.isArray(n)?!Nx(t,n):!1;case`$nini`:return Array.isArray(n)?!Nx(t,n,!0):!1;case`$not`:return!kx(n,t,r);case`$size`:return Array.isArray(t)?kx(n,t.length,r):!1;case`$elemMatch`:return Mx(t,n,r);case`$all`:return Array.isArray(n)?Px(t,n,r):!1;case`$alli`:return Array.isArray(n)?Px(t,n,r,!0):!1;case`$regex`:try{return Ox(n).test(t)}catch{return!1}case`$regexi`:try{return Ox(n,!0).test(t)}catch{return!1}case`$type`:return jx(t)===n;default:return console.error(`Unknown operator: `+e),!1}}
14function Ix(e,t,n){if(!t.length)return!0;for(let r=0;r<t.length;r++)if(Ex(e,t[r],n))return!0;return!1}function Lx(e,t,n){for(let r=0;r<t.length;r++)if(!Ex(e,t[r],n))return!1;return!0}var Rx=`Feature Evaluated`,zx=`Experiment Viewed`;function Bx(e){let t=new Map;return e.global.forcedFeatureValues&&e.global.forcedFeatureValues.forEach((e,n)=>t.set(n,e)),e.user.forcedFeatureValues&&e.user.forcedFeatureValues.forEach((e,n)=>t.set(n,e)),t}function Vx(e){return e.global.forcedVariations&&e.user.forcedVariations?{...e.global.forcedVariations,...e.user.forcedVariations}:e.global.forcedVariations?e.global.forcedVariations:e.user.forcedVariations?e.user.forcedVariations:{}}async function Hx(e){try{await e()}catch{}}function Ux(e,t,n){if(e.user.trackedExperiments){let r=pS(t,n);if(e.user.trackedExperiments.has(r))return[];e.user.trackedExperiments.add(r)}e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({experiment:t,result:n,timestamp:Date.now().toString(),logType:`experiment`});let r=[];if(e.global.trackingCallback){let i=e.global.trackingCallback;r.push(Hx(()=>i(t,n,e.user)))}if(e.user.trackingCallback){let i=e.user.trackingCallback;r.push(Hx(()=>i(t,n)))}if(e.global.eventLogger){let i=e.global.eventLogger;r.push(Hx(()=>i(zx,{experimentId:t.key,variationId:n.key,hashAttribute:n.hashAttribute,hashValue:n.hashValue},e.user)))}return r}function Wx(e,t,n){if(e.user.trackedFeatureUsage){let r=JSON.stringify(n.value);if(e.user.trackedFeatureUsage[t]===r)return;e.user.trackedFeatureUsage[t]=r,e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({featureKey:t,result:n,timestamp:Date.now().toString(),logType:`feature`})}if(e.global.onFeatureUsage){let r=e.global.onFeatureUsage;Hx(()=>r(t,n,e.user))}if(e.user.onFeatureUsage){let r=e.user.onFeatureUsage;Hx(()=>r(t,n))}if(e.global.eventLogger){let r=e.global.eventLogger;Hx(()=>r(Rx,{feature:t,source:n.source,value:n.value,ruleId:n.source===`defaultValue`?`$default`:n.ruleId||``,variationId:n.experimentResult?n.experimentResult.key:``},e.user))}}function Gx(e,t){if(t.stack.evaluatedFeatures.has(e))return qx(t,e,null,`cyclicPrerequisite`);t.stack.evaluatedFeatures.add(e),t.stack.id=e;let n=Bx(t);if(n.has(e))return qx(t,e,n.get(e),`override`);if(!t.global.features||!t.global.features[e])return qx(t,e,null,`unknownFeature`);let r=t.global.features[e];if(r.rules){let n=new Set(t.stack.evaluatedFeatures);rules:for(let i of r.rules){if(i.parentConditions)for(let r of i.parentConditions){t.stack.evaluatedFeatures=new Set(n);let i=Gx(r.id,t);if(i.source===`cyclicPrerequisite`)return qx(t,e,null,`cyclicPrerequisite`);if(!Ex({value:i.value},r.condition||{})){if(r.gate)return qx(t,e,null,`prerequisite`);continue rules}}if(i.filters&&Xx(i.filters,t))continue;if(`force`in i){if(i.condition&&!Yx(i.condition,t)||!Zx(t,i.seed||e,i.hashAttribute,t.user.saveStickyBucketAssignmentDoc&&!i.disableStickyBucketing?i.fallbackAttribute:void 0,i.range,i.coverage,i.hashVersion))continue;return i.tracks&&i.tracks.forEach(e=>{!Ux(t,e.experiment,e.result).length&&t.global.saveDeferredTrack&&t.global.saveDeferredTrack({experiment:e.experiment,result:e.result})}),qx(t,e,i.force,`force`,i.id)}if(!i.variations)continue;let r={variations:i.variations,key:i.key||e};`coverage`in i&&(r.coverage=i.coverage),i.weights&&(r.weights=i.weights),i.hashAttribute&&(r.hashAttribute=i.hashAttribute),i.fallbackAttribute&&(r.fallbackAttribute=i.fallbackAttribute),i.disableStickyBucketing&&(r.disableStickyBucketing=i.disableStickyBucketing),i.bucketVersion!==void 0&&(r.bucketVersion=i.bucketVersion),i.minBucketVersion!==void 0&&(r.minBucketVersion=i.minBucketVersion),i.namespace&&(r.namespace=i.namespace),i.meta&&(r.meta=i.meta),i.ranges&&(r.ranges=i.ranges),i.name&&(r.name=i.name),i.phase&&(r.phase=i.phase),i.seed&&(r.seed=i.seed),i.hashVersion&&(r.hashVersion=i.hashVersion),i.filters&&(r.filters=i.filters),i.condition&&(r.condition=i.condition);let{result:a}=Kx(r,e,t);if(t.global.onExperimentEval&&t.global.onExperimentEval(r,a),a.inExperiment&&!a.passthrough)return qx(t,e,a.value,`experiment`,i.id,r,a)}}return qx(t,e,r.defaultValue===void 0?null:r.defaultValue,`defaultValue`)}function Kx(e,t,n){let r=e.key,i=e.variations.length;if(i<2||n.global.enabled===!1||n.user.enabled===!1||(e=$x(e,n),e.urlPatterns&&!Vy(n.user.url||``,e.urlPatterns)))return{result:Qx(n,e,-1,!1,t)};let a=Ky(r,n.user.url||``,i);if(a!==null)return{result:Qx(n,e,a,!1,t)};let o=Vx(n);if(r in o){let i=o[r];return{result:Qx(n,e,i,!1,t)}}if(e.status===`draft`||e.active===!1)return{result:Qx(n,e,-1,!1,t)};let{hashAttribute:s,hashValue:c}=eS(n,e.hashAttribute,n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing?e.fallbackAttribute:void 0);if(!c)return{result:Qx(n,e,-1,!1,t)};let l=-1,u=!1,d=!1;if(n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){let{variation:t,versionIsBlocked:r}=rS({ctx:n,expKey:e.key,expBucketVersion:e.bucketVersion,expHashAttribute:e.hashAttribute,expFallbackAttribute:e.fallbackAttribute,expMinBucketVersion:e.minBucketVersion,expMeta:e.meta});u=t>=0,l=t,d=!!r}if(!u){if(e.filters){if(Xx(e.filters,n))return{result:Qx(n,e,-1,!1,t)}}else if(e.namespace&&!Ry(c,e.namespace))return{result:Qx(n,e,-1,!1,t)};if(e.include&&!qy(e.include)||e.condition&&!Yx(e.condition,n))return{result:Qx(n,e,-1,!1,t)};if(e.parentConditions){let r=new Set(n.stack.evaluatedFeatures);for(let i of e.parentConditions){n.stack.evaluatedFeatures=new Set(r);let a=Gx(i.id,n);if(a.source===`cyclicPrerequisite`||!Ex({value:a.value},i.condition||{}))return{result:Qx(n,e,-1,!1,t)}}}if(e.groups&&!nS(e.groups,n))return{result:Qx(n,e,-1,!1,t)}}if(e.url&&!tS(e.url,n))return{result:Qx(n,e,-1,!1,t)};let f=Fy(e.seed||r,c,e.hashVersion||1);if(f===null)return{result:Qx(n,e,-1,!1,t)};if(u||(l=zy(f,e.ranges||Gy(i,e.coverage===void 0?1:e.coverage,e.weights))),d)return{result:Qx(n,e,-1,!1,t,void 0,!0)};if(l<0)return{result:Qx(n,e,-1,!1,t)};if(`force`in e)return{result:Qx(n,e,e.force===void 0?-1:e.force,!1,t)};if(n.global.qaMode||n.user.qaMode||e.status===`stopped`)return{result:Qx(n,e,-1,!1,t)};let p=Qx(n,e,l,!0,t,f,u);if(n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){let{changed:t,key:r,doc:i}=sS(n,s,Xy(c),{[iS(e.key,e.bucketVersion)]:p.key});t&&(n.user.stickyBucketAssignmentDocs=n.user.stickyBucketAssignmentDocs||{},n.user.stickyBucketAssignmentDocs[r]=i,n.user.saveStickyBucketAssignmentDoc(i))}let m=Ux(n,e,p);m.length===0&&n.global.saveDeferredTrack&&n.global.saveDeferredTrack({experiment:e,result:p});let h=m.length?m.length===1?m[0]:Promise.all(m).then(()=>{}):void 0;return`changeId`in e&&e.changeId&&n.global.recordChangeId&&n.global.recordChangeId(e.changeId),{result:p,trackingCall:h}}function qx(e,t,n,r,i,a,o){let s={value:n,on:!!n,off:!n,source:r,ruleId:i||``};return a&&(s.experiment=a),o&&(s.experimentResult=o),r!==`override`&&Wx(e,t,s),s}function Jx(e){return{...e.user.attributes,...e.user.attributeOverrides}}function Yx(e,t){return Ex(Jx(t),e,t.global.savedGroups||{})}function Xx(e,t){return e.some(e=>{let{hashValue:n}=eS(t,e.attribute);if(!n)return!0;let r=Fy(e.seed,n,e.hashVersion||2);return r===null||!e.ranges.some(e=>Ly(r,e))})}function Zx(e,t,n,r,i,a,o){if(!i&&a===void 0)return!0;
14if(!i&&a===0)return!1;let{hashValue:s}=eS(e,n,r);if(!s)return!1;let c=Fy(t,s,o||1);return c===null?!1:i?Ly(c,i):a===void 0||c<=a}function Qx(e,t,n,r,i,a,o){let s=!0;(n<0||n>=t.variations.length)&&(n=0,s=!1);let{hashAttribute:c,hashValue:l}=eS(e,t.hashAttribute,e.user.saveStickyBucketAssignmentDoc&&!t.disableStickyBucketing?t.fallbackAttribute:void 0),u=t.meta?t.meta[n]:{},d={key:u.key||``+n,featureId:i,inExperiment:s,hashUsed:r,variationId:n,value:t.variations[n],hashAttribute:c,hashValue:l,stickyBucketUsed:!!o};return u.name&&(d.name=u.name),a!==void 0&&(d.bucket=a),u.passthrough&&(d.passthrough=u.passthrough),d}function $x(e,t){let n=e.key,r=t.global.overrides;return r&&r[n]&&(e=Object.assign({},e,r[n]),typeof e.url==`string`&&(e.url=By(e.url))),e}function eS(e,t,n){let r=t||`id`,i=``,a=Jx(e);return a[r]&&(i=a[r]),!i&&n&&(a[n]&&(i=a[n]),i&&(r=n)),{hashAttribute:r,hashValue:i}}function tS(e,t){let n=t.user.url;if(!n)return!1;let r=n.replace(/^https?:\/\//,``).replace(/^[^/]*\//,`/`);return!!(e.test(n)||e.test(r))}function nS(e,t){let n=t.global.groups||{};for(let t=0;t<e.length;t++)if(n[e[t]])return!0;return!1}function rS({ctx:e,expKey:t,expBucketVersion:n,expHashAttribute:r,expFallbackAttribute:i,expMinBucketVersion:a,expMeta:o}){n||=0,a||=0,r||=`id`,o||=[];let s=iS(t,n),c=oS(e,r,i);if(a>0){for(let e=0;e<a;e++)if(c[iS(t,e)]!==void 0)return{variation:-1,versionIsBlocked:!0}}let l=c[s];if(l===void 0)return{variation:-1};let u=o.findIndex(e=>e.key===l);return u<0?{variation:-1}:{variation:u}}function iS(e,t){return t||=0,`${e}__${t}`}function aS(e,t){return`${e}||${t}`}function oS(e,t,n){if(!e.user.stickyBucketAssignmentDocs)return{};let{hashAttribute:r,hashValue:i}=eS(e,t),a=aS(r,Xy(i)),{hashAttribute:o,hashValue:s}=eS(e,n),c=s?aS(o,Xy(s)):null,l={};return c&&e.user.stickyBucketAssignmentDocs[c]&&Object.assign(l,e.user.stickyBucketAssignmentDocs[c].assignments||{}),e.user.stickyBucketAssignmentDocs[a]&&Object.assign(l,e.user.stickyBucketAssignmentDocs[a].assignments||{}),l}function sS(e,t,n,r){let i=aS(t,n),a=e.user.stickyBucketAssignmentDocs&&e.user.stickyBucketAssignmentDocs[i]&&e.user.stickyBucketAssignmentDocs[i].assignments||{},o={...a,...r},s=JSON.stringify(a)!==JSON.stringify(o);return{key:i,doc:{attributeName:t,attributeValue:n,assignments:o},changed:s}}function cS(e,t){let n=new Set,r=t&&t.features?t.features:e.global.features||{},i=t&&t.experiments?t.experiments:e.global.experiments||[];return Object.keys(r).forEach(e=>{let t=r[e];if(t.rules)for(let e of t.rules)e.variations&&(n.add(e.hashAttribute||`id`),e.fallbackAttribute&&n.add(e.fallbackAttribute))}),i.map(e=>{n.add(e.hashAttribute||`id`),e.fallbackAttribute&&n.add(e.fallbackAttribute)}),Array.from(n)}async function lS(e,t,n){let r=uS(e,n);return t.getAllAssignments(r)}function uS(e,t){let n={};return cS(e,t).forEach(t=>{let{hashValue:r}=eS(e,t);n[t]=Xy(r)}),n}async function dS(e,t,n){if(e={...e},e.encryptedFeatures){try{e.features=JSON.parse(await Yy(e.encryptedFeatures,t,n))}catch(e){console.error(e)}delete e.encryptedFeatures}if(e.encryptedExperiments){try{e.experiments=JSON.parse(await Yy(e.encryptedExperiments,t,n))}catch(e){console.error(e)}delete e.encryptedExperiments}if(e.encryptedSavedGroups){try{e.savedGroups=JSON.parse(await Yy(e.encryptedSavedGroups,t,n))}catch(e){console.error(e)}delete e.encryptedSavedGroups}return e}function fS(e){let t=e.apiHost||`https://cdn.growthbook.io`;return{apiHost:t.replace(/\/*$/,``),streamingHost:(e.streamingHost||t).replace(/\/*$/,``),apiRequestHeaders:e.apiHostRequestHeaders,streamingHostRequestHeaders:e.streamingHostRequestHeaders}}function pS(e,t){return t.hashAttribute+t.hashValue+e.key+t.variationId}var mS=typeof window<`u`&&typeof document<`u`,hS=Qy(),gS=class{constructor(e){if(e||={},this.version=hS,this._options=this.context=e,this._renderer=e.renderer||null,this._trackedExperiments=new Set,this._completedChangeIds=new Set,this._trackedFeatures={},this.debug=!!e.debug,this._subscriptions=new Set,this.ready=!1,this._assigned=new Map,this._activeAutoExperiments=new Map,this._triggeredExpKeys=new Set,this._initialized=!1,this._redirectedUrl=``,this._deferredTrackingCalls=new Map,this._autoExperimentsAllowed=!e.disableExperimentsOnLoad,this._destroyCallbacks=[],this.logs=[],this.log=this.log.bind(this),this._saveDeferredTrack=this._saveDeferredTrack.bind(this),this._onExperimentEval=this._onExperimentEval.bind(this),this._fireSubscriptions=this._fireSubscriptions.bind(this),this._recordChangedId=this._recordChangedId.bind(this),e.remoteEval){if(e.decryptionKey)throw Error(`Encryption is not available for remoteEval`);if(!e.clientKey)throw Error(`Missing clientKey`);let t=!1;try{t=!!new URL(e.apiHost||``).hostname.match(/growthbook\.io$/i)}catch{}if(t)throw Error(`Cannot use remoteEval on GrowthBook Cloud`)}
14else if(e.cacheKeyAttributes)throw Error(`cacheKeyAttributes are only used for remoteEval`);if(e.stickyBucketService){let t=e.stickyBucketService;this._saveStickyBucketAssignmentDoc=e=>t.saveAssignments(e)}if(e.plugins)for(let t of e.plugins)t(this);if(e.features&&(this.ready=!0),mS&&e.enableDevMode&&(window._growthbook=this,document.dispatchEvent(new Event(`gbloaded`))),e.experiments&&(this.ready=!0,this._updateAllAutoExperiments()),this._options.stickyBucketService&&this._options.stickyBucketAssignmentDocs)for(let e in this._options.stickyBucketAssignmentDocs){let t=this._options.stickyBucketAssignmentDocs[e];t&&this._options.stickyBucketService.saveAssignments(t).catch(()=>{})}this.ready&&this.refreshStickyBuckets(this.getPayload())}async setPayload(e){this._payload=e;let t=await dS(e,this._options.decryptionKey);this._decryptedPayload=t,await this.refreshStickyBuckets(t),t.features&&(this._options.features=t.features),t.savedGroups&&(this._options.savedGroups=t.savedGroups),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,this._render()}initSync(e){this._initialized=!0;let t=e.payload;if(t.encryptedExperiments||t.encryptedFeatures)throw Error(`initSync does not support encrypted payloads`);return this._options.stickyBucketService&&!this._options.stickyBucketAssignmentDocs&&(this._options.stickyBucketAssignmentDocs=this.generateStickyBucketAssignmentDocsSync(this._options.stickyBucketService,t)),this._payload=t,this._decryptedPayload=t,t.features&&(this._options.features=t.features),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,Nb(this,e),this}async init(e){if(this._initialized=!0,e||={},e.cacheSettings&&fb(e.cacheSettings),e.payload)return await this.setPayload(e.payload),Nb(this,e),{success:!0,source:`init`};{let{data:t,...n}=await this._refresh({...e,allowStale:!0});return Nb(this,e),await this.setPayload(t||{}),n}}async loadFeatures(e){e||={},await this.init({skipCache:e.skipCache,timeout:e.timeout,streaming:(this._options.backgroundSync??!0)&&(e.autoRefresh||this._options.subscribeToChanges)})}async refreshFeatures(e){let t=await this._refresh({...e||{},allowStale:!1});t.data&&await this.setPayload(t.data)}getApiInfo(){return[this.getApiHosts().apiHost,this.getClientKey()]}getApiHosts(){return fS(this._options)}getClientKey(){return this._options.clientKey||``}getPayload(){return this._payload||{features:this.getFeatures(),experiments:this.getExperiments()}}getDecryptedPayload(){return this._decryptedPayload||this.getPayload()}isRemoteEval(){return this._options.remoteEval||!1}getCacheKeyAttributes(){return this._options.cacheKeyAttributes}async _refresh({timeout:e,skipCache:t,allowStale:n,streaming:r}){if(!this._options.clientKey)throw Error(`Missing clientKey`);return pb({instance:this,timeout:e,skipCache:t||this._options.disableCache,allowStale:n,backgroundSync:r??this._options.backgroundSync??!0})}_render(){if(this._renderer)try{this._renderer()}catch(e){console.error(`Failed to render`,e)}}setFeatures(e){this._options.features=e,this.ready=!0,this._render()}async setEncryptedFeatures(e,t,n){let r=await Yy(e,t||this._options.decryptionKey,n);this.setFeatures(JSON.parse(r))}setExperiments(e){this._options.experiments=e,this.ready=!0,this._updateAllAutoExperiments()}async setEncryptedExperiments(e,t,n){let r=await Yy(e,t||this._options.decryptionKey,n);this.setExperiments(JSON.parse(r))}async setAttributes(e){if(this._options.attributes=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval){await this._refreshForRemoteEval();return}this._render(),this._updateAllAutoExperiments()}async updateAttributes(e){return this.setAttributes({...this._options.attributes,...e})}async setAttributeOverrides(e){if(this._options.attributeOverrides=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval){await this._refreshForRemoteEval();return}this._render(),this._updateAllAutoExperiments()}async setForcedVariations(e){if(this._options.forcedVariations=e||{},this._options.remoteEval){await this._refreshForRemoteEval();return}this._render(),this._updateAllAutoExperiments()}setForcedFeatures(e){this._options.forcedFeatureValues=e,this._render()}async setURL(e){if(e!==this._options.url){if(this._options.url=e,this._redirectedUrl=``,this._options.remoteEval){await this._refreshForRemoteEval(),this._updateAllAutoExperiments(!0);return}this._updateAllAutoExperiments(!0)}}getAttributes(){return{...this._options.attributes,...this._options.attributeOverrides}}getForcedVariations(){return this._options.forcedVariations||{}}getForcedFeatures(){return this._options.forcedFeatureValues||new Map}getStickyBucketAssignmentDocs(){return this._options.stickyBucketAssignmentDocs||{}}getUrl(){return this._options.url||``}getFeatures(){return this._options.features||{}}getExperiments(){return this._options.experiments||[]}getCompletedChangeIds(){return Array.from(this._completedChangeIds)}subscribe(e){return this._subscriptions.add(e),()=>{this._subscriptions.delete(e)}}async _refreshForRemoteEval(){if(!this._options.remoteEval||!this._initialized)return;let e=await this._refresh({allowStale:!1});e.data&&await this.setPayload(e.data)}getAllResults(){return new Map(this._assigned)}onDestroy(e){this._destroyCallbacks.push(e)}isDestroyed(){return!!this._destroyed}destroy(e){e||={}
14,this._destroyed=!0,this._destroyCallbacks.forEach(e=>{try{e()}catch(e){console.error(e)}}),this._subscriptions.clear(),this._assigned.clear(),this._trackedExperiments.clear(),this._completedChangeIds.clear(),this._deferredTrackingCalls.clear(),this._trackedFeatures={},this._destroyCallbacks=[],this._payload=void 0,this._saveStickyBucketAssignmentDoc=void 0,hb(this),e.destroyAllStreams&&Mb(),this.logs=[],mS&&window._growthbook===this&&delete window._growthbook,this._activeAutoExperiments.forEach(e=>{e.undo()}),this._activeAutoExperiments.clear(),this._triggeredExpKeys.clear()}setRenderer(e){this._renderer=e}forceVariation(e,t){if(this._options.forcedVariations=this._options.forcedVariations||{},this._options.forcedVariations[e]=t,this._options.remoteEval){this._refreshForRemoteEval();return}this._updateAllAutoExperiments(),this._render()}run(e){let{result:t}=Kx(e,null,this._getEvalContext());return this._onExperimentEval(e,t),t}triggerExperiment(e){return this._triggeredExpKeys.add(e),this._options.experiments?this._options.experiments.filter(t=>t.key===e).map(e=>this._runAutoExperiment(e)).filter(e=>e!==null):null}triggerAutoExperiments(){this._autoExperimentsAllowed=!0,this._updateAllAutoExperiments(!0)}_getEvalContext(){return{user:this._getUserContext(),global:this._getGlobalContext(),stack:{evaluatedFeatures:new Set}}}_getUserContext(){return{attributes:this._options.user?{...this._options.user,...this._options.attributes}:this._options.attributes,enableDevMode:this._options.enableDevMode,blockedChangeIds:this._options.blockedChangeIds,stickyBucketAssignmentDocs:this._options.stickyBucketAssignmentDocs,url:this._getContextUrl(),forcedVariations:this._options.forcedVariations,forcedFeatureValues:this._options.forcedFeatureValues,attributeOverrides:this._options.attributeOverrides,saveStickyBucketAssignmentDoc:this._saveStickyBucketAssignmentDoc,trackingCallback:this._options.trackingCallback,onFeatureUsage:this._options.onFeatureUsage,devLogs:this.logs,trackedExperiments:this._trackedExperiments,trackedFeatureUsage:this._trackedFeatures}}_getGlobalContext(){return{features:this._options.features,experiments:this._options.experiments,log:this.log,enabled:this._options.enabled,qaMode:this._options.qaMode,savedGroups:this._options.savedGroups,groups:this._options.groups,overrides:this._options.overrides,onExperimentEval:this._onExperimentEval,recordChangeId:this._recordChangedId,saveDeferredTrack:this._saveDeferredTrack,eventLogger:this._options.eventLogger}}_runAutoExperiment(e,t){let n=this._activeAutoExperiments.get(e);if(e.manual&&!this._triggeredExpKeys.has(e.key)&&!n)return null;let r=this._isAutoExperimentBlockedByContext(e),i,a;r?i=Qx(this._getEvalContext(),e,-1,!1,``):({result:i,trackingCall:a}=Kx(e,null,this._getEvalContext()),this._onExperimentEval(e,i));let o=JSON.stringify(i.value);if(!t&&i.inExperiment&&n&&n.valueHash===o)return i;if(n&&this._undoActiveAutoExperiment(e),i.inExperiment){let t=tb(e);if(t===`redirect`&&i.value.urlRedirect&&e.urlPatterns){let t=e.persistQueryString?$y(this._getContextUrl(),i.value.urlRedirect):i.value.urlRedirect;if(Vy(t,e.urlPatterns))return this.log(`Skipping redirect because original URL matches redirect URL`,{id:e.key}),i;this._redirectedUrl=t;let{navigate:n,delay:r}=this._getNavigateFunction();if(n)if(mS)Promise.all([...a?[nb(a,this._options.maxNavigateDelay??1e3)]:[],new Promise(e=>window.setTimeout(e,this._options.navigateDelay??r))]).then(()=>{try{n(t)}catch(e){console.error(e)}});else try{n(t)}catch(e){console.error(e)}}else if(t===`visual`){let t=this._options.applyDomChangesCallback?this._options.applyDomChangesCallback(i.value):this._applyDOMChanges(i.value);t&&this._activeAutoExperiments.set(e,{undo:t,valueHash:o})}}return i}_undoActiveAutoExperiment(e){let t=this._activeAutoExperiments.get(e);t&&(t.undo(),this._activeAutoExperiments.delete(e))}_updateAllAutoExperiments(e){if(!this._autoExperimentsAllowed)return;let t=this._options.experiments||[],n=new Set(t);this._activeAutoExperiments.forEach((e,t)=>{n.has(t)||(e.undo(),this._activeAutoExperiments.delete(t))});for(let n of t){let t=this._runAutoExperiment(n,e);if(t&&t.inExperiment&&tb(n)===`redirect`)break}}_onExperimentEval(e,t){let n=this._assigned.get(e.key);this._assigned.set(e.key,{experiment:e,result:t}),this._subscriptions.size>0&&this._fireSubscriptions(e,t,n)}_fireSubscriptions(e,t,n){(!n||n.result.inExperiment!==t.inExperiment||n.result.variationId!==t.variationId)&&this._subscriptions.forEach(n=>{try{n(e,t)}catch(e){console.error(e)}})}_recordChangedId(e){this._completedChangeIds.add(e)}isOn(e){return this.evalFeature(e).on}isOff(e){return this.evalFeature(e).off}getFeatureValue(e,t){let n=this.evalFeature(e).value;return n===null?t:n}feature(e){return this.evalFeature(e)}evalFeature(e){return Gx(e,this._getEvalContext())}log(e,t){this.debug&&(this._options.log?this._options.log(e,t):console.log(e,t))}getDeferredTrackingCalls(){return Array.from(this._deferredTrackingCalls.values())}setDeferredTrackingCalls(e){this._deferredTrackingCalls=new Map(e.filter(e=>e&&e.experiment&&e.result).map(e=>[pS(e.experiment,e.result),e]))}async fireDeferredTrackingCalls(){if(!this._options.trackingCallback)return;let e=[];
14this._deferredTrackingCalls.forEach(t=>{!t||!t.experiment||!t.result?console.error(`Invalid deferred tracking call`,{call:t}):e.push(this._options.trackingCallback(t.experiment,t.result))}),this._deferredTrackingCalls.clear(),await Promise.all(e)}setTrackingCallback(e){this._options.trackingCallback=e,this.fireDeferredTrackingCalls()}setFeatureUsageCallback(e){this._options.onFeatureUsage=e}setEventLogger(e){this._options.eventLogger=e}async logEvent(e,t){if(this._destroyed){console.error(`Cannot log event to destroyed GrowthBook instance`);return}if(this._options.enableDevMode&&this.logs.push({eventName:e,properties:t,timestamp:Date.now().toString(),logType:`event`}),this._options.eventLogger)try{await this._options.eventLogger(e,t||{},this._getUserContext())}catch(e){console.error(e)}else console.error(`No event logger configured`)}_saveDeferredTrack(e){this._deferredTrackingCalls.set(pS(e.experiment,e.result),e)}_getContextUrl(){return this._options.url||(mS?window.location.href:``)}_isAutoExperimentBlockedByContext(e){let t=tb(e);if(t===`visual`){if(this._options.disableVisualExperiments||this._options.disableJsInjection&&e.variations.some(e=>e.js))return!0}else if(t===`redirect`){if(this._options.disableUrlRedirectExperiments)return!0;try{let t=new URL(this._getContextUrl());for(let n of e.variations){if(!n||!n.urlRedirect)continue;let e=new URL(n.urlRedirect);if(this._options.disableCrossOriginUrlRedirectExperiments&&(e.protocol!==t.protocol||e.host!==t.host))return!0}}catch(t){return this.log(`Error parsing current or redirect URL`,{id:e.key,error:t}),!0}}else return!0;return!!(e.changeId&&(this._options.blockedChangeIds||[]).includes(e.changeId))}getRedirectUrl(){return this._redirectedUrl}_getNavigateFunction(){return this._options.navigate?{navigate:this._options.navigate,delay:0}:mS?{navigate:e=>{window.location.replace(e)},delay:100}:{navigate:null,delay:0}}_applyDOMChanges(e){if(!mS)return;let t=[];if(e.css){let n=document.createElement(`style`);n.innerHTML=e.css,document.head.appendChild(n),t.push(()=>n.remove())}if(e.js){let n=document.createElement(`script`);n.innerHTML=e.js,this._options.jsInjectionNonce&&(n.nonce=this._options.jsInjectionNonce),document.head.appendChild(n),t.push(()=>n.remove())}return e.domMutations&&e.domMutations.forEach(e=>{t.push(wx.declarative(e).revert)}),()=>{t.forEach(e=>e())}}async refreshStickyBuckets(e){if(this._options.stickyBucketService){let t=await lS(this._getEvalContext(),this._options.stickyBucketService,e);this._options.stickyBucketAssignmentDocs=t}}generateStickyBucketAssignmentDocsSync(e,t){if(!(`getAllAssignmentsSync`in e)){console.error(`generating StickyBucketAssignmentDocs docs requires StickyBucketServiceSync`);return}let n=uS(this._getEvalContext(),t);return e.getAllAssignmentsSync(n)}inDevMode(){return!!this._options.enableDevMode}},_S=m(async()=>{let e,t,n=f();if(!n.public.growthbook?.clientKey||!n.public.growthbook?.enabled)return{provide:{growthbook:null}};let r=new gS({apiHost:`https://cdn.growthbook.io`,clientKey:n.public.growthbook.clientKey,enableDevMode:n.public.isLocal||!1,trackingCallback:(e,t)=>{console.log(`Viewed Experiment`,{experimentId:e.key,variationId:t.key})}}),i=jy();i.value||=gi();let a=_n(),o=``;a.value&&(o=vi(a.value)?.sub||``),r.setAttributes({id:i.value,idsUserId:o});let c=async()=>{try{let e=await r.init({streaming:!0});if(e.error)throw e.error;return r}catch(e){return console.error(`Error initializing Growthbook:`,e),null}};return{provide:{growthbook:([e,t]=s(()=>c()),e=await e,t(),e)}}},1),N;if(typeof window>`u`){var vS={hostname:``};N={crypto:{randomUUID:function(){throw Error(`unsupported`)}},navigator:{userAgent:``,onLine:!0},document:{createElement:function(){return{}},location:vS,referrer:``},screen:{width:0,height:0},location:vS,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else N=window;function yS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bS(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)}function xS(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){bS(a,r,i,o,s,`next`,e)}function s(e){bS(a,r,i,o,s,`throw`,e)}o(void 0)})}}function SS(e,t,n){return SS=MS()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&kS(i,n.prototype),i},SS.apply(null,arguments)}function CS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wS(e,t,n){return t&&CS(e.prototype,t),e}function P(){return P=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},P.apply(this,arguments)}
14function TS(e){return TS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},TS(e)}function ES(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kS(e,t)}function F(e,t){return t!=null&&typeof Symbol<`u`&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function DS(e){return Function.toString.call(e).indexOf(`[native code]`)!==-1}function OS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function kS(e,t){return kS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kS(e,t)}function I(e){"@swc/helpers - typeof";return e&&typeof Symbol<`u`&&e.constructor===Symbol?`symbol`:typeof e}function AS(e,t){if(e){if(typeof e==`string`)return yS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(n);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yS(e,t)}}function jS(e){var t=typeof Map==`function`?new Map:void 0;return jS=function(e){if(e===null||!DS(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return SS(e,arguments,TS(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),kS(n,e)},jS(e)}function MS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(MS=function(){return!!e})()}function L(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=AS(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NS(e,t){var n,r,i,a,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return c([e,t])}}function c(a){if(n)throw TypeError(`Generator is already executing.`);for(;o;)try{if(n=1,r&&(i=a[0]&2?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function PS(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}var FS=Object.defineProperty,IS=function(e,t,n){return t in e?FS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},R=function(e,t,n){return IS(e,(t===void 0?`undefined`:I(t))===`symbol`?t:t+``,n)},LS=Object.defineProperty,RS=function(e,t,n){return t in e?LS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},zS=function(e,t,n){return RS(e,(t===void 0?`undefined`:I(t))===`symbol`?t:t+``,n)},BS=function(e){return e[e.Document=0]=`Document`,e[e.DocumentType=1]=`DocumentType`,e[e.Element=2]=`Element`,e[e.Text=3]=`Text`,e[e.CDATA=4]=`CDATA`,e[e.Comment=5]=`Comment`,e}(BS||{}),VS={Node:[`childNodes`,`parentNode`,`parentElement`,`textContent`],ShadowRoot:[`host`,`styleSheets`],Element:[`shadowRoot`,`querySelector`,`querySelectorAll`],MutationObserver:[]},HS={Node:[`contains`,`getRootNode`],ShadowRoot:[`getSelection`],Element:[],MutationObserver:[`constructor`]},US={},WS=function(){return!!globalThis.Zone};function GS(e){if(US[e])return US[e];var t=globalThis[e],n=t.prototype,r=e in VS?VS[e]:void 0,i=!!(r&&r.every(function(e){return!!(Object.getOwnPropertyDescriptor(n,e)?.get)?.toString().includes(`[native code]`)})),a=e in HS?HS[e]:void 0,o=!!(a&&a.every(function(e){return typeof n[e]==`function`&&n[e]?.toString().includes(`[native code]`)}));if(i&&o&&!WS())return US[e]=t.prototype,t.prototype;try{var s=document.createElement(`iframe`);document.body.appendChild(s);var c=s.contentWindow;if(!c)return t.prototype;var l=c[e].prototype;return document.body.removeChild(s),l?US[e]=l:n}catch{return n}}var KS={};
14function qS(e,t,n){var r=e+`.`+String(n);if(KS[r])return KS[r].call(t);var i=GS(e),a=Object.getOwnPropertyDescriptor(i,n)?.get;return a?(KS[r]=a,a.call(t)):t[n]}var JS={};function YS(e,t,n){var r=e+`.`+String(n);if(JS[r])return JS[r].bind(t);var i=GS(e)[n];return typeof i==`function`?(JS[r]=i,i.bind(t)):t[n]}function XS(e){return qS(`Node`,e,`childNodes`)}function ZS(e){return qS(`Node`,e,`parentNode`)}function QS(e){return qS(`Node`,e,`parentElement`)}function $S(e){return qS(`Node`,e,`textContent`)}function eC(e,t){return YS(`Node`,e,`contains`)(t)}function tC(e){return YS(`Node`,e,`getRootNode`)()}function nC(e){return!e||!(`host`in e)?null:qS(`ShadowRoot`,e,`host`)}function rC(e){return e.styleSheets}function iC(e){return!e||!(`shadowRoot`in e)?null:qS(`Element`,e,`shadowRoot`)}function aC(e,t){return qS(`Element`,e,`querySelector`)(t)}function oC(e,t){return qS(`Element`,e,`querySelectorAll`)(t)}function sC(){return GS(`MutationObserver`).constructor}function cC(e,t,n){try{if(!(t in e))return function(){};var r=e[t],i=n(r);return typeof i==`function`&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,function(){e[t]=r}}catch{return function(){}}}var lC={childNodes:XS,parentNode:ZS,parentElement:QS,textContent:$S,contains:eC,getRootNode:tC,host:nC,styleSheets:rC,shadowRoot:iC,querySelector:aC,querySelectorAll:oC,mutationObserver:sC,patch:cC};function uC(e){return e.nodeType===e.ELEMENT_NODE}function dC(e){var t=e&&`host`in e&&`mode`in e&&lC.host(e)||null;return!!(t&&`shadowRoot`in t&&lC.shadowRoot(t)===e)}function fC(e){return Object.prototype.toString.call(e)===`[object ShadowRoot]`}function pC(e){return e.includes(` background-clip: text;`)&&!e.includes(` -webkit-background-clip: text;`)&&(e=e.replace(/\sbackground-clip:\s*text;/g,` -webkit-background-clip: text; background-clip: text;`)),e}function mC(e){var t=e.cssText;if(t.split(`"`).length<3)return t;var n=[`@import`,`url(`+JSON.stringify(e.href)+`)`];return e.layerName===``?n.push(`layer`):e.layerName&&n.push(`layer(`+e.layerName+`)`),e.supportsText&&n.push(`supports(`+e.supportsText+`)`),e.media.length&&n.push(e.media.mediaText),n.join(` `)+`;`}function hC(e){try{var t=e.rules||e.cssRules;if(!t)return null;var n=e.href;return!n&&e.ownerNode&&e.ownerNode.ownerDocument&&(n=e.ownerNode.ownerDocument.location.href),pC(Array.from(t,function(e){return gC(e,n)}).join(``))}catch{return null}}function gC(e,t){if(vC(e)){var n;try{n=hC(e.styleSheet)||mC(e)}catch{n=e.cssText}return e.styleSheet.href?NC(n,e.styleSheet.href):n}var r=e.cssText;return yC(e)&&e.selectorText.includes(`:`)&&(r=_C(r)),t?NC(r,t):r}function _C(e){return e.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,`$1\\$2`)}function vC(e){return`styleSheet`in e}function yC(e){return`selectorText`in e}var bC=function(){function e(){zS(this,`idNodeMap`,new Map),zS(this,`nodeMetaMap`,new WeakMap)}var t=e.prototype;return t.getId=function(e){return e?this.getMeta(e)?.id??-1:-1},t.getNode=function(e){return this.idNodeMap.get(e)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(e){return this.nodeMetaMap.get(e)||null},t.removeNodeFromMap=function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach(function(e){return t.removeNodeFromMap(e)})},t.has=function(e){return this.idNodeMap.has(e)},t.hasNode=function(e){return this.nodeMetaMap.has(e)},t.add=function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var n=this.getNode(e);if(n){var r=this.nodeMetaMap.get(n);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function xC(){return new bC}function SC(e){var t=e.element,n=e.maskInputOptions,r=e.tagName,i=e.type,a=e.value,o=e.maskInputFn,s=a||``,c=i&&CC(i);return(n[r.toLowerCase()]||c&&n[c])&&(s=o?o(s,t):`*`.repeat(s.length)),s}function CC(e){return e.toLowerCase()}var wC=`__rrweb_original__`;function TC(e){var t=e.getContext(`2d`);if(!t)return!0;for(var n=50,r=0;r<e.width;r+=n)for(var i=0;i<e.height;i+=n){var a=t.getImageData,o=wC in a?a[wC]:a;
14if(new Uint32Array(o.call(t,r,i,Math.min(n,e.width-r),Math.min(n,e.height-i)).data.buffer).some(function(e){return e!==0}))return!1}return!0}function EC(e){var t=e.type;return e.hasAttribute(`data-rr-is-password`)?`password`:t?CC(t):null}function DC(e,t){var n;try{n=new URL(e,t??window.location.href)}catch{return null}return n.pathname.match(/\.([0-9a-z]+)(?:$)/i)?.[1]??null}function OC(e){var t=``;return t=e.indexOf(`//`)>-1?e.split(`/`).slice(0,3).join(`/`):e.split(`/`)[0],t=t.split(`?`)[0],t}var kC=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,AC=/^(?:[a-z+]+:)?\/\//i,jC=/^www\..*/i,MC=/^(data:)([^,]*),(.*)/i;function NC(e,t){return(e||``).replace(kC,function(e,n,r,i,a,o){var s=r||a||o,c=n||i||``;if(!s)return e;if(AC.test(s)||jC.test(s)||MC.test(s))return`url(`+c+s+c+`)`;if(s[0]===`/`)return`url(`+c+(OC(t)+s)+c+`)`;var l=t.split(`/`),u=s.split(`/`);l.pop();for(var d=L(u),f;!(f=d()).done;){var p=f.value;p!==`.`&&(p===`..`?l.pop():l.push(p))}return`url(`+c+l.join(`/`)+c+`)`})}function PC(e,t){return t===void 0&&(t=!1),t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,``):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,``).replace(/0px/g,`0`)}function FC(e,t,n){n===void 0&&(n=!1);var r=Array.from(t.childNodes),i=[],a=0;if(r.length>1&&e&&typeof e==`string`){for(var o=PC(e,n),s=o.length/e.length,c=1;c<r.length;c++)if(r[c].textContent&&typeof r[c].textContent==`string`){for(var l=PC(r[c].textContent,n),u=100,d=3;d<l.length&&(l[d].match(/[a-zA-Z0-9]/)||l.indexOf(l.substring(0,d),1)!==-1);d++);for(;d<l.length;d++){var f=l.substring(0,d),p=o.split(f),m=-1;if(p.length===2)m=p[0].length;else if(p.length>2&&p[0]===``&&r[c-1].textContent!==``)m=o.indexOf(f,1);else if(p.length===1){if(f=f.substring(0,f.length-1),p=o.split(f),p.length<=1)return i.push(e),i;d=u+1}else d===l.length-1&&(m=o.indexOf(f));if(p.length>=2&&d>u){var h=r[c-1].textContent;if(h&&typeof h==`string`){var g=PC(h).length;m=o.indexOf(f,g)}m===-1&&(m=p[0].length)}if(m!==-1){for(var _=Math.floor(m/s);_>0&&_<e.length;){if(a+=1,a>50*r.length)return i.push(e),i;var v=PC(e.substring(0,_),n);if(v.length===m){i.push(e.substring(0,_)),e=e.substring(_),o=o.substring(m);break}v.length<m?_+=Math.max(1,Math.floor((m-v.length)/s)):_-=Math.max(1,Math.floor((v.length-m)*s))}break}}}}return i.push(e),i}function IC(e,t){return FC(e,t).join(`/* rr_split */`)}var LC=1,RC=RegExp(`[^a-z0-9-_:]`),zC=-2;function BC(){return LC++}function VC(e){if(F(e,HTMLFormElement))return`form`;var t=CC(e.tagName);return RC.test(t)?`div`:t}var HC,UC,WC=/^[^ \t\n\r\u000c]+/,GC=/^[, \t\n\r\u000c]+/;function KC(e,t){if(t.trim()===``)return t;var n=0;function r(e){var r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):``}for(var i=[];r(GC),!(n>=t.length);){var a=r(WC);if(a.slice(-1)===`,`)a=JC(e,a.substring(0,a.length-1)),i.push(a);else{var o=``;a=JC(e,a);for(var s=!1;;){var c=t.charAt(n);if(c===``){i.push((a+o).trim());break}if(s)c===`)`&&(s=!1);else{if(c===`,`){n+=1,i.push((a+o).trim());break}c===`(`&&(s=!0)}o+=c,n+=1}}}return i.join(`, `)}var qC=new WeakMap;function JC(e,t){return!t||t.trim()===``?t:XC(e,t)}function YC(e){return!!(e.tagName===`svg`||e.ownerSVGElement)}function XC(e,t){var n=qC.get(e);if(n||(n=e.createElement(`a`),qC.set(e,n)),!t)t=``;else if(t.startsWith(`blob:`)||t.startsWith(`data:`))return t;return n.setAttribute(`href`,t),n.href}function ZC(e,t,n,r){return r&&(n===`src`||n===`href`&&(t!==`use`||r[0]!==`#`)||n===`xlink:href`&&r[0]!==`#`||n===`background`&&(t===`table`||t===`td`||t===`th`)?JC(e,r):n===`srcset`?KC(e,r):n===`style`?NC(r,XC(e)):t===`object`&&n===`data`?JC(e,r):r)}function QC(e,t,n){return(e===`video`||e===`audio`)&&t===`autoplay`}function $C(e,t,n){try{if(typeof t==`string`){if(e.classList.contains(t))return!0}else for(var r=e.classList.length;r--;){var i=e.classList[r];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function ew(e,t,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return n?ew(lC.parentNode(e),t,n):!1;for(var r=e.classList.length;r--;){var i=e.classList[r];if(t.test(i))return!0}return n?ew(lC.parentNode(e),t,n):!1}function tw(e,t,n,r){var i;if(uC(e)){if(i=e,!lC.childNodes(i).length)return!1}else if(lC.parentElement(e)===null)return!1;else i=lC.parentElement(e);try{if(typeof t==`string`){if(r){if(i.closest(`.`+t))return!0}else if(i.classList.contains(t))return!0}else if(ew(i,t,r))return!0;
14if(n){if(r){if(i.closest(n))return!0}else if(i.matches(n))return!0}}catch{}return!1}function nw(e,t,n){var r=e.contentWindow;if(r){var i=!1,a;try{a=r.document.readyState}catch{return}if(a!==`complete`){var o=setTimeout(function(){i||=(t(),!0)},n);e.addEventListener(`load`,function(){clearTimeout(o),i=!0,t()});return}var s=`about:blank`;if(r.location.href!==s||e.src===s||e.src===``)return setTimeout(t,0),e.addEventListener(`load`,t);e.addEventListener(`load`,t)}}function rw(e,t,n){var r=!1,i;try{i=e.sheet}catch{return}if(!i){var a=setTimeout(function(){r||=(t(),!0)},n);e.addEventListener(`load`,function(){clearTimeout(a),r=!0,t()})}}function iw(e,t){var n=t.doc,r=t.mirror,i=t.blockClass,a=t.blockSelector,o=t.needsMask,s=t.inlineStylesheet,c=t.maskInputOptions,l=c===void 0?{}:c,u=t.maskTextFn,d=t.maskInputFn,f=t.dataURLOptions,p=f===void 0?{}:f,m=t.inlineImages,h=t.recordCanvas,g=t.keepIframeSrcFn,_=t.newlyAddedElement,v=_!==void 0&&_,y=t.cssCaptured,b=y!==void 0&&y,x=aw(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode===`CSS1Compat`?{type:BS.Document,childNodes:[]}:{type:BS.Document,childNodes:[],compatMode:e.compatMode};case e.DOCUMENT_TYPE_NODE:return{type:BS.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:x};case e.ELEMENT_NODE:return sw(e,{doc:n,blockClass:i,blockSelector:a,inlineStylesheet:s,maskInputOptions:l,maskInputFn:d,dataURLOptions:p,inlineImages:m,recordCanvas:h,keepIframeSrcFn:g,newlyAddedElement:v,rootId:x});case e.TEXT_NODE:return ow(e,{doc:n,needsMask:o,maskTextFn:u,rootId:x,cssCaptured:b});case e.CDATA_SECTION_NODE:return{type:BS.CDATA,textContent:``,rootId:x};case e.COMMENT_NODE:return{type:BS.Comment,textContent:lC.textContent(e)||``,rootId:x};default:return!1}}function aw(e,t){if(t.hasNode(e)){var n=t.getId(e);return n===1?void 0:n}}function ow(e,t){var n=t.needsMask,r=t.maskTextFn,i=t.rootId,a=t.cssCaptured,o=lC.parentNode(e),s=o&&o.tagName,c=``,l=s===`STYLE`||void 0,u=s===`SCRIPT`||void 0;return u?c=`SCRIPT_PLACEHOLDER`:a||(c=lC.textContent(e),l&&c&&(c=NC(c,XC(t.doc)))),!l&&!u&&c&&n&&(c=r?r(c,lC.parentElement(e)):c.replace(/[\S]/g,`*`)),{type:BS.Text,textContent:c||``,rootId:i}}function sw(e,t){for(var n=t.doc,r=t.blockClass,i=t.blockSelector,a=t.inlineStylesheet,o=t.maskInputOptions,s=o===void 0?{}:o,c=t.maskInputFn,l=t.dataURLOptions,u=l===void 0?{}:l,d=t.inlineImages,f=t.recordCanvas,p=t.keepIframeSrcFn,m=t.newlyAddedElement,h=m!==void 0&&m,g=t.rootId,_=$C(e,r,i),v=VC(e),y={},b=e.attributes.length,x=0;x<b;x++){var S=e.attributes[x];QC(v,S.name,S.value)||(y[S.name]=ZC(n,v,CC(S.name),S.value))}if(v===`link`&&a){var ee=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),te=null;ee&&(te=hC(ee)),te&&(delete y.rel,delete y.href,y._cssText=te)}if(v===`style`&&e.sheet){var ne=hC(e.sheet);ne&&(e.childNodes.length>1&&(ne=IC(ne,e)),y._cssText=ne)}if(v===`input`||v===`textarea`||v===`select`){var re=e.value,ie=e.checked;y.type!==`radio`&&y.type!==`checkbox`&&y.type!==`submit`&&y.type!==`button`&&re?y.value=SC({element:e,type:EC(e),tagName:v,value:re,maskInputOptions:s,maskInputFn:c}):ie&&(y.checked=ie)}if(v===`option`&&(e.selected&&!s.select?y.selected=!0:delete y.selected),v===`dialog`&&e.open&&(y.rr_open_mode=e.matches(`dialog:modal`)?`modal`:`non-modal`),v===`canvas`&&f){if(e.__context===`2d`)TC(e)||(y.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!(`__context`in e)){var ae=e.toDataURL(u.type,u.quality),oe=n.createElement(`canvas`);oe.width=e.width,oe.height=e.height,ae!==oe.toDataURL(u.type,u.quality)&&(y.rr_dataURL=ae)}}if(v===`img`&&d){HC||(HC=n.createElement(`canvas`),UC=HC.getContext(`2d`));var C=e,se=C.currentSrc||C.getAttribute(`src`)||`<unknown-src>
14`,ce=C.crossOrigin,le=function(){C.removeEventListener(`load`,le);try{HC.width=C.naturalWidth,HC.height=C.naturalHeight,UC.drawImage(C,0,0),y.rr_dataURL=HC.toDataURL(u.type,u.quality)}catch(e){if(C.crossOrigin!==`anonymous`){C.crossOrigin=`anonymous`,C.complete&&C.naturalWidth!==0?le():C.addEventListener(`load`,le);return}console.warn(`Cannot inline img src=`+se+`! Error: `+e)}C.crossOrigin===`anonymous`&&(ce?y.crossOrigin=ce:C.removeAttribute(`crossorigin`))};C.complete&&C.naturalWidth!==0?le():C.addEventListener(`load`,le)}if(v===`audio`||v===`video`){var ue=y;ue.rr_mediaState=e.paused?`paused`:`played`,ue.rr_mediaCurrentTime=e.currentTime,ue.rr_mediaPlaybackRate=e.playbackRate,ue.rr_mediaMuted=e.muted,ue.rr_mediaLoop=e.loop,ue.rr_mediaVolume=e.volume}if(h||(e.scrollLeft&&(y.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(y.rr_scrollTop=e.scrollTop)),_){var de=e.getBoundingClientRect(),fe=de.width,pe=de.height;y={class:y.class,rr_width:``+fe+`px`,rr_height:``+pe+`px`}}v===`iframe`&&!p(y.src)&&(e.contentDocument||(y.rr_src=y.src),delete y.src);var me;try{customElements.get(v)&&(me=!0)}catch{}return{type:BS.Element,tagName:v,attributes:y,childNodes:[],isSVG:YC(e)||void 0,needBlock:_,rootId:g,isCustom:me}}function cw(e){return e==null?``:e.toLowerCase()}function lw(e,t){return!!(t.comment&&e.type===BS.Comment||e.type===BS.Element&&(t.script&&(e.tagName===`script`||e.tagName===`link`&&(e.attributes.rel===`preload`&&e.attributes.as===`script`||e.attributes.rel===`modulepreload`)||e.tagName===`link`&&e.attributes.rel===`prefetch`&&typeof e.attributes.href==`string`&&DC(e.attributes.href)===`js`)||t.headFavicon&&(e.tagName===`link`&&e.attributes.rel===`shortcut icon`||e.tagName===`meta`&&(cw(e.attributes.name).match(/^msapplication-tile(image|color)$/)||cw(e.attributes.name)===`application-name`||cw(e.attributes.rel)===`icon`||cw(e.attributes.rel)===`apple-touch-icon`||cw(e.attributes.rel)===`shortcut icon`))||e.tagName===`meta`&&(t.headMetaDescKeywords&&cw(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(cw(e.attributes.property).match(/^(og|twitter|fb):/)||cw(e.attributes.name).match(/^(og|twitter):/)||cw(e.attributes.name)===`pinterest`)||t.headMetaRobots&&(cw(e.attributes.name)===`robots`||cw(e.attributes.name)===`googlebot`||cw(e.attributes.name)===`bingbot`)||t.headMetaHttpEquiv&&e.attributes[`http-equiv`]!==void 0||t.headMetaAuthorship&&(cw(e.attributes.name)===`author`||cw(e.attributes.name)===`generator`||cw(e.attributes.name)===`framework`||cw(e.attributes.name)===`publisher`||cw(e.attributes.name)===`progid`||cw(e.attributes.property).match(/^article:/)||cw(e.attributes.property).match(/^product:/))||t.headMetaVerification&&(cw(e.attributes.name)===`google-site-verification`||cw(e.attributes.name)===`yandex-verification`||cw(e.attributes.name)===`csrf-token`||cw(e.attributes.name)===`p:domain_verify`||cw(e.attributes.name)===`verify-v1`||cw(e.attributes.name)===`verification`||cw(e.attributes.name)===`shopify-checkout-api-token`))))}function uw(e,t){var n=t.doc,r=t.mirror,i=t.blockClass,a=t.blockSelector,o=t.maskTextClass,s=t.maskTextSelector,c=t.skipChild,l=c!==void 0&&c,u=t.inlineStylesheet,d=u===void 0||u,f
14=t.maskInputOptions,p=f===void 0?{}:f,m=t.maskTextFn,h=t.maskInputFn,g=t.slimDOMOptions,_=t.dataURLOptions,v=_===void 0?{}:_,y=t.inlineImages,b=y!==void 0&&y,x=t.recordCanvas,S=x!==void 0&&x,ee=t.onSerialize,te=t.onIframeLoad,ne=t.iframeLoadTimeout,re=ne===void 0?5e3:ne,ie=t.onStylesheetLoad,ae=t.stylesheetLoadTimeout,oe=ae===void 0?5e3:ae,C=t.keepIframeSrcFn,se=C===void 0?function(){return!1}:C,ce=t.newlyAddedElement,le=ce!==void 0&&ce,ue=t.cssCaptured,de=ue!==void 0&&ue,fe=t.needsMask,pe=t.preserveWhiteSpace,me=pe===void 0||pe;fe||=tw(e,o,s,fe===void 0);var he=iw(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,needsMask:fe,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:h,dataURLOptions:v,inlineImages:b,recordCanvas:S,keepIframeSrcFn:se,newlyAddedElement:le,cssCaptured:de});if(!he)return console.warn(e,`not serialized`),null;var ge=r.hasNode(e)?r.getId(e):lw(he,g)||!me&&he.type===BS.Text&&!he.textContent.replace(/^\s+|\s+$/gm,``).length?zC:BC(),w=Object.assign(he,{id:ge});if(r.add(e,w),ge===zC)return null;ee&&ee(e);var _e=!l;if(w.type===BS.Element){_e&&=!w.needBlock,delete w.needBlock;var ve=lC.shadowRoot(e);ve&&fC(ve)&&(w.isShadowHost=!0)}if((w.type===BS.Document||w.type===BS.Element)&&_e){g.headWhitespace&&w.type===BS.Element&&w.tagName===`head`&&(me=!1);var ye={doc:n,mirror:r,blockClass:i,blockSelector:a,needsMask:fe,maskTextClass:o,maskTextSelector:s,skipChild:l,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:h,slimDOMOptions:g,dataURLOptions:v,inlineImages:b,recordCanvas:S,preserveWhiteSpace:me,onSerialize:ee,onIframeLoad:te,iframeLoadTimeout:re,onStylesheetLoad:ie,stylesheetLoadTimeout:oe,keepIframeSrcFn:se,cssCaptured:!1};if(w.type!==BS.Element||w.tagName!==`textarea`||w.attributes.value===void 0){w.type===BS.Element&&w.attributes._cssText!==void 0&&typeof w.attributes._cssText==`string`&&(ye.cssCaptured=!0);for(var be=L(Array.from(lC.childNodes(e))),xe;!(xe=be()).done;){var Se=xe.value,Ce=uw(Se,ye);Ce&&w.childNodes.push(Ce)}}var we=null;if(uC(e)&&(we=lC.shadowRoot(e)))for(var Te=L(Array.from(lC.childNodes(we))),Ee;!(Ee=Te()).done;){var De=Ee.value,Oe=uw(De,ye);Oe&&(fC(we)&&(Oe.isShadow=!0),w.childNodes.push(Oe))}}var ke=lC.parentNode(e);return ke&&dC(ke)&&fC(ke)&&(w.isShadow=!0),w.type===BS.Element&&w.tagName===`iframe`&&nw(e,function(){var t=e.contentDocument;if(t&&te){var n=uw(t,{doc:t,mirror:r,blockClass:i,blockSelector:a,needsMask:fe,maskTextClass:o,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:h,slimDOMOptions:g,dataURLOptions:v,inlineImages:b,recordCanvas:S,preserveWhiteSpace:me,onSerialize:ee,onIframeLoad:te,iframeLoadTimeout:re,onStylesheetLoad:ie,stylesheetLoadTimeout:oe,keepIframeSrcFn:se});n&&te(e,n)}},re),w.type===BS.Element&&w.tagName===`link`&&typeof w.attributes.rel==`string`&&(w.attributes.rel===`stylesheet`||w.attributes.rel===`preload`&&typeof w.attributes.href==`string`&&DC(w.attributes.href)===`css`)&&rw(e,function(){if(ie){var t=uw(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,needsMask:fe,maskTextClass:o,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:h,slimDOMOptions:g,dataURLOptions:v,inlineImages:b,recordCanvas:S,preserveWhiteSpace:me,onSerialize:ee,onIframeLoad:te,iframeLoadTimeout:re,onStylesheetLoad:ie,stylesheetLoadTimeout:oe,keepIframeSrcFn:se});t&&ie(e,t)}},oe),w}function dw(e,t){var n=t||{},r=n.mirror,i=r===void 0?new bC:r,a=n.blockClass,o=a===void 0?`rr-block`:a,s=n.blockSelector,c=s===void 0?null:s,l=n.maskTextClass,u=l===void 0?`rr-mask`:l,d=n.maskTextSelector,f=d===void 0?null:d,p=n.inlineStylesheet,m=p===void 0||p,h=n.inl
14ineImages,g=h!==void 0&&h,_=n.recordCanvas,v=_!==void 0&&_,y=n.maskAllInputs,b=y!==void 0&&y,x=n.maskTextFn,S=n.maskInputFn,ee=n.slimDOM,te=ee!==void 0&&ee,ne=n.dataURLOptions,re=n.preserveWhiteSpace,ie=n.onSerialize,ae=n.onIframeLoad,oe=n.iframeLoadTimeout,C=n.onStylesheetLoad,se=n.stylesheetLoadTimeout,ce=n.keepIframeSrcFn;return uw(e,{doc:e,mirror:i,blockClass:o,blockSelector:c,maskTextClass:u,maskTextSelector:f,skipChild:!1,inlineStylesheet:m,maskInputOptions:b===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:b===!1?{password:!0}:b,maskTextFn:x,maskInputFn:S,slimDOMOptions:te===!0||te===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:te===`all`,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:te===!1?{}:te,dataURLOptions:ne,inlineImages:g,recordCanvas:v,preserveWhiteSpace:re,onSerialize:ie,onIframeLoad:ae,iframeLoadTimeout:oe,onStylesheetLoad:C,stylesheetLoadTimeout:se,keepIframeSrcFn:ce===void 0?function(){return!1}:ce,newlyAddedElement:!1})}function fw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function pw(e){if(e.__esModule)return e;var t=e.default;if(typeof t==`function`){var n=function e(){return F(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var mw={exports:{}},hw=String,gw=function(){return{isColorSupported:!1,reset:hw,bold:hw,dim:hw,italic:hw,underline:hw,inverse:hw,hidden:hw,strikethrough:hw,black:hw,red:hw,green:hw,yellow:hw,blue:hw,magenta:hw,cyan:hw,white:hw,gray:hw,bgBlack:hw,bgRed:hw,bgGreen:hw,bgYellow:hw,bgBlue:hw,bgMagenta:hw,bgCyan:hw,bgWhite:hw}};mw.exports=gw(),mw.exports.createColors=gw;var _w=mw.exports,vw=pw(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:`Module`}))),yw=_w,bw=vw,xw=function(e){ES(t,e);function t(n,r,i,a,o,s){var c=e.call(this,n)||this;return c.name=`CssSyntaxError`,c.reason=n,o&&(c.file=o),a&&(c.source=a),s&&(c.plugin=s),r!==void 0&&i!==void 0&&(typeof r==`number`?(c.line=r,c.column=i):(c.line=r.line,c.column=r.column,c.endLine=i.line,c.endColumn=i.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,t),c}var n=t.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+`: `:``,this.message+=this.file?this.file:`<css input>`,this.line!==void 0&&(this.message+=`:`+this.line+`:`+this.column),this.message+=`: `+this.reason},n.showSourceCode=function(e){var t=this;if(!this.source)return``;var n=this.source;e??=yw.isColorSupported,bw&&e&&(n=bw(n));var r=n.split(/\r?\n/),i=Math.max(this.line-3,0),a=Math.min(this.line+2,r.length),o=String(a).length,s,c;if(e){var l=yw.createColors(!0),u=l.bold,d=l.gray,f=l.red;s=function(e){return u(f(e))},c=function(e){return d(e)}}else s=c=function(e){return e};return r.slice(i,a).map(function(e,n){var r=i+1+n,a=` `+(` `+r).slice(-o)+` | `;if(r===t.line){var l=c(a.replace(/\d/g,` `))+e.slice(0,t.column-1).replace(/[^\t]/g,` `);return s(`>`)+c(a)+e+`
15 `+l+s(`^`)}return` `+c(a)+e}).join(`
16`)},n.toString=function(){var e=this.showSourceCode();return e&&=`
17
18`+e+`
19`,this.name+`: `+this.message+e},t}(jS(Error)),Sw=xw;xw.default=xw;var Cw={};Cw.isClean=Symbol(`isClean`),Cw.my=Symbol(`my`);var ww={after:`
20`,beforeClose:`
21`,beforeComment:`
22`,beforeDecl:`
23`,beforeOpen:` `,beforeRule:`
24`,colon:`: `,commentLeft:` `,commentRight:` `,emptyBody:``,indent:`    `,semicolon:!1};function Tw(e){return e[0].toUpperCase()+e.slice(1)}var Ew=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var n=`@`+e.name,r=e.params?this.rawValue(e,`params`):``;if(e.raws.afterName===void 0?r&&(n+=` `):n+=e.raws.afterName,e.nodes)this.block(e,n+r);else{var i=(e.raws.between||``)+(t?`;`:``);this.builder(n+r+i,e)}},t.beforeAfter=function(e,t){for(var n=e.type===`decl`?this.raw(e,null,`beforeDecl`):e.type===`comment`?this.raw(e,null,`beforeComment`):t===`before`?this.raw(e,null,`beforeRule`):this.raw(e,null,`beforeClose`),r=e.parent,i=0;r&&r.type!==`root`;)i+=1,r=r.parent;if(n.includes(`
25`)){var a=this.raw(e,null,`indent`);if(a.length)for(var o=0;o<i;o++)n+=a}return n},t.block=function(e,t){var n=this.raw(e,`between`,`beforeOpen`);this.builder(t+n+`{`,e,`start`);var r;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,`after`)):r=this.raw(e,`after`,`emptyBody`),r&&this.builder(r),this.builder(`}`,e,`end`)},t.body=function(e){for(var t=e.nodes.length-1;t>0&&e.nodes[t].type===`comment`;)--t;for(var n=this.raw(e,`semicolon`),r=0;r<e.nodes.length;r++){var i=e.nodes[r],a=this.raw(i,`before`);a&&this.builder(a),this.stringify(i,t!==r||n)}},t.comment=function(e){var t=this.raw(e,`left`,`commentLeft`),n=this.raw(e,`right`,`commentRight`);this.builder(`/*`+t+e.text+n+`*/`,e)},t.decl=function(e,t){var n=this.raw(e,`between`,`colon`),r=e.prop+n+this.rawValue(e,`value`);e.important&&(r+=e.raws.important||` !important`),t&&(r+=`;`),this.builder(r,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,n){var r;if(n||=t,t&&(r=e.raws[t],r!==void 0))return r;var i=e.parent;if(n===`before`&&(!i||i.type===`root`&&i.first===e||i&&i.type===`document`))return``;if(!i)return ww[n];var a=e.root();if(a.rawCache||={},a.rawCache[n]!==void 0)return a.rawCache[n];if(n===`before`||n===`after`)return this.beforeAfter(e,n);var o=`raw`+Tw(n);return this[o]?r=this[o](a,e):a.walk(function(e){if(r=e.raws[t],r!==void 0)return!1}),r===void 0&&(r=ww[n]),a.rawCache[n]=r,r},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&e.raws.after!==void 0)return t=e.raws.after,t.includes(`
26`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t},t.rawBeforeComment=function(e,t){var n;return e.walkComments(function(e){if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
27`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeDecl`):n&&=n.replace(/\S/g,``),n},t.rawBeforeDecl=function(e,t){var n;return e.walkDecls(function(e){if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
28`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeRule`):n&&=n.replace(/\S/g,``),n},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if(e.type!==`decl`&&(t=e.raws.between,t!==void 0))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&n.raws.before!==void 0)return t=n.raws.before,t.includes(`
29`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(e.raws.between!==void 0)return t=e.raws.between.replace(/[^\s:]/g,``),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length===0&&(t=e.raws.after,t!==void 0))return!1}),t},t.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t;return e.walk(function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&n.raws.before!==void 0){var i=n.raws.before.split(`
30`);return t=i[i.length-1],t=t.replace(/\S/g,``),!1}}),t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&e.last.type===`decl`&&(t=e.raws.semicolon,t!==void 0))return!1}),t},t.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,`selector`)),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,`end`)},t.stringify=function(e,t){if(!this[e.type])throw Error(`Unknown AST node type `+e.type+`. Maybe you need to change PostCSS stringifier.`);this[e.type](e,t)},e}(),Dw=Ew;Ew.default=Ew;var Ow=Dw;function kw(e,t){new Ow(t).stringify(e)}var Aw=kw;kw.default=kw;var jw=Cw.isClean,Mw=Cw.my,Nw=Sw,Pw=Dw,Fw=Aw;function Iw(e,t){var n=new e.constructor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&r!==`proxyCache`){var i=e[r],a=i===void 0?`undefined`:I(i);r===`parent`&&a===`object`?t&&(n[r]=t):r===`source`?n[r]=i:Array.isArray(i)?n[r]=i.map(function(e){return Iw(e,n)}):(a===`object`&&i!==null&&(i=Iw(i)),n[r]=i)}return n}var Lw=function(){function e(e){for(var t in e===void 0&&(e={}),this.raws={},this[jw]=!1,this[Mw]=!0,e)if(t===`nodes`){this.nodes=[];for(var n=L(e[t]),r;!(r=n()).done;){var i=r.value;typeof i.clone==`function`?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&`+t.input.from+`:`+t.start.line+`:`+t.start.column+`$&`)}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in e===void 0&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){e===void 0&&(e={});var t=Iw(this);for(var n in e)t[n]=e[n];return t},t.cloneAfter=function(e){e===void 0&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){e===void 0&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(t===void 0&&(t={}),this.source){var n=this.rangeBy(t),r=n.end,i=n.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new Nw(e)},t.getProxyProcessor=function(){return{get:function(e,t){return t===`proxyOf`?e:t===`root`?function(){return e.root().toProxy()}:e[t]},set:function(e,t,n){return e[t]===n||(e[t]=n,(t===`prop`||t===`value`||t===`name`||t===`params`||t===`important`||t===`text`)&&e.markDirty(),!0)}}},t.markDirty=function(){if(this[jw]){this[jw]=!1;for(var e=this;e=e.parent;)e[jw]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){t=this.toString();
30var r=t.indexOf(e.word);r!==-1&&(n=this.positionInside(r,t))}return n},t.positionInside=function(e,t){for(var n=t||this.toString(),r=this.source.start.column,i=this.source.start.line,a=0;a<e;a++)n[a]===`
31`?(r=1,i+=1):r+=1;return{column:r,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var r=this.toString(),i=r.indexOf(e.word);i!==-1&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:typeof e.endIndex==`number`?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}},t.raw=function(e,t){return new Pw().raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){var e=[...arguments];if(this.parent){for(var t=this,n=!1,r=L(e),i;!(i=r()).done;){var a=i.value;a===this?n=!0:n?(this.parent.insertAfter(t,a),t=a):this.parent.insertBefore(t,a)}n||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&e.parent.type!==`document`;)e=e.parent;return e},t.toJSON=function(e,t){var n={},r=t==null;t||=new Map;var i=0;for(var a in this)if(Object.prototype.hasOwnProperty.call(this,a)&&a!==`parent`&&a!==`proxyCache`){var o=this[a];if(Array.isArray(o))n[a]=o.map(function(e){return(e===void 0?`undefined`:I(e))===`object`&&e.toJSON?e.toJSON(null,t):e});else if((o===void 0?`undefined`:I(o))===`object`&&o.toJSON)n[a]=o.toJSON(null,t);else if(a===`source`){var s=t.get(o.input);s??(s=i,t.set(o.input,i),i++),n[a]={end:o.end,inputId:s,start:o.start}}else n[a]=o}return r&&(n.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),n},t.toProxy=function(){return this.proxyCache||=new Proxy(this,this.getProxyProcessor()),this.proxyCache},t.toString=function(e){e===void 0&&(e=Fw),e.stringify&&(e=e.stringify);var t=``;return e(this,function(e){t+=e}),t},t.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},wS(e,[{key:`proxyOf`,get:function(){return this}}]),e}(),Rw=Lw;Lw.default=Lw;var zw=function(e){ES(t,e);function t(t){var n;return t&&t.value!==void 0&&typeof t.value!=`string`&&(t=P({},t,{value:String(t.value)})),n=e.call(this,t)||this,n.type=`decl`,n}return wS(t,[{key:`variable`,get:function(){return this.prop.startsWith(`--`)||this.prop[0]===`$`}}]),t}(Rw),Bw=zw;zw.default=zw;var Vw=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,Hw={nanoid:function(e){e===void 0&&(e=21);for(var t=``,n=e;n--;)t+=Vw[Math.random()*64|0];return t}},Uw=vw.SourceMapConsumer,Ww=vw.SourceMapGenerator,Gw=vw.existsSync,Kw=vw.readFileSync,qw=vw.dirname,Jw=vw.join;function Yw(e){return Buffer?Buffer.from(e,`base64`).toString():window.atob(e)}var Xw=function(){function e(e,t){if(t.map!==!1){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,`data:`);var n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=qw(this.mapFile)),r&&(this.text=r)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||=new Uw(this.text),this.consumerCache},t.decodeInline=function(e){var t=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||n.test(e))return Yw(e.substr(RegExp.lastMatch.length));var r=e.match(/data:application\/json;([^,]+),/)[1];throw Error(`Unsupported source map encoding `+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,``).trim()},t.isMap=function(e){return(e===void 0?`undefined`:I(e))===`object`?typeof e.mappings==`string`||typeof e._mappings==`string`||Array.isArray(e.sections):!1},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
31if(t){var n=e.lastIndexOf(t.pop()),r=e.indexOf(`*/`,n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}},t.loadFile=function(e){if(this.root=qw(e),Gw(e))return this.mapFile=e,Kw(e,`utf-8`).toString().trim()},t.loadMap=function(e,t){if(t===!1)return!1;if(t){if(typeof t==`string`)return t;if(typeof t==`function`){var n=t(e);if(n){var r=this.loadFile(n);if(!r)throw Error(`Unable to load previous source map: `+n.toString());return r}}else if(F(t,Uw))return Ww.fromSourceMap(t).toString();else if(F(t,Ww))return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error(`Unsupported previous source map format: `+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){var i=this.annotation;return e&&(i=Jw(qw(e),i)),this.loadFile(i)}},t.startWith=function(e,t){return e?e.substr(0,t.length)===t:!1},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),Zw=Xw;Xw.default=Xw;var Qw=vw.SourceMapConsumer,$w=vw.SourceMapGenerator,eT=vw.fileURLToPath,tT=vw.pathToFileURL,nT=vw.isAbsolute,rT=vw.resolve,iT=Hw.nanoid,aT=vw,oT=Sw,sT=Zw,cT=Symbol(`fromOffsetCac
31he`),lT=!!(Qw&&$w),uT=!!(rT&&nT),dT=function(){function e(e,t){if(t===void 0&&(t={}),e==null||(e===void 0?`undefined`:I(e))===`object`&&!e.toString)throw Error(`PostCSS received `+e+` instead of CSS string`);if(this.css=e.toString(),this.css[0]===``||this.css[0]===`￾`?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(this.file=!uT||/^\w+:\/\//.test(t.from)||nT(t.from)?t.from:rT(t.from)),uT&&lT){var n=new sT(this.css,t);if(n.text){this.map=n;var r=n.consumer().file;!this.file&&r&&(this.file=this.mapResolve(r))}}this.file||(this.id=`<input css `+iT(6)+`>`),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,n,r){r===void 0&&(r={});var i,a,o;if(t&&(t===void 0?`undefined`:I(t))===`object`){var s=t,c=n;if(typeof s.offset==`number`){var l=this.fromOffset(s.offset);t=l.line,n=l.col}else t=s.line,n=s.column;if(typeof c.offset==`number`){var u=this.fromOffset(c.offset);a=u.line,o=u.col}else a=c.line,o=c.column}else if(!n){var d=this.fromOffset(t);t=d.line,n=d.col}var f=this.origin(t,n,a,o);return i=f?new oT(e,f.endLine===void 0?f.line:{column:f.column,line:f.line},f.endLine===void 0?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,r.plugin):new oT(e,a===void 0?t:{column:n,line:t},a===void 0?n:{column:o,line:a},this.css,this.file,r.plugin),i.input={column:n,endColumn:o,endLine:a,line:t,source:this.css},this.file&&(tT&&(i.input.url=tT(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t,n;if(this[cT])n=this[cT];else{var r=this.css.split(`
32`);n=Array(r.length);for(var i=0,a=0,o=r.length;a<o;a++)n[a]=i,i+=r[a].length+1;this[cT]=n}t=n[n.length-1];var s=0;if(e>=t)s=n.length-1;else for(var c=n.length-2,l;s<c;)if(l=s+(c-s>>1),e<n[l])c=l-1;else if(e>=n[l+1])s=l+1;else{s=l;break}return{col:e-n[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:rT(this.map.consumer().sourceRoot||this.map.root||`.`,e)},t.origin=function(e,t,n,r){if(!this.map)return!1;var i=this.map.consumer(),a=i.originalPositionFor({column:t,line:e});if(!a.source)return!1;var o;
32typeof n==`number`&&(o=i.originalPositionFor({column:r,line:n}));var s=nT(a.source)?tT(a.source):new URL(a.source,this.map.consumer().sourceRoot||tT(this.map.mapFile)),c={column:a.column,endColumn:o&&o.column,endLine:o&&o.line,line:a.line,url:s.toString()};if(s.protocol===`file:`)if(eT)c.file=eT(s);else throw Error(`file: protocol is not available in this PostCSS build`);var l=i.sourceContentFor(a.source);return l&&(c.source=l),c},t.toJSON=function(){for(var e={},t=0,n=[`hasBOM`,`css`,`file`,`id`];t<n.length;t++){var r=n[t];this[r]!=null&&(e[r]=this[r])}return this.map&&(e.map=P({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},wS(e,[{key:`from`,get:function(){return this.file||this.id}}]),e}(),fT=dT;dT.default=dT,aT&&aT.registerInput&&aT.registerInput(dT);var pT=vw.SourceMapConsumer,mT=vw.SourceMapGenerator,hT=vw.dirname,gT=vw.relative,_T=vw.resolve,vT=vw.sep,yT=vw.pathToFileURL,bT=fT,xT=!!(pT&&mT),ST=!!(hT&&_T&&gT&&vT),CT=function(){function e(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e=this.isInline()?`data:application/json;base64,`+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation==`string`?this.mapOpts.annotation:typeof this.mapOpts.annotation==`function`?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+`.map`,t=`
33`;this.css.includes(`\r
34`)&&(t=`\r
35`),this.css+=t+`/*# sourceMappingURL=`+e+` */`},t.applyPrevMaps=function(){for(var e=L(this.previous()),t;!(t=e()).done;){var n=t.value,r=this.toUrl(this.path(n.file)),i=n.root||hT(n.file),a=void 0;this.mapOpts.sourcesContent===!1?(a=new pT(n.text),a.sourcesContent&&(a.sourcesContent=null)):a=n.consumer(),this.map.applySourceMap(a,r,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type===`comment`&&e.text.indexOf(`# sourceMappingURL=`)===0&&this.root.removeChild(t);else this.css&&=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,``)},t.generate=function(){if(this.clearAnnotation(),ST&&xT&&this.isMap())return this.generateMap();var e=``;return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=mT.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new mT({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css=``,this.map=new mT({file:this.outputFile(),ignoreInvalidMapping:!0});var t=1,n=1,r=`<no source>`,i={generated:{column:0,line:0},original:{column:0,line:0},source:``},a,o;this.stringify(this.root,function(s,c,l){if(e.css+=s,c&&l!==`end`&&(i.generated.line=t,i.generated.column=n-1,c.source&&c.source.start?(i.source=e.sourcePath(c),i.original.line=c.source.start.line,i.original.column=c.source.start.column-1,e.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,e.map.addMapping(i))),a=s.match(/\n/g),a?(t+=a.length,o=s.lastIndexOf(`
36`),n=s.length-o):n+=s.length,c&&l!==`start`){var u=c.parent||{raws:{}};(!(c.type===`decl`||c.type===`atrule`&&!c.nodes)||c!==u.last||u.raws.semicolon)&&(c.source&&c.source.end?(i.source=e.sourcePath(c),i.original.line=c.source.end.line,i.original.column=c.source.end.column-1,i.generated.line=t,i.generated.column=n-2,e.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=t,i.generated.column=n-1,e.map.addMapping(i)))}})},t.isAnnotation=function(){return this.isInline()?!0:this.mapOpts.annotation===void 0?!this.previous().length||this.previous().some(function(e){return e.annotation}):this.mapOpts.annotation},t.isInline=function(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;var e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:!this.previous().length||this.previous().some(function(e){return e.inline})},t.isMap=function(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map},t.isSourcesContent=function(){return this.mapOpts.sourcesContent===void 0?!this.previous().length||this.previous().some(function(e){return e.withContent()}):this.mapOpts.sourcesContent},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`},t.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var n=this.opts.to?hT(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(n=hT(_T(n,this.mapOpts.annotation)));var r=gT(n,e);return this.memoizedPaths.set(e,r),r},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;e.previousMaps.includes(n)||e.previousMaps.push(n)}});else{var t=new bT(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.usesFileUrls?e.toFileUrl(r):e.toUrl(e.path(r));e.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){var n=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(n,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(yT){var n=yT(e).toString();return this.memoizedFileURLs.set(e,n),n}throw Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;vT===`\\`&&(e=e.replace(/\\/g,`/`));var n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n},e}(),wT=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`comment`,n}return t}(Rw),TT=wT;wT.default=wT;var ET=Cw.isClean,DT=Cw.my,OT=Bw,kT=TT,AT=Rw,jT,MT,NT,PT;
36function FT(e){return e.map(function(e){return e.nodes&&=FT(e.nodes),delete e.source,e})}function IT(e){if(e[ET]=!1,e.proxyOf.nodes)for(var t=L(e.proxyOf.nodes),n;!(n=t()).done;){var r=n.value;IT(r)}}var LT=function(e){ES(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.append=function(){for(var e=L([...arguments]),t;!(t=e()).done;)for(var n=t.value,r=L(this.normalize(n,this.last)),i;!(i=r()).done;){var a=i.value;this.proxyOf.nodes.push(a)}return this.markDirty(),this},n.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var n=L(this.nodes),r;!(r=n()).done;)r.value.cleanRaws(t)},n.each=function(e){if(this.proxyOf.nodes){for(var t=this.getIterator(),n,r;this.indexes[t]<this.proxyOf.nodes.length&&(n=this.indexes[t],r=e(this.proxyOf.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}},n.every=function(e){return this.nodes.every(e)},n.getIterator=function(){this.lastEach||=0,this.indexes||={},this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},n.getProxyProcessor=function(){return{get:function(e,t){return t===`proxyOf`?e:e[t]?t===`each`||typeof t==`string`&&t.startsWith(`walk`)?function(){var n=[...arguments],r;return(r=e)[t].apply(r,[].concat(n.map(function(e){return typeof e==`function`?function(t,n){return e(t.toProxy(),n)}:e})))}:t===`every`||t===`some`?function(n){return e[t](function(e){var t=[...arguments].slice(1);return n.apply(void 0,[e.toProxy()].concat(t))})}:t===`root`?function(){return e.root().toProxy()}:t===`nodes`?e.nodes.map(function(e){return e.toProxy()}):t===`first`||t===`last`?e[t].toProxy():e[t]:e[t]},set:function(e,t,n){return e[t]===n||(e[t]=n,(t===`name`||t===`params`||t===`selector`)&&e.markDirty(),!0)}}},n.index=function(e){return typeof e==`number`?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},n.insertAfter=function(e,t){var n=this.index(e),r=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var i=L(r),a;!(a=i()).done;){var o=a.value;this.proxyOf.nodes.splice(n+1,0,o)}var s;for(var c in this.indexes)s=this.indexes[c],n<s&&(this.indexes[c]=s+r.length);return this.markDirty(),this},n.insertBefore=function(e,t){var n=this.index(e),r=n===0&&`prepend`,i=this.normalize(t,this.proxyOf.nodes[n],r).reverse();n=this.index(e);for(var a=L(i),o;!(o=a()).done;){var s=o.value;this.proxyOf.nodes.splice(n,0,s)}var c;for(var l in this.indexes)c=this.indexes[l],n<=c&&(this.indexes[l]=c+i.length);return this.markDirty(),this},n.normalize=function(e,n){var r=this;if(typeof e==`string`)e=FT(jT(e).nodes);else if(e===void 0)e=[];else if(Array.isArray(e)){e=e.slice(0);for(var i=L(e),a;!(a=i()).done;){var o=a.value;o.parent&&o.parent.removeChild(o,`ignore`)}}else if(e.type===`root`&&this.type!==`document`){e=e.nodes.slice(0);for(var s=L(e),c;!(c=s()).done;){var l=c.value;l.parent&&l.parent.removeChild(l,`ignore`)}}else if(e.type)e=[e];else if(e.prop){if(e.value===void 0)throw Error(`Value field is missed in node creation`);typeof e.value!=`string`&&(e.value=String(e.value)),e=[new OT(e)]}else if(e.selector)e=[new MT(e)];else if(e.name)e=[new NT(e)];else if(e.text)e=[new kT(e)];else throw Error(`Unknown node type in node creation`);return e.map(function(e){return e[DT]||t.rebuild(e),e=e.proxyOf,e.parent&&e.parent.removeChild(e),e[ET]&&IT(e),e.raws.before===void 0&&n&&n.raws.before!==void 0&&(e.raws.before=n.raws.before.replace(/\S/g,``)),e.parent=r.proxyOf,e})},n.prepend=function(){var e=[...arguments];e=e.reverse();for(var t=L(e),n;!(n=t()).done;){for(var r=n.value,i=this.normalize(r,this.first,`prepend`).reverse(),a=L(i),o;!(o=a()).done;){var s=o.value;this.proxyOf.nodes.unshift(s)}for(var c in this.indexes)this.indexes[c]=this.indexes[c]+i.length}return this.markDirty(),this},n.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},n.removeAll=function(){for(var e=L(this.proxyOf.nodes),t;!(t=e()).done;){var n=t.value;n.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this},n.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls(function(r){t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this},n.some=function(e){return this.nodes.some(e)},n.walk=function(e){return this.each(function(t,n){var r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return r!==!1&&t.walk&&(r=t.walk(e)),r})},n.walkAtRules=function(e,t){return t?F(e,RegExp)?this.walk(function(n,r){if(n.type===`atrule`&&e.test(n.name))return t(n,r)}):this.walk(function(n,r){if(n.type===`atrule`&&n.name===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`atrule`)return t(e,n)}))},n.walkComments=function(e){return this.walk(function(t,n){if(t.type===`comment`)return e(t,n)})},n.walkDecls=function(e,t){return t?F(e,RegExp)?this.walk(function(n,r){if(n.type===`decl`&&e.test(n.prop))return t(n,r)}):this.walk(function(n,r){if(n.type===`decl`&&n.prop===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`decl`)return t(e,n)}))},n.walkRules=function(e,t){return t?F(e,RegExp)?this.walk(function(n,r){if(n.type===`rule`&&e.test(n.selector))return t(n,r)}):this.walk(function(n,r){if(n.type===`rule`&&n.selector===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`rule`)return t(e,n)}))},wS(t,[{key:`first`,get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:`last`,get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(AT);LT.registerParse=function(e){jT=e},LT.registerRule=function(e){MT=e},LT.registerAtRule=function(e){NT=e},LT.registerRoot=function(e){PT=e};var RT=LT;LT.default=LT,LT.rebuild=function(e){e.type===`atrule`?Object.setPrototypeOf(e,NT.prototype):e.type===`rule`?Object.setPrototypeOf(e,MT.prototype):e.type===`decl`?Object.setPrototypeOf(e,OT.prototype):e.type===`comment`?Object.setPrototypeOf(e,kT.prototype):e.type===`root`&&Object.setPrototypeOf(e,PT.prototype),e[DT]=!0,e.nodes&&e.nodes.forEac
36h(function(e){LT.rebuild(e)})};var zT=RT,BT,VT,HT=function(e){ES(t,e);function t(t){var n=e.call(this,P({type:`document`},t))||this;return n.nodes||=[],n}var n=t.prototype;return n.toResult=function(e){return e===void 0&&(e={}),new BT(new VT,this,e).stringify()},t}(zT);HT.registerLazyResult=function(e){BT=e},HT.registerProcessor=function(e){VT=e};var UT=HT;HT.default=HT;var WT=function(){function e(e,t){if(t===void 0&&(t={}),this.type=`warning`,this.text=e,t.node&&t.node.source){var n=t.node.rangeBy(t);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var r in t)this[r]=t[r]}var t=e.prototype;return t.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text},e}(),GT=WT;WT.default=WT;var KT=GT,qT=function(){function e(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){t===void 0&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new KT(e,t);return this.messages.push(n),n},t.warnings=function(){return this.messages.filter(function(e){return e.type===`warning`})},wS(e,[{key:`content`,get:function(){return this.css}}]),e}(),JT=qT;qT.default=qT;var XT=39,ZT=34,QT=92,$T=47,eE=10,tE=32,nE=12,rE=9,iE=13,aE=91,oE=93,sE=40,cE=41,lE=123,uE=125,dE=59,fE=42,pE=58,mE=64,hE=/[\t\n\f\r "#'()/;[\\\]{}]/g,gE=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_E=/.[\r\n"'(/\\]/,vE=/[\da-f]/i,yE=function(e,t){t===void 0&&(t={});var n=e.css.valueOf(),r=t.ignoreErrors,i,a,o,s,c,l,u,d,f,p,m=n.length,h=0,g=[],_=[];function v(){return h}function y(t){throw e.error(`Unclosed `+t,h)}function b(){return _.length===0&&h>=m}function x(e){if(_.length)return _.pop();if(!(h>=m)){var t=e?e.ignoreUnclosed:!1;switch(i=n.charCodeAt(h),i){case eE:case tE:case rE:case iE:case nE:a=h;do a+=1,i=n.charCodeAt(a);while(i===tE||i===eE||i===rE||i===iE||i===nE);p=[`space`,n.slice(h,a)],h=a-1;break;case aE:case oE:case lE:case uE:case pE:case dE:case cE:var v=String.fromCharCode(i);p=[v,v,h];break;case sE:if(d=g.length?g.pop()[1]:``,f=n.charCodeAt(h+1),d===`url`&&f!==XT&&f!==ZT&&f!==tE&&f!==eE&&f!==rE&&f!==nE&&f!==iE){a=h;do{if(l=!1,a=n.indexOf(`)`,a+1),a===-1)if(r||t){a=h;break}else y(`bracket`);for(u=a;n.charCodeAt(u-1)===QT;)--u,l=!l}while(l);p=[`brackets`,n.slice(h,a+1),h,a],h=a}else a=n.indexOf(`)`,h+1),s=n.slice(h,a+1),a===-1||_E.test(s)?p=[`(`,`(`,h]:(p=[`brackets`,s,h,a],h=a);break;case XT:case ZT:o=i===XT?`'`:`"`,a=h;do{if(l=!1,a=n.indexOf(o,a+1),a===-1)if(r||t){a=h+1;break}else y(`string`);for(u=a;n.charCodeAt(u-1)===QT;)--u,l=!l}while(l);p=[`string`,n.slice(h,a+1),h,a],h=a;break;case mE:hE.lastIndex=h+1,hE.test(n),a=hE.lastIndex===0?n.length-1:hE.lastIndex-2,p=[`at-word`,n.slice(h,a+1),h,a],h=a;break;case QT:for(a=h,c=!0;
36n.charCodeAt(a+1)===QT;)a+=1,c=!c;if(i=n.charCodeAt(a+1),c&&i!==$T&&i!==tE&&i!==eE&&i!==rE&&i!==iE&&i!==nE&&(a+=1,vE.test(n.charAt(a)))){for(;vE.test(n.charAt(a+1));)a+=1;n.charCodeAt(a+1)===tE&&(a+=1)}p=[`word`,n.slice(h,a+1),h,a],h=a;break;default:i===$T&&n.charCodeAt(h+1)===fE?(a=n.indexOf(`*/`,h+2)+1,a===0&&(r||t?a=n.length:y(`comment`)),p=[`comment`,n.slice(h,a+1),h,a],h=a):(gE.lastIndex=h+1,gE.test(n),a=gE.lastIndex===0?n.length-1:gE.lastIndex-2,p=[`word`,n.slice(h,a+1),h,a],g.push(p),h=a)}return h++,p}}function S(e){_.push(e)}return{back:S,endOfFile:b,nextToken:x,position:v}},bE=RT,xE=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`atrule`,n}var n=t.prototype;return n.append=function(){var t=[...arguments],n;return this.proxyOf.nodes||(this.nodes=[]),(n=e.prototype.append).call.apply(n,[this].concat(t))},n.prepend=function(){var t=[...arguments],n;return this.proxyOf.nodes||(this.nodes=[]),(n=e.prototype.prepend).call.apply(n,[this].concat(t))},t}(bE),SE=xE;xE.default=xE,bE.registerAtRule(xE);var CE=RT,wE,TE,EE=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`root`,n.nodes||=[],n}var n=t.prototype;return n.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n){if(r===`prepend`)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(var a=L(i),o;!(o=a()).done;){var s=o.value;s.raws.before=n.raws.before}}return i},n.removeChild=function(t,n){var r=this.index(t);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},n.toResult=function(e){return e===void 0&&(e={}),new wE(new TE,this,e).stringify()},t}(CE);EE.registerLazyResult=function(e){wE=e},EE.registerProcessor=function(e){TE=e};var DE=EE;EE.default=EE,CE.registerRoot(EE);var OE={comma:function(e){return OE.split(e,[`,`],!0)},space:function(e){return OE.split(e,[` `,`
37`,`	`])},split:function(e,t,n){for(var r=[],i=``,a=!1,o=0,s=!1,c=``,l=!1,u=L(e),d;!(d=u()).done;){var f=d.value;l?l=!1:f===`\\`?l=!0:s?f===c&&(s=!1):f===`"`||f===`'`?(s=!0,c=f):f===`(`?o+=1:f===`)`?o>0&&--o:o===0&&t.includes(f)&&(a=!0),a?(i!==``&&r.push(i.trim()),i=``,a=!1):i+=f}return(n||i!==``)&&r.push(i.trim()),r}},kE=OE;OE.default=OE;var AE=RT,jE=kE,ME=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`rule`,n.nodes||=[],n}return wS(t,[{key:`selectors`,get:function(){return jE.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:`,`+this.raw(`between`,`beforeOpen`);this.selector=e.join(n)}}]),t}(AE),NE=ME;ME.default=ME,AE.registerRule(ME);var PE=Bw,FE=yE,IE=TT,LE=SE,RE=DE,zE=NE,BE={empty:!0,space:!0};function VE(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=n[3]||n[2];if(r)return r}}var HE=function(){function e(e){this.input=e,this.root=new RE,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t=new LE;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2]);for(var n,r,i,a=!1,o=!1,s=[],c=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n===`(`||n===`[`?c.push(n===`(`?`)`:`]`):n===`{`&&c.length>0?c.push(`}`):n===c[c.length-1]&&c.pop(),c.length===0)if(n===`;`){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(n===`{`){o=!0;break}else if(n===`}`){if(s.length>0){for(i=s.length-1,r=s[i];r&&r[0]===`space`;)r=s[--i];r&&(t.source.end=this.getPosition(r[3]||r[2]),t.source.end.offset++)}this.end(e);break}else s.push(e);else s.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,`params`,s),a&&(e=s[s.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),o&&(t.nodes=[],this.current=t)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(t!==!1){for(var n=0,r,i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}},t.colon=function(e){for(var t=0,n,r,i,a=L(e.entries()),o;!(o=a()).done;){var s=o.value,c=s[0];if(n=s[1],r=n[0],r===`(`&&(t+=1),r===`)`&&--t,t===0&&r===`:`)if(!i)this.doubleColon(n);else if(i[0]===`word`&&i[1]===`progid`)continue;else return c;i=n}return!1},t.comment=function(e){var t=new IE;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var n=e[1].slice(2,-2);
37if(/^\s*$/.test(n))t.text=``,t.raws.left=n,t.raws.right=``;else{var r=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},t.createTokenizer=function(){this.tokenizer=FE(this.input)},t.decl=function(e,t){var n=new PE;this.init(n,e[0][2]);var r=e[e.length-1];for(r[0]===`;`&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(r[3]||r[2]||VE(e)),n.source.end.offset++;e[0][0]!==`word`;)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop=``;e.length;){var i=e[0][0];if(i===`:`||i===`space`||i===`comment`)break;n.prop+=e.shift()[1]}n.raws.between=``;for(var a;e.length;){if(a=e.shift(),a[0]===`:`){n.raws.between+=a[1];break}a[0]===`word`&&/\w/.test(a[1])&&this.unknownWord([a]),n.raws.between+=a[1]}(n.prop[0]===`_`||n.prop[0]===`*`)&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));for(var o=[],s;e.length&&(s=e[0][0],s===`space`||s===`comment`);)o.push(e.shift());this.precheckMissedSemicolon(e);for(var c=e.length-1;c>=0;c--){if(a=e[c],a[1].toLowerCase()===`!important`){n.important=!0;var l=this.stringFrom(e,c);l=this.spacesFromEnd(e)+l,l!==` !important`&&(n.raws.important=l);break}if(a[1].toLowerCase()===`important`){for(var u=e.slice(0),d=``,f=c;f>0;f--){var p=u[f][0];if(d.trim().indexOf(`!`)===0&&p!==`space`)break;d=u.pop()[1]+d}d.trim().indexOf(`!`)===0&&(n.important=!0,n.raws.important=d,e=u)}if(a[0]!==`space`&&a[0]!==`comment`)break}e.some(function(e){return e[0]!==`space`&&e[0]!==`comment`})&&(n.raws.between+=o.map(function(e){return e[1]}).join(``),o=[]),this.raw(n,`value`,o.concat(e),t),n.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new zE;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.spaces=``,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``)}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0){if(n===`;`)if(r){this.decl(s,o);return}else break;if(n===`{`){this.rule(s);return}if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}n===`:`&&(r=!0)}else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],c===`space`||c===`comment`);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,n,r){for(var i,a,o=n.length,s=``,c=!0,l,u,d=0;d<o;d+=1)i=n[d],a=i[0],a===`space`&&d===o-1&&!r?c=!1:a===`comment`?(u=n[d-1]?n[d-1][0]:`empty`,l=n[d+1]?n[d+1][0]:`empty`,!BE[u]&&!BE[l]?s.slice(-1)===`,`?c=!1:s+=i[1]:c=!1):s+=i[1];if(!c){var f=n.reduce(function(e,t){return e+t[1]},``);e.raws[t]={raw:f,value:s}}e[t]=s},t.rule=function(e){e.pop();var t=new zE;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,n=``;e.length&&(t=e[e.length-1][0],t===`space`||t===`comment`);)n=e.pop()[1]+n;return n},t.spacesAndCommentsFromStart=function(e){for(var t,n=``;e.length&&(t=e[0][0],t===`space`||t===`comment`);)n+=e.shift()[1];return n},t.spacesFromEnd=function(e){for(var t,n=``;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n},t.stringFrom=function(e,t){for(var n=``,r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error(`Unknown word`,{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})},e}(),UE=RT,WE=HE,GE=fT;function KE(e,t){var n=new WE(new GE(e,t));try{n.parse()}catch(e){throw e}return n.root}var qE=KE;KE.default=KE,UE.registerParse(KE);var JE=Cw.isClean,YE=Cw.my,XE=CT,ZE=Aw,QE=RT,$E=UT,eD=JT,tD=qE,nD=DE,rD={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},iD={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},aD={Once:!0,postcssPlugin:!0,prepare:!0},oD=0;function sD(e){return(e===void 0?`undefined`:I(e))===`object`&&typeof e.then==`function`}function cD(e){var t=!1,n=rD[e.type];return e.type===`decl`?t=e.prop.toLowerCase():e.type===`atrule`&&(t=e.name.toLowerCase()),t&&e.append?[n,n+`-`+t,oD,n+`Exit`,n+`Exit-`+t]:t?[n,n+`-`+t,n+`Exit`,n+`Exit-`+t]:e.append?[n,oD,n+`Exit`]:[n,n+`Exit`]}function lD(e){return{eventIndex:0,events:e.type===`document`?[`Document`,oD,`DocumentExit`]:e.type===`root`?[`Root`,oD,`RootExit`]:cD(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}
37function uD(e){return e[JE]=!1,e.nodes&&e.nodes.forEach(function(e){return uD(e)}),e}var dD={},fD=function(){function e(t,n,r){var i=this;this.stringified=!1,this.processed=!1;var a;if((n===void 0?`undefined`:I(n))===`object`&&n!==null&&(n.type===`root`||n.type===`document`))a=uD(n);else if(F(n,e)||F(n,eD))a=uD(n.root),n.map&&(r.map===void 0&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var o=tD;r.syntax&&(o=r.syntax.parse),r.parser&&(o=r.parser),o.parse&&(o=o.parse);try{a=o(n,r)}catch(e){this.processed=!0,this.error=e}a&&!a[YE]&&QE.rebuild(a)}this.result=new eD(t,a,r),this.helpers=P({},dD,{postcss:dD,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return(e===void 0?`undefined`:I(e))===`object`&&e.prepare?P({},e,e.prepare(i.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw Error(`Use process(css).then(cb) to work with async plugins`)},t.handleError=function(e,t){var n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t=function(t,n,r){e.listeners[n]||(e.listeners[n]=[]),e.listeners[n].push([t,r])},n=L(this.plugins),r;!(r=n()).done;){var i=r.value;if((i===void 0?`undefined`:I(i))===`object`)for(var a in i){if(!iD[a]&&/^[A-Z]/.test(a))throw Error(`Unknown event `+a+` in `+i.postcssPlugin+`. Try to update PostCSS (`+this.processor.version+` now).`);if(!aD[a])if(I(i[a])===`object`)for(var o in i[a])o===`*`?t(i,a,i[a][o]):t(i,a+`-`+o.toLowerCase(),i[a][o]);else typeof i[a]==`function`&&t(i,a,i[a])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return xS(function(){var t,n,r,i,a,o,s,c,l,u,d,f;return NS(this,function(p){switch(p.label){case 0:e.plugin=0,t=0,p.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(n=e.plugins[t],r=e.runOnRoot(n),!sD(r))return[3,5];p.label=2;case 2:return p.trys.push([2,4,,5]),[4,r];case 3:return p.sent(),[3,5];case 4:throw i=p.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];a=e.result.root,p.label=7;case 7:if(a[JE])return[3,14];a[JE]=!0,o=[lD(a)],p.label=8;case 8:if(!(o.length>0))return[3,13];if(s=e.visitTick(o),!sD(s))return[3,12];p.label=9;case 9:return p.trys.push([9,11,,12]),[4,s];case 10:return p.sent(),[3,12];case 11:throw c=p.sent(),l=o[o.length-1].node,e.handleError(c,l);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,n,r,i,o;return NS(this,function(s){switch(s.label){case 0:t=f.value,n=t[0],r=t[1],e.result.lastPlugin=n,s.label=1;case 1:return s.trys.push([1,6,,7]),a.type===`document`?(i=a.nodes.map(function(t){return r(t,e.helpers)}),[4,Promise.all(i)]):[3,3];case 2:return s.sent(),[3,5];case 3:return[4,r(a,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw o=s.sent(),e.handleError(o);case 7:return[2]}})},d=L(e.listeners.OnceExit),p.label=15;case 15:return(f=d()).done?[3,18]:[5,PS(u())];case 16:p.sent(),p.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if((e===void 0?`undefined`:I(e))===`object`&&e.Once){if(this.result.root.type===`document`){var n=this.result.root.nodes.map(function(n){return e.Once(n,t.helpers)});return sD(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=ZE;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new XE(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e=L(this.plugins),t;!(t=e()).done;){var n=t.value;if(sD(this.runOnRoot(n)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var r=this.result.root;!r[JE];)r[JE]=!0,this.walkSync(r);if(this.listeners.OnceExit)if(r.type===`document`)for(var i=L(r.no
37des),a;!(a=i()).done;){var o=a.value;this.visitSync(this.listeners.OnceExit,o)}else this.visitSync(this.listeners.OnceExit,r)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var n=L(e),r;!(r=n()).done;){var i=r.value,a=i[0],o=i[1];this.result.lastPlugin=a;var s=void 0;try{s=o(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(sD(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],n=t.node,r=t.visitors;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){var i=r[t.visitorIndex],a=i[0],o=i[1];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return o(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){for(var s=t.iterator,c;c=n.nodes[n.indexes[s]];)if(n.indexes[s]+=1,!c[JE]){c[JE]=!0,e.push(lD(c));return}t.iterator=0,delete n.indexes[s]}for(var l=t.events;t.eventIndex<l.length;){var u=l[t.eventIndex];if(t.eventIndex+=1,u===oD){n.nodes&&n.nodes.length&&(n[JE]=!0,t.iterator=n.getIterator());return}if(this.listeners[u]){t.visitors=this.listeners[u];return}}e.pop()},t.walkSync=function(e){var t=this;e[JE]=!0;for(var n=L(cD(e)),r;!(r=n()).done;){var i=r.value;if(i===oD)e.nodes&&e.each(function(e){e[JE]||t.walkSync(e)});else{var a=this.listeners[i];if(a&&this.visitSync(a,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},wS(e,[{key:`content`,get:function(){return this.stringify().content}},{key:`css`,get:function(){return this.stringify().css}},{key:`map`,get:function(){return this.stringify().map}},{key:`messages`,get:function(){return this.sync().messages}},{key:`opts`,get:function(){return this.result.opts}},{key:`processor`,get:function(){return this.result.processor}},{key:`root`,get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return`LazyResult`}}]),e}();fD.registerPostcss=function(e){dD=e};var pD=fD;fD.default=fD,nD.registerLazyResult(fD),$E.registerLazyResult(fD);var mD=CT,hD=Aw,gD=qE,_D=JT,vD=function(){function e(e,t,n){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;var r,i=hD;this.result=new _D(this._processor,r,this._opts),this.result.css=t;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var o=new mD(i,r,this._opts,t);if(o.isMap()){var s=o.generate(),c=s[0],l=s[1];c&&(this.result.css=c),l&&(this.result.map=l)}else o.clearAnnotation(),this.result.css=o.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},wS(e,[{key:`content`,get:function(){return this.result.css}},{key:`css`,get:function(){return this.result.css}},{key:`map`,get:function(){return this.result.map}},{key:`messages`,get:function(){return[]}},{key:`opts`,get:function(){return this.result.opts}},{key:`processor`,get:function(){return this.result.processor}},{key:`root`,get:function(){if(this._root)return this._root;var e,t=gD;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return`NoWorkResult`}}]),e}(),yD=vD;vD.default=vD;var bD=yD,xD=pD,SD=UT,CD=DE,wD=function(){function e(e){e===void 0&&(e=[]),this.version=`8.4.38`,this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t=[],n=L(e),r;!(r=n()).done;){var i=r.value;if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),(i===void 0?`undefined`:I(i))===`object`&&Array.isArray(i.plugins))t=t.concat(i.plugins);else if((i===void 0?`undefined`:I(i))===`object`&&i.postcssPlugin)t.push(i);else if(typeof i==`function`)t.push(i);else if(!((i===void 0?`undefined`:I(i))===`object`&&(i.parse||i.stringify)))throw Error(i+` is not a PostCSS plugin`)}return t},t.process=function(e,t){return t===void 0&&(t={}),!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new bD(this,e,t):new xD(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),TD=wD;wD.default=wD,CD.registerProcessor(wD),SD.registerProcessor(wD);var ED=Bw,DD=Zw,OD=TT,kD=SE,AD=fT,jD=DE,MD=NE;function ND(e,t){if(Array.isArray(e))return e.map(function(e){return ND(e)});var n=e.inputs,r=OS(e,[`inputs`]);if(n){t=[];for(var i=L(n),a;!(a=i()).done;){var o=a.value,s=P({},o,{__proto__:AD.prototype});s.map&&=P({},s.map,{__proto__:DD.prototype}),t.push(s)}}if(r.nodes&&=e.nodes.map(function(e){return ND(e,t)}),r.source){var c=r.source,l=c.inputId;r.source=OS(c,[`inputId`]),l!=null&&(r.source.input=t[l])}if(r.type===`root`)return new jD(r);if(r.type===`decl`)return new ED(r);if(r.type===`rule`)return new MD(r);if(r.type===`comment`)return new OD(r);if(r.type===`atrule`)return new kD(r);throw Error(`Unknown node type: `+e.type)}var PD=ND;ND.default=ND;var FD=Sw,ID=Bw,LD=pD,RD=RT,zD=TD,BD=Aw,VD=PD,HD=UT,UD=GT,WD=TT,GD=SE,KD=JT,qD=fT,JD=qE,YD=kE,XD=NE,ZD=DE,QD=Rw;function z(){var e=[...arguments];return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new zD(e)}z.plugin=function(e,t){var n=!1;function r(){var r=[...arguments];console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
38https://evilmartians.com/chronicles/postcss-8-plugin-migration`),{}.LANG&&{}.LANG.startsWith(`cn`)&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
39https://www.w3ctech.com/topic/2226`));var i=t.apply(void 0,[].concat(r));return i.postcssPlugin=e,i.postcssVersion=new zD().version,i}var i;return Object.defineProperty(r,"postcss",{get:function(){return i||=r(),i}}),r.process=function(e,t,n){return z([r(n)]).process(e,t)},r},z.stringify=BD,z.parse=JD,z.fromJSON=VD,z.list=YD,z.comment=function(e){return new WD(e)},z.atRule=function(e){return new GD(e)},z.decl=function(e){return new ID(e)},z.rule=function(e){return new XD(e)},z.root=function(e){return new ZD(e)},z.document=function(e){return new HD(e)},z.CssSyntaxError=FD,z.Declaration=ID,z.Container=RD,z.Processor=zD,z.Document=HD,z.Comment=WD,z.Warning=UD,z.AtRule=GD,z.Result=KD,z.Input=qD,z.Rule=XD,z.Root=ZD,z.Node=QD,LD.registerPostcss(z);var $D=z;z.default=z;var eO=fw($D);eO.stringify,eO.fromJSON,eO.plugin,eO.parse,eO.list,eO.document,eO.comment,eO.atRule,eO.rule,eO.decl,eO.root,eO.CssSyntaxError,eO.Declaration,eO.Container,eO.Processor,eO.Document,eO.Comment,eO.Warning,eO.AtRule,eO.Result,eO.In
39put,eO.Rule,eO.Root,eO.Node;var tO=Object.defineProperty,nO=function(e,t,n){return t in e?tO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},rO=function(e,t,n){return nO(e,(t===void 0?`undefined`:I(t))===`symbol`?t:t+``,n)};function iO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function aO(e){if(e.__esModule)return e;var t=e.default;if(typeof t==`function`){var n=function e(){return F(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var oO={exports:{}},sO=String,cO=function(){return{isColorSupported:!1,reset:sO,bold:sO,dim:sO,italic:sO,underline:sO,inverse:sO,hidden:sO,strikethrough:sO,black:sO,red:sO,green:sO,yellow:sO,blue:sO,magenta:sO,cyan:sO,white:sO,gray:sO,bgBlack:sO,bgRed:sO,bgGreen:sO,bgYellow:sO,bgBlue:sO,bgMagenta:sO,bgCyan:sO,bgWhite:sO}};oO.exports=cO(),oO.exports.createColors=cO;var lO=oO.exports,uO=aO(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:`Module`}))),dO=lO,fO=uO,pO=function(e){ES(t,e);function t(n,r,i,a,o,s){var c=e.call(this,n)||this;return c.name=`CssSyntaxError`,c.reason=n,o&&(c.file=o),a&&(c.source=a),s&&(c.plugin=s),r!==void 0&&i!==void 0&&(typeof r==`number`?(c.line=r,c.column=i):(c.line=r.line,c.column=r.column,c.endLine=i.line,c.endColumn=i.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,t),c}var n=t.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+`: `:``,this.message+=this.file?this.file:`<css input>`,this.line!==void 0&&(this.message+=`:`+this.line+`:`+this.column),this.message+=`: `+this.reason},n.showSourceCode=function(e){var t=this;if(!this.source)return``;var n=this.source;e??=dO.isColorSupported,fO&&e&&(n=fO(n));var r=n.split(/\r?\n/),i=Math.max(this.line-3,0),a=Math.min(this.line+2,r.length),o=String(a).length,s,c;if(e){var l=dO.createColors(!0),u=l.bold,d=l.gray,f=l.red;s=function(e){return u(f(e))},c=function(e){return d(e)}}else s=c=function(e){return e};return r.slice(i,a).map(function(e,n){var r=i+1+n,a=` `+(` `+r).slice(-o)+` | `;if(r===t.line){var l=c(a.replace(/\d/g,` `))+e.slice(0,t.column-1).replace(/[^\t]/g,` `);return s(`>`)+c(a)+e+`
40 `+l+s(`^`)}return` `+c(a)+e}).join(`
41`)},n.toString=function(){var e=this.showSourceCode();return e&&=`
42
43`+e+`
44`,this.name+`: `+this.message+e},t}(jS(Error)),mO=pO;pO.default=pO;var hO={};hO.isClean=Symbol(`isClean`),hO.my=Symbol(`my`);var gO={after:`
45`,beforeClose:`
46`,beforeComment:`
47`,beforeDecl:`
48`,beforeOpen:` `,beforeRule:`
49`,colon:`: `,commentLeft:` `,commentRight:` `,emptyBody:``,indent:`    `,semicolon:!1};function _O(e){return e[0].toUpperCase()+e.slice(1)}var vO=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var n=`@`+e.name,r=e.params?this.rawValue(e,`params`):``;if(e.raws.afterName===void 0?r&&(n+=` `):n+=e.raws.afterName,e.nodes)this.block(e,n+r);else{var i=(e.raws.between||``)+(t?`;`:``);this.builder(n+r+i,e)}},t.beforeAfter=function(e,t){for(var n=e.type===`decl`?this.raw(e,null,`beforeDecl`):e.type===`comment`?this.raw(e,null,`beforeComment`):t===`before`?this.raw(e,null,`beforeRule`):this.raw(e,null,`beforeClose`),r=e.parent,i=0;r&&r.type!==`root`;)i+=1,r=r.parent;if(n.includes(`
50`)){var a=this.raw(e,null,`indent`);if(a.length)for(var o=0;o<i;o++)n+=a}return n},t.block=function(e,t){var n=this.raw(e,`between`,`beforeOpen`);this.builder(t+n+`{`,e,`start`);var r;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,`after`)):r=this.raw(e,`after`,`emptyBody`),r&&this.builder(r),this.builder(`}`,e,`end`)},t.body=function(e){for(var t=e.nodes.length-1;t>0&&e.nodes[t].type===`comment`;)--t;for(var n=this.raw(e,`semicolon`),r=0;r<e.nodes.length;r++){var i=e.nodes[r],a=this.raw(i,`before`);a&&this.builder(a),this.stringify(i,t!==r||n)}},t.comment=function(e){var t=this.raw(e,`left`,`commentLeft`),n=this.raw(e,`right`,`commentRight`);this.builder(`/*`+t+e.text+n+`*/`,e)},t.decl=function(e,t){var n=this.raw(e,`between`,`colon`),r=e.prop+n+this.rawValue(e,`value`);e.important&&(r+=e.raws.important||` !important`),t&&(r+=`;`),this.builder(r,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,n){var r;if(n||=t,t&&(r=e.raws[t],r!==void 0))return r;var i=e.parent;if(n===`before`&&(!i||i.type===`root`&&i.first===e||i&&i.type===`document`))return``;if(!i)return gO[n];var a=e.root();if(a.rawCache||={},a.rawCache[n]!==void 0)return a.rawCache[n];if(n===`before`||n===`after`)return this.beforeAfter(e,n);var o=`raw`+_O(n);return this[o]?r=this[o](a,e):a.walk(function(e){if(r=e.raws[t],r!==void 0)return!1}),r===void 0&&(r=gO[n]),a.rawCache[n]=r,r},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&e.raws.after!==void 0)return t=e.raws.after,t.includes(`
51`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t},t.rawBeforeComment=function(e,t){var n;return e.walkComments(function(e){if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
52`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeDecl`):n&&=n.replace(/\S/g,``),n},t.rawBeforeDecl=function(e,t){var n;return e.walkDecls(function(e){if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
53`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeRule`):n&&=n.replace(/\S/g,``),n},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if(e.type!==`decl`&&(t=e.raws.between,t!==void 0))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&n.raws.before!==void 0)return t=n.raws.before,t.includes(`
54`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(e.raws.between!==void 0)return t=e.raws.between.replace(/[^\s:]/g,``),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length===0&&(t=e.raws.after,t!==void 0))return!1}),t},t.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t;return e.walk(function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&n.raws.before!==void 0){var i=n.raws.before.split(`
55`);return t=i[i.length-1],t=t.replace(/\S/g,``),!1}}),t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&e.last.type===`decl`&&(t=e.raws.semicolon,t!==void 0))return!1}),t},t.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,`selector`)),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,`end`)},t.stringify=function(e,t){if(!this[e.type])throw Error(`Unknown AST node type `+e.type+`. Maybe you need to change PostCSS stringifier.`);this[e.type](e,t)},e}(),yO=vO;vO.default=vO;var bO=yO;function xO(e,t){new bO(t).stringify(e)}var SO=xO;xO.default=xO;var CO=hO.isClean,wO=hO.my,TO=mO,EO=yO,DO=SO;function OO(e,t){var n=new e.constructor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&r!==`proxyCache`){var i=e[r],a=i===void 0?`undefined`:I(i);r===`parent`&&a===`object`?t&&(n[r]=t):r===`source`?n[r]=i:Array.isArray(i)?n[r]=i.map(function(e){return OO(e,n)}):(a===`object`&&i!==null&&(i=OO(i)),n[r]=i)}return n}var kO=function(){function e(e){for(var t in e===void 0&&(e={}),this.raws={},this[CO]=!1,this[wO]=!0,e)if(t===`nodes`){this.nodes=[];for(var n=L(e[t]),r;!(r=n()).done;){var i=r.value;typeof i.clone==`function`?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&`+t.input.from+`:`+t.start.line+`:`+t.start.column+`$&`)}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in e===void 0&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){e===void 0&&(e={});var t=OO(this);for(var n in e)t[n]=e[n];return t},t.cloneAfter=function(e){e===void 0&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){e===void 0&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(t===void 0&&(t={}),this.source){var n=this.rangeBy(t),r=n.end,i=n.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new TO(e)},t.getProxyProcessor=function(){return{get:function(e,t){return t===`proxyOf`?e:t===`root`?function(){return e.root().toProxy()}:e[t]},set:function(e,t,n){return e[t]===n||(e[t]=n,(t===`prop`||t===`value`||t===`name`||t===`params`||t===`important`||t===`text`)&&e.markDirty(),!0)}}}
55,t.markDirty=function(){if(this[CO]){this[CO]=!1;for(var e=this;e=e.parent;)e[CO]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){t=this.toString();var r=t.indexOf(e.word);r!==-1&&(n=this.positionInside(r,t))}return n},t.positionInside=function(e,t){for(var n=t||this.toString(),r=this.source.start.column,i=this.source.start.line,a=0;a<e;a++)n[a]===`
56`?(r=1,i+=1):r+=1;return{column:r,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var r=this.toString(),i=r.indexOf(e.word);i!==-1&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:typeof e.endIndex==`number`?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}},t.raw=function(e,t){return new EO().raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){var e=[...arguments];if(this.parent){for(var t=this,n=!1,r=L(e),i;!(i=r()).done;){var a=i.value;a===this?n=!0:n?(this.parent.insertAfter(t,a),t=a):this.parent.insertBefore(t,a)}n||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&e.parent.type!==`document`;)e=e.parent;return e},t.toJSON=function(e,t){var n={},r=t==null;t||=new Map;var i=0;for(var a in this)if(Object.prototype.hasOwnProperty.call(this,a)&&a!==`parent`&&a!==`proxyCache`){var o=this[a];if(Array.isArray(o))n[a]=o.map(function(e){return(e===void 0?`undefined`:I(e))===`object`&&e.toJSON?e.toJSON(null,t):e});else if((o===void 0?`undefined`:I(o))===`object`&&o.toJSON)n[a]=o.toJSON(null,t);else if(a===`source`){var s=t.get(o.input);s??(s=i,t.set(o.input,i),i++),n[a]={end:o.end,inputId:s,start:o.start}}else n[a]=o}return r&&(n.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),n},t.toProxy=function(){return this.proxyCache||=new Proxy(this,this.getProxyProcessor()),this.proxyCache},t.toString=function(e){e===void 0&&(e=DO),e.stringify&&(e=e.stringify);var t=``;return e(this,function(e){t+=e}),t},t.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},wS(e,[{key:`proxyOf`,get:function(){return this}}]),e}(),AO=kO;kO.default=kO;var jO=function(e){ES(t,e);function t(t){var n;return t&&t.value!==void 0&&typeof t.value!=`string`&&(t=P({},t,{value:String(t.value)})),n=e.call(this,t)||this,n.type=`decl`,n}return wS(t,[{key:`variable`,get:function(){return this.prop.startsWith(`--`)||this.prop[0]===`$`}}]),t}(AO),MO=jO;jO.default=jO;var NO=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,PO={nanoid:function(e){e===void 0&&(e=21);for(var t=``,n=e;n--;)t+=NO[Math.random()*64|0];return t}},FO=uO.SourceMapConsumer,IO=uO.SourceMapGenerator,LO=uO.existsSync,RO=uO.readFileSync,zO=uO.dirname,BO=uO.join;function VO(e){return Buffer?Buffer.from(e,`base64`).toString():window.atob(e)}var HO=function(){function e(e,t){if(t.map!==!1){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,`data:`);var n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=zO(this.mapFile)),r&&(this.text=r)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||=new FO(this.text),this.consumerCache},t.decodeInline=function(e){var t=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||n.test(e))return VO(e.substr(RegExp.lastMatch.length));var r=e.match(/data:application\/json;([^,]+),/)[1];throw Error(`Unsupported source map encoding `+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,``).trim()},t.isMap=function(e){return(e===void 0?`undefined`:I(e))===`object`?typeof e.mappings==`string`||typeof e._mappings==`string`||Array.isArray(e.sections):!1},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
56if(t){var n=e.lastIndexOf(t.pop()),r=e.indexOf(`*/`,n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}},t.loadFile=function(e){if(this.root=zO(e),LO(e))return this.mapFile=e,RO(e,`utf-8`).toString().trim()},t.loadMap=function(e,t){if(t===!1)return!1;if(t){if(typeof t==`string`)return t;if(typeof t==`function`){var n=t(e);if(n){var r=this.loadFile(n);if(!r)throw Error(`Unable to load previous source map: `+n.toString());return r}}else if(F(t,FO))return IO.fromSourceMap(t).toString();else if(F(t,IO))return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error(`Unsupported previous source map format: `+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){var i=this.annotation;return e&&(i=BO(zO(e),i)),this.loadFile(i)}},t.startWith=function(e,t){return e?e.substr(0,t.length)===t:!1},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),UO=HO;HO.default=HO;var WO=uO.SourceMapConsumer,GO=uO.SourceMapGenerator,KO=uO.fileURLToPath,qO=uO.pathToFileURL,JO=uO.isAbsolute,YO=uO.resolve,XO=PO.nanoid,ZO=uO,QO=mO,$O=UO,ek=Symbol(`fromOffsetCac
56he`),tk=!!(WO&&GO),nk=!!(YO&&JO),rk=function(){function e(e,t){if(t===void 0&&(t={}),e==null||(e===void 0?`undefined`:I(e))===`object`&&!e.toString)throw Error(`PostCSS received `+e+` instead of CSS string`);if(this.css=e.toString(),this.css[0]===``||this.css[0]===`￾`?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(this.file=!nk||/^\w+:\/\//.test(t.from)||JO(t.from)?t.from:YO(t.from)),nk&&tk){var n=new $O(this.css,t);if(n.text){this.map=n;var r=n.consumer().file;!this.file&&r&&(this.file=this.mapResolve(r))}}this.file||(this.id=`<input css `+XO(6)+`>`),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,n,r){r===void 0&&(r={});var i,a,o;if(t&&(t===void 0?`undefined`:I(t))===`object`){var s=t,c=n;if(typeof s.offset==`number`){var l=this.fromOffset(s.offset);t=l.line,n=l.col}else t=s.line,n=s.column;if(typeof c.offset==`number`){var u=this.fromOffset(c.offset);a=u.line,o=u.col}else a=c.line,o=c.column}else if(!n){var d=this.fromOffset(t);t=d.line,n=d.col}var f=this.origin(t,n,a,o);return i=f?new QO(e,f.endLine===void 0?f.line:{column:f.column,line:f.line},f.endLine===void 0?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,r.plugin):new QO(e,a===void 0?t:{column:n,line:t},a===void 0?n:{column:o,line:a},this.css,this.file,r.plugin),i.input={column:n,endColumn:o,endLine:a,line:t,source:this.css},this.file&&(qO&&(i.input.url=qO(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t,n;if(this[ek])n=this[ek];else{var r=this.css.split(`
57`);n=Array(r.length);for(var i=0,a=0,o=r.length;a<o;a++)n[a]=i,i+=r[a].length+1;this[ek]=n}t=n[n.length-1];var s=0;if(e>=t)s=n.length-1;else for(var c=n.length-2,l;s<c;)if(l=s+(c-s>>1),e<n[l])c=l-1;else if(e>=n[l+1])s=l+1;else{s=l;break}return{col:e-n[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:YO(this.map.consumer().sourceRoot||this.map.root||`.`,e)},t.origin=function(e,t,n,r){if(!this.map)return!1;var i=this.map.consumer(),a=i.originalPositionFor({column:t,line:e});if(!a.source)return!1;var o;
57typeof n==`number`&&(o=i.originalPositionFor({column:r,line:n}));var s=JO(a.source)?qO(a.source):new URL(a.source,this.map.consumer().sourceRoot||qO(this.map.mapFile)),c={column:a.column,endColumn:o&&o.column,endLine:o&&o.line,line:a.line,url:s.toString()};if(s.protocol===`file:`)if(KO)c.file=KO(s);else throw Error(`file: protocol is not available in this PostCSS build`);var l=i.sourceContentFor(a.source);return l&&(c.source=l),c},t.toJSON=function(){for(var e={},t=0,n=[`hasBOM`,`css`,`file`,`id`];t<n.length;t++){var r=n[t];this[r]!=null&&(e[r]=this[r])}return this.map&&(e.map=P({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},wS(e,[{key:`from`,get:function(){return this.file||this.id}}]),e}(),ik=rk;rk.default=rk,ZO&&ZO.registerInput&&ZO.registerInput(rk);var ak=uO.SourceMapConsumer,ok=uO.SourceMapGenerator,sk=uO.dirname,ck=uO.relative,lk=uO.resolve,uk=uO.sep,dk=uO.pathToFileURL,fk=ik,pk=!!(ak&&ok),mk=!!(sk&&lk&&ck&&uk),hk=function(){function e(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e=this.isInline()?`data:application/json;base64,`+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation==`string`?this.mapOpts.annotation:typeof this.mapOpts.annotation==`function`?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+`.map`,t=`
58`;this.css.includes(`\r
59`)&&(t=`\r
60`),this.css+=t+`/*# sourceMappingURL=`+e+` */`},t.applyPrevMaps=function(){for(var e=L(this.previous()),t;!(t=e()).done;){var n=t.value,r=this.toUrl(this.path(n.file)),i=n.root||sk(n.file),a=void 0;this.mapOpts.sourcesContent===!1?(a=new ak(n.text),a.sourcesContent&&(a.sourcesContent=null)):a=n.consumer(),this.map.applySourceMap(a,r,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type===`comment`&&e.text.indexOf(`# sourceMappingURL=`)===0&&this.root.removeChild(t);else this.css&&=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,``)},t.generate=function(){if(this.clearAnnotation(),mk&&pk&&this.isMap())return this.generateMap();var e=``;return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=ok.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ok({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css=``,this.map=new ok({file:this.outputFile(),ignoreInvalidMapping:!0});var t=1,n=1,r=`<no source>`,i={generated:{column:0,line:0},original:{column:0,line:0},source:``},a,o;this.stringify(this.root,function(s,c,l){if(e.css+=s,c&&l!==`end`&&(i.generated.line=t,i.generated.column=n-1,c.source&&c.source.start?(i.source=e.sourcePath(c),i.original.line=c.source.start.line,i.original.column=c.source.start.column-1,e.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,e.map.addMapping(i))),a=s.match(/\n/g),a?(t+=a.length,o=s.lastIndexOf(`
61`),n=s.length-o):n+=s.length,c&&l!==`start`){var u=c.parent||{raws:{}};(!(c.type===`decl`||c.type===`atrule`&&!c.nodes)||c!==u.last||u.raws.semicolon)&&(c.source&&c.source.end?(i.source=e.sourcePath(c),i.original.line=c.source.end.line,i.original.column=c.source.end.column-1,i.generated.line=t,i.generated.column=n-2,e.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=t,i.generated.column=n-1,e.map.addMapping(i)))}})},t.isAnnotation=function(){return this.isInline()?!0:this.mapOpts.annotation===void 0?!this.previous().length||this.previous().some(function(e){return e.annotation}):this.mapOpts.annotation},t.isInline=function(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;var e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:!this.previous().length||this.previous().some(function(e){return e.inline})},t.isMap=function(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map},t.isSourcesContent=function(){return this.mapOpts.sourcesContent===void 0?!this.previous().length||this.previous().some(function(e){return e.withContent()}):this.mapOpts.sourcesContent},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`},t.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var n=this.opts.to?sk(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(n=sk(lk(n,this.mapOpts.annotation)));var r=ck(n,e);return this.memoizedPaths.set(e,r),r},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;e.previousMaps.includes(n)||e.previousMaps.push(n)}});else{var t=new fk(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.usesFileUrls?e.toFileUrl(r):e.toUrl(e.path(r));e.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){var n=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(n,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(dk){var n=dk(e).toString();return this.memoizedFileURLs.set(e,n),n}throw Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;uk===`\\`&&(e=e.replace(/\\/g,`/`));var n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n},e}(),gk=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`comment`,n}return t}(AO),_k=gk;gk.default=gk;
61var vk=hO.isClean,yk=hO.my,bk=MO,xk=_k,Sk=AO,Ck,wk,Tk,Ek;function Dk(e){return e.map(function(e){return e.nodes&&=Dk(e.nodes),delete e.source,e})}function Ok(e){if(e[vk]=!1,e.proxyOf.nodes)for(var t=L(e.proxyOf.nodes),n;!(n=t()).done;){var r=n.value;Ok(r)}}var kk=function(e){ES(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.append=function(){for(var e=L([...arguments]),t;!(t=e()).done;)for(var n=t.value,r=L(this.normalize(n,this.last)),i;!(i=r()).done;){var a=i.value;this.proxyOf.nodes.push(a)}return this.markDirty(),this},n.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var n=L(this.nodes),r;!(r=n()).done;)r.value.cleanRaws(t)},n.each=function(e){if(this.proxyOf.nodes){for(var t=this.getIterator(),n,r;this.indexes[t]<this.proxyOf.nodes.length&&(n=this.indexes[t],r=e(this.proxyOf.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}},n.every=function(e){return this.nodes.every(e)},n.getIterator=function(){this.lastEach||=0,this.indexes||={},this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},n.getProxyProcessor=function(){return{get:function(e,t){return t===`proxyOf`?e:e[t]?t===`each`||typeof t==`string`&&t.startsWith(`walk`)?function(){var n=[...arguments],r;return(r=e)[t].apply(r,[].concat(n.map(function(e){return typeof e==`function`?function(t,n){return e(t.toProxy(),n)}:e})))}:t===`every`||t===`some`?function(n){return e[t](function(e){var t=[...arguments].slice(1);return n.apply(void 0,[e.toProxy()].concat(t))})}:t===`root`?function(){return e.root().toProxy()}:t===`nodes`?e.nodes.map(function(e){return e.toProxy()}):t===`first`||t===`last`?e[t].toProxy():e[t]:e[t]},set:function(e,t,n){return e[t]===n||(e[t]=n,(t===`name`||t===`params`||t===`selector`)&&e.markDirty(),!0)}}},n.index=function(e){return typeof e==`number`?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},n.insertAfter=function(e,t){var n=this.index(e),r=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var i=L(r),a;!(a=i()).done;){var o=a.value;this.proxyOf.nodes.splice(n+1,0,o)}var s;for(var c in this.indexes)s=this.indexes[c],n<s&&(this.indexes[c]=s+r.length);return this.markDirty(),this},n.insertBefore=function(e,t){var n=this.index(e),r=n===0&&`prepend`,i=this.normalize(t,this.proxyOf.nodes[n],r).reverse();n=this.index(e);for(var a=L(i),o;!(o=a()).done;){var s=o.value;this.proxyOf.nodes.splice(n,0,s)}var c;for(var l in this.indexes)c=this.indexes[l],n<=c&&(this.indexes[l]=c+i.length);return this.markDirty(),this},n.normalize=function(e,n){var r=this;if(typeof e==`string`)e=Dk(Ck(e).nodes);else if(e===void 0)e=[];else if(Array.isArray(e)){e=e.slice(0);for(var i=L(e),a;!(a=i()).done;){var o=a.value;o.parent&&o.parent.removeChild(o,`ignore`)}}else if(e.type===`root`&&this.type!==`document`){e=e.nodes.slice(0);for(var s=L(e),c;!(c=s()).done;){var l=c.value;l.parent&&l.parent.removeChild(l,`ignore`)}}else if(e.type)e=[e];else if(e.prop){if(e.value===void 0)throw Error(`Value field is missed in node creation`);typeof e.value!=`string`&&(e.value=String(e.value)),e=[new bk(e)]}else if(e.selector)e=[new wk(e)];else if(e.name)e=[new Tk(e)];else if(e.text)e=[new xk(e)];else throw Error(`Unknown node type in node creation`);return e.map(function(e){return e[yk]||t.rebuild(e),e=e.proxyOf,e.parent&&e.parent.removeChild(e),e[vk]&&Ok(e),e.raws.before===void 0&&n&&n.raws.before!==void 0&&(e.raws.before=n.raws.before.replace(/\S/g,``)),e.parent=r.proxyOf,e})},n.prepend=function(){var e=[...arguments];e=e.reverse();for(var t=L(e),n;!(n=t()).done;){for(var r=n.value,i=this.normalize(r,this.first,`prepend`).reverse(),a=L(i),o;!(o=a()).done;){var s=o.value;this.proxyOf.nodes.unshift(s)}for(var c in this.indexes)this.indexes[c]=this.indexes[c]+i.length}return this.markDirty(),this},n.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},n.removeAll=function(){for(var e=L(this.proxyOf.nodes),t;!(t=e()).done;){var n=t.value;n.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this},n.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls(function(r){t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this},n.some=function(e){return this.nodes.some(e)},n.walk=function(e){return this.each(function(t,n){var r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return r!==!1&&t.walk&&(r=t.walk(e)),r})},n.walkAtRules=function(e,t){return t?F(e,RegExp)?this.walk(function(n,r){if(n.type===`atrule`&&e.test(n.name))return t(n,r)}):this.walk(function(n,r){if(n.type===`atrule`&&n.name===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`atrule`)return t(e,n)}))},n.walkComments=function(e){return this.walk(function(t,n){if(t.type===`comment`)return e(t,n)})},n.walkDecls=function(e,t){return t?F(e,RegExp)?this.walk(function(n,r){if(n.type===`decl`&&e.test(n.prop))return t(n,r)}):this.walk(function(n,r){if(n.type===`decl`&&n.prop===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`decl`)return t(e,n)}))},n.walkRules=function(e,t){return t?F(e,RegExp)?this.walk(function(n,r){if(n.type===`rule`&&e.test(n.selector))return t(n,r)}):this.walk(function(n,r){if(n.type===`rule`&&n.selector===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`rule`)return t(e,n)}))},wS(t,[{key:`first`,get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:`last`,get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Sk);kk.registerParse=function(e){Ck=e},kk.registerRule=function(e){wk=e},kk.registerAtRule=function(e){Tk=e},kk.registerRoot=function(e){Ek=e};var Ak=kk;kk.default=kk,kk.rebuild=function(e){e.type===`atrule`?Object.setPrototypeOf(e,Tk.prototype):e.type===`rule`?Object.setPrototypeOf(e,wk.prototype):e.type===`decl`?Object.setPrototypeOf(e,bk.prototype):e.type===`comment`?Object.setPrototypeOf(e,xk.prototype):e.type===`root`&&Object.setPrototypeOf(e,Ek.prototype),e[yk]=!0,e.nodes&&e.nodes.forEac
61h(function(e){kk.rebuild(e)})};var jk=Ak,Mk,Nk,Pk=function(e){ES(t,e);function t(t){var n=e.call(this,P({type:`document`},t))||this;return n.nodes||=[],n}var n=t.prototype;return n.toResult=function(e){return e===void 0&&(e={}),new Mk(new Nk,this,e).stringify()},t}(jk);Pk.registerLazyResult=function(e){Mk=e},Pk.registerProcessor=function(e){Nk=e};var Fk=Pk;Pk.default=Pk;var Ik=function(){function e(e,t){if(t===void 0&&(t={}),this.type=`warning`,this.text=e,t.node&&t.node.source){var n=t.node.rangeBy(t);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var r in t)this[r]=t[r]}var t=e.prototype;return t.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text},e}(),Lk=Ik;Ik.default=Ik;var Rk=Lk,zk=function(){function e(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){t===void 0&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new Rk(e,t);return this.messages.push(n),n},t.warnings=function(){return this.messages.filter(function(e){return e.type===`warning`})},wS(e,[{key:`content`,get:function(){return this.css}}]),e}(),Bk=zk;zk.default=zk;var Vk=39,Hk=34,Uk=92,Wk=47,Gk=10,Kk=32,qk=12,Jk=9,Yk=13,Xk=91,Zk=93,Qk=40,$k=41,eA=123,tA=125,nA=59,rA=42,iA=58,aA=64,oA=/[\t\n\f\r "#'()/;[\\\]{}]/g,sA=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,cA=/.[\r\n"'(/\\]/,lA=/[\da-f]/i,uA=function(e,t){t===void 0&&(t={});var n=e.css.valueOf(),r=t.ignoreErrors,i,a,o,s,c,l,u,d,f,p,m=n.length,h=0,g=[],_=[];function v(){return h}function y(t){throw e.error(`Unclosed `+t,h)}function b(){return _.length===0&&h>=m}function x(e){if(_.length)return _.pop();if(!(h>=m)){var t=e?e.ignoreUnclosed:!1;switch(i=n.charCodeAt(h),i){case Gk:case Kk:case Jk:case Yk:case qk:a=h;do a+=1,i=n.charCodeAt(a);while(i===Kk||i===Gk||i===Jk||i===Yk||i===qk);p=[`space`,n.slice(h,a)],h=a-1;break;case Xk:case Zk:case eA:case tA:case iA:case nA:case $k:var v=String.fromCharCode(i);p=[v,v,h];break;case Qk:if(d=g.length?g.pop()[1]:``,f=n.charCodeAt(h+1),d===`url`&&f!==Vk&&f!==Hk&&f!==Kk&&f!==Gk&&f!==Jk&&f!==qk&&f!==Yk){a=h;do{if(l=!1,a=n.indexOf(`)`,a+1),a===-1)if(r||t){a=h;break}else y(`bracket`);for(u=a;n.charCodeAt(u-1)===Uk;)--u,l=!l}while(l);p=[`brackets`,n.slice(h,a+1),h,a],h=a}else a=n.indexOf(`)`,h+1),s=n.slice(h,a+1),a===-1||cA.test(s)?p=[`(`,`(`,h]:(p=[`brackets`,s,h,a],h=a);break;case Vk:case Hk:o=i===Vk?`'`:`"`,a=h;do{if(l=!1,a=n.indexOf(o,a+1),a===-1)if(r||t){a=h+1;break}else y(`string`);for(u=a;n.charCodeAt(u-1)===Uk;)--u,l=!l}while(l);p=[`string`,n.slice(h,a+1),h,a],h=a;break;case aA:oA.lastIndex=h+1,oA.test(n),a=oA.lastIndex===0?n.length-1:oA.lastIndex-2,p=[`at-word`,n.slice(h,a+1),h,a],h=a;break;case Uk:for(a=h,c=!0;
61n.charCodeAt(a+1)===Uk;)a+=1,c=!c;if(i=n.charCodeAt(a+1),c&&i!==Wk&&i!==Kk&&i!==Gk&&i!==Jk&&i!==Yk&&i!==qk&&(a+=1,lA.test(n.charAt(a)))){for(;lA.test(n.charAt(a+1));)a+=1;n.charCodeAt(a+1)===Kk&&(a+=1)}p=[`word`,n.slice(h,a+1),h,a],h=a;break;default:i===Wk&&n.charCodeAt(h+1)===rA?(a=n.indexOf(`*/`,h+2)+1,a===0&&(r||t?a=n.length:y(`comment`)),p=[`comment`,n.slice(h,a+1),h,a],h=a):(sA.lastIndex=h+1,sA.test(n),a=sA.lastIndex===0?n.length-1:sA.lastIndex-2,p=[`word`,n.slice(h,a+1),h,a],g.push(p),h=a)}return h++,p}}function S(e){_.push(e)}return{back:S,endOfFile:b,nextToken:x,position:v}},dA=Ak,fA=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`atrule`,n}var n=t.prototype;return n.append=function(){var t=[...arguments],n;return this.proxyOf.nodes||(this.nodes=[]),(n=e.prototype.append).call.apply(n,[this].concat(t))},n.prepend=function(){var t=[...arguments],n;return this.proxyOf.nodes||(this.nodes=[]),(n=e.prototype.prepend).call.apply(n,[this].concat(t))},t}(dA),pA=fA;fA.default=fA,dA.registerAtRule(fA);var mA=Ak,hA,gA,_A=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`root`,n.nodes||=[],n}var n=t.prototype;return n.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n){if(r===`prepend`)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(var a=L(i),o;!(o=a()).done;){var s=o.value;s.raws.before=n.raws.before}}return i},n.removeChild=function(t,n){var r=this.index(t);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},n.toResult=function(e){return e===void 0&&(e={}),new hA(new gA,this,e).stringify()},t}(mA);_A.registerLazyResult=function(e){hA=e},_A.registerProcessor=function(e){gA=e};var vA=_A;_A.default=_A,mA.registerRoot(_A);var yA={comma:function(e){return yA.split(e,[`,`],!0)},space:function(e){return yA.split(e,[` `,`
62`,`	`])},split:function(e,t,n){for(var r=[],i=``,a=!1,o=0,s=!1,c=``,l=!1,u=L(e),d;!(d=u()).done;){var f=d.value;l?l=!1:f===`\\`?l=!0:s?f===c&&(s=!1):f===`"`||f===`'`?(s=!0,c=f):f===`(`?o+=1:f===`)`?o>0&&--o:o===0&&t.includes(f)&&(a=!0),a?(i!==``&&r.push(i.trim()),i=``,a=!1):i+=f}return(n||i!==``)&&r.push(i.trim()),r}},bA=yA;yA.default=yA;var xA=Ak,SA=bA,CA=function(e){ES(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`rule`,n.nodes||=[],n}return wS(t,[{key:`selectors`,get:function(){return SA.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:`,`+this.raw(`between`,`beforeOpen`);this.selector=e.join(n)}}]),t}(xA),wA=CA;CA.default=CA,xA.registerRule(CA);var TA=MO,EA=uA,DA=_k,OA=pA,kA=vA,AA=wA,jA={empty:!0,space:!0};function MA(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=n[3]||n[2];if(r)return r}}var NA=function(){function e(e){this.input=e,this.root=new kA,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t=new OA;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2]);for(var n,r,i,a=!1,o=!1,s=[],c=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n===`(`||n===`[`?c.push(n===`(`?`)`:`]`):n===`{`&&c.length>0?c.push(`}`):n===c[c.length-1]&&c.pop(),c.length===0)if(n===`;`){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(n===`{`){o=!0;break}else if(n===`}`){if(s.length>0){for(i=s.length-1,r=s[i];r&&r[0]===`space`;)r=s[--i];r&&(t.source.end=this.getPosition(r[3]||r[2]),t.source.end.offset++)}this.end(e);break}else s.push(e);else s.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,`params`,s),a&&(e=s[s.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),o&&(t.nodes=[],this.current=t)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(t!==!1){for(var n=0,r,i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}},t.colon=function(e){for(var t=0,n,r,i,a=L(e.entries()),o;!(o=a()).done;){var s=o.value,c=s[0];if(n=s[1],r=n[0],r===`(`&&(t+=1),r===`)`&&--t,t===0&&r===`:`)if(!i)this.doubleColon(n);else if(i[0]===`word`&&i[1]===`progid`)continue;else return c;i=n}return!1},t.comment=function(e){var t=new DA;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var n=e[1].slice(2,-2);
62if(/^\s*$/.test(n))t.text=``,t.raws.left=n,t.raws.right=``;else{var r=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},t.createTokenizer=function(){this.tokenizer=EA(this.input)},t.decl=function(e,t){var n=new TA;this.init(n,e[0][2]);var r=e[e.length-1];for(r[0]===`;`&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(r[3]||r[2]||MA(e)),n.source.end.offset++;e[0][0]!==`word`;)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop=``;e.length;){var i=e[0][0];if(i===`:`||i===`space`||i===`comment`)break;n.prop+=e.shift()[1]}n.raws.between=``;for(var a;e.length;){if(a=e.shift(),a[0]===`:`){n.raws.between+=a[1];break}a[0]===`word`&&/\w/.test(a[1])&&this.unknownWord([a]),n.raws.between+=a[1]}(n.prop[0]===`_`||n.prop[0]===`*`)&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));for(var o=[],s;e.length&&(s=e[0][0],s===`space`||s===`comment`);)o.push(e.shift());this.precheckMissedSemicolon(e);for(var c=e.length-1;c>=0;c--){if(a=e[c],a[1].toLowerCase()===`!important`){n.important=!0;var l=this.stringFrom(e,c);l=this.spacesFromEnd(e)+l,l!==` !important`&&(n.raws.important=l);break}if(a[1].toLowerCase()===`important`){for(var u=e.slice(0),d=``,f=c;f>0;f--){var p=u[f][0];if(d.trim().indexOf(`!`)===0&&p!==`space`)break;d=u.pop()[1]+d}d.trim().indexOf(`!`)===0&&(n.important=!0,n.raws.important=d,e=u)}if(a[0]!==`space`&&a[0]!==`comment`)break}e.some(function(e){return e[0]!==`space`&&e[0]!==`comment`})&&(n.raws.between+=o.map(function(e){return e[1]}).join(``),o=[]),this.raw(n,`value`,o.concat(e),t),n.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new AA;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.spaces=``,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``)}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0){if(n===`;`)if(r){this.decl(s,o);return}else break;if(n===`{`){this.rule(s);return}if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}n===`:`&&(r=!0)}else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],c===`space`||c===`comment`);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,n,r){for(var i,a,o=n.length,s=``,c=!0,l,u,d=0;d<o;d+=1)i=n[d],a=i[0],a===`space`&&d===o-1&&!r?c=!1:a===`comment`?(u=n[d-1]?n[d-1][0]:`empty`,l=n[d+1]?n[d+1][0]:`empty`,!jA[u]&&!jA[l]?s.slice(-1)===`,`?c=!1:s+=i[1]:c=!1):s+=i[1];if(!c){var f=n.reduce(function(e,t){return e+t[1]},``);e.raws[t]={raw:f,value:s}}e[t]=s},t.rule=function(e){e.pop();var t=new AA;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,n=``;e.length&&(t=e[e.length-1][0],t===`space`||t===`comment`);)n=e.pop()[1]+n;return n},t.spacesAndCommentsFromStart=function(e){for(var t,n=``;e.length&&(t=e[0][0],t===`space`||t===`comment`);)n+=e.shift()[1];return n},t.spacesFromEnd=function(e){for(var t,n=``;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n},t.stringFrom=function(e,t){for(var n=``,r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error(`Unknown word`,{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})},e}(),PA=Ak,FA=NA,IA=ik;function LA(e,t){var n=new FA(new IA(e,t));try{n.parse()}catch(e){throw e}return n.root}var RA=LA;LA.default=LA,PA.registerParse(LA);var zA=hO.isClean,BA=hO.my,VA=hk,HA=SO,UA=Ak,WA=Fk,GA=Bk,KA=RA,qA=vA,JA={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},YA={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},XA={Once:!0,postcssPlugin:!0,prepare:!0},ZA=0;function QA(e){return(e===void 0?`undefined`:I(e))===`object`&&typeof e.then==`function`}function $A(e){var t=!1,n=JA[e.type];return e.type===`decl`?t=e.prop.toLowerCase():e.type===`atrule`&&(t=e.name.toLowerCase()),t&&e.append?[n,n+`-`+t,ZA,n+`Exit`,n+`Exit-`+t]:t?[n,n+`-`+t,n+`Exit`,n+`Exit-`+t]:e.append?[n,ZA,n+`Exit`]:[n,n+`Exit`]}function ej(e){return{eventIndex:0,events:e.type===`document`?[`Document`,ZA,`DocumentExit`]:e.type===`root`?[`Root`,ZA,`RootExit`]:$A(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}
62function tj(e){return e[zA]=!1,e.nodes&&e.nodes.forEach(function(e){return tj(e)}),e}var nj={},rj=function(){function e(t,n,r){var i=this;this.stringified=!1,this.processed=!1;var a;if((n===void 0?`undefined`:I(n))===`object`&&n!==null&&(n.type===`root`||n.type===`document`))a=tj(n);else if(F(n,e)||F(n,GA))a=tj(n.root),n.map&&(r.map===void 0&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var o=KA;r.syntax&&(o=r.syntax.parse),r.parser&&(o=r.parser),o.parse&&(o=o.parse);try{a=o(n,r)}catch(e){this.processed=!0,this.error=e}a&&!a[BA]&&UA.rebuild(a)}this.result=new GA(t,a,r),this.helpers=P({},nj,{postcss:nj,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return(e===void 0?`undefined`:I(e))===`object`&&e.prepare?P({},e,e.prepare(i.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw Error(`Use process(css).then(cb) to work with async plugins`)},t.handleError=function(e,t){var n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t=function(t,n,r){e.listeners[n]||(e.listeners[n]=[]),e.listeners[n].push([t,r])},n=L(this.plugins),r;!(r=n()).done;){var i=r.value;if((i===void 0?`undefined`:I(i))===`object`)for(var a in i){if(!YA[a]&&/^[A-Z]/.test(a))throw Error(`Unknown event `+a+` in `+i.postcssPlugin+`. Try to update PostCSS (`+this.processor.version+` now).`);if(!XA[a])if(I(i[a])===`object`)for(var o in i[a])o===`*`?t(i,a,i[a][o]):t(i,a+`-`+o.toLowerCase(),i[a][o]);else typeof i[a]==`function`&&t(i,a,i[a])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return xS(function(){var t,n,r,i,a,o,s,c,l,u,d,f;return NS(this,function(p){switch(p.label){case 0:e.plugin=0,t=0,p.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(n=e.plugins[t],r=e.runOnRoot(n),!QA(r))return[3,5];p.label=2;case 2:return p.trys.push([2,4,,5]),[4,r];case 3:return p.sent(),[3,5];case 4:throw i=p.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];a=e.result.root,p.label=7;case 7:if(a[zA])return[3,14];a[zA]=!0,o=[ej(a)],p.label=8;case 8:if(!(o.length>0))return[3,13];if(s=e.visitTick(o),!QA(s))return[3,12];p.label=9;case 9:return p.trys.push([9,11,,12]),[4,s];case 10:return p.sent(),[3,12];case 11:throw c=p.sent(),l=o[o.length-1].node,e.handleError(c,l);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,n,r,i,o;return NS(this,function(s){switch(s.label){case 0:t=f.value,n=t[0],r=t[1],e.result.lastPlugin=n,s.label=1;case 1:return s.trys.push([1,6,,7]),a.type===`document`?(i=a.nodes.map(function(t){return r(t,e.helpers)}),[4,Promise.all(i)]):[3,3];case 2:return s.sent(),[3,5];case 3:return[4,r(a,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw o=s.sent(),e.handleError(o);case 7:return[2]}})},d=L(e.listeners.OnceExit),p.label=15;case 15:return(f=d()).done?[3,18]:[5,PS(u())];case 16:p.sent(),p.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if((e===void 0?`undefined`:I(e))===`object`&&e.Once){if(this.result.root.type===`document`){var n=this.result.root.nodes.map(function(n){return e.Once(n,t.helpers)});return QA(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=HA;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new VA(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e=L(this.plugins),t;!(t=e()).done;){var n=t.value;if(QA(this.runOnRoot(n)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var r=this.result.root;!r[zA];)r[zA]=!0,this.walkSync(r);if(this.listeners.OnceExit)if(r.type===`document`)for(var i=L(r.no
62des),a;!(a=i()).done;){var o=a.value;this.visitSync(this.listeners.OnceExit,o)}else this.visitSync(this.listeners.OnceExit,r)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var n=L(e),r;!(r=n()).done;){var i=r.value,a=i[0],o=i[1];this.result.lastPlugin=a;var s=void 0;try{s=o(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(QA(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],n=t.node,r=t.visitors;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){var i=r[t.visitorIndex],a=i[0],o=i[1];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return o(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){for(var s=t.iterator,c;c=n.nodes[n.indexes[s]];)if(n.indexes[s]+=1,!c[zA]){c[zA]=!0,e.push(ej(c));return}t.iterator=0,delete n.indexes[s]}for(var l=t.events;t.eventIndex<l.length;){var u=l[t.eventIndex];if(t.eventIndex+=1,u===ZA){n.nodes&&n.nodes.length&&(n[zA]=!0,t.iterator=n.getIterator());return}if(this.listeners[u]){t.visitors=this.listeners[u];return}}e.pop()},t.walkSync=function(e){var t=this;e[zA]=!0;for(var n=L($A(e)),r;!(r=n()).done;){var i=r.value;if(i===ZA)e.nodes&&e.each(function(e){e[zA]||t.walkSync(e)});else{var a=this.listeners[i];if(a&&this.visitSync(a,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},wS(e,[{key:`content`,get:function(){return this.stringify().content}},{key:`css`,get:function(){return this.stringify().css}},{key:`map`,get:function(){return this.stringify().map}},{key:`messages`,get:function(){return this.sync().messages}},{key:`opts`,get:function(){return this.result.opts}},{key:`processor`,get:function(){return this.result.processor}},{key:`root`,get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return`LazyResult`}}]),e}();rj.registerPostcss=function(e){nj=e};var ij=rj;rj.default=rj,qA.registerLazyResult(rj),WA.registerLazyResult(rj);var aj=hk,oj=SO,sj=RA,cj=Bk,lj=function(){function e(e,t,n){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;var r,i=oj;this.result=new cj(this._processor,r,this._opts),this.result.css=t;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var o=new aj(i,r,this._opts,t);if(o.isMap()){var s=o.generate(),c=s[0],l=s[1];c&&(this.result.css=c),l&&(this.result.map=l)}else o.clearAnnotation(),this.result.css=o.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},wS(e,[{key:`content`,get:function(){return this.result.css}},{key:`css`,get:function(){return this.result.css}},{key:`map`,get:function(){return this.result.map}},{key:`messages`,get:function(){return[]}},{key:`opts`,get:function(){return this.result.opts}},{key:`processor`,get:function(){return this.result.processor}},{key:`root`,get:function(){if(this._root)return this._root;var e,t=sj;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return`NoWorkResult`}}]),e}(),uj=lj;lj.default=lj;var dj=uj,fj=ij,pj=Fk,mj=vA,hj=function(){function e(e){e===void 0&&(e=[]),this.version=`8.4.38`,this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t=[],n=L(e),r;!(r=n()).done;){var i=r.value;if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),(i===void 0?`undefined`:I(i))===`object`&&Array.isArray(i.plugins))t=t.concat(i.plugins);else if((i===void 0?`undefined`:I(i))===`object`&&i.postcssPlugin)t.push(i);else if(typeof i==`function`)t.push(i);else if(!((i===void 0?`undefined`:I(i))===`object`&&(i.parse||i.stringify)))throw Error(i+` is not a PostCSS plugin`)}return t},t.process=function(e,t){return t===void 0&&(t={}),!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new dj(this,e,t):new fj(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),gj=hj;hj.default=hj,mj.registerProcessor(hj),pj.registerProcessor(hj);var _j=MO,vj=UO,yj=_k,bj=pA,xj=ik,Sj=vA,Cj=wA;function wj(e,t){if(Array.isArray(e))return e.map(function(e){return wj(e)});var n=e.inputs,r=OS(e,[`inputs`]);if(n){t=[];for(var i=L(n),a;!(a=i()).done;){var o=a.value,s=P({},o,{__proto__:xj.prototype});s.map&&=P({},s.map,{__proto__:vj.prototype}),t.push(s)}}if(r.nodes&&=e.nodes.map(function(e){return wj(e,t)}),r.source){var c=r.source,l=c.inputId;r.source=OS(c,[`inputId`]),l!=null&&(r.source.input=t[l])}if(r.type===`root`)return new Sj(r);if(r.type===`decl`)return new _j(r);if(r.type===`rule`)return new Cj(r);if(r.type===`comment`)return new yj(r);if(r.type===`atrule`)return new bj(r);throw Error(`Unknown node type: `+e.type)}var Tj=wj;wj.default=wj;var Ej=mO,Dj=MO,Oj=ij,kj=Ak,Aj=gj,jj=SO,Mj=Tj,Nj=Fk,Pj=Lk,Fj=_k,Ij=pA,Lj=Bk,Rj=ik,zj=RA,Bj=bA,Vj=wA,Hj=vA,Uj=AO;function B(){var e=[...arguments];return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new Aj(e)}B.plugin=function(e,t){var n=!1;function r(){var r=[...arguments];console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
63https://evilmartians.com/chronicles/postcss-8-plugin-migration`),{}.LANG&&{}.LANG.startsWith(`cn`)&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
64https://www.w3ctech.com/topic/2226`));var i=t.apply(void 0,[].concat(r));return i.postcssPlugin=e,i.postcssVersion=new Aj().version,i}var i;return Object.defineProperty(r,"postcss",{get:function(){return i||=r(),i}}),r.process=function(e,t,n){return B([r(n)]).process(e,t)},r},B.stringify=jj,B.parse=zj,B.fromJSON=Mj,B.list=Bj,B.comment=function(e){return new Fj(e)},B.atRule=function(e){return new Ij(e)},B.decl=function(e){return new Dj(e)},B.rule=function(e){return new Vj(e)},B.root=function(e){return new Hj(e)},B.document=function(e){return new Nj(e)},B.CssSyntaxError=Ej,B.Declaration=Dj,B.Container=kj,B.Processor=Aj,B.Document=Nj,B.Comment=Fj,B.Warning=Pj,B.AtRule=Ij,B.Result=Lj,B.Input=Rj,B.Rule=Vj,B.Root=Hj,B.Node=Uj,Oj.registerPostcss(B);var Wj=B;B.default=B;var Gj=iO(Wj);
64Gj.stringify,Gj.fromJSON,Gj.plugin,Gj.parse,Gj.list,Gj.document,Gj.comment,Gj.atRule,Gj.rule,Gj.decl,Gj.root,Gj.CssSyntaxError,Gj.Declaration,Gj.Container,Gj.Processor,Gj.Document,Gj.Comment,Gj.Warning,Gj.AtRule,Gj.Result,Gj.Input,Gj.Rule,Gj.Root,Gj.Node;var Kj=function(){function e(){rO(this,`parentElement`,null),rO(this,`parentNode`,null),rO(this,`ownerDocument`),rO(this,`firstChild`,null),rO(this,`lastChild`,null),rO(this,`previousSibling`,null),rO(this,`nextSibling`,null),rO(this,`ELEMENT_NODE`,1),rO(this,`TEXT_NODE`,3),rO(this,`nodeType`),rO(this,`nodeName`),rO(this,`RRNodeType`)}var t=e.prototype;return t.contains=function(t){if(!F(t,e)||t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},t.appendChild=function(e){throw Error(`RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.`)},t.insertBefore=function(e,t){throw Error(`RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.`)},t.removeChild=function(e){throw Error(`RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.`)},t.toString=function(){return`RRNode`},wS(e,[{key:`childNodes`,get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),qj={Node:[`childNodes`,`parentNode`,`parentElement`,`textContent`],ShadowRoot:[`host`,`styleSheets`],Element:[`shadowRoot`,`querySelector`,`querySelectorAll`],MutationObserver:[]},Jj={Node:[`contains`,`getRootNode`],ShadowRoot:[`getSelection`],Element:[],MutationObserver:[`constructor`]},Yj={},Xj=function(){return!!globalThis.Zone};function Zj(e){if(Yj[e])return Yj[e];var t=globalThis[e],n=t.prototype,r=e in qj?qj[e]:void 0,i=!!(r&&r.every(function(e){return!!(Object.getOwnPropertyDescriptor(n,e)?.get)?.toString().includes(`[native code]`)})),a=e in Jj?Jj[e]:void 0,o=!!(a&&a.every(function(e){return typeof n[e]==`function`&&n[e]?.toString().includes(`[native code]`)}));if(i&&o&&!Xj())return Yj[e]=t.prototype,t.prototype;try{var s=document.createElement(`iframe`);document.body.appendChild(s);var c=s.contentWindow;if(!c)return t.prototype;var l=c[e].prototype;return document.body.removeChild(s),l?Yj[e]=l:n}catch{return n}}var Qj={};function $j(e,t,n){var r=e+`.`+String(n);if(Qj[r])return Qj[r].call(t);var i=Zj(e),a=Object.getOwnPropertyDescriptor(i,n)?.get;return a?(Qj[r]=a,a.call(t)):t[n]}var eM={};function tM(e,t,n){var r=e+`.`+String(n);if(eM[r])return eM[r].bind(t);var i=Zj(e)[n];return typeof i==`function`?(eM[r]=i,i.bind(t)):t[n]}function nM(e){return $j(`Node`,e,`childNodes`)}function rM(e){return $j(`Node`,e,`parentNode`)}function iM(e){return $j(`Node`,e,`parentElement`)}function aM(e){return $j(`Node`,e,`textContent`)}function oM(e,t){return tM(`Node`,e,`contains`)(t)}function sM(e){return tM(`Node`,e,`getRootNode`)()}function cM(e){return!e||!(`host`in e)?null:$j(`ShadowRoot`,e,`host`)}function lM(e){return e.styleSheets}function uM(e){return!e||!(`shadowRoot`in e)?null:$j(`Element`,e,`shadowRoot`)}function dM(e,t){return $j(`Element`,e,`querySelector`)(t)}function fM(e,t){return $j(`Element`,e,`querySelectorAll`)(t)}function pM(){return Zj(`MutationObserver`).constructor}function mM(e,t,n){try{if(!(t in e))return function(){};var r=e[t],i=n(r);return typeof i==`function`&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,function(){e[t]=r}}catch{return function(){}}}var V={childNodes:nM,parentNode:rM,parentElement:iM,textContent:aM,contains:oM,getRootNode:sM,host:cM,styleSheets:lM,shadowRoot:uM,querySelector:dM,querySelectorAll:fM,mutationObserver:pM,patch:mM};function hM(e,t,n){n===void 0&&(n=document);var r={capture:!0,passive:!0};return n.addEventListener(e,t,r),function(){return n.removeEventListener(e,t,r)}}var gM=`Please stop import mirror directly. Instead of that,\r
65now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
66or you can use record.mirror to access the mirror instance during recording.`,_M={map:{},getId:function(){return console.error(gM),-1},getNode:function(){return console.error(gM),null},removeNodeFromMap:function(){console.error(gM)},has:function(){return console.error(gM),!1},reset:function(){console.error(gM)}};typeof window<`u`&&window.Proxy&&window.Reflect&&(_M=new Proxy(_M,{get:function(e,t,n){return t===`map`&&console.error(gM),Reflect.get(e,t,n)}}));function vM(e,t,n){n===void 0&&(n={});var r=null,i=0;return function(){var a=[...arguments],o=Date.now();!i&&n.leading===!1&&(i=o);var s=t-(o-i),c=this;s<=0||s>t?(r&&=(clearTimeout(r),null),i=o,e.apply(c,a)):!r&&n.trailing!==!1&&(r=setTimeout(function(){i=n.leading===!1?0:Date.now(),r=null,e.apply(c,a)},s))}}function yM(e,t,n,r,i){i===void 0&&(i=window);var a=i.Object.getOwnPropertyDescriptor(e,t);
66return i.Object.defineProperty(e,t,r?n:{set:function(e){var t=this;setTimeout(function(){n.set.call(t,e)},0),a&&a.set&&a.set.call(this,e)}}),function(){return yM(e,t,a||{},!0)}}var bM=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(bM=function(){return new Date().getTime()});function xM(e){var t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset===void 0?t.documentElement.scrollLeft||t?.body&&V.parentElement(t.body)?.scrollLeft||t?.body?.scrollLeft||0:e.pageXOffset,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset===void 0?t?.documentElement.scrollTop||t?.body&&V.parentElement(t.body)?.scrollTop||t?.body?.scrollTop||0:e.pageYOffset}}function SM(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function CM(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function wM(e){return e?e.nodeType===e.ELEMENT_NODE?e:V.parentElement(e):null}function TM(e,t,n,r){if(!e)return!1;var i=wM(e);if(!i)return!1;try{if(typeof t==`string`){if(i.classList.contains(t)||r&&i.closest(`.`+t)!==null)return!0}else if(ew(i,t,r))return!0}catch{}return!!(n&&(i.matches(n)||r&&i.closest(n)!==null))}function EM(e,t){return t.getId(e)!==-1}function DM(e,t,n){return e.tagName===`TITLE`&&n.headTitleMutations?!0:t.getId(e)===zC}function OM(e,t){if(dC(e))return!1;var n=t.getId(e);if(!t.has(n))return!0;var r=V.parentNode(e);return r&&r.nodeType===e.DOCUMENT_NODE?!1:!r||OM(r,t)}function kM(e){return!!e.changedTouches}function AM(e){e===void 0&&(e=window),`NodeList`in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),`DOMTokenList`in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function jM(e,t){return!!(e.nodeName===`IFRAME`&&t.getMeta(e))}function MM(e,t){return!!(e.nodeName===`LINK`&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute(`rel`)===`stylesheet`&&t.getMeta(e))}function NM(e){return e?F(e,Kj)&&`shadowRoot`in e?!!e.shadowRoot:!!V.shadowRoot(e):!1}var PM=function(){function e(){R(this,`id`,1),R(this,`styleIDMap`,new WeakMap),R(this,`idStyleMap`,new Map)}var t=e.prototype;return t.getId=function(e){return this.styleIDMap.get(e)??-1},t.has=function(e){return this.styleIDMap.has(e)},t.add=function(e,t){if(this.has(e))return this.getId(e);var n=t===void 0?this.id++:t;return this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n},t.getStyle=function(e){return this.idStyleMap.get(e)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},e}();function FM(e){var t=null;return`getRootNode`in e&&V.getRootNode(e)?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&V.host(V.getRootNode(e))&&(t=V.host(V.getRootNode(e))),t}function IM(e){for(var t=e,n;n=FM(t);)t=n;return t}function LM(e){var t=e.ownerDocument;if(!t)return!1;var n=IM(e);return V.contains(t,n)}function RM(e){var t=e.ownerDocument;return t?V.contains(t,e)||LM(e):!1}var H=function(e){return e[e.DomContentLoaded=0]=`DomContentLoaded`,e[e.Load=1]=`Load`,e[e.FullSnapshot=2]=`FullSnapshot`,e[e.IncrementalSnapshot=3]=`IncrementalSnapshot`,e[e.Meta=4]=`Meta`,e[e.Custom=5]=`Custom`,e[e.Plugin=6]=`Plugin`,e}(H||{}),U=function(e){return e[e.Mutation=0]=`Mutation`,e[e.MouseMove=1]=`MouseMove`,e[e.MouseInteraction=2]=`MouseInteraction`,e[e.Scroll=3]=`Scroll`,e[e.ViewportResize=4]=`ViewportResize`,e[e.Input=5]=`Input`,e[e.TouchMove=6]=`TouchMove`,e[e.MediaInteraction=7]=`MediaInteraction`,e[e.StyleSheetRule=8]=`StyleSheetRule`,e[e.CanvasMutation=9]=`CanvasMutation`,e[e.Font=10]=`Font`,e[e.Log=11]=`Log`,e[e.Drag=12]=`Drag`,e[e.StyleDeclaration=13]=`StyleDeclaration`,e[e.Selection=14]=`Selection`,e[e.AdoptedStyleSheet=15]=`AdoptedStyleSheet`,e[e.CustomElement=16]=`CustomElement`,e}(U||{}),zM=function(e){return e[e.MouseUp=0]=`MouseUp`,e[e.MouseDown=1]=`MouseDown`,e[e.Click=2]=`Click`,e[e.ContextMenu=3]=`ContextMenu`,e[e.DblClick=4]=`DblClick`,e[e.Focus=5]=`Focus`,e[e.Blur=6]=`Blur`,e[e.TouchStart=7]=`TouchStart`,e[e.TouchMove_Departed=8]=`TouchMove_Departed`,e[e.TouchEnd=9]=`TouchEnd`,e[e.TouchCancel=10]=`TouchCancel`,e}(zM||{}),BM=function(e){return e[e.Mouse=0]=`Mouse`,e[e.Pen=1]=`Pen`,e[e.Touch=2]=`Touch`,e}(BM||{}),VM=function(e){return e[e[`2D`]=0]=`2D`,e[e.WebGL=1]=`WebGL`,e[e.WebGL2=2]=`WebGL2`,e}(VM||{}),HM=function(e){return e[e.Play=0]=`Play`,e[e.Pause=1]=`Pause`,e[e.Seeked=2]=`Seeked`,e[e.VolumeChange=3]=`VolumeChange`,e[e.RateChange=4]=`RateChange`,e}(HM||{}),UM=function(e){return e[e.Document=0]=`Document`,e[e.DocumentType=1]=`DocumentType`,e[e.Element=2]=`Element`,e[e.Text=3]=`Text`,e[e.CDATA=4]=`CDATA`,e[e.Comment=5]=`Comment`,e}(UM||{});function WM(e){return`__ln`in e}var GM=function(){function e(){R(this,`length`,0),R(this,`head`,null),R(this,`tail`,null)}var t=e.prototype;return t.get=function(e){if(e>=this.length)throw Error(`Position outside of list range`);for(var t=this.head,n=0;n<e;n++)t=t?.next||null;return t},t.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&WM(e.previousSibling)){var n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&
vendor: 7,097 bytes, line 66
66(n.previous=t)}else if(e.nextSibling&&WM(e.nextSibling)&&e.nextSibling.__ln.previous){var r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;t.next===null&&(this.tail=t),this.length++},t.removeNode=function(e){var t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},e}(),KM=function(e,t){return e+`@`+t},qM=function(){function e(){var e=this;R(this,`frozen`,!1),R(this,`locked`,!1),R(this,`texts`,[]),R(this,`attributes`,[]),R(this,`attributeMap`,new WeakMap),R(this,`removes`,[]),R(this,`mapRemoves`,[]),R(this,`movedMap`,{}),R(this,`addedSet`,new Set),R(this,`movedSet`,new Set),R(this,`droppedSet`,new Set),R(this,`removesSubTreeCache`,new Set),R(this,`mutationCb`),R(this,`blockClass`),R(this,`blockSelector`),R(this,`maskTextClass`),R(this,`maskTextSelector`),R(this,`inlineStylesheet`),R(this,`maskInputOptions`),R(this,`maskTextFn`),R(this,`maskInputFn`),R(this,`keepIframeSrcFn`),R(this,`recordCanvas`),R(this,`inlineImages`),R(this,`slimDOMOptions`),R(this,`dataURLOptions`),R(this,`doc`),R(this,`mirror`),R(this,`iframeManager`),R(this,`stylesheetManager`),R(this,`shadowDomManager`),R(this,`canvasManager`),R(this,`processedNodeManager`),R(this,`unattachedDoc`),R(this,`processMutations`,function(t){t.forEach(e.processMutation),e.emit()}),R(this,`emit`,function(){if(!(e.frozen||e.locked)){for(var t=[],n=new Set,r=new GM,i=function(t){for(var n=t,r=zC;r===zC;)n&&=n.nextSibling,r=n&&e.mirror.getId(n);return r},a=function(a){var o=V.parentNode(a);if(!(!o||!RM(a))){var s=!1;if(a.nodeType===Node.TEXT_NODE){var c=o.tagName;if(c===`TEXTAREA`)return;c===`STYLE`&&e.addedSet.has(o)&&(s=!0)}var l=dC(o)?e.mirror.getId(FM(a)):e.mirror.getId(o),u=i(a);if(l===-1||u===-1)return r.addNode(a);var d=uw(a,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){jM(t,e.mirror)&&e.iframeManager.addIframe(t),MM(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),NM(a)&&e.shadowDomManager.addShadowRoot(V.shadowRoot(a),e.doc)},onIframeLoad:function(t,n){e.iframeManager.attachIframe(t,n),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,n){e.stylesheetManager.attachLinkElement(t,n)},cssCaptured:s});d&&(t.push({parentId:l,nextId:u,node:d}),n.add(d.id))}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());for(var o=L(e.movedSet),s;!(s=o()).done;){var c=s.value;XM(e.removesSubTreeCache,c,e.mirror)&&!e.movedSet.has(V.parentNode(c))||a(c)}for(var l=L(e.addedSet),u;!(u=l()).done;){var d=u.value;!QM(e.droppedSet,d)&&!XM(e.removesSubTreeCache,d,e.mirror)||QM(e.movedSet,d)?a(d):e.droppedSet.add(d)}for(var f=null;r.length;){var p=null;if(f){var m=e.mirror.getId(V.parentNode(f.value)),h=i(f.value);m!==-1&&h!==-1&&(p=f)}if(!p)for(var g=r.tail;g;){var _=g;if(g=g.previous,_){var v=e.mirror.getId(V.parentNode(_.value));if(i(_.value)===-1)continue;if(v!==-1){p=_;break}var y=_.value,b=V.parentNode(y);if(b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var x=V.host(b);if(e.mirror.getId(x)!==-1){p=_;break}}}}if(!p){for(;r.head;)r.removeNode(r.head.value);break}f=p.previous,r.removeNode(p.value),a(p.value)}var S={texts:e.texts.map(function(t){var n=t.node,r=V.parentNode(n);return r&&r.tagName===`TEXTAREA`&&e.genTextAreaValueMutation(r),{id:e.mirror.getId(n),value:t.value}}).filter(function(e){return!n.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){var n=t.attributes;if(typeof n.style==`string`){var r=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);r.length<n.style.length&&(r+i).split(`var(`).length===n.style.split(`var(`).length&&(n.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:n}}).filter(function(e){return!n.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),removes:e.removes,adds:t};!S.texts.length&&!S.attributes.length&&!S.removes.length&&!S.adds.length||(e.texts=[],e.attributes=[],e.attributeMap=new WeakMap,e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.removesSubTreeCache=new Set,e.movedMap={},e.mutationCb(S))}}),R(this,`genTextAreaValueMutation`,function(t){var n=e.attributeMap.get(t);n||(n={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(n),e.attributeMap.set(t,n));var r=Array.from(V.childNodes(t),function(e){return V.textContent(e)||``}).join(``);n.attributes.value=SC({element:t,maskInputOptions:e.maskInputOptions,tagName:t.tagName,type:EC(t),value:r,maskInputFn:e.maskInputFn})}),R(this,`processMutation`,function(t){if(!DM(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case`characterData`:var n=V.textContent(t.target);!TM(t.target,e.blockClass,e.blockSelector,!1)&&n!==t.oldValue&&e.texts.push({value:tw(t.target,e.maskTextClass,e.maskTextSelector,!0)&&n?e.maskTextFn?e.maskTextFn(n,wM(t.target)):n.replace(/[\S]/g,`*`):n,node:t.target});break;case`attributes`:var r=t.target,i=t.attributeName,a=t.target.getAttribute(i);if(i===`value`){var o=EC(r);a=SC({element:r,maskInputOptions:e.maskInputOptions,tagName:r.tagName,type:o,value:a,maskInputFn:e.maskInputFn})}if(TM(t.target,e.blockClass,e.blockSelector,!1)||a===t.oldValue)return;var s=e.attributeMap.get(t.target);if(r.tagName===`IFRAME`&&i===`src`&&!e.keepIframeSrcFn(a))if(!r.contentDocument)i=`rr_src`;else return;if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(s),e.attributeMap.set(t.target,s)),i===`type`&&r.tagName===`INPUT`&&(t.oldValue||``).toLowerCase()===`password`&&r.setAttribute(`data-rr-is-password`,`true`),!QC(r.tagName,i))if(s.attributes[i]=ZC(e.doc,CC(r.tagName),CC(i),a),i===`style`){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch{e.unattachedDoc=e.doc}var c=e.unattachedDoc.createElement(`span`);t.oldValue&&c.setAttribute(`style`,t.oldValue);for(var l=L(Array.from(r.style)),u;!(u=l()).done;){var d=u.value,f=r.style.getPropertyValue(d),p=r.style.getPropertyPriority(d);f!==c.style.getPropertyValue(d)||p!==c.style.getPropertyPriority(d)?p===``?s.styleDiff[d]=f:s.styleDiff[d]=[f,p]:s._unchangedStyles[d]=[f,p]}for(var m=L(Array.from(c.style)),h;!(h=m()).done;){var g=h.value;r.style.getPropertyValue(g)===``&&(s.styleDiff[g]=!1)}}else i===`open`&&r.tagName===`DIALOG`&&(r.matches(`dialog:modal`)?s.attributes.rr_open_mode=`modal`:s.attributes.rr_open_mode=`non-modal`);break;case`childList`:if(TM(t.target,e.blockClass,e.blockSelector,!0))return;if(t.target.tagName===`TEXTAREA`){e.genTextAreaValueMutation(t.target);return}
66t.addedNodes.forEach(function(n){return e.genAdds(n,t.target)}),t.removedNodes.forEach(function(n){var r=e.mirror.getId(n),i=dC(t.target)?e.mirror.getId(V.host(t.target)):e.mirror.getId(t.target);TM(t.target,e.blockClass,e.blockSelector,!1)||DM(n,e.mirror,e.slimDOMOptions)||!EM(n,e.mirror)||(e.addedSet.has(n)?(JM(e.addedSet,n),e.droppedSet.add(n)):e.addedSet.has(t.target)&&r===-1||OM(t.target,e.mirror)||(e.movedSet.has(n)&&e.movedMap[KM(r,i)]?JM(e.movedSet,n):(e.removes.push({parentId:i,id:r,isShadow:dC(t.target)&&fC(t.target)?!0:void 0}),YM(n,e.removesSubTreeCache))),e.mapRemoves.push(n))})}}),R(this,`genAdds`,function(t,n){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!(e.addedSet.has(t)||e.movedSet.has(t))){if(e.mirror.hasNode(t)){if(DM(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var r=null;n&&e.mirror.hasNode(n)&&(r=e.mirror.getId(n)),r&&r!==-1&&(e.movedMap[KM(e.mirror.getId(t),r)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);TM(t,e.blockClass,e.blockSelector,!1)||(V.childNodes(t).forEach(function(t){return e.genAdds(t)}),NM(t)&&V.childNodes(V.shadowRoot(t)).forEach(function(n){e.processedNodeManager.add(n,e),e.genAdds(n,t)}))}})}var t=e.prototype;return t.init=function(e){var t=this;[`mutationCb`,`blockClass`,`blockSelector`,`maskTextClass`,`maskTextSelector`,`inlineStylesheet`,`maskInputOptions`,`maskTextFn`,`maskInputFn`,`keepIframeSrcFn`,`recordCanvas`,`inlineImages`,`slimDOMOptions`,`dataURLOptions`,`doc`,`mirror`,`iframeManager`,`stylesheetManager`,`shadowDomManager`,`canvasManager`,`processedNodeManager`].forEach(function(n){t[n]=e[n]})},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},e}();function JM(e,t){e.delete(t),V.childNodes(t).forEach(function(t){return JM(e,t)})}function YM(e,t){for(var n=[e];n.length;){var r=n.pop();t.has(r)||(t.add(r),V.childNodes(r).forEach(function(e){return n.push(e)}))}}function XM(e,t,n){return e.size!==0&&ZM(e,t)}function ZM(e,t,n){var r=V.parentNode(t);return r?e.has(r):!1}function QM(e,t){return e.size!==0&&$M(e,t)}function $M(e,t){var n=V.parentNode(t);return n?e.has(n)?!0:$M(e,n):!1}var eN;function tN(e){eN=e}function nN(){eN=void 0}var W=function(e){return eN?function(){var t=[...arguments];try{return e.apply(void 0,[].concat(t))}catch(e){if(eN&&eN(e)===!0)return;throw e}}:e},rN=[];function iN(e){try{if(`composedPath`in e){var t=e.composedPath();if(t.length)return t[0]}else if(`path`in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function aN(e,t){var n=new qM;rN.push(n),n.init(e);var r=new(pM())(W(n.processMutations.bind(n)));return r.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),r}function oN(e){var t=e.mousemoveCb,n=e.sampling,r=e.doc,i=e.mirror;if(n.mousemove===!1)return function(){};var a=typeof n.mousemove==`number`?n.mousemove:50,o=typeof n.mousemoveCallback==`number`?n.mousemoveCallback:500,s=[],c,l=vM(W(function(e){var n=Date.now()-c;t(s.map(function(e){return e.timeOffset-=n,e}),e),s=[],c=null}),o),u=W(vM(W(function(e){var t=iN(e),n=kM(e)?e.changedTouches[0]:e,r=n.clientX,a=n.clientY;c||=bM(),s.push({x:r,y:a,id:i.getId(t),timeOffset:bM()-c}),l(typeof DragEvent<`u`&&F(e,DragEvent)?U.Drag:F(e,MouseEvent)?U.MouseMove:U.TouchMove)}),a,{trailing:!1})),d=[hM(`mousemove`,u,r),hM(`touchmove`,u,r),hM(`drag`,u,r)];return W(function(){d.forEach(function(e){return e()})})}function sN(e){var t=e.mouseInteractionCb,n=e.doc,r=e.mirror,i=e.blockClass,a=e.blockSelector,o=e.sampling;if(o.mouseInteraction===!1)return function(){};var s=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,c=[],l=null,u=function(e){return function(n){var o=iN(n);if(!TM(o,i,a,!0)){var s=null,c=e;if(`pointerType`in n){switch(n.pointerType){case`mouse`:s=BM.Mouse;break;case`touch`:s=BM.Touch;break;case`pen`:s=BM.Pen}s===BM.Touch?zM[e]===zM.MouseDown?c=`TouchStart`:zM[e]===zM.MouseUp&&(c=`TouchEnd`):BM.Pen}else kM(n)&&(s=BM.Touch);s===null?zM[e]===zM.Click&&(s=l,l=null):(l=s,(c.startsWith(`Touch`)&&s===BM.Touch||c.startsWith(`Mouse`)&&s===BM.Mouse)&&(s=null));var u=kM(n)?n.changedTouches[0]:n;if(u){var d=r.getId(o),f=u.clientX,p=u.clientY;W(t)(P({type:zM[c],id:d,x:f,y:p},s!==null&&{pointerType:s}))}}}};return Object.keys(zM).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith(`_Departed`)&&s[e]!==!1}
vendor: 7,695 bytes, line 66
66).forEach(function(e){var t=CC(e),r=u(e);if(window.PointerEvent)switch(zM[e]){case zM.MouseDown:case zM.MouseUp:t=t.replace(`mouse`,`pointer`);break;case zM.TouchStart:case zM.TouchEnd:return}c.push(hM(t,r,n))}),W(function(){c.forEach(function(e){return e()})})}function cN(e){var t=e.scrollCb,n=e.doc,r=e.mirror,i=e.blockClass,a=e.blockSelector,o=e.sampling;return hM(`scroll`,W(vM(W(function(e){var o=iN(e);if(!(!o||TM(o,i,a,!0))){var s=r.getId(o);if(o===n&&n.defaultView){var c=xM(n.defaultView);t({id:s,x:c.left,y:c.top})}else t({id:s,x:o.scrollLeft,y:o.scrollTop})}}),o.scroll||100)),n)}function lN(e,t){var n=e.viewportResizeCb,r=t.win,i=-1,a=-1;return hM(`resize`,W(vM(W(function(){var e=SM(),t=CM();(i!==e||a!==t)&&(n({width:Number(t),height:Number(e)}),i=e,a=t)}),200)),r)}var uN=[`INPUT`,`TEXTAREA`,`SELECT`],dN=new WeakMap;function fN(e){var t=e.inputCb,n=e.doc,r=e.mirror,i=e.blockClass,a=e.blockSelector,o=e.ignoreClass,s=e.ignoreSelector,c=e.maskInputOptions,l=e.maskInputFn,u=e.sampling,d=e.userTriggeredOnInput;function f(e){var t=iN(e),r=e.isTrusted,u=t&&t.tagName;if(t&&u===`OPTION`&&(t=V.parentElement(t)),!(!t||!u||uN.indexOf(u)<0||TM(t,i,a,!0))&&!(t.classList.contains(o)||s&&t.matches(s))){var f=t.value,m=!1,h=EC(t)||``;h===`radio`||h===`checkbox`?m=t.checked:(c[u.toLowerCase()]||c[h])&&(f=SC({element:t,maskInputOptions:c,tagName:u,type:h,value:f,maskInputFn:l})),p(t,d?{text:f,isChecked:m,userTriggered:r}:{text:f,isChecked:m});var g=t.name;h===`radio`&&g&&m&&n.querySelectorAll(`input[type="radio"][name="`+g+`"]`).forEach(function(e){if(e!==t){var n=e.value;p(e,d?{text:n,isChecked:!m,userTriggered:!1}:{text:n,isChecked:!m})}})}}function p(e,n){var i=dN.get(e);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){dN.set(e,n);var a=r.getId(e);W(t)(P({},n,{id:a}))}}var m=(u.input===`last`?[`change`]:[`input`,`change`]).map(function(e){return hM(e,W(f),n)}),h=n.defaultView;if(!h)return function(){m.forEach(function(e){return e()})};var g=h.Object.getOwnPropertyDescriptor(h.HTMLInputElement.prototype,`value`),_=[[h.HTMLInputElement.prototype,`value`],[h.HTMLInputElement.prototype,`checked`],[h.HTMLSelectElement.prototype,`value`],[h.HTMLTextAreaElement.prototype,`value`],[h.HTMLSelectElement.prototype,`selectedIndex`],[h.HTMLOptionElement.prototype,`selected`]];if(g&&g.set){var v;(v=m).push.apply(v,[].concat(_.map(function(e){return yM(e[0],e[1],{set:function(){W(f)({target:this,isTrusted:!1})}},!1,h)})))}return W(function(){m.forEach(function(e){return e()})})}function pN(e){var t=[];function n(e,t){if(wN(`CSSGroupingRule`)&&F(e.parentRule,CSSGroupingRule)||wN(`CSSMediaRule`)&&F(e.parentRule,CSSMediaRule)||wN(`CSSSupportsRule`)&&F(e.parentRule,CSSSupportsRule)||wN(`CSSConditionRule`)&&F(e.parentRule,CSSConditionRule)){var n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){var r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}return n(e,t)}function mN(e,t,n){var r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function hN(e,t){var n=e.styleSheetRuleCb,r=e.mirror,i=e.stylesheetManager,a=t.win;if(!a.CSSStyleSheet||!a.CSSStyleSheet.prototype)return function(){};var o=a.CSSStyleSheet.prototype.insertRule;a.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:W(function(e,t,a){var o=a[0],s=a[1],c=mN(t,r,i.styleMirror),l=c.id,u=c.styleId;return(l&&l!==-1||u&&u!==-1)&&n({id:l,styleId:u,adds:[{rule:o,index:s}]}),e.apply(t,a)})}),a.CSSStyleSheet.prototype.addRule=function(e,t,n){n===void 0&&(n=this.cssRules.length);var r=e+` { `+t+` }`;return a.CSSStyleSheet.prototype.insertRule.apply(this,[r,n])};var s=a.CSSStyleSheet.prototype.deleteRule;a.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:W(function(e,t,a){var o=a[0],s=mN(t,r,i.styleMirror),c=s.id,l=s.styleId;return(c&&c!==-1||l&&l!==-1)&&n({id:c,styleId:l,removes:[{index:o}]}),e.apply(t,a)})}),a.CSSStyleSheet.prototype.removeRule=function(e){return a.CSSStyleSheet.prototype.deleteRule.apply(this,[e])};var c;a.CSSStyleSheet.prototype.replace&&(c=a.CSSStyleSheet.prototype.replace,a.CSSStyleSheet.prototype.replace=new Proxy(c,{apply:W(function(e,t,a){var o=a[0],s=mN(t,r,i.styleMirror),c=s.id,l=s.styleId;return(c&&c!==-1||l&&l!==-1)&&n({id:c,styleId:l,replace:o}),e.apply(t,a)})}));var l;a.CSSStyleSheet.prototype.replaceSync&&(l=a.CSSStyleSheet.prototype.replaceSync,a.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:W(function(e,t,a){var o=a[0],s=mN(t,r,i.styleMirror),c=s.id,l=s.styleId;return(c&&c!==-1||l&&l!==-1)&&n({id:c,styleId:l,replaceSync:o}),e.apply(t,a)})}));var u={};TN(`CSSGroupingRule`)?u.CSSGroupingRule=a.CSSGroupingRule:(TN(`CSSMediaRule`)&&(u.CSSMediaRule=a.CSSMediaRule),TN(`CSSConditionRule`)&&(u.CSSConditionRule=a.CSSConditionRule),TN(`CSSSupportsRule`)&&(u.CSSSupportsRule=a.CSSSupportsRule));var d={};return Object.entries(u).forEach(function(e){var t=e[0],a=e[1];d[t]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(d[t].insertRule,{apply:W(function(e,t,a){var o=a[0],s=a[1],c=mN(t.parentStyleSheet,r,i.styleMirror),l=c.id,u=c.styleId;return(l&&l!==-1||u&&u!==-1)&&n({id:l,styleId:u,adds:[{rule:o,index:[].concat(pN(t),[s||0])}]}),e.apply(t,a)})}),a.prototype.deleteRule=new Proxy(d[t].deleteRule,{apply:W(function(e,t,a){var o=a[0],s=mN(t.parentStyleSheet,r,i.styleMirror),c=s.id,l=s.styleId;return(c&&c!==-1||l&&l!==-1)&&n({id:c,styleId:l,removes:[{index:[].concat(pN(t),[o])}]}),e.apply(t,a)})})}),W(function(){a.CSSStyleSheet.prototype.insertRule=o,a.CSSStyleSheet.prototype.deleteRule=s,c&&(a.CSSStyleSheet.prototype.replace=c),l&&(a.CSSStyleSheet.prototype.replaceSync=l),Object.entries(u).forEach(function(e){var t=e[0],n=e[1];n.prototype.insertRule=d[t].insertRule,n.prototype.deleteRule=d[t].deleteRule})})}function gN(e,t){var n=e.mirror,r=e.stylesheetManager,i=null;i=t.nodeName===`#document`?n.getId(t):n.getId(V.host(t));var a=t.nodeName===`#document`?t.defaultView?.Document:t.ownerDocument?.defaultView?.ShadowRoot,o=a?.prototype?Object.getOwnPropertyDescriptor(a?.prototype,`adoptedStyleSheets`):void 0;return i===null||i===-1||!a||!o?function(){}:(Object.defineProperty(t,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:function(){return o.get?.call(this)},set:function(e){var t=o.set?.call(this,e);if(i!==null&&i!==-1)try{r.adoptStyleSheets(e,i)}catch{}return t}}),W(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})}))}function _N(e,t){var n=e.styleDeclarationCb,r=e.mirror,i=e.ignoreCSSAttributes,a=e.stylesheetManager,o=t.win,s=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:W(function(e,t,o){var c=o[0],l=o[1],u=o[2];if(i.has(c))return s.apply(t,[c,l,u]);var d=mN(t.parentRule?.parentStyleSheet,r,a.styleMirror),f=d.id,p=d.styleId;return(f&&f!==-1||p&&p!==-1)&&n({id:f,styleId:p,set:{property:c,value:l,priority:u},index:pN(t.parentRule)}),e.apply(t,o)})});var c=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(c,{apply:W(function(e,t,o){var s=o[0];if(i.has(s))return c.apply(t,[s]);var l=mN(t.parentRule?.parentStyleSheet,r,a.styleMirror),u=l.id,d=l.styleId;return(u&&u!==-1||d&&d!==-1)&&n({id:u,styleId:d,remove:{property:s},index:pN(t.parentRule)}),e.apply(t,o)})}),W(function(){o.CSSStyleDeclaration.prototype.setProperty=s,o.CSSStyleDeclaration.prototype.removeProperty=c})}function vN(e){var t=e.mediaInteractionCb,n=e.blockClass,r=e.blockSelector,i=e.mirror,a=e.sampling,o=e.doc,s=W(function(e){return vM(W(function(a){var o=iN(a);
66if(!(!o||TM(o,n,r,!0))){var s=o.currentTime,c=o.volume,l=o.muted,u=o.playbackRate,d=o.loop;t({type:e,id:i.getId(o),currentTime:s,volume:c,muted:l,playbackRate:u,loop:d})}}),a.media||500)}),c=[hM(`play`,s(HM.Play),o),hM(`pause`,s(HM.Pause),o),hM(`seeked`,s(HM.Seeked),o),hM(`volumechange`,s(HM.VolumeChange),o),hM(`ratechange`,s(HM.RateChange),o)];return W(function(){c.forEach(function(e){return e()})})}function yN(e){var t=e.fontCb,n=e.doc,r=n.defaultView;if(!r)return function(){};var i=[],a=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,n){var r=new o(e,t,n);return a.set(r,{family:e,buffer:typeof t!=`string`,descriptors:n,fontSource:typeof t==`string`?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};var s=mM(n.fonts,`add`,function(e){return function(n){return setTimeout(W(function(){var e=a.get(n);e&&(t(e),a.delete(n))}),0),e.apply(this,[n])}});return i.push(function(){r.FontFace=o}),i.push(s),W(function(){i.forEach(function(e){return e()})})}function bN(e){var t=e.doc,n=e.mirror,r=e.blockClass,i=e.blockSelector,a=e.selectionCb,o=!0,s=W(function(){var e=t.getSelection();if(!(!e||o&&e?.isCollapsed)){o=e.isCollapsed||!1;for(var s=[],c=e.rangeCount||0,l=0;l<c;l++){var u=e.getRangeAt(l),d=u.startContainer,f=u.startOffset,p=u.endContainer,m=u.endOffset;TM(d,r,i,!0)||TM(p,r,i,!0)||s.push({start:n.getId(d),startOffset:f,end:n.getId(p),endOffset:m})}a({ranges:s})}});return s(),hM(`selectionchange`,s)}function xN(e){var t=e.doc,n=e.customElementCb,r=t.defaultView;return!r||!r.customElements?function(){}:mM(r.customElements,`define`,function(e){return function(t,r,i){try{n({define:{name:t}})}catch{console.warn(`Custom element callback failed for `+t)}return e.apply(this,[t,r,i])}})}function SN(e,t){var n=e.mutationCb,r=e.mousemoveCb,i=e.mouseInteractionCb,a=e.scrollCb,o=e.viewportResizeCb,s=e.inputCb,c=e.mediaInteractionCb,l=e.styleSheetRuleCb,u=e.styleDeclarationCb,d=e.canvasMutationCb,f=e.fontCb,p=e.selectionCb,m=e.customElementCb;e.mutationCb=function(){var e=[...arguments];if(t.mutation){var r;(r=t).mutation.apply(r,[].concat(e))}n.apply(void 0,[].concat(e))},e.mousemoveCb=function(){var e=[...arguments];if(t.mousemove){var n;(n=t).mousemove.apply(n,[].concat(e))}r.apply(void 0,[].concat(e))},e.mouseInteractionCb=function(){var e=[...arguments];if(t.mouseInteraction){var n;(n=t).mouseInteraction.apply(n,[].concat(e))}i.apply(void 0,[].concat(e))},e.scrollCb=function(){var e=[...arguments];if(t.scroll){var n;(n=t).scroll.apply(n,[].concat(e))}a.apply(void 0,[].concat(e))},e.viewportResizeCb=function(){var e=[...arguments];if(t.viewportResize){var n;(n=t).viewportResize.apply(n,[].concat(e))}o.apply(void 0,[].concat(e))},e.inputCb=function(){var e=[...arguments];if(t.input){var n;(n=t).input.apply(n,[].concat(e))}s.apply(void 0,[].concat(e))},e.mediaInteractionCb=function(){var e=[...arguments];if(t.mediaInteaction){var n;(n=t).mediaInteaction.apply(n,[].concat(e))}c.apply(void 0,[].concat(e))},e.styleSheetRuleCb=function(){var e=[...arguments];if(t.styleSheetRule){var n;(n=t).styleSheetRule.apply(n,[].concat(e))}l.apply(void 0,[].concat(e))},e.styleDeclarationCb=function(){var e=[...arguments];if(t.styleDeclaration){var n;(n=t).styleDeclaration.apply(n,[].concat(e))}u.apply(void 0,[].concat(e))},e.canvasMutationCb=function(){var e=[...arguments];if(t.canvasMutation){var n;(n=t).canvasMutation.apply(n,[].concat(e))}d.apply(void 0,[].concat(e))},e.fontCb=function(){var e=[...arguments];if(t.font){var n;(n=t).font.apply(n,[].concat(e))}f.apply(void 0,[].concat(e))},e.selectionCb=function(){var e=[...arguments];if(t.selection){var n;(n=t).selection.apply(n,[].concat(e))}p.apply(void 0,[].concat(e))},e.customElementCb=function(){var e=[...arguments];if(t.customElement){var n;(n=t).customElement.apply(n,[].concat(e))}m.apply(void 0,[].concat(e))}}function CN(e,t){t===void 0&&(t={});var n=e.doc.defaultView;if(!n)return function(){};SN(e,t);var r;e.recordDOM&&(r=aN(e,e.doc));var i=oN(e),a=sN(e),o=cN(e),s=lN(e,{win:n}),c=fN(e),l=vN(e),u=function(){},d=function(){},f=function(){},p=function(){};e.recordDOM&&(u=hN(e,{win:n}),d=gN(e,e.doc),f=_N(e,{win:n}),e.collectFonts&&(p=yN(e)));for(var m=bN(e),h=xN(e),g=[],_=L(e.plugins),v;!(v=_()).done;){var y=v.value;g.push(y.observer(y.callback,n,y.options))}
66return W(function(){rN.forEach(function(e){return e.reset()}),r?.disconnect(),i(),a(),o(),s(),c(),l(),u(),d(),f(),p(),m(),h(),g.forEach(function(e){return e()})})}function wN(e){return window[e]!==void 0}function TN(e){return!!(window[e]!==void 0&&window[e].prototype&&`insertRule`in window[e].prototype&&`deleteRule`in window[e].prototype)}for(var EN=function(){function e(e){R(this,`iframeIdToRemoteIdMap`,new WeakMap),R(this,`iframeRemoteIdToIdMap`,new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,n,r){var i=n||this.getIdToRemoteIdMap(e),a=r||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),a.set(o,t)),o},t.getIds=function(e,t){var n=this,r=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map(function(t){return n.getId(e,t,r,i)})},t.getRemoteId=function(e,t,n){var r=n||this.getRemoteIdToIdMap(e);return typeof t==`number`?r.get(t)||-1:t},t.getRemoteIds=function(e,t){var n=this,r=this.getRemoteIdToIdMap(e);return t.map(function(t){return n.getRemoteId(e,t,r)})},t.reset=function(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},t.getIdToRemoteIdMap=function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t},t.getRemoteIdToIdMap=function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t},e}(),DN=function(){function e(e){R(this,`iframes`,new WeakMap),R(this,`crossOriginIframeMap`,new WeakMap),R(this,`crossOriginIframeMirror`,new EN(BC)),R(this,`crossOriginIframeStyleMirror`),R(this,`crossOriginIframeRootIdMap`,new WeakMap),R(this,`mirror`),R(this,`mutationCb`),R(this,`wrappedEmit`),R(this,`loadListener`),R(this,`stylesheetManager`),R(this,`recordCrossOriginIframes`),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new EN(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener(`message`,this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var n,r;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((n=e.contentWindow)==null||n.addEventListener(`message`,this.handleMessage.bind(this))),(r=this.loadListener)==null||r.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},t.handleMessage=function(e){var t=e;if(t.data.type===`rrweb`&&t.origin===t.data.origin&&e.source){var n=this.crossOriginIframeMap.get(e.source);if(n){var r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var n=this,r;switch(t.type){case H.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var i=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,i),this.patchRootIdOnNode(t.data.node,i),{timestamp:t.timestamp,type:H.IncrementalSnapshot,data:{source:U.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case H.Meta:case H.Load:case H.DomContentLoaded:return!1;case H.Plugin:return t;case H.Custom:return this.replaceIds(t.data.payload,e,[`id`,`parentId`,`previousId`,`nextId`]),t;case H.IncrementalSnapshot:switch(t.data.source){case U.Mutation:return t.data.adds.forEach(function(t){n.replaceIds(t,e,[`parentId`,`nextId`,`previousId`]),n.replaceIdOnNode(t.node,e);var r=n.crossOriginIframeRootIdMap.get(e);r&&n.patchRootIdOnNode(t.node,r)}
66),t.data.removes.forEach(function(t){n.replaceIds(t,e,[`parentId`,`id`])}),t.data.attributes.forEach(function(t){n.replaceIds(t,e,[`id`])}),t.data.texts.forEach(function(t){n.replaceIds(t,e,[`id`])}),t;case U.Drag:case U.TouchMove:case U.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,[`id`])}),t;case U.ViewportResize:return!1;case U.MediaInteraction:case U.MouseInteraction:case U.Scroll:case U.CanvasMutation:case U.Input:return this.replaceIds(t.data,e,[`id`]),t;case U.StyleSheetRule:case U.StyleDeclaration:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleId`]),t;case U.Font:return t;case U.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,[`start`,`end`])}),t;case U.AdoptedStyleSheet:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleIds`]),(r=t.data.styles)==null||r.forEach(function(t){n.replaceStyleIds(t,e,[`styleId`])}),t}}return!1},t.replace=function(e,t,n,r){for(var i=L(r),a;!(a=i()).done;){var o=a.value;!Array.isArray(t[o])&&typeof t[o]!=`number`||(t[o]=Array.isArray(t[o])?e.getIds(n,t[o]):e.getId(n,t[o]))}return t},t.replaceIds=function(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)},t.replaceStyleIds=function(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)},t.replaceIdOnNode=function(e,t){var n=this;this.replaceIds(e,t,[`id`,`rootId`]),`childNodes`in e&&e.childNodes.forEach(function(e){n.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var n=this;e.type!==UM.Document&&!e.rootId&&(e.rootId=t),`childNodes`in e&&e.childNodes.forEach(function(e){n.patchRootIdOnNode(e,t)})},e}(),ON=function(){function e(e){R(this,`shadowDoms`,new WeakSet),R(this,`mutationCb`),R(this,`scrollCb`),R(this,`bypassOptions`),R(this,`mirror`),R(this,`restoreHandlers`,[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(e,t){var n=this;if(fC(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var r=aN(P({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return r.disconnect()}),this.restoreHandlers.push(cN(P({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&n.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,n.mirror.getId(V.host(e))),n.restoreHandlers.push(gN({mirror:n.mirror,stylesheetManager:n.bypassOptions.stylesheetManager},e))},0)}},t.observeAttachShadow=function(e){!e.contentWindow||!e.contentDocument||this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},t.patchAttachShadow=function(e,t){var n=this;this.restoreHandlers.push(mM(e.prototype,`attachShadow`,function(e){return function(r){var i=e.call(this,r),a=V.shadowRoot(this);return a&&RM(this)&&n.addShadowRoot(a,t),i}}))},t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),kN=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,AN=typeof Uint8Array>`u`?[]:new Uint8Array(256),jN=0;jN<kN.length;jN++)AN[kN.charCodeAt(jN)]=jN;var MN=function(e){var t=new Uint8Array(e),n,r=t.length,i=``;for(n=0;n<r;n+=3)i+=kN[t[n]>>2],i+=kN[(t[n]&3)<<4|t[n+1]>>4],i+=kN[(t[n+1]&15)<<2|t[n+2]>>6],i+=kN[t[n+2]&63];return r%3==2?i=i.substring(0,i.length-1)+`=`:r%3==1&&(i=i.substring(0,i.length-2)+`==`),i},NN=new Map;function PN(e,t){var n=NN.get(e);return n||(n=new Map,NN.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}var FN=function(e,t,n){if(!(!e||!(RN(e,t)||(e===void 0?`undefined`:I(e))===`object`))){var r=e.constructor.name,i=PN(n,r),a=i.indexOf(e);return a===-1&&(a=i.length,i.push(e)),a}};function IN(e,t,n){return F(e,Array)?e.map(function(e){return IN(e,t,n)}):e===null?e:F(e,Float32Array)||F(e,Float64Array)||F(e,Int32Array)||F(e,Uint32Array)||F(e,Uint8Array)||F(e,Uint16Array)||F(e,Int16Array)||F(e,Int8Array)||F(e,
66Uint8ClampedArray)?{rr_type:e.constructor.name,args:[Object.values(e)]}:F(e,ArrayBuffer)?{rr_type:e.constructor.name,base64:MN(e)}:F(e,DataView)?{rr_type:e.constructor.name,args:[IN(e.buffer,t,n),e.byteOffset,e.byteLength]}:F(e,HTMLImageElement)?{rr_type:e.constructor.name,src:e.src}:F(e,HTMLCanvasElement)?{rr_type:`HTMLImageElement`,src:e.toDataURL()}:F(e,ImageData)?{rr_type:e.constructor.name,args:[IN(e.data,t,n),e.width,e.height]}:RN(e,t)||(e===void 0?`undefined`:I(e))===`object`?{rr_type:e.constructor.name,index:FN(e,t,n)}:e}var LN=function(e,t,n){return e.map(function(e){return IN(e,t,n)})},RN=function(e,t){return!![`WebGLActiveInfo`,`WebGLBuffer`,`WebGLFramebuffer`,`WebGLProgram`,`WebGLRenderbuffer`,`WebGLShader`,`WebGLShaderPrecisionFormat`,`WebGLTexture`,`WebGLUniformLocation`,`WebGLVertexArrayObject`,`WebGLVertexArrayObjectOES`].filter(function(e){return typeof t[e]==`function`}).find(function(n){return F(e,t[n])})};function zN(e,t,n,r){for(var i=function(){var i=s.value;try{if(typeof t.CanvasRenderingContext2D.prototype[i]!=`function`)return`continue`;var o=mM(t.CanvasRenderingContext2D.prototype,i,function(a){return function(){var o=this,s=[...arguments];return TM(this.canvas,n,r,!0)||setTimeout(function(){var n=LN(s,t,o);e(o.canvas,{type:VM[`2D`],property:i,args:n})},0),a.apply(this,s)}});a.push(o)}catch{var c=yM(t.CanvasRenderingContext2D.prototype,i,{set:function(t){e(this.canvas,{type:VM[`2D`],property:i,args:[t],setter:!0})}});a.push(c)}},a=[],o=L(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype)),s;!(s=o()).done;)i();return function(){a.forEach(function(e){return e()})}}function BN(e){return e===`experimental-webgl`?`webgl`:e}function VN(e,t,n,r){var i=[];try{var a=mM(e.HTMLCanvasElement.prototype,`getContext`,function(e){return function(i){var a=[...arguments].slice(1);if(!TM(this,t,n,!0)){var o=BN(i);if(`__context`in this||(this.__context=o),r&&[`webgl`,`webgl2`].includes(o))if(a[0]&&I(a[0])===`object`){var s=a[0];s.preserveDrawingBuffer||=!0}else a.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[i].concat(a))}});i.push(a)}catch{console.error(`failed to patch HTMLCanvasElement.prototype.getContext`)}return function(){i.forEach(function(e){return e()})}}function HN(e,t,n,r,i,a){for(var o=function(){var o=l.value;if([`isContextLost`,`canvas`,`drawingBufferWidth`,`drawingBufferHeight`].includes(o))return`continue`;try{if(typeof e[o]!=`function`)return`continue`;var c=mM(e,o,function(e){return function(){var s=[...arguments],c=e.apply(this,s);if(FN(c,a,this),`tagName`in this.canvas&&!TM(this.canvas,r,i,!0)){var l={type:t,property:o,args:LN(s,a,this)};n(this.canvas,l)}return c}});s.push(c)}catch{var u=yM(e,o,{set:function(e){n(this.canvas,{type:t,property:o,args:[e],setter:!0})}});s.push(u)}},s=[],c=L(Object.getOwnPropertyNames(e)),l;!(l=c()).done;)o();return s}function UN(e,t,n,r){var i,a=[];if((i=a).push.apply(i,[].concat(HN(t.WebGLRenderingContext.prototype,VM.WebGL,e,n,r,t))),t.WebGL2RenderingContext!==void 0){var o;(o=a).push.apply(o,[].concat(HN(t.WebGL2RenderingContext.prototype,VM.WebGL2,e,n,r,t)))}return function(){a.forEach(function(e){return e()})}}var WN=`KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybi
66BiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=`,GN=typeof window<`u`&&window.Blob&&new Blob([function(e){return Uint8Array.from(atob(e),function(e){return e.charCodeAt(0)})}(WN)],{type:`text/javascript;charset=utf-8`});function KN(e){var t;try{if(t=GN&&(window.URL||window.webkitURL).createObjectURL(GN),!t)throw``;var n=new Worker(t,{name:e?.name});return n.addEventListener(`error`,function(){(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch{return new Worker(`data:text/javascript;base64,`+WN,{name:e?.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var qN=function(){function e(e){var t=this;R(this,`pendingCanvasMutations`,new Map),R(this,`rafStamps`,{latestId:0,invokeId:null}),R(this,`mirror`),R(this,`mutationCb`),R(this,`resetObservers`),R(this,`frozen`,!1),R(this,`locked`,!1),R(this,`processMutation`,function(e,n){(t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId||!t.rafStamps.invokeId)&&(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(e)||t.pendingCanvasMutations.set(e,[]),t.pendingCanvasMutations.get(e).push(n)});var n=e.sampling,r=n===void 0?`all`:n,i=e.win,a=e.blockClass,o=e.blockSelector,s=e.recordCanvas,c=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,s&&r===`all`&&this.initCanvasMutationObserver(i,a,o),s&&typeof r==`number`&&this.initCanvasFPSObserver(r,i,a,o,{dataURLOptions:c})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(e,t,n,r,i){var a=this,o=VN(t,n,r,!0),s=new Map,c=new KN;c.onmessage=function(e){var t=e.data.id;if(s.set(t,!1),`base64`in e.data){var n=e.data,r=n.base64,i=n.type,o=n.width,c=n.height;a.mutationCb({id:t,type:VM[`2D`],commands:[{property:`clearRect`,args:[0,0,o,c]},{property:`drawImage`,args:[{rr_type:`ImageBitmap`,args:[{rr_type:`Blob`,data:[{rr_type:`ArrayBuffer`,base64:r}],type:i}]},0,0]}]})}};var l=1e3/e,u=0,d,f=function(){var e=[];return t.document.querySelectorAll(`canvas`).forEach(function(t){TM(t,n,r,!0)||e.push(t)}),e},p=function(e){if(u&&e-u<l){d=requestAnimationFrame(p);return}u=e;var t=a;
66f().forEach(xS(function(e){var n,r,a;return NS(this,function(o){switch(o.label){case 0:return n=t.mirror.getId(e),s.get(n)||e.width===0||e.height===0?[2]:(s.set(n,!0),[`webgl`,`webgl2`].includes(e.__context)&&(r=e.getContext(e.__context),r?.getContextAttributes()?.preserveDrawingBuffer===!1&&r.clear(r.COLOR_BUFFER_BIT)),[4,createImageBitmap(e)]);case 1:return a=o.sent(),c.postMessage({id:n,bitmap:a,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[a]),[2]}})})),d=requestAnimationFrame(p)};d=requestAnimationFrame(p),this.resetObservers=function(){o(),cancelAnimationFrame(d)}},t.initCanvasMutationObserver=function(e,t,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var r=VN(e,t,n,!1),i=zN(this.processMutation.bind(this),e,t,n),a=UN(this.processMutation.bind(this),e,t,n);this.resetObservers=function(){r(),i(),a()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var e=this,t=function(n){e.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,n){var r=e.mirror.getId(n);e.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(e,t){if(!(this.frozen||this.locked)){var n=this.pendingCanvasMutations.get(e);if(!(!n||t===-1)){var r=n.map(function(e){return e.type,OS(e,[`type`])}),i=n[0].type;this.mutationCb({id:t,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}},e}(),JN=function(){function e(e){R(this,`trackedLinkElements`,new WeakSet),R(this,`mutationCb`),R(this,`adoptedStyleSheetCb`),R(this,`styleMirror`,new PM),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(e,t){`_cssText`in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)},t.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},t.adoptStyleSheets=function(e,t){var n,r=function(){var e=s.value,t=void 0;n.styleMirror.has(e)?t=n.styleMirror.getId(e):(t=n.styleMirror.add(e),a.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,n){return{rule:gC(t,e.href),index:n}})})),i.styleIds.push(t)};if(e.length!==0){for(var i={id:t,styleIds:[]},a=[],o=L(e),s;!(s=o()).done;)n=this,r();a.length>0&&(i.styles=a),this.adoptedStyleSheetCb(i)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.trackStylesheetInLinkElement=function(e){},e}(),YN=function(){function e(){R(this,`nodeMap`,new WeakMap),R(this,`active`,!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var n=this.nodeMap.get(e);return n&&Array.from(n).some(function(e){return e!==t})},t.add=function(e,t){var n=this;this.active||(this.active=!0,requestAnimationFrame(function(){n.nodeMap=new WeakMap,n.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}(),XN,ZN,QN,$N=!1;try{if(Array.from([1],function(e){return e*2})[0]!==2){var eP=document.createElement(`iframe`);document.body.appendChild(eP),Array.from=eP.contentWindow?.Array.from||Array.from,document.body.removeChild(eP)}}catch(e){console.debug(`Unable to override Array.from`,e)}var tP=xC();function nP(e){e===void 0&&(e={});var t=e.emit,n=e.checkoutEveryNms,r=e.checkoutEveryNth,i=e.blockClass,a=i===void 0?`rr-block`:i,o=e.blockSelector,s=o===void 0?null:o,c=e.ignoreClass,l=c===void 0?`rr-ignore`:c,u=e.ignoreSelector,d=u===void 0?null:u,f=e.maskTextClass,p=f===void 0?`rr-mask`:f,m=e.maskTextSelector,h=m===void 0?null:m,g=e.inlineStylesheet,_=g===void 0||g,v=e.maskAllInputs,y=e.maskInputOptions,b=e.slimDOMOptions,x=e.maskInputFn,S=e.maskTextFn,ee=e.hooks,te=e.packFn,ne=e.sampling,re=ne===void 0?{}:ne,ie=e.dataURLOptions,ae=ie===void 0?{}:ie,oe=e.mousemoveWait,C=e.recordDOM,se=C===void 0||C,ce=e.recordCanvas,le=ce!==void 0&&ce,ue=e.recordCrossOriginIframes,de=ue!==void 0&&ue,fe=e.recordAfter,pe=fe===void 0?e.re
66cordAfter===`DOMContentLoaded`?e.recordAfter:`load`:fe,me=e.userTriggeredOnInput,he=me!==void 0&&me,ge=e.collectFonts,w=ge!==void 0&&ge,_e=e.inlineImages,ve=_e!==void 0&&_e,ye=e.plugins,be=e.keepIframeSrcFn,xe=be===void 0?function(){return!1}:be,Se=e.ignoreCSSAttributes,Ce=Se===void 0?new Set([]):Se,we=e.errorHandler;tN(we);var Te=!de||window.parent===window,Ee=!1;if(!Te)try{window.parent.document&&(Ee=!1)}catch{Ee=!0}if(Te&&!t)throw Error(`emit function is required`);if(!Te&&!Ee)return function(){};oe!==void 0&&re.mousemove===void 0&&(re.mousemove=oe),tP.reset();var De=v===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:y===void 0?{password:!0}:y,Oe=b===!0||b===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:b===`all`,headMetaDescKeywords:b===`all`,headTitleMutations:b===`all`}:b||{};AM();var ke,Ae=0,je=function(e){for(var t=L(ye||[]),n;!(n=t()).done;){var r=n.value;r.eventProcessor&&(e=r.eventProcessor(e))}return te&&!Ee&&(e=te(e)),e};XN=function(e,i){var a=e;if(a.timestamp=bM(),rN[0]?.isFrozen()&&a.type!==H.FullSnapshot&&(a.type!==H.IncrementalSnapshot||a.data.source!==U.Mutation)&&rN.forEach(function(e){return e.unfreeze()}),Te)t?.(je(a),i);else if(Ee){var o={type:`rrweb`,event:je(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(o,`*`)}if(a.type===H.FullSnapshot)ke=a,Ae=0;else if(a.type===H.IncrementalSnapshot){if(a.data.source===U.Mutation&&a.data.isAttachIframe)return;Ae++;var s=r&&Ae>=r,c=n&&a.timestamp-ke.timestamp>n;(s||c)&&ZN(!0)}};for(var Me=function(e){XN({type:H.IncrementalSnapshot,data:P({source:U.Mutation},e)})},Ne=function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.Scroll},e)})},Pe=function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.CanvasMutation},e)})},Fe=new JN({mutationCb:Me,adoptedStyleSheetCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.AdoptedStyleSheet},e)})}}),Ie=new DN({mirror:tP,mutationCb:Me,stylesheetManager:Fe,recordCrossOriginIframes:de,wrappedEmit:XN}),Le=L(ye||[]),Re;!(Re=Le()).done;){var ze=Re.value;ze.getMirror&&ze.getMirror({nodeMirror:tP,crossOriginIframeMirror:Ie.crossOriginIframeMirror,crossOriginIframeStyleMirror:Ie.crossOriginIframeStyleMirror})}var Be=new YN;QN=new qN({recordCanvas:le,mutationCb:Pe,win:window,blockClass:a,blockSelector:s,mirror:tP,sampling:re.canvas,dataURLOptions:ae});var Ve=new ON({mutationCb:Me,scrollCb:Ne,bypassOptions:{blockClass:a,blockSelector:s,maskTextClass:p,maskTextSelector:h,inlineStylesheet:_,maskInputOptions:De,dataURLOptions:ae,maskTextFn:S,maskInputFn:x,recordCanvas:le,inlineImages:ve,sampling:re,slimDOMOptions:Oe,iframeManager:Ie,stylesheetManager:Fe,canvasManager:QN,keepIframeSrcFn:xe,processedNodeManager:Be},mirror:tP});ZN=function(e){if(e===void 0&&(e=!1),se){XN({type:H.Meta,data:{href:window.location.href,width:CM(),height:SM()}},e),Fe.reset(),Ve.init(),rN.forEach(function(e){return e.lock()});var t=dw(document,{mirror:tP,blockClass:a,blockSelector:s,maskTextClass:p,maskTextSelector:h,inlineStylesheet:_,maskAllInputs:De,maskTextFn:S,maskInputFn:x,slimDOM:Oe,dataURLOptions:ae,recordCanvas:le,inlineImages:ve,onSerialize:function(e){jM(e,tP)&&Ie.addIframe(e),MM(e,tP)&&Fe.trackLinkElement(e),NM(e)&&Ve.addShadowRoot(V.shadowRoot(e),document)},onIframeLoad:function(e,t){Ie.attachIframe(e,t),Ve.observeAttachShadow(e)},onStylesheetLoad:function(e,t){Fe.attachLinkElement(e,t)},keepIframeSrcFn:xe});if(!t)return console.warn(`Failed to snapshot the document`);XN({type:H.FullSnapshot,data:{node:t,initialOffset:xM(window)}},e),rN.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Fe.adoptStyleSheets(document.adoptedStyleSheets,tP.getId(document))}};try{var He=[],Ue=function(e){return W(CN)({mutationCb:Me,mousemoveCb:function(e,t){return XN({type:H.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.MouseInteraction},e)})},scrollCb:Ne,viewportResizeCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.ViewportResize},e)})},inputCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.Input},e)})},mediaInteractionCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.MediaInteraction},e)})},styleSheetRuleCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.StyleSheetRule},e)})},styleDeclarationCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.StyleDeclaration},e)})},canvasMutationCb:Pe,fontCb:function(e){return XN({type:H.IncrementalSnapshot,data:P({source:U.Font},e)})},selectionCb:function(e){XN({type:H.IncrementalSnapshot,data:P({source:U.Selection},e)})},customElementCb:function(e){XN({type:H.IncrementalSnapshot,data:P({source:U.CustomElement},e)})},blockClass:a,ignoreClass:l,ignoreSelector:d,maskTextClass:p,maskTextSelector:h,maskInputOptions:De,inlineStylesheet:_,sampling:re,recordDOM:se,recordCanvas:le,inlineImages:ve,userTriggeredOnInput:he,collectFonts:w,doc:e,maskInputFn:x,maskTextFn:S,keepIframeSrcFn:xe,blockSelector:s,slimDOMOptions:Oe,dataURLOptions:ae,mirror:tP,iframeManager:Ie,stylesheetManager:Fe,shadowDomManager:Ve,processedNodeManager:Be,canvasManager:QN,ignoreCSSAttributes:Ce,plugins:(ye?.filter(function(e){return e.observer}))?.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return XN({type:H.Plugin,data:{plugin:e.name,payload:t}}
66)}}})||[]},ee)};Ie.addLoadListener(function(e){try{He.push(Ue(e.contentDocument))}catch(e){console.warn(e)}});var We=function(){ZN(),He.push(Ue(document)),$N=!0};return document.readyState===`interactive`||document.readyState===`complete`?We():(He.push(hM(`DOMContentLoaded`,function(){XN({type:H.DomContentLoaded,data:{}}),pe===`DOMContentLoaded`&&We()})),He.push(hM(`load`,function(){XN({type:H.Load,data:{}}),pe===`load`&&We()},window))),function(){He.forEach(function(e){try{e()}catch(e){String(e).toLowerCase().includes(`cross-origin`)||console.warn(e)}}),Be.destroy(),$N=!1,nN()}}catch(e){console.warn(e)}}nP.addCustomEvent=function(e,t){if(!$N)throw Error(`please add custom event after start recording`);XN({type:H.Custom,data:{tag:e,payload:t}})},nP.freezePage=function(){rN.forEach(function(e){return e.freeze()})},nP.takeFullSnapshot=function(e){if(!$N)throw Error(`please take full snapshot after start recording`);ZN(e)},nP.mirror=tP;var rP;(function(e){e[e.NotStarted=0]=`NotStarted`,e[e.Running=1]=`Running`,e[e.Stopped=2]=`Stopped`})(rP||={}),nP.addCustomEvent,nP.freezePage,nP.takeFullSnapshot;var iP=Object.defineProperty,aP=function(e,t,n){return t in e?iP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},oP=function(e,t,n){return aP(e,(t===void 0?`undefined`:I(t))===`symbol`?t:t+``,n)};function sP(e,t,n){try{if(!(t in e))return function(){};var r=e[t],i=n(r);return typeof i==`function`&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,function(){e[t]=r}}catch{return function(){}}}var cP=function(){function e(e){oP(this,`fileName`),oP(this,`functionName`),oP(this,`lineNumber`),oP(this,`columnNumber`),this.fileName=e.fileName||``,this.functionName=e.functionName||``,this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber}var t=e.prototype;return t.toString=function(){var e=this.lineNumber||``,t=this.columnNumber||``;return this.functionName?this.functionName+` (`+this.fileName+`:`+e+`:`+t+`)`:this.fileName+`:`+e+`:`+t},e}(),lP=/(^|@)\S+:\d+/,uP=/^\s*at .*(\S+:\d+|\(native\))/m,dP=/^(eval@)?(\[native code])?$/,fP={parse:function(e){return e?e.stacktrace!==void 0||e[`opera#sourceloc`]!==void 0?this.parseOpera(e):e.stack&&e.stack.match(uP)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):(console.warn(`[console-record-plugin]: Failed to parse error object:`,e),[]):[]},extractLocation:function(e){if(e.indexOf(`:`)===-1)return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,``));if(!t)throw Error(`Cannot parse given url: `+e);return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(e){return e.stack.split(`
67`).filter(function(e){return!!e.match(uP)},this).map(function(e){e.indexOf(`(eval `)>-1&&(e=e.replace(/eval code/g,`eval`).replace(/(\(eval at [^()]*)|(\),.*$)/g,``));var t=e.replace(/^\s+/,``).replace(/\(eval code/g,`(`),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/);t=n?t.replace(n[0],``):t;var r=t.split(/\s+/).slice(1),i=this.extractLocation(n?n[1]:r.pop());return new cP({functionName:r.join(` `)||void 0,fileName:[`eval`,`<anonymous>`].indexOf(i[0])>-1?void 0:i[0],lineNumber:i[1],columnNumber:i[2]})},this)},parseFFOrSafari:function(e){return e.stack.split(`
68`).filter(function(e){return!e.match(dP)},this).map(function(e){if(e.indexOf(` > eval`)>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,`:$1`)),e.indexOf(`@`)===-1&&e.indexOf(`:`)===-1)return new cP({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=e.match(t),r=n&&n[1]?n[1]:void 0,i=this.extractLocation(e.replace(t,``));return new cP({functionName:r,fileName:i[0],lineNumber:i[1],columnNumber:i[2]})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf(`
69`)>-1&&e.message.split(`
70`).length>e.stacktrace.split(`
71`).length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=e.message.split(`
72`),r=[],i=2,a=n.length;i<a;i+=2){var o=t.exec(n[i]);o&&r.push(new cP({fileName:o[2],lineNumber:parseFloat(o[1])}))}return r},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=e.stacktrace.split(`
73`),r=[],i=0,a=n.length;i<a;i+=2){var o=t.exec(n[i]);o&&r.push(new cP({functionName:o[3]||void 0,fileName:o[2],lineNumber:parseFloat(o[1])}))}return r},parseOpera11:function(e){return e.stack.split(`
74`).filter(function(e){return!!e.match(lP)&&!e.match(/^Error created at/)},this).map(function(e){var t=e.split(`@`),n=this.extractLocation(t.pop());return new cP({functionName:(t.shift()||``).replace(/<anonymous function(: (\w+))?>/,`$2`).replace(/\([^)]*\)/g,``)||void 0,fileName:n[0],lineNumber:n[1],columnNumber:n[2]})},this)}};function pP(e){if(!e||!e.outerHTML)return``;for(var t=``;e.parentElement;){var n=e.localName;if(!n)break;n=n.toLowerCase();var r=e.parentElement,i=[];if(r.children&&r.children.length>0)for(var a=0;a<r.children.length;a++){var o=r.children[a];o.localName&&o.localName.toLowerCase&&o.localName.toLowerCase()===n&&i.push(o)}i.length>1&&(n+=`:eq(`+i.indexOf(e)+`)`),t=n+(t?`>`+t:``),e=r}return t}function mP(e){return Object.prototype.toString.call(e)===`[object Object]`}function hP(e,t){if(t===0)return!0;for(var n=L(Object.keys(e)),r;!(r=n()).done;){var i=r.value;if(mP(e[i])&&hP(e[i],t-1))return!0}return!1}function gP(e,t){var n={numOfKeysLimit:50,depthOfLimit:4};Object.assign(n,t);var r=[],i=[];return JSON.stringify(e,function(e,t){if(r.length>0){var n=r.indexOf(this);
74~n?r.splice(n+1):r.push(this),~n?i.splice(n,1/0,e):i.push(e),~r.indexOf(t)&&(t=r[0]===t?`[Circular ~]`:`[Circular ~.`+i.slice(0,r.indexOf(t)).join(`.`)+`]`)}else r.push(t);if(t===null)return t;if(t===void 0)return`undefined`;if(a(t))return o(t);if((t===void 0?`undefined`:I(t))===`bigint`)return t.toString()+`n`;if(F(t,Event)){var s={};for(var c in t){var l=t[c];s[c]=Array.isArray(l)?pP(l.length?l[0]:null):l}return s}return F(t,Node)?F(t,HTMLElement)?t?t.outerHTML:``:t.nodeName:F(t,Error)?t.stack?t.stack+`
75End of stack for Error object`:t.name+`: `+t.message:t});function a(e){return!!(mP(e)&&Object.keys(e).length>n.numOfKeysLimit||typeof e==`function`||mP(e)&&hP(e,n.depthOfLimit))}function o(e){var t=e.toString();return n.stringLengthLimit&&t.length>n.stringLengthLimit&&(t=``+t.slice(0,n.stringLengthLimit)+`...`),t}}var _P={level:[`assert`,`clear`,`count`,`countReset`,`debug`,`dir`,`dirxml`,`error`,`group`,`groupCollapsed`,`groupEnd`,`info`,`log`,`table`,`time`,`timeEnd`,`timeLog`,`trace`,`warn`],lengthThreshold:1e3,logger:`console`};function vP(e,t,n){var r=n?Object.assign({},_P,n):_P,i=r.logger;if(!i)return function(){};var a=typeof i==`string`?t[i]:i,o=0,s=!1,c=[];if(r.level.includes(`error`)){var l=function(t){var n=t.message,i=t.error;e({level:`error`,trace:fP.parse(i).map(function(e){return e.toString()}),payload:[gP(n,r.stringifyOptions)]})};t.addEventListener(`error`,l),c.push(function(){t.removeEventListener(`error`,l)});var u=function(t){var n,i;F(t.reason,Error)?(n=t.reason,i=[gP(`Uncaught (in promise) `+n.name+`: `+n.message,r.stringifyOptions)]):(n=Error(),i=[gP(`Uncaught (in promise)`,r.stringifyOptions),gP(t.reason,r.stringifyOptions)]),e({level:`error`,trace:fP.parse(n).map(function(e){return e.toString()}),payload:i})};t.addEventListener(`unhandledrejection`,u),c.push(function(){t.removeEventListener(`unhandledrejection`,u)})}for(var d=L(r.level),f;!(f=d()).done;){var p=f.value;c.push(m(a,p))}return function(){c.forEach(function(e){return e()})};function m(t,n){var i=this;return t[n]?sP(t,n,function(t){var a=i;return function(){var i=[...arguments];if(t.apply(a,i),!(n===`assert`&&i[0])&&!s){s=!0;try{var c=fP.parse(Error()).map(function(e){return e.toString()}).splice(1),l=(n===`assert`?i.slice(1):i).map(function(e){return gP(e,r.stringifyOptions)});o++,o<r.lengthThreshold?e({level:n,trace:c,payload:l}):o===r.lengthThreshold&&e({level:`warn`,trace:[],payload:[gP(`The number of log records reached the threshold.`)]})}catch(e){t.apply(void 0,[`rrweb logger error:`,e].concat(i))}finally{s=!1}}}}):function(){}}}var yP=`rrweb/console@1`,bP=function(e){return{name:yP,observer:vP,options:e}},xP=N.setImmediate,SP,CP,wP,TP=Object.prototype.toString,EP=xP===void 0?setTimeout:function(e){return xP(e)};try{Object.defineProperty({},"x",{}),SP=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:r!==!1})}}catch{SP=function(e,t,n){return e[t]=n,e}}wP=(function(){var e,t,n;function r(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(i,a){n=new r(i,a),t?t.next=n:e=n,t=n,n=void 0},drain:function(){var n=e;for(e=t=CP=void 0;n;)n.fn.call(n.self),n=n.next}}})();function DP(e,t){wP.add(e,t),CP||=EP(wP.drain)}function OP(e){var t,n=typeof e;return e!==null&&(n===`object`||n===`function`)&&(t=e.then),typeof t==`function`&&t}function kP(){for(var e=0;e<this.chain.length;e++)AP(this,this.state===1?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function AP(e,t,n){var r,i;try{t===!1?n.reject(e.msg):(r=t===!0?e.msg:t.call(void 0,e.msg),r===n.promise?n.reject(TypeError(`Promise-chain cycle`)):(i=OP(r))?i.call(r,n.resolve,n.reject):n.resolve(r))}catch(e){n.reject(e)}}function jP(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=OP(e))?DP(function(){var r=new PP(n);try{t.call(e,function(){jP.apply(r,arguments)},function(){MP.apply(r,arguments)})}catch(e){MP.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&DP(kP,n))}catch(e){MP.call(new PP(n),e)}}}function MP(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&DP(kP,t))}function NP(e,t,n,r){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)})(i)}function PP(e){this.def=e,this.triggered=!1}function FP(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function IP(e){if(typeof e!=`function`)throw TypeError(`Not a function`);if(this.__NPO__!==0)throw TypeError(`Not a promise`);this.__NPO__=1;var t=new FP(this);this.then=function(e,n){var r={success:typeof e!=`function`||e,failure:typeof n==`function`&&n};return r.promise=new this.constructor(function(e,t){if(typeof e!=`function`||typeof t!=`function`)throw TypeError(`Not a function`);r.resolve=e,r.reject=t}),t.chain.push(r),t.state!==0&&DP(kP,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){jP.call(t,e)},function(e){MP.call(t,e)})}catch(e){MP.call(t,e)}}var LP=SP({}
vendor: 7,541 bytes, lines 75-79
75,`constructor`,IP,!1);IP.prototype=LP,SP(LP,`__NPO__`,0,!1),SP(IP,`resolve`,function(e){var t=this;return e&&typeof e==`object`&&e.__NPO__===1?e:new t(function(t,n){if(typeof t!=`function`||typeof n!=`function`)throw TypeError(`Not a function`);t(e)})}),SP(IP,`reject`,function(e){return new this(function(t,n){if(typeof t!=`function`||typeof n!=`function`)throw TypeError(`Not a function`);n(e)})}),SP(IP,`all`,function(e){var t=this;return TP.call(e)===`[object Array]`?e.length===0?t.resolve([]):new t(function(n,r){if(typeof n!=`function`||typeof r!=`function`)throw TypeError(`Not a function`);var i=e.length,a=Array(i),o=0;NP(t,e,function(e,t){a[e]=t,++o===i&&n(a)},r)}):t.reject(TypeError(`Not an array`))}),SP(IP,`race`,function(e){var t=this;return TP.call(e)===`[object Array]`?new t(function(n,r){if(typeof n!=`function`||typeof r!=`function`)throw TypeError(`Not a function`);NP(t,e,function(e,t){n(t)},r)}):t.reject(TypeError(`Not an array`))});var G=typeof Promise<`u`&&Promise.toString().indexOf(`[native code]`)!==-1?Promise:IP,RP={DEBUG:!1,LIB_VERSION:`2.73.0`},zP=864e5,BP=8e3,VP=Array.prototype,HP=Function.prototype,UP=Object.prototype,WP=VP.slice,GP=UP.toString,KP=UP.hasOwnProperty,qP=N.console,JP=N.navigator,K=N.document,YP=N.opera,XP=N.screen,ZP=JP.userAgent,QP=HP.bind,$P=VP.forEach,eF=VP.indexOf,tF=VP.map,nF=Array.isArray,rF={},q={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``)}},J={log:function(){if(RP.DEBUG&&!q.isUndefined(qP)&&qP)try{qP.log.apply(qP,arguments)}catch{q.each(arguments,function(e){qP.log(e)})}},warn:function(){if(RP.DEBUG&&!q.isUndefined(qP)&&qP){var e=[`Mixpanel warning:`].concat(q.toArray(arguments));try{qP.warn.apply(qP,e)}catch{q.each(e,function(e){qP.warn(e)})}}},error:function(){if(RP.DEBUG&&!q.isUndefined(qP)&&qP){var e=[`Mixpanel error:`].concat(q.toArray(arguments));try{qP.error.apply(qP,e)}catch{q.each(e,function(e){qP.error(e)})}}},critical:function(){if(!q.isUndefined(qP)&&qP){var e=[`Mixpanel error:`].concat(q.toArray(arguments));try{qP.error.apply(qP,e)}catch{q.each(e,function(e){qP.error(e)})}}}},iF=function(e,t){return function(){return arguments[0]=`[`+t+`] `+arguments[0],e.apply(J,arguments)}},aF=function(e){return{log:iF(J.log,e),error:iF(J.error,e),critical:iF(J.critical,e)}},oF=function(e){return function(){try{return e.apply(this,arguments)}catch(e){J.critical(`Implementation error. Please turn on debug and contact [email protected].`),RP.DEBUG&&J.critical(e)}}},sF=function(e){var t=e.prototype;for(var n in t)typeof t[n]==`function`&&(t[n]=oF(t[n]))};q.bind=function(e,t){var n,r;if(QP&&e.bind===QP)return QP.apply(e,WP.call(arguments,1));if(!q.isFunction(e))throw TypeError();return n=WP.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(WP.call(arguments)));var i={};i.prototype=e.prototype;var a=new i;i.prototype=null;var o=e.apply(a,n.concat(WP.call(arguments)));return Object(o)===o?o:a},r},q.each=function(e,t,n){if(e!=null){if($P&&e.forEach===$P)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===rF)return}else for(var a in e)if(KP.call(e,a)&&t.call(n,e[a],a,e)===rF)return}},q.extend=function(e){return q.each(WP.call(arguments,1),function(t){for(var n in t)t[n]!==void 0&&(e[n]=t[n])}),e},q.isArray=nF||function(e){return GP.call(e)===`[object Array]`},q.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch{return!1}},q.isArguments=function(e){return!!(e&&KP.call(e,`callee`))},q.toArray=function(e){return e?e.toArray?e.toArray():q.isArray(e)||q.isArguments(e)?WP.call(e):q.values(e):[]},q.map=function(e,t,n){if(tF&&e.map===tF)return e.map(t,n);var r=[];return q.each(e,function(e){r.push(t.call(n,e))}),r},q.keys=function(e){var t=[];return e===null||q.each(e,function(e,n){t[t.length]=n}),t},q.values=function(e){var t=[];return e===null||q.each(e,function(e){t[t.length]=e}),t},q.include=function(e,t){var n=!1;return e===null?n:eF&&e.indexOf===eF?e.indexOf(t)!=-1:(q.each(e,function(e){if(n||=e===t)return rF}),n)},q.includes=function(e,t){return e.indexOf(t)!==-1},q.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},q.isObject=function(e){return e===Object(e)&&!q.isArray(e)},q.isEmptyObject=function(e){if(q.isObject(e)){for(var t in e)if(KP.call(e,t))return!1;return!0}return!1},q.isUndefined=function(e){return e===void 0},q.isString=function(e){return GP.call(e)==`[object String]`},q.isDate=function(e){return GP.call(e)==`[object Date]`},q.isNumber=function(e){return GP.call(e)==`[object Number]`},q.isElement=function(e){return!!(e&&e.nodeType===1)},q.encodeDates=function(e){return q.each(e,function(t,n){q.isDate(t)?e[n]=q.formatDate(t):q.isObject(t)&&(e[n]=q.encodeDates(t))}),e},q.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},q.formatDate=function(e){function t(e){return e<10?`0`+e:e}return e.getUTCFullYear()+`-`+t(e.getUTCMonth()+1)+`-`+t(e.getUTCDate())+`T`+t(e.getUTCHours())+`:`+t(e.getUTCMinutes())+`:`+t(e.getUTCSeconds())},q.strip_empty_properties=function(e){var t={};return q.each(e,function(e,n){q.isString(e)&&e.length>0&&(t[n]=e)}),t},q.truncate=function(e,t){var n;return typeof e==`string`?n=e.slice(0,t):q.isArray(e)?(n=[],q.each(e,function(e){n.push(q.truncate(e,t))})):q.isObject(e)?(n={},q.each(e,function(e,r){n[r]=q.truncate(e,t)})):n=e,n},q.JSONEncode=(function(){return function(e){var t=e,n=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":`\\b`,"	":`\\t`,"\n":`\\n`,"\f":`\\f`,"\r":`\\r`,'"':`\\"`,"\\":`\\\\`};return t.lastIndex=0,t.test(e)?`"`+e.replace(t,function(e){var t=n[e];return typeof t==`string`?t:`\\u`+(`0000`+e.charCodeAt(0).toString(16)).slice(-4)})+`"`:`"`+e+`"`},r=function(e,t){var i=``,a=`    `,o=0,s=``,c=``,l=0,u=i,d=[],f=t[e];switch(f&&typeof f==`object`&&typeof f.toJSON==`function`&&(f=f.toJSON(e)),typeof f){case`string`:return n(f);case`number`:return isFinite(f)?String(f):`null`;case`boolean`:case`null`:return String(f);case`object`:if(!f)return`null`;if(i+=a,d=[],GP.apply(f)===`[object Array]`){for(l=f.length,o=0;o<l;o+=1)d[o]=r(o,f)||`null`;return c=d.length===0?`[]`:i?`[
76`+i+d.join(`,
77`+i)+`
78`+u+`]`:`[`+d.join(`,`)+`]`,i=u,c}for(s in f)KP.call(f,s)&&(c=r(s,f),c&&d.push(n(s)+(i?`: `:`:`)+c));return c=d.length===0?`{}`:i?`{`+d.join(`,`)+u+`}`:`{`+d.join(`,`)+`}`,i=u,c}};return r(``,{"":t})}})(),q.JSONDecode=(function(){var e,t,n={'"':`"`,"\\":`\\`,"/":`/`,b:`\b`,f:`\f`,n:`
79`,r:`\r`,t:`	`},r,i=function(t){var n=SyntaxError(t);throw n.at=e,n.text=r,n},a=function(n){return n&&n!==t&&i(`Expected '`+n+`' instead of '`+t+`'`),t=r.charAt(e),e+=1,t},o=function(){var e,n=``;for(t===`-`&&(n=`-`,a(`-`));t>=`0`&&t<=`9`;)n+=t,a();if(t===`.`)for(n+=`.`;a()&&t>=`0`&&t<=`9`;)n+=t;if(t===`e`||t===`E`)for(n+=t,a(),(t===`-`||t===`+`)&&(n+=t,a());t>=`0`&&t<=`9`;)n+=t,a();if(e=+n,!isFinite(e))i(`Bad number`);else return e},s=function(){var e,r,o=``,s;if(t===`"`)for(;a();){if(t===`"`)return a(),o;if(t===`\\`)if(a(),t===`u`){for(s=0,r=0;r<4&&(e=parseInt(a(),16),isFinite(e));r+=1)s=s*16+e;o+=String.fromCharCode(s)}else if(typeof n[t]==`string`)o+=n[t];else break;else o+=t}i(`Bad string`)},c=function(){for(;t&&t<=` `;)a()},l=function(){switch(t){case`t`:return a(`t`),a(`r`),a(`u`),a(`e`),!0;case`f`:return a(`f`),a(`a`),a(`l`),a(`s`),a(`e`),!1;case`n`:return a(`n`),a(`u`),a(`l`),a(`l`),null}i(`Unexpected "`+t+`"`)},u,d=function(){var e=[];
vendor: 4,243 bytes, lines 79-81
79if(t===`[`){if(a(`[`),c(),t===`]`)return a(`]`),e;for(;t;){if(e.push(u()),c(),t===`]`)return a(`]`),e;a(`,`),c()}}i(`Bad array`)},f=function(){var e,n={};if(t===`{`){if(a(`{`),c(),t===`}`)return a(`}`),n;for(;t;){if(e=s(),c(),a(`:`),Object.hasOwnProperty.call(n,e)&&i(`Duplicate key "`+e+`"`),n[e]=u(),c(),t===`}`)return a(`}`),n;a(`,`),c()}}i(`Bad object`)};return u=function(){switch(c(),t){case`{`:return f();case`[`:return d();case`"`:return s();case`-`:return o();default:return t>=`0`&&t<=`9`?o():l()}},function(n){var a;return r=n,e=0,t=` `,a=u(),c(),t&&i(`Syntax error`),a}})(),q.base64Encode=function(e){var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`,n,r,i,a,o,s,c,l,u=0,d=0,f=``,p=[];if(!e)return e;e=q.utf8Encode(e);do n=e.charCodeAt(u++),r=e.charCodeAt(u++),i=e.charCodeAt(u++),l=n<<16|r<<8|i,a=l>>18&63,o=l>>12&63,s=l>>6&63,c=l&63,p[d++]=t.charAt(a)+t.charAt(o)+t.charAt(s)+t.charAt(c);while(u<e.length);switch(f=p.join(``),e.length%3){case 1:f=f.slice(0,-2)+`==`;break;case 2:f=f.slice(0,-1)+`=`}return f},q.utf8Encode=function(e){e=(e+``).replace(/\r\n/g,`
80`).replace(/\r/g,`
81`);var t=``,n,r,i=0,a;for(n=r=0,i=e.length,a=0;a<i;a++){var o=e.charCodeAt(a),s=null;o<128?r++:s=o>127&&o<2048?String.fromCharCode(o>>6|192,o&63|128):String.fromCharCode(o>>12|224,o>>6&63|128,o&63|128),s!==null&&(r>n&&(t+=e.substring(n,r)),t+=s,n=r=a+1)}return r>n&&(t+=e.substring(n,e.length)),t},q.UUID=function(){try{return N.crypto.randomUUID()}catch{for(var e=Array(36),t=0;t<36;t++)e[t]=Math.floor(Math.random()*16);return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]=`-`,q.map(e,function(e){return e.toString(16)}).join(``)}};var cF=[`ahrefsbot`,`ahrefssiteaudit`,`amazonbot`,`baiduspider`,`bingbot`,`bingpreview`,`chrome-lighthouse`,`facebookexternal`,`petalbot`,`pinterest`,`screaming frog`,`yahoo! slurp`,`yandex`,`adsbot-google`,`apis-google`,`duplexweb-google`,`feedfetcher-google`,`google favicon`,`google web preview`,`google-read-aloud`,`googlebot`,`googleweblight`,`mediapartners-google`,`storebot-google`];q.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<cF.length;t++)if(e.indexOf(cF[t])!==-1)return!0;return!1},q.HTTPBuildQuery=function(e,t){var n,r,i=[];return q.isUndefined(t)&&(t=`&`),q.each(e,function(e,t){n=encodeURIComponent(e.toString()),r=encodeURIComponent(t),i[i.length]=r+`=`+n}),i.join(t)},q.getQueryParam=function(e,t){t=t.replace(/[[]/g,`\\[`).replace(/[\]]/g,`\\]`);var n=`[\\?&]`+t+`=([^&#]*)`,r=new RegExp(n).exec(e);if(r===null||r&&typeof r[1]!=`string`&&r[1].length)return``;var i=r[1];try{i=decodeURIComponent(i)}catch{J.error(`Skipping decoding for malformed query param: `+i)}return i.replace(/\+/g,` `)},q.cookie={get:function(e){for(var t=e+`=`,n=K.cookie.split(`;`),r=0;r<n.length;r++){for(var i=n[r];i.charAt(0)==` `;)i=i.substring(1,i.length);if(i.indexOf(t)===0)return decodeURIComponent(i.substring(t.length,i.length))}return null},parse:function(e){var t;try{t=q.JSONDecode(q.cookie.get(e))||{}}catch{}return t},set_seconds:function(e,t,n,r,i,a,o){var s=``,c=``,l=``;if(o)s=`; domain=`+o;else if(r){var u=CF(K.location.hostname);s=u?`; domain=.`+u:``}if(n){var d=new Date;d.setTime(d.getTime()+n*1e3),c=`; expires=`+d.toGMTString()}a&&(i=!0,l=`; SameSite=None`),i&&(l+=`; secure`),K.cookie=e+`=`+encodeURIComponent(t)+c+`; path=/`+s+l},set:function(e,t,n,r,i,a,o){var s=``,c=``,l=``;if(o)s=`; domain=`+o;else if(r){var u=CF(K.location.hostname);s=u?`; domain=.`+u:``}if(n){var d=new Date;d.setTime(d.getTime()+n*24*60*60*1e3),c=`; expires=`+d.toGMTString()}a&&(i=!0,l=`; SameSite=None`),i&&(l+=`; secure`);var f=e+`=`+encodeURIComponent(t)+c+`; path=/`+s+l;return K.cookie=f,f},remove:function(e,t,n){q.cookie.set(e,``,-1,t,!1,!1,n)}};var lF=function(e){var t=!0;try{var n=`__mplss_`+yF(8),r=`xyz`;e.setItem(n,r),e.getItem(n)!==r&&(t=!1),e.removeItem(n)}catch{t=!1}return t},uF=null,dF=function(e,t){return uF!==null&&!t?uF:uF=lF(e||N.localStorage)},fF=null,pF=function(e,t){return fF!==null&&!t?fF:fF=lF(e||N.sessionStorage)};function mF(e,t,n){var r=function(e){J.error(t+` error: `+e)};return{is_supported:function(r){var i=n(e,r);return i||J.error(t+` unsupported`),i},error:r,get:function(t){try{return e.getItem(t)}catch(e){r(e)}return null}
81,parse:function(t){try{return q.JSONDecode(e.getItem(t))||{}}catch{}return null},set:function(t,n){try{e.setItem(t,n)}catch(e){r(e)}},remove:function(t){try{e.removeItem(t)}catch(e){r(e)}}}}q.localStorage=mF(N.localStorage,`localStorage`,dF),q.sessionStorage=mF(N.sessionStorage,`sessionStorage`,pF),q.register_event=(function(){var e=function(e,n,r,i,a){if(!e){J.error(`No valid element provided to register_event`);return}if(e.addEventListener&&!i)e.addEventListener(n,r,!!a);else{var o=`on`+n,s=e[o];e[o]=t(e,r,s)}};function t(e,t,r){return function(i){if(i||=n(N.event),i){var a=!0,o,s;return q.isFunction(r)&&(o=r(i)),s=t.call(e,i),(!1===o||!1===s)&&(a=!1),a}}}function n(e){return e&&(e.preventDefault=n.preventDefault,e.stopPropagation=n.stopPropagation),e}return n.preventDefault=function(){this.returnValue=!1},n.stopPropagation=function(){this.cancelBubble=!0},e})();var hF=RegExp(`^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$`);q.dom_query=(function(){function e(e){return e.all?e.all:e.getElementsByTagName(`*`)}var t=/[\t\r\n]/g;function n(e,n){var r=` `+n+` `;return(` `+e.className+` `).replace(t,` `).indexOf(r)>=0}function r(t){if(!K.getElementsByTagName)return[];var r=t.split(` `),i,a,o,s,c,l,u,d,f,p,m=[K];for(l=0;l<r.length;l++){if(i=r[l].replace(/^\s+/,``).replace(/\s+$/,``),i.indexOf(`#`)>-1){a=i.split(`#`),o=a[0];var h=a[1],g=K.getElementById(h);if(!g||o&&g.nodeName.toLowerCase()!=o)return[];m=[g];continue}if(i.indexOf(`.`)>-1){a=i.split(`.`),o=a[0];var _=a[1];for(o||=`*`,s=[],c=0,u=0;u<m.length;u++)for(f=o==`*`?e(m[u]):m[u].getElementsByTagName(o),d=0;d<f.length;d++)s[c++]=f[d];for(m=[],p=0,u=0;u<s.length;u++)s[u].className&&q.isString(s[u].className)&&n(s[u],_)&&(m[p++]=s[u]);continue}var v=i.match(hF);if(v){o=v[1];var y=v[2],b=v[3],x=v[4];for(o||=`*`,s=[],c=0,u=0;u<m.length;u++)for(f=o==`*`?e(m[u]):m[u].getElementsByTagName(o),d=0;d<f.length;d++)s[c++]=f[d];m=[],p=0;var S;switch(b){case`=`:S=function(e){return e.getAttribute(y)==x};break;case`~`:S=function(e){return e.getAttribute(y).match(RegExp(`\\b`+x+`\\b`))};break;case`|`:S=function(e){return e.getAttribute(y).match(RegExp(`^`+x+`-?`))};break;case`^`:S=function(e){return e.getAttribute(y).indexOf(x)===0};break;case`$`:S=function(e){return e.getAttribute(y).lastIndexOf(x)==e.getAttribute(y).length-x.length};break;case`*`:S=function(e){return e.getAttribute(y).indexOf(x)>-1};break;default:S=function(e){return e.getAttribute(y)}}for(m=[],p=0,u=0;u<s.length;u++)S(s[u])&&(m[p++]=s[u]);continue}for(o=i,s=[],c=0,u=0;u<m.length;u++)for(f=m[u].getElementsByTagName(o),d=0;d<f.length;d++)s[c++]=f[d];m=s}return m}return function(e){return q.isElement(e)?[e]:q.isObject(e)&&!q.isUndefined(e.length)?e:r.call(this,e)}})();var gF=[`utm_source`,`utm_medium`,`utm_campaign`,`utm_content`,`utm_term`,`utm_id`,`utm_source_platform`,`utm_campaign_id`,`utm_creative_format`,`utm_marketing_tactic`],_F=[`dclid`,`fbclid`,`gclid`,`ko_click_id`,`li_fat_id`,`msclkid`,`sccid`,`ttclid`,`twclid`,`wbraid`];q.info={campaignParams:function(e){var t=``,n={};return q.each(gF,function(r){t=q.getQueryParam(K.URL,r),t.length?n[r]=t:e!==void 0&&(n[r]=e)}),n},clickParams:function(){var e=``,t={};return q.each(_F,function(n){e=q.getQueryParam(K.URL,n),e.length&&(t[n]=e)}),t},marketingParams:function(){return q.extend(q.info.campaignParams(),q.info.clickParams())},searchEngine:function(e){return e.search(`https?://(.*)google.([^/?]*)`)===0?`google`:e.search(`https?://(.*)bing.com`)===0?`bing`:e.search(`https?://(.*)yahoo.com`)===0?`yahoo`:e.search(`https?://(.*)duckduckgo.com`)===0?`duckduckgo`:null},searchInfo:function(e){var t=q.info.searchEngine(e),n=t==`yahoo`?`p`:`q`,r={};if(t!==null){r.$search_engine=t;var i=q.getQueryParam(e,n);i.length&&(r.mp_keyword=i)}return r},browser:function(e,t,n){return t||=``,n||q.includes(e,` OPR/`)?q.includes(e,`Mini`)?`Opera Mini`:`Opera`:/(BlackBerry|PlayBook|BB10)/i.test(e)?`BlackBerry`:q.includes(e,`IEMobile`)||q.includes(e,`WPDesktop`)?`Internet Explorer Mobile`:q.includes(e,`SamsungBrowser/`)?`Samsung Internet`:q.includes(e,`Edge`)||q.includes(e,`Edg/`)?`Microsoft Edge`:q.includes(e,`FBIOS`)?`Facebook Mobile`:q.includes(e,`Whale/`)?`Whale Browser`:q.includes(e,`Chrome`)?`Chrome`:q.includes(e,`CriOS`)?`Chrome iOS`:q.includes(e,`UCWEB`)||q.includes(e,`UCBrowser`)?`UC Browser`:q.includes(e,`FxiOS`)?`Firefox iOS`:q.includes(t,`Apple`)?q.includes(e,`Mobile`)?`Mobile Safari`:`Safari`:q.includes(e,`Android`)?`Android Mobile`:q.includes(e,`Konqueror`)?`Konqueror`:q.includes(e,`Firefox`)?`Firefox`:q.includes(e,`MSIE`)||q.includes(e,`Trident/`)?`Internet Explorer`:q.includes(e,`Gecko`)?`Mozilla`:``},browserVersion:function(e,t,n){var r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[q.info.browser(e,t,n)];if(r===void 0)return null;var i=e.match(r);return i?parseFloat(i[i.length-2]):null},os:function(){var e=ZP;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?`Windows Phone`:`Windows`:/(iPhone|iPad|iPod)/.test(e)?`iOS`:/Android/.test(e)?`Android`:/(BlackBerry|PlayBook|BB10)/i.test(e)?`BlackBerry`:/Mac/i.test(e)?`Mac OS X`:/Linux/.test(e)?`Linux`:/CrOS/.test(e)?`Chrome OS`:``},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?`Windows Phone`:/iPad/.test(e)?`iPad`:/iPod/.test(e)?`iPod Touch`:/iPhone/.test(e)?`iPhone`:/(BlackBerry|PlayBook|BB10)/i.test(e)?`BlackBerry`:/Android/.test(e)?`Android`:``},referringDomain:function(e){var t=e.split(`/`);return t.length>=3?t[2]:``},currentUrl:function(){return N.location.href},properties:function(e){return typeof e!=`object`&&(e={}),q.extend(q.strip_empty_properties({$os:q.info.os(),$browser:q.info.browser(ZP,JP.vend
81or,YP),$referrer:K.referrer,$referring_domain:q.info.referringDomain(K.referrer),$device:q.info.device(ZP)}),{$current_url:q.info.currentUrl(),$browser_version:q.info.browserVersion(ZP,JP.vendor,YP),$screen_height:XP.height,$screen_width:XP.width,mp_lib:`web`,$lib_version:RP.LIB_VERSION,$insert_id:yF(),time:q.timestamp()/1e3},q.strip_empty_properties(e))},people_properties:function(){return q.extend(q.strip_empty_properties({$os:q.info.os(),$browser:q.info.browser(ZP,JP.vendor,YP)}),{$browser_version:q.info.browserVersion(ZP,JP.vendor,YP)})},mpPageViewProperties:function(){return q.strip_empty_properties({current_page_title:K.title,current_domain:N.location.hostname,current_url_path:N.location.pathname,current_url_protocol:N.location.protocol,current_url_search:N.location.search})}};var vF=function(e,t){var n=null,r=[];return function(i){var a=this;return r.push(i),n||=new G(function(i){setTimeout(function(){var t=e.apply(a,[r]);n=null,r=[],i(t)},t)}),n}},yF=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},bF=function(){var e=q.UUID().replace(/-/g,``),t=q.UUID().replace(/-/g,``).substring(0,16);return`00-`+e+`-`+t+`-01`},xF=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,SF=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,CF=function(e){var t=SF,n=e.split(`.`),r=n[n.length-1];(r.length>4||r===`com`||r===`org`)&&(t=xF);var i=e.match(t);return i?i[0]:``},wF=function(){var e=N.navigator.onLine;return q.isUndefined(e)||e},TF=function(){},EF=null,DF=null;typeof JSON<`u`&&(EF=JSON.stringify,DF=JSON.parse),EF||=q.JSONEncode,DF||=q.JSONDecode;var OF=function(e,t,n){if(!N.CompressionStream)return!1;var r=q.info.browser(e,t,n),i=q.info.browserVersion(e,t,n);return!((r===`Safari`||r===`Mobile Safari`)&&i>=16.4&&i<16.6)};q.info=q.info,q.info.browser=q.info.browser,q.info.browserVersion=q.info.browserVersion,q.info.device=q.info.device,q.info.properties=q.info.properties,q.isBlockedUA=q.isBlockedUA,q.isEmptyObject=q.isEmptyObject,q.isObject=q.isObject,q.JSONDecode=q.JSONDecode,q.JSONEncode=q.JSONEncode,q.toArray=q.toArray,q.NPO=IP;var kF=`mixpanelBrowserDb`,AF=`mixpanelRecordingEvents`,jF=`mixpanelRecordingRegistry`,MF=1,NF=[AF,jF],PF=function(e){this.dbPromise=null,this.storeName=e};PF.prototype._openDb=function(){return new G(function(e,t){var n=N.indexedDB.open(kF,MF);n.onerror=function(){t(n.error)},n.onsuccess=function(){e(n.result)},n.onupgradeneeded=function(e){var t=e.target.result;NF.forEach(function(e){t.createObjectStore(e)})}})},PF.prototype.init=function(){return N.indexedDB?(this.dbPromise||=this._openDb(),this.dbPromise.then(function(e){return e instanceof N.IDBDatabase?G.resolve():G.reject(e)})):G.reject(`indexedDB is not supported in this browser`)},PF.prototype.isInitialized=function(){return!!this.dbPromise},PF.prototype.makeTransaction=function(e,t){var n=this.storeName,r=function(r){return new G(function(i,a){var o=r.transaction(n,e);o.oncomplete=function(){i(o)},o.onabort=o.onerror=function(){a(o.error)},t(o.objectStore(n))})};return this.dbPromise.then(r).catch(function(e){return e&&e.name===`InvalidStateError`?(this.dbPromise=this._openDb(),this.dbPromise.then(r)):G.reject(e)}.bind(this))},PF.prototype.setItem=function(e,t){return this.makeTransaction(`readwrite`,function(n){n.put(t,e)})},PF.prototype.getItem=function(e){var t;return this.makeTransaction(`readonly`,function(n){t=n.get(e)}).then(function(){return t.result})},PF.prototype.removeItem=function(e){return this.makeTransaction(`readwrite`,function(t){t.delete(e)})},PF.prototype.getAll=function(){var e;return this.makeTransaction(`readonly`,function(t){e=t.getAll()}).then(function(){return e.result})};var FF=`__mp_opt_in_out_`;function IF(e,t){JF(!0,e,t)}function LF(e,t){JF(!1,e,t)}function RF(e,t){return KF(e,t)===`1`}function zF(e,t){if(qF(t))return J.warn(`This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"`),!0;var n=KF(e,t)===`0`;return n&&J.warn(`You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data.`),n}function BF(e){return YF(e,function(e){return this.get_config(e)})}function VF(e){return YF(e,function(e){return this._get_config(e)})}function HF(e){return YF(e,function(e){return this._get_config(e)})}function UF(e,t){t||={},WF(t).remove(GF(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function WF(e){return e||={},e.persistenceType===`localStorage`?q.localStorage:q.cookie}function GF(e,t){return t||={},(t.persistencePrefix||FF)+e}function KF(e,t){return WF(t).get(GF(e,t))}function qF(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||N,n=t.navigator||{},r=!1;return q.each([n.doNotTrack,n.msDoNotTrack,t.doNotTrack],function(e){q.includes([!0,1,`1`,`yes`],e)&&(r=!0)}),r}function JF(e,t,n){if(!q.isString(t)||!t.length){J.error(`gdpr.`+(e?`optIn`:`optOut`)+` called with an invali
81d token`);return}n||={},WF(n).set(GF(t,n),+!!e,q.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&e&&n.track(n.trackEventName||`$opt_in`,n.trackProperties,{send_immediately:!0})}function YF(e,t){return function(){var n=!1;try{var r=t.call(this,`token`),i=t.call(this,`ignore_dnt`),a=t.call(this,`opt_out_tracking_persistence_type`),o=t.call(this,`opt_out_tracking_cookie_prefix`),s=t.call(this,`window`);r&&(n=zF(r,{ignoreDnt:i,persistenceType:a,persistencePrefix:o,window:s}))}catch(e){J.error(`Unexpected error when checking tracking opt-out status: `+e)}if(!n)return e.apply(this,arguments);var c=arguments[arguments.length-1];typeof c==`function`&&c(0)}}var XF=aF(`lock`),ZF=function(e,t){t||={},this.storageKey=e,this.storage=t.storage||N.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||G};ZF.prototype.withLock=function(e,t){var n=this.promiseImpl;return new n(q.bind(function(n,r){var i=t||new Date().getTime()+`|`+Math.random(),a=new Date().getTime(),o=this.storageKey,s=this.pollIntervalMS,c=this.timeoutMS,l=this.storage,u=o+`:X`,d=o+`:Y`,f=o+`:Z`,p=function(e){if(new Date().getTime()-a>c){XF.error(`Timeout waiting for mutex on `+o+`; clearing lock. [`+i+`]`),l.removeItem(f),l.removeItem(d),g();return}setTimeout(function(){try{e()}catch(e){r(e)}},s*(Math.random()+.1))},m=function(e,t){e()?t():p(function(){m(e,t)})},h=function(){var e=l.getItem(d);return e&&e!==i?!1:(l.setItem(d,i),l.getItem(d)===i||(dF(l,!0)||r(Error(`localStorage support dropped while acquiring lock`)),!1))},g=function(){l.setItem(u,i),m(h,function(){if(l.getItem(u)===i){_();return}p(function(){if(l.getItem(d)!==i){g();return}m(function(){return!l.getItem(f)},_)})})},_=function(){l.setItem(f,`1`);var t=function(){l.removeItem(f),l.getItem(d)===i&&l.removeItem(d),l.getItem(u)===i&&l.removeItem(u)};e().then(function(e){t(),n(e)}).catch(function(e){t(),r(e)})};try{if(dF(l,!0))g();else throw Error(`localStorage support check failed`)}catch(e){r(e)}},this))};var QF=function(e){this.storage=e||N.localStorage};QF.prototype.init=function(){return G.resolve()},QF.prototype.isInitialized=function(){return!0},QF.prototype.setItem=function(e,t){return new G(q.bind(function(n,r){try{this.storage.setItem(e,EF(t))}catch(e){r(e)}n()},this))},QF.prototype.getItem=function(e){return new G(q.bind(function(t,n){var r;try{r=DF(this.storage.getItem(e))}catch(e){n(e)}t(r)},this))},QF.prototype.removeItem=function(e){return new G(q.bind(function(t,n){try{this.storage.removeItem(e)}catch(e){n(e)}t()},this))};var $F=aF(`batch`),eI=function(e,t){t||={},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new QF,this.lock=new ZF(e,{storage:t.sharedLockStorage||N.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||q.bind($F.error,$F),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,this.enqueuePersisted=t.enqueueThrottleMs?vF(q.bind(this._enqueuePersisted,this),t.enqueueThrottleMs):q.bind(function(e){return this._enqueuePersisted([e])},this)};eI.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?G.resolve():this.queueStorage.init().then(q.bind(function(){this.initialized=!0},this)).catch(q.bind(function(e){this.reportError(`Error initializing queue persistence. Disabling persistence`,e),this.initialized=!0,this.usePersistence=!1},this))},eI.prototype.enqueue=function(e,t){var n={id:yF(),flushAfter:new Date().getTime()+t*2,payload:e};return this.usePersistence?this.enqueuePersisted(n):(this.memQueue.push(n),G.resolve(!0))},eI.prototype._enqueuePersisted=function(e){var t=q.bind(function(){return this.ensureInit().then(q.bind(function(){return this.readFromStorage()},this)).then(q.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(q.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(q.bind(function(t){return this.reportError(`Error enqueueing items`,t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(q.bind(function(e){return this.reportError(`Error acquiring storage lock`,e),!1},this))},eI.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(q.bind(function(){return this.readFromStorage()},this)).then(q.bind(function(n){if(n.length){var r={};q.each(t,function(e){r[e.id]=!0});for(var i=0;i<n.length;i++){var a=n[i];if(new Date().getTime()>a.flushAfter&&!r[a.id]&&(a.orphaned=!0,t.push(a),t.length>=e))break}}return t},this)):G.resolve(t)};var tI=function(e,t){var n=[];return q.each(e,function(e){e.id&&!t[e.id]&&n.push(e)}),n};eI.prototype.removeItemsByID=function(e){var t={};if(q.each(e,function(e){t[e]=!0}),this.memQueue=tI(this.memQueue,t),this.usePersistence){var n=q.bind(function(){return this.ensureInit().then(q.bind(function(){return this.readFromStorage()},this)).then(q.bind(function(e){return e=tI(e,t),this.saveToStorage(e)},this)).then(q.bind(function(){return this.readFromStorage()},this)).then(q.bind(function(e){for(var n=0;n<e.length;n++){var r=e[n];if(r.id&&t[r.id])throw Error(`Item not removed from storage`)}return!0},this)).catch(q.bind(function(t){return this.reportError(`Error removing items`,t,e),!1},this))},this);return this.lock.withLock(n,this.pid).catch(q.bind(function(e){return this.reportError(`Error acquiring storage lock`,e),!dF(this.lock.storage,!0)&&n().then(q.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(q.bind(function(e){return this.reportError(`Error clearing queue`,e),!1},this))},this))}return G.resolve(!0)};var nI=function(e,t){var n=[];return q.each(e,function(e){var r=e.id;if(r in t){var i=t[r];
vendor: 13,752 bytes, line 81
81i!==null&&(e.payload=i,n.push(e))}else n.push(e)}),n};eI.prototype.updatePayloads=function(e){return this.memQueue=nI(this.memQueue,e),this.usePersistence?this.lock.withLock(q.bind(function(){return this.ensureInit().then(q.bind(function(){return this.readFromStorage()},this)).then(q.bind(function(t){return t=nI(t,e),this.saveToStorage(t)},this)).catch(q.bind(function(t){return this.reportError(`Error updating items`,e,t),!1},this))},this),this.pid).catch(q.bind(function(e){return this.reportError(`Error acquiring storage lock`,e),!1},this)):G.resolve(!0)},eI.prototype.readFromStorage=function(){return this.ensureInit().then(q.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(q.bind(function(e){return e&&(q.isArray(e)||(this.reportError(`Invalid storage entry:`,e),e=null)),e||[]},this)).catch(q.bind(function(e){return this.reportError(`Error retrieving queue`,e),[]},this))},eI.prototype.saveToStorage=function(e){return this.ensureInit().then(q.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(q.bind(function(e){return this.reportError(`Error saving queue`,e),!1},this))},eI.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(q.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):G.resolve()};var rI=6e5,iI=aF(`batch`),aI=function(e,t){this.errorReporter=t.errorReporter,this.queue=new eI(e,{errorReporter:q.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,sharedLockTimeoutMS:t.sharedLockTimeoutMS,usePersistence:t.usePersistence,enqueueThrottleMs:t.enqueueThrottleMs}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=t.flushOnlyOnInterval||!1,this._flushPromise=null};aI.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},aI.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},aI.prototype.stop=function(){this.stopped=!0,this.timeoutID&&=(clearTimeout(this.timeoutID),null)},aI.prototype.clear=function(){return this.queue.clear()},aI.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},aI.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},aI.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(q.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},aI.prototype.sendRequestPromise=function(e,t){return new G(q.bind(function(n){this.sendRequest(e,t,n)},this))},aI.prototype.flush=function(e){if(this.requestInProgress)return iI.log(`Flush: Request already in progress`),G.resolve();this.requestInProgress=!0,e||={};var t=this.libConfig.batch_request_timeout_ms,n=new Date().getTime(),r=this.batchSize;return this.queue.fillBatch(r).then(q.bind(function(i){var a=i.length===r,o=[],s={};if(q.each(i,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=q.extend({},t.properties,{mp_sent_by_lib_version:RP.LIB_VERSION}));var n=!0,r=e.id;r?(this.itemIdsSentSuccessfully[r]||0)>5&&(this.reportError(`[dupe] item ID sent too many times, not sending`,{item:e,batchSize:i.length,timesSent:this.itemIdsSentSuccessfully[r]}),n=!1):this.reportError(`[dupe] found item with no ID`,{item:e}),n&&o.push(t)}s[e.id]=t},this),o.length<1)return this.requestInProgress=!1,this.resetFlush(),G.resolve();var c=q.bind(function(){return this.queue.removeItemsByID(q.map(i,function(e){return e.id})).then(q.bind(function(e){return q.each(i,q.bind(function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError(`[dupe] item ID sent too many times`,{item:e,batchSize:i.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError(`[dupe] found item with no ID while removing`,{item:e})},this)),e?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!a?(this.resetFlush(),G.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError(`Too many queue failures; disabling batching system.`),this.stopAllBatching()):this.resetFlush(),G.resolve())},this))},this),l=q.bind(function(a){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(s);if(q.isObject(a)&&a.error===`timeout`&&new Date().getTime()-n>=t)return this.reportError(`Network timeout; retrying`),this.flush();if(q.isObject(a)&&(a.httpStatusCode>=500||a.httpStatusCode===429||a.httpStatusCode<=0&&!wF()||a.error===`timeout`)){var o=this.flushInterval*2;return a.retryAfter&&(o=parseInt(a.retryAfter,10)*1e3||o),o=Math.min(rI,o),this.reportError(`Error; retry in `+o+` ms`),this.scheduleFlush(o),G.resolve()}if(q.isObject(a)&&a.httpStatusCode===413)if(i.length>1){var l=Math.max(1,Math.floor(r/2));return this.batchSize=Math.min(this.batchSize,l,i.length-1),this.reportError(`413 response; reducing batch size to `+this.batchSize),this.resetFlush(),G.resolve()}else return this.reportError(`Single-event request too large; dropping`,i),this.resetBatchSize(),c();return c()}catch(e){this.reportError(`Error handling API response`,e),this.resetFlush()}},this),u={method:`POST`,verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(u.transport=`sendBeacon`),iI.log(`MIXPANEL REQUEST:`,o),this.sendRequestPromise(o,u).then(l)},this)).catch(q.bind(function(e){this.reportError(`Error flushing request queue`,e),this.resetFlush()},this))},aI.prototype.reportError=function(e,t){if(iI.error.apply(iI.error,arguments),this.errorReporter)try{t instanceof Error||(t=Error(e)),this.errorReporter(e,t)}catch(e){iI.error(e)}};var oI=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},sI=250,cI=aF(`recorder`),lI=N.CompressionStream,uI={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},dI=new Set([U.MouseMove,U.MouseInteraction,U.Scroll,U.ViewportResize,U.Input,U.TouchMove,U.MediaInteraction,U.Drag,U.Selection]);function fI(e){return e.type===H.IncrementalSnapshot&&dI.has(e.data.source)}var pI=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||TF,this._onMaxLengthReached=e.onMaxLengthReached||TF,this._onBatchSent=e.onBatchSent||TF,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.lastEventTimestamp=e.lastEventTimestamp||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=zP,this.recordMinMs=0;var t=dF(e.sharedLockStorage,!0)&&!this.getConfig(`disable_persistence`);this.batcherKey=`__mprec_`+this.getConfig(`name`)+`_`+this.getConfig(`token`)+`_`+this.replayId,this.queueStorage=new PF(AF),this.batcher=new aI(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:uI,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:sI,sharedLockTimeoutMS:1e4})};pI.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},t=this._mixpanel.get_property(`$device_id`);t&&(e.$device_id=t);var n=this._mixpanel.get_property(`$user_id`);return n&&(e.$user_id=n),e},pI.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch(function(){this.reportError(`Error initializing IndexedDB storage for unloading persisted data.`)}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},pI.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},pI.prototype.get_config=function(e){return this.getConfig(e)},pI.prototype.startRecording=function(e){if(this._rrwebRecord===null){this.reportError(`rrweb record function not provided. `);return}if(this._stopRecording!==null){cI.log(`Recording already in progress, skipping startRecording.`);return}this.recordMaxMs=this.getConfig(`record_max_ms`),this.recordMaxMs>zP&&(this.recordMaxMs=zP,cI.critical(`record_max_ms cannot be greater than `+zP+`ms. Capping value.`)),this.maxExpires||=new Date().getTime()+this.recordMaxMs,this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=q.info.currentUrl(),this.replayStartUrl=q.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var t=function(){clearTimeout(this.idleTimeoutId);var e=this.getConfig(`record_idle_timeout_ms`);this.idleTimeoutId=setTimeout(this._onIdleTimeout,e),this.idleExpires=new Date().getTime()+e}.bind(this);t();var n=this.getConfig(`record_block_selector`);(n===``||n===null)&&(n=void 0);try{this._stopRecording=this._rrwebRecord({emit:function(e){if(this.idleExpires&&this.idleExpires<e.timestamp){this._onIdleTimeout();return}fI(e)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e),(this.lastEventTimestamp===null||e.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=e.timestamp)}.bind(this),blockClass:this.getConfig(`record_block_class`),blockSelector:n,collectFonts:this.getConfig(`record_collect_fonts`),dataURLOptions:{type:`image/webp`,quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig(`record_mask_text_class`),maskTextSelector:this.getConfig(`record_mask_text_selector`),recordCanvas:this.getConfig(`record_canvas`),sampling:{canvas:15},plugins:this.getConfig(`record_console`)?[bP({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}})]:[]})}catch(e){this.reportError(`Unexpected error when starting rrweb recording.`,e)}if(typeof this._stopRecording!=`function`){this.reportError(`rrweb failed to start, skipping this recording.`),this._stopRecording=null,this.stopRecording();return}var r=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),r)},pI.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(e){this.reportError(`Error with rrweb stopRecording`,e)}this._stopRecording=null}var t;return this.batcher.stopped?t=this.batcher.clear():e||(t=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),t},pI.prototype.isRrwebStopped=function(){return this._stopRecording===null},pI.prototype.flushEventsWithOptOut=function(e,t,n){var r=function(e){e===0&&(this.stopRecording(),n({error:`Tracking has been opted out, stopping recording.`}))}.bind(this);this._flushEvents(e,t,n,r)},pI.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(t){this.reportError(`Error getting tab ID for serialization `,t),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},pI.deserialize=function(e,t){return new pI(q.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,lastEventTimestamp:e.lastEventTimestamp,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},pI.prototype._sendRequest=function(e,t,n,r){var i=function(t,n){t.status===200&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=q.info.currentUrl()),this._onBatchSent(),r({status:0,httpStatusCode:t.status,responseBody:n,retryAfter:t.headers.get(`Retry-After`)})}.bind(this),a=this._mixpanel.get_api_host&&this._mixpanel.get_api_host(`record`)||this.getConfig(`api_host`);N.fetch(a+`/`+this.getConfig(`api_routes`).record+`?`+new URLSearchParams(t),{method:`POST`,headers:{Authorization:`Basic `+btoa(this.getConfig(`token`)+`:`),"Content-Type":`application/octet-stream`},body:n}).then(function(e){e.json().then(function(t){i(e,t)}).catch(function(e){r({error:e})})}).catch(function(e){r({error:e,httpStatusCode:0})})},pI.prototype._flushEvents=BF(function(e,t,n){var r=e.length;if(r>0){for(var i=this.replayId,a=1/0,o=-1/0,s=!1,c=0;c<r;c++)a=Math.min(a,e[c].timestamp),o=Math.max(o,e[c].timestamp),e[c].type===H.FullSnapshot&&(s=!0);if(this.seqNo===0){if(!s){n({error:`First batch does not contain a full snapshot. Aborting recording.`}),this.stopRecording(!0);return}this.replayStartTime=a}else this.replayStartTime||=(this.reportError(`Replay start time not set but seqNo is not 0. Using current batch start time as a fallback.`),a);var l=o-this.replayStartTime,u={$current_url:this.batchStartUrl,$lib_version:RP.LIB_VERSION,batch_start_time:a/1e3,mp_lib:`web`,replay_id:i,replay_length_ms:l,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},d=JSON.stringify(e);
vendor: 5,518 bytes, line 81
81if(Object.assign(u,this.getUserIdInfo()),OF(ZP,JP.vendor,YP)){var f=new Blob([d],{type:`application/json`}).stream().pipeThrough(new lI(`gzip`));new Response(f).blob().then(function(e){u.format=`gzip`,this._sendRequest(i,u,e,n)}.bind(this))}else u.format=`body`,this._sendRequest(i,u,d,n)}}),pI.prototype.reportError=function(e,t){cI.error.apply(cI.error,arguments);try{!t&&!(e instanceof Error)&&(e=Error(e)),this.getConfig(`error_reporter`)(e,t)}catch(e){cI.error(e)}},pI.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},pI.prototype._getRecordMinMs=function(){var e=this.getConfig(`record_min_ms`);return e>BP?(cI.critical(`record_min_ms cannot be greater than `+BP+`ms. Capping value.`),BP):e};var mI=function(e){this.idb=new PF(jF),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};mI.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config(`disable_persistence`)},mI.prototype.handleError=function(e){this.errorReporter(`IndexedDB error: `,e)},mI.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return G.resolve();var t=e.tabId;return t?this.idb.init().then(function(){return this.idb.setItem(t,e)}.bind(this)).catch(this.handleError.bind(this)):(console.warn(`No tab ID is set, cannot persist recording metadata.`),G.resolve())},mI.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return oI(e)?null:e}.bind(this)).catch(this.handleError.bind(this)):G.resolve(null)},mI.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},mI.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))},mI.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):G.resolve()},mI.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var t=e.filter(function(e){return oI(e)}).map(function(e){return pI.deserialize(e,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(e.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return G.all(t)}.bind(this)).catch(this.handleError.bind(this)):G.resolve([])};var hI=aF(`recorder`),gI=function(e,t,n){this.mixpanelInstance=e,this.rrwebRecord=t||nP,this.sharedLockStorage=n,this.recordingRegistry=new mI({mixpanelInstance:this.mixpanelInstance,errorReporter:hI.error,sharedLockStorage:n}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};gI.prototype.startRecording=function(e){if(e||={},this.activeRecording&&!this.activeRecording.isRrwebStopped()){hI.log(`Recording already in progress, skipping startRecording.`);return}var t=function(){hI.log(`Idle timeout reached, restarting recording.`),this.resetRecording()}.bind(this),n=function(){hI.log(`Max recording length reached, stopping recording.`),this.resetRecording()}.bind(this),r=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),i={mixpanelInstance:this.mixpanelInstance,onBatchSent:r,onIdleTimeout:t,onMaxLengthReached:n,replayId:q.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return this.activeRecording=e.activeSerializedRecording?pI.deserialize(e.activeSerializedRecording,i):new pI(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())},gI.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},gI.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},gI.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var n=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),n}return G.resolve()},gI.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),G.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(hI.log(`No resumable recording found.`),null)}.bind(this))},gI.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},gI.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(gI.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),N.__mp_recorder=gI;
vendor: 5,192 bytes, line 81
81var _I=`change`,vI=`click`,yI=`hashchange`,bI=`input`,xI=`load`,SI=`mp_locationchange`,CI=`popstate`,wI=`scrollend`,TI=`scroll`,EI=`select`,DI=`submit`,OI=`toggle`,kI=`visibilitychange`,AI=[`clientX`,`clientY`,`offsetX`,`offsetY`,`pageX`,`pageY`,`screenX`,`screenY`,`x`,`y`],jI=[`mp-include`],MI=[`mp-no-track`],NI=MI.concat([`mp-sensitive`]),PI=[`aria-label`,`aria-labelledby`,`aria-describedby`,`href`,`name`,`role`,`title`,`type`],FI={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},II={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},LI={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},RI=[`onclick`,`onmousedown`,`onmouseup`,`onpointerdown`,`onpointerup`,`ontouchend`,`ontouchstart`],zI=5,Y=aF(`autocapture`);function BI(e){for(var t={},n=VI(e).split(` `),r=0;r<n.length;r++){var i=n[r];i&&(t[i]=!0)}return t}function VI(e){switch(typeof e.className){case`string`:return e.className;case`object`:return e.className.baseVal||e.getAttribute(`class`)||``;default:return``}}function HI(e){if(e.previousElementSibling)return e.previousElementSibling;do e=e.previousSibling;while(e&&!YI(e));return e}function UI(e,t,n,r,i,a){var o={$classes:VI(e).split(` `),$tag_name:e.tagName.toLowerCase()},s=e.id;s&&(o.$id=s),tL(e,t,i,a)&&q.each(PI.concat(r),function(t){if(e.hasAttribute(t)&&!n[t]){var r=e.getAttribute(t);nL(r)&&(o[`$attr-`+t]=r)}});for(var c=1,l=1,u=e;u=HI(u);)c++,u.tagName===e.tagName&&l++;return o.$nth_child=c,o.$nth_of_type=l,o}function WI(e,t){var n=t.allowElementCallback,r=t.allowSelectors||[],i=t.blockAttrs||[],a=t.blockElementCallback,o=t.blockSelectors||[],s=t.captureTextContent||!1,c=t.captureExtraAttrs||[],l=t.capturedForHeatMap||!1,u={};q.each(i,function(e){u[e]=!0});var d=null,f=e.target===void 0?e.srcElement:e.target;if(ZI(f)&&(f=f.parentNode),eL(f,e)&&qI(f,e,n,r)&&!JI(f,e,a,o)){for(var p=[f],m=f;m.parentNode&&!XI(m,`body`);)p.push(m.parentNode),m=m.parentNode;var h=[],g,_=!1;if(q.each(p,function(t){var i=tL(t,e,n,r);!u.href&&t.tagName.toLowerCase()===`a`&&(g=t.getAttribute(`href`),g=i&&nL(g)&&g),JI(t,e,a,o)&&(_=!0),h.push(UI(t,e,u,c,n,r))},this),!_){var v=K.documentElement;if(d={$event_type:e.type,$host:N.location.host,$pathname:N.location.pathname,$elements:h,$el_attr__href:g,$viewportHeight:Math.max(v.clientHeight,N.innerHeight||0),$viewportWidth:Math.max(v.clientWidth,N.innerWidth||0),$pageHeight:K.body.offsetHeight||0,$pageWidth:K.body.offsetWidth||0},q.each(c,function(e){if(!u[e]&&f.hasAttribute(e)){var t=f.getAttribute(e);nL(t)&&(d[`$el_attr__`+e]=t)}}),s&&(y=GI(f,e,n,r),y&&y.length&&(d.$el_text=y)),e.type===vI&&(q.each(AI,function(t){t in e&&(d[`$`+t]=e[t])}),l&&(d.$captured_for_heatmap=!0),f=KI(e)),s){var y=GI(f,e,n,r);y&&y.length&&(d.$el_text=y)}if(f){if(!qI(f,e,n,r)||JI(f,e,a,o))return null;var b=UI(f,e,u,c,n,r);d.$target=b,d.$el_classes=b.$classes,q.extend(d,q.strip_empty_properties({$el_id:b.$id,$el_tag_name:b.$tag_name}))}}}return d}function GI(e,t,n,r){var i=``;return tL(e,t,n,r)&&e.childNodes&&e.childNodes.length&&q.each(e.childNodes,function(e){ZI(e)&&e.textContent&&(i+=q.trim(e.textContent).split(/(\s+)/).filter(nL).join(``).replace(/[\r\n]/g,` `).replace(/[ ]+/g,` `).substring(0,255))}),q.trim(i)}function KI(e){for(var t=e.target,n=e.composedPath(),r=0;r<n.length;r++){var i=n[r];if(XI(i,`a`)||XI(i,`button`)||XI(i,`input`)||XI(i,`select`)||i.getAttribute&&i.getAttribute(`role`)===`button`){t=i;break}if(i===t)break}return t}function qI(e,t,n,r){if(n)try{if(!n(e,t))return!1}catch(e){return Y.critical(`Error while checking element in allowElementCallback`,e),!1}if(!r.length)return!0;for(var i=0;i<r.length;i++){var a=r[i];try{if(e.matches(a))return!0}catch(e){Y.critical(`Error while checking selector: `+a,e)}}return!1}function JI(e,t,n,r){var i;if(n)try{if(n(e,t))return!0}catch(e){return Y.critical(`Error while checking element in blockElementCallback`,e),!0}if(r&&r.length)for(i=0;i<r.length;i++){var a=r[i];try{if(e.matches(a))return!0}catch(e){Y.critical(`Error while checking selector: `+a,e)}}var o=BI(e);for(i=0;i<MI.length;i++)if(o[MI[i]])return!0;return!1}function YI(e){return e&&e.nodeType===1}function XI(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function ZI(e){return e&&e.nodeType===3}function QI(){try{return!!K.createElement(`div`).matches}catch{return!1}}function $I(){return typeof WeakSet<`u`}function eL(e,t){if(!e||XI(e,`html`)||!YI(e))return!1;switch(e.tagName.toLowerCase()){case`form`:return t.type===DI;case`input`:return[`button`,`submit`].indexOf(e.getAttribute(`type`))===-1?t.type===_I:t.type===vI;case`select`:case`textarea`:return t.type===_I;default:return t.type===vI}}function tL(e,t,n,r){var i;if(!qI(e,t,n,r))return!1;for(var a=e;a.parentNode&&!XI(a,`body`);a=a.parentNode){var o=BI(a);for(i=0;i<NI.length;i++)if(o[NI[i]])return!1}var s=BI(e);for(i=0;i<jI.length;i++)if(s[jI[i]])return!0;
81if(XI(e,`input`)||XI(e,`select`)||XI(e,`textarea`)||e.getAttribute(`contenteditable`)===`true`)return!1;var c=e.type||``;if(typeof c==`string`)switch(c.toLowerCase()){case`hidden`:return!1;case`password`:return!1}var l=e.name||e.id||``;return!(typeof l==`string`&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(l.replace(/[^a-zA-Z0-9]/g,``)))}function nL(e){return!(e===null||q.isUndefined(e)||typeof e==`string`&&(e=q.trim(e),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||``).replace(/[- ]/g,``))||/(^\d{3}-?\d{2}-?\d{4}$)/.test(e)))}function rL(e){var t=`onscrollend`in N,n=oF(e),r=wI;if(!t){var i=null,a=100;n=oF(function(){clearTimeout(i),i=setTimeout(e,a)}),r=TI}return{listener:n,eventType:r}}function iL(e){for(var t=0;t<RI.length;t++)if(e.hasAttribute(RI[t]))return!0;return!1}function aL(e){var t=e.getAttribute(`role`);return t?FI[t.trim().split(/\s+/)[0].toLowerCase()]:!1}function oL(e){var t=e.tagName.toLowerCase();return!!(t===`button`||t===`input`||t===`select`||t===`textarea`||t===`details`||t===`dialog`||e.isContentEditable||e.onclick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend||iL(e)||aL(e)||t===`a`&&e.hasAttribute(`href`)||e.hasAttribute(`tabindex`))}function sL(e){if(!e||!e.tagName)return!0;var t=e.tagName.toLowerCase();if(II[t])return!0;if(oL(e))return!1;for(var n=e.parentElement,r=0;n&&r<zI;){if(oL(n))return!1;if(n.getRootNode&&n.getRootNode()!==K){var i=n.getRootNode();if(i.host&&oL(i.host))return!1}n=n.parentElement,r++}return!!LI[t]}function cL(e){return`composedPath`in e?e.composedPath():[]}function lL(e){var t=cL(e);return t&&t.length>0?t[0]:e.target||e.srcElement}var uL=30,dL=1e3,fL=4;function pL(){this.clicks=[]}pL.prototype.isRageClick=function(e,t){t||={};var n=t.threshold_px||uL,r=t.timeout_ms||dL,i=t.click_count||fL;if(t.interactive_elements_only){var a=lL(e);if(!a||sL(a))return!1}var o=Date.now(),s=e.pageX,c=e.pageY,l=this.clicks[this.clicks.length-1];if(l&&o-l.timestamp<r&&Math.sqrt((s-l.x)**2+(c-l.y)**2)<n){if(this.clicks.push({x:s,y:c,timestamp:o}),this.clicks.length>=i)return this.clicks=[],!0}else this.clicks=[{x:s,y:c,timestamp:o}];return!1};function mL(e,t){this.changeCallback=e||function(){},this.observerConfig=t,this.observedShadowRoots=null,this.shadowObservers=[]}mL.prototype.getEventTarget=function(e){if(this.observedShadowRoots)return lL(e)},mL.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var t=cL(e),n=0;n<t.length;n++){var r=t[n];r&&r.shadowRoot&&this.observeShadowRoot(r.shadowRoot)}},mL.prototype.observeShadowRoot=function(e){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(e))){var t=this;try{this.observedShadowRoots.add(e);var n=new window.MutationObserver(function(){t.changeCallback()});n.observe(e,this.observerConfig),this.shadowObservers.push(n)}catch(e){Y.critical(`Error while observing shadow root`,e)}}},mL.prototype.start=function(){if(!this.observedShadowRoots){if(!$I()){Y.critical(`Shadow DOM observation unavailable: WeakSet not supported`);return}this.observedShadowRoots=new WeakSet}},mL.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(e){Y.critical(`Error while disconnecting shadow DOM observer`,e)}this.shadowObservers=[],this.observedShadowRoots=null}};var hL=500,gL=[_I,bI,DI,EI,OI],_L=[wI],vL=[yI],yL={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:[`style`,`class`,`hidden`,`checked`,`selected`,`value`,`display`,`visibility`]};function bL(e){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=e,this.processingActive=!1,this.processingTimeout=null}bL.prototype.addClick=function(e){var t=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return t||=e.target||e.srcElement,!t||sL(t)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:t,event:e,timestamp:Date.now()}),!0)},bL.prototype.trackClick=function(e,t){if(!this.isTracking)return!1;var n=this.addClick(e);return n&&this.triggerProcessing(t),n},bL.prototype.getDeadClicks=function(e){if(this.pendingClicks.length===0)return[];var t=e.timeout_ms,n=Date.now(),r=this.pendingClicks.slice();this.pendingClicks=[];for(var i=[],a=0;a<r.length;a++){var o=r[a];n-o.timestamp>=t?this.hasChangesAfter(o.timestamp)||i.push(o):this.pendingClicks.push(o)}return i},bL.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100},bL.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},bL.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))},bL.prototype.processRecursively=function(e){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var t=e.timeout_ms,n=this;this.processingTimeout=setTimeout(function(){if(n.processingActive){for(var t=n.getDeadClicks(e),r=0;r<t.length;r++)n.onDeadClickCallback(t[r].event);n.pendingClicks.length>0?n.processRecursively(e):n.processingActive=!1}},t)},bL.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;
81gL.forEach(function(t){var n=function(){e.recordChangeEvent()};document.addEventListener(t,n,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:t,handler:n,options:{capture:!0,passive:!0}})}),vL.forEach(function(t){var n=function(){e.recordChangeEvent()};window.addEventListener(t,n),e.eventListeners.push({target:window,event:t,handler:n})}),_L.forEach(function(t){var n=function(){e.recordChangeEvent()};window.addEventListener(t,n,{passive:!0}),e.eventListeners.push({target:window,event:t,handler:n,options:{passive:!0}})});var t=function(){e.recordChangeEvent()};if(document.addEventListener(`selectionchange`,t),e.eventListeners.push({target:document,event:`selectionchange`,handler:t}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){e.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,yL)}catch(e){Y.critical(`Error while setting up mutation observer`,e)}if(window.customElements)try{this.shadowDOMObserver=new mL(function(){e.recordChangeEvent()},yL),this.shadowDOMObserver.start()}catch(e){Y.critical(`Error while setting up shadow DOM observer`,e),this.shadowDOMObserver=null}}},bL.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&=(clearTimeout(this.processingTimeout),null);for(var e=0;e<this.eventListeners.length;e++){var t=this.eventListeners[e];try{t.target.removeEventListener(t.event,t.handler,t.options)}catch(e){Y.critical(`Error while removing event listener`,e)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(e){Y.critical(`Error while disconnecting mutation observer`,e)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(e){Y.critical(`Error while stopping shadow DOM observer`,e)}this.shadowDOMObserver=null}}};var xL=`autocapture`,SL=`track_pageview`,CL=`full-url`,wL=`url-with-path-and-query-string`,TL=`url-with-path`,EL=`allow_element_callback`,DL=`allow_selectors`,OL=`allow_url_regexes`,kL=`block_attrs`,AL=`block_element_callback`,jL=`block_selectors`,ML=`block_url_regexes`,NL=`capture_extra_attrs`,PL=`capture_text_content`,FL=`scroll_capture_all`,IL=`scroll_depth_percent_checkpoints`,LL=`click`,RL=`dead_click`,zL=`input`,BL=`pageview`,VL=`rage_click`,HL=`scroll`,UL=`page_leave`,WL=`submit`,GL={};GL[DL]=[],GL[OL]=[],GL[kL]=[],GL[AL]=null,GL[jL]=[],GL[ML]=[],GL[NL]=[],GL[PL]=!1,GL[FL]=!1,GL[IL]=[25,50,75,100],GL[LL]=!0,GL[RL]=!0,GL[zL]=!0,GL[BL]=CL,GL[VL]=!0,GL[HL]=!0,GL[UL]=!1,GL[WL]=!0;var KL={$mp_autocapture:!0},qL=`$mp_click`,JL=`$mp_dead_click`,YL=`$mp_input_change`,XL=`$mp_rage_click`,ZL=`$mp_scroll`,QL=`$mp_submit`,$L=`$mp_page_leave`,eR=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};eR.prototype.init=function(){if(!QI()){Y.critical(`Autocapture unavailable: missing required DOM APIs`);return}this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking()},eR.prototype.getFullConfig=function(){var e=this.mp.get_config(xL);return e?q.isObject(e)?q.extend({},GL,e):GL:{}},eR.prototype.getConfig=function(e){return this.getFullConfig()[e]},eR.prototype.currentUrlBlocked=function(){var e,t=q.info.currentUrl(),n=this.getConfig(OL)||[];if(n.length){var r=!1;for(e=0;e<n.length;e++){var i=n[e];try{if(t.match(i)){r=!0;break}}catch(e){return Y.critical(`Error while checking block URL regex: `+i,e),!0}}if(!r)return!0}var a=this.getConfig(ML)||[];if(!a||!a.length)return!1;for(e=0;e<a.length;e++)try{if(t.match(a[e]))return!0}catch(t){return Y.critical(`Error while checking block URL regex: `+a[e],t),!0}return!1},eR.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(xL)?this.getConfig(BL):this.mp.get_config(SL)},eR.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var n=this.mp.is_recording_heatmap_data()&&(t===qL&&!this.getConfig(LL)||t===XL&&!this._getClickTrackingConfig(VL)||t===JL&&!this._getClickTrackingConfig(RL)),r=WI(e,{allowElementCallback:this.getConfig(EL),allowSelectors:this.getConfig(DL),blockAttrs:this.getConfig(kL),blockElementCallback:this.getConfig(AL),blockSelectors:this.getConfig(jL),captureExtraAttrs:this.getConfig(NL),captureTextContent:this.getConfig(PL),captured
81ForHeatMap:n});r&&(q.extend(r,KL),this.mp.track(t,r))}},eR.prototype.initPageListeners=function(){if(N.removeEventListener(CI,this.listenerPopstate),N.removeEventListener(yI,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(UL)&&!this.mp.get_config(`record_heatmap_data`))){this.listenerPopstate=function(){N.dispatchEvent(new Event(SI))},this.listenerHashchange=function(){N.dispatchEvent(new Event(SI))},N.addEventListener(CI,this.listenerPopstate),N.addEventListener(yI,this.listenerHashchange);var e=N.history.pushState;typeof e==`function`&&(N.history.pushState=function(t,n,r){e.call(N.history,t,n,r),N.dispatchEvent(new Event(SI))});var t=N.history.replaceState;typeof t==`function`&&(N.history.replaceState=function(e,n,r){t.call(N.history,e,n,r),N.dispatchEvent(new Event(SI))})}},eR.prototype._getClickTrackingConfig=function(e){var t=this.getConfig(e);return t?t===!0?{}:typeof t==`object`?t:{}:null},eR.prototype._trackPageLeave=function(e,t,n){if(!this.hasTrackedScrollSession&&!(!this.getConfig(UL)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var r=Math.max(K.documentElement.clientHeight,N.innerHeight||0),i=Math.round(Math.max(this.maxScrollViewDepth-r,0)/(n-r)*100),a=Math.round(r/n*100);n<=r&&(i=100,a=100);var o=q.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:i,$fold_line_percentage:a,$scroll_height:n,$event_type:e.type,$current_url:t||q.info.currentUrl(),$viewportHeight:r,$viewportWidth:Math.max(K.documentElement.clientWidth,N.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},KL);this.mp.track($L,o,{transport:`sendBeacon`})}},eR.prototype._initScrollDepthTracking=function(){if(N.removeEventListener(TI,this.listenerScrollDepth),N.removeEventListener(wI,this.listenerScrollDepth),this.mp.get_config(`record_heatmap_data`)){Y.log(`Initializing scroll depth tracking`),this.maxScrollViewDepth=Math.max(K.documentElement.clientHeight,N.innerHeight||0);var e=rL(function(){if(!this.currentUrlBlocked()){var e=Math.max(K.documentElement.clientHeight,N.innerHeight||0)+N.scrollY;e>this.maxScrollViewDepth&&(this.maxScrollViewDepth=e),this.previousScrollHeight=K.body.scrollHeight}}.bind(this));this.listenerScrollDepth=e.listener,N.addEventListener(e.eventType,this.listenerScrollDepth)}},eR.prototype.initClickTracking=function(){N.removeEventListener(vI,this.listenerClick),!(!this.getConfig(LL)&&!this.mp.get_config(`record_heatmap_data`))&&(Y.log(`Initializing click tracking`),this.listenerClick=function(e){!this.getConfig(LL)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(e,qL)}.bind(this),N.addEventListener(vI,this.listenerClick))},eR.prototype.initDeadClickTracking=function(){if(!this._getClickTrackingConfig(RL)&&!this.mp.get_config(`record_heatmap_data`)){this.stopDeadClickTracking();return}Y.log(`Initializing dead click tracking`),this._deadClickTracker||(this._deadClickTracker=new bL(function(e){this.trackDomEvent(e,JL)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(e){var t=this._getClickTrackingConfig(RL);if(!(!t&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var n=t||{};n.timeout_ms||=hL,this._deadClickTracker.trackClick(e,n)}}.bind(this),N.addEventListener(vI,this.listenerDeadClick))},eR.prototype.initInputTracking=function(){N.removeEventListener(_I,this.listenerChange),this.getConfig(zL)&&(Y.log(`Initializing input tracking`),this.listenerChange=function(e){this.getConfig(zL)&&this.trackDomEvent(e,YL)}.bind(this),N.addEventListener(_I,this.listenerChange))},eR.prototype.initPageviewTracking=function(){if(N.removeEventListener(SI,this.listenerLocationchange),this.pageviewTrackingConfig()){Y.log(`Initializing pageview tracking`);var e=``,t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(KL)),t&&(e=q.info.currentUrl()),this.listenerLocationchange=oF(function(){if(!this.currentUrlBlocked()){var t=q.info.currentUrl(),n=!1,r=t.split(`#`)[0].split(`?`)[0]!==e.split(`#`)[0].split(`?`)[0],i=this.pageviewTrackingConfig();i===CL?n=t!==e:i===wL?n=t.split(`#`)[0]!==e.split(`#`)[0]:i===TL&&(n=r),n&&(this.mp.track_pageview(KL)&&(e=t),r&&(this.lastScrollCheckpoint=0,Y.log(`Path change: re-initializing scroll depth checkpoints`)))}}.bind(this)),N.addEventListener(SI,this.listenerLocationchange)}},eR.prototype.initRageClickTracking=function(){N.removeEventListener(vI,this.listenerRageClick),!(!this._getClickTrackingConfig(VL)&&!this.mp.get_config(`record_heatmap_data`))&&(Y.log(`Initializing rage click tracking`),this._rageClickTracker||=new pL,this.listenerRageClick=function(e){var t=this._getClickTrackingConfig(VL);!t&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(e,t)&&this.trackDomEvent(e,XL)}.bind(this),N.addEventListener(vI,this.listenerRageClick))},eR.prototype.initScrollTracking=function(){if(N.removeEventListener(wI,this.listenerScroll),N.removeEventListener(TI,this.listenerScroll),this.getConfig(HL)){Y.log(`Initializing scroll tracking`),this.lastScrollCheckpoint=0;var e=rL(function(){if(this.getConfig(HL)&&!this.currentUrlBlocked()){var e=this.getConfig(FL),t=(this.getConfig(IL)||[]).slice().sort(function(e,t){return e-t}
81),n=N.scrollY,r=q.extend({$scroll_top:n},KL);try{var i=K.body.scrollHeight,a=Math.round(n/(i-N.innerHeight)*100);if(r.$scroll_height=i,r.$scroll_percentage=a,a>this.lastScrollCheckpoint)for(var o=0;o<t.length;o++){var s=t[o];a>=s&&this.lastScrollCheckpoint<s&&(r.$scroll_checkpoint=s,this.lastScrollCheckpoint=s,e=!0)}}catch(e){Y.critical(`Error while calculating scroll percentage`,e)}e&&this.mp.track(ZL,r)}}.bind(this));this.listenerScroll=e.listener,N.addEventListener(e.eventType,this.listenerScroll)}},eR.prototype.initSubmitTracking=function(){N.removeEventListener(DI,this.listenerSubmit),this.getConfig(WL)&&(Y.log(`Initializing submit tracking`),this.listenerSubmit=function(e){this.getConfig(WL)&&this.trackDomEvent(e,QL)}.bind(this),N.addEventListener(DI,this.listenerSubmit))},eR.prototype.initPageLeaveTracking=function(){if(K.removeEventListener(kI,this.listenerPageLeaveVisibilitychange),N.removeEventListener(SI,this.listenerPageLeaveLocationchange),N.removeEventListener(xI,this.listenerPageLoad),!(!this.getConfig(UL)&&!this.mp.get_config(`record_heatmap_data`))){Y.log(`Initializing page visibility tracking.`),this._initScrollDepthTracking();var e=q.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=K.body.scrollHeight}.bind(this),N.addEventListener(xI,this.listenerPageLoad),this.listenerPageLeaveLocationchange=oF(function(t){if(!this.currentUrlBlocked()){var n=q.info.currentUrl();n!==e&&(this._trackPageLeave(t,e,this.previousScrollHeight),e=n,this.maxScrollViewDepth=Math.max(K.documentElement.clientHeight,N.innerHeight||0),this.previousScrollHeight=K.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),N.addEventListener(SI,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(t){K.hidden&&this._trackPageLeave(t,e,this.previousScrollHeight)}.bind(this),K.addEventListener(kI,this.listenerPageLeaveVisibilitychange)}},eR.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&=(N.removeEventListener(vI,this.listenerDeadClick),null),this._deadClickTracker&&=(this._deadClickTracker.stopTracking(),null)},sF(eR);var tR=aF(`flags`),nR=`flags`,rR=`context`,iR={};iR[rR]={};var X=function(e){this.fetch=N.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc};X.prototype.init=function(){if(!this.minApisSupported()){tR.critical(`Feature Flags unavailable: missing minimum required APIs`);return}this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set},X.prototype.getFullConfig=function(){var e=this.getMpConfig(nR);return e?q.isObject(e)?q.extend({},iR,e):iR:{}},X.prototype.getConfig=function(e){return this.getFullConfig()[e]},X.prototype.isSystemEnabled=function(){return!!this.getMpConfig(nR)},X.prototype.updateContext=function(e,t){if(!this.isSystemEnabled())return tR.critical(`Feature Flags not enabled, cannot update context`),Promise.resolve();var n=this.getMpConfig(nR);q.isObject(n)||(n={});var r=t&&t.replace?{}:this.getConfig(rR);return n[rR]=q.extend({},r,e),this.setMpConfig(nR,n),this.fetchFlags()},X.prototype.areFlagsReady=function(){return this.isSystemEnabled()||tR.error(`Feature Flags not enabled`),!!this.flags},X.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this.getMpProperty(`distinct_id`),t=this.getMpProperty(`$device_id`),n=bF();tR.log(`Fetching flags for distinct ID: `+e);var r=q.extend({distinct_id:e,device_id:t},this.getConfig(rR)),i=new URLSearchParams;i.set(`context`,JSON.stringify(r)),i.set(`token`,this.getMpConfig(`token`)),i.set(`mp_lib`,`web`),i.set(`$lib_version`,RP.LIB_VERSION);var a=this.getFullApiRoute()+`?`+i.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(N,a,{method:`GET`,headers:{Authorization:`Basic `+btoa(this.getMpConfig(`token`)+`:`),traceparent:n}}).then(function(e){return this.markFetchComplete(),e.json().then(function(e){var t=e.flags;if(!t)throw Error(`No flags in API response`);var r=new Map;q.each(t,function(e,t){r.set(t,{key:e.variant_key,value:e.variant_value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester})}),this.flags=r,this._traceparent=n}.bind(this)).catch(function(e){this.markFetchComplete(),tR.error(e)}.bind(this))}.bind(this)).catch(function(e){this.markFetchComplete(),tR.error(e)}.bind(this)),this.fetchPromise},X.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){tR.error(`Fetch in progress started time not set, cannot mark fetch complete`);return}this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null},X.prototype.getVariant=function(e,t){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(e,t)}.bind(this)).catch(function(e){return tR.error(e),t}):new Promise(function(e){tR.critical(`Feature Flags not initialized`),e(t)})},X.prototype.getVariantSync=function(e,t){if(!this.areFlagsReady())return tR.log(`Flags not loaded yet`),t;var n=this.flags.get(e);return n?(this.trackFeatureCheck(e,n),n):(tR.log(`No flag found: "`+e+`"`),t)},X.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return tR.error(e),t})},X.prototype.getFeatureData=function(e,t){return tR.critical(`mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value(
81) instead.`),this.getVariantValue(e,t)},X.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},X.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch(function(e){return tR.error(e),t})},X.prototype.isEnabledSync=function(e,t){t||=!1;var n=this.getVariantValueSync(e,t);return n!==!0&&n!==!1&&(tR.error(`Feature flag "`+e+`" value: `+n+` is not a boolean; returning fallback value: `+t),n=t),n},X.prototype.trackFeatureCheck=function(e,t){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var n={"Experiment name":e,"Variant name":t.key,$experiment_type:`feature_flag`,"Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};t.experiment_id!==`undefined`&&(n.$experiment_id=t.experiment_id),t.is_experiment_active!==`undefined`&&(n.$is_experiment_active=t.is_experiment_active),t.is_qa_tester!==`undefined`&&(n.$is_qa_tester=t.is_qa_tester),this.track(`$experiment_started`,n)}},X.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<`u`&&typeof Map<`u`&&typeof Set<`u`},sF(X),X.prototype.are_flags_ready=X.prototype.areFlagsReady,X.prototype.get_variant=X.prototype.getVariant,X.prototype.get_variant_sync=X.prototype.getVariantSync,X.prototype.get_variant_value=X.prototype.getVariantValue,X.prototype.get_variant_value_sync=X.prototype.getVariantValueSync,X.prototype.is_enabled=X.prototype.isEnabled,X.prototype.is_enabled_sync=X.prototype.isEnabledSync,X.prototype.update_context=X.prototype.updateContext,X.prototype.get_feature_data=X.prototype.getFeatureData;var aR=function(){};aR.prototype.create_properties=function(){},aR.prototype.event_handler=function(){},aR.prototype.after_track_handler=function(){},aR.prototype.init=function(e){return this.mp=e,this},aR.prototype.track=function(e,t,n,r){var i=this,a=q.dom_query(e);if(a.length===0){J.error(`The DOM query (`+e+`) returned 0 elements`);return}return q.each(a,function(e){q.register_event(e,this.override_event,function(e){var a={},o=i.create_properties(n,this),s=i.mp.get_config(`track_links_timeout`);i.event_handler(e,this,a),window.setTimeout(i.track_callback(r,o,a,!0),s),i.mp.track(t,o,i.track_callback(r,o,a))})},this),!0},aR.prototype.track_callback=function(e,t,n,r){r||=!1;var i=this;return function(){n.callback_fired||(n.callback_fired=!0,!(e&&e(r,t)===!1)&&i.after_track_handler(t,n,r))}},aR.prototype.create_properties=function(e,t){return typeof e==`function`?e(t):q.extend({},e)};var oR=function(){this.override_event=`click`};q.inherit(oR,aR),oR.prototype.create_properties=function(e,t){var n=oR.superclass.create_properties.apply(this,arguments);return t.href&&(n.url=t.href),n},oR.prototype.event_handler=function(e,t,n){n.new_tab=e.which===2||e.metaKey||e.ctrlKey||t.target===`_blank`,n.href=t.href,n.new_tab||e.preventDefault()},oR.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var sR=function(){this.override_event=`submit`};q.inherit(sR,aR),sR.prototype.event_handler=function(e,t,n){n.element=t,e.preventDefault()},sR.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var cR=`$set`,lR=`$set_once`,uR=`$unset`,dR=`$add`,fR=`$append`,pR=`$union`,mR=`$remove`,hR=`$delete`,gR={set_action:function(e,t){var n={},r={};return q.isObject(e)?q.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[cR]=r,n},unset_action:function(e){var t={},n=[];return q.isArray(e)||(e=[e]),q.each(e,function(e){this._is_reserved_property(e)||n.push(e)},this),t[uR]=n,t},set_once_action:function(e,t){var n={},r={};return q.isObject(e)?q.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[lR]=r,n},union_action:function(e,t){var n={},r={};return q.isObject(e)?q.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=q.isArray(e)?e:[e])},this):r[e]=q.isArray(t)?t:[t],n[pR]=r,n},append_action:function(e,t){var n={},r={};return q.isObject(e)?q.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[fR]=r,n},remove_action:function(e,t){var n={},r={};return q.isObject(e)?q.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[mR]=r,n},delete_action:function(){var e={};return e[hR]=``,e}},_R=function(){};q.extend(_R.prototype,gR),_R.prototype._init=function(e,t,n){this._mixpanel=e,this._group_key=t,this._group_id=n},_R.prototype.set=HF(function(e,t,n){var r=this.set_action(e,t);
vendor: 10,969 bytes, line 81
81return q.isObject(e)&&(n=t),this._send_request(r,n)}),_R.prototype.set_once=HF(function(e,t,n){var r=this.set_once_action(e,t);return q.isObject(e)&&(n=t),this._send_request(r,n)}),_R.prototype.unset=HF(function(e,t){var n=this.unset_action(e);return this._send_request(n,t)}),_R.prototype.union=HF(function(e,t,n){q.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)}),_R.prototype.delete=HF(function(e){var t=this.delete_action();return this._send_request(t,e)}),_R.prototype.remove=HF(function(e,t,n){var r=this.remove_action(e,t);return this._send_request(r,n)}),_R.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config(`token`);var n=q.encodeDates(e);return this._mixpanel._track_or_batch({type:`groups`,data:n,endpoint:this._mixpanel.get_api_host(`groups`)+`/`+this._get_config(`api_routes`).groups,batcher:this._mixpanel.request_batchers.groups},t)},_R.prototype._is_reserved_property=function(e){return e===`$group_key`||e===`$group_id`},_R.prototype._get_config=function(e){return this._mixpanel.get_config(e)},_R.prototype.toString=function(){return this._mixpanel.toString()+`.group.`+this._group_key+`.`+this._group_id},_R.prototype.remove=_R.prototype.remove,_R.prototype.set=_R.prototype.set,_R.prototype.set_once=_R.prototype.set_once,_R.prototype.union=_R.prototype.union,_R.prototype.unset=_R.prototype.unset,_R.prototype.toString=_R.prototype.toString;var Z=function(){};q.extend(Z.prototype,gR),Z.prototype._init=function(e){this._mixpanel=e},Z.prototype.set=VF(function(e,t,n){var r=this.set_action(e,t);return q.isObject(e)&&(n=t),this._get_config(`save_referrer`)&&this._mixpanel.persistence.update_referrer_info(document.referrer),r[cR]=q.extend({},q.info.people_properties(),r[cR]),this._send_request(r,n)}),Z.prototype.set_once=VF(function(e,t,n){var r=this.set_once_action(e,t);return q.isObject(e)&&(n=t),this._send_request(r,n)}),Z.prototype.unset=VF(function(e,t){var n=this.unset_action(e);return this._send_request(n,t)}),Z.prototype.increment=VF(function(e,t,n){var r={},i={};return q.isObject(e)?(q.each(e,function(e,t){if(!this._is_reserved_property(t))if(isNaN(parseFloat(e))){J.error(`Invalid increment value passed to mixpanel.people.increment - must be a number`);return}else i[t]=e},this),n=t):(q.isUndefined(t)&&(t=1),i[e]=t),r[dR]=i,this._send_request(r,n)}),Z.prototype.append=VF(function(e,t,n){q.isObject(e)&&(n=t);var r=this.append_action(e,t);return this._send_request(r,n)}),Z.prototype.remove=VF(function(e,t,n){q.isObject(e)&&(n=t);var r=this.remove_action(e,t);return this._send_request(r,n)}),Z.prototype.union=VF(function(e,t,n){q.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)}),Z.prototype.track_charge=VF(function(){J.error(`mixpanel.people.track_charge() is deprecated and no longer has any effect.`)}),Z.prototype.clear_charges=function(e){return this.set(`$transactions`,[],e)},Z.prototype.delete_user=function(){if(!this._identify_called()){J.error(`mixpanel.people.delete_user() requires you to call identify() first`);return}var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)},Z.prototype.toString=function(){return this._mixpanel.toString()+`.people`},Z.prototype._send_request=function(e,t){e.$token=this._get_config(`token`),e.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property(`$device_id`),r=this._mixpanel.get_property(`$user_id`),i=this._mixpanel.get_property(`$had_persisted_distinct_id`);n&&(e.$device_id=n),r&&(e.$user_id=r),i&&(e.$had_persisted_distinct_id=i);var a=q.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:`people`,data:a,endpoint:this._mixpanel.get_api_host(`people`)+`/`+this._get_config(`api_routes`).engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),q.isUndefined(t)||(this._get_config(`verbose`)?t({status:-1,error:null}):t(-1)),q.truncate(a,255))},Z.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Z.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0},Z.prototype._enqueue=function(e){cR in e?this._mixpanel.persistence._add_to_people_queue(cR,e):lR in e?this._mixpanel.persistence._add_to_people_queue(lR,e):uR in e?this._mixpanel.persistence._add_to_people_queue(uR,e):dR in e?this._mixpanel.persistence._add_to_people_queue(dR,e):fR in e?this._mixpanel.persistence._add_to_people_queue(fR,e):mR in e?this._mixpanel.persistence._add_to_people_queue(mR,e):pR in e?this._mixpanel.persistence._add_to_people_queue(pR,e):J.error(`Invalid call to _enqueue():`,e)},Z.prototype._flush_one_queue=function(e,t,n,r){var i=this,a=q.extend({},this._mixpanel.persistence.load_queue(e)),o=a;!q.isUndefined(a)&&q.isObject(a)&&!q.isEmptyObject(a)&&(i._mixpanel.persistence._pop_from_people_queue(e,a),i._mixpanel.persistence.save(),r&&(o=r(a)),t.call(i,o,function(t,r){t===0&&i._mixpanel.persistence._add_to_people_queue(e,a),q.isUndefined(n)||n(t,r)}))},Z.prototype._flush=function(e,t,n,r,i,a,o){var s=this;this._flush_one_queue(cR,this.set,e),this._flush_one_queue(lR,this.set_once,r),this._flush_one_queue(uR,this.unset,a,function(e){return q.keys(e)}),this._flush_one_queue(dR,this.increment,t),this._flush_one_queue(pR,this.union,i);var c=this._mixpanel.persistence.load_queue(fR);if(!q.isUndefined(c)&&q.isArray(c)&&c.length)for(var l,u=function(e,t){e===0&&s._mixpanel.persistence._add_to_people_queue(fR,l),q.isUndefined(n)||n(e,t)},d=c.length-1;d>=0;d--)c=this._mixpanel.persistence.load_queue(fR),l=c.pop(),s._mixpanel.persistence.save(),q.isEmptyObject(l)||s.append(l,u);var f=this._mixpanel.persistence.load_queue(mR);if(!q.isUndefined(f)&&q.isArray(f)&&f.length)for(var p,m=function(e,t){e===0&&s._mixpanel.persistence._add_to_people_queue(mR,p),q.isUndefined(o)||o(e,t)},h=f.length-1;h>=0;h--)f=this._mixpanel.persistence.load_queue(mR),p=f.pop(),s._mixpanel.persistence.save(),q.isEmptyObject(p)||s.remove(p,m)},Z.prototype._is_reserved_property=function(e){return e===`$distinct_id`||e===`$token`||e===`$device_id`||e===`$user_id`||e===`$had_persisted_distinct_id`},Z.prototype.set=Z.prototype.set,Z.prototype.set_once=Z.prototype.set_once,Z.prototype.unset=Z.prototype.unset,Z.prototype.increment=Z.prototype.increment,Z.prototype.append=Z.prototype.append,Z.prototype.remove=Z.prototype.remove,Z.prototype.union=Z.prototype.union,Z.prototype.track_charge=Z.prototype.track_charge,Z.prototype.clear_charges=Z.prototype.clear_charges,Z.prototype.delete_user=Z.prototype.delete_user,Z.prototype.toString=Z.prototype.toString;var vR=`__mps`,yR=`__mpso`,bR=`__mpus`,xR=`__mpa`,SR=`__mpap`,CR=`__mpr`,wR=`__mpu`,TR=`$people_distinct_id`,ER=`__alias`,DR=`__timers`,OR=[vR,yR,bR,xR,SR,CR,wR,TR,ER,DR],Q=function(e){this.props={},this.campaign_params_saved=!1,this.name=e.persistence_name?`mp_`+e.persistence_name:`mp_`+e.token+`_mixpanel`;var t=e.persistence;t!==`cookie`&&t!==`localStorage`&&(J.critical(`Unknown persistence type `+t+`; falling back to cookie`),t=e.persistence=`cookie`),this.storage=t===`localStorage`&&q.localStorage.is_supported()?q.localStorage:q.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Q.prototype.properties=function(){var e={};return this.load(),q.each(this.props,function(t,n){q.include(OR,n)||(e[n]=t)}),e},Q.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=q.extend({},e))}},Q.prototype.upgrade=function(){var e,t;this.storage===q.localStorage?(e=q.cookie.parse(this.name),q.cookie.remove(this.name),q.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===q.cookie&&(t=q.localStorage.parse(this.name),q.localStorage.remove(this.name),t&&this.register_once(t))},Q.prototype.save=function(){this.disabled||this.storage.set(this.name,EF(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Q.prototype.load_prop=function(e){return this.load(),this.props[e]},Q.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Q.prototype.clear=function(){this.remove(),this.props={}},Q.prototype.register_once=function(e,t,n){return q.isObject(e)?(t===void 0&&(t=`None`),this.expire_days=n===void 0?this.default_expiry:n,this.load(),q.each(e,function(e,n){(!this.props.hasOwnProperty(n)||this.props[n]===t)&&(this.props[n]=e)},this),this.save(),!0):!1},Q.prototype.register=function(e,t){return q.isObject(e)?(this.expire_days=t===void 0?this.default_expiry:t,this.load(),q.extend(this.props,e),this.save(),!0):!1},Q.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Q.prototype.update_search_keyword=function(e){this.register(q.info.searchInfo(e))},Q.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||`$direct`,$initial_referring_domain:q.info.referringDomain(e)||`$direct`},``)},Q.prototype.get_referrer_info=function(){return q.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Q.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},Q.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Q.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Q.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Q.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Q.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Q.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Q.prototype._add_to_people_queue=function(e,t){var n=this._get_queue_key(e),r=t[e],i=this._get_or_create_queue(cR),a=this._get_or_create_queue(lR),o=this._get_or_create_queue(uR),s=this._get_or_create_queue(dR),c=this._get_or_create_queue(pR),l=this._get_or_create_queue(mR,[]),u=this._get_or_create_queue(fR,[]);n===vR?(q.extend(i,r),this._pop_from_people_queue(dR,r),this._pop_from_people_queue(pR,r),this._pop_from_people_queue(uR,r)):n===yR?(q.each(r,function(e,t){t in a||(a[t]=e)}),this._pop_from_people_queue(uR,r)):n===bR?q.each(r,function(e){q.each([i,a,s,c],function(t){e in t&&delete t[e]}),q.each(u,function(t){e in t&&delete t[e]}),o[e]=!0}):n===xR?(q.each(r,function(e,t){t in i?i[t]+=e:(t in s||(s[t]=0),s[t]+=e)},this),this._pop_from_people_queue(uR,r)):n===wR?(q.each(r,function(e,t){q.isArray(e)&&(t in c||(c[t]=[]),q.each(e,function(e){q.include(c[t],e)||c[t].push(e)}))}
81),this._pop_from_people_queue(uR,r)):n===CR?(l.push(r),this._pop_from_people_queue(fR,r)):n===SR&&(u.push(r),this._pop_from_people_queue(uR,r)),J.log(`MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):`),J.log(t),this.save()},Q.prototype._pop_from_people_queue=function(e,t){var n=this.props[this._get_queue_key(e)];q.isUndefined(n)||q.each(t,function(t,r){e===fR||e===mR?q.each(n,function(e){e[r]===t&&delete e[r]}):delete n[r]},this)},Q.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Q.prototype._get_queue_key=function(e){if(e===cR)return vR;if(e===lR)return yR;if(e===uR)return bR;if(e===dR)return xR;if(e===fR)return SR;if(e===mR)return CR;if(e===pR)return wR;J.error(`Invalid queue:`,e)},Q.prototype._get_or_create_queue=function(e,t){var n=this._get_queue_key(e);return t=q.isUndefined(t)?{}:t,this.props[n]||(this.props[n]=t)},Q.prototype.set_event_timer=function(e,t){var n=this.load_prop(DR)||{};n[e]=t,this.props[DR]=n,this.save()},Q.prototype.remove_event_timer=function(e){var t=(this.load_prop(DR)||{})[e];return q.isUndefined(t)||(delete this.props[DR][e],this.save()),t};var kR,AR=function(e,t){throw Error(e+` not available in this build.`)},jR,MR=0,NR=1,PR=`mixpanel`,FR=`base64`,IR=`json`,LR=`$device:`,RR=N.XMLHttpRequest&&`withCredentials`in new XMLHttpRequest,zR=!RR&&ZP.indexOf(`MSIE`)===-1&&ZP.indexOf(`Mozilla`)===-1,BR=null;JP.sendBeacon&&(BR=function(){return JP.sendBeacon.apply(JP,arguments)});var VR={track:`track/`,engage:`engage/`,groups:`groups/`,record:`record/`,flags:`flags/`},HR={api_host:`https://api-js.mixpanel.com`,api_hosts:{},api_routes:VR,api_extra_query_params:{},api_method:`POST`,api_transport:`XHR`,api_payload_format:FR,app_host:`https://mixpanel.com`,autocapture:!1,cdn:`https://cdn.mxpnl.com`,cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:TF,flags:!1,persistence:`cookie`,persistence_name:``,cookie_domain:``,cookie_name:``,loaded:TF,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:`localStorage`,opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:RegExp(`^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$`),record_block_selector:`img, video, audio`,record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,record_idle_timeout_ms:18e5,record_mask_text_class:RegExp(`^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$`),record_mask_text_selector:`*`,record_max_ms:zP,record_min_ms:0,record_sessions_percent:0,recorder_src:`https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js`},UR=!1,$=function(){},WR=function(e,t,n){var r,i=n===PR?jR:jR[n];if(i&&kR===MR)r=i;else{if(i&&!q.isArray(i)){J.error(`You have already initialized `+n);return}r=new $}if(r._cached_groups={},r._init(e,t,n),r.people=new Z,r.people._init(r),!r.get_config(`skip_first_touch_marketing`)){var a=q.info.campaignParams(null),o={},s=!1;q.each(a,function(e,t){o[`initial_`+t]=e,e&&(s=!0)}),s&&r.people.set_once(o)}RP.DEBUG=RP.DEBUG||r.get_config(`debug`);var c=kR===MR?`module`:`snippet`;return N.dispatchEvent(new N.CustomEvent(`$mp_sdk_to_extension_event`,{detail:{instance:r,source:c,token:e,name:n,info:q.info}})),!q.isUndefined(i)&&q.isArray(i)&&(r._execute_array.call(r.people,i.people),r._execute_array(i)),r};$.prototype.init=function(e,t,n){if(q.isUndefined(n)){this.report_error(`You must name your new library: init(token, config, name)`);return}if(n===PR){this.report_error(`You must initialize the main mixpanel object right after you include the Mixpanel js snippet`);return}var r=WR(e,t,n);return jR[n]=r,r._loaded(),r},$.prototype._init=function(e,t,n){t||={},this.__loaded=!0,this.config={};var r={};if(`api_payload_format`in t||(t.api_host||HR.api_host).match(/\.mixpanel\.com/)&&(r.a
81pi_payload_format=IR),this.hooks={},this.set_config(q.extend({},HR,r,t,{name:n,token:e,callback_fn:(n===PR?n:PR+`.`+n)+`._jsc`})),this._jsc=TF,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config(`batch_requests`),this._batch_requests){if(!q.localStorage.is_supported(!0)||!RR)this._batch_requests=!1,J.log(`Turning off Mixpanel request-queueing; needs XHR and localStorage support`),q.each(this.get_batcher_configs(),function(e){J.log(`Clearing batch queue `+e.queue_key),q.localStorage.remove(e.queue_key)});else if(this.init_batchers(),BR&&N.addEventListener){var i=q.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);N.addEventListener(`pagehide`,function(e){e.persisted&&i()}),N.addEventListener(`visibilitychange`,function(){K.visibilityState===`hidden`&&i()})}}this.persistence=this.cookie=new Q(this.config),this.unpersisted_superprops={},this._gdpr_init();var a=q.UUID();this.get_distinct_id()||this.register_once({distinct_id:LR+a,$device_id:a},``),this.flags=new X({getFullApiRoute:q.bind(function(){return this.get_api_host(`flags`)+`/`+this.get_config(`api_routes`).flags},this),getConfigFunc:q.bind(this.get_config,this),setConfigFunc:q.bind(this.set_config,this),getPropertyFunc:q.bind(this.get_property,this),trackingFunc:q.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new eR(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()},$.prototype._init_tab_id=function(){if(this.get_config(`disable_persistence`))J.log(`Tab ID initialization skipped due to disable_persistence config`);else if(q.sessionStorage.is_supported())try{var e=this.get_config(`name`)+`_`+this.get_config(`token`),t=`mp_tab_id_`+e,n=`mp_gen_new_tab_id_`+e;(q.sessionStorage.get(n)||!q.sessionStorage.get(t))&&q.sessionStorage.set(t,`$tab-`+q.UUID()),q.sessionStorage.set(n,`1`),this.tab_id=q.sessionStorage.get(t),N.addEventListener(`beforeunload`,function(){q.sessionStorage.remove(n)})}catch(e){this.report_error(`Error initializing tab id`,e)}else this.report_error(`Session storage is not supported, cannot keep track of unique tab ID.`)},$.prototype.get_tab_id=function(){return this.tab_id||null},$.prototype._should_load_recorder=function(){if(this.get_config(`disable_persistence`))return J.log(`Load recorder check skipped due to disable_persistence config`),Promise.resolve(!1);var e=new PF(jF),t=this.get_tab_id();return e.init().then(function(){return e.getAll()}).then(function(e){for(var n=0;n<e.length;n++)if(oI(e[n])||e[n].tabId===t)return!0;return!1}).catch(q.bind(function(e){this.report_error(`Error checking recording registry`,e)},this))},$.prototype._check_and_start_session_recording=BF(function(e){if(!N.MutationObserver){J.critical(`Browser does not support MutationObserver; skipping session recording`);return}var t=q.bind(function(e){var t=q.bind(function(){this._recorder=this._recorder||new N.__mp_recorder(this),this._recorder.resumeRecording(e)},this);q.isUndefined(N.__mp_recorder)?AR(this.get_config(`recorder_src`),t):t()},this),n=this.get_config(`record_sessions_percent`)>0&&Math.random()*100<=this.get_config(`record_sessions_percent`);e||n?t(!0):this._should_load_recorder().then(function(e){e&&t(!1)})}),$.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)},$.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()},$.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()},$.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()},$.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config(`record_heatmap_data`)},$.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},$.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();return t&&(e=`https://mixpanel.com/projects/replay-redirect?`+q.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config(`token`)})),e},$.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},$.prototype.__get_recorder=function(){return this._recorder},$.prototype._loaded=function(){if(this.get_config(`loaded`)(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config(`store_google`)&&this.get_config(`stop_utm_persistence`)){var e=q.info.campaignParams(null);q.each(e,function(e,t){this.unregister(t)}.bind(this))}},$.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(K.referrer),this.get_config(`store_google`)&&!this.get_config(`stop_utm_persistence`)&&this.register(q.info.campaignParams()),this.get_config(`save_referrer`)&&this.persistence.update_referrer_info(K.referrer)},$.prototype._dom_loaded=function(){q.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||q.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},$.prototype._track_dom=function(e,t){if(this.get_config(`img`))return this.report_error(`You can't use DOM tracking functions with img = true.`),!1;if(!UR)return this.__dom_loaded_queue.push([e,t]),!1;var n=new e().init(this);return n.track.apply(n,t)},$.prototype._prepare_callback=function(e,t){if(q.isUndefined(e))return null;if(RR)return function(n){e(n,t)};var n=this._jsc,r=``+Math.floor(Math.random()*1e8),i=this.get_config(`callback_fn`)+`[`+r+`]`;return n[r]=function(i){delete n[r],e(i,t)},i},$.prototype._send_request=function(e,t,n,r){var i=!0;if(zR)return this.__request_queue.push(arguments),i;var a={method:this.get_config(`api_method`),transport:this.get_config(`api_transport`),verbose
vendor: 18,587 bytes, line 81
81:this.get_config(`verbose`)},o=null;!r&&(q.isFunction(n)||typeof n==`string`)&&(r=n,n=null),n=q.extend(a,n||{}),RR||(n.method=`GET`);var s=n.method===`POST`,c=BR&&s&&n.transport.toLowerCase()===`sendbeacon`,l=n.verbose;t.verbose&&(l=!0),this.get_config(`test`)&&(t.test=1),l&&(t.verbose=1),this.get_config(`img`)&&(t.img=1),RR||(r?t.callback=r:(l||this.get_config(`test`))&&(t.callback=`(function(){})`)),t.ip=+!!this.get_config(`ip`),t._=new Date().getTime().toString(),s&&(o=`data=`+encodeURIComponent(t.data),delete t.data),q.extend(t,this.get_config(`api_extra_query_params`)),e+=`?`+q.HTTPBuildQuery(t);var u=this;if(`img`in t){var d=K.createElement(`img`);d.src=e,K.body.appendChild(d)}else if(c){try{i=BR(e,o)}catch(e){u.report_error(e),i=!1}try{r&&r(+!!i)}catch(e){u.report_error(e)}}else if(RR)try{var f=new XMLHttpRequest;f.open(n.method,e,!0);var p=this.get_config(`xhr_headers`);if(s&&(p[`Content-Type`]=`application/x-www-form-urlencoded`),q.each(p,function(e,t){f.setRequestHeader(t,e)}),n.timeout_ms&&f.timeout!==void 0){f.timeout=n.timeout_ms;var m=new Date().getTime()}f.withCredentials=!0,f.onreadystatechange=function(){if(f.readyState===4)if(f.status===200){if(r)if(l){var e;try{e=q.JSONDecode(f.responseText)}catch(t){if(u.report_error(t),n.ignore_json_errors)e=f.responseText;else return}r(e)}else r(Number(f.responseText))}else{var t=f.timeout&&!f.status&&new Date().getTime()-m>=f.timeout?`timeout`:`Bad HTTP status: `+f.status+` `+f.statusText;if(u.report_error(t),r)if(l){var i=f.responseHeaders||{};r({status:0,httpStatusCode:f.status,error:t,retryAfter:i[`Retry-After`]})}else r(0)}},f.send(o)}catch(e){u.report_error(e),i=!1}else{var h=K.createElement(`script`);h.type=`text/javascript`,h.async=!0,h.defer=!0,h.src=e;var g=K.getElementsByTagName(`script`)[0];g.parentNode.insertBefore(h,g)}return i},$.prototype._execute_array=function(e){var t,n=[],r=[],i=[];q.each(e,function(e){e&&(t=e[0],q.isArray(t)?i.push(e):typeof e==`function`?e.call(this):q.isArray(e)&&t===`alias`?n.push(e):q.isArray(e)&&t.indexOf(`track`)!==-1&&typeof this[t]==`function`?i.push(e):r.push(e))},this);var a=function(e,t){q.each(e,function(e){if(q.isArray(e[0])){var n=t;q.each(e,function(e){n=n[e[0]].apply(n,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};a(n,this),a(r,this),a(i,this)},$.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},$.prototype.get_batcher_configs=function(){var e=`__mpq_`+this.get_config(`token`);return this._batcher_configs=this._batcher_configs||{events:{type:`events`,api_name:`track`,queue_key:e+`_ev`},people:{type:`people`,api_name:`engage`,queue_key:e+`_pp`},groups:{type:`groups`,api_name:`groups`,queue_key:e+`_gr`}},this._batcher_configs},$.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=q.bind(function(e){return new aI(e.queue_key,{libConfig:this.config,errorReporter:this.get_config(`error_reporter`),sendRequestFunc:q.bind(function(t,n,r){var i=this.get_config(`api_routes`);this._send_request(this.get_api_host(e.api_name)+`/`+i[e.api_name],this._encode_data_for_request(t),n,this._prepare_callback(r,t))},this),beforeSendHook:q.bind(function(t){var n=this._run_hook(`before_send_`+e.type,t);return n?n[0]:null},this),stopAllBatchingFunc:q.bind(this.stop_batch_senders,this),usePersistence:!0})},this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config(`batch_autostart`)&&this.start_batch_senders()},$.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,q.each(this.request_batchers,function(e){e.start()}))},$.prototype.stop_batch_senders=function(){this._batch_requests=!1,q.each(this.request_batchers,function(e){e.stop(),e.clear()})},$.prototype.push=function(e){this._execute_array([e])},$.prototype.disable=function(e){e===void 0?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},$.prototype._encode_data_for_request=function(e){var t=EF(e);return this.get_config(`api_payload_format`)===FR&&(t=q.base64Encode(t)),{data:t}},$.prototype._track_or_batch=function(e,t){var n=q.truncate(e.data,255),r=e.endpoint,i=e.batcher,a=e.should_send_immediately,o=e.send_request_options||{};t||=TF;var s=!0,c=q.bind(function(){return o.skip_hooks||(n=this._run_hook(`before_send_`+e.type,n),n&&=n[0]),n?(J.log(`MIXPANEL REQUEST:`),J.log(n),this._send_request(r,this._encode_data_for_request(n),o,this._prepare_callback(t,n))):null},this);return this._batch_requests&&!a?i.enqueue(n).then(function(e){e?t(1,n):c()}):s=c(),s&&n},$.prototype.track=BF(function(e,t,n,r){var i;if(!(n&&n.skip_hooks)){if(i=this._run_hook(`before_track`,e,t),i===null)return;e=i[0],t=i[1]}!r&&typeof n==`function`&&(r=n,n=null),n||={};var a=n.transport;a&&(n.transport=a);var o=n.send_immediately;if(typeof r!=`function`&&(r=TF),q.isUndefined(e)){this.report_error(`No event name provided to mixpanel.track`);return}if(this._event_is_disabled(e)){r(0);return}t=q.extend({},t),t.token=this.get_config(`token`);var s=this.persistence.remove_event_timer(e);if(!q.isUndefined(s)){var c=new Date().getTime()-s;t.$duration=parseFloat((c/1e3).toFixed(3))}this._set_default_superprops();var l=this.get_config(`track_marketing`)?q.info.marketingParams():{};t=q.extend({},q.info.properties({mp_loader:this.get_config(`mp_loader`)}),l,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var u=this.get_config(`property_blacklist`);q.isArray(u)?q.each(u,function(e){delete t[e]}):this.report_error(`Invalid value for property_blacklist config: `+u);var d={event:e,properties:t};return i=this._track_or_batch({type:`events`,data:d,endpoint:this.get_api_host(`events`)+`/`+this.get_config(`api_routes`).track,batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:n},r),i}),$.prototype.set_group=BF(function(e,t,n){q.isArray(t)||(t=[t]);var r={};return r[e]=t,this.register(r),this.people.set(e,t,n)}),$.prototype.add_group=BF(function(e,t,n){var r=this.get_property(e),i={};return r===void 0?(i[e]=[t],this.register(i)):r.indexOf(t)===-1&&(r.push(t),i[e]=r,this.register(i)),this.people.union(e,t,n)}),$.prototype.remove_group=BF(function(e,t,n){var r=this.get_property(e);if(r!==void 0){var i=r.indexOf(t);i>-1&&(r.splice(i,1),this.register({group_key:r})),r.length===0&&this.unregister(e)}return this.people.remove(e,t,n)}),$.prototype.track_with_groups=BF(function(e,t,n,r){var i=q.extend({},t||{});return q.each(n,function(e,t){e!=null&&(i[t]=e)}),this.track(e,i,r)}),$.prototype._create_map_key=function(e,t){return e+`_`+JSON.stringify(t)},$.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},$.prototype.get_group=function(e,t){var n=this._create_map_key(e,t),r=this._cached_groups[n];return(r===void 0||r._group_key!==e||r._group_id!==t)&&(r=new _R,r._init(this,e,t),this._cached_groups[n]=r),r},$.prototype.track_pageview=BF(function(e,t){typeof e!=`object`&&(e={}),t||={};var n=t.event_name||`$mp_web_page_view`,r=q.extend(q.info.mpPageViewProperties(),q.info.campaignParams(),q.info.clickParams()),i=q.extend({},r,e);return this.track(n,i)}),$.prototype.track_links=function(){return this._track_dom.call(this,oR,arguments)},$.prototype.track_forms=function(){return this._track_dom.call(this,sR,arguments)},$.prototype.time_event=function(e){if(q.isUndefined(e)){this.report_error(`No event name provided to mixpanel.time_event`);return}this._event_is_disabled(e)||this.persistence.set_event_timer(e,new Date().getTime())};var GR={persistent:!0},KR=function(e){var t=q.isObject(e)?e:q.isUndefined(e)?{}:{days:e};return q.extend({},GR,t)};$.prototype.register=function(e,t){var n=this._run_hook(`before_register`,e,t);if(n!==null){e=n[0],t=n[1];var r=KR(t);r.persistent?this.persistence.register(e,r.days):q.extend(this.unpersisted_superprops,e)}},$.prototype.register_once=function(e,t,n){var r=this._run_hook(`before_register_once`,e,t,n);if(r!==null){e=r[0],t=r[1],n=r[2];var i=KR(n);i.persistent?this.persistence.register_once(e,t,i.days):(t===void 0&&(t=`None`),q.each(e,function(e,n){(!this.unpersisted_superprops.hasOwnProperty(n)||this.unpersisted_superprops[n]===t)&&(this.unpersisted_superprops[n]=e)},this))}},$.prototype.unregister=function(e,t){var n=this._run_hook(`before_unregister`,e,t);n!==null&&(e=n[0],t=n[1],t=KR(t),t.persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e])},$.prototype._register_single=function(e,t){var n={};n[e]=t,this.register(n)},$.prototype.identify=function(e,t,n,r,i,a,o,s){var c=this._run_hook(`before_identify`,e);if(c===null)return-1;e=c[0];var l=this.get_distinct_id();if(e&&l!==e){if(typeof e==`string`&&e.indexOf(LR)===0)return this.report_error(`distinct_id cannot have $device: prefix`),-1;this.register({$user_id:e})}if(!this.get_property(`$device_id`)){var u=l;this.register_once({$had_persisted_distinct_id:!0,$device_id:u},``)}e!==l&&e!==this.get_property(ER)&&(this.unregister(ER),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,n,r,i,a,o,s),e!==l&&this.track(`$identify`,{distinct_id:e,$anon_distinct_id:l},{skip_hooks:!0}),e!==l&&this.flags.fetchFlags()},$.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=q.UUID();this.register_once({distinct_id:LR+e,$device_id:e},``),this._check_and_start_session_recording()},$.prototype.get_distinct_id=function(){return this.get_property(`distinct_id`)},$.prototype.alias=function(e,t){if(e===this.get_property(TR))return this.report_error(`Attempting to create alias for existing People user - aborting.`),-2;var n=this;return q.isUndefined(t)&&(t=this.get_distinct_id()),e===t?(this.report_error(`alias matches current distinct_id - skipping api call.`),this.identify(e),-1):(this._register_single(ER,e),this.track(`$create_alias`,{alias:e,distinct_id:t},{skip_hooks:!0},function(){n.identify(e)}))},$.prototype.name_tag=function(e){this._register_single(`mp_name_tag`,e)},$.prototype.set_config=function(e){q.isObject(e)&&(q.extend(this.config,e),e.batch_size&&q.each(this.request_batchers,function(e){e.resetBatchSize()}),this.get_config(`persistence_name`)||(this.config.persistence_name=this.config.cookie_name),this.get_config(`disable_persistence`)||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),RP.DEBUG=RP.DEBUG||this.get_config(`debug`),(`autocapture`in e||`record_heatmap_data`in e)&&this.autocapture&&this.autocapture.init(),q.isObject(e.hooks)&&(this.hooks={},q.each(e.hooks,function(e,t){if(q.isFunction(e))this.hooks[t]=[e];else if(q.isArray(e)){this.hooks[t]=[];for(var n=0;n<e.length;n++)q.isFunction(e[n])||J.critical(`Invalid hook added. Hook is not a function`),this.hooks[t].push(e[n])}else J.critical(`Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.`)},this)))},$.prototype.get_config=function(e){return this.config[e]},$.prototype._run_hook=function(e){var t=WP.call(arguments,1);return q.each(this.hooks[e],function(n){if(t===null)return null;var r=n.apply(this,t);r===void 0?(this.report_error(e+` hook did not return a valid value`),t=null):(q.isArray(r)||(r=[r]),t.splice.apply(t,[0,r.length].concat(r)))},this),t},$.prototype.get_property=function(e){return this.persistence.load_prop([e])},$.prototype.get_api_host=function(e){return this.get_config(`api_hosts`)[e]||this.get_config(`api_host`)},$.prototype.toString=function(){var e=this.get_config(`name`);return e!==PR&&(e=PR+`.`+e),e},$.prototype._event_is_disabled=function(e){return q.isBlockedUA(ZP)||this._flags.disable_all_events||q.include(this.__disabled_events,e)},$.prototype._gdpr_init=function(){this.get_config(`opt_out_tracking_persistence_type`)===`localStorage`&&q.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:`cookie`})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:`cookie`})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:`cookie`,enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config(`opt_out_tracking_by_default`)||q.cookie.get(`mp_optout`))&&(q.cookie.remove(`mp_optout`),this.opt_out_tracking({clear_persistence:this.get_config(`opt_out_persistence_by_default`)}))},$.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else if(e&&e.enable_persistence)t=!1;else return;!this.get_config(`disable_persistence`)&&this.persistence.disabled!==t&&this.persistence.set_disabled(t),t?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},$.prototype._gdpr_call_func=function(e,t){return t=q.extend({track:q.bind(this.track,this),persistence_type:this.get_config(`opt_out_tracking_persistence_type`),cookie_prefix:this.get_config(`opt_out_tracking_cookie_prefix`),cookie_expiration:this.get_config(`cookie_expiration`),cross_site_cookie:this.get_config(`cross_site_cookie`),cross_subdomain_cookie:this.get_config(`cross_subdomain_cookie`),cookie_domain:this.get_config(`cookie_domain`),secure_cookie:this.get_config(`secure_cookie`),ignore_dnt:this.get_config(`ignore_dnt`)},t),q.localStorage.is_supported()||(t.persistence_type=`cookie`),e(this.get_config(`token`),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},$.prototype.opt_in_tracking=function(e){e=q.extend({enable_persistence:!0},e),this._gdpr_call_func(IF,e),this._gdpr_update_persistence(e)},$.prototype.opt_out_tracking=function(e){e=q.extend({clear_persistence:!0,delete_user:!0},e),e.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(LF,e),this._gdpr_update_persistence(e)},$.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(RF,e)},$.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(zF,e)},$.prototype.clear_opt_in_out_tracking=function(e){e=q.extend({enable_persistence:!0},e),this._gdpr_call_func(UF,e),this._gdpr_update_persistence(e)},$.prototype.report_error=function(e,t){J.error.apply(J.error,arguments);try{!t&&!(e instanceof Error)&&(e=Error(e)),this.get_config(`error_reporter`)(e,t)}catch(e){J.error(e)}},$.prototype.add_hook=function(e,t){this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(t)},$.prototype.remove_hook=function(e,t){var n;this.hooks[e]&&(n=this.hooks[e].indexOf(t),n===-1?J.log(`remove_hook failed. Matching hook was not found`):this.hooks[e].splice(n,1))},$.prototype.init=$.prototype.init,$.prototype.reset=$.prototype.reset,$.prototype.disable=$.prototype.disable,$.prototype.time_event=$.prototype.time_event,$.prototype.track=$.prototype.track,$.prototype.track_links=$.prototype.track_links,$.prototype.track_forms=$.prototype.track_forms,$.prototype.track_pageview=$.prototype.track_pageview,$.prototype.register=$.prototype.register,$.prototype.register_once=$.prototype.register_once,$.prototype.unregister=$.prototype.unregister,$.prototype.identify=$.prototype.identify,$.prototype.alias=$.prototype.alias,$.prototype.name_tag=$.prototype.name_tag,$.prototype.set_config=$.prototype.set_config,$.prototype.get_config=$.prototype.get_config,$.prototype.get_api_host=$.prototype.get_api_host,$.prototype.get_property=$.prototype.get_property,$.prototype.get_distinct_id=$.prototype.get_distinct_id,$.prototype.toString=$.prototype.toString,$.prototype.opt_out_tracking=$.prototype.opt_out_tracking,$.prototype.opt_in_tracking=$.prototype.opt_in_tracking,$.prototype.has_opted_out_tracking=$.prototype.has_opted_out_tracking,$.prototype.has_opted_in_tracking=$.prototype.has_opted_in_tracking,$.prototype.clear_opt_in_out_tracking=$.prototype.clear_opt_in_out_tracking,$.prototype.get_group=$.prototype.get_group,$.prototype.set_group=$.prototype.set_group,$.prototype.add_group=$.prototype.add_group,$.prototype.remove_group=$.prototype.remove_group,$.prototype.add_hook=$.prototype.add_hook,$.prototype.remove_hook=$.prototype.remove_hook,$.prototype.track_with_groups=$.prototype.track_with_groups,$.prototype.start_batch_senders=$.prototype.start_batch_senders,$.prototype.stop_batch_senders=$.prototype.stop_batch_senders,$.prototype.start_session_recording=$.prototype.start_session_recording,$.prototype.stop_session_recording=$.prototype.stop_session_recording,$.prototype.pause_session_recording=$.prototype.pause_session_recording,$.prototype.resume_session_recording=$.prototype.resume_session_recording,$.prototype.get_session_recording_properties=$.prototype.get_session_recording_properties,$.prototype.get_session_replay_url=$.prototype.get_session_replay_url,$.prototype.get_tab_id=$.prototype.get_tab_id,$.prototype.DEFAULT_API_ROUTES=VR,$.prototype.__get_recorder=$.prototype.__get_recorder,Q.prototype.properties=Q.prototype.properties,Q.prototype.update_search_keyword=Q.prototype.update_search_keyword,Q.prototype.update_referrer_info=Q.prototype.update_referrer_info,Q.prototype.get_cross_subdomain=Q.prototype.get_cross_subdomain,Q.prototype.clear=Q.prototype.clear;var qR={},JR=function(){q.each(qR,function(e,t){t!==PR&&(jR[t]=e)}),jR._=q},YR=function(){jR.init=function(e,t,n){if(n)return jR[n]||(jR[n]=qR[n]=WR(e,t,n),jR[n]._loaded()),jR[n];var r=jR;qR[PR]?r=qR[PR]:e&&(r=WR(e,t,PR),r._loaded(),qR[PR]=r),jR=r,kR===NR&&(N[PR]=jR),JR()}},XR=function(){function e(){e.done||(e.done=!0,UR=!0,zR=!1,q.each(qR,function(e){e._dom_loaded()}))}function t(){try{K.documentElement.doScroll(`left`)}catch{setTimeout(t,1);return}e()}if(K.addEventListener)K.readyState===`complete`?e():K.addEventListener(`DOMContentLoaded`,e,!1);else if(K.attachEvent){K.attachEvent(`onreadystatechange`,e);var n=!1;try{n=N.frameElement===null}catch{}K.documentElement.doScroll&&n&&t()}q.register_event(N,`load`,e,!0)};function ZR(e){return AR=e,kR=MR,jR=new $,YR(),jR.init(),XR(),jR}function QR(e,t){t()}var $R=ZR(QR);function ez(e){$R.register({platform:Wi(e)})}var tz=m(()=>
81{let e=a(),t=f(),{shopWebviewModeNow:n,isShopWebview:r}=Oi();!t.public.mixpanel?.projectToken||!t.public.mixpanel?.enabled||!t.public.mixpanel?.host||($R.init(t.public.mixpanel?.projectToken,{loaded:function(t){ez(n());let r=e.$growthbook;r&&(r.setAttributes({...r.getAttributes(),id:t.get_distinct_id()}),r.setTrackingCallback((e,t)=>{$R.track(`$experiment_started`,{"Experiment name":e.key,"Variant name":t.variationId,$source:`growthbook`})}))},api_host:t.public.mixpanel?.host}),Ee(r,ez))}),nz=m(()=>{let e=a(),t=f(),n=pn(),{$i18n:r}=e,i=t.public.apiUrl[n];return{provide:{apiFetch:nt.create({baseURL:i,onResponseError:({response:t})=>{t?.status!==404&&e.$notification.error(t?._data?.clientMessage||r.t(`error.something_went_wrong`))}})}}}),rz=class extends Um{constructor(e){super((t,n)=>new Du(r=>{let i,a,o;try{i=n(t).subscribe({next:i=>{let s=t.client.queryManager.incrementalHandler,c=s.isIncrementalResult(i)?s.extractErrors(i):i.errors;c?o=e({error:new _i(i,c),result:i,operation:t,forward:n}):Mg(i)&&(o=e({error:i.extensions[jg],result:i,operation:t,forward:n})),a=o?.subscribe(r),a||r.next(i)},error:i=>{o=e({operation:t,error:Ng(i),forward:n}),a=o?.subscribe(r),a||r.error(i)},complete:()=>{o||r.complete()}})}catch(i){e({error:Ng(i),operation:t,forward:n}),r.error(i)}return()=>{i&&i.unsubscribe(),a&&a.unsubscribe()}}))}};function iz(e){return new az((t,n)=>e(n,t))}var az=class extends Um{constructor(e){super((t,n)=>{let{...r}=t;return Object.defineProperty(r,"client",{enumerable:!1,value:t.client}),new Du(i=>{let a=!1;return Promise.resolve(r).then(n=>e(t.getContext(),n)).then(t.setContext).then(()=>{a||n(t).subscribe(i)}).catch(i.error.bind(i)),()=>{a=!0}})})}},oz=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},sz=function(){function e(e){var t=e.debug,n=t!==void 0&&t;this.debug=n,this.lines=[]}return e.prototype.emit=function(t,n){if(t in console){var r=e.prefix;console[t].apply(console,oz([r],n,!1))}},e.prototype.tailLogs=function(){var e=this;this.lines.forEach(function(t){var n=t[0],r=t[1];return e.emit(n,r)})},e.prototype.getLogs=function(){return this.lines},e.prototype.write=function(t,n){var r=e.buffer;this.lines=oz(oz([],this.lines.slice(1-r),!0),[[t,n]],!1),(this.debug||t!==`log`)&&this.emit(t,n)},e.prototype.info=function(){var e=[...arguments];this.write(`log`,e)},e.prototype.warn=function(){var e=[...arguments];this.write(`warn`,e)},e.prototype.error=function(){var e=[...arguments];this.write(`error`,e)},e.buffer=30,e.prefix=`[apollo-cache-persist]`,e}(),cz=function(){function e(e){var t=e.cache,n=e.serialize,r=n===void 0||n;this.cache=t,this.serialize=r}return e.prototype.extract=function(){var e=this.cache.extract();return this.serialize&&(e=JSON.stringify(e)),e},e.prototype.restore=function(e){this.serialize&&typeof e==`string`&&(e=JSON.parse(e)),e!=null&&this.cache.restore(e)},e}(),lz=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},uz=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(r)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(n=0)),n;)try{if(r=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,i=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1],a=s;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(s);break}a[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e],i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},dz=function(){function e(e){var t=e.storage,n=e.key,r=n===void 0?`apollo-cache-persist`:n;this.storage=t,this.key=r}return e.prototype.read=function(){return lz(this,void 0,void 0,function(){return uz(this,function(e){return[2,this.storage.getItem(this.key)]})})},e.prototype.write=function(e){return lz(this,void 0,void 0,function(){return uz(this,function(t){switch(t.label){case 0:return[4,this.storage.setItem(this.key,e)];case 1:return t.sent(),[2]}})})},e.prototype.purge=function(){return lz(this,void 0,void 0,function(){return uz(this,function(e){switch(e.label){case 0:return[4,this.storage.removeItem(this.key)];case 1:return e.sent(),[2]}})})},e.prototype.getSize=function(){return lz(this,void 0,void 0,function(){var e;return uz(this,function(t){switch(t.label){case 0:return[4,this.storage.getItem(this.key)];case 1:return e=t.sent(),e==null?[2,0]:[2,typeof e==`string`?e.length:null]}})})},e}(),fz=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},pz=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)}
81,typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(r)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(n=0)),n;)try{if(r=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,i=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1],a=s;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(s);break}a[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e],i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},mz=function(){function e(e,t){var n=e.log,r=e.cache,i=e.storage,a=t.maxSize,o=a===void 0?1048576:a,s=t.persistenceMapper;this.log=n,this.cache=r,this.storage=i,this.paused=!1,s&&(this.persistenceMapper=s),o&&(this.maxSize=o)}return e.prototype.persist=function(){return fz(this,void 0,void 0,function(){var e,t;return pz(this,function(n){switch(n.label){case 0:return n.trys.push([0,6,,7]),e=this.cache.extract(),!this.paused&&this.persistenceMapper?[4,this.persistenceMapper(e)]:[3,2];case 1:e=n.sent(),n.label=2;case 2:return this.maxSize!=null&&typeof e==`string`&&e.length>this.maxSize&&!this.paused?[4,this.purge()]:[3,4];case 3:return n.sent(),this.paused=!0,[2];case 4:return this.paused?[2]:[4,this.storage.write(e)];case 5:return n.sent(),this.log.info(typeof e==`string`?`Persisted cache of size ${e.length} characters`:`Persisted cache`),[3,7];case 6:throw t=n.sent(),this.log.error(`Error persisting cache`,t),t;case 7:return[2]}})})},e.prototype.restore=function(){return fz(this,void 0,void 0,function(){var e,t;return pz(this,function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),[4,this.storage.read()];case 1:return e=n.sent(),e==null?[3,3]:[4,this.cache.restore(e)];case 2:return n.sent(),this.log.info(typeof e==`string`?`Restored cache of size ${e.length} characters`:`Restored cache`),[3,4];case 3:this.log.info(`No stored cache to restore`),n.label=4;case 4:return[3,6];case 5:throw t=n.sent(),this.log.error(`Error restoring cache`,t),t;case 6:return[2]}})})},e.prototype.purge=function(){return fz(this,void 0,void 0,function(){var e;return pz(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.storage.purge()];case 1:return t.sent(),this.log.info(`Purged cache storage`),[3,3];case 2:throw e=t.sent(),this.log.error(`Error purging cache storage`,e),e;case 3:return[2]}})})},e}(),hz=(function(e){var t=e.cache;return function(e){var n=t.write,r=t.evict,i=t.modify,a=t.gc;return t.write=function(){var r=[...arguments],i=n.apply(t,r);return e(),i},t.evict=function(){var n=[...arguments],i=r.apply(t,n);return e(),i},t.modify=function(){var n=[...arguments],r=i.apply(t,n);return e(),r},t.gc=function(){var n=[...arguments],r=a.apply(t,n);return e(),r},function(){t.write=n,t.evict=r,t.modify=i,t.gc=a}}}),gz=(function(e){var t=e.log,n=e.cache;return function(e){return t.warn("Trigger option `background` not available on web; using `write` trigger"),hz({cache:n})(e)}}),_z=function(){function e(t,n){var r=t.log,i=t.persistor,a=this;this.fire=function(){if(!a.debounce){a.persist();return}a.timeout!=null&&clearTimeout(a.timeout),a.timeout=setTimeout(a.persist,a.debounce)},this.persist=function(){a.paused||a.persistor.persist()};var o=e.defaultDebounce,s=n.cache,c=n.debounce,l=n.trigger,u=l===void 0?`write`:l;if(u)switch(this.debounce=c??o,this.persistor=i,this.paused=!1,u){case`write`:this.uninstall=hz({cache:s})(this.fire);break;case`background`:c&&r.warn("Debounce is not recommended with `background` trigger"),this.debounce=c,this.uninstall=gz({cache:s,log:r})(this.fire);break;default:if(typeof u==`function`)this.uninstall=u(this.fire);else throw Error(`Unrecognized trigger option: ${u}`)}}return e.prototype.pause=function(){this.paused=!0},e.prototype.resume=function(){this.paused=!1},e.prototype.remove=function(){this.uninstall&&(this.uninstall(),this.uninstall=null,this.paused=!0)},e.defaultDebounce=1e3,e}(),vz=function(){function e(e){if(!e.cache)throw Error(`In order to persist your Apollo Cache, you need to pass in a cache. Please see https://www.apollographql.com/docs/react/basics/caching.html for our default InMemoryCache.`);if(!e.storage)throw Error(`In order to persist your Apollo Cache, you need to pass in an underlying storage provider. Please see https://github.com/apollographql/apollo-cache-persist#storage-providers`);var t=new sz(e),n=new cz(e),r=new dz(e),i=new mz({log:t,cache:n,storage:r},e),a=new _z({log:t,persistor:i},e);this.log=t,this.cache=n,this.storage=r,this.persistor=i,this.trigger=a}return e.prototype.persist=function(){return this.persistor.persist()}
81,e.prototype.restore=function(){return this.persistor.restore()},e.prototype.purge=function(){return this.persistor.purge()},e.prototype.pause=function(){this.trigger.pause()},e.prototype.resume=function(){this.trigger.resume()},e.prototype.remove=function(){this.trigger.remove()},e.prototype.getLogs=function(e){if(e===void 0&&(e=!1),e)this.log.tailLogs();else return this.log.getLogs()},e.prototype.getSize=function(){return this.storage.getSize()},e}(),yz=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})();(function(e){yz(t,e);function t(t){var n=e.call(this,t)||this;return n.storage=new xz(t),n.persistor=new bz({log:n.log,cache:n.cache,storage:n.storage},t),n}return t.prototype.restoreSync=function(){this.persistor.restoreSync()},t})(vz);var bz=function(e){yz(t,e);function t(t,n){var r=t.log,i=t.cache,a=t.storage;return e.call(this,{log:r,cache:i,storage:a},n)||this}return t.prototype.restoreSync=function(){this.cache.restore(this.storage.readSync())},t}(mz),xz=function(e){yz(t,e);function t(t){return e.call(this,t)||this}return t.prototype.readSync=function(){return this.storage.getItem(this.key)},t}(dz);(function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return this.storage.setItem(e,t)},e})(),function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.get(e)},e.prototype.removeItem=function(e){return this.storage.remove(e)},e.prototype.setItem=function(e,t){return this.storage.set(e,t)},e}(),function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){var n=this;return new Promise(function(r,i){n.storage.setItem(e,t).then(function(){return r()}).catch(function(){return i()})})},e}(),function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return t===null?this.removeItem(e):this.storage.setItem(e,t)},e}(),function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)||null},e.prototype.removeItem=function(e){var t=this;return new Promise(function(n,r){Promise.resolve(t.storage.removeItem(e)).then(function(){return n()}).catch(function(){return r()})})},e.prototype.setItem=function(e,t){var n=this;return new Promise(function(r,i){n.storage.setItem(e,t).then(function(){return r()}).catch(function(){return i()})})},e}(),function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getString(e)||null},e.prototype.removeItem=function(e){return this.storage.delete(e)},e.prototype.setItem=function(e,t){return t===null?this.removeItem(e):this.storage.set(e,t)},e}();var Sz=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return t===null?this.removeItem(e):this.storage.setItem(e,t)},e}(),Cz=604800,wz=m(()=>{let e=a(),{isAccountsEnabled:t}=f().public.featureFlags,{isProd:n}=f().public,r=async e=>(await rt(`${e}/rest/api-token`,{method:`GET`,credentials:`include`})).data.token,i,o;return{provide:{initApollo:async(a,s,c)=>{let l=c===void 0?`sv`:c,u=gn(`gql-token-${a}-${s}-${l}`,{maxAge:Cz}),d=e.$config.public.apiUrl[s];i&&(await i.clearStore(),i.stop());let f=u.value,p=iz(async()=>{f||(f=await r(d)||``,u.value=f);let e={Authorization:`Bearer ${f}`};if(t)try{let t=vn(),n=_n();await t.tryLogin(),n.value&&(e[Ki]=`Bearer ${n.value}`)}catch{}return{headers:e}}
81),m=new rz(({error:t,operation:i,forward:a})=>{let o=_i.is(t)?t.errors:void 0,s=o?.[0]?.extensions?.response?.status;if(o&&!n&&o.forEach(({message:e,locations:t,path:n})=>{console.error(`[GraphQL error]: Message: ${e}, Path: ${n}, Location:`,t)}),!o&&!n&&console.error(`[Network error]: ${t}`),s===401)return new Du(e=>{r(d).then(e=>{f=e,u.value=e,i.setContext(({headers:t})=>({headers:{...t,Authorization:e?`Bearer ${e}`:null}}))}).then(()=>{let t={next:e.next.bind(e),error:e.error.bind(e),complete:e.complete.bind(e)};a(i).subscribe(t)}).catch(t=>{e.error(t)})});s===404&&e.$notification.error(o?.[0]?.message||e.$i18n?.t(`error.something_went_wrong`))}),h=new __({uri:`${d}/graphql`,credentials:`include`,headers:{"Content-Type":`application/json`}}),g=new Sg;o=new vz({key:`apollo-cache-${a}-${s}-${l}`,cache:g,storage:new Sz(window.sessionStorage)}),await o.restore(),i=new Zg({cache:g,link:Um.from([p,m,h]),ssrMode:!0})},apollo:()=>i}}}),Tz=m(()=>{let e=ze();e.beforeEach((t,n,r)=>{let i=e.options.history.state;window.userNavigatedBack=n.fullPath===i.forward,r()})}),Ez=n(i(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n||self)[`v-click-outside`]=r()})(e,function(){var e=`__v-click-outside`,t=typeof window<`u`,n=typeof navigator<`u`,r=t&&(`ontouchstart`in window||n&&navigator.msMaxTouchPoints>0)?[`touchstart`]:[`click`],i=function(e){var t=e.event,n=e.handler;(0,e.middleware)(t)&&n(t)},a=function(t,n){var a=function(e){var t=typeof e==`function`;if(!t&&typeof e!=`object`)throw Error(`v-click-outside: Binding value must be a function or an object`);return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||r,isActive:!1!==e.isActive,detectIframe:!1!==e.detectIframe,capture:!!e.capture}}(n.value),o=a.handler,s=a.middleware,c=a.detectIframe,l=a.capture;if(a.isActive){if(t[e]=a.events.map(function(e){return{event:e,srcTarget:document.documentElement,handler:function(e){return function(e){var t=e.el,n=e.event,r=e.handler,a=e.middleware,o=n.path||n.composedPath&&n.composedPath();(o?o.indexOf(t)<0:!t.contains(n.target))&&i({event:n,handler:r,middleware:a})}({el:t,event:e,handler:o,middleware:s})},capture:l}}),c){var u={event:`blur`,srcTarget:window,handler:function(e){return function(e){var t=e.el,n=e.event,r=e.handler,a=e.middleware;setTimeout(function(){var e=document.activeElement;e&&e.tagName===`IFRAME`&&!t.contains(e)&&i({event:n,handler:r,middleware:a})},0)}({el:t,event:e,handler:o,middleware:s})},capture:l};t[e]=[].concat(t[e],[u])}t[e].forEach(function(n){var r=n.event,i=n.srcTarget,a=n.handler;return setTimeout(function(){t[e]&&i.addEventListener(r,a,l)},0)})}},o=function(t){(t[e]||[]).forEach(function(e){return e.srcTarget.removeEventListener(e.event,e.handler,e.capture)}),delete t[e]},s=t?{beforeMount:a,updated:function(e,t){var n=t.value,r=t.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(o(e),a(e,{value:n}))},unmounted:o}:{};return{install:function(e){e.directive(`click-outside`,s)},directive:s}})}))()),Dz=m(e=>{e.vueApp.use(Ez.default),e.vueApp.directive(`scroll-top`,{bind(e,t){let n=t.value,r=t.modifiers?.window?window:e,i=0,a=!1;e.scrollTopHandler=()=>{i=(r.scrollTop??r.scrollY)<=0,a||=(window.requestAnimationFrame(()=>{a=!1}),n(i),!0)},r.addEventListener(`scroll`,e.scrollTopHandler)},unbind(e,t){(t.window?window:e).removeEventListener(`scroll`,e.scrollTopHandler)}})}),Oz=m(e=>{e.vueApp.config.errorHandler=(e,t,n)=>{console.error(`errorHandler`,e,t,n)}}),kz=m(()=>({provide:{formatPrice:e=>{let t=f(),n=pn(),r=Pi();return qi(e,{brand:t.public.brand,regionCode:n,language:r})}}})),Az=class e extends HTMLElement{connectedCallback(){this.videoId=this.getAttribute(`videoid`);let t=this.querySelector(`.lyt-playbtn,.lty-playbtn`);if(this.playLabel=t&&t.textContent.trim()||this.getAttribute(`playlabel`)||`Play`,this.dataset.title=this.getAttribute(`title`)||``,this.style.backgroundImage||(this.style.backgroundImage=`url("https://i.ytimg.com/vi/${this.videoId}/hqdefault.jpg")`,this.upgradePosterImage()),t||(t=document.createElement(`button`),t.type=`button`,t.classList.add(`lyt-playbtn`,`lty-playbtn`),this.append(t)),!t.textContent){let e=document.createElement(`span`);e.className=`lyt-visually-hidden`,e.textContent=this.playLabel,t.append(e)}this.addNoscriptIframe(),t.nodeName===`A`&&(t.removeAttribute(`href`),t.setAttribute(`tabindex`,`0`),t.setAttribute(`role`,`button`),t.addEventListener(`ke
81ydown`,e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),this.activate())})),this.addEventListener(`pointerover`,e.warmConnections,{once:!0}),this.addEventListener(`focusin`,e.warmConnections,{once:!0}),this.addEventListener(`click`,this.activate),this.needsYTApi=this.hasAttribute(`js-api`)||navigator.vendor.includes(`Apple`)||navigator.userAgent.includes(`Mobi`)}static addPrefetch(e,t,n){let r=document.createElement(`link`);r.rel=e,r.href=t,n&&(r.as=n),document.head.append(r)}static warmConnections(){e.preconnected||=(e.addPrefetch(`preconnect`,`https://www.youtube-nocookie.com`),e.addPrefetch(`preconnect`,`https://www.google.com`),e.addPrefetch(`preconnect`,`https://googleads.g.doubleclick.net`),e.addPrefetch(`preconnect`,`https://static.doubleclick.net`),!0)}fetchYTPlayerApi(){window.YT||window.YT&&window.YT.Player||(this.ytApiPromise=new Promise((e,t)=>{var n=document.createElement(`script`);n.src=`https://www.youtube.com/iframe_api`,n.async=!0,n.onload=t=>{YT.ready(e)},n.onerror=t,this.append(n)}))}async getYTPlayer(){return this.playerPromise||await this.activate(),this.playerPromise}async addYTPlayerIframe(){this.fetchYTPlayerApi(),await this.ytApiPromise;let e=document.createElement(`div`);this.append(e);let t=Object.fromEntries(this.getParams().entries());this.playerPromise=new Promise(n=>{let r=new YT.Player(e,{width:`100%`,videoId:this.videoId,playerVars:t,events:{onReady:e=>{e.target.playVideo(),n(r)}}})})}addNoscriptIframe(){let e=this.createBasicIframe(),t=document.createElement(`noscript`);t.innerHTML=e.outerHTML,this.append(t)}getParams(){let e=new URLSearchParams(this.getAttribute(`params`)||[]);return e.append(`autoplay`,`1`),e.append(`playsinline`,`1`),e}async activate(){if(this.classList.contains(`lyt-activated`))return;if(this.classList.add(`lyt-activated`),this.needsYTApi)return this.addYTPlayerIframe(this.getParams());let e=this.createBasicIframe();this.append(e),e.focus()}createBasicIframe(){let e=document.createElement(`iframe`);return e.width=560,e.height=315,e.title=this.playLabel,e.allow=`accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture`,e.allowFullscreen=!0,e.referrerPolicy=`strict-origin-when-cross-origin`,e.src=`https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${this.getParams().toString()}`,e}upgradePosterImage(){setTimeout(()=>{let e=`https://i.ytimg.com/vi_webp/${this.videoId}/sddefault.webp`,t=new Image;t.fetchPriority=`low`,t.referrerpolicy=`origin`,t.src=e,t.onload=t=>{(t.target.naturalHeight!=90||t.target.naturalWidth!=120)&&(this.style.backgroundImage=`url("${e}")`)}},100)}};customElements.define(`lite-youtube`,Az);var jz=m(()=>{}),Mz=m(e=>{let{ssrContext:t}=a();if(!t){let t=document.createElement(`div`);document.body.appendChild(t);let n=`fixed top-9 right-4 md:right-8 text-white p-3 rounded z-50 ease-out duration-300 max-w-md`,r=`${n} bg-background-red transform translate-x-[50rem] opacity-0`,i=`${n} bg-background-red transform translate-x-0 opacity-100`,a=`${n} bg-background-green transform translate-x-[50rem] opacity-0`,o=`${n} bg-background-green transform translate-x-0 opacity-100`,s=C(``),c=C(r),l=null,u=(e,t=`error`)=>{l&&clearTimeout(l),t===`success`?(s.value=e,c.value=o,l=setTimeout(()=>{c.value=a},4e3)):(s.value=e,c.value=i,l=setTimeout(()=>{c.value=r},4e3))};Ne({setup(){return()=>x(`div`,{class:c.value},s.value)}}).mount(t),e.provide(`notification`,{error:u,success:e=>u(e,`success`)})}}),Nz=()=>{let e=window.performance.navigation&&window.performance.navigation.type===1||window.performance.getEntriesByType(`navigation`).map(e=>e.type).includes(`reload`),t=document.cookie.includes(`originalLocation`),n=document.referrer?.includes(window.location.origin);return window?.Cookiebot?.consent?.statistics?((!e&&!n||!t)&&(window.originalLocation=`${document.location.protocol}//${document.location.hostname}${document.location.pathname}${document.location.search}`,document.cookie=`originalLocation=${window.originalLocation}; path=/`),!0):!1},Pz=m(()=>{({}).APP_ENV!==`test`&&(Nz()||window.addEventListener(`CookiebotOnAccept`,Nz))}),Fz=[`shop-brands-slug`,`shop-brands-slug-subSlug`,`shop-slug`,`shop-product-slug`,`shop`,`shop-receipt`,`shop-search`,`shop-campaigns`,`shop-campaigns-slug`],Iz=m(()=>{let e=ze(),t=Ui(),n=a();e.afterEach(e=>{let r=n.$getRouteBaseName(e)||``;Fz.includes(r)||t?.trackEvent(Gi())})}),Lz=m(e=>{document.addEventListener(`afterTriggerbeeReady`,()=>{try{e.$apiFetch(`/rest/triggerbee/cookies`,{method:`GET`,credentials:`include`})}catch{}})}),Rz={en:/^[A-Z\s]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\s]*$/i,da:/^[A-ZÆØÅ\s]*$/i,de:/^[A-ZÄÖÜß\s]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ\s]*$/i,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\s]*$/i,it:/^[A-Z\xC0-\xFF\s]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ\s]*$/i,nl:/^[A-ZÉËÏÓÖÜ\s]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ\s]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ\s]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s]*$/i,ru:/^[А-ЯЁ\s]*$/i,kz:/^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA\s]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\s]*$/i,sr:/^[A-ZČĆŽŠĐ\s]*$/i,sv:/^[A-ZÅÄÖ\s]*$/i,tr:/^[A-ZÇĞİıÖŞÜ\s]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ\s]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\s]*$/,az:/^[A-ZÇƏĞİıÖŞÜ\s]*$/i,ug:/^[A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ\s]*$/i},zz=e=>{if(e)return Array.isArray(e)?e[0]:e.locale};function Bz(e,t){return Array.isArray(e)?e[0]:e[t]}function Vz(e){return!!(e==null||e===``||Array.isArray(e)&&e.length===0)}var Hz=(e,t)=>
81{if(Vz(e))return!0;let n=zz(t);if(Array.isArray(e))return e.every(e=>Hz(e,{locale:n}));let r=String(e);return n?(Rz[n]||Rz.en).test(r):Object.keys(Rz).some(e=>Rz[e].test(r))},Uz=(e,t)=>{if(Vz(e))return!0;let n=Bz(t,`length`);if(Array.isArray(e))return e.every(e=>Uz(e,{length:n}));let r=String(e);return/^[0-9]*$/.test(r)&&r.length===Number(n)},Wz=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Gz=e=>Vz(e)?!0:Array.isArray(e)?e.every(e=>Wz.test(String(e))):Wz.test(String(e)),Kz=(e,t)=>{if(Vz(e))return!0;let n=Bz(t,`length`);return typeof e==`number`&&(e=String(e)),e.length||(e=Array.from(e)),e.length===Number(n)},qz=(e,t)=>{if(Vz(e))return!0;let n=Bz(t,`length`);return Array.isArray(e)?e.every(e=>qz(e,{length:n})):[...String(e)].length>=Number(n)},Jz=/^[٠١٢٣٤٥٦٧٨٩]+$/,Yz=/^[0-9]+$/,Xz=e=>{if(Vz(e))return!0;let t=e=>{let t=String(e);return Yz.test(t)||Jz.test(t)};return Array.isArray(e)?e.every(t):t(e)};function Zz(e){return e==null}function Qz(e){return Array.isArray(e)&&e.length===0}var $z=e=>Zz(e)||Qz(e)||e===!1?!1:!!String(e).trim().length,eB=(e,t)=>{let{unsupportedPostalCodes:n=[]}=hn()||{},r=e.replace(/[\s-]/g,``).toUpperCase();if(!r)return!0;let i={BC:/^V\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,AB:/^T\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,SK:/^S\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,MB:/^R\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,ON:/^[KLMNP]\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,QC:/^[GHJ]\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,NB:/^E\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,NS:/^B\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,PE:/^C\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,NL:/^A\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,NT:/^X((0A)|(0E)|(0G)|(1A))[ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,NU:/^X0[BC][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,YT:/^Y\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i}[t?.toUpperCase()];if(!i)return`Unknown province code: ${t}`;if(!i.test(r))return`Please provide a valid postal code`;let a=!1;return a=n?.some(e=>e.province.toUpperCase()===t.toUpperCase()&&e.postalCode.replace(/[\s-]/g,``).toUpperCase()===r)||!1,!a||`We don’t ship to this postal code. Please add a different address`},tB=m(e=>{let t=e.$i18n;Ji(`required`,$z),Ji(`email`,Gz),Ji(`min`,qz),Ji(`digits`,Uz),Ji(`numeric`,Xz),Ji(`alpha_spaces`,Hz),Ji(`length`,Kz),Ji(`name`,e=>!e.trim()||!/^[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð ,.'-]+$/u.test(e)?`Please provide your name`:!0),Ji(`postcode-sv`,e=>!e.trim()||!/^[1-9]{1}[0-9]{2}[ ]{0,1}[0-9]{2}$/.test(e.trim())?`Vänligen ange ett giltigt postnummer`:!0),Ji(`postcode-ca`,(e,[t])=>eB(e,t)),Ji(`card_number`,e=>{let n=/^(\d\s?){8,19}$/,r=e.trim();if(!r||!n.test(r))return t.t(`validation.card_number`);let i=r.replace(/\s+/g,``).split(``).map(Number);return i.some(e=>Number.isNaN(e))||(i.slice(0,-1).reverse().map((e,t)=>t%2==0?e*2:e).map(e=>e>9?e-9:e).reduce((e,t)=>e+t,0)+i[i.length-1])%10!=0?t.t(`validation.card_number`):!0}),Ji(`card_expiry_date`,e=>{if(!e.trim()||!/^((0[1-9])|(1[0-2]))\/\d{2}$/.test(e.trim()))return t.t(`validation.card_expiry_date`);let[n,r]=e.split(`/`);if(!n||!r||n.length!==2||r.length!==2)return t.t(`validation.invalid_expiry_format`);let i=parseInt(n,10),a=parseInt(`20${r}`,10),o=new Date,s=o.getFullYear(),c=o.getMonth()+1;return i<1||i>12?t.t(`validation.invalid_month`):a<s||a===s&&i<c?t.t(`validation.expired_card`):!0}),Ji(`card_cvv`,e=>!e||!/^\d{3,4}$/.test(e)?t.t(`validation.cvv`):!0),Ji(`max-date`,(e,[t])=>v_(e,t)>=0),Ji(`currency-amount`,e=>!e||!/^\d+(?:\.\d{2})?$/.test(e)?t.t(`validation.currency_amount`):!0),Yi({generateMessage:e=>t.te(`validation.${e.field}`)?t.t(`validation.${e.field}`):t.te(`validation.${e.rule?.name}`)?t.t(`validation.${e.rule?.name}`):t.t(`validation.general`)})}),nB=m(()=>{let e=()=>{let e=window.visualViewport?.height,t=e?`${e*.01}px`:`1vh`;document.documentElement.style.setProperty(`--vh`,t)};
81e(),window.visualViewport?.addEventListener(`resize`,Xi(e,100))}),rB=m(()=>{let e=ze(),t=Zi(),{defaultCookieDomain:n}=f().public,r=gn(Ei,{path:`/`,domain:n||void 0,maxAge:wi,sameSite:`lax`}),i=()=>r.value===`1`||r.value===`true`||String(r.value??``)===`1`;e.afterEach((e,n)=>{if(!i())return;let r=String(e.name??``),a=String(n.name??``),o=Ti(r),s=bi(r);if(!o&&!s){t.value=null;return}if(!(o&&Ti(a))&&!(s&&bi(a))){if((n.fullPath.includes(`/butik/`)||n.fullPath.includes(`/shop/`))&&!Di(n.fullPath)){t.value=n.fullPath;return}t.value=null}})}),iB=e=>typeof e==`string`&&e.trim()?e.trim():null,aB=m(()=>{let e=a(),t=ze(),n=async t=>{let n=iB(t.lassie_user_ref),r=iB(t.lassie_animal_id);if(!(!n||!r))try{await e.$apiFetch(`/rest/lassie/capture`,{method:`POST`,body:{user_ref:n,animal_id:r},credentials:`include`})}catch(e){console.error(`Failed to capture Lassie params`,e)}};n(He().query),t.afterEach(e=>{n(e.query)})}),oB=`image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg`;function sB(e){let[,t,n,r]=e.split(`-`);if(!t||!n||!r)throw Error(`Malformed asset _ref '${e}'. Expected an id like "${oB}".`);let[i,a]=n.split(`x`),o=+i,s=+a;if(!(isFinite(o)&&isFinite(s)))throw Error(`Malformed asset _ref '${e}'. Expected an id like "${oB}".`);return{id:t,width:o,height:s,format:r}}var cB=e=>{let t=e;return t?typeof t._ref==`string`:!1},lB=e=>{let t=e;return t?typeof t._id==`string`:!1},uB=e=>{let t=e;return t&&t.asset?typeof t.asset.url==`string`:!1},dB=e=>{if(typeof e==`object`&&e){let t=e;return t._upload&&(!t.asset||!t.asset._ref)}return!1};function fB(e){if(!e)return null;let t;if(typeof e==`string`&&pB(e))t={asset:{_ref:mB(e)}};else if(typeof e==`string`)t={asset:{_ref:e}};else if(cB(e))t={asset:e};else if(lB(e))t={asset:{_ref:e._id||``}};else if(uB(e))t={asset:{_ref:mB(e.asset.url)}};else if(typeof e.asset==`object`)t={...e};else return null;let n=e;return n.crop&&(t.crop=n.crop),n.hotspot&&(t.hotspot=n.hotspot),hB(t)}function pB(e){return/^https?:\/\//.test(`${e}`)}function mB(e){return`image-${e.split(`/`).slice(-1)[0]}`.replace(/\.([a-z]+)$/,`-$1`)}function hB(e){if(e.crop&&e.hotspot)return e;let t={...e};return t.crop||={left:0,top:0,bottom:0,right:0},t.hotspot||={x:.5,y:.5,height:1,width:1},t}var gB=[[`width`,`w`],[`height`,`h`],[`format`,`fm`],[`download`,`dl`],[`blur`,`blur`],[`sharpen`,`sharp`],[`invert`,`invert`],[`orientation`,`or`],[`minHeight`,`min-h`],[`maxHeight`,`max-h`],[`minWidth`,`min-w`],[`maxWidth`,`max-w`],[`quality`,`q`],[`fit`,`fit`],[`crop`,`crop`],[`saturation`,`sat`],[`auto`,`auto`],[`dpr`,`dpr`],[`pad`,`pad`],[`frame`,`frame`]];function _B(e){let t={...e||{}},n=t.source;delete t.source;let r=fB(n);if(!r){if(n&&dB(n))return`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=`;throw Error(`Unable to resolve image URL from source (${JSON.stringify(n)})`)}let i=sB(r.asset._ref||r.asset._id||``),a=Math.round(r.crop.left*i.width),o=Math.round(r.crop.top*i.height),s={left:a,top:o,width:Math.round(i.width-r.crop.right*i.width-a),height:Math.round(i.height-r.crop.bottom*i.height-o)},c=r.hotspot.height*i.height/2,l=r.hotspot.width*i.width/2,u=r.hotspot.x*i.width,d=r.hotspot.y*i.height,f={left:u-l,top:d-c,right:u+l,bottom:d+c};return t.rect||t.focalPoint||t.ignoreImageParams||t.crop||(t={...t,...yB({crop:s,hotspot:f},t)}),vB({...t,asset:i})}function vB(e){let t=(e.baseUrl||`https://cdn.sanity.io`).replace(/\/+$/,``),n=e.vanityName?`/${e.vanityName}`:``,r=`${e.asset.id}-${e.asset.width}x${e.asset.height}.${e.asset.format}${n}`,i=e.mediaLibraryId?`${t}/media-libraries/${e.mediaLibraryId}/images/${r}`:`${t}/images/${e.projectId}/${e.dataset}/${r}`,a=[];if(e.rect){let{left:t,top:n,width:r,height:i}=e.rect;(t!==0||n!==0||i!==e.asset.height||r!==e.asset.width)&&a.push(`rect=${t},${n},${r},${i}`)}e.bg&&a.push(`bg=${e.bg}`),e.focalPoint&&(a.push(`fp-x=${e.focalPoint.x}`),a.push(`fp-y=${e.focalPoint.y}`));let o=[e.flipHorizontal&&`h`,e.flipVertical&&`v`].filter(Boolean).join(``);return o&&a.push(`flip=${o}`),gB.forEach(t=>{let[n,r]=t;typeof e[n]<`u`?a.push(`${r}=${encodeURIComponent(e[n])}`):typeof e[r]<`u`&&a.push(`${r}=${encodeURIComponent(e[r])}`)}),a.length===0?i:`${i}?${a.join(`&`)}`}function yB(e,t){let n,r=t.width,i=t.height;
81if(!(r&&i))return{width:r,height:i,rect:e.crop};let a=e.crop,o=e.hotspot,s=r/i;if(a.width/a.height>s){let e=Math.round(a.height),t=Math.round(e*s),r=Math.max(0,Math.round(a.top)),i=Math.round((o.right-o.left)/2+o.left),c=Math.max(0,Math.round(i-t/2));c<a.left?c=a.left:c+t>a.left+a.width&&(c=a.left+a.width-t),n={left:c,top:r,width:t,height:e}}else{let e=a.width,t=Math.round(e/s),r=Math.max(0,Math.round(a.left)),i=Math.round((o.bottom-o.top)/2+o.top),c=Math.max(0,Math.round(i-t/2));c<a.top?c=a.top:c+t>a.top+a.height&&(c=a.top+a.height-t),n={left:r,top:c,width:e,height:t}}return{width:r,height:i,rect:n}}var bB=[`clip`,`crop`,`fill`,`fillmax`,`max`,`scale`,`min`],xB=[`top`,`bottom`,`left`,`right`,`center`,`focalpoint`,`entropy`],SB=[`format`];function CB(e){return e&&`config`in e?typeof e.config==`function`:!1}function wB(e){return e&&`clientConfig`in e?typeof e.clientConfig==`object`:!1}function TB(e){let{apiHost:t,projectId:n,dataset:r}=e,i={baseUrl:(t||`https://api.sanity.io`).replace(/^https:\/\/api\./,`https://cdn.`)},a=e[`~experimental_resource`];if(a?.type===`media-library`){if(typeof a.id!=`string`||a.id.length===0)throw Error(`Media library clients must include an id in "~experimental_resource"`);return{...i,mediaLibraryId:a.id}}return{...i,projectId:n,dataset:r}}function EB(e){let t=gB;for(let n of t){let[t,r]=n;if(e===t||e===r)return t}return e}function DB(e){let t={};return t=CB(e)?TB(e.config()):wB(e)?TB(e.clientConfig):e||{},t}function OB(e,t){return new e(null,DB(t))}function kB(e){return OB(jB,e)}function AB(e,t){let n=t.baseUrl||e.baseUrl,r={baseUrl:n};for(let e in t)if(t.hasOwnProperty(e)){let n=EB(e);r[n]=t[e]}return{baseUrl:n,...r}}var jB=class e{options;constructor(e,t){this.options=e?{...e.options||{},...t||{}}:{...t||{}}}withOptions(t){let n=AB(this.options,t);return new e(this,n)}image(e){return this.withOptions({source:e})}dataset(e){return this.withOptions({dataset:e})}projectId(e){return this.withOptions({projectId:e})}withClient(t){let n=DB(t),r={...this.options};return delete r.baseUrl,delete r.projectId,delete r.dataset,delete r.mediaLibraryId,new e(null,{...n,...r})}bg(e){return this.withOptions({bg:e})}dpr(e){return this.withOptions(e&&e!==1?{dpr:e}:{})}width(e){return this.withOptions({width:e})}height(e){return this.withOptions({height:e})}focalPoint(e,t){return this.withOptions({focalPoint:{x:e,y:t}})}maxWidth(e){return this.withOptions({maxWidth:e})}minWidth(e){return this.withOptions({minWidth:e})}maxHeight(e){return this.withOptions({maxHeight:e})}minHeight(e){return this.withOptions({minHeight:e})}size(e,t){return this.withOptions({width:e,height:t})}blur(e){return this.withOptions({blur:e})}sharpen(e){return this.withOptions({sharpen:e})}rect(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})}format(e){return this.withOptions({format:e})}invert(e){return this.withOptions({invert:e})}orientation(e){return this.withOptions({orientation:e})}quality(e){return this.withOptions({quality:e})}forceDownload(e){return this.withOptions({download:e})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(e){if(bB.indexOf(e)===-1)throw Error(`Invalid fit mode "${e}"`);return this.withOptions({fit:e})}crop(e){if(xB.indexOf(e)===-1)throw Error(`Invalid crop mode "${e}"`);return this.withOptions({crop:e})}saturation(e){return this.withOptions({saturation:e})}auto(e){if(SB.indexOf(e)===-1)throw Error(`Invalid auto mode "${e}"`);return this.withOptions({auto:e})}pad(e){return this.withOptions({pad:e})}vanityName(e){return this.withOptions({vanityName:e})}frame(e){if(e!==1)throw Error(`Invalid frame value "${e}"`);return this.withOptions({frame:e})}url(){return _B(this.options)}toString(){return this.url()}};function MB(e){let t=!1,n;return(...r)=>(t||=(n=e(...r),!0),n)}(e=>MB((...t)=>{console.warn(e.join(` `),...t)}))(["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."]);var NB=m(()=>{let e=f(),t=kB({projectId:e.public.sanity.projectId,dataset:e.public.sanity.dataset});function n(e){return t.image(e).auto(`format`)}return{provide:{urlFor:n}}});function PB(e){let{error:t,instance:n,info:r}=e,i={info:r};if(n?.$props){let e=vr();(e?e.getOptions():null)?.attachProps&&n.$props!==!1&&(i.propsData=n.$props)}setTimeout(()=>{gr(t,{captureContext:{contexts:{nuxt:i}},mechanism:{handled:!1,type:`auto.function.nuxt.${n?`vue`:`app`}-error`}})})}var FB=[Sa,Ea,za,Av,Nv,Pv,Fv,Iv,Lv,Rv,Bv,Vv,Hv,Uv,Wv,Gv,ny,ry,yy,by,Oy,ky,Ay,_S,tz,nz,wz,Tz,Dz,Oz,kz,jz,Mz,Pz,Iz,Lz,tB,nB,rB,aB,NB,m({dependsOn:[`sentry-client-config`],async setup(e){if(typeof __SENTRY_TRACING__>`u`||__SENTRY_TRACING__){let t=vr();t&&`$router`in e&&t.addIntegration(Yl({router:e.$router,routeLabel:`path`}))}e.hook(`app:created`,e=>{let t=vr();t&&t.addIntegration(Gl({...lr._sentryNuxtVueIntegrationOptions,app:e,attachErrorHandler:!1}))}),e.hook(`app:error`,e=>{Fe(e)&&e.statusCode>=300&&e.statusCode<500||PB({error:e})}),e.hook(`vue:error`,(e,t,n)=>{PB({error:e,instance:t,info:n})})}}),m({name:`i18n:plugin:ssg-detect`,dependsOn:[`i18n:plugin`,`i18n:plugin:route-locale-detect`],enforce:`post`,setup(e){a(e._id)}})];function IB(e,t){let n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function LB(e={}){let{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:i=400}=e,o=e.estimatedProgress||IB,s=a(),c=se(0),l=se(!1),u=se(!1),d=!1,f,p,m,h,g=(e={})=>{b(),u.value=!1,_(0,e)};function _(e=0,t={}){if(s.isHydrating)return;if(e>=100)return y({force:t.force});b(),x(),c.value=e<0?0:e;let r=t.force?0:n;r?p=setTimeout(()=>{l.value=!0,S()},r):(l.value=!0,S())}function v(){m=setTimeout(()=>{l.value=!1,h=setTimeout(()=>{c.value=0},i)},r)}function y(e={}){c.value=100,d=!0,x(),b(),e.error&&(u.value=!0),e.force?(c.value=0,l.value=!1):v()}function b(){clearTimeout(m),clearTimeout(h)}function x(){clearTimeout(p),cancelAnimationFrame(f)}function S(){d=!1;let e;function n(r){if(d)return;e??=r;let i=r-e;c.value=Math.max(0,Math.min(100,o(t,i))),f=requestAnimationFrame(n)}f=requestAnimationFrame(n)}let ee=()=>{};{let e=s.hook(`page:loading:start`,()=>{g()}),t=s.hook(`page:loading:end`,()=>{y()}),n=s.hook(`vue:error`,()=>y({error:!0}));ee=()=>{n(),e(),t(),x(),b()}}return{_cleanup:ee,progress:ke(c),isLoading:ke(l),error:ke(u),start:g,set:_,finish:y,clear:x}}function RB(e={}){let t=a(),n=t._loadingIndicator||=LB(e);return Ce()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,je(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}var zB=oe({name:`NuxtLoadingIndicator`,props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:`repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)`},errorColor:{type:String,default:`repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)`},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){let{progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}=RB({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}
81),()=>x(`div`,{class:`nuxt-loading-indicator`,style:{position:`fixed`,top:0,right:0,left:0,pointerEvents:`none`,width:`auto`,height:`${e.height}px`,opacity:+!!i.value,background:a.value?e.errorColor:e.color||void 0,backgroundSize:`${r.value>0?100/r.value*100:0}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:`left`,transition:`transform 0.1s, height 0.4s, opacity 0.4s`,zIndex:999999}},t)}}),BB=`#0061FF`,VB=`#0054DD`,HB=oe({__name:`app`,async setup(e){let t,n,{$initApollo:r}=a(),i=f(),o=pn(),s=Pi();if([t,n]=xe(()=>r(i.public.brand,o,s)),await t,n(),ht({htmlAttrs:{lang:Qi()}}),!wn()){let e=$i(),r=Qi();[t,n]=xe(()=>e.fetchSettings(r)),await t,n()}let c=De(()=>`repeating-linear-gradient(to right, ${BB} 0%, ${VB} 100%)`);return(e,t)=>{let n=zB,r=dn,i=Bi;return le(),Se(`div`,null,[me(i,null,{default:Oe(()=>[w(`div`,null,[me(n,{color:_(c)},null,8,[`color`]),me(r)])]),_:1})])}}}),UB={class:`py-auto flex h-screen w-full flex-col items-center justify-center bg-background-extra-light`},WB={class:`flex flex-col items-center justify-center rounded-full bg-supporting-light-4`,style:{height:`48vh`,width:`48vh`}},GB={class:`mb-3 text-xl md:mb-6 md:text-3xl`},KB={key:0,class:`mt-8 mb-3 text-sm text-gray-600`},qB=oe({__name:`error`,props:{error:{type:Object,default:()=>({clientMessage:``})}},setup(e){let{t}=Sn(),n=qt(),r=C(n(`/`)),{isLocal:i,isDev:a}=f().public;na({layout:`empty`});let o=e,s=i||a,c=De(()=>o.error?.statusCode===404?t(`error.page_not_found`).replace(`error.page_not_found`,`Page not found`):o.error?.clientMessage||t(`error.something_went_wrong`).replace(`error.something_went_wrong`,`Something went wrong`));return(t,n)=>{let i=ea,a=ta;return le(),Se(`div`,UB,[me(i,{title:_(c),description:_(c)},null,8,[`title`,`description`]),me(a),w(`div`,WB,[n[1]||=w(`div`,{class:`mb-2 text-5xl md:text-6xl`},`😿`,-1),w(`h1`,GB,_e(_(c)),1),w(`button`,{class:`text-base underline md:text-lg`,onClick:n[0]||=e=>(`clearError`in t?t.clearError:_(Ge))({redirect:_(r)})},_e(t.$t(`error.go_to_start_page`).replace(`error.go_to_start_page`,`Go to start page`)),1)]),_(s)?(le(),Se(`pre`,KB,[Ae(`      Status Code: `+_e(e.error?.statusCode)+` `,1),n[2]||=w(`br`,null,null,-1),Ae(`
82      Message: `+_e(e.error?.clientMessage||e.error)+`
83    `,1)])):we(``,!0)])}}}),JB=()=>null,YB={key:0},XB={__name:`nuxt-root`,setup(e){let t=a(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=ze().beforeEach(()=>{e(),r()})}window.location.pathname,ce(Je,He()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=Ke();function i(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return ne((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Pe(navigator.userAgent))return qe(t,e),!1;if(Fe(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>We(e)),i(e,n,r),!1}),(e,t)=>(le(),ve(fe,{onResolve:_(n)},{default:Oe(()=>[_(!1)?(le(),Se(`div`,YB)):_(r)?(le(),ve(_(qB),{key:1,error:_(r)},null,8,[`error`])):_(!1)?(le(),ve(_(JB),{key:2,context:_(!1)},null,8,[`context`])):_(!1)?(le(),ve(ue(_(!1)),{key:3})):(le(),ve(_(HB),{key:4}))]),_:1},8,[`onResolve`]))}},ZB;{let e;ZB=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?Me(XB):Ne(XB),r=d({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=Be(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&l.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(l.id)?.remove()});try{await g(r,FB)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(u),await r.hooks.callHook(`app:mounted`,n),await re()}catch(e){i(e)}return n},e=ZB().catch(e=>{throw o.NUXT_E1009({cause:e}),e})}
84//# sourceMappingURL=CSBx1tWs.js.map

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.