PageSourceSearch

https://knucklebet.com.au/assets/main-CixOqacr.js

js knucklebet.com.au collected 2026-10-07 09:26:14 UTC 227,155 bytes, 44 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/public-CSIkK-Ae.js","assets/client-Bai4VJA1.js","assets/Footer-BCIaeHRS.js","assets/next-compat-CgM5jzed.js","assets/FeaturedSgmWidgetHeader-Bs5pMGp9.js","assets/FeaturedSgmWidgetHeader-BARtq0BR.css","assets/Tagline-Di5kgJRh.js","assets/Trans-BvbgHzuV.js","assets/useRouteContext-BJSCbqnQ.js","assets/_main-DFngfypS.js","assets/Accordion-43w-39qS.js","assets/futures-DPnRdlYL.js","assets/Silk-CZibfuUJ.js","assets/StakeInput-CLyW-JOo.js","assets/useBreakpoint-BnoNun7E.js","assets/usePreferences-BynNnNRX.js","assets/index-DTuUGpRF.js","assets/useCountdown-Bp9O7lQ3.js","assets/racing-BB5ZO_Rl.js","assets/usePriceChange-t4P2AkIy.js","assets/useProductLabel-CvmKb0l9.js","assets/productLabel-XyjaxiFx.js","assets/Jersey-B4aPkXu9.js","assets/snakeCase-DuqZwloT.js","assets/SrmBadge-aAJTyxF3.js","assets/Divider-DVhzaQxE.js","assets/index.esm-DmhBe66i.js","assets/useDepositSubmit-CJuAMepV.js","assets/toLower-CN9Yvqa5.js","assets/PromoCountdown-DAt3qgnT.js","assets/react-content-loader.es-BHv9sD5i.js","assets/storage-BqMv_OeW.js","assets/Form-C3Wm2m4j.js","assets/Label-BRzG3Baa.js","assets/v4-C9obhptW.js","assets/DepositReminderContext-3G2wW566.js","assets/storageAdapter-Bu4KRfuE.js","assets/useLoyaltyEnabled-Cx0xpgP7.js","assets/transaction-Cisvmqs-.js","assets/useNextUpMarkets-CSGpIJ9r.js","assets/index-R1uwo44o.js","assets/useAnalytics-DJAN0U0u.js","assets/LinkText-Cx_5-lnJ.js","assets/index-DzWjh1KV.js","assets/pendingPlayerSearch-BWbmZ042.js","assets/WelcomeCard-BHufumLG.js","assets/DepositMatchBadge-CYk_HakZ.js","assets/ErrorBoundary-djkmjDEQ.js","assets/useLogger-DjMWCCWz.js","assets/FilterButton-CLtTr8_o.js","assets/useFormDataSource-DZZ4vR5s.js","assets/IntercomManager-Cm3D9owx.js","assets/FloatingVision-BR2xJRlk.js","assets/_main-DMATcft4.css","assets/_error-Bi4140hX.js","assets/terms-and-conditions-B7XHvk8D.js","assets/terms-and-conditions-CxICEZty.js","assets/PageHeader-C2g6ogh9.js","assets/TabButton-g6jdU9cR.js","assets/useRouteMetadata-B4Y9ftai.js","assets/metadata-DKv1LcLU.js","assets/responsible-gambling-kQxv_PlD.js","assets/responsible-gambling-BO7iecdu.js","assets/privacy-policy-Va_tK4vg.js","assets/privacy-policy-DXXyw7PT.js","assets/contact-C3R_Dn-U.js","assets/contact-ByXOW41s.js","assets/about-BW70qH84.js","assets/about-Cc_oJ4gy.js","assets/index-CC_s9pSK.js","assets/QuickInsights-BSHxT2ic.js","assets/OddsButton-CaSZYPFc.js","assets/RunnerInfo-C3WEjh3_.js","assets/toUpper-DXjLX4nz.js","assets/FloatingVisionButton-CCyuPVmQ.js","assets/RacingBadges-BK4tw_lV.js","assets/FixedOddsBadge-8GZBm8sy.js","assets/useRacingFutureSort-BGRX2NP-.js","assets/LinkList-CSqY4C1B.js","assets/index-By3Eb581.js","assets/index-Cp8Jui2_.js","assets/index-C8ec8cn4.css","assets/welcome-C-Vx-wcW.js","assets/thewire-NzhAljyr.js","assets/sports-Ba9Skt0T.js","assets/prism-HWZjeW8b.js","assets/help-DehC0fE6.js","assets/account-DUWJZx_A.js","assets/_join-CuxI_Omq.js","assets/CancelJoinModal-DljiTCq4.js","assets/_-Cnz0-pix.js","assets/ErrorState-DUbUpzeq.js","assets/restricted-location-DPlz4S_N.js","assets/maintenance-Bkx1jUVI.js","assets/error-DZ5s4rMy.js","assets/index-B5Luzl3Y.js","assets/_racingHome-sQ7Jg1Rc.js","assets/_promotionsHome-Bx2ZrdOR.js","assets/_sportsHome-DEuPEuGf.js","assets/terms-and-conditions-UDBM9Nmk.js","assets/responsible-gambling-Buh-3Sn4.js","assets/privacy-policy-BzpZMuhj.js","assets/contact-BAcZ1PNh.js","assets/about-CWe9dhDM.js","assets/index-CLHhqqHW.js","assets/useAccountMetadata-gyx0phJb.js","assets/withdraw-aIYCoJ_8.js","assets/responsible-gambling-BBkP8Vrb.js","assets/preferences-XRznWLhb.js","assets/details-Cs-m7VHA.js","assets/deposit-B911JyLM.js","assets/PayID-D-WJBXzF.js","assets/_transactions-L4H9PPVS.js","assets/_mybets-BGZzBuUl.js","assets/_futureId-WJdcKB9j.js","assets/FutureEventCardLayout-CngdySvs.js","assets/RaceCardToggle-CpavQoYq.js","assets/RaceCardBet-DajgWAC2.js","assets/meeting-Cxm4q5BE.js","assets/useAccountList-Ct-cvq9W.js","assets/Country-Btd4yEmD.js","assets/_futureSlug-C5f9CiVi.js","assets/_meetingSlug-ZHzV7Cm_.js","assets/index-_DUfrSUL.js","assets/RacingGrid-Q46_6bwa.js","assets/MeetingFilter-3n-_cV-K.js","assets/RacingGridPlaceholder-CV0BIkPv.js","assets/wednesday-F7ZCBk8F.js","assets/upcoming-BcstybbM.js","assets/tuesday-DldQivyc.js","assets/tomorrow-BN7Y7e2K.js","assets/thursday-B3V7_rv2.js","assets/sunday--S2niAV5.js","assets/saturday-BQTJdJYC.js","assets/monday-CjFYFPj2.js","assets/futures-CxAzn7Gj.js","assets/friday-lrUvtKTd.js","assets/index-mYgcoJLh.js","assets/index-M5deSu-c.js","assets/next-up-Cl8Pr5zl.js","assets/index-D3nhnjL0.js","assets/index-BAzRnFT1.js","assets/index-BeYIoYPx.js","assets/stake-limit-BeKu05Tx.js","assets/index-ldvpGbBO.js","assets/StakeLimitModal-B7Fy1Y-N.js","assets/short-break-pNUNx468.js","assets/index-BvmusiWQ.js","assets/permanent-exclusion-D4GX_DA7.js","assets/DeactiveConfirmModal-IjXxxQ3J.js","assets/long-break-DTbVwupl.js","assets/Dropdown-DvJsdiaE.js","assets/deposit-limit-B8yuG3u_.js","assets/deactivate-account-CnfzjTIN.js","assets/transactions-DPBgcxTQ.js","assets/Filter-D-IIF8cg.js","assets/statements-sA1K7bsf.js","assets/resulted-DlVtWAfM.js","assets/MyBets-DdLoPgN2.js","assets/pending-CYAJt6bz.js","assets/index-DZkwVFqN.js","assets/Verifying-DKy8uHsl.js","assets/onboarding-DQVF1Hij.js","assets/_raceSlug-Ca04vVvl.js","assets/useRaceCardMeetings-CrRV_j1U.js","assets/ExoticResult-B46-01Al.js","assets/_meetingId-CpwZuQ1e.js","assets/index-BIESEA4U.js","assets/useDocumentTitle-DFdBtRbi.js","assets/PromoBonusBackCard-DAVO1ImR.js","assets/next-race-D0GQ34v7.js","assets/index-DgMmzGxW.js","assets/_date-yvVLrs5i.js","assets/_sportHome-C1SO-xGj.js","assets/RestrictedPage-xU5ca0FS.js","assets/_eventHome-DH5Cw2EM.js","assets/_eventHome-BfHC2a-h.css","assets/_competitionHome-DSWuWvDC.js","assets/index-BBkBZfe8.js","assets/index-BpgRgWSP.js","assets/FailedVerificationError-CJms_A6I.js","assets/index-CMRiwjzv.js","assets/index-CxF0GIpq.js","assets/_betTypeId-TQJszT5u.js","assets/index-Bh5NJRyW.js","assets/_betTypeId-CREIdsXf.css","assets/next-up-DBwP45D9.js","assets/leagues-mPZ5SmV3.js","assets/index-BJR94NCO.js","assets/SportsMarketListPlaceholder-uB82oPDA.js","assets/sgm-03yRzkMR.js","assets/popular-sgm-DITtiYsd.js","assets/index-QQN3w5dA.js","assets/index-CPLzM1xs.js","assets/_betTypeId-h53VI7tT.js"])))=>i.map(i=>d[i]);
2import{t as Dt,b as ls,p as ha,S as Wo,d as _a,f as ma,g as me,h as St,k as Ft,l as zn,m as Ve,r as ga,n as ya,o as W
2n,q as Tn,s as $e,u as rt,v as Ea,j as E,w as $,R as Ee,x as F,y as _o,z as ds,A as ps,B as q,C as Ra,D as Ln,E as Oe,F as va,G as Sa,H as ba,_ as p,e as Ia,I as Pa,J as wa,a as Ta}from"./client-Bai4VJA1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"97808a5afbf047a0a6f7534b79e8c9b165448d38"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4cb8df97-73ba-4e13-b2fe-10b57f2bff34",t._sentryDebugIdIdentifier="sentry-dbid-4cb8df97-73ba-4e13-b2fe-10b57f2bff34")}catch{}})();const Yt=new WeakMap,Be=new WeakMap,Je={current:[]};let An=!1,ge=0;const he=new Set,Me=new Map;function fs(t){const e=Array.from(t).sort((n,o)=>n instanceof Xt&&n.options.deps.includes(o)?1:o instanceof Xt&&o.options.deps.includes(n)?-1:0);for(const n of e){if(Je.current.includes(n))continue;Je.current.push(n),n.recompute();const o=Be.get(n);if(o)for(const r of o){const s=Yt.get(r);s&&fs(s)}}}function La(t){const e={prevVal:t.prevState,currentVal:t.state};for(const n of t.listeners)n(e)}function Aa(t){const e={prevVal:t.prevState,currentVal:t.state};for(const n of t.listeners)n(e)}function hs(t){if(ge>0&&!Me.has(t)&&Me.set(t,t.prevState),he.add(t),!(ge>0)&&!An)try{for(An=!0;he.size>0;){const e=Array.from(he);he.clear();for(const n of e){const o=Me.get(n)??n.prevState;n.prevState=o,La(n)}for(const n of e){const o=Yt.get(n);o&&(Je.current.push(n),fs(o))}for(const n of e){const o=Yt.get(n);if(o)for(const r of o)Aa(r)}}}finally{An=!1,Je.current=[],Me.clear()}}function Jt(t){ge++;try{t()}finally{if(ge--,ge===0){const e=he.values().next().value;e&&hs(e)}}}function Ca(t){return typeof t=="function"}class Gn{constructor(e,n){this.listeners=new Set,this.subscribe=o=>{var r,s;this.listeners.add(o);const i=(s=(r=this.options)==null?void 0:r.onSubscribe)==null?void 0:s.call(r,o,this);return()=>{this.listeners.delete(o),i?.()}},this.prevState=e,this.state=e,this.options=n}setState(e){var n,o,r;this.prevState=this.state,(n=this.options)!=null&&n.updateFn?this.state=this.options.updateFn(this.prevState)(e):Ca(e)?this.state=e(this.prevState):this.state=e,(r=(o=this.options)==null?void 0:o.onUpdate)==null||r.call(o),hs(this)}}class Xt{constructor(e){this.listeners=new Set,this._subscriptions=[],this.lastSeenDepValues=[],this.getDepVals=()=>{const n=this.options.deps.length,o=new Array(n),r=new Array(n);for(let s=0;s<n;s++){const i=this.options.deps[s];o[s]=i.prevState,r[s]=i.state}return this.lastSeenDepValues=r,{prevDepVals:o,currDepVals:r,prevVal:this.prevState??void 0}},this.recompute=()=>{var n,o;this.prevState=this.state;const r=this.getDepVals();this.state=this.options.fn(r),(o=(n=this.options).onUpdate)==null||o.call(n)},this.checkIfRecalculationNeededDeeply=()=>{for(const s of this.options.deps)s instanceof Xt&&s.checkIfRecalculationNeededDeeply();let n=!1;const o=this.lastSeenDepValues,{currDepVals:r}=this.getDepVals();for(let s=0;s<r.length;s++)if(r[s]!==o[s]){n=!0;break}n&&this.recompute()},this.mount=()=>(this.registerOnGraph(),this.checkIfRecalculationNeededDeeply(),()=>{this.unregisterFromGraph();for(const n of this._subscriptions)n()}),this.subscribe=n=>{var o,r;this.listeners.add(n);const s=(r=(o=this.options).onSubscribe)==null?void 0:r.call(o,n,this);return()=>{this.listeners.delete(n),s?.()}},this.options=e,this.state=e.fn({prevDepVals:void 0,prevVal:void 0,currDepVals:this.getDepVals().currDepVals})}registerOnGraph(e=this.options.deps){for(const n of e)if(n instanceof Xt)n.registerOnGraph(),this.registerOnGraph(n.options.deps);else if(n instanceof Gn){let o=Yt.get(n);o||(o=new Set,Yt.set(n,o)),o.add(this);let r=Be.get(this);r||(r=new Set,Be.set(this,r)),r.add(n)}}unregisterFromGraph(e=this.options.deps){for(const n of e)if(n instanceof Xt)this.unregisterFromGraph(n.options.deps);else if(n instanceof Gn){const o=Yt.get(n);o&&o.delete(this);const r=Be.get(this);r&&r.delete(n)}}}const bt="__TSR_index",Go="popstate",Ko="beforeunload";function $a(t){let e=t.getLocation();const n=new Set,o=i=>
2{e=t.getLocation(),n.forEach(a=>a({location:e,action:i}))},r=i=>{t.notifyOnIndexChange??!0?o(i):e=t.getLocation()},s=async({task:i,navigateOpts:a,...c})=>{if(a?.ignoreBlocker??!1){i();return}const d=t.getBlockers?.()??[],f=c.type==="PUSH"||c.type==="REPLACE";if(typeof document<"u"&&d.length&&f)for(const h of d){const _=Xe(c.path,c.state);if(await h.blockerFn({currentLocation:e,nextLocation:_,action:c.type})){t.onBlocked?.();return}}i()};return{get location(){return e},get length(){return t.getLength()},subscribers:n,subscribe:i=>(n.add(i),()=>{n.delete(i)}),push:(i,a,c)=>{const l=e.state[bt];a=qo(l+1,a),s({task:()=>{t.pushState(i,a),o({type:"PUSH"})},navigateOpts:c,type:"PUSH",path:i,state:a})},replace:(i,a,c)=>{const l=e.state[bt];a=qo(l,a),s({task:()=>{t.replaceState(i,a),o({type:"REPLACE"})},navigateOpts:c,type:"REPLACE",path:i,state:a})},go:(i,a)=>{s({task:()=>{t.go(i),r({type:"GO",index:i})},navigateOpts:a,type:"GO"})},back:i=>{s({task:()=>{t.back(i?.ignoreBlocker??!1),r({type:"BACK"})},navigateOpts:i,type:"BACK"})},forward:i=>{s({task:()=>{t.forward(i?.ignoreBlocker??!1),r({type:"FORWARD"})},navigateOpts:i,type:"FORWARD"})},canGoBack:()=>e.state[bt]!==0,createHref:i=>t.createHref(i),block:i=>{if(!t.setBlockers)return()=>{};const a=t.getBlockers?.()??[];return t.setBlockers([...a,i]),()=>{const c=t.getBlockers?.()??[];t.setBlockers?.(c.filter(l=>l!==i))}},flush:()=>t.flush?.(),destroy:()=>t.destroy?.(),notify:o}}function qo(t,e){e||(e={});const n=mo();return{...e,key:n,__TSR_key:n,[bt]:t}}function Oa(t){const e=typeof document<"u"?window:void 0,n=e.history.pushState,o=e.history.replaceState;let r=[];const s=()=>r,i=P=>r=P,a=(P=>P),c=(()=>Xe(`${e.location.pathname}${e.location.search}${e.location.hash}`,e.history.state));if(!e.history.state?.__TSR_key&&!e.history.state?.key){const P=mo();e.history.replaceState({[bt]:0,key:P,__TSR_key:P},"")}let l=c(),d,f=!1,h=!1,_=!1,y=!1;const R=()=>l;let v,S;const A=()=>{v&&(w._ignoreSubscribers=!0,(v.isPush?e.history.pushState:e.history.replaceState)(v.state,"",v.href),w._ignoreSubscribers=!1,v=void 0,S=void 0,d=void 0)},C=(P,x,D)=>{const W=a(x);S||(d=l),l=Xe(x,D),v={href:W,state:D,isPush:v?.isPush||P==="push"},S||(S=Promise.resolve().then(()=>A()))},U=P=>{l=c(),w.notify({type:P})},z=async()=>{if(h){h=!1;return}const P=c(),x=P.state[bt]-l.state[bt],D=x===1,W=x===-1,B=!D&&!W||f;f=!1;
2const zt=B?"GO":W?"BACK":"FORWARD",ot=B?{type:"GO",index:x}:{type:W?"BACK":"FORWARD"};if(_)_=!1;else{const Wt=s();if(typeof document<"u"&&Wt.length){for(const fa of Wt)if(await fa.blockerFn({currentLocation:l,nextLocation:P,action:zt})){h=!0,e.history.go(1),w.notify(ot);return}}}l=c(),w.notify(ot)},k=P=>{if(y){y=!1;return}let x=!1;const D=s();if(typeof document<"u"&&D.length)for(const W of D){const B=W.enableBeforeUnload??!0;if(B===!0){x=!0;break}if(typeof B=="function"&&B()===!0){x=!0;break}}if(x)return P.preventDefault(),P.returnValue=""},w=$a({getLocation:R,getLength:()=>e.history.length,pushState:(P,x)=>C("push",P,x),replaceState:(P,x)=>C("replace",P,x),back:P=>(P&&(_=!0),y=!0,e.history.back()),forward:P=>{P&&(_=!0),y=!0,e.history.forward()},go:P=>{f=!0,e.history.go(P)},createHref:P=>a(P),flush:A,destroy:()=>{e.history.pushState=n,e.history.replaceState=o,e.removeEventListener(Ko,k,{capture:!0}),e.removeEventListener(Go,z)},onBlocked:()=>{d&&l!==d&&(l=d)},getBlockers:s,setBlockers:i,notifyOnIndexChange:!1});return e.addEventListener(Ko,k,{capture:!0}),e.addEventListener(Go,z),e.history.pushState=function(...P){const x=n.apply(e.history,P);return w._ignoreSubscribers||U("PUSH"),x},e.history.replaceState=function(...P){const x=o.apply(e.history,P);return w._ignoreSubscribers||U("REPLACE"),x},w}function Xe(t,e){const n=t.indexOf("#"),o=t.indexOf("?"),r=mo();return{href:t,pathname:t.substring(0,n>0?o>0?Math.min(n,o):n:o>0?o:t.length),hash:n>-1?t.substring(n):"",search:o>-1?t.slice(o,n===-1?void 0:n):"",state:e||{[bt]:0,key:r,__TSR_key:r}}}function mo(){return(Math.random()+1).toString(36).substring(7)}var Ma="Invariant failed";function K(t,e){if(!t)throw new Error(Ma)}const xa=.75,Da=1,ka=.5,ja=.4,Fa=.25,Na=.2,Va=.05,Ba=.02,Ha=.01,Yo=2e-4,Jo=1e-4;function Xo(t,e){return t.prefixSegment&&t.suffixSegment?e+Va+Yo*t.prefixSegment.length+Jo*t.suffixSegment.length:t.prefixSegment?e+Ba+Yo*t.prefixSegment.length:t.suffixSegment?e+Ha+Jo*t.
2suffixSegment.length:e}function Ua(t){const e=[];return t.forEach((o,r)=>{if(o.isRoot||!o.path)return;const s=ls(o.fullPath);let i=ha(s),a=0;for(;i.length>a+1&&i[a]?.value==="/";)a++;a>0&&(i=i.slice(a));let c=0,l=!1;const d=i.map((f,h)=>{if(f.value==="/")return xa;if(f.type===Wo)return Da;let _;f.type===_a?_=ka:f.type===ma?(_=ja,c++):_=Fa;for(let y=h+1;y<i.length;y++){const R=i[y];if(R.type===Wo&&R.value!=="/")return l=!0,Xo(f,_+Na)}return Xo(f,_)});e.push({child:o,trimmed:s,parsed:i,index:r,scores:d,optionalParamCount:c,hasStaticAfter:l})}),e.sort((o,r)=>{const s=Math.min(o.scores.length,r.scores.length);for(let i=0;i<s;i++)if(o.scores[i]!==r.scores[i])return r.scores[i]-o.scores[i];if(o.scores.length!==r.scores.length){if(o.optionalParamCount!==r.optionalParamCount){if(o.hasStaticAfter===r.hasStaticAfter)return o.optionalParamCount-r.optionalParamCount;if(o.hasStaticAfter&&!r.hasStaticAfter)return-1;if(!o.hasStaticAfter&&r.hasStaticAfter)return 1}return r.scores.length-o.scores.length}for(let i=0;i<s;i++)if(o.parsed[i].value!==r.parsed[i].value)return o.parsed[i].value>r.parsed[i].value?1:-1;return o.index-r.index}).map((o,r)=>(o.child.rank=r,o.child))}function za({routeTree:t,initRoute:e}){const n={},o={},r=i=>{i.forEach((a,c)=>{e?.(a,c);const l=n[a.id];if(K(!l,`Duplicate routes found with id: ${String(a.id)}`),n[a.id]=a,!a.isRoot&&a.path){const f=Dt(a.fullPath);(!o[f]||a.fullPath.endsWith("/"))&&(o[f]=a)}const d=a.children;d?.length&&r(d)})};r([t]);const s=Ua(Object.values(n));return{routesById:n,routesByPath:o,flatRoutes:s}}function tt(t){return!!t?.isNotFound}function Wa(){try{if(typeof window<"u"&&typeof window.sessionStorage=="object")return window.sessionStorage}catch{}}const Ze="tsr-scroll-restoration-v1_3",Ga=(t,e)=>{let n;return(...o)=>{n||(n=setTimeout(()=>{t(...o),n=null},e))}};function Ka(){const t=Wa();if(!t)return null;const e=t.getItem(Ze);let n=e?JSON.parse(e):{};return{state:n,set:o=>(n=me(o,n)||n,t.setItem(Ze,JSON.stringify(n)))}}const xe=Ka(),Kn=t=>t.state.__TSR_key||t.href;function qa(t){const e=[];let n;for(;n=t.parentNode;)e.push(`${t.tagName}:nth-child(${Array.prototype.indexOf.call(n.children,t)+1})`),t=n;return`${e.reverse().join(" > ")}`.toLowerCase()}let Qe=!1;function _s({storageKey:t,key:e,behavior:n,shouldScrollRestoration:o,scrollToTopSelectors:r,location:s}){let i;try{i=JSON.parse(sessionStorage.getItem(t)||"{}")}catch(l){console.error(l);return}const a=e||window.history.state?.__TSR_key,c=i[a];Qe=!0;t:{if(o&&c&&Object.keys(c).length>0){for(const f in c){const h=c[f];if(f==="window")window.scrollTo({top:h.scrollY,left:h.scrollX,behavior:n});else if(f){const _=document.querySelector(f);_&&(_.scrollLeft=h.scrollX,_.scrollTop=h.scrollY)}}break t}const l=(s??window.location).hash.split("#",2)[1];if(l){const f=window.history.state?.__hashScrollIntoViewOptions??!0;if(f){const h=document.getElementById(l);h&&h.scrollIntoView(f)}break t}const d={top:0,left:0,behavior:n};if(window.scrollTo(d),r)for(const f of r){if(f==="window")continue;const h=typeof f=="function"?f():document.querySelector(f);h&&h.scrollTo(d)}}Qe=!1}function Ya(t,e){if(!xe&&!t.isServer||((t.options.scrollRestoration??!1)&&(t.isScrollRestoring=!0),t.isServer||t.isScrollRestorationSetup||!xe))return;t.isScrollRestorationSetup=!0,Qe=!1;const o=t.options.getScrollRestorationKey||Kn;window.history.scrollRestoration="manual";const r=s=>{if(Qe||!t.isScrollRestoring)return;let i="";if(s.target===document||s.target===window)i="window";else{const c=s.target.getAttribute("data-scroll-restoration-id");c?i=`[data-scroll-restoration-id="${c}"]`:i=qa(s.target)}const a=o(t.state.location);xe.set(c=>{const l=c[a]||={},d=l[i]||={};if(i==="window")d.scrollX=window.scrollX||0,d.scrollY=window.scrollY||0;else if(i){const f=document.querySelector(i);f&&(d.scrollX=f.scrollLeft||0,d.scrollY=f.scrollTop||0)}return c})};typeof document<"u"&&document.addEventListener("scroll",Ga(r,100),!0),t.subscribe("onRendered",s=>{const i=o(s.toLocation);if(!t.resetNextScroll){t.resetNextScroll=!0;return}typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation}
2)||(_s({storageKey:Ze,key:i,behavior:t.options.scrollRestorationBehavior,shouldScrollRestoration:t.isScrollRestoring,scrollToTopSelectors:t.options.scrollToTopSelectors,location:t.history.location}),t.isScrollRestoring&&xe.set(a=>(a[i]||={},a)))})}function Ja(t){if(typeof document<"u"&&document.querySelector){const e=t.state.location.state.__hashScrollIntoViewOptions??!0;if(e&&t.state.location.hash!==""){const n=document.getElementById(t.state.location.hash);n&&n.scrollIntoView(e)}}}function ms(t,e=String){const n=new URLSearchParams;for(const o in t){const r=t[o];r!==void 0&&n.set(o,e(r))}return n.toString()}function Cn(t){return t?t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t:""}function Xa(t){const e=new URLSearchParams(t),n={};for(const[o,r]of e.entries()){const s=n[o];s==null?n[o]=Cn(r):Array.isArray(s)?s.push(Cn(r)):n[o]=[s,Cn(r)]}return n}const Za=tc(JSON.parse),Qa=ec(JSON.stringify,JSON.parse);function tc(t){return e=>{e[0]==="?"&&(e=e.substring(1));const n=Xa(e);for(const o in n){const r=n[o];if(typeof r=="string")try{n[o]=t(r)}catch{}}return n}}function ec(t,e){const n=typeof e=="function";function o(r){if(typeof r=="object"&&r!==null)try{return t(r)}catch{}else if(n&&typeof r=="string")try{return e(r),t(r)}catch{}return r}return r=>{const s=ms(r,o);return s?`?${s}`:""}}const Z="__root__";function rn(t){if(t.statusCode=t.statusCode||t.code||307,!t.reloadDocument&&typeof t.href=="string")try{new URL(t.href),t.reloadDocument=!0}catch{}const e=new Headers(t.headers);t.href&&e.get("Location")===null&&e.set("Location",t.href);const n=new Response(null,{status:t.statusCode,headers:e});if(n.options=t,t.throw)throw n;return n}function et(t){return t instanceof Response&&!!t.options}function nc(t){if(t!==null&&typeof t=="object"&&t.isSerializedRedirect)return rn(t)}function oc(t){const e=new Map;let n,o;const r=s=>{s.next&&(s.prev?(s.prev.next=s.next,s.next.prev=s.prev,s.next=void 0,o&&(o.next=s,s.prev=o)):(s.next.prev=void 0,n=s.next,s.next=void 0,o&&(s.prev=o,o.next=s)),o=s)};return{get(s){const i=e.get(s);if(i)return r(i),i.value},set(s,i){if(e.size>=t&&n){const c=n;e.delete(c.key),c.next&&(n=c.next,c.next.prev=void 0),c===o&&(o=void 0)}const a=e.get(s);if(a)a.value=i,r(a);else{const c={key:s,value:i,prev:o};o&&(o.next=c),o=c,n||(n=c),e.set(s,c)}}}}const He=t=>{if(!t.rendered)return t.rendered=!0,t.onReady?.()},sn=(t,e)=>!!(t.preload&&!t.router.state.matches.some(n=>n.id===e)),gs=(t,e)=>{const n=t.router.routesById[e.routeId??""]??t.router.routeTree;!n.options.notFoundComponent&&t.router.options?.defaultNotFoundComponent&&(n.options.notFoundComponent=t.router.options.defaultNotFoundComponent),K(n.options.notFoundComponent);const o=t.matches.find(r=>r.routeId===n.id);K(o,"Could not find match for route: "+n.id),t.updateMatch(o.id,r=>({...r,status:"notFound",error:e,isFetching:!1})),e.routerCode==="BEFORE_LOAD"&&n.parentRoute&&(e.routeId=n.parentRoute.id,gs(t,e))},vt=(t,e,n)=>{if(!(!et(n)&&!tt(n))){if(et(n)&&n.redirectHandled&&!n.options.reloadDocument)throw n;if(e){e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.loaderPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loaderPromise=void 0;const o=et(n)?"redirected":"notFound";t.updateMatch(e.id,r=>({...r,status:o,isFetching:!1,error:n})),tt(n)&&!n.routeId&&(n.routeId=e.routeId),e._nonReactive.loadPromise?.resolve()}throw et(n)?(t.rendered=!0,n.options._fromLocation=t.location,n.redirectHandled=!0,n=t.router.resolveRedirect(n),n):(gs(t,n),n)}},ys=(t,e)=>{const n=t.router.getMatch(e);return!!(!t.router.isServer&&n._nonReactive.dehydrated||t.router.isServer&&n.ssr===!1)},pe=(t,e,n,o)=>{const{id:r,routeId:s}=t.matches[e],i=t.router.looseRoutesById[s];if(n instanceof Promise)throw n;n.routerCode=o,t.firstBadMatchIndex??=e,vt(t,t.router.getMatch(r),n);try{i.options.onError?.(n)}catch(a){n=a,vt(t,t.router.getMatch(r),n)}t.updateMatch(r,a=>(a._nonReactive.beforeLoadPromise?.resolve(),a._nonReactive.beforeLoadPromise=void 0,a._nonReactive.loadPromise?.resolve(),{...a,error:n,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}))},rc=(t,e,n,o)=>{const r=t.router.getMatch(e),s=t.matches[n-1]?.id,i=s?t.router.getMatch(s):void 0;if(t.router.isShell()){r.ssr=e===Z;return}if(i?.ssr===!1){r.ssr=!1;return}const a=_=>_===!0&&i?.ssr==="data-only"?"data-only":_,c=t.router.options.defaultSsr??!0;if(o.options.ssr===void 0){r.ssr=a(c);return}if(typeof o.options.ssr!="function"){r.ssr=a(o.options.ssr);return}const{search:l,params:d}=r,f={search:De(l,r.searchError),params:De(d,r.paramsError),location:t.location,matches:t.matches.map(_=>({index:_.index,pathname:_.pathname,fullPath:_.fullPath,staticData:_.staticData,id:_.id,routeId:_.routeId,search:De(_.search,_.searchError),params:De(_.params,_.paramsError),ssr:_.ssr}))},h=o.options.ssr(f);if(St(h))return h.then(_=>{r.ssr=a(_??c)});r.ssr=a(h??c)},Es=(t,e,n,o)=>
2{if(o._nonReactive.pendingTimeout!==void 0)return;const r=n.options.pendingMs??t.router.options.defaultPendingMs;if(!!(t.onReady&&!t.router.isServer&&!sn(t,e)&&(n.options.loader||n.options.beforeLoad||Ss(n))&&typeof r=="number"&&r!==1/0&&(n.options.pendingComponent??t.router.options?.defaultPendingComponent))){const i=setTimeout(()=>{He(t)},r);o._nonReactive.pendingTimeout=i}},sc=(t,e,n)=>{const o=t.router.getMatch(e);if(!o._nonReactive.beforeLoadPromise&&!o._nonReactive.loaderPromise)return;Es(t,e,n,o);const r=()=>{const s=t.router.getMatch(e);s.preload&&(s.status==="redirected"||s.status==="notFound")&&vt(t,s,s.error)};return o._nonReactive.beforeLoadPromise?o._nonReactive.beforeLoadPromise.then(r):r()},ic=(t,e,n,o)=>{const r=t.router.getMatch(e),s=r._nonReactive.loadPromise;r._nonReactive.loadPromise=Ft(()=>{s?.resolve()});const{paramsError:i,searchError:a}=r;i&&pe(t,n,i,"PARSE_PARAMS"),a&&pe(t,n,a,"VALIDATE_SEARCH"),Es(t,e,o,r);const c=new AbortController,l=t.matches[n-1]?.id,h={...(l?t.router.getMatch(l):void 0)?.context??t.router.options.context??void 0,...r.__routeContext};let _=!1;const y=()=>{_||(_=!0,t.updateMatch(e,w=>({...w,isFetching:"beforeLoad",fetchCount:w.fetchCount+1,abortController:c,context:h})))},R=()=>{r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,t.updateMatch(e,w=>({...w,isFetching:!1}))};if(!o.options.beforeLoad){Jt(()=>{y(),R()});return}r._nonReactive.beforeLoadPromise=Ft();const{search:v,params:S,cause:A}=r,C=sn(t,e),U={search:v,abortController:c,params:S,preload:C,context:h,location:t.location,navigate:w=>t.router.navigate({...w,_fromLocation:t.location}),buildLocation:t.router.buildLocation,cause:C?"preload":A,matches:t.matches,...t.router.options.additionalContext},z=w=>{if(w===void 0){Jt(()=>{y(),R()});return}(et(w)||tt(w))&&(y(),pe(t,n,w,"BEFORE_LOAD")),Jt(()=>{y(),t.updateMatch(e,P=>({...P,__beforeLoadContext:w,context:{...P.context,...w}})),R()})};let k;try{if(k=o.options.beforeLoad(U),St(k))return y(),k.catch(w=>{pe(t,n,w,"BEFORE_LOAD")}).then(z)}catch(w){y(),pe(t,n,w,"BEFORE_LOAD")}z(k)},ac=(t,e)=>{const{id:n,routeId:o}=t.matches[e],r=t.router.looseRoutesById[o],s=()=>{if(t.router.isServer){const c=rc(t,n,e,r);if(St(c))return c.then(a)}return a()},i=()=>ic(t,n,e,r),a=()=>{if(ys(t,n))return;const c=sc(t,n,r);return St(c)?c.then(i):i()};return s()},ye=(t,e,n)=>{const o=t.router.getMatch(e);if(!o||!n.options.head&&!n.options.scripts&&!n.options.headers)return;const r={matches:t.matches,match:o,params:o.params,loaderData:o.loaderData};return Promise.all([n.options.head?.(r),n.options.scripts?.(r),n.options.headers?.(r)]).then(([s,i,a])=>{const c=s?.meta,l=s?.links,d=s?.scripts,f=s?.styles;return{meta:c,links:l,headScripts:d,headers:a,scripts:i,styles:f}})},Rs=(t,e,n,o)=>{const r=t.matchPromises[n-1],{params:s,loaderDeps:i,abortController:a,context:c,cause:l}=t.router.getMatch(e),d=sn(t,e);return{params:s,deps:i,preload:!!d,parentMatchPromise:r,abortController:a,context:c,location:t.location,navigate:f=>t.router.navigate({...f,_fromLocation:t.location}),cause:d?"preload":l,route:o,...t.router.options.additionalContext}},Zo=async(t,e,n,o)=>{try{const r=t.router.getMatch(e);try{(!t.router.isServer||r.ssr===!0)&&vs(o);const s=o.options.loader?.(Rs(t,e,n,o)),i=o.options.loader&&St(s);if(!!(i||o._lazyPromise||o._componentsPromise||o.options.head||o.options.scripts||o.options.headers||r._nonReactive.minPendingPromise)&&t.updateMatch(e,f=>({...f,isFetching:"loader"})),o.options.loader){const f=i?await s:s;vt(t,t.router.getMatch(e),f),f!==void 0&&t.updateMatch(e,h=>({...h,loaderData:f}))}o._lazyPromise&&await o._lazyPromise;const c=ye(t,e,o),l=c?await c:void 0,d=r._nonReactive.minPendingPromise;d&&await d,o._componentsPromise&&await o._componentsPromise,t.updateMatch(e,f=>({...f,error:void 0,status:"success",isFetching:!1,updatedAt:Date.now(),...l}))}catch(s){let i=s;const a=r._nonReactive.minPendingPromise;a&&await a,vt(t,t.router.getMatch(e),s);try{o.options.onError?.(s)}catch(d){i=d,vt(t,t.router.getMatch(e),d)}const c=ye(t,e,o),l=c?await c:void 0;t.updateMatch(e,d=>({...d,error:i,status:"error",isFetching:!1,...l}))}}catch(r){const s=t.router.getMatch(e);if(s){const i=ye(t,e,o);if(i){const a=await i;t.updateMatch(e,c=>({...c,...a}))}s._nonReactive.loaderPromise=void 0}vt(t,s,r)}},cc=async(t,e)=>{const{id:n,routeId:o}=t.matches[e];let r=!1,s=!1;const i=t.router.looseRoutesById[o];if(ys(t,n)){if(t.router.isServer){const l=ye(t,n,i);if(l){const d=await l;t.updateMatch(n,f=>({...f,...d}))}return t.router.getMatch(n)}}else{const l=t.router.getMatch(n);if(l._nonReactive.loaderPromise){if(l.status==="success"&&!t.sync&&!l.preload)return l;await l._nonReactive.loaderPromise;const d=t.router.getMatch(n);d.error&&vt(t,d,d.error)}else{const d=Date.now()-l.updatedAt,f=sn(t,n),h=f?i.options.preloadStaleTime??t.router.options.defaultPreloadStaleTime??3e4:i.options.staleTime??t.router.options.defaultStaleTime??0,_=i.options.shouldReload,y=typeof _=="function"?_(Rs(t,n,e,i)):_,R=!!f&&!t.router.state.matches.some(C=>C.id===n),v=t.router.getMatch(n);v._nonReactive.loaderPromise=Ft(),R!==v.preload&&t.updateMatch(n,C=>({...C,preload:R}));const{status:S,invalid:A}=v;if(r=S==="success"&&(A||(y??d>h)),!(f&&i.options.preload===!1))if(r&&!t.sync)s=!0,(async()=>{try{await Zo(t,n,e,i);const C=t.router.getMatch(n);C._nonReactive.loaderPromise?.resolve(),C._nonReactive.loadPromise?.resolve(),C._nonReactive.loaderPromise=void 0}catch(C){et(C)&&await t.router.navigate(C.options)}})();else if(S!=="success"||r&&t.sync)await Zo(t,n,e,i);else{const C=ye(t,n,i);if(C){const U=await C;t.updateMatch(n,z=>
2({...z,...U}))}}}}const a=t.router.getMatch(n);s||(a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loadPromise?.resolve()),clearTimeout(a._nonReactive.pendingTimeout),a._nonReactive.pendingTimeout=void 0,s||(a._nonReactive.loaderPromise=void 0),a._nonReactive.dehydrated=void 0;const c=s?a.isFetching:!1;return c!==a.isFetching||a.invalid!==!1?(t.updateMatch(n,l=>({...l,isFetching:c,invalid:!1})),t.router.getMatch(n)):a};async function Qo(t){const e=Object.assign(t,{matchPromises:[]});!e.router.isServer&&e.router.state.matches.some(n=>n._forcePending)&&He(e);try{for(let r=0;r<e.matches.length;r++){const s=ac(e,r);St(s)&&await s}const n=e.firstBadMatchIndex??e.matches.length;for(let r=0;r<n;r++)e.matchPromises.push(cc(e,r));await Promise.all(e.matchPromises);const o=He(e);St(o)&&await o}catch(n){if(tt(n)&&!e.preload){const o=He(e);throw St(o)&&await o,n}if(et(n))throw n}return e.matches}async function vs(t){if(!t._lazyLoaded&&t._lazyPromise===void 0&&(t.lazyFn?t._lazyPromise=t.lazyFn().then(e=>{const{id:n,...o}=e.options;Object.assign(t.options,o),t._lazyLoaded=!0,t._lazyPromise=void 0}):t._lazyLoaded=!0),!t._componentsLoaded&&t._componentsPromise===void 0){const e=()=>{const n=[];for(const o of bs){const r=t.options[o]?.preload;r&&n.push(r())}if(n.length)return Promise.all(n).then(()=>{t._componentsLoaded=!0,t._componentsPromise=void 0});t._componentsLoaded=!0,t._componentsPromise=void 0};t._componentsPromise=t._lazyPromise?t._lazyPromise.then(e):e()}return t._componentsPromise}function De(t,e){return e?{status:"error",error:e}:{status:"success",value:t}}function Ss(t){for(const e of bs)if(t.options[e]?.preload)return!0;return!1}const bs=["component","errorComponent","pendingComponent","notFoundComponent"];function uc(t){return{input:({url:e})=>{for(const n of t)e=Is(n,e);return e},output:({url:e})=>{for(let n=t.length-1;n>=0;n--)e=Ps(t[n],e);return e}}}function lc(t){const e=zn(t.basepath),n=new RegExp(`^/${e}/`,t.caseSensitive?"":"i");return{input:({url:o})=>(o.pathname=o.pathname.replace(n,"/"),o),output:({url:o})=>(o.pathname=Ve(["/",e,o.pathname]),o)}}function Is(t,e){const n=t?.input?.({url:e});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return e}function Ps(t,e){const n=t?.output?.({url:e});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return e}function dc(t){return t instanceof Error?{name:t.name,message:t.message}:{data:t}}function kt(t){const e=t.resolvedLocation,n=t.location,o=e?.pathname!==n.pathname,r=e?.href!==n.href,s=e?.hash!==n.hash;return{fromLocation:e,toLocation:n,pathChanged:o,hrefChanged:r,hashChanged:s}}class pc{constructor(e){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=n=>
2n(),this.update=n=>{if(n.notFoundRoute&&console.warn("The notFoundRoute API is deprecated and will be removed in the next major version. See https://tanstack.com/router/v1/docs/framework/react/guide/not-found-errors#migrating-from-notfoundroute for more info."),this.options={...this.options,...n},this.isServer=this.options.isServer??typeof document>"u",this.pathParamsDecodeCharMap=this.options.pathParamsAllowedCharacters?new Map(this.options.pathParamsAllowedCharacters.map(o=>[encodeURIComponent(o),o])):void 0,(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.isServer||(this.history=Oa())),this.options.basepath){const o=lc({basepath:this.options.basepath});this.options.rewrite?this.rewrite=uc([o,this.options.rewrite]):this.rewrite=o}else this.rewrite=this.options.rewrite;this.origin=this.options.origin,this.origin||(this.isServer?this.origin="http://localhost":this.origin=window.origin),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree&&(this.routeTree=this.options.routeTree,this.buildRouteTree()),!this.__store&&this.latestLocation&&(this.__store=new Gn(hc(this.latestLocation),{onUpdate:()=>{this.__store.state={...this.state,cachedMatches:this.state.cachedMatches.filter(o=>!["redirected"].includes(o.status))}}}),Ya(this)),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a)"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const{routesById:n,routesByPath:o,flatRoutes:r}=za({routeTree:this.routeTree,initRoute:(i,a)=>{i.init({originalIndex:a})}});this.routesById=n,this.routesByPath=o,this.flatRoutes=r;const s=this.options.notFoundRoute;s&&(s.init({originalIndex:99999999999}),this.routesById[s.id]=s)},this.subscribe=(n,o)=>{const r={eventType:n,fn:o};return this.subscribers.add(r),()=>{this.subscribers.delete(r)}},this.emit=n=>{this.subscribers.forEach(o=>{o.eventType===n.type&&o.fn(n)})},this.parseLocation=(n,o)=>{const r=({href:c,state:l})=>{const d=new URL(c,this.origin),f=Is(this.rewrite,d),h=this.options.parseSearch(f.search),_=this.options.stringifySearch(h);f.search=_;const y=f.href.replace(f.origin,""),{pathname:R,hash:v}=f;return{href:y,publicHref:c,url:f.href,pathname:R,searchStr:_,search:rt(o?.search,h),hash:v.split("#").reverse()[0]??"",state:rt(o?.state,l)}},s=r(n),{__tempLocation:i,__tempKey:a}=s.state;if(i&&(!a||a===this.tempLocationKey)){const c=r(i);return c.state.key=s.state.key,c.state.__TSR_key=s.state.__TSR_key,delete c.state.__tempLocation,{...c,maskedLocation:s}}return s},this.resolvePathWithBase=(n,o)=>ga({base:n,to:ya(o),trailingSlash:this.options.trailingSlash,parseCache:this.parsePathnameCache}),this.matchRoutes=(n,o,r)=>typeof n=="string"?this.matchRoutesInternal({pathname:n,search:o},r):this.matchRoutesInternal(n,o),this.parsePathnameCache=oc(1e3),this.getMatchedRoutes=(n,o)=>_c({pathname:n,routePathname:o,caseSensitive:this.options.caseSensitive,routesByPath:this.routesByPath,routesById:this.routesById,flatRoutes:this.flatRoutes,parseCache:this.parsePathnameCache}),this.cancelMatch=n=>{const o=this.getMatch(n);o&&(o.abortController.abort(),clearTimeout(o._nonReactive.pendingTimeout),o._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.state.pendingMatches?.forEach(n=>{this.cancelMatch(n.id)})},this.buildLocation=n=>{const o=(s={})=>{const i=s._fromLocation||this.latestLocation,a=this.matchRoutes(i,{_buildLocation:!0}),c=Ea(a);s.from;const l=s.unsafeRelative==="path"?i.pathname:s.from??c.fullPath,d=this.resolvePathWithBase(l,"."),f=c.search,h={...c.params},_=s.to?this.resolvePathWithBase(d,`${s.to}`):this.resolvePathWithBase(d,"."),y=s.params===!1||s.params===null?{}:(s.params??!0)===!0?h:Object.assign(h,me(s.params,h)),R=$e({path:_,params:y,parseCache:this.parsePathnameCache}).interpolatedPath,v=this.matchRoutes(R,void 0,{_buildLocation:!0}).map(D=>this.looseRoutesById[D.routeId]);if(Object.keys(y).length>0)for(const D of v){const W=D.options.params?.stringify??D.options.stringifyParams;W&&Object.assign(y,W(y))}
2const S=$e({path:_,params:y,leaveWildcards:!1,leaveParams:n.leaveParams,decodeCharMap:this.pathParamsDecodeCharMap,parseCache:this.parsePathnameCache}).interpolatedPath;let A=f;if(n._includeValidateSearch&&this.options.search?.strict){const D={};v.forEach(W=>{if(W.options.validateSearch)try{Object.assign(D,qn(W.options.validateSearch,{...D,...A}))}catch{}}),A=D}A=mc({search:A,dest:s,destRoutes:v,_includeValidateSearch:n._includeValidateSearch}),A=rt(f,A);const C=this.options.stringifySearch(A),U=s.hash===!0?i.hash:s.hash?me(s.hash,i.hash):void 0,z=U?`#${U}`:"";let k=s.state===!0?i.state:s.state?me(s.state,i.state):{};k=rt(i.state,k);const w=`${S}${C}${z}`,P=new URL(w,this.origin),x=Ps(this.rewrite,P);return{publicHref:x.pathname+x.search+x.hash,href:w,url:x.href,pathname:S,search:A,searchStr:C,state:k,hash:U??"",unmaskOnReload:s.unmaskOnReload}},r=(s={},i)=>{const a=o(s);let c=i?o(i):void 0;if(!c){let l={};const d=this.options.routeMasks?.find(f=>{const h=Wn(a.pathname,{to:f.from,caseSensitive:!1,fuzzy:!1},this.parsePathnameCache);return h?(l=h,!0):!1});if(d){const{from:f,...h}=d;i={from:n.from,...h,params:l},c=o(i)}}return c&&(a.maskedLocation=c),a};return n.mask?r(n,{from:n.from,...n.mask}):r(n)},this.commitLocation=({viewTransition:n,ignoreBlocker:o,...r})=>{const s=()=>{const c=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];c.forEach(d=>{r.state[d]=this.latestLocation.state[d]});const l=Tn(r.state,this.latestLocation.state);return c.forEach(d=>{delete r.state[d]}),l},i=Dt(this.latestLocation.href)===Dt(r.href),a=this.commitLocationPromise;if(this.commitLocationPromise=Ft(()=>{a?.resolve()}),i&&s())this.load();else{let{maskedLocation:c,hashScrollIntoView:l,...d}=r;c&&(d={...c,state:{...c.state,__tempKey:void 0,__tempLocation:{...d,search:d.searchStr,state:{...d.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(d.unmaskOnReload??this.options.unmaskOnReload??!1)&&(d.state.__tempKey=this.tempLocationKey)),d.state.__hashScrollIntoViewOptions=l??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=n,this.history[r.replace?"replace":"push"](d.publicHref,d.state,{ignoreBlocker:o})}return this.resetNextScroll=r.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:o,hashScrollIntoView:r,viewTransition:s,ignoreBlocker:i,href:a,...c}={})=>{if(a){const d=this.history.location.state.__TSR_index,f=Xe(a,{__TSR_index:n?d:d+1});c.to=f.pathname,c.search=this.options.parseSearch(f.search),c.hash=f.hash.slice(1)}const l=this.buildLocation({...c,_includeValidateSearch:!0});return this.commitLocation({...l,viewTransition:s,replace:n,resetScroll:o,hashScrollIntoView:r,ignoreBlocker:i})},this.navigate=({to:n,reloadDocument:o,href:r,...s})=>{if(!o&&r)try{new URL(`${r}`),o=!0}catch{}return o?(r||(r=this.buildLocation({to:n,...s}).href),s.replace?window.location.replace(r):window.location.href=r,Promise.resolve()):this.buildAndCommitLocation({...s,href:r,to:n,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),this.isServer){const o=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0}),r=s=>{try{return encodeURI(decodeURI(s))}catch{return s}};if(zn(r(this.latestLocation.href))!==zn(r(o.href)))throw rn({href:o.href})}const n=this.matchRoutes(this.latestLocation);this.__store.setState(o=>({...o,status:"pending",statusCode:200,isLoading:!0,location:this.latestLocation,pendingMatches:n,cachedMatches:o.cachedMatches.filter(r=>!n.some(s=>s.id===r.id))}))},this.load=async n=>{let o,r,s;for(s=new Promise(i=>{this.startTransition(async()=>{try{this.beforeLoad();const a=this.latestLocation,c=this.state.resolvedLocation;this.state.redirect||this.emit({type:"onBeforeNavigate",...kt({resolvedLocation:c,location:a})}),this.emit({type:"onBeforeLoad",...kt({resolvedLocation:c,location:a})}),await Qo({router:this,sync:n?.sync,matches:this.state.pendingMatches,location:a,updateMatch:this.updateMatch,onReady:async()=>{this.startViewTransition(async()=>{let l,d,f;Jt(()=>{this.__store.setState(h=>{const _=h.matches,y=h.pendingMatches||h.matches;return l=_.filter(R=>!y.some(v=>v.id===R.id)),d=y.filter(R=>!_.some(v=>v.id===R.id)),f=_.filter(R=>y.some(v=>v.id===R.id)),{...h,isLoading:!1,loadedAt:Date.now(),matches:y,pendingMatches:void 0,cachedMatches:[...h.cachedMatches,...l.filter(R=>R.status!=="error")]}}),this.clearExpiredCache()}
2),[[l,"onLeave"],[d,"onEnter"],[f,"onStay"]].forEach(([h,_])=>{h.forEach(y=>{this.looseRoutesById[y.routeId].options[_]?.(y)})})})}})}catch(a){et(a)?(o=a,this.isServer||this.navigate({...o.options,replace:!0,ignoreBlocker:!0})):tt(a)&&(r=a),this.__store.setState(c=>({...c,statusCode:o?o.status:r?404:c.matches.some(l=>l.status==="error")?500:200,redirect:o}))}this.latestLoadPromise===s&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),i()})}),this.latestLoadPromise=s,await s;this.latestLoadPromise&&s!==this.latestLoadPromise;)await this.latestLoadPromise;this.hasNotFoundMatch()&&this.__store.setState(i=>({...i,statusCode:404}))},this.startViewTransition=n=>{const o=this.shouldViewTransition??this.options.defaultViewTransition;if(delete this.shouldViewTransition,o&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let r;if(typeof o=="object"&&this.isViewTransitionTypesSupported){const s=this.latestLocation,i=this.state.resolvedLocation,a=typeof o.types=="function"?o.types(kt({resolvedLocation:i,location:s})):o.types;r={update:n,types:a}}else r=n;document.startViewTransition(r)}else n()},this.updateMatch=(n,o)=>{const r=this.state.pendingMatches?.some(s=>s.id===n)?"pendingMatches":this.state.matches.some(s=>s.id===n)?"matches":this.state.cachedMatches.some(s=>s.id===n)?"cachedMatches":"";r&&this.__store.setState(s=>({...s,[r]:s[r]?.map(i=>i.id===n?o(i):i)}))},this.getMatch=n=>{const o=r=>r.id===n;return this.state.cachedMatches.find(o)??this.state.pendingMatches?.find(o)??this.state.matches.find(o)},this.invalidate=n=>{const o=r=>n?.filter?.(r)??!0?{...r,invalid:!0,...n?.forcePending||r.status==="error"?{status:"pending",error:void 0}:void 0}:r;return this.__store.setState(r=>({...r,matches:r.matches.map(o),cachedMatches:r.cachedMatches.map(o),pendingMatches:r.pendingMatches?.map(o)})),this.shouldViewTransition=!1,this.load({sync:n?.sync})},this.resolveRedirect=n=>(n.options.href||(n.options.href=this.buildLocation(n.options).href,n.headers.set("Location",n.options.href)),n.headers.get("Location")||n.headers.set("Location",n.options.href),n),this.clearCache=n=>{const o=n?.filter;o!==void 0?this.__store.setState(r=>({...r,cachedMatches:r.cachedMatches.filter(s=>!o(s))})):this.__store.setState(r=>({...r,cachedMatches:[]}))},this.clearExpiredCache=()=>{const n=o=>{const r=this.looseRoutesById[o.routeId];if(!r.options.loader)return!0;const s=(o.preload?r.options.preloadGcTime??this.options.defaultPreloadGcTime:r.options.gcTime??this.options.defaultGcTime)??300*1e3;return o.status==="error"?!0:Date.now()-o.updatedAt>=s};this.clearCache({filter:n})},this.loadRouteChunk=vs,this.preloadRoute=async n=>{const o=this.buildLocation(n);let r=this.matchRoutes(o,{throwOnError:!0,preload:!0,dest:n});const s=new Set([...this.state.matches,...this.state.pendingMatches??[]].map(a=>a.id)),i=new Set([...s,...this.state.cachedMatches.map(a=>a.id)]);Jt(()=>{r.forEach(a=>{i.has(a.id)||this.__store.setState(c=>({...c,cachedMatches:[...c.cachedMatches,a]}))})});try{return r=await Qo({router:this,matches:r,location:o,preload:!0,updateMatch:(a,c)=>{s.has(a)?r=r.map(l=>l.id===a?c(l):l):this.updateMatch(a,c)}}),r}catch(a){if(et(a))return a.options.reloadDocument?void 0:await this.preloadRoute({...a.options,_fromLocation:o});tt(a)||console.error(a);return}},this.matchRoute=(n,o)=>{const r={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},s=this.buildLocation(r);if(o?.pending&&this.state.status!=="pending")return!1;const a=(o?.pending===void 0?!this.state.isLoading:o.pending)?this.latestLocation:this.state.resolvedLocation||this.state.location,c=Wn(a.pathname,{...o,to:s.pathname},this.parsePathnameCache);return!c||n.params&&!Tn(c,n.params,{partial:!0})?!1:c&&(o?.includeSearch??!0)?Tn(a.search,s.search,{partial:!0})?c:!1:c},this.hasNotFoundMatch=()=>this.__store.state.matches.some(n=>n.status==="notFound"||n.globalNotFound),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??Qa,parseSearch:e.parseSearch??Za}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}
2isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.__store.state}get looseRoutesById(){return this.routesById}matchRoutesInternal(e,n){const{foundRoute:o,matchedRoutes:r,routeParams:s}=this.getMatchedRoutes(e.pathname,n?.dest?.to);let i=!1;(o?o.path!=="/"&&s["**"]:Dt(e.pathname))&&(this.options.notFoundRoute?r.push(this.options.notFoundRoute):i=!0);const a=(()=>{if(i){if(this.options.notFoundMode!=="root")for(let d=r.length-1;d>=0;d--){const f=r[d];if(f.children)return f.id}return Z}})(),c=[],l=d=>d?.id?d.context??this.options.context??void 0:this.options.context??void 0;return r.forEach((d,f)=>{const h=c[f-1],[_,y,R]=(()=>{const B=h?.search??e.search,zt=h?._strictSearch??void 0;try{const ot=qn(d.options.validateSearch,{...B})??void 0;return[{...B,...ot},{...zt,...ot},void 0]}catch(ot){let Wt=ot;if(ot instanceof tn||(Wt=new tn(ot.message,{cause:ot})),n?.throwOnError)throw Wt;return[B,{},Wt]}})(),v=d.options.loaderDeps?.({search:_})??"",S=v?JSON.stringify(v):"",{interpolatedPath:A,usedParams:C}=$e({path:d.fullPath,params:s,decodeCharMap:this.pathParamsDecodeCharMap}),U=$e({path:d.id,params:s,leaveWildcards:!0,decodeCharMap:this.pathParamsDecodeCharMap,parseCache:this.parsePathnameCache}).interpolatedPath+S,z=this.getMatch(U),k=this.state.matches.find(B=>B.routeId===d.id),w=z?._strictParams??C;let P;if(!z){const B=d.options.params?.parse??d.options.parseParams;if(B)try{Object.assign(w,B(w))}catch(zt){if(P=new fc(zt.message,{cause:zt}),n?.throwOnError)throw P}}Object.assign(s,w);const x=k?"stay":"enter";let D;if(z)D={...z,cause:x,params:k?rt(k.params,s):s,_strictParams:w,search:k?rt(k.search,_):rt(z.search,_),_strictSearch:y};else{const B=d.options.loader||d.options.beforeLoad||d.lazyFn||Ss(d)?"pending":"success";D={id:U,index:f,routeId:d.id,params:k?rt(k.params,s):s,_strictParams:w,pathname:A,updatedAt:Date.now(),search:k?rt(k.search,_):_,_strictSearch:y,searchError:void 0,status:B,isFetching:!1,error:void 0,paramsError:P,__routeContext:void 0,_nonReactive:{loadPromise:Ft()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:x,loaderDeps:k?rt(k.loaderDeps,v):v,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:d.options.staticData||{},fullPath:d.fullPath}}n?.preload||(D.globalNotFound=a===d.id),D.searchError=R;const W=l(h);D.context={...W,...D.__routeContext,...D.__beforeLoadContext},c.push(D)}),c.forEach((d,f)=>{const h=this.looseRoutesById[d.routeId];if(!this.getMatch(d.id)&&n?._buildLocation!==!0){const y=c[f-1],R=l(y);if(h.options.context){const v={deps:d.loaderDeps,params:d.params,context:R??{},location:e,navigate:S=>this.navigate({...S,_fromLocation:e}),buildLocation:this.buildLocation,cause:d.cause,abortController:d.abortController,preload:!!d.preload,matches:c};d.__routeContext=h.options.context(v)??void 0}d.context={...R,...d.__routeContext,...d.__beforeLoadContext}}}),c}}class tn extends Error{}class fc extends Error{}function hc(t){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:t,matches:[],pendingMatches:[],cachedMatches:[],statusCode:200}}function qn(t,e){if(t==null)return{};if("~standard"in t){const n=t["~standard"].validate(e);if(n instanceof Promise)throw new tn("Async validation not supported");if(n.issues)throw new tn(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return"parse"in t?t.parse(e):typeof t=="function"?t(e):{}}function _c({pathname:t,routePathname:e,caseSensitive:n,routesByPath:o,routesById:r,flatRoutes:s,parseCache:i}){let a={};const c=Dt(t),l=_=>Wn(c,{to:_.fullPath,caseSensitive:_.options?.caseSensitive??n,fuzzy:!0},i);let d=e!==void 0?o[e]:void 0;if(d)a=l(d);else{let _;for(const y of s){const R=l(y);if(R)if(y.path!=="/"&&R["**"])_||(_={foundRoute:y,routeParams:R});else{d=y,a=R;break}}!d&&_&&(d=_.foundRoute,a=_.routeParams)}let f=d||r[Z];const h=[f];for(;f.parentRoute;)f=f.parentRoute,h.push(f);return h.reverse(),{matchedRoutes:h,routeParams:a,foundRoute:d}}function mc({search:t,dest:e,destRoutes:n,_includeValidateSearch:o}){const r=n.reduce((a,c)=>{const l=[];
2if("search"in c.options)c.options.search?.middlewares&&l.push(...c.options.search.middlewares);else if(c.options.preSearchFilters||c.options.postSearchFilters){const d=({search:f,next:h})=>{let _=f;"preSearchFilters"in c.options&&c.options.preSearchFilters&&(_=c.options.preSearchFilters.reduce((R,v)=>v(R),f));const y=h(_);return"postSearchFilters"in c.options&&c.options.postSearchFilters?c.options.postSearchFilters.reduce((R,v)=>v(R),y):y};l.push(d)}if(o&&c.options.validateSearch){const d=({search:f,next:h})=>{const _=h(f);try{return{..._,...qn(c.options.validateSearch,_)??void 0}}catch{return _}};l.push(d)}return a.concat(l)},[])??[],s=({search:a})=>e.search?e.search===!0?a:me(e.search,a):{};r.push(s);const i=(a,c)=>{if(a>=r.length)return c;const l=r[a];return l({search:c,next:f=>i(a+1,f)})};return i(0,t)}const st=Symbol.for("TSR_DEFERRED_PROMISE");function gc(t,e){const n=t;return n[st]||(n[st]={status:"pending"},n.then(o=>{n[st].status="success",n[st].data=o}).catch(o=>{n[st].status="error",n[st].error={data:dc(o),__isServerError:!0}})),n}class ws{constructor(e){if(this.init=n=>{this.originalIndex=n.originalIndex;const o=this.options,r=!o?.path&&!o?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=Z:this.parentRoute||K(!1);let s=r?Z:o?.path;s&&s!=="/"&&(s=ls(s));const i=o?.id||s;let a=r?Z:Ve([this.parentRoute.id===Z?"":this.parentRoute.id,i]);s===Z&&(s="/"),a!==Z&&(a=Ve(["/",a]));const c=a===Z?"/":Ve([this.parentRoute.fullPath,s]);this._path=s,this._id=a,this._fullPath=c,this._to=c},this.clone=n=>{this._path=n._path,this._id=n._id,this._fullPath=n._fullPath,this._to=n._to,this.options.getParentRoute=n.options.getParentRoute,this.children=n.children},this.addChildren=n=>this._addFileChildren(n),this._addFileChildren=n=>(Array.isArray(n)&&(this.children=n),typeof n=="object"&&n!==null&&(this.children=Object.values(n)),this),this._addFileTypes=()=>this,this.updateLoader=n=>(Object.assign(this.options,n),this),this.update=n=>(Object.assign(this.options,n),this),this.lazy=n=>(this.lazyFn=n,this),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}}class yc extends ws{constructor(e){super(e)}}var Ec=(t=>(t[t.AggregateError=1]="AggregateError",t[t.ArrowFunction=2]="ArrowFunction",t[t.ErrorPrototypeStack=4]="ErrorPrototypeStack",t[t.ObjectAssign=8]="ObjectAssign",t[t.BigIntTypedArray=16]="BigIntTypedArray",t[t.RegExp=32]="RegExp",t))(Ec||{}
2),ft=Symbol.asyncIterator,Ts=Symbol.hasInstance,Zt=Symbol.isConcatSpreadable,ht=Symbol.iterator,Ls=Symbol.match,As=Symbol.matchAll,Cs=Symbol.replace,$s=Symbol.search,Os=Symbol.species,Ms=Symbol.split,xs=Symbol.toPrimitive,Qt=Symbol.toStringTag,Ds=Symbol.unscopables,ks={[ft]:0,[Ts]:1,[Zt]:2,[ht]:3,[Ls]:4,[As]:5,[Cs]:6,[$s]:7,[Os]:8,[Ms]:9,[xs]:10,[Qt]:11,[Ds]:12},Rc={0:ft,1:Ts,2:Zt,3:ht,4:Ls,5:As,6:Cs,7:$s,8:Os,9:Ms,10:xs,11:Qt,12:Ds},u=void 0,vc={2:!0,3:!1,1:u,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},Sc={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},bc={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function L(t,e,n,o,r,s,i,a,c,l,d,f){return{t,i:e,s:n,c:o,m:r,p:s,e:i,a,f:c,b:l,o:d,l:f}}function Tt(t){return L(2,u,t,u,u,u,u,u,u,u,u,u)}var js=Tt(2),Fs=Tt(3),Ic=Tt(1),Pc=Tt(0),wc=Tt(4),Tc=Tt(5),Lc=Tt(6),Ac=Tt(7);function Cc(t){switch(t){case'"':return'\\"';case"\\":return"\\\\";case`
3`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case"	":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return u}}function Lt(t){let e="",n=0,o;for(let r=0,s=t.length;r<s;r++)o=Cc(t[r]),o&&(e+=t.slice(n,r)+o,n=r+1);return n===0?e=t:e+=t.slice(n),e}function $c(t){switch(t){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return`
4`;case"\\r":return"\r";case"\\b":return"\b";case"\\t":return"	";case"\\f":return"\f";case"\\x3C":return"<";case"\\u2028":return"\u2028";case"\\u2029":return"\u2029";default:return t}}function At(t){return t.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,$c)}var ke="__SEROVAL_REFS__",Ns=new Map,qt=new Map;function Vs(t){return Ns.has(t)}function Oc(t){return qt.has(t)}function Mc(t){if(Vs(t))return Ns.get(t);throw new lu(t)}function xc(t){if(Oc(t))return qt.get(t);throw new du(t)}typeof globalThis<"u"?Object.defineProperty(globalThis,ke,{value:qt,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,ke,{value:qt,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,ke,{value:qt,configurable:!0,writable:!1,enumerable:!1}):typeof globalThis<"u"&&Object.defineProperty(globalThis,ke,{value:qt,configurable:!0,writable:!1,enumerable:!1});function go(t){return t instanceof EvalError?1:t instanceof RangeError?2:t instanceof ReferenceError?3:t instanceof SyntaxError?4:t instanceof TypeError?5:t instanceof URIError?6:0}function Dc(t){let e=Sc[go(t)];return t.name!==e?{name:t.name}:t.constructor.name!==e?{name:t.constructor.name}:{}}function Bs(t,e){let n=Dc(t),o=Object.getOwnPropertyNames(t);for(let r=0,s=o.length,i;r<s;r++)i=o[r],i!=="name"&&i!=="message"&&(i==="stack"?e&4&&(n=n||{},n[i]=t[i]):(n=n||{},n[i]=t[i]));return n}function Hs(t){return Object.isFrozen(t)?3:Object.isSealed(t)?2:Object.isExtensible(t)?0:1}function kc(t){switch(t){case Number.POSITIVE_INFINITY:return Tc;case Number.NEGATIVE_INFINITY:return Lc}return t!==t?Ac:Object.is(t,-0)?wc:L(0,u,t,u,u,u,u,u,u,u,u,u)}function Us(t){return L(1,u,Lt(t),u,u,u,u,u,u,u,u,u)}function jc(t){return L(3,u,""+t,u,u,u,u,u,u,u,u,u)}function Fc(t){return L(4,t,u,u,u,u,u,u,u,u,u,u)}function Nc(t,e){let n=e.valueOf();return L(5,t,n!==n?"":e.toISOString(),u,u,u,u,u,u,u,u,u)}function Vc(t,e){return L(6,t,u,Lt(e.source),e.flags,u,u,u,u,u,u,u)}function Bc(t,e){return L(17,t,ks[e],u,u,u,u,u,u,u,u,u)}function Hc(t,e){return L(18,t,Lt(Mc(e)),u,u,u,u,u,u,u,u,u)}function Uc(t,e,n){return L(25,t,n,Lt(e),u,u,u,u,u,u,u,u)}function zc(t,e,n){return L(9,t,u,u,u,u,u,n,u,u,Hs(e),u)}function Wc(t,e){return L(21,t,u,u,u,u,u,u,e,u,u,u)}function Gc(t,e,n){return L(15,t,u,e.constructor.name,u,u,u,u,n,e.byteOffset,u,e.length)}function Kc(t,e,n){return L(16,t,u,e.constructor.name,u,u,u,u,n,e.byteOffset,u,e.length)}function qc(t,e,n){return L(20,t,u,u,u,u,u,u,n,e.byteOffset,u,e.byteLength)}function Yc(t,e,n){return L(13,t,go(e),u,Lt(e.message),n,u,u,u,u,u,u)}function Jc(t,e,n){return L(14,t,go(e),u,Lt(e.message),n,u,u,u,u,u,u)}function Xc(t,e){return L(7,t,u,u,u,u,u,e,u,u,u,u)}function Zc(t,e){return L(28,u,u,u,u,u,u,[t,e],u,u,u,u)}function Qc(t,e){return L(30,u,u,u,u,u,u,[t,e],u,u,u,u)}function tu(t,e,n){return L(31,t,u,u,u,u,u,n,e,u,u,u)}function eu(t,e){return L(32,t,u,u,u,u,u,u,e,u,u,u)}function nu(t,e){return L(33,t,u,u,u,u,u,u,e,u,u,u)}function ou(t,e){return L(34,t,u,u,u,u,u,u,e,u,u,u)}function ru(t,e,n,o){return L(35,t,n,u,u,u,u,e,u,u,u,o)}
4var su={parsing:1,serialization:2,deserialization:3};function iu(t){return`Seroval Error (step: ${su[t]})`}var au=(t,e)=>iu(t),zs=class extends Error{constructor(t,e){super(au(t)),this.cause=e}},tr=class extends zs{constructor(t){super("parsing",t)}},cu=class extends zs{constructor(t){super("deserialization",t)}};function _t(t){return`Seroval Error (specific: ${t})`}var an=class extends Error{constructor(t){super(_t(1)),this.value=t}},Ws=class extends Error{constructor(t){super(_t(2))}},uu=class extends Error{constructor(t){super(_t(3))}},be=class extends Error{constructor(t){super(_t(4))}},lu=class extends Error{constructor(t){super(_t(5)),this.value=t}},du=class extends Error{constructor(t){super(_t(6))}},pu=class extends Error{constructor(t){super(_t(7))}},mt=class extends Error{constructor(t){super(_t(8))}},fu=class extends Error{constructor(t){super(_t(9))}},hu=class{constructor(t,e){this.value=t,this.replacement=e}},cn=()=>{let t={p:0,s:0,f:0};return t.p=new Promise((e,n)=>{t.s=e,t.f=n}),t},_u=(t,e)=>{t.s(e),t.p.s=1,t.p.v=e},mu=(t,e)=>{t.f(e),t.p.s=2,t.p.v=e};cn.toString();_u.toString();mu.toString();var gu=()=>{let t=[],e=[],n=!0,o=!1,r=0,s=(c,l,d)=>{for(d=0;d<r;d++)e[d]&&e[d][l](c)},i=(c,l,d,f)=>{for(l=0,d=t.length;l<d;l++)f=t[l],!n&&l===d-1?c[o?"return":"throw"](f):c.next(f)},a=(c,l)=>(n&&(l=r++,e[l]=c),i(c),()=>{n&&(e[l]=e[r],e[r--]=void 0)});return{__SEROVAL_STREAM__:!0,on:c=>a(c),next:c=>{n&&(t.push(c),s(c,"next"))},throw:c=>{n&&(t.push(c),s(c,"throw"),n=!1,o=!1,e.length=0)},return:c=>{n&&(t.push(c),s(c,"return"),n=!1,o=!0,e.length=0)}}},yu=t=>e=>()=>{let n=0,o={[t]:()=>o,next:()=>{if(n>e.d)return{done:!0,value:void 0};let r=n++,s=e.v[r];if(r===e.t)throw s;return{done:r===e.d,value:s}}};return o},Eu=(t,e)=>n=>()=>{let o=0,r=-1,s=!1,i=[],a=[],c=(d=0,f=a.length)=>{for(;d<f;d++)a[d].s({done:!0,value:void 0})};n.on({next:d=>{let f=a.shift();f&&f.s({done:!1,value:d}),i.push(d)},throw:d=>{let f=a.shift();f&&f.f(d),c(),r=i.length,s=!0,i.push(d)},return:d=>{let f=a.shift();f&&f.s({done:!0,value:d}),c(),r=i.length,i.push(d)}});let l={[t]:()=>l,next:()=>{if(r===-1){let h=o++;if(h>=i.length){let _=e();return a.push(_),_.p}return{done:!1,value:i[h]}}if(o>r)return{done:!0,value:void 0};let d=o++,f=i[d];if(d!==r)return{done:!1,value:f};if(s)throw f;return{done:!0,value:f}}};return l},Gs=t=>{let e=atob(t),n=e.length,o=new Uint8Array(n);for(let r=0;r<n;r++)o[r]=e.charCodeAt(r);return o.buffer};Gs.toString();function Ru(t){return"__SEROVAL_SEQUENCE__"in t}function Ks(t,e,n){return{__SEROVAL_SEQUENCE__:!0,v:t,t:e,d:n}}function vu(t){let e=[],n=-1,o=-1,r=t[ht]();for(;;)try{let s=r.next();if(e.push(s.value),s.done){o=e.length-1;break}}catch(s){n=e.length,e.push(s)}return Ks(e,n,o)}var Su=yu(ht);function bu(t){return Su(t)}var Iu={},Pu={},wu={0:{},1:{},2:{},3:{},4:{},5:{}};function Tu(t){return"__SEROVAL_STREAM__"in t}function un(){return gu()}function Lu(t){let e=un(),n=t[ft]();async function o(){try{let r=await n.next();r.done?e.return(r.value):(e.next(r.value),await o())}catch(r){e.throw(r)}}return o().catch(()=>{}),e}var Au=Eu(ft,cn);function Cu(t){return Au(t)}async function $u(t){try{return[1,await t]}catch(e){return[0,e]}}function Ou(t,e){return{plugins:e.plugins,mode:t,marked:new Set,features:63^(e.disabledFeatures||0),refs:e.refs||new Map,depthLimit:e.depthLimit||1e3}}function Ue(t,e){t.marked.add(e)}function Mu(t,e){let n=t.refs.size;return t.refs.set(e,n),n}function ln(t,e){let n=t.refs.get(e);return n!=null?(Ue(t,n),{type:1,value:Fc(n)}):{type:0,value:Mu(t,e)}}function yo(t,e){let n=ln(t,e);return n.type===1?n:Vs(e)?{type:2,value:Hc(n.value,e)}:n}function Mt(t,e){let n=yo(t,e);if(n.type!==0)return n.value;if(e in ks)return Bc(n.value,e);throw new an(e)}function dn(t,e){let n=ln(t,wu[e]);return n.type===1?n.value:L(26,n.value,e,u,u,u,u,u,u,u,u,u)}function xu(t){let e=ln(t,Iu);return e.type===1?e.value:L(27,e.value,u,u,u,u,u,u,Mt(t,ht),u,u,u)}function Du(t){let e=ln(t,Pu);return e.type===1?e.value:L(29,e.value,u,u,u,u,u,[dn(t,1),Mt(t,ft)],u,u,u,u)}function ku(t,e,n,o){return L(n?11:10,t,u,u,u,o,u,u,u,u,Hs(e),u)}function ju(t,e,n,o){return L(8,e,u,u,u,u,{k:n,v:o},u,dn(t,0),u,u,u)}function Fu(t,e,n){let o=new Uint8Array(n),r="";for(let s=0,i=o.length;s<i;s++)r+=String.fromCharCode(o[s]);return L(19,e,Lt(btoa(r)),u,u,u,u,u,dn(t,5),u,u,u)}function Nu(t,e){return{base:Ou(t,e),child:void 0}}var Vu=class{constructor(t,e){this._p=t,this.depth=e}parse(t){return N(this._p,this.depth,t)}};async function Bu(t,e,n){let o=[];for(let r=0,s=n.length;r<s;r++)r in n?o[r]=await N(t,e,n[r]):o[r]=0;return o}async function Hu(t,e,n,o){return zc(n,o,await Bu(t,e,o))}async function Eo(t,e,n){let o=Object.entries(n),r=[],s=[];for(let i=0,a=o.length;i<a;i++)r.push(Lt(o[i][0])),s.push(await N(t,e,o[i][1]));return ht in n&&(r.push(Mt(t.base,ht)),s.push(Zc(xu(t.base),await N(t,e,vu(n))))),ft in n&&
4(r.push(Mt(t.base,ft)),s.push(Qc(Du(t.base),await N(t,e,Lu(n))))),Qt in n&&(r.push(Mt(t.base,Qt)),s.push(Us(n[Qt]))),Zt in n&&(r.push(Mt(t.base,Zt)),s.push(n[Zt]?js:Fs)),{k:r,v:s}}async function $n(t,e,n,o,r){return ku(n,o,r,await Eo(t,e,o))}async function Uu(t,e,n,o){return Wc(n,await N(t,e,o.valueOf()))}async function zu(t,e,n,o){return Gc(n,o,await N(t,e,o.buffer))}async function Wu(t,e,n,o){return Kc(n,o,await N(t,e,o.buffer))}async function Gu(t,e,n,o){return qc(n,o,await N(t,e,o.buffer))}async function er(t,e,n,o){let r=Bs(o,t.base.features);return Yc(n,o,r?await Eo(t,e,r):u)}async function Ku(t,e,n,o){let r=Bs(o,t.base.features);return Jc(n,o,r?await Eo(t,e,r):u)}async function qu(t,e,n,o){let r=[],s=[];for(let[i,a]of o.entries())r.push(await N(t,e,i)),s.push(await N(t,e,a));return ju(t.base,n,r,s)}async function Yu(t,e,n,o){let r=[];for(let s of o.keys())r.push(await N(t,e,s));return Xc(n,r)}async function qs(t,e,n,o){let r=t.base.plugins;if(r)for(let s=0,i=r.length;s<i;s++){let a=r[s];if(a.parse.async&&a.test(o))return Uc(n,a.tag,await a.parse.async(o,new Vu(t,e),{id:n}))}return u}async function Ju(t,e,n,o){let[r,s]=await $u(o);return L(12,n,r,u,u,u,u,u,await N(t,e,s),u,u,u)}function Xu(t,e,n,o,r){let s=[],i=n.on({next:a=>{Ue(this.base,e),N(this,t,a).then(c=>{s.push(eu(e,c))},c=>{r(c),i()})},throw:a=>{Ue(this.base,e),N(this,t,a).then(c=>{s.push(nu(e,c)),o(s),i()},c=>{r(c),i()})},return:a=>{Ue(this.base,e),N(this,t,a).then(c=>{s.push(ou(e,c)),o(s),i()},c=>{r(c),i()})}})}async function Zu(t,e,n,o){return tu(n,dn(t.base,4),await new Promise(Xu.bind(t,e,n,o)))}async function Qu(t,e,n,o){let r=[];for(let s=0,i=o.v.length;s<i;s++)r[s]=await N(t,e,o.v[s]);return ru(n,r,o.t,o.d)}async function tl(t,e,n,o){if(Array.isArray(o))return Hu(t,e,n,o);if(Tu(o))return Zu(t,e,n,o);if(Ru(o))return Qu(t,e,n,o);let r=o.constructor;if(r===hu)return N(t,e,o.replacement);let s=await qs(t,e,n,o);if(s)return s;switch(r){case Object:return $n(t,e,n,o,!1);case u:return $n(t,e,n,o,!0);case Date:return Nc(n,o);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return er(t,e,n,o);case Number:case Boolean:case String:case BigInt:return Uu(t,e,n,o);case ArrayBuffer:return Fu(t.base,n,o);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return zu(t,e,n,o);case DataView:return Gu(t,e,n,o);case Map:return qu(t,e,n,o);case Set:return Yu(t,e,n,o)}if(r===Promise||o instanceof Promise)return Ju(t,e,n,o);let i=t.base.features;if(i&32&&r===RegExp)return Vc(n,o);if(i&16)switch(r){case BigInt64Array:case BigUint64Array:return Wu(t,e,n,o)}if(i&1&&typeof AggregateError<"u"&&(r===AggregateError||o instanceof AggregateError))return Ku(t,e,n,o);if(o instanceof Error)return er(t,e,n,o);if(ht in o||ft in o)return $n(t,e,n,o,!!r);throw new an(o)}async function el(t,e,n){let o=yo(t.base,n);if(o.type!==0)return o.value;let r=await qs(t,e,o.value,n);if(r)return r;throw new an(n)}async function N(t,e,n){switch(typeof n){case"boolean":return n?js:Fs;case"undefined":return Ic;case"string":return Us(n);case"number":return kc(n);case"bigint":return jc(n);case"object":{if(n){let o=yo(t.base,n);return o.type===0?await tl(t,e+1,o.value,n):o.value}return Pc}case"symbol":return Mt(t.base,n);case"function":return el(t,e,n);default:throw new an(n)}}async function nl(t,e){try{return await N(t,0,e)}catch(n){throw n instanceof tr?n:new tr(n)}}var ol=(t=>(t[t.Vanilla=1]="Vanilla",t[t.Cross=2]="Cross",t))(ol||{});function Ys(t,e){for(let n=0,o=e.length;n<o;n++){let r=e[n];t.has(r)||(t.add(r),r.extends&&Ys(t,r.extends))}}function Js(t){if(t){let e=new Set;return Ys(e,t),[...e]}}function rl(t){switch(t){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new pu(t)}}function sl(t){switch(t){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function il(t){switch(t){case ft:case Zt:case Qt:case ht:return!0;default:return!1}}var al=1e6,cl=1e4,ul=2e4;function Xs(t,e){switch(e){case 3:return Object.freeze(t);case 1:return Object.preventExtensions(t);case 2:return Object.seal(t);default:return t}}var ll=1e3;function dl(t,e){var n;let o=e.refs||new Map;return"types"in o||Object.assign(o,{types:new Map}),{mode:t,plugins:e.plugins,refs:o,features:(n=e.features)!=null?n:63^(e.disabledFeatures||0),depthLimit:e.depthLimit||ll}}
4function pl(t){return{mode:2,base:dl(2,t),child:u}}var fl=class{constructor(t,e){this._p=t,this.depth=e}deserialize(t){return M(this._p,this.depth,t)}};function Zs(t,e){if(e<0||!Number.isFinite(e)||!Number.isInteger(e))throw new mt({t:4,i:e});if(t.refs.has(e))throw new Error("Conflicted ref id: "+e)}function hl(t,e,n){return Zs(t.base,e),t.state.marked.has(e)&&t.base.refs.set(e,n),n}function _l(t,e,n){return Zs(t.base,e),t.base.refs.set(e,n),n}function V(t,e,n){return t.mode===1?hl(t,e,n):_l(t,e,n)}function Yn(t,e,n){if(Object.hasOwn(e,n))return e[n];throw new mt(t)}function ml(t,e){return V(t,e.i,xc(At(e.s)))}function gl(t,e,n){let o=n.a,r=o.length,s=V(t,n.i,new Array(r));for(let i=0,a;i<r;i++)a=o[i],a&&(s[i]=M(t,e,a));return Xs(s,n.o),s}function nr(t,e,n){sl(e)?t[e]=n:Object.defineProperty(t,e,{value:n,configurable:!0,enumerable:!0,writable:!0})}function yl(t,e,n,o,r){if(typeof o=="string")nr(n,At(o),M(t,e,r));else{let s=M(t,e,o);switch(typeof s){case"string":nr(n,s,M(t,e,r));break;case"symbol":il(s)&&(n[s]=M(t,e,r));break;default:throw new mt(o)}}}function Qs(t,e,n){t.base.refs.types.set(e,n)}function Ie(t,e,n,o){if(t.base.refs.types.get(n)!==o)throw new mt(e)}function ti(t,e,n,o){let r=n.k;if(r.length>0)for(let s=0,i=n.v,a=r.length;s<a;s++)yl(t,e,o,r[s],i[s]);return o}function El(t,e,n){let o=V(t,n.i,n.t===10?{}:Object.create(null));return ti(t,e,n.p,o),Xs(o,n.o),o}function Rl(t,e){return V(t,e.i,new Date(e.s))}function vl(t,e){if(t.base.features&32){let n=At(e.c);if(n.length>ul)throw new mt(e);return V(t,e.i,new RegExp(n,e.m))}throw new Ws(e)}function Sl(t,e,n){let o=V(t,n.i,new Set);for(let r=0,s=n.a,i=s.length;r<i;r++)o.add(M(t,e,s[r]));return o}function bl(t,e,n){let o=V(t,n.i,new Map);for(let r=0,s=n.e.k,i=n.e.v,a=s.length;r<a;
4r++)o.set(M(t,e,s[r]),M(t,e,i[r]));return o}function Il(t,e){if(e.s.length>al)throw new mt(e);return V(t,e.i,Gs(At(e.s)))}function Pl(t,e,n){var o;let r=rl(n.c),s=M(t,e,n.f),i=(o=n.b)!=null?o:0;if(i<0||i>s.byteLength)throw new mt(n);return V(t,n.i,new r(s,i,n.l))}function wl(t,e,n){var o;let r=M(t,e,n.f),s=(o=n.b)!=null?o:0;if(s<0||s>r.byteLength)throw new mt(n);return V(t,n.i,new DataView(r,s,n.l))}function ei(t,e,n,o){if(n.p){let r=ti(t,e,n.p,{});Object.defineProperties(o,Object.getOwnPropertyDescriptors(r))}return o}function Tl(t,e,n){let o=V(t,n.i,new AggregateError([],At(n.m)));return ei(t,e,n,o)}function Ll(t,e,n){let o=Yn(n,bc,n.s),r=V(t,n.i,new o(At(n.m)));return ei(t,e,n,r)}function Al(t,e,n){let o=cn(),r=V(t,n.i,o.p),s=M(t,e,n.f);return n.s?o.s(s):o.f(s),r}function Cl(t,e,n){return V(t,n.i,Object(M(t,e,n.f)))}function $l(t,e,n){let o=t.base.plugins;if(o){let r=At(n.c);for(let s=0,i=o.length;s<i;s++){let a=o[s];if(a.tag===r)return V(t,n.i,a.deserialize(n.s,new fl(t,e),{id:n.i}))}}throw new uu(n.c)}function Ol(t,e){let n=V(t,e.i,V(t,e.s,cn()).p);return Qs(t,e.s,22),n}function Ml(t,e,n){let o=t.base.refs.get(n.i);if(o)return Ie(t,n,n.i,22),o.s(M(t,e,n.a[1])),u;throw new be("Promise")}function xl(t,e,n){let o=t.base.refs.get(n.i);if(o)return Ie(t,n,n.i,22),o.f(M(t,e,n.a[1])),u;throw new be("Promise")}function Dl(t,e,n){M(t,e,n.a[0]);let o=M(t,e,n.a[1]);return bu(o)}function kl(t,e,n){M(t,e,n.a[0]);let o=M(t,e,n.a[1]);return Cu(o)}function jl(t,e,n){let o=V(t,n.i,un());Qs(t,n.i,31);let r=n.a,s=r.length;if(s)for(let i=0;i<s;i++)M(t,e,r[i]);return o}function Fl(t,e,n){let o=t.base.refs.get(n.i);if(o)return Ie(t,n,n.i,31),o.next(M(t,e,n.f)),u;throw new be("Stream")}function Nl(t,e,n){let o=t.base.refs.get(n.i);if(o)return Ie(t,n,n.i,31),o.throw(M(t,e,n.f)),u;throw new be("Stream")}function Vl(t,e,n){let o=t.base.refs.get(n.i);if(o)return Ie(t,n,n.i,31),o.return(M(t,e,n.f)),u;throw new be("Stream")}function Bl(t,e,n){return M(t,e,n.f),u}function Hl(t,e,n){return M(t,e,n.a[1]),u}function Ul(t,e,n){let o=V(t,n.i,Ks([],n.s,n.l));for(let r=0,s=n.a.length;r<s;r++)o.v[r]=M(t,e,n.a[r]);return o}function M(t,e,n){if(e>t.base.depthLimit)throw new fu(t.base.depthLimit);switch(e+=1,n.t){case 2:return Yn(n,vc,n.s);case 0:return Number(n.s);case 1:return At(String(n.s));case 3:if(String(n.s).length>cl)throw new mt(n);return BigInt(n.s);case 4:return t.base.refs.get(n.i);case 18:return ml(t,n);case 9:return gl(t,e,n);case 10:case 11:return El(t,e,n);case 5:return Rl(t,n);case 6:return vl(t,n);case 7:return Sl(t,e,n);case 8:return bl(t,e,n);case 19:return Il(t,n);case 16:case 15:return Pl(t,e,n);case 20:return wl(t,e,n);case 14:return Tl(t,e,n);case 13:return Ll(t,e,n);case 12:return Al(t,e,n);case 17:return Yn(n,Rc,n.s);case 21:return Cl(t,e,n);case 25:return $l(t,e,n);case 22:return Ol(t,n);case 23:return Ml(t,e,n);case 24:return xl(t,e,n);case 28:return Dl(t,e,n);case 30:return kl(t,e,n);case 31:return jl(t,e,n);case 32:return Fl(t,e,n);case 33:return Nl(t,e,n);case 34:return Vl(t,e,n);case 27:return Bl(t,e,n);case 29:return Hl(t,e,n);case 35:return Ul(t,e,n);default:throw new Ws(n)}}function zl(t,e){try{return M(t,0,e)}catch(n){throw new cu(n)}}var Wl=()=>T;Wl.toString();function On(t,e){let n=Js(e.plugins),o=pl({plugins:n,refs:e.refs,features:e.features,disabledFeatures:e.disabledFeatures,depthLimit:e.depthLimit});return zl(o,t)}async function Gl(t,e={}){let n=Js(e.plugins),o=Nu(1,{plugins:n,disabledFeatures:e.disabledFeatures});return{t:await nl(o,t),f:o.base.features,m:Array.from(o.base.marked)}}function Kl(t){return{tag:"$TSR/t/"+t.key,test:t.test,parse:{sync(e,n){return n.parse(t.toSerializable(e))},async async(e,n){return await n.parse(t.toSerializable(e))},stream(e,n){return n.parse(t.toSerializable(e))}},serialize:void 0,deserialize(e,n){return t.fromSerializable(n.deserialize(e))}}}var Rt={},ni=t=>new ReadableStream({start:e=>{t.on({next:n=>{try{e.enqueue(n)}catch{}},throw:n=>{e.error(n)},return:()=>{try{e.close()}catch{}}})}}),ql={tag:"seroval-plugins/web/ReadableStreamFactory",test(t){return t===Rt},parse:{sync(){return Rt},async async(){return await Promise.resolve(Rt)},stream(){return Rt}},serialize(){return ni.toString()},deserialize(){return Rt}};async function oi(t,e){try{let n=await e.read();n.done?(t.return(n.value),e.releaseLock()):(t.next(n.value),await oi(t,e))}catch(n){t.throw(n)}}function Yl(t){t.cancel().catch(()=>{}),t.releaseLock()}function or(t){let e=un(),n=t.getReader(),o=Yl.bind(null,n);return oi(e,n).catch(o),[e,o]}var Jl={tag:"seroval/plugins/web/ReadableStream",extends:[ql],test(t){return typeof ReadableStream>"u"?!1:t instanceof ReadableStream},parse:{sync(t,e){return{factory:e.parse(Rt),stream:e.parse(un())}},async async(t,e){return{factory:await e.parse(Rt),stream:await e.parse(or(t)[0])}},stream(t,e){let[n,o]=or(t);return e.addCleanup(o),{factory:e.parse(Rt),stream:e.parse(n)}}},serialize(t,e){return"("+e.serialize(t.factory)+")("+e.serialize(t.stream)+")"},deserialize(t,e){let n=e.deserialize(t.stream);return ni(n)}},Xl=Jl;const Zl={tag:"$TSR/Error",test(t){return t instanceof Error},parse:{sync(t,e){return{message:e.parse(t.message)}},async async(t,e){return{message:await e.parse(t.message)}},stream(t,e){return{message:e.parse(t.message)}}},serialize(t,e){return"new Error("+e.serialize(t.message)+")"},deserialize(t,e){return new Error(e.deserialize(t.message))}},Ql=[Zl,Xl];function td({promise:t}){const e=gc(t);if(e[st].status==="pending")throw e;if(e[st].status==="error")throw e[st].error;return[e[st].data,e]}function ed(t){const e=E.jsx(nd,{...t});
4return t.fallback?E.jsx($.Suspense,{fallback:t.fallback,children:e}):e}function nd(t){const[e]=td(t);return t.children(e)}function Ro(t){const e=t.errorComponent??pn;return E.jsx(od,{getResetKey:t.getResetKey,onCatch:t.onCatch,children:({error:n,reset:o})=>n?$.createElement(e,{error:n,reset:o}):t.children})}class od extends $.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromProps(e){return{resetKey:e.getResetKey()}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidUpdate(e,n){n.error&&n.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(e,n){this.props.onCatch&&this.props.onCatch(e,n)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}}function pn({error:t}){const[e,n]=$.useState(!1);return E.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[E.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),E.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(o=>!o),children:e?"Hide Error":"Show Error"})]}),E.jsx("div",{style:{height:".25rem"}}),e?E.jsx("div",{children:E.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:t.message?E.jsx("code",{children:t.message}):null})}):null]})}function rd({children:t,fallback:e=null}){return sd()?E.jsx(Ee.Fragment,{children:t}):E.jsx(Ee.Fragment,{children:e})}function sd(){return Ee.useSyncExternalStore(id,()=>!0,()=>!1)}function id(){return()=>{}}const fn=$.createContext(void 0),ad=$.createContext(void 0);function it(t){const e=$.useContext(t.from?ad:fn);return F({select:o=>{const r=o.matches.find(s=>t.from?t.from===s.routeId:s.id===e);if(K(!((t.shouldThrow??!0)&&!r),`Could not find ${t.from?`an active match from "${t.from}"`:"a nearest match!"}`),r!==void 0)return t.select?t.select(r):r},structuralSharing:t.structuralSharing})}function hn(t){return it({from:t.from,strict:t.strict,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.loaderData):e.loaderData})}function vo(t){const{select:e,...n}=t;return it({...n,select:o=>e?e(o.loaderDeps):o.loaderDeps})}function So(t){return it({from:t.from,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,strict:t.strict,select:e=>{const n=t.strict===!1?e.params:e._strictParams;return t.select?t.select(n):n}})}function bo(t){return it({from:t.from,strict:t.strict,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.search):e.search})}let cd=class extends ws{constructor(e){super(e),this.useMatch=n=>it({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>it({...n,from:this.id,select:o=>n?.select?n.select(o.context):o.context}),this.useSearch=n=>bo({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>So({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>vo({...n,from:this.id}),this.useLoaderData=n=>hn({...n,from:this.id}),this.useNavigate=()=>_o({from:this.fullPath}),this.Link=Ee.forwardRef((n,o)=>E.jsx(ds,{ref:o,from:this.fullPath,...n})),this.$$typeof=Symbol.for("react.memo")}};function ud(t){return new cd(t)}class ld extends yc{constructor(e){super(e),this.useMatch=n=>it({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>it({...n,from:this.id,select:o=>n?.select?n.select(o.context):o.context}),this.useSearch=n=>bo({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>So({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>vo({...n,from:this.id}),this.useLoaderData=n=>hn({...n,from:this.id}),this.useNavigate=()=>_o({from:this.fullPath}),this.Link=Ee.forwardRef((n,o)=>E.jsx(ds,{ref:o,from:this.fullPath,...n})),this.$$typeof=Symbol.for("react.memo")}}function dd(t){return new ld(t)}function m(t){return typeof t=="object"?new rr(t,{silent:!0}).createRoute(t):new rr(t,{silent:!0}).createRoute}class rr{constructor(e,n){this.path=e,this.createRoute=o=>{ps(this.silent);const r=ud(o);return r.isRoot=!1,r},this.silent=n?.silent}}class sr{constructor(e){this.useMatch=n=>it({select:n?.select,from:this.options.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>it({from:this.options.id,select:o=>n?.select?n.select(o.context):o.context}),this.useSearch=n=>bo({select:n?.select,structuralSharing:n?.structuralSharing,from:this.options.id}),this.useParams=n=>So({select:n?.select,structuralSharing:n?.structuralSharing,from:this.options.id}),this.useLoaderDeps=n=>vo({...n,from:this.options.id}),this.useLoaderData=n=>hn({...n,from:this.options.id}),this.useNavigate=()=>{const n=q();return _o({from:n.routesById[this.options.id].fullPath})},this.options=e,this.$$typeof=Symbol.for("react.memo")}}function ir(t){return typeof t=="object"?new sr(t):e=>new sr({id:t,...e})}function g(t,e){let n,o,r,s;const i=()=>(n||(n=t().then(c=>{n=void 0,o=c[e]}).catch(c=>{if(r=c,Ra(r)&&r instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const l=`tanstack_router_reload:${r.message}`;sessionStorage.getItem(l)||(sessionStorage.setItem(l,"1"),s=!0)}})),n),a=function(l){if(s)throw window.location.reload(),new Promise(()=>{});if(r)throw r;if(!o)throw i();return $.createElement(o,l)};return a.preload=i,a}function pd(){const t=q(),e=$.useRef({router:t,mounted:!1}),[n,o]=$.useState(!1),{hasPendingMatches:r,isLoading:s}=F({select:f=>({isLoading:f.isLoading,hasPendingMatches:f.matches.some(h=>h.status==="pending")}),structuralSharing:!0}),i=Ln(s),a=s||n||r,c=Ln(a),l=s||r,d=Ln(l);return t.startTransition=f=>{o(!0),$.startTransition(()=>{f(),o(!1)})},$.useEffect(()=>{const f=t.history.subscribe(t.load),h=t.buildLocation({to:t.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Dt(t.latestLocation.href)!==Dt(h.href)&&t.commitLocation({...h,replace:!0}),()=>{f()}},[t,t.history]),Oe(()=>{if(typeof window<"u"&&t.ssr||e.current.router===t&&e.current.mounted)return;e.current={router:t,mounted:!0},(async()=>{try{await t.load()}catch(h){console.error(h)}})()},[t]),Oe(()=>{i&&!s&&t.emit({type:"onLoad",...kt(t.state)})},[i,t,s]),Oe(()=>{d&&!l&&t.emit({type:"onBeforeRouteMount",...kt(t.state)})},[l,d,t]),Oe(()=>
4{c&&!a&&(t.emit({type:"onResolved",...kt(t.state)}),t.__store.setState(f=>({...f,status:"idle",resolvedLocation:f.location})),Ja(t))},[a,c,t]),null}function fd(t){const e=F({select:n=>`not-found-${n.location.pathname}-${n.status}`});return E.jsx(Ro,{getResetKey:()=>e,onCatch:(n,o)=>{if(tt(n))t.onCatch?.(n,o);else throw n},errorComponent:({error:n})=>{if(tt(n))return t.fallback?.(n);throw n},children:t.children})}function hd(){return E.jsx("p",{children:"Not Found"})}function Kt(t){return E.jsx(E.Fragment,{children:t.children})}function ri(t,e,n){return e.options.notFoundComponent?E.jsx(e.options.notFoundComponent,{data:n}):t.options.defaultNotFoundComponent?E.jsx(t.options.defaultNotFoundComponent,{data:n}):E.jsx(hd,{})}function _d({children:t}){const e=q();return e.isServer?E.jsx("script",{nonce:e.options.ssr?.nonce,className:"$tsr",dangerouslySetInnerHTML:{__html:[t].filter(Boolean).join(`
5`)+";$_TSR.c()"}}):null}function md(){const t=q();if(!t.isScrollRestoring||!t.isServer||typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation}))return null;const n=(t.options.getScrollRestorationKey||Kn)(t.latestLocation),o=n!==Kn(t.latestLocation)?n:void 0,r={storageKey:Ze,shouldScrollRestoration:!0};return o&&(r.key=o),E.jsx(_d,{children:`(${_s.toString()})(${JSON.stringify(r)})`})}const si=$.memo(function({matchId:e}){const n=q(),o=F({select:S=>{const A=S.matches.find(C=>C.id===e);return K(A),{routeId:A.routeId,ssr:A.ssr,_displayPending:A._displayPending}},structuralSharing:!0}),r=n.routesById[o.routeId],s=r.options.pendingComponent??n.options.defaultPendingComponent,i=s?E.jsx(s,{}):null,a=r.options.errorComponent??n.options.defaultErrorComponent,c=r.options.onCatch??n.options.defaultOnCatch,l=r.isRoot?r.options.notFoundComponent??n.options.notFoundRoute?.options.component:r.options.notFoundComponent,d=o.ssr===!1||o.ssr==="data-only",f=(!r.isRoot||r.options.wrapInSuspense||d)&&(r.options.wrapInSuspense??s??(r.options.errorComponent?.preload||d))?$.Suspense:Kt,h=a?Ro:Kt,_=l?fd:Kt,y=F({select:S=>S.loadedAt}),R=F({select:S=>{const A=S.matches.findIndex(C=>C.id===e);return S.matches[A-1]?.routeId}}),v=r.isRoot?r.options.shellComponent??Kt:Kt;return E.jsxs(v,{children:[E.jsx(fn.Provider,{value:e,children:E.jsx(f,{fallback:i,children:E.jsx(h,{getResetKey:()=>y,errorComponent:a||pn,onCatch:(S,A)=>{if(tt(S))throw S;c?.(S,A)},children:E.jsx(_,{fallback:S=>
5{if(!l||S.routeId&&S.routeId!==o.routeId||!S.routeId&&!r.isRoot)throw S;return $.createElement(l,S)},children:d||o._displayPending?E.jsx(rd,{fallback:i,children:E.jsx(ar,{matchId:e})}):E.jsx(ar,{matchId:e})})})})}),R===Z&&n.options.scrollRestoration?E.jsxs(E.Fragment,{children:[E.jsx(gd,{}),E.jsx(md,{})]}):null]})});function gd(){const t=q(),e=$.useRef(void 0);return E.jsx("script",{suppressHydrationWarning:!0,ref:n=>{n&&(e.current===void 0||e.current.href!==t.latestLocation.href)&&(t.emit({type:"onRendered",...kt(t.state)}),e.current=t.latestLocation)}},t.latestLocation.state.__TSR_key)}const ar=$.memo(function({matchId:e}){const n=q(),{match:o,key:r,routeId:s}=F({select:c=>{const l=c.matches.find(y=>y.id===e),d=l.routeId,h=(n.routesById[d].options.remountDeps??n.options.defaultRemountDeps)?.({routeId:d,loaderDeps:l.loaderDeps,params:l._strictParams,search:l._strictSearch});return{key:h?JSON.stringify(h):void 0,routeId:d,match:{id:l.id,status:l.status,error:l.error,_forcePending:l._forcePending,_displayPending:l._displayPending}}},structuralSharing:!0}),i=n.routesById[s],a=$.useMemo(()=>{const c=i.options.component??n.options.defaultComponent;return c?E.jsx(c,{},r):E.jsx(ii,{})},[r,i.options.component,n.options.defaultComponent]);if(o._displayPending)throw n.getMatch(o.id)?._nonReactive.displayPendingPromise;if(o._forcePending)throw n.getMatch(o.id)?._nonReactive.minPendingPromise;if(o.status==="pending"){const c=i.options.pendingMinMs??n.options.defaultPendingMinMs;if(c){const l=n.getMatch(o.id);if(l&&!l._nonReactive.minPendingPromise&&!n.isServer){const d=Ft();l._nonReactive.minPendingPromise=d,setTimeout(()=>{d.resolve(),l._nonReactive.minPendingPromise=void 0},c)}}throw n.getMatch(o.id)?._nonReactive.loadPromise}if(o.status==="notFound")return K(tt(o.error)),ri(n,i,o.error);if(o.status==="redirected")throw K(et(o.error)),n.getMatch(o.id)?._nonReactive.loadPromise;if(o.status==="error"){if(n.isServer){const c=(i.options.errorComponent??n.options.defaultErrorComponent)||pn;return E.jsx(c,{error:o.error,reset:void 0,info:{componentStack:""}})}throw o.error}return a}),ii=$.memo(function(){const e=q(),n=$.useContext(fn),o=F({select:l=>l.matches.find(d=>d.id===n)?.routeId}),r=e.routesById[o],s=F({select:l=>{const f=l.matches.find(h=>h.id===n);return K(f),f.globalNotFound}}),i=F({select:l=>{const d=l.matches,f=d.findIndex(h=>h.id===n);return d[f+1]?.id}}),a=e.options.defaultPendingComponent?E.jsx(e.options.defaultPendingComponent,{}):null;if(s)return ri(e,r,void 0);if(!i)return null;const c=E.jsx(si,{matchId:i});return n===Z?E.jsx($.Suspense,{fallback:a,children:c}):c});function yd(){const t=q(),e=t.options.defaultPendingComponent?E.jsx(t.options.defaultPendingComponent,{}):null,n=t.isServer||typeof document<"u"&&t.ssr?Kt:$.Suspense,o=E.jsxs(n,{fallback:e,children:[!t.isServer&&E.jsx(pd,{}),E.jsx(Ed,{})]});return t.options.InnerWrap?E.jsx(t.options.InnerWrap,{children:o}):o}function Ed(){const t=q(),e=F({select:r=>r.matches[0]?.id}),n=F({select:r=>r.loadedAt}),o=e?E.jsx(si,{matchId:e}):null;return E.jsx(fn.Provider,{value:e,children:t.options.disableGlobalCatchBoundary?o:E.jsx(Ro,{getResetKey:()=>n,errorComponent:pn,onCatch:r=>{ps(!1,r.message||r.toString())},children:o})})}function Rb(){const t=q();return F({select:e=>[e.location.href,e.resolvedLocation?.href,e.status],structuralSharing:!0}),$.useCallback(e=>{const{pending:n,caseSensitive:o,fuzzy:r,includeSearch:s,...i}=e;return t.matchRoute(i,{pending:n,caseSensitive:o,fuzzy:r,includeSearch:s}
5)},[t])}function vb(t){return F({select:e=>e.matches,structuralSharing:t?.structuralSharing})}const Rd=t=>new vd(t);class vd extends pc{constructor(e){super(e)}}typeof globalThis<"u"?(globalThis.createFileRoute=m,globalThis.createLazyFileRoute=ir):typeof window<"u"&&(window.createFileRoute=m,window.createLazyFileRoute=ir);function Sd({router:t,children:e,...n}){Object.keys(n).length>0&&t.update({...t.options,...n,context:{...t.options.context,...n.context}});const o=va(),r=E.jsx(o.Provider,{value:t,children:e});return t.options.Wrap?E.jsx(t.options.Wrap,{children:r}):r}function bd({router:t,...e}){return E.jsx(Sd,{router:t,...e,children:E.jsx(yd,{})})}function ai({tag:t,attrs:e,children:n}){switch(t){case"title":return E.jsx("title",{...e,suppressHydrationWarning:!0,children:n});case"meta":return E.jsx("meta",{...e,suppressHydrationWarning:!0});case"link":return E.jsx("link",{...e,suppressHydrationWarning:!0});case"style":return E.jsx("style",{...e,dangerouslySetInnerHTML:{__html:n}});case"script":return E.jsx(Id,{attrs:e,children:n});default:return null}}function Id({attrs:t,children:e}){const n=q();return $.useEffect(()=>{if(t?.src){const o=(()=>{try{const i=document.baseURI||window.location.href;return new URL(t.src,i).href}catch{return t.src}})();if(Array.from(document.querySelectorAll("script[src]")).find(i=>i.src===o))return;const s=document.createElement("script");for(const[i,a]of Object.entries(t))i!=="suppressHydrationWarning"&&a!==void 0&&a!==!1&&s.setAttribute(i,typeof a=="boolean"?"":String(a));return document.head.appendChild(s),()=>{s.parentNode&&s.parentNode.removeChild(s)}}if(typeof e=="string"){const o=typeof t?.type=="string"?t.type:"text/javascript",r=typeof t?.nonce=="string"?t.nonce:void 0;if(Array.from(document.querySelectorAll("script:not([src])")).find(a=>{if(!(a instanceof HTMLScriptElement))return!1;const c=a.getAttribute("type")??"text/javascript",l=a.getAttribute("nonce")??void 0;return a.textContent===e&&c===o&&l===r}))return;const i=document.createElement("script");if(i.textContent=e,t)for(const[a,c]of Object.entries(t))a!=="suppressHydrationWarning"&&c!==void 0&&c!==!1&&i.setAttribute(a,typeof c=="boolean"?"":String(c));return document.head.appendChild(i),()=>{i.parentNode&&i.parentNode.removeChild(i)}}},[t,e]),n.isServer?t?.src&&typeof t.src=="string"?E.jsx("script",{...t,suppressHydrationWarning:!0}):typeof e=="string"?E.jsx("script",{...t,dangerouslySetInnerHTML:{__html:e},suppressHydrationWarning:!0}):null:null}const Pd=()=>{const t=q(),e=F({select:a=>a.matches.map(c=>c.meta).filter(Boolean)}),n=$.useMemo(()=>{const a=[],c={};let l;for(let d=e.length-1;d>=0;d--){const f=e[d];for(let h=f.length-1;h>=0;h--){const _=f[h];if(_)if(_.title)l||(l={tag:"title",children:_.title});else{const y=_.name??_.property;if(y){if(c[y])continue;c[y]=!0}a.push({tag:"meta",attrs:{..._}})}}}return l&&a.push(l),a.reverse(),a},[e]),o=F({select:a=>{const c=a.matches.map(f=>f.links).filter(Boolean).flat(1).map(f=>({tag:"link",attrs:{...f}})),l=t.ssr?.manifest,d=a.matches.map(f=>l?.routes[f.routeId]?.assets??[]).filter(Boolean).flat(1).filter(f=>f.tag==="link").map(f=>({tag:"link",attrs:{...f.attrs,suppressHydrationWarning:!0}}));return[...c,...d]},structuralSharing:!0}),r=F({select:a=>{const c=[];return a.matches.map(l=>t.looseRoutesById[l.routeId]).forEach(l=>t.ssr?.manifest?.routes[l.id]?.preloads?.filter(Boolean).forEach(d=>{c.push({tag:"link",attrs:{rel:"modulepreload",href:d}})})),c},structuralSharing:!0}),s=F({select:a=>a.matches.map(c=>c.styles).flat(1).filter(Boolean).map(({children:c,...l})=>({tag:"style",attrs:l,children:c})),structuralSharing:!0}),i=F({select:a=>a.matches.map(c=>c.headScripts).flat(1).filter(Boolean).map(({children:c,...l})=>({tag:"script",attrs:{...l},children:c})),structuralSharing:!0});return Td([...n,...r,...o,...s,...i],a=>JSON.stringify(a))};function wd(){return Pd().map(e=>$.createElement(ai,{...e,key:`tsr-meta-${JSON.stringify(e)}`}))}function Td(t,e){const n=new Set;return t.filter(o=>{const r=e(o);return n.has(r)?!1:(n.add(r),!0)})}const Ld=()=>{const t=q(),e=F({select:r=>{const s=[],i=t.ssr?.manifest;return i?(r.matches.map(a=>
5t.looseRoutesById[a.routeId]).forEach(a=>i.routes[a.id]?.assets?.filter(c=>c.tag==="script").forEach(c=>{s.push({tag:"script",attrs:c.attrs,children:c.children})})),s):[]},structuralSharing:!0}),{scripts:n}=F({select:r=>({scripts:r.matches.map(s=>s.scripts).flat(1).filter(Boolean).map(({children:s,...i})=>({tag:"script",attrs:{...i,suppressHydrationWarning:!0},children:s}))}),structuralSharing:!0}),o=[...n,...e];return E.jsx(E.Fragment,{children:o.map((r,s)=>$.createElement(ai,{...r,key:`tsr-scripts-${r.tag}-${s}`}))})},Ad="__TSS_CONTEXT",Jn=Symbol.for("TSS_SERVER_FUNCTION"),cr=Symbol.for("TSS_SERVER_FUNCTION_FACTORY"),Cd="x-tss-serialized",ci=()=>window.__TSS_START_OPTIONS__;function $d(){return[...ci().serializationAdapters?.map(Kl)??[],...Ql]}let te=null;async function Od(t,e,n){te||(te=$d());const o=e[0];if(Sa(o)&&o.method){const r=o,s=r.data instanceof FormData?"formData":"payload",i=new Headers({"x-tsr-redirect":"manual",...s==="payload"?{"content-type":"application/json",accept:"application/x-ndjson, application/json"}:{},...r.headers instanceof Headers?Object.fromEntries(r.headers.entries()):r.headers});if(r.method==="GET"){if(s==="formData")throw new Error("FormData is not supported with GET requests");const a=ms({payload:await ui(r)});a&&(t.includes("?")?t+=`&${a}`:t+=`?${a}`)}return t.includes("?")?t+="&createServerFn":t+="?createServerFn",await ur(async()=>n(t,{method:r.method,headers:i,signal:r.signal,...await Md(r)}))}return await ur(()=>n(t,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)}))}async function ui(t){const e={};return t.data&&(e.data=t.data),t.context&&Object.keys(t.context).length>0&&(e.context=t.context),li(e)}async function li(t){return JSON.stringify(await Promise.resolve(Gl(t,{plugins:te})))}async function Md(t){return t.method==="POST"?t.data instanceof FormData?(t.data.set(Ad,await li(t.context)),{body:t.data}):{body:await ui(t)}:{}}async function ur(t){const e=await(async()=>{try{return await t()}catch(r){if(r instanceof Response)return r;throw r}})(),n=e.headers.get("content-type");K(n);const o=!!e.headers.get(Cd);if(!e.ok){if(o&&n.includes("application/json")){const r=await e.json();throw On(r,{plugins:te})}throw new Error(await e.text())}if(o){let r;if(n.includes("application/x-ndjson")){const s=new Map;r=await xd({response:e,onMessage:i=>On(i,{refs:s,plugins:te}),onError(i,a){console.error(i,a)}})}if(n.includes("application/json")){const s=await e.json();r=On(s,{plugins:te})}if(K(r),r instanceof Error)throw r;return r}if(n.includes("application/json")){const r=await e.json(),s=nc(r);if(s)throw s;if(tt(r))throw r;return r}return e}async function xd({response:t,onMessage:e,onError:n}){if(!t.body)throw new Error("No response body");const o=t.body.pipeThrough(new TextDecoderStream).getReader();let r="",s=!1,i;for(;!s;){const{value:a,done:c}=await o.read();if(a&&(r+=a),r.length===0&&c)throw new Error("Stream ended before first object");if(r.endsWith(`
6`)){const l=r.split(`
7`).filter(Boolean),d=l[0];if(!d)throw new Error("No JSON line in the first chunk");i=JSON.parse(d),s=!0,r=l.slice(1).join(`
8`)}else{const l=r.indexOf(`
9`);if(l>=0){const d=r.slice(0,l).trim();r=r.slice(l+1),d.length>0&&(i=JSON.parse(d),s=!0)}}}return(async()=>{try{for(;;){const{value:a,done:c}=await o.read();a&&(r+=a);const l=r.lastIndexOf(`
10`);if(l>=0){const d=r.slice(0,l);r=r.slice(l+1);const f=d.split(`
11`).filter(Boolean);for(const h of f)try{e(JSON.parse(h))}catch(_){n?.(`Invalid JSON line: ${h}`,_)}}if(c)break}}catch(a){n?.("Stream processing error:",a)}})(),e(i)}var Mn;function lr(t){return t.replace(/^\/|\/$/g,"")}function di(t){if(!Mn){const o=lr("/"),r=lr("/_serverFn");Mn=`${o?`/${o}`:""}/${r}/`}const e=Mn+t;return Object.assign((...o)=>Od(e,o,fetch),{url:e,functionId:t,[Jn]:!0})}function pi(t){if(Array.isArray(t))return t.flatMap(d=>pi(d));if(typeof t!="string")return[];const e=[];let n=0,o,r,s,i,a;const c=()=>{for(;n<t.length&&/\s/.test(t.charAt(n));)n+=1;return n<t.length},l=()=>(r=t.charAt(n),r!=="="&&r!==";"&&r!==",");for(;n<t.length;){for(o=n,a=!1;c();)if(r=t.charAt(n),r===","){for(s=n,n+=1,c(),i=n;n<t.length&&l();)n+=1;n<t.length&&t.charAt(n)==="="?(a=!0,n=i,e.push(t.slice(o,s)),o=n):n=s+1}else n+=1;(!a||n>=t.length)&&e.push(t.slice(o,t.length))}return e}function Dd(t){return t instanceof Headers?new Headers(t):Array.isArray(t)?new Headers(t):typeof t=="object"?new Headers(t):new Headers}function kd(...t){return t.reduce((e,n)=>{const o=Dd(n);
11for(const[r,s]of o.entries())r==="set-cookie"?pi(s).forEach(a=>e.append("set-cookie",a)):e.set(r,s);return e},new Headers)}function jd(t,e){t.id=e.i,t.__beforeLoadContext=e.b,t.loaderData=e.l,t.status=e.s,t.ssr=e.ssr,t.updatedAt=e.u,t.error=e.e}async function Fd(t){K(window.$_TSR);const e=t.options.serializationAdapters;if(e?.length){const h=new Map;e.forEach(_=>{h.set(_.key,_.fromSerializable)}),window.$_TSR.t=h,window.$_TSR.buffer.forEach(_=>_())}window.$_TSR.initialized=!0,K(window.$_TSR.router);const{manifest:n,dehydratedData:o,lastMatchId:r}=window.$_TSR.router;t.ssr={manifest:n};const s=t.matchRoutes(t.state.location),i=Promise.all(s.map(h=>{const _=t.looseRoutesById[h.routeId];return t.loadRouteChunk(_)}));function a(h){const y=t.looseRoutesById[h.routeId].options.pendingMinMs??t.options.defaultPendingMinMs;if(y){const R=Ft();h._nonReactive.minPendingPromise=R,h._forcePending=!0,setTimeout(()=>{R.resolve(),t.updateMatch(h.id,v=>(v._nonReactive.minPendingPromise=void 0,{...v,_forcePending:void 0}))},y)}}let c;s.forEach(h=>{const _=window.$_TSR.router.matches.find(y=>y.i===h.id);if(!_){h._nonReactive.dehydrated=!1,h.ssr=!1;return}jd(h,_),h._nonReactive.dehydrated=h.ssr!==!1,(h.ssr==="data-only"||h.ssr===!1)&&c===void 0&&(c=h.index,a(h))}),t.__store.setState(h=>({...h,matches:s})),await t.options.hydrate?.(o),await Promise.all(t.state.matches.map(async h=>{const _=t.looseRoutesById[h.routeId],R=t.state.matches[h.index-1]?.context??t.options.context;if(_.options.context){const C={deps:h.loaderDeps,params:h.params,context:R??{},location:t.state.location,navigate:U=>t.navigate({...U,_fromLocation:t.state.location}),buildLocation:t.buildLocation,cause:h.cause,abortController:h.abortController,preload:!1,matches:s};h.__routeContext=_.options.context(C)??void 0}h.context={...R,...h.__routeContext,...h.__beforeLoadContext};const v={matches:t.state.matches,match:h,params:h.params,loaderData:h.loaderData}
11,S=await _.options.head?.(v),A=await _.options.scripts?.(v);h.meta=S?.meta,h.links=S?.links,h.headScripts=S?.scripts,h.styles=S?.styles,h.scripts=A}));const l=s[s.length-1].id!==r;if(!s.some(h=>h.ssr===!1)&&!l)return s.forEach(h=>{h._nonReactive.dehydrated=void 0}),i;const f=Promise.resolve().then(()=>t.load()).catch(h=>{console.error("Error during router hydration:",h)});if(l){const h=s[1];K(h),a(h),h._displayPending=!0,h._nonReactive.displayPendingPromise=f,f.then(()=>{Jt(()=>{t.__store.state.status==="pending"&&t.__store.setState(_=>({..._,status:"idle",resolvedLocation:_.location})),t.updateMatch(h.id,_=>({..._,_displayPending:void 0,displayPendingPromise:void 0}))})})}return i}const Nd={key:"$TSS/serverfn",test:t=>typeof t!="function"||!(Jn in t)?!1:!!t[Jn],toSerializable:({functionId:t})=>({functionId:t}),fromSerializable:({functionId:t})=>di(t)},I=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,O=globalThis,jt="10.43.0";function _n(){return mn(O),O}function mn(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||jt,e[jt]=e[jt]||{}}function se(t,e,n=O){const o=n.__SENTRY__=n.__SENTRY__||{},r=o[jt]=o[jt]||{};return r[t]||(r[t]=e())}const Vd=["debug","info","warn","error","log","assert","trace"],Bd="Sentry Logger ",en={};function ie(t){if(!("console"in O))return t();const e=O.console,n={},o=Object.keys(en);o.forEach(r=>{const s=en[r];n[r]=e[r],e[r]=s});try{return t()}finally{o.forEach(r=>{e[r]=n[r]})}}function Hd(){Po().enabled=!0}function Ud(){Po().enabled=!1}function fi(){return Po().enabled}function zd(...t){Io("log",...t)}function Wd(...t){Io("warn",...t)}function Gd(...t){Io("error",...t)}function Io(t,...e){I&&fi()&&ie(()=>{O.console[t](`${Bd}[${t}]:`,...e)})}function Po(){return I?se("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const b={enable:Hd,disable:Ud,isEnabled:fi,log:zd,warn:Wd,error:Gd},hi=50,Nt="?",dr=/\(error: (.*)\)/,pr=/captureMessage|captureException/;function _i(...t){const e=t.sort((n,o)=>n[0]-o[0]).map(n=>n[1]);return(n,o=0,r=0)=>{const s=[],i=n.split(`
12`);for(let a=o;a<i.length;a++){let c=i[a];c.length>1024&&(c=c.slice(0,1024));const l=dr.test(c)?c.replace(dr,"$1"):c;if(!l.match(/\S*Error: /)){for(const d of e){const f=d(l);if(f){s.push(f);break}}if(s.length>=hi+r)break}}return qd(s.slice(r))}}function Kd(t){return Array.isArray(t)?_i(...t):t}function qd(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(je(e).function||"")&&e.pop(),e.reverse(),pr.test(je(e).function||"")&&(e.pop(),pr.test(je(e).function||"")&&e.pop()),e.slice(0,hi).map(n=>({...n,filename:n.filename||je(e).filename,function:n.function||Nt}))}function je(t){return t[t.length-1]||{}}const xn="<anonymous>";function It(t){try{return!t||typeof t!="function"?xn:t.name||xn}catch{return xn}}function fr(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(o=>{o.stacktrace.frames&&n.push(...o.stacktrace.frames)}),n}catch{return}}}function mi(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const ze={},hr={};function Bt(t,e){ze[t]=ze[t]||[],ze[t].push(e)}function Ht(t,e){if(!hr[t]){hr[t]=!0;try{e()}catch(n){I&&b.error(`Error while instrumenting ${t}`,n)}}}function nt(t,e){const n=t&&ze[t];if(n)for(const o of n)try{o(e)}catch(r){I&&b.error(`Error while triggering instrumentation handler.
13Type: ${t}
14Name: ${It(o)}
15Error:`,r)}}let Dn=null;function Yd(t){const e="error";Bt(e,t),Ht(e,Jd)}function Jd(){Dn=O.onerror,O.onerror=function(t,e,n,o,r){return nt("error",{column:o,error:r,line:n,msg:t,url:e}),Dn?Dn.apply(this,arguments):!1},O.onerror.__SENTRY_INSTRUMENTED__=!0}let kn=null;function Xd(t){const e="unhandledrejection";Bt(e,t),Ht(e,Zd)}function Zd(){kn=O.onunhandledrejection,O.onunhandledrejection=function(t){return nt("unhandledrejection",t),kn?kn.apply(this,arguments):!0},O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const gi=Object.prototype.toString;function gn(t){switch(gi.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Pt(t,Error)}}function ae(t,e){return gi.call(t)===`[object ${e}]`}function yi(t){return ae(t,"ErrorEvent")}function _r(t){return ae(t,"DOMError")}function Qd(t){return ae(t,"DOMException")}function dt(t){return ae(t,"String")}function wo(t){return typeof t=="object"&&t!==null&&"__sentry_template_str
15ing__"in t&&"__sentry_template_values__"in t}function yn(t){return t===null||wo(t)||typeof t!="object"&&typeof t!="function"}function Re(t){return ae(t,"Object")}function En(t){return typeof Event<"u"&&Pt(t,Event)}function tp(t){return typeof Element<"u"&&Pt(t,Element)}function ep(t){return ae(t,"RegExp")}function Pe(t){return!!(t?.then&&typeof t.then=="function")}function np(t){return Re(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Pt(t,e){try{return t instanceof e}catch{return!1}}function Ei(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue||t.__v_isVNode))}function Ri(t){return typeof Request<"u"&&Pt(t,Request)}const To=O,op=80;function vi(t,e={}){if(!t)return"<unknown>";try{let n=t;const o=5,r=[];let s=0,i=0;const a=" > ",c=a.length;let l;const d=Array.isArray(e)?e:e.keyAttrs,f=!Array.isArray(e)&&e.maxStringLength||op;for(;n&&s++<o&&(l=rp(n,d),!(l==="html"||s>1&&i+r.length*c+l.length>=f));)r.push(l),i+=l.length,n=n.parentNode;return r.reverse().join(a)}catch{return"<unknown>"}}function rp(t,e){const n=t,o=[];if(!n?.tagName)return"";if(To.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const r=e?.length?e.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(r?.length)r.forEach(i=>{o.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&o.push(`#${n.id}`);const i=n.className;if(i&&dt(i)){const a=i.split(/\s+/);for(const c of a)o.push(`.${c}`)}}const s=["aria-label","type","name","title","alt"];for(const i of s){const a=n.getAttribute(i);a&&o.push(`[${i}="${a}"]`)}return o.join("")}function Lo(){try{return To.document.location.href}catch{return""}}function sp(t){if(!To.HTMLElement)return null;let e=t;const n=5;for(let o=0;o<n;o++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}function X(t,e,n){if(!(e in t))return;const o=t[e];if(typeof o!="function")return;const r=n(o);typeof r=="function"&&Si(r,o);try{t[e]=r}catch{I&&b.log(`Failed to replace method "${e}" in object`,t)}}function wt(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{I&&b.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function Si(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,wt(t,"__sentry_original__",e)}catch{}}function Ao(t){return t.__sentry_original__}function bi(t){if(gn(t))return{message:t.message,name:t.name,stack:t.stack,...gr(t)};if(En(t)){const e={type:t.type,target:mr(t.target),currentTarget:mr(t.currentTarget),...gr(t)};return typeof CustomEvent<"u"&&Pt(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function mr(t){try{return tp(t)?vi(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function gr(t){if(typeof t=="object"&&t!==null){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function ip(t){const e=Object.keys(bi(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}let Gt;function Rn(t){if(Gt!==void 0)return Gt?Gt(t):t();const e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=O;return e in n&&typeof n[e]=="function"?(Gt=n[e],Gt(t)):(Gt=null,t())}function nn(){return Rn(()=>Math.random())}function vn(){return Rn(()=>Date.now())}function Xn(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function yr(t,e){if(!Array.isArray(t))return"";const n=[];for(let o=0;o<t.length;o++){const r=t[o];try{Ei(r)?n.push(mi(r)):n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function We(t,e,n=!1){return dt(t)?ep(e)?e.test(t):dt(e)?n?t===e:t.includes(e):!1:!1}function Sn(t,e=[],n=!1){return e.some(o=>We(t,o,n))}function ap(){const t=O;return t.crypto||t.msCrypto}let jn;function cp(){return nn()*16}function Q(t=ap()){try{if(t?.randomUUID)return Rn(()=>t.randomUUID()).replace(/-/g,"")}catch{}return jn||(jn="10000000100040008000"+1e11),jn.replace(/[018]/g,e=>(e^(cp()&15)>>e/4).toString(16))}function Ii(t){return t.exception?.values?.[0]}function Ot(t){const{message:e,event_id:n}=t;if(e)return e;const o=Ii(t);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||n||"<unknown>":n||"<unknown>"}function Zn(t,e,n){const o=t.exception=t.exception||{},r=o.values=o.values||[],s=r[0]=r[0]||{};s.value||(s.value=e||""),s.type||(s.type="Error")}function ee(t,e){const n=Ii(t);if(!n)return;const o={type:"generic",handled:!0},r=n.mechanism;if(n.mechanism={...o,...r,...e},e&&"data"in e){const s={...r?.data,...e.data};n.mechanism.data=s}}function Er(t){if(up(t))return!0;try{wt(t,"__sentry_captured__",!0)}catch{}return!1}function up(t){try{return t.__sentry_captured__}catch{}}const Pi=1e3;function we(){return vn()/Pi}function lp(){const{performance:t}=O;if(!t?.now||!t.timeOrigin)return we;const e=t.timeOrigin;return()=>(e+Rn(()=>t.now()))/Pi}let Rr;function pt(){return(Rr??(Rr=lp()))()}function dp(t){const e=pt(),n={sid:Q(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>fp(n)};return t&&ne(n,t),n}function ne(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||pt(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:Q()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),t
15ypeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function pp(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),ne(t,n)}function fp(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function Te(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const o={...t};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=Te(o[r],e[r],n-1));return o}function vr(){return Q()}function wi(){return Q().substring(16)}const Qn="_sentrySpan";function Sr(t,e){e?wt(t,Qn,e):delete t[Qn]}function br(t){return t[Qn]}const hp=100;class at{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:vr(),sampleRand:nn()}}clone(){const e=new at;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,Sr(e,br(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ne(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,o=n instanceof at?n.getScopeData():Re(n)?e:void 0,{tags:r,attributes:s,extra:i,user:a,contexts:c,level:l,fingerprint:d=[],propagationContext:f,conversationId:h}=o||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),d.length&&(this._fingerprint=d),f&&(this._propagationContext=f),h&&(this._conversationId=h),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Sr(this,void 0),this._attachments=[],this.setPropagationContext({traceId:vr(),sampleRand:nn()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){const o=typeof n=="number"?n:hp;if(o<=0)return this;const r={timestamp:we(),...e,message:e.message?Xn(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>o&&(this._breadcrumbs=this._breadcrumbs.slice(-o),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:br(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Te(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const o=n?.event_id||Q();if(!this._client)return I&&b.warn("No client configured on scope - will not capture exception!"),o;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...n,event_id:o},this),o}captureMessage(e,n,o){const r=o?.event_id||Q();if(!this._client)return I&&b.warn("No client configured on scope - will not capture message!"),r;const s=o?.syntheticException??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:s,...o,event_id:r},this),r}captureEvent(e,n){const o=e.event_id||n?.event_id||Q();return this._client?(this._client.captureEvent(e,{...n,event_id:o},this),o):(I&&b.warn("No client configured on scope - will not capture event!"),o)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
15h(e=>{e(this)}),this._notifyingListeners=!1)}}function _p(){return se("defaultCurrentScope",()=>new at)}function mp(){return se("defaultIsolationScope",()=>new at)}class gp{constructor(e,n){let o;e?o=e:o=new at;let r;n?r=n:r=new at,this._stack=[{scope:o}],this._isolationScope=r}withScope(e){const n=this._pushScope();let o;try{o=e(n)}catch(r){throw this._popScope(),r}return Pe(o)?o.then(r=>(this._popScope(),r),r=>{throw this._popScope(),r}):(this._popScope(),o)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function oe(){const t=_n(),e=mn(t);return e.stack=e.stack||new gp(_p(),mp())}function yp(t){return oe().withScope(t)}function Ep(t,e){const n=oe();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function Ir(t){return oe().withScope(()=>t(oe().getIsolationScope()))}function Rp(){return{withIsolationScope:Ir,withScope:yp,withSetScope:Ep,withSetIsolationScope:(t,e)=>Ir(e),getCurrentScope:()=>oe().getScope(),getIsolationScope:()=>oe().getIsolationScope()}}function Co(t){const e=mn(t);return e.acs?e.acs:Rp()}function ct(){const t=_n();return Co(t).getCurrentScope()}function ut(){const t=_n();return Co(t).getIsolationScope()}function vp(){return se("globalScope",()=>new at)}function Sp(...t){const e=_n(),n=Co(e);if(t.length===2){const[o,r]=t;return o?n.withSetScope(o,r):n.withScope(r)}return n.withScope(t[0])}function H(){return ct().getClient()}function bp(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:o,propagationSpanId:r}=e,s={trace_id:n,span_id:r||wi()};return o&&(s.parent_span_id=o),s}const Ip="sentry.source",Pp="sentry.sample_rate",wp="sentry.previous_trace_sample_rate",Tp="sentry.op",Lp="sentry.origin",Ti="sentry.profile_id",Li="sentry.exclusive_time",Ap="gen_ai.conversation.id",Cp=0,$p=1,Op="_sentryScope",Mp="_sentryIsolationScope";function xp(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}function Ai(t){const e=t;return{scope:e[Op],isolationScope:xp(e[Mp])}}const Dp="sentry-",kp=/^sentry-/;function jp(t){const e=Fp(t);if(!e)return;const n=Object.entries(e).reduce((o,[r,s])=>{if(r.match(kp)){const i=r.slice(Dp.length);o[i]=s}return o},{});if(Object.keys(n).length>0)return n}function Fp(t){if(!(!t||!dt(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const o=Pr(n);return Object.entries(o).forEach(([r,s])=>{e[r]=s}),e},{}):Pr(t)}function Pr(t){return t.split(",").map(e=>{const n=e.indexOf("=");if(n===-1)return[];const o=e.slice(0,n),r=e.slice(n+1);return[o,r].map(s=>{try{return decodeURIComponent(s.trim())}catch{return}})}).reduce((e,[n,o])=>(n&&o&&(e[n]=o),e),{})}const Np=/^o(\d+)\./,Vp=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Bp(t){return t==="http"||t==="https"}function Le(t,e=!1){const{host:n,path:o,pass:r,port:s,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&r?`:${r}`:""}@${n}${s?`:${s}`:""}/${o&&`${o}/`}${i}`}function Hp(t){const e=Vp.exec(t);if(!e){ie(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,o,r="",s="",i="",a=""]=e.slice(1);let c="",l=a;const d=l.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),l=d.pop()),l){const f=l.match(/^\d+/);f&&(l=f[0])}return Ci({host:s,pass:r,path:c,projectId:l,port:i,protocol:n,publicKey:o})}function Ci(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Up(t){if(!I)return!0;const{port:e,projectId:n,protocol:o}=t;return["protocol","publicKey","host","projectId"].find(i=>t[i]?!1:(b.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?Bp(o)?e&&isNaN(parseInt(e,10))?(b.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(b.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(b.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function zp(t){return t.match(Np)?.[1]}function Wp(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let o;return e.orgId?o=String(e.orgId):n&&(o=zp(n)),o}function Gp(t){const e=typeof t=="string"?Hp(t):Ci(t);if(!(!e||!Up(e)))return e}function Kp(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}const $i=1;let wr=!1;function qp(t){const{spanId:e,traceId:n,isRemote:o}=t.spanContext(),r=o?e:$o(t).parent_span_id,s=Ai(t).scope,i=o?s?.getPropagationContext().propagationSpanId||wi():e;return{parent_span_id:r,span_id:i,trace_id:n}}function Yp(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:o,...r},attributes:s})=>({span_id:e,trace_id:n,sampled:o===$i,attributes:s,...r}))}function Tr(t){return typeof t=="number"?Lr(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Lr(t.getTime()):pt()}function Lr(t){return t>9999999999?t/1e3:t}function $o(t){if(Xp(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(Jp(t)){const{attributes:o,startTime:r,name:s,endTime:i,status:a,links:c}=t,l="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0;return{span_id:e,trace_id:n,data:o,description:s,parent_span_id:l,start_timestamp:Tr(r),timestamp:Tr(i)||void 0,status:Qp(a),op:o[Tp],origin:o[Lp],links:Yp(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function Jp(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function Xp(t){return typeof t.getSpanJSON=="function"}function Zp(t){const{traceFlags:e}=t.spanContext();return e===$i}function Qp(t){if(!(!t||t.code===Cp))return t.code===$p?"ok":t.message||"internal_error"}const tf="_sentryRootSpan";function Oi(t){return t[tf]||t}function Ar(){wr||(ie(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),wr=!0)}function ef(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=H()?.getOptions();return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}function Cr(t){b.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function $r(t,e){if(!e?.length||!t.description)return!1;
vendor: 10,065 bytes, lines 15-17
15for(const n of e){if(of(n)){if(We(t.description,n))return I&&Cr(t),!0;continue}if(!n.name&&!n.op)continue;const o=n.name?We(t.description,n.name):!0,r=n.op?t.op&&We(t.op,n.op):!0;if(o&&r)return I&&Cr(t),!0}return!1}function nf(t,e){const n=e.parent_span_id,o=e.span_id;if(n)for(const r of t)r.parent_span_id===o&&(r.parent_span_id=n)}function of(t){return typeof t=="string"||t instanceof RegExp}const Oo="production",rf="_frozenDsc";function Mi(t,e){const n=e.getOptions(),{publicKey:o}=e.getDsn()||{},r={environment:n.environment||Oo,release:n.release,public_key:o,trace_id:t,org_id:Wp(e)};return e.emit("createDsc",r),r}function sf(t,e){const n=e.getPropagationContext();return n.dsc||Mi(n.traceId,t)}function af(t){const e=H();if(!e)return{};const n=Oi(t),o=$o(n),r=o.data,s=n.spanContext().traceState,i=s?.get("sentry.sample_rate")??r[Pp]??r[wp];function a(y){return(typeof i=="number"||typeof i=="string")&&(y.sample_rate=`${i}`),y}const c=n[rf];if(c)return a(c);const l=s?.get("sentry.dsc"),d=l&&jp(l);if(d)return a(d);const f=Mi(t.spanContext().traceId,e),h=r[Ip],_=o.description;return h!=="url"&&_&&(f.transaction=_),ef()&&(f.sampled=String(Zp(n)),f.sample_rand=s?.get("sentry.sample_rand")??Ai(n).scope?.getPropagationContext().sampleRand.toString()),a(f),e.emit("createDsc",f,n),f}function lt(t,e=100,n=1/0){try{return to("",t,e,n)}catch(o){return{ERROR:`**non-serializable** (${o})`}}}function xi(t,e=3,n=100*1024){const o=lt(t,e);return df(o)>n?xi(t,e-1,n):o}function to(t,e,n=1/0,o=1/0,r=pf()){const[s,i]=r;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=cf(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(s(e))return"[Circular ~]";const l=e;if(l&&typeof l.toJSON=="function")try{const _=l.toJSON();return to("",_,c-1,o,r)}catch{}const d=Array.isArray(e)?[]:{};let f=0;const h=bi(e);for(const _ in h){if(!Object.prototype.hasOwnProperty.call(h,_))continue;if(f>=o){d[_]="[MaxProperties ~]";break}const y=h[_];d[_]=to(_,y,c-1,o,r),f++}return i(e),d}function cf(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof globalThis<"u"&&e===globalThis)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(Ei(e))return mi(e);if(np(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${It(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=uf(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function uf(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}function lf(t){return~-encodeURI(t).split(/%..|./).length}function df(t){return lf(JSON.stringify(t))}function pf(){const t=new WeakSet;function e(o){return t.has(o)?!0:(t.add(o),!1)}function n(o){t.delete(o)}return[e,n]}function ce(t,e=[]){return[t,e]}function ff(t,e){const[n,o]=t;return[n,[...o,e]]}function eo(t,e){const n=t[1];for(const o of n){const r=o[0].type;if(e(o,r))return!0}return!1}function hf(t,e){return eo(t,(n,o)=>e.includes(o))}function no(t){const e=mn(O);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function _f(t){const[e,n]=t;let o=JSON.stringify(e);function r(s){typeof o=="string"?o=typeof s=="string"?o+s:[no(o),s]:o.push(typeof s=="string"?no(s):s)}for(const s of n){const[i,a]=s;if(r(`
16${JSON.stringify(i)}
17`),typeof a=="string"||a instanceof Uint8Array)r(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(lt(a))}r(c)}}return typeof o=="string"?o:mf(o)}function mf(t){const e=t.reduce((r,s)=>r+s.length,0),n=new Uint8Array(e);let o=0;for(const r of t)n.set(r,o),o+=r.length;return n}function gf(t){const e=typeof t.data=="string"?no(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const yf={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Or(t){return yf[t]}function Di(t){if(!t?.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Ef(t,e,n,o){const r=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&o&&{dsn:Le(o)},...r&&{trace:r}}}function Rf(t,e){if(!e)return t;const n=t.sdk||{};return t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0},t}function vf(t,e,n,o){const r=Di(n),s={sent_at:new Date().toISOString(),...r&&{sdk:r},...!!o&&e&&{dsn:Le(e)}},i="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return ce(s,[i])}function Sf(t,e,n,o){const r=Di(n),s=t.type&&t.type!=="replay_event"?t.type:"event";Rf(t,n?.sdk);const i=Ef(t,r,o,e);return delete t.sdkProcessingMetadata,ce(i,[[{type:s},t]])}const Fn=0,Mr=1,xr=2;function Ae(t){return new ve(e=>{e(t)})}function Mo(t){return new ve((e,n)=>{n(t)})}class ve{constructor(e){this._state=Fn,this._handlers=[],this._runExecutor(e)}then(e,n){return new ve((o,r)=>{this._handlers.push([!1,s=>{if(!e)o(s);else try{o(e(s))}catch(i){r(i)}},s=>{if(!n)r(s);else try{o(n(s))}catch(i){r(i)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new ve((n,o)=>{let r,s;return this.then(i=>{s=!1,r=i,e&&e()},i=>{s=!0,r=i,e&&e()}).then(()=>{if(s){o(r);return}n(r)})})}_executeHandlers(){if(this._state===Fn)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===Mr&&n[1](this._value),this._state===xr&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(s,i)=>{if(this._state===Fn){if(Pe(i)){i.then(o,r);return}this._state=s,this._value=i,this._executeHandlers()}},o=s=>{n(Mr,s)},r=s=>{n(xr,s)};try{e(o,r)}catch(s){r(s)}}}function bf(t,e,n,o=0){try{const r=oo(e,n,t,o);return Pe(r)?r:Ae(r)}catch(r){return Mo(r)}}function oo(t,e,n,o){const r=n[o];if(!t||!r)return t;const s=r({...t},e);return I&&s===null&&b.log(`Event processor "${r.id||"?"}" dropped event`),Pe(s)?s.then(i=>oo(i,e,n,o+1)):oo(s,e,n,o+1)}let $t,Dr,kr,Et;function If(t){const e=O._sentryDebugIds,n=O._debugIds;if(!e&&!n)return{};const o=e?Object.keys(e):[],r=n?Object.keys(n):[];if(Et&&o.length===Dr&&r.length===kr)return Et;Dr=o.length,kr=r.length,Et={},$t||($t={});const s=(i,a)=>{for(const c of i){const l=a[c],d=$t?.[c];if(d&&Et&&l)Et[d[0]]=l,$t&&($t[c]=[d[0],l]);else if(l){const f=t(c);for(let h=f.length-1;h>=0;h--){const y=f[h]?.filename;if(y&&Et&&$t){Et[y]=l,$t[c]=[y,l];break}}}}};return e&&s(o,e),n&&s(r,n),Et}function Pf(t,e){const{fingerprint:n,span:o,breadcrumbs:r,sdkProcessingMetadata:s}=e;wf(t,e),o&&Af(t,o),Cf(t,n),Tf(t,r),Lf(t,s)}function jr(t,e){const{extra:n,tags:o,attributes:r,user:s,contexts:i,level:a,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:d,eventProcessors:f,attachments:h,propagationContext:_,transactionName:y,span:R}=e;fe(t,"extra",n),fe(t,"tags",o),fe(t,"attributes",r),fe(t,"user",s),fe(t,"contexts",i),t.sdkProcessingMetadata=Te(t.sdkProcessingMetadata,c,2),a&&(t.level=a),y&&(t.transactionName=y),R&&(t.span=R),l.length&&(t.breadcrumbs=[...t.breadcrumbs,...l]),d.length&&(t.fingerprint=[...t.fingerprint,...d]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),h.length&&(t.attachments=[...t.attachments,...h]),t.propagationContext={...t.propagationContext,..._}}function fe(t,e,n){t[e]=Te(t[e],n,1)}function ki(t,e){const n=vp().getScopeData();return t&&jr(n,t.getScopeData()),e&&jr(n,e.getScopeData()),n}function wf(t,e){const{extra:n,tags:o,user:r,contexts:s,level:i,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(o).length&&(t.tags={...o,...t.tags}),Object.keys(r).length&&(t.user={...r,...t.user}),Object.keys(s).length&&(t.contexts={...s,...t.contexts}),i&&(t.level=i),a&&t.type!=="transaction"&&(t.transaction=a)}function Tf(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function Lf(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function Af(t,e){t.contexts={trace:qp(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:af(e),...t.sdkProcessingMetadata};const n=Oi(e),o=$o(n).description;o&&!t.transaction&&t.type==="transaction"&&(t.transaction=o)}function Cf(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}function $f(t,e,n,o,r,s){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||Q(),timestamp:e.timestamp||we()},l=n.integrations||t.integrations.map(S=>S.name);Of(c,t),Df(c,l),r&&r.emit("applyFrameMetadata",e),e.type===void 0&&Mf(c,t.stackParser);const d=jf(o,n.captureContext);n.mechanism&&ee(c,n.mechanism);const f=r?r.getEventProcessors():[],h=ki(s,d),_=[...n.attachments||[],...h.attachments];_.length&&(n.attachments=_),Pf(c,h);const y=[...f,...h.eventProcessors];return(n.data&&n.data.__sentry__===!0?Ae(c):bf(y,c,n)).then(S=>(S&&xf(S),typeof i=="number"&&i>0?kf(S,i,a):S))}function Of(t,e){const{environment:n,release:o,dist:r,maxValueLength:s}=e;t.environment=t.environment||n||Oo,!t.release&&o&&(t.release=o),!t.dist&&r&&(t.dist=r);const i=t.request;i?.url&&s&&(i.url=Xn(i.url,s)),s&&t.exception?.values?.forEach(a=>
17{a.value&&(a.value=Xn(a.value,s))})}function Mf(t,e){const n=If(e);t.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(r=>{r.filename&&(r.debug_id=n[r.filename])})})}function xf(t){const e={};if(t.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(r=>{r.debug_id&&(r.abs_path?e[r.abs_path]=r.debug_id:r.filename&&(e[r.filename]=r.debug_id),delete r.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([o,r])=>{n.push({type:"sourcemap",code_file:o,debug_id:r})})}function Df(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function kf(t,e,n){if(!t)return null;const o={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(r=>({...r,...r.data&&{data:lt(r.data,e,n)}}))},...t.user&&{user:lt(t.user,e,n)},...t.contexts&&{contexts:lt(t.contexts,e,n)},...t.extra&&{extra:lt(t.extra,e,n)}};return t.contexts?.trace&&o.contexts&&(o.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(o.contexts.trace.data=lt(t.contexts.trace.data,e,n))),t.spans&&(o.spans=t.spans.map(r=>({...r,...r.data&&{data:lt(r.data,e,n)}}))),t.contexts?.flags&&o.contexts&&(o.contexts.flags=lt(t.contexts.flags,3,n)),o}function jf(t,e){if(!e)return t;const n=t?t.clone():new at;return n.update(e),n}function Ff(t){if(t)return Nf(t)?{captureContext:t}:Bf(t)?{captureContext:t}:t}function Nf(t){return t instanceof at||typeof t=="function"}const Vf=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Bf(t){return Object.keys(t).some(e=>Vf.includes(e))}function Hf(t,e){return ct().captureException(t,Ff(e))}function Sb(t,e){const n=typeof e=="string"?e:void 0,o=typeof e!="string"?{captureContext:e}:void 0;return ct().captureMessage(t,n,o)}function ji(t,e){return ct().captureEvent(t,e)}function Uf(t,e){ut().setContext(t,e)}function bb(t){ut().setExtras(t)}function Ib(t){ut().setUser(t)}function Fr(t){const e=ut(),{user:n}=ki(e,ct()),{userAgent:o}=O.navigator||{},r=dp({user:n,...o&&{userAgent:o},...t}),s=e.getSession();return s?.status==="ok"&&ne(s,{status:"exited"}),Fi(),e.setSession(r),r}function Fi(){const t=ut(),n=ct().getSession()||t.getSession();n&&pp(n),Ni(),t.setSession()}function Ni(){const t=ut(),e=H(),n=t.getSession();n&&e&&e.captureSession(n)}function Nn(t=!1){if(t){Fi();return}Ni()}const zf="7";function Wf(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function Gf(t){return`${Wf(t)}${t.projectId}/envelope/`}function Kf(t,e){const n={sentry_version:zf};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function qf(t,e,n){return e||`${Gf(t)}?${Kf(t,n)}`}const Nr=[];function Yf(t){const e={};return t.forEach(n=>{const{name:o}=n,r=e[o];r&&!r.isDefaultInstance&&n.isDefaultInstance||(e[o]=n)}),Object.values(e)}function Jf(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(r=>{r.isDefaultInstance=!0});let o;if(Array.isArray(n))o=[...e,...n];else if(typeof n=="function"){const r=n(e);o=Array.isArray(r)?r:[r]}else o=e;return Yf(o)}function Xf(t,e){const n={};return e.forEach(o=>{o&&Vi(t,o,n)}),n}function Vr(t,e){for(const n of e)n?.afterAllSetup&&n.afterAllSetup(t)}function Vi(t,e,n){if(n[e.name]){I&&b.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,!Nr.includes(e.name)&&typeof e.setupOnce=="function"&&(e.setupOnce(),Nr.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const o=e.preprocessEvent.bind(e);t.on("preprocessEvent",(r,s)=>o(r,s,t))}if(typeof e.processEvent=="function"){const o=e.processEvent.bind(e),r=Object.assign((s,i)=>o(s,i,t),{id:e.name});t.addEventProcessor(r)}I&&b.log(`Integration installed: ${e.name}`)}function Zf(t){return[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{items:t}]}function Qf(t,e,n,o){const r={};return e?.sdk&&(r.sdk={name:e.sdk.name,version:e.sdk.version}),n&&o&&(r.dsn=Le(o)),ce(r,[Zf(t)])}function ro(t,e){const n=e??th(t)??[];
17if(n.length===0)return;const o=t.getOptions(),r=Qf(n,o._metadata,o.tunnel,t.getDsn());Bi().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(r)}function th(t){return Bi().get(t)}function Bi(){return se("clientToLogBufferMap",()=>new WeakMap)}function eh(t){return[{type:"trace_metric",item_count:t.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:t}]}function nh(t,e,n,o){const r={};return e?.sdk&&(r.sdk={name:e.sdk.name,version:e.sdk.version}),n&&o&&(r.dsn=Le(o)),ce(r,[eh(t)])}function Hi(t,e){const n=e??oh(t)??[];if(n.length===0)return;const o=t.getOptions(),r=nh(n,o._metadata,o.tunnel,t.getDsn());Ui().set(t,[]),t.emit("flushMetrics"),t.sendEnvelope(r)}function oh(t){return Ui().get(t)}function Ui(){return se("clientToMetricBufferMap",()=>new WeakMap)}function zi(t){return typeof t=="object"&&typeof t.unref=="function"&&t.unref(),t}const xo=Symbol.for("SentryBufferFullError");function Do(t=100){const e=new Set;function n(){return e.size<t}function o(i){e.delete(i)}function r(i){if(!n())return Mo(xo);const a=i();return e.add(a),a.then(()=>o(a),()=>o(a)),a}function s(i){if(!e.size)return Ae(!0);const a=Promise.allSettled(Array.from(e)).then(()=>!0);if(!i)return a;const c=[a,new Promise(l=>zi(setTimeout(()=>l(!1),i)))];return Promise.race(c)}return{get $(){return Array.from(e)},add:r,drain:s}}const rh=60*1e3;function sh(t,e=vn()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const o=Date.parse(`${t}`);return isNaN(o)?rh:o-e}function ih(t,e){return t[e]||t.all||0}function ah(t,e,n=vn()){return ih(t,e)>n}function ch(t,{statusCode:e,headers:n},o=vn()){const r={...t},s=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(s)for(const a of s.trim().split(",")){const[c,l,,,d]=a.split(":",5),f=parseInt(c,10),h=(isNaN(f)?60:f)*1e3;if(!l)r.all=o+h;else for(const _ of l.split(";"))_==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(r[_]=o+h):r[_]=o+h}else i?r.all=o+sh(i,o):e===429&&(r.all=o+60*1e3);return r}const Wi=64;function uh(t,e,n=Do(t.bufferSize||Wi)){let o={};const r=i=>n.drain(i);function s(i){const a=[];if(eo(i,(f,h)=>{const _=Or(h);ah(o,_)?t.recordDroppedEvent("ratelimit_backoff",_):a.push(f)}),a.length===0)return Promise.resolve({});const c=ce(i[0],a),l=f=>{if(hf(c,["client_report"])){I&&b.warn(`Dropping client report. Will not send outcomes (reason: ${f}).`);return}eo(c,(h,_)=>{t.recordDroppedEvent(f,Or(_))})},d=()=>e({body:_f(c)}).then(f=>f.statusCode===413?(I&&b.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),l("send_error"),f):(I&&f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&b.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),o=ch(o,f),f),f=>{throw l("network_error"),I&&b.error("Encountered error running transport request:",f),f});return n.add(d).then(f=>f,f=>{if(f===xo)return I&&b.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw f})}return{send:s,flush:r}}function lh(t,e,n){const o=[{type:"client_report"},{timestamp:we(),discarded_events:t}];return ce(e?{dsn:e}:{},[o])}function Gi(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n?.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function dh(t){const{trace_id:e,parent_span_id:n,span_id:o,status:r,origin:s,data:i,op:a}=t.contexts?.trace??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:o??"",start_timestamp:t.start_timestamp??0,status:r,timestamp:t.timestamp,trace_id:e??"",origin:s,profile_id:i?.[Ti],exclusive_time:i?.[Li],measurements:t.measurements,is_segment:!0}}function ph(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[Ti]:t.profile_id},...t.exclusive_time&&{[Li]:t.exclusive_time}}}},measurements:t.measurements}}const Br="Not capturing exception because it's already been captured.",Hr="Discarded session because of missing or non-string release",Ki=Symbol.for("SentryInternalError"),qi=Symbol.for("SentryDoNotSendEventError"),fh=5e3;function Ge(t){return{message:t,[Ki]:!0}}function Vn(t){return{message:t,[qi]:!0}}function Ur(t){return!!t&&typeof t=="object"&&Ki in t}function zr(t){return!!t&&typeof t=="object"&&qi in t}function Wr(t,e,n,o,r){let s=0,i,a=!1;t.on(n,()=>{s=0,clearTimeout(i),a=!1}),t.on(e,c=>{s+=o(c),s>=8e5?r(t):a||(a=!0,i=zi(setTimeout(()=>{r(t)},fh)))}),t.on("flush",()=>{r(t)})}class hh{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={}
17,this._eventProcessors=[],this._promiseBuffer=Do(e.transportOptions?.bufferSize??Wi),e.dsn?this._dsn=Gp(e.dsn):I&&b.warn("No DSN provided, client will not send events."),this._dsn){const o=qf(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:o})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&Wr(this,"afterCaptureLog","flushLogs",yh,ro),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&Wr(this,"afterCaptureMetric","flushMetrics",gh,Hi)}captureException(e,n,o){const r=Q();if(Er(e))return I&&b.log(Br),r;const s={event_id:r,...n};return this._process(()=>this.eventFromException(e,s).then(i=>this._captureEvent(i,s,o)).then(i=>i),"error"),s.event_id}captureMessage(e,n,o,r){const s={event_id:Q(),...o},i=wo(e)?e:String(e),a=yn(e),c=a?this.eventFromMessage(i,n,s):this.eventFromException(e,s);return this._process(()=>c.then(l=>this._captureEvent(l,s,r)),a?"unknown":"error"),s.event_id}captureEvent(e,n,o){const r=Q();if(n?.originalException&&Er(n.originalException))return I&&b.log(Br),r;const s={event_id:r,...n},i=e.sdkProcessingMetadata||{},a=i.capturedSpanScope,c=i.capturedSpanIsolationScope,l=Gr(e.type);return this._process(()=>this._captureEvent(e,s,a||o,c),l),s.event_id}captureSession(e){this.sendSession(e),ne(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const n=this._transport;if(!n)return!0;this.emit("flush");const o=await this._isClientDoneProcessing(e),r=await n.flush(e);return o&&r}async close(e){ro(this);const n=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const n=this._integrations[e.name];Vi(this,e,this._integrations),n||Vr(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let o=Sf(e,this._dsn,this._options._metadata,this._options.tunnel);for(const r of n.attachments||[])o=ff(o,gf(r));this.sendEnvelope(o).then(r=>this.emit("afterSendEvent",e,r))}sendSession(e){const{release:n,environment:o=Oo}=this._options;if("aggregates"in e){const s=e.attrs||{};if(!s.release&&!n){I&&b.warn(Hr);return}s.release=s.release||n,s.environment=s.environment||o,e.attrs=s}else{if(!e.release&&!n){I&&b.warn(Hr);return}e.release=e.release||n,e.environment=e.environment||o}this.emit("beforeSendSession",e);const r=vf(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,n,o=1){if(this._options.sendClientReports){const r=`${e}:${n}`;I&&b.log(`Recording outcome: "${r}"${o>1?` (${o} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+o}}on(e,n){const o=this._hooks[e]=this._hooks[e]||new Set,r=(...s)=>n(...s);return o.add(r),()=>{o.delete(r)}}emit(e,...n){const o=this._hooks[e];o&&o.forEach(r=>r(...n))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(n){return I&&b.error("Error while sending envelope:",n),{}}return I&&b.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=Xf(this,e),Vr(this,e)}_updateSessionFromEvent(e,n){let o=n.level==="fatal",r=!1;const s=n.exception?.values;if(s){r=!0,o=!1;for(const c of s)if(c.mechanism?.handled===!1){o=!0;break}}const i=e.status==="ok";(i&&e.errors===0||i&&o)&&(ne(e,{...o&&{status:"crashed"},errors:e.errors||Number(r||o)}),this.captureSession(e))}async _isClientDoneProcessing(e){let n=0;for(;!e||n<e;){if(await new Promise(o=>setTimeout(o,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,n,o,r){const s=this.getOptions(),i=Object.keys(this._integrations);
17return!n.integrations&&i?.length&&(n.integrations=i),this.emit("preprocessEvent",e,n),e.type||r.setLastEventId(e.event_id||n.event_id),$f(s,e,n,o,this,r).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:{...a.contexts?.trace,...bp(o)},...a.contexts};const c=sf(this,o);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(e,n={},o=ct(),r=ut()){return I&&so(e)&&b.log(`Captured error event \`${Gi(e)[0]||"<unknown>"}\``),this._processEvent(e,n,o,r).then(s=>s.event_id,s=>{I&&(zr(s)?b.log(s.message):Ur(s)?b.warn(s.message):b.warn(s))})}_processEvent(e,n,o,r){const s=this.getOptions(),{sampleRate:i}=s,a=Yi(e),c=so(e),d=`before send for type \`${e.type||"error"}\``,f=typeof i>"u"?void 0:Kp(i);if(c&&typeof f=="number"&&nn()>f)return this.recordDroppedEvent("sample_rate","error"),Mo(Vn(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const h=Gr(e.type);return this._prepareEvent(e,n,o,r).then(_=>{if(_===null)throw this.recordDroppedEvent("event_processor",h),Vn("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return _;const R=mh(this,s,_,n);return _h(R,d)}).then(_=>{if(_===null){if(this.recordDroppedEvent("before_send",h),a){const S=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",S)}throw Vn(`${d} returned \`null\`, will not send event.`)}const y=o.getSession()||r.getSession();if(c&&y&&this._updateSessionFromEvent(y,_),a){const v=_.sdkProcessingMetadata?.spanCountBeforeProcessing||0,S=_.spans?_.spans.length:0,A=v-S;A>0&&this.recordDroppedEvent("before_send","span",A)}const R=_.transaction_info;if(a&&R&&_.transaction!==e.transaction){const v="custom";_.transaction_info={...R,source:v}}return this.sendEvent(_,n),_}).then(null,_=>{throw zr(_)||Ur(_)?_:(this.captureException(_,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:_}),Ge(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
18Reason: ${_}`))})}_process(e,n){this._numProcessing++,this._promiseBuffer.add(e).then(o=>(this._numProcessing--,o),o=>(this._numProcessing--,o===xo&&this.recordDroppedEvent("queue_overflow",n),o))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([n,o])=>{const[r,s]=n.split(":");return{reason:r,category:s,quantity:o}})}_flushOutcomes(){I&&b.log("Flushing outcomes...");const e=this._clearOutcomes();if(e.length===0){I&&b.log("No outcomes to send");return}if(!this._dsn){I&&b.log("No dsn provided, will not send outcomes");return}I&&b.log("Sending outcomes:",e);const n=lh(e,this._options.tunnel&&Le(this._dsn));this.sendEnvelope(n)}}function Gr(t){return t==="replay_event"?"replay":t||"error"}function _h(t,e){const n=`${e} must return \`null\` or a valid event.`;if(Pe(t))return t.then(o=>{if(!Re(o)&&o!==null)throw Ge(n);return o},o=>{throw Ge(`${e} rejected with ${o}`)});if(!Re(t)&&t!==null)throw Ge(n);return t}function mh(t,e,n,o){const{beforeSend:r,beforeSendTransaction:s,beforeSendSpan:i,ignoreSpans:a}=e;let c=n;if(so(c)&&r)return r(c,o);if(Yi(c)){if(i||a){const l=dh(c);if(a?.length&&$r(l,a))return null;if(i){const d=i(l);d?c=Te(n,ph(d)):Ar()}if(c.spans){const d=[],f=c.spans;for(const _ of f){if(a?.length&&$r(_,a)){nf(f,_);continue}if(i){const y=i(_);y?d.push(y):(Ar(),d.push(_))}else d.push(_)}const h=c.spans.length-d.length;h&&t.recordDroppedEvent("before_send","span",h),c.spans=d}}if(s){if(c.spans){const l=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:l}}return s(c,o)}}return c}function so(t){return t.type===void 0}function Yi(t){return t.type==="transaction"}function gh(t){let e=0;return t.name&&(e+=t.name.length*2),e+=8,e+Ji(t.attributes)}function yh(t){let e=0;return t.message&&(e+=t.message.length*2),e+Ji(t.attributes)}function Ji(t){if(!t)return 0;let e=0;return Object.values(t).forEach(n=>{Array.isArray(n)?e+=n.length*Kr(n[0]):yn(n)?e+=Kr(n):e+=100}),e}function Kr(t){return typeof t=="string"?t.length*2:typeof t=="number"?8:typeof t=="boolean"?4:0}function Eh(t){return gn(t)&&"__sentry_fetch_url_host__"in t&&typeof t.__sentry_fetch_url_host__=="string"}function qr(t){return Eh(t)?`${t.message} (${t.__sentry_fetch_url_host__})`:t.message}function Rh(t,e){e.debug===!0&&(I?b.enable():ie(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),ct().update(e.initialScope);const o=new t(e);return vh(o),o.init(),o}function vh(t){ct().setClient(t)}function Bn(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",o=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:o,relative:e[5]+n+o}}function Sh(t,e=!0){if(t.startsWith("data:")){const n=t.match(/^data:([^;,]+)/),o=n?n[1]:"text/plain",r=t.includes(";base64,"),s=t.indexOf(",");let i="";if(e&&s!==-1){const a=t.slice(s+1);i=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${o}${r?",base64":""}${i?`,${i}`:""}`}return t}function bh(t){"aggregates"in t?t.attrs?.ip_address===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function ko(t,e,n=[e],o="npm"){const r=(t._metadata=t._metadata||{}).sdk=t._metadata.sdk||{};r.name||(r.name=`sentry.javascript.${e}`,r.packages=n.map(s=>({name:`${o}:@sentry/${s}`,version:jt})),r.version=jt)}const Ih=100;function Vt(t,e){const n=H(),o=ut();if(!n)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:s=Ih}=n.getOptions();if(s<=0)return;const a={timestamp:we(),...t}
18,c=r?ie(()=>r(a,e)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,e),o.addBreadcrumb(c,s))}let Yr;const Ph="FunctionToString",Jr=new WeakMap,wh=(()=>({name:Ph,setupOnce(){Yr=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Ao(this),n=Jr.has(H())&&e!==void 0?e:this;return Yr.apply(n,t)}}catch{}},setup(t){Jr.set(t,!0)}})),Th=wh,Lh=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],Ah="EventFilters",Ch=(t={})=>{let e;return{name:Ah,setup(n){const o=n.getOptions();e=Xr(t,o)},processEvent(n,o,r){if(!e){const s=r.getOptions();e=Xr(t,s)}return Oh(n,e)?null:n}}},$h=((t={})=>({...Ch(t),name:"InboundFilters"}));function Xr(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:Lh],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function Oh(t,e){if(t.type){if(t.type==="transaction"&&xh(t,e.ignoreTransactions))return I&&b.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
19Event: ${Ot(t)}`),!0}else{if(Mh(t,e.ignoreErrors))return I&&b.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
20Event: ${Ot(t)}`),!0;if(Fh(t))return I&&b.warn(`Event dropped due to not having an error message, error type or stacktrace.
21Event: ${Ot(t)}`),!0;if(Dh(t,e.denyUrls))return I&&b.warn(`Event dropped due to being matched by \`denyUrls\` option.
22Event: ${Ot(t)}.
23Url: ${on(t)}`),!0;if(!kh(t,e.allowUrls))return I&&b.warn(`Event dropped due to not being matched by \`allowUrls\` option.
24Event: ${Ot(t)}.
25Url: ${on(t)}`),!0}return!1}function Mh(t,e){return e?.length?Gi(t).some(n=>Sn(n,e)):!1}function xh(t,e){if(!e?.length)return!1;const n=t.transaction;return n?Sn(n,e):!1}function Dh(t,e){if(!e?.length)return!1;const n=on(t);return n?Sn(n,e):!1}function kh(t,e){if(!e?.length)return!0;const n=on(t);return n?Sn(n,e):!0}function jh(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function on(t){try{const n=[...t.exception?.values??[]].reverse().find(o=>o.mechanism?.parent_id===void 0&&o.stacktrace?.frames?.length)?.stacktrace?.frames;return n?jh(n):null}catch{return I&&b.error(`Cannot extract url for event ${Ot(t)}`),null}}function Fh(t){return t.exception?.values?.length?!t.message&&!t.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value):!1}function Nh(t,e,n,o,r,s){if(!r.exception?.values||!s||!Pt(s.originalException,Error))return;const i=r.exception.values.length>0?r.exception.values[r.exception.values.length-1]:void 0;i&&(r.exception.values=io(t,e,o,s.originalException,n,r.exception.values,i,0))}function io(t,e,n,o,r,s,i,a){if(s.length>=n+1)return s;let c=[...s];if(Pt(o[r],Error)){Zr(i,a,o);const l=t(e,o[r]),d=c.length;Qr(l,r,d,a),c=io(t,e,n,o[r],r,[l,...c],l,d)}return Xi(o)&&o.errors.forEach((l,d)=>{if(Pt(l,Error)){Zr(i,a,o);const f=t(e,l),h=c.length;Qr(f,`errors[${d}]`,h,a),c=io(t,e,n,l,r,[f,...c],f,h)}}),c}function Xi(t){return Array.isArray(t.errors)}function Zr(t,e,n){t.mechanism={handled:!0,type:"auto.core.linked_errors",...Xi(n)&&{is_exception_group:!0},...t.mechanism,exception_id:e}}function Qr(t,e,n,o){t.mechanism={handled:!0,...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:o}}function Vh(t){const e="console";Bt(e,t),Ht(e,Bh)}function Bh(){"console"in O&&Vd.forEach(function(t){t in O.console&&X(O.console,t,function(e){return en[t]=e,function(...n){nt("console",{args:n,level:t}),en[t]?.apply(O.console,n)}})})}function Hh(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const Uh="Dedupe",zh=(()=>{let t;return{name:Uh,processEvent(e){if(e.type)return e;try{if(Gh(e,t))return I&&b.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}}),Wh=zh;function Gh(t,e){return e?!!(Kh(t,e)||qh(t,e)):!1}function Kh(t,e){const n=t.message,o=e.message;return!(!n&&!o||n&&!o||!n&&o||n!==o||!Qi(t,e)||!Zi(t,e))}function qh(t,e){const n=ts(e),o=ts(t);return!(!n||!o||n.type!==o.type||n.value!==o.value||!Qi(t,e)||!Zi(t,e))}function Zi(t,e){let n=fr(t),o=fr(e);if(!n&&!o)return!0;
25if(n&&!o||!n&&o||(n=n,o=o,o.length!==n.length))return!1;for(let r=0;r<o.length;r++){const s=o[r],i=n[r];if(s.filename!==i.filename||s.lineno!==i.lineno||s.colno!==i.colno||s.function!==i.function)return!1}return!0}function Qi(t,e){let n=t.fingerprint,o=e.fingerprint;if(!n&&!o)return!0;if(n&&!o||!n&&o)return!1;n=n,o=o;try{return n.join("")===o.join("")}catch{return!1}}function ts(t){return t.exception?.values?.[0]}const Yh="ConversationId",Jh=(()=>({name:Yh,setup(t){t.on("spanStart",e=>{const n=ct().getScopeData(),o=ut().getScopeData(),r=n.conversationId||o.conversationId;r&&e.setAttribute(Ap,r)})}})),Xh=Jh;function ta(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const Se=O;function Zh(){return"history"in Se&&!!Se.history}function Qh(){if(!("fetch"in Se))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function ao(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function t_(){if(typeof EdgeRuntime=="string")return!0;if(!Qh())return!1;if(ao(Se.fetch))return!0;let t=!1;const e=Se.document;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow?.fetch&&(t=ao(n.contentWindow.fetch)),e.head.removeChild(n)}catch(n){I&&b.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return t}function e_(t,e){const n="fetch";Bt(n,t),Ht(n,()=>n_(void 0,e))}function n_(t,e=!1){e&&!t_()||X(O,"fetch",function(n){return function(...o){const r=new Error,{method:s,url:i}=o_(o),a={args:o,fetchData:{method:s,url:i},startTimestamp:pt()*1e3,virtualError:r,headers:r_(o)};return nt("fetch",{...a}),n.apply(O,o).then(async c=>(nt("fetch",{...a,endTimestamp:pt()*1e3,response:c}),c),c=>{nt("fetch",{...a,endTimestamp:pt()*1e3,error:c}),gn(c)&&c.stack===void 0&&(c.stack=r.stack,wt(c,"framesToPop",1));const d=H()?.getOptions().enhanceFetchErrorMessages??"always";if(d!==!1&&c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const _=new URL(a.fetchData.url).host;d==="always"?c.message=`${c.message} (${_})`:wt(c,"__sentry_fetch_url_host__",_)}catch{}throw c})}})}function Ke(t,e){return!!t&&typeof t=="object"&&!!t[e]}function es(t){return typeof t=="string"?t:t?Ke(t,"url")?t.url:t.toString?t.toString():"":""}function o_(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,o]=t;return{url:es(n),method:Ke(o,"method")?String(o.method).toUpperCase():Ri(n)&&Ke(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:es(e),method:Ke(e,"method")?String(e.method).toUpperCase():"GET"}}function r_(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Ri(e))return new Headers(e.headers)}catch{}}function s_(){return"npm"}const j=O;let co=0;function ea(){return co>0}function i_(){co++,setTimeout(()=>{co--})}function re(t,e={}){function n(r){return typeof r=="function"}if(!n(t))return t;try{const r=t.__sentry_wrapped__;if(r)return typeof r=="function"?r:t;if(Ao(t))return t}catch{return t}const o=function(...r){try{const s=r.map(i=>re(i,e));return t.apply(this,s)}catch(s){throw i_(),Sp(i=>{i.addEventProcessor(a=>(e.mechanism&&(Zn(a,void 0),ee(a,e.mechanism)),a.extra={...a.extra,arguments:r},a)),Hf(s)}),s}};try{for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r])}catch{}Si(o,t),wt(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get(){return t.name}})}catch{}return o}function a_(){const t=Lo(),{referrer:e}=j.document||{},{userAgent:n}=j.navigator||{},o={...e&&{Referer:e},...n&&{"User-Agent":n}};return{url:t,headers:o}}function jo(t,e){const n=Fo(t,e),o={type:p_(e),value:f_(e)};return n.length&&(o.stacktrace={frames:n}),o.type===void 0&&o.value===""&&(o.value="Unrecoverable error caught"),o}function c_(t,e,n,o){const s=H()?.getOptions().normalizeDepth,i=y_(e),a={__serialized__:xi(e,s)};if(i)return{exception:{values:[jo(t,i)]},extra:a};const c={exception:{values:[{type:En(e)?e.constructor.name:o?"UnhandledRejection":"Error",value:m_(e,{isUnhandledRejection:o})}]},extra:a};if(n){const l=Fo(t,n);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function Hn(t,e){return{exception:{values:[jo(t,e)]}}}function Fo(t,e){const n=e.stacktrace||e.stack||"",o=l_(e),r=d_(e);try{return t(n,o,r)}catch{}return[]}const u_=/Minified React error #\d+;/i;function l_(t){return t&&u_.test(t.message)?1:0}function d_(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function na(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function p_(t){const e=t?.name;return!e&&na(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function f_(t){const e=t?.message;return na(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?qr(e.error):qr(t):"No error message"}function h_(t,e,n,o){const r=n?.syntheticException||void 0,s=No(t,e,r,o);return ee(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),Ae(s)}function __(t,e,n="info",o,r){const s=o?.syntheticException||void 0,i=uo(t,e,s,r);return i.level=n,o?.event_id&&(i.event_id=o.event_id),Ae(i)}function No(t,e,n,o,r){let s;if(yi(e)&&e.error)return Hn(t,e.error);if(_r(e)||Qd(e)){const i=e;if("stack"in e)s=Hn(t,e);else{const a=i.name||(_r(i)?"DOMError":"DOMException"),c=i.message?`${a}: ${i.message}`:a;s=uo(t,c,n,o),Zn(s,c)}return"code"in i&&(s.tags={...s.tags,"DOMException.code":`${i.code}`}),s}return gn(e)?Hn(t,e):Re(e)||En(e)?(s=c_(t,e,n,r),ee(s,{synthetic:!0}),s):(s=uo(t,e,n,o),Zn(s,`${e}`),ee(s,{synthetic:!0}),s)}function uo(t,e,n,o){const r={};if(o&&n){const s=Fo(t,n);s.length&&(r.exception={values:[{value:e,stacktrace:{frames:s}}]}),ee(r,{synthetic:!0})}
25if(wo(e)){const{__sentry_template_string__:s,__sentry_template_values__:i}=e;return r.logentry={message:s,params:i},r}return r.message=e,r}function m_(t,{isUnhandledRejection:e}){const n=ip(t),o=e?"promise rejection":"exception";return yi(t)?`Event \`ErrorEvent\` captured as ${o} with message \`${t.message}\``:En(t)?`Event \`${g_(t)}\` (type=${t.type}) captured as ${o}`:`Object captured as ${o} with keys: ${n}`}function g_(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function y_(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}}class E_ extends hh{constructor(e){const n=R_(e),o=j.SENTRY_SDK_SOURCE||s_();ko(n,"browser",["browser"],o),n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:r,sendClientReports:s,enableLogs:i,_experiments:a,enableMetrics:c}=this._options,l=c??a?.enableMetrics??!0;j.document&&(s||i||l)&&j.document.addEventListener("visibilitychange",()=>{j.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),i&&ro(this),l&&Hi(this))}),r&&this.on("beforeSendSession",bh)}eventFromException(e,n){return h_(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",o){return __(this._options.stackParser,e,n,o,this._options.attachStacktrace)}_prepareEvent(e,n,o,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,o,r)}}function R_(t){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:j.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t}}const v_=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,G=O,S_=1e3;let ns,lo,po;function b_(t){Bt("dom",t),Ht("dom",I_)}function I_(){if(!G.document)return;const t=nt.bind(null,"dom"),e=os(t,!0);G.document.addEventListener("click",e,!1),G.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{const r=G[n]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(X(r,"addEventListener",function(s){return function(i,a,c){if(i==="click"||i=="keypress")try{const l=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},d=l[i]=l[i]||{refCount:0};if(!d.handler){const f=os(t);d.handler=f,s.call(this,i,f,c)}d.refCount++}catch{}return s.call(this,i,a,c)}}),X(r,"removeEventListener",function(s){return function(i,a,c){if(i==="click"||i=="keypress")try{const l=this.__sentry_instrumentation_handlers__||{},d=l[i];d&&(d.refCount--,d.refCount<=0&&(s.call(this,i,d.handler,c),d.handler=void 0,delete l[i]),Object.keys(l).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return s.call(this,i,a,c)}}))})}function P_(t){if(t.type!==lo)return!1;try{if(!t.target||t.target._sentryId!==po)return!1}catch{}return!0}function w_(t,e){return t!=="keypress"?!1:e?.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function os(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const o=T_(n);if(w_(n.type,o))return;wt(n,"_sentryCaptured",!0),o&&!o._sentryId&&wt(o,"_sentryId",Q());const r=n.type==="keypress"?"input":n.type;P_(n)||(t({event:n,name:r,global:e}),lo=n.type,po=o?o._sentryId:void 0),clearTimeout(ns),ns=G.setTimeout(()=>{po=void 0,lo=void 0},S_)}}function T_(t){try{return t.target}catch{return null}}let Fe;function oa(t){const e="history";Bt(e,t),Ht(e,L_)}function L_(){if(G.addEventListener("popstate",()=>{const e=G.location.href,n=Fe;if(Fe=e,n===e)return;nt("history",{from:n,to:e})}),!Zh())return;function t(e){return function(...n){const o=n.length>2?n[2]:void 0;if(o){const r=Fe,s=A_(String(o));if(Fe=s,r===s)return e.apply(this,n);nt("history",{from:r,to:s})}return e.apply(this,n)}}X(G.history,"pushState",t),X(G.history,"replaceState",t)}function A_(t){try{return new URL(t,G.location.origin).toString()}catch{return t}}const qe={};function C_(t){const e=qe[t];if(e)return e;let n=G[t];if(ao(n))return qe[t]=n.bind(G);const o=G.document;if(o&&typeof o.createElement=="function")try{const r=o.createElement("iframe");r.hidden=!0,o.head.appendChild(r);const s=r.contentWindow;s?.[t]&&(n=s[t]),o.head.removeChild(r)}catch(r){v_&&b.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,r)}return n&&(qe[t]=n.bind(G))}function $_(t){qe[t]=void 0}const _e="__sentry_xhr_v3__";function O_(t){Bt("xhr",t),Ht("xhr",M_)}function M_(){if(!G.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,o){const r=new Error,s=pt()*1e3,i=dt(o[0])?o[0].toUpperCase():void 0,a=x_(o[1]);if(!i||!a)return e.apply(n,o);n[_e]={method:i,url:a,request_headers:{}}
25,i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const l=n[_e];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const d={endTimestamp:pt()*1e3,startTimestamp:s,xhr:n,virtualError:r};nt("xhr",d)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,d,f){return c(),l.apply(d,f)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,d,f){const[h,_]=f,y=d[_e];return y&&dt(h)&&dt(_)&&(y.request_headers[h.toLowerCase()]=_),l.apply(d,f)}}),e.apply(n,o)}}),t.send=new Proxy(t.send,{apply(e,n,o){const r=n[_e];if(!r)return e.apply(n,o);o[0]!==void 0&&(r.body=o[0]);const s={startTimestamp:pt()*1e3,xhr:n};return nt("xhr",s),e.apply(n,o)}})}function x_(t){if(dt(t))return t;try{return t.toString()}catch{}}const D_=40;function k_(t,e=C_("fetch")){let n=0,o=0;async function r(s){const i=s.body.length;n+=i,o++;const a={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&o<15,...t.fetchOptions};try{const c=await e(t.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw $_("fetch"),c}finally{n-=i,o--}}return uh(t,r,Do(t.bufferSize||D_))}const bn=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,j_=30,F_=50;function fo(t,e,n,o){const r={filename:t,function:e==="<anonymous>"?Nt:e,in_app:!0};return n!==void 0&&(r.lineno=n),o!==void 0&&(r.colno=o),r}const N_=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,V_=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,B_=/\((\S*)(?::(\d+))(?::(\d+))\)/,H_=/at (.+?) ?\(data:(.+?),/,U_=t=>{const e=t.match(H_);if(e)return{filename:`<data:${e[2]}>`,function:e[1]};const n=N_.exec(t);if(n){const[,r,s,i]=n;return fo(r,Nt,+s,+i)}const o=V_.exec(t);if(o){if(o[2]&&o[2].indexOf("eval")===0){const a=B_.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}const[s,i]=ra(o[1]||Nt,o[2]);return fo(i,s,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},z_=[j_,U_],W_=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,G_=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,K_=t=>{const e=W_.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=G_.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let o=e[3],r=e[1]||Nt;return[r,o]=ra(r,o),fo(o,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},q_=[F_,K_],Y_=[z_,q_],J_=_i(...Y_),ra=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,o=t.indexOf("safari-web-extension")!==-1;return n||o?[t.indexOf("@")!==-1?t.split("@")[0]:Nt,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},Ne=1024,X_="Breadcrumbs",Z_=((t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:X_,setup(n){e.console&&Vh(nm(n)),e.dom&&b_(em(n,e.dom)),e.xhr&&O_(om(n)),e.fetch&&e_(rm(n)),e.history&&oa(sm(n)),e.sentry&&n.on("beforeSendEvent",tm(n))}}}),Q_=Z_;function tm(t){return function(n){H()===t&&Vt({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Ot(n)},{event:n})}}function em(t,e){return function(o){if(H()!==t)return;let r,s,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>Ne&&(bn&&b.warn(`\`dom.maxStringLength\` cannot exceed ${Ne}, but a value of ${a} was configured. Sentry will use ${Ne} instead.`),a=Ne),typeof i=="string"&&(i=[i]);try{const l=o.event,d=im(l)?l.target:l;r=vi(d,{keyAttrs:i,maxStringLength:a}),s=sp(d)}catch{r="<unknown>"}if(r.length===0)return;const c={category:`ui.${o.name}`,message:r};s&&(c.data={"ui.component_name":s}),Vt(c,{event:o.event,name:o.name,global:o.global})}}function nm(t){return function(n){if(H()!==t)return;const o={category:"console",data:{arguments:n.args,logger:"console"},level:Hh(n.level),message:yr(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)o.message=`Assertion failed: ${yr(n.args.slice(1)," ")||"console.assert"}`,o.data.arguments=n.args.slice(1);else return;Vt(o,{input:n.args,level:n.level})}}function om(t){return function(n){if(H()!==t)return;const{startTimestamp:o,endTimestamp:r}=n,s=n.xhr[_e];if(!o||!r||!s)return;const{method:i,url:a,status_code:c,body:l}=s,d={method:i,url:a,status_code:c},f={xhr:n.xhr,input:l,startTimestamp:o,endTimestamp:r},h={category:"xhr",data:d,type:"http",level:ta(c)};t.emit("beforeOutgoingRequestBreadcrumb",h,f),Vt(h,f)}}function rm(t){return function(n){if(H()!==t)return;const{startTimestamp:o,endTimestamp:r}=n;
25if(r&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const s=n.fetchData,i={data:n.error,input:n.args,startTimestamp:o,endTimestamp:r},a={category:"fetch",data:s,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",a,i),Vt(a,i)}else{const s=n.response,i={...n.fetchData,status_code:s?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,s?.status;const a={input:n.args,response:s,startTimestamp:o,endTimestamp:r},c={category:"fetch",data:i,type:"http",level:ta(i.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,a),Vt(c,a)}}}function sm(t){return function(n){if(H()!==t)return;let o=n.from,r=n.to;const s=Bn(j.location.href);let i=o?Bn(o):void 0;const a=Bn(r);i?.path||(i=s),s.protocol===a.protocol&&s.host===a.host&&(r=a.relative),s.protocol===i.protocol&&s.host===i.host&&(o=i.relative),Vt({category:"navigation",data:{from:o,to:r}})}}function im(t){return!!t&&!!t.target}const am=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],cm="BrowserApiErrors",um=((t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:cm,setupOnce(){e.setTimeout&&X(j,"setTimeout",rs),e.setInterval&&X(j,"setInterval",rs),e.requestAnimationFrame&&X(j,"requestAnimationFrame",dm),e.XMLHttpRequest&&"XMLHttpRequest"in j&&X(XMLHttpRequest.prototype,"send",pm);const n=e.eventTarget;n&&(Array.isArray(n)?n:am).forEach(r=>fm(r,e))}}}),lm=um;function rs(t){return function(...e){const n=e[0];return e[0]=re(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${It(t)}`}}),t.apply(this,e)}}function dm(t){return function(e){return t.apply(this,[re(e,{mechanism:{data:{handler:It(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function pm(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&X(n,r,function(s){const i={mechanism:{data:{handler:It(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${r}`}},a=Ao(s);return a&&(i.mechanism.data.handler=It(a)),re(s,i)})}),t.apply(this,e)}}function fm(t,e){const o=j[t]?.prototype;o?.hasOwnProperty?.("addEventListener")&&(X(o,"addEventListener",function(r){return function(s,i,a){try{hm(i)&&(i.handleEvent=re(i.handleEvent,{mechanism:{data:{handler:It(i),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&_m(this,s,i),r.apply(this,[s,re(i,{mechanism:{data:{handler:It(i),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),X(o,"removeEventListener",function(r){return function(s,i,a){try{const c=i.__sentry_wrapped__;c&&r.call(this,s,c,a)}catch{}return r.call(this,s,i,a)}}))}function hm(t){return typeof t.handleEvent=="function"}function _m(t,e,n){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(e,n)}const mm=(t={})=>{const e=t.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof j.document>"u"){bn&&b.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Fr({ignoreDuration:!0}),Nn();const n=ut();let o=n.getUser();n.addScopeListener(r=>{const s=r.getUser();(o?.id!==s?.id||o?.ip_address!==s?.ip_address)&&(Nn(),o=s)}),e==="route"&&oa(({from:r,to:s})=>{r!==s&&(Fr({ignoreDuration:!0}),Nn())})}}},gm="CultureContext",ym=(()=>({name:gm,preprocessEvent(t){const e=Rm();e&&(t.contexts={...t.contexts,culture:{...e,...t.contexts?.culture}})}})),Em=ym;function Rm(){try{const t=j.Intl;if(!t)return;const e=t.DateTimeFormat().resolvedOptions();return{locale:e.locale,timezone:e.timeZone,calendar:e.calendar}}catch{return}}const vm="GlobalHandlers",Sm=((t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:vm,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(Im(n),ss("onerror")),e.onunhandledrejection&&(Pm(n),ss("onunhandledrejection"))}}}),bm=Sm;function Im(t){Yd(e=>{const{stackParser:n,attachStacktrace:o}=sa();if(H()!==t||ea())return;const{msg:r,url:s,line:i,column:a,error:c}=e,l=Lm(No(n,c||r,void 0,o,!1),s,i,a);l.level="error",ji(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function Pm(t){Xd(e=>{const{stackParser:n,attachStacktrace:o}=sa();if(H()!==t||ea())return;const r=wm(e),s=yn(r)?Tm(r):No(n,r,void 0,o,!0);s.level="error",ji(s,{originalException:r,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function wm(t){if(yn(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function Tm(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Lm(t,e,n,o){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],l=o,d=n,f=Am(e)??Lo();
25return c.length===0&&c.push({colno:l,filename:f,function:Nt,in_app:!0,lineno:d}),t}function ss(t){bn&&b.log(`Global Handler attached: ${t}`)}function sa(){return H()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function Am(t){if(!(!dt(t)||t.length===0))return t.startsWith("data:")?`<${Sh(t,!1)}>`:t}const Cm=()=>({name:"HttpContext",preprocessEvent(t){if(!j.navigator&&!j.location&&!j.document)return;const e=a_(),n={...e.headers,...t.request?.headers};t.request={...e,...t.request,headers:n}}}),$m="cause",Om=5,Mm="LinkedErrors",xm=((t={})=>{const e=t.limit||Om,n=t.key||$m;return{name:Mm,preprocessEvent(o,r,s){const i=s.getOptions();Nh(jo,i.stackParser,n,e,o,r)}}}),Dm=xm;function km(){return jm()?(bn&&ie(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function jm(){if(typeof j.window>"u")return!1;const t=j;if(t.nw||!(t.chrome||t.browser)?.runtime?.id)return!1;const n=Lo(),o=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(j===j.top&&o.some(s=>n.startsWith(`${s}://`)))}function ia(t){return[$h(),Th(),Xh(),lm(),Q_(),bm(),Dm(),Wh(),Cm(),Em(),mm()]}function Fm(t={}){const e=!t.skipBrowserExtensionCheck&&km();let n=t.defaultIntegrations==null?ia():t.defaultIntegrations;const o={...t,enabled:e?!1:t.enabled,stackParser:Kd(t.stackParser||J_),integrations:Jf({integrations:t.integrations,defaultIntegrations:n}),transport:t.transport||k_};return Rh(E_,o)}function Nm(t){const e={...t};return ko(e,"react"),Uf("react",{version:$.version}),Fm(e)}function Vm(t){const e={defaultIntegrations:[...ia()],...t};return ko(e,"tanstackstart-react",["tanstackstart-react","react"]),Nm(e)}function is(t){return Object.values(t)}const Bm={"~types":void 0,options:{}},Hm={"~types":void 0,options:{}},Um=()=>{throw new Error("createServerOnlyFn() functions can only be called on the server!")},ho=(t,e)=>{const n=e||t||{};typeof n.method>"u"&&(n.method="GET");const o={options:n,middleware:s=>{const i=[...n.middleware||[]];s.map(l=>{cr in l?l.options.middleware&&i.push(...l.options.middleware):i.push(l)});const a={...n,middleware:i},c=ho(void 0,a);return c[cr]=!0,c},inputValidator:s=>{const i={...n,inputValidator:s};return ho(void 0,i)},handler:(...s)=>{const[i,a]=s,c={...n,extractedFn:i,serverFn:a},l=[...c.middleware||[],Km(c)];return Object.assign(async d=>as(l,"client",{...i,...c,data:d?.data,headers:d?.headers,signal:d?.signal,context:{}}).then(f=>{if(f.error)throw f.error;return f.result}),{...i,__executeServer:async(d,f)=>{const h=Um(),_={...i,...d,context:{...h,...d.context},signal:f};return as(l,"server",_).then(y=>({result:y.result,error:y.error,context:y.sendContext}))}})}};return Object.assign(s=>({...o,options:{...o.options,...s}}),o)};async function as(t,e,n){const o=ci().functionMiddleware||[],r=zm([...o,...t]),s=async i=>{const a=r.shift();if(!a)return i;"inputValidator"in a.options&&a.options.inputValidator&&e==="server"&&(i.data=await Gm(a.options.inputValidator,i.data));const c=e==="client"&&"client"in a.options?a.options.client:a.options.server;return c?Wm(c,i,async l=>s(l).catch(d=>{if(et(d)||tt(d))return{...l,error:d};throw d})):s(i)};return s({...n,headers:n.headers||{},sendContext:n.sendContext||{},context:n.context||{}})}function zm(t){const e=new Set,n=[],o=r=>{r.forEach(s=>{s.options.middleware&&o(s.options.middleware),e.has(s)||(e.add(s),n.push(s))})};return o(t),n}const Wm=async(t,e,n)=>t({...e,next:async(o={})=>n({...e,...o,context:{...e.context,...o.context},sendContext:{...e.sendContext,...o.sendContext??{}},headers:kd(e.headers,o.headers),result:o.result!==void 0?o.result:o instanceof Response?o:e.result,error:o.error??e.error})});function Gm(t,e){if(t==null)return{};if("~standard"in t){const n=t["~standard"].validate(e);if(n instanceof Promise)throw new Error("Async validation not supported");if(n.issues)throw new Error(JSON.stringify(n.issues,void 0,2));return n.value}if("parse"in t)return t.parse(e);if(typeof t=="function")return t(e);throw new Error("Invalid validator type!")}function Km(t){return{_types:void 0,options:{inputValidator:t.inputValidator,client:async({next:e,sendContext:n,...o})=>{const r={...o,context:n},s=await t.extractedFn?.(r);return e(s)},server:async({next:e,...n})=>{const o=await t.serverFn?.(n);return e({...n,result:o})}}}}const xt=(t,e)=>{const n={type:"request",...e||t};return{options:n,middleware:o=>xt({},Object.assign(n,{middleware:o})),inputValidator:o=>xt({},Object.assign(n,{inputValidator:o})),client:o=>xt({},Object.assign(n,{client:o})),server:o=>xt({},Object.assign(n,{server:o}
25))}},qm=t=>({getOptions:async()=>await t(),createMiddleware:xt}),Ym=xt(),Jm=xt(),Xm={...Bm,_types:{in:null,out:null,extra:null}},Zm={...Hm,_types:{in:null,out:null,extra:null}},cs=qm(()=>({requestMiddleware:is({typedSentryRequestMiddleware:Xm,tenantMiddleware:Jm,basicAuthMiddleware:Ym}),functionMiddleware:is({typedSentryFunctionMiddleware:Zm}),serializationAdapters:[]})),Qm="_container_182i6_1",tg="_ticker_182i6_29",eg="_darkBodyOverLay_182i6_40",ng="_header_182i6_44",og="_storyModalPortal_182i6_61",rg="_storyModalPortalActive_182i6_68",sg="_navigation_182i6_85",ig="_main_182i6_113",ag="_betslip_182i6_130",cg={container:Qm,ticker:tg,darkBodyOverLay:eg,header:ng,storyModalPortal:og,storyModalPortalActive:rg,navigation:sg,main:ig,betslip:ag};function ug(t,e){if(!t?.web?.hostname||!t?.name)return[];const n=`https://${t.web.hostname}`,o=e?ba(e):void 0,r=o&&t.logo?`${o}/public/logos/${t.logo}.png`:void 0,s={"@context":"https://schema.org","@type":"Organization",name:t.name,url:n,...r&&{logo:r}},i={"@context":"https://schema.org","@type":"WebSite",name:t.name,url:n};return[s,i].map(a=>({type:"application/ld+json",children:JSON.stringify(a)}))}function us(t){return!t?.xtremePush?.enabled||!t?.xtremePush?.webSdkId?"":`(function(p,u,s,h,e,r,l,i,b){p['XtremePushObject']=s;p[s]=function(){
26(p[s].q=p[s].q||[]).push(arguments)};i=u.createElement('script');i.async=1;
27i.src=h;b=u.getElementsByTagName('script')[0];b.parentNode.insertBefore(i,b);
28})(window,document,'xtremepush','https://prod.webpu.sh/${t.xtremePush.webSdkId}/sdk.js');`}const lg=(t,e,n)=>{const o=t[e];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},dg=async t=>{try{const e=await lg(Object.assign({
28"./generated/10bet.json":()=>p(()=>import("./10bet-Bp-HTUXH.js"),[]),
28"./generated/10bet.native.json":()=>p(()=>import("./10bet.native-Ckyxp0Vb.js"),[]),
28"./generated/backoffice.json":()=>p(()=>import("./backoffice-D1ZXyy2o.js"),[]),
28"./generated/backoffice.native.json":()=>p(()=>import("./backoffice.native-DeaYeIlU.js"),[]),
28"./generated/baggybet.json":()=>p(()=>import("./baggybet-CsmILy_H.js"),[]),
28"./generated/baggybet.native.json":()=>p(()=>import("./baggybet.native-R15R1-Ij.js"),[]),
28"./generated/ballrbet.json":()=>p(()=>import("./ballrbet-C9s0R23o.js"),[]),
28"./generated/ballrbet.native.json":()=>p(()=>import("./ballrbet.native-C5xuGTei.js"),[]),
28"./generated/bet66.json":()=>p(()=>import("./bet66-BGu6cMAf.js"),[]),
28"./generated/bet66.native.json":()=>p(()=>import("./bet66.native-B3aFVZUd.js"),[]),
28"./generated/betabets.json":()=>p(()=>import("./betabets-DzxaVH59.js"),[]),
28"./generated/betabets.native.json":()=>p(()=>import("./betabets.native-Cg0Hi3wz.js"),[]),
28"./generated/betaroo.json":()=>p(()=>import("./betaroo-BUcMLs_l.js"),[]),
28"./generated/betaroo.native.json":()=>p(()=>import("./betaroo.native-BccMhL57.js"),[]),
28"./generated/betaus.json":()=>p(()=>import("./betaus-D68xJedo.js"),[]),
28"./generated/betaus.native.json":()=>p(()=>import("./betaus.native-Ccs2KNZv.js"),[]),
28"./generated/betco.json":()=>p(()=>import("./betco-flvSX-xC.js"),[]),
28"./generated/betco.native.json":()=>p(()=>import("./betco.native-C7VQnUvP.js"),[]),
28"./generated/betdash.json":()=>p(()=>import("./betdash-DQQtWj93.js"),[]),
28"./generated/betdash.native.json":()=>p(()=>import("./betdash.native-BC1n85zJ.js"),[]),
28"./generated/betestate.json":()=>p(()=>import("./betestate-qGSWZYEe.js"),[]),
28"./generated/betestate.native.json":()=>p(()=>import("./betestate.native-C8Stbk9J.js"),[]),
28"./generated/betfans.json":()=>p(()=>import("./betfans-Zh2CFMqy.js"),[]),
28"./generated/betfans.native.json":()=>p(()=>import("./betfans.native-Cb436M8S.js"),[]),
28"./generated/betgold.json":()=>p(()=>import("./betgold-CUrVYGQQ.js"),[]),
28"./generated/betgold.native.json":()=>p(()=>import("./betgold.native-DfbIA8qi.js"),[]),
28"./generated/betit.json":()=>p(()=>import("./betit-Dx_C4cHF.js"),[]),
28"./generated/betit.native.json":()=>p(()=>import("./betit.native-MPBsIK-w.js"),[]),
28"./generated/betjoey.json":()=>p(()=>import("./betjoey-DRnReYt2.js"),[]),
28"./generated/betjoey.native.json":()=>p(()=>import("./betjoey.native-6B9h44Jf.js"),[]),
28"./generated/betlegends.json":()=>p(()=>import("./betlegends-C1J7Y-gR.js"),[]),
28"./generated/betlegends.native.json":()=>p(()=>import("./betlegends.native-BqH1gIaw.js"),[]),
28"./generated/betlocal.json":()=>p(()=>import("./betlocal-BDqflz55.js"),[]),
28"./generated/betlocal.native.json":()=>p(()=>import("./betlocal.native-D6Zy7E0B.js"),[]),
28"./generated/betmakers.json":()=>p(()=>import("./betmakers-Br3uXcHt.js"),[]),
28"./generated/betmakers.native.json":()=>p(()=>import("./betmakers.native-BWlF4lZI.js"),[]),
28"./generated/betstation.json":()=>p(()=>import("./betstation-C9BSOyo2.js"),[]),
28"./generated/betstation.native.json":()=>p(()=>import("./betstation.native-DmuhZTFs.js"),[]),
28"./generated/betsupreme.json":()=>p(()=>import("./betsupreme-BsVqE4ym.js"),[]),
28"./generated/betsupreme.native.json":()=>p(()=>import("./betsupreme.native-zQSW-xDz.js"),[]),
28"./generated/betyoucan.json":()=>p(()=>import("./betyoucan-CrHWPDQ0.js"),[]),
28"./generated/betyoucan.native.json":()=>p(()=>import("./betyoucan.native-J5lSuxKO.js"),[]),
28"./generated/betzooka.json":()=>p(()=>import("./betzooka-DRJeWcig.js"),[]),
28"./generated/betzooka.native.json":()=>p(()=>import("./betzooka.native-BdtevnYD.js"),[]),
28"./generated/bossbet.json":()=>p(()=>import("./bossbet-BfUW6wIJ.js"),[]),
28"./generated/bossbet.native.json":()=>p(()=>import("./bossbet.native-ChGt8aeL.js"),[]),
28"./generated/businessbet.json":()=>p(()=>import("./businessbet-CxSKDbKa.js"),[]),
28"./generated/businessbet.native.json":()=>p(()=>import("./businessbet.native-kvjltmEL.js"),[]),
28"./generated/capital.json":()=>p(()=>import("./capital-CgUt6agv.js"),[]),
28"./generated/capital.native.json":()=>p(()=>import("./capital.native-CNrpigL3.js"),[]),
28"./generated/clubbet.json":()=>p(()=>import("./clubbet-CuHZfgtI.js"),[]),
28"./generated/clubbet.native.json":()=>p(()=>import("./clubbet.native-Cb12t8Zx.js"),[]),
28"./generated/crossbet.json":()=>p(()=>import("./crossbet-DQwSAVcE.js"),[]),
28"./generated/crossbet.native.json":()=>p(()=>import("./crossbet.native-PRqbXbjA.js"),[]),
28"./generated/crownbet.json":()=>p(()=>import("./crownbet-KqJoNrES.js"),[]),
28"./generated/crownbet.native.json":()=>p(()=>import("./crownbet.native-D0pMjvPH.js"),[]),
28"./generated/dafabet.json":()=>p(()=>import("./dafabet-wGgF10rW.js"),[]),
28"./generated/dafabet.native.json":()=>p(()=>import("./dafabet.native-NptO9gPY.js"),[]),
28"./generated/diamondbet.json":()=>p(()=>import("./diamondbet-cEj4c-s3.js"),[]),
28"./generated/diamondbet.native.json":()=>p(()=>import("./diamondbet.native-Dj0LNh1Y.js"),[]),
28"./generated/donniebet.json":()=>p(()=>import("./donniebet-6-XxQkQ1.js"),[]),
28"./generated/donniebet.native.json":()=>p(()=>import("./donniebet.native-BQsbhM2m.js"),[]),
28"./generated/dowbet.json":()=>p(()=>import("./dowbet-BpDZL8v2.js"),[]),
28"./generated/dowbet.native.json":()=>p(()=>import("./dowbet.native-GronOquv.js"),[]),
28"./generated/earlycrow.json":()=>p(()=>import("./earlycrow-Ccsxs6q-.js"),[]),
28"./generated/earlycrow.native.json":()=>p(()=>import("./earlycrow.native-DETBmlSR.js"),[]),
28"./generated/fatbet.json":()=>p(()=>import("./fatbet-DNiGKx1P.js"),[]),
28"./generated/fatbet.native.json":()=>p(()=>import("./fatbet.native-DODt8o1S.js"),[]),
28"./generated/gamblr.json":()=>p(()=>import("./gamblr-B67a_iG3.js"),[]),
28"./generated/gamblr.native.json":()=>p(()=>import("./gamblr.native-DPQ59zW5.js"),[]),
28"./generated/gembet.json":()=>p(()=>import("./gembet-vjAhumP_.js"),[]),
28"./generated/gembet.native.json":()=>p(()=>import("./gembet.native-DlTokcLn.js"),[]),
28"./generated/genius-sports.json":()=>p(()=>import("./genius-sports-De4TMd0V.js"),[]),
28"./generated/genius-sports.native.json":()=>p(()=>import("./genius-sports.native-BhKFk_03.js"),[]),
28"./generated/getthejump.json":()=>p(()=>import("./getthejump-3zUxs3L4.js"),[]),
28"./generated/getthejump.native.json":()=>p(()=>import("./getthejump.native-C_UuplFG.js"),[]),
28"./generated/gig.json":()=>p(()=>import("./gig-C6Nlf0V6.js"),[]),
28"./generated/gig.native.json":()=>p(()=>import("./gig.native-BEdH_vaQ.js"),[]),
28"./generated/gtx.json":()=>p(()=>import("./gtx-Cu3PZ3ot.js"),[]),
28"./generated/gtx.native.json":()=>p(()=>import("./gtx.native-B1te2C7M.js"),[]),
28"./generated/index.json":()=>p(()=>import("./index-pPt8EfJC.js"),[]),
28"./generated/knucklebet.json":()=>p(()=>import("./knucklebet-p_5GltA_.js"),[]),
28"./generated/knucklebet.native.json":()=>p(()=>import("./knucklebet.native-Bth8oHd5.js"),[]),
28"./generated/marantellibet.json":()=>p(()=>import("./marantellibet-CwmWJGp-.js"),[]),
28"./generated/marantellibet.native.json":()=>p(()=>import("./marantellibet.native-L7KozYU_.js"),[]),
28"./generated/mcbet.json":()=>p(()=>import("./mcbet-DJKN5LMY.js"),[]),
28"./generated/mcbet.native.json":()=>p(()=>import("./mcbet.native-9VS18Muw.js"),[]),
28"./generated/next2go.json":()=>p(()=>import("./next2go-DFq_HoFE.js"),[]),
28"./generated/next2go.native.json":()=>p(()=>import("./next2go.native-D8Klizrg.js"),[]),
28"./generated/okebet.json":()=>p(()=>import("./okebet-p8dAMgaD.js"),[]),
28"./generated/okebet.native.json":()=>p(()=>import("./okebet.native-ByQeClft.js"),[]),
28"./generated/onlybets.json":()=>p(()=>import("./onlybets-C9nOHJNe.js"),[]),
28"./generated/onlybets.native.json":()=>p(()=>import("./onlybets.native-DjBgeQ6v.js"),[]),
28"./generated/picnicbet.json":()=>p(()=>import("./picnicbet-DwUhRlxA.js"),[]),
28"./generated/picnicbet.native.json":()=>p(()=>import("./picnicbet.native-CsAlbKLp.js"),[]),
28"./generated/playabets.json":()=>p(()=>import("./playabets-CTE77Kg_.js"),[]),
28"./generated/playabets.native.json":()=>p(()=>import("./playabets.native-FLSkCHmn.js"),[]),
28"./generated/playtsogo.json":()=>p(()=>import("./playtsogo-CMb7Fw1x.js"),[]),
28"./generated/playtsogo.native.json":()=>p(()=>import("./playtsogo.native-C6p3h06A.js"),[]),
28"./generated/playwest.json":()=>p(()=>import("./playwest-BWSUVb9O.js"),[]),
28"./generated/playwest.native.json":()=>p(()=>import("./playwest.native-B0OZoi31.js"),[]),
28"./generated/podium.json":()=>p(()=>import("./podium-DkKmwTsa.js"),[]),
28"./generated/podium.native.json":()=>p(()=>import("./podium.native-LuLn7PtR.js"),[]),
28"./generated/ponybet.json":()=>p(()=>import("./ponybet-CJuvtU3S.js"),[]),
28"./generated/ponybet.native.json":()=>p(()=>import("./ponybet.native-DV_5gCzK.js"),[]),
28"./generated/pool.json":()=>p(()=>import("./pool-CDRkdvVZ.js"),[]),
28"./generated/pool.native.json":()=>p(()=>import("./pool.native-BZZdnwQ1.js"),[]),
28"./generated/premiumbet.json":()=>p(()=>import("./premiumbet-UQV7PO9Y.js"),[]),
28"./generated/premiumbet.native.json":()=>p(()=>import("./premiumbet.native-cT9WQTc5.js"),[]),
28"./generated/primeodds.json":()=>p(()=>import("./primeodds-CvYHbxai.js"),[]),
28"./generated/primeodds.native.json":()=>p(()=>import("./primeodds.native-BCRlRg5K.js"),[]),
28"./generated/punt123.json":()=>p(()=>import("./punt123-BO6XIst5.js"),[]),
28"./generated/punt123.native.json":()=>p(()=>import("./punt123.native-Cta6wJXJ.js"),[]),
28"./generated/puntx.json":()=>p(()=>import("./puntx-BwJtf-6G.js"),[]),
28"./generated/puntx.native.json":()=>p(()=>import("./puntx.native-C1z1RGUa.js"),[]),
28"./generated/readybet.json":()=>p(()=>import("./readybet-BL7C4LiL.js"),[]),
28"./generated/readybet.native.json":()=>p(()=>import("./readybet.native-DUmiPNHD.js"),[]),
28"./generated/readysetbet.json":()=>p(()=>import("./readysetbet-D1KkxDYy.js"),[]),
28"./generated/readysetbet.native.json":()=>p(()=>import("./readysetbet.native-CXBJh5TK.js"),[]),
28"./generated/realbookie.json":()=>p(()=>import("./realbookie-DVLZRMrR.js"),[]),
28"./generated/realbookie.native.json":()=>p(()=>import("./realbookie.native-DrT8apno.js"),[]),
28"./generated/redbet.json":()=>p(()=>import("./redbet-CFPHte9v.js"),[]),
28"./generated/redbet.native.json":()=>p(()=>import("./redbet.native-CkcsFh7L.js"),[]),
28"./generated/riverbet.json":()=>p(()=>import("./riverbet-DO25aFkr.js"),[]),
28"./generated/riverbet.native.json":()=>p(()=>import("./riverbet.native-B_4BcoRk.js"),[]),
28"./generated/robwaterhouse.json":()=>p(()=>import("./robwaterhouse-CwAxWWec.js"),[]),
28"./generated/robwaterhouse.native.json":()=>p(()=>import("./robwaterhouse.native-DJ8Ybb43.js"),[]),
28"./generated/roosterbet.json":()=>p(()=>import("./roosterbet-BCWVcFR8.js"),[]),
28"./generated/roosterbet.native.json":()=>p(()=>import("./roosterbet.native-DBnWwqIR.js"),[]),
28"./generated/sportingtech.json":()=>p(()=>import("./sportingtech-DW461O2Q.js"),[]),
28"./generated/sportingtech.native.json":()=>p(()=>import("./sportingtech.native-DQXB67rZ.js"),[]),
28"./generated/sportradar.json":()=>p(()=>import("./sportradar-B6ST5Dva.js"),[]),
28"./generated/sportradar.native.json":()=>p(()=>import("./sportradar.native-eVXRiJwO.js"),[]),
28"./generated/sporty.json":()=>p(()=>import("./sporty-DtOpsOE6.js"),[]),
28"./generated/sporty.native.json":()=>p(()=>import("./sporty.native-UlfKpvuh.js"),[]),
28"./generated/sprintbet.json":()=>p(()=>import("./sprintbet-BPZQxe0o.js"),[]),
28"./generated/sprintbet.native.json":()=>p(()=>import("./sprintbet.native-g0eZx5XV.js"),[]),
28"./generated/stablebet.json":()=>p(()=>import("./stablebet-w_Dba85Q.js"),[]),
28"./generated/stablebet.native.json":()=>p(()=>import("./stablebet.native-DefCzQ6u.js"),[]),
28"./generated/steakbet.json":()=>p(()=>import("./steakbet-CxvA17Dr.js"),[]),
28"./generated/steakbet.native.json":()=>p(()=>import("./steakbet.native-CcOXwfPH.js"),[]),
28"./generated/sunbet.json":()=>p(()=>import("./sunbet-Bg_mCDTd.js"),[]),
28"./generated/sunbet.native.json":()=>p(()=>import("./sunbet.native-DCocVKXY.js"),[]),
28"./generated/swiftbet.json":()=>p(()=>import("./swiftbet-e4UQwdO3.js"),[]),
28"./generated/swiftbet.native.json":()=>p(()=>import("./swiftbet.native-BpKVWzUm.js"),[]),
28"./generated/terrybet.json":()=>p(()=>import("./terrybet-OHiuCFsv.js"),[]),
28"./generated/terrybet.native.json":()=>p(()=>import("./terrybet.native-BsYH3hTt.js"),[]),
28"./generated/upcoz.json":()=>p(()=>import("./upcoz-BiN_K5pB.js"),[]),
28"./generated/upcoz.native.json":()=>p(()=>import("./upcoz.native-b-BhY0zE.js"),[]),
28"./generated/upyago.json":()=>p(()=>import("./upyago-BAIRtikn.js"),[]),
28"./generated/upyago.native.json":()=>p(()=>import("./upyago.native-BkvSC1Uk.js"),[]),
28"./generated/whobets.json":()=>p(()=>import("./whobets-DaBjzgON.js"),[]),
28"./generated/whobets.native.json":()=>p(()=>import("./whobets.native-BFLCLQ1u.js"),[]),
28"./generated/wishbet.json":()=>p(()=>import("./wishbet-BIO6Ave5.js"),[]),
28"./generated/wishbet.native.json":()=>p(()=>import("./wishbet.native-nHw-7sd4.js"),[])
28}),`./generated/${t}.json`,3);return e.default||e}catch(e){return console.warn(`Failed to load web tokens for ${t}:`,e),null}},pg="/assets/styles-BhxBuLIH.css",fg=di("src_routes_root_tsx--getTenantFromMiddleware_createServerFn_handler"),hg=ho({method:"GET"}).handler(fg);let Ye;const _g=t=>`:root {
29${Object.entries(t).map(([n,o])=>`  ${n}: ${o};`).join(`
30`)}
31}`,ue=dd({beforeLoad:async()=>{if(Ye)return Ye;const t=await hg();if(!t)throw new Error("Failed to get tenant info from middleware");return typeof window<"u"&&(Ye=t),t},staleTime:1/0,gcTime:1/0,loader:async({context:t})=>{const{tenantId:e,env:n}=t,o=Ia[n].tenants[e],r=await dg(o.themeId)||{};return{tenantId:e,tenant:o,env:n,tokens:r,css:_g(r)}},head:({loaderData:t})=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"},{title:t?.tenant?.name||"BetMakers"}],links:[{rel:"stylesheet",href:pg},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"},...t?.tenant?.logo?[{rel:"icon",href:`/favicons/${t.tenant.logo}.png`}]:[]],styles:[{children:t?.css}],scripts:[...t?.tenant?.gtmId?[{children:`window.dataLayer = window.dataLayer || [];
32  try {
33    var key = Object.keys(localStorage).find(function(k) { return k.includes('idToken'); });
34    if (key) {
35      var token = localStorage.getItem(key);
36      var b64 = token.split('.')[1].replace(/-/g, '+').replace(/_/g, '/');
37      var payload = JSON.parse(atob(b64));
38      if (payload.sub) window.dataLayer.push({ user_id: payload.sub });
39    }
40  } catch (e) {}`}]:[],...t?.tenant?.gtmId?[{children:`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
41new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
42j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
43'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
44})(window,document,'script','dataLayer','${t.tenant.gtmId}');`}]:[],...us(t?.tenant)?[{children:us(t?.tenant)}]:[],...ug(t?.tenant,t?.env)]}),component:mg});function mg(){const{tenant:t,tenantId:e,env:n}=hn({from:"__root__"});return typeof window<"u"&&(Ye??={tenantId:e,env:n}),E.jsxs("html",{lang:t.locale,className:"lg:overflow-hidden",children:[E.jsx("head",{children:E.jsx(wd,{})}),E.jsxs("body",{className:Pa("font-[Inter]",cg.container),children:[t.gtmId&&E.jsx("noscript",{children:E.jsx("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${t.gtmId}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}),E.jsx(ii,{}),E.jsx(Ld,{})]})]})}const gg=()=>p(()=>import("./public-CSIkK-Ae.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])),yg=m("/public")({component:g(gg,"component")}),Eg=()=>p(()=>import("./_main-DFngfypS.js"),__vite__mapDeps([9,1,3,4,5,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,6,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,7,41,42,43,44,45,46,47,48,49,50,51,8,52,53])),Rg=m("/_main")({component:g(Eg,"component")}),vg=()=>p(()=>import("./_error-Bi4140hX.js"),__vite__mapDeps([54,1,4,5,51,8])),Sg=m("/_error")({component:g(vg,"component")});wa("en-AU");const bg=()=>p(()=>import("./sitemap_._xml-CKE0-rPF.js"),[]),Ig=m("/_server/sitemap.xml")({loader:()=>null,component:g(bg,"component")}),Pg=()=>p(()=>import("./robots_._txt-CKE0-rPF.js"),[]),wg=m("/_server/robots.txt")({loader:()=>null,component:g(Pg,"component")}),Tg=()=>p(()=>import("./terms-and-conditions-B7XHvk8D.js"),__vite__mapDeps([55,1,56,4,5,57,58,59,60])),Lg=m("/public/terms-and-conditions")({component:g(Tg,"component")}),Ag=()=>p(()=>import("./responsible-gambling-kQxv_PlD.js"),__vite__mapDeps([61,1,62,4,5,57,58,59,60])),Cg=m("/public/responsible-gambling")({component:g(Ag,"component")}),$g=()=>p(()=>import("./privacy-policy-Va_tK4vg.js"),__vite__mapDeps([63,1,64,4,5,57,58,59,60])),Og=m("/public/privacy-policy")({component:g($g,"component")}),Mg=()=>p(()=>import("./contact-C3R_Dn-U.js"),__vite__mapDeps([65,1,66,4,5,25,57,58,59,60])),xg=m("/public/contact")({component:g(Mg,"component")}),Dg=()=>p(()=>import("./about-BW70qH84.js"),__vite__mapDeps([67,1,68,4,5,57,58,59,60])),kg=m("/public/about")({component:g(Dg,"component")}),jg=(t,e="")=>{const n=t.replace(/^\/[^/]*/,"").replace(/^[\s/\\]+/,""),o="http://same-origin.invalid",r=new URL(`/${n}${e}`,o);return r.origin===o?`${r.pathname}${r.search}`:"/"},Fg=m("/public/$")({beforeLoad:({location:t})=>{throw rn({href:jg(t.pathname,t.searchStr),reloadDocument:!0,statusCode:302})}}),Ng=()=>p(()=>import("./index-CC_s9pSK.js"),__vite__mapDeps([69,1,3,4,5,70,16,17,30,71,72,12,20,21,73,74,47,48,75,76,24,50,18,28,11,77,78,79,80,22,19,39,31,36,2,6,7,59,60,81])),Vg=m("/_main/")({component:g(Ng,"component")}),Bg=()=>p(()=>import("./welcome-C-Vx-wcW.js"),__vite__mapDeps([82,1,3])),Hg=m("/_main/welcome")({component:g(Bg,"component")}),Ug=()=>p(()=>import("./thewire-NzhAljyr.js"),__vite__mapDeps([83,1])),zg=m("/_main/thewire")({component:g(Ug,"component")}),Wg=()=>p(()=>import("./sports-Ba9Skt0T.js"),__vite__mapDeps([84,1,3])),Gg=m("/_main/sports")({component:g(Wg,"component")}),Kg=()=>p(()=>import("./prism-HWZjeW8b.js"),__vite__mapDeps([85,1])),qg=m("/_main/prism")({component:g(Kg,"component")}),Yg=()=>p(()=>import("./help-DehC0fE6.js"),__vite__mapDeps([86,1,2,3,4,5,6,7])),Jg=m("/_main/help")({component:g(Yg,"component")}),Xg=()=>p(()=>import("./account-DUWJZx_A.js"),__vite__mapDeps([87,1,4,5,10,78,45,6])),Zg=m("/_main/account")({component:g(Xg,"component")}),Qg=()=>p(()=>import("./_join-CuxI_Omq.js"),__vite__mapDeps([88,1,89,4,5,3])),ty=m("/_main/_join")({component:g(Qg,"component")}),ey=()=>p(()=>import("./_-Cnz0-pix.js"),__vite__mapDeps([90,1,4,5,91])),ny=m("/_main/$")({component:g(ey,"component")}),oy=()=>p(()=>import("./restricted-location-DPlz4S_N.js"),__vite__mapDeps([92,1,4,5,91,3])),ry=m("/_error/restricted-location")({component:g(oy,"component")}),sy=()=>p(()=>import("./maintenance-Bkx1jUVI.js"),__vite__mapDeps([93,1,4,5,91,3])),iy=m("/_error/maintenance")({component:g(sy,"component")}),ay=()=>p(()=>import("./error-DZ5s4rMy.js"),__vite__mapDeps([94,1,4,5,91,3])),cy=m("/_error/error")({component:g(ay,"component")}),uy=()=>p(()=>import("./index-B5Luzl3Y.js"),__vite__mapDeps([95,1,37])),ly=m("/_main/loyalty/")({component:g(uy,"component")}),dy=()=>p(()=>import("./_racingHome-sQ7Jg1Rc.js"),__vite__mapDeps([96,1,3,4,5,74,57,58])),py=m("/_main/racing/_racingHome")({component:g(dy,"component")}),fy=()=>p(()=>import("./_promotionsHome-Bx2ZrdOR.js"),__vite__mapDeps([97,1,4,5,57,58])),hy=m("/_main/promotions/_promotionsHome")({component:g(fy,"component")}),_y=m("/_main/content/$")({beforeLoad:({params:t})=>{throw rn({to:`/help/${t._splat}`,statusCode:301})}}),my=()=>p(()=>import("./_sportsHome-DEuPEuGf.js"),__vite__mapDeps([98,1,59,60,4,5,5
447,58])),gy=m("/_main/sports/_sportsHome")({component:g(my,"component")}),yy=()=>p(()=>import("./terms-and-conditions-UDBM9Nmk.js"),__vite__mapDeps([99,1,56,4,5,57,58,59,60])),Ey=m("/_main/help/terms-and-conditions")({component:g(yy,"component")}),Ry=()=>p(()=>import("./responsible-gambling-Buh-3Sn4.js"),__vite__mapDeps([100,1,62,4,5,57,58,59,60])),vy=m("/_main/help/responsible-gambling")({component:g(Ry,"component")}),Sy=()=>p(()=>import("./privacy-policy-BzpZMuhj.js"),__vite__mapDeps([101,1,64,4,5,57,58,59,60])),by=m("/_main/help/privacy-policy")({component:g(Sy,"component")}),Iy=()=>p(()=>import("./contact-BAcZ1PNh.js"),__vite__mapDeps([102,1,66,4,5,25,57,58,59,60])),Py=m("/_main/help/contact")({component:g(Iy,"component")}),wy=()=>p(()=>import("./about-CWe9dhDM.js"),__vite__mapDeps([103,1,68,4,5,57,58,59,60])),Ty=m("/_main/help/about")({component:g(wy,"component")}),Ly=()=>p(()=>import("./index-CLHhqqHW.js"),__vite__mapDeps([104,1,3,4,5,10,25,78,57,58,46,6,105,60])),Ay=m("/_main/account/")({component:g(Ly,"component")}),Cy=()=>p(()=>import("./withdraw-aIYCoJ_8.js"),__vite__mapDeps([106,1,105,60,41,4,5,57,58,26,32,33])),$y=m("/_main/account/withdraw")({component:g(Cy,"component")}),Oy=()=>p(()=>import("./responsible-gambling-BBkP8Vrb.js"),__vite__mapDeps([107,1,3,105,60,4,5,57,58,6])),My=m("/_main/account/responsible-gambling")({component:g(Oy,"component")}),xy=()=>p(()=>import("./preferences-XRznWLhb.js"),__vite__mapDeps([108,1,4,5,105,60,57,58])),Dy=m("/_main/account/preferences")({component:g(xy,"component")}),ky=()=>p(()=>import("./details-Cs-m7VHA.js"),__vite__mapDeps([109,1,3,105,60,4,5,43,33,57,58])),jy=m("/_main/account/details")({component:g(ky,"component")}),Fy=()=>p(()=>import("./deposit-B911JyLM.js"),__vite__mapDeps([110,1,4,5,111,41,32,33,27,28,29,17,30,26,3,7,105,60,57,58,34])),Ny=m("/_main/account/deposit")({component:g(Fy,"component"),validateSearch:t=>({show:typeof t.show=="string"?t.show:void 0,source:typeof t.source=="string"?t.source:void 0,recovery_id:typeof t.recovery_id=="string"?t.recovery_id:void 0,recovery_uid:typeof t.recovery_uid=="string"?t.recovery_uid:void 0,recovery_expires:typeof t.recovery_expires=="string"?t.recovery_expires:void 0,method:typeof t.method=="string"?t.method:void 0})}),Vy=()=>p(()=>import("./_transactions-L4H9PPVS.js"),__vite__mapDeps([112,1,4,5,57,58])),By=m("/_main/account/_transactions")({component:g(Vy,"component")}),Hy=()=>p(()=>import("./_mybets-BGZzBuUl.js"),__vite__mapDeps([113,1,4,5,57,58])),Uy=m("/_main/account/_mybets")({component:g(Hy,"component")}),zy=()=>p(()=>import("./_futureId-WJdcKB9j.js"),__vite__mapDeps([114,1,59,60,4,5,115,11,71,116,117,73,118,28,10,24,12,119,38,21,50,72,77,15,120])),Wy=m("/_main/racing/futures/$futureId")({component:g(zy,"component"),loader:async({params:t})=>({futureId:t.futureId})}),Gy=()=>p(()=>import("./_futureSlug-C5f9CiVi.js"),__vite__mapDeps([121,1,59,60,4,5,115,11,71,116,117,73,118,28,10,24,12,119,38,21,50,72,77,15,120])),Ky=m("/_main/racing/future/$futureSlug")({component:g(Gy,"component"),loader:async({params:t})=>({futureSlug:t.futureSlug})}),qy=()=>p(()=>import("./_meetingSlug-ZHzV7Cm_.js"),__vite__mapDeps([122,1,4,5,47,48,18])),Yy=m("/_main/racing/_racingMeeting/$meetingSlug")({component:g(qy,"component")}),Jy=()=>p(()=>import("./index-_DUfrSUL.js"),__vite__mapDeps([123,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),Xy=m("/_main/racing/_racingHome/")({component:g(Jy,"component")}),Zy=()=>p(()=>import("./wednesday-F7ZCBk8F.js"),__vite__mapDeps([127,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),Qy=m("/_main/racing/_racingHome/wednesday")({component:g(Zy,"component")}),tE=()=>p(()=>import("./upcoming-BcstybbM.js"),__vite__mapDeps([128,1,59,60,4,5,78,16,17,125,49,15,75,76,24])),eE=m("/_main/racing/_racingHome/upcoming")({component:g(tE,"component")}),nE=()=>p(()=>import("./tuesday-DldQivyc.js"),__vite__mapDeps([129,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),oE=m("/_main/racing/_racingHome/tuesday")({component:g(nE,"component")}),rE=()=>p(()=>import("./tomorrow-BN7Y7e2K.js"),__vite__mapDeps([130,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),sE=m("/_main/racing/_racingHome/tomorrow")({component:g(rE,"component")}),iE=()=>p(()=>import("./thursday-B3V7_rv2.js"),__vite__mapDeps([131,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),aE=m("/_main/racing/_racingHome/thursday")({component:g(iE,"component")}),cE=()=>p(()=>import("./sunday--S2niAV5.js"),__vite__mapDeps([132,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),uE=m("/_main/racing/_racingHome/sunday")({component:g(cE,"component")}),lE=()=>p(()=>import("./saturday-BQTJdJYC.js"),__vite__mapDeps([133,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),dE=m("/_main/racing/_racingHome/saturday")({component:g(lE,"component")}),pE=()=>p(()=>import("./monday-CjFYFPj2.js"),__vite__mapDeps([134,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),fE=m("/_main/racing/_racingHome/monday")({component:g(pE,"component")}),hE=()=>p(()=>import("./futures-CxAzn7Gj.js"),__vite__mapDeps([135,1,59,60,4,5,91,78,125,49,15,126,30,71,72,12,120,11,77])),_E=m("/_main/racing/_racingHome/futures")({component:g(hE,"component")}),mE=()=>p(()=>import("./friday-lrUvtKTd.js"),__vite__mapDeps([136,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),gE=m("/_main/racing/_racingHome/friday")({component:g(mE,"component")}),yE=()=>p(()=>import("./index-mYgcoJLh.js"),__vite__mapDeps([137,1,59,60,4,5,29,17,30,42])),EE=m("/_main/promotions/_promotionsHome/")({component:g(yE,"component")}),RE=()=>p(()=>import("./index-M5deSu-c.js"),__vite__mapDeps([138,1,4,5,78,39,15])),vE=m("/_main/sports/_sportsHome/")({component:g(RE,"component")}),SE=()=>p(()=>import("./next-up-Cl8Pr5zl.js"),__vite__mapDeps([139,1,4,5,140,141,79,80,22,19,30])),bE=m("/_main/sports/_sportsHome/next-up")({component:g(SE,"component")}),IE=()=>p(()=>import("./index-BeYIoYPx.js"),__vite__mapDeps([142,1,105,60,4,5])),PE=m("/_main/account/responsible-gambling/")({component:g(IE,"component")}),wE=()=>p(()=>import("./stake-limit-BeKu05Tx.js"),__vite__mapDeps([143,1,4,5,144,145,26,105,60])),TE=m("/_main/account/responsible-gambling/stake-limit")({component:g(wE,"component")}),LE=()=>p(()=>import("./short-break-pNUNx468.js"),__vite__mapDeps([146,1,147,4,5,144,105,60,32,33,42,26])),AE=m("/_main/account/responsible-gambling/short-break")({component:g(LE,"component")}),CE=()=>p(()=>import("./permanent-exclusion-D4GX_DA7.js"),__vite__mapDeps([148,1,149,4,5,144,105,60,42])),$E=m("/_main/account/responsible-gambling/permanent-exclusion")({component:g(CE,"component")}),OE=()=>p(()=>import("./long-break-DTbVwupl.js"),__vite__mapDeps([150,1,147,4,5,144,105,60,151,23,32,33,42,26])),ME=m("/_main/account/responsible-gambling/long-break")({component:g(OE,"component")}),xE=()=>p(()=>import("./deposit-limit-B8yuG3u_.js"),__vite__mapDeps([152,1,4,5,144,26,105,60])),DE=m("/_main/account/responsible-gambling/deposit-limit")({component:g(xE,"component")}),kE=()=>p(()=>import("./deactivate-account-CnfzjTIN.js"),__vite__mapDeps([153,1,149,4,5,144,105,60])),jE=m("/_main/account/responsible-gambling/deactivate-account")({component:g(kE,"component")}),FE=()=>p(()=>import("./transactions-DPBgcxTQ.js"),__vite__mapDeps([154,1,105,60,4,5,155,24,16,17,12,22,119,38,21,151,23])),NE=m("/_main/account/_transactions/transactions")({component:g(FE,"component")}),VE=()=>p(()=>import("./statements-sA1K7bsf.js"),__vite__mapDeps([156,1,105,60,10,4,5])),BE=m("/_main/account/_transactions/statements")({component:g(VE,"component")}),HE=()=>p(()=>import("./resulted-DlVtWAfM.js"),__vite__mapDeps([157,1,105,60,4,5,158,155,24,16,17,12,22,119,38,21,151,23])),UE=m("/_main/account/_mybets/resulted")({component:g(HE,"component")}),zE=()=>p(()=>import("./pending-CYAJt6bz.js"),__vite__mapDeps([159,1,105,60,4,5,158,155,24,16,17,12,22,119,38,21,151,23])),WE=m("/_main/account/_mybets/pending")({component:g(zE,"component")}),GE=()=>p(()=>import("./index-DZkwVFqN.js"),__vite__mapDeps([160,1,4,5,33,26,32,40,3,7,89,31,161,42,41,59,60,48])),KE=m("/_main/_j
44oin/join/")({component:g(GE,"component")}),qE=()=>p(()=>import("./onboarding-DQVF1Hij.js"),__vite__mapDeps([162,1,27,28,4,5,29,17,30,32,26,111,41,33,3,7,145,59,60])),YE=m("/_main/_join/join/onboarding")({component:g(qE,"component")}),JE=()=>p(()=>import("./_raceSlug-Ca04vVvl.js"),__vite__mapDeps([163,1,3,4,5,14,52,16,17,75,76,24,118,18,58,164,165,20,21,72,12,73,28])),XE=m("/_main/racing/_racingRaceCard/$meetingSlug/$raceSlug")({component:g(JE,"component")}),ZE=()=>p(()=>import("./_meetingId-CpwZuQ1e.js"),__vite__mapDeps([166,1,118])),QE=m("/_main/racing/_racingMeeting/meeting/$meetingId")({component:g(ZE,"component"),validateSearch:t=>({next:t.next===!0||t.next==="true"?!0:void 0})}),tR=()=>p(()=>import("./index-BIESEA4U.js"),__vite__mapDeps([167,1,168,59,60,4,5,18,76,78,16,17,165,20,21,118,169])),eR=m("/_main/racing/_racingMeeting/$meetingSlug/")({component:g(tR,"component")}),nR=()=>p(()=>import("./next-race-D0GQ34v7.js"),__vite__mapDeps([170,1,118])),oR=m("/_main/racing/_racingMeeting/$meetingSlug/next-race")({component:g(nR,"component")}),rR=()=>p(()=>import("./index-DgMmzGxW.js"),__vite__mapDeps([171,3,1])),sR=m("/_main/racing/_racingHome/resulted/")({component:g(rR,"component")}),iR=()=>p(()=>import("./_date-yvVLrs5i.js"),__vite__mapDeps([172,1,3,59,60,4,5,124,47,48,91,120,16,17,125,49,15,116,75,76,24,126,30,118,18])),aR=m("/_main/racing/_racingHome/resulted/$date")({component:g(iR,"component")}),cR=()=>p(()=>import("./_sportHome-C1SO-xGj.js"),__vite__mapDeps([173,1,168,59,60,4,5,57,58,174,42])),uR=m("/_main/sports/sport/$sportId/_sportHome")({component:g(cR,"component")}),lR=()=>p(()=>import("./_eventHome-DH5Cw2EM.js"),__vite__mapDeps([175,1,3,168,59,60,4,5,174,42,58,39,176])),dR=m("/_main/sports/event/$eventId/_eventHome")({component:g(lR,"component")}),pR=()=>p(()=>import("./_competitionHome-DSWuWvDC.js"),__vite__mapDeps([177,1,168,59,60,4,5,57,58,174,42])),fR=m("/_main/sports/competition/$competitionId/_competitionHome")({component:g(pR,"component")}),hR=()=>p(()=>import("./index-BBkBZfe8.js"),__vite__mapDeps([178,1,161,4,5,3,59,60,48])),_R=m("/_main/_join/join/verifying/")({component:g(hR,"component")}),mR=()=>p(()=>import("./index-BpgRgWSP.js"),__vite__mapDeps([179,1,4,5,32,33,26,41,35,3,180,7,161,59,60,48])),gR=m("/_main/_join/join/success/")({component:g(mR,"component")}),yR=()=>p(()=>import("./index-CMRiwjzv.js"),__vite__mapDeps([181,1,180,4,5,7,3,59,60])),ER=m("/_main/_join/join/failed/")({component:g(yR,"component")}),RR=()=>p(()=>import("./index-CxF0GIpq.js"),__vite__mapDeps([182,1])),vR=m("/_main/racing/_racingRaceCard/$meetingSlug/$raceSlug/")({component:g(RR,"component")}),SR=()=>p(()=>import("./_betTypeId-TQJszT5u.js"),__vite__mapDeps([183,1,59,60,4,5,47,48,18,10,184,117,73,118,28,24,12,119,38,21,11,50,72,13,14,15,70,71,164,20,151,23,116,31,169,185])),bR=m("/_main/racing/_racingRaceCard/$meetingSlug/$raceSlug/$betTypeId")({component:g(SR,"component")}),IR=()=>p(()=>import("./next-up-DBwP45D9.js"),__vite__mapDeps([186,1,4,5,140,141,79,80,22,19,30])),PR=m("/_main/sports/sport/$sportId/_sportHome/next-up")({component:g(IR,"component")}),wR=()=>p(()=>import("./leagues-mPZ5SmV3.js"),__vite__mapDeps([187,1,4,5,78,141,30])),TR=m("/_main/sports/sport/$sportId/_sportHome/leagues")({component:g(wR,"component")}),LR=()=>p(()=>import("./futures-PHMO6lb7.js"),[]),AR=m("/_main/sports/sport/$sportId/_sportHome/futures")({component:g(LR,"component")}),CR=()=>p(()=>import("./index-BJR94NCO.js"),__vite__mapDeps([188,1,4,5,10,79,80,22,19,189,30,44])),$R=m("/_main/sports/event/$eventId/_eventHome/")({component:g(CR,"component")}),OR=()=>p(()=>import("./sgm-03yRzkMR.js"),__vite__mapDeps([190,1,4,5,10,79,80,22,19,184,189,30])),MR=m("/_main/sports/event/$eventId/_eventHome/sgm")({component:g(OR,"component")}),xR=()=>p(()=>import("./popular-sgm-DITtiYsd.js"),__vite__mapDeps([191,1,4,5,10,22,80,19,189,30])),DR=m("/_main/sports/event/$eventId/_eventHome/popular-sgm")({component:g(xR,"component")}),kR=()=>p(()=>import("./index-QQN3w5dA.js"),__vite__mapDeps([192,1,4,5,140,141,79,80,22,19,30])),jR=m("/_main/sports/competition/$competitionId/_competitionHome/")({component:g(kR,"component")}),FR=()=>p(()=>import("./index-CPLzM1xs.js"),__vite__mapDeps([193,1])),NR=m("/_main/racing/_racingRaceCard/meeting/$meetingId/race/$raceId/")({component:g(FR,"component")}),VR=()=>p(()=>import("./_betTypeId-h53VI7tT.js"),__vite__mapDeps([194,1])),BR=m("/_main/racing/_racingRaceCard/meeting/$meetingId/race/$raceId/$betTypeId")({component:g(VR,"component")}),HR=m("/_main/racing")(),UR=m("/_main/promotions")(),zR=m("/_main/sports/sport/$sportId")(),WR=m("/_main/sports/event/$eventId")(),GR=m("/_main/sports/compet
44ition/$competitionId")(),Ut=yg.update({id:"/public",path:"/public",getParentRoute:()=>ue}),Y=Rg.update({id:"/_main",getParentRoute:()=>ue}),In=Sg.update({id:"/_error",getParentRoute:()=>ue}),KR=Ig.update({id:"/_server/sitemap.xml",path:"/sitemap.xml",getParentRoute:()=>ue}),qR=wg.update({id:"/_server/robots.txt",path:"/robots.txt",getParentRoute:()=>ue}),YR=Lg.update({id:"/terms-and-conditions",path:"/terms-and-conditions",getParentRoute:()=>Ut}),JR=Cg.update({id:"/responsible-gambling",path:"/responsible-gambling",getParentRoute:()=>Ut}),XR=Og.update({id:"/privacy-policy",path:"/privacy-policy",getParentRoute:()=>Ut}),ZR=xg.update({id:"/contact",path:"/contact",getParentRoute:()=>Ut}),QR=kg.update({id:"/about",path:"/about",getParentRoute:()=>Ut}),tv=Fg.update({id:"/$",path:"/$",getParentRoute:()=>Ut}),gt=HR.update({id:"/racing",path:"/racing",getParentRoute:()=>Y}),aa=UR.update({id:"/promotions",path:"/promotions",getParentRoute:()=>Y}),ev=Vg.update({id:"/",path:"/",getParentRoute:()=>Y}),nv=Hg.update({id:"/welcome",path:"/welcome",getParentRoute:()=>Y}),ov=zg.update({id:"/thewire",path:"/thewire",getParentRoute:()=>Y}),Ce=Gg.update({id:"/sports",path:"/sports",getParentRoute:()=>Y}),rv=qg.update({id:"/prism",path:"/prism",getParentRoute:()=>Y}),le=Jg.update({id:"/help",path:"/help",getParentRoute:()=>Y}),yt=Zg.update({id:"/account",path:"/account",getParentRoute:()=>Y}),de=ty.update({id:"/_join",getParentRoute:()=>Y}),sv=ny.update({id:"/$",path:"/$",getParentRoute:()=>Y}),iv=ry.update({id:"/restricted-location",path:"/restricted-location",getParentRoute:()=>In}),av=iy.update({id:"/maintenance",path:"/maintenance",getParentRoute:()=>In}),cv=cy.update({id:"/error",path:"/error",getParentRoute:()=>In}),uv=ly.update({id:"/loyalty/",path:"/loyalty/",getParentRoute:()=>Y}),J=py.update({id:"/_racingHome",getParentRoute:()=>gt}),ca=hy.update({id:"/_promotionsHome",getParentRoute:()=>aa}),lv=_y.update({id:"/content/$",path:"/content/$",getParentRoute:()=>Y}),Vo=gy.update({id:"/_sportsHome",getParentRoute:()=>Ce}),dv=Ey.update({id:"/terms-and-conditions",path:"/terms-and-conditions",getParentRoute:()=>le}),pv=vy.update({id:"/responsible-gambling",path:"/responsible-gambling",getParentRoute:()=>le}),fv=by.update({id:"/privacy-policy",path:"/privacy-policy",getParentRoute:()=>le}),hv=Py.update({id:"/contact",path:"/contact",getParentRoute:()=>le}),_v=Ty.update({id:"/about",path:"/about",getParentRoute:()=>le}),mv=Ay.update({id:"/",path:"/",getParentRoute:()=>yt}),gv=$y.update({id:"/withdraw",path:"/withdraw",getParentRoute:()=>yt}),Ct=My.update({id:"/responsible-gambling",path:"/responsible-gambling",getParentRoute:()=>yt}),yv=Dy.update({id:"/preferences",path:"/preferences",getParentRoute:()=>yt}),Ev=jy.update({id:"/details",path:"/details",getParentRoute:()=>yt}),Rv=Ny.update({id:"/deposit",path:"/deposit",getParentRoute:()=>yt}),Bo=By.update({id:"/_transactions",getParentRoute:()=>yt}),Ho=Uy.update({id:"/_mybets",getParentRoute:()=>yt}),vv=Wy.update({id:"/futures/$futureId",path:"/futures/$futureId",getParentRoute:()=>gt}),Sv=Ky.update({id:"/future/$futureSlug",path:"/future/$futureSlug",getParentRoute:()=>gt}),Uo=Yy.update({id:"/_racingMeeting/$meetingSlug",path:"/$meetingSlug",getParentRoute:()=>gt}),bv=Xy.update({id:"/",path:"/",getParentRoute:()=>J}),Iv=Qy.update({id:"/wednesday",path:"/wednesday",getParentRoute:()=>J}),Pv=eE.update({id:"/upcoming",path:"/upcoming",getParentRoute:()=>J}),wv=oE.update({id:"/tuesday",path:"/tuesday",getParentRoute:()=>J}),Tv=sE.update({id:"/tomorrow",path:"/tomorrow",getParentRoute:()=>J}),Lv=aE.update({id:"/thursday",path:"/thursday",getParentRoute:()=>J}),Av=uE.update({id:"/sunday",path:"/sunday",getParentRoute:()=>J}),Cv=dE.update({id:"/saturday",path:"/saturday",getParentRoute:()=>J}),$v=fE.update({id:"/monday",path:"/monday",getParentRoute:()=>J}),Ov=_E.update({id:"/futures",path:"/futures",getParentRoute:()=>J}),Mv=gE.update({id:"/friday",path:"/friday",getParentRoute:()=>J}),xv=EE.update({id:"/",path:"/",getParentRoute:()=>ca}),ua=zR.update({id:"/sport/$sportId",path:"/sport/$sportId",getParentRoute:()=>Ce}),la=WR.update({id:"/event/$eventId",path:"/event/$eventId",getParentRoute:()=>Ce}),da=GR.update({id:"/competition/$competitionId",path:"/competition/$competitionId",getParentRoute:()=>Ce}),Dv=vE.update({id:"/",path:"/",getParentRoute:()=>Vo}),kv=bE.update({id:"/next-up",path:"/next-up",getParentRoute:()=>Vo}),jv=PE.update({id:"/",path:"/",getParentRoute:()=>Ct}),Fv=TE.update({id:"/stake-limit",path:"/stake-limit",getParentRoute:()=>Ct}),Nv=AE.update({id:"/short-break",path:"/short-break",getParentRoute:()=>Ct}),Vv=$E.update({id:"/permanent-exclusion",path:"/permanent-exclusion",getParentRoute:()=>Ct}),Bv=ME.update({id:"/long-break",path:"/long-break",getParentRoute:()=>Ct}),Hv=DE.update({id:"/deposit-limit",path:"/deposit-limit",getParentRoute:()=>Ct}),Uv=jE.update({id:"/deactivate-account",path:"/deactivate-account",getParentRoute:()=>Ct}),zv=NE.update({id:"/transactions",path:"/transactions",getParentRoute:()=>Bo}),Wv=BE.update({id:"/statements",path:"/statements",getParentRoute:()=>Bo}),Gv=UE.update({id:"/resulted",path:"/resulted",getParentRoute:()=>Ho}),Kv=WE.update({id:"/pending",path:"/pending",getParentRoute:()=>Ho}),qv=KE.update({id:"/join/",path:"/join/",getParentRoute:()=>de}),Yv=YE.update({id:"/join/onboarding",path:"/join/onboarding",getParentRoute:()=>de}),zo=XE.update({id:"/_racingRaceCard/$meetingSlug/$raceSlug",path:"/$meetingSlug/$raceSlug",getParentRoute:()=>gt}),Jv=QE.update({id:"/_racingMeeting/meeting/$meetingId",path:"/meeting/$meetingId",getParentRoute:()=>gt}),Xv=eR.update({id:"/",path:"/",getParentRoute:()=>Uo}),Zv=oR.update({id:"/next-race",path:"/next-race",getParentRoute:()=>Uo}),Qv=sR.update({id:"/resulted/",path:"/resulted/",getParentRoute:()=>J}),tS=aR.update({id:"/resulted/$date",path:"/resulted/$date",getParentRoute:()=>J}),Pn=uR.update({id:"/_sportHome",getParentRoute:()=>ua}),wn=dR.update({id:"/_eventHome",getParentRoute:()=>la}),pa=fR.update({id:"/_competitionHome",getParentRoute:()=>da}),eS=_R.update({id:"/join/verifying/",path:"/join/verifying/",getParentRoute:()=>de}),nS=gR.update({id:"/join/success/",path:"/join/success/",getParentRoute:()=>de}),oS=ER.update({id:"/join/failed/",path:"/join/failed/",getParentRoute:()=>de}),rS=vR.update({id:"/",path:"/",getParentRoute:()=>zo}),sS=bR.update({id:"/$betTypeId",path:"/$betTypeId",getParentRoute:()=>zo}),iS=PR.update({id:"/next-up",path:"/next-up",getParentRoute:()=>Pn}),aS=TR.update({id:"/leagues",path:"/leagues",getParentRoute:()=>Pn}),cS=AR.update({id:"/futures",path:"/futures",getParentRoute:()=>Pn}),uS=$R.update({id:"/",path:"/",getParentRoute:()=>wn}),lS=MR.update({id:"/sgm",path:"/sgm",getParentRoute:()=>wn}),dS=DR.update({id:"/popular-sgm",path:"/popular-sgm",getParentRoute:()=>wn}),pS=jR.update({id:"/",path:"/",getParentRoute:()=>pa}),fS=NR.update({id:"/_racingRaceCard/meeting/$meetingId/race/$raceId/",path:"/meeting/$meetingId/race/$raceId/",getParentRoute:()=>gt}),hS=BR.update({id:"/_racingRaceCard/meeting/$meetingId/race/$raceId/$betTypeId",path:"/meeting/$meetingId/race/$raceId/$betTypeId",getParentRoute:()=>gt}),_S={ErrorErrorRoute:cv,ErrorMaintenanceRoute:av,ErrorRestrictedLocationRoute:iv},mS=In._addFileChildren(_S),gS={MainJoinJoinOnboardingRoute:Yv,MainJoinJoinIndexRoute:qv,MainJoinJoinFailedIndexRoute:oS,MainJoinJoinSuccessIndexRoute:nS,MainJoinJoinVerifyingIndexRoute:eS},yS=de._addFileChildren(gS),ES={MainAccountMybetsPendingRoute:Kv,MainAccountMybetsResultedRoute:Gv},RS=Ho._addFileChildren(ES),vS={MainAccountTransactionsStatementsRoute:Wv,MainAccountTransactionsTransactionsRoute:zv}
44,SS=Bo._addFileChildren(vS),bS={MainAccountResponsibleGamblingDeactivateAccountRoute:Uv,MainAccountResponsibleGamblingDepositLimitRoute:Hv,MainAccountResponsibleGamblingLongBreakRoute:Bv,MainAccountResponsibleGamblingPermanentExclusionRoute:Vv,MainAccountResponsibleGamblingShortBreakRoute:Nv,MainAccountResponsibleGamblingStakeLimitRoute:Fv,MainAccountResponsibleGamblingIndexRoute:jv},IS=Ct._addFileChildren(bS),PS={MainAccountMybetsRoute:RS,MainAccountTransactionsRoute:SS,MainAccountDepositRoute:Rv,MainAccountDetailsRoute:Ev,MainAccountPreferencesRoute:yv,MainAccountResponsibleGamblingRoute:IS,MainAccountWithdrawRoute:gv,MainAccountIndexRoute:mv},wS=yt._addFileChildren(PS),TS={MainHelpAboutRoute:_v,MainHelpContactRoute:hv,MainHelpPrivacyPolicyRoute:fv,MainHelpResponsibleGamblingRoute:pv,MainHelpTermsAndConditionsRoute:dv},LS=le._addFileChildren(TS),AS={MainSportsSportsHomeNextUpRoute:kv,MainSportsSportsHomeIndexRoute:Dv},CS=Vo._addFileChildren(AS),$S={MainSportsCompetitionCompetitionIdCompetitionHomeIndexRoute:pS},OS=pa._addFileChildren($S),MS={MainSportsCompetitionCompetitionIdCompetitionHomeRoute:OS},xS=da._addFileChildren(MS),DS={MainSportsEventEventIdEventHomePopularSgmRoute:dS,MainSportsEventEventIdEventHomeSgmRoute:lS,MainSportsEventEventIdEventHomeIndexRoute:uS},kS=wn._addFileChildren(DS),jS={MainSportsEventEventIdEventHomeRoute:kS},FS=la._addFileChildren(jS),NS={MainSportsSportSportIdSportHomeFuturesRoute:cS,MainSportsSportSportIdSportHomeLeaguesRoute:aS,MainSportsSportSportIdSportHomeNextUpRoute:iS},VS=Pn._addFileChildren(NS),BS={MainSportsSportSportIdSportHomeRoute:VS},HS=ua._addFileChildren(BS),US={MainSportsSportsHomeRoute:CS,MainSportsCompetitionCompetitionIdRoute:xS,MainSportsEventEventIdRoute:FS,MainSportsSportSportIdRoute:HS},zS=Ce._addFileChildren(US),WS={MainPromotionsPromotionsHomeIndexRoute:xv},GS=ca._addFileChildren(WS),KS={MainPromotionsPromotionsHomeRoute:GS},qS=aa._addFileChildren(KS),YS={MainRacingRacingHomeFridayRoute:Mv,MainRacingRacingHomeFuturesRoute:Ov,MainRacingRacingHomeMondayRoute:$v,MainRacingRacingHomeSaturdayRoute:Cv,MainRacingRacingHomeSundayRoute:Av,MainRacingRacingHomeThursdayRoute:Lv,MainRacingRacingHomeTomorrowRoute:Tv,MainRacingRacingHomeTuesdayRoute:wv,MainRacingRacingHomeUpcomingRoute:Pv,MainRacingRacingHomeWednesdayRoute:Iv,MainRacingRacingHomeIndexRoute:bv,MainRacingRacingHomeResultedDateRoute:tS,MainRacingRacingHomeResultedIndexRoute:Qv},JS=J._addFileChildren(YS),XS={MainRacingRacingMeetingMeetingSlugNextRaceRoute:Zv,MainRacingRacingMeetingMeetingSlugIndexRoute:Xv},ZS=Uo._addFileChildren(XS),QS={MainRacingRacingRaceCardMeetingSlugRaceSlugBetTypeIdRoute:sS,MainRacingRacingRaceCardMeetingSlugRaceSlugIndexRoute:rS},tb=zo._addFileChildren(QS),eb={MainRacingRacingHomeRoute:JS,MainRacingRacingMeetingMeetingSlugRoute:ZS,MainRacingFutureFutureSlugRoute:Sv,MainRacingFuturesFutureIdRoute:vv,MainRacingRacingMeetingMeetingMeetingIdRoute:Jv,MainRacingRacingRaceCardMeetingSlugRaceSlugRoute:tb,MainRacingRacingRaceCardMeetingMeetingIdRaceRaceIdBetTypeIdRoute:hS,MainRacingRacingRaceCardMeetingMeetingIdRaceRaceIdIndexRoute:fS},nb=gt._addFileChildren(eb),ob={MainSplatRoute:sv,MainJoinRoute:yS,MainAccountRoute:wS,MainHelpRoute:LS,MainPrismRoute:rv,MainSportsRoute:zS,MainThewireRoute:ov,MainWelcomeRoute:nv,MainIndexRoute:ev,MainContentSplatRoute:lv,MainPromotionsRoute:qS,MainRacingRoute:nb,MainLoyaltyIndexRoute:uv},rb=Y._addFileChildren(ob),sb={PublicSplatRoute:tv,PublicAboutRoute:QR,PublicContactRoute:ZR,PublicPrivacyPolicyRoute:XR,PublicResponsibleGamblingRoute:JR,PublicTermsAndConditionsRoute:YR},ib=Ut._addFileChildren(sb),ab={ErrorRoute:mS,MainRoute:rb,PublicRoute:ib,ServerRobotsDottxtRoute:qR,ServerSitemapDotxmlRoute:KR},cb=ue._addFileChildren(ab),ub=["api.bossbet.com.au"],lb=["Failed to fetch","Load failed","NetworkError when attempting to fetch resource."],db=new Set(ub.flatMap(t=>lb.map(e=>`${e} (${t})`))),pb=t=>t.type==="TypeError"&&!!t.value&&db.has(t.value),fb=t=>{const e=t.exception?.values;return e?.length&&e.every(pb)?null:t},hb=()=>{const t=Rd({routeTree:cb,scrollRestoration:!0,defaultPreloadStaleTime:0});return t.isServer||Vm({dsn:"https://277f458493d91a50f6f095060d03c448@o4509171989413888.ingest.us.sentry.io/4511023913435136",sendDefaultPii:!0,beforeSend:fb}),t};async function _b(){const t=await hb();let e;if(cs){const n=await cs.getOptions();window.__TSS_START_OPTIONS__=n,e=n.serializationAdapters,t.options.defaultSsr=n.defaultSsr}else e=[],window.__TSS_START_OPTIONS__={serializationAdapters:e};return e.push(Nd),t.options.serializationAdapters=e,t.state.matches.length||await Fd(t),t}let Un;function mb(){return Un||(Un=_b()),E.jsx(ed,{promise:Un,children:t=>E.jsx(bd,{router:t})})}$.startTransition(()=>{Ta.hydrateRoot(document,E.jsx($.StrictMode,{children:E.jsx(mb,{})}))});export{DR as A,jR as B,NR as C,BR as D,ii as O,Ny as R,bb as a,Ib as b,Hf as c,Sb as d,vb as e,hn as f,Rb as g,Wy as h,Ky as i,Yy as j,XE as k,QE as l,eR as m,oR as n,aR as o,uR as p,dR as q,fR as r,cg as s,vR as t,it as u,bR as v,PR as w,TR as x,$R as y,MR as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.