1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,535192,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return r}}),e.r(82823);let r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},827018,(e,t,n)=>{"use strict";function r(e,t){return e}e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removeLocale",{enumerable:!0,get:function(){return r}}),e.r(572463),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},198569,(e,t,n)=>{"use strict";let r,a,i,o;e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"hydrate",{enumerable:!0,get:function(){return z}});let l=e.r(555682),s=e.r(843476);e.r(523911);let u=l._(e.r(88014)),c=l._(e.r(271645)),d=e.r(235326),f=e.r(742732),p=e.r(597238),h=e.r(851323),m=e.r(132120),g=e.r(92245),v=e.r(699781),y=l._(e.r(875530)),b=e.r(665716);e.r(8372);let _=e.r(450590),S=e.r(543369),E=e.r(732992),w=e.r(76138),T=d.createFromReadableStream,k=d.createFromFetch,R=document,x=self.__next_instant_test?self.__next_instant_test:void 0,C=new TextEncoder,P=!1,O=!1,N=null;function I(e){if(0===e[0])i=[];else if(1===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});o?o.enqueue(C.encode(e[1])):i.push(e[1])}else if(2===e[0])N=e[1];else if(3===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let n=atob(e[1]),r=new Uint8Array(n.length);for(var t=0;t<n.length;t++)r[t]=n.charCodeAt(t);o?o.enqueue(r):i.push(r)}}let A=function(){o&&!O&&(o.close(),O=!0,i=void 0),P=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",A,!1):setTimeout(A);let M=self.__next_f=self.__next_f||[];M.forEach(I),M.length=0,M.push=I;let L=new ReadableStream({start(e){i&&(i.forEach(t=>{e.enqueue("string"==typeof t?C.encode(t):t)}),P&&!O)&&(null===e.desiredSize||e.desiredSize<0?x||e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),O=!0,i=void 0),o=e}});if(x)a=Promise.resolve(k(x,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,unstable_allowPartialStream:!0})).then(async e=>(0,_.createInitialRSCPayloadFromFallbackPrerender)(await x,e));else if(window.__NEXT_CLIENT_RESUME){let e=window.__NEXT_CLIENT_RESUME;a=Promise.resolve(k(e,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r})).then(async t=>(0,_.createInitialRSCPayloadFromFallbackPrerender)(await e,t))}else a=T(L,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,startTime:0});function D(e){let{initialRSCPayload:t,actionQueue:n,webSocket:r,staticIndicatorState:a}=e;return(0,s.jsx)(y.default,{actionQueue:n,globalErrorState:t.G,webSocket:r,staticIndicatorState:a})}let j=c.default.StrictMode;function U(e){let{children:t}=e;return t}let B={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:p.onRecoverableError,onCaughtError:h.onCaughtError,onUncaughtError:h.onUncaughtError};async function z(e,t){let n,r,i=await a;i.b?(0,E.setNavigationBuildId)(i.b):(0,E.setNavigationBuildId)((0,S.getDeploymentId)()),(0,w.initializeRouterTransitionModules)(e);let o=Date.now(),l=(0,v.createMutableActionQueue)((0,b.createInitialRouterState)({navigatedAt:o,initialRSCPayload:i,initialFlightStreamForCache:null,location:window.location})),d=(0,s.jsx)(j,{children:(0,s.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,s.jsx)(U,{children:(0,s.jsx)(D,{initialRSCPayload:i,actionQueue:l,webSocket:r,staticIndicatorState:n})})})});"__next_error__"===document.documentElement.id?u.default.createRoot(R,B).render(d):c.default.startTransition(()=>{u.default.hydrateRoot(R,d,{...B,formState:N})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},494553,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),e.r(423755);let r=e.r(396517);e.r(597238),window.next.turbopack=!0,self.__webpack_hash__="";let a=e.r(5526);(0,r.appBootstrap)(t=>{let{hydrate:n}=e.r(198569);n(a,t)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},974575,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getAssetPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(312718);function a(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript to be a <script> element. Received ${e} instead.`),"__NEXT_ERROR_CODE",{value:"E783",enumerable:!1,configurable:!0});let{pathname:t}=new URL(e.src),n=t.indexOf("/_next/");if(-1===n)throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${e.src} instead.`),"__NEXT_ERROR_CODE",{value:"E784",enumerable:!1,configurable:!0});return t.slice(0,n)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},922737,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},a=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(e){return["async","defer","noModule"].includes(e)}function o(e,t){for(let[n,o]of Object.entries(t)){if(!t.hasOwnProperty(n)||a.includes(n)||void 0===o)continue;let l=r[n]||n.toLowerCase();"SCRIPT"===e.tagName&&i(l)?e[l]=!!o:e.setAttribute(l,String(o)),(!1===o||"SCRIPT"===e.tagName&&i(l)&&(!o||"false"===o))&&(e.setAttribute(l,""),e.removeAttribute(l))}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},396517,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"appBootstrap",{enumerable:!0,get:function(){return i}});let r=e.r(974575),a=e.r(922737);function i(e){var t,n;let i=(0,r.getAssetPrefix)();t=self.__next_s,n=()=>{e(i)},t&&t.length?t.reduce((e,t)=>{let[n,r]=t;return e.then(()=>new Promise((e,t)=>{let i=document.createElement("script");r&&(0,a.setAttributesFromProps)(i,r),n?(i.src=n,i.onload=()=>e(),i.onerror=t):r&&(i.innerHTML=r.children,setTimeout(e)),document.head.appendChild(i)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}window.next={version:"16.3.6",appDir:!0},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},762634,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppRouterAnnouncer",{enumerable:!0,get:function(){return o}});let r=e.r(271645),a=e.r(174080),i="next-route-announcer";function o(e){let{tree:t}=e,[n,o]=(0,r.useState)(null);(0,r.useEffect)(()=>(o(function(){var e;let t=document.getElementsByName(i)[0];if(null==t||null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(i);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(i)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[l,s]=(0,r.useState)(""),u=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==u.current&&u.current!==e&&s(e),u.current=e},[t]),n?(0,a.createPortal)(l,n):null}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},875530,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return A}});let r=e.r(555682),a=e.r(190809),i=e.r(843476),o=a._(e.r(271645)),l=e.r(8372),s=e.r(388540),u=e.r(451191),c=e.r(261994),d=e.r(941538),f=e.r(494272),p=e.r(762634),h=e.r(358442),m=e.r(425018),g=e.r(201244),v=e.r(387250),y=e.r(652817),b=e.r(734727),_=e.r(178377),S=e.r(699781),E=e.r(124063),w=e.r(968391),T=e.r(91949),k=r._(e.r(794109)),R=r._(e.r(168027)),x=e.r(897367);e.r(543369);let C={};function P(e){let{appRouterState:t}=e;return(0,o.useInsertionEffect)(()=>{let{tree:e,pushRef:n,canonicalUrl:r,renderedSearch:a}=t,i={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:e,renderedSearch:a}};n.pendingPush&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==r?(n.pendingPush=!1,window.history.pushState(i,"",r)):window.history.replaceState(i,"",r),(0,f.setLastCommittedTree)(e)},[t]),(0,o.useEffect)(()=>{(0,T.pingVisibleLinks)(t.nextUrl,t.tree)},[t.nextUrl,t.tree]),null}function O(e){null==e&&(e={});let t=window.history.state,n=null==t?void 0:t.__NA;n&&(e.__NA=n);let r=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function N(e){let{headCacheNode:t}=e,n=null!==t?t.head:null,r=null!==t?t.prefetchHead:null,a=null!==r?r:n;return(0,o.useDeferredValue)(n,a)}function I(e){let t,{actionQueue:n,globalError:r,webSocket:a,staticIndicatorState:u}=e,f=(0,d.useActionQueue)(n),{canonicalUrl:_}=f,{searchParams:T,pathname:R}=(0,o.useMemo)(()=>{let e=new URL(_,"u"<typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,y.hasBasePath)(e.pathname)?(0,v.removeBasePath)(e.pathname):e.pathname}},[_]);(0,o.useEffect)(()=>{let e=(0,b.extractSourcePageFromFlightRouterState)(f.tree);void 0!==e?window.next.__internal_src_page=e:delete window.next.__internal_src_page},[f.tree]),(0,o.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(C.pendingMpaPath=void 0,(0,d.dispatchAppRouterAction)({type:s.ACTION_RESTORE,url:new URL(window.location.href),historyState:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,o.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,w.isRedirectError)(t)){e.preventDefault();let n=(0,E.getURLFromRedirectError)(t);"push"===(0,E.getRedirectTypeFromError)(t)?S.publicAppRouterInstance.push(n,{}):S.publicAppRouterInstance.replace(n,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:I}=f;if(I.mpaNavigation){if(C.pendingMpaPath!==_){let e=window.location;I.pendingPush?e.assign(_):e.replace(_),C.pendingMpaPath=_}throw g.unresolvedThenable}(0,o.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{var t;let n=window.location.href,r=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,o.startTransition)(()=>{(0,d.dispatchAppRouterAction)({type:s.ACTION_RESTORE,url:new URL(null!=e?e:n,n),historyState:r})})};window.history.pushState=function(t,r,a){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=O(t),a&&n(a)),e(t,r,a)},window.history.replaceState=function(e,r,a){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=O(e),a&&n(a)),t(e,r,a)};let r=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,o.startTransition)(()=>{(0,S.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[]);let{cache:A,tree:M,nextUrl:L,focusAndScrollRef:D,previousNextUrl:j}=f,U=(0,o.useMemo)(()=>(0,m.findHeadInCache)(A,M[1]),[A,M]),B=(0,o.useMemo)(()=>(0,b.getSelectedParams)(M),[M]),z=(0,o.useMemo)(()=>({parentTree:M,parentCacheNode:A,parentSegmentPath:null,parentParam
1s:{},parentLoadingData:null,debugNameContext:"/",url:_,isActive:!0}),[M,A,_]),F=(0,o.useMemo)(()=>({tree:M,focusAndScrollRef:D,nextUrl:L,previousNextUrl:j}),[M,D,L,j]);if(null!==U){let[e,n,r]=U;t=(0,i.jsx)(N,{headCacheNode:e},"u"<typeof window?r:n)}else t=null;let $=(0,i.jsxs)(h.RedirectBoundary,{children:[t,(0,i.jsx)(x.RootLayoutBoundary,{children:A.rsc}),(0,i.jsx)(p.AppRouterAnnouncer,{tree:M})]});return $=(0,i.jsx)(k.default,{errorComponent:r[0],errorStyles:r[1],children:$}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(P,{appRouterState:f}),null,(0,i.jsx)(c.NavigationPromisesContext.Provider,{value:null,children:(0,i.jsx)(c.PathParamsContext.Provider,{value:B,children:(0,i.jsx)(c.PathnameContext.Provider,{value:R,children:(0,i.jsx)(c.SearchParamsContext.Provider,{value:T,children:(0,i.jsx)(l.GlobalLayoutRouterContext.Provider,{value:F,children:(0,i.jsx)(l.AppRouterContext.Provider,{value:S.publicAppRouterInstance,children:(0,i.jsx)(l.LayoutRouterContext.Provider,{value:z,children:$})})})})})})})]})}function A(e){let{actionQueue:t,globalErrorState:n,webSocket:r,staticIndicatorState:a}=e;(0,_.useNavFailureHandler)();let o=(0,i.jsx)(I,{actionQueue:t,globalError:n,webSocket:r,staticIndicatorState:a});return(0,i.jsx)(k.default,{errorComponent:R.default,children:o})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},18576,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={WarningIcon:function(){return s},errorStyles:function(){return o},errorThemeCss:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});e.r(555682);let i=e.r(843476);e.r(271645);let o={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},l=` 2:root { 3 --next-error-bg: #fff; 4 --next-error-text: #171717; 5 --next-error-title: #171717; 6 --next-error-message: #171717; 7 --next-error-digest: #666666; 8 --next-error-btn-text: #fff; 9 --next-error-btn-bg: #171717; 10 --next-error-btn-border: none; 11 --next-error-btn-secondary-text: #171717; 12 --next-error-btn-secondary-bg: transparent; 13 --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); 14} 15@media (prefers-color-scheme: dark) { 16 :root { 17 --next-error-bg: #0a0a0a; 18 --next-error-text: #ededed; 19 --next-error-title: #ededed; 20 --next-error-message: #ededed; 21 --next-error-digest: #a0a0a0; 22 --next-error-btn-text: #0a0a0a; 23 --next-error-btn-bg: #ededed; 24 --next-error-btn-border: none; 25 --next-error-btn-secondary-text: #ededed; 26 --next-error-btn-secondary-bg: transparent; 27 --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); 28 } 29} 30body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } 31`.replace(/\n\s*/g,"");function s(){return(0,i.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:o.icon,children:(0,i.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
31dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},168027,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o}}),e.r(555682);let r=e.r(843476);e.r(271645);let a=e.r(912354),i=e.r(18576),o=function(e){let{error:t}=e,n=null==t?void 0:t.digest,o=!!n;return(0,a.handleISRError)({error:t}),(0,r.jsxs)("html",{id:"__next_error__",children:[(0,r.jsx)("head",{children:(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:i.errorThemeCss}})}),(0,r.jsxs)("body",{children:[(0,r.jsx)("div",{style:i.errorStyles.container,children:(0,r.jsxs)("div",{style:i.errorStyles.card,children:[(0,r.jsx)(i.WarningIcon,{}),(0,r.jsx)("h1",{style:i.errorStyles.title,children:"This page couldnât load"}),(0,r.jsx)("p",{style:i.errorStyles.message,children:o?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,r.jsxs)("div",{style:i.errorStyles.buttonGroup,children:[(0,r.jsx)("form",{style:i.errorStyles.form,children:(0,r.jsx)("button",{type:"submit",style:i.errorStyles.button,children:"Reload"})}),!o&&(0,r.jsx)("button",{type:"button",style:i.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),n&&(0,r.jsxs)("p",{style:i.errorStyles.digestFooter,children:["ERROR ",n]})]})]})};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},851323,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0});var r={onCaughtError:function(){return f},onUncaughtError:function(){return p}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(555682),o=e.r(265713),l=e.r(132061),s=e.r(528279),u=e.r(972383),c=i._(e.r(168027)),d={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function f(e,t){var n;let r,a=null==(n=t.errorBoundary)?void 0:n.constructor;if(r=r||a===u.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return p(e);(0,l.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||d.originConsoleError(e)}function p(e){(0,l.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||(0,s.reportGlobalError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},241624,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={GracefulDegradeBoundary:function(){return l},default:function(){return s}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(843476),o=e.r(271645);class l extends o.Component{static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEach(t=>{let[n,r]=t;e.setAttribute(n,r)})}render(){let{hasError:e}=this.state;return("u">typeof window&&!this.rootHtml&&(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}(document.documentElement)),e)?(0,i.jsx)("html",{ref:this.htmlRef,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:this.rootHtml}}):this.props.children}constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,o.createRef)()}}let s=l;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},794109,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(555682),a=e.r(843476);e.r(271645);let i=r._(e.r(241624)),o=e.r(972383),l=e.r(82604),s="u">typeof window&&(0,l.isBot)(window.navigator.userAgent);function u(e){let{children:t,errorComponent:n,errorStyles:r,errorScripts:l}=e;return s?(0,a.jsx)(i.default,{children:t}):(0,a.jsx)(o.ErrorBoundary,{errorComponent:n,errorStyles:r,errorScripts:l,children:t})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
31dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},665716,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createInitialRouterState",{enumerable:!0,get:function(){return f}});let r=e.r(451191),a=e.r(734727),i=e.r(450590),o=e.r(595871),l=e.r(620896),s=e.r(509396),u=e.r(179027),c=e.r(787288),d=e.r(496167);function f(e){var t;let{navigatedAt:n,initialRSCPayload:f,initialFlightStreamForCache:p,location:h}=e,{c:m,f:g,q:v,i:y,S:b,s:_,l:S,h:E,r:w,p:T,d:k}=f,R=m.join("/"),{tree:x,seedData:C,head:P}=(0,i.getFlightDataPartsFromPath)(g[0]),O=h?(0,r.createHrefFromUrl)(h):R,N={metadataVaryPath:null,treeDivergedFromBase:!1},I=(0,l.convertRootFlightRouterStateToRouteTree)(x,v,N),A=N.metadataVaryPath,M=(0,o.createInitialCacheNodeForHydration)(n,I,C,P,(0,u.computeDynamicStaleAt)(n,null!=k?k:u.UnknownDynamicStaleTime));if(null!==h&&null!==A){if((0,d.discoverKnownRoute)(Date.now(),h.pathname,h.search,null,null,I,A,y,O,b,!1),null!==C&&void 0!==_)if(void 0!==S&&null!=p)Promise.resolve(S).then(async e=>{var t;let n=await (0,c.decodeStageUntilBoundary)(p,e,void 0),r=Date.now(),a=await (0,l.resolveStaleAt)(r,n.s);(0,l.writePrerenderResponseIntoCache)(r,s.FetchStrategy.PPR,n.f,void 0,n.h,null!=(t=n.r)?t:null,a,x,v,!0,l.segmentCacheMap)}).catch(()=>{});else{let e=Date.now();(0,l.resolveStaleAt)(e,_).then(t=>{(0,l.writePrerenderResponseIntoCache)(e,s.FetchStrategy.PPR,g,void 0,E,null!=w?w:null,t,x,v,!1,l.segmentCacheMap)}).catch(()=>{}),null==p||p.cancel()}else null==p||p.cancel();null!=T&&(0,l.processRuntimePrefetchStream)(Date.now(),T,x,v).then(e=>{null!==e&&(0,l.writeDynamicRenderResponseIntoCache)(Date.now(),s.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.rootVaryParamsIterable,e.staleAt,e.navigationSeed,null,l.segmentCacheMap)}).catch(()=>{})}return{tree:M.route,cache:M.node,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{scrollRef:null,forceScroll:!1,onlyHashChange:!1,hashFragment:null},canonicalUrl:O,renderedSearch:v,nextUrl:null!=(t=(0,a.extractPathFromFlightRouterState)(x)||(null==h?void 0:h.pathname))?t:null,previousNextUrl:null,debugInfo:null}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},425018,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findHeadInCache",{enumerable:!0,get:function(){return i}});let r=e.r(813258),a=e.r(270725);function i(e,t){return function e(t,n,i,o){if(0===Object.keys(n).length)return[t,i,o];let l=Object.keys(n).filter(e=>"children"!==e);"children"in n&&l.unshift("children");let s=t.slots;if(null!==s)for(let t of l){let[o,l]=n[t];if(o===r.DEFAULT_SEGMENT_KEY)continue;let u=s[t];if(!u)continue;let c=e(u,l,i+"/"+(0,a.createRouterCacheKey)(o),i+"/"+(0,a.createRouterCacheKey)(o,!0));if(c)return c}return null}(e,t,"","")}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},885305,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},741961,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return a}});let r=e.r(808341);function a(e,t,n){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,r.requestIdleCallback)(()=>setTimeout(()=>{i||a(t)},3800))})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
31dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},490758,(e,t,n)=>{"use strict";let r;e.i(247167),Object.defineProperty(n,"__esModule",{value:!0});var a={createRouteLoader:function(){return y},getClientBuildManifest:function(){return g},isAssetError:function(){return h},markAssetError:function(){return p}};for(var i in a)Object.defineProperty(n,i,{enumerable:!0,get:a[i]});e.r(555682),e.r(957473);let o=e.r(87831),l=e.r(808341),s=e.r(543369),u=e.r(309885),c=e.r(741961);function d(e,t,n){let r,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let i=new Promise(e=>{r=e});return t.set(e,{resolve:r,future:i}),n?n().then(e=>(r(e),e)).catch(n=>{throw t.delete(e),n}):i}let f=Symbol("ASSET_LOAD_ERROR");function p(e){return Object.defineProperty(e,f,{})}function h(e){return e&&f in e}let m=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}();function g(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,p(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})),r)}function v(e,t){return g().then(n=>{if(!(t in n))throw p(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let r=n[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:r.filter(e=>e.endsWith(".js")).map(e=>(0,o.__unsafeCreateTrustedScriptURL)(e)+(0,s.getAssetTokenQuery)()),css:r.filter(e=>e.endsWith(".css")).map(e=>e+(0,s.getAssetTokenQuery)())}})}function y(e){let t=new Map,n=new Map,a=new Map,i=new Map;function o(e){{var t;let r=n.get(e.toString());return r?r:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(n.set(e.toString(),r=new Promise((n,r)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>r(p(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),r)}}function s(e){let t=a.get(e);return t||a.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw p(e)})),t}return{whenEntrypoint:e=>d(e,t),onEntrypoint(e,n){(n?Promise.resolve().then(()=>n()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(n=>{let r=t.get(e);r&&"resolve"in r?n&&(t.set(e,n),r.resolve(n)):(n?t.set(e,n):t.delete(e),i.delete(e))})},loadRoute(n,a){return d(n,i,()=>{let i;return(0,c.resolvePromiseWithTimeout)(v(e,n).then(e=>{let{scripts:r,css:a}=e;return Promise.all([t.has(n)?[]:Promise.all(r.map(o)).then(e=>e),Promise.all(a.map(s))])}).then(e=>this.whenEntrypoint(n).then(t=>({entrypoint:t,styles:e[1]}))),p(Object.defineProperty(Error(`Route did not complete loading: ${n}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),r).then(e=>{let{entrypoint:t,styles:n}=e,r=Object.assign({styles:n},t);return"error"in t?t:r}).catch(e=>{if(a)throw e;return{error:e}}).finally(()=>null==i?void 0:i())})},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():v(e,t).then(e=>Promise.all(m?e.scripts.map(e=>{var t,n,r;return t=e.toString(),n="script",new Promise((e,a)=>{let i=` 32 link[rel="prefetch"][href^="${t}"], 33 link[rel="preload"][href^="${t}"], 34 script[src^="${t}"]`;if(document.querySelector(i))return e();r=document.createElement("link"),n&&(r.as=n),r.rel="prefetch",r.crossOrigin=void 0,r.onload=e,r.onerror=()=>a(p(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),r.href=t,document.head.appendChild(r)})}):[])).then(()=>{(0,l.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
34dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},423755,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=(0,e.r(543369).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=r,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},767978,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}}),e.r(555682);let r=e.r(843476);e.r(271645);let a=e.r(90558);function i(e){function t(t){return(0,r.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},90558,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={Router:function(){return l.default},createRouter:function(){return v},default:function(){return m},makePublicRouterInstance:function(){return y},useRouter:function(){return g},withRouter:function(){return c.default}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(555682),o=i._(e.r(271645)),l=i._(e.r(509793)),s=e.r(65856),u=i._(e.r(302023)),c=i._(e.r(767978)),d={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},f=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],p=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!d.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,configurable:!0});return d.router}Object.defineProperty(d,"events",{get:()=>l.default.events}),f.forEach(e=>{Object.defineProperty(d,e,{get:()=>h()[e]})}),p.forEach(e=>{d[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return h()[e](...n)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{d.ready(()=>{l.default.events.on(e,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let a=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(d[a])try{d[a](...n)}catch(e){console.error(`Error when running the Router event: ${a}`),console.error((0,u.default)(e)?`${e.message} 35${e.stack}`:e+"")}})})});let m=d;function g(){let e=o.default.useContext(s.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function v(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.router=new l.default(...t),d.readyCallbacks.forEach(e=>e()),d.readyCallbacks=[],d.router}function y(e){let t={};for(let n of f){if("object"==typeof e[n]){t[n]=Object.assign(Array.isArray(e[n])?[]:{},e[n]);continue}t[n]=e[n]}return t.events=l.default.events,p.forEach(n=>{t[n]=function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return e[n](...r)}}),t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},565909,(e,t,n)=>{t.exports=e.r(90558)},617742,e=>{"use strict";let t,n,r,a,i,o,l,s,u,c,d,f,p,h,m,g,v,y,b,_,S,E;var w,T,k,R,x,C,P,O,N,I,A=e.i(247167);e.i(194104);var M=e.i(272598),L=e.i(225304),D=e.i(591401);function j(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[t],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"npm",a=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};a.name||(a.name=`sentry.javascript.${t}`,a.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:D.SDK_VERSION})),a.version=D.SDK_VERSION)}
35var U=e.i(662537),B=e.i(250804),z=e.i(901020);let F=[];function $(e,t){for(let n of t)(null==n?void 0:n.afterAllSetup)&&n.afterAllSetup(e)}function H(e,t,n){if(n[t.name]){z.DEBUG_BUILD&&M.debug.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,F.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),F.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{let r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),z.DEBUG_BUILD&&M.debug.log(`Integration installed: ${t.name}`)}function W(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];(null==n?void 0:n.value)&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch(e){}return t}var q=e.i(682564),G=e.i(821593);let V=[/^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/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],Y=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"EventFilters",setup(n){e=J(t,n.getOptions())},processEvent:(n,r,a)=>(e||(e=J(t,a.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!(null==t?void 0:t.length))return!1;let n=e.transaction;return!!n&&(0,G.stringMatchesSomePattern)(n,t)}(e,t.ignoreTransactions))return z.DEBUG_BUILD&&M.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 36Event: ${(0,q.getEventDescription)(e)}`),!0}else{var n,r,a,i,o;if(n=e,(null==(r=t.ignoreErrors)?void 0:r.length)&&W(n).some(e=>(0,G.stringMatchesSomePattern)(e,r)))return z.DEBUG_BUILD&&M.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 37Event: ${(0,q.getEventDescription)(e)}`),!0;if((null==(o=(a=e).exception)||null==(i=o.values)?void 0:i.length)&&!a.message&&!a.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return z.DEBUG_BUILD&&M.debug.warn(`Event dropped due to not having an error message, error type or stacktrace. 38Event: ${(0,q.getEventDescription)(e)}`),!0;if(function(e,t){if(!(null==t?void 0:t.length))return!1;let n=Q(e);return!!n&&(0,G.stringMatchesSomePattern)(n,t)}(e,t.denyUrls))return z.DEBUG_BUILD&&M.debug.warn(`Event dropped due to being matched by \`denyUrls\` option. 39Event: ${(0,q.getEventDescription)(e)}. 40Url: ${Q(e)}`),!0;if(!function(e,t){if(!(null==t?void 0:t.length))return!0;let n=Q(e);return!n||(0,G.stringMatchesSomePattern)(n,t)}(e,t.allowUrls))return z.DEBUG_BUILD&&M.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option. 41Event: ${(0,q.getEventDescription)(e)}. 42Url: ${Q(e)}`),!0}return!1}(n,e)?n:null)}},X=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...Y(e),name:"InboundFilters"}};function J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:V],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Q(e){try{var t,n,r;let a=[...null!=(t=null==(n=e.exception)?void 0:n.values)?t:[]].reverse().find(e=>{var t,n,r;return(null==(t=e.mechanism)?void 0:t.parent_id)===void 0&&(null==(r=e.stacktrace)||null==(n=r.frames)?void 0:n.length)}),i=null==a||null==(r=a.stacktrace)?void 0:r.frames;return i?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(i):null}catch(t){return z.DEBUG_BUILD&&M.debug.error(`Cannot extract url for event ${(0,q.getEventDescription)(e)}`),null}}var K=e.i(951497);let Z=new WeakMap;var ee=e.i(519988),et=e.i(304661),en=e.i(936032);function er(e,t){let n=(0,en.getFramesFromEvent)(e),r=(0,en.getFramesFromEvent)(t);
42if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],a=n[e];if(t.filename!==a.filename||t.lineno!==a.lineno||t.colno!==a.colno||t.function!==a.function)return!1}return!0}function ea(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch(e){return!1}}function ei(e){var t,n;return null==(n=e.exception)||null==(t=n.values)?void 0:t[0]}var eo=e.i(45968),el=e.i(339435),es=e.i(373250),eu=e.i(473753);function ec(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}var ed=e.i(923288),ef=e.i(111139);function ep(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[e,t]}function eh(e,t){let[n,r]=e;return[n,[...r,t]]}function em(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function eg(e){let t=(0,ed.getSentryCarrier)(L.GLOBAL_OBJ);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let ev={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function ey(e){return e in ev?ev[e]:e}function eb(e){if(!(null==e?void 0:e.sdk))return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function e_(e,t,n,r){var a;let i=null==(a=e.sdkProcessingMetadata)?void 0:a.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date((0,ef.safeDateNow)()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:(0,el.dsnToString)(r)},...i&&{trace:i}}}function eS(e){M.debug.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function eE(e,t){if(!(null==t?void 0:t.length))return!1;for(let r of t){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(e.description&&(0,G.isMatchingPattern)(e.description,r))return z.DEBUG_BUILD&&eS(e),!0;continue}let t=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!t)continue;let a=!r.name||e.description&&(0,G.isMatchingPattern)(e.description,r.name),i=!r.op||e.op&&(0,G.isMatchingPattern)(e.op,r.op),o=!r.attributes||Object.entries(r.attributes).every(t=>{var n;let[r,a]=t;return function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?(0,G.isMatchingPattern)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}(null==(n=e.attributes)?void 0:n[r],a)});if(a&&i&&o)return z.DEBUG_BUILD&&eS(e),!0}return!1}e.i(759075);var ew=e.i(453288);e.i(571993);var eT=e.i(821061),ek=e.i(605394);function eR(){let e;return"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==A.default?A.default:0))||(null==(e=L.GLOBAL_OBJ.process)?void 0:e.type)==="renderer")}function ex(e,t){var n,r,a,i,o,l;let s,u,c=null!=(n=null!=t?t:(l=e,eC().get(l)))?n:[];if(0===c.length)return;let d=e.getOptions(),f=(r=d._metadata,a=d.tunnel,i=e.getDsn(),o=e.getDataCollectionOptions().userInfo,s={},(null==r?void 0:r.sdk)&&(s.sdk={name:r.sdk.name,version:r.sdk.version}),a&&i&&(s.dsn=(0,el.dsnToString)(i)),ep(s,[(u=o?"auto":"never",[{type:"log",item_count:c.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...eR()&&{ingest_settings:{infer_ip:u,infer_user_agent:u}},items:c}])]));eC().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(f)}function eC(){return(0,ed.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function eP(e,t){var n,r,a,i,o,l;let s,u,c=null!=(n=null!=t?t:(l=e,eO().get(l)))?n:[];if(0===c.length)return;let d=e.getOptions(),f=(r=d._metadata,a=d.tunnel,i=e.getDsn(),o=e.getDataCollectionOptions().userInfo,s={},(null==r?void 0:r.sdk)&&(s.sdk={name:r.sdk.name,version:r.sdk.version}),a&&i&&(s.dsn=(0,el.dsnToString)(i)),ep(s,[(u=o?"auto":"never",[{type:"trace_metric",item_count:c.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...eR()&&{ingest_settings:{infer_ip:u,infer_user_agent:u}},items:c}])]));eO().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(f)}function eO(){return(0,ed.getGlobalSingleton)("clientToMetricBufferMap",()=>new WeakMap)}var eN=e.i(341041);function eI(e){return"stream"===e.getOptions().traceLifecycle}var eA=e.i(580611);function eM(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let eL=Symbol.for("SentryBufferFullError");function eD(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return(0,eA.rejectedSyncPromise)(eL);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return(0,eA.resolvedSyncPromise)(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>eM(setTimeout(()=>t(!1),e)))]):n}}}function ej(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,ef.safeDateNow)();return(e[t]||e.all||0)>n}function eU(e,t){let{statusCode:n,headers:r}=t,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,ef.safeDateNow)(),i={...e},o=null==r?void 0:r["x-sentry-rate-limits"],l=null==r?void 0:r["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n,,,r]=e.split(":",5),o=parseInt(t,10),l=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!r||r.split(";").includes("custom"))&&(i[e]=a+l):i[e]=a+l;else i.all=a+l}else l?i.all=a+function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,ef.safeDateNow)(),n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(l,a):429===n&&(i.all=a+6e4);return i}var eB=e.i(318746),ez=e.i(170637),eF=e.i(213186);let e$=["forwarded","-ip","remote-","via","-user"],eH=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"],eW={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
42,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},eq="Not capturing exception because it's already been captured.",eG="Discarded session because of missing or non-string release",eV=Symbol.for("SentryInternalError"),eY=Symbol.for("SentryDoNotSendEventError");function eX(e){return{message:e,[eV]:!0}}function eJ(e){return{message:e,[eY]:!0}}function eQ(e){return(0,ew.isObjectLike)(e)&&eV in e}function eK(e){return(0,ew.isObjectLike)(e)&&eY in e}function eZ(e,t,n,r,a){let i,o=0,l=!1;e.on(n,()=>{o=0,clearTimeout(i),l=!1}),e.on(t,t=>{if((o+=r(t))>=8e5)a(e);else if(!l){var n;let t=null!=(n=e.getOptions()._flushInterval)?n:5e3;t>0&&(l=!0,i=eM(setTimeout(()=>{a(e)},t)))}}),e.on("flush",()=>{a(e)})}class e0{captureException(e,t,n){let r=(0,q.uuid4)();if((0,q.checkOrSetAlreadyCaught)(e))return z.DEBUG_BUILD&&M.debug.log(eq),r;let a={event_id:r,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n)).then(e=>e),"error"),a.event_id}captureMessage(e,t,n,r){let a={event_id:(0,q.uuid4)(),...n},i=(0,ew.isParameterizedString)(e)?e:String(e),o=(0,ew.isPrimitive)(e),l=o?this.eventFromMessage(i,t,a):this.eventFromException(e,a);return this._process(()=>l.then(e=>this._captureEvent(e,a,r)),o?"unknown":"error"),a.event_id}captureEvent(e,t,n){let r=(0,q.uuid4)();if((null==t?void 0:t.originalException)&&(0,q.checkOrSetAlreadyCaught)(t.originalException))return z.DEBUG_BUILD&&M.debug.log(eq),r;let a={event_id:r,...t},i=e.sdkProcessingMetadata||{},o=i.capturedSpanScope,l=i.capturedSpanIsolationScope,s=e1(e.type);return this._process(()=>this._captureEvent(e,a,o||n,l),s),a.event_id}captureSession(e){this.sendSession(e),(0,eN.updateSession)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit("flush"),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(e=>{let{name:t}=e;return t.startsWith("Spotlight")}))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),H(this,e,this._integrations),t||$(this,[e])}sendEvent(e){var t,n,r;let a,i,o,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.emit("beforeSendEvent",e,l);let s=function(e,t){var n,r,a;if("transaction"!==e.type||!(null==(n=e.spans)?void 0:n.length)||!(null==(r=e.sdkProcessingMetadata)?void 0:r.hasGenAiSpans)||!1===t.getOptions().streamGenAiSpans||eI(t))return;let i=[],o=[];for(let t of e.spans)(null==(a=t.op)?void 0:a.startsWith("gen_ai."))?i.push(function(e){let t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links};return(0,et.streamedSpanJsonToSerializedSpan)(t)}(t)):o.push(t);if(0===i.length)return;e.spans=o;let l=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:i.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...eR()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}},items:i}]}(e,this),u=(t=this._dsn,n=this._options._metadata,r=this._options.tunnel,a=eb(n),i=e.type&&"replay_event"!==e.type?e.type:"event",!function(e,t){var n,r,a,i;if(!t)return;let o=e.sdk||{};e.sdk={...o,name:o.name||t.name,version:o.version||t.version,integrations:[...(null==(n=e.sdk)?void 0:n.integrations)||[],...t.integrations||[]],packages:[...(null==(r=e.sdk)?void 0:r.packages)||[],...t.packages||[]],settings:(null==(a=e.sdk)?void 0:a.settings)||t.settings?{...null==(i=e.sdk)?void 0:i.settings,...t.settings}:void 0}}(e,null==n?void 0:n.sdk),o=e_(e,a,r,t),delete e.sdkProcessingMetadata,ep(o,[[{type:i},e]]));for(let e of l.attachments||[])u=eh(u,function(e){let t="string"==typeof e.data?eg(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));s&&(u=eh(u,s)),this.sendEnvelope(u).then(t=>
42this.emit("afterSendEvent",e,t))}sendSession(e){var t,n,r;let a,{release:i,environment:o=es.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let t=e.attrs||{};if(!t.release&&!i){z.DEBUG_BUILD&&M.debug.warn(eG);return}t.release=t.release||i,t.environment=t.environment||o,e.attrs=t}else{if(!e.release&&!i){z.DEBUG_BUILD&&M.debug.warn(eG);return}e.release=e.release||i,e.environment=e.environment||o}this.emit("beforeSendSession",e);let l=(t=this._dsn,n=this._options._metadata,r=this._options.tunnel,a=eb(n),ep({sent_at:new Date((0,ef.safeDateNow)()).toISOString(),...a&&{sdk:a},...!!r&&t&&{dsn:(0,el.dsnToString)(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]]));this.sendEnvelope(l)}recordDroppedEvent(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(this._options.sendClientReports){let r=`${e}:${t}`;z.DEBUG_BUILD&&M.debug.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t(...n)};return n.add(r),()=>{n.delete(r)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let a=this._hooks[e];a&&a.forEach(e=>e(...n))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return z.DEBUG_BUILD&&M.debug.error("Error while sending envelope:",e),{}}return z.DEBUG_BUILD&&M.debug.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){var e;let t,{integrations:n}=this._options;this._integrations=(e=this,t={},n.forEach(t=>{(null==t?void 0:t.beforeSetup)&&t.beforeSetup(e)}),n.forEach(n=>{n&&H(e,n,t)}),t),$(this,n)}_updateSessionFromEvent(e,t){var n,r;let a="fatal"===t.level,i=!1,o=null==(n=t.exception)?void 0:n.values;if(o){for(let e of(i=!0,a=!1,o))if((null==(r=e.mechanism)?void 0:r.handled)===!1){a=!0;break}}let l="ok"===e.status;(l&&0===e.errors||l&&a)&&((0,eN.updateSession)(e,{...a&&{status:"crashed"},errors:e.errors||Number(i||a)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let a=this.getOptions(),i=this.getIntegrationNames();return!t.integrations&&i.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,eF.prepareEvent)(a,e,t,n,this,r).then(e=>{var r;
42return null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...null==(r=e.contexts)?void 0:r.trace,...(0,B.getTraceContextFromScope)(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,eu.getDynamicSamplingContextFromScope)(this,n),...e.sdkProcessingMetadata}),e})}_captureEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,B.getCurrentScope)(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,B.getIsolationScope)();return z.DEBUG_BUILD&&e2(e)&&M.debug.log(`Captured error event \`${W(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{z.DEBUG_BUILD&&(eK(e)?M.debug.log(e.message):eQ(e)?M.debug.warn(e.message):M.debug.warn(e))})}_processEvent(e,t,n,r){let a=this.getOptions(),{sampleRate:i}=a,o=e3(e),l=e2(e),s=e.type||"error",u=`before send for type \`${s}\``,c=void 0===i?void 0:(0,ez.parseSampleRate)(i),d=e1(e.type);return this._prepareEvent(e,t,n,r).then(e=>{var n;if(null===e)throw this.recordDroppedEvent("event_processor",d),eJ("An event processor returned `null`, will not send event.");return(null==(n=t.data)?void 0:n.__sentry__)===!0?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,ew.isThenable)(e))return e.then(e=>{if(!(0,ew.isPlainObject)(e)&&null!==e)throw eX(n);return e},e=>{throw eX(`${t} rejected with ${e}`)});if(!(0,ew.isPlainObject)(e)&&null!==e)throw eX(n);return e}(function(e,t,n,r){let{beforeSend:a,beforeSendTransaction:i,ignoreSpans:o}=t,l=!ec(t.beforeSendSpan)&&t.beforeSendSpan,s=n;if(e2(s)&&a)return a(s,r);if(e3(s)){if(l||o){let t=function(e){var t,n,r;let{trace_id:a,parent_span_id:i,span_id:o,status:l,origin:s,data:u,op:c}=null!=(t=null==(r=e.contexts)?void 0:r.trace)?t:{};return{data:null!=u?u:{},description:e.transaction,op:c,parent_span_id:i,span_id:null!=o?o:"",start_timestamp:null!=(n=e.start_timestamp)?n:0,status:l,timestamp:e.timestamp,trace_id:null!=a?a:"",origin:s,profile_id:null==u?void 0:u[ee.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:null==u?void 0:u[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}(s);if((null==o?void 0:o.length)&&eE({description:t.description,op:t.op,attributes:t.data},o))return null;if(l){let e=l(t);if(e)s=(0,eB.merge)(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[ee.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements});else(0,et.showSpanDropWarning)()}if(s.spans){let t=[],n=s.spans;for(let e of n){if((null==o?void 0:o.length)&&eE({description:e.description,op:e.op,attributes:e.data},o)){!function(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}(n,e);continue}if(l){let n=l(e);n?t.push(n):((0,et.showSpanDropWarning)(),t.push(e))}else t.push(e)}let r=s.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),s.spans=t}}if(i){if(s.spans){let e=s.spans.length;s.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(s,r)}}return s}(this,a,e,t),u)}).then(a=>{if(null===a){if(this.recordDroppedEvent("before_send",d),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw eJ(`${u} returned \`null\`, will not send event.`)}let s=n.getSession()||r.getSession();if(l&&s&&this._updateSessionFromEvent(s,a),l&&"number"==typeof c&&(0,ef.safeMathRandom)()>c)throw this.recordDroppedEvent("sample_rate","error"),eJ(`Discarding event because it's not included in the random sample (sampling rate = ${i})`);if(o){var f;let e=((null==(f=a.sdkProcessingMetadata)?void 0:f.spanCountBeforeProcessing)||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let p=a.transaction_info;return o&&p&&a.transaction!==e.transaction&&(a.transaction_info={...p,source:"custom"}),this.sendEvent(a,t),a}).then(null,e=>{if(eK(e)||eQ(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),eX(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 43Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===eL&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(e=>{let[t,n]=e,[r,a]=t.split(":");return{reason:r,category:a,quantity:n}})}_flushOutcomes(){var e;z.DEBUG_BUILD&&M.debug.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){z.DEBUG_BUILD&&M.debug.log("No outcomes to send");return}if(!this._dsn){z.DEBUG_BUILD&&M.debug.log("No dsn provided, will not send outcomes");return}z.DEBUG_BUILD&&M.debug.log("Sending outcomes:",t);let n=ep((e=this._options.tunnel&&(0,el.dsnToString)(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:(0,ek.dateTimestampInSeconds)(),discarded_events:t}]]);this.sendEnvelope(n)}constructor(e){var t,n,r,a,i,o,l,s;if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=eD(null!=(t=null==(o=e.transportOptions)?void 0:o.bufferSize)?t:64),this._dataCollection=function(e){var t,n,r,a,i,o,l,s,u,c,d,f,p,h,m,g,v;let y=null!=e.dataCollection?eW:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
43,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:e$},httpHeaders:{request:{deny:e$},response:{deny:e$}},httpBodies:[],urlQueryParams:{deny:e$},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},b=null!=(t=e.dataCollection)?t:{};return{userInfo:null!=(n=b.userInfo)?n:y.userInfo,cookies:null!=(r=b.cookies)?r:y.cookies,httpHeaders:function(e,t){var n,r;return void 0===e?{...t.httpHeaders}:"boolean"==typeof e||"allow"in e||"deny"in e?{request:e,response:e}:{request:null!=(n=e.request)?n:t.httpHeaders.request,response:null!=(r=e.response)?r:t.httpHeaders.response}}(b.httpHeaders,y),httpBodies:null!=(a=b.httpBodies)?a:y.httpBodies,urlQueryParams:null!=(i=null!=(o=b.urlQueryParams)?o:b.queryParams)?i:y.urlQueryParams,graphQL:{document:null!=(l=null==(h=b.graphQL)?void 0:h.document)?l:y.graphQL.document,variables:null!=(s=null==(m=b.graphQL)?void 0:m.variables)?s:y.graphQL.variables},genAI:{inputs:null!=(u=null==(g=b.genAI)?void 0:g.inputs)?u:y.genAI.inputs,outputs:null!=(c=null==(v=b.genAI)?void 0:v.outputs)?c:y.genAI.outputs},databaseQueryData:null!=(d=b.databaseQueryData)?d:y.databaseQueryData,stackFrameVariables:null!=(f=b.stackFrame
43Variables)?f:y.stackFrameVariables,frameContextLines:null!=(p=b.frameContextLines)?p:y.frameContextLines}}(e),e.dsn?this._dsn=(0,el.makeDsn)(e.dsn):z.DEBUG_BUILD&&M.debug.warn("No DSN provided, client will not send events."),this._dsn){const t=function(e,t,n){let r,a,i;return t||`${r=e.protocol?`${e.protocol}:`:"",a=e.port?`:${e.port}`:"",`${r}//${e.host}${a}${e.path?`/${e.path}`:""}/api/`}${e.projectId}/envelope/?${i={sentry_version:"7"},e.publicKey&&(i.sentry_key=e.publicKey),n&&(i.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(i).toString()}`}(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:t})}this._options.enableLogs=null==(n=null!=(r=this._options.enableLogs)?r:null==(l=this._options._experiments)?void 0:l.enableLogs)||n,this._options.enableLogs&&eZ(this,"afterCaptureLog","flushLogs",e5,ex),(null==(a=null!=(i=this._options.enableMetrics)?i:null==(s=this._options._experiments)?void 0:s.enableMetrics)||a)&&eZ(this,"afterCaptureMetric","flushMetrics",e4,eP)}}function e1(e){return"replay_event"===e?"replay":e||"error"}function e2(e){return void 0===e.type}function e3(e){return"transaction"===e.type}function e4(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+e8(e.attributes)}function e5(e){let t=0;return e.message&&(t+=2*e.message.length),t+e8(e.attributes)}function e8(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*e6(e[0]):(0,ew.isPrimitive)(e)?t+=e6(e):t+=100}),t}function e6(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function e7(e){if("aggregates"in e){var t;(null==(t=e.attrs)?void 0:t.ip_address)===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"})}else void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function e9(e){return(0,ew.isError)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function te(e,t){var n,r;let a,i,o=tn(e,t),l={type:!(a=null==(n=t)?void 0:n.name)&&ta(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":a,value:(i=null==(r=t)?void 0:r.message,ta(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":i?i.error&&"string"==typeof i.error.message?e9(i.error):e9(r):"No error message")};return o.length&&(l.stacktrace={frames:o}),void 0===l.type&&""===l.value&&(l.value="Unrecoverable error caught"),l}function tt(e,t){return{exception:{values:[te(e,t)]}}}function tn(e,t){var n,r;let a=t.stacktrace||t.stack||"",i=(n=t)&&tr.test(n.message)?1:0,o="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(a,i,o)}catch(e){}return[]}let tr=/Minified React error #\d+;/i;function ta(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function ti(e,t,n,r,a){let i;if((0,ew.isErrorEvent)(t)&&t.error)return tt(e,t.error);if((0,ew.isDOMError)(t)||(0,ew.isDOMException)(t)){if("stack"in t){var o,l;let a=null==(l=(i=tt(e,t)).exception)||null==(o=l.values)?void 0:o[0];if(r&&n&&a&&!a.stacktrace){let t=tn(e,n);t.length&&(a.stacktrace={frames:t},(0,q.addExceptionMechanism)(i,{synthetic:!0}))}}else{let a=t.name||((0,ew.isDOMError)(t)?"DOMError":"DOMException"),o=t.message?`${a}: ${t.message}`:a;i=to(e,o,n,r),(0,q.addExceptionTypeValue)(i,o)}return"code"in t&&(i.tags={...i.tags,"DOMException.code":`${t.code}`}),i}return(0,ew.isError)(t)?tt(e,t):((0,ew.isPlainObject)(t)||(0,ew.isEvent)(t)?i=function(e,t,n,r){let a=(0,B.getClient)(),i=null==a?void 0:a.getOptions().normalizeDepth,o=Object.values(t).find(ew.isError),l={__serialized__:(0,eo.normalizeToSize)(t,i)};if(o)return{exception:{values:[te(e,o)]},extra:l};let s={exception:{values:[{type:(0,ew.isEvent)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,t){let{isUnhandledRejection:n}=t,r=(0,K.extractExceptionKeysForMessage)(e),a=n?"promise rejection":"exception";if((0,ew.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``;if((0,ew.isEvent)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${a}`}return`Object captured as ${a} with keys: ${r}`}(t,{isUnhandledRejection:r})}]},extra:l};if(n){let t=tn(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,a):(i=to(e,t,n,r),(0,q.addExceptionTypeValue)(i,`${t}`,void 0)),(0,q.addExceptionMechanism)(i,{synthetic:!0}),i)}function to(e,t,n,r){let a={};if(r&&n){let r=tn(e,n);r.length&&(a.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,q.addExceptionMechanism)(a,{synthetic:!0})}
43if((0,ew.isParameterizedString)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return a.logentry={message:e,params:n},a}return a.message=t,a}let tl=L.GLOBAL_OBJ;function ts(){try{return tl.document.location.href}catch(e){return""}}function tu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!tl.HTMLElement)return null;let n=e;for(let e=0;e<t&&n;e++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}let tc=L.GLOBAL_OBJ,td=0;function tf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){let t=e.__sentry_wrapped__;if("function"==typeof t)return t;return e}if((0,K.getOriginalFunction)(e))return e}catch(t){return e}let n=function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];L.GLOBAL_OBJ._sentryWrappedDepth=(L.GLOBAL_OBJ._sentryWrappedDepth||0)+1;try{let n=r.map(e=>tf(e,t));return e.apply(this,n)}catch(e){throw td++,setTimeout(()=>{td--}),(0,B.withScope)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,q.addExceptionTypeValue)(e,void 0,void 0),(0,q.addExceptionMechanism)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,U.captureException)(e)}),e}finally{L.GLOBAL_OBJ._sentryWrappedDepth=(L.GLOBAL_OBJ._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch(e){}(0,K.markFunctionWrapped)(n,e),(0,K.addNonEnumerableProperty)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch(e){}return n}function tp(){let e=ts(),{referrer:t}=tc.document||{},{userAgent:n}=tc.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}class th extends e0{eventFromException(e,t){var n,r;let a;return n=this._options.stackParser,r=this._options.attachStacktrace,a=ti(n,e,(null==t?void 0:t.syntheticException)||void 0,r),(0,q.addExceptionMechanism)(a),a.level="error",(null==t?void 0:t.event_id)&&(a.event_id=t.event_id),(0,eA.resolvedSyncPromise)(a)}eventFromMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,i=to(e,t,(null==r?void 0:r.syntheticException)||void 0,a);return i.level=n,(null==r?void 0:r.event_id)&&(i.event_id=r.event_id),(0,eA.resolvedSyncPromise)(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}constructor(e){var t;const n=function(e){var t;return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:null==(t=tc.SENTRY_RELEASE)?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e);j(n,"browser",["browser"],tc.SENTRY_SDK_SOURCE||"npm"),super(n);const{userInfo:r}=this.getDataCollectionOptions();(null==(t=n._metadata)?void 0:t.sdk)&&(n._metadata.sdk.settings={infer_ip:r?"auto":"never",...n._metadata.sdk.settings});const{sendClientReports:a}=this._options;tc.document&&tc.document.addEventListener("visibilitychange",()=>{"hidden"===tc.document.visibilityState&&(a&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),r&&this.on("beforeSendSession",e7)}}let tm={},tg={};function tv(e,t){return tm[e]=tm[e]||[],tm[e].push(t),()=>{let n=tm[e];if(n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function ty(e,t){if(!tg[e]){tg[e]=!0;try{t()}catch(t){z.DEBUG_BUILD&&M.debug.error(`Error while instrumenting ${e}`,t)}}}function tb(e,t){let n=e&&tm[e];if(n)for(let r of n)try{r(t)}catch(t){z.DEBUG_BUILD&&M.debug.error(`Error while triggering instrumentation handler. 44Type: ${e} 45Name: ${(0,en.getFunctionName)(r)} 46Error:`,t)}}let t_=new Set([]),tS=new Set;function tE(){"console"in L.GLOBAL_OBJ&&M.CONSOLE_LEVELS.forEach(function(e){!tS.has(e)&&e in L.GLOBAL_OBJ.console&&(tS.add(e),(0,K.fill)(L.GLOBAL_OBJ.console,e,function(t){return M.originalConsoleMethods[e]=t,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let a=n[0],i=M.originalConsoleMethods[e],o=t_.size&&"string"==typeof a&&(0,G.stringMatchesSomePattern)(a,t_);o||tb("console",{args:n,level:e}),(!o||z.DEBUG_BUILD&&M.debug.isEnabled())&&(null==i||i.apply(L.GLOBAL_OBJ.console,n))}}))})}let tw=L.GLOBAL_OBJ;function tT(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function tk(e,t){let n="fetch",r=tv(n,e);return ty(n,()=>tR(void 0,t)),r}function tR(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(!t||function(){if("string"==typeof EdgeRuntime)return!0;
46if(!function(){if(!("fetch"in tw))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch(e){return!1}}())return!1;if(tT(tw.fetch))return!0;let e=!1,t=tw.document;if(t&&"function"==typeof t.createElement)try{var n;let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(null==(n=r.contentWindow)?void 0:n.fetch)&&(e=tT(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){z.DEBUG_BUILD&&M.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,K.fill)(L.GLOBAL_OBJ,"fetch",function(t){return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];let i=Error(),{method:o,url:l}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:tO(t),method:tP(n,"method")?String(n.method).toUpperCase():(0,ew.isRequest)(t)&&tP(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:tO(t),method:tP(t,"method")?String(t.method).toUpperCase():"GET"}}(r),s={args:r,fetchData:{method:o,url:l},startTimestamp:1e3*(0,ek.timestampInSeconds)(),virtualError:i,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,ew.isRequest)(t))return new Headers(t.headers)}catch(e){}}(r)};return e||tb("fetch",{...s}),t.apply(L.GLOBAL_OBJ,r).then(async t=>(e?e(t):tb("fetch",{...s,endTimestamp:1e3*(0,ek.timestampInSeconds)(),response:t}),t),e=>{var t;tb("fetch",{...s,endTimestamp:1e3*(0,ek.timestampInSeconds)(),error:e}),(0,ew.isError)(e)&&void 0===e.stack&&(e.stack=i.stack,(0,K.addNonEnumerableProperty)(e,"framesToPop",1));let n=(0,B.getClient)(),r=null!=(t=null==n?void 0:n.getOptions().enhanceFetchErrorMessages)?t:"always";if(!1!==r&&(0,ew.isError)(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(s.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:(0,K.addNonEnumerableProperty)(e,"__sentry_fetch_url_host__",t)}catch(e){}throw e})}})}async function tx(e,t){if(null==e?void 0:e.body){let n=e.body,r=n.getReader(),a=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),i=!0;for(;i;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:a}=await r.read();clearTimeout(e),a&&(t(),i=!1)}catch(e){i=!1}finally{clearTimeout(e)}}clearTimeout(a),r.releaseLock(),n.cancel().then(null,()=>{})}}function tC(e){let t;try{t=e.clone()}catch(e){return}tx(t,()=>{tb("fetch-body-resolved",{endTimestamp:1e3*(0,ek.timestampInSeconds)(),response:e})})}function tP(e,t){return(0,ew.isObjectLike)(e)&&!!e[t]}function tO(e){return"string"==typeof e?e:e?tP(e,"url")?e.url:e.toString?e.toString():"":""}function tN(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function tI(e,t){let n=(0,B.getClient)(),r=(0,B.getIsolationScope)();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:i=100}=n.getOptions();if(i<=0)return;let o={timestamp:(0,ek.dateTimestampInSeconds)(),...e},l=a?(0,M.consoleSandbox)(()=>a(o,t)):o;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,i))}function tA(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}let tM="http.url",tL="sentry.segment.name",tD="sentry.transaction",tj="url.full",tU="url.path",tB="url.template";function tz(e,t){if(e&&!1!==t)return e.split("&").map(e=>{let n=e.indexOf("="),r=-1===n?e:e.slice(0,n),a=new URLSearchParams(`${r}=`).keys().next().value;return void 0!==a&&function(e,t){if(!1===t)return!0;let n=e.toLowerCase();if(eH.some(e=>n.includes(e)))return!0;if(!0===t)return!1;let r=("deny"in t?t.deny:t.allow).some(e=>n.includes(e.toLowerCase()));return"deny"in t?r:!r}(a,t)?`${r}=[Filtered]`:e}).join("&")}function tF(e){var t,n;return null==(t=null==(n=null!=e?e:(0,B.getClient)())?void 0:n.getDataCollectionOptions().urlQueryParams)||t}function t$(e,t){return void 0===e?void 0:function(e,t){let n=e.indexOf("#"),r=-1===n?e.length:n,a=e.indexOf("?");if(-1===a||a>r)return e;let i=e.slice(0,a),o=e.slice(a+1,r),l=e.slice(r),s=tz(o,t);return s?`${i}?${s}${l}`:`${i}${l}`}(e,tF(t))}function tH(e,t){if(!e)return e;
46let n=e.startsWith("?"),r=tz(n?e.slice(1):e,tF(t));return r&&n?`?${r}`:r}function tW(e){return"isRelative"in e}function tq(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=null!=t?t:n?"thismessage:/":void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch(e){}}function tG(e){if(tW(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function tV(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function tY(e){return e.split(/[?#]/,1)[0]}function tX(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",a=e.includes(";base64,"),i=e.indexOf(","),o="";if(t&&-1!==i){let t=e.slice(i+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${a?",base64":""}${o?`,${o}`:""}`}return e}let tJ=L.GLOBAL_OBJ;function tQ(e){tv("dom",e),ty("dom",tK)}function tK(){if(!tJ.document)return;let e=tb.bind(null,"dom"),t=tZ(e,!0);tJ.document.addEventListener("click",t,!1),tJ.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{var n,r;let a=null==(n=tJ[t])?void 0:n.prototype;(null==a||null==(r=a.hasOwnProperty)?void 0:r.call(a,"addEventListener"))&&((0,K.fill)(a,"addEventListener",function(t){return function(n,r,a){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=r[n]=r[n]||{refCount:0};if(!i.handler){let r=tZ(e);i.handler=r,t.call(this,n,r,a)}i.refCount++}catch(e){}return t.call(this,n,r,a)}}),(0,K.fill)(a,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},a=n[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function tZ(e){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return i=>{var o;if(!i||i._sentryCaptured)return;let l=function(e){try{return e.target}catch(e){return null}}(i);if(o=i.type,"keypress"===o&&(null==l||!l.tagName||"INPUT"!==l.tagName&&"TEXTAREA"!==l.tagName&&!l.isContentEditable&&1))return;(0,K.addNonEnumerableProperty)(i,"_sentryCaptured",!0),l&&!l._sentryId&&(0,K.addNonEnumerableProperty)(l,"_sentryId",(0,q.uuid4)());let s="keypress"===i.type?"input":i.type;!function(e){if(e.type!==n)return!1;try{if(!e.target||e.target._sentryId!==r)return!1}catch(e){}return!0}(i)&&(e({event:i,name:s,global:a}),n=i.type,r=l?l._sentryId:void 0),clearTimeout(t),t=tJ.setTimeout(()=>{r=void 0,n=void 0},1e3)}}let t0="__sentry_xhr_v3__";function t1(e){tv("xhr",e),ty("xhr",t2)}function t2(){if(!tJ.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),a=1e3*(0,ek.timestampInSeconds)(),i=(0,ew.isString)(n[0])?n[0].toUpperCase():void 0,o=function(e){if((0,ew.isString)(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!i||!o)return e.apply(t,n);t[t0]={method:i,url:o,request_headers:{}},"POST"===i&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let l=()=>{let e=t[t0];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}tb("xhr",{endTimestamp:1e3*(0,ek.timestampInSeconds)(),startTimestamp:a,xhr:t,virtualError:r}),r=void 0,t.removeEventListener("readystatechange",l)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,a]=n,i=t[t0];return i&&(0,ew.isString)(r)&&(0,ew.isString)(a)&&(i.request_headers[r.toLowerCase()]=a),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[t0];return r&&(void 0!==n[0]&&(r.body=n[0]),tb("xhr",{startTimestamp:1e3*(0,ek.timestampInSeconds)(),xhr:t})),e.apply(t,n)}})}function t3(e){let t="history";tv(t,e),ty(t,t4)}function t4(){function e(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=n.length>2?n[2]:void 0;if(i){let t=a,r=function(e){try{return new URL(e,tJ.location.origin).toString()}catch(t){return e}}(String(i));if(a=r,t===r)return e.apply(this,n);tb("history",{from:t,to:r})}return e.apply(this,n)}}tJ.addEventListener("popstate",()=>{let e=tJ.location.href,t=a;a=e,t===e||tb("history",{from:t,to:e})}),"history"in tw&&tw.history&&((0,K.fill)(tJ.history,"pushState",e),(0,K.fill)(tJ.history,"replaceState",e))}let t5={};try{"u">typeof Node&&(t5.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"u">typeof Element&&(t5.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,t5.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,t5.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,t5.getAttribute=Element.prototype.getAttribute),"u">typeof HTMLElement&&(t5.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch(e){}function t8(e,t,n){let r=t5[t];if(r)try{return r.call(e,n)}catch(e){}let a=e[t];return"function"==typeof a?a.call(e,n):a}function t6(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"<unknown>";try{let n,r=e,a=[],i=0,o=0,l=Array.isArray(t)?t:t.keyAttrs,s=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&i++<5&&(n=function(e,t){let n=[],r=t8(e,"tagName");if(!r)return"";if("u">typeof HTMLElement&&e instanceof HTMLElement){let t=t8(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let a=(null==t?void 0:t.length)?t.filter(t=>t8(e,"getAttribute",t)).map(t=>[t,t8(e,"getAttribute",t)]):null;
46if(null==a?void 0:a.length)a.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=t8(e,"id");t&&n.push(`#${t}`);let r=t8(e,"className");if(r&&(0,ew.isString)(r))for(let e of r.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=t8(e,"getAttribute",t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,l),"html"!==n&&(!(i>1)||!(o+3*a.length+n.length>=s)));)a.push(n),o+=n.length,r=t8(r,"parentNode");return a.reverse().join(" > ")}catch(e){return"<unknown>"}}let t7="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,t9=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,a,i,o,l,s;let u;t.console&&(n=e,tv(u="console",function(e){if((0,B.getClient)()!==n)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:tN(e.level),message:(0,G.safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,G.safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);tI(t,{input:e.args,level:e.level})}),ty(u,tE)),t.dom&&tQ((r=e,a=t.dom,function(e){let t,n;if((0,B.getClient)()!==r)return;let i="object"==typeof a?a.serializeAttribute:void 0,o="object"==typeof a&&"number"==typeof a.maxStringLength?a.maxStringLength:void 0;o&&o>1024&&(t7&&M.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof i&&(i=[i]);try{var l;let r=e.event,a=(l=r)&&l.target?r.target:r;t=t6(a,{keyAttrs:i,maxStringLength:o}),n=tu(a)}catch(e){t="<unknown>"}if(0===t.length)return;let s={category:`ui.${e.name}`,message:t};n&&(s.data={"ui.component_name":n}),tI(s,{event:e.event,name:e.name,global:e.global})})),t.xhr&&t1((i=e,function(e){if((0,B.getClient)()!==i)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[t0];if(!t||!n||!r)return;let{method:a,url:o,status_code:l,body:s}=r,u={xhr:e.xhr,input:s,startTimestamp:t,endTimestamp:n},c={category:"xhr",data:{method:a,url:o,status_code:l},type:"http",level:tA(l)};i.emit("beforeOutgoingRequestBreadcrumb",c,u),tI(c,u)})),t.fetch&&tk((o=e,function(e){if((0,B.getClient)()!==o)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},a={category:"fetch",data:e.fetchData,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",a,r),tI(a,r)}else{let r=e.response,a={...e.fetchData,status_code:null==r?void 0:r.status},i={input:e.args,response:r,startTimestamp:t,endTimestamp:n},l={category:"fetch",data:a,type:"http",level:tA(a.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",l,i),tI(l,i)}})),t.history&&t3((l=e,function(e){if((0,B.getClient)()!==l)return;let t=e.from,n=e.to,r=tV(tc.location.href),a=t?tV(t):void 0,i=tV(n);(null==a?void 0:a.path)||(a=r),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),tI({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(s=e,function(e){(0,B.getClient)()===s&&tI({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,q.getEventDescription)(e)},{event:e})}))}}},ne="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".split(","),nt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,K.fill)(tc,"setTimeout",nn),t.setInterval&&(0,K.fill)(tc,"setInterval",nn),t.requestAnimationFrame&&(0,K.fill)(tc,"requestAnimationFrame",nr),t.XMLHttpRequest&&"XMLHttpRequest"in tc&&(0,K.fill)(XMLHttpRequest.prototype,"send",na);let e=t.eventTarget;
46e&&(Array.isArray(e)?e:ne).forEach(e=>{var n,r,a,i;let o;return n=e,r=t,void((null==(o=null==(a=tc[n])?void 0:a.prototype)||null==(i=o.hasOwnProperty)?void 0:i.call(o,"addEventListener"))&&((0,K.fill)(o,"addEventListener",function(e){return function(t,a,i){var o,l,s,u;try{o=a,"function"==typeof o.handleEvent&&(a.handleEvent=tf(a.handleEvent,{mechanism:{data:{handler:(0,en.getFunctionName)(a),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch(e){}return r.unregisterOriginalCallbacks&&(l=this,s=t,u=a,l&&"object"==typeof l&&"removeEventListener"in l&&"function"==typeof l.removeEventListener&&l.removeEventListener(s,u)),e.apply(this,[t,tf(a,{mechanism:{data:{handler:(0,en.getFunctionName)(a),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),(0,K.fill)(o,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){let a=n.__sentry_wrapped__;a&&e.call(this,t,a,r)}}catch(e){}return e.call(this,t,n,r)}})))})}}};function nn(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let a=n[0];return n[0]=tf(a,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,en.getFunctionName)(e)}`}}),e.apply(this,n)}}function nr(e){return function(t){return e.apply(this,[tf(t,{mechanism:{data:{handler:(0,en.getFunctionName)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function na(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let a=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in a&&"function"==typeof a[e]&&(0,K.fill)(a,e,function(t){let n={mechanism:{data:{handler:(0,en.getFunctionName)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,K.getOriginalFunction)(t);return r&&(n.mechanism.data.handler=(0,en.getFunctionName)(r)),tf(t,n)})}),e.apply(this,n)}}function ni(e,t,n){tJ.document&&tJ.addEventListener(e,t,n)}function no(e,t,n){tJ.document&&tJ.removeEventListener(e,t,n)}let nl=e=>{let t=!1;return()=>{t||(e(),t=!0)}},ns=e=>{var t;let n=tJ.requestIdleCallback||tJ.setTimeout;(null==(t=tJ.document)?void 0:t.visibilityState)==="hidden"?e():(ni("visibilitychange",e=nl(e),{once:!0,capture:!0}),ni("pagehide",e,{once:!0,capture:!0}),n(()=>{e(),no("visibilitychange",e,{capture:!0}),no("pagehide",e,{capture:!0})}))},nu=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!=(e=t.lifecycle)?e:"route";return{name:"BrowserSession",setupOnce(){if(void 0===tc.document){t7&&M.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,U.startSession)({ignoreDuration:!0});let e=!1;ns(()=>{e||((0,U.captureSession)(),e=!0)});let t=(0,B.getIsolationScope)(),r=t.getUser();t.addScopeListener(t=>{let n=t.getUser();((null==r?void 0:r.id)!==(null==n?void 0:n.id)||(null==r?void 0:r.ip_address)!==(null==n?void 0:n.ip_address))&&(r=n,e&&(0,U.captureSession)())}),"route"===n&&t3(t=>{let{from:n,to:r}=t;n!==r&&((0,U.startSession)({ignoreDuration:!0}),(0,U.captureSession)(),e=!0)})}}};var nc=e.i(242222);function nd(e,t){var n;let r=null!=(n=e.attributes)?n:e.attributes={};Object.entries(t).forEach(e=>{let[t,n]=e;null==n||t in r||(r[t]=n)})}function nf(){try{let e=tc.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch(e){return}}let np=null;function nh(e){let t="error";tv(t,e),ty(t,nm)}function nm(){np=L.GLOBAL_OBJ.onerror,L.GLOBAL_OBJ.onerror=function(e,t,n,r,a){return tb("error",{column:r,error:a,line:n,msg:e,url:t}),!!np&&np.apply(this,arguments)},L.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}let ng=null;function nv(e){let t="unhandledrejection";tv(t,e),ty(t,ny)}function ny(){ng=L.GLOBAL_OBJ.onunhandledrejection,L.GLOBAL_OBJ.onunhandledrejection=function(e){return tb("unhandledrejection",e),!ng||ng.apply(this,arguments)},L.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let nb=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var n,r;t.onerror&&(n=e,nh(e=>{let{stackParser:t,attachStacktrace:r}=nS();if((0,B.getClient)()!==n||td>0)return;let{msg:a,url:i,line:o,column:l,error:s}=e,u=function(e,t,n,r){let a=e.exception=e.exception||{},i=a.values=a.values||[],o=i[0]=i[0]||{},l=o.stacktrace=o.stacktrace||{},s=l.frames=l.frames||[];
46if(0===s.length){var u;s.push({colno:r,lineno:n,filename:null!=(u=function(e){if((0,ew.isString)(e)&&0!==e.length)return e.startsWith("data:")?`<${tX(e,!1)}>`:e}(t))?u:ts(),function:en.UNKNOWN_FUNCTION,in_app:!0})}return e}(ti(t,s||a,void 0,r,!1),i,o,l);u.level="error",(0,U.captureEvent)(u,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),n_("onerror")),t.onunhandledrejection&&(r=e,nv(e=>{var t;let{stackParser:n,attachStacktrace:a}=nS();if((0,B.getClient)()!==r||td>0)return;let i=function(e){if((0,ew.isPrimitive)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(e),o=(0,ew.isPrimitive)(i)?(t=i,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):ti(n,i,void 0,a,!0);o.level="error",(0,U.captureEvent)(o,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),n_("onunhandledrejection"))}}};function n_(e){t7&&M.debug.log(`Global Handler attached: ${e}`)}function nS(){let e=(0,B.getClient)();return(null==e?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function nE(e){return Array.isArray(e.errors)}function nw(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...nE(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function nT(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let nk=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,a){!function(e,t,n,r,a,i){var o;if(!(null==(o=a.exception)?void 0:o.values)||!i||!(0,ew.isError)(i.originalException))return;let l=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;l&&(a.exception.values=function e(t,n,r,a,i,o,l,s){if(o.length>=r+1)return o;let u=[...o];if((0,ew.isError)(a[i])){nw(l,s,a);let o=t(n,a[i]),c=u.length;nT(o,i,c,s),u=e(t,n,r,a[i],i,[o,...u],o,c)}return nE(a)&&a.errors.forEach((o,c)=>{if((0,ew.isError)(o)){nw(l,s,a);let d=t(n,o),f=u.length;nT(d,`errors[${c}]`,f,s),u=e(t,n,r,o,i,[d,...u],d,f)}}),u}(e,t,r,i.originalException,n,a.exception.values,l,0))}(te,a.getOptions().stackParser,n,t,e,r)}}};function nR(e,t,n,r){let a={filename:e,function:"<anonymous>"===t?en.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==n&&(a.lineno=n),void 0!==r&&(a.colno=r),a}let nx=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,nC=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nP=/\((\S*)(?::(\d+))(?::(\d+))\)/,nO=/at (.+?) ?\(data:(.+?),/,nN=[30,e=>{let t=e.match(nO);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=nx.exec(e);if(n){let[,e,t,r]=n;return nR(e,en.UNKNOWN_FUNCTION,+t,+r)}let r=nC.exec(e);if(r){var a;if((null==(a=r[2])?void 0:a.indexOf("eval"))===0){let e=nP.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=nD(r[1]||en.UNKNOWN_FUNCTION,r[2]);return nR(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],nI=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nA=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nM=[50,e=>{let t=nI.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=nA.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||en.UNKNOWN_FUNCTION;return[n,e]=nD(n,e),nR(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],nL=(0,en.createStackParser)(nN,nM),nD=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:en.UNKNOWN_FUNCTION,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},nj="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nU={};function nB(e){let t=nU[e];if(t)return t;let n=tJ[e];if(tT(n))return nU[e]=n.bind(tJ);let r=tJ.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;(null==a?void 0:a[e])&&(n=a[e]),r.head.removeChild(t)}catch(t){nj&&M.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?nU[e]=n.bind(tJ):n}function nz(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return nB("setTimeout")(...t)}function nF(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nB("fetch"),n=0,r=0;async function a(a){let i=a.body.length;n+=i,r++;
46let o={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(e){throw nU.fetch=void 0,e}finally{n-=i,r--}}return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eD(e.bufferSize||64),r={};return{send:function(a){let i=[];if(em(a,(t,n)=>{let a=ey(n);ej(r,a)?e.recordDroppedEvent("ratelimit_backoff",a):i.push(t)}),0===i.length)return Promise.resolve({});let o=ep(a[0],i),l=t=>{var n;if(n=["client_report"],em(o,(e,t)=>n.includes(t))){z.DEBUG_BUILD&&M.debug.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}em(o,(n,r)=>{e.recordDroppedEvent(t,ey(r))})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function a(e){"string"==typeof r?r="string"==typeof e?r+e:[eg(r),e]:r.push("string"==typeof e?eg(e):e)}for(let e of n){let[t,n]=e;if(a(` 47${JSON.stringify(t)} 48`),"string"==typeof n||n instanceof Uint8Array)a(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,eo.normalize)(n))}a(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(o)}).then(e=>(413===e.statusCode?(z.DEBUG_BUILD&&M.debug.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),l("send_error")):(z.DEBUG_BUILD&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&M.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=eU(r,e)),e),e=>{throw l("network_error"),z.DEBUG_BUILD&&M.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===eL)return z.DEBUG_BUILD&&M.debug.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}(e,a,eD(e.bufferSize||40))}let n$=/^HTML(\w*)Element$/;function nH(e){if("u">typeof window&&e===window)return"[Window]";if("u">typeof document&&e===document)return"[Document]";if(function(e){if("u"<typeof Element)return!1;try{return e instanceof Element}catch(e){return!1}}(e)){let t,n=(null==(t=Object.getPrototypeOf(e))?void 0:t.constructor)?t.constructor.name:"null prototype";if(n$.test(n))return`[HTMLElement: ${t6(e)}]`}}function nW(e){let t;return[X(),{name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(){let t;for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];let i=(0,K.getOriginalFunction)(this);try{Z.has((0,B.getClient)())&&void 0!==i&&(t=i)}catch(e){}return e.apply(null!=t?t:this,r)}}catch(e){}},setup(e){Z.set(e,!0)}},{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=(0,B.getCurrentScope)().getScopeData(),n=(0,B.getIsolationScope)().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:a}=(0,et.spanToJSON)(e);if(!(null==t?void 0:t.startsWith("gen_ai."))&&!n["ai.operationId"]&&!(null==a?void 0:a.startsWith("ai.")))return;e.setAttribute(ee.GEN_AI_CONVERSATION_ID_ATTRIBUTE,r)}})}},nt(),t9(),nb(),nk(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var n,r,a,i,o,l;let s,u,c,d;if(n=e,(r=t)&&(a=n,i=r,s=a.message,u=i.message,(s||u)&&(!s||u)&&(s||!u)&&s===u&&ea(a,i)&&er(a,i)&&1||(o=n,l=r,c=ei(l),d=ei(o),c&&d&&c.type===d.type&&c.value===d.value&&ea(o,l)&&er(o,l))))return z.DEBUG_BUILD&&M.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return t=e}},{name:"HttpContext",preprocessEvent(e){var t;if(!tc.navigator&&!tc.location&&!tc.document)return;let n=tp(),r={...n.headers,...null==(t=e.request)?void 0:t.headers};e.request={...n,...e.request,headers:r}},processSpan(e){var t;if(!tc.navigator&&!tc.location&&!tc.document)return;let n=tp();nd(e,{"user_agent.original":n.headers["User-Agent"],...e.is_segment&&{[tj]:(null==(t=e.attributes)?void 0:t["sentry.op"])!=="http.client"?t$(n.url):void 0,"http.request.header.referer":n.headers.Referer}})}},{name:"CultureContext",preprocessEvent(e){let t=nf();if(t){var n;e.contexts={...e.contexts,culture:{...t,...null==(n=e.contexts)?void 0:n.culture}}}},processSegmentSpan(e){let t=nf();t&&nd(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}},nu()]}var nq=e.i(271645);
48function nG(e){return(0,ew.isPlainObject)(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":nH(e)}let nV="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var nY=e.i(10008),nX=e.i(728469),nJ=e.i(373382);function nQ(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,et.getActiveSpan)(),a=r&&(0,et.getRootSpan)(r);a&&(z.DEBUG_BUILD&&M.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),a.addEvent(e,{[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:n}))}function nK(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],a=n[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof r&&"number"==typeof a&&(t[e.name]={value:a,unit:r})}),t}function nZ(){return(0,ed.getSentryCarrier)((0,ed.getMainCarrier)()).segmentSpanCaptureStrategy}class n0{addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?et.TRACE_FLAG_SAMPLED:et.TRACE_FLAG_NONE}}setAttribute(e,t){return this._frozen||(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE&&void 0!==t&&(0,nc.spanShouldInferOtelSource)(this)&&(0,nc.markSpanSourceAsExplicit)(this)),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=(0,et.spanTimeInputToSeconds)(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,(0,nc.spanShouldInferOtelSource)(this)||this.setAttribute(ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom")),this}end(e){if(this._endTime){this._frozen=(0,nc.spanIsTracerProviderSpan)(this);return}this._endTime=(0,et.spanTimeInputToSeconds)(e),function(e){if(!z.DEBUG_BUILD)return;let{description:t="< unknown name >",op:n="< unknown op >"}=(0,et.spanToJSON)(e),{spanId:r}=e.spanContext(),a=(0,et.getRootSpan)(e)===e,i=`[Tracing] Finishing "${n}" ${a?"root ":""}span "${t}" with ID ${r}`;M.debug.log(i)}(this),this._onSpanEnded(),this._frozen=(0,nc.spanIsTracerProviderSpan)(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,et.getStatusMessage)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[ee.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:nK(this._events),is_segment:this._isStandaloneSpan&&(0,et.getRootSpan)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,et.getRootSpan)(this).spanContext().spanId:void 0,links:(0,et.convertSpanLinksForEnvelope)(this._links)}}getStreamedSpanJSON(){var e,t;return{name:null!=(e=this._name)?e:"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:null!=(t=this._endTime)?t:this._startTime,is_segment:this._isStandaloneSpan||this===(0,et.getRootSpan)(this),status:(0,et.getSimpleStatus)(this._status),attributes:(0,et.addStatusMessageAttribute)(this._attributes,this._status),links:(0,et.getStreamedSpanLinks)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;z.DEBUG_BUILD&&M.debug.log("[Tracing] Adding an event to span:",e);let r=n1(t)?t:n||(0,ek.timestampInSeconds)(),a=n1(t)?{}:t||{},i={name:e,time:(0,et.spanTimeInputToSeconds)(r),attributes:a};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,B.getClient)();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));let t=(0,et.getRootSpan)(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=(0,B.getClient)();if(!t)return;let n=e[1];n&&0!==n.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(function(e,t){let n=(0,eu.getDynamicSamplingContextFromSpan)(e[0]),r=null==t?void 0:t.getDsn(),a=null==t?void 0:t.getOptions().tunnel,i={sent_at:new Date((0,ef.safeDateNow)()).toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!a&&r&&{dsn:(0,el.dsnToString)(r)}},{beforeSendSpan:o,ignoreSpans:l}=(null==t?void 0:t.getOptions())||{},s=(null==l?void 0:l.length)?e.filter(e=>{let t=(0,et.spanToJSON)(e);return!eE({description:t.description,op:t.op,attributes:t.data},l)}):e,u=e.length-s.length;u&&(null==t||t.recordDroppedEvent("before_send","span",u));let c=o?e=>{let t=(0,et.spanToJSON)(e),n=ec(o)?t:o(t);return n||((0,et.showSpanDropWarning)(),t)}:et.spanToJSON,d=[];for(let e of s){let t=c(e);t&&d.push([{type:"span"},t])}return ep(i,d)}([this],e)):(z.DEBUG_BUILD&&M.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(!n){let e=nZ();if(e){let n=(0,nc.getCapturedScopesOnSpan)(this).scope||(0,B.getCurrentScope)();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&eI(e))return void e.emit("afterSegmentSpanEnd",this);let r=(0,nc.getCapturedScopesOnSpan)(this).scope||(0,B.getCurrentScope)(),a=nZ();if(a)a.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(){var e,t,n,r,a;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!n2((0,et.spanToJSON)(this)))return;this._name||(z.DEBUG_BUILD&&M.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:o,isolationScope:l}=(0,nc.getCapturedScopesOnSpan)(this),s=null==o||null==(e=o.getScopeData().sdkProcessingMetadata)?void 0:e.normalizedRequest;if(!0!==this._sampled)return;null==(t=i.onSpanCaptured)||t.call(i,this);let u=[];for(let e of(0,et.getSpanDescendants)(this)){if(e===this||(a=e)instanceof n0&&a.isStandaloneSpan()||(null==(n=i.isSpanAlreadyCaptured)?void 0:n.call(i,e)))continue;let t=(0,et.spanToJSON)(e);n2(t)&&(null==(r=i.onSpanCaptured)||r.call(i,e),u.push(t))}let c=this._attributes[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[ee.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];let d=!1;
48u.forEach(e=>{var t;delete e.data[ee.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],(null==(t=e.op)?void 0:t.startsWith("gen_ai."))&&(d=!0)});let f={contexts:{trace:(0,et.spanToTransactionTraceContext)(this)},spans:u.length>1e3?u.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):u,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:o,capturedSpanIsolationScope:l,dynamicSamplingContext:(0,eu.getDynamicSamplingContextFromSpan)(this),hasGenAiSpans:d},request:s,...c&&{transaction_info:{source:c}}},p=nK(this._events);return p&&Object.keys(p).length&&(z.DEBUG_BUILD&&M.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(p,void 0,2)),f.measurements=p),f}constructor(e={}){this._traceId=e.traceId||(0,nJ.generateTraceId)(),this._spanId=e.spanId||(0,nJ.generateSpanId)(),this._startTime=e.startTimestamp||(0,ek.timestampInSeconds)(),this._links=e.links,this._attributes={},this.setAttributes({[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}}function n1(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function n2(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}var n3=e.i(776710),n4=e.i(301263),n5=e.i(602309);e.i(450574);var n8=e.i(132584);function n6(e){let t=re();return t.startInactiveSpan?t.startInactiveSpan(e):function(e){let t=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=(0,et.spanTimeInputToSeconds)(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>(0,B.withScope)(e.scope,t):void 0!==r?e=>n7(r,e):e=>e())(()=>{var a,i;let o,l=(0,B.getCurrentScope)(),s=function(e,t){if(t)return t;if(null===t)return;let n=(0,eT._getSpanForScope)(e);if(!n)return;let r=(0,B.getClient)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,et.getRootSpan)(n):n}(l,r),u=(0,B.getClient)();return e.onlyIfParent&&!s?(a=l,null==(i=u)||i.recordDroppedEvent("no_parent_span","span"),o=new nX.SentryNonRecordingSpan({traceId:a.getPropagationContext().traceId}),(0,nc.setCapturedScopesOnSpan)(o,a,(0,B.getIsolationScope)()),o):function(e){var t,n,r,a;let i,o,{parentSpan:l,spanArguments:s,forceTransaction:u,scope:c}=e,d=(0,B.getIsolationScope)();if(!(0,nY.hasSpansEnabled)()){let e=c.getPropagationContext(),t=l?l.spanContext().traceId:e.traceId,n=new nX.SentryNonRecordingSpan({traceId:t});return l&&!u&&(0,et.addChildSpanToSpan)(l,n),(0,nc.setCapturedScopesOnSpan)(n,c,d),n}let f=(0,B.getClient)();if(t=f,n=s,i=null==t?void 0:t.getOptions().ignoreSpans,t&&eI(t)&&(null==i?void 0:i.length)&&eE({description:n.name||"",op:(null==(r=n.attributes)?void 0:r[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP])||n.op,attributes:n.attributes},i)){n9(c)||null==f||f.recordDroppedEvent("ignored","span");let e=new nX.SentryNonRecordingSpan({dropReason:"ignored",traceId:null!=(a=null==l?void 0:l.spanContext().traceId)?a:c.getPropagationContext().traceId});return l&&!u&&(0,et.addChildSpanToSpan)(l,e),(0,nc.setCapturedScopesOnSpan)(e,c,d),e}if(l&&!u)o=function(e,t,n,r){let{spanId:a,traceId:i}=e.spanContext(),o=n9(t),l=!o&&(0,et.spanIsSampled)(e),s=l?new n0({...n,parentSpanId:a,traceId:i,sampled:l}):new nX.SentryNonRecordingSpan({traceId:i});(0,et.addChildSpanToSpan)(e,s),(0,nc.setCapturedScopesOnSpan)(s,t,r);let u=(0,B.getClient)();return u&&(eI(u)&&(0,nX.spanIsNonRecordingSpan)(s)&&((0,nX.spanIsNonRecordingSpan)(e)&&e.dropReason?(s.dropReason=e.dropReason,u.recordDroppedEvent(e.dropReason,"span")):o||(s.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",s),n.endTimestamp&&(u.emit("spanEnd",s),u.emit("afterSpanEnd",s))),s}(l,c,s,d),(0,et.addChildSpanToSpan)(l,o);else if(l){let e=(0,eu.getDynamicSamplingContextFromSpan)(l),{traceId:t,spanId:n}=l.spanContext(),r=(0,et.spanIsSampled)(l);o=rt({traceId:t,parentSpanId:n,...s},c,d,r),(0,eu.freezeDscOnSpan)(o,e)}else{let{traceId:e,dsc:t,parentSpanId:n,sampled:r}=c.getPropagationContext();o=rt({traceId:e,parentSpanId:n,...s},c,d,r),t&&(0,eu.freezeDscOnSpan)(o,t)}return!function(e){if(!z.DEBUG_BUILD)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,et.spanToJSON)(e),{spanId:a}=e.spanContext(),i=(0,et.spanIsSampled)(e),o=(0,et.getRootSpan)(e),l=o===e,s=`[Tracing] Starting ${i?"sampled":"unsampled"} ${l?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${a}`];if(r&&u.push(`parent ID: ${r}`),!l){let{op:e,description:t}=(0,et.spanToJSON)(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}M.debug.log(`${s} 49 ${u.join("\n ")}`)}(o),o}({parentSpan:s,spanArguments:t,forceTransaction:n,scope:l})})}(e)}function n7(e,t){let n=re();return n.withActiveSpan?n.withActiveSpan(e,t):(0,B.withScope)(n=>((0,eT._setSpanForScope)(n,e||void 0),t(n)))}function n9(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,B.getCurrentScope)(),t=re();return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function re(){let e=(0,ed.getMainCarrier)();return(0,n4.getAsyncContextStrategy)(e)}function rt(e,t,n,r){var a,i;let o=(0,B.getClient)(),l=(null==o?void 0:o.getOptions())||{},{name:s=""}=e,u={spanAttributes:{...e.attributes},spanName:s,parentSampled:r};null==o||o.emit("beforeSampling",u,{decision:!1});let c=null!=(a=u.parentSampled)?a:r,d=u.spanAttributes,f=t.getPropagationContext(),p=n9(t),[h,m,g]=p?[!1]:function(e,t,n){let r,a;
49if(!(0,nY.hasSpansEnabled)(e))return[!1];"function"==typeof e.tracesSampler?(r=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),a=!0):void 0!==t.parentSampled?r=t.parentSampled:void 0!==e.tracesSampleRate&&(r=e.tracesSampleRate,a=!0);let i=(0,ez.parseSampleRate)(r);if(void 0===i)return z.DEBUG_BUILD&&M.debug.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!i)return z.DEBUG_BUILD&&M.debug.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,a];let o=n<i;return!o&&z.DEBUG_BUILD&&M.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[o,i,a]}(l,{name:s,parentSampled:c,attributes:d,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:(0,ez.parseSampleRate)(null==(i=f.dsc)?void 0:i.sample_rate)},f.sampleRand),v=new n0({...e,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[ee.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==m&&g?m:void 0,...d},sampled:h});return h||!o||p||(z.DEBUG_BUILD&&M.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate",eI(o)?"span":"transaction")),(0,nc.setCapturedScopesOnSpan)(v,t,n),o&&o.emit("spanStart",v),v}function rn(e){return(0,nX.spanIsNonRecordingSpan)(e)&&"ignored"===e.dropReason}let rr={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function ra(e){let t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new Map,o=!1,l="externalFinish",s=!a.disableAutoFinish,u=[],{idleTimeout:c=rr.idleTimeout,finalTimeout:d=rr.finalTimeout,childSpanTimeout:f=rr.childSpanTimeout,beforeSpanEnd:p,trimIdleSpanEndTimestamp:h=!0}=a,m=(0,B.getClient)(),g=(0,B.getCurrentScope)();if(!m||!(0,nY.hasSpansEnabled)()){let e=new nX.SentryNonRecordingSpan({traceId:g.getPropagationContext().traceId});return(0,nc.setCapturedScopesOnSpan)(e,g,(0,B.getIsolationScope)()),e}let v=(0,et.getActiveSpan)(),y=(t=n6(e),(0,eT._setSpanForScope)((0,B.getCurrentScope)(),t),z.DEBUG_BUILD&&M.debug.log("[Tracing] Started span is an idle span"),t);function b(){n&&(clearTimeout(n),n=void 0)}function _(){r&&(clearTimeout(r),r=void 0)}function S(e){b(),n=setTimeout(()=>{!o&&0===i.size&&s&&(l="idleTimeout",y.end(e))},c)}function E(e){_(),r=setTimeout(()=>{!o&&s&&(l="heartbeatFailed",y.end(e))},f)}function w(e){o=!0,i.clear(),u.forEach(e=>e()),(0,eT._setSpanForScope)(g,v);let t=(0,et.spanToJSON)(y),{start_timestamp:n}=t;if(!n)return;t.data[ee.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||y.setAttribute(ee.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,l);let r=t.status;r&&"unknown"!==r||y.setStatus({code:n3.SPAN_STATUS_OK}),M.debug.log(`[Tracing] Idle span "${t.op}" finished`);let a=(0,et.getSpanDescendants)(y).filter(e=>e!==y),s=0;a.forEach(t=>{t.isRecording()&&(t.setStatus({code:n3.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),z.DEBUG_BUILD&&M.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,et.spanToJSON)(t),a=r<=e,i=n-r<=(d+c)/1e3;if(z.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);a?i||M.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):M.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!i||!a)&&((0,et.removeChildSpanFromSpan)(y,t),s++)}),s>0&&y.setAttribute("sentry.idle_span_discarded_spans",s)}return y.end=new Proxy(y.end,{apply(e,t,n){if(p&&p(y),(0,nX.spanIsNonRecordingSpan)(t))return;let[r,...a]=n,i=r||(0,ek.timestampInSeconds)(),o=(0,et.spanTimeInputToSeconds)(i),l=(0,et.getSpanDescendants)(y).filter(e=>e!==y),s=(0,et.spanToJSON)(y);if(!l.length||!h)return w(o),Reflect.apply(e,t,[o,...a]);let u=m.getOptions().ignoreSpans,c=null==l?void 0:l.reduce((e,t)=>
49{let n=(0,et.spanToJSON)(t);return!n.timestamp||u&&eE({description:n.description,op:n.op,attributes:n.data},u)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),f=s.start_timestamp,g=Math.min(f?f+d/1e3:1/0,Math.max(f||-1/0,Math.min(o,c||1/0)));return w(g),Reflect.apply(e,t,[g,...a])}}),u.push(m.on("spanStart",e=>{var t;!(o||e===y||(0,et.spanToJSON)(e).timestamp||e instanceof n0&&e.isStandaloneSpan())&&(0,et.getSpanDescendants)(y).includes(e)&&(t=e.spanContext().spanId,b(),i.set(t,!0),E((0,ek.timestampInSeconds)()+f/1e3))})),u.push(m.on("spanEnd",e=>{if(!o){var t;t=e.spanContext().spanId,i.has(t)&&i.delete(t),0===i.size&&(S((0,ek.timestampInSeconds)()+c/1e3),_())}})),u.push(m.on("idleSpanEnableAutoFinish",e=>{e===y&&(s=!0,S(),i.size&&E())})),a.disableAutoFinish||S(),setTimeout(()=>{o||(y.setStatus({code:n3.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),l="finalTimeout",y.end())},d),y}let ri=!1,ro=(e,t,n,r)=>{let a,i;return o=>{if(t.value>=0&&(o||r)&&((i=t.value-(null!=a?a:0))||void 0===a)){var l;a=t.value,t.delta=i,l=t.value,t.rating=l>n[1]?"poor":l>n[0]?"needs-improvement":"good",e(t)}}},rl=function(){var e,t;let n=!(arguments.length>0)||void 0===arguments[0]||arguments[0],r=null==(t=tJ.performance)||null==(e=t.getEntriesByType)?void 0:e.call(t,"navigation")[0];if(!n||r&&r.responseStart>0&&r.responseStart<performance.now())return r},rs=()=>{var e;let t=rl();return null!=(e=null==t?void 0:t.activationStart)?e:0},ru=-1,rc=new Set,rd=e=>{var t;if(("pagehide"===e.type||(null==(t=tJ.document)?void 0:t.visibilityState)==="hidden")&&ru>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of rc)e();isFinite(ru)||(ru="visibilitychange"===e.type?e.timeStamp:0,no("prerenderingchange",rd,!0))}},rf=()=>{if(tJ.document&&ru<0){var e,t,n;let r=rs(),a=tJ.document.prerendering||null==(e=globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>r)[0])?void 0:e.startTime;ru=null!=a?a:(null==(t=tJ.document)?void 0:t.visibilityState)!=="hidden"||(null==(n=tJ.document)?void 0:n.prerendering)?1/0:0,ni("visibilitychange",rd,!0),ni("pagehide",rd,!0),ni("prerenderingchange",rd,!0)}return{get firstHiddenTime(){return ru},onHidden(e){rc.add(e)}}},rp=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=rl(),r="navigate";if(n){var a,i;(null==(a=tJ.document)?void 0:a.prerendering)||rs()>0?r="prerender":(null==(i=tJ.document)?void 0:i.wasDiscarded)?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))}return{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:r}},rh=new WeakMap;function rm(e,t){try{return rh.get(e)||rh.set(e,new t),rh.get(e)}catch(e){return new t}}class rg{_processEntry(e){var t;if(e.hadRecentInput)return;let n=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&r&&e.startTime-r.startTime<1e3&&e.startTime-n.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),null==(t=this._onAfterProcessingUnexpectedShift)||t.call(this,e)}constructor(){this._sessionValue=0,this._sessionEntries=[]}}let rv=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch(e){}},ry=e=>{var t;(null==(t=tJ.document)?void 0:t.prerendering)?addEventListener("prerenderingchange",()=>e(),!0):e()},rb=[1800,3e3],r_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ry(()=>{let n,r=rf(),a=rp("FCP"),i=rv("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(i.disconnect(),t.startTime<r.firstHiddenTime&&(a.value=Math.max(t.startTime-rs(),0),a.entries.push(t),n(!0)))});i&&(n=ro(e,a,rb,t.reportAllChanges))})},rS=[.1,.25],rE=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r_(nl(()=>{let n,r=rp("CLS",0),a=rf(),i=rm(t,rg),o=e=>{for(let t of e)i._processEntry(t);i._sessionValue>r.value&&(r.value=i._sessionValue,r.entries=i._sessionEntries,n())},l=rv("layout-shift",o);if(l){var s;n=ro(e,r,rS,t.reportAllChanges),a.onHidden(()=>{o(l.takeRecords()),n(!0)}),null==tJ||null==(s=tJ.setTimeout)||s.call(tJ,n)}}))},rw=0,rT=1/0,rk=0,rR=e=>
49{e.forEach(e=>{e.interactionId&&(rT=Math.min(rT,e.interactionId),rw=(rk=Math.max(rk,e.interactionId))?(rk-rT)/7+1:0)})},rx=()=>i?rw:performance.interactionCount||0,rC=0;class rP{_resetInteractions(){rC=rx(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((rx()-rC)/50));return this._longestInteractionList[e]}_processEntry(e){var t,n;if(null==(t=this._onBeforeProcessingEntry)||t.call(this,e),!(e.interactionId||"first-input"===e.entryType))return;let r=this._longestInteractionList.at(-1),a=this._longestInteractionMap.get(e.interactionId);if(a||this._longestInteractionList.length<10||e.duration>r._latency){if(a?e.duration>a._latency?(a.entries=[e],a._latency=e.duration):e.duration===a._latency&&e.startTime===a.entries[0].startTime&&a.entries.push(e):(a={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(a.id,a),this._longestInteractionList.push(a)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);null==(n=this._onAfterProcessingINPCandidate)||n.call(this,a)}}constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}}let rO=[200,500],rN=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let n=rf();ry(()=>{var r;let a;"interactionCount"in performance||i||(i=rv("event",rR,{type:"event",buffered:!0,durationThreshold:0}));let o=rp("INP"),l=rm(t,rP),s=e=>{ns(()=>{for(let t of e)l._processEntry(t);let t=l._estimateP98LongestInteraction();t&&t._latency!==o.value&&(o.value=t._latency,o.entries=t.entries,a())})},u=rv("event",s,{durationThreshold:null!=(r=t.durationThreshold)?r:40});a=ro(e,o,rO,t.reportAllChanges),u&&(u.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{s(u.takeRecords()),a(!0)}))})};class rI{_processEntry(e){var t;null==(t=this._onBeforeProcessingEntry)||t.call(this,e)}}let rA=[2500,4e3],rM=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ry(()=>{let n,r=rf(),a=rp("LCP"),i=rm(t,rI),o=e=>{for(let o of(t.reportAllChanges||(e=e.slice(-1)),e))o&&(i._processEntry(o),o.startTime<r.firstHiddenTime&&(a.value=Math.max(o.startTime-rs(),0),a.entries=[o],n()))},l=rv("largest-contentful-paint",o);if(l){n=ro(e,a,rA,t.reportAllChanges);let r=nl(()=>{o(l.takeRecords()),l.disconnect(),n(!0)}),i=e=>{e.isTrusted&&(ns(r),no(e.type,i,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])ni(e,i,{capture:!0})}})},rL=[800,1800],rD=e=>{var t,n;(null==(t=tJ.document)?void 0:t.prerendering)?ry(()=>rD(e)):(null==(n=tJ.document)?void 0:n.readyState)!=="complete"?addEventListener("load",()=>rD(e),!0):setTimeout(e)},rj=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=rp("TTFB"),r=ro(e,n,rL,t.reportAllChanges);rD(()=>{let e=rl();e&&(n.value=Math.max(e.responseStart-rs(),0),n.entries=[e],r(!0))})},rU={},rB={};function rz(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return rX("cls",e,rq,o,t)}function rF(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return rX("lcp",e,rG,l,t)}function r$(e){return rX("inp",e,rY,u)}function rH(e,t){var n;let r;return rJ(e,t),rB[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),rv(n,e=>{rW(n,{entries:e})},r),rB[e]=!0),rQ(e,t)}function rW(e,t){let n=rU[e];if(null==n?void 0:n.length)for(let r of n)try{r(t)}catch(t){nj&&M.debug.error(`Error while triggering instrumentation handler. 50Type: ${e} 51Name: ${(0,en.getFunctionName)(r)} 52Error:`,t)}}function rq(){return rE(e=>{rW("cls",{metric:e}),o=e},{reportAllChanges:!0})}function rG(){return rM(e=>{rW("lcp",{metric:e}),l=e},{reportAllChanges:!0})}function rV(){return rj(e=>{rW("ttfb",{metric:e}),s=e})}function rY(){return rN(e=>{rW("inp",{metric:e}),u=e})}function rX(e,t,n,r){let a,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return rJ(e,t),rB[e]||(a=n(),rB[e]=!0),r&&t({metric:r}),rQ(e,t,i?a:void 0)}function rJ(e,t){rU[e]=rU[e]||[],rU[e].push(t)}function rQ(e,t,n){return()=>{n&&n();let r=rU[e];if(!r)return;let a=r.indexOf(t);-1!==a&&r.splice(a,1)}}function rK(e){return"number"==typeof e&&isFinite(e)}function rZ(e,t,n,r){let{...a}=r,i=(0,et.spanToJSON)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),n7(e,()=>{let e=n6({startTime:t,...a});return e&&e.end(n),e})}function r0(e){var t;let n,r=(0,B.getClient)();if(!r)return;let{name:a,transaction:i,attributes:o,startTime:l}=e,{release:s,environment:u}=r.getOptions(),{userInfo:c}=r.getDataCollectionOptions(),d=r.getIntegrationByName("Replay"),f=null==d?void 0:d.getReplayId(),p=(0,B.getCurrentScope)(),h=p.getUser(),m=void 0!==h?h.email||h.id||h.ip_address:void 0;try{n=p.getScopeData().contexts.profile.profile_id}catch(e){}return n6({name:a,attributes:{release:s,environment:u,user:m||void 0,profile_id:n||void 0,replay_id:f||void 0,transaction:i,"user_agent.original":null==(t=tJ.navigator)?void 0:t.userAgent,"client.address":c?"{{auto}}":void 0,...o},startTime:l,experimental:{standalone:!0}})}function r1(){return tJ.addEventListener&&tJ.performance}function r2(e){return e/1e3}function r3(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch(e){return!1}}function r4(e,t){let n,r,a=!1;function i(e){!a&&r&&t(e,r.spanContext().spanId,r),a=!0}ni("visibilitychange",n=e=>{var t;("pagehide"===e.type||(null==(t=tJ.document)?void 0:t.visibilityState)==="hidden")&&(()=>{i("pagehide")})()},{capture:!0,once:!0}),ni("pagehide",n,{capture:!0,once:!0});let o=e.on("beforeStartNavigationSpan",(e,t)=>{(null==t?void 0:t.isRedirect)||(i("navigation"),o(),l())}),l=e.on("afterStartPageLoadSpan",e=>{r=e,l()})}function r5(e){return null!=e&&e>0&&e<=6e4}function r8(e){return e?(((0,ek.browserPerformanceTimeOrigin)()||performance.timeOrigin)+e)/1e3:e}function r6(e){var t;let n={};
52if(void 0!=e.nextHopProtocol){let{name:t,version:r}=function(e){let t="unknown",n="unknown",r="";for(let a of e){if("/"===a){[t,n]=e.split("/");break}if(!isNaN(Number(a))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=a}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);n["network.protocol.version"]=r,n["network.protocol.name"]=t}return(0,ek.browserPerformanceTimeOrigin)()||(null==(t=r1())?void 0:t.timeOrigin)?Object.fromEntries(Object.entries({...n,"http.request.redirect_start":r8(e.redirectStart),"http.request.redirect_end":r8(e.redirectEnd),"http.request.worker_start":r8(e.workerStart),"http.request.fetch_start":r8(e.fetchStart),"http.request.domain_lookup_start":r8(e.domainLookupStart),"http.request.domain_lookup_end":r8(e.domainLookupEnd),"http.request.connect_start":r8(e.connectStart),"http.request.secure_connection_start":r8(e.secureConnectionStart),"http.request.connection_end":r8(e.connectEnd),"http.request.request_start":r8(e.requestStart),"http.request.response_start":r8(e.responseStart),"http.request.response_end":r8(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(e=>{let[,t]=e;return null!=t})):n}let r7=0,r9={};function ae(){c=void 0,d=void 0,r9={}}function at(e,t,n,r){var a;let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n,o=t["secureConnection"===(a=n)?"connectEnd":"fetch"===a?"domainLookupStart":`${a}End`],l=t[`${n}Start`];l&&o&&rZ(e,r+r2(l),r+r2(o),{op:`browser.${i}`,name:t.name,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}let an=new WeakMap,ar=new WeakMap,aa=["text/event-stream","application/x-ndjson","application/stream+json"],ai=[],ao=new Map,al=new Map,as={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},au=e=>{let{metric:t}=e;if(void 0==t.value)return;let n=r2(t.value);if(n>60)return;let r=t.entries.find(e=>e.duration===t.value&&as[e.name]);if(!r)return;let{interactionId:a}=r,i=as[r.name],o=r2((0,ek.browserPerformanceTimeOrigin)()+r.startTime),l=(0,et.getActiveSpan)(),s=l?(0,et.getRootSpan)(l):void 0,u=null!=a?ao.get(a):void 0,c=(null==u?void 0:u.span)||s,d=c?(0,et.spanToJSON)(c).description:(0,B.getCurrentScope)().getScopeData().transactionName,f=r0({name:(null==u?void 0:u.elementName)||t6(r.target),transaction:d,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${i}`,[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:r.duration},startTime:o});f&&(f.addEvent("inp",{[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t.value}),f.end(o+n))};function ac(e){var t,n;let{name:r,op:a,origin:i,metricName:o,value:l,attributes:s,parentSpan:u,reportEvent:c,startTime:d,endTime:f}=e,p=(0,B.getCurrentScope)().getScopeData().transactionName,h={[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:i,[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:a,[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,[`browser.web_vital.${o}.value`]:l,[tD]:p,[tL]:p,"user_agent.original":null==(t=tJ.navigator)?void 0:t.userAgent,...s};u&&(null==(n=(0,et.spanToStreamedSpanJSON)(u).attributes)?void 0:n[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP])==="pageload"&&(h["sentry.pageload.span_id"]=u.spanContext().spanId),c&&(h[`browser.web_vital.${o}.report_event`]=c);let m=n6({name:r,attributes:h,startTime:d,parentSpan:u});m&&m.end(null!=f?f:d)}let ad="WebVitals",af=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new Set(null!=(e=t.ignore)?e:[]);return{name:ad,setup(e){var r;let a=eI(e),{enableStandaloneClsSpans:i,enableStandaloneLcpSpans:o}=null!=(r=t._experiments)?r:{},l=a||n.has("cls")?void 0:i||!1,u=a||n.has("lcp")?void 0:o||!1,f=function(e){let{recordClsStandaloneSpans:t,recordLcpStandaloneSpans:n,client:r}=e,a=r1();if(a&&(0,ek.browserPerformanceTimeOrigin)()){a.mark&&tJ.performance.mark("sentry-tracing-init");let e=n?function(e){let t,n=0;if(!r3("largest-contentful-paint"))return;let r=rF(e=>{let{metric:r}=e,a=r.entries[r.entries.length-1];a&&r5(r.value)&&(n=r.value,t=a)},!0);r4(e,(e,a)=>{(function(e,t,n,r){if(!r5(e))return;nj&&M.debug.log(`Sending LCP span (${e})`);let a=r2(((0,ek.browserPerformanceTimeOrigin)()||0)+((null==t?void 0:t.startTime)||0)),i=(0,B.getCurrentScope)().getScopeData().transactionName,o=t?t6(t.element):"Largest contentful paint",l={[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(l["lcp.element"]=t6(t.element)),t.id&&(l["lcp.id"]=t.id),t.url&&(l["lcp.url"]=t.url),null!=t.loadTime&&(l["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(l["lcp.renderTime"]=t.renderTime),null!=t.size&&(l["lcp.size"]=t.size));let s=r0({name:o,transaction:i,attributes:l,startTime:a});s&&(s.addEvent("lcp",{[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),s.end(a))})(n,t,a,e),r()})}(r):!1===n?rF(e=>{let{metric:t}=e,n=t.entries[t.entries.length-1];n&&r5(t.value)&&(r9.lcp={value:t.value,unit:"millisecond"},c=n)},!0):void 0,i=t?function(e){let t,n=0;if(!r3("layout-shift"))return;let r=rz(e=>{let{metric:r}=e,a=r.entries[r.entries.length-1];a&&(n=r.value,t=a)},!0);r4(e,(e,a)=>{var i,o,l,s,u;
52let c,d,f,p,h;i=n,o=t,l=a,s=e,nj&&M.debug.log(`Sending CLS span (${i})`),c=o?r2(((0,ek.browserPerformanceTimeOrigin)()||0)+o.startTime):(0,ek.timestampInSeconds)(),d=(0,B.getCurrentScope)().getScopeData().transactionName,f=o?t6(null==(u=o.sources[0])?void 0:u.node):"Layout shift",p={[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":l,"sentry.report_event":s},(null==o?void 0:o.sources)&&o.sources.forEach((e,t)=>{p[`cls.source.${t+1}`]=t6(e.node)}),(h=r0({name:f,transaction:d,attributes:p,startTime:c}))&&(h.addEvent("cls",{[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[ee.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:i}),h.end(c)),r()})}(r):!1===t?rz(e=>{let{metric:t}=e,n=t.entries[t.entries.length-1];n&&(r9.cls={value:t.value,unit:""},d=n)},!0):void 0,o=rX("ttfb",e=>{let{metric:t}=e;t.entries[t.entries.length-1]&&(r9.ttfb={value:t.value,unit:"millisecond"})},rV,s),l=rH("paint",e=>{let{entries:t}=e,n=rf();for(let e of t){let t=e.startTime<n.firstHiddenTime;"first-paint"===e.name&&t&&(r9.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&t&&(r9.fcp={value:e.startTime,unit:"millisecond"})}});return()=>{o(),l(),null==e||e(),null==i||i()}}return()=>void 0}({recordClsStandaloneSpans:l,recordLcpStandaloneSpans:u,client:e}),p=new WeakSet;e.on("afterStartPageLoadSpan",e=>{p.add(e)}),e.on("spanEnd",e=>{p.delete(e)&&(f(),function(e,t){var n,r,a;let i=(0,ek.browserPerformanceTimeOrigin)();if(!(null==(n=r1())?void 0:n.getEntries)||!i)return ae();let{spanStreamingEnabled:o,recordClsOnPageloadSpan:l,recordLcpOnPageloadSpan:s}=t,u=r2(i);if("pageload"===(0,et.spanToJSON)(e).op){if(function(e){let t=rl(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(r9),o){let t=(t,n,r)=>{let a=null!=r?r:`browser.web_vital.${t}.value`;e.setAttribute(a,n),nj&&M.debug.log("Setting web vital attribute",{[a]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{r9[e]&&t(e,r9[e].value)}),r9["ttfb.requestTime"]&&t("ttfb.requestTime",r9["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else{l||delete r9.cls,s||delete r9.lcp,Object.entries(r9).forEach(t=>{let[n,r]=t;nQ(n,r.value,r.unit,e)}),r=e,a=t,c&&a.recordLcpOnPageloadSpan&&(c.element&&r.setAttribute("lcp.element",t6(c.element)),c.id&&r.setAttribute("lcp.id",c.id),c.url&&r.setAttribute("lcp.url",c.url.trim().slice(0,200)),null!=c.loadTime&&r.setAttribute("lcp.loadTime",c.loadTime),null!=c.renderTime&&r.setAttribute("lcp.renderTime",c.renderTime),r.setAttribute("lcp.size",c.size)),(null==d?void 0:d.sources)&&a.recordClsOnPageloadSpan&&d.sources.forEach((e,t)=>r.setAttribute(`cls.source.${t+1}`,t6(e.node)))}e.setAttribute(o?"browser.performance.time_origin":"performance.timeOrigin",u),e.setAttribute(o?"browser.performance.navigation.activation_start":"performance.activationStart",rs())}ae()}(e,{recordClsOnPageloadSpan:!1===l,recordLcpOnPageloadSpan:!1===u,spanStreamingEnabled:a}))}),a?(n.has("lcp")||function(e){let t,n=0;if(!r3("largest-contentful-paint"))return;let r=rF(e=>{let{metric:r}=e,a=r.entries[r.entries.length-1];a&&r5(r.value)&&(n=r.value,t=a)},!0);r4(e,(e,a,i)=>{(function(e,t,n,r){if(!r5(e))return;nj&&M.debug.log(`Sending LCP span (${e})`);let a=(0,ek.browserPerformanceTimeOrigin)()||0,i=r2(a),o=r2(a+((null==t?void 0:t.startTime)||0)),l=t?t6(t.element):"Largest contentful paint",s={};(null==t?void 0:t.element)&&(s["browser.web_vital.lcp.element"]=t6(t.element)),(null==t?void 0:t.id)&&(s["browser.web_vital.lcp.id"]=t.id),(null==t?void 0:t.url)&&(s["browser.web_vital.lcp.url"]=t.url),(null==t?void 0:t.loadTime)!=null&&(s["browser.web_vital.lcp.load_time"]=t.loadTime),(null==t?void 0:t.renderTime)!=null&&(s["browser.web_vital.lcp.render_time"]=t.renderTime),(null==t?void 0:t.size)!=null&&(s["browser.web_vital.lcp.size"]=t.size),ac({name:l,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:s,parentSpan:n,reportEvent:r,startTime:i,endTime:o})})(n,t,i,e),r()})}(e),n.has("cls")||function(e){let t,n=0;if(!r3("layout-shift"))return;let r=rz(e=>{let{metric:r}=e,a=r.entries[r.entries.length-1];a&&(n=r.value,t=a)},!0);r4(e,(e,a,i)=>{var o,l,s,u,c;let d,f,p;o=n,l=t,s=i,u=e,nj&&M.debug.log(`Sending CLS span (${o})`),d=l?r2(((0,ek.browserPerformanceTimeOrigin)()||0)+l.startTime):(0,ek.timestampInSeconds)(),f=l?t6(null==(c=l.sources[0])?void 0:c.node):"Layout shift",p={}
52,(null==l?void 0:l.sources)&&l.sources.forEach((e,t)=>{p[`browser.web_vital.cls.source.${t+1}`]=t6(e.node)}),ac({name:f,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:o,attributes:p,parentSpan:s,reportEvent:u,startTime:d}),r()})}(e),!n.has("inp")&&r1()&&(0,ek.browserPerformanceTimeOrigin)()&&r$(e=>{var t,n,r;let a,i,o,l,s,u,c,d,{metric:f}=e;if(null==f.value||r2(f.value)>60)return;let p=f.entries.find(e=>e.duration===f.value&&as[e.name]);p&&(t=f.value,n=p,nj&&M.debug.log(`Sending INP span (${t})`),a=r2((0,ek.browserPerformanceTimeOrigin)()+n.startTime),i=r2(t),o=as[n.name],l=null!=(r=n.interactionId)?ao.get(r):void 0,u=(s=(0,et.getActiveSpan)())?(0,et.getRootSpan)(s):void 0,d=(c=(null==l?void 0:l.span)||u)?(0,et.spanToStreamedSpanJSON)(c).name:(0,B.getCurrentScope)().getScopeData().transactionName,ac({name:(null==l?void 0:l.elementName)||t6(n.target),op:`ui.interaction.${o}`,origin:"auto.http.browser.inp",metricName:"inp",value:t,attributes:{[ee.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:n.duration,[tD]:d,[tL]:d},startTime:a,endTime:a+i,parentSpan:c}))})):n.has("inp")||function(){if(r1()&&(0,ek.browserPerformanceTimeOrigin)()){let e=r$(au);()=>{e()}}}()},afterAllSetup(){n.has("inp")||function(){let e=Object.keys(as);function t(e){let t=e.target;if(!t)return;let n=t6(t),r=Math.round(e.timeStamp);if(al.set(r,n),al.size>50){let e=al.keys().next().value;void 0!==e&&al.delete(e)}}eR()&&e.forEach(e=>{tJ.addEventListener(e,t,{capture:!0,passive:!0})});let n=e=>{let{entries:t}=e,n=(0,et.getActiveSpan)(),r=n&&(0,et.getRootSpan)(n);t.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||ao.has(t))return;let n=e.target?t6(e.target):function(e){let t=Math.round(e.startTime),n=al.get(t);if(!n)for(let e=-5;e<=5;e++){let r=al.get(t+e);if(r){n=r;break}}return n||"<unknown>"}(e);if(ai.length>10){let e=ai.shift();ao.delete(e)}ai.push(t),ao.set(t,{span:r,elementName:n})})};rH("event",n),rH("first-input",n)}()}}},ap="sentry_previous_trace";function ah(e){return 1===e.traceFlags}function am(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.client||(0,B.getClient)();if(!(0,U.isEnabled)()||!t)return{};let n=(0,ed.getMainCarrier)(),r=(0,n4.getAsyncContextStrategy)(n);if(r.getTraceData)return r.getTraceData(e);let a=e.scope||(0,B.getCurrentScope)(),i=e.span||(0,et.getActiveSpan)(),o=(0,nX.spanIsNonRecordingSpan)(i)&&!(0,nY.hasSpansEnabled)(t.getOptions());if(!i&&(0,B.hasExternalPropagationContext)())return{};let l=i&&!o?(0,et.spanToTraceHeader)(i):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,n8.generateSentryTraceHeader)(t,r,n)}(a),s=i?(0,eu.getDynamicSamplingContextFromSpan)(i):(0,eu.getDynamicSamplingContextFromScope)(t,a),u=(0,n5.dynamicSamplingContextToSentryBaggageHeader)(s);if(!n8.TRACEPARENT_REGEXP.test(l))return M.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let c={"sentry-trace":l,baggage:u};return e.propagateTraceparent&&(c.traceparent=i&&!o?(0,et.spanToTraceparentHeader)(i):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,n8.generateTraceparentHeader)(t,r,n)}(a)),c}function ag(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(n5.SENTRY_BAGGAGE_KEY_PREFIX))}function av(e,t,n,r,a){let i={url:t$(tX(e),a),type:"fetch","http.method":n,[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return t&&(tW(t)||(i[tM]=t$(tX(t.href),a),i[tj]=t$(tX(t.href),a),i["server.address"]=t.host),t.search&&(i["http.query"]=tH(t.search,a)),t.hash&&(i["http.fragment"]=t.hash)),i}let ay=Symbol.for("sentry__originalRequestBody");function ab(e){return new URLSearchParams(e).toString()}function a_(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:M.debug;try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[ab(e)];if(!e)return[void 0]}catch(n){return nj&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return nj&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function aS(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][ay];if(void 0!==t)return t}}function aE(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return nj&&M.debug.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>
52{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}function aw(e){try{return new URL(e,tc.location.origin).href}catch(e){return}}function aT(e){try{return new Headers(e)}catch(e){return}}let ak={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function aR(e,t){let{url:n}=(0,et.spanToJSON)(e).data;if(!n||"string"!=typeof n)return;let r=()=>void setTimeout(a);if(eI(t)){let t=e.end.bind(e);e.end=e=>{let n=null!=e?e:(0,ek.timestampInSeconds)(),i=!1,o=()=>{i||(i=!0,setTimeout(a),t(n),clearTimeout(l))};r=o;let l=setTimeout(o,300)}}let a=rH("resource",t=>{let{entries:a}=t;a.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(n)&&(e.setAttributes(r6(t)),r())})})}let ax=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function aC(){let e=tc.navigator;return!!(null==e?void 0:e.userAgent)&&ax.test(e.userAgent)}let aP={...rr,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...ak},aO=function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"enableElementTiming"in n&&(0,M.consoleSandbox)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let r={name:void 0,source:void 0},a=tc.document,{enableInp:i,enableLongTask:o,enableLongAnimationFrame:l,_experiments:{enableInteractions:s,enableStandaloneClsSpans:u,enableStandaloneLcpSpans:c},beforeStartSpan:d,idleTimeout:f,finalTimeout:p,childSpanTimeout:h,markBackgroundSpan:m,traceFetch:g,traceXHR:v,trackFetchStreamPerformance:y,shouldCreateSpanForRequest:b,enableHTTPTimings:_,ignoreResourceSpans:S,ignorePerformanceApiSpans:E,instrumentPageLoad:w,instrumentNavigation:T,detectRedirects:k,linkPreviousTrace:R,consistentTraceSampling:x,enableReportPageLoaded:C,onRequestSpanStart:P,onRequestSpanEnd:O}={...aP,...n},N=aC();function I(e,n){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=arguments.length>3?arguments[3]:void 0,l="pageload"===n.op,s=n.name,u=d?d(n):n,c=tq(o||ts()),m={...(null==c?void 0:c.pathname)&&{[tU]:c.pathname},...c&&!tW(c)&&{[tj]:t$(c.href)},...u.attributes};if(s!==u.name&&(m[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom"),u.attributes=m,!i){let e=(0,ek.dateTimestampInSeconds)();n6({...u,startTime:e}).end(e);return}r.name=u.name,r.source=m[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let g=ra(u,{idleTimeout:f,finalTimeout:p,childSpanTimeout:h,disableAutoFinish:l,beforeSpanEnd:n=>{!function(e,t){let n=r1(),r=(0,ek.browserPerformanceTimeOrigin)();if(!(null==n?void 0:n.getEntries)||!r)return;let{spanStreamingEnabled:a,ignorePerformanceApiSpans:i,ignoreResourceSpans:o}=t,l=r2(r),s=n.getEntries(),{op:u,start_timestamp:c}=(0,et.spanToJSON)(e);s.slice(r7).forEach(t=>{let n=r2(t.startTime),r=r2(Math.max(0,t.duration));if("navigation"!==u||!c||!(l+n<c))switch(t.entryType){case"navigation":var a,s,d,f,p,h;let m,g,v;a=e,s=t,d=l,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{at(a,s,e,d)}),at(a,s,"secureConnection",d,"TLS/SSL"),at(a,s,"fetch",d,"cache"),at(a,s,"domainLookup",d,"DNS"),f=a,p=s,m=(h=d)+r2(p.requestStart),g=h+r2(p.responseEnd),v=h+r2(p.responseStart),p.responseEnd&&(rZ(f,m,g,{op:"browser.request",name:p.name,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),rZ(f,v,g,{op:"browser.response",name:p.name,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":!function(e,t,n,r,a,i){if(function(e){if((null==e?void 0:e.entryType)==="measure")try{return"Components â"===e.detail.devtools.track}catch(e){return}}(t)||["mark","measure"].includes(t.entryType)&&(0,G.stringMatchesSomePattern)(t.name,i))return;let o=rl(!1),l=a+Math.max(n,r2(o?o.requestStart:0)),s=a+n,u=s+r,c={[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};l!==s&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=l),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&(0,ew.isPrimitive)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch(e){}return}if((0,ew.isPrimitive)(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch(e){}}catch(e){}}(c,t),l<=u&&rZ(e,l,u,{name:t.name,op:t.entryType,attributes:c})}(e,t,n,r,l,i);break;case"resource":!function(e,t,n,r,a,i,o){var l,s;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(null==o?void 0:o.includes(u))return;let c={[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"},d=tV(n);d.protocol&&(c["url.scheme"]=d.protocol.split(":").pop()),d.host&&(c["server.address"]=d.host),c["url.same_origin"]=n.includes(tJ.location.origin),c[tj]=t$(n),l=t,s=c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]].forEac
52h(e=>{let[t,n]=e,r=l[t];null!=r&&("number"==typeof r&&r<0x7fffffff||"string"==typeof r)&&(s[n]=r)});let f={...c,...r6(t)},p=i+r;rZ(e,p,p+a,{name:n.replace(tJ.location.origin,""),op:u,attributes:f})}(e,t,t.name,n,r,l,o)}}),r7=Math.max(s.length-1,0),function(e,t){let n=tJ.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),rK(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):"pageload"===(0,et.spanToJSON)(e).op&&nQ("connection.rtt",r.rtt,"millisecond"))),rK(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),rK(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,a)}(n,{ignoreResourceSpans:S,ignorePerformanceApiSpans:E,spanStreamingEnabled:eI(e)}),aD(e,void 0);let r=(0,B.getCurrentScope)(),a=r.getPropagationContext();r.setPropagationContext({...a,traceId:g.spanContext().traceId,sampled:(0,et.spanIsSampled)(g),dsc:(0,eu.getDynamicSamplingContextFromSpan)(n)}),l&&(t=void 0)},trimIdleSpanEndTimestamp:!C});function v(){a&&["interactive","complete"].includes(a.readyState)&&(e.emit("idleSpanEnableAutoFinish",g),a.removeEventListener("readystatechange",v))}l&&C&&(t=g),aD(e,g),l&&!C&&a&&(a.addEventListener("readystatechange",v),v())}return{name:"BrowserTracing",setup(n){var r;if(N){t7&&M.debug.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}function i(){let e=(0,et.getActiveSpan)(),t=e&&(0,et.getRootSpan)(e);if(t){let e="internal_error";z.DEBUG_BUILD&&M.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:n3.SPAN_STATUS_ERROR,message:e})}}if(ri||(ri=!0,nh(i),nv(i)),l&&L.GLOBAL_OBJ.PerformanceObserver&&(null==(r=PerformanceObserver.supportedEntryTypes)?void 0:r.includes("long-animation-frame"))?new PerformanceObserver(e=>{let t=(0,et.getActiveSpan)();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=r2((0,ek.browserPerformanceTimeOrigin)()+n.startTime),{start_timestamp:r,op:a}=(0,et.spanToJSON)(t);if("navigation"===a&&r&&e<r)continue;let i=r2(n.duration),o={[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},{invoker:l,invokerType:s,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=n.scripts[0];o["browser.script.invoker"]=l,o["browser.script.invoker_type"]=s,u&&(o["code.filepath"]=u),c&&(o["code.function"]=c),-1!==d&&(o["browser.script.source_char_position"]=d),rZ(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):o&&rH("longtask",e=>{let{entries:t}=e,n=(0,et.getActiveSpan)();if(!n)return;let{op:r,start_timestamp:a}=(0,et.spanToJSON)(n);for(let e of t){let t=r2((0,ek.browserPerformanceTimeOrigin)()+e.startTime),i=r2(e.duration);"navigation"===r&&a&&t<a||rZ(n,t,t+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}}),s&&rH("event",e=>{let{entries:t}=e,n=(0,et.getActiveSpan)();if(n){for(let e of t)if("click"===e.name){let t=r2((0,ek.browserPerformanceTimeOrigin)()+e.startTime),r=r2(e.duration),a={name:t6(e.target),op:`ui.interaction.${e.name}`,startTime:t,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},i=tu(e.target);i&&(a.attributes["ui.component_name"]=i),rZ(n,t,t+r,a)}}}),k&&a){let t=()=>{e=(0,ek.timestampInSeconds)()};addEventListener("click",t,{capture:!0}),addEventListener("keydown",t,{capture:!0,passive:!0})}function u(){let e=n[aL];e&&!(0,et.spanToJSON)(e).timestamp&&(t7&&M.debug.log(`[Tracing] Finishing current active span with op: ${(0,et.spanToJSON)(e).op}`),e.setAttribute(ee.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),e.end())}n.on("startNavigationSpan",(t,r)=>{if((0,B.getClient)()!==n)return;if(null==r?void 0:r.isRedirect){t7&&M.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),I(n,{op:"navigation.redirect",...t},!1,r.url);return}e=void 0,u();let a=(0,B.getCurrentScope)();a.setPropagationContext({traceId:(0,nJ.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,nY.hasSpansEnabled)()?void 0:(0,nJ.generateSpanId)()}),a.setSDKProcessingMetadata({normalizedRequest:void 0}),I(n,{op:"navigation",...t,parentSpan:null,forceTransaction:!0},!0,null==r?void 0:r.url)}),n.on("startPageLoadSpan",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,B.getClient)()!==n)return;u();let r=t.sentryTrace||aA("sentry-trace")||aM("sentry-trace"),a=t.baggage||aA("baggage")||aM("baggage"),i=(0,n8.propagationContextFromHeaders)(r,a),o=(0,B.getCurrentScope)();o.setPropagationContext(i),(0,nY.hasSpansEnabled)()||(o.getPropagationContext().propagationSpanId=(0,nJ.generateSpanId)()),o.setSDKProcessingMetadata({normalizedRequest:tp()}),I(n,{op:"pageload",...e})}),n.on("endPageloadSpan",()=>{C&&t&&(t.setAttribute(ee.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),t.end())})},afterAllSetup(t){var n,a,o,l,d,S;let E;if(N)return;!t.addIntegration||(null==(n=t.getIntegrationByName)?void 0:n.call(t,ad)
52)||t.addIntegration(af({ignore:i?[]:["inp"],_experiments:{enableStandaloneClsSpans:u,enableStandaloneLcpSpans:c}}));let C=ts();if("off"!==R&&function(e,t){let{linkPreviousTrace:n,consistentTraceSampling:r}=t,a="session-storage"===n,i=a?function(){try{var e;let t=null==(e=tc.sessionStorage)?void 0:e.getItem(ap);return JSON.parse(t)}catch(e){return}}():void 0;e.on("spanStart",e=>{if((0,et.getRootSpan)(e)!==e)return;let t=(0,B.getCurrentScope)().getPropagationContext();i=function(e,t,n){let r=(0,et.spanToJSON)(t),a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{var e,t,a;let i=Number(null!=(e=null==(t=r.data)?void 0:t[ee.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])?e:null==(a=n.dsc)?void 0:a.sample_rate);return Number.isNaN(i)?0:i}catch(e){return 0}}(),sampleRand:n.sampleRand};if(!e)return a;let i=e.spanContext;return i.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(t7&&M.debug.log(`Adding previous_trace \`${JSON.stringify(i)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:i,attributes:{[ee.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${i.traceId}-${i.spanId}-${+!!ah(i)}`)),a)}(i,e,t),a&&function(e){try{tc.sessionStorage.setItem(ap,JSON.stringify(e))}catch(e){t7&&M.debug.warn("Could not store previous trace in sessionStorage",e)}}(i)});let o=!0;r&&e.on("beforeSampling",e=>{if(!i)return;let t=(0,B.getCurrentScope)(),n=t.getPropagationContext();if(o&&n.parentSpanId){o=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(i.sampleRate),sampled:String(ah(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=ah(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[ee.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:i.sampleRate}})}(t,{linkPreviousTrace:R,consistentTraceSampling:x}),tc.location){if(w){let e=(0,ek.browserPerformanceTimeOrigin)();aN(t,{name:tc.location.pathname,startTime:e?e/1e3:void 0,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}T&&t3(n=>{var r,a;let i,o,{to:l,from:s}=n;if(void 0===s&&(null==C?void 0:C.indexOf(l))!==-1){C=void 0;return}C=void 0;let u=tq(l),c=t[aL],d=c&&k&&(r=c,a=e,i=(0,et.spanToJSON)(r),!((o=(0,ek.dateTimestampInSeconds)())-i.start_timestamp>1.5)&&(!a||!(o-a<=1.5)));aI(t,{name:(null==u?void 0:u.pathname)||tc.location.pathname,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:l,isRedirect:d})})}m&&(tc.document?tc.document.addEventListener("visibilitychange",()=>{let e=(0,et.getActiveSpan)();if(!e)return;let t=(0,et.getRootSpan)(e);if(tc.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,et.spanToJSON)(t);t7&&M.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:n3.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):t7&&M.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")),s&&(a=t,o=f,l=p,d=h,S=r,tc.document&&addEventListener("click",()=>{let e="ui.action.click",t=function(e){return e[aL]}(a);if(t&&["navigation","pageload"].includes((0,et.spanToJSON)(t).op)){t7&&M.debug.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(E&&(E.setAttribute(ee.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),E.end(),E=void 0),!S.name){t7&&M.debug.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}E=ra({name:S.name,op:e,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:S.source||"url"}},{idleTimeout:o,finalTimeout:l,childSpanTimeout:d})},{capture:!0})),function(e,t){let{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:a,enableHTTPTimings:i,tracePropagationTargets:o,onRequestSpanStart:l,onRequestSpanEnd:s}={...ak,...t},u="function"==typeof a?a:e=>!0,c=e=>(function(e,t){let n=ts();if(n){let r,a;try{r=new URL(e,n),a=new URL(n).origin}catch(e){return!1}let i=r.origin===a;return t?(0,G.stringMatchesSomePattern)(r.toString(),t)||i&&(0,G.stringMatchesSomePattern)(r.pathname,t):i}{let n=!!e.match(/^\/(?!\/)/);return t?(0,G.stringMatchesSomePattern)(e,t):n}})(e,o),d={},f=e.getOptions().propagateTraceparent;n&&tk(t=>{let n=function(e,t,n,r,a){if(!e.fetchData)return;let{method:i,url:o}=e.fetchData,l=(0,nY.hasSpansEnabled)()&&t(o);if(e.endTimestamp){var s,u,c,d;let t,n=e.fetchData.__span;if(!n)return;let i=r[n];i&&(l&&(function(e,t){if(t.response){var n,r;(0,n3.setHttpStatus)(e,t.response.status);let a=null==(r=t.response)||null==(n=r.headers)?void 0:n.get("content-length");if(a){let t=parseInt(a);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:n3.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(i,e),s=i,u=e,null==(t="object"==typeof(c=a)&&null!==c?c.onRequestSpanEnd:void 0)||t(s,{headers:null==(d=u.response)?void 0:d.headers,error:u.error})),delete r[n]);return}let{spanOrigin:f="auto.http.browser",propagateTraceparent:p=!1}="object"==typeof a?a:{spanOrigin:a},h=(0,B.getClient)(),m=!!(0,et.getActiveSpan)(),g=m||!!h&&eI(h),v=l&&g?n6(function(e,t,n,r){if(e.startsWith("data:")){let a=tX(e);return{name:`${t} ${a}`,attributes:av(e,void 0,t,n,r)}}let a=tq(e),i=a?tG(a):e;return{name:`${t} ${i}`,attributes:av(e,a,t,n,r)}}(o,i,f,h)):new nX.SentryNonRecordingSpan,y=rn(v)&&m?void 0:v;if(l&&!g&&(null==h||h.recordDroppedEvent("no_parent_span","span")),e.fetchData.__span=v.spanContext().spanId,r[v.spanContext().spanId]=v,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){var a,i;let o=am({span:n,propagateTraceparent:r}),l=o["sentry-trace"],s=o.baggage,u=o.traceparent;if(!l)return;let c=t.headers||((0,ew.isRequest)(e)?e.headers:void 0);if(!c)return{"sentry-trace":l,...s&&{baggage:s},...u&&{traceparent:u}};if(a=c,"u">typeof Headers&&(0,ew.isInstanceOf)(a,Headers)){let e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",l),r&&u&&!e.get("traceparent")&&e.set("traceparent",u),s){let t=e.get("baggage");t?ag(t)||e.set("baggage",`${t},${s}`):e.set("baggage",s)}return e}if(Array.isArray(i=c)&&i.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])){let e=[...c];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",l]),r&&u&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",u]);let t=c.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&ag(e[1]));return s&&!t&&e.push(["baggage",s]),e}{let e="sentry-trace"in c?c["sentry-trace"]:void 0,t="traceparent"in c?c.traceparent:void 0,n="baggage"in c?c.baggage:void 0,a=n?Array.isArray(n)?[...n]:[n]:[],i=n&&(Array.isArray(n)?n.find(e=>ag(e)):ag(n));s&&!i&&a.push(s);let o=Object.assign({},c,{"sentry-trace":null!=e?e:l,...a.length>0&&{baggage:a.join(",")}});return r&&u&&!t&&(o.traceparent=u),o}}(t,n,(0,nY.hasSpansEnabled)()&&g?y:void 0,p);r&&(e.args[1]=n,n.headers=r)}if(h){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};h.emit("beforeOutgoingRequestSpan",v,t)}return v}(t,u,c,d,{propagateTraceparent:f,onRequestSpanEnd:s});if(n){let r=aw(t.fetchData.url),a=r?tV(r).host:void 0,o=r?tX(r):void 0;
52n.setAttributes({[tM]:t$(o),[tj]:t$(o),"server.address":a}),i&&aR(n,e),null==l||l(n,{headers:t.headers})}}),r&&t1(t=>{let n=function(e,t,n,r,a,i){let o=e.xhr,l=null==o?void 0:o[t0];if(!o||o.__sentry_own_request__||!l)return;let{url:s,method:u}=l,c=(0,nY.hasSpansEnabled)()&&t(s);if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(c&&void 0!==l.status_code&&((0,n3.setHttpStatus)(n,l.status_code),n.end(),null==i||i(n,{headers:aT(aE(o)),error:e.error})),delete r[t]);return}let d=aw(s),f=d?tV(d):tV(s),p=d?tX(d):void 0,h=tX(tY(s)),m=(0,B.getClient)(),g=!!(0,et.getActiveSpan)(),v=g||!!m&&eI(m),y=c&&v?n6({name:`${u} ${h}`,attributes:{url:t$(tX(s)),type:"xhr","http.method":u,"http.url":t$(p),[tj]:t$(p),"server.address":null==f?void 0:f.host,[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...(null==f?void 0:f.search)&&{"http.query":tH(null==f?void 0:f.search)},...(null==f?void 0:f.hash)&&{"http.fragment":null==f?void 0:f.hash}}}):new nX.SentryNonRecordingSpan,b=rn(y)&&g?void 0:y;return c&&!v&&(null==m||m.recordDroppedEvent("no_parent_span","span")),o.__sentry_xhr_span_id__=y.spanContext().spanId,r[o.__sentry_xhr_span_id__]=y,n(s)&&function(e,t,n){let{"sentry-trace":r,baggage:a,traceparent:i}=am({span:t,propagateTraceparent:n});r&&function(e,t,n,r){var a;let i=null==(a=e.__sentry_xhr_v3__)?void 0:a.request_headers;if((null==i||!i["sentry-trace"])&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),!r||(null==i?void 0:i.traceparent)||e.setRequestHeader("traceparent",r),n){let t=null==i?void 0:i.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch(e){}}(e,r,a,i)}(o,(0,nY.hasSpansEnabled)()&&v?b:void 0,a),m&&m.emit("beforeOutgoingRequestSpan",y,e),y}(t,u,c,d,f,s);if(n){var r;i&&aR(n,e),null==l||l(n,{headers:aT(null==(r=t.xhr.__sentry_xhr_v3__)?void 0:r.request_headers)})}})}(t,{traceFetch:g,traceXHR:v,tracePropagationTargets:t.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:b,enableHTTPTimings:_,onRequestSpanStart:P,onRequestSpanEnd:O}),y&&t.addIntegration({name:"FetchStreamPerformance",setup(){let e;tv(e="fetch-body-resolved",e=>{if(e.response){let t=an.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=ar.get(e.response);n&&clearTimeout(n)}}}),ty(e,()=>tR(tC)),tk(e=>{if(e.endTimestamp&&e.response){var t,n,r,a;let i=(null==(t=e.response.headers)?void 0:t.get("content-type"))||"";if((null==(n=e.response.headers)?void 0:n.get("content-length"))||!aa.some(e=>i.startsWith(e)))return;let o=(null==(r=e.fetchData)?void 0:r.url)||"",l=(null==(a=e.fetchData)?void 0:a.method)||"GET",s=tq(o),u=o.startsWith("data:")?tX(o):s?tG(s):o,c=n6({name:`${l} ${u}`,startTime:e.endTimestamp,attributes:{url:t$(tX(o)),"http.method":l,type:"fetch",[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client.stream",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.stream"}});an.set(e.response,c);let d=setTimeout(()=>{c.isRecording()&&c.end()},9e4);ar.set(e.response,d)}})}})}}};function aN(e,t,n){e.emit("startPageLoadSpan",t,n),(0,B.getCurrentScope)().setTransactionName(t.name);let r=e[aL];return r&&e.emit("afterStartPageLoadSpan",r),r}
52function aI(e,t,n){let{url:r,isRedirect:a}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:a,url:r}),e.emit("startNavigationSpan",t,{isRedirect:a,url:r});let i=(0,B.getCurrentScope)();return i.setTransactionName(t.name),r&&!a&&i.setSDKProcessingMetadata({normalizedRequest:{...tp(),url:r}}),e[aL]}function aA(e){let t=tc.document,n=null==t?void 0:t.querySelector(`meta[name=${e}]`);return(null==n?void 0:n.getAttribute("content"))||void 0}function aM(e){var t,n,r;let a=null==(n=tc.performance)||null==(t=n.getEntriesByType)?void 0:t.call(n,"navigation")[0],i=null==a||null==(r=a.serverTiming)?void 0:r.find(t=>t.name===e);return null==i?void 0:i.description}let aL="_sentry_idleSpan";function aD(e,t){(0,K.addNonEnumerableProperty)(e,aL,t)}function aj(e){try{return new URL(e,tJ.location.origin).toString()}catch(t){return e}}let aU=L.GLOBAL_OBJ,aB=null,az=new Map,aF=new Map;function a$(e){let t=e.split("/").filter(Boolean),n=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?n+=1e3:t.endsWith("*")?n+=100:n+=10}return t.length>0&&(n+=1/t.length),n}function aH(e){if(az.has(e)){var t;return null!=(t=az.get(e))?t:null}try{let t=new RegExp(e);return az.set(e,t),t}catch(t){return nV&&M.debug.warn("Could not compile regex",{regexString:e,error:t}),null}}function aW(){if(!(null==aU?void 0:aU._sentryRouteManifest)||"string"!=typeof aU._sentryRouteManifest)return null;let e=aU._sentryRouteManifest;if(aB&&y===e)return aB;az.clear(),aF.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return aB=t,y=e,t}catch(e){return nV&&M.debug.warn("Could not extract route manifest"),null}}let aq=e=>{let t=aW();if(!t)return;let n=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(aF.has(n))return aF.get(n);let{staticRoutes:r,dynamicRoutes:a}=t;if(!Array.isArray(r)||!Array.isArray(a))return;let i=(function(e,t,n){let r=[];if(t.some(t=>t.path===e))return r;for(let t of n)if(t.regex){let n=aH(t.regex);(null==n?void 0:n.test(e))&&r.push(t.path)}if(!e.startsWith("/:")){for(let t of n)if(t.hasOptionalPrefix&&t.regex){let n="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,a=aH(t.regex);(null==a?void 0:a.test(n))&&r.push(t.path)}}return r})(n,r,a).sort((e,t)=>a$(e)-a$(t))[0];return aF.set(n,i),i};function aG(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}function aV(e,t,n){e.setAttributes({[tU]:t,[tj]:t$(aj(n))})}let aY="incomplete-app-router-transaction",aX="router-patch",aJ={current:void 0},aQ=L.GLOBAL_OBJ,aK=L.GLOBAL_OBJ;function aZ(e){try{return new URL(e,"http://example.com/").pathname}catch(e){return"/"}}let a0=new WeakSet;function a1(e,t,n){a0.has(t)||(a0.add(t),["back","forward","push","replace"].forEach(r=>{(null==t?void 0:t[r])&&(t[r]=new Proxy(t[r],{apply(t,a,i){var o;if("router-patch"!==aX)return t.apply(a,i);let l=aY,s={[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"},u=i[0],c=null!=(o=A.default.env._sentryBasePath)?o:aK._sentryBasePath,d=c&&"string"==typeof u&&!u.startsWith(c)?`${c}${u}`:u;"push"===r?(l=aG(aZ(d)),s["navigation.type"]="router.push"):"replace"===r?(l=aG(aZ(d)),s["navigation.type"]="router.replace"):"back"===r?s["navigation.type"]="router.back":"forward"===r&&(s["navigation.type"]="router.forward");let f=aq(l),p="back"===r||"forward"===r?void 0:aj(d);return n.current=aI(e,{name:null!=f?f:l,attributes:{...s,[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:f?"route":"url",...f&&{[tB]:f}}},p?{url:p}:void 0),t.apply(a,i)}}))}))}var a2=e.i(565909);let a3=a2.default.events?a2.default:a2.default.default,a4=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function a5(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r="",a=!1;for(let e=t.length-1;e>=-1&&!a;e--){let n=e>=0?t[e]:"/";n&&(r=`${n}/${r}`,a="/"===n.charAt(0))}return r=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift("..");return e})(r.split("/").filter(e=>!!e),!a).join("/"),(a?"/":"")+r||"."}function a8(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let a6=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.root,n=e.prefix||"app:///",r="window"in L.GLOBAL_OBJ&&!!L.GLOBAL_OBJ.window,a=e.iteratee||function(e){let{isBrowser:t,root:n,prefix:r}=e;return e=>{if(!e.filename)return e;let a=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),i=/^\//.test(e.filename);if(t){if(n){let t=e.filename;0===t.indexOf(n)&&(e.filename=t.replace(n,r))}}else if(a||i){let t,i,o=a?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,l=n?function(e,t){e=a5(e).slice(1),t=a5(t).slice(1);let n=a8(e.split("/")),r=a8(t.split("/")),a=Math.min(n.length,r.length),i=a;for(let e=0;e<a;e++)if(n[e]!==r[e]){i=e;break}let o=[];for(let e=i;e<n.length;e++)o.push("..");return(o=o.concat(r.slice(i))).join("/")}(n,o):(t=o.length>1024?`<truncated>${o.slice(-1024)}`:o,(i=a4.exec(t))?i.slice(1):[])[2]||"";e.filename=`${r}${l}`}return e}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t,n;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:null==t||null==(n=t.frames)?void 0:n.map(e=>a(e))}}}})}}}catch(t){return e}}(t)),t}}},a7=/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js(:\d+)*$/,a9=new class{get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}constructor(e){this._maxSize=e,this._cache=new Map}}(100),ie=L.GLOBAL_OBJ,it=!1,ir=L.GLOBAL_OBJ;function ia(e){return"/"===e[e.length-1]?e.slice(0,-1):e}let ii=L.GLOBAL_OBJ,io="sentryReplaySession",il="Unable to send Replay";var is=Object.defineProperty,iu=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?is(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},ic=((w=ic||{})[w.Document=0]="Document",w[w.DocumentType=1]="DocumentType",w[w.Element=2]="Element",w[w.Text=3]="Text",w[w.CDATA=4]="CDATA",w[w.Comment=5]="Comment",w);function id(e){let t=null==e?void 0:e.host;return(null==t?void 0:t.shadowRoot)===e}function ip(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ih(e){try{var t;let n=e.rules||e.cssRules;return n?((t=Array.from(n,im).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function im(e){let t;if("styleSheet"in e)try{t=ih(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,n=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){let r=e.style,a=r[n],i=r.getPropertyPriority(a);t+=`${a}:${r.getPropertyValue(a)}
52${i?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),n||r)return t}return t||e.cssText}class ig{getId(e){var t;if(!e)return -1;let n=null==(t=this.getMeta(e))?void 0:t.id;return null!=n?n:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}constructor(){iu(this,"idNodeMap",new Map),iu(this,"nodeMetaMap",new WeakMap)}}function iv(e){let{maskInputOptions:t,tagName:n,type:r}=e;return"OPTION"===n&&(n="SELECT"),!!(t[n.toLowerCase()]||r&&t[r]||"password"===r||"INPUT"===n&&!r&&t.text)}function iy(e){let{isMasked:t,element:n,value:r,maskInputFn:a}=e,i=r||"";return t?(a&&(i=a(i,n)),"*".repeat(i.length)):i}function ib(e){return e.toLowerCase()}function i_(e){return e.toUpperCase()}let iS="__rrweb_original__";function iE(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?ib(t):null}function iw(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}function iT(e,t){var n;let r;try{r=new URL(e,null!=t?t:window.location.href)}catch(e){return null}let a=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==a?void 0:a[1])?n:null}let ik={};function iR(e){let t=ik[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return ik[e]=r.bind(window)}function ix(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return iR("setTimeout")(...t)}function iC(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return iR("clearTimeout")(...t)}function iP(e){try{return e.contentDocument}catch(e){}}let iO=1,iN=RegExp("[^a-z0-9-_:]");function iI(){return iO++}let iA=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,iM=/^(?:[a-z+]+:)?\/\//i,iL=/^www\..*/i,iD=/^(data:)([^,]*),(.*)/i;function ij(e,t){return(e||"").replace(iA,(e,n,r,a,i,o)=>{let l=r||i||o,s=n||a||"";if(!l)return e;if(iM.test(l)||iL.test(l)||iD.test(l))return`url(${s}${l}${s})`;if("/"===l[0])return`url(${s}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+l}${s})`;let u=t.split("/"),c=l.split("/");for(let e of(u.pop(),c))if("."===e)continue;else".."===e?u.pop():u.push(e);return`url(${s}${u.join("/")}${s})`})}let iU=/^[^ \t\n\r\u000c]+/,iB=/^[, \t\n\r\u000c]+/,iz=new WeakMap;function iF(e,t){return t&&""!==t.trim()?i$(e,t):t}function i$(e,t){let n=iz.get(e);if(n||(n=e.createElement("a"),iz.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function iH(e,t,n,r,a,i,o){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0])return iF(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return iF(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,a=e.exec(t.substring(n));return a?(r=a[0],n+=r.length,r):""}let a=[];for(;r(iB),!(n>=t.length);){let i=r(iU);if(","===i.slice(-1))i=iF(e,i.substring(0,i.length-1)),a.push(i);else{let r="";i=iF(e,i);let o=!1;for(;;){let e=t.charAt(n);if(""===e){a.push((i+r).trim());break}if(o)")"===e&&(o=!1);else if(","===e){n+=1,a.push((i+r).trim());break}else"("===e&&(o=!0);r+=e,n+=1}}}return a.join(", ")}(e,r);if("style"===n){let t=ij(r,i$(e));return o&&o.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{let n=e.split(";"),r=[];for(let e of n){if(!(e=e.trim()))continue;let n=e.indexOf(":");if(-1===n){r.push(e);continue}let a=e.slice(0,n).trim();t.has(a)||r.push(e)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(t){return console.warn("Error filtering CSS properties:",t),e}}(t,o)),t}else if("object"===t&&"data"===n)return iF(e,r);return"function"==typeof i?i(n,r,a):r}function iW(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function iq(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:iq(e.parentNode,t,n,r+1)}function iG(e,t){return n=>{if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch(e){return!1}}}function iV(e,t,n,r,a,i){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("INPUT"===o.tagName){let e=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let l=-1,s=-1;
52if(i){if((s=iq(o,iG(r,a)))<0)return!0;l=iq(o,iG(t,n),s>=0?s:1/0)}else{if((l=iq(o,iG(t,n)))<0)return!1;s=iq(o,iG(r,a),l>=0?l:1/0)}return l>=0?!(s>=0)||l<=s:!(s>=0)&&!!i}catch(e){}return!!i}function iY(e){return null==e?"":e.toLowerCase()}function iX(e,t){let n,{doc:r,mirror:a,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:m=!1,inlineStylesheet:g=!0,maskInputOptions:v={},maskAttributeFn:y,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E={},inlineImages:w=!1,recordCanvas:T=!1,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x=5e3,onBlockedImageLoad:C,onStylesheetLoad:P,stylesheetLoadTimeout:O=5e3,keepIframeSrcFn:N=()=>!1,newlyAddedElement:I=!1,ignoreCSSAttributes:A}=t,{preserveWhiteSpace:M=!0}=t,L=function(e,t){let{doc:n,mirror:r,blockClass:a,blockSelector:i,unblockSelector:o,maskAllText:l,maskAttributeFn:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:g={},maskTextFn:v,maskInputFn:y,dataURLOptions:b={},inlineImages:_,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w=!1,ignoreCSSAttributes:T}=t,k=function(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:ic.Document,childNodes:[],compatMode:e.compatMode};return{type:ic.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:ic.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};case e.ELEMENT_NODE:return function(e,t){let n,{doc:r,blockClass:a,blockSelector:i,unblockSelector:o,inlineStylesheet:l,maskInputOptions:s={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:h,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:v=!1,rootId:y,maskTextClass:b,unmaskTextClass:_,maskTextSelector:S,unmaskTextSelector:E,ignoreCSSAttributes:w}=t,T=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,a,i,o),k=function(e){if(e instanceof HTMLFormElement)return"form";let t=ib(e.tagName);return iN.test(t)?"div":t}(e),R={},x=e.attributes.length;for(let t=0;t<x;t++){let n=e.attributes[t];n.name&&!iW(k,n.name,n.value)&&(R[n.name]=iH(r,k,ib(n.name),n.value,e,u,w))}if("link"===k&&l){let t=Array.from(r.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=ih(t)),n&&(R.rel=null,R.href=null,R.crossorigin=null,R._cssText=ij(n,t.href))}if("style"===k&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=ih(e.sheet);t&&(R._cssText=ij(t,i$(r)))}if("input"===k||"textarea"===k||"select"===k||"option"===k){let t=iE(e),n=iw(e,i_(k),t),r=e.checked;if("submit"!==t&&"button"!==t&&n){let r=iV(e,b,S,_,E,iv({type:t,tagName:i_(k),maskInputOptions:s}));R.value=iy({isMasked:r,element:e,value:n,maskInputFn:c})}r&&(R.checked=r)}if("option"===k&&(e.selected&&!s.select?R.selected=!0:delete R.selected),"canvas"===k&&m){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let a=t.getImageData;if(new Uint32Array((iS in a?a[iS]:a).call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(R.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){let t=e.toDataURL(d.type,d.quality),n=r.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(d.type,d.quality)&&(R.rr_dataURL=t)}}if("img"===k&&h){f||(p=(f=r.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",n=e.crossOrigin,a=()=>{e.removeEventListener("load",a);try{f.width=e.naturalWidth,f.height=e.naturalHeight,p.drawImage(e,0,0),R.rr_dataURL=f.toDataURL(d.type,d.quality)}catch(n){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a);return}console.warn(`Cannot inline img src=${t}! Error: ${n}`)}"anonymous"===e.crossOrigin&&(n?R.crossOrigin=n:e.removeAttribute("crossorigin"))};
52e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a)}if(("audio"===k||"video"===k)&&(R.rr_mediaState=e.paused?"paused":"played",R.rr_mediaCurrentTime=e.currentTime),!v&&(e.scrollLeft&&(R.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(R.rr_scrollTop=e.scrollTop)),T){let{width:t,height:n}=e.getBoundingClientRect();R={class:R.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==k||g(R.src)||(T||iP(e)||(R.rr_src=R.src),delete R.src);try{customElements.get(k)&&(n=!0)}catch(e){}return{type:ic.Element,tagName:k,attributes:R,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:T,rootId:y,isCustom:n}}(e,{doc:n,blockClass:a,blockSelector:i,unblockSelector:o,inlineStylesheet:m,maskAttributeFn:s,maskInputOptions:g,maskInputFn:y,dataURLOptions:b,inlineImages:_,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w,rootId:k,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,ignoreCSSAttributes:T});case e.TEXT_NODE:return function(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:a,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:l,maskInputOptions:s,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&f){try{var g;e.nextSibling||e.previousSibling||(null==(g=e.parentNode.sheet)?void 0:g.cssRules)&&(f=ih(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=ij(f,i$(t.doc))}h&&(f="SCRIPT_PLACEHOLDER");let v=iV(e,r,i,a,o,n);return p||h||m||!f||!v||(f=l?l(f,e.parentElement):f.replace(/[\S]/g,"*")),m&&f&&(s.textarea||v)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*")),"OPTION"===d&&f&&(f=iy({isMasked:iV(e,r,i,a,o,iv({type:null,tagName:d,maskInputOptions:s})),element:e,value:f,maskInputFn:u})),{type:ic.Text,textContent:f||"",isStyle:p,rootId:c}}(e,{doc:n,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,maskTextFn:v,maskInputOptions:g,maskInputFn:y,rootId:k});case e.CDATA_SECTION_NODE:return{type:ic.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:ic.Comment,textContent:e.textContent||"",rootId:k};default:return!1}}(e,{doc:r,mirror:a,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:g,maskInputOptions:v,maskAttributeFn:y,maskTextFn:b,maskInputFn:_,dataURLOptions:E,inlineImages:w,recordCanvas:T,keepIframeSrcFn:N,newlyAddedElement:I,ignoreCSSAttributes:A});if(!L)return console.warn(e,"not serialized"),null;n=a.hasNode(e)?a.getId(e):!function(e,t){if(t.comment&&e.type===ic.Comment)return!0;if(e.type===ic.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===iT(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(iY(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===iY(e.attributes.name)||"icon"===iY(e.attributes.rel)||"apple-touch-icon"===iY(e.attributes.rel)||"shortcut icon"===iY(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&iY(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(iY(e.attributes.property).match(/^(og|twitter|fb):/)||iY(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===iY(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===iY(e.attributes.name)||"googlebot"===iY(e.attributes.name)||"bingbot"===iY(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===iY(e.attributes.name)||"generator"===iY(e.attributes.name)||"framework"===iY(e.attributes.name)||"publisher"===iY(e.attributes.name)||"progid"===iY(e.attributes.name)||iY(e.attributes.property).match(/^article:/)||iY(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===iY(e.attributes.name)||"yandex-verification"===iY(e.attributes.name)||"csrf-token"===iY(e.attributes.name)||"p:domain_verify"===iY(e.attributes.name)||"verify-v1"===iY(e.attributes.name)||"verification"===iY(e.attributes.name)||"shopify-checkout-api-token"===iY(e.attributes.name)))return!0}}return!1}(L,S)&&(M||L.type!==ic.Text||L.isStyle||L.textContent.trim().length)?iI():-2;let D=Object.assign(L,{id:n});if(a.add(e,D),-2===n)return null;
52k&&k(e);let j=!m;if(D.type===ic.Element){j=j&&!D.needBlock;let t=e.shadowRoot;t&&ip(t)&&(D.isShadowHost=!0)}if((D.type===ic.Document||D.type===ic.Element)&&j){S.headWhitespace&&D.type===ic.Element&&"head"===D.tagName&&(M=!1);let t={doc:r,mirror:a,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:m,inlineStylesheet:g,maskInputOptions:v,maskAttributeFn:y,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:M,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onBlockedImageLoad:C,onStylesheetLoad:P,stylesheetLoadTimeout:O,keepIframeSrcFn:N,ignoreCSSAttributes:A};for(let n of e.childNodes?Array.from(e.childNodes):[]){let e=iX(n,t);e&&D.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=iX(n,t);r&&(ip(e.shadowRoot)&&(r.isShadow=!0),D.childNodes.push(r))}}if(e.parentNode&&id(e.parentNode)&&ip(e.parentNode)&&(D.isShadow=!0),D.type!==ic.Element||"iframe"!==D.tagName||D.needBlock||function(e,t,n){let r,a=function(e){try{return e.contentWindow}catch(e){}}(e);if(!a)return;let i=!1;try{r=a.document.readyState}catch(e){return}if("complete"!==r){let r=ix(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{iC(r),i=!0,t()});return}let o="about:blank";if(a.location.href!==o||e.src===o||""===e.src)return ix(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=iP(e);if(t&&R){let n=iX(t,{doc:t,mirror:a,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:g,maskInputOptions:v,maskAttributeFn:y,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:M,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:P,stylesheetLoadTimeout:O,keepIframeSrcFn:N,ignoreCSSAttributes:A});n&&R(e,n)}},x),D.type===ic.Element&&"img"===D.tagName&&!e.complete&&D.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&C)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&C(e,D,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return D.type===ic.Element&&"link"===D.tagName&&"string"==typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"==typeof D.attributes.href&&"css"===iT(D.attributes.href))&&function(e,t,n){let r,a=!1;try{r=e.sheet}catch(e){r=null}if(r)return;let i=ix(()=>{a||(t(),a=!0)},n);e.addEventListener("load",()=>{iC(i),a=!0,t()})}(e,()=>{if(P){let t=iX(e,{doc:r,mirror:a,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:g,maskInputOptions:v,maskAttributeFn:y,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:M,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:P,stylesheetLoadTimeout:O,keepIframeSrcFn:N,ignoreCSSAttributes:A});t&&P(e,t)}},O),D.type===ic.Element&&delete D.needBlock,D}function iJ(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let iQ="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",iK={map:{},getId:()=>(console.error(iQ),-1),getNode:()=>(console.error(iQ),null),removeNodeFromMap(){console.error(iQ)},has:()=>(console.error(iQ),!1),reset(){console.error(iQ)}};function iZ(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null,a=0;return function(){for(var i=arguments.length,o=Array(i),l=0;l<i;l++)o[l]=arguments[l];let s=Date.now();a||!1!==n.leading||(a=s);let u=t-(s-a),c=this;u<=0||u>t?(r&&(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];oo("clearTimeout")(...t)}(r),r=null),a=s,e.apply(c,o)):r||!1===n.trailing||(r=ol(()=>{a=!1===n.leading?0:Date.now(),r=null,e.apply(c,o)},u))}}function i0(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch(e){return()=>{}}}"u">typeof window&&window.Proxy&&window.Reflect&&(iK=new Proxy(iK,{get:(e,t,n)=>("map"===t&&console.error(iQ),Reflect.get(e,t,n))}));let i1=Date.now;function i2(e){var t,n,r,a,i,o;let l=e.document;return{left:l.scrollingElement?l.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:(null==l?void 0:l.documentElement.scrollLeft)||(null==l||null==(n=l.body)||null==(t=n.parentElement)?void 0:t.scrollLeft)||(null==l||null==(r=l.body)?void 0:r.scrollLeft)||0,top:l.scrollingElement?l.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==l?void 0:l.documentElement.scrollTop)||(null==l||null==(i=l.body)||null==(a=i.parentElement)?void 0:a.scrollTop)||(null==l||null==(o=l.body)?void 0:o.scrollTop)||0}}function i3(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function i4(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function i5(e){if(!e)return null;
52try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function i8(e,t,n,r,a){if(!e)return!1;let i=i5(e);if(!i)return!1;let o=iG(t,n);if(!a){let e=r&&i.matches(r);return o(i)&&!e}let l=iq(i,o),s=-1;return!(l<0)&&(r&&(s=iq(i,iG(null,r))),l>-1&&s<0||l<s)}function i6(e,t){return -2===t.getId(e)}function i7(e){return!!e.changedTouches}function i9(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function oe(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function ot(e){return!!(null==e?void 0:e.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(i1=()=>new Date().getTime());class on{getId(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){let n;return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}}function or(e){var t,n;let r=null;return(null==(n=e.getRootNode)||null==(t=n.call(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(r=e.getRootNode().host),r}function oa(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let n=function(e){let t,n=e;for(;t=or(n);)n=t;return n}(e);return t.contains(n)}(e))}let oi={};function oo(e){let t=oi[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return oi[e]=r.bind(window)}function ol(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return oo("setTimeout")(...t)}var os=((T=os||{})[T.DomContentLoaded=0]="DomContentLoaded",T[T.Load=1]="Load",T[T.FullSnapshot=2]="FullSnapshot",T[T.IncrementalSnapshot=3]="IncrementalSnapshot",T[T.Meta=4]="Meta",T[T.Custom=5]="Custom",T[T.Plugin=6]="Plugin",T),ou=((k=ou||{})[k.Mutation=0]="Mutation",k[k.MouseMove=1]="MouseMove",k[k.MouseInteraction=2]="MouseInteraction",k[k.Scroll=3]="Scroll",k[k.ViewportResize=4]="ViewportResize",k[k.Input=5]="Input",k[k.TouchMove=6]="TouchMove",k[k.MediaInteraction=7]="MediaInteraction",k[k.StyleSheetRule=8]="StyleSheetRule",k[k.CanvasMutation=9]="CanvasMutation",k[k.Font=10]="Font",k[k.Log=11]="Log",k[k.Drag=12]="Drag",k[k.StyleDeclaration=13]="StyleDeclaration",k[k.Selection=14]="Selection",k[k.AdoptedStyleSheet=15]="AdoptedStyleSheet",k[k.CustomElement=16]="CustomElement",k),oc=((R=oc||{})[R.MouseUp=0]="MouseUp",R[R.MouseDown=1]="MouseDown",R[R.Click=2]="Click",R[R.C
52ontextMenu=3]="ContextMenu",R[R.DblClick=4]="DblClick",R[R.Focus=5]="Focus",R[R.Blur=6]="Blur",R[R.TouchStart=7]="TouchStart",R[R.TouchMove_Departed=8]="TouchMove_Departed",R[R.TouchEnd=9]="TouchEnd",R[R.TouchCancel=10]="TouchCancel",R),od=((x=od||{})[x.Mouse=0]="Mouse",x[x.Pen=1]="Pen",x[x.Touch=2]="Touch",x),of=((C=of||{})[C.Play=0]="Play",C[C.Pause=1]="Pause",C[C.Seeked=2]="Seeked",C[C.VolumeChange=3]="VolumeChange",C[C.RateChange=4]="RateChange",C);let op=e=>h?function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];try{return e(...n)}catch(e){if(h&&!0===h(e))return()=>{};throw e}}:e;for(var oh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",om="u"<typeof Uint8Array?[]:new Uint8Array(256),og=0;og<oh.length;og++)om[oh.charCodeAt(og)]=og;class ov{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}function oy(e){try{return e.contentDocument}catch(e){}}function ob(e){try{return e.contentWindow}catch(e){}}class o_{parse(e){return this.parseWithConstructableStylesheet(e)||this.parseWithDetachedElement(e)}parseWithConstructableStylesheet(e){if("u"<typeof CSSStyleSheet||"function"!=typeof CSSStyleSheet.prototype.replaceSync)return null;try{let t=new CSSStyleSheet;t.replaceSync(`x { ${e} }`);let n=t.cssRules[0];if(!n||n.type!==CSSRule.STYLE_RULE)return null;return n.style}catch(e){return null}}parseWithDetachedElement(e){let t=this.getUnattachedDoc().createElement("span");return t.setAttribute("style",e),t.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}return this.unattachedDoc}constructor(e){this.doc=e,this.unattachedDoc=null}}class oS{get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=(null==t?void 0:t.next)||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}constructor(){this.length=0,this.head=null,this.tail=null}}let oE=(e,t)=>`${e}@${t}`;class ow{init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(t=>{this[t]=e[t]}),this.styleDeclarationParser=new o_(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new oS,r=e=>{let t=e,n=-2;for(;-2===n;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},a=a=>{if(!a.parentNode||!oa(a))return;let i=id(a.parentNode)?this.mirror.getId(or(a)):this.mirror.getId(a.parentNode),o=r(a);if(-1===i||-1===o)return n.addNode(a);let l=iX(a,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inl
52ineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{i9(e,this.mirror)&&!i8(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),oe(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),ot(a)&&this.shadowDomManager.addShadowRoot(a.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(i8(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t);let n=ob(e);n&&this.canvasManager.addWindow(n),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,n)=>{let{width:r,height:a}=n;this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${a}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});l&&(e.push({parentId:i,nextId:o,node:l}),t.add(l.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!ok(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&a(e);for(let e of this.addedSet)oR(this.droppedSet,e)||ok(this.removes,e,this.mirror)?oR(this.movedSet,e)?a(e):this.droppedSet.add(e):a(e);let i=null;for(;n.length;){let e=null;if(i){let t=this.mirror.getId(i.value.parentNode),n=r(i.value);-1!==t&&-1!==n&&(e=i)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}i=e.previous,n.removeNode(e.value),a(e.value)}let o={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!i6(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;i8(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:iV(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,i5(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){let n=iE(t),a=t.tagName;r=iw(t,a,n);let i=iv({maskInputOptions:this.maskInputOptions,tagName:a,type:n});r=iy({isMasked:iV(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:t,value:r,maskInputFn:this.maskInputFn})}if(i8(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let a=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(oy(t))return;n="rr_src"}if(a||(a={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(a),this.attributeMap.set(e.target,a)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!iW(t.tagName,n)&&(a.attributes[n]=iH(this.doc,ib(t.tagName),ib(n),r,t,this.maskAttributeFn),"style"===n)){let n=e.oldValue?this.styleDeclarationParser.parse(e.oldValue):null;for(let e of Array.from(t.style)){let r=t.style.getPropertyValue(e),i=t.style.getPropertyPriority(e);r!==((null==n?void 0:n.getPropertyValue(e))||"")||i!==((null==n?void 0:n.getPropertyPriority(e))||"")?""
52===i?a.styleDiff[e]=r:a.styleDiff[e]=[r,i]:a._unchangedStyles[e]=[r,i]}if(n)for(let e of Array.from(n))""===t.style.getPropertyValue(e)&&(a.styleDiff[e]=!1)}break}case"childList":if(i8(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=id(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);i8(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i6(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(oT(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||function e(t,n){if(id(t))return!1;let r=n.getId(t);return!n.has(r)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,n))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[oE(n,r)]?oT(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(id(e.target)&&ip(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(i6(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[oE(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!i8(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),ot(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}}function oT(e,t){var n;e.delete(t),null==(n=t.childNodes)||n.forEach(t=>oT(e,t))}function ok(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){let t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function oR(e,t){return 0!==e.size&&function e(t,n){let{parentNode:r}=n;return!!r&&(!!t.has(r)||e(t,r))}(e,t)}let ox=[];function oC(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function oP(e,t){var n,r,a;let i=new ow;ox.push(i),i.init(e);let o=window.MutationObserver||window.__rrMutationObserver,l=null==(a=window)||null==(r=a.Zone)||null==(n=r.__symbol__)?void 0:n.call(r,"MutationObserver");l&&window[l]&&(o=window[l]);let s=new o(op(t=>{e.onMutation&&!1===e.onMutation(t)||i.processMutations.bind(i)(t)}));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function oO(e){let{scrollCb:t,doc:n,mirror:r,blockClass:a,blockSelector:i,unblockSelector:o,sampling:l}=e;return iJ("scroll",op(iZ(op(e=>{let l=oC(e);if(!l||i8(l,a,i,o,!0))return;let s=r.getId(l);if(l===n&&n.defaultView){let e=i2(n.defaultView);t({id:s,x:e.left,y:e.top})}else t({id:s,x:l.scrollLeft,y:l.scrollTop})}),l.scroll||100)),n)}let oN=["INPUT","TEXTAREA","SELECT"],oI=new WeakMap;function oA(e){var t=[];if(oj("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||oj("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||oj("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||oj("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}
52function oM(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function oL(e,t){var n,r,a;let{mirror:i,stylesheetManager:o}=e,l=null;l="#document"===t.nodeName?i.getId(t):i.getId(t.host);let s="#document"===t.nodeName?null==(n=t.defaultView)?void 0:n.Document:null==(a=t.ownerDocument)||null==(r=a.defaultView)?void 0:r.ShadowRoot,u=(null==s?void 0:s.prototype)?Object.getOwnPropertyDescriptor(null==s?void 0:s.prototype,"adoptedStyleSheets"):void 0;return null!==l&&-1!==l&&s&&u?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var e;return null==(e=u.get)?void 0:e.call(this)},set(e){var t;let n=null==(t=u.set)?void 0:t.call(this,e);if(null!==l&&-1!==l)try{o.adoptStyleSheets(e,l)}catch(e){}return n}}),op(()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})})):()=>{}}function oD(e){let t;arguments.length>1&&void 0!==arguments[1]&&arguments[1];let n=e.doc.defaultView;if(!n)return()=>{};e.recordDOM&&(t=oP(e,e.doc));let r=function(e){let t,{mousemoveCb:n,sampling:r,doc:a,mirror:i}=e;if(!1===r.mousemove)return()=>{};let o="number"==typeof r.mousemove?r.mousemove:50,l="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,s=[],u=iZ(op(e=>{let r=Date.now()-t;n(s.map(e=>(e.timeOffset-=r,e)),e),s=[],t=null}),l),c=op(iZ(op(e=>{let n=oC(e),{clientX:r,clientY:a}=i7(e)?e.changedTouches[0]:e;t||(t=i1()),s.push({x:r,y:a,id:i.getId(n),timeOffset:i1()-t}),u("u">typeof DragEvent&&e instanceof DragEvent?ou.Drag:e instanceof MouseEvent?ou.MouseMove:ou.TouchMove)}),o,{trailing:!1})),d=[iJ("mousemove",c,a),iJ("touchmove",c,a),iJ("drag",c,a)];return op(()=>{d.forEach(e=>e())})}(e),a=function(e){let{mouseInteractionCb:t,doc:n,mirror:r,blockClass:a,blockSelector:i,unblockSelector:o,sampling:l}=e;if(!1===l.mouseInteraction)return()=>{};let s=!0===l.mouseInteraction||void 0===l.mouseInteraction?{}:l.mouseInteraction,u=[],c=null;return Object.keys(oc).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let l=ib(e),s=n=>{let l=oC(n);if(i8(l,a,i,o,!0))return;let s=null,u=e;if("pointerType"in n){switch(n.pointerType){case"mouse":s=od.Mouse;break;case"touch":s=od.Touch;break;case"pen":s=od.Pen}s===od.Touch?oc[e]===oc.MouseDown?u="TouchStart":oc[e]===oc.MouseUp&&(u="TouchEnd"):od.Pen}else i7(n)&&(s=od.Touch);null!==s?(c=s,(u.startsWith("Touch")&&s===od.Touch||u.startsWith("Mouse")&&s===od.Mouse)&&(s=null)):oc[e]===oc.Click&&(s=c,c=null);let d=i7(n)?n.changedTouches[0]:n;if(!d)return;let f=r.getId(l),{clientX:p,clientY:h}=d;op(t)({type:oc[u],id:f,x:p,y:h,...null!==s&&{pointerType:s}})};if(window.PointerEvent)switch(oc[e]){case oc.MouseDown:case oc.MouseUp:l=l.replace("mouse","pointer");break;case oc.TouchStart:case oc.TouchEnd:return}u.push(iJ(l,s,n))}),op(()=>{u.forEach(e=>e())})}(e),i=oO(e),o=function(e,t){let{viewportResizeCb:n}=e,{win:r}=t,a=-1,i=-1;return iJ("resize",op(iZ(op(()=>{let e=i3(),t=i4();(a!==e||i!==t)&&(n({width:Number(t),height:Number(e)}),a=e,i=t)}),200)),r)}(e,{win:n}),l=function(e){let{inputCb:t,doc:n,mirror:r,blockClass:a,blockSelector:i,unblockSelector:o,ignoreClass:l,ignoreSelector:s,maskInputOptions:u,maskInputFn:c,sampling:d,userTriggeredOnInput:f,maskTextClass:p,unmaskTextClass:h,maskTextSelector:m,unmaskTextSelector:g}=e;function v(e){let t=oC(e),r=e.isTrusted,d=t&&i_(t.tagName);if("OPTION"===d&&(t=t.parentElement),!t||!d||0>oN.indexOf(d)||i8(t,a,i,o,!0))return;let v=t;if(v.classList.contains(l)||s&&v.matches(s))return;let b=iE(t),_=iw(v,d,b),S=!1,E=iv({maskInputOptions:u,tagName:d,type:b}),w=iV(t,p,m,h,g,E);("radio"===b||"checkbox"===b)&&(S=t.checked),_=iy({isMasked:w,element:t,value:_,maskInputFn:c}),y(t,f?{text:_,isChecked:S,userTriggered:r}:{text:_,isChecked:S});let T=t.name;"radio"===b&&T&&S&&n.querySelectorAll(`input[type="radio"][name="${T}"]`).forEach(e=>{if(e!==t){let t=iy({isMasked:w,element:e,value:iw(e,d,b),maskInputFn:c});y(e,f?{text:t,isChecked:!S,userTriggered:!1}:{text:t,isChecked:!S})}})}function y(e,n){let a=oI.get(e);if(!a||a.text!==n.text||a.isChecked!==n.isChecked){oI.set(e,n);let a=r.getId(e);op(t)({...n,id:a})}}let b=("last"===d.input?["change"]:["input","change"]).map(e=>iJ(e,op(v),n)),_=n.defaultView;if(!_)return()=>
52{b.forEach(e=>e())};let S=_.Object.getOwnPropertyDescriptor(_.HTMLInputElement.prototype,"value"),E=[[_.HTMLInputElement.prototype,"value"],[_.HTMLInputElement.prototype,"checked"],[_.HTMLSelectElement.prototype,"value"],[_.HTMLTextAreaElement.prototype,"value"],[_.HTMLSelectElement.prototype,"selectedIndex"],[_.HTMLOptionElement.prototype,"selected"]];return S&&S.set&&b.push(...E.map(e=>(function e(t,n,r,a){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window,o=i.Object.getOwnPropertyDescriptor(t,n);return i.Object.defineProperty(t,n,a?r:{set(e){ol(()=>{r.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>e(t,n,o||{},!0)})(e[0],e[1],{set(){op(v)({target:this,isTrusted:!1})}},!1,_))),op(()=>{b.forEach(e=>e())})}(e),s=function(e){let{mediaInteractionCb:t,blockClass:n,blockSelector:r,unblockSelector:a,mirror:i,sampling:o,doc:l}=e,s=op(e=>iZ(op(o=>{let l=oC(o);if(!l||i8(l,n,r,a,!0))return;let{currentTime:s,volume:u,muted:c,playbackRate:d}=l;t({type:e,id:i.getId(l),currentTime:s,volume:u,muted:c,playbackRate:d})}),o.media||500)),u=[iJ("play",s(of.Play),l),iJ("pause",s(of.Pause),l),iJ("seeked",s(of.Seeked),l),iJ("volumechange",s(of.VolumeChange),l),iJ("ratechange",s(of.RateChange),l)];return op(()=>{u.forEach(e=>e())})}(e),u=()=>{},c=()=>{},d=()=>{},f=()=>{};e.recordDOM&&(u=function(e,t){let n,r,{styleSheetRuleCb:a,mirror:i,stylesheetManager:o}=e,{win:l}=t;if(!l.CSSStyleSheet||!l.CSSStyleSheet.prototype)return()=>{};let s=l.CSSStyleSheet.prototype.insertRule;l.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:op((e,t,n)=>{let[r,l]=n,{id:s,styleId:u}=oM(t,i,o.styleMirror);return(s&&-1!==s||u&&-1!==u)&&a({id:s,styleId:u,adds:[{rule:r,index:l}]}),e.apply(t,n)})});let u=l.CSSStyleSheet.prototype.deleteRule;l.CSSStyleSheet.prototype.deleteRule=new Proxy(u,{apply:op((e,t,n)=>{let[r]=n,{id:l,styleId:s}=oM(t,i,o.styleMirror);return(l&&-1!==l||s&&-1!==s)&&a({id:l,styleId:s,removes:[{index:r}]}),e.apply(t,n)})}),l.CSSStyleSheet.prototype.replace&&(n=l.CSSStyleSheet.prototype.replace,l.CSSStyleSheet.prototype.replace=new Proxy(n,{apply:op((e,t,n)=>{let[r]=n,{id:l,styleId:s}=oM(t,i,o.styleMirror);return(l&&-1!==l||s&&-1!==s)&&a({id:l,styleId:s,replace:r}),e.apply(t,n)})})),l.CSSStyleSheet.prototype.replaceSync&&(r=l.CSSStyleSheet.prototype.replaceSync,l.CSSStyleSheet.prototype.replaceSync=new Proxy(r,{apply:op((e,t,n)=>{let[r]=n,{id:l,styleId:s}=oM(t,i,o.styleMirror);return(l&&-1!==l||s&&-1!==s)&&a({id:l,styleId:s,replaceSync:r}),e.apply(t,n)})}));let c={};oU("CSSGroupingRule")?c.CSSGroupingRule=l.CSSGroupingRule:(oU("CSSMediaRule")&&(c.CSSMediaRule=l.CSSMediaRule),oU("CSSConditionRule")&&(c.CSSConditionRule=l.CSSConditionRule),oU("CSSSupportsRule")&&(c.CSSSupportsRule=l.CSSSupportsRule));let d={};return Object.entries(c).forEach(e=>{let[t,n]=e;d[t]={insertRule:n.prototype.insertRule,deleteRule:n.prototype.deleteRule},n.prototype.insertRule=new Proxy(d[t].insertRule,{apply:op((e,t,n)=>{let[r,l]=n,{id:s,styleId:u}=oM(t.parentStyleSheet,i,o.styleMirror);return(s&&-1!==s||u&&-1!==u)&&a({id:s,styleId:u,adds:[{rule:r,index:[...oA(t),l||0]}]}),e.apply(t,n)})}),n.prototype.deleteRule=new Proxy(d[t].deleteRule,{apply:op((e,t,n)=>{let[r]=n,{id:l,styleId:s}=oM(t.parentStyleSheet,i,o.styleMirror);return(l&&-1!==l||s&&-1!==s)&&a({id:l,styleId:s,removes:[{index:[...oA(t),r]}]}),e.apply(t,n)})})}),op(()=>{l.CSSStyleSheet.prototype.insertRule=s,l.CSSStyleSheet.prototype.deleteRule=u,n&&(l.CSSStyleSheet.prototype.replace=n),r&&(l.CSSStyleSheet.prototype.replaceSync=r),Object.entries(c).forEach(e=>{let[t,n]=e;n.prototype.insertRule=d[t].insertRule,n.prototype.deleteRule=d[t].deleteRule})})}(e,{win:n}),c=oL(e,e.doc),d=function(e,t){let{styleDeclarationCb:n,mirror:r,ignoreCSSAttributes:a,stylesheetManager:i}=e,{win:o}=t,l=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(l,{apply:op((e,t,o)=>{var s;let[u,c,d]=o;if(a.has(u))return l.apply(t,[u,c,d]);let{id:f,styleId:p}=oM(null==(s=t.parentRule)?void 0:s.parentStyleSheet,r,i.styleMirror);return(f&&-1!==f||p&&-1!==p)&&n({id:f,styleId:p,set:{property:u,value:c,priority:d},index:oA(t.parentRule)}),e.apply(t,o)})});let s=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:op((e,t,o)=>{var l;let[u]=o;if(a.has(u))return s.apply(t,[u]);let{id:c,styleId:d}=oM(null==(l=t.parentRule)?void 0:l.parentStyleSheet,r,i.styleMirror);return(c&&-1!==c||d&&-1!==d)&&n({id:c,styleId:d,remove:{property:u},index:oA(t.parentRule)}),e.apply(t,o)})}),op(()=>{o.CSSStyleDeclaration.prototype.setProperty=l,o.CSSStyleDeclaration.prototype.removeProperty=s})}(e,{win:n}),e.collectFonts&&(f=function(e){let{fontCb:t,doc:n}=e,r=n.defaultView;if(!r)return()=>{};let a=[],i=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,n){let r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let l=i0(n.fonts,"add",function(e){return function(n){return ol(op(()=>{let e=i.get(n);e&&(t(e),i.delete(n))}),0),e.apply(this,[n])}});return a.push(()=>{r.FontFace=o}),a.push(l),op(()=>
52{a.forEach(e=>e())})}(e)));let p=function(e){let{doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,selectionCb:o}=e,l=!0,s=op(()=>{let e=t.getSelection();if(!e||l&&(null==e?void 0:e.isCollapsed))return;l=e.isCollapsed||!1;let s=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:o,startOffset:l,endContainer:u,endOffset:c}=e.getRangeAt(t);i8(o,r,a,i,!0)||i8(u,r,a,i,!0)||s.push({start:n.getId(o),startOffset:l,end:n.getId(u),endOffset:c})}o({ranges:s})});return s(),iJ("selectionchange",s)}(e),h=function(e){let{doc:t,customElementCb:n}=e,r=t.defaultView;return r&&r.customElements?i0(r.customElements,"define",function(e){return function(t,r,a){try{n({define:{name:t}})}catch(e){}return e.apply(this,[t,r,a])}}):()=>{}}(e),m=[];for(let t of e.plugins)m.push(t.observer(t.callback,n,t.options));return op(()=>{ox.forEach(e=>e.reset()),null==t||t.disconnect(),r(),a(),i(),o(),l(),s(),u(),c(),d(),f(),p(),h(),m.forEach(e=>e())})}function oj(e){return void 0!==window[e]}function oU(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class oB{getId(e,t,n,r){let a=n||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e),o=a.get(t);return o||(o=this.generateIdFn(),a.set(t,o),i.set(o,t)),o}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
52getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let a=r.get(t);return a||-1}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}}class oz{addIframe(){}addLoadListener(){}attachIframe(){}constructor(){this.crossOriginIframeMirror=new oB(iI),this.crossOriginIframeRootIdMap=new WeakMap}}class oF{addIframe(e){this.iframes.set(e,!0);let t=ob(e);t&&this.crossOriginIframeMap.set(t,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var n,r;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(r=ob(e))||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e);let a=oy(e);a&&a.adoptedStyleSheets&&a.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(a.adoptedStyleSheets,this.mirror.getId(a))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let n=this.transformCrossOriginEvent(t,e.data.event);n&&this.wrappedEmit(n,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case os.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:os.IncrementalSnapshot,data:{source:ou.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case os.Meta:case os.Load:case os.DomContentLoaded:break;case os.Plugin:return t;case os.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case os.IncrementalSnapshot:switch(t.data.source){case ou.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ou.Drag:case ou.TouchMove:case ou.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ou.ViewportResize:return!1;case ou.MediaInteraction:case ou.MouseInteraction:case ou.Scroll:case ou.CanvasMutation:case ou.Input:return this.replaceIds(t.data,e,["id"]),t;case ou.StyleSheetRule:case ou.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case ou.Font:return t;case ou.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case ou.AdoptedStyleSheet:var n;return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(n=t.data.styles)||n.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(let a of r)(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(n,t[a]):t[a]=e.getId(n,t[a]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===ic.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEac
52h(e=>{this.patchRootIdOnNode(e,t)})}constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new oB(iI),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new oB(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}}class o${init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class oH{init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!ip(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=oP({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(oO({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),ol(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(oL({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=oy(e),n=ob(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(i0(e.prototype,"attachShadow",function(e){return function(r){let a=e.call(this,r);return this.shadowRoot&&oa(this)&&n.addShadowRoot(this.shadowRoot,t),a}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}}class oW{attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:im(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new on,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}}class oq{inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];oo("requestAnimationFrame")(...t)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}constructor(){this.nodeMap=new WeakMap,this.active=!1}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=(null==(N=e.contentWindow)?void 0:N.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let oG=new ig;function oV(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{emit:n,checkoutEveryNms:r,checkoutEveryNth:a,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:l=null,ignoreClass:s="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:f=null,maskTextSelector:p=null,unmaskTextSelector:v=null,inlineStylesheet:y=!0,maskAllInputs:b,maskInputOptions:_,slimDOMOptions:S,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,maxCanvasSize:k=null,packFn:R,sampling:x={},dataURLOptions:C={},mousemoveWait:P,recordDOM:O=!0,recordCanvas:N=!1,recordCrossOriginIframes:I=!1,recordAfter:A="DOMContentLoaded"===t.recordAfter?t.recordAfter:"load",userTriggeredOnInput:M=!1,collectFonts:L=!1,inlineImages:D=!1,plugins:j,keepIframeSrcFn:U=()=>!1,ignoreCSSAttributes:B=new Set([]),errorHandler:z,onMutation:F,getCanvasManager:$}=t;h=z;let H=!I||window.parent===window,W=!1;if(!H)try{window.parent.document&&(W=!1)}catch(e){W=!0}if(H&&!n)throw Error("emit function is required");if(!H&&!W)return()=>{};void 0!==P&&void 0===x.mousemove&&(x.mousemove=P),oG.reset();let q=!0===b?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==_?_:{},G=!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===S,headMetaDescKeywords:"all"===S}:S||{};!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;if("NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),!Node.prototype.contains){var t=this;Node.prototype.contains=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let a=n[0];if(!(0 in n))throw TypeError("1 argument is required");do if(t===a)return!0;while(a=a&&a.parentNode)return!1}}}();let V=0,Y=e=>{for(let t of j||[])t.eventProcessor&&(e=t.eventProcessor(e));return R&&!W&&(e=R(e)),e};m=(t,i)=>{var o;if(t.timestamp=i1(),(null==(o=ox[0])?void 0:o.isFrozen())&&t.type!==os.FullSnapshot&&(t.type!==os.IncrementalSnapshot||t.data.source!==ou.Mutation)&&ox.forEac
52h(e=>e.unfreeze()),H)null==n||n(Y(t),i);else if(W){let e={type:"rrweb",event:Y(t),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(t.type===os.FullSnapshot)e=t,V=0;else if(t.type===os.IncrementalSnapshot){if(t.data.source===ou.Mutation&&t.data.isAttachIframe)return;V++;let n=a&&V>=a,i=r&&e&&t.timestamp-e.timestamp>r;(n||i)&&er(!0)}};let X=e=>{m({type:os.IncrementalSnapshot,data:{source:ou.Mutation,...e}})},J=e=>m({type:os.IncrementalSnapshot,data:{source:ou.Scroll,...e}}),Q=e=>m({type:os.IncrementalSnapshot,data:{source:ou.CanvasMutation,...e}}),K=new oW({mutationCb:X,adoptedStyleSheetCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new oz:new oF({mirror:oG,mutationCb:X,stylesheetManager:K,recordCrossOriginIframes:I,wrappedEmit:m});for(let e of j||[])e.getMirror&&e.getMirror({nodeMirror:oG,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new oq,et=function(e,t){try{return e?e(t):new ov}catch(e){return console.warn("Unable to initialize CanvasManager"),new ov}}($,{mirror:oG,win:window,mutationCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.CanvasMutation,...e}}),recordCanvas:N,blockClass:i,blockSelector:o,unblockSelector:l,maxCanvasSize:k,sampling:x.canvas,dataURLOptions:C,errorHandler:z}),en="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new o$:new oH({mutationCb:X,scrollCb:J,bypassOptions:{onMutation:F,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:v,inlineStylesheet:y,maskInputOptions:q,dataURLOptions:C,maskAttributeFn:E,maskTextFn:T,maskInputFn:w,recordCanvas:N,inlineImages:D,sampling:x,slimDOMOptions:G,iframeManager:Z,stylesheetManager:K,canvasManager:et,keepIframeSrcFn:U,processedNodeManager:ee,ignoreCSSAttributes:B},mirror:oG}),er=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!O)return;m({type:os.Meta,data:{href:window.location.href,width:i4(),height:i3()}},e),K.reset(),en.init(),ox.forEach(e=>e.lock());let t=function(e,t){let{mirror:n=new ig,blockClass:r="rr-block",blockSelector:a=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:l="rr-mask",unmaskTextClass:s=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOM:y=!1,dataURLOptions:b,preserveWhiteSpace:_,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:x=()=>!1,ignoreCSSAttributes:C=new Set([])}=t||{};return iX(e,{doc:e,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,maskAllText:o,maskTextClass:l,unmaskTextClass:s,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:b,inlineImages:f,recordCanvas:p,preserveWhiteSpace:_,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:x,newlyAddedElement:!1,ignoreCSSAttributes:C})}(document,{mirror:oG,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:v,inlineStylesheet:y,maskAllInputs:q,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,slimDOM:G,dataURLOptions:C,recordCanvas:N,inlineImages:D,onSerialize:e=>{i9(e,oG)&&Z.addIframe(e),oe(e,oG)&&K.trackLinkElement(e),ot(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t);let n=ob(e);n&&et.addWindow(n),en.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{K.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,n)=>{let{width:r,height:a}=n;X({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${a}px`}}}]})},keepIframeSrcFn:U,ignoreCSSAttributes:B});if(!t)return console.warn("Failed to snapshot the document");m({type:os.FullSnapshot,data:{node:t,initialOffset:i2(window)}}
52),ox.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&K.adoptStyleSheets(document.adoptedStyleSheets,oG.getId(document))};g=er;try{let e=[],t=e=>{var t;return op(oD)({onMutation:F,mutationCb:X,mousemoveCb:(e,t)=>m({type:os.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.MouseInteraction,...e}}),scrollCb:J,viewportResizeCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.ViewportResize,...e}}),inputCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.Input,...e}}),mediaInteractionCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.MediaInteraction,...e}}),styleSheetRuleCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.StyleSheetRule,...e}}),styleDeclarationCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.StyleDeclaration,...e}}),canvasMutationCb:Q,fontCb:e=>m({type:os.IncrementalSnapshot,data:{source:ou.Font,...e}}),selectionCb:e=>{m({type:os.IncrementalSnapshot,data:{source:ou.Selection,...e}})},customElementCb:e=>{m({type:os.IncrementalSnapshot,data:{source:ou.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:v,maskInputOptions:q,inlineStylesheet:y,sampling:x,recordDOM:O,recordCanvas:N,inlineImages:D,userTriggeredOnInput:M,collectFonts:L,doc:e,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,keepIframeSrcFn:U,blockSelector:o,unblockSelector:l,slimDOMOptions:G,dataURLOptions:C,mirror:oG,iframeManager:Z,stylesheetManager:K,shadowDomManager:en,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:B,plugins:(null==j||null==(t=j.filter(e=>e.observer))?void 0:t.map(e=>({observer:e.observer,options:e.options,callback:t=>m({type:os.Plugin,data:{plugin:e.name,payload:t}})})))||[]},{})};Z.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{er(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(iJ("DOMContentLoaded",()=>{m({type:os.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()})),e.push(iJ("load",()=>{m({type:os.Load,data:{}}),"load"===A&&n()},window))),()=>{e.forEach(e=>e()),ee.destroy(),g=void 0,h=void 0}}catch(e){console.warn(e)}}function oY(e){return e>0x2540be3ff?e:1e3*e}function oX(e){return e>0x2540be3ff?e/1e3:e}function oJ(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:os.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,eo.normalize)(t,10,1e3)}}),"console"===t.category)))}function oQ(e){return e.closest("button,a")||e}function oK(e){let t=oZ(e);return t&&t instanceof Element?oQ(t):t}function oZ(e){var t;return(t=e,(0,ew.isObjectLike)(t)&&"target"in t)?e.target:e}oV.mirror=oG,oV.takeFullSnapshot=function(e){if(!g)throw Error("please take full snapshot after start recording");g(e)},(P=I||(I={}))[P.NotStarted=0]="NotStarted",P[P.Running=1]="Running",P[P.Stopped=2]="Stopped";let o0=new Set([ou.Mutation,ou.StyleSheetRule,ou.StyleDeclaration,ou.AdoptedStyleSheet,ou.CanvasMutation,ou.Selection,ou.MediaInteraction]);class o1{addListeners(){var e;let t=(e=()=>{this._lastMutation=o3()},v||(v=[],(0,K.fill)(ii,"open",function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(v)try{v.forEach(e=>e())}catch(e){}return e.apply(ii,n)}})),v.push(e),()=>{let t=v?v.indexOf(e):-1;t>-1&&v.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var n,r,a;if(n=t,r=this._ignoreSelector,!o2.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||r&&n.matches(r)||!((a=e).data&&"number"==typeof a.data.nodeId&&a.timestamp))return;let i={timestamp:oX(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===i.node&&1>
52Math.abs(e.timestamp-i.timestamp))||(this._clicks.push(i),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();this._lastMutation=oX(e)}registerScroll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();this._lastScroll=oX(e)}registerClick(e){let t=oQ(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=o3();for(let n of(this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}),e)){let e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:a,clickBreadcrumb:i}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",o={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:ii.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};this._addBreadcrumbEvent(t,o);return}if(a>1){let e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:ii.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=nz(()=>this._checkClicks(),1e3)}constructor(e,t,n=oJ){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}}let o2=["A","BUTTON","INPUT"];function o3(){return Date.now()/1e3}function o4(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var o5=((O=o5||{})[O.Document=0]="Document",O[O.DocumentType=1]="DocumentType",O[O.Element=2]="Element",O[O.Text=3]="Text",O[O.CDATA=4]="CDATA",O[O.Comment=5]="Comment",O);let o8=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),o6=new Set([...o8,"data-sentry-element"]);function o7(e,t){let n=oV.mirror.getId(e),r=n&&oV.mirror.getNode(n),a=r&&oV.mirror.getMeta(r),i=a&&a.type===o5.Element?a:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(e=>e.type===o5.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let n in e)if(o8.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return!t["data-sentry-component"]&&e["data-sentry-element"]&&(t["data-sentry-component"]=e["data-sentry-element"]),t}(i.attributes)}}:{}}}let o9={resource:function(e){let{entryType:t,initiatorType:n,name:r,responseEnd:a,startTime:i,decodedBodySize:o,encodedBodySize:l,responseStatus:s,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:ln(i),end:ln(a),name:r,data:{size:u,statusCode:s,decodedBodySize:o,encodedBodySize:l}}},paint:function(e){let{duration:t,entryType:n,name:r,startTime:a}=e,i=ln(a);return{type:n,name:r,start:i,end:i+t,data:void 0}},navigation:function(e){let{entryType:t,name:n,decodedBodySize:r,duration:a,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:l,domContentLoadedEventEnd:s,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:h,type:m}=e;return 0===a?null:{type:`${t}.${m}`,start:ln(p),end:ln(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:o,duration:a,domInteractive:u,domContentLoadedEventStart:l,domContentLoadedEventEnd:s,loadEventStart:c,loadEventEnd:d,domComplete:i,redirectCount:f}}}};function le(e,t){return n=>{let{metric:r}=n;t.replayPerformanceEntries.push(e(r))}}function lt(e){let t=o9[e.entryType];return t?t(e):null}function ln(e){return(((0,ek.browserPerformanceTimeOrigin)()||ii.performance.timeOrigin)+e)/1e3}function lr(e){let t=e.entries[e.entries.length-1];return lo(e,"largest-contentful-paint",(null==t?void 0:t.element)?[t.element]:void 0)}function la(e){let t=[],n=[];for(let r of e.entries)if(void 0!==r.sources){let e=[];for(let t of r.sources)if(t.node){n.push(t.node);let r=oV.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return lo(e,"cumulative-layout-shift",n,t)}function li(e){let t=e.entries[e.entries.length-1];return lo(e,"interaction-to-next-paint",(null==t?void 0:t.target)?[t.target]:void 0)}function lo(e,t,n,r){let a=e.value,i=e.rating,o=ln(a);return{type:"web-vital",name:t,start:o,end:o,data:{value:a,size:a,rating:i,nodeIds:n?n.map(e=>oV.mirror.getId(e)):void 0,attributions:r}}}let ll="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ls=["log","warn","error"],lu="[Replay] ";function lc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info";tI({category:"console",data:{logger:"replay"},level:t,message:`${lu}${e}`},{level:t})}let ld=(_=!1,S=!1,E={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{_=!!e.captureExceptions,S=!!e.traceInternals}}
52,ll?(ls.forEach(e=>{E[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];M.debug[e](lu,...n),S&&lc(n.join(""),tN(e))}}),E.exception=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.length&&E.error&&E.error(...n),M.debug.error(lu,e),_?(0,U.captureException)(e,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):S&&lc(e,"error")},E.infoTick=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];M.debug.log(lu,...t),S&&setTimeout(()=>lc(t[0]),0)}):ls.forEach(e=>{E[e]=()=>void 0}),E);class lf extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class lp extends Error{constructor(){super("Worker destroyed")}}class lh{get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new lf;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=null;for(let{timestamp:t}of this.events)(null===e||t<e)&&(e=t);return null===e?e:oY(e)}constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}}class lm{ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",n=>{let{data:r}=n;r.success?e():(ll&&ld.warn("Received worker message with unsuccessful status",r),t(Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",e=>{ll&&ld.warn("Failed to load Replay compression worker",e),t(Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){ll&&ld.log("Destroying compression worker"),this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(e=>e.reject(new lp)),this._pending.clear(),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,a)=>{this._pending.set(n,{method:e,resolve:r,reject:a});try{this._worker.postMessage({id:n,method:e,arg:t})}catch(e){this._pending.delete(n),a(e)}})}_getAndIncrementId(){return this._id++}constructor(e){this._onMessage=e=>{let{data:t}=e;if("number"!=typeof t.id)return;let n=this._pending.get(t.id);if(n&&n.method===t.method){if(this._pending.delete(t.id),!t.success){ll&&ld.error("Error in compression worker: ",t.response),n.reject(Error("Error in compression worker"));return}n.resolve(t.response)}},this._worker=e,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}}class lg{get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=oY(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return(this._totalSize+=n.length,this._totalSize>2e7)?Promise.reject(new lf):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{ll&&ld.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}constructor(e){this._worker=new lm(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}}class lv{get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}
52async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){ll&&ld.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){if(e instanceof lp)return;ll&&ld.exception(e,"Failed to add events when switching buffers.")}}constructor(e){this._fallback=new lh,this._compression=new lg(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}}function ly(){try{return"sessionStorage"in ii&&!!ii.sessionStorage}catch(e){return!1}}function lb(e){return void 0!==e&&Math.random()<e}function l_(e){if(ly())try{ii.sessionStorage.setItem(io,JSON.stringify(e))}catch(e){}}function lS(e){let t=Date.now(),n=e.id||(0,q.uuid4)(),r=e.started||t,a=e.lastActivity||t,i=e.segmentId||0,o=e.sampled;return{id:n,started:r,lastActivity:a,segmentId:i,sampled:o,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function lE(e){let{sessionSampleRate:t,allowBuffering:n,stickySession:r=!1}=e,{previousSessionId:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=lS({sampled:lb(t)?"session":!!n&&"buffer",previousSessionId:a});return r&&l_(i),i}function lw(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:+new Date;return null===e||void 0===t||t<0||0!==t&&e+t<=n}function lT(e,t){let{sessionIdleExpire:n,maxReplayDuration:r}=t;return!!function(e,t){let{maxReplayDuration:n,sessionIdleExpire:r,targetTime:a=Date.now()}=t;return lw(e.started,n,a)||lw(e.lastActivity,r,a)}(e,{sessionIdleExpire:n,maxReplayDuration:r})&&("buffer"!==e.sampled||0!==e.segmentId)}function lk(e,t){let{sessionIdleExpire:n,maxReplayDuration:r,previousSessionId:a}=e,i=t.stickySession&&function(){if(!ly())return null;try{let e=ii.sessionStorage.getItem(io);if(!e)return null;let t=JSON.parse(e);return ll&&ld.infoTick("Loading existing session"),lS(t)}catch(e){return null}}();return i?lT(i,{sessionIdleExpire:n,maxReplayDuration:r})?(ll&&ld.infoTick("Session in sessionStorage is expired, creating new one..."),lE(t,{previousSessionId:i.id})):i:(ll&&ld.infoTick("Creating new session"),lE(t,{previousSessionId:a}))}function lR(e,t,n){return!!lC(e,t)&&(lx(e,t,n),!0)}async function lx(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let a="buffer"===e.recordingMode;try{n&&a&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let i=e.getOptions(),o=function(e,t){try{if("function"==typeof t&&e.type===os.Custom)return t(e)}catch(e){return ll&&ld.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,i.beforeAddRecordingEvent);if(!o)return;return await r.addEvent(o)}catch(i){if(!e.isEnabled())return e.handleException(i),null;let t=i&&i instanceof lf,n=(0,B.getClient)();if(n&&n.recordDroppedEvent(t?"buffer_overflow":"internal_sdk_error","replay"),t&&a)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:t?"eventBufferOverflow":"eventBufferError"})}}function lC(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=oY(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(ll&&ld.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function lP(e,t,n){let r=e.getContext();t&&r.traceIds.size<100&&r.traceIds.add(t),n&&r.segmentNames.size<100&&r.segmentNames.add(n)}function lO(e){return"transaction"===e.type}function lN(e){return"feedback"===e.type}function lI(e){return!!e.category}function lA(){let e=(0,B.getCurrentScope)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,et.getActiveSpan)();if(t){let e=(0,eu.getDynamicSamplingContextFromSpan)(t);delete e.replay_id}}function lM(e){let t=(0,B.getCurrentScope)().getPropagationContext().dsc;t&&(t.replay_id=e);let n=(0,et.getActiveSpan)();n&&((0,eu.getDynamicSamplingContextFromSpan)(n).replay_id=e)}function lL(e,t){return t.map(t=>{let{type:n,start:r,end:a,name:i,data:o}=t,l=e.throttledAddEvent({type:os.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:a,data:o}}});return"string"==typeof l?Promise.resolve(null):l})}function lD(e,t){e.isEnabled()&&null!==t&&!function(e,t){var n,r,a,i,o,l,s;let u,c,d;if(ll&&e.getOptions()._experiments.traceInternals)return!1;return u=null==(n=(0,B.getClient)())?void 0:n.getDsn(),c=null==n?void 0:n.getOptions().tunnel,r=t,a=u,!(!(d=tq(r))||tW(d))&&!!a&&(i=d.hostname,i===(o=a.host)||o.length>0&&i.endsWith(`.${o}`))&&/(^|&|\?)sentry_key=/.test(d.search)||(l=t,!!(s=c)&&ia(l)===ia(s))}(e,t.name)&&e.addUpdate(()=>(lL(e,[t]),!0))}function lj(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=ab(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function lU(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function lB(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function lz(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:a,method:i,statusCode:o,request:l,response:s}=t;return{type:e,start:n/1e3,end:r/1e3,name:a,data:{method:i,statusCode:o,request:l,response:s}}}function lF(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function l$(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:a,warnings:i}=function(e){var t;let n,r;if(!e||"string"!=typeof e)return{body:e};let a=e.length>15e4,i=(n=(t=e)[0],r=t[t.length-1],"["===n&&"]"===r||"{"===n&&"}"===r);if(a){let t=e.slice(0,15e4);return i?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}\u2026`,warnings:["TEXT_TRUNCATED"]}}if(i)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(n);return r.body=a,(null==i?void 0:i.length)&&(r._meta={warnings:i}),r}function lH(e,t){return Object.entries(e).reduce((n,r)=>{let[a,i]=r,o=a.toLowerCase();return t.includes(o)&&e[a]&&(n[o]=i),n},{})}function lW(e,t){let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ii.document.baseURI;if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(ii.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,G.stringMatchesSomePattern)(n,t)}async function lq(e,t,n){try{let r=await lG(e,t,n),a=lz("resource.fetch",r);lD(n.replay,a)}catch(e){ll&&ld.exception(e,"Failed to capture fetch breadcrumb")}}async function lG(e,t,n){let r=Date.now(),{startTimestamp:a=r,endTimestamp:i=r}=t,{url:o,method:l,status_code:s=0,request_body_size:u,response_body_size:c}=e.data,d=lW(o,n.networkDetailAllowUrls)&&!lW(o,n.networkDetailDenyUrls);return{startTimestamp:a,endTimestamp:i,url:o,method:l,statusCode:s,request:d?function(e,t,n){var r,a;let{networkCaptureBodies:i,networkRequestHeaders:o}=e,l=t?(r=t,a=o,1===r.length&&"string"!=typeof r[0]?lJ(r[0],a):2===r.length?lJ(r[1],a):{}):{};if(!i)return l$(l,n,void 0);let[s,u]=a_(aS(t),ld),c=l$(l,n,s);return u?lB(c,u):c}(n,t.input,u):lF(u),response:await lV(d,n,t.response,c)}}async function lV(e,t,n,r){let{networkCaptureBodies:a,networkResponseHeaders:i}=t;if(!e&&void 0!==r)return lF(r);let o=n?lX(n.headers,i):{};if(!n||!a&&void 0!==r)return l$(o,r,void 0);let[l,s]=await lY(n),u=function(e,t){let{networkCaptureBodies:n,responseBodySize:r,captureDetails:a,headers:i}=t;try{let t=(null==e?void 0:e.length)&&void 0===r?lj(e):r;if(!a)return lF(t);if(n)return l$(i,t,e);return l$(i,t,void 0)}catch(e){return ll&&ld.exception(e,"Failed to serialize response body"),l$(i,r,void 0)}}(l,{networkCaptureBodies:a,responseBodySize:r,captureDetails:e,headers:o});return s?lB(u,s):u}async function lY(e){let t=function(e){try{return e.clone()}catch(e){ll&&ld.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var n;return[await (n=t,new Promise((e,t)=>
52{let r=nz(()=>t(Error("Timeout while trying to read response body")),500);lQ(n).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(r))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return ll&&ld.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return ll&&ld.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function lX(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function lJ(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?lX(n,t):Array.isArray(n)?{}:lH(n,t):{}}async function lQ(e){return await e.text()}async function lK(e,t,n){try{let r=function(e,t,n){let r=Date.now(),{startTimestamp:a=r,endTimestamp:i=r,input:o,xhr:l}=t,{url:s,method:u,status_code:c=0,request_body_size:d,response_body_size:f}=e.data;if(!s)return null;if(!l||!lW(s,n.networkDetailAllowUrls)||lW(s,n.networkDetailDenyUrls)){let e=lF(d);return{startTimestamp:a,endTimestamp:i,url:s,method:u,statusCode:c,request:e,response:lF(f)}}let p=l[t0],h=p?lH(p.request_headers,n.networkRequestHeaders):{},m=lH(aE(l),n.networkResponseHeaders),[g,v]=n.networkCaptureBodies?a_(o,ld):[void 0],[y,b]=n.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var n=e.response,r=e.responseType;try{if("string"==typeof n)return[n];if(n instanceof Document)return[n.body.outerHTML];if("json"===r&&(0,ew.isObjectLike)(n))return[JSON.stringify(n)];if(!n)return[void 0]}catch(e){return ll&&ld.exception(e,"Failed to serialize body",n),[void 0,"BODY_PARSE_ERROR"]}return ll&&ld.log("Skipping network body because of body type",n),[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return ll&&ld.warn("Failed to get xhr response body",...t),[void 0]}(l):[void 0],_=l$(h,d,g),S=l$(m,f,y);return{startTimestamp:a,endTimestamp:i,url:s,method:u,statusCode:c,request:v?lB(_,v):_,response:b?lB(S,b):S}}(e,t,n),a=lz("resource.xhr",r);lD(n.replay,a)}catch(e){ll&&ld.exception(e,"Failed to capture xhr breadcrumb")}}async function lZ(e){try{return Promise.all(lL(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,a=Date.now()/1e3;return{type:"memory",name:"memory",start:a,end:a,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}(ii.performance.memory)]))}catch(e){return[]}}let l0=L.GLOBAL_OBJ.navigator;async function l1(e){let{client:t,scope:n,replayId:r,event:a}=e,i={event_id:r,integrations:"object"!=typeof t._integrations||null===t._integrations||Array.isArray(t._integrations)?void 0:Object.keys(t._integrations)};t.emit("preprocessEvent",a,i);let o=await (0,eF.prepareEvent)(t.getOptions(),a,i,n,t,(0,B.getIsolationScope)());if(!o)return null;t.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";let l=t.getSdkMetadata(),{name:s,version:u,settings:c}=(null==l?void 0:l.sdk)||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:u||"0.0.0",settings:c},o}async function l2(e){var t;let n,{recordingData:r,replayId:a,segmentId:i,eventContext:o,timestamp:l,session:s}=e,u=function(e){let t,{recordingData:n,headers:r}=e,a=`${JSON.stringify(r)} 53`;if("string"==typeof n)t=`${a}${n}`;else{let e=new TextEncoder().encode(a);(t=new Uint8Array(e.length+n.length)).set(e),t.set(n,e.length)}return t}({recordingData:r,headers:{segment_id:i}}),{urls:c,errorIds:d,traceIds:f,segmentNames:p,initialTimestamp:h}=o,m=(0,B.getClient)(),g=(0,B.getCurrentScope)(),v=null==m?void 0:m.getTransport(),y=null==m?void 0:m.getDsn();if(!m||!v||!y||!s.sampled)return Promise.resolve({});let b={type:"replay_event",replay_start_timestamp:h/1e3,timestamp:l/1e3,error_ids:d,trace_ids:f,segment_names:p,urls:c,replay_id:a,segment_id:i,replay_type:s.sampled},_=await l1({scope:g,client:m,replayId:a,event:b});if(!_)return m.recordDroppedEvent("event_processor","replay"),ll&&ld.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete _.sdkProcessingMetadata;let S=(t=m.getOptions().tunnel,ep(e_(_,eb(_),t,y),[[{type:"replay_event"},_],[{type:"replay_recording",length:"string"==typeof u?new TextEncoder().encode(u).length:u.length},u]]));try{n=await v.send(S)}catch(t){let e=Error(il);try{e.cause=t}catch(e){}throw e}let E=eU({},n);if(ej(E,"replay"))throw new l4(E);if("number"==typeof n.statusCode&&(n.statusCode<200||n.statusCode>=300))throw new l3(n.statusCode);return n}
53class l3 extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class l4 extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class l5 extends Error{constructor(){super("Session is too long, not sending replay")}}async function l8(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{count:0,interval:5e3},{recordingData:n,onError:r}=e;if(n.length)try{return await l2(e),!0}catch(n){if(n instanceof l3||n instanceof l4)throw n;if((0,U.setContext)("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){let e=Error(`${il} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise((n,r)=>{nz(async()=>{try{await l8(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let l6="__THROTTLED";class l7{getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){ll&&ld.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;if(this._requiresManualStart=r,!r){if(this._initializeSessionForSampling(e),!this.session){ll&&ld.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",ll&&ld.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){ll&&ld.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){ll&&ld.log("Buffering is in progress, call `flush()` to save the replay");return}ll&&ld.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=lk({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled){ll&&ld.log("Buffering is in progress, call `flush()` to save the replay");return}ll&&ld.infoTick("Starting replay in buffer mode");let e=lk({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e,t,n;let r,a=this._canvas;this._stopRecording=oV({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,r=!1,(t,n)=>{try{if(!e.checkAndHandleExpiredSession()){ll&&ld.warn("Received replay event after session expired.");return}let a=n||!r;r=!0,function(e){let t=e.data;if(e.type===os.IncrementalSnapshot&&t&&"object"==typeof t&&"source"in t&&t.source===ou.Mutation&&"attributes"in t&&Array.isArray(t.attributes))for(let e of t.attributes){let t=
53oV.mirror.getNode(e.id),n=t&&oV.mirror.getMeta(t);if(!t||(null==n?void 0:n.type)!==o5.Element)continue;let r={...n.attributes},a=!1;for(let[t,n]of Object.entries(e.attributes))o6.has(t)&&(null===n?delete r[t]:r[t]=n,a=!0);a&&oV.mirror.add(t,{...n,attributes:r})}}(t),e.clickDetector&&function(e,t){try{var n;if(n=t,3!==n.type)return;let{source:r}=t.data;if(o0.has(r)&&e.registerMutation(t.timestamp),r===ou.Scroll&&e.registerScroll(t.timestamp),t.data.source===ou.MouseInteraction){let{type:n,id:r}=t.data,a=oV.mirror.getNode(r);a instanceof HTMLElement&&n===oc.Click&&e.registerClick(a)}}catch(e){}}(e.clickDetector,t),e.addUpdate(()=>{if("buffer"===e.recordingMode&&a&&e.setInitialState(),!lR(e,t,a))return!0;if(!a)return!1;let n=e.session;if(function(e,t){var n;if(t&&(null==(n=e.session)?void 0:n.segmentId)===0){let t;lR(e,(t=e.getOptions(),{type:os.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}),!1)}}(e,a),"buffer"===e.recordingMode&&n&&e.eventBuffer&&!n.dirty){let t=e.eventBuffer.getEarliestTimestamp();t&&(ll&&ld.log(`Updating session start time to earliest event in buffer to ${new Date(t)}`),n.started=t,e.getOptions().stickySession&&l_(n))}return null!=n&&!!n.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}catch(t){e.handleException(t)}}),.../iPhone|iPad|iPod/i.test(null!=(t=null==l0?void 0:l0.userAgent)?t:"")||/Macintosh/i.test(null!=(n=null==l0?void 0:l0.userAgent)?n:"")&&(null==l0?void 0:l0.maxTouchPoints)&&(null==l0?void 0:l0.maxTouchPoints)>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...a?{recordCanvas:a.recordCanvas,getCanvasManager:a.getCanvasManager,sampling:a.sampling,dataURLOptions:a.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop(){var e,t,n;let{forceFlush:r=!1,reason:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode="buffer";let i=null!=a?a:"manual";null==(t=(0,B.getClient)())||t.emit("replayEnd",{sessionId:null==(e=this.session)?void 0:e.id,reason:i});try{ll&&ld.log(`Stopping Replay triggered by ${i}`),lA(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),r&&await this._flush({force:!0}),null==(n=this.eventBuffer)||n.destroy(),this.eventBuffer=null,function(){if(ly())try{ii.sessionStorage.removeItem(io)}catch(e){}}(),this.session=void 0}catch(e){this.handleException(e)}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),ll&&ld.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),ll&&ld.log("Resuming replay"))}async sendBufferedReplayOrFlush(){let{continueRecording:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();ll&&ld.log("Converting buffer to session"),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession(),lM(this.session.id)),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){var t,n;if(!e||(null==(t=this.session)?void 0:t.sampled)!==!1)return null==(n=this.session)?void 0:n.id}
53checkAndHandleExpiredSession(){var e;return this._lastActivity&&lw(this._lastActivity,this.timeouts.sessionIdlePause)&&(null==(e=this.session)?void 0:e.sampled)==="session"?void this.pause():!!this._checkSession()}setInitialState(){let e=`${ii.location.pathname}${ii.location.hash}${ii.location.search}`,t=`${ii.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===l6){let e=o4({category:"replay.throttled"});this.addUpdate(()=>!lR(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||(0,et.getActiveSpan)(),t=e&&(0,et.getRootSpan)(e),n=(t&&(0,et.spanToJSON)(t).data||{})[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(t&&n&&["route","custom"].includes(n))return(0,et.spanToJSON)(t).description}_initializeRecording(){if(this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function(e){let{useCompression:t,workerUrl:n}=e;if(t&&window.Worker){let e=function(e){try{let t=e||function(){if("u"<typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__){let e;return e=new Blob(['
vendor: 10,329 bytes, line 53
53var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
53'],{type:"text/javascript"}),URL.createObjectURL(e)}return""}();if(!t)return;ll&&ld.log(`Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new lv(n)}catch(e){ll&&ld.exception(e,"Failed to create compression worker")}}(n);if(e)return e}return ll&&ld.log("Using simple buffer"),new lh}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session){var e;null==(e=(0,B.getClient)())||e.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode})}this.startRecording(),"session"===this.recordingMode&&this.session&&lM(this.session.id)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=lk({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!lT(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"sessionExpired"}),this.initializeSampling(e.id))}_addListeners(){try{ii.document.addEventListener("visibilitychange",this._handleVisibilityChange),ii.addEventListener("blur",this._handleWindowBlur),ii.addEventListener("focus",this._handleWindowFocus),ii.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t,n=(0,B.getClient)();tQ(t=>{var n,r;if(!e.isEnabled())return;let a=function(e){let{target:t,message:n}=function(e){let t,n="click"===e.name,r=null;try{r=n?oK(e.event):oZ(e.event),t=t6(r,{maxStringLength:200})||"<unknown>"}catch(e){t="<unknown>"}return{target:r,message:t}}(e);return o4({category:`ui.${e.name}`,...o7(t,n)})}(t);if(!a)return;let i="click"===t.name,o=i?t.event:void 0;i&&e.clickDetector&&(null==o?void 0:o.target)&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&(n=e.clickDetector,r=oK(t.event),n.handleClick(a,r)),oJ(e,a)}),t3(t=>{if(!e.isEnabled())return;let n=function(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(lL(e,[n]),!1)))}),(t=(0,B.getClient)())&&t.on("beforeAddBreadcrumb",t=>(function(e,t){var n;if(!e.isEnabled()||!lI(t))return;let r=(n=t,!lI(n)||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui.")?null:"console"===n.category?function(e){var t;let n=null==(t=e.data)?void 0:t.arguments;if(!Array.isArray(n)||0===n.length)return o4(e);let r=!1,a=n.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(r=!0,`${e.slice(0,5e3)}\u2026`):e;if("object"==typeof e)try{let t=(0,eo.normalize)(e,7);if(JSON.stringify(t).length>5e3)return r=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}\u2026`;return t}catch(e){}return e});return o4({...e,data:{...e.data,arguments:a,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):o4(n));r&&oJ(e,r)})(e,t));let r=(0,B.getClient)();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:i,networkResponseHeaders:o}=e.getOptions(),l={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:i,networkResponseHeaders:o};r&&r.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,n){if(t.data)try{var r,a,i,o;r=t,"xhr"===r.category&&(a=n,null==a?void 0:a.xhr)&&(!function(e,t){let{xhr:n,input:r}=t;if(!n)return;let a=lj(r),i=n.getResponseHeader("content-length")?lU(n.getResponseHeader("content-length")):function(e,t){try{let n="json"===t&&(0,ew.isObjectLike)(e)?JSON.stringify(e):e;return lj(n)}catch(e){return}}(n.response,n.responseType);void 0!==a&&(e.data.request_body_size=a),void 0!==i&&(e.data.response_body_size=i)}(t,n),lK(t,n,e)),i=t,"fetch"===i.category&&(o=n,(null==o?void 0:o.input)!==void 0)&&(!function(e,t){let{input
53:n,response:r}=t,a=lj(n?aS(n):void 0),i=r?lU(r.headers.get("content-length")):void 0;void 0!==a&&(e.data.request_body_size=a),void 0!==i&&(e.data.response_body_size=i)}(t,n),lq(t,n,e))}catch(e){ll&&ld.exception(e,"Error when enriching network breadcrumb")}})(l,e,t))}catch(e){}let a=Object.assign((t,n)=>{var r,a,i,o;if(e.session&&lT(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire})&&lA(),!e.isEnabled()||e.isPaused())return t;if("replay_event"===t.type)return delete t.breadcrumbs,t;if(t.type&&!lO(t)&&!lN(t))return t;if(!e.checkAndHandleExpiredSession())return lA(),t;if(lN(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:os.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t;if(!t.type&&(null==(i=t.exception)||null==(a=i.values)?void 0:a.length)&&null!=(o=n.originalException)&&o.__rrweb__&&!e.getOptions()._experiments.captureExceptions)return ll&&ld.log("Ignoring error from rrweb internals",t),null;let l="buffer"===e.recordingMode&&t.message!==il&&!!t.exception&&!t.type&&lb(e.getOptions().errorSampleRate);if((l||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),l&&"buffer"===e.recordingMode&&(null==(r=e.session)?void 0:r.sampled)==="buffer"){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&l_(t)}return t},{id:"Replay"});(0,U.addEventProcessor)(a),n&&(n.on("beforeSendEvent",t=>{var n,r,a,i,o;let l;e.isEnabled()&&!t.type&&(n=e,r=t,l=null==(o=r.exception)||null==(i=o.values)||null==(a=i[0])?void 0:a.value,"string"==typeof l&&(l.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||l.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&oJ(n,o4({category:"replay.hydrate-error",data:{url:ts()}})))}),n.on("afterSendEvent",(t,n)=>{if(!e.isEnabled()||t.type&&!lO(t))return;let r=n.statusCode;if(r&&!(r<200)&&!(r>=300)){if(lO(t)){var a,i,o,l;return void(a=e,i=t,lP(a,null==(l=i.contexts)||null==(o=l.trace)?void 0:o.trace_id,i.transaction))}!function(e,t){var n;let r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!(null==(n=t.tags)?void 0:n.replayId))return;let{beforeErrorSampling:a}=e.getOptions();("function"!=typeof a||a(t))&&nz(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),n.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on("processSegmentSpan",t=>{e.isEnabled()&&lP(e,t.trace_id,t.name||void 0)}),n.on("spanStart",t=>{e.lastActiveSpan=t}),n.on("spanEnd",t=>{e.lastActiveSpan=t}),n.on("beforeSendFeedback",async(t,n)=>{var r;let a=e.getSessionId();(null==n?void 0:n.includeReplay)&&e.isEnabled()&&a&&(null==(r=t.contexts)?void 0:r.feedback)&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=a)}),n.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n(e){let{entries:n}=e;n.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(rH(e,n))}),r.push(rF(le(lr,e)),rz(le(la,e)),r$(le(li,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{ii.document.removeEventListener("visibilitychange",this._handleVisibilityChange),ii.removeEventListener("blur",this._handleWindowBlur),ii.removeEventListener("focus",this._handleWindowFocus),ii.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){this.session&&(lT(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})?lA():(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())
53)}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){ll&&ld.log("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();this._lastActivity=e}_updateSessionActivity(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:os.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(lt).filter(Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(lL(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.segmentNames.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}
53_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),segmentNames:Array.from(this._context.segmentNames),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){var e;let t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){ll&&ld.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),null==(e=this.eventBuffer)?void 0:e.hasEvents){if((await lZ(this),this.eventBuffer)&&t===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let e=Date.now();if(e-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new l5;let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let a=await this.eventBuffer.finish();await l8({replayId:t,recordingData:a,segmentId:r,eventContext:n,session:this.session,timestamp:e,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendError"});let e=(0,B.getClient)();e&&e.recordDroppedEvent(t instanceof l4?"ratelimit_backoff":t instanceof l5?"invalid":"send_error","replay")}}}async _flush(){let{force:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){ll&&ld.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,a=n>this._options.maxReplayDuration+5e3;if(r||a){ll&&ld.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),r&&this._debouncedFlush();return}let i=this.eventBuffer;i&&0===this.session.segmentId&&!i.hasCheckout&&ll&&ld.log("Flushing initial segment without checkout.");let o=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,o&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&l_(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if((null==t?void 0:t.length)&&e.some(e=>{let n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}(e.target),r=t.join(",");return null==n?void 0:n.matches(r)}))return!1;let n=e.length,r=this._options.mutationLimit,a=this._options.mutationBreadcrumbLimit,i=r&&n>r;if(n>a||i){let e=o4({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,segmentNames:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){return function(e,t,n){let r,a,i,o=(null==n?void 0:n.maxWait)?Math.max(n.maxWait,t):0,l=(null==n?void 0:n.setTimeoutImpl)||setTimeout;function s(){return u(),r=e()}function u(){void 0!==a&&clearTimeout(a),void 0!==i&&clearTimeout(i),a=i=void 0}function c(){return a&&clearTimeout(a),a=l(s,t),o&&void 0===i&&(i=l(s,o)),r}return c.cancel=u,c.flush=function(){return void 0!==a||void 0!==i?s():r},c}(e,t,{...n,setTimeoutImpl:nz})}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e){let t=new Map,n=!1;return function(){let r;for(var a=arguments.length,i=Array(a),o=0;o<a;o++)i[o]=arguments[o];let l=Math.floor(Date.now()/1e3);if(r=l-5,t.forEach((e,n)=>{n<r&&t.delete(n)}),[...t.values()].reduce((e,t)=>e+t,0)>=300){let e=n;return n=!0,e?"__SKIPPED":l6}n=!1;let s=t.get(l)||0;return t.set(l,s+1),e(...i)}}((e,t)=>lC(this,e)?lx(this,e,t):Promise.resolve(null));const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),a=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(a&&(this.clickDetector=new o1(this,a)),ll){const t=e._experiments;ld.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===ii.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroun
53dTasks()},this._handleWindowBlur=()=>{let e=o4({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=o4({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=function(e){var t;let{metaKey:n,shiftKey:r,ctrlKey:a,altKey:i,key:o,target:l}=e;if(!l||"INPUT"===(t=l).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!o)return null;let s=n||a||i,u=1===o.length;if(!s&&u)return null;let c=t6(l,{maxStringLength:200})||"<unknown>",d=o7(l,c);return o4({category:"ui.keyDown",message:c,data:{...d.data,metaKey:n,shiftKey:r,ctrlKey:a,altKey:i,key:o}})}(t);n&&oJ(e,n)}(this,e)}}}function l9(e,t){return[...e,...t].join(",")}let se='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',st=["content-length","content-type","accept"],sn=Symbol.for("sentry__originalRequestBody"),sr=!1,sa=!1;function si(e){return[...st,...e.map(e=>e.toLowerCase())]}let so=[/digipayHybridApp\.\w+ is not a function/,/Error invoking post(Message)?:/,/window\.webkit\.messageHandlers/,/Java object is gone/];!function(e){let t,n,r,a,i,o,l,s;it&&(0,M.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),it=!0,!nV&&e.debug&&(0,M.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){tc.document&&function(e){let t=aq(e)||e,n=a9.get(t);if(void 0!==n)return n;let r=aW();if(!(null==r?void 0:r.isrRoutes)||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return a9.set(t,!1),!1;let a=r.isrRoutes.includes(t);return a9.set(t,a),a}(tc.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=tc.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch(e){}}}();let u={environment:e.environment||A.default.env.SENTRY_ENVIRONMENT||((t=A.default.env.NEXT_PUBLIC_VERCEL_ENV)?`vercel-${t}`:void 0)||"production",defaultIntegrations:(a=nW(e),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&a.push(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=aO({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];let[i,{headers:o}]=r;return(null==o?void 0:o.get("next-router-prefetch"))&&(null==i||i.setAttribute("http.request.prefetch",!0)),null==(t=e.onRequestSpanStart)?void 0:t.call(e,...r)}}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){!aC()&&(r&&function(e){if(tc.document.getElementById("__NEXT_DATA__"))"false"!==A.default.env._sentryHasPagesRouter&&a3.events.on("routeChangeStart",t=>{let n,r,a=tY(t),i=function(e){var t;let n=null==(t=tc.__BUILD_MANIFEST)?void 0:t.sortedPages;if(n)return n.find(t=>{var n;let r,a,i,o=(r=t.split("/"),a="",(null==(n=r[r.length-1])?void 0:n.match(/^\[\[\.\.\..+\]\]$/))&&(r.pop(),a="(?:/(.+?))?"),i=r.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${i}${a}(?:/)?$`));return e.match(o)})}(a);i?(n=i,r="route"):(n=a,r="url"),aI(e,{name:n,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r,..."route"===r&&{[tB]:n}}},{url:aj(t)})});else{let t,n,r;b=(t,n)=>{var r;let a=null!=(r=A.default.env._sentryBasePath)?r:aK._sentryBasePath,i=a&&!t.startsWith(a)?`${a}${t}`:t,o=aG(new URL(i,tc.location.href).pathname),l=aq(o),s=null!=l?l:o;"router-patch"===aX&&(aX="transition-start-hook");let u=aJ.current;u?(u.updateName(s),u.setAttributes({"navigation.type":`router.${n}`,[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:l?"route":"url",...l&&{[tB]:l}}),aV(u,o,i),aJ.current=void 0):aI(e,{name:s,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:l?"route":"url","navigation.type":`router.${n}`,...l&&{[tB]:l}}},{url:aj(i)})},tc.addEventListener("popstate",()=>{var t;let n=aG(tc.location.pathname),r=aq(n);(null==(t=aJ.current)?void 0:t.isRecording())?(aJ.current.updateName(null!=r?r:n),aJ.current.setAttribute(ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,r?"route":"url"),r&&aJ.current.setAttribute(tB,r),aV(aJ.current,n,tc.location.href)):aJ.current=aI(e,{name:null!=r?r:n,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r?"route":"url","navigation.type":"browser.popstate",...r&&{[tB]:r}}},{url:aj(n)})}),t=!1,n=0,r=setInterval(()=>{var a,i,o;n++;let l=null!=(a=null==aQ||null==(i=aQ.next)?void 0:i.router)?a:null==aQ||null==(o=aQ.nd)?void 0:o.router;t||n>500?clearInterval(r):l&&(clearInterval(r),t=!0,a1(e,l,aJ),["nd","next"].forEach(t=>{let n=aQ[t];
53n&&(aQ[t]=new Proxy(n,{set:(t,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&a1(e,r,aJ),t[n]=r,!0)}))}))},20)}}(e),t.afterAllSetup(e),n&&function(e){if(tc.document.getElementById("__NEXT_DATA__"))!function(e){let{route:t,params:n,sentryTrace:r,baggage:a}=function(){let e,t=tc.document.getElementById("__NEXT_DATA__");if(null==t?void 0:t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){nV&&M.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:a,props:i}=e;return n.route=r,n.params=a,(null==i?void 0:i.pageProps)&&(n.sentryTrace=i.pageProps._sentryTraceData,n.baggage=i.pageProps._sentryBaggage),n}(),i=(0,n5.parseBaggageHeader)(a),o=t||tc.location.pathname;(null==i?void 0:i["sentry-transaction"])&&"/_error"===o&&(o=(o=i["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let l=(0,ek.browserPerformanceTimeOrigin)();aN(e,{name:o,startTime:l?l/1e3:void 0,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url",...t&&{[tB]:t},...n&&{...n}}},{sentryTrace:r,baggage:a})}(e);else{let t,n,r;n=aq(t=aG(tc.location.pathname)),aN(e,{name:null!=n?n:t,startTime:(r=(0,ek.browserPerformanceTimeOrigin)())?r/1e3:void 0,attributes:{[ee.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[ee.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[ee.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n?"route":"url",...n&&{[tB]:n}}})}}(e))}}}()),i=A.default.env._sentryRewriteFramesAssetPrefixPath||ir._sentryRewriteFramesAssetPrefixPath||"",o=A.default.env._sentryAssetPrefix||ir._sentryAssetPrefix,l=A.default.env._sentryBasePath||ir._sentryBasePath,s="true"===A.default.env._experimentalThirdPartyOriginStackFrames||"true"===ir._experimentalThirdPartyOriginStackFrames,a.push((e=>{let{assetPrefix:t,basePath:n,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:a}=e;return{...a6({iteratee:e=>{var i,o,l,s,u,c,d;if(a){let r="u">typeof window&&window.location?window.location.origin:"";if((null==(l=e.filename)?void 0:l.startsWith(r))&&!e.filename.endsWith(".js"))return e;if(t)(null==(s=e.filename)?void 0:s.startsWith(t))&&(e.filename=e.filename.replace(t,"app://"));else if(n)try{let{origin:t}=new URL(e.filename);t===r&&(e.filename=null==(u=e.filename)?void 0:u.replace(t,"app://").replace(n,""))}catch(e){}}else try{let{origin:t}=new URL(e.filename);e.filename=null==(c=e.filename)?void 0:c.replace(t,"app://").replace(r,"")}catch(e){}return a?(null==(d=e.filename)?void 0:d.includes("/_next"))&&(e.filename=decodeURI(e.filename)):(null==(i=e.filename)?void 0:i.startsWith("app:///_next"))&&(e.filename=decodeURI(e.filename)),(null==(o=e.filename)?void 0:o.match(a7))&&(e.in_app=!1),e}}),name:"NextjsClientStackFrameNormalization"}})({assetPrefix:o,basePath:l,rewriteFramesAssetPrefixPath:i,experimentalThirdPartyOriginStackFrames:s})),a),release:A.default.env._sentryRelease||ir._sentryRelease,...e};!function(e){let t=A.default.env._sentryRewritesTunnelPath||ie._sentryRewritesTunnelPath;if(t&&e.dsn){let n=(0,el.dsnFromString)(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let a=r[1],i=r[2],o=`${t}?o=${a}&p=${n.projectId}`;i&&(o+=`&r=${i}`),e.tunnel=o,nV&&M.debug.log(`Tunneling events to "${o}"`)}else nV&&M.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(u),j(u,"nextjs",["nextjs","react"]),u.ignoreSpans=[...u.ignoreSpans||[],/^\/404$/,RegExp(`^${aY}$`)],j(n={...u},"react"),(0,U.setContext)("react",{version:nq.version}),r=function(){var e;let t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!n.skipBrowserExtensionCheck&&!!function(){var e;if(void 0===tc.window||tc.nw)return!1;let t=tc.chrome||tc.browser;if(!(null==t||null==(e=t.runtime)?void 0:e.id))return!1;let n=ts();return!(tc===tc.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}()&&(t7&&(0,M.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),a=null==n.defaultIntegrations?nW():n.defaultIntegrations,i={...n,enabled:!r&&n.enabled,stackParser:(0,en.stackParserFromStackParserOptions)(n.stackParser||nL),integrations:function(e){let t,n,r=e.defaultIntegrations||[],a=e.integrations;
53if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(a))t=[...r,...a];else if("function"==typeof a){let e=a(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)}({integrations:n.integrations,defaultIntegrations:a}),transport:n.transport||nF};return(0,eo.setNormalizeStringifier)(nH),!0===i.debug&&(z.DEBUG_BUILD?M.debug.enable():(0,M.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,B.getCurrentScope)().update(i.initialScope),e=t=new th(i),(0,B.getCurrentScope)().setClient(e),t.init(),t}(n),(0,eo.setNormalizeStringifier)(nG);let c=(e,t)=>{var n,r,a,i;return(i=null==t?void 0:t.originalException,(0,ew.isError)(i)&&"string"==typeof i.digest&&i.digest.startsWith("NEXT_REDIRECT;")||(null==(a=e.exception)||null==(r=a.values)||null==(n=r[0])?void 0:n.value)==="NEXT_REDIRECT")?null:e};c.id="NextRedirectErrorFilter",(0,U.addEventProcessor)(c);try{(0,B.getGlobalScope)().setTag("turbopack",!0)}catch(e){}}({dsn:"https://[email protected]/9553",integrations:[new class e{get _isInitialized(){return sr}set _isInitialized(e){sr=e}afterAllSetup(e){eR()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("u"<typeof Request||sa)return;let e=Request;try{let t=function(t,n){let r=new e(t,n);return(null==n?void 0:n.body)!=null&&(r[sn]=n.body),r};t.prototype=e.prototype,L.GLOBAL_OBJ.Request=t,sa=!0}catch(e){}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(e){var t;return this._replay?this._replay.stop({forceFlush:null!=(t=null==e?void 0:e.flush)?t:"session"===this._replay.recordingMode,reason:"manual"}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){var t;if(null==(t=this._replay)?void 0:t.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){var e;if(null==(e=this._replay)?void 0:e.isEnabled())return this._replay.recordingMode}processSpan(e){let t=this.getReplayId(!0);t&&(nd(e,{"sentry.replay_id":t}),"buffer"===this.getRecordingMode()&&nd(e,{"sentry._internal.replay_is_buffering":!0}))}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){var t;let n,r,a,i,o=(t=this._initialOptions,n=e.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...t},a=(0,ez.parseSampleRate)(n.replaysSessionSampleRate),i=(0,ez.parseSampleRate)(n.replaysOnErrorSampleRate),null==a&&null==i&&(0,M.consoleSandbox)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=a&&(r.sessionSampleRate=a),null!=i&&(r.errorSampleRate=i),r);this._replay=new l7({options:o,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch(e){}}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:a=!0,useCompression:i=!0,workerUrl:o,_experiments:l={},maskAllText:s=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:f=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:v=!0,networkRequestHeaders:y=[],networkResponseHeaders:b=[],mask:_=[],maskAttributes:S=["title","placeholder","aria-label"],unmask:E=[],block:w=[],unblock:T=[],ignore:k=[],maskFn:R,beforeAddRecordingEvent:x,beforeErrorSampling:C,onError:P,attachRawBodyFromRequest:O=!1}={}){this.name="Replay";const N=function(e){let{mask:t,unmask:n,block:r,unblock:a,ignore:i}=e;return{maskTextSelector:l9(t,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:l9(n,[]),blockSelector:l9(r,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not
53([src])"]),unblockSelector:l9(a,[]),ignoreSelector:l9(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:_,unmask:E,block:w,unblock:T,ignore:k});if(this._recordingOptions={maskAllInputs:u,maskAllText:s,maskInputOptions:{password:!0},maskTextFn:R,maskInputFn:R,maskAttributeFn:(e,t,n)=>(function(e){let{el:t,key:n,maskAttributes:r,maskAllText:a,privacyOptions:i,value:o}=e;if(i.unmaskTextSelector&&t.matches(i.unmaskTextSelector))return o;let l=r.includes(n),s=a&&"value"===n&&"INPUT"===t.tagName&&["submit","button"].includes(t.getAttribute("type")||"");return l||s?o.replace(/[\S]/g,"*"):o})({maskAttributes:S,maskAllText:s,privacyOptions:N,key:e,value:t,el:n}),...N,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}},recordCrossOriginIframes:!!l.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,5e4),maxReplayDuration:Math.min(r,36e5),stickySession:a,useCompression:i,workerUrl:o,blockAllMedia:c,maskAllInputs:u,maskAllText:s,mutationBreadcrumbLimit:d,mutationLimit:f,slowClickTimeout:p,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:v,networkRequestHeaders:si(y),networkResponseHeaders:si(b),beforeAddRecordingEvent:x,beforeErrorSampling:C,onError:P,attachRawBodyFromRequest:O,_experiments:l},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${se}`:se,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&eR())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}}(void 0)],maxBreadcrumbs:200,beforeSend:e=>{var t,n,r,a;let i=null!=(t=null==(a=e.exception)||null==(r=a.values)||null==(n=r[0])?void 0:n.value)?t:"";return so.some(e=>e.test(i))&&(e.tags={...e.tags,"error.origin":"host_app"}),e},tracesSampler:e=>{var t;let n=null!=(t=e.name)?t:"";return n.includes("/api/v1/carts")||n.startsWith("GET /cart")?1:.1},enableLogs:!0,sendDefaultPii:!0,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1}),e.s(["onRouterTransitionStart",0,function(e,t){b&&b(e,t)}],617742)},5526,(e,t,n)=>{"use strict";e.i(247167);{let n=e.f({"private-next-instrumentation-client":{id:()=>617742,module:()=>e.r(617742)}})("private-next-instrumentation-client");t.exports=Array.isArray(n)?n:[n]}},966849,(e,t,n)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},523911,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),e.r(966849),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
53dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},562262,(e,t,n)=>{"use strict";function r(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function a(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,s=performance;n.unstable_now=function(){return s.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var d=[],f=[],p=1,h=null,m=3,g=!1,v=!1,y=!1,b=!1,_="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,E="u">typeof setImmediate?setImmediate:null;function w(e){for(var t=a(f);null!==t;){if(null===t.callback)i(f);else if(t.startTime<=e)i(f),t.sortIndex=t.expirationTime,r(d,t);else break;t=a(f)}}function T(e){if(y=!1,w(e),!v)if(null!==a(d))v=!0,k||(k=!0,l());else{var t=a(f);null!==t&&A(T,t.startTime-e)}}var k=!1,R=-1,x=5,C=-1;function P(){return!!b||!(n.unstable_now()-C<x)}function O(){if(b=!1,k){var e=n.unstable_now();C=e;var t=!0;try{e:{v=!1,y&&(y=!1,S(R),R=-1),g=!0;var r=m;try{t:{for(w(e),h=a(d);null!==h&&!(h.expirationTime>e&&P());){var o=h.callback;if("function"==typeof o){h.callback=null,m=h.priorityLevel;var s=o(h.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof s){h.callback=s,w(e),t=!0;break t}h===a(d)&&i(d),w(e)}else i(d);h=a(d)}if(null!==h)t=!0;else{var u=a(f);null!==u&&A(T,u.startTime-e),t=!1}}break e}finally{h=null,m=r,g=!1}}}finally{t?l():k=!1}}}if("function"==typeof E)l=function(){E(O)};else if("u">typeof MessageChannel){var N=new MessageChannel,I=N.port2;N.port1.onmessage=O,l=function(){I.postMessage(null)}}else l=function(){_(O,0)};function A(e,t){R=_(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return m},n.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},n.unstable_requestPaint=function(){b=!0},n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},n.unstable_scheduleCallback=function(e,t,i){var o=n.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?o+i:o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=i+s,e={id:p++,callback:t,priorityLevel:e,startTime:i,expirationTime:s,sortIndex:-1},i>o?(e.sortIndex=i,r(f,e),null===a(d)&&e===a(f)&&(y?(S(R),R=-1):y=!0,A(T,i-o))):(e.sortIndex=s,r(d,e),v||g||(v=!0,k||(k=!0,l()))),e},n.unstable_shouldYield=P,n.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},553389,(e,t,n)=>{"use strict";e.i(247167),t.exports=e.r(562262)},146480,(e,t,n)=>{"use strict";var r,a=e.i(247167),i=e.r(553389),o=e.r(271645),l=e.r(174080);function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){for(var t=e,n=t;n&&!n.alternate;)0!=(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function d(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function p(e){if(c(e)!==e)throw Error(s(188))}function h(e,t,n,r,a,i){for(;null!==e;){if((5===e.tag||6===e.tag)&&n(e,r,a,i)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag)&&h(e.child,t,n,r,a,i))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}
vendor: 3,030 bytes, line 53
53function g(e){switch(e.tag){case 5:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(s(559))}}var v=null,y=null;function b(e){return v=e,!0}function _(e,t,n){return e===n||e===t&&(v=e,!0)}function S(e,t,n){return e===n?(y=e,!1):e===t&&(null!==y&&(v=e),!0)}function E(e){if(null===e)return null;do e=null===e?null:e.return;while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag)return e||null}function w(e,t,n){for(var r=0,a=e;a;a=n(a))r++;a=0;for(var i=t;i;i=n(i))a++;for(;0<r-a;)e=n(e),r--;for(;0<a-r;)t=n(t),a--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var T=Object.assign,k=Symbol.for("react.element"),R=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),I=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),j=Symbol.for("react.lazy");Symbol.for("react.scope");var U=Symbol.for("react.activity"),B=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var z=Symbol.for("react.memo_cache_sentinel"),F=Symbol.for("react.view_transition"),$=Symbol.for("react.recoverable"),H=Symbol.iterator;function W(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=H&&e[H]||e["@@iterator"])?e:null}var q=Symbol.for("react.client.reference"),G=Array.isArray,V=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},J=[],Q=-1;function K(e){return{current:e}}function Z(e){0>Q||(e.current=J[Q],J[Q]=null,Q--)}function ee(e,t){J[++Q]=e.current,e.current=t}var et=K(null),en=K(null),er=K(null),ea=K(null);function ei(e,t){switch(ee(er,t),ee(en,e),ee(et,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ch(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=cm(t=ch(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Z(et),ee(et,e)}function eo(){Z(et),Z(en),Z(er)}function el(e){var t=e.memoizedState;null!==t&&(dx._currentValue=t.memoizedState,ee(ea,e));var n=cm(t=et.current,e.type);t!==n&&(ee(en,e),ee(et,n))}function es(e){en.current===e&&(Z(et),Z(en)),ea.current===e&&(Z(ea),dx._currentValue=X)}function eu(e){if(void 0===tQ)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tQ=t&&t[1]||"",tK=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tQ+e+tK}var ec=!1;function ed(e,t){if(!e||ec)return"";ec=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
53else{try{n.call()}catch(e){r=e}n=!1;try{var a=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(void 0!==a?Object.defineProperty(e.prototype,"props",a):delete e.prototype.props)}}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),o=i[0],l=i[1];if(o&&l){var s=o.split("\n"),u=l.split("\n");for(a=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===s.length||a===u.length)for(r=s.length-1,a=u.length-1;1<=r&&0<=a&&s[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(s[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||s[r]!==u[a]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{ec=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?eu(n):""}function ef(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return eu(e.type);case 16:return eu("Lazy");case 13:return e.child!==t&&null!==t?eu("Suspense Fallback"):eu("Suspense");case 19:return eu("SuspenseList");case 0:case 15:return ed(e.type,!1);case 11:return ed(e.type.render,!1);case 1:return ed(e.type,!0);case 31:return eu("Activity");case 30:return eu("ViewTransition");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var ep=Object.prototype.hasOwnProperty,eh=i.unstable_scheduleCallback,em=i.unstable_cancelCallback,eg=i.unstable_shouldYield,ev=i.unstable_requestPaint,ey=i.unstable_now,eb=i.unstable_getCurrentPriorityLevel,e_=i.unstable_ImmediatePriority,eS=i.unstable_UserBlockingPriority,eE=i.unstable_NormalPriority,ew=i.unstable_LowPriority,eT=i.unstable_IdlePriority,ek=(i.log,i.unstable_setDisableYieldValue,null),eR=null,ex=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eC(e)/eP|0)|0},eC=Math.log,eP=Math.LN2,eO=256,eN=262144,eI=4194304;function eA(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eM(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~i)?a=eA(r):0!=(o&=l)?a=eA(o):n||0!=(n=l&~e)&&(a=eA(n)):0!=(l=r&~i)?a=eA(l):0!==o?a=eA(o):n||0!=(n=r&~e)&&(a=eA(n)),0===a?0:0!==t&&t!==a&&0==(t&i)&&((i=a&-a)>=(n=t&-t)||32===i&&0!=(4194048&n))?t:a}function eL(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eD(){var e=eI;return 0==(0x3c00000&(eI<<=1))&&(eI=4194304),e}function ej(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function eU(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eB(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ex(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function ez(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ex(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eF(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:e$(n))&(e.suspendedLanes|t))?0:n}function e$(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eH(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eW(){var e=Y.p;return 0!==e?e:void 0===(e=window.event)?32:d$(e.type)}function eq(e,t){var n=Y.p;try{return Y.p=e,t()}finally{Y.p=n}}var eG=Math.random().toString(36).slice(2),eV="__reactFiber$"+eG,eY="__reactProps$"+eG,eX="__reactContainer$"+eG,eJ="__reactEvents$"+eG,eQ="__reactListeners$"+eG,eK="__reactHandles$"+eG,eZ="__reactResources$"+eG,e0="__reactMarker$"+eG,e1="__reactLoad$"+eG;function e2(e){delete e[eV],delete e[eY],delete e[eQ],delete e[eK]}function e3(e){var t;if(t=e[eV])return t;for(var n=e.parentNode;n;){if(t=n[eX]||n[eV]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=c2(e);null!==e;){if(n=e[eV])return n;e=c2(e)}return t}n=(e=n).parentNode}return null}function e4(e){if(e=e[eV]||e[eX]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function e5(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(s(33))}function e8(e){var t=e[eZ];return t||(t=e[eZ]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function e6(e){e[e0]=!0}function e7(e){e[e1]=void 0}var e9=new Set,te={};function tt(e,t){tn(e,t),tn(e+"Capture",t)}function tn(e,t){for(te[e]=t,e=0;e<t.length;e++)e9.add(t[e])}
53var tr=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ta={},ti={},to=!1;function tl(){var e=to;return to=!1,e}function ts(e,t,n){if(ep.call(ti,t)||!ep.call(ta,t)&&(tr.test(t)?ti[t]=!0:(ta[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}}function tu(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,n)}}function tc(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function td(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function tf(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function tp(e){if(!e._valueTracker){var t=tf(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function th(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tf(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var tm=/[\n"\\]/g;function tg(e){return e.replace(tm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tv(e,t,n,r,a,i,o,l){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+td(t)):e.value!==""+td(t)&&(e.value=""+td(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?"number"===o&&e.value==t?tb(e,td(e.value)):tb(e,td(t)):null!=n?tb(e,td(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=i&&(e.defaultChecked=!!i),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+td(l):e.removeAttribute("name")}function ty(e,t,n,r,a,i,o,l){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return void tp(e);n=null!=n?""+td(n):"",t=null!=t?""+td(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o),tp(e)}function tb(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function t_(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+td(n),t=null,a=0;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tS(e,t,n){if(null!=t&&((t=""+td(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+td(n):""}function tE(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(s(92));if(G(r)){if(1<r.length)throw Error(s(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=td(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),tp(e)}function tw(e,t){if(t){var n=e.firstChild;
vendor: 4,179 bytes, line 53
53if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tT=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tk(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tT.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tR(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(s(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",to=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(tk(e,a,r),to=!0)}else for(var i in t)t.hasOwnProperty(i)&&tk(e,i,t[i])}function tx(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tC=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
53-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tP=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tO(e){return tP.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tN(){}var tI=null;function tA(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tM=null,tL=null;function tD(e){var t=e4(e);if(t&&(e=t.stateNode)){var n=e[eY]||null;switch(e=t.stateNode,t.type){case"input":if(tv(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tg(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eY]||null;if(!a)throw Error(s(90));tv(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&th(r)}break;case"textarea":tS(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&t_(e,!!n.multiple,t,!1)}}}var tj=!1;function tU(e,t,n){if(tj)return e(t,n);tj=!0;try{return e(t)}finally{if(tj=!1,(null!==tM||null!==tL)&&(uo(),tM&&(t=tM,e=tL,tL=tM=null,tD(t),e)))for(t=0;t<e.length;t++)tD(e[t])}}function tB(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eY]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(s(231,t,typeof n));return n}var tz="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tF=!1;if(tz)try{var t$={};Object.defineProperty(t$,"passive",{get:function(){tF=!0}}),window.addEventListener("test",t$,t$),window.removeEventListener("test",t$,t$)}catch(e){tF=!1}var tH=null,tW=null,tq=null;function tG(){if(tq)return tq;var e,t,n=tW,r=n.length,a="value"in tH?tH.value:tH.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[i-t];t++);return tq=a.slice(e,1<t?1-t:void 0)}function tV(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tY(){return!0}function tX(){return!1}function tJ(e){function t(t,n,r,a,i){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tY:tX,this.isPropagationStopped=tX,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tY)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tY)},persist:function(){},isPersistent:tY}),t}var tQ,tK,tZ,t0,t1,t2={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t3=tJ(t2),t4=T({},t2,{view:0,detail:0}),t5=tJ(t4),t8=T({},t4,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nl,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,389 bytes, line 53
53Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==t1&&(t1&&"mousemove"===e.type?(tZ=e.screenX-t1.screenX,t0=e.screenY-t1.screenY):t0=tZ=0,t1=e),tZ)},movementY:function(e){return"movementY"in e?e.movementY:t0}}),t6=tJ(t8),t7=tJ(T({},t8,{dataTransfer:0})),t9=tJ(T({},t4,{relatedTarget:0})),ne=tJ(T({},t2,{animationName:0,elapsedTime:0,pseudoElement:0})),nt=tJ(T({},t2,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),nn=tJ(T({},t2,{data:0})),nr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},na={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ni={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function no(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=ni[e])&&!!t[e]}function nl(){return no}var ns=tJ(T({},t4,{key:function(e){if(e.key){var t=nr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tV(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?na[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nl,charCode:function(e){return"keypress"===e.type?tV(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tV(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),nu=tJ(T({},t8,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nc=tJ(T({},t2,{submitter:0})),nd=tJ(T({},t4,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nl})),nf=tJ(T({},t2,{propertyName:0,elapsedTime:0,pseudoElement:0})),np=tJ(T({},t8,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nh=tJ(T({},t2,{newState:0,oldState:0})),nm=[9,13,27,32],ng=tz&&"CompositionEvent"in window,nv=null;tz&&"documentMode"in document&&(nv=document.documentMode);var ny=tz&&"TextEvent"in window&&!nv,nb=tz&&(!ng||nv&&8<nv&&11>=nv),n_=!1;function nS(e,t){switch(e){case"keyup":return -1!==nm.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nE(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nw=!1,nT={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nT[e.type]:"textarea"===t}function nR(e,t,n,r){tM?tL?tL.push(r):tL=[r]:tM=r,0<(t=u9(t,"onChange")).length&&(n=new t3("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nx=null,nC=null;function nP(e){u1(e,0)}function nO(e){if(th(e5(e)))return e}function nN(e,t){if("change"===e)return t}var nI=!1;if(tz){if(tz){var nA="oninput"in document;if(!nA){var nM=document.createElement("div");nM.setAttribute("oninput","return;"),nA="function"==typeof nM.oninput}r=nA}else r=!1;nI=r&&(!document.documentMode||9<document.documentMode)}function nL(){nx&&(nx.detachEvent("onpropertychange",nD),nC=nx=null)}function nD(e){if("value"===e.propertyName&&nO(nC)){var t=[];nR(t,nC,e,tA(e)),tU(nP,t)}}function nj(e,t,n){"focusin"===e?(nL(),nx=t,nC=n,nx.attachEvent("onpropertychange",nD)):"focusout"===e&&nL()}function nU(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nO(nC)}function nB(e,t){if("click"===e)return nO(t)}function nz(e,t){if("input"===e||"change"===e)return nO(t)}var nF="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function n$(e,t){if(nF(e,t))return!0;
53if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!ep.call(t,a)||!nF(e[a],t[a]))return!1}return!0}function nH(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function nW(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nq(e,t){var n,r=nW(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nW(r)}}function nG(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=nH(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=nH(e.document)}return t}function nV(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nY=tz&&"documentMode"in document&&11>=document.documentMode,nX=null,nJ=null,nQ=null,nK=!1;function nZ(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nK||null==nX||nX!==nH(r)||(r="selectionStart"in(r=nX)&&nV(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nQ&&n$(nQ,r)||(nQ=r,0<(r=u9(nJ,"onSelect")).length&&(t=new t3("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nX)))}function n0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var n1={animationend:n0("Animation","AnimationEnd"),animationiteration:n0("Animation","AnimationIteration"),animationstart:n0("Animation","AnimationStart"),transitionrun:n0("Transition","TransitionRun"),transitionstart:n0("Transition","TransitionStart"),transitioncancel:n0("Transition","TransitionCancel"),transitionend:n0("Transition","TransitionEnd")},n2={},n3={};function n4(e){if(n2[e])return n2[e];if(!n1[e])return e;var t,n=n1[e];for(t in n)if(n.hasOwnProperty(t)&&t in n3)return n2[e]=n[t];return e}tz&&(n3=document.createElement("div").style,"AnimationEvent"in window||(delete n1.animationend.animation,delete n1.animationiteration.animation,delete n1.animationstart.animation),"TransitionEvent"in window||delete n1.transitionend.transition);var n5=n4("animationend"),n8=n4("animationiteration"),n6=n4("animationstart"),n7=n4("transitionrun"),n9=n4("transitionstart"),re=n4("transitioncancel"),rt=n4("transitionend"),rn=new Map,rr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ra(e,t){rn.set(e,t),tt(t,[e])}rr.push("scrollEnd");var ri=0;function ro(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=sK.identifierPrefix)+"t_"+(ri++).toString(32)+"_"}function rl(e){if(null==e||"string"==typeof e)return e;var t=null,n=s8;if(null!==n)for(var r=0;r<n.length;r++){var a=e[n[r]];if(null!=a){if("none"===a)return"none";t=null==t?a:t+" "+a}}return null==t?e.default:t}function rs(e,t){return e=rl(e),null==(t=rl(t))?"auto"===e?null:e:"auto"===t?null:t}var ru="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof a.default&&"function"==typeof a.default.emit)return void a.default.emit("uncaughtException",e);console.error(e)},rc=[],rd=0,rf=0;function rp(){for(var e=rd,t=rf=rd=0;t<e;){var n=rc[t];rc[t++]=null;var r=rc[t];rc[t++]=null;var a=rc[t];rc[t++]=null;
vendor: 4,530 bytes, line 53
53var i=rc[t];if(rc[t++]=null,null!==r&&null!==a){var o=r.pending;null===o?a.next=a:(a.next=o.next,o.next=a),r.pending=a}0!==i&&rv(n,a,i)}}function rh(e,t,n,r){rc[rd++]=e,rc[rd++]=t,rc[rd++]=n,rc[rd++]=r,rf|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function rm(e,t,n,r){return rh(e,t,n,r),ry(e)}function rg(e,t){return rh(e,null,null,t),ry(e)}function rv(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(a=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,a&&null!==t&&(a=31-ex(n),null===(r=(e=i.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),i):null}function ry(e){if(50<s6)throw s6=0,s7=null,Error(s(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var rb={};function r_(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rS(e,t,n,r){return new r_(e,t,n,r)}function rE(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rw(e,t){var n=e.alternate;return null===n?((n=rS(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x47f00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function rT(e,t){e.flags&=0x47f00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function rk(e,t,n,r,a,i){var o=0;if("function"==typeof(r=e))rE(r)&&(o=1);else if("string"==typeof r)o=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,et.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(r){case U:return(e=rS(31,n,t,a)).elementType=U,e.lanes=i,e;case C:return rR(n.children,a,i,t);case P:o=8,a|=24;break;case O:return(e=rS(12,n,t,2|a)).elementType=O,e.lanes=i,e;case M:return(e=rS(13,n,t,a)).elementType=M,e.lanes=i,e;case L:return(e=rS(19,n,t,a)).elementType=L,e.lanes=i,e;case B:case F:return(e=rS(30,n,t,e=32|a)).elementType=F,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof r&&null!==r)switch(r.$$typeof){case I:o=10;break e;case N:o=9;break e;case A:o=11;break e;case D:o=14;break e;case j:o=16,r=null;break e}o=29,n=Error(s(130,null===e?"null":typeof e,"")),r=null}return(t=rS(o,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function rR(e,t,n,r){return(e=rS(7,e,r,t)).lanes=n,e}function rx(e,t,n){return(e=rS(6,e,null,t)).lanes=n,e}function rC(e){var t=rS(18,null,null,0);return t.stateNode=e,t}function rP(e,t,n){return(t=rS(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rO=new WeakMap;function rN(e,t){if("object"==typeof e&&null!==e){var n=rO.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ef(t)},rO.set(e,t),t)}return{value:e,source:t,stack:ef(t)}}var rI=[],rA=0,rM=null,rL=0,rD=[],rj=0,rU=null,rB=1,rz="";function rF(e,t){rI[rA++]=rL,rI[rA++]=rM,rM=e,rL=t}
vendor: 4,190 bytes, line 53
53function r$(e,t,n){rD[rj++]=rB,rD[rj++]=rz,rD[rj++]=rU,rU=e;var r=rB;e=rz;var a=32-ex(r)-1;r&=~(1<<a),n+=1;var i=32-ex(t)+a;if(30<i){var o=a-a%5;i=(r&(1<<o)-1).toString(32),r>>=o,a-=o,rB=1<<32-ex(t)+a|n<<a|r,rz=i+e}else rB=1<<i|n<<a|r,rz=e}function rH(e){null!==e.return&&(rF(e,1),r$(e,1,0))}function rW(e){for(;e===rM;)rM=rI[--rA],rI[rA]=null,rL=rI[--rA],rI[rA]=null;for(;e===rU;)rU=rD[--rj],rD[rj]=null,rz=rD[--rj],rD[rj]=null,rB=rD[--rj],rD[rj]=null}function rq(e,t){rD[rj++]=rB,rD[rj++]=rz,rD[rj++]=rU,rB=t.id,rz=t.overflow,rU=e}var rG=null,rV=null,rY=!1,rX=null,rJ=!1,rQ=Error(s(519));function rK(e){var t=Error(s(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw r4(rN(t,e)),rQ}function rZ(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eV]=e,t[eY]=r,n){case"dialog":u2("cancel",t),u2("close",t);break;case"iframe":case"object":case"embed":u2("load",t);break;case"video":case"audio":for(n=0;n<uZ.length;n++)u2(uZ[n],t);break;case"source":u2("error",t);break;case"img":case"image":case"link":u2("error",t),u2("load",t);break;case"details":u2("toggle",t);break;case"input":u2("invalid",t),ty(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":u2("invalid",t);break;case"textarea":u2("invalid",t),tE(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ci(t.textContent,n)?(null!=r.popover&&(u2("beforetoggle",t),u2("toggle",t)),null!=r.onScroll&&u2("scroll",t),null!=r.onScrollEnd&&u2("scrollend",t),null!=r.onClick&&(t.onclick=tN),t=!0):t=!1,t||rK(e,!0)}function r0(e){for(rG=e.return;rG;)switch(rG.tag){case 5:case 31:case 13:rJ=!1;return;case 27:case 3:rJ=!0;return;default:rG=rG.return}}function r1(e){if(e!==rG)return!1;if(!rY)return r0(e),rY=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||cg(e.type,e.memoizedProps)),t=!t),t&&rV&&rK(e),r0(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));rV=c1(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));rV=c1(e)}else 27===n?(n=rV,cw(e.type)?(e=c0,c0=null,rV=e):rV=n):rV=rG?cZ(e.stateNode.nextSibling):null;return!0}function r2(){rV=rG=null,rY=!1}function r3(){var e=rX;return null!==e&&(null===sW?sW=e:sW.push.apply(sW,e),rX=null),e}function r4(e){null===rX?rX=[e]:rX.push(e)}var r5=K(null),r8=null,r6=null;function r7(e,t,n){ee(r5,t._currentValue),t._currentValue=n}function r9(e){e._currentValue=r5.current,Z(r5)}function ae(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function at(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var i=a.dependencies;if(null!==i){var o=a.child;i=i.firstContext;e:for(;null!==i;){var l=i;i=a;for(var u=0;u<t.length;u++)if(l.context===t[u]){i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),ae(i.return,n,e),r||(o=null);break e}i=l.next}}else if(18===a.tag){if(null===(o=a.return))throw Error(s(341));o.lanes|=n,null!==(i=o.alternate)&&(i.lanes|=n),ae(o,n,e),o=null}else 13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated?(a.lanes|=n,null!==(o=a.alternate)&&(o.lanes|=n),ae(a.return,n,e),o=null!==(o=a.child)?o.sibling:null):o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===e){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return}a=o}}function an(e,t,n,r){e=null;for(var a=t,i=!1;null!==a;){if(!i){if(0!=(524288&a.flags))i=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var o=a.alternate;if(null===o)throw Error(s(387));if(null!==(o=o.memoizedProps)){var l=a.type;nF(a.pendingProps.value,o.value)||(null!==e?e.push(l):e=[l])}}else if(a===ea.current){if(null===(o=a.alternate))throw Error(s(387));o.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(dx):e=[dx])}a=a.return}return null!==e&&at(t,e,n,r),t.flags|=262144,null!==e}function ar(e){for(e=e.firstContext;null!==e;){if(!nF(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
53function aa(e){r8=e,r6=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ai(e){return al(r8,e)}function ao(e,t){return null===r8&&aa(e),al(e,t)}function al(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===r6){if(null===e)throw Error(s(308));r6=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else r6=r6.next=t;return n}var as="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},au=i.unstable_scheduleCallback,ac=i.unstable_NormalPriority,ad={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function af(){return{controller:new as,data:new Map,refCount:0}}function ap(e){e.refCount--,0===e.refCount&&au(ac,function(){e.controller.abort()})}function ah(e,t){if(0!=(4194048&e.pendingLanes)){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var am=null,ag=null,av=0,ay=0,ab=null;function a_(){if(0==--av&&(am=null,null!==ag)){null!==ab&&(ab.status="fulfilled");var e=ag;ag=null,ay=0,ab=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var aS=V.S;V.S=function(e,t){if(sV=ey(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===ag){var t=ag=[];av=0,ay=uX(),ab={status:"pending",value:void 0,then:function(e){t.push(e)}}}av++,e.then(a_,a_)}(t),null!==am)for(var n=uD;null!==n;)ah(n,am),n=n.next;if(null!==(n=e.types)){for(var r=uD;null!==r;)ah(r,n),r=r.next;if(0!==ay){null===(r=am)&&(r=am=[]);for(var a=0;a<n.length;a++){var i=n[a];-1===r.indexOf(i)&&r.push(i)}}}null!==aS&&aS(e,t)};var aE=K(null);function aw(){var e=aE.current;return null!==e?e:sC.pooledCache}function aT(e,t){null===t?ee(aE,aE.current):ee(aE,t.pool)}function ak(){var e=aw();return null===e?null:{parent:ad._currentValue,pool:e}}var aR=Error(s(460)),ax=Error(s(474)),aC=Error(s(542)),aP={then:function(){}};function aO(e){return"fulfilled"===(e=e.status)||"rejected"===e}function aN(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(tN,tN),t=n),t.status){case"fulfilled":return t.value;case"rejected":if(aL(e=t.reason),void 0===e&&!("reason"in t))throw Error(s(600));throw e;default:if("string"==typeof t.status)t.then(tN,tN);else{if(null!==(e=sC)&&100<e.shellSuspendCounter)throw Error(s(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw aL(e=t.reason),e}throw aA=t,aR}}function aI(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw aA=e,aR;throw e}}var aA=null;function aM(){if(null===aA)throw Error(s(459));var e=aA;return aA=null,e}function aL(e){if(e===aR||e===aC)throw Error(s(483))}var aD=null,aj=0;function aU(e){var t=aj;return aj+=1,null===aD&&(aD=[]),aN(aD,e,t)}function aB(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function az(e,t){if(t.$$typeof===k)throw Error(s(525));throw Error(s(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aF(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return(e=rw(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=0x8000002,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=0x8000002),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=rx(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var i=n.type;return i===C?(aB(e=d(e,t,n.props.children,r,n.key),n),e):(null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===j&&aI(i)===t.type)?aB(t=a(t,n.props),n):aB(t=rk(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rP(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,i){return null===t||7!==t.tag?(t=rR(n,e.mode,r,i)).return=e:(t=a(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rx(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case R:return aB(n=rk(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case x:return(t=rP(t,e.mode,n)).return=e,t;case j:return f(e,t=aI(t),n)}if(G(t)||W(t))return(t=rR(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,aU(t),n);if(t.$$typeof===I)return f(e,ao(e,t),n);az(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case R:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case j:return p(e,t,n=aI(n),r)}if(G(n)||W(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,aU(n),r);if(n.$$typeof===I)return p(e,t,ao(e,n),r);az(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case R:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return h(e,t,n,r=aI(r),a)}if(G(r)||W(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return h(e,t,n,aU(r),a);if(r.$$typeof===I)return h(e,t,n,ao(t,r),a);az(t,r)}return null}return function(l,u,c,d){try{aj=0;var m=function l(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===C&&null===d.key&&void 0===d.props.ref&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case R:e:{for(var g=d.key;null!==c;){if(c.key===g){if((g=d.type)===C){if(7===c.tag){n(u,c.sibling),aB(m=a(c,d.props.children),d),m.return=u,u=m;break e}}else if(c.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===j&&aI(g)===c.type){n(u,c.sibling),aB(m=a(c,d.props),d),m.return=u,u=m;break e}n(u,c);break}t(u,c),c=c.sibling}d.type===C?aB(m=rR(d.props.children,u.mode,m,d.key),d):aB(m=rk(d.type,d.key,d.props,null,u.mode,m),d),m.return=u,u=m}return o(u);case x:e:{for(g=d.key;null!==c;){if(c.key===g)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(m=a(c,d.children||[])).return=u,u=m;break e}else{n(u,c);break}t(u,c),c=c.sibling}(m=rP(d,u.mode,m)).return=u,u=m}return o(u);case j:return l(u,c,d=aI(d),m)}if(G(d))return function(a,o,l,s){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(a,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(a,d),o=i(v,o,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===l.length)return n(a,d),rY&&rF(a,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(a,l[m],s))&&(o=i(d,o,m),null===c?u=d:c.sibling=d,c=d);return rY&&rF(a,m),u}for(d=r(d);m<l.length;m++)null!==(g=h(d,a,m,l[m],s))&&(e&&null!==(v=g.alternate)&&d.delete(null===v.key?m:v.key),o=i(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rY&&rF(a,m),u}(u,c,d,m);if(W(d)){if("function"!=typeof(g=W(d)))throw Error(s(150));return function(a,o,l,u){if(null==l)throw Error(s(151));for(var c=null,d=null,m=o,g=o=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(a,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),o=i(b,o,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(a,m),rY&&rF(a,g),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(a,y.value,u))&&(o=i(y,o,g),null===d?c=y:d.sibling=y,d=y);return rY&&rF(a,g),c}for(m=r(m);!y.done;g++,y=l.next())null!==(y=h(m,a,g,y.value,u))&&(e&&null!==(v=y.alternate)&&m.delete(null===v.key?g:v.key),o=i(y,o,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(a,e)}),rY&&rF(a,g),c}(u,c,d=g.call(d),m)}if("function"==typeof d.then)return l(u,c,aU(d),m);if(d.$$typeof===I)return l(u,c,ao(u,d),m);az(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(m=a(c,d)).return=u):(n(u,c),(m=rx(d,u.mode,m)).return=u),o(u=m)):n(u,c)}(l,u,c,d);return aD=null,m}catch(e){if(e===aR||e===aC)throw e;var g=rS(29,e,null,l.mode);return g.lanes=d,g.return=l,g}finally{}}}var a$=aF(!0),aH=aF(!1),aW=!1;function aq(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aG(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aV(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function aY(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&sx)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=ry(e),rv(e,null,n),t}return rh(e,r,t,n),ry(e)}
53function aX(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ez(e,n)}}function aJ(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?a=i=o:i=i.next=o,n=n.next}while(null!==n)null===i?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aQ=!1;function aK(){if(aQ){var e=ab;if(null!==e)throw e}}function aZ(e,t,n,r){aQ=!1;var a=e.updateQueue;aW=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===o?i=u:o.next=u,o=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==i){var d=a.baseState;for(o=0,c=u=s=null,l=i;;){var f=-0x20000001&l.lane,p=f!==l.lane;if(p?(sO&f)===f:(r&f)===f){0!==f&&f===ay&&(aQ=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,m=l;switch(f=t,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(n,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(n,d,f):h))break e;d=T({},d,f);break e;case 2:aW=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=a.callbacks)?a.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,o|=f;if(null===(l=l.next))if(null===(l=a.shared.pending))break;else l=(p=l).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===i&&(a.shared.lanes=0),sU|=o,e.lanes=o,e.memoizedState=d}}function a0(e,t){if("function"!=typeof e)throw Error(s(191,e));e.call(t)}function a1(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)a0(n[e],t)}var a2=K(null),a3=K(0);function a4(e,t){ee(a3,e=sD),ee(a2,t),sD=e|t.baseLanes}function a5(){ee(a3,sD),ee(a2,a2.current)}function a8(){sD=a3.current,Z(a2),Z(a3)}var a6=K(null),a7=null;function a9(e){var t=e.alternate;ee(ii,1&ii.current),ee(a6,e),null===a7&&(null===t||null!==a2.current?a7=e:null!==t.memoizedState&&(a7=e))}function ie(e){ee(ii,ii.current),ee(a6,e),null===a7&&(a7=e)}function it(e){22===e.tag?(ee(ii,ii.current),ee(a6,e),null===a7&&(a7=e)):ir()}function ir(){ee(ii,ii.current),ee(a6,a6.current)}function ia(e){Z(a6),a7===e&&(a7=null),Z(ii)}var ii=K(0);function io(e,t){ee(a6,a6.current),ee(ii,t)}function il(e){Z(ii),Z(a6),a7===e&&(a7=null)}function is(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||cQ(n)||cK(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var iu=0,ic=null,id=null,ip=null,ih=!1,im=!1,ig=!1,iv=0,iy=0,ib=null,i_=0;function iS(){throw Error(s(321))}function iE(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nF(e[n],t[n]))return!1;return!0}function iw(e,t,n,r,a,i){return iu=i,ic=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,V.H=null===e||null===e.memoizedState?oP:oO,ig=!1,i=n(r,a),ig=!1,im&&(i=ik(t,n,r,a)),iT(e),i}function iT(e){V.H=oC;var t=null!==id&&null!==id.next;if(iu=0,ip=id=ic=null,ih=!1,iy=0,ib=null,t)throw Error(s(300));null===e||oG||null!==(e=e.dependencies)&&ar(e)&&(oG=!0)}function ik(e,t,n,r){ic=e;var a=0;do{if(im&&(ib=null),iy=0,im=!1,25<=a)throw Error(s(301));if(a+=1,ip=id=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}V.H=oN,i=t(n,r)}while(im)return i}function iR(){var e=V.H,t=e.useState()[0];return t="function"==typeof t.then?iA(t):t,e=e.useState()[0],(null!==id?id.memoizedState:null)!==e&&(ic.flags|=1024),t}function ix(){var e=0!==iv;return iv=0,e}function iC(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function iP(e){if(ih){for(e=e.memoizedState;null!==e;){var t=e.queue;
53null!==t&&(t.pending=null),e=e.next}ih=!1}iu=0,ip=id=ic=null,im=!1,iy=iv=0,ib=null}function iO(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ip?ic.memoizedState=ip=e:ip=ip.next=e,ip}function iN(){if(null===id){var e=ic.alternate;e=null!==e?e.memoizedState:null}else e=id.next;var t=null===ip?ic.memoizedState:ip.next;if(null!==t)ip=t,id=e;else{if(null===e){if(null===ic.alternate)throw Error(s(467));throw Error(s(310))}e={memoizedState:(id=e).memoizedState,baseState:id.baseState,baseQueue:id.baseQueue,queue:id.queue,next:null},null===ip?ic.memoizedState=ip=e:ip=ip.next=e}return ip}function iI(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function iA(e){var t=iy;return iy+=1,null===ib&&(ib=[]),e=aN(ib,e,t),t=ic,null===(null===ip?t.memoizedState:ip.next)&&(V.H=null===(t=t.alternate)||null===t.memoizedState?oP:oO),e}function iM(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return iA(e);if(e.$$typeof===$)return;if(e.$$typeof===I)return ai(e)}throw Error(s(438,String(e)))}function iL(e){var t=null,n=ic.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=ic.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=iI(),ic.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=z;return t.index++,n}function iD(e,t){return"function"==typeof t?t(e):t}function ij(e){return iU(iN(),id,e)}function iU(e,t,n){var r=e.queue;if(null===r)throw Error(s(311));r.lastRenderedReducer=n;var a=e.baseQueue,i=r.pending;if(null!==i){if(null!==a){var o=a.next;a.next=i.next,i.next=o}t.baseQueue=a=i,r.pending=null}if(i=e.baseState,null===a)e.memoizedState=i;else{t=a.next;var l=o=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(sO&f)===f:(iu&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===ay&&(d=!0);else if((iu&p)===p){c=c.next,p===ay&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,o=i):u=u.next=f,ic.lanes|=p,sU|=p;f=c.action,ig&&n(i,f),i=c.hasEagerState?c.eagerState:n(i,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,o=i):u=u.next=p,ic.lanes|=f,sU|=f;c=c.next}while(null!==c&&c!==t)if(null===u?o=i:u.next=l,!nF(i,e.memoizedState)&&(oG=!0,d&&null!==(n=ab)))throw n;e.memoizedState=i,e.baseState=o,e.baseQueue=u,r.lastRenderedState=i}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function iB(e){var t=iN(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var o=a=a.next;do i=e(i,o.action),o=o.next;while(o!==a)nF(i,t.memoizedState)||(oG=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function iz(e,t,n){var r=ic,a=iN(),i=rY;if(i){if(void 0===n)throw Error(s(407));n=n()}else n=t();var o=!nF((id||a).memoizedState,n);if(o&&(a.memoizedState=n,oG=!0),a=a.queue,ot(iH.bind(null,r,a,e),[e]),i8((e=a.getSnapshot!==t||o||null!==ip&&0!=(1&ip.memoizedState.tag))?9:8,{destroy:void 0},i$.bind(null,r,a,n,t),null),e){if(r.flags|=2048,null===sC)throw Error(s(349));i||0!=(127&iu)||iF(r,t,n)}return n}function iF(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ic.updateQueue)?(t=iI(),ic.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function i$(e,t,n,r){t.value=n,t.getSnapshot=r,iW(t)&&iq(e)}function iH(e,t,n){return n(function(){iW(t)&&iq(e)})}function iW(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nF(e,n)}catch(e){return!0}}function iq(e){var t=rg(e,2);null!==t&&un(t,e,2)}function iG(e){var t=iO();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:iD,lastRenderedState:e},t}function iV(e,t,n,r){return e.baseState=n,iU(e,id,"function"==typeof r?r:iD)}function iY(e,t,n,r,a){if(ok(e))throw Error(s(485));if(null!==(e=t.action)){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==V.T?n(!0):i.isTransition=!1,r(i),null===(n=t.pending)?(i.next=t.pending=i,iX(t,i)):(i.next=n.next,t.pending=n.next=i)}}function iX(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var i=V.T,o={};o.types=null!==i?i.types:null,V.T=o;try{var l=n(a,r),s=V.S;null!==s&&s(o,l),iJ(e,t,l)}catch(n){iK(e,t,n)}finally{null!==i&&null!==o.types&&(i.types=o.types),V.T=i}}else try{i=n(a,r),iJ(e,t,i)}catch(n){iK(e,t,n)}}function iJ(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){iQ(e,t,n
53)},function(n){return iK(e,t,n)}):iQ(e,t,n)}function iQ(e,t,n){t.status="fulfilled",t.value=n,iZ(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,iX(e,n)))}function iK(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,iZ(t),t=t.next;while(t!==r)}e.action=null}function iZ(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function i0(e,t){return t}function i1(e,t){if(rY){var n=sC.formState;if(null!==n){e:{var r=ic;if(rY){if(rV){t:{for(var a=rV,i=rJ;8!==a.nodeType;)if(!i||null===(a=cZ(a.nextSibling))){a=null;break t}a="F!"===(i=a.data)||"F"===i?a:null}if(a){rV=cZ(a.nextSibling),r="F!"===a.data;break e}}rK(r)}r=!1}r&&(t=n[0])}}return(n=iO()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i0,lastRenderedState:t},n.queue=r,n=oE.bind(null,ic,r),r.dispatch=n,r=iG(!1),i=oT.bind(null,ic,!1,r.queue),r=iO(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=iY.bind(null,ic,a,i,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function i2(e){return i3(iN(),id,e)}function i3(e,t,n){if(t=iU(e,t,i0)[0],e=ij(iD)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=iA(t)}catch(e){if(e===aR)throw aC;throw e}else r=t;var a=(t=iN()).queue,i=a.dispatch;return n!==t.memoizedState&&(ic.flags|=2048,i8(9,{destroy:void 0},i4.bind(null,a,n),null)),[r,i,e]}function i4(e,t){e.action=t}function i5(e){var t=iN(),n=id;if(null!==n)return i3(t,n,e);iN(),t=t.memoizedState;var r=(n=iN()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function i8(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=ic.updateQueue)&&(t=iI(),ic.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function i6(){return iN().memoizedState}function i7(e,t,n,r){var a=iO();ic.flags|=e,a.memoizedState=i8(1|t,{destroy:void 0},n,void 0===r?null:r)}function i9(e,t,n,r){var a=iN();r=void 0===r?null:r;var i=a.memoizedState.inst;null!==id&&null!==r&&iE(r,id.memoizedState.deps)?a.memoizedState=i8(t,i,n,r):(ic.flags|=e,a.memoizedState=i8(1|t,i,n,r))}function oe(e,t){i7(8390656,8,e,t)}function ot(e,t){i9(2048,8,e,t)}function on(e){var t=iN().memoizedState,n={ref:t,nextImpl:e};ic.flags|=4;var r=ic.updateQueue;if(null===r)r=iI(),ic.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&sx))throw Error(s(440));return t.impl.apply(void 0,arguments)}}function or(e,t){return i9(4,2,e,t)}function oa(e,t){return i9(4,4,e,t)}function oi(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oo(e,t,n){n=null!=n?n.concat([e]):null,i9(4,4,oi.bind(null,t,e),n)}function ol(){}function os(e,t){var n=iN();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&iE(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ou(e,t){var n=iN();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&iE(t,r[1])?r[0]:(n.memoizedState=[r=e(),t],r)}function oc(e,t,n){return void 0===n||0!=(0x40000000&iu)&&0==(261930&sO)?e.memoizedState=t:(e.memoizedState=n,e=ue(),ic.lanes|=e,sU|=e,n)}function od(e,t,n,r){return nF(n,t)?n:null!==a2.current?(nF(e=oc(e,n,r),t)||(oG=!0),e):0==(106&iu)||0!=(0x40000000&iu)&&0==(261930&sO)?(oG=!0,e.memoizedState=n):(e=ue(),ic.lanes|=e,sU|=e,t)}function of(e,t,n,r,a){var i=Y.p;Y.p=0!==i&&8>i?i:8;var o=V.T,l={};l.types=null!==o?o.types:null,V.T=l,oT(e,!1,t,n);try{var s=a(),u=V.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},s.then(function(){d.status="fulfilled",d.value=r;
53for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);ow(e,t,f,s9())}else ow(e,t,r,s9())}catch(n){ow(e,t,{then:function(){},status:"rejected",reason:n},s9())}finally{Y.p=i,null!==o&&null!==l.types&&(o.types=l.types),V.T=o}}function op(){}function oh(e,t,n,r){if(5!==e.tag)throw Error(s(476));var a=om(e).queue;of(e,a,t,X,null===n?op:function(){return og(e),n(r)})}function om(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iD,lastRenderedState:X},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iD,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function og(e){var t=om(e);null===t.next&&(t=e.alternate.memoizedState),ow(e,t.next.queue,{},s9())}function ov(){return ai(dx)}function oy(){return iN().memoizedState}function ob(){return iN().memoizedState}function o_(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=s9(),r=aY(t,e=aV(n),n);null!==r&&(un(r,t,n),aX(r,t,n)),t={cache:af()},e.payload=t;return}t=t.return}}function oS(e,t,n){var r=s9();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ok(e)?oR(t,n):null!==(n=rm(e,t,n,r))&&(un(n,e,r),ox(n,t,r))}function oE(e,t,n){ow(e,t,n,s9())}function ow(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ok(e))oR(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,l=i(o,n);if(a.hasEagerState=!0,a.eagerState=l,nF(l,o))return rh(e,t,a,0),null===sC&&rp(),!1}catch(e){}finally{}if(null!==(n=rm(e,t,a,r)))return un(n,e,r),ox(n,t,r),!0}return!1}function oT(e,t,n,r){if(r={lane:2,revertLane:uX(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ok(e)){if(t)throw Error(s(479))}else null!==(t=rm(e,n,r,2))&&un(t,e,2)}function ok(e){var t=e.alternate;return e===ic||null!==t&&t===ic}function oR(e,t){im=ih=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ox(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,ez(e,n)}}var oC={readContext:ai,use:iM,useCallback:iS,useContext:iS,useEffect:iS,useImperativeHandle:iS,useLayoutEffect:iS,useInsertionEffect:iS,useMemo:iS,useReducer:iS,useRef:iS,useState:iS,useDebugValue:iS,useDeferredValue:iS,useTransition:iS,useSyncExternalStore:iS,useId:iS,useHostTransitionStatus:iS,useFormState:iS,useActionState:iS,useOptimistic:iS,useMemoCache:iS,useCacheRefresh:iS,useEffectEvent:iS},oP={readContext:ai,use:iM,useCallback:function(e,t){return iO().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:oe,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,i7(4194308,4,oi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return i7(4194308,4,e,t)},useInsertionEffect:function(e,t){i7(4,2,e,t)},useMemo:function(e,t){var n=iO();t=void 0===t?null:t;var r=e();return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=iO();if(void 0!==n)var a=n(t);else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=oS.bind(null,ic,e),[r.memoizedState,e]},useRef:function(e){return iO().memoizedState={current:e}},useState:function(e){var t=(e=iG(e)).queue,n=oE.bind(null,ic,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ol,useDeferredValue:function(e,t){return oc(iO(),e,t)},useTransition:function(){var e=iG(!1);return e=of.bind(null,ic,e.queue,!0,!1),iO().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ic,a=iO();if(rY){if(void 0===n)throw Error(s(407));n=n()}else{if(n=t(),null===sC)throw Error(s(349));0!=(127&sO)||iF(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,oe(iH.bind(null,r,i,e),[e]),r.flags|=2048,i8(9,{destroy:void 0},i$.bind(null,r,i,n,t),null),n},useId:function(){var e=iO(),t=sC.identifierPrefix;if(rY){var n=rz,r=rB;t="_"+t+"R_"+(n=(r&~(1<<32-ex(r)-1)).toString(32)+n),0<(n=iv++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=i_++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ov,useFormState:i1,useActionState:i1,useOptimistic:function(e){var t=iO();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=oT.bind(null,ic,!0,n),n.dispatch=t,[e,t]},useMemoCache:iL,useCacheRefresh:function(){return iO().memoizedState=o_.bind(null,ic)},useEffectEvent:function(e){var t=iO(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&sx))throw Error(s(440));return n.impl.apply(void 0,arguments)}}},oO={readContext:ai,use:iM,useCallback:os,useContext:ai,useEffect:ot,useImperativeHandle:oo,useInsertionEffect:or,useLayoutEffect:oa,useMemo:ou,useReducer:ij,useRef:i6,useState:function(){return ij(iD)},useDebugValue:ol,useDeferredValue:function(e,t){return od(iN(),id.memoizedState,e,t)},useTransition:function(){var e=ij(iD)[0],t=iN().memoizedState;return["boolean"==typeof e?e:iA(e),t]},useSyncExternalStore:iz,useId:oy,useHostTransitionStatus:ov,useFormState:i2,useActionState:i2,useOptimistic:function(e,t){return iV(iN(),id,e,t)},useMemoCache:iL,useCacheRefresh:ob,useEffectEvent:on},oN={readContext:ai,use:iM,useCallback:os,useContext:ai,useEffect:ot,useImperativeHandle:oo,useInsertionEffect:or,useLayoutEffect:oa,useMemo:ou,useReducer:iB,useRef
vendor: 4,097 bytes, line 53
53:i6,useState:function(){return iB(iD)},useDebugValue:ol,useDeferredValue:function(e,t){var n=iN();return null===id?oc(n,e,t):od(n,id.memoizedState,e,t)},useTransition:function(){var e=iB(iD)[0],t=iN().memoizedState;return["boolean"==typeof e?e:iA(e),t]},useSyncExternalStore:iz,useId:oy,useHostTransitionStatus:ov,useFormState:i5,useActionState:i5,useOptimistic:function(e,t){var n=iN();return null!==id?iV(n,id,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:iL,useCacheRefresh:ob,useEffectEvent:on};function oI(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:T({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var oA={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=s9(),a=aV(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=aY(e,a,r))&&(un(t,e,r),aX(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=s9(),a=aV(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=aY(e,a,r))&&(un(t,e,r),aX(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=s9(),r=aV(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=aY(e,r,n))&&(un(t,e,n),aX(t,e,n))}};function oM(e,t,n,r,a,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||!n$(n,r)||!n$(a,i)}function oL(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&oA.enqueueReplaceState(t,t.state,null)}function oD(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=T({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function oj(e){ru(e)}function oU(e){console.error(e)}function oB(e){ru(e)}function oz(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function oF(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function o$(e,t,n){return(n=aV(n)).tag=3,n.payload={element:null},n.callback=function(){oz(e,t)},n}function oH(e){return(e=aV(e)).tag=3,e}function oW(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var i=r.value;e.payload=function(){return a(i)},e.callback=function(){oF(t,n,r)}}var o=n.stateNode;null!==o&&"function"==typeof o.componentDidCatch&&(e.callback=function(){oF(t,n,r),"function"!=typeof a&&(null===sJ?sJ=new Set([this]):sJ.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var oq=Error(s(461)),oG=!1;function oV(e,t,n,r){t.child=null===e?aH(t,null,n,r):a$(t,e.child,n,r)}function oY(e,t,n,r,a){n=n.render;var i=t.ref;if("ref"in r){var o={};for(var l in r)"ref"!==l&&(o[l]=r[l])}else o=r;return(aa(t),r=iw(e,t,n,o,i,a),l=ix(),null===e||oG)?(rY&&l&&rH(t),t.flags|=1,oV(e,t,r,a),t.child):(iC(e,t,a),lc(e,t,a))}function oX(e,t,n,r,a){if(null===e){var i=n.type;return"function"!=typeof i||rE(i)||void 0!==i.defaultProps||null!==n.compare?((e=rk(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,oJ(e,t,i,r,a))}if(i=e.child,!ld(e,a)){var o=i.memoizedProps;if((n=null!==(n=n.compare)?n:n$)(o,r)&&e.ref===t.ref)return lc(e,t,a)}return t.flags|=1,(e=rw(i,r)).ref=t.ref,e.return=t,t.child=e}function oJ(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(n$(i,r)&&e.ref===t.ref)if(oG=!1,t.pendingProps=r=i,!ld(e,a))return t.lanes=e.lanes,lc(e,t,a);else 0!=(131072&e.flags)&&(oG=!0)}return o3(e,t,n,r,a)}function oQ(e,t,n,r){var a=r.children,i=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(i=null!==i?i.baseLanes|n:n,null!==e){for(r=t.child=e.child,a=0;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~i}else r=0,t.child=null;return oZ(e,t,i,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,oZ(e,t,null!==i?i.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null}
53,null!==e&&aT(t,null!==i?i.cachePool:null),null!==i?a4(t,i):a5(),it(t)}else null!==i?(aT(t,i.cachePool),a4(t,i),ir(),t.memoizedState=null):(null!==e&&aT(t,null),a5(),ir());return oV(e,t,a,n),t.child}function oK(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function oZ(e,t,n,r,a){var i=aw();return t.memoizedState={baseLanes:n,cachePool:i=null===i?null:{parent:ad._currentValue,pool:i}},null!==e&&aT(t,null),a5(),it(t),null!==e&&an(e,t,r,!0),t.childLanes=a,null}function o0(e,t){return(t=ln({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function o1(e,t,n){return a$(t,e.child,null,n),e=o0(t,t.pendingProps),e.flags|=2,ia(t),t.memoizedState=null,e}function o2(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(s(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function o3(e,t,n,r,a){return(aa(t),n=iw(e,t,n,r,void 0,a),r=ix(),null===e||oG)?(rY&&r&&rH(t),t.flags|=1,oV(e,t,n,a),t.child):(iC(e,t,a),lc(e,t,a))}function o4(e,t,n,r,a,i){return(aa(t),t.updateQueue=null,n=ik(t,r,n,a),iT(e),r=ix(),null===e||oG)?(rY&&r&&rH(t),t.flags|=1,oV(e,t,n,i),t.child):(iC(e,t,i),lc(e,t,i))}function o5(e,t,n,r,a){if(aa(t),null===t.stateNode){var i=rb,o=n.contextType;"object"==typeof o&&null!==o&&(i=ai(o)),t.memoizedState=null!==(i=new n(r,i)).state&&void 0!==i.state?i.state:null,i.updater=oA,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},aq(t),o=n.contextType,i.context="object"==typeof o&&null!==o?ai(o):rb,i.state=t.memoizedState,"function"==typeof(o=n.getDerivedStateFromProps)&&(oI(t,n,o,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(o=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),o!==i.state&&oA.enqueueReplaceState(i,i.state,null),aZ(t,r,i,a),aK(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var l=t.memoizedProps,s=oD(n,l);i.props=s;var u=i.context,c=n.contextType;o=rb,"object"==typeof c&&null!==c&&(o=ai(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l||u!==o)&&oL(t,i,r,o),aW=!1;var f=t.memoizedState;i.state=f,aZ(t,r,i,a),aK(),u=t.memoizedState,l||f!==u||aW?("function"==typeof d&&(oI(t,n,d,r),u=t.memoizedState),(s=aW||oM(t,n,s,r,f,u,o))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=o,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,aG(e,t),c=oD(n,o=t.memoizedProps),i.props=c,d=t.pendingProps,f=i.context,u=n.contextType,s=rb,"object"==typeof u&&null!==u&&(s=ai(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(o!==d||f!==s)&&oL(t,i,r,s),aW=!1,f=t.memoizedState,i.state=f,aZ(t,r,i,a),aK();var p=t.memoizedState;o!==d||f!==p||aW||null!==e&&null!==e.dependencies&&ar(e.dependencies)?("function"==typeof l&&(oI(t,n,l,r),p=t.memoizedState),(c=aW||oM(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&ar(e.dependencies))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,o2(e,t),r=0!=(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=a$(t,e.child,null,a),t.child=a$(t,null,n,a)):oV(e,t,n,a),t.memoizedState=i.state,e=t.child):e=lc(e,t,a),e}function o8(e,t,n,r){return r2(),t.flags|=256,oV(e,t,n,r),t.child}var o6={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function o7(e){return{baseLanes:e,cachePool:ak()}}function o9(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=sF),e}function le(e,t,n){var r,a=t.pendingProps,i=!1,o=0!=(128&t.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!=(2&ii.current)),r&&(i=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rY){if(i?a9(t):ir(),(e=rV)?null!==(e=null!==(e=cJ(e,rJ))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rU?{id:rB,overflow:rz}:null,retryLane:0x20000000,hydrationErrors:null},(n=rC(e)).return=t,t.child=n,rG=t,rV=null):e=null,null===e)throw rK(t);return cK(e)?t.lanes=32:t.lanes=0x20000000,null}return(o=a.children,a=a.fallback,i)?(ir(),o=ln({mode:"hidden",children:o},i=t.mode),a=rR(a,i,n,null),o.return=t,a.return=t,o.sibling=a,t.child=o,(a=t.child).memoizedState=o7(n),a.childLanes=o9(e,r,n),t.memoizedState=o6,oK(null,a)):(a9(t),lt(t,o))}var l=e.memoizedState;if(null!==l){var u=l.dehydrated;if(null!==u){var c=e,d=t,f=o,p=r,h=a,m=u,g=l,v=n;if(f)return 256&d.flags?(a9(d),d.flags&=-257,lr(c,d,v)):null!==d.memoizedState?(ir(),d.child=c.child,d.flags|=128,null):(ir(),m=h.fallback,g=d.mode,h=ln({mode:"visible",children:h.children},g),m=rR(m,g,v,null),m.flags|=2,h.return=d,m.return=d,h.sibling=m,d.child=h,a$(d,c.child,null,v),(h=d.child).memoizedState=o7(v),h.childLanes=o9(c,p,v),d.memoizedState=o6,oK(null,h));if(a9(d),cK(m)){if(p=m.nextSibling&&m.nextSibling.dataset)var y=p.dgst;return""!==(p=y)&&((h=Error(s(419))).stack="",h.digest=p,r4({value:h,source:null,stack:null})),lr(c,d,v)}if(oG||an(c,d,v,!1),p=0!=(v&c.childLanes),oG||p){if(null!==a2.current)return lr(c,d,v);if(null!==(p=sC)&&0!==(h=eF(p,v))&&h!==g.retryLane)throw g.retryLane=h,rg(c,h),un(p,c,h),oq;return cQ(m)||up(),lr(c,d,v)}return cQ(m)?(d.flags|=192,d.child=c.child,null):(c=g.treeContext,rV=cZ(m.nextSibling),rG=d,rY=!0,rX=null,rJ=!1,null!==c&&rq(d,c),d=lt(d,h.children),d.flags|=0x8001000,d)}}return i?(ir(),i=a.fallback,o=t.mode,u=(l=e.child).sibling,(a=rw(l,{mode:"hidden",children:a.children})).subtreeFlags=0x47f00000&l.subtreeFlags,null!==u?i=rw(u,i):(i=rR(i,o,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,oK(null,a),a=t.child,null===(i=e.child.memoizedState)?i=o7(n):(null!==(o=i.cachePool)?(l=ad._currentValue,o=o.parent!==l?{parent:l,pool:l}:o):o=ak(),i={baseLanes:i.baseLanes|n,cachePool:o}),a.memoizedState=i,a.childLanes=o9(e,r,n),t.memoizedState=o6,oK(e.child,a)):(a9(t),e=(n=e.child).sibling,(n=rw(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function lt(e,t){return(t=ln({mode:"visible",children:t},e.mode)).return=e,e.child=t}function ln(e,t){return(e=rS(22,e,null,t)).lanes=0,e}function lr(e,t,n){return a$(t,e.child,null,n),e=lt(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function la(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ae(e.return,t,n)}function li(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===is(n)&&(t=e),e=e.sibling}return t}function lo(e,t,n,r,a,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a,o.treeForkCount=i)}function ll(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}
53function ls(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;r=r.children;var o=ii.current;if(128&t.flags)return io(t,o),null;var l=0!=(2&o);if(l?(o=1&o|2,t.flags|=128):o&=1,io(t,o),"backwards"===a&&null!==e?(ll(e),oV(e,t,r,n),ll(e)):oV(e,t,r,n),r=rY?rL:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&la(e,n,t);else if(19===e.tag)la(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"backwards":null===(n=li(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null,ll(t)),lo(t,!0,a,null,i,r);break;case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===is(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}lo(t,!0,n,null,i,r);break;case"together":lo(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=li(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),lo(t,!1,a,n,i,r)}return t.child}function lu(e,t,n){var r=t.pendingProps;return r7(t,t.type,r.value),oV(e,t,r.children,n),t.child}function lc(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),sU|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(an(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=rw(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rw(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ld(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&ar(e))}function lf(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)oG=!0;else{if(!ld(e,n)&&0==(128&t.flags))return oG=!1,function(e,t,n){switch(t.tag){case 3:ei(t,t.stateNode.containerInfo),r7(t,ad,e.memoizedState.cache),r2();break;case 27:case 5:el(t);break;case 4:ei(t,t.stateNode.containerInfo);break;case 10:r7(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,ie(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return a9(t),t.flags|=128,null;r=an(e,t,n,!1);var a=t.child.childLanes;if(r||0!=(n&a))return le(e,t,n);return a9(t),null!==(e=lc(e,t,n))?e.sibling:null}a9(t);break;case 19:if(128&t.flags)return ls(e,t,n);if(a=0!=(128&e.flags),(r=0!=(n&t.childLanes))||(an(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return ls(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),io(t,ii.current),!r)return null;break;case 22:return t.lanes=0,oQ(e,t,n,t.pendingProps);case 24:r7(t,ad,e.memoizedState.cache)}return lc(e,t,n)}(e,t,n);oG=0!=(131072&e.flags)}else oG=!1,rY&&0!=(1048576&t.flags)&&r$(t,rL,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=aI(t.elementType),t.type=e,"function"==typeof e)rE(e)?(r=oD(e,r),t.tag=1,t=o5(null,t,e,r,n)):(t.tag=0,t=o3(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===A){t.tag=11,t=oY(null,t,e,r,n);break e}if(a===D){t.tag=14,t=oX(null,t,e,r,n);break e}if(a===I){t.tag=10,t.type=e,t=lu(null,t,n);break e}}throw Error(s(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===q?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case C:return"Fragment";case O:return"Profiler";case P:return"StrictMode";case M:return"Suspense";case L:return"SuspenseList";case U:return"Activity";case F:return"ViewTransition"}if("object"==typeof t)switch(t.$$typeof){case x:return"Portal";case I:return t.displayName||"Context";case N:return(t._context.displayName||"Context")+".Consumer";case A:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case D:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case j:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return o3(e,t,t.type,t.pendingProps,n);case 1:return a=oD(r=t.type,t.pendingProps),o5(e,t,r,a,n);case 3:e:{if(ei(t,t.stateNode.containerInfo),null===e)throw Error(s(387));
53r=t.pendingProps;var i=t.memoizedState;a=i.element,aG(e,t),aZ(t,r,null,n);var o=t.memoizedState;if(r7(t,ad,r=o.cache),r!==i.cache&&at(t,[ad],n,!0),aK(),r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=o8(e,t,r,n);break e}else if(r!==a){r4(a=rN(Error(s(424)),t)),t=o8(e,t,r,n);break e}else for(rV=cZ((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rG=t,rY=!0,rX=null,rJ=!0,n=aH(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|0x8001000,n=n.sibling;else{if(r2(),r===a){t=lc(e,t,n);break e}oV(e,t,r,n)}t=t.child}return t;case 26:return o2(e,t),null===e?(n=dn(t.type,null,t.pendingProps,null))?t.memoizedState=n:rY||(n=t.type,e=t.pendingProps,(r=cp(er.current).createElement(n))[eV]=t,r[eY]=e,cs(r,n,e),e6(r),t.stateNode=r):t.memoizedState=dn(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return el(t),null===e&&rY&&(r=t.stateNode=c3(t.type,t.pendingProps,er.current),rG=t,rJ=!0,a=rV,cw(t.type)?(c0=a,rV=cZ(r.firstChild)):rV=a),oV(e,t,t.pendingProps.children,n),o2(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rY&&((a=r=rV)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[e0])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=cZ(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rJ))?(t.stateNode=r,rG=t,rV=cZ(r.firstChild),rJ=!1,a=!0):a=!1),a||rK(t)),el(t),a=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,r=i.children,cg(a,i)?r=null:null!==o&&cg(a,o)&&(t.flags|=32),null!==t.memoizedState&&(dx._currentValue=a=iw(e,t,iR,null,null,n)),o2(e,t),oV(e,t,r,n),t.child;case 6:return null===e&&rY&&((e=n=rV)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cZ(e.nextSibling)))return null;return e}(n,t.pendingProps,rJ))?(t.stateNode=n,rG=t,rV=null,e=!0):e=!1),e||rK(t)),null;case 13:return le(e,t,n);case 4:return ei(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=a$(t,null,r,n):oV(e,t,r,n),t.child;case 11:return oY(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,o2(e,t),oV(e,t,r,n),t.child;case 8:case 12:return oV(e,t,t.pendingProps.children,n),t.child;case 10:return lu(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,aa(t),r=r(a=ai(a)),t.flags|=1,oV(e,t,r,n),t.child;case 14:return oX(e,t,t.type,t.pendingProps,n);case 15:return oJ(e,t,t.type,t.pendingProps,n);case 19:return ls(e,t,n);case 31:var l=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===l){if(rY){if("hidden"===d.mode)return l=o0(u,d),u.lanes=0x20000000,oK(null,l);if(ie(u),(l=rV)?null!==(l=null!==(l=cJ(l,rJ))&&"&"===l.data?l:null)&&(u.memoizedState={dehydrated:l,treeContext:null!==rU?{id:rB,overflow:rz}:null,retryLane:0x20000000,hydrationErrors:null},(c=rC(l)).return=u,u.child=c,rG=u,rV=null):l=null,null===l)throw rK(u);return u.lanes=0x20000000,null}return o0(u,d)}var p=l.memoizedState;if(null!==p){var h=p.dehydrated;if(ie(u),f)if(256&u.flags)u.flags&=-257,u=o1(l,u,c);else if(null!==u.memoizedState)u.child=l.child,u.flags|=128,u=null;else throw Error(s(558));else if(oG||an(l,u,c,!1),f=0!=(c&l.childLanes),oG||f){if(null===a2.current){if(null!==(d=sC)&&0!==(h=eF(d,c))&&h!==p.retryLane)throw p.retryLane=h,rg(l,h),un(d,l,h),oq;up()}u=o1(l,u,c)}else l=p.treeContext,rV=cZ(h.nextSibling),rG=u,rY=!0,rX=null,rJ=!1,null!==l&&rq(u,l),u=o0(u,d),u.flags|=0x8001000;return u}return(l=rw(l.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=l,l.return=u,l;case 22:return oQ(e,t,n,t.pendingProps);case 24:return aa(t),r=ai(ad),null===e?(null===(a=aw())&&(a=sC,i=af(),a.pooledCache=i,i.refCount++,null!==i&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:r,cache:a},aq(t),r7(t,ad,a)):(0!=(e.lanes&n)&&(aG(e,t),aZ(t,null,null,n),aK()),a=e.memoizedState,i=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),r7(t,ad,r)):(r7(t,ad,r=i.cache),r!==a.cache&&at(t,[ad],n,!0))),oV(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?0x1202000:0x1200000:rY&&rH(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:o2(e,t),oV(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function lp(e){e.flags|=4}function lh(e,t,n,r,a){var i;if((i=0!=(32&e.mode))&&(i=null===n?dg(t,r):dg(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),i){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(uc())e.flags|=8192;else throw aA=aP,ax}else e.flags&=-0x1000001}function lm(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!dv(t))if(uc())e.flags|=8192;else throw aA=aP,ax}function lg(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eD():0x20000000,e.lanes|=t,s$|=t)}function lv(e,t){if(!rY)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function ly(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x47f00000&a.subtreeFlags,r|=0x47f00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lb(e,t){switch(rW(t),t.tag){case 3:r9(ad),eo();break;case 26:case 27:case 5:es(t);break;case 4:eo();break;case 31:null!==t.memoizedState&&ia(t);break;case 13:ia(t);break;case 19:il(t);break;case 10:r9(t.type);break;case 22:case 23:ia(t),a8(),null!==e&&Z(aE);break;case 24:r9(ad)}}function l_(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;
53if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var i=n.create;n.inst.destroy=r=i()}n=n.next}while(n!==a)}}catch(e){uO(t,t.return,e)}}function lS(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var i=a.next;r=i;do{if((r.tag&e)===e){var o=r.inst,l=o.destroy;if(void 0!==l){o.destroy=void 0,a=t;try{l()}catch(e){uO(a,n,e)}}}r=r.next}while(r!==i)}}catch(e){uO(t,t.return,e)}}function lE(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{a1(t,n)}catch(t){uO(e,e.return,t)}}}function lw(e,t,n){n.props=oD(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){uO(e,t,n)}}function lT(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var a=e.stateNode,i=ro(e.memoizedProps,a);(null===a.ref||a.ref.name!==i)&&(a.ref=cA(i)),r=a.ref;break;case 7:if(null===e.stateNode){var o=new cM(e);h(e.child,!1,cG,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){uO(e,t,n)}}function lk(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){uO(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){uO(e,t,n)}else n.current=null}function lR(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){uO(e,e.return,t)}}function lx(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,o=null,l=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(h)||co(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(to=!0),i=h;break;case"name":h!==f&&(to=!0),a=h;break;case"checked":h!==f&&(to=!0),c=h;break;case"defaultChecked":h!==f&&(to=!0),d=h;break;case"value":h!==f&&(to=!0),o=h;break;case"defaultValue":h!==f&&(to=!0),l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(s(137,t));break;default:h!==f&&co(e,t,p,h,r,f)}}tv(e,o,l,u,c,d,i,a);return;case"select":for(i in h=o=l=p=null,n)if(u=n[i],n.hasOwnProperty(i)&&null!=u)switch(i){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(i)||co(e,t,i,null,r,u)}for(a in r)if(i=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=i||null!=u))switch(a){case"value":i!==u&&(to=!0),p=i;break;case"defaultValue":i!==u&&(to=!0),l=i;break;case"multiple":i!==u&&(to=!0),o=i;default:i!==u&&co(e,t,a,i,r,u)}t=l,n=o,r=h,null!=p?t_(e,!!n,p,!1):!!r!=!!n&&(null!=t?t_(e,!!n,t,!0):t_(e,!!n,n?[]:"",!1));return;case"textarea":for(l in h=p=null,n)if(a=n[l],n.hasOwnProperty(l)&&null!=a&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:co(e,t,l,null,r,a)}for(o in r)if(a=r[o],i=n[o],r.hasOwnProperty(o)&&(null!=a||null!=i))switch(o){case"value":a!==i&&(to=!0),p=a;break;case"defaultValue":a!==i&&(to=!0),h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(s(91));break;default:a!==i&&co(e,t,o,a,r,i)}tS(e,p,h);return;case"option":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&("selected"===m?e.selected=!1:co(e,t,m,null,r,p));for(u in r)p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h)&&("selected"===u?(p!==h&&(to=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p):co(e,t,u,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&co(e,t,g,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(s(137,t));break;default:co(e,t,c,p,r,h)}return;default:if(tx(t)){for(var v in n)p=n[v],n.hasOwnProperty(v)&&void 0!==p&&!r.hasOwnProperty(v)&&cl(e,t,v,void 0,r,p);
53for(d in r)p=r[d],h=n[d],r.hasOwnProperty(d)&&p!==h&&(void 0!==p||void 0!==h)&&cl(e,t,d,p,r,h);return}}for(var y in n)p=n[y],n.hasOwnProperty(y)&&null!=p&&!r.hasOwnProperty(y)&&co(e,t,y,null,r,p);for(f in r)p=r[f],h=n[f],r.hasOwnProperty(f)&&p!==h&&(null!=p||null!=h)&&co(e,t,f,p,r,h)})(r,e.type,n,t),r[eY]=t}catch(t){uO(e,e.return,t)}}function lC(e,t){if((5===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)cY(e.stateNode,t[n])}function lP(e){for(var t=e.return;null!==t;){if(lN(t)){var n=t.stateNode,r=e.stateNode;if(3!==r.nodeType){var a=n._eventListeners;if(null!==a)for(var i=0;i<a.length;i++){var o=a[i];r.removeEventListener(o.type,o.listener,o.optionsOrUseCapture)}null!=r.reactFragments&&r.reactFragments.delete(n)}}if(lO(t))break;t=t.return}}function lO(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&cw(e.type)||4===e.tag}function lN(e){return e&&7===e.tag&&null!==e.stateNode}function lI(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&cw(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lA(e,t,n,r){var a=e.tag;if(5===a||6===a)a=e.stateNode,t?n.insertBefore(a,t):n.appendChild(a),lC(e,r),to=!0;else if(4!==a&&(27===a&&cw(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(lA(e,t,n,r),e=e.sibling;null!==e;)lA(e,t,n,r),e=e.sibling}function lM(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);cs(t,r,n),t[eV]=e,t[eY]=n}catch(t){uO(e,e.return,t)}}var lL=!1,lD=null;function lj(e){(30===e.tag||0!=(0x2000000&e.subtreeFlags))&&(lL=!0)}var lU=null;function lB(){var e=lU;return lU=null,e}var lz=0;function lF(e,t,n,r,a){return lz=0,function e(t,n,r,a,i){for(var o=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==a){var s=cP(l);a.push(s),s.view&&(o=!0)}else o||cP(l).view&&(o=!0);lL=!0,cR(l,0===lz?n:n+"_"+lz,r),lz++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&i||e(t.child,n,r,a,i)&&(o=!0));t=t.sibling}return o}(e.child,t,n,r,a)}function l$(e,t){for(;null!==e;)5===e.tag?cx(e.stateNode,e.memoizedProps):(22!==e.tag||null===e.memoizedState)&&(30===e.tag&&t||l$(e.child,t)),e=e.sibling}function lH(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(lH(e),30===e.tag&&0!=(0x1200000&e.flags)&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(s(544));var n=t.name;"none"!==(t=rs(t.default,t.share))&&(lF(e,n,t,null,!1)||l$(e.child,!1))}e=e.sibling}}function lW(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,a=ro(r,n),i=rs(r.default,n.paired?r.share:r.enter);"none"!==i?lF(e,a,i,null,!1)?(lH(e),n.paired||t||ut(e,r.onEnter)):l$(e.child,!1):lH(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lW(e,t),e=e.sibling;else lH(e)}function lq(e){if(null!==lD&&0!==lD.size){var t=lD;if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var a=t.get(r);if(void 0!==a){var i=rs(n.default,n.share);if("none"!==i&&(lF(e,r,i,null,!1)?(a.paired=i=e.stateNode,i.paired=a,ut(e,n.onShare)):l$(e.child,!1)),t.delete(r),0===t.size)break}}}lq(e)}e=e.sibling}}}function lG(e){if(30===e.tag){var t=e.memoizedProps,n=ro(t,e.stateNode),r=null!==lD?lD.get(n):void 0,a=rs(t.default,void 0!==r?t.share:t.exit);"none"!==a&&(lF(e,n,a,null,!1)?void 0!==r?(r.paired=a=e.stateNode,a.paired=r,lD.delete(n),ut(e,t.onShare)):ut(e,t.onExit):l$(e.child,!1)),null!==lD&&lq(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lG(e),e=e.sibling;else null!==lD&&lq(e)}function lV(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var t=e.stateNode;null!==t.paired&&(t.paired=null,l$(e.child,!1))}lV(e)}e=e.sibling}}function lY(e){if(30===e.tag)e.stateNode.paired=null,l$(e.child,!1),lV(e);else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lY(e),e=e.sibling;else lV(e)}function lX(e,t,n,r,a,i,o){for(var l=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==i&&lz<i.length){var u,c=i[lz],d=cP(s);if((c.view||d.view)&&(l=!0),u=0==(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var f=d.rect;u=u.y!==f.y||u.x!==f.x||u.height!==f.height||u.width!==f.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;0!=(4&e.flags)&&cR(s,0===lz?n:n+"_"+lz,a),l&&0!=(4&e.flags)||(null===lU&&(lU=[]),lU.push(s,0===lz?r:r+"_"+lz,t.memoizedProps)),lz++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&o?e.flags|=32&t.flags:lX(e,t.child,n,r,a,i,o)&&(l=!0));t=t.sibling}return l}var lJ=!1,lQ=!1,lK=!1,lZ=!1,l0="function"==typeof WeakSet?WeakSet:Set,l1=null,l2=!1,l3=!1,l4=!1,l5=!1;function l8(e){for(;null!==l1;){var t=l1,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&a)&&null!==r){n=void 0,a=r.memoizedProps,r=r.memoizedState;var i=t.stateNode;try{var o=oD(t.type,a);n=i.getSnapshotBeforeUpdate(o,r),i.__reactInternalSnapshotBeforeUpdate=n}catch(e){uO(t,t.return,e)}}break;
53case 3:if(0!=(1024&a)){if(9===(n=(r=t.stateNode.containerInfo).nodeType))cX(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":cX(r);break;default:r.textContent=""}}break;case 30:n&&null!==r&&(n=ro(r.memoizedProps,r.stateNode),"none"!==(a=rs((a=t.memoizedProps).default,a.update))&&lF(r,n,a,r.memoizedState=[],!0));break;default:if(0!=(1024&a))throw Error(s(163))}if(null!==(r=t.sibling)){r.return=t.return,l1=r;break}l1=t.return}}function l6(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:sf(e,n),4&r&&l_(5,n);break;case 1:if(sf(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){uO(n,n.return,e)}else{var a=oD(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){uO(n,n.return,e)}}64&r&&lE(n),512&r&&lT(n,n.return);break;case 3:if(sf(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{a1(e,t)}catch(e){uO(n,n.return,e)}}break;case 27:null===t&&4&r&&lM(n);case 26:case 5:sf(e,n),null===t&&4&r&&lR(n),512&r&&lT(n,n.return);break;case 12:sf(e,n);break;case 31:sf(e,n),4&r&&sr(e,n);break;case 13:sf(e,n),4&r&&sa(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=uM.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||lJ)){var i=null!==t&&null!==t.memoizedState||lQ;t=lJ,a=lQ,lJ=r,(lQ=i)&&!a?(r=2,0!=(8772&n.subtreeFlags)&&(r|=1),function e(t,n,r){for(r=0!=(8772&n.subtreeFlags)?r:-2&r,n=n.child;null!==n;){var a=n.alternate,i=t,o=n,l=o.flags,s=0!=(1&r);switch(o.tag){case 0:case 11:case 15:e(i,o,r),l_(4,o);break;case 1:if(e(i,o,r),"function"==typeof(i=(a=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(e){uO(a,a.return,e)}if(null!==(i=(a=o).updateQueue)){var u=a.stateNode;try{var c=i.shared.hiddenCallbacks;if(null!==c)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)a0(c[i],u)}catch(e){uO(a,a.return,e)}}s&&64&l&&lE(o),lT(o,o.return);break;case 27:0!=(2&r)&&lM(o);case 26:case 5:if(5===o.tag){u=o;for(var d=u.return;null!==d&&(lN(d)&&cY(u.stateNode,d.stateNode),!lO(d));)d=d.return}e(i,o,r),s&&null===a&&4&l&&lR(o),lT(o,o.return);break;case 12:e(i,o,r);break;case 31:e(i,o,r),s&&4&l&&sr(i,o);break;case 13:e(i,o,r),s&&4&l&&sa(i,o);break;case 22:null===o.memoizedState&&e(i,o,r),lT(o,o.return);break;case 30:e(i,o,r),lT(o,o.return);break;case 7:lT(o,o.return);default:e(i,o,r)}n=n.sibling}}(e,n,r)):sf(e,n),lJ=t,lQ=a}break;case 30:sf(e,n),512&r&&lT(n,n.return);break;case 7:512&r&&lT(n,n.return);default:sf(e,n)}}function l7(e,t){for(e=e.child;null!==e;)(function e(t,n){switch(t.tag){case 5:case 26:try{var r=t.stateNode;if(n){var a=r.style;"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"}else{var i=t.stateNode,o=t.memoizedProps.style,l=null!=o&&o.hasOwnProperty("display")?o.display:null;i.style.display=null==l||"boolean"==typeof l?"":(""+l).trim()}}catch(e){uO(t,t.return,e)}!function t(n,r){if(0x4000000&n.subtreeFlags)for(n=n.child;null!==n;){e:{var a=n;switch(a.tag){case 4:e(a,r);break e;case 22:null===a.memoizedState&&t(a,r);break e;default:t(a,r)}}n=n.sibling}}(t,n);break;case 6:try{t.stateNode.nodeValue=n?"":t.memoizedProps,to=!0}catch(e){uO(t,t.return,e)}break;case 18:try{var s=t.stateNode;n?ck(s,!0):ck(t.stateNode,!1)}catch(e){uO(t,t.return,e)}break;case 22:case 23:null===t.memoizedState&&l7(t,n);break;default:l7(t,n)}})(e,t),e=e.sibling}var l9=null,se=!1;function st(e,t,n){for(n=n.child;null!==n;)sn(e,t,n),n=n.sibling}function sn(e,t,n){if(eR&&"function"==typeof eR.onCommitFiberUnmount)try{eR.onCommitFiberUnmount(ek,n)}catch(e){}switch(n.tag){case 26:lQ||lk(n,t),st(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:lQ||lk(n,t);var r=l9,a=se;cw(n.type)&&(l9=n.stateNode,se=!1),st(e,t,n),c4(n.stateNode,n.type,n.memoizedProps),l9=r,se=a;break;case 5:lQ||lk(n,t),5!==n.tag&&6!==n.tag||lP(n);case 6:if(r=l9,a=se,l9=null,st(e,t,n),l9=r,se=a,null!==l9)if(se)try{(9===l9.nodeType?l9.body:"HTML"===l9.nodeName?l9.ownerDocument.body:l9).removeChild(n.stateNode),to=!0}catch(e){uO(n,t,e)}else try{l9.removeChild(n.stateNode),to=!0}catch(e){uO(n,t,e)}break;case 18:null!==l9&&(se?(cT(9===(e=l9).nodeType?e.body:"HTML"===e.n
53odeName?e.ownerDocument.body:e,n.stateNode),d8(e)):cT(l9,n.stateNode));break;case 4:r=l9,a=se,l9=n.stateNode.containerInfo,se=!0,st(e,t,n),l9=r,se=a;break;case 0:case 11:case 14:case 15:lS(2,n,t),lQ||lS(4,n,t),st(e,t,n);break;case 1:lQ||(lk(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&lw(n,t,r)),st(e,t,n);break;case 21:default:st(e,t,n);break;case 22:lQ=(r=lQ)||null!==n.memoizedState,st(e,t,n),lQ=r;break;case 30:lk(n,t),st(e,t,n);break;case 7:lQ||lk(n,t),st(e,t,n)}}function sr(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{d8(e)}catch(e){uO(t,t.return,e)}}}function sa(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{d8(e)}catch(e){uO(t,t.return,e)}}function si(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new l0),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new l0),t;default:throw Error(s(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=uL.bind(null,e,t);t.then(r,r)}})}function so(e,t,n){var r=t.deletions;if(null!==r)for(var a=0;a<r.length;a++){var i=r[a],o=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 27:if(cw(u.type)){l9=u.stateNode,se=!1;break e}break;case 5:l9=u.stateNode,se=!1;break e;case 3:case 4:l9=u.stateNode.containerInfo,se=!0;break e}u=u.return}if(null===l9)throw Error(s(160));sn(o,l,i),l9=null,se=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)ss(t,e,n),t=t.sibling}var sl=null;function ss(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(4&a&&null!==(r=null!==(r=e.updateQueue)?r.events:null))for(var i=0;i<r.length;i++){var o=r[i];o.ref.impl=o.nextImpl}so(t,e,n),su(e),4&a&&(lS(3,e,e.return),l_(3,e),lS(5,e,e.return));break;case 1:so(t,e,n),su(e),512&a&&(lQ||null===r||lk(r,r.return)),64&a&&lJ&&null!==(e=e.updateQueue)&&null!==(t=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?t:n.concat(t));break;case 26:if(i=sl,so(t,e,n),su(e),512&a&&(lQ||null===r||lk(r,r.return)),4&a)if(n=null!==r?r.memoizedState:null,t=e.memoizedState,null===r)if(null===t)if(null===e.stateNode){e:{t=e.type,n=e.memoizedProps,r=i.ownerDocument||i;t:switch(t){case"title":(!(a=r.getElementsByTagName("title")[0])||a[e0]||a[eV]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=r.createElement(t),r.head.insertBefore(a,r.querySelector("head > title"))),cs(a,t,n),a[eV]=e,e6(a),t=a;break e;case"link":if(i=dh("link","href",r).get(t+(n.href||""))){for(o=0;o<i.length;o++)if((a=i[o]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){i.splice(o,1);break t}}cs(a=r.createElement(t),t,n),r.head.appendChild(a);break;case"meta":if(i=dh("meta","content",r).get(t+(n.content||""))){for(o=0;o<i.length;o++)if((a=i[o]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){i.splice(o,1);break t}}cs(a=r.createElement(t),t,n),r.head.appendChild(a);break;default:throw Error(s(468,t))}a[eV]=e,e6(a),t=a}e.stateNode=t}else dm(i,e.type,e.stateNode);else e.stateNode=du(i,t,e.memoizedProps);else n!==t?(null===n?null!==r.stateNode&&(n=r.stateNode).parentNode.removeChild(n):n.count--,null===t?dm(i,e.type,e.stateNode):du(i,t,e.memoizedProps)):null===t&&null!==e.stateNode&&lx(e,e.memoizedProps,r.memoizedProps);break;case 27:so(t,e,n),su(e),512&a&&(lQ||null===r||lk(r,r.return)),null!==r&&4&a&&lx(e,e.memoizedProps,r.memoizedProps);break;case 5:if(i=lK,lK=!1,so(t,e,n),lK=i,su(e),512&a&&(lQ||null===r||lk(r,r.return)),32&e.flags){t=e.stateNode;try{tw(t,""),to=!0}catch(t){uO(e,e.return,t)}}4&a&&null!=e.stateNode&&(t=e.memoizedProps,lx(e,t,null!==r?r.memoizedProps:t)),1024&a&&(lZ=!0);break;case 6:if(so(t,e,n),su(e),4&a){if(null===e.stateNode)throw Error(s(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,to=!0}catch(t){uO(e,e.return,t)}}break;case 3:if(to=!1,dp=null,i=sl,sl=c7(t.containerInfo),so(t,e,n),sl=i,su(e),4&a&&null!==r&&r.memoizedState.isDehydrated)try{d8(t.containerInfo)}catch(t){uO(e,e.return,t)}lZ&&(lZ=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&(n=n.stateNode,dL=!0,n.reset(),dL=!1),t=t.sibling}}(e)),to=!1;break;case 4:r=lK,lK=lJ,a=tl(),i=sl,sl=c7(e.stateNode.containerInfo),so(t,e,n),su(e),sl=i,to&&l3&&(l4=!0),to=a,lK=r;break;case 12:so(t,e,n),su(e);break;case 31:case 19:so(t,e,n),su(e),4&a&&null!==(t=e.updateQueue)&&(e.updateQueue=null,si(e,t));break;case 13:so(t,e,n),su(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(sG=e
53y()),4&a&&null!==(t=e.updateQueue)&&(e.updateQueue=null,si(e,t));break;case 22:i=null!==e.memoizedState,o=null!==r&&null!==r.memoizedState;var l=lJ,u=lQ,c=lK;lJ=l||i,lK=c||i,lQ=u||o,so(t,e,n),lQ=u,lK=c,lJ=l,su(e),8192&a&&((t=e.stateNode)._visibility=i?-2&t._visibility:1|t._visibility,i&&(null===r||o||lJ||lQ||function e(t,n){for(t=t.child;null!==t;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:lS(4,r,r.return),e(r,n);break;case 1:lk(r,r.return);var a=r.stateNode;"function"==typeof a.componentWillUnmount&&lw(r,r.return,a),e(r,n);break;case 27:0!=(2&n)&&c4(r.stateNode,r.type,r.memoizedProps);case 26:case 5:lk(r,r.return),5!==r.tag&&6!==r.tag||lP(r),e(r,n);break;case 22:null===r.memoizedState&&e(r,n);break;case 30:lk(r,r.return),e(r,n);break;case 7:lk(r,r.return);default:e(r,n)}t=t.sibling}}(e,2)),!i&&lK||l7(e,i)),4&a&&null!==(t=e.updateQueue)&&null!==(n=t.retryQueue)&&(t.retryQueue=null,si(e,n));break;case 30:512&a&&(lQ||null===r||lk(r,r.return)),a=tl(),i=l3,o=(0x13ffff00&n)===n,l=e.memoizedProps,l3=o&&"none"!==rs(l.default,l.update),so(t,e,n),su(e),o&&null!==r&&to&&(e.flags|=4),l3=i,to=a;break;case 21:break;case 7:r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:so(t,e,n),su(e)}}function su(e){var t=e.flags;if(2&t){try{for(var n,r=null,a=e.return;null!==a;){if(lN(a)){var i=a.stateNode;null===r?r=[i]:r.push(i)}if(lO(a)){n=a;break}a=a.return}if(null==n)throw Error(s(160));switch(n.tag){case 27:var o=n.stateNode,l=lI(e);lA(e,l,o,r);break;case 5:var u=n.stateNode;32&n.flags&&(tw(u,""),n.flags&=-33);var c=lI(e);lA(e,c,u,r);break;case 3:case 4:var d=n.stateNode.containerInfo,f=lI(e);!function e(t,n,r,a){var i=t.tag;if(5===i||6===i)i=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(i,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(i),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=tN)),lC(t,a),to=!0;else if(4!==i&&(27===i&&cw(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r,a),t=t.sibling;null!==t;)e(t,n,r,a),t=t.sibling}(e,f,d,r);break;default:throw Error(s(161))}}catch(t){uO(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function sc(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)sd(t,e),t=t.sibling;else!function e(t,n){for(t=t.child;null!==t;){if(30===t.tag){var r=t.memoizedProps,a=t.stateNode,i=ro(r,a),o=rs(r.default,r.update);if(n)var l=null===(a=a.clones)?null:a.map(cO);else l=t.memoizedState,t.memoizedState=null;a=t;var s=t.child;lz=0,i=lX(a,s,i,i,o,l,!1),0!=(4&t.flags)&&i&&(n||ut(t,r.onUpdate))}else 0!=(0x2000000&t.subtreeFlags)&&e(t,n);t=t.sibling}}(t,!1)}function sd(e,t){var n=e.alternate;if(null===n)lW(e,!1);else switch(e.tag){case 3:if(l5=l2=!1,lB(),sc(t,e),!l2&&!l4){if(null!==(e=lU))for(var r=0;r<e.length;r+=3){n=e[r];var a=e[r+1];cx(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+a+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),l5=!0}lU=null;break;case 5:default:sc(t,e);break;case 4:r=l2,l2=!1,sc(t,e),l2&&(l4=!0),l2=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?lW(e,!1):sc(t,e));break;case 30:r=l2,a=lB(),l2=!1,sc(t,e),l2&&(e.flags|=4);var i=e.memoizedProps,o=e.stateNode;t=ro(i,o),o=ro(n.memoizedProps,o);var l=rs(i.default,i.update);"none"===l?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,lz=0,t=lX(e,n,t,o,l,i,!0),lz!==(null===i?0:i.length)&&(e.flags|=32)),0!=(4&e.flags)&&t?(ut(e,e.memoizedProps.onUpdate),lU=a):null!==a&&(a.push.apply(a,lU),lU=a),l2=0!=(32&e.flags)||r}}function sf(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)l6(e,t.alternate,t),t=t.sibling}function sp(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&ap(n))}function sh(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&ap(e))}function sm(e,t,n,r){var a=(0x13ffff00&n)===n;if(t.subtreeFlags&(a?10262:10256))for(t=t.child;null!==t;)sg(e,t,n,r),t=t.sibling;else a&&function e(t){for(t=t.child;null!==t;)30===t.tag?l$(t.child,!1):0!=(0x2000000&t.subtreeFlags)&&e(t),t=t.sibling}(t)}function sg(e,t,n,r){var a=(0x13ffff00&n)===n;a&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&lY(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:sm(e,t,n,r),2048&i&&l_(9,t);break;case 1:case 31:case 13:default:sm(e,t,n,r);break;case 3:sm(e,t,n,r),a&&l5&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.n
53odeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&i&&(i=null,null!==t.alternate&&(i=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==i&&(t.refCount++,null!=i&&ap(i)));break;case 12:if(2048&i){sm(e,t,n,r),i=t.stateNode;try{var o=t.memoizedProps,l=o.id,s=o.onPostCommit;"function"==typeof s&&s(l,null===t.alternate?"mount":"update",i.passiveEffectDuration,-0)}catch(e){uO(t,t.return,e)}}else sm(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,l=t.alternate,null!==t.memoizedState?(a&&null!==l&&null===l.memoizedState&&lY(l),2&o._visibility?sm(e,t,n,r):sv(e,t)):(a&&null!==l&&null!==l.memoizedState&&lY(t),2&o._visibility?sm(e,t,n,r):(o._visibility|=2,function e(t,n,r,a,i){for(i=i&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var o=n,l=o.flags;switch(o.tag){case 0:case 11:case 15:e(t,o,r,a,i),l_(8,o);break;case 23:break;case 22:var s=o.stateNode;null!==o.memoizedState?2&s._visibility?e(t,o,r,a,i):sv(t,o):(s._visibility|=2,e(t,o,r,a,i)),i&&2048&l&&sp(o.alternate,o);break;case 24:e(t,o,r,a,i),i&&2048&l&&sh(o.alternate,o);break;default:e(t,o,r,a,i)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags)))),2048&i&&sp(l,t);break;case 24:sm(e,t,n,r),2048&i&&sh(t.alternate,t);break;case 30:a&&null!==(i=t.alternate)&&(l$(i.child,!0),l$(t.child,!0)),sm(e,t,n,r)}}function sv(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:sv(e,n),2048&r&&sp(n.alternate,n);break;case 24:sv(e,n),2048&r&&sh(n.alternate,n);break;default:sv(e,n)}t=t.sibling}}var sy=8192;function sb(e,t,n){if(e.subtreeFlags&sy)for(e=e.child;null!==e;)s_(e,t,n),e=e.sibling}function s_(e,t,n){switch(e.tag){case 26:sb(e,t,n),e.flags&sy&&(null!==e.memoizedState?function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=dr(r.href),i=t.querySelector(da(a));if(i){null!==(t=i._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dE.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,e6(i);return}i=t.ownerDocument||t,r=di(r),(a=c8.get(a))&&dd(r,a),e6(i=i.createElement("link"));var o=i;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),cs(i,"link",r),n.instance=i}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=dE.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,sl,e.memoizedState,e.memoizedProps):(e=e.stateNode,(0x13ffff40&t)===t&&db(n,e)));break;case 5:sb(e,t,n),e.flags&sy&&(e=e.stateNode,(0x13ffff40&t)===t&&db(n,e));break;case 3:case 4:var r=sl;sl=c7(e.stateNode.containerInfo),sb(e,t,n),sl=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=sy,sy=0x1000000,sb(e,t,n),sy=r):sb(e,t,n));break;case 30:if(0!=(e.flags&sy)&&null!=(r=e.memoizedProps.name)&&"auto"!==r){var a=e.stateNode;a.paired=null,null===lD&&(lD=new Map),lD.set(r,a)}sb(e,t,n);break;default:sb(e,t,n)}}function sS(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function sE(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];l1=r,sT(r,e)}sS(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)sw(e),e=e.sibling}function sw(e){switch(e.tag){case 0:case 11:case 15:sE(e),2048&e.flags&&lS(9,e,e.return);break;case 3:case 12:default:sE(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];l1=a,sT(a,t)}sS(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:lS(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):sE(e)}}function sT(e,t){for(;null!==l1;){var n=l1;switch(n.tag){case 0:case 11:case 15:lS(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:ap(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,l1=r;else for(n=e;null!==l1;){var a=(r=l1).sibling,i=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&e2(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){l1=null;break}if(null!==a){a.return=i,l1=a;break}l1=i}}}var sk={getCacheForType:function(e){var t=ai(ad),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ai(ad).controller.signal}},sR="function"==typeof WeakMap?WeakMap:Map,sx=0,sC=null,sP=null,sO=0,sN=0,sI=null,
53sA=!1,sM=!1,sL=!1,sD=0,sj=0,sU=0,sB=0,sz=0,sF=0,s$=0,sH=null,sW=null,sq=!1,sG=0,sV=0,sY=1/0,sX=null,sJ=null,sQ=0,sK=null,sZ=null,s0=0,s1=0,s2=null,s3=null,s4=null,s5=null,s8=null,s6=0,s7=null;function s9(){return 0!=(2&sx)&&0!==sO?sO&-sO:null!==V.T?uX():eW()}function ue(){if(0===sF)if(0==(0x20000000&sO)||rY){var e=eN;0==(3932160&(eN<<=1))&&(eN=262144),sF=e}else sF=0x20000000;return null!==(e=a6.current)&&(e.flags|=32),sF}function ut(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=cA(ro(e.memoizedProps,n))),null===s5&&(s5=[]),s5.push(t.bind(null,r))}}function un(e,t,n){(e===sC&&(2===sN||9===sN)||null!==e.cancelPendingCommit)&&(us(e,0),ui(e,sO,sF,!1)),eU(e,n),(0==(2&sx)||e!==sC)&&(e===sC&&(0==(2&sx)&&(sB|=n),4===sj&&ui(e,sO,sF,!1)),u$(e))}function ur(e,t,n){if(0!=(6&sx))throw Error(s(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eL(e,t),a=r?function(e,t){var n=sx;sx|=2;var r=ud(),a=uf();sC!==e||sO!==t?(sX=null,sY=ey()+500,us(e,t)):sM=eL(e,t);e:for(;;)try{if(0!==sN&&null!==sP){t=sP;var i=sI;t:switch(sN){case 1:sN=0,sI=null,uv(e,t,i,1);break;case 2:case 9:if(aO(i)){sN=0,sI=null,ug(t);break}t=function(){2!==sN&&9!==sN||sC!==e||(sN=7),u$(e)},i.then(t,t);break e;case 3:sN=7;break e;case 4:sN=5;break e;case 7:aO(i)?(sN=0,sI=null,ug(t)):(sN=0,sI=null,uv(e,t,i,7));break;case 5:var o=null;switch(sP.tag){case 26:o=sP.memoizedState;case 5:case 27:var l=sP;if(o?dv(o):l.stateNode.complete){sN=0,sI=null;var u=l.sibling;if(null!==u)sP=u;else{var c=l.return;null!==c?(sP=c,uy(c)):sP=null}break t}}sN=0,sI=null,uv(e,t,i,5);break;case 6:sN=0,sI=null,uv(e,t,i,6);break;case 8:ul(),sj=6;break e;default:throw Error(s(462))}}for(;null!==sP&&!eg();)um(sP);break}catch(t){uu(e,t)}return(r6=r8=null,V.H=r,V.A=a,sx=n,null!==sP)?0:(sC=null,sO=0,rp(),sj)}(e,t):uh(e,t,!0),i=r;;){if(0===a)sM&&!r&&ui(e,t,0,!1);else{if(n=e.current.alternate,i&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],i=a.getSnapshot;a=a.value;try{if(!nF(i(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=uh(e,t,!1),i=!1;continue}if(2===a){if(i=t,e.errorRecoveryDisabledLanes&i)var o=0;else o=0!=(o=-0x20000001&e.pendingLanes)?o:0x20000000&o?0x20000000:0;if(0!==o){t=o;e:{a=sH;var l=e.current.memoizedState.isDehydrated;if(l&&(us(e,o).flags|=256),2!==(o=uh(e,o,!1))&&6!==o){if(sL&&!l){e.errorRecoveryDisabledLanes|=i,sB|=i,a=4;break e}i=sW,sW=a,null!==i&&(null===sW?sW=i:sW.push.apply(sW,i))}a=o}if(i=!1,2!==a)continue}}if(1===a){us(e,0),ui(e,t,0,!0);break}e:{switch(r=e,i=a){case 0:case 1:throw Error(s(345));case 4:if((4194048&t)!==t&&(0x3c00000&t)!==t)break;case 6:ui(r,t,sF,!sA);break e;case 2:sW=null;break;case 3:case 5:break;default:throw Error(s(329))}if((0x3c00000&t)===t&&10<(a=sG+300-ey())){if(ui(r,t,sF,!sA),0!==eM(r,0,!0))break e;s0=t,r.timeoutHandle=cy(ua.bind(null,r,n,sW,sX,sq,t,sF,sB,s$,sA,i,"Throttled",-0,0),a);break e}ua(r,n,sW,sX,sq,t,sF,sB,s$,sA,i,null,-0,0)}}break}u$(e)}function ua(e,t,n,r,a,i,o,l,s,u,c,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,v=(0x13ffff00&i)===i;if(d=null,(v||8192&g||0x1002000==(0x1002000&g))&&(lD=null,s_(t,i,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tN}),v&&(g=d,null!=(v=(9===(v=e.containerInfo).nodeType?v:v.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=dE.bind(g),v.finished.then(g,g))),null!==(h=d,m=g=(0x3c00000&i)===i?sG-ey():(4194048&i)===i?sV-ey():0,h.stylesheets&&0===h.count&&dk(h,h.stylesheets),g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&dk(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===d_&&(d_=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],i=a.transferSize,o=a.initiatorType,l=a.duration;if(i&&l&&cc(o)){for(o=0,l=a.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&cc(d)&&(o+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(i+o)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&dk(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>d_?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){s0=i,e.cancelPendingCommit=g(u_.bind(null,e,t,i,n,r,a,o,l,s,u,c,d,null,f,p)),ui(e,i,o,!u);return}u_(e,t,i,n,r,a,o,l,s,u,c,d)}function ui(e,t,n,r){t&=~sz,t&=~sB,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var i=31-ex(a),o=1<<i;r[i]=-1,a&=~o}0!==n&&eB(e,n,t)}function uo(){return 0!=(6&sx)||(uH(0,!1),!1)}function ul(){if(null!==sP){if(0===sN)var e=sP.return;else e=sP,r6=r8=null,iP(e),aD=null,aj=0,e=sP;
53for(;null!==e;)lb(e.alternate,e),e=e.return;sP=null}}function us(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,cb(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),s0=0,ul(),sC=e,sP=n=rw(e.current,null),sO=t,sN=0,sI=null,sA=!1,sM=eL(e,t),sL=!1,s$=sF=sz=sB=sU=sj=0,sW=sH=null,sq=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-ex(r),i=1<<a;t|=e[a],r&=~i}return sD=t,rp(),n}function uu(e,t){ic=null,V.H=oC,t===aR||t===aC?(t=aM(),sN=3):t===ax?(t=aM(),sN=4):sN=t===oq?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,sI=t,null===sP&&(sj=1,oz(e,rN(t,e.current)))}function uc(){var e=a6.current;return null===e||((4194048&sO)===sO?null===a7:((0x3c00000&sO)===sO||0!=(0x20000000&sO))&&e===a7)}function ud(){var e=V.H;return V.H=oC,null===e?oC:e}function uf(){var e=V.A;return V.A=sk,e}function up(){sj=4,sA||(4194048&sO)!==sO&&null!==a6.current||(sM=!0),0==(0x7ffffff&sU)&&0==(0x7ffffff&sB)||null===sC||ui(sC,sO,sF,!1)}function uh(e,t,n){var r=sx;sx|=2;var a=ud(),i=uf();(sC!==e||sO!==t)&&(sX=null,us(e,t)),t=!1;var o=sj;e:for(;;)try{if(0!==sN&&null!==sP){var l=sP,s=sI;switch(sN){case 8:ul(),o=6;break e;case 3:case 2:case 9:case 6:null===a6.current&&(t=!0);var u=sN;if(sN=0,sI=null,uv(e,l,s,u),n&&sM){o=0;break e}break;default:u=sN,sN=0,sI=null,uv(e,l,s,u)}}(function(){for(;null!==sP;)um(sP)})(),o=sj;break}catch(t){uu(e,t)}return t&&e.shellSuspendCounter++,r6=r8=null,sx=r,V.H=a,V.A=i,null===sP&&(sC=null,sO=0,rp()),o}function um(e){var t=lf(e.alternate,e,sD);e.memoizedProps=e.pendingProps,null===t?uy(e):sP=t}function ug(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=o4(n,t,t.pendingProps,t.type,void 0,sO);break;case 11:t=o4(n,t,t.pendingProps,t.type.render,t.ref,sO);break;case 5:iP(t);var r=t;r===rG&&(rY?(r0(r),5===r.tag&&null!=r.stateNode&&(rV=r.stateNode)):(r0(r),rY=!0));default:lb(n,t),t=lf(n,t=sP=rT(t,sD),sD)}e.memoizedProps=e.pendingProps,null===t?uy(e):sP=t}function uv(e,t,n,r){r6=r8=null,iP(t),aD=null,aj=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&an(t,n,a,!0),null!==(n=a6.current)){switch(n.tag){case 31:case 13:case 19:return null===a7?up():null===n.alternate&&0===sj&&(sj=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===aP?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),uN(e,r,a)),!1;case 22:return n.flags|=65536,r===aP?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),uN(e,r,a)),!1}throw Error(s(435,n.tag))}return uN(e,r,a),up(),!1}if(rY)return null!==(t=a6.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rQ&&r4(rN(e=Error(s(422),{cause:r}),n))):(r!==rQ&&r4(rN(t=Error(s(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rN(r,n),a=o$(e.stateNode,r,a),aJ(e,a),4!==sj&&(sj=2)),!1;var i=Error(s(520),{cause:r});if(i=rN(i,n),null===sH?sH=[i]:sH.push(i),4!==sj&&(sj=2),null===t)return!0;r=rN(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=o$(n.stateNode,r,e),aJ(n,e),!1;case 1:if(t=n.type,i=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==i&&"function"==typeof i.componentDidCatch&&(null===sJ||!sJ.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,oW(a=oH(a),e,n,r),aJ(n,a),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n)return!1}(e,a,t,n,sO)){sj=1,oz(e,rN(n,e.current)),sP=null;return}}catch(t){if(null!==a)throw sP=a,t;sj=1,oz(e,rN(n,e.current)),sP=null;return}32768&t.flags?(rY||1===r?e=!0:sM||0!=(0x20000000&sO)?e=!1:(sA=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a6.current)&&13===r.tag&&(r.flags|=16384)),ub(t,e)):uy(t)}function uy(e){var t=e;do{if(0!=(32768&t.flags))return void ub(t,sA);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rW(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return ly(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),r9(
53ad),eo(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(r1(t)?lp(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,r3())),ly(t),null;case 26:var a=t.type,i=t.memoizedState;return null===e?(lp(t),null!==i?(ly(t),lm(t,i)):(ly(t),lh(t,a,null,r,n))):i?i!==e.memoizedState?(lp(t),ly(t),lm(t,i)):(ly(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&lp(t),ly(t),lh(t,a,e,r,n)),null;case 27:if(es(t),n=er.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&lp(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return ly(t),t.subtreeFlags&=-0x2000001,null}e=et.current,r1(t)?rZ(t):(t.stateNode=e=c3(a,r,n),lp(t))}return ly(t),t.subtreeFlags&=-0x2000001,null;case 5:if(es(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&lp(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return ly(t),t.subtreeFlags&=-0x2000001,null}if(i=et.current,r1(t))rZ(t);else{var o=cp(er.current);switch(i){case 1:i=o.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=o.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(i=o.createElement("div")).innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i="string"==typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?i.multiple=!0:r.size&&(i.size=r.size);break;default:i="string"==typeof r.is?o.createElement(a,{is:r.is}):o.createElement(a)}}i[eV]=t,i[eY]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)i.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(t.stateNode=i,cs(i,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&lp(t)}}return ly(t),t.subtreeFlags&=-0x2000001,lh(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&lp(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(s(166));if(e=er.current,r1(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rG))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[eV]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ci(e.nodeValue,n)))||rK(t,!0)}else(e=cp(e).createTextNode(r))[eV]=t,t.stateNode=e}return ly(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=r1(t),null!==n){if(null===e){if(!r)throw Error(s(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(s(557));e[eV]=t}else r2(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ly(t),e=!1}else n=r3(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return ia(t),t;return ia(t),null}if(0!=(128&t.flags))throw Error(s(558))}return ly(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=r1(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(s(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(s(317));a[eV]=t}else r2(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ly(t),a=!1}else a=r3(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return ia(t),t;return ia(t),null}}if(ia(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),i=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),lg(t,t.updateQueue),ly(t),null;case 4:return eo(),null===e&&u5(t.stateNode.containerInfo),t.flags|=0x4000000,ly(t),null;case 10:return r9(t.type),ly(t),null;case 19:if(il(t),null===(r=t.memoizedState))return ly(t),null;if(a=0!=(128&t.flags),null===(i=r.rendering))if(a)lv(r,!1);else{if(0!==sj||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=is(e))){for(t.flags|=128,lv(r,!1),t.updateQueue=e=i.updateQueue,lg(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rT(n,e),n=n.sibling;return io(t,1&ii.current|2),rY&&rF(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ey()>sY&&(t.flags|=128,a=!0,lv(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=is(i))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,lg(t,e),lv(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!i.alternate&&!rY)return ly(t),null}else 2*ey()-r.renderingStartTime>sY&&0x20000000!==n&&(t.flags|=128,a=!0,lv(r,!1),t.lanes=4194304);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=r.last)?e.sibling=i:t.child=i,r.last=i)}if(null!==r.tail){e=r.tail;e:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ey(),e.sibling=null,i=ii.current,i=a?1&i|2:1&i,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||rY?io(t,i):(n=i,ee(a6,t),ee(ii,n),null===a7&&(a7=t)),rY&&rF(t,r.treeForkCount),e}return ly(t),null;case 22:case 23:return ia(t),a8(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(ly(t),6&t.subtreeFlags&&(t.flags|=8192)):ly(t),null!==(n=t.updateQueue)&&lg(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&Z(aE),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r9(
53ad),ly(t),null;case 25:return null;case 30:return t.flags|=0x2000000,ly(t),null}throw Error(s(156,t.tag))}(t.alternate,t,sD);if(null!==n){sP=n;return}if(null!==(t=t.sibling)){sP=t;return}sP=t=e}while(null!==t)0===sj&&(sj=5)}function ub(e,t){do{var n=function(e,t){switch(rW(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r9(ad),eo(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return es(t),null;case 31:if(null!==t.memoizedState){if(ia(t),null===t.alternate)throw Error(s(340));r2()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ia(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));r2()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return il(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return eo(),null;case 10:return r9(t.type),null;case 22:case 23:return ia(t),a8(),null!==e&&Z(aE),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r9(ad),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,sP=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){sP=e;return}sP=e=n}while(null!==e)sj=6,sP=null}function u_(e,t,n,r,a,i,o,l,u,c,d,f){e.cancelPendingCommit=null;do ux();while(0!==sQ)if(0!=(6&sx))throw Error(s(327));if(null!==t){if(t===e.current)throw Error(s(177));e===sC&&(sP=sC=null,sO=0),sZ=t,sK=e,s0=n,s2=a,s3=r,function(e,t,n,r,a,i,o){var l,s=t.lanes|t.childLanes;if(s1=s,!function(e,t,n,r,a,i){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=o&~n;0<n;){var c=31-ex(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eB(e,r,0),0!==i&&0===a&&0!==e.tag&&(e.suspendedLanes|=i&~(o&~t))}(e,n,s|=rf,r,a,i),s5=null,(0x13ffff00&n)===n?(l=e.transitionTypes,e.transitionTypes=null,
53s8=l,r=10262):(s8=null,r=10256),0!=(t.subtreeFlags&r)||0!=(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,eh(eE,function(){return uC(),null})):(e.callbackNode=null,e.callbackPriority=0),lL=!1,r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=V.T,V.T=null,a=Y.p,Y.p=2,i=sx,sx|=4;try{!function(e,t,n){if(e=e.containerInfo,cd=dL,nV(e=nG(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(a&&0!==a.rangeCount){r=a.anchorNode;var i,o=a.anchorOffset,l=a.focusNode;a=a.focusOffset;try{r.nodeType,l.nodeType}catch(e){r=null;break e}var s=0,u=-1,c=-1,d=0,f=0,p=e,h=null;t:for(;;){for(;p!==r||0!==o&&3!==p.nodeType||(u=s+o),p!==l||0!==a&&3!==p.nodeType||(c=s+a),3===p.nodeType&&(s+=p.nodeValue.length),null!==(i=p.firstChild);)h=p,p=i;for(;;){if(p===e)break t;if(h===r&&++d===o&&(u=s),h===l&&++f===a&&(c=s),null!==(i=p.nextSibling))break;h=(p=h).parentNode}p=i}r=-1===u||-1===c?null:{start:u,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(cf={focusedElem:e,selectionRange:r},dL=!1,n=(0x13ffff00&n)===n,l1=t,t=n?9270:1024;null!==l1;){if(e=l1,n&&null!==(r=e.deletions))for(o=0;o<r.length;o++)n&&lG(r[o]);if(null===e.alternate&&0!=(2&e.flags))n&&lj(e),l8(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&lG(r),l8(n);continue}else if(null!==r&&null!==r.memoizedState){n&&lj(e),l8(n);continue}}r=e.child,0!=(e.subtreeFlags&t)&&null!==r?(r.return=e,l1=r):(n&&function e(t){for(t=t.child;null!==t;){if(30===t.tag){var n=t.memoizedProps,r=ro(n,t.stateNode);n=rs(n.default,n.update),t.flags&=-5,"none"!==n&&lF(t,r,n,t.memoizedState=[],!1)}else 0!=(0x2000000&t.subtreeFlags)&&e(t);t=t.sibling}}(e),l8(n))}}lD=null}(e,t,n)}finally{sx=i,Y.p=a,V.T=r}}sQ=1,lL?s4=function(e,t,n,r,a,i,o,l,s){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,o=u.fonts.status;r();var l=[];if("loaded"===o&&(u.documentElement.clientHeight,"loading"===u.fonts.status&&l.push(u.fonts.ready)),o=l.length,null!==e)for(var s=e.suspenseyImages,c=0,d=0;d<s.length;d++){var f=s[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((c+=dy(f))>d_){l.length=o;break}f=new Promise(cN.bind(f)),l.push(f)}}}return 0<l.length?(t=Promise.race([Promise.all(l),new Promise(function(e){return setTimeout(e,500)})]).then(a,a),(n?Promise.allSettled([n.finished,t]):t).then(i,i)):(a(),n)?n.finished.then(i,i):void i()},types:n});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,a=r.pseudoElement;if(null!=a&&a.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var i=a=void 0,l=!0,s=0;s<n.length;s++){var c=n[s],f=c.width;if(void 0===a)a=f;else if(a!==f){l=!1;break}if(f=c.height,void 0===i)i=f;else if(i!==f){l=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}l&&void 0!==a&&void 0!==i&&(r.setKeyframes(n),(l=getComputedStyle(r.target,r.pseudoElement)).width!==a||l.height!==i)&&((l=n[0]).width=a,l.height=i,(l=n[n.length-1]).width=a,l.height=i,r.setKeyframes(n))}}o()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{"object"==typeof e&&null!==e&&"InvalidStateError"===e.name&&("View transition was skipped because document visibility state is hidden."===e.message||"Skipping view transition because document visibility state has become hidden."===e.message||"Skipping view transition because viewport size changed."===e.message||"Transition was aborted because of invalid state"===e.message)&&(e=null),null!==e&&s(e)}finally{r(),a(),o()}}),c.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),l()}),c}catch(e){return r(),a(),o(),null}}(o,e.containerInfo,s8,uw,uT,uE,uk,uC,uS):(uw(),uT(),uk())}(e,t,n,o,l,u,f)}}function uS(e){0!==sQ&&(0,sK.onRecoverableError)(e,{componentStack:null})}function uE(){3===sQ&&(sQ=0,sd(sZ,sK),sQ=4)}function uw(){if(1===sQ){sQ=0;var e=sK,t=sZ,n=s0,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=V.T,V.T=null;var a=Y.p;Y.p=2;var i=sx;sx|=4;try{l3=l4=!1,ss(t,e,n),n=cf;var o=nG(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(o!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nV(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(o=g,g=m,m=o);var v=nq(l,m),y=nq(l,g);if(v&&y&&(1!==p.rangeCount||p.anchorNode!==v.node||p.anchorOffset!==v.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var b=d.createRange();b.setStart(v.node,v.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),p.addRange(b))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var _=d[l];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}dL=!!cd,cf=cd=null}finally{sx=i,Y.p=a,V.T=r}}e.current=t,sQ=2}}function uT(){if(2===sQ){sQ=0;var e=sK,t=sZ,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=V.T,V.T=null;var r=Y.p;Y.p=2;var a=sx;sx|=4;try{l6(e,t.alternate,t)}finally{sx=a,Y.p=r,V.T=n}}sQ=3}}function uk(){if(4===sQ||3===sQ){sQ=0;var e=s4;s4=null,ev();var t=sK,n=sZ,r=s0,a=s3,i=(0x13ffff00&r)===r?10262:10256;if(0!=(n.subtreeFlags&i)||0!=(n.flags&i)?sQ=5:(sQ=0,sZ=sK=null,uR(t,t.pendingLanes)),0===(i=t.pendingLanes)&&(sJ=null),eH(r),n=n.stateNode,eR&&"function"==typeof eR.onCommitFiberRoot)try{eR.onCommitFiberRoot(ek,n,void 0,128==(128&n.current.flags))}catch(e){}if(null!==a){n=V.T,i=Y.p,Y.p=2,V.T=null;try{for(var o=t.onRecoverableError,l=0;l<a.length;l++){var s=a[l];o(s.value,{componentStack:s.stack})}}finally{V.T=n,Y.p=i}}if(a=s5,o=s8,s8=null,null!==a&&(s5=null,null===o&&(o=[]),null!==e))for(s=0;s<a.length;s++)void 0!==(n=(0,a[s])(o))&&e.finished.finally(n);0!=(3&s0)&&ux(),u$(t),i=t.pendingLanes,0!=(261930&r)&&0!=(42&i)?t===s7?s6++:(s6=0,s7=t):(s6=0,s7=null),uH(0,!1)}}function uR(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,ap(t))}function ux(){return null!==s4&&(s4.skipTransition(),s4=null),uw(),uT(),uk(),uC()}function uC(){if(5!==sQ)return!1;var e=sK,t=s1;s1=0;var n=eH(s0),r=V.T,a=Y.p;try{Y.p=32>n?32:n,V.T=null,n=s2,s2=null;var i=sK,o=s0;if(sQ=0,sZ=sK=null,s0=0,0!=(6&sx))throw Error(s(331));var l=sx;if(sx|=4,sw(i.current),sg(i,i.current,o,n),sx=l,uH(0,!1),eR&&"function"==typeof eR.onPostCommitFiberRoot)try{eR.onPostCommitFiberRoot(ek,i)}catch(e){}return!0}finally{Y.p=a,V.T=r,uR(e,t)}}function uP(e,t,n){t=rN(n,t),t=o$(e.stateNode,t,2),null!==(e=aY(e,t,2))&&(eU(e,2),u$(e))}function uO(e,t,n){if(3===e.tag)uP(e,e,n);else for(;null!==t;){if(3===t.tag){uP(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sJ||!sJ.has(r))){e=rN(n,e),null!==(r=aY(t,n=oH(2),2))&&(oW
53(n,r,t,e),eU(r,2),u$(r));break}}t=t.return}}function uN(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new sR;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(sL=!0,a.add(n),e=uI.bind(null,e,t,n),t.then(e,e))}function uI(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,sC===e&&(sO&n)===n&&((4===sj||3===sj&&(0x3c00000&sO)===sO&&300>ey()-sG)&&0==(2&sx)?us(e,0):sz|=n,s$===sO&&(s$=0)),u$(e)}function uA(e,t){0===t&&(t=eD()),null!==(e=rg(e,t))&&(eU(e,t),u$(e))}function uM(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),uA(e,n)}function uL(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(s(314))}null!==r&&r.delete(t),uA(e,n)}var uD=null,uj=null,uU=!1,uB=!1,uz=!1,uF=0;function u$(e){e!==uj&&null===e.next&&(null===uj?uD=uj=e:uj=uj.next=e),uB=!0,uU||(uU=!0,cS(function(){0!=(6&sx)?eh(e_,uW):uq()}))}function uH(e,t){if(!uz&&uB){uz=!0;do for(var n=!1,r=uD;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var i=0;else{var o=r.suspendedLanes,l=r.pingedLanes;i=0xc000095&(i=(1<<31-ex(42|e)+1)-1&(a&~(o&~l)))?0xc000095&i|1:i?2|i:0}0!==i&&(n=!0,uY(r,i))}else i=sO,0==(3&(i=eM(r,r===sC?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eL(r,i)||(n=!0,uY(r,i));r=r.next}while(n)uz=!1}}function uW(){uq()}function uq(){uB=uU=!1;var e,t=0;0===uF||((e=window.event)&&"popstate"===e.type?e===cv||(cv=e,0):(cv=null,1))||(t=uF);for(var n=ey(),r=null,a=uD;null!==a;){var i=a.next,o=uG(a,n);0===o?(a.next=null,null===r?uD=i:r.next=i,null===i&&(uj=r)):(r=a,(0!==t||0!=(3&o))&&(uB=!0)),a=i}0!==sQ&&5!==sQ||uH(t,!1),0!==uF&&(uF=0)}function uG(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,i=-0x3c00001&e.pendingLanes;0<i;){var o=31-ex(i),l=1<<o,s=a[o];-1===s?(0==(l&n)||0!=(l&r))&&(a[o]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}if(t=sC,n=sO,n=eM(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===sN||9===sN)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&em(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eL(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&em(r),eH(n)){case 2:case 8:n=eS;break;case 32:default:n=eE;break;case 0x10000000:n=eT}return n=eh(n,r=uV.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&em(r),e.callbackPriority=2,e.callbackNode=null,2}function uV(e,t){if(0!==sQ&&5!==sQ)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ux()&&e.callbackNode!==n)return null;var r=sO;return 0===(r=eM(e,e===sC?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(ur(e,r,t),uG(e,ey()),null!=e.callbackNode&&e.callbackNode===n?uV.bind(null,e):null)}function uY(e,t){if(ux())return null;ur(e,t,!0)}function uX(){if(0===uF){var e=ay;0===e&&(e=eO,0==(261888&(eO<<=1))&&(eO=256)),uF=e}return uF}function uJ(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tO(e)}for(var uQ=0;uQ<rr.length;uQ++){var uK=rr[uQ];ra(uK.toLowerCase(),"on"+(uK[0].toUpperCase()+uK.slice(1)))}ra(n5,"onAnimationEnd"),ra(n8,"onAnimationIteration"),ra(n6,"onAnimationStart"),ra("dblclick","onDoubleClick"),ra("focusin","onFocus"),ra("focusout","onBlur"),ra(n7,"onTransitionRun"),ra(n9,"onTransitionStart"),ra(re,"onTransitionCancel"),ra(rt,"onTransitionEnd"),tn("onMouseEnter",["mouseout","mouseover"]),tn("onMouseLeave",["mouseout","mouseover"]),tn("onPointerEnter",["pointerout","pointerover"]),tn("onPointerLeave",["pointerout","pointerover"]),tt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tt("onSelect","focusout contextmenu dragend focu
53sin keydown keyup mousedown mouseup selectionchange".split(" ")),tt("onBeforeInput",["compositionend","keypress","textInput","paste"]),tt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uZ="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),u0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(uZ));function u1(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&a.isPropagationStopped())break e;i=l,a.currentTarget=u;try{i(a)}catch(e){ru(e)}a.currentTarget=null,i=s}else for(o=0;o<r.length;o++){if(s=(l=r[o]).instance,u=l.currentTarget,l=l.listener,s!==i&&a.isPropagationStopped())break e;i=l,a.currentTarget=u;try{i(a)}catch(e){ru(e)}a.currentTarget=null,i=s}}}}function u2(e,t){var n=t[eJ];void 0===n&&(n=t[eJ]=new Set);var r=e+"__bubble";n.has(r)||(u8(t,e,2,!1),n.add(r))}function u3(e,t,n){var r=0;t&&(r|=4),u8(n,e,r,t)}var u4="_reactListening"+Math.random().toString(36).slice(2);function u5(e){if(!e[u4]){e[u4]=!0,e9.forEach(function(t){"selectionchange"!==t&&(u0.has(t)||u3(t,!1,e),u3(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[u4]||(t[u4]=!0,u3("selectionchange",!1,t))}}function u8(e,t,n,r){switch(d$(t)){case 2:var a=dD;break;case 8:a=dj;break;default:a=dU}n=a.bind(null,t,n,e),a=void 0,tF&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function u6(e,t,n,r,a){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var l=r.stateNode.containerInfo;if(l===a)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&o.stateNode.containerInfo===a)return;o=o.return}for(;null!==l;){if(null===(o=e3(l)))return;if(5===(s=o.tag)||6===s||26===s||27===s){r=i=o;continue e}l=l.parentNode}}r=r.return}tU(function(){var r=i,a=tA(n),o=[];e:{var l=rn.get(e);if(void 0!==l){var s=t3,u=e;switch(e){case"keypress":if(0===tV(n))break e;case"keydown":case"keyup":s=ns;break;case"focusin":u="focus",s=t9;break;case"focusout":u="blur",s=t9;break;case"beforeblur":case"afterblur":s=t9;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=t6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=t7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=nd;break;case n5:case n8:case n6:s=ne;break;case rt:s=nf;break;case"scroll":case"scrollend":s=t5;break;case"wheel":s=np;break;case"copy":case"cut":case"paste":s=nt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=nu;break;case"submit":s=nc;break;case"toggle":case"beforetoggle":s=nh}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=tB(m,p))&&d.push(u7(m,g,h)),f)break;m=m.return}0<d.length&&(l=new s(l,u,null,n,a),o.push({event:l,listeners:d}))}}if(0==(7&t)){s="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(s&&n!==tI&&(u=n.relatedTarget||n.fromElement)&&(e3(u)||u[eX]))&&(l||s)&&(u=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(s=n.relatedTarget||n.toElement,l=r,null!==(s=s?e3(s):null)&&(f=c(s),d=s.tag,s!==f||5!==d&&27!==d&&6!==d)&&(s=null)):(l=null,s=r),l!==s&&(d=t6,g="onMouseLeave",p="onMouseEnter",m="mou
53se",("pointerout"===e||"pointerover"===e)&&(d=nu,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?u:e5(l),h=null==s?u:e5(s),(u=new d(g,m+"leave",l,n,a)).target=f,u.relatedTarget=h,g=null,e3(a)===r&&((d=new d(p,m+"enter",s,n,a)).target=h,d.relatedTarget=f,g=d),f=g,d=l&&s?w(l,s,ce):null,null!==l&&ct(o,u,l,d,!1),null!==s&&null!==f&&ct(o,f,s,d,!0)));e:{if("select"===(s=(l=r?e5(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v,y=nN;else if(nk(l))if(nI)y=nz;else{y=nU;var b=nj}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?y=nB:r&&tx(r.elementType)&&(y=nN);if(y&&(y=y(e,r))){nR(o,y,n,a);break e}b&&b(e,l,r)}switch(b=r?e5(r):window,e){case"focusin":(nk(b)||"true"===b.contentEditable)&&(nX=b,nJ=r,nQ=null);break;case"focusout":nQ=nJ=nX=null;break;case"mousedown":nK=!0;break;case"contextmenu":case"mouseup":case"dragend":nK=!1,nZ(o,n,a);break;case"selectionchange":if(nY)break;case"keydown":case"keyup":nZ(o,n,a)}if(ng)t:{switch(e){case"compositionstart":var _="onCompositionStart";break t;case"compositionend":_="onCompositionEnd";break t;case"compositionupdate":_="onCompositionUpdate";break t}_=void 0}else nw?nS(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");_&&(nb&&"ko"!==n.locale&&(nw||"onCompositionStart"!==_?"onCompositionEnd"===_&&nw&&(v=tG()):(tW="value"in(tH=a)?tH.value:tH.textContent,nw=!0)),0<(b=u9(r,_)).length&&(_=new nn(_,e,null,n,a),o.push({event:_,listeners:b}),v?_.data=v:null!==(v=nE(n))&&(_.data=v))),(v=ny?function(e,t){switch(e){case"compositionend":return nE(t);case"keypress":if(32!==t.which)return null;return n_=!0," ";case"textInput":return" "===(e=t.data)&&n_?null:e;default:return null}}(e,n):function(e,t){if(nw)return"compositionend"===e||!ng&&nS(e,t)?(e=tG(),tq=tW=tH=null,nw=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nb&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(_=u9(r,"onBeforeInput")).length&&(b=new nn("onBeforeInput","beforeinput",null,n,a),o.push({event:b,listeners:_}),b.data=v);var S=e;if("submit"===S&&r&&r.stateNode===a){var E=uJ((a[eY]||null).action),T=n.submitter;T&&null!==(S=(S=T[eY]||null)?uJ(S.formAction):T.getAttribute("formAction"))&&(E=S,T=null);var k=new t3("action","action",null,n,a);o.push({event:k,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==uF){var e=new FormData(a,T);oh(r,{pending:!0,data:e,method:a.method,action:E},null,e)}}else"function"==typeof E&&(k.preventDefault(),oh(r,{pending:!0,data:e=new FormData(a,T),method:a.method,action:E},E,e))},currentTarget:a}]})}}u1(o,t)})}function u7(e,t,n){return{instance:e,listener:t,currentTarget:n}}function u9(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===i||(null!=(a=tB(e,n))&&r.unshift(u7(e,a,i)),null!=(a=tB(e,t))&&r.push(u7(e,a,i))),3===e.tag)return r;e=e.return}return[]}function ce(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function ct(e,t,n,r,a){for(var i=t._reactName,o=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,a?null!=(u=tB(n,i))&&o.unshift(u7(n,u,s)):a||null!=(u=tB(n,i))&&o.push(u7(n,u,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var cn=/\r\n?/g,cr=/\u0000|\uFFFD/g;function ca(e){return("string"==typeof e?e:""+e).replace(cn,"\n").replace(cr,"")}function ci(e,t){return t=ca(t),ca(e)===t}function co(e,t,n,r,a,i){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||tw(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&tw(e,""+r)}break;case"className":tu(e,"class",r);break;case"tabIndex":tu(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":tu(e,n,r);break;case"style":tR(e,r,i);return;case"data":if("object"!==t){tu(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tO(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&co(e,t,"name",a.name,a,null),
53co(e,t,"formEncType",a.formEncType,a,null),co(e,t,"formMethod",a.formMethod,a,null),co(e,t,"formTarget",a.formTarget,a,null)):(co(e,t,"encType",a.encType,a,null),co(e,t,"method",a.method,a,null),co(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tO(r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=tN);return;case"onScroll":null!=r&&u2("scroll",e);return;case"onScrollEnd":null!=r&&u2("scrollend",e);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(s(60));(null!=i?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tO(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":u2("beforetoggle",e),u2("toggle",e),ts(e,"popover",r);break;case"xlinkActuate":tc(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":tc(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":tc(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":tc(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":tc(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":tc(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":tc(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":tc(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":tc(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ts(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;ts(e,n=tC.get(n)||n,r)}to=!0}function cl(e,t,n,r,a,i){switch(n){case"style":tR(e,r,i);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(s(60));(null!=i?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if("string"==typeof r)tw(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;tw(e,""+r)}break;case"onScroll":null!=r&&u2("scroll",e);return;case"onScrollEnd":null!=r&&u2("scrollend",e);return;case"onClick":null!=r&&(e.onclick=tN);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:if(!te.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),i=n.slice(2,a?n.length-7:void 0),"function"==typeof(t=null!=(t=e[eY]||null)?t[n]:null)&&e.removeEventListener(i,t,a),"function"==typeof r)){"function"!=typeof t&&null!==t&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(i,r,a);break e}to=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):ts(e,n,r)}return}to=!0}function cs(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":u2("error",e),u2("load",e);var r,a=!1,i=!1;for(r in n)if(n.hasOwnProperty(r)){var o=n[r];if(null!=o)switch(r){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:co(e,t,r,o,n,null)}}i&&co(e,t,"srcSet",n.srcSet,n,null),a&&co(e,t,"src",n.src,n,null);return;case"input":u2("invalid",e);var l=r=o=i=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":i=d;break;case"type":o=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(s(137,t));break;default:co(e,t,a,d,n,null)}}ty(e,r,l,u,c,o,i,!1);return;case"select":for(i in u2("invalid",e),a=o=r=null,n)if(n.hasOwnProperty(i)&&null!=(l=n[i]))switch(i){case"value":r=l;break;case"defaultValue":o=l;break;case"multiple":a=l;default:co(e,t,i,l,n,null)}t=r,n=o,e.multiple=!!a,null!=t?t_(e,!!a,t,!1):null!=n&&t_(e,!!a,n,!0);return;case"textarea":for(o in u2("invalid",e),r=i=a=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":a=l;break;case"defaultValue":i=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(s(91));break;default:co(e,t,o,l,n,null)}tE(e,a,i,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:co(e,t,u,a,n,null));return;case"dialog":u2("beforetoggle",e),u2("toggle",e),u2("cancel",e),u2("close",e);break;case"iframe":case"object":u2("load",e);break;case"video":case"audio":for(a=0;a<uZ.length;a++)u2(uZ[a],e);break;case"image":u2("error",e),u2("load",e);break;case"details":u2("toggle",e);break;case"embed":case"source":case"link":u2("error",e),u2("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:co(e,t,c,a,n,null)}return;default:if(tx(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&cl(e,t,d,a,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(a=n[l])&&co(e,t,l,a,n,null)}var cu={};function cc(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var cd=null,cf=null;
53function cp(e){return 9===e.nodeType?e:e.ownerDocument}function ch(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cm(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function cg(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var cv=null,cy="function"==typeof setTimeout?setTimeout:void 0,cb="function"==typeof clearTimeout?clearTimeout:void 0,c_="function"==typeof Promise?Promise:void 0,cS="function"==typeof queueMicrotask?queueMicrotask:void 0!==c_?function(e){return c_.resolve(null).then(e).catch(cE)}:cy;function cE(e){setTimeout(function(){throw e})}function cw(e){return"head"===e}function cT(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),d8(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)c5(e.ownerDocument.documentElement);else if("head"===n){c5(n=e.ownerDocument.head);for(var i=n.firstChild;i;){var o=i.nextSibling,l=i.nodeName;i[e0]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=o}}else"body"===n&&c5(e.ownerDocument.body);n=a}while(n)d8(t)}function ck(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function cR(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var a=r=0;a<t.length;a++){var i=t[a];0<i.width&&0<i.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function cx(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function cC(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function cP(e){return cC(e.getBoundingClientRect(),getComputedStyle(e),e)}function cO(e){var t=e.getBoundingClientRect();return cC(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function cN(e){this.addEventListener("load",e),this.addEventListener("error",e)}function cI(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function cA(e){return{name:e,group:new cI("group",e),imagePair:new cI("image-pair",e),old:new cI("old",e),new:new cI("new",e)}}function cM(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function cL(e,t,n,r){return g(e).addEventListener(t,n,r),!1}function cD(e,t,n,r){return g(e).removeEventListener(t,n,r),!1}function cj(e){return null==e?"0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function cU(e,t,n,r){if(0===e.length)return -1;r=cj(r);for(var a=0;a<e.length;a++){var i=e[a];if(i.type===t&&i.listener===n&&cj(i.optionsOrUseCapture)===r)return a}return -1}function cB(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focu
53s).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=g(e),t)}function cz(e,t){return t.push(e),!1}function cF(e,t){return 6!==e.tag&&!!((e=g(e))===t||e.contains(t))&&(t.blur(),!0)}function c$(e,t){return 6!==e.tag&&(e=g(e),t.observe(e),!1)}function cH(e,t){return 6!==e.tag&&(e=g(e),t.unobserve(e),!1)}function cW(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=g(e),t.push.apply(t,e.getClientRects());return!1}function cq(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function cG(e,t){return cV(e=g(e),t),!1}function cV(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function cY(e,t){if(3!==e.nodeType){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];e.addEventListener(a.type,a.listener,a.optionsOrUseCapture)}null!==t._observers&&t._observers.forEach(function(t){t.observe(e)}),cV(e,t)}}function cX(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":cX(n),e2(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function cJ(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=cZ(e.nextSibling)))return null;return e}function cQ(e){return"$?"===e.data||"$~"===e.data}function cK(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function cZ(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}cI.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:T({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},cI.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],a=0;a<n.length;a++){var i=n[a].effect;null!==i&&i.target===e&&i.pseudoElement===t&&r.push(n[a])}return r},cI.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},cM.prototype.addEventListener=function(e,t,n){null===this._eventListeners&&(this._eventListeners=[]);var r=this._eventListeners;-1===cU(r,e,t,n)&&(r.push({type:e,listener:t,optionsOrUseCapture:n}),h(this._fragmentFiber.child,!1,cL,e,t,n)),this._eventListeners=r},cM.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;null!=r&&0<r.length&&(h(this._fragmentFiber.child,!1,cD,e,t,n),e=cU(r,e,t,n),null!==this._eventListeners&&this._eventListeners.splice(e,1))},cM.prototype.dispatchEvent=function(e){var t=m(this._fragmentFiber);if(null===t)return!0;t=g(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=document.createTextNode("");if(n)for(var a=0;a<n.length;a++){var i=n[a];r.addEventListener(i.type,i.listener,i.optionsOrUseCapture)}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(a=0;a<n.length;a++)i=n[a],r.removeEventListener(i.type,i.listener,i.optionsOrUseCapture);return t.removeChild(r),e}return t.dispatchEvent(e)},cM.prototype.focus=function(e){h(this._fragmentFiber.child,!0,cB,e,void 0,void 0)},cM.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,cz,t,void 0,void 0);for(var n=t.length-1;0<=n&&!cB(t[n],e);n--);},cM.prototype.blur=function(){var e=m(this._fragmentFiber);
53if(null!==e){var t=cp(e=g(e)).activeElement;null!==t&&e.contains(t)&&h(this._fragmentFiber.child,!1,cF,t,void 0,void 0)}},cM.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,c$,e,void 0,void 0)},cM.prototype.unobserveUsing=function(e){var t=this._observers;null!==t&&t.has(e)&&(t.delete(e),h(this._fragmentFiber.child,!1,cH,e,void 0,void 0))},cM.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,cW,e,void 0,void 0),e},cM.prototype.getRootNode=function(e){var t=m(this._fragmentFiber);return null===t?this:g(t).getRootNode(e)},cM.prototype.compareDocumentPosition=function(e){var t=m(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,cz,n,void 0,void 0);var r=g(t);if(0===n.length){n=this._fragmentFiber;var a=r.compareDocumentPosition(e);return t=a,r===e?t=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(h(n.sibling,!1,b),n=v,v=null,t=null===n?Node.DOCUMENT_POSITION_PRECEDING:0===(e=g(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),t|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=g(n[0]),a=g(n[n.length-1]);for(var i=!1,o=this._fragmentFiber.return;null!==o&&(4===o.tag&&(i=!0),3!==o.tag&&5!==o.tag);)o=o.return;if(null==(i=i?t.parentElement:r))return Node.DOCUMENT_POSITION_DISCONNECTED;r=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=t.compareDocumentPosition(e);var l=a.compareDocumentPosition(e),s=o&Node.DOCUMENT_POSITION_CONTAINED_BY||l&Node.DOCUMENT_POSITION_CONTAINED_BY;return l=r&&i&&o&Node.DOCUMENT_POSITION_FOLLOWING&&l&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||i&&a===e||s||l?Node.DOCUMENT_POSITION_CONTAINED_BY:(r||t!==e)&&(i||a!==e)?o:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,a){var i=e3(a);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;null!==i;){if(7===i.tag&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===i)return i=a.ownerDocument,a===i||a===i.body;e:{for(i=t,t=m(t);null!==i;){if((5===i.tag||3===i.tag)&&(i===t||i.alternate===t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(null===(t=w(n,i,E))?t=!1:(h(t,!0,_,i,n),i=v,v=null,t=null!==i)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!i)&&!(t=i===r)&&(null===(t=w(r,i,E))?t=!1:(h(t,!0,S,i,r),i=v,y=v=null,t=null!==i)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},cM.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(s(566));var t=[];h(this._fragmentFiber.child,!1,cz,t,void 0,void 0);var n=!1!==e;if(0===t.length){var r=this._fragmentFiber,a=[null,null],i=m(r);if(null!==i&&function e(t,n,r){for(var a=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==r;){if(r===n)if(a=!0,!r.sibling)return!0;else r=r.sibling;if(5===r.tag||6===r.tag){if(a)return t[1]=r,!0;t[0]=r}else if((22!==r.tag||null===r.memoizedState)&&e(t,n,r.child,a))return!0;r=r.sibling}return!1}(a,r,i.child),null===(r=n?a[1]||a[0]||m(this._fragmentFiber):a[0]||a[1]))return;if(6===r.tag)return void cq(e=g(r),n);if(9!==(r=g(r)).nodeType){if(11===r.nodeType){null!==(n="host"in r?r.host:null)&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);)6===(a=t[r]).tag?cq(a=g(a),n):g(a).scrollIntoView(e),r+=n?-1:1};var c0=null;function c1(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return cZ(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function c2(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function c3(e,t,n){switch(t=cp(n),e){case"html":if(!(e=t.documentElement))throw Error(s(452));return e;
53case"head":if(!(e=t.head))throw Error(s(453));return e;case"body":if(!(e=t.body))throw Error(s(454));return e;default:throw Error(s(451))}}function c4(e,t,n){for(var r in n){var a=n[r];n.hasOwnProperty(r)&&null!=a&&co(e,t,r,null,cu,a)}null!=n.dangerouslySetInnerHTML&&(e.textContent=""),e.onclick===tN&&(e.onclick=null),e2(e)}function c5(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e2(e)}var c8=new Map,c6=new Set;function c7(e){if("function"==typeof e.getRootNode){var t=e.getRootNode();if(9===t.nodeType||11===t.nodeType)return t}return 9===e.nodeType?e:e.ownerDocument}var c9=Y.d;Y.d={f:function(){var e=c9.f(),t=uo();return e||t},r:function(e){var t=e4(e);null!==t&&5===t.tag&&"form"===t.type?og(t):c9.r(e)},D:function(e){c9.D(e),dt("dns-prefetch",e,null)},C:function(e,t){c9.C(e,t),dt("preconnect",e,t)},L:function(e,t,n){if(c9.L(e,t,n),de&&e&&t){var r='link[rel="preload"][as="'+tg(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tg(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tg(n.imageSizes)+'"]')):r+='[href="'+tg(e)+'"]';var a=r;switch(t){case"style":a=dr(e);break;case"script":a=dl(e)}if(!(c8.has(a)||(e=T({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),c8.set(a,e),null!==de.querySelector(r)||"style"===t&&de.querySelector(da(a))||"script"===t&&de.querySelector(ds(a))))){var i=de.createElement("link");cs(i,"link",e),"style"===t&&(i[e1]=!0,i.onload=i.onerror=function(){e7(i)}),e6(i),de.head.appendChild(i)}}},m:function(e,t){if(c9.m(e,t),de&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tg(n)+'"][href="'+tg(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=dl(e)}if(!c8.has(a)&&(e=T({rel:"modulepreload",href:e},t),c8.set(a,e),null===de.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(de.querySelector(ds(a)))return}cs(n=de.createElement("link"),"link",e),e6(n),de.head.appendChild(n)}}},X:function(e,t){if(c9.X(e,t),de&&e){var n=e8(de).hoistableScripts,r=dl(e),a=n.get(r);a||((a=de.querySelector(ds(r)))||(e=T({src:e,async:!0},t),(t=c8.get(r))&&df(e,t),e6(a=de.createElement("script")),cs(a,"link",e),de.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}},S:function(e,t,n){if(c9.S(e,t,n),de&&e){var r=e8(de).hoistableStyles,a=dr(e);t=t||"default";var i=r.get(a);if(!i){var o={loading:0,preload:null};if(i=de.querySelector(da(a)))o.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},n),(n=c8.get(a))&&dd(e,n);var l=i=de.createElement("link");e6(l),cs(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){o.loading|=1}),l.addEventListener("error",function(){o.loading|=2}),o.loading|=4,dc(i,t,de)}i={type:"stylesheet",instance:i,count:1,state:o},r.set(a,i)}}},M:function(e,t){if(c9.M(e,t),de&&e){var n=e8(de).hoistableScripts,r=dl(e),a=n.get(r);a||((a=de.querySelector(ds(r)))||(e=T({src:e,async:!0,type:"module"},t),(t=c8.get(r))&&df(e,t),e6(a=de.createElement("script")),cs(a,"link",e),de.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var de="u"<typeof document?null:document;function dt(e,t,n){if(de&&"string"==typeof t&&t){var r=tg(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),c6.has(r)||(c6.add(r),e={rel:e,crossOrigin:n,href:t},null===de.querySelector(r)&&(cs(t=de.createElement("link"),"link",e),e6(t),de.head.appendChild(t)))}}function dn(e,t,n,r){var a=(a=er.current)?c7(a):null;if(!a)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=dr(n.href),(r=(t=e8(a).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=dr(n.href);var i=e8(a).hoistableStyles,o=i.get(e);if(o||(a=a.ownerDocument||a,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,o),(i=a.querySelector(da(e)))?i._p||(o.instance=i,o.state.loading=5):((i=c8.get(e))||(i={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},c8.set(e,i)),function(e,t,n,r){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(!0!==t[e1]){r.loading=1;return}}else(t=e.createElement("link"))[e1]=!0,t.onload=t.onerror=e7.bind(null,t),cs(t,"link",n),e6(t),e.head.appendChild(t);r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2})}(a,e,i,o.state))),t&&null===r)throw Error(s(528,""));return o}if(t&&null!==r)throw Error(s(529,""));return null;
vendor: 5,251 bytes, line 53
53case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=dl(n),(r=(t=e8(a).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function dr(e){return'href="'+tg(e)+'"'}function da(e){return'link[rel="stylesheet"]['+e+"]"}function di(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function dl(e){return'[src="'+tg(e)+'"]'}function ds(e){return"script[async]"+e}function du(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tg(n.href)+'"]');if(r)return t.instance=r,e6(r),r;var a=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return e6(r=(e.ownerDocument||e).createElement("style")),cs(r,"style",a),dc(r,n.precedence,e),t.instance=r;case"stylesheet":a=dr(n.href);var i=e.querySelector(da(a));if(i)return t.state.loading|=4,t.instance=i,e6(i),i;r=di(n),(a=c8.get(a))&&dd(r,a),e6(i=(e.ownerDocument||e).createElement("link"));var o=i;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),cs(i,"link",r),t.state.loading|=4,dc(i,n.precedence,e),t.instance=i;case"script":if(i=dl(n.src),a=e.querySelector(ds(i)))return t.instance=a,e6(a),a;return r=n,(a=c8.get(i))&&df(r=T({},n),a),e6(a=(e=e.ownerDocument||e).createElement("script")),cs(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(s(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,dc(r,n.precedence,e)),t.instance}function dc(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,i=a,o=0;o<r.length;o++){var l=r[o];if(l.dataset.precedence===t)i=l;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function dd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function df(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var dp=null;function dh(e,t,n){if(null===dp){var r=new Map,a=dp=new Map;a.set(n,r)}else(r=(a=dp).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var i=n[a];if(!(i[e0]||i[eV]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var o=i.getAttribute(t)||"";o=e+o;var l=r.get(o);l?l.push(i):r.set(o,[i])}}return r}function dm(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function dg(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function dv(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function dy(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function db(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=dy(t),e.suspenseyImages.push(t)),e=dw.bind(e),t.decode().then(e,e))}var d_=0;function dS(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dk(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dE(){this.count--,dS(this)}function dw(){this.imgCount--,dS(this)}var dT=null;function dk(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dT=new Map,t.forEach(dR,e),dT=null,dE.call(e))}function dR(e,t){if(!(4&t.state.loading)){var n=dT.get(e);if(n)var r=n.get(null);else{n=new Map,dT.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var o=a[i];("LINK"===o.nodeName||"not all"!==o.getAttribute("media"))&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}o=(a=t.instance).getAttribute("data-precedence"),(i=n.get(o)||r)===r&&n.set(null,a),n.set(o,a),this.count++,r=dE.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),i?i.parentNode.insertBefore(a,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var dx={$$typeof:I,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function dC(e,t,n,r,a,i,o,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ej(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ej(0),this.hiddenUpdates=ej(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function dP(e,t,n,r,a,i,o,l,s,u,c,d){return e=new dC(e,t,n,o,s,u,c,d,l),t=1,!0===i&&(t|=24),i=rS(3,null,null,t),e.current=i,i.stateNode=e,t=af
vendor: 4,421 bytes, line 53
53(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},aq(i),e}function dO(e,t,n,r,a,i){a=a?rb:rb,null===r.context?r.context=a:r.pendingContext=a,(r=aV(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=aY(e,r,t))&&(un(n,e,t),aX(n,e,t))}function dN(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function dI(e,t){dN(e,t),(e=e.alternate)&&dN(e,t)}function dA(e){if(13===e.tag||31===e.tag){var t=rg(e,0x4000000);null!==t&&un(t,e,0x4000000),dI(e,0x4000000)}}function dM(e){if(13===e.tag||31===e.tag){var t=s9(),n=rg(e,t=e$(t));null!==n&&un(n,e,t),dI(e,t)}}var dL=!0;function dD(e,t,n,r){var a=V.T;V.T=null;var i=Y.p;try{Y.p=2,dU(e,t,n,r)}finally{Y.p=i,V.T=a}}function dj(e,t,n,r){var a=V.T;V.T=null;var i=Y.p;try{Y.p=8,dU(e,t,n,r)}finally{Y.p=i,V.T=a}}function dU(e,t,n,r){if(dL){var a=dB(r);if(null===a)u6(e,t,r,dz,n),dQ(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return dW=dK(dW,e,t,n,r,a),!0;case"dragenter":return dq=dK(dq,e,t,n,r,a),!0;case"mouseover":return dG=dK(dG,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return dV.set(i,dK(dV.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,dY.set(i,dK(dY.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(dQ(e,r),4&t&&-1<dJ.indexOf(e)){for(;null!==a;){var i=e4(a);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var o=eA(i.pendingLanes);if(0!==o){var l=i;for(l.pendingLanes|=2,l.entangledLanes|=2;o;){var s=1<<31-ex(o);l.entanglements[1]|=s,o&=~s}u$(i),0==(6&sx)&&(sY=ey()+500,uH(0,!1))}}break;case 31:case 13:null!==(l=rg(i,2))&&un(l,i,2),uo(),dI(i,2)}if(null===(i=dB(r))&&u6(e,t,r,dz,n),i===a)break;a=i}null!==a&&r.stopPropagation()}else u6(e,t,r,null,n)}}function dB(e){return dF(e=tA(e))}var dz=null;function dF(e){if(dz=null,null!==(e=e3(e))){var t=c(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=d(t)))return e;e=null}else if(31===n){if(null!==(e=f(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dz=e,null}function d$(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eb()){case e_:return 2;case eS:return 8;case eE:case ew:return 32;case eT:return 0x10000000;default:return 32}default:return 32}}var dH=!1,dW=null,dq=null,dG=null,dV=new Map,dY=new Map,dX=[],dJ="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function dQ(e,t){switch(e){case"focusin":case"focusout":dW=null;break;case"dragenter":case"dragleave":dq=null;break;case"mouseover":case"mouseout":dG=null;break;case"pointerover":case"pointerout":dV.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dY.delete(t.pointerId)}}function dK(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[a]},null!==t&&null!==(t=e4(t))&&dA(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.pu
53sh(a)),e}function dZ(e){var t=e3(e.target);if(null!==t){var n=c(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=d(n))){e.blockedOn=t,eq(e.priority,function(){dM(n)});return}}else if(31===t){if(null!==(t=f(n))){e.blockedOn=t,eq(e.priority,function(){dM(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function d0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=dB(e.nativeEvent);if(null!==n)return null!==(t=e4(n))&&dA(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tI=r,n.target.dispatchEvent(r),tI=null,t.shift()}return!0}function d1(e,t,n){d0(e)&&n.delete(t)}function d2(){dH=!1,null!==dW&&d0(dW)&&(dW=null),null!==dq&&d0(dq)&&(dq=null),null!==dG&&d0(dG)&&(dG=null),dV.forEach(d1),dY.forEach(d1)}function d3(e,t){e.blockedOn===t&&(e.blockedOn=null,dH||(dH=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,d2)))}var d4=null;function d5(e){d4!==e&&(d4=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){d4===e&&(d4=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===dF(r||n))continue;else break;var i=e4(n);null!==i&&(e.splice(t,3),t-=3,oh(i,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function d8(e){function t(t){return d3(t,e)}null!==dW&&d3(dW,e),null!==dq&&d3(dq,e),null!==dG&&d3(dG,e),dV.forEach(t),dY.forEach(t);for(var n=0;n<dX.length;n++){var r=dX[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dX.length&&null===(n=dX[0]).blockedOn;)dZ(n),null===n.blockedOn&&dX.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],i=n[r+1],o=a[eY]||null;if("function"==typeof i)o||d5(n);else if(o){var l=null;if(i&&i.hasAttribute("formAction")){if(a=i,o=i[eY]||null)l=o.formAction;else if(null!==dF(a))continue}else l=o.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),d5(n)}}}function d6(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function d7(e){this._internalRoot=e}function d9(e){this._internalRoot=e}d9.prototype.render=d7.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(s(409));dO(t.current,s9(),e,t,null,null)},d9.prototype.unmount=d7.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dO(e.current,2,null,e,null,null),uo(),t[eX]=null}},d9.prototype.unstable_scheduleHydration=function(e){if(e){var t=eW();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dX.length&&0!==t&&t<dX[n].priority;n++);dX.splice(n,0,e),0===n&&dZ(e)}};var fe=o.version;if("19.3.0-canary-cbb046ab-20260731"!==fe)throw Error(s(527,fe,"19.3.0-canary-cbb046ab-20260731"));if(Y.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw Error(s(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=c(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return p(a),e;if(i===r)return p(a),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=a,r=i;else{for(var o=!1,l=a.child;l;){if(l===n){o=!0,n=a,r=i;break}if(l===r){o=!0,r=a,n=i;break}l=l.sibling}if(!o){for(l=i.child;l;){if(l===n){o=!0,n=i,r=a;break}if(l===r){o=!0,r=i,n=a;break}l=l.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ft=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ft.isDisabled&&ft.supportsFiber)try{ek=ft.inject({bundleType:0,version:"19.3.0-canary-cbb046ab-20260731",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.3.0-canary-cbb046ab-20260731"}),eR=ft}catch(e){}}n.createRoot=function(e,t){if(!u(e))throw Error(s(299));var n=!1,r="",a=oj,i=oU,o=oB;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(i=t.onCaughtError),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=dP(e,1,!1,null,null,n,r,null,a,i,o,d6),e[eX]=t.current,u5(e),new d7(t)},n.hydrateRoot=function(e,t,n){if(!u(e))throw Error(s(299));var r,a=!1,i="",o=oj,l=oU,c=oB,d=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(d=n.formState)),(t=dP(e,1,!0,t,null!=n?n:null,a,i,d,o,l,c,d6)).context=(r=null,rb),n=t.current,(i=aV(a=e$(a=s9()))).c
53allback=null,aY(n,i,a),n=a,t.current.lanes=n,eU(t,n),u$(t),e[eX]=t.current,u5(e),new d9(t)},n.version="19.3.0-canary-cbb046ab-20260731"},88014,(e,t,n)=>{"use strict";e.i(247167),!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(146480)},849575,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e-4,n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let n=1;n<=this.numHashes;n++){let r=function(e){let t=0;for(let n=0;n<e.length;n++)t=Math.imul(t^e.charCodeAt(n),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${n}`)%this.numBits;t.push(r)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},2160,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(a,"\\$&"):e}},519083,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return u}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,l={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function u(e){return e.replace(o,e=>i[e])}function c(e){return e.replace(s,e=>l[e])}},479520,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return _},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return y}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(555682),o=e.r(190809),l=e.r(843476),s=i._(e.r(174080)),u=o._(e.r(271645)),c=e.r(742732),d=e.r(922737),f=e.r(808341),p=e.r(519083),h=new Map,m=new Set,g=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:a=null,dangerouslySetInnerHTML:i,children:o="",strategy:l="afterInteractive",onError:u,stylesheets:c}=e,f=n||t;if(f&&m.has(f))return;if(h.has(t)){m.add(f),h.get(t).then(r,u);return}let p=()=>{a&&a(),m.add(f)},g=document.createElement("script"),v=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),r&&r.call(this,t),p()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});i?(g.innerHTML=i.__html||"",p()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",p()):t&&(g.src=t,h.set(t,v)),(0,d.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),c&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(c),document.body.appendChild(g)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}):g(e)}function y(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEac
53h(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function b(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:a=null,strategy:i="afterInteractive",onError:o,stylesheets:d,...h}=e,{updateScripts:v,scripts:y,getIsSsr:b,appDir:_,nonce:S}=(0,u.useContext)(c.HeadManagerContext);S=h.nonce||S;let E=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||n;E.current||(a&&e&&m.has(e)&&a(),E.current=!0)},[a,t,n]);let w=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!w.current){if("afterInteractive"===i)g(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}));w.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(v?(y[i]=(y[i]||[]).concat([{id:t,src:n,onLoad:r,onReady:a,onError:o,...h,nonce:S}]),v(y)):b&&b()?m.add(t||n):b&&!b()&&g({...e,nonce:S})),_){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!n)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([0,{...h,id:t}]))})`}});else return s.default.preload(n,h.integrity?{as:"script",integrity:h.integrity,nonce:S,crossOrigin:h.crossOrigin}:{as:"script",nonce:S,crossOrigin:h.crossOrigin}),(0,l.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([n,{...h,id:t}]))})`}});"afterInteractive"===i&&n&&s.default.preload(n,h.integrity?{as:"script",integrity:h.integrity,nonce:S,crossOrigin:h.crossOrigin}:{as:"script",nonce:S,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let _=b;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},95284,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return l},getSortedRoutes:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});class i{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),n}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let r=e[0];if(r.startsWith("[")&&r.endsWith("]")){let i=r.slice(1,-1),o=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),o=!0),i.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${i}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${i}
53').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(i.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${i}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(e,n){if(null!==e&&e!==n)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${n}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===n)throw Object.defineProperty(Error(`You cannot have the same slug name "${n}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===r.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${n}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(n)}if(n)if(o){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,r="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});a(this.restSlugName,i),this.restSlugName=i,r="[...]"}else{if(o)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});a(this.slugName,i),this.slugName=i,r="[]"}}this.children.has(r)||this.children.set(r,new i),this.children.get(r)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(e){let t=new i;return e.forEach(e=>t.insert(e)),t.smoosh()}function l(e,t){let n={},r=[];for(let a=0;a<e.length;a++){let i=t(e[a]);n[i]=a,r[a]=i}return o(r).map(t=>e[n[t]])}},816565,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getObjectClassLabel:function(){return i},isPlainObject:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});function i(e){return Object.prototype.toString.call(e)}function o(e){if("[object Object]"!==i(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},302023,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return o},getProperError:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(816565);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function l(e){let t;return o(e)?e:Object.defineProperty(Error((0,i.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},528279,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},597238,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0});var r={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(555682),o=e.r(132061),l=i._(e.r(302023)),s=e.r(528279),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,l.default)(e)&&"cause"in e?e.cause:e;(0,o.isBailoutToCSRError)(t)||(0,s.reportGlobalError)(t)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
53dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},152539,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addPathSuffix",{enumerable:!0,get:function(){return a}});let r=e.r(572463);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:a,hash:i}=(0,r.parsePath)(e);return`${n}${t}${a}${i}`}},95524,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return i}});let r=e.r(541858),a=e.r(59084);function i(e,t,n,i){if(!t||t===n)return e;let o=e.toLowerCase();return!i&&((0,a.pathHasPrefix)(o,"/api")||(0,a.pathHasPrefix)(o,`/${t.toLowerCase()}`))?e:(0,r.addPathPrefix)(e,`/${t}`)}},230283,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let r=e.r(938281),a=e.r(541858),i=e.r(152539),o=e.r(95524);function l(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,a.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},865941,(e,t,n)=>{"use strict";function r(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=n.length;r--;){let a=n[r];if("query"===a){let n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let r=n.length;r--;){let a=n[r];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"compareRouterStates",{enumerable:!0,get:function(){return r}})},957473,(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},87831,(e,t,n)=>{"use strict";let r;function a(e){var t;return(null==(t=function(){if(void 0===r&&"u">typeof window){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},808341,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return i}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},51506,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=e.r(841820),a=e.r(862735);function i(e,t,n){let i="",o=(0,a.getRouteRegex)(e),l=o.groups,s=(t!==e?(0,r.getRouteMatcher)(o)(t):"")||n;i=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:n,optional:r}=l[e],a=`[${n?"...":""}${e}]`;return r&&(a=`${!t?"/":""}[${a}]`),n&&!Array.isArray(t)&&(t=[t]),(r||e in s)&&(i=i.replace(a,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},57192,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveHref",{enumerable:!0,get:function(){return p}});let r=e.r(998183),a=e.r(195057),i=e.r(18556),o=e.r(718967),l=e.r(82823),s=e.r(573668),u=e.r(660180),c=e.r(51506),d=e.r(862735),f=e.r(841820);
53function p(e,t,n){let p,h="string"==typeof t?t:(0,a.formatWithValidation)(t),m=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?h.slice(m[0].length):h;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${h}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,o.normalizeRepeatedSlashes)(g);h=(m?m[0]:"")+t}if(!(0,s.isLocalURL)(h))return n?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let n=(0,d.getRouteRegex)(e.pathname);(0,f.getRouteMatcher)(n)(e.asPath)||(t=e.asPath)}p=new URL(t,"http://n")}catch(e){p=new URL("/","http://n")}try{let e=new URL(h,p);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:o,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,n);o&&(t=(0,a.formatWithValidation)({pathname:o,hash:e.hash,query:(0,i.omit)(n,l)}))}let o=e.origin===p.origin?e.href.slice(e.origin.length):e.href;return n?[o,t||o]:o}catch(e){return n?[h]:h}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},210648,(e,t,n)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isAPIRoute",{enumerable:!0,get:function(){return r}})},285777,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let r=e.r(591463),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,i=/\/\[[^/]+\](?=\/|$)/;function o(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return((0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),t)?i.test(e):a.test(e)}},660180,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return i.getSortedRouteObjects},getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(95284),o=e.r(285777)},572263,(e,t,n)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizePathSep",{enumerable:!0,get:function(){return r}})},881672,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let r=e.r(660180),a=e.r(572263);function i(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},927711,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let r=new WeakMap;function a(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),l=a.indexOf(o);return l<0?{pathname:e}:(n=t[l],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},226098,(e,t,n)=>{"use strict";function r(){let e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},18556,(e,t,n)=>{"use strict";function r(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"omit",{enumerable:!0,get:function(){return r}})},370422,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseLoaderTree",{enumerable:!0,get:function(){return a}});let r=e.r(813258);function a(e){let[t,n,a,i]=e,{layout:o,template:l}=a,{page:s}=a;s=t===r.DEFAULT_SEGMENT_KEY?a.defaultPage:s;
53let u=(null==o?void 0:o[1])||(null==l?void 0:l[1])||(null==s?void 0:s[1]);return{page:s,segment:t,modules:a,conventionPath:u,parallelRoutes:n,staticSiblings:i}}},401643,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getParamProperties:function(){return s},getSegmentParam:function(){return o},isCatchAll:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(591463);function o(e){let t=i.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function l(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function s(e){let t=!1,n=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,n=!0}return{repeat:t,optional:n}}},31027,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return u},parseAppRouteSegment:function(){return s},parseAppRouteWithSlots:function(){return p},parseNormalizedAppRoute:function(){return f}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(312718),o=e.r(401643),l=e.r(591463);function s(e){if(""===e)return null;let t=l.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),n=(0,o.getSegmentParam)(e);return n?{type:"dynamic",name:e,param:n,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function u(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}function d(e,t){let n,r,a,l=e.split("/").filter(Boolean),u=[];for(let c of l){let l=s(function(e){if(!/%5b|%5d/i.test(e))return e;try{let t=decodeURIComponent(e);return(0,o.getSegmentParam)(t)?t:e}catch(t){return e}}(c));if(l){if("route-group"===l.type&&!(2&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a route group segment.`),"__NEXT_ERROR_CODE",{value:"E1151",enumerable:!1,configurable:!0});if("parallel-route"===l.type&&!(1&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E1152",enumerable:!1,configurable:!0});if(u.push(l),l.interceptionMarker){let i=e.split(l.interceptionMarker);if(2!==i.length)throw Object.defineProperty(Error(`Invalid interception route: ${e}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});r=d(i[0],t),a=d(i[1],t),n=l.interceptionMarker}}}let c=u.filter(e=>"dynamic"===e.type);return{normalized:0===t,pathname:e,segments:u,dynamicSegments:c,interceptionMarker:n,interceptingRoute:r,interceptedRoute:a}}function f(e){return d(e,0)}function p(e){return d(e,1)}},254395,(e,t,n)=>{"use strict";function r(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return r}})},746857,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveParamValue",{enumerable:!0,get:function(){return i}});let r=e.r(312718),a=e.r(254395);function i(e,t,n,i,o){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let l=[];for(let e=n;e<i.segments.length;e++){let r=i.segments[e];if("static"===r.type){let i=r.name,o=(0,a.interceptionPrefixFromParamType)(t);o&&e===n&&o===r.interceptionMarker&&(i=i.replace(r.interceptionMarker,"")),l.push(i)}else{if(!o.hasOwnProperty(r.param.paramName)){if("optional-catchall"===r.param.paramType)break;return}let e=o[r.param.paramName];Array.isArray(e)?l.push(...e):l.push(e)}}if(l.length>0)return l;if("optional-catchall"===t)return;throw Object.defineProperty(new r.InvariantError(`Unexpected empty path segments match for a route "${i.pathname}" with param "${e}" of type "${t}
53"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(n<i.segments.length){let e=i.segments[n];if("dynamic"===e.type&&!o.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?o[e.param.paramName]:(0,a.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},753015,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAMETER_PATTERN:function(){return d},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return u},parseMatchedParameter:function(){return p},parseParameter:function(){return f}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(312718),o=e.r(370422),l=e.r(31027),s=e.r(746857);function u(e,t,n,r){let a=structuredClone(t),u=[{tree:e,depth:0}],c=(0,l.parseNormalizedAppRoute)(n);for(;u.length>0;){let{tree:e,depth:t}=u.pop(),{segment:n,parallelRoutes:d}=(0,o.parseLoaderTree)(e),f=(0,l.parseAppRouteSegment)(n);if((null==f?void 0:f.type)==="dynamic"&&!a.hasOwnProperty(f.param.paramName)&&!(null==r?void 0:r.has(f.param.paramName))){let{paramName:e,paramType:n}=f.param,r=(0,s.resolveParamValue)(e,n,t,c,a);if(void 0!==r)a[e]=r;else if("optional-catchall"!==n)throw Object.defineProperty(new i.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let p=t;for(let e of(f&&"route-group"!==f.type&&"parallel-route"!==f.type&&p++,Object.values(d)))u.push({tree:e,depth:p})}return a}function c(e,t,n,r,a){let o=function(e,t,n){let r=e[t];if(null==n?void 0:n.has(t)){let[e]=n.get(t);r=e}else Array.isArray(r)?r=r.map(e=>encodeURIComponent(e)):"string"==typeof r&&(r=encodeURIComponent(r));return r}(e,t,r);if(!o||0===o.length){if("oc"===n)return{param:t,value:null,type:n,treeSegment:[t,"",n,a]};throw Object.defineProperty(new i.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${n}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let l=Array.isArray(o)?o.join("/"):o;return{param:t,value:o,treeSegment:[t,l,n,a],type:n}}let d=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function f(e){let t=e.match(d);return t?p(t[2]):p(e)}function p(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}},862735,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(663416),o=e.r(591463),l=e.r(2160),s=e.r(938281),u=e.r(753015);function c(e,t,n){let r={},a=1,i=[];for(let c of(0,s.removeTrailingSlash)(e).slice(1).split("/")){let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),s=c.match(u.PARAMETER_PATTERN);if(e&&s&&s[2]){let{key:t,optional:n,repeat:o}=(0,u.parseMatchedParameter)(s[2]);r[t]={pos:a++,repeat:o,optional:n},i.push(`/${(0,l.escapeStringRegexp)(e)}([^/]+?)`)}else if(s&&s[2]){let{key:e,repeat:t,optional:o}=(0,u.parseMatchedParameter)(s[2]);r[e]={pos:a++,repeat:t,optional:o},n&&s[1]&&i.push(`/${(0,l.escapeStringRegexp)(s[1])}`);let c=t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";n&&s[1]&&(c=c.substring(1)),i.push(c)}else i.push(`/${(0,l.escapeStringRegexp)(c)}`);t&&s&&s[3]&&i.push((0,l.escapeStringRegexp)(s[3]))}return{parameterizedRoute:i.join(""),groups:r}}function d(e){let{includeSuffix:t=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{parameterizedRoute:a,groups:i}=c(e,t,n),o=a;return r||(o+="(?:/)?"),{re:RegExp(`^${o}$`),groups:i}}function f(e){let t,{interceptionMarker:n,getSafeRouteKey:r,segment:a,routeKeys:i,keyPrefix:o,backreferenceDuplicateKeys:s}=e,{key:c,optional:d,repeat:f}=(0,u.parseMatchedParameter)(a),p=c.replace(/\W/g,"");o&&(p=`${o}${p}`);let h=!1;(0===p.length||p.length>30)&&(h=!0),isNaN(parseInt(p.slice(0,1)))||(h=!0),h&&(p=r());let m=p in i;
53o?i[p]=`${o}${c}`:i[p]=c;let g=n?(0,l.escapeStringRegexp)(n):"";return t=m&&s?`\\k<${p}>`:f?`(?<${p}>.+?)`:`(?<${p}>[^/]+?)`,{key:c,pattern:d?`(?:/${g}${t})?`:`/${g}${t}`,cleanedKey:p,optional:d,repeat:f}}function p(e,t,n,r,a){let c,d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{names:{},intercepted:{}},p=(c=0,()=>{let e="",t=++c;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),h={},m=[],g=[];for(let c of(d=structuredClone(d),(0,s.removeTrailingSlash)(e).slice(1).split("/"))){var v,y,b,_;let e,s=o.INTERCEPTION_ROUTE_MARKERS.some(e=>c.startsWith(e)),S=c.match(u.PARAMETER_PATTERN),E=s?null==S?void 0:S[1]:void 0;if(E&&(null==S?void 0:S[2])?(e=t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,d.intercepted[S[2]]=E):e=(null==S?void 0:S[2])&&d.intercepted[S[2]]?t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?i.NEXT_QUERY_PARAM_PREFIX:void 0,E&&S&&S[2]){let{key:t,pattern:n,cleanedKey:r,repeat:i,optional:o}=f({getSafeRouteKey:p,interceptionMarker:E,segment:S[2],routeKeys:h,keyPrefix:e,backreferenceDuplicateKeys:a});m.push(n),g.push(`/${S[1]}:${null!=(v=d.names[t])?v:r}${i?o?"*":"+":""}`),null!=(y=d.names)[t]||(y[t]=r)}else if(S&&S[2]){r&&S[1]&&(m.push(`/${(0,l.escapeStringRegexp)(S[1])}`),g.push(`/${S[1]}`));let{key:t,pattern:n,cleanedKey:i,repeat:o,optional:s}=f({getSafeRouteKey:p,segment:S[2],routeKeys:h,keyPrefix:e,backreferenceDuplicateKeys:a}),u=n;r&&S[1]&&(u=u.substring(1)),m.push(u),g.push(`/:${null!=(b=d.names[t])?b:i}${o?s?"*":"+":""}`),null!=(_=d.names)[t]||(_[t]=i)}else m.push(`/${(0,l.escapeStringRegexp)(c)}`),g.push(`/${c}`);n&&S&&S[3]&&(m.push((0,l.escapeStringRegexp)(S[3])),g.push(S[3]))}return{namedParameterizedRoute:m.join(""),routeKeys:h,pathToRegexpPattern:g.join(""),reference:d}}function h(e,t){var n,r,a;
53let i=p(e,t.prefixRouteKeys,null!=(n=t.includeSuffix)&&n,null!=(r=t.includePrefix)&&r,null!=(a=t.backreferenceDuplicateKeys)&&a,t.reference),o=i.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(o+="(?:/)?"),{...d(e,t),namedRegex:`^${o}$`,routeKeys:i.routeKeys,pathToRegexpPattern:i.pathToRegexpPattern,reference:i.reference}}function m(e,t){let{parameterizedRoute:n}=c(e,!1,!1),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:`^/${r?".*":""}$`};let{namedParameterizedRoute:a}=p(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${a}${r?"(?:(/.*)?)":""}$`}}},795640,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={DYNAMIC_FILTER_PLACEHOLDER:function(){return i},hasDynamicFilterCandidate:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="[]";function o(e,t,n){var r;let a=e.split("/"),o=t.split("/"),l=null!=(r=a[a.length-1])?r:"";if(!(l.startsWith("[...")||l.startsWith("[[..."))&&a.length!==o.length)return!1;let s=[];for(let e=1;e<o.length;e++){if(""===o[e])continue;let t=a[e];(void 0===t||t.startsWith("["))&&s.push(e)}if(0===s.length||s.length>8)return!1;let u=(1<<s.length)-1;for(let e=0;e<u;e++){let t=o.slice();for(let n=0;n<s.length;n++)(e&1<<n)==0&&(t[s[n]]=i);if(n(t.join("/")))return!0}return!1}},722783,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let r=e.r(718967),a=e.r(998183);function i(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=new URL("u"<typeof window?"http://n":(0,r.getLocationOrigin)()),o=t?new URL(t,i):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):i,{pathname:l,searchParams:s,search:u,hash:c,href:d,origin:f}=e.startsWith("/")?new URL(`${o.protocol}//${o.host}${e}`):new URL(e,o);if(f!==i.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:l,port:null,protocol:null,query:n?(0,a.searchParamsToUrlQuery)(s):void 0,search:u,hash:c,href:d.slice(f.length),slashes:null}}},873423,(e,t,n)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/path-to-regexp/");var e={};(()=>{function t(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"===r||"+"===r||"?"===r){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===r){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===r){t.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===r){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===r){for(var a="",i=n+1;i<e.length;){var o=e.charCodeAt(i);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){a+=e[i++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=i;continue}if("("===r){var l=1,s="",i=n+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '.concat(i));for(;i<e.length;){if("\\"===e[i]){s+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--l){i++;break}}else if("("===e[i]&&(l++,"?"!==e[i+1]))throw TypeError("Capturing groups are not allowed at ".concat(i));s+=e[i++]}if(l)throw TypeError("Unbalanced pattern at ".concat(n));if(!s)throw TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:s}),n=i;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,o=t.delimiter,l=void 0===o?"/#?":o,s=[],u=0,c=0,d="",f=function(e){if(c<n.length&&n[c].type===e)return n[c++].value},p=function(e){var t=f(e);if(void 0!==t)return t;var r=n[c],a=r.type,i=r.index;throw TypeError("Unexpected ".concat(a," at ").concat(i,", expected ").concat(e))},h=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<l.length;t++){var n=l[t];if(e.indexOf(n)>-1)return!0}return!1},g=function(e){var t=s[s.length-1],n=e||(t&&"string"==typeof t?t:"");
53if(t&&!n)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!n||m(n)?"[^".concat(a(l),"]+?"):"(?:(?!".concat(a(n),")[^").concat(a(l),"])+?")};c<n.length;){var v=f("CHAR"),y=f("NAME"),b=f("PATTERN");if(y||b){var _=v||"";-1===i.indexOf(_)&&(d+=_,_=""),d&&(s.push(d),d=""),s.push({name:y||u++,prefix:_,suffix:"",pattern:b||g(_),modifier:f("MODIFIER")||""});continue}var S=v||f("ESCAPED_CHAR");if(S){d+=S;continue}if(d&&(s.push(d),d=""),f("OPEN")){var _=h(),E=f("NAME")||"",w=f("PATTERN")||"",T=h();p("CLOSE"),s.push({name:E||(w?u++:""),pattern:E&&!w?g(_):w,prefix:_,suffix:T,modifier:f("MODIFIER")||""});continue}p("END")}return s}function n(e,t){void 0===t&&(t={});var n=i(t),r=t.encode,a=void 0===r?function(e){return e}:r,o=t.validate,l=void 0===o||o,s=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),n)});return function(t){for(var n="",r=0;r<e.length;r++){var i=e[r];if("string"==typeof i){n+=i;continue}var o=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(i.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(i.name,'" to not be empty'))}for(var d=0;d<o.length;d++){var f=a(o[d],i);if(l&&!s[r].test(f))throw TypeError('Expected all "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(f,'"'));n+=i.prefix+f+i.suffix}continue}if("string"==typeof o||"number"==typeof o){var f=a(String(o),i);if(l&&!s[r].test(f))throw TypeError('Expected "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(f,'"'));n+=i.prefix+f+i.suffix;continue}if(!u){var p=c?"an array":"a string";throw TypeError('Expected "'.concat(i.name,'" to be ').concat(p))}}return n}}function r(e,t,n){void 0===n&&(n={});var r=n.decode,a=void 0===r?function(e){return e}:r;return function(n){var r=e.exec(n);if(!r)return!1;for(var i=r[0],o=r.index,l=Object.create(null),s=1;s<r.length;s++)!function(e){if(void 0!==r[e]){var n=t[e-1];"*"===n.modifier||"+"===n.modifier?l[n.name]=r[e].split(n.prefix+n.suffix).map(function(e){return a(e,n)}):l[n.name]=a(r[e],n)}}(s);return{path:i,index:o,params:l}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function o(e,t,n){void 0===n&&(n={});for(var r=n.strict,o=void 0!==r&&r,l=n.start,s=n.end,u=n.encode,c=void 0===u?function(e){return e}:u,d=n.delimiter,f=n.endsWith,p="[".concat(a(void 0===f?"":f),"]|$"),h="[".concat(a(void 0===d?"/#?":d),"]"),m=void 0===l||l?"^":"",g=0;g<e.length;g++){var v=e[g];if("string"==typeof v)m+=a(c(v));else{var y=a(c(v.prefix)),b=a(c(v.suffix));if(v.pattern)if(t&&t.push(v),y||b)if("+"===v.modifier||"*"===v.modifier){var _="*"===v.modifier?"?":"";m+="(?:".concat(y,"((?:").concat(v.pattern,")(?:").concat(b).concat(y,"(?:").concat(v.pattern,"))*)").concat(b,")").concat(_)}else m+="(?:".concat(y,"(").concat(v.pattern,")").concat(b,")").concat(v.modifier);else{if("+"===v.modifier||"*"===v.modifier)throw TypeError('Can not repeat "'.concat(v.name,'" without a prefix and suffix'));m+="(".concat(v.pattern,")").concat(v.modifier)}else m+="(?:".concat(y).concat(b,")").concat(v.modifier)}}if(void 0===s||s)o||(m+="".concat(h,"?")),m+=n.endsWith?"(?=".concat(p,")"):"$";else{var S=e[e.length-1],E="string"==typeof S?h.indexOf(S[S.length-1])>-1:void 0===S;o||(m+="(?:".concat(h,"(?=").concat(p,"))?")),E||(m+="(?=".concat(h,"|").concat(p,")"))}return new RegExp(m,i(n))}function l(e,n,r){if(e instanceof RegExp){var a;if(!n)return e;for(var s=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=s.exec(e.source);c;)n.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=s.exec(e.source);return e}return Array.isArray(e)?(a=e.map(function(e){return l(e,n,r).source}),new RegExp("(?:".concat(a.join("|"),")"),i(r))):o(t(e,r),n,r)}Object.defineProperty(e,"__esModule",{value:!0}),e.pathToRegexp=e.tokensToRegexp=e.regexpToFunction=e.match=e.tokensToFunction=e.compile=e.parse=void 0,e.parse=t,e.compile=function(e,r){return n(t(e,r),r)},e.tokensToFunction=n,e.match=function(e,t){var n=[];return r(l(e,n,t),n,t)},e.regexpToFunction=r,e.tokensToRegexp=o,e.pathToRegexp=l})(),t.exports=e})()},268280,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAM_SEPARATOR:function(){return i},hasAdjacentParameterIssues:function(){return o},normalizeAdjacentParameters:function(){return l},normalizeTokensForRegexp:function(){return s},stripNormalizedSeparators:function(){return u},stripParameterSeparators:function(){return c}};
53for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="_NEXTSEP_";function o(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function l(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${i}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${i}`)}function s(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function u(e){return e.replace(RegExp(`\\)${i}`,"g"),")")}function c(e){let t={};for(let[n,r]of Object.entries(e))"string"==typeof r?t[n]=r.replace(RegExp(`^${i}`),""):Array.isArray(r)?t[n]=r.map(e=>"string"==typeof e?e.replace(RegExp(`^${i}`),""):e):t[n]=r;return t}},475957,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={safeCompile:function(){return s},safePathToRegexp:function(){return l},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(873423),o=e.r(268280);function l(e,t,n){if("string"!=typeof e)return(0,i.pathToRegexp)(e,t,n);let r=(0,o.hasAdjacentParameterIssues)(e),a=r?(0,o.normalizeAdjacentParameters)(e):e;try{return(0,i.pathToRegexp)(a,t,n)}catch(a){if(!r)try{let r=(0,o.normalizeAdjacentParameters)(e);return(0,i.pathToRegexp)(r,t,n)}catch(e){}throw a}}function s(e,t){let n=(0,o.hasAdjacentParameterIssues)(e),r=n?(0,o.normalizeAdjacentParameters)(e):e;try{let e=(0,i.compile)(r,t);if(n)return t=>(0,o.stripNormalizedSeparators)(e(t));return e}catch(r){if(!n)try{let n=(0,o.normalizeAdjacentParameters)(e),r=(0,i.compile)(n,t);return e=>(0,o.stripNormalizedSeparators)(r(e))}catch(e){}throw r}}function u(e,t){let n=(0,i.regexpToFunction)(e,t||[]);return e=>{let t=n(e);return!!t&&{...t,params:(0,o.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let n=e(t);return!!n&&(0,o.stripParameterSeparators)(n)}}},841820,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let r=e.r(718967),a=e.r(475957);function i(e){let{re:t,groups:n}=e;return(0,a.safeRouteMatcher)(e=>{let a=t.exec(e);if(!a)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new r.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,t]of Object.entries(n)){let n=a[t.pos];void 0!==n&&(t.repeat?o[e]=n.split("/").map(e=>i(e)):o[e]=i(n))}return o})}},341257,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getPathMatch",{enumerable:!0,get:function(){return a}});let r=e.r(873423);function a(e,t){let n=[],a=(0,r.pathToRegexp)(e,n,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),i=(0,r.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(a.source),a.flags):a,n);return(e,r)=>{if("string"!=typeof e)return!1;let a=i(e);if(!a)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of n)"number"==typeof e.name&&delete a.params[e.name];return{...r,...a.params}}}},106346,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseUrl",{enumerable:!0,get:function(){return i}});let r=e.r(998183),a=e.r(722783);function i(e){if(e.startsWith("/"))return(0,a.parseRelativeUrl)(e);let t=new URL(e),n=t.username,i=t.password,o=n?i?`${n}:${i}`:n:null,l=t.pathname,s=t.search;return{auth:o,hash:t.hash,hostname:t.hostname,href:t.href,pathname:l,port:t.port,protocol:t.protocol,query:(0,r.searchParamsToUrlQuery)(t.searchParams),search:s,origin:t.origin,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}},619573,(e,t,n)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/cookie/");var e,n,r,a,i={};i.parse=function(t,n){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var a={},i=t.split(r),o=(n||{}).decode||e,l=0;l<i.length;l++){var s=i[l],u=s.indexOf("=");if(!(u<0)){var c=s.substr(0,u).trim(),d=s.substr(++u,s.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==a[c]&&(a[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,o))}}return a},i.serialize=function(e,t,r){var i=r||{},o=i.encode||n;if("function"!=typeof o)throw TypeError("option encode is invali
53d");if(!a.test(e))throw TypeError("argument name is invalid");var l=o(t);if(l&&!a.test(l))throw TypeError("argument val is invalid");var s=e+"="+l;if(null!=i.maxAge){var u=i.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(u)}if(i.domain){if(!a.test(i.domain))throw TypeError("option domain is invalid");s+="; Domain="+i.domain}if(i.path){if(!a.test(i.path))throw TypeError("option path is invalid");s+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invalid");s+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s},e=decodeURIComponent,n=encodeURIComponent,r=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,t.exports=i})()},989557,(e,t,n)=>{"use strict";function r(t){return function(){let{cookie:n}=t;if(!n)return{};let{parse:r}=e.r(619573);return r(Array.isArray(n)?n.join("; "):n)}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getCookieParser",{enumerable:!0,get:function(){return r}})},631423,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={compileNonPath:function(){return f},matchHas:function(){return d},parseDestination:function(){return p},prepareDestination:function(){return h}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(2160),o=e.r(106346),l=e.r(591463),s=e.r(989557),u=e.r(475957);function c(e){return e.replace(/__ESC_COLON_/gi,":")}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a={},i=n=>{let r,i=n.key;switch(n.type){case"header":i=i.toLowerCase(),r=e.headers[i];break;case"cookie":r="cookies"in e?e.cookies[n.key]:(0,s.getCookieParser)(e.headers)()[n.key];break;case"query":r=t[i];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};r=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!n.value&&r)return a[function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);(r>64&&r<91||r>96&&r<123)&&(t+=e[n])}return t}(i)]=r,!0;if(r){let e=RegExp(`^${n.value}$`),t=Array.isArray(r)?r.slice(-1)[0].match(e):r.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{a[e]=t.groups[e]}):"host"===n.type&&t[0]&&(a.host=t[0])),!0}return!1};return!(!n.every(e=>i(e))||r.some(e=>i(e)))&&a}function f(e,t){if(!e.includes(":"))return e;for(let n of Object.keys(t))e.includes(`:${n}`)&&(e=e.replace(RegExp(`:${n}\\*`,"g"),`:${n}--ESCAPED_PARAM_ASTERISKS`).replace(RegExp(`:${n}\\?`,"g"),`:${n}--ESCAPED_PARAM_QUESTION`).replace(RegExp(`:${n}\\+`,"g"),`:${n}--ESCAPED_PARAM_PLUS`).replace(RegExp(`:${n}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${n}`));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,u.safeCompile)(`/${e}`,{validate:!1})(t).slice(1)}function p(e){let t=e.destination;for(let n of Object.keys({...e.params,...e.query}))n&&(t=t.replace(RegExp(`:${(0,i.escapeStringRegexp)(n)}`,"g"),`__ESC_COLON_${n}`));let n=(0,o.parseUrl)(t),r=n.pathname;r&&(r=c(r));let a=n.href;a&&(a=c(a));let l=n.hostname;l&&(l=c(l));let s=n.hash;s&&(s=c(s));let u=n.search;u&&(u=c(u));let d=n.origin;return d&&(d=c(d)),{...n,pathname:r,hostname:l,href:a,hash:s,search:u,origin:d}}function h(e){let t,n,r=p(e),{hostname:a,query:i,search:o}=r,s=r.pathname;r.hash&&(s=`${s}${r.hash}`);let d=[],h=[];for(let e of((0,u.safePathToRegexp)(s,h),h))d.push(e.name);if(a){let e=[];for(let t of((0,u.safePathToRegexp)(a,e),e))d.push(t.name)}let m=(0,u.safeCompile)(s,{validate:!1});for(let[n,r]of(a&&(t=(0,u.safeCompile)(a,{validate:!1,encode:encodeURIComponent})),Object.entries(i)))Array.isArray(r)?i[n]=r.map(t=>f(c(t),e.params)):"string"==typeof r&&(i[n]=f(c(r),e.params));let g=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!g.some(e=>d.includes(e)))for(let t of g)t in i||(i[t]=e.params[t]);if((0,l.isInterceptionRouteAppPath)(s))for(let t of s.split("/")){let n=l.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(n){"(..)(..)"===n?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=n;break}}try{let[a,i]=(n=m(e.params)).split("#",2);t&&(r.hostname=t(e.params)),r.pathname=a,r.hash=`${i?"#":""}${i||""}`,r.search=o?f(o,e.params):""}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,
53configurable:!0});throw e}return r.query={...e.query,...r.query},{newUrl:n,destQuery:i,parsedDestination:r}}},291534,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(341257),a=e.r(631423),i=e.r(938281),o=e.r(927711),l=e.r(387250),s=e.r(722783);function u(e,t,n,u,c,d){let f,p=!1,h=!1,m=(0,s.parseRelativeUrl)(e),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,l.removeBasePath)(m.pathname),d).pathname),v=n=>{let s=(0,r.getPathMatch)(n.source+"",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((n.has||n.missing)&&s){let e=(0,a.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[n,...r]=t.split("=");return e[n]=r.join("="),e},{})},m.query,n.has,n.missing);e?Object.assign(s,e):s=!1}if(s){if(!n.destination)return h=!0,!0;let r=(0,a.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:s,query:u});if(m=r.parsedDestination,e=r.newUrl,Object.assign(u,r.parsedDestination.query),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,l.removeBasePath)(e),d).pathname),t.includes(g))return p=!0,f=g,!0;if((f=c(g))!==e&&t.includes(f))return p=!0,!0}},y=!1;for(let e=0;e<n.beforeFiles.length;e++)v(n.beforeFiles[e]);if(!(p=t.includes(g))){if(!y){for(let e=0;e<n.afterFiles.length;e++)if(v(n.afterFiles[e])){y=!0;break}}if(y||(f=c(g),y=p=t.includes(f)),!y){for(let e=0;e<n.fallback.length;e++)if(v(n.fallback[e])){y=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:p,resolvedHref:f,externalDest:h}}},509793,(e,t,n)=>{"use strict";let r;e.i(247167),Object.defineProperty(n,"__esModule",{value:!0});var a={createKey:function(){return J},default:function(){return Z},matchesMiddleware:function(){return $}};for(var i in a)Object.defineProperty(n,i,{enumerable:!0,get:a[i]});let o=e.r(555682),l=e.r(190809),s=e.r(938281),u=e.r(490758),c=e.r(479520),d=l._(e.r(302023)),f=e.r(881672),p=e.r(927711),h=o._(e.r(226098)),m=e.r(718967),g=e.r(285777),v=e.r(722783),y=e.r(841820),b=e.r(862735),_=e.r(795640),S=e.r(195057);e.r(885305);let E=e.r(572463),w=e.r(535192),T=e.r(827018),k=e.r(387250),R=e.r(405550),x=e.r(652817),C=e.r(57192),P=e.r(210648),O=e.r(283605),N=e.r(230283),I=e.r(865941),A=e.r(573668),M=e.r(82604),L=e.r(18556),D=e.r(51506),j=e.r(491915),U=e.r(663416),B=e.r(543369),z=e.r(948277);function F(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function $(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:n}=(0,E.parsePath)(e.asPath),r=(0,x.hasBasePath)(n)?(0,k.removeBasePath)(n):n,a=(0,R.addBasePath)((0,w.addLocale)(r,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function H(e){let t=(0,m.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function W(e,t,n){let[r,a]=(0,C.resolveHref)(e,t,!0),i=(0,m.getLocationOrigin)(),o=r.startsWith(i),l=a&&a.startsWith(i);r=H(r),a=a?H(a):a;let s=o?r:(0,R.addBasePath)(r),u=n?H((0,C.resolveHref)(e,n)):a||r;return{url:s,as:l?u:(0,R.addBasePath)(u)}}function q(e,t){let n=(0,s.removeTrailingSlash)((0,f.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some(t=>{if((0,g.isDynamicRoute)(t)&&(0,b.getRouteRegex)(t).re.test(n))return e=t,!0}),(0,s.removeTrailingSlash)(e))}async function G(e){if(!await $(e)||!e.fetchData)return null;let t=await e.fetchData(),n=await function(e,t,n){let a={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:!1},i=t.headers.get("x-nextjs-rewrite"),o=i||t.headers.get("x-nextjs-matched-path"),l=t.headers.get(U.MATCHED_PATH_HEADER);if(!l||o||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(o=l),o){if(o.startsWith("/")){let t=(0,v.parseRelativeUrl)(o),l=(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),c=(0,s.removeTrailingSlash)(l.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,u.getClientBuildManifest)()]).then(o=>{let[s,{__rewrites:u}]=o,d=(0,w.addLocale)(l.pathname,l.locale);if((0,g.isDynamicRoute)(d)||!i&&s.includes((0,p.normalizeLocalePath)((0,k.removeBasePath)(d),n.router.locales).pathname)){let n=(0,O.getNextPathnameInfo)((0,v.parseRelativeUrl)(e).pathname,{nextConfig:{basePath:a.basePath,trailingSlash:a.trailingSlash},parseData:!0}
53);t.pathname=d=(0,R.addBasePath)(n.pathname)}{let e=r(d,s,u,t.query,e=>q(e,s),n.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,d=t.pathname,Object.assign(t.query,e.parsedAs.query))}let f=s.includes(c)?c:q((0,p.normalizeLocalePath)((0,k.removeBasePath)(t.pathname),n.router.locales).pathname,s);if((0,g.isDynamicRoute)(f)){let e=(0,y.getRouteMatcher)((0,b.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,E.parsePath)(e),l=(0,N.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${l}${t.query}${t.hash}`})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=(0,E.parsePath)(c),t=(0,N.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:n}}r=e.r(291534).default;let V=Symbol("SSG_DATA_NOT_FOUND");function Y(e){try{return JSON.parse(e)}catch(e){return null}}function X(e){let{dataHref:t,inflightCache:n,isPrefetch:r,hasMiddleware:a,isServerRender:i,parseJSON:o,persistCache:l,isBackground:s,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),f=(0,B.getDeploymentId)(),p=e=>{var s;return(function e(t,n,r){return fetch(t,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&n>1&&a.status>=500?e(t,n-1,r):a)})(t,i?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&a?{"x-middleware-prefetch":"1"}:{},f?{"x-deployment-id":f}:{}),method:null!=(s=null==e?void 0:e.method)?s:"GET"}).then(n=>n.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:n,text:"",json:{},cacheKey:d}:n.text().then(e=>{if(!n.ok){if(a&&[301,302,307,308].includes(n.status))return{dataHref:t,response:n,text:e,json:{},cacheKey:d};if(404===n.status){var r;if(null==(r=Y(e))?void 0:r.notFound)return{dataHref:t,json:{notFound:V},response:n,text:e,cacheKey:d}}let o=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw i||(0,u.markAssetError)(o),o}let l=n.headers.get(U.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=l&&l!==f){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw i||(0,u.markAssetError)(e),e}return{dataHref:t,json:o?Y(e):null,response:n,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw c||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,u.markAssetError)(e),e})};return c&&l?p({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(n[d]=Promise.resolve(e)),e)):void 0!==n[d]?n[d]:n[d]=p(s?{method:"HEAD"}:{})}function J(){return Math.random().toString(36).slice(2,10)}function Q(e){let{url:t,router:n}=e;if(t===(0,R.addBasePath)((0,w.addLocale)(n.asPath,n.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${t} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=t}let K=e=>{let{route:t,router:n}=e,r=!1,a=n.clc=()=>{r=!0};return()=>{if(r){let e=Object.defineProperty(Error(`Abort fetching component for route: "${t}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}a===n.clc&&(n.clc=null)}};class Z{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((0,z.isJavaScriptURLString)(e.toString())||t&&(0,z.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,
53configurable:!0});return{url:e,as:t}=W(this,e,t),this.change("pushState",e,t,n)}replace(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((0,z.isJavaScriptURLString)(e.toString())||t&&(0,z.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=W(this,e,t),this.change("replaceState",e,t,n)}async _bfl(t,n,r,a){{if(!this._bfl_s&&!this._bfl_d){let n,i,{BloomFilter:o}=e.r(849575);try{({__routerFilterStatic:n,__routerFilterDynamic:i}=await (0,u.getClientBuildManifest)())}catch(e){if(console.error(e),a)return!0;return Q({url:(0,R.addBasePath)((0,w.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let l={numItems:17,errorRate:1e-4,numBits:326,numHashes:14,bitArray:[1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,1,0,1,0,1,0,1,1,0,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,1,0,0,0,1,1,0,0,1,1,0,1,1,1,1,0,1,1,0,1,0,0,1,0,1,0,1,0,1,0,0,0,0,0,0,1,1,1,1,1,0,1,0,1,0,0,0,1,1,1,1,1,0,1,0,1,0,0,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,0,1,0,0,1,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,1,0,1,1,0,0,0,1,1,1,0,1,1,1,0,0,0,1,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,0,0,0,1,1,1,0,0,0,0,0,1,1,1,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,1,1,1,0,1,1,1,0,0,0,1,1,1,1,0,0,1,1,1,1,0,1,0,0,1,1,1,0,0,0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1]};!n&&l&&(n=l||void 0);let s={numItems:9,errorRate:1e-4,numBits:173,numHashes:14,bitArray:[1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,0,1,0,1,0,1,0,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,1,1,0,0,0,0,1,1,0,1,1,1,0,1,1,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0,0,1,0,1,1,1,0,1,0,1,0,0,1,1,0,1,0,0,0,1,1,0,1,0,0,0,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,1,1,1,1,1,0,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,1,0,1,1,0,0,0,1,0,1,0,0,1,1,1]};!i&&s&&(i=s||void 0),(null==n?void 0:n.numHashes)&&(this._bfl_s=new o(n.numItems,n.errorRate),this._bfl_s.import(n)),(null==i?void 0:i.numHashes)&&(this._bfl_d=new o(i.numItems,i.errorRate),this._bfl_d.import(i))}let c=!1,d=!1;for(let{as:e,allowMatchCurrent:u}of[{as:t},{as:n}])if(e){let n=(0,s.removeTrailingSlash)(new URL(e,"http://n").pathname),f=(0,R.addBasePath)((0,w.addLocale)(n,r||this.locale));if(u||n!==(0,s.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var i,o,l;for(let e of(c=c||!!(null==(i=this._bfl_s)?void 0:i.contains(n))||!!(null==(o=this._bfl_s)?void 0:o.contains(f)),[n,f])){let t=e.split("/");for(let e=0;!d&&e<t.length+1;e++){let n=t.slice(0,e).join("/");if(n&&(null==(l=this._bfl_d)?void 0:l.contains(n))){d=!0;break}}}if(c||d){if(a)return!0;return Q({url:(0,R.addBasePath)((0,w.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,n,a,i){var o,l,f,p,h,C,P,O,N;let M,j;if(!(0,A.isLocalURL)(t))return Q({url:t,router:this}),!1;let U=1===a._h;U||a.shallow||await this._bfl(n,void 0,a.locale);let B=U||a._shouldResolveHref||(0,E.parsePath)(t).pathname===(0,E.parsePath)(n).pathname,z={...this.state},H=!0!==this.isReady;this.isReady=!0;let G=this.isSsr;if(U||(this.isSsr=!1),U&&this.clc)return!1;let Y=z.locale;m.ST&&performance.mark("routeChange");let{shallow:X=!1,scroll:J=!0}=a,K={shallow:X};this._inFlightRoute&&this.clc&&(G||Z.events.emit("routeChangeError",F(),this._inFlightRoute,K),this.clc(),this.clc=null),n=(0,R.addBasePath)((0,w.addLocale)((0,x.hasBasePath)(n)?(0,k.removeBasePath)(n):n,a.locale,this.defaultLocale));let ee=(0,T.removeLocale)((0,x.hasBasePath)(n)?(0,k.removeBasePath)(n):n,z.locale);this._inFlightRoute=n;let et=Y!==z.locale;if(!U&&this.onlyAHashChange(ee)&&!et){z.asPath=ee,Z.events.emit("hashChangeStart",n,K),this.changeState(e,t,n,{...a,scroll:!1}),J&&this.scrollToHash(ee);try{await this.set(z,this.components[z.route],null)}catch(e){throw(0,d.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,ee,K),e}return Z.events.emit("hashChangeComplete",n,K),!0}let en=(0,v.parseRelativeUrl)(t),{pathname:er,query:ea}=en;try{[M,{__rewrites:j}
53]=await Promise.all([this.pageLoader.getPageList(),(0,u.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return Q({url:n,router:this}),!1}this.urlIsNew(ee)||et||(e="replaceState");let ei=n;er=er?(0,s.removeTrailingSlash)((0,k.removeBasePath)(er)):er;let eo=(0,s.removeTrailingSlash)(er),el=n.startsWith("/")&&(0,v.parseRelativeUrl)(n).pathname;if(null==(o=this.components[er])?void 0:o.__appRouter)return Q({url:n,router:this}),new Promise(()=>{});let es=!!(el&&eo!==el&&(!(0,g.isDynamicRoute)(eo)||!(0,y.getRouteMatcher)((0,b.getRouteRegex)(eo))(el))),eu=!a.shallow&&await $({asPath:n,locale:z.locale,router:this});if(U&&eu&&(B=!1),B&&"/_error"!==er)if(a._shouldResolveHref=!0,n.startsWith("/")){let e=r((0,R.addBasePath)((0,w.addLocale)(ee,z.locale),!0),M,j,ea,e=>q(e,M),this.locales);if(e.externalDest)return Q({url:n,router:this}),!0;eu||(ei=e.asPath),e.matchedPage&&e.resolvedHref&&(er=e.resolvedHref,en.pathname=(0,R.addBasePath)(er),eu||(t=(0,S.formatWithValidation)(en)))}else en.pathname=q(er,M),en.pathname!==er&&(er=en.pathname,en.pathname=(0,R.addBasePath)(er),eu||(t=(0,S.formatWithValidation)(en)));if(!U&&!a.shallow&&this._bfl_d&&(0,g.isDynamicRoute)(er)){let e=(0,s.removeTrailingSlash)((0,v.parseRelativeUrl)(ee).pathname);if((0,_.hasDynamicFilterCandidate)(er,e,e=>{var t;return!!(null==(t=this._bfl_d)?void 0:t.contains(e))}))return Q({url:n,router:this}),new Promise(()=>{})}if(!(0,A.isLocalURL)(n))return Q({url:n,router:this}),!1;ei=(0,T.removeLocale)((0,k.removeBasePath)(ei),z.locale),eo=(0,s.removeTrailingSlash)(er);let ec=!1;if((0,g.isDynamicRoute)(eo)){let e=(0,v.parseRelativeUrl)(ei),r=e.pathname,a=(0,b.getRouteRegex)(eo);ec=(0,y.getRouteMatcher)(a)(r);let i=eo===r,o=i?(0,D.interpolateAs)(eo,r,ea):{};if(ec&&(!i||o.result))i?n=(0,S.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,L.omit)(ea,o.params)})):Object.assign(ea,ec);else{let e=Object.keys(a.groups).filter(e=>!ea[e]&&!a.groups[e].optional);if(e.length>0&&!eu)throw Object.defineProperty(Error((i?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${r}) is incompatible with the \`href\` value (${eo}). `)+`Read more: https://nextjs.org/docs/messages/${i?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}U||Z.events.emit("routeChangeStart",n,K);let ed="/404"===this.pathname||"/_error"===this.pathname;try{let r=await this.getRouteInfo({route:eo,pathname:er,query:ea,as:n,resolvedAs:ei,routeProps:K,locale:z.locale,isPreview:z.isPreview,hasMiddleware:eu,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:U&&!this.isFallback,isMiddlewareRewrite:es});if(U||a.shallow||await this._bfl(n,"resolvedAs"in r?r.resolvedAs:void 0,z.locale),"route"in r&&eu){eo=er=r.route||eo,K.shallow||(ea=Object.assign({},r.query||{},ea));let e=(0,x.hasBasePath)(en.pathname)?(0,k.removeBasePath)(en.pathname):en.pathname;if(ec&&er!==e&&Object.keys(ec).forEach(e=>{ec&&ea[e]===ec[e]&&delete ea[e]}),(0,g.isDynamicRoute)(er)){let e=!K.shallow&&r.resolvedAs?r.resolvedAs:(0,R.addBasePath)((0,w.addLocale)(new URL(n,location.href).pathname,z.locale),!0);(0,x.hasBasePath)(e)&&(e=(0,k.removeBasePath)(e));let t=(0,b.getRouteRegex)(er),a=(0,y.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(ea,a)}}if("type"in r)if("redirect-internal"===r.type)return this.change(e,r.newUrl,r.newAs,a);else return Q({url:r.destination,router:this}),new Promise(()=>{});let o=r.Component;if(o&&o.unstable_scriptLoader&&[].concat(o.unstable_scriptLoader()).forEach(e=>{(0,c.handleClientScriptLoad)(e.props)}),(r.__N_SSG||r.__N_SSP)&&r.props){if(r.props.pageProps&&r.props.pageProps.__N_REDIRECT){a.locale=!1;let t=r.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==r.props.pageProps.__N_REDIRECT_BASE_PATH){let n=(0,v.parseRelativeUrl)(t);n.pathname=q(n.pathname,M);let{url:r,as:i}=W(this,t,t);return this.change(e,r,i,a)}return Q({url:t,router:this}),new Promise(()=>{})}if(z.isPreview=!!r.props.__N_PREVIEW,r.props.notFound===V){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(r=await this.getRouteInfo({route:e,pathname:e,query:ea,as:n,resolvedAs:ei,routeProps:{shallow:!1},locale:z.locale,isPreview:z.isPreview,isNotFound:!0}),"type"in r)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,
53configurable:!0})}}U&&"/_error"===this.pathname&&(null==(h=self.__NEXT_DATA__.props)||null==(p=h.pageProps)?void 0:p.statusCode)===500&&(null==(C=r.props)?void 0:C.pageProps)&&(r.props.pageProps.statusCode=500);let s=a.shallow&&z.route===(null!=(l=r.route)?l:eo),u=null!=(f=a.scroll)?f:!U&&!s,m=null!=i?i:u?{x:0,y:0}:null,_={...z,route:eo,pathname:er,query:ea,asPath:ee,isFallback:!1};if(U&&ed){if(r=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:ea,as:n,resolvedAs:ei,routeProps:{shallow:!1},locale:z.locale,isPreview:z.isPreview,isQueryUpdating:U&&!this.isFallback}),"type"in r)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&(null==(O=self.__NEXT_DATA__.props)||null==(P=O.pageProps)?void 0:P.statusCode)===500&&(null==(N=r.props)?void 0:N.pageProps)&&(r.props.pageProps.statusCode=500);try{await this.set(_,r,m)}catch(e){throw(0,d.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,ee,K),e}return!0}if(Z.events.emit("beforeHistoryChange",n,K),this.changeState(e,t,n,a),!(U&&!m&&!H&&!et&&(0,I.compareRouterStates)(_,this.state))){try{await this.set(_,r,m)}catch(e){if(e.cancelled)r.error=r.error||e;else throw e}if(r.error)throw U||Z.events.emit("routeChangeError",r.error,ee,K),r.error;U||Z.events.emit("routeChangeComplete",n,K),u&&/#.+$/.test(n)&&this.scrollToHash(n)}return!0}catch(e){if((0,d.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};("pushState"!==e||(0,m.getURL)()!==n)&&(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:J()},"",n))}async handleRouteInfoError(e,t,n,r,a,i){if(e.cancelled)throw e;if((0,u.isAssetError)(e)||i)throw Z.events.emit("routeChangeError",e,r,a),Q({url:r,router:this}),F();console.error(e);try{let r,{page:a,styleSheets:i}=await this.fetchComponent("/_error"),o={props:r,Component:a,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(a,{err:e,pathname:t,query:n})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,d.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,n,r,a,!0)}}async getRouteInfo(e){let{route:t,pathname:n,query:r,as:a,resolvedAs:i,routeProps:o,locale:l,hasMiddleware:u,isPreview:c,unstable_skipClientCache:f,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:g}=e,v=t;try{var y,b,_,E;let e=this.components[v];if(o.shallow&&e&&this.route===v)return e;let t=K({route:v,router:this});u&&(e=void 0);let d=!e||"initial"in e?void 0:e,w={dataHref:this.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:n,query:r}),skipInterpolation:!0,asPath:g?"/404":i,locale:l}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!c,isPrefetch:!1,unstable_skipClientCache:f,isBackground:h},T=h&&!m?null:await G({fetchData:()=>X(w),asPath:g?"/404":i,locale:l,router:this}).catch(e=>{if(h)return null;throw e});if(T&&("/_error"===n||"/404"===n)&&(T.effect=void 0),h&&(T?T.json=self.__NEXT_DATA__.props:T={json:self.__NEXT_DATA__.props}),t(),(null==T||null==(y=T.effect)?void 0:y.type)==="redirect-internal"||(null==T||null==(b=T.effect)?void 0:b.type)==="redirect-external")return T.effect;if((null==T||null==(_=T.effect)?void 0:_.type)==="rewrite"){let t=(0,s.removeTrailingSlash)(T.effect.resolvedHref),a=await this.pageLoader.getPageList();if((!h||a.includes(t))&&(v=t,n=T.effect.resolvedHref,r={...r,...T.effect.parsedAs.query},i=(0,k.removeBasePath)((0,p.normalizeLocalePath)(T.effect.parsedAs.pathname,this.locales).pathname),e=this.components[v],o.shallow&&e&&this.route===v&&!u))return{...e,route:v}}if((0,P.isAPIRoute)(v))return Q({url:a,router:this}),new Promise(()=>{});let R=d||await this.fetchComponent(v).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}
53)),x=null==T||null==(E=T.response)?void 0:E.headers.get("x-middleware-skip"),C=R.__N_SSG||R.__N_SSP;x&&(null==T?void 0:T.dataHref)&&delete this.sdc[T.dataHref];let{props:O,cacheKey:N}=await this._getData(async()=>{if(C){if((null==T?void 0:T.json)&&!x)return{cacheKey:T.cacheKey,props:T.json};let e=(null==T?void 0:T.dataHref)?T.dataHref:this.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:n,query:r}),asPath:i,locale:l}),t=await X({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:x?{}:this.sdc,persistCache:!c,isPrefetch:!1,unstable_skipClientCache:f});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:n,query:r,asPath:a,locale:l,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&w.dataHref&&N&&delete this.sdc[N],this.isPreview||!R.__N_SSG||h||X(Object.assign({},w,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),O.pageProps=Object.assign({},O.pageProps),R.props=O,R.route=v,R.query=r,R.resolvedAs=i,this.components[v]=R,R}catch(e){return this.handleRouteInfoError((0,d.getProperError)(e),n,r,a,o)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,n]=this.asPath.split("#",2),[r,a]=e.split("#",2);return!!a&&t===r&&n===a||t===r&&n!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,j.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),n=document.getElementById(e);if(n)return void n.scrollIntoView();let r=document.getElementsByName(e)[0];r&&r.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("u">typeof window&&(0,M.isBot)(window.navigator.userAgent))return;let a=(0,v.parseRelativeUrl)(e),i=a.pathname,{pathname:o,query:l}=a,c=o,d=await this.pageLoader.getPageList(),f=t,p=void 0!==n.locale?n.locale||void 0:this.locale,h=await $({asPath:t,locale:p,router:this});if(t.startsWith("/")){let n;({__rewrites:n}=await (0,u.getClientBuildManifest)());let i=r((0,R.addBasePath)((0,w.addLocale)(t,this.locale),!0),d,n,a.query,e=>q(e,d),this.locales);if(i.externalDest)return;h||(f=(0,T.removeLocale)((0,k.removeBasePath)(i.asPath),this.locale)),i.matchedPage&&i.resolvedHref&&(a.pathname=o=i.resolvedHref,h||(e=(0,S.formatWithValidation)(a)))}a.pathname=q(a.pathname,d),(0,g.isDynamicRoute)(a.pathname)&&(o=a.pathname,a.pathname=o,Object.assign(l,(0,y.getRouteMatcher)((0,b.getRouteRegex)(a.pathname))((0,E.parsePath)(t).pathname)||{}),h||(e=(0,S.formatWithValidation)(a)));let m=await G({fetchData:()=>X({dataHref:this.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:c,query:l}),skipInterpolation:!0,asPath:f,locale:p}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:p,router:this});if((null==m?void 0:m.effect.type)==="rewrite"&&(a.pathname=m.effect.resolvedHref,o=m.effect.resolvedHref,l={...l,...m.effect.parsedAs.query},f=m.effect.parsedAs.pathname,e=(0,S.formatWithValidation)(a)),(null==m?void 0:m.effect.type)==="redirect-external")return;let _=(0,s.removeTrailingSlash)(o);await this._bfl(t,f,n.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(_).then(t=>!!t&&X({dataHref:(null==m?void 0:m.json)?null==m?void 0:m.dataHref:this.pageLoader.getDataHref({href:e,asPath:f,locale:p}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[n.priority?"loadPage":"prefetch"](_)])}async fetchComponent(e){let t=K({route:e,router:this});try{let n=await this.pageLoader.loadPage(e);return t(),n}catch(e){throw t(),e}}_getData(e){let t=!1,n=()=>{t=!0};return this.clc=n,e().then(e=>{if(n===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,
53configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:n}=this.components["/_app"],r=this._wrapApp(n);return t.AppTree=r,(0,m.loadGetInitialProps)(n,{AppTree:r,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:r,pageLoader:a,App:i,wrapApp:o,Component:l,err:u,subscription:c,isFallback:d,locale:f,locales:p,defaultLocale:h,domainLocales:y,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=J(),this.onPopState=e=>{let t,{isFirstPopStateEvent:n}=this;this.isFirstPopStateEvent=!1;let r=e.state;if(!r){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,S.formatWithValidation)({pathname:(0,R.addBasePath)(e),query:t}),(0,m.getURL)());return}if(r.__NA)return void window.location.reload();if(!r.__N||n&&this.locale===r.options.locale&&r.as===this.asPath)return;let{url:a,as:i,options:o,key:l}=r;this._key=l;let{pathname:s}=(0,v.parseRelativeUrl)(a);this.isSsr&&i===(0,R.addBasePath)(this.asPath)&&s===(0,R.addBasePath)(this.pathname)||(!this._bps||this._bps(r))&&this.change("replaceState",a,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};const _=(0,s.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[_]={Component:l,initial:!0,props:r,err:u,__N_SSG:r&&r.__N_SSG,__N_SSP:r&&r.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=Z.events,this.pageLoader=a;const E=(0,g.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=o,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!E&&!self.location.search&&0),this.state={route:_,pathname:e,query:t,asPath:E?e:n,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!n.startsWith("//")){const r={locale:f},a=(0,m.getURL)();this._initialMatchesMiddlewarePromise=$({router:this,locale:f,asPath:a}).then(i=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",i?a:(0,S.formatWithValidation)({pathname:(0,R.addBasePath)(e),query:t}),a,r),i))}window.addEventListener("popstate",this.onPopState)}}}Z.events=(0,h.default)()},657979,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removePathPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(59084);function a(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;let n=e.slice(t.length);return n.startsWith("/")?n:`/${n}`}},283605,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let r=e.r(927711),a=e.r(657979),i=e.r(59084);function o(e,t){var n,o;let{basePath:l,i18n:s,trailingSlash:u}=null!=(n=t.nextConfig)?n:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};l&&(0,i.pathHasPrefix)(c.pathname,l)&&(c.pathname=(0,a.removePathPrefix)(c.pathname,l),c.basePath=l);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");c.buildId=e[0],d="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(c.pathname=d)}if(s){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,r.normalizeLocalePath)(c.pathname,s.locales);c.locale=e.detectedLocale,c.pathname=null!=(o=e.pathname)?o:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,r.normalizeLocalePath)(d,s.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}}]);
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.