1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5444038f-33d2-44b9-ae45-c7cdfced269b",e._sentryDebugIdIdentifier="sentry-dbid-5444038f-33d2-44b9-ae45-c7cdfced269b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8792],{321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return i}});let n=r(82585);function i(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},formatWithValidation:function(){return s},urlObjectKeys:function(){return o}});let n=r(88365)._(r(67825)),i=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||i.test(a))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+a+u+(o=o.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return a(e)}},1033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return _},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return p},ST:function(){return f},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return o},getURL:function(){return s},isAbsoluteUrl:function(){return a},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return v}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return r||(r=!0,t=e(...i)),t}}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>i.test(e);function o(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=o();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let p="undefined"!=typeof performance,f=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
1class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class _ extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}},2326:(e,t)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},2786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return o}});let n=r(71775),i=r(54933);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,i.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function o(e){return e.replace(/\.rsc($|\?)/,"$1")}},2974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return r}});let r=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},3239:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(n,"\\$&"):e}},3669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return o},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return l},TemplateContext:function(){return s}});let n=r(64252)._(r(14232)),i=n.default.createContext(null),a=n.default.createContext(null),o=n.default.createContext(null),s=n.default.createContext(null),l=n.default.createContext(new Set)},4316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HTML_LIMITED_BOT_UA_RE:function(){return n.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return a},getBotType:function(){return l},isBot:function(){return s}});let n=r(2974),i=/Googlebot(?!-)|Googlebot$/i,a=n.HTML_LIMITED_BOT_UA_RE.source;function o(e){return n.HTML_LIMITED_BOT_UA_RE.test(e)}function s(e){return i.test(e)||o(e)}function l(e){return i.test(e)?"dom":o(e)?"html":void 0}},5025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(64252),i=r(37876),a=n._(r(14232)),o=r(6763),s={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,o.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e)if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}},[e]),(0,i.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:s,children:t})},u=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(1033),i=r(67825);function a(e,t,r){void 0===r&&(r=!0);let a=new URL((0,n.getLocationOrigin)()),o=t?new URL(t,a):e.startsWith(".")?new URL(window.location.href):a,{pathname:s,searchParams:l,search:u,hash:c,href:d,origin:p}=new URL(e,o);if(p!==a.origin)throw Object.defineProperty(Error("invariant: invalid relative URL, router received "+e),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:s,query:r?(0,i.searchParamsToUrlQuery)(l):void 0,search:u,hash:c,href:d.slice(p.length),slashes:void 0}}},6763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},createRouter:function(){return m},default:function(){return f},makePublicRouterInstance:function(){return g},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(64252),i=n._(r(14232)),a=n._(r(54267)),o=r(54387),s=n._(r(66240)),l=n._(r(73824)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function p(){if(!u.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:"E394",enumerable:!1,configurable:!0});return u.router}Object.defineProperty(u,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>p()[e]})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return p()[e](...r)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{u.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i="on"+e.charAt(0).toUpperCase()+e.substring(1);if(u[i])try{u[i](...r)}catch(e){console.error("Error when running the Router event: "+i),console.error((0,s.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let f=u;function h(){let e=i.default.useContext(o.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 m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new a.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function g(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e[r](...n)}}),t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9344:(e,t,r)=>{"use strict";let n;r.d(t,{k3:()=>u,lu:()=>o,zf:()=>s});var i=r(58934),a=r(77628);function o(){return(0,i.Wk)()/1e3}function s(){return(n??(n=function(){let{performance:e}=a.O;if(!e?.now||!e.timeOrigin)return o;let t=e.timeOrigin;return()=>(t+(0,i.Qw)(()=>e.now()))/1e3}()))()}let l=null;function u(){return null===l&&(l=function(){let{performance:e}=a.O;if(!e?.now)return;let t=(0,i.Qw)(()=>e.now()),r=(0,i.Wk)(),n=e.timeOrigin;if("number"==typeof n&&3e5>Math.abs(n+t-r))return n;let o=e.timing?.navigationStart;return"number"==typeof o&&3e5>Math.abs(o+t-r)?o:r-t}()),l}},9440:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return o},PathnameContext:function(){return a},SearchParamsContext:function(){return i}});let n=r(14232),i=(0,n.createContext)(null),a=(0,n.createContext)(null),o=(0,n.createContext)(null)},10051:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});let n="10.53.1"},12479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(14232),i=n.useLayoutEffect,a=n.useEffect;function o(e){let{headManager:t,reduceComponentsToState:r}=e;function o(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},13666:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}});var r=function(e){return e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e}({});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15358:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},16450:(e,t,r)=>{"use strict";let n,i,a,o,s,l,u,c,d,p,f,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(88365);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{emitter:function(){return z},hydrate:function(){return el},initialize:function(){return Y},router:function(){return n},version:function(){return B}});let g=r(64252),_=r(37876);r(21291);let y=g._(r(14232)),v=g._(r(78944)),b=r(74324),E=g._(r(24622)),S=r(54387),T=r(20785),w=r(88668),P=r(67825),R=r(83378),x=r(1033),O=r(27311),k=g._(r(57962)),C=g._(r(82155)),I=r(5025),A=r(6763),M=r(66240),N=r(81854),j=r(39116),D=r(92860),L=r(3669),U=r(83250),F=r(9440),$=r(49452);r(69272),r(23428);let B="15.5.18",z=(0,E.default)(),H=e=>[].slice.call(e),W=!1;class q extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(i.isFallback||i.nextExport&&((0,w.isDynamicRoute)(n.pathname)||location.search||1)||i.props&&i.props.__N_SSG&&(location.search||1))&&n.replace(n.pathname+"?"+String((0,P.assign)((0,P.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!i.isFallback&&!W}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function Y(e){void 0===e&&(e={}),i=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=i,h=i.defaultLocale;let t=i.assetPrefix||"";self.__next_set_public_path__(""+t+"/_next/"),(0,R.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:i.runtimeConfig||{}}),a=(0,x.getURL)(),(0,D.hasBasePath)(a)&&(a=(0,j.removeBasePath)(a));{let{normalizeLocalePath:e}=r(83847),{detectDomainLocale:t}=r(26342),{parseRelativeUrl:n}=r(5402),{formatUrl:o}=r(359);if(i.locales){let r=n(a),s=e(r.pathname,i.locales);s.detectedLocale?(r.pathname=s.pathname,a=o(r)):h=i.locale;let l=t(!1,window.location.hostname);l&&(h=l.defaultLocale)}}if(i.scriptLoader){let{initScriptLoader:e}
1=r(87665);e(i.scriptLoader)}o=new C.default(i.buildId,t);let u=e=>{let[t,r]=e;return o.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>u(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=u,(l=(0,k.default)()).getIsSsr=()=>n.isSsr,s=document.getElementById("__next"),{assetPrefix:t}}function X(e,t){return(0,_.jsx)(e,{...t})}function G(e){var t;let{children:r}=e,i=y.default.useMemo(()=>(0,U.adaptForAppRouterInstance)(n),[]);return(0,_.jsx)(q,{fn:e=>J({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,_.jsx)(L.AppRouterContext.Provider,{value:i,children:(0,_.jsx)(F.SearchParamsContext.Provider,{value:(0,U.adaptForSearchParams)(n),children:(0,_.jsx)(U.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,_.jsx)(F.PathParamsContext.Provider,{value:(0,U.adaptForPathParams)(n),children:(0,_.jsx)(S.RouterContext.Provider,{value:(0,A.makePublicRouterInstance)(n),children:(0,_.jsx)(b.HeadManagerContext.Provider,{value:l,children:(0,_.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/marketing/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:r})})})})})})})})}let K=e=>t=>{let r={...t,Component:f,err:i.err,router:n};return(0,_.jsx)(G,{children:X(e,r)})};function J(e){let{App:t,err:s}=e;return console.error(s),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),o.loadPage("/_error").then(n=>{let{page:i,styleSheets:a}=n;return(null==u?void 0:u.Component)===i?Promise.resolve().then(()=>m._(r(31646))).then(n=>Promise.resolve().then(()=>m._(r(45139))).then(r=>(e.App=t=r.default,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:i,styleSheets:a}}).then(r=>{var o;let{ErrorComponent:l,styleSheets:u}=r,c=K(t),d={Component:l,AppTree:c,router:n,ctx:{err:s,pathname:i.page,query:i.query,asPath:a,AppTree:c}};return Promise.resolve((null==(o=e.props)?void 0:o.err)?e.props:(0,x.loadGetInitialProps)(t,d)).then(t=>eo({...e,err:s,Component:l,styleSheets:u,props:t}))})}function V(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let Q={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},Z={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},ee=null,et=!0;function er(){[Q.beforeRender,Q.afterHydrate,Q.afterRender,Q.routeChange].forEach(e=>performance.clearMarks(e))}function en(){x.ST&&(performance.mark(Q.afterHydrate),performance.getEntriesByName(Q.beforeRender,"mark").length&&(performance.measure(Z.beforeHydration,Q.navigationStart,Q.beforeRender),performance.measure(Z.hydration,Q.beforeRender,Q.afterHydrate)),p&&performance.getEntriesByName(Z.hydration).forEach(p),er())}function ei(){if(!x.ST)return;performance.mark(Q.afterRender);let e=performance.getEntriesByName(Q.routeChange,"mark");e.length&&(performance.getEntriesByName(Q.beforeRender,"mark").length&&(performance.measure(Z.routeChangeToRender,e[0].name,Q.beforeRender),performance.measure(Z.render,Q.beforeRender,Q.afterRender),p&&(performance.getEntriesByName(Z.render).forEach(p),performance.getEntriesByName(Z.routeChangeToRender).forEach(p))),er(),[Z.routeChangeToRender,Z.render].forEach(e=>performance.clearMeasures(e)))}function ea(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),r}function eo(e){let t,r,{App:i,Component:a,props:o,err:l}=e,d="initial"in e?void 0:e.styleSheets;a=a||u.Component;let p={...o=o||u.props,Component:a,err:l,router:n};u=p;let f=!1,h=new Promise((e,t)=>{c&&c(),r=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Object.defineProperty(Error("Cancel rendering route"),"__NEXT_ERROR_CODE",{value:"E503",enumerable:!1,configurable:!0});e.cancelled=!0,t(e)}});function m(){r()}!function(){if(!d)return;let e=new Set(H(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=null==t?void 0:t.getAttribute("data-n-css");d.forEach(t=>{let{href:n,text:i}=t;if(!e.has(n)){let e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(i))}})}();let g=(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(V,{callback:function(){if(d&&!f){let e=new Set(d.map(e=>e.href)),t=H(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n<r.length;++n)e.has(r[n])?t[n].removeAttribute("media"):t[n].setAttribute("media","x");let n=document.querySelector("noscript[data-n-css]");
1n&&d.forEach(e=>{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),H(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,T.disableSmoothScrollDuringRouteTransition)(()=>{window.scrollTo(t,r)})}}}),(0,_.jsxs)(G,{children:[X(i,p),(0,_.jsx)(O.Portal,{type:"next-route-announcer",children:(0,_.jsx)(I.RouteAnnouncer,{})})]})]});var b=s;x.ST&&performance.mark(Q.beforeRender);let E=(t=et?en:ei,(0,_.jsx)(ea,{callbacks:[t,m],children:(0,_.jsx)(y.default.StrictMode,{children:g})}));return ee?(0,y.default.startTransition)(()=>{ee.render(E)}):(ee=v.default.hydrateRoot(b,E,{onRecoverableError:$.onRecoverableError}),et=!1),h}async function es(e){if(e.err&&(void 0===e.Component||!e.isHydratePass))return void await J(e);try{await eo(e)}catch(r){let t=(0,M.getProperError)(r);if(t.cancelled)throw t;await J({...e,err:t})}}async function el(e){let t=i.err;try{let e=await o.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(p=e=>{let t,{id:n,name:i,startTime:a,value:o,duration:s,entryType:l,entries:u,attribution:c}=e,d=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let p={id:n||d,name:i,startTime:a||t,value:null==o?s:o,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(p.attribution=c),r.reportWebVitals(p)});let n=await o.routeLoader.whenEntrypoint(i.page);if("error"in n)throw n.error;f=n.component}catch(e){t=(0,M.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(i.dynamicIds),n=(0,A.createRouter)(i.page,i.query,a,{initialProps:i.props,pageLoader:o,App:d,Component:f,wrapApp:K,err:t,isFallback:!!i.isFallback,subscription:(e,t,r)=>es(Object.assign({},e,{App:t,scroll:r})),locale:i.locale,locales:i.locales,defaultLocale:h,domainLocales:i.domainLocales,isPreview:i.isPreview}),W=await n._initialMatchesMiddlewarePromise;let r={App:d,initial:!0,Component:f,props:i.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),es(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let n=r(83847),i=r(98091),a=r(321);function o(e,t){var r,o;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,a.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,i.removePathPrefix)(c.pathname,s),c.basePath=s);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(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.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,n.normalizeLocalePath)(d,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},17253:(e,t,r)=>{"use strict";r.d(t,{D0:()=>u,De:()=>l,sv:()=>o,yD:()=>s});var n=r(41419),i=r(56011),a=r(50045);let o="sentry-";function s(e){let t=u(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.startsWith(o)&&(e[t.slice(o.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}function l(e){if(e){var t=Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${o}${t}`]=r),e),{});return 0!==Object.keys(t).length?Object.entries(t).reduce((e,[t,r],a)=>{let o=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===a?o:`${e},${o}`;return s.length>8192?(n.T&&i.Yz.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s},""):void 0}}function u(e){if(e&&((0,a.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
1(Object.entries(c(t)).forEach(([t,r])=>{e[t]=r}),e),{}):c(e)}function c(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}},18081:(e,t,r)=>{"use strict";r.d(t,{H:()=>h});var n=r(41419),i=r(61293),a=r(56011),o=r(50045),s=r(55095),l=r(98093),u=r(42252),c=r(58934),d=r(82172),p=r(76076),f=r(9344);class h{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,u.e)(),sampleRand:(0,c.hY)()}}clone(){let e=new h;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,(0,d.r)(e,(0,d.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,i.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,attributes:n,extra:i,user:a,contexts:s,level:l,fingerprint:u=[],propagationContext:c,conversationId:d}=(t instanceof h?t.getScopeData():(0,o.Qd)(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...n},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,(0,d.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,u.e)(),sampleRand:(0,c.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:(0,f.lu)(),...e,message:e.message?(0,p.xv)(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,d.f)(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,s.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}
1captureException(e,t){let r=t?.event_id||(0,l.eJ)();if(!this._client)return n.T&&a.Yz.warn("No client configured on scope - will not capture exception!"),r;let i=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureMessage(e,t,r){let i=r?.event_id||(0,l.eJ)();if(!this._client)return n.T&&a.Yz.warn("No client configured on scope - will not capture message!"),i;let o=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...r,event_id:i},this),i}captureEvent(e,t){let r=e.event_id||t?.event_id||(0,l.eJ)();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):n.T&&a.Yz.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},18170:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ESCAPE_REGEX:function(){return n},htmlEscapeAttributeString:function(){return s},htmlEscapeJsonString:function(){return o}});let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},n=/[&><\u2028\u2029]/g,i={"&":"&",'"':""","'":"'","<":"<",">":">"},a=/[&"'<>]/g;function o(e){return e.replace(n,e=>r[e])}function s(e){return e.replace(a,e=>i[e])}},18334:(e,t,r)=>{"use strict";r.d(t,{Cp:()=>c,J0:()=>g,J5:()=>v,Ol:()=>h,SA:()=>m,bX:()=>f,o:()=>p,r:()=>d});var n=r(92797),i=r(41419),a=r(61293),o=r(56011),s=r(27640),l=r(57855),u=r(77628);function c(e,t){return(0,n.o5)().captureException(e,(0,s.li)(t))}function d(e,t){return(0,n.o5)().captureEvent(e,t)}function p(e,t){(0,n.rm)().setContext(e,t)}async function f(e){let t=(0,n.KU)();return t?t.flush(e):(i.T&&o.Yz.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function h(){let e=(0,n.KU)();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function m(e){(0,n.rm)().addEventProcessor(e)}function g(e){let t=(0,n.rm)(),{user:r}=(0,l.Om)(t,(0,n.o5)()),{userAgent:i}=u.O.navigator||{},o=(0,a.fj)({user:r,...i&&{userAgent:i},...e}),s=t.getSession();return s?.status==="ok"&&(0,a.qO)(s,{status:"exited"}),_(),t.setSession(o),o}function _(){let e=(0,n.rm)(),t=(0,n.o5)().getSession()||e.getSession();t&&(0,a.Vu)(t),y(),e.setSession()}function y(){let e=(0,n.rm)(),t=(0,n.KU)(),r=e.getSession();r&&t&&t.captureSession(r)}function v(e=!1){if(e)return void _();y()}},18438:(e,t)=>
1{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},18760:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n="production"},18804:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HTTPAccessErrorStatus:function(){return r},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return i},getAccessFallbackErrorTypeByStatus:function(){return s},getAccessFallbackHTTPStatus:function(){return o},isHTTPAccessFallbackError:function(){return a}});let r={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},n=new Set(Object.values(r)),i="NEXT_HTTP_ERROR_FALLBACK";function a(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===i&&n.has(Number(r))}function o(e){return Number(e.digest.split(";")[1])}function s(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19674:(e,t,r)=>{"use strict";r.d(t,{F3:()=>i,N8:()=>o,TJ:()=>a,a3:()=>n});let n=0,i=1,a=2;function o(e,t){e.setAttribute("http.response.status_code",t);let r=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:a,message:"unauthenticated"};case 403:return{code:a,message:"permission_denied"};case 404:return{code:a,message:"not_found"};case 409:return{code:a,message:"already_exists"};case 413:return{code:a,message:"failed_precondition"};case 429:return{code:a,message:"resource_exhausted"};case 499:return{code:a,message:"cancelled"};default:return{code:a,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:a,message:"unimplemented"};case 503:return{code:a,message:"unavailable"};case 504:return{code:a,message:"deadline_exceeded"}}return{code:a,message:"internal_error"}}(t);"unknown_error"!==r.message&&e.setStatus(r)}},20718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(51082),i=r(70159);function a(e,t,r){let a="",o=(0,i.getRouteRegex)(e),s=o.groups,l=(t!==e?(0,n.getRouteMatcher)(o)(t):"")||r;a=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],i="["+(r?"...":"")+e+"]";return n&&(i=(t?"":"/")+"["+i+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(i,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:u,result:a}}},20785:(e,t,r)=>{"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange)return void e();let r=document.documentElement;r.dataset.scrollBehavior;let n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),r(76456)},21112:(e,t)=>
1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=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)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21291:()=>{"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(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),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}})},23428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return a}});let n=r(18804),i=r(86500);function a(e){return(0,i.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23908:(e,t,r)=>{"use strict";r.d(t,{CC:()=>g,aO:()=>_,Hu:()=>U,uU:()=>T,Bk:()=>H,zU:()=>B,i$:()=>j,xO:()=>$,yW:()=>N,HQ:()=>w,VS:()=>F,xl:()=>W,pK:()=>M,cI:()=>P,et:()=>x,RD:()=>O,kX:()=>b,Qh:()=>E,G_:()=>S,Ck:()=>v,PL:()=>C});var n=r(81819);function i(e,t=!1){let r={};for(let[n,i]of Object.entries(e??{})){let e=function(e,t){let{value:r,unit:n}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},i=function(e){let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(r),a=n&&"string"==typeof n?{unit:n}:{};if(i)return{...i,...a};if(!t||"skip-undefined"===t&&void 0===r)return;let o="";try{o=JSON.stringify(r)??""}catch{}return{value:o,type:"string",...a}}(i,t);e&&(r[n]=e)}return r}var a=r(46925),o=r(92797),s=r(57510),l=r(19674),u=r(50768),c=r(71830),d=r(42252),p=r(9344),f=r(35033),h=r(56011),m=r(82172);let g=0,_=1,y=!1;function v(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:i,parent_span_id:a,status:o,origin:s,links:l}=x(e);return{parent_span_id:a,span_id:t,trace_id:r,data:n,op:i,status:o,origin:s,links:l}}function b(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),i=n?t:x(e).parent_span_id,a=(0,u.L)(e).scope;return{parent_span_id:i,span_id:n?a?.getPropagationContext().propagationSpanId||(0,d.Z)():t,trace_id:r}}function E(e){let{traceId:t,spanId:r}=e.spanContext(),n=M(e);return(0,f.TC)(t,r,n)}function S(e){let{traceId:t,spanId:r}=e.spanContext(),n=M(e);return(0,f.Iy)(t,r,n)}function T(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:i})=>({span_id:e,trace_id:t,sampled:r===_,attributes:i,...n})):void 0}function w(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:r},attributes:n}
1)=>({span_id:e,trace_id:t,sampled:r===_,attributes:n})):void 0}function P(e){return"number"==typeof e?R(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?R(e.getTime()):(0,p.zf)()}function R(e){return e>0x2540be3ff?e/1e3:e}function x(e){if(A(e))return e.getSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(I(e)){let{attributes:n,startTime:i,name:a,endTime:o,status:l,links:u}=e;return{span_id:t,trace_id:r,data:n,description:a,parent_span_id:k(e),start_timestamp:P(i),timestamp:P(o)||void 0,status:N(l),op:n[s.uT],origin:n[s.JD],links:T(u)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function O(e){if(A(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(I(e)){let{attributes:n,startTime:i,name:a,endTime:o,status:s,links:l}=e;return{name:a,span_id:t,trace_id:r,parent_span_id:k(e),start_timestamp:P(i),end_timestamp:P(o),is_segment:e===z(e),status:j(s),attributes:n,links:w(l)}}return{span_id:t,trace_id:r,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===z(e)}}function k(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function C(e){return{...e,attributes:i(e.attributes),links:e.links?.map(e=>({...e,attributes:i(e.attributes)}))}}function I(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function A(e){return"function"==typeof e.getSpanJSON}function M(e){let{traceFlags:t}=e.spanContext();return t===_}function N(e){if(e&&e.code!==l.a3)return e.code===l.F3?"ok":e.message||"internal_error"}function j(e){return e&&e.code!==l.F3&&e.code!==l.a3&&"cancelled"!==e.message?"error":"ok"}let D="_sentryChildSpans",L="_sentryRootSpan";function U(e,t){let r=e[L]||e;(0,c.my)(t,L,r),e[D]?e[D].add(t):(0,c.my)(e,D,new Set([t]))}function F(e,t){e[D]&&e[D].delete(t)}function $(e){let t=new Set;return!function e(r){if(!t.has(r)&&M(r))for(let n of(t.add(r),r[D]?Array.from(r[D]):[]))e(n)}(e),Array.from(t)}let B=z;function z(e){return e[L]||e}function H(){let e=(0,a.EU)(),t=(0,n.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,m.f)((0,o.o5)())}function W(){y||((0,h.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),y=!0)}},24622:(e,t)=>{"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},24802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return i},getSortedRoutes:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let 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 r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.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});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_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,
1configurable:!0});let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let r=i.slice(1,-1),o=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),o=!0),r.startsWith("â¦"))throw Object.defineProperty(Error("Detected a three-dot character ('â¦') at ('"+r+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Object.defineProperty(Error("Segment names may not start or end with extra brackets ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(r.startsWith("."))throw Object.defineProperty(Error("Segment names may not start with erroneous periods ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Object.defineProperty(Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}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,r),this.optionalRestSlugName=r,i="[[...]]"}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,r),this.restSlugName=r,i="[...]"}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,r),this.slugName=r,i="[]"}}this.children.has(i)||this.children.set(i,new r),this.children.get(i)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}function i(e,t){let r={},i=[];for(let n=0;n<e.length;n++){let a=t(e[n]);r[a]=n,i[n]=a}return n(i).map(t=>e[r[t]])}},25372:(e,t,r)=>{"use strict";function n(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}r.d(t,{i:()=>n})},26342:(e,t)=>{"use strict";function r(e,t,r){if(e)for(let a of(r&&(r=r.toLowerCase()),e)){var n,i;if(t===(null==(n=a.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===a.defaultLocale.toLowerCase()||(null==(i=a.locales)?void 0:i.some(e=>e.toLowerCase()===r)))return a}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},27311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(14232),i=r(98477),a=e=>{let{children:t,type:r}=e,[a,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}},[r]),a?(0,i.createPortal)(t,a):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27426:(e,t)=>{"use strict";function r(e){return new URL(e,"http://n").searchParams}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},27640:(e,t,r)=>{"use strict";let n,i,a,o;r.d(t,{li:()=>b,mG:()=>v});var s=r(18760),l=r(41419),u=r(56011),c=r(50045),d=r(60963),p=r(18081),f=r(77628),h=r(98093),m=r(57284),g=r(57855),_=r(76076),y=r(9344);function v(e,t,r,v,b,E){var S,T;let{normalizeDepth:w=3,normalizeMaxBreadth:P=1e3}=e,R={...t,event_id:t.event_id||r.event_id||(0,h.eJ)(),timestamp:t.timestamp||(0,y.lu)()},x=r.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:r,release:n,dist:i,maxValueLength:a}=t;e.environment=e.environment||r||s.U,!e.release&&n&&(e.release=n),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=(0,_.xv)(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&(e.value=(0,_.xv)(e.value,a))})})(R,e),S=R,(T=x).length>0&&(S.sdk=S.sdk||{},S.sdk.integrations=[...S.sdk.integrations||[],...T]),b&&b.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let r=function(e){let t=f.O._sentryDebugIds,r=f.O._debugIds;if(!t&&!r)return{};let s=t?Object.keys(t):[],l=r?Object.keys(r):[];if(o&&s.length===i&&l.length===a)return o;i=s.length,a=l.length,o={},n||(n={});let u=(t,r)=>{for(let i of t){let t=r[i],a=n?.[i];if(a&&o&&t)o[a[0]]=t,n&&(n[i]=[a[0],t]);else if(t){let r=e(i);for(let e=r.length-1;e>=0;e--){let a=r[e],s=a?.filename;if(s&&o&&n){o[s]=t,n[i]=[s,t];break}}}}};return t&&u(s,t),r&&u(l,r),o}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}(R,e.stackParser);let O=function(e,t){if(!t)return e;let r=e?e.clone():new p.H;return r.update(t),r}(v,r.captureContext);r.mechanism&&(0,h.M6)(R,r.mechanism);let k=b?b.getEventProcessors():[],C=(0,g.Om)(E,O),I=[...r.attachments||[],...C.attachments];I.length&&(r.attachments=I),(0,g.e2)(R,C);let A=[...k,...C.eventProcessors];return(r.data&&!0===r.data.__sentry__?(0,d.XW)(R):function(e,t,r,n=0){try{let i=function e(t,r,n,i){let a=n[i];if(!t||!a)return t;let o=a({...t},r);return(l.T&&null===o&&u.Yz.log(`Event processor "${a.id||"?"}" dropped event`),(0,c.Qg)(o))?o.then(t=>e(t,r,n,i+1)):e(o,r,n,i+1)}(t,r,e,n);return(0,c.Qg)(i)?i:(0,d.XW)(i)}catch(e){return(0,d.xg)(e)}}(A,R,r)).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof w&&w>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,m.S8)(e.data,t,r)}}))},...e.user&&{user:(0,m.S8)(e.user,t,r)},...e.contexts&&{contexts:(0,m.S8)(e.contexts,t,r)},...e.extra&&{extra:(0,m.S8)(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,m.S8)(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,m.S8)(e.data,t,r)}}))),e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,m.S8)(e.contexts.flags,3,r)),n}(e,w,P):e)}function b(e){if(e){var t;return(t=e)instanceof p.H||"function"==typeof t||Object.keys(e).some(e=>E.includes(e))?{captureContext:e}:e}}let E=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},29509:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var i="",a=r+1;a<e.length;){var o=e.charCodeAt(a);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){i+=e[a++];continue}break}if(!i)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:i}),r=a;continue}if("("===n){var s=1,l="",a=r+1;if("?"===e[a])throw TypeError('Pattern cannot start with "?" at '.concat(a));for(;a<e.length;){if("\\"===e[a]){l+=e[a++]+e[a++];continue}if(")"===e[a]){if(0==--s){a++;break}}else if("("===e[a]&&(s++,"?"!==e[a+1]))throw TypeError("Capturing groups are not allowed at ".concat(a));l+=e[a++]}if(s)throw TypeError("Unbalanced pattern at ".concat(r));if(!l)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=a;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,a=void 0===n?"./":n,o=t.delimiter,s=void 0===o?"/#?":o,l=[],u=0,c=0,d="",p=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},f=function(e){var t=p(e);if(void 0!==t)return t;var n=r[c],i=n.type,a=n.index;throw TypeError("Unexpected ".concat(i," at ").concat(a,", expected ").concat(e))},h=function(){for(var e,t="";e=p("CHAR")||p("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var r=s[t];if(e.indexOf(r)>-1)return!0}return!1},g=function(e){var t=l[l.length-1],r=e||(t&&"string"==typeof t?t:"");
1if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||m(r)?"[^".concat(i(s),"]+?"):"(?:(?!".concat(i(r),")[^").concat(i(s),"])+?")};c<r.length;){var _=p("CHAR"),y=p("NAME"),v=p("PATTERN");if(y||v){var b=_||"";-1===a.indexOf(b)&&(d+=b,b=""),d&&(l.push(d),d=""),l.push({name:y||u++,prefix:b,suffix:"",pattern:v||g(b),modifier:p("MODIFIER")||""});continue}var E=_||p("ESCAPED_CHAR");if(E){d+=E;continue}if(d&&(l.push(d),d=""),p("OPEN")){var b=h(),S=p("NAME")||"",T=p("PATTERN")||"",w=h();f("CLOSE"),l.push({name:S||(T?u++:""),pattern:S&&!T?g(b):T,prefix:b,suffix:w,modifier:p("MODIFIER")||""});continue}f("END")}return l}function r(e,t){void 0===t&&(t={});var r=a(t),n=t.encode,i=void 0===n?function(e){return e}:n,o=t.validate,s=void 0===o||o,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var a=e[n];if("string"==typeof a){r+=a;continue}var o=t?t[a.name]:void 0,u="?"===a.modifier||"*"===a.modifier,c="*"===a.modifier||"+"===a.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(a.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(a.name,'" to not be empty'))}for(var d=0;d<o.length;d++){var p=i(o[d],a);if(s&&!l[n].test(p))throw TypeError('Expected all "'.concat(a.name,'" to match "').concat(a.pattern,'", but got "').concat(p,'"'));r+=a.prefix+p+a.suffix}continue}if("string"==typeof o||"number"==typeof o){var p=i(String(o),a);if(s&&!l[n].test(p))throw TypeError('Expected "'.concat(a.name,'" to match "').concat(a.pattern,'", but got "').concat(p,'"'));r+=a.prefix+p+a.suffix;continue}if(!u){var f=c?"an array":"a string";throw TypeError('Expected "'.concat(a.name,'" to be ').concat(f))}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,i=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var a=n[0],o=n.index,s=Object.create(null),l=1;l<n.length;l++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return i(e,r)}):s[r.name]=i(n[e],r)}}(l);return{path:a,index:o,params:s}}}function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e&&e.sensitive?"":"i"}function o(e,t,r){void 0===r&&(r={});for(var n=r.strict,o=void 0!==n&&n,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,d=r.delimiter,p=r.endsWith,f="[".concat(i(void 0===p?"":p),"]|$"),h="[".concat(i(void 0===d?"/#?":d),"]"),m=void 0===s||s?"^":"",g=0;g<e.length;g++){var _=e[g];if("string"==typeof _)m+=i(c(_));else{var y=i(c(_.prefix)),v=i(c(_.suffix));if(_.pattern)if(t&&t.push(_),y||v)if("+"===_.modifier||"*"===_.modifier){var b="*"===_.modifier?"?":"";m+="(?:".concat(y,"((?:").concat(_.pattern,")(?:").concat(v).concat(y,"(?:").concat(_.pattern,"))*)").concat(v,")").concat(b)}else m+="(?:".concat(y,"(").concat(_.pattern,")").concat(v,")").concat(_.modifier);else{if("+"===_.modifier||"*"===_.modifier)throw TypeError('Can not repeat "'.concat(_.name,'" without a prefix and suffix'));m+="(".concat(_.pattern,")").concat(_.modifier)}else m+="(?:".concat(y).concat(v,")").concat(_.modifier)}}if(void 0===l||l)o||(m+="".concat(h,"?")),m+=r.endsWith?"(?=".concat(f,")"):"$";else{var E=e[e.length-1],S="string"==typeof E?h.indexOf(E[E.length-1])>-1:void 0===E;o||(m+="(?:".concat(h,"(?=").concat(f,"))?")),S||(m+="(?=".concat(h,"|").concat(f,")"))}return new RegExp(m,a(r))}function s(t,r,n){if(t instanceof RegExp){var i;if(!r)return t;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(t.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(t.source);return t}return Array.isArray(t)?(i=t.map(function(e){return s(e,r,n).source}),new RegExp("(?:".concat(i.join("|"),")"),a(n))):o(e(t,n),r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0,t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=o,t.pathToRegexp=s})(),e.exports=t})()},29663:(e,t,r)=>{"use strict";function n(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:n}
1=r(55040);return n(Array.isArray(t)?t.join("; "):t)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return n}})},30425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return g},getClientBuildManifest:function(){return h},isAssetError:function(){return c},markAssetError:function(){return u}}),r(64252),r(15358);let n=r(87233),i=r(21112),a=r(78757),o=r(44047);function s(e,t,r){let n,i=t.get(e);if(i)return"future"in i?i.future:Promise.resolve(i);let a=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let l=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,l,{})}function c(e){return e&&l in e}let d=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),p=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function f(e,t,r){return new Promise((n,a)=>{let o=!1;e.then(e=>{o=!0,n(e)}).catch(a),(0,i.requestIdleCallback)(()=>setTimeout(()=>{o||a(r)},t))})}function h(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):f(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,u(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})))}function m(e,t){return h().then(r=>{if(!(t in r))throw u(Object.defineProperty(Error("Failed to lookup route: "+t),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let i=r[t].map(t=>e+"/_next/"+(0,o.encodeURIPath)(t));return{scripts:i.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+p()),css:i.filter(e=>e.endsWith(".css")).map(e=>e+p())}})}function g(e){let t=new Map,r=new Map,n=new Map,a=new Map;function o(e){{var t;let n=r.get(e.toString());return n?n:document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(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)})),n)}}function l(e){let t=n.get(e);return t||n.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 u(e)})),t}return{whenEntrypoint:e=>s(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})}
1,loadRoute(r,n){return s(r,a,()=>{let i;return f(m(e,r).then(e=>{let{scripts:n,css:i}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(o)),Promise.all(i.map(l))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,u(Object.defineProperty(Error("Route did not complete loading: "+r),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0}))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==i?void 0:i())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():m(e,t).then(e=>Promise.all(d?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,i)=>{let a='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(a))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>i(u(Object.defineProperty(Error("Failed to prefetch: "+t),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,i.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31277:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},31500:(e,t)=>{"use strict";function r(e,t,r,n,a){let o=e[t];if(a&&a.has(t)?o=a.get(t):Array.isArray(o)?o=o.map(e=>encodeURIComponent(e)):"string"==typeof o&&(o=encodeURIComponent(o)),!o){let a="oc"===r;if("c"===r||a)return a?{param:t,value:null,type:r,treeSegment:[t,"",r]}:{param:t,value:o=n.split("/").slice(1).flatMap(t=>{var r;let n=i(t);return null!=(r=e[n.key])?r:n.key}),type:r,treeSegment:[t,o.join("/"),r]}}return{param:t,value:o,treeSegment:[t,Array.isArray(o)?o.join("/"):o,r],type:r}}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PARAMETER_PATTERN:function(){return n},getDynamicParam:function(){return r},parseMatchedParameter:function(){return a},parseParameter:function(){return i}});let n=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function i(e){let t=e.match(n);return t?a(t[2]):a(e)}function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},31646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(64252),i=r(37876),a=n._(r(14232)),o=n._(r(97918)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{req:t,res:r,err:n}=e;return{statusCode:r&&r.statusCode?r.statusCode:n?n.statusCode:404,hostname:window.location.hostname}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,i.jsxs)("div",{style:u.error,children:[(0,i.jsx)(o.default,{children:(0,i.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,i.jsxs)("div",{style:u.desc,children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,i.jsx)("h1",{className:"next-error-h1",style:u.h1,children:e}):null,(0,i.jsx)("div",{style:u.wrap,children:(0,i.jsxs)("h2",{style:u.h2,children:[this.props.title||e?r:(0,i.jsxs)(i.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,i.jsxs)(i.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32117:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{hasAdjacentParameterIssues:function(){return n},normalizeAdjacentParameters:function(){return i},normalizeTokensForRegexp:function(){return a},stripParameterSeparators:function(){return o}});let r="_NEXTSEP_";function n(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 i(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${r}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${r}`)}function a(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 o(e){let t={};for(let[n,i]of Object.entries(e))"string"==typeof i?t[n]=i.replace(RegExp(`^${r}`),""):Array.isArray(i)?t[n]=i.map(e=>"string"==typeof e?e.replace(RegExp(`^${r}`),""):e):t[n]=i;return t}},35033:(e,t,r)=>{"use strict";r.d(t,{Iy:()=>c,MI:()=>s,TC:()=>u,kM:()=>l});var n=r(17253),i=r(25372),a=r(42252),o=r(58934);let s=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function l(e,t){let r=function(e){let t;if(!e)return;let r=e.match(s);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}(e),l=(0,n.yD)(t);if(!r?.traceId)return{traceId:(0,a.e)(),sampleRand:(0,o.hY)()};let u=function(e,t){let r=(0,i.i)(t?.sample_rand);if(void 0!==r)return r;let n=(0,i.i)(t?.sample_rate);return n&&e?.parentSampled!==void 0?e.parentSampled?(0,o.hY)()*n:n+(0,o.hY)()*(1-n):(0,o.hY)()}(r,l);l&&(l.sample_rand=u.toString());let{traceId:c,parentSpanId:d,parentSampled:p}=r;return{traceId:c,parentSpanId:d,sampled:p,dsc:l||{},sampleRand:u}}function u(e=(0,a.e)(),t=(0,a.Z)(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function c(e=(0,a.e)(),t=(0,a.Z)(),r){return`00-${e}-${t}-${r?"01":"00"}`}},37535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return i}});let n=r(82585);function i(e,t){{let{pathname:r}=(0,n.parsePath)(e),i=r.toLowerCase(),a=null==t?void 0:t.toLowerCase();return t&&(i.startsWith("/"+a+"/")||i==="/"+a)?(r.length===t.length+1?"/":"")+e.slice(t.length+1):e}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38087:(e,t,r)=>{"use strict";r.d(t,{LZ:()=>f,ao:()=>m,k1:()=>g});var n=r(18760),i=r(92797),a=r(57510),o=r(17253),s=r(63442),l=r(95837),u=r(71830),c=r(23908),d=r(50768);let p="_frozenDsc";function f(e,t){(0,u.my)(e,p,t)}function h(e,t){let r=t.getOptions(),{publicKey:i}=t.getDsn()||{},a={environment:r.environment||n.U,release:r.release,public_key:i,trace_id:e,org_id:(0,s.ul)(t)};return t.emit("createDsc",a),a}function m(e,t){let r=t.getPropagationContext();return r.dsc||h(r.traceId,e)}function g(e){let t=(0,i.KU)();if(!t)return{};let r=(0,c.zU)(e),n=(0,c.et)(r),s=n.data,u=r.spanContext().traceState,f=u?.get("sentry.sample_rate")??s[a.sy]??s[a.Ef];function m(e){return("number"==typeof f||"string"==typeof f)&&(e.sample_rate=`${f}`),e}let g=r[p];if(g)return m(g);let _=u?.get("sentry.dsc"),y=_&&(0,o.yD)(_);if(y)return m(y);let v=h(e.spanContext().traceId,t),b=s[a.i_]??s["sentry.span.source"],E=n.description;return"url"!==b&&E&&(v.transaction=E),(0,l.f)()&&(v.sampled=String((0,c.pK)(r)),v.sample_rand=u?.get("sentry.sample_rand")??(0,d.L)(r).scope?.getPropagationContext().sampleRand.toString()),m(v),t.emit("createDsc",v,r),v}},39116:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(92860),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39118:(e,t,r)=>{"use strict";globalThis._sentryRewritesTunnelPath="/monitoring",globalThis.SENTRY_RELEASE={id:"v2.105.1"},globalThis._sentryBasePath=void 0,globalThis._sentryNextJsVersion="15.5.18",globalThis._sentryRewriteFramesAssetPrefixPath="/marketing",globalThis._sentryAssetPrefix="/marketing",globalThis._sentryExperimentalThirdPartyOriginStackFrames=void 0,globalThis._sentryRouteManifest='{"dynamicRoutes":[{"path":"/academy/:resourceTypeSlug","regex":"^/academy/([^/]+)$","paramNames":["resourceTypeSlug"],"hasOptionalPrefix":false},{"path":"/academy/:resourceTypeSlug/:slug","regex":"^/academy/([^/]+)/([^/]+)$","paramNames":["resourceTypeSlug","slug"],"hasOptionalPrefix":false},{"path":"/academy/events/:event","regex":"^/academy/events/([^/]+)$","paramNames":["event"],"hasOptionalPrefix":false},{"path":"/academy/topics/:slug","regex":"^/academy/topics/([^/]+)$","paramNames":["slug"],"hasOptionalPrefix":false},{"path":"/content/:slug*","regex":"^/content/(.+)$","paramNames":["slug"],"hasOptionalPrefix":false},{"path":"/contributors/:id","regex":"^/contributors/([^/]+)$","paramNames":["id"],"hasOptionalPrefix":false},{"path":"/plans/:plan_id/:currency","regex":"^/plans/([^/]+)/([^/]+)$","paramNames":["plan_id","currency"],"hasOptionalPrefix":false},{"path":"/support/manage-subscriptions/:data*","regex":"^/support/manage-subscriptions/(.+)$","paramNames":["data"],"hasOptionalPrefix":false}],"staticRoutes":[{"path":"/newsletters"},{"path":"/newsletters/confirm-email"},{"path":"/newsletters/confirmed"},{"path":"/"},{"path":"/academy"},{"path":"/academy/events"},{"path":"/academy/search"},{"path":"/discussion"},{"path":"/features"},{"path":"/learn/account-billing/cookies-463188"},{"path":"/learn/account-billing/disclaimer-463143"},{"path":"/learn/account-billing/privacy-policy-463148"},{"path":"/learn/account-billing/terms-of-use-463173"},{"path":"/plans"},{"path":"/plans/auth-complete"},{"path":"/stock-research"},{"path":"/stockranks"},{"path":"/support/manage-subscriptions"},{"path":"/team"},{"path":"/widgets/customise-plan"}],"isrRoutes":[]}',e.exports=r(82262)},39308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return h},APP_DIR_ALIAS:function(){return N},CACHE_ONE_YEAR:function(){return R},DOT_NEXT_ALIAS:function(){return A},ESLINT_DEFAULT_DIRS:function(){return ee},GSP_NO_RETURNED_VALUE:function(){return G},GSSP_COMPONENT_MEMBER_ERROR:function(){return V},GSSP_NO_RETURNED_VALUE:function(){return K},HTML_CONTENT_TYPE_HEADER:function(){return n},INFINITE_CACHE:function(){return x},INSTRUMENTATION_HOOK_FILENAME:function(){return C},JSON_CONTENT_TYPE_HEADER:function(){return i},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return O},MIDDLEWARE_LOCATION_REGEXP:function(){return k},NEXT_BODY_SUFFIX:function(){return _},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return P},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return v},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return b},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return w},NEXT_CACHE_TAGS_HEADER:function(){return y},NEXT_CACHE_TAG_MAX_ITEMS:function(){return S},NEXT_CACHE_TAG_MAX_LENGTH:function(){return T},NEXT_DATA_SUFFIX:function(){return m},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return o},NEXT_META_SUFFIX:function(){return g},NEXT_QUERY_PARAM_PREFIX:function(){return a},NEXT_RESUME_HEADER:function(){return E},NON_STANDARD_NODE_ENV:function(){return Q},PAGES_DIR_ALIAS:function(){return I},PRERENDER_REVALIDATE_HEADER:function(){return l},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return u},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return z},ROOT_DIR_ALIAS:function(){return M},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return B},RSC_ACTION_ENCRYPTION_ALIAS:function(){return $},RSC_ACTION_PROXY_ALIAS:function(){return L},RSC_ACTION_VALIDATE_ALIAS:function(){return D},RSC_CACHE_WRAPPER_ALIAS:function(){return U},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return F},RSC_MOD_REF_PROXY_ALIAS:function(){return j},RSC_PREFETCH_SUFFIX:function(){return c},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return p},RSC_SUFFIX:function(){return f},SERVER_PROPS_EXPORT_ERROR:function(){return X},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return W},SERVER_PROPS_SSG_CONFLICT:function(){return q},SERVER_RUNTIME:function(){return et},SSG_FALLBACK_EXPORT_ERROR:function(){return Z},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return H},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return Y},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return r},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return J},WEBPACK_LAYERS:function(){return en},WEBPACK_RESOURCE_QUERIES:function(){return ei}});let r="text/plain",n="text/html; charset=utf-8",i="application/json; charset=utf-8",a="nxtP",o="nxtI",s="x-matched-path",l="x-prerender-revalidate",u="x-prerender-revalidate-if-generated",c=".prefetch.rsc",d=".segments",p=".segment.rsc",f=".rsc",h=".action",m=".json",g
1=".meta",_=".body",y="x-next-cache-tags",v="x-next-revalidated-tags",b="x-next-revalidate-tag-token",E="next-resume",S=128,T=256,w=1024,P="_N_T_",R=31536e3,x=0xfffffffe,O="middleware",k=`(?:src/)?${O}`,C="instrumentation",I="private-next-pages",A="private-dot-next",M="private-next-root-dir",N="private-next-app-dir",j="private-next-rsc-mod-ref-proxy",D="private-next-rsc-action-validate",L="private-next-rsc-server-reference",U="private-next-rsc-cache-wrapper",F="private-next-rsc-track-dynamic-import",$="private-next-rsc-action-encryption",B="private-next-rsc-action-client-wrapper",z="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",H="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",W="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",q="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",Y="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",X="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",G="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",K="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",J="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",V="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Q='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',Z="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ee=["app","pages","components","lib","src"],et={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},er={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},en={...er,GROUP:{builtinReact:[er.reactServerComponents,er.actionBrowser],serverOnly:[er.reactServerComponents,er.actionBrowser,er.instrument,er.middleware],neutralTarget:[er.apiNode,er.apiEdge],clientOnly:[er.serverSideRendering,er.appPagesBrowser],bundled:[er.reactServerComponents,er.actionBrowser,er.serverSideRendering,er.appPagesBrowser,er.shared,er.instrument,er.middleware],appPages:[er.reactServerComponents,er.serverSideRendering,er.appPagesBrowser,er.actionBrowser]}},ei={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},40342:(e,t)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},40840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return i}});let n=r(82585);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:a}=(0,n.parsePath)(e);return""+t+r+i+a}},41419:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n=!1},42133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});let n=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r(26342).detectDomainLocale(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42252:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a,e:()=>i});var n=r(98093);function i(){return(0,n.eJ)()}function a(){return(0,n.eJ)().substring(16)}},42560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(40840),i=r(321);function a(e,t,r,a){if(!t||t===r)return e;let o=e.toLowerCase();return!a&&((0,i.pathHasPrefix)(o,"/api")||(0,i.pathHasPrefix)(o,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},43004:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44047:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},45139:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(64252),i=r(37876),a=n._(r(14232)),o=r(1033);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,o.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,i.jsx)(e,{...t})}}l.origGetInitialProps=s,l.getInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(63021),r(39118);let n=r(16450);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46925:(e,t,r)=>{"use strict";r.d(t,{BY:()=>s,EU:()=>a,Se:()=>o});var n=r(10051),i=r(77628);function a(){return o(i.O),i.O}function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.M,t[n.M]=t[n.M]||{}}function s(e,t,r=i.O){let a=r.__SENTRY__=r.__SENTRY__||{},o=a[n.M]=a[n.M]||{};return o[e]||(o[e]=t())}},48076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let 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 r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(""+e+r)%this.numBits;t.push(n)}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)}}},49452:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isRecoverableError:function(){return l},onRecoverableError:function(){return u}});
1let n=r(64252),i=r(66336),a=n._(r(66240)),o=r(43004),s=new WeakSet;function l(e){return s.has(e)}let u=e=>{let t=(0,a.default)(e)&&"cause"in e?e.cause:e;(0,i.isBailoutToCSRError)(t)||(0,o.reportGlobalError)(t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50045:(e,t,r)=>{"use strict";r.d(t,{BD:()=>s,Kg:()=>u,L2:()=>v,NF:()=>c,Qd:()=>p,Qg:()=>g,T2:()=>o,W6:()=>l,bJ:()=>i,gd:()=>m,ks:()=>b,mE:()=>_,sO:()=>d,tH:()=>y,vq:()=>h,xH:()=>f});let n=Object.prototype.toString;function i(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return y(e,Error)}}function a(e,t){return n.call(e)===`[object ${t}]`}function o(e){return a(e,"ErrorEvent")}function s(e){return a(e,"DOMError")}function l(e){return a(e,"DOMException")}function u(e){return a(e,"String")}function c(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||c(e)||"object"!=typeof e&&"function"!=typeof e}function p(e){return a(e,"Object")}function f(e){return"undefined"!=typeof Event&&y(e,Event)}function h(e){return"undefined"!=typeof Element&&y(e,Element)}function m(e){return a(e,"RegExp")}function g(e){return!!(e?.then&&"function"==typeof e.then)}
1function _(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e,t){try{return e instanceof t}catch{return!1}}function v(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue||e.__v_isVNode))}function b(e){return"undefined"!=typeof Request&&y(e,Request)}},50563:e=>{"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},50768:(e,t,r)=>{"use strict";r.d(t,{L:()=>l,d:()=>s});var n=r(71830),i=r(77628);let a="_sentryScope",o="_sentryIsolationScope";function s(e,t,r){e&&((0,n.my)(e,o,function(e){try{let t=i.O.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(r)),(0,n.my)(e,a,t))}function l(e){return{scope:e[a],isolationScope:function(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}(e[o])}}},50781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return o},isInterceptionRouteAppPath:function(){return a}});let n=r(2786),i=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>i.find(t=>e.startsWith(t)))}function o(e){let t,r,a;for(let n of e.split("/"))if(r=i.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Object.defineProperty(Error("Invalid interception route: "+e+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?"/"+a:t+"/"+a;break;case"(..)":if("/"===t)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let o=t.split("/");if(o.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});a=o.slice(0,-2).concat(a).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:a}}},51082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return a}});let n=r(1033),i=r(61137);function a(e){let{re:t,groups:r}=e;return(0,i.safeRouteMatcher)(e=>{let i=t.exec(e);if(!i)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,t]of Object.entries(r)){let r=i[t.pos];void 0!==r&&(t.repeat?o[e]=r.split("/").map(e=>a(e)):o[e]=a(r))}return o})}},54267:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return Y},default:function(){return K},matchesMiddleware:function(){return U}});let i=r(64252),a=r(88365),o=r(69239),s=r(30425),l=r(87665),u=a._(r(66240)),c=r(88524),d=r(83847),p=i._(r(24622)),f=r(1033),h=r(88668),m=r(5402),g=r(51082),_=r(70159),y=r(359),v=r(42133),b=r(82585),E=r(89266),S=r(37535),T=r(39116),w=r(69011),P=r(92860),R=r(58004),x=r(2326),O=r(1
17136),k=r(72129),C=r(99328),I=r(65790),A=r(4316),M=r(31277),N=r(20718),j=r(20785),D=r(39308);function L(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function U(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,b.parsePath)(e.asPath),n=(0,P.hasBasePath)(r)?(0,T.removeBasePath)(r):r,i=(0,w.addBasePath)((0,E.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(i))}function F(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function $(e,t,r){let[n,i]=(0,R.resolveHref)(e,t,!0),a=(0,f.getLocationOrigin)(),o=n.startsWith(a),s=i&&i.startsWith(a);n=F(n),i=i?F(i):i;let l=o?n:(0,w.addBasePath)(n),u=r?F((0,R.resolveHref)(e,r)):i||n;return{url:l,as:s?u:(0,w.addBasePath)(u)}}function B(e,t){let r=(0,o.removeTrailingSlash)((0,c.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,h.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,o.removeTrailingSlash)(e))}async function z(e){if(!await U(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let i={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!0},a=t.headers.get("x-nextjs-rewrite"),l=a||t.headers.get("x-nextjs-matched-path"),u=t.headers.get(D.MATCHED_PATH_HEADER);if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let t=(0,m.parseRelativeUrl)(l),u=(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:i,parseData:!0}),c=(0,o.removeTrailingSlash)(u.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,s.getClientBuildManifest)()]).then(i=>{let[o,{__rewrites:s}]=i,l=(0,E.addLocale)(u.pathname,u.locale);if((0,h.isDynamicRoute)(l)||!a&&o.includes((0,d.normalizeLocalePath)((0,T.removeBasePath)(l),r.router.locales).pathname)){let r=(0,O.getNextPathnameInfo)((0,m.parseRelativeUrl)(e).pathname,{nextConfig:void 0,parseData:!0});t.pathname=l=(0,w.addBasePath)(r.pathname)}{let e=n(l,o,s,t.query,e=>B(e,o),r.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,l=t.pathname,Object.assign(t.query,e.parsedAs.query))}let p=o.includes(c)?c:B((0,d.normalizeLocalePath)((0,T.removeBasePath)(t.pathname),r.router.locales).pathname,o);if((0,h.isDynamicRoute)(p)){let e=(0,g.getRouteMatcher)((0,_.getRouteRegex)(p))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:p}})}let t=(0,b.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,k.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:i,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=(0,b.parsePath)(c),t=(0,k.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(e.pathname,{nextConfig:i,parseData:!0}),defaultLocale:r.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:r}}n=r(90086).A;let H=Symbol("SSG_DATA_NOT_FOUND");function W(e){try{return JSON.parse(e)}catch(e){return null}}function q(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:i,isServerRender:a,parseJSON:o,persistCache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),p=e=>{var u;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(i=>!i.ok&&r>1&&i.status>=500?e(t,r-1,n):i)})(t,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&i?{"x-middleware-prefetch":"1"}:{},{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then(e=>{if(!r.ok){if(i&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};if(404===r.status){var n;if(null==(n=W(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:H},response:r,text:e,cacheKey:d}}let o=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,
1configurable:!0});throw a||(0,s.markAssetError)(o),o}return{dataHref:t,json:o?W(e):null,response:r,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e)).catch(e=>{throw c||delete r[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,s.markAssetError)(e),e})};return c&&l?p({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[d]=Promise.resolve(e)),e)):void 0!==r[d]?r[d]:r[d]=p(u?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function X(e){let{url:t,router:r}=e;if(t===(0,w.addBasePath)((0,E.addLocale)(r.asPath,r.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 G=e=>{let{route:t,router:r}=e,n=!1,i=r.clc=()=>{n=!0};return()=>{if(n){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}i===r.clc&&(r.clc=null)}};class K{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=$(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=$(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,n,i){{if(!this._bfl_s&&!this._bfl_d){let t,a,{BloomFilter:o}=r(48076);try{({__routerFilterStatic:t,__routerFilterDynamic:a}=await (0,s.getClientBuildManifest)())}catch(t){if(console.error(t),i)return!0;return X({url:(0,w.addBasePath)((0,E.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}(null==t?void 0:t.numHashes)&&(this._bfl_s=new o(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==a?void 0:a.numHashes)&&(this._bfl_d=new o(a.numItems,a.errorRate),this._bfl_d.import(a))}let c=!1,d=!1;for(let{as:r,allowMatchCurrent:s}of[{as:e},{as:t}])if(r){let t=(0,o.removeTrailingSlash)(new URL(r,"http://n").pathname),p=(0,w.addBasePath)((0,E.addLocale)(t,n||this.locale));if(s||t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var a,l,u;for(let e of(c=c||!!(null==(a=this._bfl_s)?void 0:a.contains(t))||!!(null==(l=this._bfl_s)?void 0:l.contains(p)),[t,p])){let t=e.split("/");for(let e=0;!d&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&(null==(u=this._bfl_d)?void 0:u.contains(r))){d=!0;break}}}if(c||d){if(i)return!0;return X({url:(0,w.addBasePath)((0,E.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,i,a){var c,p,R,x,O,k,A,j,D,F;let z,W;if(!(0,I.isLocalURL)(t))return X({url:t,router:this}),!1;let q=1===i._h;q||i.shallow||await this._bfl(r,void 0,i.locale);let Y=q||i._shouldResolveHref||(0,b.parsePath)(t).pathname===(0,b.parsePath)(r).pathname,G={...this.state},J=!0!==this.isReady;this.isReady=!0;let V=this.isSsr;if(q||(this.isSsr=!1),q&&this.clc)return!1;let Q=G.locale;{G.locale=!1===i.locale?this.defaultLocale:i.locale||G.locale,void 0===i.locale&&(i.locale=G.locale);let e=(0,m.parseRelativeUrl)((0,P.hasBasePath)(r)?(0,T.removeBasePath)(r):r),n=(0,d.normalizeLocalePath)(e.pathname,this.locales);n.detectedLocale&&(G.locale=n.detectedLocale,e.pathname=(0,w.addBasePath)(e.pathname),r=(0,y.formatWithValidation)(e),t=(0,w.addBasePath)((0,d.normalizeLocalePath)((0,P.hasBasePath)(t)?(0,T.removeBasePath)(t):t,this.locales).pathname));let a=!1;(null==(p=this.locales)?void 0:p.includes(G.locale))||(e.pathname=(0,E.addLocale)(e.pathname,G.locale),X({url:(0,y.formatWithValidation)(e),router:this}),a=!0);let o=(0,v.detectDomainLocale)(this.domainLocales,void 0,G.locale);if(!a&&o&&this.isLocaleDomain&&self.location.hostname!==o.domain){let e=(0,T.removeBasePath)(r);X({url:"http"+(o.http?"":"s")+"://"+o.domain+(0,w.addBasePath)((G.locale===o.defaultLocale?"":"/"+G.locale)+("/"===e?"":e)||"/"),router:this}),a=!0}if(a)return new Promise(()=>{})}f.ST&&performance.mark("routeChange");let{shallow:Z=!1,scroll:ee=!0}=i,et={shallow:Z};this._inFlightRoute&&this.clc&&(V||K.events.emit("routeChangeError",L(),this._inFlightRoute,et),this.clc(),this.clc=null),r=(0,w.addBasePath)((0,E.addLocale)((0,P.hasBasePath)(r)?(0,T.removeBasePath)(r):r,i.locale,this.defaultLocale));let er=(0,S.removeLocale)((0,P.hasBasePath)(r)?(0,T.removeBasePath)(r):r,G.locale);this._inFlightRoute=r;let en=Q!==G.locale;if(!q&&this.onlyAHashChange(er)&&!en){G.asPath=er,K.events.emit("hashChangeStart",r,et),this.changeState(e,t,r,{...i,scroll:!1}),ee&&this.scrollToHash(er);try{await this.set(G,this.components[G.route],null)}catch(e){throw(0,u.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,er,et),e}return K.events.emit("hashChangeComplete",r,et),!0}let ei=(0,m.parseRelativeUrl)(t),{pathname:ea,query:eo}=ei;try{[z,{__rewrites:W}
1]=await Promise.all([this.pageLoader.getPageList(),(0,s.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return X({url:r,router:this}),!1}this.urlIsNew(er)||en||(e="replaceState");let es=r;ea=ea?(0,o.removeTrailingSlash)((0,T.removeBasePath)(ea)):ea;let el=(0,o.removeTrailingSlash)(ea),eu=r.startsWith("/")&&(0,m.parseRelativeUrl)(r).pathname;if(null==(c=this.components[ea])?void 0:c.__appRouter)return X({url:r,router:this}),new Promise(()=>{});let ec=!!(eu&&el!==eu&&(!(0,h.isDynamicRoute)(el)||!(0,g.getRouteMatcher)((0,_.getRouteRegex)(el))(eu))),ed=!i.shallow&&await U({asPath:r,locale:G.locale,router:this});if(q&&ed&&(Y=!1),Y&&"/_error"!==ea)if(i._shouldResolveHref=!0,r.startsWith("/")){let e=n((0,w.addBasePath)((0,E.addLocale)(er,G.locale),!0),z,W,eo,e=>B(e,z),this.locales);if(e.externalDest)return X({url:r,router:this}),!0;ed||(es=e.asPath),e.matchedPage&&e.resolvedHref&&(ea=e.resolvedHref,ei.pathname=(0,w.addBasePath)(ea),ed||(t=(0,y.formatWithValidation)(ei)))}else ei.pathname=B(ea,z),ei.pathname!==ea&&(ea=ei.pathname,ei.pathname=(0,w.addBasePath)(ea),ed||(t=(0,y.formatWithValidation)(ei)));if(!(0,I.isLocalURL)(r))return X({url:r,router:this}),!1;es=(0,S.removeLocale)((0,T.removeBasePath)(es),G.locale),el=(0,o.removeTrailingSlash)(ea);let ep=!1;if((0,h.isDynamicRoute)(el)){let e=(0,m.parseRelativeUrl)(es),n=e.pathname,i=(0,_.getRouteRegex)(el);ep=(0,g.getRouteMatcher)(i)(n);let a=el===n,o=a?(0,N.interpolateAs)(el,n,eo):{};if(ep&&(!a||o.result))a?r=(0,y.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,M.omit)(eo,o.params)})):Object.assign(eo,ep);else{let e=Object.keys(i.groups).filter(e=>!eo[e]&&!i.groups[e].optional);if(e.length>0&&!ed)throw Object.defineProperty(Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+el+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as")),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}q||K.events.emit("routeChangeStart",r,et);let ef="/404"===this.pathname||"/_error"===this.pathname;try{let n=await this.getRouteInfo({route:el,pathname:ea,query:eo,as:r,resolvedAs:es,routeProps:et,locale:G.locale,isPreview:G.isPreview,hasMiddleware:ed,unstable_skipClientCache:i.unstable_skipClientCache,isQueryUpdating:q&&!this.isFallback,isMiddlewareRewrite:ec});if(q||i.shallow||await this._bfl(r,"resolvedAs"in n?n.resolvedAs:void 0,G.locale),"route"in n&&ed){el=ea=n.route||el,et.shallow||(eo=Object.assign({},n.query||{},eo));let e=(0,P.hasBasePath)(ei.pathname)?(0,T.removeBasePath)(ei.pathname):ei.pathname;if(ep&&ea!==e&&Object.keys(ep).forEach(e=>{ep&&eo[e]===ep[e]&&delete eo[e]}),(0,h.isDynamicRoute)(ea)){let e=!et.shallow&&n.resolvedAs?n.resolvedAs:(0,w.addBasePath)((0,E.addLocale)(new URL(r,location.href).pathname,G.locale),!0);(0,P.hasBasePath)(e)&&(e=(0,T.removeBasePath)(e));{let t=(0,d.normalizeLocalePath)(e,this.locales);G.locale=t.detectedLocale||G.locale,e=t.pathname}let t=(0,_.getRouteRegex)(ea),i=(0,g.getRouteMatcher)(t)(new URL(e,location.href).pathname);i&&Object.assign(eo,i)}}if("type"in n)if("redirect-internal"===n.type)return this.change(e,n.newUrl,n.newAs,i);else return X({url:n.destination,router:this}),new Promise(()=>{});let o=n.Component;if(o&&o.unstable_scriptLoader&&[].concat(o.unstable_scriptLoader()).forEach(e=>{(0,l.handleClientScriptLoad)(e.props)}),(n.__N_SSG||n.__N_SSP)&&n.props){if(n.props.pageProps&&n.props.pageProps.__N_REDIRECT){i.locale=!1;let t=n.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==n.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,m.parseRelativeUrl)(t);r.pathname=B(r.pathname,z);let{url:n,as:a}=$(this,t,t);return this.change(e,n,a,i)}return X({url:t,router:this}),new Promise(()=>{})}if(G.isPreview=!!n.props.__N_PREVIEW,n.props.notFound===H){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(n=await this.getRouteInfo({route:e,pathname:e,query:eo,as:r,resolvedAs:es,routeProps:{shallow:!1},locale:G.locale,isPreview:G.isPreview,isNotFound:!0}),"type"in n)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,
1configurable:!0})}}q&&"/_error"===this.pathname&&(null==(x=self.__NEXT_DATA__.props)||null==(R=x.pageProps)?void 0:R.statusCode)===500&&(null==(O=n.props)?void 0:O.pageProps)&&(n.props.pageProps.statusCode=500);let s=i.shallow&&G.route===(null!=(k=n.route)?k:el),c=null!=(A=i.scroll)?A:!q&&!s,p=null!=a?a:c?{x:0,y:0}:null,f={...G,route:el,pathname:ea,query:eo,asPath:er,isFallback:!1};if(q&&ef){if(n=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:eo,as:r,resolvedAs:es,routeProps:{shallow:!1},locale:G.locale,isPreview:G.isPreview,isQueryUpdating:q&&!this.isFallback}),"type"in n)throw Object.defineProperty(Error("Unexpected middleware effect on "+this.pathname),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&(null==(D=self.__NEXT_DATA__.props)||null==(j=D.pageProps)?void 0:j.statusCode)===500&&(null==(F=n.props)?void 0:F.pageProps)&&(n.props.pageProps.statusCode=500);try{await this.set(f,n,p)}catch(e){throw(0,u.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,er,et),e}return!0}if(K.events.emit("beforeHistoryChange",r,et),this.changeState(e,t,r,i),!(q&&!p&&!J&&!en&&(0,C.compareRouterStates)(f,this.state))){try{await this.set(f,n,p)}catch(e){if(e.cancelled)n.error=n.error||e;else throw e}if(n.error)throw q||K.events.emit("routeChangeError",n.error,er,et),n.error;G.locale&&(document.documentElement.lang=G.locale),q||K.events.emit("routeChangeComplete",r,et),c&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,u.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:Y()},"",r))}async handleRouteInfoError(e,t,r,n,i,a){if(e.cancelled)throw e;if((0,s.isAssetError)(e)||a)throw K.events.emit("routeChangeError",e,n,i),X({url:n,router:this}),L();console.error(e);try{let n,{page:i,styleSheets:a}=await this.fetchComponent("/_error"),o={props:n,Component:i,styleSheets:a,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(i,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,u.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,n,i,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:i,resolvedAs:a,routeProps:s,locale:l,hasMiddleware:c,isPreview:p,unstable_skipClientCache:f,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:g}=e,_=t;try{var v,b,E,S;let e=this.components[_];if(s.shallow&&e&&this.route===_)return e;let t=G({route:_,router:this});c&&(e=void 0);let u=!e||"initial"in e?void 0:e,w={dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:g?"/404":a,locale:l}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:f,isBackground:h},P=h&&!m?null:await z({fetchData:()=>q(w),asPath:g?"/404":a,locale:l,router:this}).catch(e=>{if(h)return null;throw e});if(P&&("/_error"===r||"/404"===r)&&(P.effect=void 0),h&&(P?P.json=self.__NEXT_DATA__.props:P={json:self.__NEXT_DATA__.props}),t(),(null==P||null==(v=P.effect)?void 0:v.type)==="redirect-internal"||(null==P||null==(b=P.effect)?void 0:b.type)==="redirect-external")return P.effect;if((null==P||null==(E=P.effect)?void 0:E.type)==="rewrite"){let t=(0,o.removeTrailingSlash)(P.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!h||i.includes(t))&&(_=t,r=P.effect.resolvedHref,n={...n,...P.effect.parsedAs.query},a=(0,T.removeBasePath)((0,d.normalizeLocalePath)(P.effect.parsedAs.pathname,this.locales).pathname),e=this.components[_],s.shallow&&e&&this.route===_&&!c))return{...e,route:_}}if((0,x.isAPIRoute)(_))return X({url:i,router:this}),new Promise(()=>{});let R=u||await this.fetchComponent(_).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}
1)),O=null==P||null==(S=P.response)?void 0:S.headers.get("x-middleware-skip"),k=R.__N_SSG||R.__N_SSP;O&&(null==P?void 0:P.dataHref)&&delete this.sdc[P.dataHref];let{props:C,cacheKey:I}=await this._getData(async()=>{if(k){if((null==P?void 0:P.json)&&!O)return{cacheKey:P.cacheKey,props:P.json};let e=(null==P?void 0:P.dataHref)?P.dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:r,query:n}),asPath:a,locale:l}),t=await q({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:O?{}:this.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:f});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:i,locale:l,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&w.dataHref&&I&&delete this.sdc[I],this.isPreview||!R.__N_SSG||h||q(Object.assign({},w,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),C.pageProps=Object.assign({},C.pageProps),R.props=C,R.route=_,R.query=n,R.resolvedAs=a,this.components[_]=R,R}catch(e){return this.handleRouteInfoError((0,u.getProperError)(e),r,n,i,s)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,i]=e.split("#",2);return!!i&&t===n&&r===i||t===n&&r!==i}scrollToHash(e){let[,t=""]=e.split("#",2);(0,j.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,A.isBot)(window.navigator.userAgent))return;let i=(0,m.parseRelativeUrl)(e),a=i.pathname,{pathname:l,query:u}=i;if(!1===r.locale){i.pathname=l=(0,d.normalizeLocalePath)(l,this.locales).pathname,e=(0,y.formatWithValidation)(i);let n=(0,m.parseRelativeUrl)(t),a=(0,d.normalizeLocalePath)(n.pathname,this.locales);n.pathname=a.pathname,r.locale=a.detectedLocale||this.defaultLocale,t=(0,y.formatWithValidation)(n)}let c=await this.pageLoader.getPageList(),p=t,f=void 0!==r.locale?r.locale||void 0:this.locale,v=await U({asPath:t,locale:f,router:this});if(t.startsWith("/")){let r;({__rewrites:r}=await (0,s.getClientBuildManifest)());let a=n((0,w.addBasePath)((0,E.addLocale)(t,this.locale),!0),c,r,i.query,e=>B(e,c),this.locales);if(a.externalDest)return;v||(p=(0,S.removeLocale)((0,T.removeBasePath)(a.asPath),this.locale)),a.matchedPage&&a.resolvedHref&&(i.pathname=l=a.resolvedHref,v||(e=(0,y.formatWithValidation)(i)))}i.pathname=B(i.pathname,c),(0,h.isDynamicRoute)(i.pathname)&&(l=i.pathname,i.pathname=l,Object.assign(u,(0,g.getRouteMatcher)((0,_.getRouteRegex)(i.pathname))((0,b.parsePath)(t).pathname)||{}),v||(e=(0,y.formatWithValidation)(i)));let P=(0,o.removeTrailingSlash)(l);await this._bfl(t,p,r.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(P).then(t=>!!t&&q({dataHref:this.pageLoader.getDataHref({href:e,asPath:p,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](P)])}async fetchComponent(e){let t=G({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,f.loadGetInitialProps)(r,{AppTree:n,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,r,{initialProps:n,pageLoader:i,App:a,wrapApp:s,Component:l,err:u,subscription:c,isFallback:d,locale:p,locales:g,defaultLocale:_,domainLocales:b,isPreview:E}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,y.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),(0,f.getURL)());return}if(n.__NA)return void window.location.reload();if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:i,as:a,options:o,key:s}=n;this._key=s;let{pathname:l}=(0,m.parseRelativeUrl)(i);(!this.isSsr||a!==(0,w.addBasePath)(this.asPath)||l!==(0,w.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",i,a,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};let S=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:a,styleSheets:[]},this.events=K.events,this.pageLoader=i;let T=(0,h.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=s,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||!T&&!self.location.search&&0),this.locales=g,this.defaultLocale=_,this.domainLocales=b,this.isLocaleDomain=!!(0,v.detectDomainLocale)(b,self.location.hostname),this.state={route:S,pathname:e,query:t,asPath:T?e:r,isPreview:!!E,locale:p,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:p},i=(0,f.getURL)();this._initialMatchesMiddlewarePromise=U({router:this,locale:p,asPath:i}).then(a=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",a?i:(0,y.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),i,n),a))}window.addEventListener("popstate",this.onPopState)}}K.events=(0,p.default)()},54387:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext(null)},54933:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}function n(e){return e.startsWith("@")&&"@children"!==e}function i(e,t){if(e.includes(a)){let e=JSON.stringify(t);return"{}"!==e?a+"?"+e:a}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return a},addSearchParamsIfPageSegment:function(){return i},isGroupSegment:function(){return r},isParallelRouteSegment:function(){return n}});let a="__PAGE__",o="__DEFAULT__"},54968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(69239),i=r(82585),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,i.parsePath)(e);return/\.[^/]+\/?$/.test(t)?""+(0,n.removeTrailingSlash)(t)+r+a:t.endsWith("/")?""+t+r+a:t+"/"+r+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55040:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var i={},a=t.split(n),o=(r||{}).decode||e,s=0;s<a.length;s++){var l=a[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),d=l.substr(++u,l.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==i[c]&&(i[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,o))}}return i},t.serialize=function(e,t,n){var a=n||{},o=a.encode||r;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=o(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=a.maxAge){var u=a.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(a.domain){if(!i.test(a.domain))throw TypeError("option domain is invalid");l+="; Domain="+a.domain}if(a.path){if(!i.test(a.path))throw TypeError("option path is invalid");l+="; Path="+a.path}if(a.expires){if("function"!=typeof a.expires.toUTCString)throw TypeError("option expires is invali
1d");l+="; Expires="+a.expires.toUTCString()}if(a.httpOnly&&(l+="; HttpOnly"),a.secure&&(l+="; Secure"),a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var e=decodeURIComponent,r=encodeURIComponent,n=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/})(),e.exports=t})()},55066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext({})},55095:(e,t,r)=>{"use strict";r.d(t,{h:()=>function e(t,r,n=2){if(!r||"object"!=typeof r||n<=0)return r;if(t&&0===Object.keys(r).length)return t;let i={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(i[t]=e(i[t],r[t],n-1));return i}})},56011:(e,t,r)=>{"use strict";r.d(t,{Ow:()=>o,Yz:()=>p,Z9:()=>s,pq:()=>l});var n=r(46925),i=r(41419),a=r(77628);let o=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in a.O))return e();let t=a.O.console,r={},n=Object.keys(s);n.forEach(e=>{let n=s[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function u(){return d().enabled}function c(e,...t){i.T&&u()&&l(()=>{a.O.console[e](`Sentry Logger [${e}]:`,...t)})}function d(){return i.T?(0,n.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let p={enable:function(){d().enabled=!0},disable:function(){d().enabled=!1},isEnabled:u,log:function(...e){c("log",...e)},warn:function(...e){c("warn",...e)},error:function(...e){c("error",...e)}}},57284:(e,t,r)=>{"use strict";r.d(t,{S8:()=>l,cd:()=>function e(t,r=3,n=102400){let i=l(t,r);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>n?e(t,r-1,n):i}});var n=r(50045);let i=Symbol.for("sentry.skipNormalization"),a=Symbol.for("sentry.overrideNormalizationDepth");var o=r(71830),s=r(83380);function l(e,t=100,r=Infinity){try{return function e(t,r,l=Infinity,u=Infinity,c=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[d,p]=c;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let f=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,n.L2)(t))return(0,s.nY)(t);if((0,n.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,s.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let r=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(r))return`[HTMLElement: ${r}]`;return`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}}(t,r);if(!f.startsWith("[object "))return f;if(r[i])return r;let h=function(e){let t=e[a];return"number"==typeof t?t:void 0}(r),m=void 0!==h?h:l;if(0===m)return f.replace("object ","");if(d(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,m-1,u,c)}catch{}let g=Array.isArray(r)?[]:{},_=0,y=(0,o.W4)(r);for(let t in y){if(!Object.prototype.hasOwnProperty.call(y,t))continue;if(_>=u){g[t]="[MaxProperties ~]";break}let r=y[t];g[t]=e(t,r,m-1,u,c),_++}return p(r),g}("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},57510:(e,t,r)=>{"use strict";r.d(t,{E1:()=>p,Ef:()=>a,Fy:()=>m,JD:()=>s,Lc:()=>h,Le:()=>d,Sn:()=>u,fs:()=>l,i_:()=>n,jG:()=>f,sy:()=>i,uT:()=>o,xc:()=>c});let n="sentry.source",i="sentry.sample_rate",a="sentry.previous_trace_sample_rate",o="sentry.op",s="sentry.origin",l="sentry.idle_span_finish_reason",u="sentry.measurement_unit",c="sentry.measurement_value",d="sentry.custom_span_name",p="sentry.profile_id",f="sentry.exclusive_time",h="sentry.link.type",m="gen_ai.conversation.id"},57855:(e,t,r)=>{"use strict";r.d(t,{Om:()=>c,e2:()=>s});var n=r(92797),i=r(38087),a=r(55095),o=r(23908);function s(e,t){var r,n,a,s;let{fingerprint:l,span:u,breadcrumbs:c,sdkProcessingMetadata:d}=t;(function(e,t){let{extra:r,tags:n,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),u&&function(e,t){e.contexts={trace:(0,o.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,i.k1)(t),...e.sdkProcessingMetadata};let r=(0,o.zU)(t),n=(0,o.et)(r).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,u),r=e,n=l,r.fingerprint=r.fingerprint?Array.isArray(r.fingerprint)?r.fingerprint:[r.fingerprint]:[],n&&(r.fingerprint=r.fingerprint.concat(n)),r.fingerprint.length||delete r.fingerprint,function(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(e,c),a=e,s=d,a.sdkProcessingMetadata={...a.sdkProcessingMetadata,...s}}function l(e,t){let{extra:r,tags:n,attributes:i,user:o,contexts:s,level:l,sdkProcessingMetadata:c,breadcrumbs:d,fingerprint:p,eventProcessors:f,attachments:h,propagationContext:m,transactionName:g,span:_}=t;u(e,"extra",r),u(e,"tags",n),u(e,"attributes",i),u(e,"user",o),u(e,"contexts",s),e.sdkProcessingMetadata=(0,a.h)(e.sdkProcessingMetadata,c,2),l&&(e.level=l),g&&(e.transactionName=g),_&&(e.span=_),d.length&&(e.breadcrumbs=[...e.breadcrumbs,...d]),p.length&&(e.fingerprint=[...e.fingerprint,...p]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),h.length&&(e.attachments=[...e.attachments,...h]
1),e.propagationContext={...e.propagationContext,...m}}function u(e,t,r){e[t]=(0,a.h)(e[t],r,1)}function c(e,t){let r=(0,n.m6)().getScopeData();return e&&l(r,e.getScopeData()),t&&l(r,t.getScopeData()),r}},57962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return a},isEqualNode:function(){return i}});let n=r(60348);function i(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function a(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"])if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;else e.props.href=e.props["data-href"],e.props["data-href"]=void 0;let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,a="";if(r){let{children:e}=r.props;a="string"==typeof e?e:Array.isArray(e)?e.join(""):""}a!==document.title&&(document.title=a),["meta","base","link","style","script"].forEach(e=>{!function(e,t){let r=document.querySelector("head");if(!r)return;let a=new Set(r.querySelectorAll(""+e+"[data-next-head]"));if("meta"===e){let e=r.querySelector("meta[charset]");null!==e&&a.add(e)}let o=[];for(let e=0;e<t.length;e++){let r=function(e){let{type:t,props:r}=e,i=document.createElement(t);(0,n.setAttributesFromProps)(i,r);let{children:a,dangerouslySetInnerHTML:o}=r;return o?i.innerHTML=o.__html||"":a&&(i.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):""),i}(t[e]);r.setAttribute("data-next-head","");let s=!0;for(let e of a)if(i(e,r)){a.delete(e),s=!1;break}s&&o.push(r)}for(let e of a){var s;null==(s=e.parentNode)||s.removeChild(e)}for(let e of o)"meta"===e.tagName.toLowerCase()&&null!==e.getAttribute("charset")&&r.prepend(e),r.appendChild(e)}(e,t[e]||[])})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(67825),i=r(359),a=r(31277),o=r(1033),s=r(54968),l=r(65790),u=r(92712),c=r(20718),d=r(70159),p=r(51082);function f(e,t,r){let f,h="string"==typeof t?t:(0,i.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,l.isLocalURL)(h))return r?[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 r=(0,d.getRouteRegex)(e.pathname);(0,p.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}f=new URL(t,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(h,f);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:o,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);o&&(t=(0,i.formatWithValidation)({pathname:o,hash:e.hash,query:(0,a.omit)(r,s)}))}let o=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[o,t||o]:o}catch(e){return r?[h]:h}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58934:(e,t,r)=>{"use strict";let n;r.d(t,{Qw:()=>a,Wk:()=>s,hY:()=>o});var i=r(77628);function a(e){if(void 0!==n)return n?n(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=i.O;return t in r&&"function"==typeof r[t]?(n=r[t])(e):(n=null,e())}function o(){return a(()=>Math.random())}function s(){return a(()=>Date.now())}},60348:(e,t)=>
1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return a}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(e){return["async","defer","noModule"].includes(e)}function a(e,t){for(let[a,o]of Object.entries(t)){if(!t.hasOwnProperty(a)||n.includes(a)||void 0===o)continue;let s=r[a]||a.toLowerCase();"SCRIPT"===e.tagName&&i(s)?e[s]=!!o:e.setAttribute(s,String(o)),(!1===o||"SCRIPT"===e.tagName&&i(s)&&(!o||"false"===o))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},60963:(e,t,r)=>{"use strict";r.d(t,{XW:()=>i,xg:()=>a});var n=r(50045);function i(e){return new o(t=>{t(e)})}function a(e){return new o((t,r)=>{r(e)})}class o{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new o((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new o((t,r)=>{let n,i;return this.then(t=>{i=!1,n=t,e&&e()},t=>{i=!0,n=t,e&&e()}).then(()=>{if(i)return void r(n);t(n)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if((0,n.Qg)(t))return void t.then(r,i);this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(1,e)},i=e=>{t(2,e)};try{e(r,i)}catch(e){i(e)}}}},61137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{safeCompile:function(){return o},safePathToRegexp:function(){return a},safeRegexpToFunction:function(){return s},safeRouteMatcher:function(){return l}});let n=r(29509),i=r(32117);function a(e,t,r){if("string"!=typeof e)return(0,n.pathToRegexp)(e,t,r);let a=(0,i.hasAdjacentParameterIssues)(e),o=a?(0,i.normalizeAdjacentParameters)(e):e;try{return(0,n.pathToRegexp)(o,t,r)}catch(o){if(!a)try{let a=(0,i.normalizeAdjacentParameters)(e);return(0,n.pathToRegexp)(a,t,r)}catch(e){}throw o}}function o(e,t){let r=(0,i.hasAdjacentParameterIssues)(e),a=r?(0,i.normalizeAdjacentParameters)(e):e;try{return(0,n.compile)(a,t)}catch(a){if(!r)try{let r=(0,i.normalizeAdjacentParameters)(e);return(0,n.compile)(r,t)}catch(e){}throw a}}function s(e,t){let r=(0,n.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,i.stripParameterSeparators)(t.params)}}}function l(e){return t=>{let r=e(t);return!!r&&(0,i.stripParameterSeparators)(r)}}},61293:(e,t,r)=>{"use strict";r.d(t,{Vu:()=>s,fj:()=>a,qO:()=>o});var n=r(98093),i=r(9344);function a(e){let t=(0,i.zf)(),r={sid:(0,n.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&o(r,e),r}function o(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,n.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function s(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),o(e,r)}},63021:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),r(78757),self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},63442:(e,t,r)=>{"use strict";r.d(t,{AD:()=>d,SB:()=>s,hH:()=>l,ul:()=>c});var n=r(41419),i=r(56011);let a=/^o(\d+)\./,o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e,t=!1){let{host:r,path:n,pass:i,port:a,projectId:o,protocol:l,publicKey:u}=e;return`${l}://${u}${t&&i?`:${i}`:""}@${r}${a?`:${a}`:""}/${n?`${n}/`:n}${o}`}function l(e){let t=o.exec(e);if(!t)return void(0,i.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,n,a="",s="",l="",c=""]=t.slice(1),d="",p=c,f=p.split("/");if(f.length>1&&(d=f.slice(0,-1).join("/"),p=f.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return u({host:s,pass:a,path:d,projectId:p,port:l,protocol:r,publicKey:n})}function u(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){let t,r=e.getOptions(),{host:n}=e.getDsn()||{};return r.orgId?t=String(r.orgId):n&&(t=function(e){let t=e.match(a);return t?.[1]}(n)),t}function d(e){let t="string"==typeof e?l(e):u(e);if(t&&function(e){if(!n.T)return!0;let{port:t,projectId:r,protocol:a}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.Yz.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==a&&"https"!==a?(i.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),!1):!(t&&isNaN(parseInt(t,10)))||(i.Yz.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(i.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}},64252:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},65790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(1033),i=r(92860);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},66240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},getProperError:function(){return a}});let n=r(77891);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return i(e)?e:Object.defineProperty(Error((0,n.isPlainObject)(e)?function(e){let t=new WeakSet;return JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})}(e):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},66336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return i}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},67825:(e,t)=>{"use strict";function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,n(e));else t.set(r,n(i));return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return i}})},68063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return i}});let n=r(29509);function i(e,t){let r=[],i=(0,n.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),a=(0,n.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(i.source),i.flags):i,r);return(e,n)=>{if("string"!=typeof e)return!1;let i=a(e);if(!i)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete i.params[e.name];return{...n,...i.params}}}},69011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(40840),i=r(54968);function a(e,t){return(0,i.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69239:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},69272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(64252)._(r(24622));class i{end(e){if("ended"===this.state.state)throw Object.defineProperty(Error("Span has already ended"),"__NEXT_ERROR_CODE",{value:"E17",enumerable:!1,configurable:!0});this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,i;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(i=t.startTime)?i:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new i(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let o=new a;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69311:(e,t,r)=>{"use strict";r.d(t,{$N:()=>o,Hd:()=>a,xE:()=>s});var n=r(50045);let i=r(77628).O;function a(e,t={}){if(!e)return"<unknown>";try{let r,a=e,o=[],s=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;a&&s++<5&&(r=function(e,t){let r=[];if(!e?.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}r.push(e.tagName.toLowerCase());let a=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(a?.length)a.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&r.push(`#${e.id}`);let t=e.className;if(t&&(0,n.Kg)(t))for(let e of t.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let n=e.getAttribute(t);n&&r.push(`[${t}="${n}"]`)}return r.join("")}(a,u),"html"!==r&&(!(s>1)||!(l+3*o.length+r.length>=c)));)o.push(r),l+=r.length,a=a.parentNode;return o.reverse().join(" > ")}catch{return"<unknown>"}}function o(){try{return i.document.location.href}catch{return""}}function s(e,t=5){if(!i.HTMLElement)return null;let r=e;for(let e=0;e<t&&r;e++){if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null}},70159:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return f},getNamedRouteRegex:function(){return p},getRouteRegex:function(){return u}});let n=r(39308),i=r(50781),a=r(3239),o=r(69239),s=r(31500);function l(e,t,r){let n={},l=1,u=[];for(let c of(0,o.removeTrailingSlash)(e).slice(1).split("/")){let e=i.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),o=c.match(s.PARAMETER_PATTERN);if(e&&o&&o[2]){let{key:t,optional:r,repeat:i}=(0,s.parseMatchedParameter)(o[2]);n[t]={pos:l++,repeat:i,optional:r},u.push("/"+(0,a.escapeStringRegexp)(e)+"([^/]+?)")}else if(o&&o[2]){let{key:e,repeat:t,optional:i}=(0,s.parseMatchedParameter)(o[2]);n[e]={pos:l++,repeat:t,optional:i},r&&o[1]&&u.push("/"+(0,a.escapeStringRegexp)(o[1]));let c=t?i?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&o[1]&&(c=c.substring(1)),u.push(c)}else u.push("/"+(0,a.escapeStringRegexp)(c));t&&o&&o[3]&&u.push((0,a.escapeStringRegexp)(o[3]))}return{parameterizedRoute:u.join(""),groups:n}}function u(e,t){let{includeSuffix:r=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:i=!1}=void 0===t?{}:t,{parameterizedRoute:a,groups:o}=l(e,r,n),s=a;return i||(s+="(?:/)?"),{re:RegExp("^"+s+"$"),groups:o}}function c(e){let t,{interceptionMarker:r,getSafeRouteKey:n,segment:i,routeKeys:o,keyPrefix:l,backreferenceDuplicateKeys:u}=e,{key:c,optional:d,repeat:p}=(0,s.parseMatchedParameter)(i),f=c.replace(/\W/g,"");l&&(f=""+l+f);let h=!1;(0===f.length||f.length>30)&&(h=!0),isNaN(parseInt(f.slice(0,1)))||(h=!0),h&&(f=n());let m=f in o;l?o[f]=""+l+c:o[f]=c;let g=r?(0,a.escapeStringRegexp)(r):"";return t=m&&u?"\\k<"+f+">":p?"(?<"+f+">.+?)":"(?<"+f+">[^/]+?)",d?"(?:/"+g+t+")?":"/"+g+t}function d(e,t,r,l,u){let d,p=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),f={},h=[];for(let d of(0,o.removeTrailingSlash)(e).slice(1).split("/")){let e=i.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),o=d.match(s.PARAMETER_PATTERN);if(e&&o&&o[2])h.push(c({getSafeRouteKey:p,interceptionMarker:o[1],segment:o[2],routeKeys:f,keyPrefix:t?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:u}));else if(o&&o[2]){l&&o[1]&&h.push("/"+(0,a.escapeStringRegexp)(o[1]));let e=c({getSafeRouteKey:p,segment:o[2],routeKeys:f,keyPrefix:t?n.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:u});l&&o[1]&&(e=e.substring(1)),h.push(e)}else h.push("/"+(0,a.escapeStringRegexp)(d));r&&o&&o[3]&&h.push((0,a.escapeStringRegexp)(o[3]))}return{namedParameterizedRoute:h.join(""),routeKeys:f}}function p(e,t){var r,n,i;
1let a=d(e,t.prefixRouteKeys,null!=(r=t.includeSuffix)&&r,null!=(n=t.includePrefix)&&n,null!=(i=t.backreferenceDuplicateKeys)&&i),o=a.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(o+="(?:/)?"),{...u(e,t),namedRegex:"^"+o+"$",routeKeys:a.routeKeys}}function f(e,t){let{parameterizedRoute:r}=l(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:i}=d(e,!1,!1,!1,!1);return{namedRegex:"^"+i+(n?"(?:(/.*)?)":"")+"$"}}},71775:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},71830:(e,t,r)=>{"use strict";r.d(t,{GS:()=>s,HF:()=>h,W4:()=>d,my:()=>l,pO:()=>u,sp:()=>c});var n=r(41419),i=r(69311),a=r(56011),o=r(50045);function s(e,t,r){if(!(t in e))return;let i=e[t];if("function"!=typeof i)return;let o=r(i);"function"==typeof o&&u(o,i);try{e[t]=o}catch{n.T&&a.Yz.log(`Failed to replace method "${t}" in object`,e)}}function l(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{n.T&&a.Yz.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function u(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,l(e,"__sentry_original__",t)}catch{}}function c(e){return e.__sentry_original__}function d(e){if((0,o.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...f(e)};if(!(0,o.xH)(e))return e;{let t={type:e.type,target:p(e.target),currentTarget:p(e.currentTarget),...f(e)};return"undefined"!=typeof CustomEvent&&(0,o.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function p(e){try{return(0,o.vq)(e)?(0,i.Hd)(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function f(e){return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}function h(e){let t=Object.keys(d(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}},71905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return i}});let n=r(82585);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:a}=(0,n.parsePath)(e);return""+r+t+i+a}},72129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(69239),i=r(40840),a=r(71905),o=r(42560);function s(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,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,i.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,i.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},73824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(64252);let n=r(37876);r(14232);let i=r(6763);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,i.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext({})},76076:(e,t,r)=>{"use strict";r.d(t,{Xr:()=>l,_c:()=>s,gt:()=>o,xv:()=>a});var n=r(50045),i=r(83380);function a(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let a=e[t];try{(0,n.L2)(a)?r.push((0,i.nY)(a)):r.push(String(a))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function s(e,t,r=!1){return!!(0,n.Kg)(e)&&((0,n.gd)(t)?t.test(e):(0,n.Kg)(t)?r?e===t:e.includes(t):"function"==typeof t&&t(e))}function l(e,t=[],r=!1){for(let n of t)if(s(e,n,r))return!0;return!1}},76456:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},77628:(e,t,r)=>{"use strict";r.d(t,{O:()=>n});let n=globalThis},77704:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n=!1},77891:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},78757:(e,t)=>{"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},81819:(e,t,r)=>{"use strict";r.d(t,{h:()=>f});var n=r(46925),i=r(18081);let a=e=>e instanceof Promise&&!e[o],o=Symbol("chained PromiseLike");var s=r(50045);class l{constructor(e,t){let r,n;r=e||new i.H,n=t||new i.H,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return(0,s.Qg)(t)?((e,t,r)=>{let n=e.then(e=>(t(e),e),e=>{throw r(e),e});return a(n)&&a(e)?n:((e,t)=>{if(!t)return e;let r=!1;for(let n in e){if(n in t)continue;r=!0;let i=e[n];"function"==typeof i?Object.defineProperty(t,n,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[n]=i}return r&&Object.assign(t,{[o]:!0}),t})(e,n)})(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function u(){let e=(0,n.EU)(),t=(0,n.Se)(e);return t.stack=t.stack||new l((0,n.BY)("defaultCurrentScope",()=>new i.H),(0,n.BY)("defaultIsolationScope",()=>new i.H))}function c(e){return u().withScope(e)}function d(e,t){let r=u();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function p(e){return u().withScope(()=>e(u().getIsolationScope()))}function f(e){let t=(0,n.Se)(e);return t.acs?t.acs:{withIsolationScope:p,withScope:c,withSetScope:d,withSetIsolationScope:(e,t)=>p(t),getCurrentScope:()=>u().getScope(),getIsolationScope:()=>u().getIsolationScope()}}},81854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(64252)._(r(14232)),i=r(63258),a=n.default.createContext(i.imageConfigDefault)},82155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(64252),i=r(69011),a=r(20718),o=n._(r(15358)),s=r(89266),l=r(88668),u=r(5402),c=r(69239),d=r(30425);r(93309);class p{getPageList(){return(0,d.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[{regexp:"^(?:\\/(_next\\/data\\/[^/]{1,}))?(?:\\/((?!_next\\/)[^/.]{1,}))(|\\.json|\\/?index|\\/?index\\.json|\\/?index(?:\\.rsc|\\.segments\\/.+\\.segment\\.rsc))?[\\/#\\?]?$",originalSource:"/"},{regexp:"^(?:\\/(_next\\/data\\/[^/]{1,}))?(?:\\/((?!_next\\/)[^/.]{1,}))(?:\\/((?!api|_next\\/static|_next\\/image|favicon.ico|assets\\/marketing|$).*))(\\.json|\\.rsc|\\.segments\\/.+\\.segment\\.rsc)?[\\/#\\?]?$",originalSource:"/((?!api|_next/static|_next/image|favicon.ico|assets/marketing|$).*)"}],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:p,search:f}=(0,u.parseRelativeUrl)(r),{pathname:h}=(0,u.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(d);if("/"!==m[0])throw Object.defineProperty(Error('Route name should start with a "/", got "'+m+'"'),"__NEXT_ERROR_CODE",{value:"E303",enumerable:!1,configurable:!0});var g=e.skipInterpolation?h:(0,l.isDynamicRoute)(m)?(0,a.interpolateAs)(d,h,p).result:m;let _=(0,o.default)((0,c.removeTrailingSlash)((0,s.addLocale)(g,n)),".json");return(0,i.addBasePath)("/_next/data/"+this.buildId+_+f,!0)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,d.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82172:(e,t,r)=>{"use strict";r.d(t,{f:()=>o,r:()=>a});var n=r(71830);let i="_sentrySpan";function a(e,t){t?(0,n.my)(e,i,t):delete e[i]}function o(e){return e[i]}},82262:(e,t,r)=>{"use strict";let n,i,a,o,s,l,u,c,d,p,f,h,m,g,_,y,v,b,E,S;r.r(t),r.d(t,{onRouterTransitionStart:()=>sr});var T,w=r(77628),P=r(56011),R=r(10051);function x(e,t,r=[t],n="npm"){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=r.map(e=>({name:`${n}:@sentry/${e}`,version:R.M})),i.version=R.M)}var O=r(18334),k=r(41419);let C=[];function I(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function A(e,t,r){if(r[t.name]){k.T&&P.Yz.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,C.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),C.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}["processSpan","processSegmentSpan"].forEach(r=>{let n=t[r];"function"==typeof n&&e.on(r,r=>n.call(t,r,e))}),k.T&&P.Yz.log(`Integration installed: ${t.name}`)}function M(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}var N=r(98093),j=r(76076);let D=[/^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$/];function L(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:D],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function U(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch{return k.T&&P.Yz.error(`Cannot extract url for event ${(0,N.$X)(e)}`),null}}var F=r(92797),$=r(71830);let B=new WeakMap;var z=r(57510),H=r(23908),W=r(83380);function q(e,t){let r=(0,W.RV)(e),n=(0,W.RV)(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function Y(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return r.join("")===n.join("")}catch{return!1}}function X(e){return e.exception?.values?.[0]}var G=r(18760),K=r(38087);function J(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}var V=r(63442),Q=r(46925),Z=r(57284);function ee(e,t=[]){return[e,t]}function et(e,t){let[r,n]=e;return[r,[...n,t]]}function er(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function en(e){let t=(0,Q.Se)(w.O);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let ei={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 ea(e){return e in ei?ei[e]:e}function eo(e){if(!e?.sdk)return;
1let{name:t,version:r}=e.sdk;return{name:t,version:r}}function es(e,t,r,n){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:(0,V.SB)(n)},...i&&{trace:i}}}function el(e){P.Yz.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function eu(e,t){if(!t?.length)return!1;for(let n of t){var r;if("string"==typeof(r=n)||r instanceof RegExp){if(e.description&&(0,j._c)(e.description,n))return k.T&&el(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let i=!n.name||e.description&&(0,j._c)(e.description,n.name),a=!n.op||e.op&&(0,j._c)(e.op,n.op),o=!n.attributes||Object.entries(n.attributes).every(([t,r])=>(function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?(0,j._c)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,r)=>e===t[r]):e===t})(e.attributes?.[t],r));if(i&&a&&o)return k.T&&el(e),!0}return!1}var ec=r(99742);function ed(){return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==ec?ec:0))||function(){let e=w.O.process;return e?.type==="renderer"}())}function ep(e,t){var r;let n=t??(r=e,ef().get(r))??[];if(0===n.length)return;let i=e.getOptions(),a=function(e,t,r,n,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(a.dsn=(0,V.SB)(n)),ee(a,[function(e,t){let r=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...ed()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}(e,i)])}(n,i._metadata,i.tunnel,e.getDsn(),i.sendDefaultPii);ef().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(a)}function ef(){return(0,Q.BY)("clientToLogBufferMap",()=>new WeakMap)}function eh(e,t){var r;let n=t??(r=e,em().get(r))??[];if(0===n.length)return;let i=e.getOptions(),a=function(e,t,r,n,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(a.dsn=(0,V.SB)(n)),ee(a,[function(e,t){let r=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...ed()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}(e,i)])}(n,i._metadata,i.tunnel,e.getDsn(),i.sendDefaultPii);em().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(a)}function em(){return(0,Q.BY)("clientToMetricBufferMap",()=>new WeakMap)}var eg=r(61293);function e_(e){return"stream"===e.getOptions().traceLifecycle}var ey=r(60963);function ev(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let eb=Symbol.for("SentryBufferFullError");function eE(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return(0,ey.xg)(eb);let n=r();return t.add(n),n.then(()=>{t.delete(n)},()=>{t.delete(n)}),n},drain:function(e){if(!t.size)return(0,ey.XW)(!0);let r=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([r,new Promise(t=>ev(setTimeout(()=>t(!1),e)))]):r}}}var eS=r(58934);function eT(e,t,r=(0,eS.Wk)()){return(e[t]||e.all||0)>r}function ew(e,{statusCode:t,headers:r},n=(0,eS.Wk)()){let i={...e},a=r?.["x-sentry-rate-limits"],o=r?.["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,r,,,a]=e.split(":",5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!a||a.split(";").includes("custom"))&&(i[e]=n+s):i[e]=n+s;else i.all=n+s}else o?i.all=n+function(e,t=(0,eS.Wk)()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let n=Date.parse(`${e}`);return isNaN(n)?6e4:n-t}(o,n):429===t&&(i.all=n+6e4);return i}var eP=r(9344),eR=r(50045),ex=r(55095),eO=r(25372),ek=r(27640);let eC="Not capturing exception because it's already been captured.",eI="Discarded session because of missing or non-string release",eA=Symbol.for("SentryInternalError"),eM=Symbol.for("SentryDoNotSendEventError");function eN(e){return{message:e,[eA]:!0}}function ej(e){return{message:e,[eM]:!0}}function eD(e){return!!e&&"object"==typeof e&&eA in e}function eL(e){return!!e&&"object"==typeof e&&eM in e}function eU(e,t,r,n,i){let a,o=0,s=!1;e.on(r,()=>{o=0,clearTimeout(a),s=!1}),e.on(t,t=>{(o+=n(t))>=8e5?i(e):s||(s=!0,a=ev(setTimeout(()=>{i(e)},5e3)))}),e.on("flush",()=>{i(e)})}class eF{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=eE(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=(0,V.AD)(e.dsn):k.T&&P.Yz.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,r){return t||`${function(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(e,t){let r={sentry_version:"7"};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}(e,r)}`}(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=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&eU(this,"afterCaptureLog","flushLogs",eW,ep),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&eU(this,"afterCaptureMetric","flushMetrics",eH,eh)}captureException(e,t,r){let n=(0,N.eJ)();if((0,N.GR)(e))return k.T&&P.Yz.log(eC),n;let i={event_id:n,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,r)).then(e=>e),"error"),i.event_id}captureMessage(e,t,r,n){let i={event_id:(0,N.eJ)(),...r},a=(0,eR.NF)(e)?e:String(e),o=(0,eR.sO)(e),s=o?this.eventFromMessage(
1a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,n)),o?"unknown":"error"),i.event_id}captureEvent(e,t,r){let n=(0,N.eJ)();if(t?.originalException&&(0,N.GR)(t.originalException))return k.T&&P.Yz.log(eC),n;let i={event_id:n,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,l=e$(e.type);return this._process(()=>this._captureEvent(e,i,o||r,s),l),i.event_id}captureSession(e){this.sendSession(e),(0,eg.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit("flush"),!t)return!0;let r=await this._isClientDoneProcessing(e),n=await t.flush(e);return r&&n}async close(e){ep(this);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(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),A(this,e,this._integrations),t||I(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=function(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!t.getOptions().streamGenAiSpans||e_(t))return;let r=[],n=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?r.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,H.PL)(t)}(t)):n.push(t);if(0===r.length)return;e.spans=n;let i=t.getOptions().sendDefaultPii?"auto":"never";return[{type:"span",item_count:r.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...ed()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:r}]}(e,this),n=function(e,t,r,n){let i=eo(r),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let r=e.sdk||{};e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,r?.sdk);let o=es(e,i,n,t);return delete e.sdkProcessingMetadata,ee(o,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=et(n,function(e){let t="string"==typeof e.data?en(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));r&&(n=et(n,r)),this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=G.U}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){k.T&&P.Yz.warn(eI);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){k.T&&P.Yz.warn(eI);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let n=function(e,t,r,n){let i=eo(r);return ee({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:(0,V.SB)(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let n=`${e}:${t}`;k.T&&P.Yz.log(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set,n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return k.T&&P.Yz.error("Error while sending envelope:",e),{}}return k.T&&P.Yz.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let r={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&A(e,t,r)}),r}(this,e),I(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,i=t.exception?.values;if(i){for(let e of(n=!0,r=!1,i))if(e.mechanism?.handled===!1){r=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&r)&&((0,eg.qO)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),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,r,n){let i=this.getOptions(),a=Object.keys(this._integrations);
1return!t.integrations&&a?.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,ek.mG)(i,e,t,r,this,n).then(e=>(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...(0,F.vn)(r)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,K.ao)(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r=(0,F.o5)(),n=(0,F.rm)()){return k.T&&eB(e)&&P.Yz.log(`Captured error event \`${M(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{k.T&&(eL(e)?P.Yz.log(e.message):eD(e)?P.Yz.warn(e.message):P.Yz.warn(e))})}_processEvent(e,t,r,n){let i=this.getOptions(),{sampleRate:a}=i,o=ez(e),s=eB(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===a?void 0:(0,eO.i)(a);if(s&&"number"==typeof c&&(0,eS.hY)()>c)return this.recordDroppedEvent("sample_rate","error"),(0,ey.xg)(ej(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let d=e$(e.type);return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),ej("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,eR.Qg)(e))return e.then(e=>{if(!(0,eR.Qd)(e)&&null!==e)throw eN(r);return e},e=>{throw eN(`${t} rejected with ${e}`)});if(!(0,eR.Qd)(e)&&null!==e)throw eN(r);return e}(function(e,t,r,n){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!J(t.beforeSendSpan)&&t.beforeSendSpan,l=r;if(eB(l)&&i)return i(l,n);if(ez(l)){if(s||o){let t=function(e){let{trace_id:t,parent_span_id:r,span_id:n,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:r,span_id:n??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:o?.[z.E1],exclusive_time:o?.[z.jG],measurements:e.measurements,is_segment:!0}}(l);if(o?.length&&eu({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);if(e)l=(0,ex.h)(r,{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&&{[z.E1]:e.profile_id},...e.exclusive_time&&{[z.jG]:e.exclusive_time}}}},measurements:e.measurements});else(0,H.xl)()}if(l.spans){let t=[],r=l.spans;for(let e of r){if(o?.length&&eu({description:e.description,op:e.op,attributes:e.data},o)){let t=e.parent_span_id,n=e.span_id;if(t)for(let e of r)e.parent_span_id===n&&(e.parent_span_id=t);continue}if(s){let r=s(e);r?t.push(r):((0,H.xl)(),t.push(e))}else t.push(e)}let n=l.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),l.spans=t}}if(a){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(l,n)}}return l}(this,i,e,t),u)}).then(i=>{if(null===i){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 a=r.getSession()||n.getSession();if(s&&a&&this._updateSessionFromEvent(a,i),o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=i.transaction_info;return o&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(eL(e)||eD(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),eN(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 2Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===eb&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){var e;k.T&&P.Yz.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){k.T&&P.Yz.log("No outcomes to send");return}if(!this._dsn){k.T&&P.Yz.log("No dsn provided, will not send outcomes");return}k.T&&P.Yz.log("Sending outcomes:",t);let r=ee((e=this._options.tunnel&&(0,V.SB)(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:(0,eP.lu)(),discarded_events:t}]]);this.sendEnvelope(r)}}function e$(e){return"replay_event"===e?"replay":e||"error"}function eB(e){return void 0===e.type}function ez(e){return"transaction"===e.type}function eH(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+eq(e.attributes)}function eW(e){let t=0;return e.message&&(t+=2*e.message.length),t+eq(e.attributes)}function eq(e){if(!e)return 0;let t=0;
2return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*eY(e[0]):(0,eR.sO)(e)?t+=eY(e):t+=100}),t}function eY(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function eX(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function eG(e){return(0,eR.bJ)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function eK(e,t){let r=eV(e,t),n={type:function(e){let t=e?.name;return!t&&eZ(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return eZ(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?eG(t.error):eG(e):"No error message"}(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function eJ(e,t){return{exception:{values:[eK(e,t)]}}}function eV(e,t){var r,n;let i=t.stacktrace||t.stack||"",a=(r=t)&&eQ.test(r.message)?1:0,o="number"==typeof(n=t).framesToPop?n.framesToPop:0;try{return e(i,a,o)}catch{}return[]}let eQ=/Minified React error #\d+;/i;function eZ(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function e0(e,t,r,n,i){let a;if((0,eR.T2)(t)&&t.error)return eJ(e,t.error);if((0,eR.BD)(t)||(0,eR.W6)(t)){if("stack"in t)a=eJ(e,t);else{let i=t.name||((0,eR.BD)(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;a=e1(e,o,r,n),(0,N.gO)(a,o)}return"code"in t&&(a.tags={...a.tags,"DOMException.code":`${t.code}`}),a}return(0,eR.bJ)(t)?eJ(e,t):((0,eR.Qd)(t)||(0,eR.xH)(t)?a=function(e,t,r,n){let i=(0,F.KU)(),a=i?.getOptions().normalizeDepth,o=Object.values(t).find(e=>e instanceof Error),s={__serialized__:(0,Z.cd)(t,a)};if(o)return{exception:{values:[eK(e,o)]},extra:s};let l={exception:{values:[{type:(0,eR.xH)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=(0,$.HF)(e),n=t?"promise rejection":"exception";if((0,eR.T2)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,eR.xH)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=eV(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,i):(a=e1(e,t,r,n),(0,N.gO)(a,`${t}`,void 0)),(0,N.M6)(a,{synthetic:!0}),a)}function e1(e,t,r,n){let i={};if(n&&r){let n=eV(e,r);n.length&&(i.exception={values:[{value:t,stacktrace:{frames:n}}]}),(0,N.M6)(i,{synthetic:!0})}if((0,eR.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return i.logentry={message:e,params:r},i}return i.message=t,i}var e2=r(69311);let e3=w.O,e4=0;function e5(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if((0,$.sp)(e))return e}catch{return e}let r=function(...r){try{let n=r.map(e=>e5(e,t));return e.apply(this,n)}catch(e){throw e4++,setTimeout(()=>{e4--}),(0,F.v4)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,N.gO)(e,void 0,void 0),(0,N.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,O.Cp)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}(0,$.pO)(r,e),(0,$.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}function e8(){let e=(0,e2.$N)(),{referrer:t}=e3.document||{},{userAgent:r}=e3.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}}class e6 extends eF{constructor(e){var t;let r=(t=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:e3.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t});x(r,"browser",["browser"],e3.SENTRY_SDK_SOURCE||"npm"),r._metadata?.sdk&&(r._metadata.sdk.settings={infer_ip:r.sendDefaultPii?"auto":"never",...r._metadata.sdk.settings}),super(r);let{sendDefaultPii:n,sendClientReports:i,enableLogs:a,_experiments:o,enableMetrics:s}=this._options,l=s??o?.enableMetrics??!0;e3.document&&(i||a||l)&&e3.document.addEventListener("visibilitychange",()=>{"hidden"===e3.document.visibilityState&&(i&&this._flushOutcomes(),a&&ep(this),l&&eh(this))}),n&&this.on("beforeSendSession",eX)}eventFromException(e,t){return function(e,t,r,n){let i=e0(e,t,r?.syntheticException||void 0,n);return(0,N.M6)(i),i.level="error",r?.event_id&&(i.event_id=r.event_id),(0,ey.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return function(e,t,r="info",n,i){let a=e1(e,t,n?.syntheticException||void 0,i);return a.level=r,n?.event_id&&(a.event_id=n.event_id),(0,ey.XW)(a)}(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}let e9={},e7={};function te(e,t){return e9[e]=e9[e]||[],e9[e].push(t),()=>{let r=e9[e];if(r){let e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}function tt(e,t){if(!e7[e]){e7[e]=!0;try{t()}catch(t){k.T&&P.Yz.error(`Error while instrumenting ${e}`,t)}}}function tr(e,t){let r=e&&e9[e];if(r)for(let n of r)try{n(t)}catch(t){k.T&&P.Yz.error(`Error while triggering instrumentation handler. 3Type: ${e} 4Name: ${(0,W.qQ)(n)} 5Error:`,t)}}let tn=new Set([]);
5function ti(){"console"in w.O&&P.Ow.forEach(function(e){e in w.O.console&&(0,$.GS)(w.O.console,e,function(t){return P.Z9[e]=t,function(...t){let r=t[0],n=P.Z9[e],i=tn.size&&"string"==typeof r&&(0,j.Xr)(r,tn);i||tr("console",{args:t,level:e}),(!i||k.T&&P.Yz.isEnabled())&&n?.apply(w.O.console,t)}})})}let ta=w.O;function to(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ts(e,t){let r="fetch",n=te(r,e);return tt(r,()=>tl(void 0,t)),n}function tl(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in ta))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(to(ta.fetch))return!0;let e=!1,t=ta.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=to(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){k.T&&P.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,$.GS)(w.O,"fetch",function(t){return function(...r){let n=Error(),{method:i,url:a}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:tp(t),method:td(r,"method")?String(r.method).toUpperCase():(0,eR.ks)(t)&&td(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:tp(t),method:td(t,"method")?String(t.method).toUpperCase():"GET"}}(r),o={args:r,fetchData:{method:i,url:a},startTimestamp:1e3*(0,eP.zf)(),virtualError:n,headers:function(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,eR.ks)(t))return new Headers(t.headers)}catch{}}(r)};return e||tr("fetch",{...o}),t.apply(w.O,r).then(async t=>(e?e(t):tr("fetch",{...o,endTimestamp:1e3*(0,eP.zf)(),response:t}),t),e=>{tr("fetch",{...o,endTimestamp:1e3*(0,eP.zf)(),error:e}),(0,eR.bJ)(e)&&void 0===e.stack&&(e.stack=n.stack,(0,$.my)(e,"framesToPop",1));let t=(0,F.KU)(),r=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==r&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:(0,$.my)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function tu(e,t){if(e?.body){let r=e.body,n=r.getReader(),i=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:i}=await n.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),n.releaseLock(),r.cancel().then(null,()=>{})}}function tc(e){let t;try{t=e.clone()}catch{return}tu(t,()=>{tr("fetch-body-resolved",{endTimestamp:1e3*(0,eP.zf)(),response:e})})}function td(e,t){return!!e&&"object"==typeof e&&!!e[t]}function tp(e){return"string"==typeof e?e:e?td(e,"url")?e.url:e.toString?e.toString():"":""}function tf(e,t){let r=(0,F.KU)(),n=(0,F.rm)();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=100}=r.getOptions();if(a<=0)return;let o={timestamp:(0,eP.lu)(),...e},s=i?(0,P.pq)(()=>i(o,t)):o;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,a))}function th(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function tm(e){return"isRelative"in e}function tg(e,t){let r=0>=e.indexOf("://")&&0!==e.indexOf("//"),n=t??(r?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function t_(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function ty(e){return e.split(/[?#]/,1)[0]}function tv(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/),n=r?r[1]:"text/plain",i=e.includes(";base64,"),a=e.indexOf(","),o="";if(t&&-1!==a){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${n}${i?",base64":""}${o?`,${o}`:""}`}return e}let tb=w.O;function tE(e){te("dom",e),tt("dom",tS)}function tS(){if(!tb.document)return;let e=tr.bind(null,"dom"),t=tT(e,!0);tb.document.addEventListener("click",t,!1),tb.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=tb[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,$.GS)(r,"addEventListener",function(t){return function(r,n,i){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=n[r]=n[r]||{refCount:0};if(!a.handler){let n=tT(e);a.handler=n,t.call(this,r,n,i)}a.refCount++}catch{}return t.call(this,r,n,i)}}),(0,$.GS)(r,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},i=r[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,n),i.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,n)}}))})}function tT(e,t=!1){return r=>{var n;if(!r||r._sentryCaptured)return;let s=function(e){try{return e.target}catch{return null}}(r);if(n=r.type,"keypress"===n&&(!s?.tagName||"INPUT"!==s.tagName&&"TEXTAREA"!==s.tagName&&!s.isContentEditable&&1))return;(0,$.my)(r,"_sentryCaptured",!0),s&&!s._sentryId&&(0,$.my)(s,"_sentryId",(0,N.eJ)());let l="keypress"===r.type?"input":r.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch{}return!0}(r)&&(e({event:r,name:l,global:t}),a=r.type,o=s?s._sentryId:void 0),clearTimeout(i),i=tb.setTimeout(()=>{o=void 0,a=void 0},1e3)}}let tw="__sentry_xhr_v3__";function tP(e){te("xhr",e),tt("xhr",tR)}function tR(){if(!tb.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let n=Error(),i=1e3*(0,eP.zf)(),a=(0,eR.Kg)(r[0])?r[0].toUpperCase():void 0,o=function(e){if((0,eR.Kg)(e))return e;try{return e.toString()}catch{}}(r[1]);if(!a||!o)return e.apply(t,r);
5t[tw]={method:a,url:o,request_headers:{}},"POST"===a&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[tw];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}tr("xhr",{endTimestamp:1e3*(0,eP.zf)(),startTimestamp:i,xhr:t,virtualError:n})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(s(),e.apply(t,r))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[n,i]=r,a=t[tw];return a&&(0,eR.Kg)(n)&&(0,eR.Kg)(i)&&(a.request_headers[n.toLowerCase()]=i),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let n=t[tw];return n&&(void 0!==r[0]&&(n.body=r[0]),tr("xhr",{startTimestamp:1e3*(0,eP.zf)(),xhr:t})),e.apply(t,r)}})}function tx(e){let t="history";te(t,e),tt(t,tO)}function tO(){function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let n=s,i=function(e){try{return new URL(e,tb.location.origin).toString()}catch{return e}}(String(r));if(s=i,n===i)return e.apply(this,t);tr("history",{from:n,to:i})}return e.apply(this,t)}}tb.addEventListener("popstate",()=>{let e=tb.location.href,t=s;s=e,t!==e&&tr("history",{from:t,to:e})}),"history"in ta&&ta.history&&((0,$.GS)(tb.history,"pushState",e),(0,$.GS)(tb.history,"replaceState",e))}let tk="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(",");function tC(e){return function(...t){let r=t[0];return t[0]=e5(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,W.qQ)(e)}`}}),e.apply(this,t)}}function tI(e){return function(t){return e.apply(this,[e5(t,{mechanism:{data:{handler:(0,W.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tA(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,$.GS)(r,e,function(t){let r={mechanism:{data:{handler:(0,W.qQ)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},n=(0,$.sp)(t);return n&&(r.mechanism.data.handler=(0,W.qQ)(n)),e5(t,r)})}),e.apply(this,t)}}function tM(e,t){let r=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in r||(r[e]=t)})}function tN(){try{let e=e3.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}let tj=null;function tD(e){let t="error";te(t,e),tt(t,tL)}function tL(){tj=w.O.onerror,w.O.onerror=function(e,t,r,n,i){return tr("error",{column:n,error:i,line:r,msg:e,url:t}),!!tj&&tj.apply(this,arguments)},w.O.onerror.__SENTRY_INSTRUMENTED__=!0}let tU=null;function tF(e){let t="unhandledrejection";te(t,e),tt(t,t$)}function t$(){tU=w.O.onunhandledrejection,w.O.onunhandledrejection=function(e){return tr("unhandledrejection",e),!tU||tU.apply(this,arguments)},w.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function tB(){let e=(0,F.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function tz(e){return Array.isArray(e.errors)}function tH(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...tz(r)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function tW(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function tq(e,t,r,n){let i={filename:e,function:"<anonymous>"===t?W.yF:t,in_app:!0};return void 0!==r&&(i.lineno=r),void 0!==n&&(i.colno=n),i}let tY=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tX=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tG=/\((\S*)(?::(\d+))(?::(\d+))\)/,tK=/at (.+?) ?\(data:(.+?),/,tJ=[30,e=>{let t=e.match(tK);
5if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let r=tY.exec(e);if(r){let[,e,t,n]=r;return tq(e,W.yF,+t,+n)}let n=tX.exec(e);if(n){if(n[2]?.indexOf("eval")===0){let e=tG.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=t1(n[1]||W.yF,n[2]);return tq(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],tV=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tQ=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tZ=[50,e=>{let t=tV.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=tQ.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||W.yF;return[r,e]=t1(r,e),tq(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],t0=(0,W.gd)(tJ,tZ),t1=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:W.yF,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},t2={};function t3(e){let t=t2[e];if(t)return t;let r=tb[e];if(to(r))return t2[e]=r.bind(tb);let n=tb.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return r?t2[e]=r.bind(tb):r}function t4(...e){return t3("setTimeout")(...e)}function t5(e,t=t3("fetch")){let r=0,n=0;async function i(i){let a=i.body.length;r+=a,n++;let o={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};try{let r=await t(e.url,o);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw t2.fetch=void 0,e}finally{r-=a,n--}}return function(e,t,r=eE(e.bufferSize||64)){let n={};return{send:function(i){let a=[];if(er(i,(t,r)=>{let i=ea(r);eT(n,i)?e.recordDroppedEvent("ratelimit_backoff",i):a.push(t)}),0===a.length)return Promise.resolve({});let o=ee(i[0],a),s=t=>{var r;if(r=["client_report"],er(o,(e,t)=>r.includes(t))){k.T&&P.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}er(o,(r,n)=>{e.recordDroppedEvent(t,ea(n))})};return r.add(()=>t({body:function(e){let[t,r]=e,n=JSON.stringify(t);function i(e){"string"==typeof n?n="string"==typeof e?n+e:[en(n),e]:n.push("string"==typeof e?en(e):e)}for(let e of r){let[t,r]=e;if(i(` 6${JSON.stringify(t)} 7`),"string"==typeof r||r instanceof Uint8Array)i(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify((0,Z.S8)(r))}i(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}(o)}).then(e=>(413===e.statusCode?(k.T&&P.Yz.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(k.T&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&P.Yz.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),n=ew(n,e)),e),e=>{throw s("network_error"),k.T&&P.Yz.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===eb)return k.T&&P.Yz.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}(e,i,eE(e.bufferSize||40))}function t8(e){let t;return[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(r){t=L(e,r.getOptions())},processEvent:(r,n,i)=>(t||(t=L(e,i.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&(0,j.Xr)(r,t)}(e,t.ignoreTransactions))return k.T&&P.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 8Event: ${(0,N.$X)(e)}`),!0}else{var r,n,i;if(r=e,n=t.ignoreErrors,n?.length&&M(r).some(e=>(0,j.Xr)(e,n)))return k.T&&P.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 9Event: ${(0,N.$X)(e)}`),!0;if(i=e,i.exception?.values?.length&&!i.message&&!i.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return k.T&&P.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace. 10Event: ${(0,N.$X)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let r=U(e);return!!r&&(0,j.Xr)(r,t)}(e,t.denyUrls))return k.T&&P.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option. 11Event: ${(0,N.$X)(e)}. 12Url: ${U(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let r=U(e);return!r||(0,j.Xr)(r,t)}(e,t.allowUrls))return k.T&&P.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option. 13Event: ${(0,N.$X)(e)}. 14Url: ${U(e)}`),!0}return!1}(r,t)?r:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,$.sp)(this),r=B.has((0,F.KU)())&&void 0!==t?t:this;return n.apply(r,e)}}catch{}},setup(e){B.set(e,!0)}},{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=(0,F.o5)().getScopeData(),r=(0,F.rm)().getScopeData(),n=t.conversationId||r.conversationId;if(n){let{op:t,data:r,description:i}=(0,H.et)(e);if(!t?.startsWith("gen_ai.")&&!r["ai.operationId"]&&!i?.startsWith("ai."))return;e.setAttribute(z.Fy,n)}})}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,$.GS)(e3,"setTimeout",tC),t.setInterval&&(0,$.GS)(e3,"setInterval",tC),t.requestAnimationFrame&&(0,$.GS)(e3,"requestAnimationFrame",tI),t.XMLHttpRequest&&"XMLHttpRequest"in e3&&(0,$.GS)(XMLHttpRequest.prototype,"send",tA);let e=t.eventTarget;
14e&&(Array.isArray(e)?e:tk).forEach(e=>(function(e,t){let r=e3[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,$.GS)(r,"addEventListener",function(r){return function(n,i,a){var o,s,l,u;try{o=i,"function"==typeof o.handleEvent&&(i.handleEvent=e5(i.handleEvent,{mechanism:{data:{handler:(0,W.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&(s=this,l=n,u=i,s&&"object"==typeof s&&"removeEventListener"in s&&"function"==typeof s.removeEventListener&&s.removeEventListener(l,u)),r.apply(this,[n,e5(i,{mechanism:{data:{handler:(0,W.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,$.GS)(r,"removeEventListener",function(e){return function(t,r,n){try{let i=r.__sentry_wrapped__;i&&e.call(this,t,i,n)}catch{}return e.call(this,t,r,n)}}))})(e,t))}}})(),((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r,n,i,a,o,s,l;t.console&&function(e){let t="console";te(t,e),tt(t,ti)}((r=e,function(e){var t;if((0,F.KU)()!==r)return;let n={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:(0,j.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else n.message=`Assertion failed: ${(0,j.gt)(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1);tf(n,{input:e.args,level:e.level})})),t.dom&&tE((n=e,i=t.dom,function(e){let t,r;if((0,F.KU)()!==n)return;let a="object"==typeof i?i.serializeAttribute:void 0,o="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;o&&o>1024&&(o=1024),"string"==typeof a&&(a=[a]);try{var s;let n=e.event,i=(s=n)&&s.target?n.target:n;t=(0,e2.Hd)(i,{keyAttrs:a,maxStringLength:o}),r=(0,e2.xE)(i)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};r&&(l.data={"ui.component_name":r}),tf(l,{event:e.event,name:e.name,global:e.global})})),t.xhr&&tP((a=e,function(e){if((0,F.KU)()!==a)return;let{startTimestamp:t,endTimestamp:r}=e,n=e.xhr[tw];if(!t||!r||!n)return;let{method:i,url:o,status_code:s,body:l}=n,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:r},c={category:"xhr",data:{method:i,url:o,status_code:s},type:"http",level:th(s)};a.emit("beforeOutgoingRequestBreadcrumb",c,u),tf(c,u)})),t.fetch&&ts((o=e,function(e){if((0,F.KU)()!==o)return;let{startTimestamp:t,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let n={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r},i={category:"fetch",data:e.fetchData,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",i,n),tf(i,n)}else{let n=e.response,i={...e.fetchData,status_code:n?.status},a={input:e.args,response:n,startTimestamp:t,endTimestamp:r},s={category:"fetch",data:i,type:"http",level:th(i.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",s,a),tf(s,a)}})),t.history&&tx((s=e,function(e){if((0,F.KU)()!==s)return;let t=e.from,r=e.to,n=t_(e3.location.href),i=t?t_(t):void 0,a=t_(r);i?.path||(i=n),n.protocol===a.protocol&&n.host===a.host&&(r=a.relative),n.protocol===i.protocol&&n.host===i.host&&(t=i.relative),tf({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){(0,F.KU)()===l&&tf({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,N.$X)(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var r,n;t.onerror&&(r=e,tD(e=>{let{stackParser:t,attachStacktrace:n}=tB();if((0,F.KU)()!==r||e4>0)return;let{msg:i,url:a,line:o,column:s,error:l}=e,u=function(e,t,r,n){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},l=s.frames=s.frames||[];return 0===l.length&&l.push({colno:n,lineno:r,filename:function(e){if((0,eR.Kg)(e)&&0!==e.length)return e.startsWith("data:")?`<${tv(e,!1)}>`:e}(t)??(0,e2.$N)(),function:W.yF,in_app:!0}),e}(e0(t,l||i,void 0,n,!1),a,o,s);u.level="error",(0,O.r)(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})),t.onunhandledrejection&&(n=e,tF(e=>{var t;let{stackParser:r,attachStacktrace:i}=tB();if((0,F.KU)()!==n||e4>0)return;let a=function(e){if((0,eR.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(e),o=(0,eR.sO)(a)?(t=a,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):e0(r,a,void 0,i,!0);o.level="error",(0,O.r)(o,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}))}}})(),((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,i){!function(e,t,r,n,i,a){if(!i.exception?.values||!a||!(0,eR.tH)(a.originalException,Error))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=function e(t,r,n,i,a,o,s,l){if(o.length>=n+1)return o;let u=[...o];if((0,eR.tH)(i[a],Error)){tH(s,l,i);let o=t(r,i[a]),c=u.length;tW(o,a,c,l),u=e(t,r,n,i[a],a,[o,...u],o,c)}
14return tz(i)&&i.errors.forEach((o,c)=>{if((0,eR.tH)(o,Error)){tH(s,l,i);let d=t(r,o),p=u.length;tW(d,`errors[${c}]`,p,l),u=e(t,r,n,o,a,[d,...u],d,p)}}),u}(e,t,n,a.originalException,r,i.exception.values,o,0))}(eK,i.getOptions().stackParser,r,t,e,n)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var r,n;if(r=e,(n=t)&&(function(e,t){let r=e.message,n=t.message;return(!!r||!!n)&&(!r||!!n)&&(!!r||!n)&&r===n&&!!Y(e,t)&&!!q(e,t)&&!0}(r,n)||function(e,t){let r=X(t),n=X(e);return!!r&&!!n&&r.type===n.type&&r.value===n.value&&!!Y(e,t)&&!!q(e,t)}(r,n)))return k.T&&P.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}},{name:"HttpContext",preprocessEvent(e){if(!e3.navigator&&!e3.location&&!e3.document)return;let t=e8(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}},processSegmentSpan(e){if(!e3.navigator&&!e3.location&&!e3.document)return;let t=e8();tM(e,{"url.full":t.url||void 0,"http.request.header.user_agent":t.headers["User-Agent"],"http.request.header.referer":t.headers.Referer})}},{name:"CultureContext",preprocessEvent(e){let t=tN();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=tN();t&&tM(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}},((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===e3.document)return;(0,O.J0)({ignoreDuration:!0}),(0,O.J5)();let e=(0,F.rm)(),r=e.getUser();e.addScopeListener(e=>{let t=e.getUser();
14(r?.id!==t?.id||r?.ip_address!==t?.ip_address)&&((0,O.J5)(),r=t)}),"route"===t&&tx(({from:e,to:t})=>{e!==t&&((0,O.J0)({ignoreDuration:!0}),(0,O.J5)())})}}})()]}var t6=r(14232),t9=r(77704),t7=r(99742),re=r(95837),rt=r(82172),rr=r(42252);class rn{constructor(e={}){this._traceId=e.traceId||(0,rr.e)(),this._spanId=e.spanId||(0,rr.Z)(),this.dropReason=e.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:H.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function ri(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},n=r[z.Sn],i=r[z.xc];"string"==typeof n&&"number"==typeof i&&(t[e.name]={value:i,unit:n})}),t}var ra=r(50768);class ro{constructor(e={}){this._traceId=e.traceId||(0,rr.e)(),this._spanId=e.spanId||(0,rr.Z)(),this._startTime=e.startTimestamp||(0,eP.zf)(),this._links=e.links,this._attributes={},this.setAttributes({[z.JD]:"manual",[z.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?H.aO:H.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,H.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(z.i_,"custom"),this}end(e){this._endTime||(this._endTime=(0,H.cI)(e),function(e){if(!k.T)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,H.et)(e),{spanId:n}=e.spanContext(),i=(0,H.zU)(e)===e,a=`[Tracing] Finishing "${r}" ${i?"root ":""}span "${t}" with ID ${n}`;P.Yz.log(a)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[z.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,H.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[z.JD],profile_id:this._attributes[z.E1],exclusive_time:this._attributes[z.jG],measurements:ri(this._events),is_segment:this._isStandaloneSpan&&(0,H.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,H.zU)(this).spanContext().spanId:void 0,links:(0,H.uU)(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===(0,H.zU)(this),status:(0,H.i$)(this._status),attributes:this._attributes,links:(0,H.HQ)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){k.T&&P.Yz.log("[Tracing] Adding an event to span:",e);let n=rs(t)?t:r||(0,eP.zf)(),i=rs(t)?{}:t||{},a={name:e,time:(0,H.cI)(n),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,F.KU)();if(e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===(0,H.zU)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=(0,F.KU)();if(!t)return;let r=e[1];if(!r||0===r.length)return t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}(function(e,t){let r=(0,K.k1)(e[0]),n=t?.getDsn(),i=t?.getOptions().tunnel,a={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!i&&n&&{dsn:(0,V.SB)(n)}},{beforeSendSpan:o,ignoreSpans:s}=t?.getOptions()||{},l=s?.length?e.filter(e=>{let t=(0,H.et)(e);return!eu({description:t.description,op:t.op,attributes:t.data},s)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent("before_send","span",u);let c=o?e=>{let t=(0,H.et)(e),r=J(o)?t:o(t);return r||((0,H.xl)(),t)}:H.et,d=[];for(let e of l){let t=c(e);t&&d.push([{type:"span"},t])}return ee(a,d)}([this],e)):(k.T&&P.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(e&&e_(e))return void e.emit("afterSegmentSpanEnd",this);let t=this._convertSpanToTransaction();t&&((0,ra.L)(this).scope||(0,F.o5)()).captureEvent(t)}_convertSpanToTransaction(){if(!rl((0,H.et)(this)))return;this._name||(k.T&&P.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=(0,ra.L)(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let n=(0,H.xO)(this).filter(e=>{var t;return e!==this&&!((t=e)instanceof ro&&t.isStandaloneSpan())}).map(e=>(0,H.et)(e)).filter(rl),i=this._attributes[z.i_];delete this._attributes[z.Le];let a=!1;
14n.forEach(e=>{delete e.data[z.Le],e.op?.startsWith("gen_ai.")&&(a=!0)});let o={contexts:{trace:(0,H.Ck)(this)},spans:n.length>1e3?n.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):n,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,K.k1)(this),hasGenAiSpans:a},request:r,...i&&{transaction_info:{source:i}}},s=ri(this._events);return s&&Object.keys(s).length&&(k.T&&P.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(s,void 0,2)),o.measurements=s),o}}function rs(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function rl(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}var ru=r(19674),rc=r(81819);function rd(e){let t=rf();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,H.cI)(e.startTime),delete r.startTime,r}return t}(e),{forceTransaction:n,parentSpan:i}=e;return(e.scope?t=>(0,F.v4)(e.scope,t):void 0!==i?e=>rp(i,e):e=>e())(()=>{let t=(0,F.o5)(),a=function(e,t){if(t)return t;if(null===t)return;let r=(0,rt.f)(e);if(!r)return;let n=(0,F.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,H.zU)(r):r}(t,i),o=(0,F.KU)();return e.onlyIfParent&&!a?(o?.recordDroppedEvent("no_parent_span","span"),new rn):function({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let i;if(!(0,re.f)()){let n=new rn;if(r||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,K.k1)(n)};(0,K.LZ)(n,e)}return n}let a=(0,F.KU)();if(function(e,t){let r=e?.getOptions().ignoreSpans;return!!e&&!!e_(e)&&!!r?.length&&eu({description:t.name||"",op:t.attributes?.[z.uT]||t.op,attributes:t.attributes},r)}(a,t))return rm(n)||a?.recordDroppedEvent("ignored","span"),new rn({dropReason:"ignored",traceId:e?.spanContext().traceId??n.getPropagationContext().traceId});let o=(0,F.rm)();if(e&&!r)i=function(e,t,r){let{spanId:n,traceId:i}=e.spanContext(),a=rm(t),o=!a&&(0,H.pK)(e),s=o?new ro({...r,parentSpanId:n,traceId:i,sampled:o}):new rn({traceId:i});(0,H.Hu)(e,s);let l=(0,F.KU)();return l&&(e_(l)&&s instanceof rn&&(e instanceof rn&&e.dropReason?(s.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,"span")):a||(s.dropReason="sample_rate",l.recordDroppedEvent("sample_rate","span"))),l.emit("spanStart",s),r.endTimestamp&&(l.emit("spanEnd",s),l.emit("afterSpanEnd",s))),s}(e,n,t),(0,H.Hu)(e,i);else if(e){let r=(0,K.k1)(e),{traceId:a,spanId:o}=e.spanContext(),s=(0,H.pK)(e);i=rh({traceId:a,parentSpanId:o,...t},n,s),(0,K.LZ)(i,r)}else{let{traceId:e,dsc:r,parentSpanId:a,sampled:s}={...o.getPropagationContext(),...n.getPropagationContext()};i=rh({traceId:e,parentSpanId:a,...t},n,s),r&&(0,K.LZ)(i,r)}return!function(e){if(!k.T)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=(0,H.et)(e),{spanId:i}=e.spanContext(),a=(0,H.pK)(e),o=(0,H.zU)(e),s=o===e,l=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,u=[`op: ${r}`,`name: ${t}`,`ID: ${i}`];if(n&&u.push(`parent ID: ${n}`),!s){let{op:e,description:t}=(0,H.et)(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}P.Yz.log(`${l} 15 ${u.join("\n ")}`)}(i),(0,ra.d)(i,n,o),i}({parentSpan:a,spanArguments:r,forceTransaction:n,scope:t})})}function rp(e,t){let r=rf();return r.withActiveSpan?r.withActiveSpan(e,t):(0,F.v4)(r=>((0,rt.r)(r,e||void 0),t(r)))}function rf(){let e=(0,Q.EU)();return(0,rc.h)(e)}function rh(e,t,r){let n=(0,F.KU)(),i=n?.getOptions()||{},{name:a=""}=e,o={spanAttributes:{...e.attributes},spanName:a,parentSampled:r};n?.emit("beforeSampling",o,{decision:!1});let s=o.parentSampled??r,l=o.spanAttributes,u=t.getPropagationContext(),c=rm(t),[d,p,f]=c?[!1]:function(e,t,r){let n,i;if(!(0,re.f)(e))return[!1];"function"==typeof e.tracesSampler?(n=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),i=!0):void 0!==t.parentSampled?n=t.parentSampled:void 0!==e.tracesSampleRate&&(n=e.tracesSampleRate,i=!0);let a=(0,eO.i)(n);if(void 0===a)return k.T&&P.Yz.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(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!a)return k.T&&P.Yz.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,a,i];let o=r<a;return!o&&k.T&&P.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[o,a,i]}(i,{name:a,parentSampled:s,attributes:l,parentSampleRate:(0,eO.i)(u.dsc?.sample_rate)},u.sampleRand),h=new ro({...e,attributes:{[z.i_]:"custom",[z.sy]:void 0!==p&&f?p:void 0,...l},sampled:d});return d||!n||c||(k.T&&P.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),n.recordDroppedEvent("sample_rate",e_(n)?"span":"transaction")),n&&n.emit("spanStart",h),h}function rm(e){return!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}let rg={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function r_(e,t={}){let r,n=new Map,i=!1,a="externalFinish",o=!t.disableAutoFinish,s=[],{idleTimeout:l=rg.idleTimeout,finalTimeout:u=rg.finalTimeout,childSpanTimeout:c=rg.childSpanTimeout,beforeSpanEnd:d,trimIdleSpanEndTimestamp:p=!0}
15=t,f=(0,F.KU)();if(!f||!(0,re.f)()){let e=new rn,t={sample_rate:"0",sampled:"false",...(0,K.k1)(e)};return(0,K.LZ)(e,t),e}let h=(0,F.o5)(),m=(0,H.Bk)(),g=function(e){let t=rd(e);return(0,rt.r)((0,F.o5)(),t),k.T&&P.Yz.log("[Tracing] Started span is an idle span"),t}(e);function _(){r&&(clearTimeout(r),r=void 0)}function y(e){_(),r=setTimeout(()=>{!i&&0===n.size&&o&&(a="idleTimeout",g.end(e))},l)}function v(e){r=setTimeout(()=>{!i&&o&&(a="heartbeatFailed",g.end(e))},c)}function b(e){i=!0,n.clear(),s.forEach(e=>e()),(0,rt.r)(h,m);let t=(0,H.et)(g),{start_timestamp:r}=t;if(!r)return;t.data[z.fs]||g.setAttribute(z.fs,a);let o=t.status;o&&"unknown"!==o||g.setStatus({code:ru.F3}),P.Yz.log(`[Tracing] Idle span "${t.op}" finished`);let c=(0,H.xO)(g).filter(e=>e!==g),d=0;c.forEach(t=>{t.isRecording()&&(t.setStatus({code:ru.TJ,message:"cancelled"}),t.end(e),k.T&&P.Yz.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=(0,H.et)(t),i=n<=e,a=r-n<=(u+l)/1e3;if(k.T){let e=JSON.stringify(t,void 0,2);i?a||P.Yz.log("[Tracing] Discarding span since it finished after idle span final timeout",e):P.Yz.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!a||!i)&&((0,H.VS)(g,t),d++)}),d>0&&g.setAttribute("sentry.idle_span_discarded_spans",d)}return g.end=new Proxy(g.end,{apply(e,t,r){if(d&&d(g),t instanceof rn)return;let[n,...i]=r,a=n||(0,eP.zf)(),o=(0,H.cI)(a),s=(0,H.xO)(g).filter(e=>e!==g),l=(0,H.et)(g);if(!s.length||!p)return b(o),Reflect.apply(e,t,[o,...i]);let c=f.getOptions().ignoreSpans,h=s?.reduce((e,t)=>{let r=(0,H.et)(t);return!r.timestamp||c&&eu({description:r.description,op:r.op,attributes:r.data},c)?e:e?Math.max(e,r.timestamp):r.timestamp},void 0),m=l.start_timestamp,_=Math.min(m?m+u/1e3:1/0,Math.max(m||-1/0,Math.min(o,h||1/0)));return b(_),Reflect.apply(e,t,[_,...i])}}),s.push(f.on("spanStart",e=>{var t;!(i||e===g||(0,H.et)(e).timestamp||e instanceof ro&&e.isStandaloneSpan())&&(0,H.xO)(g).includes(e)&&(t=e.spanContext().spanId,_(),n.set(t,!0),v((0,eP.zf)()+c/1e3))})),s.push(f.on("spanEnd",e=>{if(!i){var t;t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&y((0,eP.zf)()+l/1e3)}})),s.push(f.on("idleSpanEnableAutoFinish",e=>{e===g&&(o=!0,y(),n.size&&v())})),t.disableAutoFinish||y(),setTimeout(()=>{i||(g.setStatus({code:ru.TJ,message:"deadline_exceeded"}),a="finalTimeout",g.end())},u),g}let ry=!1;var rv=r(35033);let rb=(e,t,r,n)=>{let i,a;return o=>{t.value>=0&&(o||n)&&((a=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,r),e(t))}},rE=(e=!0)=>{let t=tb.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},rS=()=>{let e=rE();return e?.activationStart??0};function rT(e,t,r){tb.document&&tb.addEventListener(e,t,r)}function rw(e,t,r){tb.document&&tb.removeEventListener(e,t,r)}let rP=-1,rR=new Set,rx=e=>{if(("pagehide"===e.type||tb.document?.visibilityState==="hidden")&&rP>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of rR)e();isFinite(rP)||(rP="visibilitychange"===e.type?e.timeStamp:0,rw("prerenderingchange",rx,!0))}},rO=()=>{if(tb.document&&rP<0){let e=rS();rP=(tb.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(tb.document?.visibilityState!=="hidden"||tb.document?.prerendering?1/0:0),rT("visibilitychange",rx,!0),rT("pagehide",rx,!0),rT("prerenderingchange",rx,!0)}return{get firstHiddenTime(){return rP},onHidden(e){rR.add(e)}}},rk=(e,t=-1)=>{let r=rE(),n="navigate";return r&&(tb.document?.prerendering||rS()>0?n="prerender":tb.document?.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:n}},rC=new WeakMap;function rI(e,t){try{return rC.get(e)||rC.set(e,new t),rC.get(e)}catch(e){return new t}}class rA{constructor(){rA.prototype.__init.call(this),rA.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let rM=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}},rN=e=>{let t=!1;return()=>{t||(e(),t=!0)}},rj=e=>{tb.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},rD=[1800,3e3],rL=[.1,.25],rU=0,rF=1/0,r$=0,rB=e=>
15{e.forEach(e=>{e.interactionId&&(rF=Math.min(rF,e.interactionId),rU=(r$=Math.max(r$,e.interactionId))?(r$-rF)/7+1:0)})},rz=()=>l?rU:performance.interactionCount||0,rH=0;class rW{constructor(){rW.prototype.__init.call(this),rW.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){rH=rz(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((rz()-rH)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<10||e.duration>t._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),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);this._onAfterProcessingINPCandidate?.(r)}}}let rq=e=>{let t=tb.requestIdleCallback||tb.setTimeout;tb.document?.visibilityState==="hidden"?e():(rT("visibilitychange",e=rN(e),{once:!0,capture:!0}),rT("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),rw("visibilitychange",e,{capture:!0}),rw("pagehide",e,{capture:!0})}))},rY=[200,500];class rX{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let rG=[2500,4e3],rK=[800,1800],rJ=e=>{tb.document?.prerendering?rj(()=>rJ(e)):tb.document?.readyState!=="complete"?addEventListener("load",()=>rJ(e),!0):setTimeout(e)},rV={},rQ={};function rZ(e,t=!1){return r9("cls",e,r4,u,t)}function r0(e,t=!1){return r9("lcp",e,r5,c,t)}function r1(e){return r9("inp",e,r6,p)}function r2(e,t){return r7(e,t),rQ[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),rM(e,t=>{r3(e,{entries:t})},t)}(e),rQ[e]=!0),ne(e,t)}function r3(e,t){let r=rV[e];if(r?.length)for(let e of r)try{e(t)}catch(e){}}function r4(){return((e,t={})=>{((e,t={})=>{rj(()=>{let r,n=rO(),i=rk("FCP"),a=rM("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-rS(),0),i.entries.push(t),r(!0)))});a&&(r=rb(e,i,rD,t.reportAllChanges))})})(rN(()=>{let r,n=rk("CLS",0),i=rO(),a=rI(t,rA),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=rM("layout-shift",o);s&&(r=rb(e,n,rL,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),tb?.setTimeout?.(r))}))})(e=>{r3("cls",{metric:e}),u=e},{reportAllChanges:!0})}function r5(){return((e,t={})=>{rj(()=>{let r,n=rO(),i=rk("LCP"),a=rI(t,rX),o=e=>{for(let o of(t.reportAllChanges||(e=e.slice(-1)),e))a._processEntry(o),o.startTime<n.firstHiddenTime&&(i.value=Math.max(o.startTime-rS(),0),i.entries=[o],r())},s=rM("largest-contentful-paint",o);if(s){r=rb(e,i,rG,t.reportAllChanges);let n=rN(()=>{o(s.takeRecords()),s.disconnect(),r(!0)}),a=e=>{e.isTrusted&&(rq(n),rw(e.type,a,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])rT(e,a,{capture:!0})}})})(e=>{r3("lcp",{metric:e}),c=e},{reportAllChanges:!0})}function r8(){return((e,t={})=>{let r=rk("TTFB"),n=rb(e,r,rK,t.reportAllChanges);rJ(()=>{let e=rE();e&&(r.value=Math.max(e.responseStart-rS(),0),r.entries=[e],n(!0))})})(e=>{r3("ttfb",{metric:e}),d=e})}function r6(){return((e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let r=rO();rj(()=>{let n;"interactionCount"in performance||l||(l=rM("event",rB,{type:"event",buffered:!0,durationThreshold:0}));let i=rk("INP"),a=rI(t,rW),o=e=>{rq(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==i.value&&(i.value=t._latency,i.entries=t.entries,n())})},s=rM("event",o,{durationThreshold:t.durationThreshold??40});n=rb(e,i,rY,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{o(s.takeRecords()),n(!0)}))})})(e=>{r3("inp",{metric:e}),p=e})}function r9(e,t,r,n,i=!1){let a;return r7(e,t),rQ[e]||(a=r(),rQ[e]=!0),n&&t({metric:n}),ne(e,t,i?a:void 0)}function r7(e,t){rV[e]=rV[e]||[],rV[e].push(t)}function ne(e,t,r){return()=>{r&&r();let n=rV[e];if(!n)return;let i=n.indexOf(t);-1!==i&&n.splice(i,1)}}function nt(e){return"number"==typeof e&&isFinite(e)}function nr(e,t,r,{...n}){let i=(0,H.et)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),rp(e,()=>{let e=rd({startTime:t,...n});return e&&e.end(r),e})}function nn(e){let t,r=(0,F.KU)();if(!r)return;let{name:n,transaction:i,attributes:a,startTime:o}=e,{release:s,environment:l,sendDefaultPii:u}=r.getOptions(),c=r.getIntegrationByName("Replay"),d=c?.getReplayId(),p=(0,F.o5)(),f=p.getUser(),h=void 0!==f?f.email||f.id||f.ip_address:void 0;try{t=p.getScopeData().contexts.profile.profile_id}catch{}return rd({name:n,attributes:{release:s,environment:l,user:h||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:i,"user_agent.original":tb.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...a},startTime:o,experimental:{standalone:!0}})}function ni(){return tb.addEventListener&&tb.performance}function na(e){return e/1e3}function no(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function ns(e,t){let r,n=!1;function i(e){!n&&r&&t(e,r.spanContext().spanId,r),n=!0}let a=e=>{("pagehide"===e.type||tb.document?.visibilityState==="hidden")&&i("pagehide")};rT("visibilitychange",a,{capture:!0,once:!0}),rT("pagehide",a,{capture:!0,once:!0});let o=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),o(),s())}),s=e.on("afterStartPageLoadSpan",e=>{r=e,s()})}function nl(e){return null!=e&&e>0&&e<=6e4}function nu(e){return e?(((0,eP.k3)()||performance.timeOrigin)+e)/1e3:e}function nc(e){let t={};if(void 0!=e.nextHopProtocol){let{name:r,version:n}=function(e){let t="unknown",r="unknown",n="";for(let i of e){if("/"===i){[t,r]=e.split("/");break}if(!isNaN(Number(i))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=i}
15return n===e&&(t=n),{name:t,version:r}}(e.nextHopProtocol);t["network.protocol.version"]=n,t["network.protocol.name"]=r}return(0,eP.k3)()||ni()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":nu(e.redirectStart),"http.request.redirect_end":nu(e.redirectEnd),"http.request.worker_start":nu(e.workerStart),"http.request.fetch_start":nu(e.fetchStart),"http.request.domain_lookup_start":nu(e.domainLookupStart),"http.request.domain_lookup_end":nu(e.domainLookupEnd),"http.request.connect_start":nu(e.connectStart),"http.request.secure_connection_start":nu(e.secureConnectionStart),"http.request.connection_end":nu(e.connectEnd),"http.request.request_start":nu(e.requestStart),"http.request.response_start":nu(e.responseStart),"http.request.response_end":nu(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}let nd=0,np={};function nf(e,t,r,n,i=r){var a;let o=t["secureConnection"===(a=r)?"connectEnd":"fetch"===a?"domainLookupStart":`${a}End`],s=t[`${r}Start`];s&&o&&nr(e,n+na(s),n+na(o),{op:`browser.${i}`,name:t.name,attributes:{[z.JD]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}let nh=[],nm=new Map,ng=new Map,n_={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"},ny=({metric:e})=>{if(void 0==e.value)return;let t=na(e.value);if(t>60)return;let r=e.entries.find(t=>t.duration===e.value&&n_[t.name]);if(!r)return;let{interactionId:n}=r,i=n_[r.name],a=na((0,eP.k3)()+r.startTime),o=(0,H.Bk)(),s=o?(0,H.zU)(o):void 0,l=null!=n?nm.get(n):void 0,u=l?.span||s,c=u?(0,H.et)(u).description:(0,F.o5)().getScopeData().transactionName,d=nn({name:l?.elementName||(0,e2.Hd)(r.target),transaction:c,attributes:{[z.JD]:"auto.http.browser.inp",[z.uT]:`ui.interaction.${i}`,[z.jG]:r.duration},startTime:a});d&&(d.addEvent("inp",{[z.Sn]:"millisecond",[z.xc]:e.value}),d.end(a+t))};function nv(e){let{name:t,op:r,origin:n,metricName:i,value:a,attributes:o,parentSpan:s,reportEvent:l,startTime:u,endTime:c}=e,d=(0,F.o5)().getScopeData().transactionName,p={[z.JD]:n,[z.uT]:r,[z.jG]:0,[`browser.web_vital.${i}.value`]:a,"sentry.transaction":d,"user_agent.original":tb.navigator?.userAgent,...o};s&&(0,H.RD)(s).attributes?.[z.uT]==="pageload"&&(p["sentry.pageload.span_id"]=s.spanContext().spanId),l&&(p[`browser.web_vital.${i}.report_event`]=l);let f=rd({name:t,attributes:p,startTime:u,parentSpan:s});f&&f.end(c??u)}let nb="sentry_previous_trace";function nE(e){return 1===e.traceFlags}var nS=r(17253);function nT(e={}){let t=e.client||(0,F.KU)();if(!(0,O.Ol)()||!t)return{};let r=(0,Q.EU)(),n=(0,rc.h)(r);if(n.getTraceData)return n.getTraceData(e);let i=e.scope||(0,F.o5)(),a=e.span||(0,H.Bk)();if(!a&&(0,F.Bi)())return{};let o=a?(0,H.Qh)(a):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,rv.TC)(t,n,r)}(i),s=a?(0,K.k1)(a):(0,K.ao)(t,i),l=(0,nS.De)(s);if(!rv.MI.test(o))return P.Yz.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let u={"sentry-trace":o,baggage:l};return e.propagateTraceparent&&(u.traceparent=a?(0,H.G_)(a):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,rv.Iy)(t,n,r)}(i)),u}function nw(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(nS.sv))}function nP(e,t,r,n){let i={url:tv(e),type:"fetch","http.method":r,[z.JD]:n,[z.uT]:"http.client"};return t&&(tm(t)||(i["http.url"]=tv(t.href),i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}let nR=Symbol.for("sentry__originalRequestBody");function nx(e){return new URLSearchParams(e).toString()}function nO(e,t=P.Yz){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[nx(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}function nk(e=[]){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][nR];if(void 0!==t)return t}}function nC(e){let t;try{t=e.getAllResponseHeaders()}catch(e){return{}}return t?t.split("\r\n").reduce((e,t)=>
15{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}}function nI(e){try{return new URL(e,e3.location.origin).href}catch{return}}function nA(e){try{return new Headers(e)}catch{return}}let nM=new WeakMap,nN=new Map,nj={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function nD(e,t){let{url:r}=(0,H.et)(e).data;if(!r||"string"!=typeof r)return;let n=()=>void setTimeout(i);if(e_(t)){let t=e.end.bind(e);e.end=e=>{let r=e??(0,eP.zf)(),a=!1,o=()=>{a||(a=!0,setTimeout(i),t(r),clearTimeout(s))};n=o;let s=setTimeout(o,300)}}let i=r2("resource",({entries:t})=>{t.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(r)&&(e.setAttributes(nc(t)),n())})})}let nL=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function nU(){let e=e3.navigator;return!!e?.userAgent&&nL.test(e.userAgent)}let nF={...rg,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...nj};function n$(e,t,r){e.emit("startPageLoadSpan",t,r),(0,F.o5)().setTransactionName(t.name);let n=e[nW];return n&&e.emit("afterStartPageLoadSpan",n),n}function nB(e,t,r){let{url:n,isRedirect:i}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i}),e.emit("startNavigationSpan",t,{isRedirect:i});let a=(0,F.o5)();return a.setTransactionName(t.name),n&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...e8(),url:n}}),e[nW]}function nz(e){let t=e3.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}function nH(e){let t=e3.performance?.getEntriesByType?.("navigation")[0],r=t?.serverTiming?.find(t=>t.name===e);return r?.description}let nW="_sentry_idleSpan",nq=w.O,nY=null,nX=new Map,nG=new Map;function nK(e){let t=e.split("/").filter(Boolean),r=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?r+=1e3:t.endsWith("*")?r+=100:r+=10}return t.length>0&&(r+=1/t.length),r}function nJ(e){if(nX.has(e))return nX.get(e)??null;try{let t=new RegExp(e);return nX.set(e,t),t}catch(t){return t9.T&&P.Yz.warn("Could not compile regex",{regexString:e,error:t}),null}}function nV(){if(!nq?._sentryRouteManifest||"string"!=typeof nq._sentryRouteManifest)return null;let e=nq._sentryRouteManifest;if(nY&&E===e)return nY;nX.clear(),nG.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return nY=t,E=e,t}catch{return t9.T&&P.Yz.warn("Could not extract route manifest"),null}}let nQ=e=>{let t=nV();if(!t)return;let r=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(nG.has(r))return nG.get(r);let{staticRoutes:n,dynamicRoutes:i}=t;if(!Array.isArray(n)||!Array.isArray(i))return;let a=(function(e,t,r){let n=[];if(t.some(t=>t.path===e))return n;for(let t of r)if(t.regex){let r=nJ(t.regex);r?.test(e)&&n.push(t.path)}if(!e.startsWith("/:")){for(let t of r)if(t.hasOptionalPrefix&&t.regex){let r="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,i=nJ(t.regex);i?.test(r)&&n.push(t.path)}}return n})(r,n,i).sort((e,t)=>nK(e)-nK(t))[0];return nG.set(r,a),a};var nZ=r(99742);function n0(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}let n1="incomplete-app-router-transaction",n2="router-patch",n3={current:void 0},n4=w.O,n5=w.O;function n8(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let n6=new WeakSet;function n9(e,t,r){n6.has(t)||(n6.add(t),["back","forward","push","replace"].forEach(n=>{t?.[n]&&(t[n]=new Proxy(t[n],{apply(t,i,a){if("router-patch"!==n2)return t.apply(i,a);let o=n1,s={[z.uT]:"navigation",[z.JD]:"auto.navigation.nextjs.app_router_instrumentation",[z.i_]:"url"},l=a[0],u=nZ.env._sentryBasePath??n5._sentryBasePath,c=u&&"string"==typeof l&&!l.startsWith(u)?`${u}${l}`:l;"push"===n?(o=n0(n8(c)),s["navigation.type"]="router.push"):"replace"===n?(o=n0(n8(c)),s["navigation.type"]="router.replace"):"back"===n?s["navigation.type"]="router.back":"forward"===n&&(s["navigation.type"]="router.forward");let d=nQ(o);return r.current=nB(e,{name:d??o,attributes:{...s,[z.i_]:d?"route":"url"}}),t.apply(i,a)}}))}))}var n7=r(89099);let ie=n7.events?n7:n7.default,it=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function ir(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i=n>=0?e[n]:"/";i&&(t=`${i}/${t}`,r="/"===i.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function ii(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}class ia{constructor(e){this._maxSize=e,this._cache=new Map}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}}let io=new ia(100);var is=r(99742);let il=!1,iu=w.O;function ic(e){return"/"===e[e.length-1]?e.slice(0,-1):e}let id=w.O,ip="sentryReplaySession",ih="Unable to send Replay";var im=Object.defineProperty,ig=(e,t,r)=>((e,t,r)=>t in e?im(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),i_=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(i_||{});function iy(e){let t=e?.host;return t?.shadowRoot===e}function iv(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ib(e){try{var t;let r=e.rules||e.cssRules;return r?((t=Array.from(r,iE).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 iE(e){let t;if("styleSheet"in e)try{t=ib(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,r=e.selectorText.includes(":"),n="string"==typeof e.style.all&&e.style.all;if(n&&(t=function(e){let t="";for(let r=0;r<e.style.length;r++){let n=e.style,i=n[r],a=n.getPropertyPriority(i);t+=`${i}:${n.getPropertyValue(i)}${a?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),r&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),r||n)return t}return t||e.cssText}class iS{constructor(){ig(this,"idNodeMap",new Map),ig(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-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);
15this.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 r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function iT({maskInputOptions:e,tagName:t,type:r}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||r&&e[r]||"password"===r||"INPUT"===t&&!r&&e.text)}function iw({isMasked:e,element:t,value:r,maskInputFn:n}){let i=r||"";return e?(n&&(i=n(i,t)),"*".repeat(i.length)):i}function iP(e){return e.toLowerCase()}function iR(e){return e.toUpperCase()}let ix="__rrweb_original__";function iO(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?iP(t):null}function ik(e,t,r){return"INPUT"===t&&("radio"===r||"checkbox"===r)?e.getAttribute("value")||"":e.value}function iC(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}let n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return n?.[1]??null}let iI={};function iA(e){let t=iI[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(e){}return iI[e]=n.bind(window)}function iM(...e){return iA("setTimeout")(...e)}function iN(...e){return iA("clearTimeout")(...e)}function ij(e){try{return e.contentDocument}catch{}}let iD=1,iL=RegExp("[^a-z0-9-_:]");function iU(){return iD++}let iF=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,i$=/^(?:[a-z+]+:)?\/\//i,iB=/^www\..*/i,iz=/^(data:)([^,]*),(.*)/i;function iH(e,t){return(e||"").replace(iF,(e,r,n,i,a,o)=>{let s=n||a||o,l=r||i||"";if(!s)return e;if(i$.test(s)||iB.test(s)||iz.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+s}${l})`;let u=t.split("/"),c=s.split("/");for(let e of(u.pop(),c))if("."===e)continue;else".."===e?u.pop():u.push(e);return`url(${l}${u.join("/")}${l})`})}let iW=/^[^ \t\n\r\u000c]+/,iq=/^[, \t\n\r\u000c]+/,iY=new WeakMap;function iX(e,t){return t&&""!==t.trim()?iG(e,t):t}function iG(e,t){let r=iY.get(e);if(r||(r=e.createElement("a"),iY.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function iK(e,t,r,n,i,a,o){if(!n)return n;if("src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0])return iX(e,n);if("background"===r&&("table"===t||"td"===t||"th"===t))return iX(e,n);if("srcset"===r)return function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}let i=[];for(;n(iq),!(r>=t.length);){let a=n(iW);if(","===a.slice(-1))a=iX(e,a.substring(0,a.length-1)),i.push(a);else{let n="";a=iX(e,a);let o=!1;for(;;){let e=t.charAt(r);if(""===e){i.push((a+n).trim());break}if(o)")"===e&&(o=!1);else if(","===e){r+=1,i.push((a+n).trim());break}else"("===e&&(o=!0);n+=e,r+=1}}}return i.join(", ")}(e,n);if("style"===r){let t=iH(n,iG(e));return o&&o.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{let r=e.split(";"),n=[];for(let e of r){if(!(e=e.trim()))continue;let r=e.indexOf(":");if(-1===r){n.push(e);continue}let i=e.slice(0,r).trim();t.has(i)||n.push(e)}return n.join("; ")+(n.length>0&&e.endsWith(";")?";":"")}catch(t){return console.warn("Error filtering CSS properties:",t),e}}(t,o)),t}else if("object"===t&&"data"===r)return iX(e,n);return"function"==typeof a?a(r,n,i):n}function iJ(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function iV(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:iV(e.parentNode,t,r,n+1)}function iQ(e,t){return r=>{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch{return!1}}}function iZ(e,t,r,n,i,a){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 s=-1,l=-1;if(a){if((l=iV(o,iQ(n,i)))<0)return!0;s=iV(o,iQ(t,r),l>=0?l:1/0)}else{if((s=iV(o,iQ(t,r)))<0)return!1;l=iV(o,iQ(n,i),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!a}catch(e){}return!!a}function i0(e){return null==e?"":e.toLowerCase()}function i1(e,t){let r,{doc:n,mirror:i,blockClass:a,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:f=!1,inlineStylesheet:h=!0,maskInputOptions:_={},maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:E,dataURLOptions:S={}
15,inlineImages:T=!1,recordCanvas:w=!1,onSerialize:P,onIframeLoad:R,iframeLoadTimeout:x=5e3,onBlockedImageLoad:O,onStylesheetLoad:k,stylesheetLoadTimeout:C=5e3,keepIframeSrcFn:I=()=>!1,newlyAddedElement:A=!1,ignoreCSSAttributes:M}=t,{preserveWhiteSpace:N=!0}=t,j=function(e,t){let{doc:r,mirror:n,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:h={},maskTextFn:_,maskInputFn:y,dataURLOptions:v={},inlineImages:b,recordCanvas:E,keepIframeSrcFn:S,newlyAddedElement:T=!1,ignoreCSSAttributes:w}=t,P=function(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return 1===r?void 0:r}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:i_.Document,childNodes:[],compatMode:e.compatMode};return{type:i_.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:i_.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:P};case e.ELEMENT_NODE:return function(e,t){let r,{doc:n,blockClass:i,blockSelector:a,unblockSelector:o,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:p,recordCanvas:f,keepIframeSrcFn:h,newlyAddedElement:_=!1,rootId:y,maskTextClass:v,unmaskTextClass:b,maskTextSelector:E,unmaskTextSelector:S,ignoreCSSAttributes:T}=t,w=function(e,t,r,n){try{if(n&&e.matches(n))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,i,a,o),P=function(e){if(e instanceof HTMLFormElement)return"form";let t=iP(e.tagName);return iL.test(t)?"div":t}(e),R={},x=e.attributes.length;for(let t=0;t<x;t++){let r=e.attributes[t];r.name&&!iJ(P,r.name,r.value)&&(R[r.name]=iK(n,P,iP(r.name),r.value,e,u,T))}if("link"===P&&s){let t=Array.from(n.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=ib(t)),r&&(R.rel=null,R.href=null,R.crossorigin=null,R._cssText=iH(r,t.href))}if("style"===P&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=ib(e.sheet);t&&(R._cssText=iH(t,iG(n)))}if("input"===P||"textarea"===P||"select"===P||"option"===P){let t=iO(e),r=ik(e,iR(P),t),n=e.checked;if("submit"!==t&&"button"!==t&&r){let n=iZ(e,v,E,b,S,iT({type:t,tagName:iR(P),maskInputOptions:l}));R.value=iw({isMasked:n,element:e,value:r,maskInputFn:c})}n&&(R.checked=n)}if("option"===P&&(e.selected&&!l.select?R.selected=!0:delete R.selected),"canvas"===P&&f){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){let i=t.getImageData;if(new Uint32Array((ix in i?i[ix]:i).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).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),r=n.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(d.type,d.quality)&&(R.rr_dataURL=t)}}if("img"===P&&p){m||(g=(m=n.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",r=e.crossOrigin,i=()=>{e.removeEventListener("load",i);try{m.width=e.naturalWidth,m.height=e.naturalHeight,g.drawImage(e,0,0),R.rr_dataURL=m.toDataURL(d.type,d.quality)}catch(r){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i);return}console.warn(`Cannot inline img src=${t}! Error: ${r}`)}"anonymous"===e.crossOrigin&&(r?R.crossOrigin=r:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i)}if(("audio"===P||"video"===P)&&(R.rr_mediaState=e.paused?"paused":"played",R.rr_mediaCurrentTime=e.currentTime),!_&&(e.scrollLeft&&(R.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(R.rr_scrollTop=e.scrollTop)),w){let{width:t,height:r}=e.getBoundingClientRect();R={class:R.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==P||h(R.src)||(w||ij(e)||(R.rr_src=R.src),delete R.src);try{customElements.get(P)&&(r=!0)}catch(e){}return{type:i_.Element,tagName:P,attributes:R,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:w,rootId:y,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:a,unblockSelector:o,inlineStylesheet:f,maskAttributeFn:l,maskInputOptions:h,maskInputFn:y,dataURLOptions:v,inlineImages:b,recordCanvas:E,keepIframeSrcFn:S,newlyAddedElement:T,rootId:P,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,ignoreCSSAttributes:w});case e.TEXT_NODE:return function(e,t){let{maskAllText:r,maskTextClass:n,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:o,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,p=e.textContent,f="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=ib(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}p=iH(p,iG(t.doc))}h&&(p="SCRIPT_PLACEHOLDER");let g=iZ(e,n,a,i,o,r);return f||h||m||!p||!g||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),m&&p&&(l.textarea||g)&&(p=u?u(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=iw({isMasked:iZ(e,n,a,i,o,iT({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:u})),{type:i_.Text,textContent:p||"",isStyle:f,rootId:c}}(e,{doc:r,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,maskTextFn:_,maskInputOptions:h,maskInputFn:y,rootId:P});case e.CDATA_SECTION_NODE:return{type:i_.CDATA,textContent:"",rootId:P};case e.COMMENT_NODE:return{type:i_.Comment,textContent:e.textContent||"",rootId:P};default:return!1}}(e,{doc:n,mirror:i,blockClass:a,blockSelector:o,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,dataURLOptions:S,inlineImages:T,recordCanvas:w,keepIframeSrcFn:I,newlyAddedElement:A,ignoreCSSAttributes:M});if(!j)return console.warn(e,"not serialized"),null;r=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===i_.Comment)return!0;
15if(e.type===i_.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"===iC(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(i0(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===i0(e.attributes.name)||"icon"===i0(e.attributes.rel)||"apple-touch-icon"===i0(e.attributes.rel)||"shortcut icon"===i0(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&i0(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(i0(e.attributes.property).match(/^(og|twitter|fb):/)||i0(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===i0(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===i0(e.attributes.name)||"googlebot"===i0(e.attributes.name)||"bingbot"===i0(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===i0(e.attributes.name)||"generator"===i0(e.attributes.name)||"framework"===i0(e.attributes.name)||"publisher"===i0(e.attributes.name)||"progid"===i0(e.attributes.name)||i0(e.attributes.property).match(/^article:/)||i0(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===i0(e.attributes.name)||"yandex-verification"===i0(e.attributes.name)||"csrf-token"===i0(e.attributes.name)||"p:domain_verify"===i0(e.attributes.name)||"verify-v1"===i0(e.attributes.name)||"verification"===i0(e.attributes.name)||"shopify-checkout-api-token"===i0(e.attributes.name)))return!0}}return!1}(j,E)&&(N||j.type!==i_.Text||j.isStyle||j.textContent.trim().length)?iU():-2;let D=Object.assign(j,{id:r});if(i.add(e,D),-2===r)return null;P&&P(e);let L=!f;if(D.type===i_.Element){L=L&&!D.needBlock;let t=e.shadowRoot;t&&iv(t)&&(D.isShadowHost=!0)}if((D.type===i_.Document||D.type===i_.Element)&&L){E.headWhitespace&&D.type===i_.Element&&"head"===D.tagName&&(N=!1);let t={doc:n,mirror:i,blockClass:a,blockSelector:o,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:f,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:E,dataURLOptions:S,inlineImages:T,recordCanvas:w,preserveWhiteSpace:N,onSerialize:P,onIframeLoad:R,iframeLoadTimeout:x,onBlockedImageLoad:O,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:I,ignoreCSSAttributes:M};for(let r of e.childNodes?Array.from(e.childNodes):[]){let e=i1(r,t);e&&D.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let r of Array.from(e.shadowRoot.childNodes)){let n=i1(r,t);n&&(iv(e.shadowRoot)&&(n.isShadow=!0),D.childNodes.push(n))}}if(e.parentNode&&iy(e.parentNode)&&iv(e.parentNode)&&(D.isShadow=!0),D.type!==i_.Element||"iframe"!==D.tagName||D.needBlock||function(e,t,r){let n,i=function(e){try{return e.contentWindow}catch{}}(e);if(!i)return;let a=!1;try{n=i.document.readyState}catch(e){return}if("complete"!==n){let n=iM(()=>{a||(t(),a=!0)},r);e.addEventListener("load",()=>{iN(n),a=!0,t()});return}let o="about:blank";if(i.location.href!==o||e.src===o||""===e.src)return iM(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=ij(e);if(t&&R){let r=i1(t,{doc:t,mirror:i,blockClass:a,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:!1,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:E,dataURLOptions:S,inlineImages:T,recordCanvas:w,preserveWhiteSpace:N,onSerialize:P,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:I,ignoreCSSAttributes:M});r&&R(e,r)}},x),D.type===i_.Element&&"img"===D.tagName&&!e.complete&&D.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&O)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&O(e,D,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return D.type===i_.Element&&"link"===D.tagName&&"string"==typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"==typeof D.attributes.href&&"css"===iC(D.attributes.href))&&function(e,t,r){let n,i=!1;try{n=e.sheet}catch(e){n=null}if(n)return;let a=iM(()=>{i||(t(),i=!0)},r);e.addEventListener("load",()=>{iN(a),i=!0,t()})}(e,()=>{if(k){let t=i1(e,{doc:n,mirror:i,blockClass:a,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:!1,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:E,dataURLOptions:S,inlineImages:T,recordCanvas:w,preserveWhiteSpace:N,onSerialize:P,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:I,ignoreCSSAttributes:M});t&&k(e,t)}},C),D.type===i_.Element&&delete D.needBlock,D}function i2(e){try{return e.contentWindow}catch(e){}}function i3(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let i4="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.",i5={map:{},getId:()=>(console.error(i4),-1),getNode:()=>(console.error(i4),null),removeNodeFromMap(){console.error(i4)},has:()=>(console.error(i4),!1),reset(){console.error(i4)}};function i8(e,t,r={}){let n=null,i=0;return function(...a){let o=Date.now();i||!1!==r.leading||(i=o);let s=t-(o-i),l=this;s<=0||s>t?(n&&(function(...e){ap("clearTimeout")(...e)}
15(n),n=null),i=o,e.apply(l,a)):n||!1===r.trailing||(n=af(()=>{i=!1===r.leading?0:Date.now(),n=null,e.apply(l,a)},s))}}function i6(e,t,r){try{if(!(t in e))return()=>{};let n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,()=>{e[t]=n}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(i5=new Proxy(i5,{get:(e,t,r)=>("map"===t&&console.error(i4),Reflect.get(e,t,r))}));let i9=Date.now;function i7(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function ae(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function at(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ar(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function an(e,t,r,n,i){if(!e)return!1;let a=ar(e);if(!a)return!1;let o=iQ(t,r);if(!i){let e=n&&a.matches(n);return o(a)&&!e}let s=iV(a,o),l=-1;return!(s<0)&&(n&&(l=iV(a,iQ(null,n))),s>-1&&l<0||s<l)}function ai(e,t){return -2===t.getId(e)}function aa(e){return!!e.changedTouches}function ao(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function as(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function al(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(i9=()=>new Date().getTime());class au{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function ac(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}let ad={};function ap(e){let t=ad[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(e){}return ad[e]=n.bind(window)}function af(...e){return ap("setTimeout")(...e)}var ah=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(ah||{}),am=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(am||{}),ag=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(ag||{}),a_=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(a_||{}),ay=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(ay||{});class av{constructor(e){this.doc=e,this.unattachedDoc=null}parse(e){return this.parseWithConstructableStylesheet(e)||this.parseWithDetachedElement(e)}parseWithConstructableStylesheet(e){if("undefined"==typeof CSSStyleSheet||"function"!=typeof CSSStyleSheet.prototype.replaceSync)return null;try{let t=new CSSStyleSheet;t.replaceSync(`x { ${e} }`);let r=t.cssRules[0];if(!r||r.type!==CSSRule.STYLE_RULE)return null;return r.style}catch{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{this.unattachedDoc=this.doc}return this.unattachedDoc}}class ab{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=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 r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;
15this.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--)}}let aE=(e,t)=>`${e}@${t}`;class aS{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,r=new ab,n=e=>{let t=e,r=-2;for(;-2===r;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},i=i=>{if(!i.parentNode||!function(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let r=function(e){let t,r=e;for(;t=ac(r);)r=t;return r}(e);return t.contains(r)}(e))}(i))return;let a=iy(i.parentNode)?this.mirror.getId(ac(i)):this.mirror.getId(i.parentNode),o=n(i);if(-1===a||-1===o)return r.addNode(i);let s=i1(i,{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.inlineStylesheet,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=>{ao(e,this.mirror)&&!an(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),as(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),al(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(an(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t);let r=i2(e);r&&this.canvasManager.addWindow(r),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:a,nextId:o,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!aw(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)aP(this.droppedSet,e)||aw(this.removes,e,this.mirror)?aP(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let a=null;for(;r.length;){let e=null;if(a){let t=this.mirror.getId(a.value.parentNode),r=n(a.value);-1!==t&&-1!==r&&(e=a)}if(!e){let t=r.tail;for(;t;){let r=t;if(t=t.previous,r){let t=this.mirror.getId(r.value.parentNode);if(-1===n(r.value))continue;if(-1!==t){e=r;break}{let t=r.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=t.parentNode.host;if(-1!==this.mirror.getId(n)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}a=e.previous,r.removeNode(e.value),i(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 r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).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(!ai(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;an(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:iZ(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,ar(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){let r=iO(t),i=t.tagName;n=ik(t,i,r);let a=iT({maskInputOptions:this.maskInputOptions,tagName:i,type:r});n=iw({isMasked:iZ(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:n,maskInputFn:this.maskInputFn})}if(an(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue)return;let i=this.attributeMap.get(e.target);
15if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n)){if(function(e){try{return e.contentDocument}catch(e){}}(t))return;r="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!iJ(t.tagName,r)&&(i.attributes[r]=iK(this.doc,iP(t.tagName),iP(r),n,t,this.maskAttributeFn),"style"===r)){let r=e.oldValue?this.styleDeclarationParser.parse(e.oldValue):null;for(let e of Array.from(t.style)){let n=t.style.getPropertyValue(e),a=t.style.getPropertyPriority(e);n!==(r?.getPropertyValue(e)||"")||a!==(r?.getPropertyPriority(e)||"")?""===a?i.styleDiff[e]=n:i.styleDiff[e]=[n,a]:i._unchangedStyles[e]=[n,a]}if(r)for(let e of Array.from(r))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(an(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t),n=iy(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);an(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||ai(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(aT(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||function e(t,r){if(iy(t))return!1;let n=r.getId(t);return!r.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,r))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[aE(r,n)]?aT(this.movedSet,t):this.removes.push({parentId:n,id:r,isShadow:!!(iy(e.target)&&iv(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(ai(e,this.mirror))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[aE(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!an(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),al(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}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 av(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()}}function aT(e,t){e.delete(t),t.childNodes?.forEach(t=>aT(e,t))}function aw(e,t,r){return 0!==e.length&&function(e,t,r){let n=t.parentNode;for(;n;){let t=r.getId(n);if(e.some(e=>e.id===t))return!0;n=n.parentNode}return!1}(e,t,r)}function aP(e,t){return 0!==e.size&&function e(t,r){let{parentNode:n}=r;return!!n&&(!!t.has(n)||e(t,n))}(e,t)}let aR=e=>_?(...t)=>{try{return e(...t)}catch(e){if(_&&!0===_(e))return()=>{};throw e}}:e,ax=[];function aO(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{}return e&&e.target}let ak=["INPUT","TEXTAREA","SELECT"],aC=new WeakMap;function aI(e){var t=[];if(aN("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||aN("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||aN("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||aN("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){let r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}function aA(e,t,r){let n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function aM(e,t={}){let r,n=e.doc.defaultView;if(!n)return()=>{};e.recordDOM&&(r=function(e,t){let r=new aS;ax.push(r),r.init(e);let n=window.MutationObserver||window.__rrMutationObserver,i=window?.Zone?.__symbol__?.("MutationObserver");i&&window[i]&&(n=window[i]);let a=new n(aR(t=>{e.onMutation&&!1===e.onMutation(t)||r.processMutations.bind(r)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}(e,e.doc));let i=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){let i;if(!1===t.mousemove)return()=>{};let a="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],l=i8(aR(t=>{let r=Date.now()-i;e(s.map(e=>(e.timeOffset-=r,e)),t),s=[],i=null}),o),u=aR(i8(aR(e=>{let t=aO(e),{clientX:r,clientY:a}=aa(e)?e.changedTouches[0]:e;i||(i=i9()),s.push({x:r,y:a,id:n.getId(t),timeOffset:i9()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?am.Drag:e instanceof MouseEvent?am.MouseMove:am.TouchMove)}),a,{trailing:!1})),c=[i3("mousemove",u,r),i3("touchmove",u,r),i3("drag",u,r)];return aR(()=>
15{c.forEach(e=>e())})}(e),a=function({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:o}){if(!1===o.mouseInteraction)return()=>{};let s=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,l=[],u=null;return Object.keys(ag).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(o=>{let s=iP(o),c=t=>{let s=aO(t);if(an(s,n,i,a,!0))return;let l=null,c=o;if("pointerType"in t){switch(t.pointerType){case"mouse":l=a_.Mouse;break;case"touch":l=a_.Touch;break;case"pen":l=a_.Pen}l===a_.Touch?ag[o]===ag.MouseDown?c="TouchStart":ag[o]===ag.MouseUp&&(c="TouchEnd"):a_.Pen}else aa(t)&&(l=a_.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===a_.Touch||c.startsWith("Mouse")&&l===a_.Mouse)&&(l=null)):ag[o]===ag.Click&&(l=u,u=null);let d=aa(t)?t.changedTouches[0]:t;if(!d)return;let p=r.getId(s),{clientX:f,clientY:h}=d;aR(e)({type:ag[c],id:p,x:f,y:h,...null!==l&&{pointerType:l}})};if(window.PointerEvent)switch(ag[o]){case ag.MouseDown:case ag.MouseUp:s=s.replace("mouse","pointer");break;case ag.TouchStart:case ag.TouchEnd:return}l.push(i3(s,c,t))}),aR(()=>{l.forEach(e=>e())})}(e),o=function({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:o}){return i3("scroll",aR(i8(aR(o=>{let s=aO(o);if(!s||an(s,n,i,a,!0))return;let l=r.getId(s);if(s===t&&t.defaultView){let r=i7(t.defaultView);e({id:l,x:r.left,y:r.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),o.scroll||100)),t)}(e),s=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return i3("resize",aR(i8(aR(()=>{let t=ae(),i=at();(r!==t||n!==i)&&(e({width:Number(i),height:Number(t)}),r=t,n=i)}),200)),t)}(e,{win:n}),l=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,ignoreClass:o,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let r=aO(e),c=e.isTrusted,g=r&&iR(r.tagName);if("OPTION"===g&&(r=r.parentElement),!r||!g||0>ak.indexOf(g)||an(r,n,i,a,!0))return;let y=r;if(y.classList.contains(o)||s&&y.matches(s))return;let v=iO(r),b=ik(y,g,v),E=!1,S=iT({maskInputOptions:l,tagName:g,type:v}),T=iZ(r,p,h,f,m,S);("radio"===v||"checkbox"===v)&&(E=r.checked),b=iw({isMasked:T,element:r,value:b,maskInputFn:u}),_(r,d?{text:b,isChecked:E,userTriggered:c}:{text:b,isChecked:E});let w=r.name;"radio"===v&&w&&E&&t.querySelectorAll(`input[type="radio"][name="${w}"]`).forEach(e=>{if(e!==r){let t=iw({isMasked:T,element:e,value:ik(e,g,v),maskInputFn:u});_(e,d?{text:t,isChecked:!E,userTriggered:!1}:{text:t,isChecked:!E})}})}function _(t,n){let i=aC.get(t);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){aC.set(t,n);let i=r.getId(t);aR(e)({...n,id:i})}}let y=("last"===c.input?["change"]:["input","change"]).map(e=>i3(e,aR(g),t)),v=t.defaultView;if(!v)return()=>{y.forEach(e=>e())};let b=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),E=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&y.push(...E.map(e=>(function e(t,r,n,i,a=window){let o=a.Object.getOwnPropertyDescriptor(t,r);return a.Object.defineProperty(t,r,i?n:{set(e){af(()=>{n.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>e(t,r,o||{},!0)})(e[0],e[1],{set(){aR(g)({target:this,isTrusted:!1})}},!1,v))),aR(()=>{y.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:n,mirror:i,sampling:a,doc:o}){let s=aR(o=>i8(aR(a=>{let s=aO(a);if(!s||an(s,t,r,n,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d}=s;e({type:o,id:i.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d})}),a.media||500)),l=[i3("play",s(ay.Play),o),i3("pause",s(ay.Pause),o),i3("seeked",s(ay.Seeked),o),i3("volumechange",s(ay.VolumeChange),o),i3("ratechange",s(ay.RateChange),o)];return aR(()=>{l.forEach(e=>e())})}(e),c=()=>{},d=()=>{},p=()=>{},f=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){let i,a;if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};let o=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:aR((n,i,a)=>{let[o,s]=a,{id:l,styleId:u}=aA(i,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:o,index:s}]}),n.apply(i,a)})});let s=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:aR((n,i,a)=>{let[o]=a,{id:s,styleId:l}=aA(i,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:o}]}),n.apply(i,a)})}),n.CSSStyleSheet.prototype.replace&&(i=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:aR((n,i,a)=>{let[o]=a,{id:s,styleId:l}=aA(i,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:o}),n.apply(i,a)})})),n.CSSStyleSheet.prototype.replaceSync&&(a=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:aR((n,i,a)=>{let[o]=a,{id:s,styleId:l}=aA(i,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:o}),n.apply(i,a)})}));let l={};aj("CSSGroupingRule")?l.CSSGroupingRule=n.CSSGroupingRule:(aj("CSSMediaRule")&&(l.CSSMediaRule=n.CSSMediaRule),aj("CSSConditionRule")&&(l.CSSConditionRule=n.CSSConditionRule),aj("CSSSupportsRule")&&(l.CSSSupportsRule=n.CSSSupportsRule));let u={};return Object.entries(l).forEach(([n,i])=>{u[n]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(u[n].insertRule,{apply:aR((n,i,a)=>{let[o,s]=a,{id:l,styleId:u}=aA(i.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:o,index:[...aI(i),s||0]}]}),n.apply(i,a)})}),i.prototype.deleteRule=new Proxy(u[n].deleteRule,{apply:aR((n,i,a)=>{let[o]=a,{id:s,styleId:l}=aA(i.parentStyleSheet,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...aI(i),o]}]}),n.apply(i,a)})})}),aR(()=>{n.CSSStyleSheet.prototype.insertRule=o,n.CSSStyleSheet.prototype.deleteRule=s,i&&(n.CSSStyleSheet.prototype.replace=i),a&&(n.CSSStyleSheet.prototype.replaceSync=a),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:n}),d=function({mirror:e,stylesheetManager:t},r){let n=null;n="#document"===r.nodeName?e.getId(r):e.getId(r.host);let i="#document"===r.nodeName?r.defaultView?.Document:r.ownerDocument?.defaultView?.ShadowRoot,a=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==n&&-1!==n&&i&&a?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return a.get?.call(this)},set(e){let r=a.set?.call(this,e);if(null!==n&&-1!==n)try{t.adoptStyleSheets(e,n)}catch(e){}return r}}),aR(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})})):()=>{}}(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:i}){let a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:aR((i,o,s)=>{let[l,u,c]=s;
15if(r.has(l))return a.apply(o,[l,u,c]);let{id:d,styleId:p}=aA(o.parentRule?.parentStyleSheet,t,n.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:u,priority:c},index:aI(o.parentRule)}),i.apply(o,s)})});let o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:aR((i,a,s)=>{let[l]=s;if(r.has(l))return o.apply(a,[l]);let{id:u,styleId:c}=aA(a.parentRule?.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:aI(a.parentRule)}),i.apply(a,s)})}),aR(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=o})}(e,{win:n}),e.collectFonts&&(f=function({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let n=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(e,t,r){let n=new a(e,t,r);return i.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let o=i6(t.fonts,"add",function(t){return function(r){return af(aR(()=>{let t=i.get(r);t&&(e(t),i.delete(r))}),0),t.apply(this,[r])}});return n.push(()=>{r.FontFace=a}),n.push(o),aR(()=>{n.forEach(e=>e())})}(e)));let h=function(e){let{doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,selectionCb:o}=e,s=!0,l=aR(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:o,startOffset:s,endContainer:u,endOffset:c}=e.getRangeAt(t);an(o,n,i,a,!0)||an(u,n,i,a,!0)||l.push({start:r.getId(o),startOffset:s,end:r.getId(u),endOffset:c})}o({ranges:l})});return l(),i3("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){let r=e.defaultView;return r&&r.customElements?i6(r.customElements,"define",function(e){return function(r,n,i){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,i])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return aR(()=>{ax.forEach(e=>e.reset()),r?.disconnect(),i(),a(),o(),s(),l(),u(),c(),d(),p(),f(),h(),m(),g.forEach(e=>e())})}function aN(e){return void 0!==window[e]}function aj(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class aD{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,r,n){let i=r||this.getIdToRemoteIdMap(e),a=n||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),a.set(o,t)),o}getIds(e,t){let r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let i=n.get(t);return i||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,r))}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}}class aL{constructor(){this.crossOriginIframeMirror=new aD(iU),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class aU{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}for(var aF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a$="undefined"==typeof Uint8Array?[]:new Uint8Array(256),aB=0;aB<aF.length;aB++)a$[aF.charCodeAt(aB)]=aB;class az{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class aH{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new au,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}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 r={id:t,styleIds:[]},n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:iE(e),index:t}))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class aW{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){ap("requestAnimationFrame")(...e)}
15(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let aq=new iS;function aY(e={}){let t,{emit:r,checkoutEveryNms:n,checkoutEveryNth:i,blockClass:a="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:p=null,maskTextSelector:f=null,unmaskTextSelector:h=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:b,slimDOMOptions:E,maskAttributeFn:S,maskInputFn:T,maskTextFn:w,maxCanvasSize:P=null,packFn:R,sampling:x={},dataURLOptions:O={},mousemoveWait:k,recordDOM:C=!0,recordCanvas:I=!1,recordCrossOriginIframes:A=!1,recordAfter:M="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:N=!1,collectFonts:j=!1,inlineImages:D=!1,plugins:L,keepIframeSrcFn:U=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:$,onMutation:B,getCanvasManager:z}=e;_=$;let H=!A||window.parent===window,W=!1;if(!H)try{window.parent.document&&(W=!1)}catch(e){W=!0}if(H&&!r)throw Error("emit function is required");if(!H&&!W)return()=>{};void 0!==k&&void 0===x.mousemove&&(x.mousemove=k),aq.reset();let q=!0===g?{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!==b?b:{},Y=!0===E||"all"===E?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===E,headMetaDescKeywords:"all"===E}:E||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode);return!1})}();let X=0,G=e=>{for(let t of L||[])t.eventProcessor&&(e=t.eventProcessor(e));return R&&!W&&(e=R(e)),e};y=(e,a)=>{if(e.timestamp=i9(),ax[0]?.isFrozen()&&e.type!==ah.FullSnapshot&&(e.type!==ah.IncrementalSnapshot||e.data.source!==am.Mutation)&&ax.forEach(e=>e.unfreeze()),H)r?.(G(e),a);else if(W){let t={type:"rrweb",event:G(e),origin:window.location.origin,isCheckout:a};window.parent.postMessage(t,"*")}if(e.type===ah.FullSnapshot)t=e,X=0;else if(e.type===ah.IncrementalSnapshot){if(e.data.source===am.Mutation&&e.data.isAttachIframe)return;X++;let r=i&&X>=i,a=n&&t&&e.timestamp-t.timestamp>n;(r||a)&&en(!0)}};let K=e=>{y({type:ah.IncrementalSnapshot,data:{source:am.Mutation,...e}})},J=e=>y({type:ah.IncrementalSnapshot,data:{source:am.Scroll,...e}}),V=e=>y({type:ah.IncrementalSnapshot,data:{source:am.CanvasMutation,...e}}),Q=new aH({mutationCb:K,adoptedStyleSheetCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.AdoptedStyleSheet,...e}})}),Z=new aL;for(let e of L||[])e.getMirror&&e.getMirror({nodeMirror:aq,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new aW,et=function(e,t){try{return e?e(t):new az}catch{return console.warn("Unable to initialize CanvasManager"),new az}}(z,{mirror:aq,win:window,mutationCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.CanvasMutation,...e}}),recordCanvas:I,blockClass:a,blockSelector:o,unblockSelector:s,maxCanvasSize:P,sampling:x.canvas,dataURLOptions:O,errorHandler:$}),er=new aU,en=(e=!1)=>{if(!C)return;y({type:ah.Meta,data:{href:window.location.href,width:at(),height:ae()}},e),Q.reset(),er.init(),ax.forEach(e=>e.lock());let t=function(e,t){let{mirror:r=new iS,blockClass:n="rr-block",blockSelector:i=null,unblockSelector:a=null,maskAllText:o=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inl
15ineImages:p=!1,recordCanvas:f=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOM:y=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:E,onIframeLoad:S,iframeLoadTimeout:T,onBlockedImageLoad:w,onStylesheetLoad:P,stylesheetLoadTimeout:R,keepIframeSrcFn:x=()=>!1,ignoreCSSAttributes:O=new Set([])}=t||{};return i1(e,{doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,maskAllText:o,maskTextClass:s,unmaskTextClass:l,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:_,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:v,inlineImages:p,recordCanvas:f,preserveWhiteSpace:b,onSerialize:E,onIframeLoad:S,iframeLoadTimeout:T,onBlockedImageLoad:w,onStylesheetLoad:P,stylesheetLoadTimeout:R,keepIframeSrcFn:x,newlyAddedElement:!1,ignoreCSSAttributes:O})}(document,{mirror:aq,blockClass:a,blockSelector:o,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:m,maskAllInputs:q,maskAttributeFn:S,maskInputFn:T,maskTextFn:w,slimDOM:Y,dataURLOptions:O,recordCanvas:I,inlineImages:D,onSerialize:e=>{ao(e,aq)&&Z.addIframe(e),as(e,aq)&&Q.trackLinkElement(e),al(e)&&er.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t);let r=i2(e);r&&et.addWindow(r),er.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{K({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},keepIframeSrcFn:U,ignoreCSSAttributes:F});if(!t)return console.warn("Failed to snapshot the document");y({type:ah.FullSnapshot,data:{node:t,initialOffset:i7(window)}}),ax.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,aq.getId(document))};v=en;try{let e=[],t=e=>aR(aM)({onMutation:B,mutationCb:K,mousemoveCb:(e,t)=>y({type:ah.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.MouseInteraction,...e}}),scrollCb:J,viewportResizeCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.ViewportResize,...e}}),inputCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.Input,...e}}),mediaInteractionCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.MediaInteraction,...e}}),styleSheetRuleCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.StyleSheetRule,...e}}),styleDeclarationCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.StyleDeclaration,...e}}),canvasMutationCb:V,fontCb:e=>y({type:ah.IncrementalSnapshot,data:{source:am.Font,...e}}),selectionCb:e=>{y({type:ah.IncrementalSnapshot,data:{source:am.Selection,...e}})},customElementCb:e=>{y({type:ah.IncrementalSnapshot,data:{source:am.CustomElement,...e}})},blockClass:a,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,maskInputOptions:q,inlineStylesheet:m,sampling:x,recordDOM:C,recordCanvas:I,inlineImages:D,userTriggeredOnInput:N,collectFonts:j,doc:e,maskAttributeFn:S,maskInputFn:T,maskTextFn:w,keepIframeSrcFn:U,blockSelector:o,unblockSelector:s,slimDOMOptions:Y,dataURLOptions:O,mirror:aq,iframeManager:Z,stylesheetManager:Q,shadowDomManager:er,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:F,plugins:L?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>y({type:ah.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});Z.addLoadListener(r=>{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}});let r=()=>{en(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(i3("DOMContentLoaded",()=>{y({type:ah.DomContentLoaded,data:{}}),"DOMContentLoaded"===M&&r()})),e.push(i3("load",()=>
15{y({type:ah.Load,data:{}}),"load"===M&&r()},window))),()=>{e.forEach(e=>e()),ee.destroy(),v=void 0,_=void 0}}catch(e){console.warn(e)}}function aX(e){return e>0x2540be3ff?e:1e3*e}function aG(e){return e>0x2540be3ff?e/1e3:e}function aK(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:ah.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,Z.S8)(t,10,1e3)}}),"console"===t.category)))}function aJ(e){return e.closest("button,a")||e}function aV(e){let t=aQ(e);return t&&t instanceof Element?aJ(t):t}function aQ(e){var t;return"object"==typeof(t=e)&&t&&"target"in t?e.target:e}aY.mirror=aq,aY.takeFullSnapshot=function(e){if(!v)throw Error("please take full snapshot after start recording");v(e)},!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(T||(T={}));let aZ=new Set([am.Mutation,am.StyleSheetRule,am.StyleDeclaration,am.AdoptedStyleSheet,am.CanvasMutation,am.Selection,am.MediaInteraction]);class a0{constructor(e,t,r=aK){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=r}addListeners(){var e;let t=(e=()=>{this._lastMutation=a2()},b||(b=[],(0,$.GS)(id,"open",function(e){return function(...t){if(b)try{b.forEach(e=>e())}catch{}return e.apply(id,t)}})),b.push(e),()=>{let t=b?b.indexOf(e):-1;t>-1&&b.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 r,n,i;if(r=t,n=this._ignoreSelector,!a1.includes(r.tagName)||"INPUT"===r.tagName&&!["submit","button"].includes(r.getAttribute("type")||"")||"A"===r.tagName&&(r.hasAttribute("download")||r.hasAttribute("target")&&"_self"!==r.getAttribute("target"))||n&&r.matches(n)||!((i=e).data&&"number"==typeof i.data.nodeId&&i.timestamp))return;let a={timestamp:aG(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===a.node&&1>Math.abs(e.timestamp-a.timestamp))||(this._clicks.push(a),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=aG(e)}registerScroll(e=Date.now()){this._lastScroll=aG(e)}registerClick(e){let t=aJ(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=a2();for(let r of(this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=t&&e.push(r)}),e)){let e=this._clicks.indexOf(r);e>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,r=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,n=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:i,clickBreadcrumb:a}=e;if(!r&&!n){let r=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),n=r<1e3*this._timeout?"mutation":"timeout",o={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:id.location.href,route:t.getCurrentRoute(),timeAfterClickMs:r,endReason:n,clickCount:i||1}};this._addBreadcrumbEvent(t,o);return}if(i>1){let e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:id.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=t4(()=>this._checkClicks(),1e3)}}let a1=["A","BUTTON","INPUT"];function a2(){return Date.now()/1e3}function a3(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var a4=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(a4||{});let a5=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function a8(e,t){let r=aY.mirror.getId(e),n=r&&aY.mirror.getNode(r),i=n&&aY.mirror.getMeta(n),a=i&&i.type===a4.Element?i:null;return{message:t,data:a?{nodeId:r,node:{id:r,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>
15e.type===a4.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let r in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(a5.has(r)){let n=r;("data-testid"===r||"data-test-id"===r)&&(n="testId"),t[n]=e[r]}return t}(a.attributes)}}:{}}}let a6={resource:function(e){let{entryType:t,initiatorType:r,name:n,responseEnd:i,startTime:a,decodedBodySize:o,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${t}.${r}`,start:oe(a),end:oe(i),name:n,data:{size:u,statusCode:l,decodedBodySize:o,encodedBodySize:s}}},paint:function(e){let{duration:t,entryType:r,name:n,startTime:i}=e,a=oe(i);return{type:r,name:n,start:a,end:a+t,data:void 0}},navigation:function(e){let{entryType:t,name:r,decodedBodySize:n,duration:i,domComplete:a,encodedBodySize:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:h,type:m}=e;return 0===i?null:{type:`${t}.${m}`,start:oe(f),end:oe(a),name:r,data:{size:h,decodedBodySize:n,encodedBodySize:o,duration:i,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:a,redirectCount:p}}}};function a9(e,t){return({metric:r})=>void t.replayPerformanceEntries.push(e(r))}function a7(e){let t=a6[e.entryType];return t?t(e):null}function oe(e){return(((0,eP.k3)()||id.performance.timeOrigin)+e)/1e3}function ot(e){let t=e.entries[e.entries.length-1];return oi(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function or(e){let t=[],r=[];for(let n of e.entries)if(void 0!==n.sources){let e=[];for(let t of n.sources)if(t.node){r.push(t.node);let n=aY.mirror.getId(t.node);n&&e.push(n)}t.push({value:n.value,nodeIds:e.length?e:void 0})}return oi(e,"cumulative-layout-shift",r,t)}function on(e){let t=e.entries[e.entries.length-1];return oi(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function oi(e,t,r,n){let i=e.value,a=e.rating,o=oe(i);return{type:"web-vital",name:t,start:o,end:o,data:{value:i,size:i,rating:a,nodeIds:r?r.map(e=>aY.mirror.getId(e)):void 0,attributions:n}}}let oa=["log","warn","error"],oo=function(){let e={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{e.captureExceptions,e.traceInternals}};
15return oa.forEach(t=>{e[t]=()=>void 0}),e}();class os extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class ol{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}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 os;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:aX(e)}}class ou{constructor(e){ou.prototype.__init.call(this),this._worker=e,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:r})=>{r.success?e():t(Error("Received worker message with unsuccessful status"))},{once:!0}),this._worker.addEventListener("error",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(){this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(e=>e.reject(Error("Worker destroyed"))),this._pending.clear(),this._worker.terminate()}postMessage(e,t){let r=this._getAndIncrementId();return new Promise((n,i)=>{this._pending.set(r,{method:e,resolve:n,reject:i});try{this._worker.postMessage({id:r,method:e,arg:t})}catch(e){this._pending.delete(r),i(e)}})}__init(){this._onMessage=({data:e})=>{if("number"!=typeof e.id)return;let t=this._pending.get(e.id);if(t&&t.method===e.method){if(this._pending.delete(e.id),!e.success)return void t.reject(Error("Error in compression worker"));t.resolve(e.response)}}}_getAndIncrementId(){return this._id++}}class oc{constructor(e){this._worker=new ou(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=aX(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let r=JSON.stringify(e);return(this._totalSize+=r.length,this._totalSize>2e7)?Promise.reject(new os):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,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}}class od{constructor(e){this._fallback=new ol,this._compression=new oc(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}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)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:r}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(e){}}}function op(){try{return"sessionStorage"in id&&!!id.sessionStorage}catch{return!1}}function of(e){return void 0!==e&&Math.random()<e}function oh(e){if(op())try{id.sessionStorage.setItem(ip,JSON.stringify(e))}catch{}}function om(e){let t=Date.now(),r=e.id||(0,N.eJ)(),n=e.started||t,i=e.lastActivity||t,a=e.segmentId||0,o=e.sampled;return{id:r,started:n,lastActivity:i,segmentId:a,sampled:o,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function og({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:n}={}){let i=om({sampled:of(e)?"session":!!t&&"buffer",previousSessionId:n});return r&&oh(i),i}function o_(e,t,r=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=r}function oy(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!!function(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:n=Date.now()}){return o_(e.started,t,n)||o_(e.lastActivity,r,n)}(e,{sessionIdleExpire:t,maxReplayDuration:r})&&("buffer"!==e.sampled||0!==e.segmentId)}function ov({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},n){let i=n.stickySession&&function(){if(!op())return null;try{let e=id.sessionStorage.getItem(ip);if(!e)return null;let t=JSON.parse(e);return om(t)}catch{return null}}();return i?oy(i,{sessionIdleExpire:e,maxReplayDuration:t})?og(n,{previousSessionId:i.id}):i:og(n,{previousSessionId:r})}function ob(e,t,r){return!!oS(e,t)&&(oE(e,t,r),!0)}async function oE(e,t,r){let{eventBuffer:n}=e;if(!n||n.waitForCheckout&&!r)return null;let i="buffer"===e.recordingMode;try{r&&i&&n.clear(),r&&(n.hasCheckout=!0,n.waitForCheckout=!1);let a=e.getOptions(),o=function(e,t){try{if("function"==typeof t&&e.type===ah.Custom)return t(e)}catch(e){return null}return e}(t,a.beforeAddRecordingEvent);if(!o)return;return await n.addEvent(o)}catch(a){let t=a&&a instanceof os,r=(0,F.KU)();if(r&&r.recordDroppedEvent(t?"buffer_overflow":"internal_sdk_error","replay"),t&&i)return n.clear(),n.waitForCheckout=!0,null;e.handleException(a),await e.stop({reason:t?"eventBufferOverflow":"eventBufferError"})}}
15function oS(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let r=aX(t.timestamp);return!(r+e.timeouts.sessionIdlePause<Date.now())&&!(r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)}function oT(e){return"transaction"===e.type}function ow(e){return"feedback"===e.type}function oP(e){return!!e.category}function oR(){let e=(0,F.o5)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,H.Bk)();if(t){let e=(0,K.k1)(t);delete e.replay_id}}function ox(e,t){return t.map(({type:t,start:r,end:n,name:i,data:a})=>{let o=e.throttledAddEvent({type:ah.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:r,endTimestamp:n,data:a}}});return"string"==typeof o?Promise.resolve(null):o})}function oO(e,t){e.isEnabled()&&null!==t&&!function(e,t){var r,n,i=(0,F.KU)();let a=i?.getDsn(),o=i?.getOptions().tunnel;return function(e,t){var r,n;let i=tg(e);return!(!i||tm(i))&&!!t&&(r=i.hostname,r===(n=t.host)||n.length>0&&r.endsWith(`.${n}`))&&/(^|&|\?)sentry_key=/.test(i.search)}(t,a)||(r=t,!!(n=o)&&ic(r)===ic(n))}(0,t.name)&&e.addUpdate(()=>(ox(e,[t]),!0))}function ok(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 r=nx(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function oC(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function oI(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let r={...e._meta},n=r.warnings||[];return r.warnings=[...n,t],e._meta=r,e}function oA(e,t){if(!t)return null;let{startTimestamp:r,endTimestamp:n,url:i,method:a,statusCode:o,request:s,response:l}=t;return{type:e,start:r/1e3,end:n/1e3,name:i,data:{method:a,statusCode:o,request:s,response:l}}}function oM(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function oN(e,t,r){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!r)return{headers:e,size:t};let n={headers:e,size:t},{body:i,warnings:a}=function(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length>15e4,r=function(e){let t=e[0],r=e[e.length-1];return"["===t&&"]"===r||"{"===t&&"}"===r}(e);if(t){let t=e.slice(0,15e4);return r?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}â¦`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(r);return n.body=i,a?.length&&(n._meta={warnings:a}),n}function oj(e,t){return Object.entries(e).reduce((r,[n,i])=>{let a=n.toLowerCase();return t.includes(a)&&e[n]&&(r[a]=i),r},{})}function oD(e,t){let r=function(e,t=id.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(id.location.origin))return e;let r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;let n=r.href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}(e);return(0,j.Xr)(r,t)}async function oL(e,t,r){try{let n=await oU(e,t,r),i=oA("resource.fetch",n);oO(r.replay,i)}catch(e){}}async function oU(e,t,r){let n=Date.now(),{startTimestamp:i=n,endTimestamp:a=n}=t,{url:o,method:s,status_code:l=0,request_body_size:u,response_body_size:c}=e.data,d=oD(o,r.networkDetailAllowUrls)&&!oD(o,r.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:a,url:o,method:s,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},r,n){var i,a;let o=r?(i=r,a=t,1===i.length&&"string"!=typeof i[0]?oz(i[0],a):2===i.length?oz(i[1],a):{}):{};if(!e)return oN(o,n,void 0);let[s,l]=nO(nk(r),oo),u=oN(o,n,s);return l?oI(u,l):u}(r,t.input,u):oM(u),response:await oF(d,r,t.response,c)}}async function oF(e,{networkCaptureBodies:t,networkResponseHeaders:r},n,i){if(!e&&void 0!==i)return oM(i);let a=n?oB(n.headers,r):{};if(!n||!t&&void 0!==i)return oN(a,i,void 0);let[o,s]=await o$(n),l=function(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:n,headers:i}){try{let a=e?.length&&void 0===r?ok(e):r;if(!n)return oM(a);if(t)return oN(i,a,e);return oN(i,a,void 0)}catch(e){return oN(i,r,void 0)}}(o,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:a});return s?oI(l,s):l}async function o$(e){let t=function(e){try{return e.clone()}catch(e){}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var r;return[await (r=t,new Promise((e,t)=>
15{let n=t4(()=>t(Error("Timeout while trying to read response body")),500);oH(r).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(n))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return[void 0,"BODY_PARSE_TIMEOUT"];return[void 0,"BODY_PARSE_ERROR"]}}function oB(e,t){let r={};return t.forEach(t=>{e.get(t)&&(r[t]=e.get(t))}),r}function oz(e,t){if(!e)return{};let r=e.headers;return r?r instanceof Headers?oB(r,t):Array.isArray(r)?{}:oj(r,t):{}}async function oH(e){return await e.text()}async function oW(e,t,r){try{let n=function(e,t,r){let n=Date.now(),{startTimestamp:i=n,endTimestamp:a=n,input:o,xhr:s}=t,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:p}=e.data;if(!l)return null;if(!s||!oD(l,r.networkDetailAllowUrls)||oD(l,r.networkDetailDenyUrls)){let e=oM(d);return{startTimestamp:i,endTimestamp:a,url:l,method:u,statusCode:c,request:e,response:oM(p)}}let f=s[tw],h=f?oj(f.request_headers,r.networkRequestHeaders):{},m=oj(nC(s),r.networkResponseHeaders),[g,_]=r.networkCaptureBodies?nO(o,oo):[void 0],[y,v]=r.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var r=e.response,n=e.responseType;try{if("string"==typeof r)return[r];if(r instanceof Document)return[r.body.outerHTML];if("json"===n&&r&&"object"==typeof r)return[JSON.stringify(r)];if(!r)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return[void 0]}(s):[void 0],b=oN(h,d,g),E=oN(m,p,y);return{startTimestamp:i,endTimestamp:a,url:l,method:u,statusCode:c,request:_?oI(b,_):b,response:v?oI(E,v):E}}(e,t,r),i=oA("resource.xhr",n);oO(r.replay,i)}catch(e){}}async function oq(e){try{return Promise.all(ox(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}(id.performance.memory)]))}catch{return[]}}let oY=w.O.navigator;async function oX({client:e,scope:t,replayId:r,event:n}){let i={event_id:r,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",n,i);let a=await (0,ek.mG)(e.getOptions(),n,i,t,e,(0,F.rm)());if(!a)return null;e.emit("postprocessEvent",a,i),a.platform=a.platform||"javascript";let o=e.getSdkMetadata(),{name:s,version:l,settings:u}=o?.sdk||{};return a.sdk={...a.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0",settings:u},a}async function oG({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:i,session:a}){var o;let s,l=function({recordingData:e,headers:t}){let r,n=`${JSON.stringify(t)} 16`;if("string"==typeof e)r=`${n}${e}`;else{let t=new TextEncoder().encode(n);(r=new Uint8Array(t.length+e.length)).set(t),r.set(e,t.length)}return r}({recordingData:e,headers:{segment_id:r}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:p}=n,f=(0,F.KU)(),h=(0,F.o5)(),m=f?.getTransport(),g=f?.getDsn();if(!f||!m||!g||!a.sampled)return Promise.resolve({});let _={type:"replay_event",replay_start_timestamp:p/1e3,timestamp:i/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:r,replay_type:a.sampled},y=await oX({scope:h,client:f,replayId:t,event:_});if(!y)return f.recordDroppedEvent("event_processor","replay"),Promise.resolve({});delete y.sdkProcessingMetadata;let v=(o=f.getOptions().tunnel,ee(es(y,eo(y),o,g),[[{type:"replay_event"},y],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await m.send(v)}catch(t){let e=Error(ih);try{e.cause=t}catch{}throw e}let b=ew({},s);if(eT(b,"replay"))throw new oJ(b);if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new oK(s.statusCode);return s}class oK extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class oJ extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class oV extends Error{constructor(){super("Session is too long, not sending replay")}}async function oQ(e,t={count:0,interval:5e3}){let{recordingData:r,onError:n}=e;if(r.length)try{return await oG(e),!0}catch(r){if(r instanceof oK||r instanceof oJ)throw r;if((0,O.o)("Replays",{_retryCount:t.count}),n&&n(r),t.count>=3){let e=Error(`${ih} - max retries exceeded`);try{e.cause=r}catch{}throw e}return t.interval*=++t.count,new Promise((r,n)=>{t4(async()=>{try{await oQ(e,t),r(!0)}catch(e){n(e)}},t.interval)})}}let oZ="__THROTTLED";class o0{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,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,r){let n,i,a,o=r?.maxWait?Math.max(r.maxWait,t):0,s=r?.setTimeoutImpl||setTimeout;function l(){return u(),n=e()}function u(){void 0!==i&&clearTimeout(i),void 0!==a&&clearTimeout(a),i=a=void 0}function c(){return i&&clearTimeout(i),i=s(l,t),o&&void 0===a&&(a=s(l,o)),n}return c.cancel=u,c.flush=function(){return void 0!==i||void 0!==a?l():n},c}(()=>this._flush(),this._options.flushMinDelay,{...{maxWait:this._options.flushMaxDelay},setTimeoutImpl:t4}),this._throttledAddEvent=function(e,t,r){let n=new Map,i=!1;return(...t)=>{let r=Math.floor(Date.now()/1e3),a=r-5;if(n.forEach((e,t)=>{t<a&&n.delete(t)}),[...n.values()].reduce((e,t)=>
16e+t,0)>=300){let e=i;return i=!0,e?"__SKIPPED":oZ}i=!1;let o=n.get(r)||0;return n.set(r,o+1),e(...t)}}((e,t)=>(function(e,t,r){return oS(e,t)?oE(e,t,r):Promise.resolve(null)})(this,e,t),0,0);let{slowClickTimeout:r,slowClickIgnoreSelectors:n}=this.getOptions(),i=r?{threshold:Math.min(3e3,r),timeout:r,scrollTimeout:300,ignoreSelector:n?n.join(","):""}:void 0;i&&(this.clickDetector=new a0(this,i)),this._handleVisibilityChange=()=>{"visible"===id.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=a3({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=a3({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let r=function(e){var t;let{metaKey:r,shiftKey:n,ctrlKey:i,altKey:a,key:o,target:s}=e;if(!s||"INPUT"===(t=s).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!o)return null;let l=r||i||a,u=1===o.length;if(!l&&u)return null;let c=(0,e2.Hd)(s,{maxStringLength:200})||"<unknown>",d=a8(s,c);return a3({category:"ui.keyDown",message:c,data:{...d.data,metaKey:r,shiftKey:n,ctrlKey:i,altKey:a,key:o}})}(t);r&&aK(e,r)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:r}=this._options,n=t<=0&&r<=0;if(this._requiresManualStart=n,!n)this._initializeSessionForSampling(e),this.session&&!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",this._initializeRecording())}start(){if(this._isEnabled&&"session"===this.recordingMode||this._isEnabled&&"buffer"===this.recordingMode)return;this._updateUserActivity();let e=ov({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)return;let e=ov({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;let t,r=this._canvas;this._stopRecording=aY({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(r,n)=>{if(!e.checkAndHandleExpiredSession())return;let i=n||!t;t=!0,function(e){let t=e.data;if(e.type===ah.IncrementalSnapshot&&t&&"object"==typeof t&&"source"in t&&t.source===am.Mutation&&"attributes"in t&&Array.isArray(t.attributes))for(let e of t.attributes){let t=aY.mirror.getNode(e.id),r=t&&aY.mirror.getMeta(t);if(r?.type===a4.Element)for(let[t,n]of Object.entries(e.attributes))null===n?delete r.attributes[t]:r.attributes[t]=n}}(r),e.clickDetector&&function(e,t){try{var r;if(r=t,3!==r.type)return;let{source:n}=t.data;if(aZ.has(n)&&e.registerMutation(t.timestamp),n===am.Scroll&&e.registerScroll(t.timestamp),t.data.source===am.MouseInteraction){let{type:r,id:n}=t.data,i=aY.mirror.getNode(n);i instanceof HTMLElement&&r===ag.Click&&e.registerClick(i)}}catch{}}(e.clickDetector,r),e.addUpdate(()=>{var t;if("buffer"===e.recordingMode&&i&&e.setInitialState(),!ob(e,r,i))return!0;if(!i)return!1;let n=e.session;if(t=e,i&&t.session?.segmentId===0&&ob(t,function(e){let t=e.getOptions();return{type:ah.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}}}}(t),!1),"buffer"===e.recordingMode&&n&&e.eventBuffer&&!n.dirty){let t=e.eventBuffer.getEarliestTimestamp();t&&(n.started=t,e.getOptions().stickySession&&oh(n))}
16return!!n?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(oY?.userAgent??"")||/Macintosh/i.test(oY?.userAgent??"")&&oY?.maxTouchPoints&&oY?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...r?{recordCanvas:r.recordCanvas,getCanvasManager:r.getCanvasManager,sampling:r.sampling,dataURLOptions:r.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({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";(0,F.KU)()?.emit("replayEnd",{sessionId:this.session?.id,reason:t??"manual"});try{oR(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(op())try{id.sessionStorage.removeItem(ip)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording())}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording())}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();await this.flushImmediate();let r=this.stopRecording();e&&r&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),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){if(!e||this.session?.sampled!==!1)return this.session?.id}checkAndHandleExpiredSession(){return this._lastActivity&&o_(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session?.sampled==="session"?void this.pause():!!this._checkSession()}setInitialState(){let e=`${id.location.pathname}${id.location.hash}${id.location.search}`,t=`${id.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 r=this._throttledAddEvent(e,t);if(r===oZ){let e=a3({category:"replay.throttled"});this.addUpdate(()=>!ob(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return r}getCurrentRoute(){let e=this.lastActiveSpan||(0,H.Bk)(),t=e&&(0,H.zU)(e),r=(t&&(0,H.et)(t).data||{})[z.i_];if(t&&r&&["route","custom"].includes(r))return(0,H.et)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||"";if(!t)return;let r=new Worker(t);return new od(r)}catch(e){}}(t);if(e)return e}return new ol}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&(0,F.KU)()?.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording(),"session"===this.recordingMode&&this.session&&function(e){let t=(0,F.o5)().getPropagationContext().dsc;t&&(t.replay_id=e);let r=(0,H.Bk)();r&&((0,K.k1)(r).replay_id=e)}(this.session.id)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,r=ov({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=r}_checkSession(){if(!this.session)return!1;let e=this.session;return!oy(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{id.document.addEventListener("visibilitychange",this._handleVisibilityChange),id.addEventListener("blur",this._handleWindowBlur),id.addEventListener("focus",this._handleWindowFocus),id.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t=(0,F.KU)();tE(t=>{var r,n;if(!e.isEnabled())return;let i=function(e){let{target:t,message:r}=function(e){let t,r="click"===e.name,n=null;try{n=r?aV(e.event):aQ(e.event),t=(0,e2.Hd)(n,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:n,message:t}}(e);return a3({category:`ui.${e.name}`,...a8(t,r)})}(t);if(!i)return;let a="click"===t.name,o=a?t.event:void 0;
16a&&e.clickDetector&&o?.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&(r=e.clickDetector,n=aV(t.event),r.handleClick(i,n)),aK(e,i)}),tx(t=>{if(!e.isEnabled())return;let r=function(e){let{from:t,to:r}=e,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}(t);null!==r&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(ox(e,[r]),!1)))});let r=(0,F.KU)();r&&r.on("beforeAddBreadcrumb",t=>(function(e,t){var r;if(!e.isEnabled()||!oP(t))return;let n=(r=t,!oP(r)||["fetch","xhr","sentry.event","sentry.transaction"].includes(r.category)||r.category.startsWith("ui.")?null:"console"===r.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return a3(e);let r=!1,n=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(r=!0,`${e.slice(0,5e3)}â¦`):e;if("object"==typeof e)try{let t=(0,Z.S8)(e,7);if(JSON.stringify(t).length>5e3)return r=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}â¦`;return t}catch{}return e});return a3({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(r):a3(r));n&&aK(e,n)})(e,t));let n=(0,F.KU)();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o}=e.getOptions(),s={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o};n&&n.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,r){if(t.data)try{var n,i,a,o;if(n=t,"xhr"===n.category&&(i=r,i?.xhr)&&(!function(e,t){let{xhr:r,input:n}=t;if(!r)return;let i=ok(n),a=r.getResponseHeader("content-length")?oC(r.getResponseHeader("content-length")):function(e,t){try{let r="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return ok(r)}catch{return}}(r.response,r.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==a&&(e.data.response_body_size=a)}(t,r),oW(t,r,e)),a=t,"fetch"===a.category&&(o=r,o?.input!==void 0)){let{input:n,response:i}=r,a=ok(n?nk(n):void 0),o=i?oC(i.headers.get("content-length")):void 0;void 0!==a&&(t.data.request_body_size=a),void 0!==o&&(t.data.response_body_size=o),oL(t,r,e)}}catch(e){}})(s,e,t))}catch{}let i=Object.assign((t,r)=>{if(e.session&&oy(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire})&&oR(),!e.isEnabled()||e.isPaused())return t;if("replay_event"===t.type)return delete t.breadcrumbs,t;if(t.type&&!oT(t)&&!ow(t))return t;if(!e.checkAndHandleExpiredSession())return oR(),t;if(ow(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:ah.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&&t.exception?.values?.length&&r.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions)return null;let n="buffer"===e.recordingMode&&t.message!==ih&&!!t.exception&&!t.type&&of(e.getOptions().errorSampleRate);if((n||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&"buffer"===e.recordingMode&&e.session?.sampled==="buffer"){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&oh(t)}return t},{id:"Replay"});(0,O.SA)(i),t&&(t.on("beforeSendEvent",t=>{e.isEnabled()&&!t.type&&function(e,t){let r=t.exception?.values?.[0]?.value;"string"==typeof r&&(r.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&aK(e,a3({category:"replay.hydrate-error",data:{url:(0,e2.$N)()}}))}(e,t)}),t.on("afterSendEvent",(t,r)=>{if(!e.isEnabled()||t.type&&!oT(t))return;let n=r.statusCode;if(n&&!(n<200)&&!(n>=300)){if(oT(t))return void function(e,t){let r=e.getContext();t.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}(e,t);!function(e,t){let r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags?.replayId)return;let{beforeErrorSampling:n}=e.getOptions();("function"!=typeof n||n(t))&&t4(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),t.on("createDsc",t=>{let r=e.getSessionId();r&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=r)}),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",async(t,r)=>{let n=e.getSessionId();r?.includeReplay&&e.isEnabled()&&n&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=n)}),t.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 r({entries:e}){e.forEach(t)}let n=[];
16return["navigation","paint","resource"].forEach(e=>{n.push(r2(e,r))}),n.push(r0(a9(ot,e)),rZ(a9(or,e)),r1(a9(on,e))),()=>{n.forEach(e=>e())}}(this)}_removeListeners(){try{id.document.removeEventListener("visibilitychange",this._handleVisibilityChange),id.removeEventListener("blur",this._handleWindowBlur),id.removeEventListener("focus",this._handleWindowFocus),id.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){if(this.session){if(oy(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire}))return void oR();e&&this._createCustomBreadcrumb(e),this.conditionalFlush()}}_doChangeToForegroundTasks(e){if(this.session)this.checkAndHandleExpiredSession()&&e&&this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:ah.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(a7).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(ox(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let r=t.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}
16_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(this.session&&this.eventBuffer&&e&&(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents)){if((await oq(this),this.eventBuffer)&&e===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new oV;let r=this._popEventContext(),n=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await oQ({replayId:e,recordingData:i,segmentId:n,eventContext:r,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendError"});let e=(0,F.KU)();e&&e.recordDroppedEvent(t instanceof oJ?"ratelimit_backoff":t instanceof oV?"invalid":"send_error","replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e||!this.checkAndHandleExpiredSession()||!this.session)return;let t=this.session.started,r=Date.now()-t;this._debouncedFlush.cancel();let n=r<this._options.minReplayDuration,i=r>this._options.maxReplayDuration+5e3;if(n||i){n&&this._debouncedFlush();return}let a=this.eventBuffer;a&&0===this.session.segmentId&&a.hasCheckout;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&&oh(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let r=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),n=t.join(",");return r?.matches(n)}))return!1;let r=e.length,n=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=n&&r>n;if(r>i||a){let e=a3({category:"replay.mutations",data:{count:r,limit:a}});this._createCustomBreadcrumb(e)}return!a||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function o1(e,t){return[...e,...t].join(",")}let o2='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',o3=["content-length","content-type","accept"],o4=Symbol.for("sentry__originalRequestBody"),o5=!1,o8=!1;class o6{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:r=4999,maxReplayDuration:n=36e5,stickySession:i=!0,useCompression:a=!0,workerUrl:o,_experiments:s={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:_=!0,networkRequestHeaders:y=[],networkResponseHeaders:v=[],mask:b=[],maskAttributes:E=["title","placeholder","aria-label"],unmask:S=[],block:T=[],unblock:w=[],ignore:P=[],maskFn:R,beforeAddRecordingEvent:x,beforeErrorSampling:O,onError:k,attachRawBodyFromRequest:C=!1}={}){this.name="Replay";let I=function({mask:e,unmask:t,block:r,unblock:n,ignore:i}){return{maskTextSelector:o1(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:o1(t,[]),blockSelector:o1(r,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:o1(n,[]),ignoreSelector:o1(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:b,unmask:S,block:T,unblock:w,ignore:P});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:R,maskInputFn:R,maskAttributeFn:(e,t,r)=>(function({el:e,key:t,maskAttributes:r,maskAllText:n,privacyOptions:i,value:a}){if(i.unmaskTextSelector&&e.matches(i.unmaskTextSelector))return a;let o=r.includes(t),s=n&&"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"");return o||s?a.replace(/[\S]/g,"*"):a})({maskAttributes:E,maskAllText:l,privacyOptions:I,key:e,value:t,el:r}),...I,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(r,5e4),maxReplayDuration:Math.min(n,36e5),stickySession:i,useCompression:a,workerUrl:o,blockAllMedia:c,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:_,networkRequestHeaders:o9(y),networkResponseHeaders:o9(v),beforeAddRecordingEvent:x,beforeErrorSampling:O,onError:k,attachRawBodyFromRequest:C,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${o2}`:o2,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&ed())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return o5}set _isInitialized(e){o5=e}
16afterAllSetup(e){ed()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("undefined"==typeof Request||o8)return;let e=Request;try{let t=function(t,r){let n=new e(t,r);return r?.body!=null&&(n[o4]=r.body),n};t.prototype=e.prototype,w.O.Request=t,o8=!0}catch{}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"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){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=function(e,t){let r=t.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...e},i=(0,eO.i)(r.replaysSessionSampleRate),a=(0,eO.i)(r.replaysOnErrorSampleRate);return null==i&&null==a&&(0,P.pq)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=i&&(n.sessionSampleRate=i),null!=a&&(n.errorSampleRate=a),n}(this._initialOptions,e);this._replay=new o0({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function o9(e){return[...o3,...e.map(e=>e.toLowerCase())]}var o7=r(99742);globalThis._sentryRewritesTunnelPath="/monitoring",globalThis.SENTRY_RELEASE={id:"v2.105.1"},globalThis._sentryBasePath=void 0,globalThis._sentryNextJsVersion="15.5.18",globalThis._sentryRewriteFramesAssetPrefixPath="/marketing",globalThis._sentryAssetPrefix="/marketing",globalThis._sentryExperimentalThirdPartyOriginStackFrames=void 0,globalThis._sentryRouteManifest='{"dynamicRoutes":[{"path":"/academy/:resourceTypeSlug","regex":"^/academy/([^/]+)$","paramNames":["resourceTypeSlug"],"hasOptionalPrefix":false},{"path":"/academy/:resourceTypeSlug/:slug","regex":"^/academy/([^/]+)/([^/]+)$","paramNames":["resourceTypeSlug","slug"],"hasOptionalPrefix":false},{"path":"/academy/events/:event","regex":"^/academy/events/([^/]+)$","paramNames":["event"],"hasOptionalPrefix":false},{"path":"/academy/topics/:slug","regex":"^/academy/topics/([^/]+)$","paramNames":["slug"],"hasOptionalPrefix":false},{"path":"/content/:slug*","regex":"^/content/(.+)$","paramNames":["slug"],"hasOptionalPrefix":false},{"path":"/contributors/:id","regex":"^/contributors/([^/]+)$","paramNames":["id"],"hasOptionalPrefix":false},{"path":"/plans/:plan_id/:currency","regex":"^/plans/([^/]+)/([^/]+)$","paramNames":["plan_id","currency"],"hasOptionalPrefix":false},{"path":"/support/manage-subscriptions/:data*","regex":"^/support/manage-subscriptions/(.+)$","paramNames":["data"],"hasOptionalPrefix":false}],"staticRoutes":[{"path":"/newsletters"},{"path":"/newsletters/confirm-email"},{"path":"/newsletters/confirmed"},{"path":"/"},{"path":"/academy"},{"path":"/academy/events"},{"path":"/academy/search"},{"path":"/discussion"},{"path":"/features"},{"path":"/learn/account-billing/cookies-463188"},{"path":"/learn/account-billing/disclaimer-463143"},{"path":"/learn/account-billing/privacy-policy-463148"},{"path":"/learn/account-billing/terms-of-use-463173"},{"path":"/plans"},{"path":"/plans/auth-complete"},{"path":"/stock-research"},{"path":"/stockranks"},{"path":"/support/manage-subscriptions"},{"path":"/team"},{"path":"/widgets/customise-plan"}],"isrRoutes":[]}';let se=o7.env.SENTRY_DSN||o7.env.PUBLIC_SENTRY_DSN,st=o7.env.SENTRY_ENVIRONMENT||o7.env.PUBLIC_SENTRY_ENVIRONMENT;se&&function(e){il&&(0,P.pq)(()=>{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`.")}),il=!0,!t9.T&&e.debug&&(0,P.pq)(()=>{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.")}),("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){e3.document&&function(e){let t=nQ(e)||e,r=io.get(t);if(void 0!==r)return r;let n=nV();if(!n?.isrRoutes||!Array.isArray(n.isrRoutes)||0===n.isrRoutes.length)return io.set(t,!1),!1;let i=n.isrRoutes.includes(t);return io.set(t,i),i}(e3.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=e3.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}();let t={environment:e.environment||is.env.SENTRY_ENVIRONMENT||function(e){let t=e?t7.env.
16NEXT_PUBLIC_VERCEL_ENV:t7.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=t8(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=((e={})=>{let t,r,n;"enableElementTiming"in e&&(0,P.pq)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let i={name:void 0,source:void 0},a=e3.document,{enableInp:o,enableLongTask:s,enableLongAnimationFrame:l,_experiments:{enableInteractions:u,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:p},beforeStartSpan:m,idleTimeout:g,finalTimeout:_,childSpanTimeout:y,markBackgroundSpan:v,traceFetch:b,traceXHR:E,trackFetchStreamPerformance:S,shouldCreateSpanForRequest:T,enableHTTPTimings:R,ignoreResourceSpans:x,ignorePerformanceApiSpans:O,instrumentPageLoad:C,instrumentNavigation:I,detectRedirects:A,linkPreviousTrace:M,consistentTraceSampling:N,enableReportPageLoaded:D,onRequestSpanStart:L,onRequestSpanEnd:U}={...nF,...e},B=nU();function W(e,r,o=!0){var s,l;let u="pageload"===r.op,d=r.name,v=m?m(r):r,b=v.attributes||{};if(d!==v.name&&(b[z.i_]="custom",v.attributes=b),!o){let e=(0,eP.lu)();rd({...v,startTime:e}).end(e);return}i.name=v.name,i.source=b[z.i_];let E=r_(v,{idleTimeout:g,finalTimeout:_,childSpanTimeout:y,disableAutoFinish:u,beforeSpanEnd:r=>{var i,a;t?.();let o=e_(e);!function(e,t){let r=ni(),n=(0,eP.k3)();if(!r?.getEntries||!n)return;let{spanStreamingEnabled:i,ignorePerformanceApiSpans:a,ignoreResourceSpans:o,recordClsOnPageloadSpan:s,recordLcpOnPageloadSpan:l}=t,u=na(n),c=r.getEntries(),{op:d,start_timestamp:p}=(0,H.et)(e);if(c.slice(nd).forEach(t=>{let r=na(t.startTime),n=na(Math.max(0,t.duration));if("navigation"!==d||!p||!(u+r<p))switch(t.entryType){case"navigation":var i,s,l;i=e,s=t,l=u,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{nf(i,s,e,l)}),nf(i,s,"secureConnection",l,"TLS/SSL"),nf(i,s,"fetch",l,"cache"),nf(i,s,"domainLookup",l,"DNS"),function(e,t,r){let n=r+na(t.requestStart),i=r+na(t.responseEnd),a=r+na(t.responseStart);t.responseEnd&&(nr(e,n,i,{op:"browser.request",name:t.name,attributes:{[z.JD]:"auto.ui.browser.metrics"}}),nr(e,a,i,{op:"browser.response",name:t.name,attributes:{[z.JD]:"auto.ui.browser.metrics"}}))}(i,s,l);break;case"mark":case"paint":case"measure":{!function(e,t,r,n,i,a){if(function(e){if(e?.entryType==="measure")try{return"Components â"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&(0,j.Xr)(t.name,a))return;let o=rE(!1),s=i+Math.max(r,na(o?o.requestStart:0)),l=i+r,u=l+n,c={[z.JD]:"auto.resource.browser.metrics"};s!==l&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=s),function(e,t){try{let r=t.detail;if(!r)return;if("object"==typeof r){for(let[t,n]of Object.entries(r))if(n&&(0,eR.sO)(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(void 0!==n)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if((0,eR.sO)(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}(c,t),s<=u&&nr(e,s,u,{name:t.name,op:t.entryType,attributes:c})}(e,t,r,n,u,a);let i=rO(),o=t.startTime<i.firstHiddenTime;"first-paint"===t.name&&o&&(np.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(np.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,r,n,i,a,o){var s,l;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(u))return;let c={[z.JD]:"auto.resource.browser.metrics"},d=t_(r);d.protocol&&(c["url.scheme"]=d.protocol.split(":").pop()),d.host&&(c["server.address"]=d.host),c["url.same_origin"]=r.includes(tb.location.origin),s=t,l=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
16h(([e,t])=>{let r=s[e];null!=r&&("number"==typeof r&&r<0x7fffffff||"string"==typeof r)&&(l[t]=r)});let p={...c,...nc(t)},f=a+n;nr(e,f,f+i,{name:r.replace(tb.location.origin,""),op:u,attributes:p})}(e,t,t.name,r,n,u,o)}}),nd=Math.max(c.length-1,0),function(e,t){let r=tb.navigator;if(!r)return;let n=r.connection;n&&(n.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute(t?"network.connection.type":"connectionType",n.type),nt(n.rtt)&&(np["connection.rtt"]={value:n.rtt,unit:"millisecond"},t&&e.setAttribute("network.connection.rtt",n.rtt))),nt(r.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",r.deviceMemory):e.setAttribute("deviceMemory",`${r.deviceMemory} GB`)),nt(r.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",r.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(r.hardwareConcurrency)))}(e,i),"pageload"===d){if(function(e){let t=rE(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}(np),i){let t=(t,r,n)=>{let i=n??`browser.web_vital.${t}.value`;e.setAttribute(i,r)};["ttfb","fp","fcp"].forEach(e=>{np[e]&&t(e,np[e].value)}),np["ttfb.requestTime"]&&t("ttfb.requestTime",np["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else{var m,g;s||delete np.cls,l||delete np.lcp,Object.entries(np).forEach(([e,t])=>{!function(e,t,r,n=(0,H.Bk)()){let i=n&&(0,H.zU)(n);i&&(k.T&&P.Yz.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),i.addEvent(e,{[z.xc]:t,[z.Sn]:r}))}(e,t.value,t.unit)}),m=e,g=t,f&&g.recordLcpOnPageloadSpan&&(f.element&&m.setAttribute("lcp.element",(0,e2.Hd)(f.element)),f.id&&m.setAttribute("lcp.id",f.id),f.url&&m.setAttribute("lcp.url",f.url.trim().slice(0,200)),null!=f.loadTime&&m.setAttribute("lcp.loadTime",f.loadTime),null!=f.renderTime&&m.setAttribute("lcp.renderTime",f.renderTime),m.setAttribute("lcp.size",f.size)),h?.sources&&g.recordClsOnPageloadSpan&&h.sources.forEach((e,t)=>m.setAttribute(`cls.source.${t+1}`,(0,e2.Hd)(e.node)))}e.setAttribute(i?"browser.performance.time_origin":"performance.timeOrigin",u),e.setAttribute(i?"browser.performance.navigation.activation_start":"performance.activationStart",rS())}f=void 0,h=void 0,np={}}(r,{recordClsOnPageloadSpan:!o&&!c,recordLcpOnPageloadSpan:!o&&!p,ignoreResourceSpans:x,ignorePerformanceApiSpans:O,spanStreamingEnabled:o}),i=e,a=void 0,(0,$.my)(i,nW,a);let s=(0,F.o5)(),l=s.getPropagationContext();s.setPropagationContext({...l,traceId:E.spanContext().traceId,sampled:(0,H.pK)(E),dsc:(0,K.k1)(r)}),u&&(n=void 0)},trimIdleSpanEndTimestamp:!D});function S(){a&&["interactive","complete"].includes(a.readyState)&&e.emit("idleSpanEnableAutoFinish",E)}u&&D&&(n=E),s=e,l=E,(0,$.my)(s,nW,l),u&&!D&&a&&(a.addEventListener("readystatechange",()=>{S()}),S())}return{name:"BrowserTracing",setup(e){if(B)return;function i(){let e=(0,H.Bk)(),t=e&&(0,H.zU)(e);if(t){let e="internal_error";k.T&&P.Yz.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:ru.TJ,message:e})}}ry||(i.tag="sentry_tracingErrorCallback",ry=!0,tD(i),tF(i));let m=e_(e);if(t=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){let n=ni();if(n&&(0,eP.k3)()){n.mark&&tb.performance.mark("sentry-tracing-init");let i=t?function(e){let t,r=0;if(!no("largest-contentful-paint"))return;let n=r0(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&nl(e.value)&&(r=e.value,t=n)},!0);ns(e,(e,i)=>{(function(e,t,r,n){if(!nl(e))return;let i=na(((0,eP.k3)()||0)+(t?.startTime||0)),a=(0,F.o5)().getScopeData().transactionName,o=t?(0,e2.Hd)(t.element):"Largest contentful paint",s={[z.JD]:"auto.http.browser.lcp",[z.uT]:"ui.webvital.lcp",[z.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};t&&(t.element&&(s["lcp.element"]=(0,e2.Hd)(t.element)),t.id&&(s["lcp.id"]=t.id),t.url&&(s["lcp.url"]=t.url),null!=t.loadTime&&(s["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(s["lcp.renderTime"]=t.renderTime),null!=t.size&&(s["lcp.size"]=t.size));let l=nn({name:o,transaction:a,attributes:s,startTime:i});l&&(l.addEvent("lcp",{[z.Sn]:"millisecond",[z.xc]:e}),l.end(i))})(r,t,i,e),n()})}(r):!1===t?r0(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&nl(e.value)&&(np.lcp={value:e.value,unit:"millisecond"},f=t)},!0):void 0,a=e?function(e){let t,r=0;if(!no("layout-shift"))return;let n=rZ(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);ns(e,(e,i)=>{(function(e,t,r,n){let i=t?na(((0,eP.k3)()||0)+t.startTime):(0,eP.zf)(),a=(0,F.o5)().getScopeData().transactionName,o=t?(0,e2.Hd)(t.sources[0]?.node):"Layout shift",s={[z.JD]:"auto.http.browser.cls",[z.uT]:"ui.webvital.cls",[z.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};
16t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=(0,e2.Hd)(e.node)});let l=nn({name:o,transaction:a,attributes:s,startTime:i});l&&(l.addEvent("cls",{[z.Sn]:"",[z.xc]:e}),l.end(i))})(r,t,i,e),n()})}(r):!1===e?rZ(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(np.cls={value:e.value,unit:""},h=t)},!0):void 0,o=r9("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(np.ttfb={value:e.value,unit:"millisecond"})},r8,d);return()=>{o(),i?.(),a?.()}}return()=>void 0}({recordClsStandaloneSpans:m?void 0:c||!1,recordLcpStandaloneSpans:m?void 0:p||!1,client:e}),m?(!function(e){let t,r=0;if(!no("largest-contentful-paint"))return;let n=r0(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&nl(e.value)&&(r=e.value,t=n)},!0);ns(e,(e,i,a)=>{(function(e,t,r,n){if(!nl(e))return;let i=(0,eP.k3)()||0,a=na(i),o=na(i+(t?.startTime||0)),s=t?(0,e2.Hd)(t.element):"Largest contentful paint",l={};t?.element&&(l["browser.web_vital.lcp.element"]=(0,e2.Hd)(t.element)),t?.id&&(l["browser.web_vital.lcp.id"]=t.id),t?.url&&(l["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(l["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(l["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(l["browser.web_vital.lcp.size"]=t.size),nv({name:s,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:l,parentSpan:r,reportEvent:n,startTime:a,endTime:o})})(r,t,a,e),n()})}(e),!function(e){let t,r=0;if(!no("layout-shift"))return;let n=rZ(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);ns(e,(e,i,a)=>{(function(e,t,r,n){let i=t?na(((0,eP.k3)()||0)+t.startTime):(0,eP.zf)(),a=t?(0,e2.Hd)(t.sources[0]?.node):"Layout shift",o={};t?.sources&&t.sources.forEach((e,t)=>{o[`browser.web_vital.cls.source.${t+1}`]=(0,e2.Hd)(e.node)}),nv({name:a,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:o,parentSpan:r,reportEvent:n,startTime:i})})(r,t,a,e),n()})}(e),o&&ni()&&(0,eP.k3)()&&r1(({metric:e})=>{if(null==e.value||na(e.value)>60)return;let t=e.entries.find(t=>t.duration===e.value&&n_[t.name]);t&&function(e,t){var r;let n=na((0,eP.k3)()+t.startTime),i=na(e),a=n_[t.name],o=null!=(r=t.interactionId)?nm.get(r):void 0,s=(0,H.Bk)(),l=s?(0,H.zU)(s):void 0,u=o?.span||l,c=u?(0,H.RD)(u).name:(0,F.o5)().getScopeData().transactionName;nv({name:o?.elementName||(0,e2.Hd)(t.target),op:`ui.interaction.${a}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[z.jG]:t.duration,"sentry.transaction":c},startTime:n,endTime:n+i,parentSpan:u})}(e.value,t)})):o&&function(){if(ni()&&(0,eP.k3)()){let e=r1(ny);()=>{e()}}}(),l&&w.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,H.Bk)();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=na((0,eP.k3)()+r.startTime),{start_timestamp:n,op:i}=(0,H.et)(t);if("navigation"===i&&n&&e<n)continue;let a=na(r.duration),o={[z.JD]:"auto.ui.browser.metrics"},{invoker:s,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=r.scripts[0];o["browser.script.invoker"]=s,o["browser.script.invoker_type"]=l,u&&(o["code.filepath"]=u),c&&(o["code.function"]=c),-1!==d&&(o["browser.script.source_char_position"]=d),nr(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):s&&r2("longtask",({entries:e})=>{let t=(0,H.Bk)();if(!t)return;let{op:r,start_timestamp:n}=(0,H.et)(t);for(let i of e){let e=na((0,eP.k3)()+i.startTime),a=na(i.duration);"navigation"===r&&n&&e<n||nr(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[z.JD]:"auto.ui.browser.metrics"}})}}),u&&r2("event",({entries:e})=>{let t=(0,H.Bk)();
16if(t){for(let r of e)if("click"===r.name){let e=na((0,eP.k3)()+r.startTime),n=na(r.duration),i={name:(0,e2.Hd)(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[z.JD]:"auto.ui.browser.metrics"}},a=(0,e2.xE)(r.target);a&&(i.attributes["ui.component_name"]=a),nr(t,e,e+n,i)}}}),A&&a){let e=()=>{r=(0,eP.zf)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function g(){let t=e[nW];t&&!(0,H.et)(t).timestamp&&(t.setAttribute(z.fs,"cancelled"),t.end())}e.on("startNavigationSpan",(t,n)=>{if((0,F.KU)()!==e)return;if(n?.isRedirect)return void W(e,{op:"navigation.redirect",...t},!1);r=void 0,g(),(0,F.rm)().setPropagationContext({traceId:(0,rr.e)(),sampleRand:Math.random(),propagationSpanId:(0,re.f)()?void 0:(0,rr.Z)()});let i=(0,F.o5)();i.setPropagationContext({traceId:(0,rr.e)(),sampleRand:Math.random(),propagationSpanId:(0,re.f)()?void 0:(0,rr.Z)()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),W(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(t,r={})=>{if((0,F.KU)()!==e)return;g();let n=r.sentryTrace||nz("sentry-trace")||nH("sentry-trace"),i=r.baggage||nz("baggage")||nH("baggage"),a=(0,rv.kM)(n,i),o=(0,F.o5)();o.setPropagationContext(a),(0,re.f)()||(o.getPropagationContext().propagationSpanId=(0,rr.Z)()),o.setSDKProcessingMetadata({normalizedRequest:e8()}),W(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{D&&n&&(n.setAttribute(z.fs,"reportPageLoaded"),n.end())})},afterAllSetup(e){var t,n,a,s,l;let c;if(B)return;let d=(0,e2.$N)();if("off"!==M&&function(e,{linkPreviousTrace:t,consistentTraceSampling:r}){let n="session-storage"===t,i=n?function(){try{let e=e3.sessionStorage?.getItem(nb);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,H.zU)(e)!==e)return;let t=(0,F.o5)().getPropagationContext();i=function(e,t,r){let n=(0,H.et)(t),i={spanContext:t.spanContext(),startTimestamp:n.start_timestamp,sampleRate:function(){try{return Number(r.dsc?.sample_rate)??Number(n.data?.[z.sy])}catch{return 0}}(),sampleRand:r.sampleRand};if(!e)return i;let a=e.spanContext;return a.traceId===n.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(t.addLink({context:a,attributes:{[z.Lc]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${a.traceId}-${a.spanId}-${+!!nE(a)}`)),i)}(i,e,t),n&&function(e){try{e3.sessionStorage.setItem(nb,JSON.stringify(e))}catch(e){}}(i)});let a=!0;r&&e.on("beforeSampling",e=>{if(!i)return;let t=(0,F.o5)(),r=t.getPropagationContext();if(a&&r.parentSpanId){a=!1;return}t.setPropagationContext({...r,dsc:{...r.dsc,sample_rate:String(i.sampleRate),sampled:String(nE(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=nE(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[z.Ef]:i.sampleRate}})}(e,{linkPreviousTrace:M,consistentTraceSampling:N}),e3.location){if(C){let t=(0,eP.k3)();n$(e,{name:e3.location.pathname,startTime:t?t/1e3:void 0,attributes:{[z.i_]:"url",[z.JD]:"auto.pageload.browser"}})}I&&tx(({to:t,from:n})=>{if(void 0===n&&d?.indexOf(t)!==-1){d=void 0;return}d=void 0;let i=tg(t),a=e[nW],o=a&&A&&function(e,t){let r=(0,H.et)(e),n=(0,eP.lu)();return!(n-r.start_timestamp>1.5)&&(!t||!(n-t<=1.5))}(a,r);nB(e,{name:i?.pathname||e3.location.pathname,attributes:{[z.i_]:"url",[z.JD]:"auto.navigation.browser"}},{url:t,isRedirect:o})})}v&&e3.document&&e3.document.addEventListener("visibilitychange",()=>{let e=(0,H.Bk)();if(!e)return;let t=(0,H.zU)(e);if(e3.document.hidden&&t){let{op:e,status:r}=(0,H.et)(t);r||t.setStatus({code:ru.TJ,message:"cancelled"}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}),u&&(t=e,n=g,a=_,s=y,l=i,e3.document&&addEventListener("click",()=>{let e=t[nW];if(!(e&&["navigation","pageload"].includes((0,H.et)(e).op)))c&&(c.setAttribute(z.fs,"interactionInterrupted"),c.end(),c=void 0),l.name&&(c=r_({name:l.name,op:"ui.action.click",attributes:{[z.i_]:l.source||"url"}},{idleTimeout:n,finalTimeout:a,childSpanTimeout:s}))},{capture:!0})),o&&function(){let e=Object.keys(n_);function t(e){let t=e.target;if(!t)return;let r=(0,e2.Hd)(t),n=Math.round(e.timeStamp);if(ng.set(n,r),ng.size>50){let e=ng.keys().next().value;void 0!==e&&ng.delete(e)}}
16ed()&&e.forEach(e=>{tb.addEventListener(e,t,{capture:!0,passive:!0})});let r=({entries:e})=>{let t=(0,H.Bk)(),r=t&&(0,H.zU)(t);e.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||nm.has(t))return;let n=e.target?(0,e2.Hd)(e.target):function(e){let t=Math.round(e.startTime),r=ng.get(t);if(!r)for(let e=-5;e<=5;e++){let n=ng.get(t+e);if(n){r=n;break}}return r||"<unknown>"}(e);if(nh.length>10){let e=nh.shift();nm.delete(e)}nh.push(t),nm.set(t,{span:r,elementName:n})})};r2("event",r),r2("first-input",r)}(),function(e,t){let{traceFetch:r,traceXHR:n,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:a,enableHTTPTimings:o,tracePropagationTargets:s,onRequestSpanStart:l,onRequestSpanEnd:u}={...nj,...t},c="function"==typeof a?a:e=>!0,d=e=>(function(e,t){let r=(0,e2.$N)();if(r){let n,i;try{n=new URL(e,r),i=new URL(r).origin}catch{return!1}let a=n.origin===i;return t?(0,j.Xr)(n.toString(),t)||a&&(0,j.Xr)(n.pathname,t):a}{let r=!!e.match(/^\/(?!\/)/);return t?(0,j.Xr)(e,t):r}})(e,s),p={},f=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=nN.get(e.span_id);t&&(e.timestamp=t/1e3,nN.delete(e.span_id))}}),e)),i&&function(e){let t="fetch-body-resolved";te(t,e),tt(t,()=>tl(tc))}(e=>{if(e.response){let t=nM.get(e.response);t&&e.endTimestamp&&nN.set(t,e.endTimestamp)}}),ts(t=>{let r=function(e,t,r,n,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=(0,re.f)()&&t(o);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let r=n[t];r&&(s&&(function(e,t){if(t.response){(0,ru.N8)(e,t.response.status);let r=t.response?.headers?.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:ru.TJ,message:"internal_error"});e.end()}(r,e),function(e,t,r){let n="object"==typeof r&&null!==r?r.onRequestSpanEnd:void 0;n?.(e,{headers:t.response?.headers,error:t.error})}(r,e,i)),delete n[t]);return}let{spanOrigin:l="auto.http.browser",propagateTraceparent:u=!1}="object"==typeof i?i:{spanOrigin:i},c=(0,F.KU)(),d=!!(0,H.Bk)()||!!c&&e_(c),p=s&&d?rd(function(e,t,r){if(e.startsWith("data:")){let n=tv(e);return{name:`${t} ${n}`,attributes:nP(e,void 0,t,r)}}let n=tg(e),i=n?function(e){if(tm(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()}(n):e;return{name:`${t} ${i}`,attributes:nP(e,n,t,r)}}(o,a,l)):new rn;if(s&&!d&&c?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=p.spanContext().spanId,n[p.spanContext().spanId]=p,r(e.fetchData.url)){let t=e.args[0],r={...e.args[1]||{}},n=function(e,t,r,n){var i,a;let o=nT({span:r,propagateTraceparent:n}),s=o["sentry-trace"],l=o.baggage,u=o.traceparent;if(!s)return;let c=t.headers||((0,eR.ks)(e)?e.headers:void 0);if(!c)return{...o};if(i=c,"undefined"!=typeof Headers&&(0,eR.tH)(i,Headers)){let e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",s),n&&u&&!e.get("traceparent")&&e.set("traceparent",u),l){let t=e.get("baggage");t?nw(t)||e.set("baggage",`${t},${l}`):e.set("baggage",l)}return e}if(Array.isArray(a=c)&&a.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",s]),n&&u&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",u]);let t=c.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&nw(e[1]));return l&&!t&&e.push(["baggage",l]),e}{let e="sentry-trace"in c?c["sentry-trace"]:void 0,t="traceparent"in c?c.traceparent:void 0,r="baggage"in c?c.baggage:void 0,i=r?Array.isArray(r)?[...r]:[r]:[],a=r&&(Array.isArray(r)?r.find(e=>nw(e)):nw(r));l&&!a&&i.push(l);let o=Object.assign({},c,{"sentry-trace":e??s,baggage:i.length>0?i.join(","):void 0});return n&&u&&!t&&(o.traceparent=u),o}}(t,r,(0,re.f)()&&d?p:void 0,u);n&&(e.args[1]=r,r.headers=n)}if(c){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};c.emit("beforeOutgoingRequestSpan",p,t)}return p}(t,c,d,p,{propagateTraceparent:f,onRequestSpanEnd:u});if(t.response&&t.fetchData.__span&&nM.set(t.response,t.fetchData.__span),r){let n=nI(t.fetchData.url),i=n?t_(n).host:void 0;r.setAttributes({"http.url":n?tv(n):void 0,"server.address":i}),o&&nD(r,e),l?.(r,{headers:t.headers})}})),n&&tP(t=>{let r=function(e,t,r,n,i,a){let o=e.xhr,s=o?.[tw];if(!o||o.__sentry_own_request__||!s)return;let{url:l,method:u}=s,c=(0,re.f)()&&t(l);
16if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let r=n[t];r&&(c&&void 0!==s.status_code&&((0,ru.N8)(r,s.status_code),r.end(),a?.(r,{headers:nA(nC(o)),error:e.error})),delete n[t]);return}let d=nI(l),p=d?t_(d):t_(l),f=tv(ty(l)),h=(0,F.KU)(),m=!!(0,H.Bk)()||!!h&&e_(h),g=c&&m?rd({name:`${u} ${f}`,attributes:{url:tv(l),type:"xhr","http.method":u,"http.url":d?tv(d):void 0,"server.address":p?.host,[z.JD]:"auto.http.browser",[z.uT]:"http.client",...p?.search&&{"http.query":p?.search},...p?.hash&&{"http.fragment":p?.hash}}}):new rn;return c&&!m&&h?.recordDroppedEvent("no_parent_span","span"),o.__sentry_xhr_span_id__=g.spanContext().spanId,n[o.__sentry_xhr_span_id__]=g,r(l)&&function(e,t,r){let{"sentry-trace":n,baggage:i,traceparent:a}=nT({span:t,propagateTraceparent:r});n&&function(e,t,r,n){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),n&&!i?.traceparent&&e.setRequestHeader("traceparent",n),r){let t=i?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",r)}}catch{}}(e,n,i,a)}(o,(0,re.f)()&&m?g:void 0,i),h&&h.emit("beforeOutgoingRequestSpan",g,e),g}(t,c,d,p,f,u);r&&(o&&nD(r,e),l?.(r,{headers:nA(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}(e,{traceFetch:b,traceXHR:E,trackFetchStreamPerformance:S,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:T,enableHTTPTimings:R,onRequestSpanStart:L,onRequestSpanEnd:U})}}})({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){!nU()&&(n&&function(e){if(e3.document.getElementById("__NEXT_DATA__"))ie.events.on("routeChangeStart",t=>{let r,n,i=ty(t),a=function(e){let t=e3.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";t[t.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(i);a?(r=a,n="route"):(r=i,n="url"),nB(e,{name:r,attributes:{[z.uT]:"navigation",[z.JD]:"auto.navigation.nextjs.pages_router_instrumentation",[z.i_]:n}})});else{S=(t,r)=>{let n=nZ.env._sentryBasePath??n5._sentryBasePath,i=n0(new URL(n&&!t.startsWith(n)?`${n}${t}`:t,e3.location.href).pathname),a=nQ(i),o=a??i;"router-patch"===n2&&(n2="transition-start-hook");let s=n3.current;s?(s.updateName(o),s.setAttributes({"navigation.type":`router.${r}`,[z.i_]:a?"route":"url"}),n3.current=void 0):nB(e,{name:o,attributes:{[z.uT]:"navigation",[z.JD]:"auto.navigation.nextjs.app_router_instrumentation",[z.i_]:a?"route":"url","navigation.type":`router.${r}`}})},e3.addEventListener("popstate",()=>{let t=n0(e3.location.pathname),r=nQ(t);n3.current?.isRecording()?(n3.current.updateName(r??t),n3.current.setAttribute(z.i_,r?"route":"url")):n3.current=nB(e,{name:r??t,attributes:{[z.JD]:"auto.navigation.nextjs.app_router_instrumentation",[z.i_]:r?"route":"url","navigation.type":"browser.popstate"}})});let t=!1,r=0,n=setInterval(()=>{r++;let i=n4?.next?.router??n4?.nd?.router;t||r>500?clearInterval(n):i&&(clearInterval(n),t=!0,n9(e,i,n3),["nd","next"].forEach(t=>{let r=n4[t];r&&(n4[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&n9(e,n,n3),t[r]=n,!0)}))}))},20)}}(e),t.afterAllSetup(e),r&&function(e){if(e3.document.getElementById("__NEXT_DATA__")){let{route:t,params:r,sentryTrace:n,baggage:i}=function(){let e,t=e3.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{t9.T&&P.Yz.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:i,props:a}=e;return r.route=n,r.params=i,a?.pageProps&&(r.sentryTrace=a.pageProps._sentryTraceData,r.baggage=a.pageProps._sentryBaggage),r}(),a=(0,nS.D0)(i),o=t||e3.location.pathname;a?.["sentry-transaction"]&&"/_error"===o&&(o=(o=a["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=(0,eP.k3)();n$(e,{name:o,startTime:s?s/1e3:void 0,attributes:{[z.uT]:"pageload",[z.JD]:"auto.pageload.nextjs.pages_router_instrumentation",[z.i_]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:i})}else{let t=n0(e3.location.pathname),r=nQ(t),n=(0,eP.k3)();n$(e,{name:r??t,startTime:n?n/1e3:void 0,attributes:{[z.uT]:"pageload",[z.JD]:"auto.pageload.nextjs.app_router_instrumentation",[z.i_]:r?"route":"url"}})}}(e))}}}());let r=is.env._sentryBasePath||iu._sentryBasePath,n="true"===is.env._experimentalThirdPartyOriginStackFrames||"true"===iu._experimentalThirdPartyOriginStackFrames;return t.push((({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...((e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in w.O&&!!w.O.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let i=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),a=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(i||a){let e=i?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,a=t?function(e,t){e=ir(e).slice(1),t=ir(t).slice(1);let r=ii(e.split("/")),n=ii(t.split("/")),i=Math.min(r.length,n.length),a=i;for(let e=0;e<i;e++)if(r[e]!==n[e]){a=e;break}let o=[];for(let e=a;
16e<r.length;e++)o.push("..");return(o=o.concat(n.slice(a))).join("/")}(t,e):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=it.exec(t);return r?r.slice(1):[]}(e)[2]||"";n.filename=`${r}${a}`}return n}}({isBrowser:n,root:t,prefix:r});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;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>i(e))}}}})}}}catch{return e}}(t)),t}}})({iteratee:i=>{if(n){let r="undefined"!=typeof window&&window.location?window.location.origin:"";if(i.filename?.startsWith(r)&&!i.filename.endsWith(".js"))return i;if(e)i.filename?.startsWith(e)&&(i.filename=i.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(i.filename);e===r&&(i.filename=i.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(i.filename);i.filename=i.filename?.replace(e,"app://").replace(r,"")}catch{}return n?(i.filename?.includes("/_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)):(i.filename?.startsWith("app:///_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)),i}}),name:"NextjsClientStackFrameNormalization"}))({assetPrefix:"/marketing",basePath:r,rewriteFramesAssetPrefixPath:"/marketing",experimentalThirdPartyOriginStackFrames:n})),t}(e),release:"v2.105.1",...e};!function(e){let t="/monitoring";if(t&&e.dsn){let r=(0,V.hH)(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let i=n[1],a=n[2],o=`${t}?o=${i}&p=${r.projectId}`;a&&(o+=`&r=${a}`),e.tunnel=o,t9.T&&P.Yz.log(`Tunneling events to "${o}"`)}else t9.T&&P.Yz.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(t),x(t,"nextjs",["nextjs","react"]),t.ignoreSpans=[...t.ignoreSpans||[],/^\/404$/,RegExp(`^${n1}$`)],function(e){let t={...e};x(t,"react"),(0,O.o)("react",{version:t6.version}),function(e={}){var t;let r=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===e3.window||e3.nw)return!1;let e=e3.chrome||e3.browser;if(!e?.runtime?.id)return!1;let t=(0,e2.$N)();return!(e3===e3.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}(),n=null==e.defaultIntegrations?t8():e.defaultIntegrations,i={...e,enabled:!r&&e.enabled,stackParser:(0,W.vk)(e.stackParser||t0),integrations:function(e){let t,r=e.defaultIntegrations||[],n=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))t=[...r,...n];else if("function"==typeof n){let e=n(r);t=Array.isArray(e)?e:[e]}else t=r;let i={};return t.forEach(e=>{let{name:t}=e,r=i[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(i[t]=e)}),Object.values(i)}({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||t5};!0===i.debug&&(k.T?P.Yz.enable():(0,P.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,F.o5)().update(i.initialScope);let a=new e6(i);t=a,(0,F.o5)().setClient(t),a.init()}(t)}(t);let r=(e,t)=>{var r;return(r=t?.originalException,(0,eR.bJ)(r)&&"string"==typeof r.digest&&r.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:e};r.id="NextRedirectErrorFilter",(0,O.SA)(r)}({dsn:se,environment:st||"development",tracesSampleRate:.1,debug:!1,replaysOnErrorSampleRate:1,replaysSessionSampleRate:.1,integrations:[new o6({maskAllText:!0,blockAllMedia:!0})]});let sr=function(e,t){S&&S(e,t)}},82585:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},83250:(e,t,r)=>{"use strict";
16Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathnameContextProviderAdapter:function(){return f},adaptForAppRouterInstance:function(){return c},adaptForPathParams:function(){return p},adaptForSearchParams:function(){return d}});let n=r(88365),i=r(37876),a=n._(r(14232)),o=r(9440),s=r(92712),l=r(27426),u=r(70159);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},hmrRefresh(){},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function d(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function p(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,u.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function f(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),u=(0,a.useMemo)(()=>{let e,t=l.current;if(t&&(l.current=!1),(0,s.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,i.jsx)(o.PathnameContext.Provider,{value:u,children:t})}},83378:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return i}});let n=()=>r;function i(e){r=e}},83380:(e,t,r)=>{"use strict";r.d(t,{RV:()=>d,gd:()=>o,nY:()=>p,qQ:()=>c,vk:()=>s,yF:()=>n});let n="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function o(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,o=0)=>{let s=[],u=e.split("\n");for(let e=r;e<u.length;e++){let r=u[e];r.length>1024&&(r=r.slice(0,1024));let n=i.test(r)?r.replace(i,"$1"):r;if(!n.includes("Error: ")){for(let e of t){let t=e(n);if(t){s.push(t);break}}if(s.length>=50+o)break}}var c=s.slice(o);if(!c.length)return[];let d=Array.from(c);return/sentryWrapped/.test(l(d).function||"")&&d.pop(),d.reverse(),a.test(l(d).function||"")&&(d.pop(),a.test(l(d).function||"")&&d.pop()),d.slice(0,50).map(e=>({...e,filename:e.filename||l(d).filename,function:e.function||n}))}}function s(e){return Array.isArray(e)?o(...e):e}function l(e){return e[e.length-1]||{}}let u="<anonymous>";function c(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch{return u}}function d(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function p(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}},83847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e,t){let n;if(!t)return{pathname:e};let i=r.get(t);i||(i=t.map(e=>e.toLowerCase()),r.set(t,i));let a=e.split("/",2);if(!a[1])return{pathname:e};let o=a[1].toLowerCase(),s=i.indexOf(o);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},84350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{compileNonPath:function(){return c},matchHas:function(){return u},parseDestination:function(){return d},prepareDestination:function(){return p}});let n=r(3239),i=r(94387),a=r(50781),o=r(29663),s=r(61137);function l(e){return e.replace(/__ESC_COLON_/gi,":")}function u(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=[]);let i={},a=r=>{let n,a=r.key;switch(r.type){case"header":a=a.toLowerCase(),n=e.headers[a];break;case"cookie":n="cookies"in e?e.cookies[r.key]:(0,o.getCookieParser)(e.headers)()[r.key];break;case"query":n=t[a];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};n=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!r.value&&n)return i[function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);(n>64&&n<91||n>96&&n<123)&&(t+=e[r])}return t}(a)]=n,!0;if(n){let e=RegExp("^"+r.value+"$"),t=Array.isArray(n)?n.slice(-1)[0].match(e):n.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEac
16h(e=>{i[e]=t.groups[e]}):"host"===r.type&&t[0]&&(i.host=t[0])),!0}return!1};return!(!r.every(e=>a(e))||n.some(e=>a(e)))&&i}function c(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));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,s.safeCompile)("/"+e,{validate:!1})(t).slice(1)}function d(e){let t=e.destination;for(let r of Object.keys({...e.params,...e.query}))r&&(t=t.replace(RegExp(":"+(0,n.escapeStringRegexp)(r),"g"),"__ESC_COLON_"+r));let r=(0,i.parseUrl)(t),a=r.pathname;a&&(a=l(a));let o=r.href;o&&(o=l(o));let s=r.hostname;s&&(s=l(s));let u=r.hash;u&&(u=l(u));let c=r.search;return c&&(c=l(c)),{...r,pathname:a,hostname:s,href:o,hash:u,search:c}}function p(e){let t,r,n=d(e),{hostname:i,query:o,search:u}=n,p=n.pathname;n.hash&&(p=""+p+n.hash);let f=[],h=[];for(let e of((0,s.safePathToRegexp)(p,h),h))f.push(e.name);if(i){let e=[];for(let t of((0,s.safePathToRegexp)(i,e),e))f.push(t.name)}let m=(0,s.safeCompile)(p,{validate:!1});for(let[r,n]of(i&&(t=(0,s.safeCompile)(i,{validate:!1})),Object.entries(o)))Array.isArray(n)?o[r]=n.map(t=>c(l(t),e.params)):"string"==typeof n&&(o[r]=c(l(n),e.params));let g=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!g.some(e=>f.includes(e)))for(let t of g)t in o||(o[t]=e.params[t]);if((0,a.isInterceptionRouteAppPath)(p))for(let t of p.split("/")){let r=a.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(r){"(..)(..)"===r?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=r;break}}try{let[i,a]=(r=m(e.params)).split("#",2);t&&(n.hostname=t(e.params)),n.pathname=i,n.hash=(a?"#":"")+(a||""),n.search=u?c(u,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,configurable:!0});throw e}return n.query={...e.query,...n.query},{newUrl:r,destQuery:o,parsedDestination:n}}},86500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{REDIRECT_ERROR_CODE:function(){return i},RedirectType:function(){return a},isRedirectError:function(){return o}});let n=r(13666),i="NEXT_REDIRECT";var a=function(e){return e.push="push",e.replace="replace",e}({});function o(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,a]=t,o=t.slice(2,-2).join(";"),s=Number(t.at(-2));return r===i&&("replace"===a||"push"===a)&&"string"==typeof o&&!isNaN(s)&&s in n.RedirectStatusCode}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87233:(e,t)=>{"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){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(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return g}});let n=r(64252),i=r(88365),a=r(37876),o=n._(r(98477)),s=i._(r(14232)),l=r(74324),u=r(60348),c=r(21112),d=r(18170),p=new Map,f=new Set,h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:s="",strategy:l="afterInteractive",onError:c,stylesheets:d}=e,h=r||t;if(h&&f.has(h))return;if(p.has(t)){f.add(h),p.get(t).then(n,c);return}let m=()=>{i&&i(),f.add(h)},g=document.createElement("script"),_=new Promise((e,t)=>
16{g.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});a?(g.innerHTML=a.__html||"",m()):s?(g.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",m()):t&&(g.src=t,p.set(t,_)),(0,u.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),d&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(g)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}):h(e)}function g(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function _(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:u="afterInteractive",onError:p,stylesheets:m,...g}=e,{updateScripts:_,scripts:y,getIsSsr:v,appDir:b,nonce:E}=(0,s.useContext)(l.HeadManagerContext);E=g.nonce||E;let S=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;S.current||(i&&e&&f.has(e)&&i(),S.current=!0)},[i,t,r]);let T=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!T.current){if("afterInteractive"===u)h(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}));T.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(_?(y[u]=(y[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:p,...g,nonce:E}]),_(y)):v&&v()?f.add(t||r):v&&!v()&&h({...e,nonce:E})),b){if(m&&m.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!r)return g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([0,{...g,id:t}]))+")"}});else return o.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:E,crossOrigin:g.crossOrigin}:{as:"script",nonce:E,crossOrigin:g.crossOrigin}),(0,a.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([r,{...g,id:t}]))+")"}});"afterInteractive"===u&&r&&o.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:E,crossOrigin:g.crossOrigin}:{as:"script",nonce:E,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(_,"__nextScript",{value:!0});let y=_;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},88365:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,r&&r.set(e,i),i}r.r(t),r.d(t,{_:()=>i})},88524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(92712),i=r(40342);function a(e){let t=(0,i.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},88668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let n=r(50781),i=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,a=/\/\[[^/]+\](?=\/|$)/;function o(e,t){return(void 0===t&&(t=!0),(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?a.test(e):i.test(e)}},89099:(e,t,r)=>{e.exports=r(6763)},89266:(e,t,r)=>{"use strict";
16Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return i}});let n=r(54968),i=function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];return(0,n.normalizePathTrailingSlash)(r(42560).addLocale(e,...i))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},90086:(e,t,r)=>{"use strict";Object.defineProperty(t,"A",{enumerable:!0,get:function(){return u}});let n=r(68063),i=r(84350),a=r(69239),o=r(83847),s=r(39116),l=r(5402);function u(e,t,r,u,c,d){let p,f=!1,h=!1,m=(0,l.parseRelativeUrl)(e),g=(0,a.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(m.pathname),d).pathname),_=r=>{let l=(0,n.getPathMatch)(r.source+"(/)?",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((r.has||r.missing)&&l){let e=(0,i.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[r,...n]=t.split("=");return e[r]=n.join("="),e},{})},m.query,r.has,r.missing);e?Object.assign(l,e):l=!1}if(l){if(!r.destination)return h=!0,!0;let n=(0,i.prepareDestination)({appendParamsToQuery:!0,destination:r.destination,params:l,query:u});if(m=n.parsedDestination,e=n.newUrl,Object.assign(u,n.parsedDestination.query),g=(0,a.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(e),d).pathname),t.includes(g))return f=!0,p=g,!0;if((p=c(g))!==e&&t.includes(p))return f=!0,!0}},y=!1;for(let e=0;e<r.beforeFiles.length;e++)_(r.beforeFiles[e]);if(!(f=t.includes(g))){if(!y){for(let e=0;e<r.afterFiles.length;e++)if(_(r.afterFiles[e])){y=!0;break}}if(y||(p=c(g),y=f=t.includes(p)),!y){for(let e=0;e<r.fallback.length;e++)if(_(r.fallback[e])){y=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:f,resolvedHref:p,externalDest:h}}},92712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let n=r(24802),i=r(88668)},92797:(e,t,r)=>{"use strict";let n;r.d(t,{Bi:()=>l,KU:()=>f,m6:()=>d,o5:()=>u,rm:()=>c,v4:()=>p,vn:()=>h});var i=r(81819),a=r(46925),o=r(18081),s=r(42252);function l(){return void 0!==n}function u(){let e=(0,a.EU)();return(0,i.h)(e).getCurrentScope()}function c(){let e=(0,a.EU)();return(0,i.h)(e).getIsolationScope()}function d(){return(0,a.BY)("globalScope",()=>new o.H)}function p(...e){let t=(0,a.EU)(),r=(0,i.h)(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function f(){return u().getClient()}function h(e){let t=n?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:r,parentSpanId:i,propagationSpanId:a}=e.getPropagationContext(),o={trace_id:r,span_id:a||(0,s.Z)()};return i&&(o.parent_span_id=i),o}},92860:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return i}});let n=r(321);function i(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return b},APP_CLIENT_INTERNALS:function(){return Z},APP_PATHS_MANIFEST:function(){return _},APP_PATH_ROUTES_MANIFEST:function(){return y},AdapterOutputType:function(){return a},BARREL_OPTIMIZATION_PREFIX:function(){return W},BLOCKED_PAGES:function(){return F},BUILD_ID_FILE:function(){return U},BUILD_MANIFEST:function(){return v},CLIENT_PUBLIC_FILES_PATH:function(){return $},CLIENT_REFERENCE_MANIFEST:function(){return q},CLIENT_STATIC_FILES_PATH:function(){return B},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return et},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return V},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Q},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return en},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ei},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return er},COMPILER_INDEXES:function(){return o},COMPILER_NAMES:function(){return i},CONFIG_FILES:function(){return L},DEFAULT_RUNTIME_WEBPACK:function(){return ea},DEFAULT_SANS_SERIF_FONT:function(){return ec},DEFAULT_SERIF_FONT:function(){return eu},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return N},DEV_CLIENT_PAGES_MANIFEST:function(){return C},DYNAMIC_CSS_MANIFEST:function(){return J},EDGE_RUNTIME_WEBPACK:function(){return eo},EDGE_UNSUPPORTED_NODE_APIS:function(){return em},EXPORT_DETAIL:function(){return P},EXPORT_MARKER:function(){return w},FUNCTIONS_CONFIG_MANIFEST:function(){return E},IMAGES_MANIFEST:function(){return O},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return K},MIDDLEWARE_BUILD_MANIFEST:function(){return X},MIDDLEWARE_MANIFEST:function(){return I},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return G},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return H},NEXT_FONT_MANIFEST:function(){return T},PAGES_MANIFEST:function(){return m},PHASE_DEVELOPMENT_SERVER:function(){return p},PHASE_EXPORT:function(){return u},PHASE_INFO:function(){return h},PHASE_PRODUCTION_BUILD:function(){return c},PHASE_PRODUCTION_SERVER:function(){return d},PHASE_TEST:function(){return f},PRERENDER_MANIFEST:function(){return R},REACT_LOADABLE_MANIFEST:function(){return j},ROUTES_MANIFEST:function(){return x},RSC_MODULE_TYPES:function(){return eh},SERVER_DIRECTORY:function(){return D},SERVER_FILES_MANIFEST:function(){return k},SERVER_PROPS_ID:function(){return el},SERVER_REFERENCE_MANIFEST:function(){return Y},STATIC_PROPS_ID:function(){return es},STATIC_STATUS_PAGES:function(){return ed},STRING_LITERAL_DROP_BUNDLE:function(){return z},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return S},SYSTEM_ENTRYPOINTS:function(){return eg},TRACE_OUTPUT_VERSION:function(){return ep},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return M},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return A},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},UNDERSCORE_NOT_FOUND_ROUTE:function(){return s},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l},WEBPACK_STATS:function(){return g}});let n=r(64252)._(r(50563)),i={client:"client",server:"server",edgeServer:"edge-server"};var a=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.PRERENDER="PRERENDER",e.STATIC_FILE="STATIC_FILE",e.MIDDLEWARE="MIDDLEWARE",e}({});let o={[i.client]:0,[i.server]:1,[i.edgeServer]:2},s="/_not-found",l=""+s+"/page",u="phase-export",c="phase-production-build",d="phase-production-server",p="p
16hase-development-server",f="phase-test",h="phase-info",m="pages-manifest.json",g="webpack-stats.json",_="app-paths-manifest.json",y="app-path-routes-manifest.json",v="build-manifest.json",b="app-build-manifest.json",E="functions-config-manifest.json",S="subresource-integrity-manifest",T="next-font-manifest",w="export-marker.json",P="export-detail.json",R="prerender-manifest.json",x="routes-manifest.json",O="images-manifest.json",k="required-server-files.json",C="_devPagesManifest.json",I="middleware-manifest.json",A="_clientMiddlewareManifest.json",M="client-build-manifest.json",N="_devMiddlewareManifest.json",j="react-loadable-manifest.json",D="server",L=["next.config.js","next.config.mjs","next.config.ts"],U="BUILD_ID",F=["/_document","/_app","/_error"],$="public",B="static",z="__NEXT_DROP_CLIENT_FILE__",H="__NEXT_BUILTIN_DOCUMENT__",W="__barrel_optimize__",q="client-reference-manifest",Y="server-reference-manifest",X="middleware-build-manifest",G="middleware-react-loadable-manifest",K="interception-route-rewrite-manifest",J="dynamic-css-manifest",V="main",Q=""+V+"-app",Z="app-pages-internals",ee="react-refresh",et="amp",er="webpack",en="polyfills",ei=Symbol(en),ea="webpack-runtime",eo="edge-runtime-webpack",es="__N_SSG",el="__N_SSP",eu={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ec={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ed=["/500"],ep=1,ef=6e3,eh={client:"client",server:"server"},em=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eg=new Set([V,ee,et,Q]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return a}});let n=r(67825),i=r(5402);function a(e){if(e.startsWith("/"))return(0,i.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,n.searchParamsToUrlQuery)(t.searchParams),search:t.search,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}},95837:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(92797);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||(0,n.KU)()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},97918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(64252),i=r(88365),a=r(37876),o=i._(r(14232)),s=n._(r(12479)),l=r(55066),u=r(74324),c=r(18438);function d(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(76456);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let a=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?a=!1:t.add(i.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?a=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!o)&&r.has(e)?a=!1:(r.add(e),n[t]=r)}}}return a}}()).reverse().map((e,t)=>{let r=e.key||t;return o.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return(0,a.jsx)(s.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
16dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return i}});let n=r(321);function i(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},98093:(e,t,r)=>{"use strict";let n;r.d(t,{$X:()=>u,GR:()=>p,M6:()=>d,dO:()=>f,eJ:()=>s,gO:()=>c});var i=r(71830),a=r(58934),o=r(77628);function s(e=function(){let e=o.O;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return(0,a.Qw)(()=>e.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&16*(0,a.hY)())>>e/4).toString(16))}function l(e){return e.exception?.values?.[0]}function u(e){let{message:t,event_id:r}=e;if(t)return t;let n=l(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function c(e,t,r){let n=e.exception=e.exception||{},i=n.values=n.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=r||"Error")}function d(e,t){let r=l(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n?.data,...t.data};r.mechanism.data=e}}function p(e){if(f(e))return!0;try{(0,i.my)(e,"__sentry_captured__",!0)}catch{}return!1}function f(e){try{return e.__sentry_captured__}catch{}}},99328:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let i=r[n];if("query"===i){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let i=r[n];if(!t.query.hasOwnProperty(i)||e.query[i]!==t.query[i])return!1}}else if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},99742:e=>{var t,r,n,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&p())}function p(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new f(e,t)),1!==l.length||u||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},e=>{e.O(0,[6593],()=>e(e.s=46175)),_N_E=e.O()}]);
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.