PageSourceSearch

https://www.klikdokter.com/_next/static/chunks/1c7hs7uwuvhkv.js

js klikdokter.com collected 2026-10-01 11:32:06 UTC 190,069 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="af86632c-65b1-9b18-a063-1be50367efd3")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,910560,(e,t,n)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},531430,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return i}});class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams"),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1174",enumerable:!1,configurable:!0})}}class i extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new r}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},470008,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={NavigationPromisesContext:function(){return c},PathParamsContext:function(){return u},PathnameContext:function(){return l},ReadonlyURLSearchParams:function(){return o.ReadonlyURLSearchParams},SearchParamsContext:function(){return s},createDevToolsInstrumentedPromise:function(){return d}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(191788),o=e.r(531430),s=(0,a.createContext)(null),l=(0,a.createContext)(null),u=(0,a.createContext)(null),c=(0,a.createContext)(null);function d(e,t){let n=Promise.resolve(t);return n.status="fulfilled",n.value=t,n.displayName="".concat(e," (SSR)"),n}},820011,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return s},isEqualNode:function(){return o}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(626016);function o(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){let r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function s(){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="'.concat(e.props["data-href"],'"]')))return;else e.props.href=e.props["data-href"],e.props["data-href"]=void 0;let n=t[e.type]||[];n.push(e),t[e.type]=n});let n=t.title?t.title[0]:null,r="";if(n){let{children:e}=n.props;r="string"==typeof e?e:Array.isArray(e)?e.join(""):""}r!==document.title&&(document.title=r),["meta","base","link","style","script"].forEach(e
2=>{!function(e,t){let n=document.querySelector("head");if(!n)return;let r=new Set(n.querySelectorAll("".concat(e,"[data-next-head]")));if("meta"===e){let e=n.querySelector("meta[charset]");null!==e&&r.add(e)}let i=[];for(let e=0;e<t.length;e++){let n=function(e){let{type:t,props:n}=e,r=document.createElement(t);(0,a.setAttributesFromProps)(r,n);let{children:i,dangerouslySetInnerHTML:o}=n;return o?r.innerHTML=o.__html||"":i&&(r.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):""),r}(t[e]);n.setAttribute("data-next-head","");let s=!0;for(let e of r)if(o(e,n)){r.delete(e),s=!1;break}s&&i.push(n)}for(let e of r){var s;null==(s=e.parentNode)||s.removeChild(e)}for(let e of i)"meta"===e.tagName.toLowerCase()&&null!==e.getAttribute("charset")&&n.prepend(e),n.appendChild(e)}(e,t[e]||[])})}}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},723788,(e,t,n)=>{"use strict";let r,i,a,o,s,l,u,c,d,p,f,_;var h=e.r(792479),m=e.r(713037);Object.defineProperty(n,"__esModule",{value:!0});var g={emitter:function(){return q},hydrate:function(){return e_},initialize:function(){return J},router:function(){return r},version:function(){return H}};for(var v in g)Object.defineProperty(n,v,{enumerable:!0,get:g[v]});let E=e.r(741705),y=e.r(391398);e.r(910560);let S=E._(e.r(191788)),b=E._(e.r(681912)),T=e.r(713584),I=E._(e.r(547194)),R=e.r(425479),N=e.r(101280),A=e.r(478690),O=e.r(398928),w=e.r(889129),C=e.r(528035),P=E._(e.r(820011)),D=E._(e.r(687020)),x=e.r(145117),L=e.r(926990),M=e.r(653910),U=e.r(813521),B=e.r(544691),k=e.r(668186),j=e.r(701085),W=e.r(818126),F=e.r(470008),G=e.r(945290);e.r(339651),e.r(68934);let H="16.3.0",q=(0,I.default)(),Y=!1;class z extends S.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),r.isSsr&&(i.isFallback||i.nextExport&&((0,A.isDynamicRoute)(r.pathname)||location.search||1)||i.props&&i.props.__N_SSG&&(location.search||1))&&r.replace(r.pathname+"?"+String((0,O.assign)((0,O.urlQueryToSearchParams)(r.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!i.isFallback&&!Y}).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 J(){arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=i,_=i.defaultLocale;let t=i.assetPrefix||"";if(self.__next_set_public_path__("".concat(t,"/_next/")),a=(0,w.getURL)(),(0,k.hasBasePath)(a)&&(a=(0,B.removeBasePath)(a)),i.scriptLoader){let{initScriptLoader:t}=e.r(161457);t(i.scriptLoader)}o=new D.default(i.buildId,t);let n=e=>{let[t,n]=e;return o.routeLoader.onEntrypoint(t,n)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>n(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=n,(l=(0,P.default)()).getIsSsr=()=>r.isSsr,s=document.getElementById("__next"),{assetPrefix:t}}function X(e,t){return(0,y.jsx)(e,h._({},t))}function V(e){var t;let{children:n}=e,i=S.default.useMemo(()=>(0,W.adaptForAppRouterInstance)(r),[]);return(0,y.jsx)(z,{fn:e=>$({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,y.jsx)(j.AppRouterContext.Provider,{value:i,children:(0,y.jsx)(F.SearchParamsContext.Provider,{value:(0,W.adaptForSearchParams)(r),children:(0,y.jsx)(W.PathnameContextProviderAdapter,{router:r,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,y.jsx)(F.PathParamsContext.Provider,{value:(0,W.adaptForPathParams)(r),children:(0,y.jsx)(R.RouterContext.Provider,{value:(0,L.makePublicRouterInstance)(r),children:(0,y.jsx)(T.HeadManagerContext.Provider,{value:l,children:(0,y.jsx)(U.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1},children:n})})})})})})})})}let K=e=>t=>{let n=m._(h._({},t),{Component:f,err:i.err,router:r});return(0,y.jsx)(V,{children:X(e,n)})};function $(t){let{App:n,err:s}=t;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(r=>{let{page:i,styleSheets:a}=r;return(null==u?void 0:u.Component)===i?e.A(648761).then(r=>e.A(828805).then(e=>(t.App=n=e.default,r))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:i,styleSheets:a}}).then(e=>{var o;let{ErrorComponent:l,styleSheets:u}=e,c=K(n),d={Component:l,AppTree:c,router:r,ctx:{err:s,pathname:i.page,query:i.query,asPath:a,AppTree:c}};return Promise.resolve((null==(o=t.props)?void 0:o.err)?t.props:(0,w.loadGetInitialProps)(n,d)).then(e=>ep(m._(h._({},t),{err:s,Component:l,styleSheets:u,props:e})))})}function Q(e){let{callback:t}=e;return S.default.useLayoutEffect(()=>t(),[t]),null}let Z="beforeRender",ee="afterRender",et="afterHydrate",en="routeChange",er="Next.js-hydration",ei="Next.js-route-change-to-render",ea="Next.js-render",eo=null,es=!0;
2function el(){[Z,et,ee,en].forEach(e=>performance.clearMarks(e))}function eu(){w.ST&&(performance.mark(et),performance.getEntriesByName(Z,"mark").length&&(performance.measure("Next.js-before-hydration","navigationStart",Z),performance.measure(er,Z,et)),p&&performance.getEntriesByName(er).forEach(p),el())}function ec(){if(!w.ST)return;performance.mark(ee);let e=performance.getEntriesByName(en,"mark");e.length&&(performance.getEntriesByName(Z,"mark").length&&(performance.measure(ei,e[0].name,Z),performance.measure(ea,Z,ee),p&&(performance.getEntriesByName(ea).forEach(p),performance.getEntriesByName(ei).forEach(p))),el(),[ei,ea].forEach(e=>performance.clearMeasures(e)))}function ed(e){let{callbacks:t,children:n}=e;return S.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),n}function ep(e){var t,n;let i,a,{App:o,Component:l,props:d,err:p}=e,f="initial"in e?void 0:e.styleSheets;l=l||u.Component,d=d||u.props;let _=m._(h._({},d),{Component:l,err:p,router:r});u=_;let g=new Promise((e,t)=>{c&&c(),a=()=>{c=null,e()},c=()=>{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 v(){a()}!function(){let e;if(!f)return;let t=new Set((e=document.querySelectorAll("style[data-n-href]"),[].slice.call(e)).map(e=>e.getAttribute("data-n-href"))),n=document.querySelector("noscript[data-n-css]"),r=null==n?void 0:n.getAttribute("data-n-css");f.forEach(e=>{let{href:n,text:i}=e;if(!t.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 E=(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Q,{callback:function(){if(e.scroll){let{x:t,y:n}=e.scroll;(0,N.disableSmoothScrollDuringRouteTransition)(()=>{window.scrollTo(t,n)})}}}),(0,y.jsxs)(V,{children:[X(o,_),(0,y.jsx)(C.Portal,{type:"next-route-announcer",children:(0,y.jsx)(x.RouteAnnouncer,{})})]})]});return t=s,n=e=>(0,y.jsx)(ed,{callbacks:[e,v],children:E}),w.ST&&performance.mark(Z),i=n(es?eu:ec),eo?(0,S.default.startTransition)(()=>{eo.render(i)}):(eo=b.default.hydrateRoot(t,i,{onRecoverableError:G.onRecoverableError}),es=!1),g}async function ef(e){if(e.err&&(void 0===e.Component||!e.isHydratePass))return void await $(e);try{await ep(e)}catch(n){let t=(0,M.getProperError)(n);if(t.cancelled)throw t;await $(m._(h._({},e),{err:t}))}}async function e_(e){let t=i.err;try{let e=await o.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:n}=e;d=t,n&&n.reportWebVitals&&(p=e=>{let t,{id:r,name:i,startTime:a,value:o,duration:s,entryType:l,entries:u,attribution:c}=e,d="".concat(Date.now(),"-").concat(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let p={id:r||d,name:i,startTime:a||t,value:null==o?s:o,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(p.attribution=c),n.reportWebVitals(p)});let r=await o.routeLoader.whenEntrypoint(i.page);if("error"in r)throw r.error;f=r.component}catch(e){t=(0,M.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(i.dynamicIds),r=(0,L.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,n)=>ef(Object.assign({},e,{App:t,scroll:n})),locale:i.locale,locales:i.locales,defaultLocale:_,domainLocales:i.domainLocales,isPreview:i.isPreview}),Y=await r._initialMatchesMiddlewarePromise;let n={App:d,initial:!0,Component:f,props:i.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),ef(n)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},910783,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(983033),e.r(267398);let r=e.r(723788);window.next={version:r.version,turbopack:!0,get router(){return r.router},emitter:r.emitter},self.__next_set_public_path__=()=>{},self.__webpack_hash__="",(0,r.initialize)({}).then(()=>(self.__turbopack_load_page_chunks__=(t,n)=>{Promise.all(n.map(t=>e.l(t))).catch(e=>console.error("failed to load chunks for page "+t,e))},(0,r.hydrate)())).catch(e=>{console.error("Error was not caught",e)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
2dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},687020,(e,t,n)=>{"use strict";var r=e.i(350461);Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return _}});let i=e.r(741705),a=e.r(344113),o=e.r(450169),s=i._(e.r(516544)),l=e.r(514862),u=e.r(478690),c=e.r(469590),d=e.r(523486),p=e.r(255447);e.r(558784);let f=e.r(861741);class _{getPageList(){return(0,p.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){if(r.default.env.__NEXT_MIDDLEWARE_MATCHERS){let e=r.default.env.__NEXT_MIDDLEWARE_MATCHERS;return window.__MIDDLEWARE_MATCHERS=e||void 0,window.__MIDDLEWARE_MATCHERS}if(window.__MIDDLEWARE_MATCHERS)return window.__MIDDLEWARE_MATCHERS;{let e=new Promise(e=>{let t=self.__MIDDLEWARE_MATCHERS_CB;self.__MIDDLEWARE_MATCHERS_CB=()=>{e(self.__MIDDLEWARE_MATCHERS),t&&t()}});return(0,f.resolvePromiseWithTimeout)(e,(0,p.markAssetError)(Object.defineProperty(Error("Failed to load client middleware manifest"),"__NEXT_ERROR_CODE",{value:"E980",enumerable:!1,configurable:!0})),void 0)}}getDataHref(e){var t;let n,{asPath:r,href:i,locale:p}=e,{pathname:f,query:_,search:h}=(0,c.parseRelativeUrl)(i),{pathname:m}=(0,c.parseRelativeUrl)(r),g=(0,d.removeTrailingSlash)(f);if("/"!==g[0])throw Object.defineProperty(Error('Route name should start with a "/", got "'.concat(g,'"')),"__NEXT_ERROR_CODE",{value:"E303",enumerable:!1,configurable:!0});return t=e.skipInterpolation?m:(0,u.isDynamicRoute)(g)?(0,o.interpolateAs)(f,m,_).result:g,n=(0,s.default)((0,d.removeTrailingSlash)((0,l.addLocale)(t,p)),".json"),(0,a.addBasePath)("/_next/data/".concat(this.buildId).concat(n).concat(h),!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,p.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 n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},528035,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Portal",{enumerable:!0,get:function(){return a}});let r=e.r(191788),i=e.r(730943),a=e=>{let{children:t,type:n}=e,[a,o]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=document.createElement(n);return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}},[n]),a?(0,i.createPortal)(t,a):null};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},983033,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=(0,e.r(420262).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=r,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},145117,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={RouteAnnouncer:function(){return c},default:function(){return d}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(741705),o=e.r(391398),s=a._(e.r(191788)),l=e.r(926990),u={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"},c=()=>{let{asPath:e}=(0,l.useRouter)(),[t,n]=s.default.useState(""),r=s.default.useRef(e);return s.default.useEffect(()=>{if(r.current!==e)if(r.current=e,document.title)n(document.title);else{var t;let r=document.querySelector("h1");n((null!=(t=null==r?void 0:r.innerText)?t:null==r?void 0:r.textContent)||e)}},[e]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:u,children:t})},d=c;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
2dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},701085,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return l},LayoutRouterContext:function(){return s},MissingSlotContext:function(){return c},TemplateContext:function(){return u}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(741705)._(e.r(191788)),o=a.default.createContext(null),s=a.default.createContext(null),l=a.default.createContext(null),u=a.default.createContext(null),c=a.default.createContext(new Set)},934221,(e,t,n)=>{"use strict";t.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},232063,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return s},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l},UNDERSCORE_NOT_FOUND_ROUTE:function(){return a},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return o}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a="/_not-found",o="".concat(a,"/page"),s="/_global-error",l="".concat(s,"/page")},558784,(e,t,n)=>{"use strict";var r,i,a,o=e.i(350461);Object.defineProperty(n,"__esModule",{value:!0});var s={APP_CLIENT_INTERNALS:function(){return ea},APP_PATHS_MANIFEST:function(){return b},APP_PATH_ROUTES_MANIFEST:function(){return T},AdapterOutputType:function(){return f},BARREL_OPTIMIZATION_PREFIX:function(){return K},BLOCKED_PAGES:function(){return Y},BUILD_ID_FILE:function(){return q},BUILD_MANIFEST:function(){return I},CLIENT_PUBLIC_FILES_PATH:function(){return z},CLIENT_REFERENCE_MANIFEST:function(){return $},CLIENT_STATIC_FILES_PATH:function(){return J},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return er},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return ei},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return el},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return eu},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return eo},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return es},COMPILER_INDEXES:function(){return p},COMPILER_NAMES:function(){return d},CONFIG_FILES:function(){return H},DEFAULT_RUNTIME_WEBPACK:function(){return ec},DEFAULT_SANS_SERIF_FONT:function(){return eh},DEFAULT_SERIF_FONT:function(){return e_},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return W},DEV_CLIENT_PAGES_MANIFEST:function(){return M},DYNAMIC_CSS_MANIFEST:function(){return en},EDGE_RUNTIME_WEBPACK:function(){return ed},EDGE_UNSUPPORTED_NODE_APIS:function(){return ey},EXPORT_DETAIL:function(){return w},EXPORT_MARKER:function(){return O},FUNCTIONS_CONFIG_MANIFEST:function(){return R},IMAGES_MANIFEST:function(){return x},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return et},MIDDLEWARE_BUILD_MANIFEST:function(){return Z},MIDDLEWARE_MANIFEST:function(){return B},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return ee},MODERN_BROWSERSLIST_TARGET:function(){return u.default},NEXT_BUILTIN_DOCUMENT:function(){return V},NEXT_FONT_MANIFEST:function(){return A},PAGES_MANIFEST:function(){return S},PHASE_ANALYZE:function(){return h},PHASE_DEVELOPMENT_SERVER:function(){return v},PHASE_EXPORT:function(){return _},PHASE_INFO:function(){return y},PHASE_PRODUCTION_BUILD:function(){return m},PHASE_PRODUCTION_SERVER:function(){return g},PHASE_TEST:function(){return E},PREFETCH_HINTS:function(){return P},PRERENDER_MANIFEST:function(){return C},REACT_LOADABLE_MANIFEST:function(){return F},REQUEST_INSIGHTS_DEV_ENDPOINT:function(){return U},ROUTES_MANIFEST:function(){return D},RSC_MODULE_TYPES:function(){return eE},SERVER_DIRECTORY:function(){return G},SERVER_FILES_MANIFEST:function(){return L},SERVER_PROPS_ID:function(){return ef},SERVER_REFERENCE_MANIFEST:function(){return Q},STATIC_PROPS_ID:function(){return ep},STATIC_STATUS_PAGES:function(){return em},STRING_LITERAL_DROP_BUNDLE:function(){return X},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return N},SYSTEM_ENTRYPOINTS:function(){return eS},TRACE_OUTPUT_VERSION:function(){return eg},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return j},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return k},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ev},UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return c.UNDERSCORE_GLOBAL_ERROR_ROUTE},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return c.UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY},UNDERSCORE_NOT_FOUND_ROUTE:function(){return c.UNDERSCORE_NOT_FOUND_ROUTE},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return c.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY}};for(var l in s)Object.defineProperty(n,l,{enumerable:!0,get:s[l]});let u=e.r(741705)._(e.r(934221)),c=e.r(232063),d={client:"client",server:"server",edgeServer:"edge-server"},p={[d.client]:0,[d.server]:1,[d.edgeServer]:2};var f=((r={}).PAGES="PAGES",r.PAGES_API="PAGES_API",r.APP_PAGE="APP_PAGE",r.APP_ROUTE="APP_ROUTE",r.PRERENDER="PRERENDER",r.STATIC_FILE="STATIC_FILE",r.MIDDLEWARE="MIDDLEWARE",r);let _="phase-export",h="phase-analyze",m="phase-production-build",g="phase-production-server",v="phase-development-server",E="phase-test",y="phase-info",S="pages-manifest.json",b="app-paths-manifest.json",T="app-path-routes-manifest.json",I="build-manifest.json",R="functions-config-manifest.json",N="subresource-integrity-manifest",A="next-font-manifest",O="export-marker.json",w="export-detail.json",C="prerender-manifest.json",P="prefetch-hints.json",D="routes-manifest.json",x="images-manifest.json",L="required-server-files",M="_devPagesManifest.json",U="/_next/development/request-insights",B="middleware-manifest.json",k="_clientMiddlewareManifest.js",j="client-build-manifest.json",W="_devMiddlewareManifest.json",F="react-loadable-manifest.json",G="server",H=["next.config.js","next.config.mjs","next.config.ts",...(null==(a=o.default)||null==(i=a.features)?void 0:i.typescript)?["next.config.mts"]:[]],q="BUILD_ID",Y=["/_document","/_app","/_error"],z="public",J="static",X="__NEXT_DROP_CLIENT_FILE__",V="__NEXT_BUILTIN_DOCUMENT__",K="__barrel_optimize__",$="client-reference-manifest",Q="server-reference-manifest",Z="middleware-build-manifest",ee="middleware-react-loadable-manifest",et="interception-route-rewrite-manifest",en="dynamic-css-manifest",er="main",ei="".concat(er,"-app"),ea="app-pages-internals",eo="react-refresh",es="webpack",el="polyfills",eu=Symbol(el),ec="webpack-runtime",ed="edge-runtime-webpack",ep="__N_SSG",ef="__N_SSP",e_={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},eh={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},em=["/500"],eg=1,ev=6e3,eE={client:"client",server:"server"},ey=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eS=new Set([er,eo,ei]);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
2dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},818126,(e,t,n)=>{"use strict";var r=e.r(948037);Object.defineProperty(n,"__esModule",{value:!0});var i={PathnameContextProviderAdapter:function(){return m},adaptForAppRouterInstance:function(){return f},adaptForPathParams:function(){return h},adaptForSearchParams:function(){return _}};for(var a in i)Object.defineProperty(n,a,{enumerable:!0,get:i[a]});let o=e.r(952456),s=e.r(391398),l=o._(e.r(191788)),u=e.r(470008),c=e.r(931235),d=e.r(566717),p=e.r(394599);function f(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},hmrRefresh(){},push(t){let{scroll:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.push(t,void 0,{scroll:n})},replace(t){let{scroll:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)},bfcacheId:"0"}}function _(e){return e.isReady&&e.query?(0,d.asPathToSearchParams)(e.asPath):new URLSearchParams}function h(e){if(!e.isReady||!e.query)return null;let t={};for(let n of Object.keys((0,p.getRouteRegex)(e.pathname).groups))t[n]=e.query[n];return t}function m(e){let{children:t,router:n}=e,i=r._(e,["children","router"]),a=(0,l.useRef)(i.isAutoExport),o=(0,l.useMemo)(()=>{let e,t=a.current;if(t&&(a.current=!1),(0,c.isDynamicRoute)(n.pathname)&&(n.isFallback||t&&!n.isReady))return null;try{e=new URL(n.asPath,"http://f")}catch(e){return"/"}return e.pathname},[n.asPath,n.isFallback,n.isReady,n.pathname]);return(0,s.jsx)(u.PathnameContext.Provider,{value:o,children:t})}},14760,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={BailoutToCSRError:function(){return o},isBailoutToCSRError:function(){return s}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a="BAILOUT_TO_CLIENT_SIDE_RENDERING";class o extends Error{constructor(e){super("Bail out to client-side rendering: ".concat(e)),this.reason=e,this.digest=a}}function s(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===a}},665288,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},945290,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(741705),o=e.r(14760),s=a._(e.r(653910)),l=e.r(665288),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,s.default)(e)&&"cause"in e?e.cause:e;(0,o.isBailoutToCSRError)(t)||(0,l.reportGlobalError)(t)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},339651,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a}});let r=e.r(741705)._(e.r(547194));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,n){var r,i;this.name=e,this.attributes=null!=(r=t.attributes)?r:{},this.startTime=null!=(i=t.startTime)?i:Date.now(),this.onSpanEnd=n,this.state={state:"inprogress"}}}let a=new class{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,r.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
2dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},991622,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={HTTPAccessErrorStatus:function(){return a},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return s},getAccessFallbackErrorTypeByStatus:function(){return c},getAccessFallbackHTTPStatus:function(){return u},isHTTPAccessFallbackError:function(){return l}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},o=new Set(Object.values(a)),s="NEXT_HTTP_ERROR_FALLBACK";function l(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n]=e.digest.split(";");return t===s&&o.has(Number(n))}function u(e){return Number(e.digest.split(";")[1])}function c(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},40184,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RedirectStatusCode",{enumerable:!0,get:function(){return i}});var r,i=((r={})[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",r);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},301939,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={REDIRECT_ERROR_CODE:function(){return o},isRedirectError:function(){return s}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(40184),o="NEXT_REDIRECT";function s(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[n,r]=t,i=t.slice(2,-2).join(";"),s=Number(t.at(-2));return n===o&&("replace"===r||"push"===r)&&"string"==typeof i&&!isNaN(s)&&s in a.RedirectStatusCode}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},68934,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isNextRouterError",{enumerable:!0,get:function(){return a}});let r=e.r(991622),i=e.r(301939);function a(e){return(0,i.isRedirectError)(e)||(0,r.isHTTPAccessFallbackError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},566717,(e,t,n)=>{"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},522688,e=>{"use strict";let t,n,r,i,a,o,s,l,u,c,d,p,f,_,h,m;var g=e.i(350461),v=e.i(64022),E=e.i(739178),y=e.i(176557),S=e.i(459369);function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[t],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"npm",i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name="sentry.javascript.".concat(t),i.packages=n.map(e=>({name:"".concat(r,":@sentry/").concat(e),version:S.SDK_VERSION})),i.version=S.SDK_VERSION)}var T=e.i(893769),I=e.i(110304),R=e.i(678559),N=e.i(677569);let A=[];function O(e,t){for(let n of t)(null==n?void 0:n.afterAllSetup)&&n.afterAllSetup(e)}function w(e,t,n){if(n[t.name]){N.DEBUG_BUILD&&E.debug.log("Integration skipped because it was already installed: ".concat(t.name));return}if(n[t.name]=t,A.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),A.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{let r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),N.DEBUG_BUILD&&E.debug.log("Integration installed: ".concat(t.name))}function C(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];(null==n?void 0:n.value)&&(t.push(n.value),n.type&&t.push("".concat(n.type,": ").concat(n.value)))}catch(e){}return t}var P=e.i(938345),D=e.i(882834);let x=[/^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$/],L=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"EventFilters",setup(n){e=U(t,n.getOptions())},processEvent:(n,r,i)=>(e||(e=U(t,i.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!(null==t?void 0:t.length))return!1;let n=e.transaction;return!!n&&(0,D.stringMatchesSomePattern)(n,t)}(e,t.ignoreTransactions))return N.DEBUG_BUILD&&E.debug.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat((0,P.getEventDescription)(e))),!0}else{var n,r,i,a,o;if(n=e,(null==(r=t.ignoreErrors)?void 0:r.length)&&C(n).some(e=>(0,D.stringMatchesSomePattern)(e,r)))return N.DEBUG_BUILD&&E.debug.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat((0,P.getEventDescription)(e))),!0;if((null==(o=(i=e).exception)||null==(a=o.values)?void 0:a.length)&&!i.message&&!i.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return N.DEBUG_BUILD&&E.debug.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: ".concat((0,P.getEventDescription)(e))),!0;if(function(e,t){if(!(null==t?void 0:t.length))return!1;let n=B(e);return!!n&&(0,D.stringMatchesSomePattern)(n,t)}(e,t.denyUrls))return N.DEBUG_BUILD&&E.debug.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat((0,P.getEventDescription)(e),".\nUrl: ").concat(B(e))),!0;if(!function(e,t){if(!(null==t?void 0:t.length))return!0;let n=B(e);return!n||(0,D.stringMatchesSomePattern)(n,t)}(e,t.allowUrls))return N.DEBUG_BUILD&&E.debug.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat((0,P.getEventDescription)(e),".\nUrl: ").concat(B(e))),!0}return!1}(n,e)?n:null)}},M=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,R._)((0,v._)({},L(e)),{name:"InboundFilters"})};function U(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:x],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function B(e){try{var t,n,r;let i=[...null!=(t=null==(n=e.exception)?void 0:n.values)?t:[]].reverse().find(e=>{var t,n,r;return(null==(t=e.mechanism)?void 0:t.parent_id)===void 0&&(null==(r=e.stacktrace)||null==(n=r.frames)?void 0:n.length)}),a=null==i||null==(r=i.stacktrace)?void 0:r.frames;return a?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(a):null}catch(t){return N.DEBUG_BUILD&&E.debug.error("Cannot extract url for event ".concat((0,P.getEventDescription)(e))),null}}var k=e.i(147170);let j=new WeakMap;var W=e.i(407274),F=e.i(827651),G=e.i(763447);function H(e,t){let n=(0,G.getFramesFromEvent)(e),r=(0,G.getFramesFromEvent)(t);
2if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function q(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch(e){return!1}}function Y(e){var t,n;return null==(n=e.exception)||null==(t=n.values)?void 0:t[0]}var z=e.i(558106),J=e.i(787665),X=e.i(114029),V=e.i(595231);e.i(649189);var K=e.i(37739),$=e.i(867024);e.i(909405);var Q=e.i(761286),Z=e.i(534685),ee=e.i(153133),et=e.i(84177),en=e.i(350620);function er(){let e;return"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==g.default?g.default:0))||(null==(e=y.GLOBAL_OBJ.process)?void 0:e.type)==="renderer")}function ei(e,t){var n,r,i,a,o,s;let l,u,c=null!=(n=null!=t?t:(s=e,ea().get(s)))?n:[];if(0===c.length)return;let d=e.getOptions(),p=(r=d._metadata,i=d.tunnel,a=e.getDsn(),o=e.getDataCollectionOptions().userInfo,l={},(null==r?void 0:r.sdk)&&(l.sdk={name:r.sdk.name,version:r.sdk.version}),i&&a&&(l.dsn=(0,et.dsnToString)(a)),(0,en.createEnvelope)(l,[(u=o?"auto":"never",[{type:"log",item_count:c.length,content_type:"application/vnd.sentry.items.log+json"},(0,R._)((0,v._)({version:2},er()&&{ingest_settings:{infer_ip:u,infer_user_agent:u}}),{items:c})])]));ea().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(p)}function ea(){return(0,K.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function eo(e,t){var n,r,i,a,o,s;let l,u,c=null!=(n=null!=t?t:(s=e,es().get(s)))?n:[];if(0===c.length)return;let d=e.getOptions(),p=(r=d._metadata,i=d.tunnel,a=e.getDsn(),o=e.getDataCollectionOptions().userInfo,l={},(null==r?void 0:r.sdk)&&(l.sdk={name:r.sdk.name,version:r.sdk.version}),i&&a&&(l.dsn=(0,et.dsnToString)(a)),(0,en.createEnvelope)(l,[(u=o?"auto":"never",[{type:"trace_metric",item_count:c.length,content_type:"application/vnd.sentry.items.trace-metric+json"},(0,R._)((0,v._)({version:2},er()&&{ingest_settings:{infer_ip:u,infer_user_agent:u}}),{items:c})])]));es().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(p)}function es(){return(0,K.getGlobalSingleton)("clientToMetricBufferMap",()=>new WeakMap)}var el=e.i(959775),eu=e.i(553227),ec=e.i(405943),ed=e.i(414449),ep=e.i(75922);let ef=Symbol.for("SentryBufferFullError");function e_(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return(0,ed.rejectedSyncPromise)(ef);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return(0,ed.resolvedSyncPromise)(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>(0,ep.safeUnref)(setTimeout(()=>t(!1),e)))]):n}}}var eh=e.i(261200),em=e.i(220036),eg=e.i(264293),ev=e.i(601927),eE=e.i(30618),ey=e.i(936271);let eS={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},eb="Not capturing exception because it's already been captured.",eT="Discarded session because of missing or non-string release",eI=Symbol.for("SentryInternalError"),eR=Symbol.for("SentryDoNotSendEventError");function eN(e){return{message:e,[eI]:!0}}function eA(e){return{message:e,[eR]:!0}}function eO(e){return(0,$.isObjectLike)(e)&&eI in e}function ew(e){return(0,$.isObjectLike)(e)&&eR in e}function eC(e,t,n,r,i){let a,o=0,s=!1;e.on(n,()=>{o=0,clearTimeout(a),s=!1}),e.on(t,t=>{if((o+=r(t))>=8e5)i(e);else if(!s){var n;let t=null!=(n=e.getOptions()._flushInterval)?n:5e3;t>0&&(s=!0,a=(0,ep.safeUnref)(setTimeout(()=>{i(e)},t)))}}),e.on("flush",()=>{i(e)})}class eP{captureException(e,t,n){let r=(0,P.uuid4)();if((0,P.checkOrSetAlreadyCaught)(e))return N.DEBUG_BUILD&&E.debug.log(eb),r;let i=(0,v._)({event_id:r},t);return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),"error"),i.event_id}captureMessage(e,t,n,r){let i=(0,v._)({event_id:(0,P.uuid4)()},n),a=(0,$.isParameterizedString)(e)?e:String(e),o=(0,$.isPrimitive)(e),s=o?this.eventFromMessage(
2a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?"unknown":"error"),i.event_id}captureEvent(e,t,n){let r=(0,P.uuid4)();if((null==t?void 0:t.originalException)&&(0,P.checkOrSetAlreadyCaught)(t.originalException))return N.DEBUG_BUILD&&E.debug.log(eb),r;let i=(0,v._)({event_id:r},t),a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,l=eD(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),l),i.event_id}captureSession(e){this.sendSession(e),(0,el.updateSession)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit("flush"),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(e=>{let{name:t}=e;return t.startsWith("Spotlight")}))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),w(this,e,this._integrations),t||O(this,[e])}sendEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.emit("beforeSendEvent",e,t);let n=function(e,t){var n,r,i;if("transaction"!==e.type||!(null==(n=e.spans)?void 0:n.length)||!(null==(r=e.sdkProcessingMetadata)?void 0:r.hasGenAiSpans)||!1===t.getOptions().streamGenAiSpans||(0,ec.hasSpanStreamingEnabled)(t))return;let a=[],o=[];for(let t of e.spans)(null==(i=t.op)?void 0:i.startsWith("gen_ai."))?a.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:(0,v._)({},e.data),links:e.links};return(0,F.streamedSpanJsonToSerializedSpan)(t)}(t)):o.push(t);if(0===a.length)return;e.spans=o;let s=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:a.length,content_type:"application/vnd.sentry.items.span.v2+json"},(0,R._)((0,v._)({version:2},er()&&{ingest_settings:{infer_ip:s,infer_user_agent:s}}),{items:a})]}(e,this),r=(0,V.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,en.addItemToEnvelope)(r,(0,en.createAttachmentEnvelopeItem)(e));n&&(r=(0,en.addItemToEnvelope)(r,n)),this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:n=X.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let r=e.attrs||{};if(!r.release&&!t){N.DEBUG_BUILD&&E.debug.warn(eT);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){N.DEBUG_BUILD&&E.debug.warn(eT);return}e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);let r=(0,V.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(this._options.sendClientReports){let r="".concat(e,":").concat(t);N.DEBUG_BUILD&&E.debug.log('Recording outcome: "'.concat(r,'"').concat(n>1?" (".concat(n," times)"):"")),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t(...n)};return n.add(r),()=>{n.delete(r)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let i=this._hooks[e];i&&i.forEach(e=>e(...n))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return N.DEBUG_BUILD&&E.debug.error("Error while sending envelope:",e),{}}return N.DEBUG_BUILD&&E.debug.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){var e;let t,{integrations:n}=this._options;this._integrations=(e=this,t={}
2,n.forEach(t=>{(null==t?void 0:t.beforeSetup)&&t.beforeSetup(e)}),n.forEach(n=>{n&&w(e,n,t)}),t),O(this,n)}_updateSessionFromEvent(e,t){var n,r;let i="fatal"===t.level,a=!1,o=null==(n=t.exception)?void 0:n.values;if(o){for(let e of(a=!0,i=!1,o))if((null==(r=e.mechanism)?void 0:r.handled)===!1){i=!0;break}}let s="ok"===e.status;(s&&0===e.errors||s&&i)&&((0,el.updateSession)(e,(0,R._)((0,v._)({},i&&{status:"crashed"}),{errors:e.errors||Number(a||i)})),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,ev.prepareEvent)(i,e,t,n,this,r).then(e=>{var r;if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts=(0,v._)({trace:(0,v._)({},null==(r=e.contexts)?void 0:r.trace,(0,I.getTraceContextFromScope)(n))},e.contexts);let i=(0,ee.getDynamicSamplingContextFromScope)(this,n);return e.sdkProcessingMetadata=(0,v._)({dynamicSamplingContext:i},e.sdkProcessingMetadata),e})}_captureEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,I.getCurrentScope)(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,I.getIsolationScope)();return N.DEBUG_BUILD&&ex(e)&&E.debug.log("Captured error event `".concat(C(e)[0]||"<unknown>","`")),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{N.DEBUG_BUILD&&(ew(e)?E.debug.log(e.message):eO(e)?E.debug.warn(e.message):E.debug.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=eL(e),s=ex(e),l=e.type||"error",u="before send for type `".concat(l,"`"),c=void 0===a?void 0:(0,eg.parseSampleRate)(a);if(s&&"number"==typeof c&&(0,eh.safeMathRandom)()>c)return this.recordDroppedEvent("sample_rate","error"),(0,ed.rejectedSyncPromise)(eA("Discarding event because it's not included in the random sample (sampling rate = ".concat(a,")")));let d=eD(e.type);return this._prepareEvent(e,t,n,r).then(e=>{var n;if(null===e)throw this.recordDroppedEvent("event_processor",d),eA("An event processor returned `null`, will not send event.");return(null==(n=t.data)?void 0:n.__sentry__)===!0?e:function(e,t){let n="".concat(t," must return `null` or a valid event.");if((0,$.isThenable)(e))return e.then(e=>{if(!(0,$.isPlainObject)(e)&&null!==e)throw eN(n);return e},e=>{throw eN("".concat(t," rejected with ").concat(e))});if(!(0,$.isPlainObject)(e)&&null!==e)throw eN(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!(0,eu.isStreamedBeforeSendSpanCallback)(t.beforeSendSpan)&&t.beforeSendSpan,l=n;if(ex(l)&&i)return i(l,r);if(eL(l)){if(s||o){let t=function(e){var t,n,r;let{trace_id:i,parent_span_id:a,span_id:o,status:s,origin:l,data:u,op:c}=null!=(t=null==(r=e.contexts)?void 0:r.trace)?t:{};return{data:null!=u?u:{},description:e.transaction,op:c,parent_span_id:a,span_id:null!=o?o:"",start_timestamp:null!=(n=e.start_timestamp)?n:0,status:s,timestamp:e.timestamp,trace_id:null!=i?i:"",origin:l,profile_id:null==u?void 0:u[W.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:null==u?void 0:u[W.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}(l);if((null==o?void 0:o.length)&&(0,eE.shouldIgnoreSpan)({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);if(e)l=(0,em.merge)(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:(0,v._)({},e.data,e.profile_id&&{[W.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},e.exclusive_time&&{[W.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time})}},measurements:e.measurements});else(0,F.showSpanDropWarning)()}if(l.spans){let t=[],n=l.spans;for(let e of n){if((null==o?void 0:o.length)&&(0,eE.shouldIgnoreSpan)({description:e.description,op:e.op,attributes:e.data},o)){(0,eE.reparentChildSpans)(n,e);continue}if(s){let n=s(e);n?t.push(n):((0,F.showSpanDropWarning)(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(a){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata=(0,R._)((0,v._)({},n.sdkProcessingMetadata),{spanCountBeforeProcessing:e})}return a(l,r)}}return l}(this,i,e,t),u)}).then(i=>
2{if(null===i){if(this.recordDroppedEvent("before_send",d),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw eA("".concat(u," returned `null`, will not send event."))}let a=n.getSession()||r.getSession();if(s&&a&&this._updateSessionFromEvent(a,i),o){var l;let e=((null==(l=i.sdkProcessingMetadata)?void 0:l.spanCountBeforeProcessing)||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let c=i.transaction_info;return o&&c&&i.transaction!==e.transaction&&(i.transaction_info=(0,R._)((0,v._)({},c),{source:"custom"})),this.sendEvent(i,t),i}).then(null,e=>{if(ew(e)||eO(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.\nReason: ".concat(e))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===ef&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(e=>{let[t,n]=e,[r,i]=t.split(":");return{reason:r,category:i,quantity:n}})}_flushOutcomes(){var e;let t;N.DEBUG_BUILD&&E.debug.log("Flushing outcomes...");let n=this._clearOutcomes();if(0===n.length){N.DEBUG_BUILD&&E.debug.log("No outcomes to send");return}if(!this._dsn){N.DEBUG_BUILD&&E.debug.log("No dsn provided, will not send outcomes");return}N.DEBUG_BUILD&&E.debug.log("Sending outcomes:",n);let r=(e=this._options.tunnel&&(0,et.dsnToString)(this._dsn),t=[{type:"client_report"},{timestamp:(0,Z.dateTimestampInSeconds)(),discarded_events:n}],(0,en.createEnvelope)(e?{dsn:e}:{},[t]));this.sendEnvelope(r)}constructor(e){var t,n,r,i,a,o,s;if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=e_(null!=(t=null==(a=e.transportOptions)?void 0:a.bufferSize)?t:64),this._dataCollection=function(e){var t,n,r,i,a,o,s,l,u,c,d,p,f,_,h,m,g,v,E,y,S;let b=null!=e.dataCollection?eS:(0,ey.defaultPiiToCollectionOptions)(e.sendDefaultPii),T=null!=(t=e.dataCollection)?t:{};return{userInfo:null!=(n=T.userInfo)?n:b.userInfo,cookies:null!=(r=T.cookies)?r:b.cookies,httpHeaders:{request:null!=(i=null==(m=T.httpHeaders)?void 0:m.request)?i:b.httpHeaders.request,response:null!=(a=null==(g=T.httpHeaders)?void 0:g.response)?a:b.httpHeaders.response},httpBodies:null!=(o=T.httpBodies)?o:b.httpBodies,urlQueryParams:null!=(s=null!=(l=T.urlQueryParams)?l:T.queryParams)?s:b.urlQueryParams,graphQL:{document:null!=(u=null==(v=T.graphQL)?void 0:v.document)?u:b.graphQL.document,variables:null!=(c=null==(E=T.graphQL)?void 0:E.variables)?c:b.graphQL.variables},genAI:{inputs:null!=(d=null==(y=T.genAI)?void 0:y.inputs)?d:b.genAI.inputs,outputs:null!=(p=null==(S=T.genAI)?void 0:S.outputs)?p:b.genAI.outputs},databaseQueryData:null!=(f=T.databaseQueryData)?f:b.databaseQueryData,stackFrameVariables:null!=(_=T.stackFrameVariables)?_:b.stackFrame
2Variables,frameContextLines:null!=(h=T.frameContextLines)?h:b.frameContextLines}}(e),e.dsn?this._dsn=(0,et.makeDsn)(e.dsn):N.DEBUG_BUILD&&E.debug.warn("No DSN provided, client will not send events."),this._dsn){const t=(0,J.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport((0,R._)((0,v._)({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},e.transportOptions),{url:t}))}this._options.enableLogs=null!=(n=this._options.enableLogs)?n:null==(o=this._options._experiments)?void 0:o.enableLogs,this._options.enableLogs&&eC(this,"afterCaptureLog","flushLogs",eU,ei),(null==(r=null!=(i=this._options.enableMetrics)?i:null==(s=this._options._experiments)?void 0:s.enableMetrics)||r)&&eC(this,"afterCaptureMetric","flushMetrics",eM,eo)}}function eD(e){return"replay_event"===e?"replay":e||"error"}function ex(e){return void 0===e.type}function eL(e){return"transaction"===e.type}function eM(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+eB(e.attributes)}function eU(e){let t=0;return e.message&&(t+=2*e.message.length),t+eB(e.attributes)}function eB(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*ek(e[0]):(0,$.isPrimitive)(e)?t+=ek(e):t+=100}),t}function ek(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function ej(e){if("aggregates"in e){var t;(null==(t=e.attrs)?void 0:t.ip_address)===void 0&&(e.attrs=(0,R._)((0,v._)({},e.attrs),{ip_address:"{{auto}}"}))}else void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function eW(e){return(0,$.isError)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?"".concat(e.message," (").concat(e.__sentry_fetch_url_host__,")"):e.message}function eF(e,t){var n,r;let i,a,o=eH(e,t),s={type:!(i=null==(n=t)?void 0:n.name)&&eY(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":i,value:(a=null==(r=t)?void 0:r.message,eY(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":a?a.error&&"string"==typeof a.error.message?eW(a.error):eW(r):"No error message")};return o.length&&(s.stacktrace={frames:o}),void 0===s.type&&""===s.value&&(s.value="Unrecoverable error caught"),s}function eG(e,t){return{exception:{values:[eF(e,t)]}}}function eH(e,t){var n,r;let i=t.stacktrace||t.stack||"",a=(n=t)&&eq.test(n.message)?1:0,o="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,a,o)}catch(e){}return[]}let eq=/Minified React error #\d+;/i;function eY(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function ez(e,t,n,r,i){let a;if((0,$.isErrorEvent)(t)&&t.error)return eG(e,t.error);if((0,$.isDOMError)(t)||(0,$.isDOMException)(t)){if("stack"in t){var o,s;let i=null==(s=(a=eG(e,t)).exception)||null==(o=s.values)?void 0:o[0];if(r&&n&&i&&!i.stacktrace){let t=eH(e,n);t.length&&(i.stacktrace={frames:t},(0,P.addExceptionMechanism)(a,{synthetic:!0}))}}else{let i=t.name||((0,$.isDOMError)(t)?"DOMError":"DOMException"),o=t.message?"".concat(i,": ").concat(t.message):i;a=eJ(e,o,n,r),(0,P.addExceptionTypeValue)(a,o)}return"code"in t&&(a.tags=(0,R._)((0,v._)({},a.tags),{"DOMException.code":"".concat(t.code)})),a}return(0,$.isError)(t)?eG(e,t):((0,$.isPlainObject)(t)||(0,$.isEvent)(t)?a=function(e,t,n,r){let i=(0,I.getClient)(),a=null==i?void 0:i.getOptions().normalizeDepth,o=Object.values(t).find(e=>e instanceof Error),s={__serialized__:(0,z.normalizeToSize)(t,a)};if(o)return{exception:{values:[eF(e,o)]},extra:s};let l={exception:{values:[{type:(0,$.isEvent)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,t){let{isUnhandledRejection:n}=t,r=(0,k.extractExceptionKeysForMessage)(e),i=n?"promise rejection":"exception";if((0,$.isErrorEvent)(e))return"Event `ErrorEvent` captured as ".concat(i," with message `").concat(e.message,"`");if((0,$.isEvent)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return"Event `".concat(t,"` (type=").concat(e.type,") captured as ").concat(i)}return"Object captured as ".concat(i," with keys: ").concat(r)}(t,{isUnhandledRejection:r})}]},extra:s};if(n){let t=eH(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,i):(a=eJ(e,t,n,r),(0,P.addExceptionTypeValue)(a,"".concat(t),void 0)),(0,P.addExceptionMechanism)(a,{synthetic:!0}),a)}function eJ(e,t,n,r){let i={};if(r&&n){let r=eH(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,P.addExceptionMechanism)(i,{synthetic:!0})}
2if((0,$.isParameterizedString)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}var eX=e.i(788423);class eV extends eP{eventFromException(e,t){var n,r;let i;return n=this._options.stackParser,r=this._options.attachStacktrace,i=ez(n,e,(null==t?void 0:t.syntheticException)||void 0,r),(0,P.addExceptionMechanism)(i),i.level="error",(null==t?void 0:t.event_id)&&(i.event_id=t.event_id),(0,ed.resolvedSyncPromise)(i)}eventFromMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=eJ(e,t,(null==r?void 0:r.syntheticException)||void 0,i);return a.level=n,(null==r?void 0:r.event_id)&&(a.event_id=r.event_id),(0,ed.resolvedSyncPromise)(a)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}constructor(e){var t;const n=function(e){var t;return(0,v._)({release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:null==(t=eX.WINDOW.SENTRY_RELEASE)?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0},e)}(e);b(n,"browser",["browser"],eX.WINDOW.SENTRY_SDK_SOURCE||"npm"),super(n);const{userInfo:r}=this.getDataCollectionOptions();(null==(t=n._metadata)?void 0:t.sdk)&&(n._metadata.sdk.settings=(0,v._)({infer_ip:r?"auto":"never"},n._metadata.sdk.settings));const{sendClientReports:i}=this._options;eX.WINDOW.document&&eX.WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===eX.WINDOW.document.visibilityState&&(i&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),r&&this.on("beforeSendSession",ej)}}let eK={},e$={};function eQ(e,t){return eK[e]=eK[e]||[],eK[e].push(t),()=>{let n=eK[e];if(n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function eZ(e,t){if(!e$[e]){e$[e]=!0;try{t()}catch(t){N.DEBUG_BUILD&&E.debug.error("Error while instrumenting ".concat(e),t)}}}function e0(e,t){let n=e&&eK[e];if(n)for(let r of n)try{r(t)}catch(t){N.DEBUG_BUILD&&E.debug.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat((0,G.getFunctionName)(r),"\nError:"),t)}}let e1=new Set([]),e2=new Set;function e3(){"console"in y.GLOBAL_OBJ&&E.CONSOLE_LEVELS.forEach(function(e){!e2.has(e)&&e in y.GLOBAL_OBJ.console&&(e2.add(e),(0,k.fill)(y.GLOBAL_OBJ.console,e,function(t){return E.originalConsoleMethods[e]=t,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=n[0],a=E.originalConsoleMethods[e],o=e1.size&&"string"==typeof i&&(0,D.stringMatchesSomePattern)(i,e1);o||e0("console",{args:n,level:e}),(!o||N.DEBUG_BUILD&&E.debug.isEnabled())&&(null==a||a.apply(y.GLOBAL_OBJ.console,n))}}))})}let e4=y.GLOBAL_OBJ;function e8(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function e5(e,t){let n="fetch",r=eQ(n,e);return eZ(n,()=>e6(void 0,t)),r}function e6(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in e4))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch(e){return!1}}())return!1;if(e8(e4.fetch))return!0;let e=!1,t=e4.document;if(t&&"function"==typeof t.createElement)try{var n;let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(null==(n=r.contentWindow)?void 0:n.fetch)&&(e=e8(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){N.DEBUG_BUILD&&E.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,k.fill)(y.GLOBAL_OBJ,"fetch",function(t){return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];let a=Error(),{method:o,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:tt(t),method:te(n,"method")?String(n.method).toUpperCase():(0,$.isRequest)(t)&&te(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:tt(t),method:te(t,"method")?String(t.method).toUpperCase():"GET"}}(r),l={args:r,fetchData:{method:o,url:s},startTimestamp:1e3*(0,Z.timestampInSeconds)(),virtualError:a,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,$.isRequest)(t))return new Headers(t.headers)}catch(e){}}(r)};return e||e0("fetch",(0,v._)({},l)),t.apply(y.GLOBAL_OBJ,r).then(async t=>(e?e(t):e0("fetch",(0,R._)((0,v._)({},l),{endTimestamp:1e3*(0,Z.timestampInSeconds)(),response:t})),t),e=>{var t;e0("fetch",(0,R._)((0,v._)({},l),{endTimestamp:1e3*(0,Z.timestampInSeconds)(),error:e})),(0,$.isError)(e)&&void 0===e.stack&&(e.stack=a.stack,(0,k.addNonEnumerableProperty)(e,"framesToPop",1));let n=(0,I.getClient)(),r=null!=(t=null==n?void 0:n.getOptions().enhanceFetchErrorMessages)?t:"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(l.fetchData.url).host;"always"===r?e.message="".concat(e.message," (").concat(t,")"):(0,k.addNonEnumerableProperty)(e,"__sentry_fetch_url_host__",t)}catch(e){}throw e})}})}async function e9(e,t){if(null==e?void 0:e.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch(e){a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function e7(e){let t;try{t=e.clone()}catch(e){return}e9(t,()=>{e0("fetch-body-resolved",{endTimestamp:1e3*(0,Z.timestampInSeconds)(),response:e})})}function te(e,t){return(0,$.isObjectLike)(e)&&!!e[t]}function tt(e){return"string"==typeof e?e:e?te(e,"url")?e.url:e.toString?e.toString():"":""}function tn(e,t){let n=(0,I.getClient)(),r=(0,I.getIsolationScope)();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=100}=n.getOptions();if(a<=0)return;let o=(0,Z.dateTimestampInSeconds)(),s=(0,v._)({timestamp:o},e),l=i?(0,E.consoleSandbox)(()=>i(s,t)):s;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,a))}var tr=e.i(987206);function ti(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}let ta="http.url",to="sentry.segment.name",ts="sentry.transaction",tl="url.full",tu="url.path",tc="url.template";function td(e){return"isRelative"in e}function tp(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=null!=t?t:n?"thismessage:/":void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch(e){}}function tf(e){if(td(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function t_(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function th(e){return e.split(/[?#]/,1)[0]}function tm(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",i=e.includes(";base64,"),a=e.indexOf(","),o="";if(t&&-1!==a){let t=e.slice(a+1);o=t.length>10?"".concat(t.slice(0,10),"... [truncated]"):t}return"data:".concat(r).concat(i?",base64":"").concat(o?",".concat(o):"")}return e}let tg="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tv="10.69.0",tE=globalThis;function ty(){return tS(tE),tE}function tS(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||tv,t[tv]=t[tv]||{}}function tb(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tE,r=n.__SENTRY__=n.__SENTRY__||{},i=r[tv]=r[tv]||{};return i[e]||(i[e]=t())}let tT={};function tI(e){if(!("console"in tE))return e();let t=tE.console,n={},r=Object.keys(tT);
2r.forEach(e=>{let r=tT[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function tR(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];tg&&function(){return tg?tb("loggerSettings",()=>({enabled:!1})):{enabled:!1}}().enabled&&tI(()=>{tE.console[e]("".concat("Sentry Logger ","[").concat(e,"]:"),...n)})}let tN=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];tR("log",...t)},tA=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];tR("warn",...t)},tO=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];tR("error",...t)},tw="<anonymous>";function tC(e){try{if(!e||"function"!=typeof e)return tw;return e.name||tw}catch(e){return tw}}let tP={},tD={};function tx(e,t){return tP[e]=tP[e]||[],tP[e].push(t),()=>{let n=tP[e];if(n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function tL(e,t){if(!tD[e]){tD[e]=!0;try{t()}catch(t){tg&&tO("Error while instrumenting ".concat(e),t)}}}function tM(e,t){let n=e&&tP[e];if(n)for(let r of n)try{r(t)}catch(t){tg&&tO("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(tC(r),"\nError:"),t)}}let tU=Object.prototype.toString;function tB(e,t){return tU.call(e)==="[object ".concat(t,"]")}function tk(e){return tB(e,"String")}function tj(e){return null===e||"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e||"object"!=typeof e&&"function"!=typeof e}function tW(e,t,n){if(!(t in e))return;let r=e[t];if("function"!=typeof r)return;let i=n(r);"function"==typeof i&&function(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,tF(e,"__sentry_original__",t)}catch(e){}}(i,r);try{e[t]=i}catch(n){tg&&tN('Failed to replace method "'.concat(t,'" in object'),e)}}function tF(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){tg&&tN('Failed to add non-enumerable property "'.concat(String(t),'" to object'),e)}}function tG(e){if(void 0!==t)return t?t(e):e();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in tE&&"function"==typeof tE[n]?(t=tE[n])(e):(t=null,e())}function tH(){return tG(()=>Math.random())}function tq(){return tG(()=>Date.now())}function tY(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!tk(e)&&(tB(t,"RegExp")?t.test(e):tk(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function tz(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tE.crypto||tE.msCrypto;try{if(null==e?void 0:e.randomUUID)return tG(()=>e.randomUUID()).replace(/-/g,"")}catch(e){}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&16*tH())>>e/4).toString(16))}function tJ(){if(!tE.document)return;let e=tM.bind(null,"dom"),t=tX(e,!0);tE.document.addEventListener("click",t,!1),tE.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{var n,r;let i=null==(n=tE[t])?void 0:n.prototype;(null==i||null==(r=i.hasOwnProperty)?void 0:r.call(i,"addEventListener"))&&(tW(i,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=tX(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(e){}return t.call(this,n,r,i)}}),tW(i,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function tX(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{var o;if(!n||n._sentryCaptured)return;let s=function(e){try{return e.target}catch(e){return null}}(n);if(o=n.type,"keypress"===o&&(null==s||!s.tagName||"INPUT"!==s.tagName&&"TEXTAREA"!==s.tagName&&!s.isContentEditable&&1))return;tF(n,"_sentryCaptured",!0),s&&!s._sentryId&&tF(s,"_sentryId",tz());let l="keypress"===n.type?"input":n.type;!function(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==a)return!1}catch(e){}return!0}(n)&&(e({event:n,name:l,global:t}),i=n.type,a=s?s._sentryId:void 0),clearTimeout(r),r=tE.setTimeout(()=>{a=void 0,i=void 0},1e3)}}function tV(){return tq()/1e3}function tK(){return(null!=o?o:o=function(){let{performance:e}=tE;if(!(null==e?void 0:e.now)||!e.timeOrigin)return tV;let t=e.timeOrigin;return()=>(t+tG(()=>e.now()))/1e3}())()}
2let t$=null;function tQ(){return null===t$&&(t$=function(){var e;let{performance:t}=tE;if(!(null==t?void 0:t.now))return;let n=tG(()=>t.now()),r=tq(),i=t.timeOrigin;if("number"==typeof i&&3e5>Math.abs(i+n-r))return i;let a=null==(e=t.timing)?void 0:e.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+n-r)?a:r-n}()),t$}let tZ="__sentry_xhr_v3__";function t0(e){tx("xhr",e),tL("xhr",t1)}function t1(){if(!tE.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*tK(),a=tk(n[0])?n[0].toUpperCase():void 0,o=function(e){if(tk(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!a||!o)return e.apply(t,n);t[tZ]={method:a,url:o,request_headers:{}},"POST"===a&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[tZ];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}tM("xhr",{endTimestamp:1e3*tK(),startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener("readystatechange",s)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[tZ];return a&&tk(r)&&tk(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[tZ];return r&&(void 0!==n[0]&&(r.body=n[0]),tM("xhr",{startTimestamp:1e3*tK(),xhr:t})),e.apply(t,n)}})}function t2(e){let t="history";tx(t,e),tL(t,t3)}function t3(){function e(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=n.length>2?n[2]:void 0;if(i){let t=s,r=function(e){try{return new URL(e,tE.location.origin).toString()}catch(t){return e}}(String(i));if(s=r,t===r)return e.apply(this,n);tM("history",{from:t,to:r})}return e.apply(this,n)}}tE.addEventListener("popstate",()=>{let e=tE.location.href,t=s;s=e,t===e||tM("history",{from:t,to:e})}),"history"in tE&&tE.history&&(tW(tE.history,"pushState",e),tW(tE.history,"replaceState",e))}let t4={};try{"u">typeof Node&&(t4.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"u">typeof Element&&(t4.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,t4.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,t4.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,t4.getAttribute=Element.prototype.getAttribute),"u">typeof HTMLElement&&(t4.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch(e){}function t8(e,t,n){let r=t4[t];if(r)try{return r.call(e,n)}catch(e){}let i=e[t];return"function"==typeof i?i.call(e,n):i}function t5(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"<unknown>";try{let n,r=e,i=[],a=0,o=0,s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&a++<5&&(n=function(e,t){let n=[],r=t8(e,"tagName");if(!r)return"";if("u">typeof HTMLElement&&e instanceof HTMLElement){let t=t8(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=(null==t?void 0:t.length)?t.filter(t=>t8(e,"getAttribute",t)).map(t=>[t,t8(e,"getAttribute",t)]):null;if(null==i?void 0:i.length)i.forEach(e=>{n.push("[".concat(e[0],'="').concat(e[1],'"]'))});else{let t=t8(e,"id");t&&n.push("#".concat(t));let r=t8(e,"className");if(r&&tk(r))for(let e of r.split(/\s+/))n.push(".".concat(e))}for(let t of["aria-label","type","name","title","alt"]){let r=t8(e,"getAttribute",t);r&&n.push("[".concat(t,'="').concat(r,'"]'))}return n.join("")}(r,s),"html"!==n&&(!(a>1)||!(o+3*i.length+n.length>=l)));)i.push(n),o+=n.length,r=t8(r,"parentNode");return i.reverse().join(" > ")}catch(e){return"<unknown>"}}var t6=e.i(329622);let t9=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,v._)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e);return{name:"Breadcrumbs",setup(e){var n,r,i,a,o,s,l;let u;t.console&&(n=e,eQ(u="console",function(e){var t;if((0,I.getClient)()!==n)return;let r={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,D.safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else r.message="Assertion failed: ".concat((0,D.safeJoin)(e.args.slice(1)," ")||"console.assert"),r.data.arguments=e.args.slice(1);tn(r,{input:e.args,level:e.level})}),eZ(u,e3)),t.dom&&(tx("dom",(r=e,i=t.dom,function(e){let t,n;if((0,I.getClient)()!==r)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&&(t6.DEBUG_BUILD&&E.debug.warn("`dom.maxStringLength` cannot exceed ".concat(1024,", but a value of ").concat(o," was configured. Sentry will use ").concat(1024," instead.")),o=1024),"string"==typeof a&&(a=[a]
2);try{var s;let r=e.event,i=(s=r)&&s.target?r.target:r;t=t5(i,{keyAttrs:a,maxStringLength:o}),n=(0,tr.getComponentName)(i)}catch(e){t="<unknown>"}if(0===t.length)return;let l={category:"ui.".concat(e.name),message:t};n&&(l.data={"ui.component_name":n}),tn(l,{event:e.event,name:e.name,global:e.global})})),tL("dom",tJ)),t.xhr&&t0((a=e,function(e){if((0,I.getClient)()!==a)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[tZ];if(!t||!n||!r)return;let{method:i,url:o,status_code:s,body:l}=r,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n},c={category:"xhr",data:{method:i,url:o,status_code:s},type:"http",level:ti(s)};a.emit("beforeOutgoingRequestBreadcrumb",c,u),tn(c,u)})),t.fetch&&e5((o=e,function(e){if((0,I.getClient)()!==o)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},i={category:"fetch",data:e.fetchData,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",i,r),tn(i,r)}else{let r=e.response,i=(0,R._)((0,v._)({},e.fetchData),{status_code:null==r?void 0:r.status}),a={input:e.args,response:r,startTimestamp:t,endTimestamp:n},s={category:"fetch",data:i,type:"http",level:ti(i.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",s,a),tn(s,a)}})),t.history&&t2((s=e,function(e){if((0,I.getClient)()!==s)return;let t=e.from,n=e.to,r=t_(eX.WINDOW.location.href),i=t?t_(t):void 0,a=t_(n);(null==i?void 0:i.path)||(i=r),r.protocol===a.protocol&&r.host===a.host&&(n=a.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),tn({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){(0,I.getClient)()===l&&tn({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,P.getEventDescription)(e)},{event:e})}))}}},t7="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(","),ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,v._)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1},e);return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,k.fill)(eX.WINDOW,"setTimeout",nt),t.setInterval&&(0,k.fill)(eX.WINDOW,"setInterval",nt),t.requestAnimationFrame&&(0,k.fill)(eX.WINDOW,"requestAnimationFrame",nn),t.XMLHttpRequest&&"XMLHttpRequest"in eX.WINDOW&&(0,k.fill)(XMLHttpRequest.prototype,"send",nr);let e=t.eventTarget;e&&(Array.isArray(e)?e:t7).forEach(e=>{var n,r,i,a;let o;return n=e,r=t,void((null==(o=null==(i=eX.WINDOW[n])?void 0:i.prototype)||null==(a=o.hasOwnProperty)?void 0:a.call(o,"addEventListener"))&&((0,k.fill)(o,"addEventListener",function(e){return function(t,i,a){var o,s,l,u;try{o=i,"function"==typeof o.handleEvent&&(i.handleEvent=(0,eX.wrap)(i.handleEvent,{mechanism:{data:{handler:(0,G.getFunctionName)(i),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch(e){}return r.unregisterOriginalCallbacks&&(s=this,l=t,u=i,s&&"object"==typeof s&&"removeEventListener"in s&&"function"==typeof s.removeEventListener&&s.removeEventListener(l,u)),e.apply(this,[t,(0,eX.wrap)(i,{mechanism:{data:{handler:(0,G.getFunctionName)(i),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,k.fill)(o,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch(e){}return e.call(this,t,n,r)}})))})}}};function nt(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=n[0];return n[0]=(0,eX.wrap)(i,{mechanism:{handled:!1,type:"auto.browser.browserapierrors.".concat((0,G.getFunctionName)(e))}}),e.apply(this,n)}}function nn(e){return function(t){return e.apply(this,[(0,eX.wrap)(t,{mechanism:{data:{handler:(0,G.getFunctionName)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function nr(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e
2=>{e in i&&"function"==typeof i[e]&&(0,k.fill)(i,e,function(t){let n={mechanism:{data:{handler:(0,G.getFunctionName)(t)},handled:!1,type:"auto.browser.browserapierrors.xhr.".concat(e)}},r=(0,k.getOriginalFunction)(t);return r&&(n.mechanism.data.handler=(0,G.getFunctionName)(r)),(0,eX.wrap)(t,n)})}),e.apply(this,n)}}function ni(e,t,n){tE.document&&tE.addEventListener(e,t,n)}function na(e,t,n){tE.document&&tE.removeEventListener(e,t,n)}let no=e=>{let t=!1;return()=>{t||(e(),t=!0)}},ns=e=>{var t;let n=tE.requestIdleCallback||tE.setTimeout;(null==(t=tE.document)?void 0:t.visibilityState)==="hidden"?e():(ni("visibilitychange",e=no(e),{once:!0,capture:!0}),ni("pagehide",e,{once:!0,capture:!0}),n(()=>{e(),na("visibilitychange",e,{capture:!0}),na("pagehide",e,{capture:!0})}))},nl=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!=(e=t.lifecycle)?e:"route";return{name:"BrowserSession",setupOnce(){if(void 0===eX.WINDOW.document){t6.DEBUG_BUILD&&E.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,T.startSession)({ignoreDuration:!0});let e=!1;ns(()=>{e||((0,T.captureSession)(),e=!0)});let t=(0,I.getIsolationScope)(),r=t.getUser();t.addScopeListener(t=>{let n=t.getUser();((null==r?void 0:r.id)!==(null==n?void 0:n.id)||(null==r?void 0:r.ip_address)!==(null==n?void 0:n.ip_address))&&(r=n,e&&(0,T.captureSession)())}),"route"===n&&t2(t=>{let{from:n,to:r}=t;n!==r&&((0,T.startSession)({ignoreDuration:!0}),(0,T.captureSession)(),e=!0)})}}};var nu=e.i(644479);function nc(e,t){var n;let r=null!=(n=e.attributes)?n:e.attributes={};Object.entries(t).forEach(e=>{let[t,n]=e;null==n||t in r||(r[t]=n)})}function nd(){try{let e=eX.WINDOW.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch(e){return}}let np=null;function nf(e){let t="error";eQ(t,e),eZ(t,n_)}function n_(){np=y.GLOBAL_OBJ.onerror,y.GLOBAL_OBJ.onerror=function(e,t,n,r,i){return e0("error",{column:r,error:i,line:n,msg:e,url:t}),!!np&&np.apply(this,arguments)},y.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}let nh=null;function nm(e){let t="unhandledrejection";eQ(t,e),eZ(t,ng)}function ng(){nh=y.GLOBAL_OBJ.onunhandledrejection,y.GLOBAL_OBJ.onunhandledrejection=function(e){return e0("unhandledrejection",e),!nh||nh.apply(this,arguments)},y.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let nv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,v._)({onerror:!0,onunhandledrejection:!0},e);return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var n,r;t.onerror&&(n=e,nf(e=>{let{stackParser:t,attachStacktrace:r}=ny();if((0,I.getClient)()!==n||(0,eX.shouldIgnoreOnError)())return;let{msg:i,url:a,line:o,column:s,error:l}=e,u=function(e,t,n,r){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||[];if(0===l.length){var u;l.push({colno:r,lineno:n,filename:null!=(u=function(e){if((0,$.isString)(e)&&0!==e.length)return e.startsWith("data:")?"<".concat(tm(e,!1),">"):e}(t))?u:(0,tr.getLocationHref)(),function:G.UNKNOWN_FUNCTION,in_app:!0})}return e}(ez(t,l||i,void 0,r,!1),a,o,s);u.level="error",(0,T.captureEvent)(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),nE("onerror")),t.onunhandledrejection&&(r=e,nm(e=>{var t;let{stackParser:n,attachStacktrace:i}=ny();if((0,I.getClient)()!==r||(0,eX.shouldIgnoreOnError)())return;let a=function(e){if((0,$.isPrimitive)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(e),o=(0,$.isPrimitive)(a)?(t=a,{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(t))}]}}):ez(n,a,void 0,i,!0);o.level="error",(0,T.captureEvent)(o,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),nE("onunhandledrejection"))}}};function nE(e){t6.DEBUG_BUILD&&E.debug.log("Global Handler attached: ".concat(e))}function ny(){let e=(0,I.getClient)();return(null==e?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function nS(e){return Array.isArray(e.errors)}function nb(e,t,n){e.mechanism=(0,R._)((0,v._)({handled:!0,type:"auto.core.linked_errors"},nS(n)&&{is_exception_group:!0}
2,e.mechanism),{exception_id:t})}function nT(e,t,n,r){e.mechanism=(0,R._)((0,v._)({handled:!0},e.mechanism),{type:"chained",source:t,exception_id:n,parent_id:r})}let nI=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){!function(e,t,n,r,i,a){var o;if(!(null==(o=i.exception)?void 0:o.values)||!a||!(0,$.isInstanceOf)(a.originalException,Error))return;let s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=function e(t,n,r,i,a,o,s,l){if(o.length>=r+1)return o;let u=[...o];if((0,$.isInstanceOf)(i[a],Error)){nb(s,l,i);let o=t(n,i[a]),c=u.length;nT(o,a,c,l),u=e(t,n,r,i[a],a,[o,...u],o,c)}return nS(i)&&i.errors.forEach((o,c)=>{if((0,$.isInstanceOf)(o,Error)){nb(s,l,i);let d=t(n,o),p=u.length;nT(d,"errors[".concat(c,"]"),p,l),u=e(t,n,r,o,a,[d,...u],d,p)}}),u}(e,t,r,a.originalException,n,i.exception.values,s,0))}(eF,i.getOptions().stackParser,n,t,e,r)}}};function nR(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?G.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let nN=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,nA=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nO=/\((\S*)(?::(\d+))(?::(\d+))\)/,nw=/at (.+?) ?\(data:(.+?),/,nC=[30,e=>{let t=e.match(nw);if(t)return{filename:"<data:".concat(t[2],">"),function:t[1]};let n=nN.exec(e);if(n){let[,e,t,r]=n;return nR(e,G.UNKNOWN_FUNCTION,+t,+r)}let r=nA.exec(e);if(r){var i;if((null==(i=r[2])?void 0:i.indexOf("eval"))===0){let e=nO.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=nM(r[1]||G.UNKNOWN_FUNCTION,r[2]);return nR(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],nP=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nD=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nx=[50,e=>{let t=nP.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=nD.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||G.UNKNOWN_FUNCTION;return[n,e]=nM(n,e),nR(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],nL=(0,G.createStackParser)(nC,nx),nM=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:G.UNKNOWN_FUNCTION,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]},nU="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nB={};function nk(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var t;let n=nB[e];if(n)return n;let r=tE[e];if((t=r)&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString()))return nB[e]=r.bind(tE);let i=tE.document;if(i&&"function"==typeof i.createElement)try{let t=i.createElement("iframe");t.hidden=!0,i.head.appendChild(t);let n=t.contentWindow;(null==n?void 0:n[e])&&(r=n[e]),i.head.removeChild(t)}catch(t){nU&&tA("Could not create sandbox iframe for ".concat(e," check, bailing to window.").concat(e,": "),t)}return r?nB[e]=r.bind(tE):r}("fetch"),n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o=(0,v._)({body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15},e.fetchOptions);try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(e){throw nB.fetch=void 0,e}finally{n-=a,r--}}return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e_(e.bufferSize||64),r={};return{send:function(i){let a=[];if((0,en.forEachEnvelopeItem)(i,(t,n)=>{let i=(0,en.envelopeItemTypeToDataCategory)(n);!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,eh.safeDateNow)();return(e[t]||e.all||0)>n}(r,i)?a.push(t):e.recordDroppedEvent("ratelimit_backoff",i)}),0===a.length)return Promise.resolve({});let o=(0,en.createEnvelope)(i[0],a),s=t=>{if((0,en.envelopeContainsItemType)(o,["client_report"])){N.DEBUG_BUILD&&E.debug.warn("Dropping client report. Will not send outcomes (reason: ".concat(t,")."));return}
2(0,en.forEachEnvelopeItem)(o,(n,r)=>{e.recordDroppedEvent(t,(0,en.envelopeItemTypeToDataCategory)(r))})};return n.add(()=>t({body:(0,en.serializeEnvelope)(o)}).then(e=>(413===e.statusCode?(N.DEBUG_BUILD&&E.debug.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(N.DEBUG_BUILD&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&E.debug.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),r=function(e,t){let{statusCode:n,headers:r}=t,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,eh.safeDateNow)(),a=(0,v._)({},e),o=null==r?void 0:r["x-sentry-rate-limits"],s=null==r?void 0:r["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n,,,r]=e.split(":",5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!r||r.split(";").includes("custom"))&&(a[e]=i+s):a[e]=i+s;else a.all=i+s}else s?a.all=i+function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,eh.safeDateNow)(),n=parseInt("".concat(e),10);if(!isNaN(n))return 1e3*n;let r=Date.parse("".concat(e));return isNaN(r)?6e4:r-t}(s,i):429===n&&(a.all=i+6e4);return a}(r,e)),e),e=>{throw s("network_error"),N.DEBUG_BUILD&&E.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===ef)return N.DEBUG_BUILD&&E.debug.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}(e,i,e_(e.bufferSize||40))}let nj=/^HTML(\w*)Element$/;function nW(e){if("u">typeof window&&e===window)return"[Window]";if("u">typeof document&&e===document)return"[Document]";if(function(e){if("u"<typeof Element)return!1;try{return e instanceof Element}catch(e){return!1}}(e)){let t,n=(null==(t=Object.getPrototypeOf(e))?void 0:t.constructor)?t.constructor.name:"null prototype";if(nj.test(n))return"[HTMLElement: ".concat(t5(e),"]")}}function nF(e){let t;return[M(),{name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(){let t;for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];let a=(0,k.getOriginalFunction)(this);try{j.has((0,I.getClient)())&&void 0!==a&&(t=a)}catch(e){}return e.apply(null!=t?t:this,r)}}catch(e){}},setup(e){j.set(e,!0)}},{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=(0,I.getCurrentScope)().getScopeData(),n=(0,I.getIsolationScope)().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=(0,F.spanToJSON)(e);if(!(null==t?void 0:t.startsWith("gen_ai."))&&!n["ai.operationId"]&&!(null==i?void 0:i.startsWith("ai.")))return;e.setAttribute(W.GEN_AI_CONVERSATION_ID_ATTRIBUTE,r)}})}},ne(),t9(),nv(),nI(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var n,r,i,a,o,s;let l,u,c,d;if(n=e,(r=t)&&(i=n,a=r,l=i.message,u=a.message,(l||u)&&(!l||u)&&(l||!u)&&l===u&&q(i,a)&&H(i,a)&&1||(o=n,s=r,c=Y(s),d=Y(o),c&&d&&c.type===d.type&&c.value===d.value&&q(o,s)&&H(o,s))))return N.DEBUG_BUILD&&E.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return t=e}},{name:"HttpContext",preprocessEvent(e){var t;if(!eX.WINDOW.navigator&&!eX.WINDOW.location&&!eX.WINDOW.document)return;let n=(0,eX.getHttpRequestData)(),r=(0,v._)({},n.headers,null==(t=e.request)?void 0:t.headers);e.request=(0,R._)((0,v._)({},n,e.request),{headers:r})},processSegmentSpan(e){var t;let n=null==(t=e.attributes)?void 0:t[W.SEMANTIC_ATTRIBUTE_SENTRY_OP];if(!eX.WINDOW.navigator&&!eX.WINDOW.location&&!eX.WINDOW.document)return;let r=(0,eX.getHttpRequestData)();nc(e,{[tl]:"http.client"!==n?r.url:void 0,"http.request.header.user_agent":r.headers["User-Agent"],"http.request.header.referer":r.headers.Referer})}},{name:"CultureContext",preprocessEvent(e){let t=nd();if(t){var n;e.contexts=(0,R._)((0,v._)({},e.contexts),{culture:(0,v._)({},t,null==(n=e.contexts)?void 0:n.culture)})}},processSegmentSpan(e){let t=nd();t&&nc(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}},nl()]}var nG=e.i(191788);
2function nH(e){return(0,$.isPlainObject)(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":nW(e)}var nq=e.i(321231),nY=e.i(389361),nz=e.i(273162),nJ=e.i(6916),nX=e.i(357194),nV=e.i(515848);let nK={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function n$(e){var t;let n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=new Map,o=!1,s="externalFinish",l=!i.disableAutoFinish,u=[],{idleTimeout:c=nK.idleTimeout,finalTimeout:d=nK.finalTimeout,childSpanTimeout:p=nK.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:_=!0}=i,h=(0,I.getClient)(),m=(0,I.getCurrentScope)();if(!h||!(0,nY.hasSpansEnabled)()){let e=new nz.SentryNonRecordingSpan({traceId:m.getPropagationContext().traceId});return(0,nu.setCapturedScopesOnSpan)(e,m,(0,I.getIsolationScope)()),e}let g=(0,F.getActiveSpan)(),v=(t=e,n=(0,nV.startInactiveSpan)(t),(0,Q._setSpanForScope)((0,I.getCurrentScope)(),n),N.DEBUG_BUILD&&E.debug.log("[Tracing] Started span is an idle span"),n);function y(){r&&(clearTimeout(r),r=void 0)}function S(e){y(),r=setTimeout(()=>{!o&&0===a.size&&l&&(s="idleTimeout",v.end(e))},c)}function b(e){r=setTimeout(()=>{!o&&l&&(s="heartbeatFailed",v.end(e))},p)}function T(e){o=!0,a.clear(),u.forEach(e=>e()),(0,Q._setSpanForScope)(m,g);let t=(0,F.spanToJSON)(v),{start_timestamp:n}=t;if(!n)return;t.data[W.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||v.setAttribute(W.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,s);let r=t.status;r&&"unknown"!==r||v.setStatus({code:nX.SPAN_STATUS_OK}),E.debug.log('[Tracing] Idle span "'.concat(t.op,'" finished'));let i=(0,F.getSpanDescendants)(v).filter(e=>e!==v),l=0;i.forEach(t=>{t.isRecording()&&(t.setStatus({code:nX.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),N.DEBUG_BUILD&&E.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,F.spanToJSON)(t),i=r<=e,a=n-r<=(d+c)/1e3;if(N.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);i?a||E.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):E.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!a||!i)&&((0,F.removeChildSpanFromSpan)(v,t),l++)}),l>0&&v.setAttribute("sentry.idle_span_discarded_spans",l)}return v.end=new Proxy(v.end,{apply(e,t,n){if(f&&f(v),(0,nz.spanIsNonRecordingSpan)(t))return;let[r,...i]=n,a=r||(0,Z.timestampInSeconds)(),o=(0,F.spanTimeInputToSeconds)(a),s=(0,F.getSpanDescendants)(v).filter(e=>e!==v),l=(0,F.spanToJSON)(v);if(!s.length||!_)return T(o),Reflect.apply(e,t,[o,...i]);let u=h.getOptions().ignoreSpans,c=null==s?void 0:s.reduce((e,t)=>{let n=(0,F.spanToJSON)(t);return!n.timestamp||u&&(0,eE.shouldIgnoreSpan)({description:n.description,op:n.op,attributes:n.data},u)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),p=l.start_timestamp,m=Math.min(p?p+d/1e3:1/0,Math.max(p||-1/0,Math.min(o,c||1/0)));return T(m),Reflect.apply(e,t,[m,...i])}}),u.push(h.on("spanStart",e=>{var t;!(o||e===v||(0,F.spanToJSON)(e).timestamp||e instanceof nJ.SentrySpan&&e.isStandaloneSpan())&&(0,F.getSpanDescendants)(v).includes(e)&&(t=e.spanContext().spanId,y(),a.set(t,!0),b((0,Z.timestampInSeconds)()+p/1e3))})),u.push(h.on("spanEnd",e=>{if(!o){var t;t=e.spanContext().spanId,a.has(t)&&a.delete(t),0===a.size&&S((0,Z.timestampInSeconds)()+c/1e3)}})),u.push(h.on("idleSpanEnableAutoFinish",e=>{e===v&&(l=!0,S(),a.size&&b())})),i.disableAutoFinish||S(),setTimeout(()=>{o||(v.setStatus({code:nX.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),s="finalTimeout",v.end())},d),v}let nQ=!1;var nZ=e.i(353801),n0=e.i(98822),n1=e.i(234554);function n2(){return tz().substring(16)}function n3(e){try{let t=tE.WeakRef;if("function"==typeof t)return new t(e)}catch(e){}return e}function n4(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch(e){return}return e}}let n8="_sentrySpan";function n5(e,t){t?tF(e,n8,n3(t)):delete e[n8]}class n6{clone(){let e=new n6;return e._breadcrumbs=[...this._breadcrumbs],e._tags=(0,v._)({},this._tags),e._attributes=(0,v._)({},this._attributes),e._extra=(0,v._)({},this._extra),e._contexts=(0,v._)({},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=(0,v._)({},this._sdkProcessingMetadata),e._propagationContext=(0,v._)({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,n5(e,n4(this[n8])),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&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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||tK(),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:tz()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(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)}(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=(0,v._)({},this._tags,e),this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes=(0,v._)({},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=(0,v._)({},this._extra,e),this._notifyScopeListeners(),this}setExtra(e,t){return this._extra=(0,R._)((0,v._)({},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:n,attributes:r,extra:i,user:a,contexts:o,level:s,fingerprint:l=[],propagationContext:u,conversationId:c}=(t instanceof n6?t.getScopeData():tB(t,"Object")?e:void 0)||{};return this._tags=(0,v._)({},this._tags,n),this._attributes=(0,v._)({},this._attributes,r),this._extra=(0,v._)({},this._extra,i),this._contexts=(0,v._)({},this._contexts,o),a&&Object.keys(a).length&&(this._user=a),s&&(this._level=s),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),c&&(this._conversationId=c),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,n5(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tz(),sampleRand:tH()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r=(0,R._)((0,v._)({timestamp:tV()},e),{message:e.message?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof e||0===t||e.length<=t?e:"".concat(e.slice(0,t),"...")}(e.message,2048):e.message});if(this._breadcrumbs.push(r),this._breadcrumbs.length>n){var i;this._breadcrumbs=this._breadcrumbs.slice(-n),null==(i=this._client)||i.recordDroppedEvent("buffer_overflow","log_item")}return 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:n4(this[n8]),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=function e(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(!n||"object"!=typeof n||r<=0)return n;if(t&&0===Object.keys(n).length)return t;let i=(0,v._)({},t);for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(i[t]=e(i[t],n[t],r-1));return i}(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=(null==t?void 0:t.event_id)||tz();if(!this._client)return tg&&tA("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,(0,R._)((0,v._)({originalException:e,syntheticException:r},t),{event_id:n}),this),n}captureMessage(e,t,n){var r;let i=(null==n?void 0:n.event_id)||tz();if(!this._client)return tg&&tA("No client configured on scope - will not capture message!"),i;let a=null!=(r=null==n?void 0:n.syntheticException)?r:Error(e);return this._client.captureMessage(e,t,(0,R._)((0,v._)({originalException:e,syntheticException:a},n),{event_id:i}),this),i}
2captureEvent(e,t){let n=e.event_id||(null==t?void 0:t.event_id)||tz();return this._client?this._client.captureEvent(e,(0,R._)((0,v._)({},t),{event_id:n}),this):tg&&tA("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}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:tz(),sampleRand:tH()}}}let n9=e=>e instanceof Promise&&!e[n7],n7=Symbol("chained PromiseLike");class re{withScope(e){var t,n,r,i;let a,o=this._pushScope();try{a=e(o)}catch(e){throw this._popScope(),e}if((null==(t=a)?void 0:t.then)&&"function"==typeof t.then){let e;return n=a,r=()=>this._popScope(),i=()=>this._popScope(),n9(e=n.then(e=>(r(),e),e=>{throw i(),e}))&&n9(n)?e:((e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];"function"==typeof i?Object.defineProperty(t,r,{value:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return i.apply(e,n)},enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[n7]:!0}),t})(n,e)}return this._popScope(),a}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()}constructor(e,t){let n,r;n=e||new n6,r=t||new n6,this._stack=[{scope:n}],this._isolationScope=r}}function rt(){let e=tS(ty());return e.stack=e.stack||new re(tb("defaultCurrentScope",()=>new n6),tb("defaultIsolationScope",()=>new n6))}function rn(e){return rt().withScope(e)}function rr(e,t){let n=rt();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function ri(e){return rt().withScope(()=>e(rt().getIsolationScope()))}function ra(e){let t=tS(e);return t.acs?t.acs:{withIsolationScope:ri,withScope:rn,withSetScope:rr,withSetIsolationScope:(e,t)=>ri(t),getCurrentScope:()=>rt().getScope(),getIsolationScope:()=>rt().getIsolationScope()}}function ro(){return ra(ty()).getCurrentScope()}function rs(){return ra(ty()).getIsolationScope()}function rl(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=ra(ty());if(2===t.length){let[e,n]=t;return e?r.withSetScope(e,n):r.withScope(n)}return r.withScope(t[0])}function ru(){return ro().getClient()}let rc="sentry.source",rd="sentry.sample_rate",rp="sentry.op",rf="sentry.origin",r_="sentry.measurement_unit",rh="sentry.measurement_value",rm="sentry.custom_span_name",rg="sentry.exclusive_time",rv="_sentryScope",rE="_sentryIsolationScope",ry=Symbol.for("sentry.otelSourceInference"),rS=Symbol.for("sentry.otelSourceExplicitlySet"),rb=Symbol.for("sentry.tracerProviderSpan");function rT(e,t,n){e&&(tF(e,rE,n3(n)),tF(e,rv,t))}function rI(e){return{scope:e[rv],isolationScope:n4(e[rE])}}let rR="sentry-";function rN(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(e){return}})}).reduce((e,t)=>{let[n,r]=t;return n&&r&&(e[n]=r),e},{})}let rA=/^o(\d+)\./;function rO(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}RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");let rw=!1;function rC(e){return e&&e.length>0?e.map(e=>{let{context:t}=e,{spanId:n,traceId:r,traceFlags:i}=t,a=(0,n1._)(t,["spanId","traceId","traceFlags"]),{attributes:o}=e;return(0,v._)({span_id:n,trace_id:r,sampled:1===i,attributes:o},a)}):void 0}function rP(e){return(null==e?void 0:e.length)?e.map(e=>{let{context:{spanId:t,traceId:n,traceFlags:r},attributes:i}=e;return{span_id:t,trace_id:n,sampled:1===r,attributes:i}}):void 0}function rD(e){return"number"==typeof e?rx(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?rx(e.getTime()):tK()}function rx(e){return e>0x2540be3ff?e/1e3:e}function rL(e){if(rk(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(rB(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:l}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:rU(e),start_timestamp:rD(i),timestamp:rD(o)||void 0,status:rW(s),op:r[rp],origin:r[rf],links:rC(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function rM(e){if(rk(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(rB(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:l}=e;return{name:a,span_id:t,trace_id:n,parent_span_id:rU(e),start_timestamp:rD(i),end_timestamp:rD(o),is_segment:e===rJ(e),status:rF(s),attributes:rG(r,s),links:rP(l)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===rJ(e)}}function rU(e){var t;return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?null==(t=e.parentSpanContext)?void 0:t.spanId:void 0}function rB(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function rk(e){return"function"==typeof e.getSpanJSON}function rj(e){let{traceFlags:t}=e.spanContext();return 1===t}function rW(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}function rF(e){return e&&1!==e.code&&0!==e.code&&"cancelled"!==e.message?"error":"ok"}function rG(e,t){let n="error"===rF(t)?null==t?void 0:t.message:void 0;return(0,v._)({},n&&{"sentry.status.message":n},e)}let rH="_sentryChildSpans",rq="_sentryRootSpan";function rY(e,t){let n=e[rq]||e;tF(t,rq,n),e[rH]?e[rH].add(t):tF(e,rH,new Set([t]))}let rz=rJ;function rJ(e){return e[rq]||e}function rX(){let e=ra(ty());return e.getActiveSpan?e.getActiveSpan():n4(ro()[n8])}
2function rV(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rX(),i=r&&rz(r);i&&(tg&&tN("[Measurement] Setting measurement on root span: ".concat(e," = ").concat(t," ").concat(n)),i.addEvent(e,{[rh]:t,[r_]:n}))}function rK(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[r_],i=n[rh];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})}),t}let r$=(e,t,n,r)=>{let i,a;return o=>{if(t.value>=0&&(o||r)&&((a=t.value-(null!=i?i:0))||void 0===i)){var s;i=t.value,t.delta=a,s=t.value,t.rating=s>n[1]?"poor":s>n[0]?"needs-improvement":"good",e(t)}}},rQ=function(){var e,t;let n=!(arguments.length>0)||void 0===arguments[0]||arguments[0],r=null==(t=tE.performance)||null==(e=t.getEntriesByType)?void 0:e.call(t,"navigation")[0];if(!n||r&&r.responseStart>0&&r.responseStart<performance.now())return r},rZ=()=>{var e;let t=rQ();return null!=(e=null==t?void 0:t.activationStart)?e:0},r0=-1,r1=new Set,r2=e=>{var t;if(("pagehide"===e.type||(null==(t=tE.document)?void 0:t.visibilityState)==="hidden")&&r0>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of r1)e();isFinite(r0)||(r0="visibilitychange"===e.type?e.timeStamp:0,na("prerenderingchange",r2,!0))}},r3=()=>{if(tE.document&&r0<0){var e,t,n;let r=rZ(),i=tE.document.prerendering||null==(e=globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>r)[0])?void 0:e.startTime;r0=null!=i?i:(null==(t=tE.document)?void 0:t.visibilityState)!=="hidden"||(null==(n=tE.document)?void 0:n.prerendering)?1/0:0,ni("visibilitychange",r2,!0),ni("pagehide",r2,!0),ni("prerenderingchange",r2,!0)}return{get firstHiddenTime(){return r0},onHidden(e){r1.add(e)}}},r4=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=rQ(),r="navigate";if(n){var i,a;(null==(i=tE.document)?void 0:i.prerendering)||rZ()>0?r="prerender":(null==(a=tE.document)?void 0:a.wasDiscarded)?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))}return{name:e,value:t,rating:"good",delta:0,entries:[],id:"v5-".concat(Date.now(),"-").concat(Math.floor(Math.random()*(9e12-1))+1e12),navigationType:r}},r8=new WeakMap;function r5(e,t){try{return r8.get(e)||r8.set(e,new t),r8.get(e)}catch(e){return new t}}class r6{_processEntry(e){var t;if(e.hadRecentInput)return;let n=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&r&&e.startTime-r.startTime<1e3&&e.startTime-n.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),null==(t=this._onAfterProcessingUnexpectedShift)||t.call(this,e)}constructor(){this._sessionValue=0,this._sessionEntries=[]}}let r9=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe((0,v._)({type:e,buffered:!0},n)),r}}catch(e){}},r7=e=>{var t;(null==(t=tE.document)?void 0:t.prerendering)?addEventListener("prerenderingchange",()=>e(),!0):e()},ie=[1800,3e3],it=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r7(()=>{let n,r=r3(),i=r4("FCP"),a=r9("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-rZ(),0),i.entries.push(t),n(!0)))});a&&(n=r$(e,i,ie,t.reportAllChanges))})},ir=[.1,.25],ii=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};it(no(()=>{let n,r=r4("CLS",0),i=r3(),a=r5(t,r6),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>r.value&&(r.value=a._sessionValue,r.entries=a._sessionEntries,n())},s=r9("layout-shift",o);if(s){var l;n=r$(e,r,ir,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),n(!0)}),null==tE||null==(l=tE.setTimeout)||l.call(tE,n)}}))},ia=0,io=1/0,is=0,il=e=>{e.forEach(e=>{e.interactionId&&(io=Math.min(io,e.interactionId),ia=(is=Math.max(is,e.interactionId))?(is-io)/7+1:0)})},iu=()=>l?ia:performance.interactionCount||0,ic=0;class id{_resetInteractions(){ic=iu(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((iu()-ic)/50));return this._longestInteractionList[e]}_processEntry(e){var t,n;
2if(null==(t=this._onBeforeProcessingEntry)||t.call(this,e),!(e.interactionId||"first-input"===e.entryType))return;let r=this._longestInteractionList.at(-1),i=this._longestInteractionMap.get(e.interactionId);if(i||this._longestInteractionList.length<10||e.duration>r._latency){if(i?e.duration>i._latency?(i.entries=[e],i._latency=e.duration):e.duration===i._latency&&e.startTime===i.entries[0].startTime&&i.entries.push(e):(i={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(i.id,i),this._longestInteractionList.push(i)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);null==(n=this._onAfterProcessingINPCandidate)||n.call(this,i)}}constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}}let ip=[200,500],i_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let n=r3();r7(()=>{var r;let i;"interactionCount"in performance||l||(l=r9("event",il,{type:"event",buffered:!0,durationThreshold:0}));let a=r4("INP"),o=r5(t,id),s=e=>{ns(()=>{for(let t of e)o._processEntry(t);let t=o._estimateP98LongestInteraction();t&&t._latency!==a.value&&(a.value=t._latency,a.entries=t.entries,i())})},u=r9("event",s,{durationThreshold:null!=(r=t.durationThreshold)?r:40});i=r$(e,a,ip,t.reportAllChanges),u&&(u.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{s(u.takeRecords()),i(!0)}))})};class ih{_processEntry(e){var t;null==(t=this._onBeforeProcessingEntry)||t.call(this,e)}}let im=[2500,4e3],ig=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r7(()=>{let n,r=r3(),i=r4("LCP"),a=r5(t,ih),o=e=>{for(let o of(t.reportAllChanges||(e=e.slice(-1)),e))a._processEntry(o),o.startTime<r.firstHiddenTime&&(i.value=Math.max(o.startTime-rZ(),0),i.entries=[o],n())},s=r9("largest-contentful-paint",o);if(s){n=r$(e,i,im,t.reportAllChanges);let r=no(()=>{o(s.takeRecords()),s.disconnect(),n(!0)}),a=e=>{e.isTrusted&&(ns(r),na(e.type,a,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])ni(e,a,{capture:!0})}})},iv=[800,1800],iE=e=>{var t,n;(null==(t=tE.document)?void 0:t.prerendering)?r7(()=>iE(e)):(null==(n=tE.document)?void 0:n.readyState)!=="complete"?addEventListener("load",()=>iE(e),!0):setTimeout(e)},iy=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r4("TTFB"),r=r$(e,n,iv,t.reportAllChanges);iE(()=>{let e=rQ();e&&(n.value=Math.max(e.responseStart-rZ(),0),n.entries=[e],r(!0))})},iS={},ib={};function iT(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return iD("cls",e,iO,u,t)}function iI(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return iD("lcp",e,iw,c,t)}function iR(e){return iD("inp",e,iP,p)}function iN(e,t){var n;let r;return ix(e,t),ib[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),r9(n,e=>{iA(n,{entries:e})},r),ib[e]=!0),iL(e,t)}function iA(e,t){let n=iS[e];if(null==n?void 0:n.length)for(let r of n)try{r(t)}catch(t){nU&&tO("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(tC(r),"\nError:"),t)}}function iO(){return ii(e=>{iA("cls",{metric:e}),u=e},{reportAllChanges:!0})}function iw(){return ig(e=>{iA("lcp",{metric:e}),c=e},{reportAllChanges:!0})}function iC(){return iy(e=>{iA("ttfb",{metric:e}),d=e})}function iP(){return i_(e=>{iA("inp",{metric:e}),p=e})}function iD(e,t,n,r){let i,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return ix(e,t),ib[e]||(i=n(),ib[e]=!0),r&&t({metric:r}),iL(e,t,a?i:void 0)}function ix(e,t){iS[e]=iS[e]||[],iS[e].push(t)}function iL(e,t,n){return()=>{n&&n();let r=iS[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}var iM=e.i(528161);function iU(e){var t;if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let n=e||(null==(t=ru())?void 0:t.getOptions());return!!n&&(null!=n.tracesSampleRate||!!n.tracesSampler)}function iB(e){tN("Ignoring span ".concat(e.op," - ").concat(e.description," because it matches `ignoreSpans`."))}function ik(e,t){if(!(null==t?void 0:t.length))return!1;for(let r of t){var n;
2if("string"==typeof(n=r)||n instanceof RegExp){if(e.description&&tY(e.description,r))return tg&&iB(e),!0;continue}let t=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!t)continue;let i=!r.name||e.description&&tY(e.description,r.name),a=!r.op||e.op&&tY(e.op,r.op),o=!r.attributes||Object.entries(r.attributes).every(t=>{var n;let[r,i]=t;return function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?tY(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}(null==(n=e.attributes)?void 0:n[r],i)});if(i&&a&&o)return tg&&iB(e),!0}return!1}function ij(e){return"stream"===e.getOptions().traceLifecycle}let iW=Symbol.for("sentry.nonRecordingSpan");class iF{spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}constructor(e={}){this._traceId=e.traceId||tz(),this._spanId=e.spanId||n2(),this.dropReason=e.dropReason,tF(this,iW,!0)}}function iG(e){return!!e&&!0===e[iW]}let iH="_frozenDsc";function iq(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||"production",release:n.release,public_key:r,trace_id:e,org_id:function(e){let t,n=e.getOptions(),{host:r}=e.getDsn()||{};if(n.orgId)t=String(n.orgId);else{let e;r&&(t=null==(e=r.match(rA))?void 0:e[1])}return t}(t)};return t.emit("createDsc",i),i}function iY(e){var t,n,r,i,a;let o=ru();if(!o)return{};let s=rz(e),l=rL(s),u=l.data,c=s.spanContext().traceState,d=null!=(t=null!=(n=null==c?void 0:c.get("sentry.sample_rate"))?n:u[rd])?t:u["sentry.previous_trace_sample_rate"];function p(e){return("number"==typeof d||"string"==typeof d)&&(e.sample_rate="".concat(d)),e}let f=s[iH];if(f)return p(f);let _=iG(s),h=_&&"ignored"===s.dropReason;if(_&&(!iU(o.getOptions())||h)){let e=rI(s).scope;if(e){let t,n=(0,v._)({},(t=e.getPropagationContext()).dsc||iq(t.traceId,o));return h&&(n.sampled="false"),p(n)}}let m=null==c?void 0:c.get("sentry.dsc"),g=m&&function(e){let t=function(e){if(e&&(tk(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(rN(t)).forEach(t=>{let[n,r]=t;e[n]=r}),e),{}):rN(e)}(e);if(!t)return;let n=Object.entries(t).reduce((e,t)=>{let[n,r]=t;return n.startsWith(rR)&&(e[n.slice(rR.length)]=r),e},{});return Object.keys(n).length>0?n:void 0}(m);if(g)return p(g);let E=iq(e.spanContext().traceId,o),y=null!=(r=u[rc])?r:u["sentry.segment.name.source"],S=l.description;return"url"!==y&&S&&(E.transaction=S),iU()&&(E.sampled=String(rj(s)),E.sample_rand=null!=(i=null==c?void 0:c.get("sentry.sample_rand"))?i:null==(a=rI(s).scope)?void 0:a.getPropagationContext().sampleRand.toString()),p(E),o.emit("createDsc",E,s),E}function iz(){return tS(ty()).segmentSpanCaptureStrategy}class iJ{addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return this._frozen?this:(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===rc&&void 0!==t&&!0===this[ry]&&tF(this,rS,!0),this)}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=rD(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen?this:(this._name=e,!0!==this[ry]&&this.setAttribute(rc,"custom"),this)}end(e){if(this._endTime){this._frozen=!0===this[rb];return}this._endTime=rD(e),function(e){if(!tg)return;let{description:t="< unknown name >",op:n="< unknown op >"}=rL(e),{spanId:r}=e.spanContext(),i=rz(e)===e;tN('[Tracing] Finishing "'.concat(n,'" ').concat(i?"root ":"",'span "').concat(t,'" with ID ').concat(r))}(this),this._onSpanEnded(),this._frozen=!0===this[rb]}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[rp],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:rW(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[rf],profile_id:this._attributes["sentry.profile_id"],exclusive_time:this._attributes[rg],measurements:rK(this._events),is_segment:this._isStandaloneSpan&&rz(this)===this||void 0,segment_id:this._isStandaloneSpan?rz(this).spanContext().spanId:void 0,links:rC(this._links)}}getStreamedSpanJSON(){var e,t;return{name:null!=(e=this._name)?e:"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:null!=(t=this._endTime)?t:this._startTime,is_segment:this._isStandaloneSpan||this===rz(this),status:rF(this._status),attributes:rG(this._attributes,this._status),links:rP(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;tg&&tN("[Tracing] Adding an event to span:",e);let r=iX(t)?t:n||tK(),i=iX(t)?{}:t||{},a={name:e,time:rD(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=ru();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));let t=rz(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=ru();if(!t)return;let n=e[1];n&&0!==n.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(function(e,t){let n=iY(e[0]),r=null==t?void 0:t.getDsn(),i=null==t?void 0:t.getOptions().tunnel,a=(0,v._)({sent_at:new Date(tq()).toISOString()},!!n.trace_id&&!!n.public_key&&{trace:n},!!i&&r&&{dsn:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:l}=e;return"".concat(s,"://").concat(l).concat(t&&i?":".concat(i):"","@").concat(n).concat(a?":".concat(a):"","/").concat(r?"".concat(r,"/"):r).concat(o)}(r)}),{beforeSendSpan:o,ignoreSpans:s}=(null==t?void 0:t.getOptions())||{},l=(null==s?void 0:s.length)?e.filter(e=>{let t=rL(e);return!ik({description:t.description,op:t.op,attributes:t.data},s)}):e,u=e.length-l.length;u&&(null==t||t.recordDroppedEvent("before_send","span",u));let c=o?e=>{let t=rL(e),n=o&&"function"==typeof o&&"_streamed"in o&&o._streamed?t:o(t);return n||(rw||(tI(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),rw=!0),t)}:rL,d=[];for(let e of l){let t=c(e);t&&d.push([{type:"span"},t])}return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[e,t]}(a,d)}([this],e)):(tg&&tN("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(!n){let e=iz();if(e){let n=rI(this).scope||ro();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&ij(e))return void e.emit("afterSegmentSpanEnd",this);let r=rI(this).scope||ro(),i=iz();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(){var e,t,n,r,i;let a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!iV(rL(this)))return;this._name||(tg&&tA("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:s,isolationScope:l}=rI(this),u=null==s||null==(e=s.getScopeData().sdkProcessingMetadata)?void 0:e.normalizedRequest;if(!0!==this._sampled)return;null==(t=o.onSpanCaptured)||t.call(o,this);let c=[];for(let e of(a=new Set,!function e(t){if(!a.has(t)&&rj(t))for(let n of(a.add(t),t[rH]?Array.from(t[rH]):[]))e(n)}(this),Array.from(a))){if(e===this||(i=e)instanceof iJ&&i.isStandaloneSpan()||(null==(n=o.isSpanAlreadyCaptured)?void 0:n.call(o,e)))continue;let t=rL(e);iV(t)&&(null==(r=o.onSpanCaptured)||r.call(o,e),c.push(t))}let d=this._attributes[rc];delete this._attributes[rm];let p=!1;
2c.forEach(e=>{var t;delete e.data[rm],(null==(t=e.op)?void 0:t.startsWith("gen_ai."))&&(p=!0)});let f=(0,v._)({contexts:{trace:function(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:l}=rL(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:l}}(this)},spans:c.length>1e3?c.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):c,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:s,capturedSpanIsolationScope:l,dynamicSamplingContext:iY(this),hasGenAiSpans:p},request:u},d&&{transaction_info:{source:d}}),_=rK(this._events);return _&&Object.keys(_).length&&(tg&&tN("[Measurements] Adding measurements to transaction event",JSON.stringify(_,void 0,2)),f.measurements=_),f}constructor(e={}){this._traceId=e.traceId||tz(),this._spanId=e.spanId||n2(),this._startTime=e.startTimestamp||tK(),this._links=e.links,this._attributes={},this.setAttributes((0,v._)({[rf]:"manual",[rp]:e.op},e.attributes)),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}}function iX(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function iV(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function iK(e){let t=ra(ty());return t.startInactiveSpan?t.startInactiveSpan(e):function(e){let t=function(e){let t=e.experimental||{},n=(0,v._)({isStandalone:t.standalone},e);if(e.startTime){let t=(0,v._)({},n);return t.startTimestamp=rD(e.startTime),delete t.startTime,t}return n}(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>rl(e.scope,t):void 0!==r?e=>i$(r,e):e=>e())(()=>{var i,a;let o,s=ro(),l=function(e,t){if(t)return t;if(null===t)return;let n=n4(e[n8]);if(!n)return;let r=ru();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?rz(n):n}(s,r),u=ru();return e.onlyIfParent&&!l?(i=s,null==(a=u)||a.recordDroppedEvent("no_parent_span","span"),rT(o=new iF({traceId:i.getPropagationContext().traceId}),i,rs()),o):function(e){var t,n,r,i;let a,o,{parentSpan:s,spanArguments:l,forceTransaction:u,scope:c}=e,d=rs();if(!iU()){let e=(0,v._)({},d.getPropagationContext(),c.getPropagationContext()),t=new iF({traceId:s?s.spanContext().traceId:e.traceId});return s&&!u&&rY(s,t),rT(t,c,d),t}let p=ru();if(n=p,r=l,a=null==n?void 0:n.getOptions().ignoreSpans,n&&ij(n)&&(null==a?void 0:a.length)&&ik({description:r.name||"",op:(null==(i=r.attributes)?void 0:i[rp])||r.op,attributes:r.attributes},a)){iQ(c)||null==p||p.recordDroppedEvent("ignored","span");let e=new iF({dropReason:"ignored",traceId:null!=(t=null==s?void 0:s.spanContext().traceId)?t:c.getPropagationContext().traceId});return s&&!u&&rY(s,e),rT(e,c,d),e}if(s&&!u)o=function(e,t,n,r){let{spanId:i,traceId:a}=e.spanContext(),o=iQ(t),s=!o&&rj(e),l=s?new iJ((0,R._)((0,v._)({},n),{parentSpanId:i,traceId:a,sampled:s})):new iF({traceId:a});rY(e,l),rT(l,t,r);let u=ru();return u&&(ij(u)&&iG(l)&&(iG(e)&&e.dropReason?(l.dropReason=e.dropReason,u.recordDroppedEvent(e.dropReason,"span")):o||(l.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",l),n.endTimestamp&&(u.emit("spanEnd",l),u.emit("afterSpanEnd",l))),l}(s,c,l,d),rY(s,o);else if(s){let e=iY(s),{traceId:t,spanId:n}=s.spanContext(),r=rj(s);tF(o=iZ((0,v._)({traceId:t,parentSpanId:n},l),c,d,r),iH,e)}else{let{traceId:e,dsc:t,parentSpanId:n,sampled:r}=(0,v._)({},d.getPropagationContext(),c.getPropagationContext());o=iZ((0,v._)({traceId:e,parentSpanId:n},l),c,d,r),t&&tF(o,iH,t)}return!function(e){if(!tg)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=rL(e),{spanId:i}=e.spanContext(),a=rj(e),o=rz(e),s=o===e,l="[Tracing] Starting ".concat(a?"sampled":"unsampled"," ").concat(s?"root ":"","span"),u=["op: ".concat(n),"name: ".concat(t),"ID: ".concat(i)];if(r&&u.push("parent ID: ".concat(r)),!s){let{op:e,description:t}=rL(o);u.push("root ID: ".concat(o.spanContext().spanId)),e&&u.push("root op: ".concat(e)),t&&u.push("root description: ".concat(t))}tN("".concat(l,"\n  ").concat(u.join("\n  ")))}(o),o}({parentSpan:l,spanArguments:t,forceTransaction:n,scope:s})})}(e)}function i$(e,t){let n=ra(ty());return n.withActiveSpan?n.withActiveSpan(e,t):rl(n=>(n5(n,e||void 0),t(n)))}function iQ(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ro(),t=ra(ty());return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function iZ(e,t,n,r){var i,a;let o=ru(),s=(null==o?void 0:o.getOptions())||{},{name:l=""}=e,u={spanAttributes:(0,v._)({},e.attributes),spanName:l,parentSampled:r};null==o||o.emit("beforeSampling",u,{decision:!1});let c=null!=(i=u.parentSampled)?i:r,d=u.spanAttributes,p=t.getPropagationContext(),f=iQ(t),[_,h,m]=f?[!1]:function(e,t,n){let r,i;if(!iU(e))return[!1];"function"==typeof e.tracesSampler?(r=e.tracesSampler((0,R._)((0,v._)({},t),{inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e})),i=!0):void 0!==t.parentSampled?r=t.parentSampled:void 0!==e.tracesSampleRate&&(r=e.tracesSampleRate,i=!0);let a=rO(r);
2if(void 0===a)return tg&&tA("[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(r)," of type ").concat(JSON.stringify(typeof r),".")),[!1];if(!a)return tg&&tN("[Tracing] Discarding transaction because ".concat("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=n<a;return!o&&tg&&tN("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),[o,a,i]}(s,{name:l,parentSampled:c,attributes:d,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:rO(null==(a=p.dsc)?void 0:a.sample_rate)},p.sampleRand),g=new iJ((0,R._)((0,v._)({},e),{attributes:(0,v._)({[rc]:"custom",[rd]:void 0!==h&&m?h:void 0},d),sampled:_}));return _||!o||f||(tg&&tN("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate",ij(o)?"span":"transaction")),rT(g,t,n),o&&o.emit("spanStart",g),g}function i0(e){return"number"==typeof e&&isFinite(e)}function i1(e,t,n,r){let{}=r,i=(0,iM._)({},r),a=rL(e).start_timestamp;return a&&a>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),i$(e,()=>{let e=iK((0,v._)({startTime:t},i));return e&&e.end(n),e})}function i2(e){var t;let n,r=ru();if(!r)return;let{name:i,transaction:a,attributes:o,startTime:s}=e,{release:l,environment:u}=r.getOptions(),{userInfo:c}=r.getDataCollectionOptions(),d=r.getIntegrationByName("Replay"),p=null==d?void 0:d.getReplayId(),f=ro(),_=f.getUser(),h=void 0!==_?_.email||_.id||_.ip_address:void 0;try{n=f.getScopeData().contexts.profile.profile_id}catch(e){}return iK({name:i,attributes:(0,v._)({release:l,environment:u,user:h||void 0,profile_id:n||void 0,replay_id:p||void 0,transaction:a,"user_agent.original":null==(t=tE.navigator)?void 0:t.userAgent,"client.address":c?"{{auto}}":void 0},o),startTime:s,experimental:{standalone:!0}})}function i3(){return tE.addEventListener&&tE.performance}function i4(e){return e/1e3}function i8(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch(e){return!1}}function i5(e,t){let n,r,i=!1;function a(e){!i&&r&&t(e,r.spanContext().spanId,r),i=!0}ni("visibilitychange",n=e=>{var t;("pagehide"===e.type||(null==(t=tE.document)?void 0:t.visibilityState)==="hidden")&&(()=>{a("pagehide")})()},{capture:!0,once:!0}),ni("pagehide",n,{capture:!0,once:!0});let o=e.on("beforeStartNavigationSpan",(e,t)=>{(null==t?void 0:t.isRedirect)||(a("navigation"),o(),s())}),s=e.on("afterStartPageLoadSpan",e=>{r=e,s()})}function i6(e){return null!=e&&e>0&&e<=6e4}function i9(e){return e?((tQ()||performance.timeOrigin)+e)/1e3:e}function i7(e){var t;let n={};if(void 0!=e.nextHopProtocol){let{name:t,version:r}=function(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);n["network.protocol.version"]=r,n["network.protocol.name"]=t}return tQ()||(null==(t=i3())?void 0:t.timeOrigin)?Object.fromEntries(Object.entries((0,R._)((0,v._)({},n),{"http.request.redirect_start":i9(e.redirectStart),"http.request.redirect_end":i9(e.redirectEnd),"http.request.worker_start":i9(e.workerStart),"http.request.fetch_start":i9(e.fetchStart),"http.request.domain_lookup_start":i9(e.domainLookupStart),"http.request.domain_lookup_end":i9(e.domainLookupEnd),"http.request.connect_start":i9(e.connectStart),"http.request.secure_connection_start":i9(e.secureConnectionStart),"http.request.connection_end":i9(e.connectEnd),"http.request.request_start":i9(e.requestStart),"http.request.response_start":i9(e.responseStart),"http.request.response_end":i9(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0})).filter(e=>{let[,t]=e;return null!=t})):n}let ae=0,at={};function an(){f=void 0,_=void 0,at={}}function ar(e,t,n,r){var i;let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n,o=t["secureConnection"===(i=n)?"connectEnd":"fetch"===i?"domainLookupStart":"".concat(i,"End")],s=t["".concat(n,"Start")];s&&o&&i1(e,r+i4(s),r+i4(o),{op:"browser.".concat(a),name:t.name,attributes:(0,v._)({[rf]:"auto.ui.browser.metrics"},"redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{})})}let ai=new WeakMap,aa=new WeakMap,ao=["text/event-stream","application/x-ndjson","application/stream+json"],as=[],al=new Map,au=new Map,ac={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"},ad=e=>{let{metric:t}=e;if(void 0==t.value)return;let n=i4(t.value);if(n>60)return;let r=t.entries.find(e=>e.duration===t.value&&ac[e.name]);if(!r)return;let{interactionId:i}=r,a=ac[r.name],o=i4(tQ()+r.startTime),s=rX(),l=s?rz(s):void 0,u=null!=i?al.get(i):void 0,c=(null==u?void 0:u.span)||l,d=c?rL(c).description:ro().getScopeData().transactionName,p=i2({name:(null==u?void 0:u.elementName)||t5(r.target),transaction:d,attributes:{[rf]:"auto.http.browser.inp",[rp]:"ui.interaction.".concat(a),[rg]:r.duration},startTime:o});p&&(p.addEvent("inp",{[r_]:"millisecond",[rh]:t.value}),p.end(o+n))};function ap(e){var t,n;let{name:r,op:i,origin:a,metricName:o,value:s,attributes:l,parentSpan:u,reportEvent:c,startTime:d,endTime:p}=e,f=ro().getScopeData().transactionName,_=(0,v._)({[rf]:a,[rp]:i,[rg]:0,["browser.web_vital.".concat(o,".value")]:s,[ts]:f,[to]:f,"user_agent.original":null==(t=tE.navigator)?void 0:t.userAgent},l);u&&(null==(n=rM(u).attributes)?void 0:n[rp])==="pageload"&&(_["sentry.pageload.span_id"]=u.spanContext().spanId),c&&(_["browser.web_vital.".concat(o,".report_event")]=c);let h=iK({name:r,attributes:_,startTime:d,parentSpan:u});h&&h.end(null!=p?p:d)}
2let af="WebVitals",a_=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new Set(null!=(e=t.ignore)?e:[]);return{name:af,setup(e){var r;let i=(0,ec.hasSpanStreamingEnabled)(e),{enableStandaloneClsSpans:a,enableStandaloneLcpSpans:o}=null!=(r=t._experiments)?r:{},s=i||n.has("cls")?void 0:a||!1,l=i||n.has("lcp")?void 0:o||!1,u=function(e){let{recordClsStandaloneSpans:t,recordLcpStandaloneSpans:n,client:r}=e,i=i3();if(i&&tQ()){i.mark&&tE.performance.mark("sentry-tracing-init");let e=n?function(e){let t,n=0;if(!i8("largest-contentful-paint"))return;let r=iI(e=>{let{metric:r}=e,i=r.entries[r.entries.length-1];i&&i6(r.value)&&(n=r.value,t=i)},!0);i5(e,(e,i)=>{(function(e,t,n,r){if(!i6(e))return;nU&&tN("Sending LCP span (".concat(e,")"));let i=i4((tQ()||0)+((null==t?void 0:t.startTime)||0)),a=ro().getScopeData().transactionName,o=t?t5(t.element):"Largest contentful paint",s={[rf]:"auto.http.browser.lcp",[rp]:"ui.webvital.lcp",[rg]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s["lcp.element"]=t5(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=i2({name:o,transaction:a,attributes:s,startTime:i});l&&(l.addEvent("lcp",{[r_]:"millisecond",[rh]:e}),l.end(i))})(n,t,i,e),r()})}(r):!1===n?iI(e=>{let{metric:t}=e,n=t.entries[t.entries.length-1];n&&i6(t.value)&&(at.lcp={value:t.value,unit:"millisecond"},f=n)},!0):void 0,a=t?function(e){let t,n=0;if(!i8("layout-shift"))return;let r=iT(e=>{let{metric:r}=e,i=r.entries[r.entries.length-1];i&&(n=r.value,t=i)},!0);i5(e,(e,i)=>{var a,o,s,l,u;let c,d,p,f,_;a=n,o=t,s=i,l=e,nU&&tN("Sending CLS span (".concat(a,")")),c=o?i4((tQ()||0)+o.startTime):tK(),d=ro().getScopeData().transactionName,p=o?t5(null==(u=o.sources[0])?void 0:u.node):"Layout shift",f={[rf]:"auto.http.browser.cls",[rp]:"ui.webvital.cls",[rg]:0,"sentry.pageload.span_id":s,"sentry.report_event":l},(null==o?void 0:o.sources)&&o.sources.forEach((e,t)=>{f["cls.source.".concat(t+1)]=t5(e.node)}),(_=i2({name:p,transaction:d,attributes:f,startTime:c}))&&(_.addEvent("cls",{[r_]:"",[rh]:a}),_.end(c)),r()})}(r):!1===t?iT(e=>{let{metric:t}=e,n=t.entries[t.entries.length-1];n&&(at.cls={value:t.value,unit:""},_=n)},!0):void 0,o=iD("ttfb",e=>{let{metric:t}=e;t.entries[t.entries.length-1]&&(at.ttfb={value:t.value,unit:"millisecond"})},iC,d),s=iN("paint",e=>{let{entries:t}=e,n=r3();for(let e of t){let t=e.startTime<n.firstHiddenTime;"first-paint"===e.name&&t&&(at.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&t&&(at.fcp={value:e.startTime,unit:"millisecond"})}});return()=>{o(),s(),null==e||e(),null==a||a()}}return()=>void 0}({recordClsStandaloneSpans:s,recordLcpStandaloneSpans:l,client:e}),c=new WeakSet;e.on("afterStartPageLoadSpan",e=>{c.add(e)}),e.on("spanEnd",e=>{c.delete(e)&&(u(),function(e,t){var n,r,i;let a=tQ();if(!(null==(n=i3())?void 0:n.getEntries)||!a)return an();let{spanStreamingEnabled:o,recordClsOnPageloadSpan:s,recordLcpOnPageloadSpan:l}=t,u=i4(a);if("pageload"===rL(e).op){if(function(e){let t=rQ(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(at),o){let t=(t,n,r)=>{let i=null!=r?r:"browser.web_vital.".concat(t,".value");e.setAttribute(i,n),nU&&tN("Setting web vital attribute",{[i]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{at[e]&&t(e,at[e].value)}),at["ttfb.requestTime"]&&t("ttfb.requestTime",at["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else{s||delete at.cls,l||delete at.lcp,Object.entries(at).forEach(t=>{let[n,r]=t;rV(n,r.value,r.unit,e)}),r=e,i=t,f&&i.recordLcpOnPageloadSpan&&(f.element&&r.setAttribute("lcp.element",t5(f.element)),f.id&&r.setAttribute("lcp.id",f.id),f.url&&r.setAttribute("lcp.url",f.url.trim().slice(0,200)),null!=f.loadTime&&r.setAttribute("lcp.loadTime",f.loadTime),null!=f.renderTime&&r.setAttribute("lcp.renderTime",f.renderTime),r.setAttribute("lcp.size",f.size)),(null==_?void 0:_.sources)&&i.recordClsOnPageloadSpan&&_.sources.forEac
2h((e,t)=>r.setAttribute("cls.source.".concat(t+1),t5(e.node)))}e.setAttribute(o?"browser.performance.time_origin":"performance.timeOrigin",u),e.setAttribute(o?"browser.performance.navigation.activation_start":"performance.activationStart",rZ())}an()}(e,{recordClsOnPageloadSpan:!1===s,recordLcpOnPageloadSpan:!1===l,spanStreamingEnabled:i}))}),i?(n.has("lcp")||function(e){let t,n=0;if(!i8("largest-contentful-paint"))return;let r=iI(e=>{let{metric:r}=e,i=r.entries[r.entries.length-1];i&&i6(r.value)&&(n=r.value,t=i)},!0);i5(e,(e,i,a)=>{(function(e,t,n,r){if(!i6(e))return;nU&&tN("Sending LCP span (".concat(e,")"));let i=tQ()||0,a=i4(i),o=i4(i+((null==t?void 0:t.startTime)||0)),s=t?t5(t.element):"Largest contentful paint",l={};(null==t?void 0:t.element)&&(l["browser.web_vital.lcp.element"]=t5(t.element)),(null==t?void 0:t.id)&&(l["browser.web_vital.lcp.id"]=t.id),(null==t?void 0:t.url)&&(l["browser.web_vital.lcp.url"]=t.url),(null==t?void 0:t.loadTime)!=null&&(l["browser.web_vital.lcp.load_time"]=t.loadTime),(null==t?void 0:t.renderTime)!=null&&(l["browser.web_vital.lcp.render_time"]=t.renderTime),(null==t?void 0:t.size)!=null&&(l["browser.web_vital.lcp.size"]=t.size),ap({name:s,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:l,parentSpan:n,reportEvent:r,startTime:a,endTime:o})})(n,t,a,e),r()})}(e),n.has("cls")||function(e){let t,n=0;if(!i8("layout-shift"))return;let r=iT(e=>{let{metric:r}=e,i=r.entries[r.entries.length-1];i&&(n=r.value,t=i)},!0);i5(e,(e,i,a)=>{var o,s,l,u,c;let d,p,f;o=n,s=t,l=a,u=e,nU&&tN("Sending CLS span (".concat(o,")")),d=s?i4((tQ()||0)+s.startTime):tK(),p=s?t5(null==(c=s.sources[0])?void 0:c.node):"Layout shift",f={},(null==s?void 0:s.sources)&&s.sources.forEach((e,t)=>{f["browser.web_vital.cls.source.".concat(t+1)]=t5(e.node)}),ap({name:p,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:o,attributes:f,parentSpan:l,reportEvent:u,startTime:d}),r()})}(e),!n.has("inp")&&i3()&&tQ()&&iR(e=>{var t,n,r;let i,a,o,s,l,u,c,d,{metric:p}=e;if(null==p.value||i4(p.value)>60)return;let f=p.entries.find(e=>e.duration===p.value&&ac[e.name]);f&&(t=p.value,n=f,nU&&tN("Sending INP span (".concat(t,")")),i=i4(tQ()+n.startTime),a=i4(t),o=ac[n.name],s=null!=(r=n.interactionId)?al.get(r):void 0,u=(l=rX())?rz(l):void 0,d=(c=(null==s?void 0:s.span)||u)?rM(c).name:ro().getScopeData().transactionName,ap({name:(null==s?void 0:s.elementName)||t5(n.target),op:"ui.interaction.".concat(o),origin:"auto.http.browser.inp",metricName:"inp",value:t,attributes:{[rg]:n.duration,[ts]:d,[to]:d},startTime:i,endTime:i+a,parentSpan:c}))})):n.has("inp")||function(){if(i3()&&tQ()){let e=iR(ad);()=>{e()}}}()},afterAllSetup(){n.has("inp")||function(){let e,t=Object.keys(ac);function n(e){let t=e.target;if(!t)return;let n=t5(t),r=Math.round(e.timeStamp);if(au.set(r,n),au.size>50){let e=au.keys().next().value;void 0!==e&&au.delete(e)}}"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==g.default?g.default:0))||(null==(e=tE.process)?void 0:e.type)==="renderer")&&t.forEach(e=>{tE.addEventListener(e,n,{capture:!0,passive:!0})});let r=e=>{let{entries:t}=e,n=rX(),r=n&&rz(n);t.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||al.has(t))return;let n=e.target?t5(e.target):function(e){let t=Math.round(e.startTime),n=au.get(t);if(!n)for(let e=-5;e<=5;e++){let r=au.get(t+e);if(r){n=r;break}}return n||"<unknown>"}(e);if(as.length>10){let e=as.shift();al.delete(e)}as.push(t),al.set(t,{span:r,elementName:n})})};iN("event",r),iN("first-input",r)}()}}},ah="sentry_previous_trace";function am(e){return 1===e.traceFlags}var ag=e.i(965361),av=e.i(620198);function aE(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.client||(0,I.getClient)();if(!(0,T.isEnabled)()||!t)return{};let n=(0,K.getMainCarrier)(),r=(0,av.getAsyncContextStrategy)(n);if(r.getTraceData)return r.getTraceData(e);let i=e.scope||(0,I.getCurrentScope)(),a=e.span||(0,F.getActiveSpan)(),o=(0,nz.spanIsNonRecordingSpan)(a)&&!(0,nY.hasSpansEnabled)(t.getOptions());if(!a&&(0,I.hasExternalPropagationContext)())return{};let s=a&&!o?(0,F.spanToTraceHeader)(a):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,n0.generateSentryTraceHeader)(t,r,n)}(i),l=a?(0,ee.getDynamicSamplingContextFromSpan)(a):(0,ee.getDynamicSamplingContextFromScope)(t,i),u=(0,ag.dynamicSamplingContextToSentryBaggageHeader)(l);if(!n0.TRACEPARENT_REGEXP.test(s))return E.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let c={"sentry-trace":s,baggage:u};return e.propagateTraceparent&&(c.traceparent=a&&!o?(0,F.spanToTraceparentHeader)(a):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,n0.generateTraceparentHeader)(t,r,n)}(i)),c}function ay(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(ag.SENTRY_BAGGAGE_KEY_PREFIX))}function aS(e,t,n,r){let i={url:tm(e),type:"fetch","http.method":n,[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return t&&(td(t)||(i[ta]=tm(t.href),i[tl]=tm(t.href),i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}function ab(e){try{return new URL(e,eX.WINDOW.location.origin).href}catch(e){return}}function aT(e){try{return new Headers(e)}catch(e){return}}let aI={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function aR(e,t){let{url:n}=(0,F.spanToJSON)(e).data;if(!n||"string"!=typeof n)return;let r=()=>void setTimeout(i);if((0,ec.hasSpanStreamingEnabled)(t)){let t=e.end.bind(e);e.end=e=>{let n=null!=e?e:(0,Z.timestampInSeconds)(),a=!1,o=()=>{a||(a=!0,setTimeout(i),t(n),clearTimeout(s))};r=o;let s=setTimeout(o,300)}}let i=iN("resource",t=>{let{entries:i}=t;
2i.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(n)&&(e.setAttributes(i7(t)),r())})})}let aN=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function aA(){let e=eX.WINDOW.navigator;return!!(null==e?void 0:e.userAgent)&&aN.test(e.userAgent)}let aO=(0,v._)((0,R._)((0,v._)({},nK),{instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{}}),aI),aw=function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"enableElementTiming"in n&&(0,E.consoleSandbox)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let r={name:void 0,source:void 0},i=eX.WINDOW.document,{enableInp:a,enableLongTask:o,enableLongAnimationFrame:s,_experiments:{enableInteractions:l,enableStandaloneClsSpans:u,enableStandaloneLcpSpans:c},beforeStartSpan:d,idleTimeout:p,finalTimeout:f,childSpanTimeout:_,markBackgroundSpan:h,traceFetch:m,traceXHR:g,trackFetchStreamPerformance:S,shouldCreateSpanForRequest:b,enableHTTPTimings:T,ignoreResourceSpans:A,ignorePerformanceApiSpans:O,instrumentPageLoad:w,instrumentNavigation:C,detectRedirects:P,linkPreviousTrace:x,consistentTraceSampling:L,enableReportPageLoaded:M,onRequestSpanStart:U,onRequestSpanEnd:B}=(0,v._)({},aO,n),k=aA();function j(e,n){let a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=arguments.length>3?arguments[3]:void 0,s="pageload"===n.op,l=n.name,u=d?d(n):n,c=tp(o||(0,tr.getLocationHref)()),h=(0,v._)({},(null==c?void 0:c.pathname)&&{[tu]:c.pathname},c&&!td(c)&&{[tl]:c.href},u.attributes);if(l!==u.name&&(h[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom"),u.attributes=h,!a){let e=(0,Z.dateTimestampInSeconds)();(0,nV.startInactiveSpan)((0,R._)((0,v._)({},u),{startTime:e})).end(e);return}r.name=u.name,r.source=h[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let m=n$(u,{idleTimeout:p,finalTimeout:f,childSpanTimeout:_,disableAutoFinish:s,beforeSpanEnd:n=>{!function(e,t){let n=i3(),r=tQ();if(!(null==n?void 0:n.getEntries)||!r)return;let{spanStreamingEnabled:i,ignorePerformanceApiSpans:a,ignoreResourceSpans:o}=t,s=i4(r),l=n.getEntries(),{op:u,start_timestamp:c}=rL(e);l.slice(ae).forEach(t=>{let n=i4(t.startTime),r=i4(Math.max(0,t.duration));if("navigation"!==u||!c||!(s+n<c))switch(t.entryType){case"navigation":var i,l,d,p,f,_;let h,m,g;i=e,l=t,d=s,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{ar(i,l,e,d)}),ar(i,l,"secureConnection",d,"TLS/SSL"),ar(i,l,"fetch",d,"cache"),ar(i,l,"domainLookup",d,"DNS"),p=i,f=l,h=(_=d)+i4(f.requestStart),m=_+i4(f.responseEnd),g=_+i4(f.responseStart),f.responseEnd&&(i1(p,h,m,{op:"browser.request",name:f.name,attributes:{[rf]:"auto.ui.browser.metrics"}}),i1(p,g,m,{op:"browser.response",name:f.name,attributes:{[rf]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":!function(e,t,n,r,i,a){if(function(e){if((null==e?void 0:e.entryType)==="measure")try{return"Components ⚛"===e.detail.devtools.track}catch(e){return}}(t)||["mark","measure"].includes(t.entryType)&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(let r of t)if(tY(e,r,n))return!0;return!1}(t.name,a))return;let o=rQ(!1),s=i+Math.max(n,i4(o?o.requestStart:0)),l=i+n,u=l+r,c={[rf]:"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 n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&tj(r))e["sentry.browser.measure.detail.".concat(t)]=r;else if(void 0!==r)try{e["sentry.browser.measure.detail.".concat(t)]=JSON.stringify(r)}catch(e){}return}if(tj(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch(e){}}catch(e){}}(c,t),s<=u&&i1(e,s,u,{name:t.name,op:t.entryType,attributes:c})}(e,t,n,r,s,a);break;case"resource":!function(e,t,n,r,i,a,o){var s,l;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?"resource.".concat(t.initiatorType):"resource.other";if(null==o?void 0:o.includes(u))return;let c={[rf]:"auto.resource.browser.metrics"},d=function(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}(n);d.protocol&&(c["url.scheme"]=d.protocol.split(":").pop()),d.host&&(c["server.address"]=d.host),c["url.same_origin"]=n.includes(tE.location.origin),c[tl]=n,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
2h(e=>{let[t,n]=e,r=s[t];null!=r&&("number"==typeof r&&r<0x7fffffff||"string"==typeof r)&&(l[n]=r)});let p=(0,v._)({},c,i7(t)),f=a+r;i1(e,f,f+i,{name:n.replace(tE.location.origin,""),op:u,attributes:p})}(e,t,t.name,n,r,s,o)}}),ae=Math.max(l.length-1,0),function(e,t){let n=tE.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),i0(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):"pageload"===rL(e).op&&rV("connection.rtt",r.rtt,"millisecond"))),i0(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory","".concat(n.deviceMemory," GB"))),i0(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,i)}(n,{ignoreResourceSpans:A,ignorePerformanceApiSpans:O,spanStreamingEnabled:(0,ec.hasSpanStreamingEnabled)(e)}),aM(e,void 0);let r=(0,I.getCurrentScope)(),i=r.getPropagationContext();r.setPropagationContext((0,R._)((0,v._)({},i),{traceId:m.spanContext().traceId,sampled:(0,F.spanIsSampled)(m),dsc:(0,ee.getDynamicSamplingContextFromSpan)(n)})),s&&(t=void 0)},trimIdleSpanEndTimestamp:!M});function g(){i&&["interactive","complete"].includes(i.readyState)&&(e.emit("idleSpanEnableAutoFinish",m),i.removeEventListener("readystatechange",g))}s&&M&&(t=m),aM(e,m),s&&!M&&i&&(i.addEventListener("readystatechange",g),g())}return{name:"BrowserTracing",setup(n){var r;if(k){t6.DEBUG_BUILD&&E.debug.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}function a(){let e=(0,F.getActiveSpan)(),t=e&&(0,F.getRootSpan)(e);if(t){let e="internal_error";N.DEBUG_BUILD&&E.debug.log("[Tracing] Root span: ".concat(e," -> Global error occurred")),t.setStatus({code:nX.SPAN_STATUS_ERROR,message:e})}}if(nQ||(nQ=!0,nf(a),nm(a)),s&&y.GLOBAL_OBJ.PerformanceObserver&&(null==(r=PerformanceObserver.supportedEntryTypes)?void 0:r.includes("long-animation-frame"))?new PerformanceObserver(e=>{let t=rX();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=i4(tQ()+n.startTime),{start_timestamp:r,op:i}=rL(t);if("navigation"===i&&r&&e<r)continue;let a=i4(n.duration),o={[rf]:"auto.ui.browser.metrics"},{invoker:s,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=n.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),i1(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):o&&iN("longtask",e=>{let{entries:t}=e,n=rX();if(!n)return;let{op:r,start_timestamp:i}=rL(n);for(let e of t){let t=i4(tQ()+e.startTime),a=i4(e.duration);"navigation"===r&&i&&t<i||i1(n,t,t+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[rf]:"auto.ui.browser.metrics"}})}}),l&&iN("event",e=>{let{entries:t}=e,n=rX();if(n){for(let e of t)if("click"===e.name){let t=i4(tQ()+e.startTime),r=i4(e.duration),i={name:t5(e.target),op:"ui.interaction.".concat(e.name),startTime:t,attributes:{[rf]:"auto.ui.browser.metrics"}},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!tE.HTMLElement)return null;let n=e;for(let e=0;e<t&&n;e++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}(e.target);a&&(i.attributes["ui.component_name"]=a),i1(n,t,t+r,i)}}}),P&&i){let t=()=>{e=(0,Z.timestampInSeconds)()};addEventListener("click",t,{capture:!0}),addEventListener("keydown",t,{capture:!0,passive:!0})}function u(){let e=n[aL];e&&!(0,F.spanToJSON)(e).timestamp&&(t6.DEBUG_BUILD&&E.debug.log("[Tracing] Finishing current active span with op: ".concat((0,F.spanToJSON)(e).op)),e.setAttribute(W.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),e.end())}n.on("startNavigationSpan",(t,r)=>{if((0,I.getClient)()!==n)return;if(null==r?void 0:r.isRedirect){t6.DEBUG_BUILD&&E.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),j(n,(0,v._)({op:"navigation.redirect"},t),!1,r.url);return}e=void 0,u(),(0,I.getIsolationScope)().setPropagationContext({traceId:(0,nZ.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,nY.hasSpansEnabled)()?void 0:(0,nZ.generateSpanId)()});let i=(0,I.getCurrentScope)();i.setPropagationContext({traceId:(0,nZ.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,nY.hasSpansEnabled)()?void 0:(0,nZ.generateSpanId)()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),j(n,(0,R._)((0,v._)({op:"navigation"},t),{parentSpan:null,forceTransaction:!0}),!0,null==r?void 0:r.url)}),n.on("startPageLoadSpan",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,I.getClient)()!==n)return;u();let r=t.sentryTrace||aD("sentry-trace")||ax("sentry-trace"),i=t.baggage||aD("baggage")||ax("baggage"),a=(0,n0.propagationContextFromHeaders)(r,i),o=(0,I.getCurrentScope)();o.setPropagationContext(a),(0,nY.hasSpansEnabled)()||(o.getPropagationContext().propagationSpanId=(0,nZ.generateSpanId)()),o.setSDKProcessingMetadata({normalizedRequest:(0,eX.getHttpRequestData)()}),j(n,(0,v._)({op:"pageload"},e))}),n.on("endPageloadSpan",()=>{M&&t&&(t.setAttribute(W.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),t.end())})},afterAllSetup(t){var n,i,o,s,d,y;let N;if(k)return;!t.addIntegration||(null==(n=t.getIntegrationByName)?void 0:n.call(t,af))||t.addIntegration(a_({ignore:a?[]:["inp"],_experiments:{enableStandaloneClsSpans:u,enableStandaloneLcpSpans:c}}));let A=(0,tr.getLocationHref)();if("off"!==x&&function(e,t){let{linkPreviousTrace:n,consistentTraceSampling:r}=t,i="session-storage"===n,a=i?function(){try{var e;let t=null==(e=eX.WINDOW.sessionStorage)?void 0:e.getItem(ah);return JSON.parse(t)}catch(e){return}}():void 0;e.on("spanStart",e=>{if((0,F.getRootSpan)(e)!==e)return;let t=(0,I.getCurrentScope)().getPropagationContext();a=function(e,t,n){let r=(0,F.spanToJSON)(t),i={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{var e,t,i;let a=Number(null!=(e=null==(t=r.data)?void 0:t[W.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])?e:null==(i=n.dsc)?void 0:i.sample_rate);return Number.isNaN(a)?0:a}catch(e){return 0}}(),sampleRand:n.sampleRand};if(!e)return i;let a=e.spanContext;return a.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(t6.DEBUG_BUILD&&E.debug.log("Adding previous_trace `".concat(JSON.stringify(a),"` link to span `").concat(JSON.stringify((0,v._)({op:r.op},t.spanContext())),"`")),t.addLink({context:a,attributes:{[W.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute("sentry.previous_trace","".concat(a.traceId,"-").concat(a.spanId,"-").concat(+!!am(a)))),i)}(a,e,t),i&&function(e){try{eX.WINDOW.sessionStorage.setItem(ah,JSON.stringify(e))}catch(e){t6.DEBUG_BUILD&&E.debug.warn("Could not store previous trace in sessionStorage",e)}}(a)});let o=!0;r&&e.on("beforeSampling",e=>
2{if(!a)return;let t=(0,I.getCurrentScope)(),n=t.getPropagationContext();if(o&&n.parentSpanId){o=!1;return}t.setPropagationContext((0,R._)((0,v._)({},n),{dsc:(0,R._)((0,v._)({},n.dsc),{sample_rate:String(a.sampleRate),sampled:String(am(a.spanContext))}),sampleRand:a.sampleRand})),e.parentSampled=am(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes=(0,R._)((0,v._)({},e.spanAttributes),{[W.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:a.sampleRate})})}(t,{linkPreviousTrace:x,consistentTraceSampling:L}),eX.WINDOW.location){if(w){let e=(0,Z.browserPerformanceTimeOrigin)();aC(t,{name:eX.WINDOW.location.pathname,startTime:e?e/1e3:void 0,attributes:{[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}C&&t2(n=>{var r,i;let a,o,{to:s,from:l}=n;if(void 0===l&&(null==A?void 0:A.indexOf(s))!==-1){A=void 0;return}A=void 0;let u=tp(s),c=t[aL],d=c&&P&&(r=c,i=e,a=(0,F.spanToJSON)(r),!((o=(0,Z.dateTimestampInSeconds)())-a.start_timestamp>1.5)&&(!i||!(o-i<=1.5)));aP(t,{name:(null==u?void 0:u.pathname)||eX.WINDOW.location.pathname,attributes:{[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:s,isRedirect:d})})}h&&(eX.WINDOW.document?eX.WINDOW.document.addEventListener("visibilitychange",()=>{let e=(0,F.getActiveSpan)();if(!e)return;let t=(0,F.getRootSpan)(e);if(eX.WINDOW.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,F.spanToJSON)(t);t6.DEBUG_BUILD&&E.debug.log("[Tracing] Transaction: ".concat(e," -> since tab moved to the background, op: ").concat(n)),r||t.setStatus({code:nX.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):t6.DEBUG_BUILD&&E.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")),l&&(i=t,o=p,s=f,d=_,y=r,eX.WINDOW.document&&addEventListener("click",()=>{let e="ui.action.click",t=function(e){return e[aL]}(i);if(t&&["navigation","pageload"].includes((0,F.spanToJSON)(t).op)){t6.DEBUG_BUILD&&E.debug.warn("[Tracing] Did not create ".concat(e," span because a pageload or navigation span is in progress."));return}if(N&&(N.setAttribute(W.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),N.end(),N=void 0),!y.name){t6.DEBUG_BUILD&&E.debug.warn("[Tracing] Did not create ".concat(e," transaction because _latestRouteName is missing."));return}N=n$({name:y.name,op:e,attributes:{[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:y.source||"url"}},{idleTimeout:o,finalTimeout:s,childSpanTimeout:d})},{capture:!0})),function(e,t){let{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o,onRequestSpanStart:s,onRequestSpanEnd:l}=(0,v._)({},aI,t),u="function"==typeof i?i:e=>!0,c=e=>(function(e,t){let n=(0,tr.getLocationHref)();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}let a=r.origin===i;return t?(0,D.stringMatchesSomePattern)(r.toString(),t)||a&&(0,D.stringMatchesSomePattern)(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?(0,D.stringMatchesSomePattern)(e,t):n}})(e,o),d={},p=e.getOptions().propagateTraceparent;n&&e5(t=>{let n=function(e,t,n,r,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=(0,nY.hasSpansEnabled)()&&t(o);if(e.endTimestamp){var l,u,c,d;let t,n=e.fetchData.__span;if(!n)return;let a=r[n];a&&(s&&(function(e,t){if(t.response){var n,r;(0,nX.setHttpStatus)(e,t.response.status);let i=null==(r=t.response)||null==(n=r.headers)?void 0:n.get("content-length");if(i){let t=parseInt(i);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:nX.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(a,e),l=a,u=e,null==(t="object"==typeof(c=i)&&null!==c?c.onRequestSpanEnd:void 0)||t(l,{headers:null==(d=u.response)?void 0:d.headers,error:u.error})),delete r[n]);return}let{spanOrigin:p="auto.http.browser",propagateTraceparent:f=!1}="object"==typeof i?i:{spanOrigin:i},_=(0,I.getClient)(),h=!!(0,F.getActiveSpan)(),m=h||!!_&&(0,ec.hasSpanStreamingEnabled)(_),g=s&&m?(0,nV.startInactiveSpan)(function(e,t,n){if(e.startsWith("data:")){let r=tm(e);return{name:"".concat(t," ").concat(r),attributes:aS(e,void 0,t,n)}}let r=tp(e),i=r?tf(r):e;return{name:"".concat(t," ").concat(i),attributes:aS(e,r,t,n)}}(o,a,p)):new nz.SentryNonRecordingSpan,E=(0,nV.spanIsIgnored)(g)&&h?void 0:g;if(s&&!m&&(null==_||_.recordDroppedEvent("no_parent_span","span")),e.fetchData.__span=g.spanContext().spanId,r[g.spanContext().spanId]=g,n(e.fetchData.url)){let t=e.args[0],n=(0,v._)({},e.args[1]||{}),r=function(e,t,n,r){var i,a;let o=aE({span:n,propagateTraceparent:r}),s=o["sentry-trace"],l=o.baggage,u=o.traceparent;if(!s)return;let c=t.headers||((0,$.isRequest)(e)?e.headers:void 0);if(!c)return(0,v._)({"sentry-trace":s},l&&{baggage:l},u&&{traceparent:u});if(i=c,"u">typeof Headers&&(0,$.isInstanceOf)(i,Headers)){let e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",s),r&&u&&!e.get("traceparent")&&e.set("traceparent",u),l){let t=e.get("baggage");t?ay(t)||e.set("baggage","".concat(t,",").concat(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]),r&&u&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",u]);let t=c.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&ay(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,n="baggage"in c?c.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],a=n&&(Array.isArray(n)?n.find(e=>ay(e)):ay(n));l&&!a&&i.push(l);let o=Object.assign({},c,(0,v._)({"sentry-trace":null!=e?e:s},i.length>0&&{baggage:i.join(",")}));return r&&u&&!t&&(o.traceparent=u),o}}(t,n,(0,nY.hasSpansEnabled)()&&m?E:void 0,f);r&&(e.args[1]=n,n.headers=r)}if(_){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};_.emit("beforeOutgoingRequestSpan",g,t)}return g}(t,u,c,d,{propagateTraceparent:p,onRequestSpanEnd:l});if(n){let r=ab(t.fetchData.url),i=r?t_(r).host:void 0,o=r?tm(r):void 0;n.setAttributes({[ta]:o,[tl]:o,"server.address":i}),a&&aR(n,e),null==s||s(n,{headers:t.headers})}}),r&&t0(t=>{let n=function(e,t,n,r,i,a){let o=e.xhr,s=null==o?void 0:o[tZ];if(!o||o.__sentry_own_request__||!s)return;let{url:l,method:u}=s,c=(0,nY.hasSpansEnabled)()&&t(l);
2if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(c&&void 0!==s.status_code&&((0,nX.setHttpStatus)(n,s.status_code),n.end(),null==a||a(n,{headers:aT(function(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return nU&&tO(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}(o)),error:e.error})),delete r[t]);return}let d=ab(l),p=d?t_(d):t_(l),f=d?tm(d):void 0,_=tm(th(l)),h=(0,I.getClient)(),m=!!(0,F.getActiveSpan)(),g=m||!!h&&(0,ec.hasSpanStreamingEnabled)(h),E=c&&g?(0,nV.startInactiveSpan)({name:"".concat(u," ").concat(_),attributes:(0,v._)({url:tm(l),type:"xhr","http.method":u,"http.url":f,[tl]:f,"server.address":null==p?void 0:p.host,[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"},(null==p?void 0:p.search)&&{"http.query":null==p?void 0:p.search},(null==p?void 0:p.hash)&&{"http.fragment":null==p?void 0:p.hash})}):new nz.SentryNonRecordingSpan,y=(0,nV.spanIsIgnored)(E)&&m?void 0:E;return c&&!g&&(null==h||h.recordDroppedEvent("no_parent_span","span")),o.__sentry_xhr_span_id__=E.spanContext().spanId,r[o.__sentry_xhr_span_id__]=E,n(l)&&function(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=aE({span:t,propagateTraceparent:n});r&&function(e,t,n,r){var i;let a=null==(i=e.__sentry_xhr_v3__)?void 0:i.request_headers;if((null==a||!a["sentry-trace"])&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),!r||(null==a?void 0:a.traceparent)||e.setRequestHeader("traceparent",r),n){let t=null==a?void 0:a.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch(e){}}(e,r,i,a)}(o,(0,nY.hasSpansEnabled)()&&g?y:void 0,i),h&&h.emit("beforeOutgoingRequestSpan",E,e),E}(t,u,c,d,p,l);if(n){var r;a&&aR(n,e),null==s||s(n,{headers:aT(null==(r=t.xhr.__sentry_xhr_v3__)?void 0:r.request_headers)})}})}(t,{traceFetch:m,traceXHR:g,tracePropagationTargets:t.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:b,enableHTTPTimings:T,onRequestSpanStart:U,onRequestSpanEnd:B}),S&&t.addIntegration({name:"FetchStreamPerformance",setup(){let e;eQ(e="fetch-body-resolved",e=>{if(e.response){let t=ai.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=aa.get(e.response);n&&clearTimeout(n)}}}),eZ(e,()=>e6(e7)),e5(e=>{if(e.endTimestamp&&e.response){var t,n,r,i;let a=(null==(t=e.response.headers)?void 0:t.get("content-type"))||"";if((null==(n=e.response.headers)?void 0:n.get("content-length"))||!ao.some(e=>a.startsWith(e)))return;let o=(null==(r=e.fetchData)?void 0:r.url)||"",s=(null==(i=e.fetchData)?void 0:i.method)||"GET",l=tp(o),u=o.startsWith("data:")?tm(o):l?tf(l):o,c=(0,nV.startInactiveSpan)({name:"".concat(s," ").concat(u),startTime:e.endTimestamp,attributes:{url:tm(o),"http.method":s,type:"fetch",[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client.stream",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.stream"}});ai.set(e.response,c);let d=setTimeout(()=>{c.isRecording()&&c.end()},9e4);aa.set(e.response,d)}})}})}}};function aC(e,t,n){e.emit("startPageLoadSpan",t,n),(0,I.getCurrentScope)().setTransactionName(t.name);let r=e[aL];return r&&e.emit("afterStartPageLoadSpan",r),r}function aP(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i,url:r}),e.emit("startNavigationSpan",t,{isRedirect:i,url:r});let a=(0,I.getCurrentScope)();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:(0,R._)((0,v._)({},(0,eX.getHttpRequestData)()),{url:r})}),e[aL]}function aD(e){let t=eX.WINDOW.document,n=null==t?void 0:t.querySelector("meta[name=".concat(e,"]"));return(null==n?void 0:n.getAttribute("content"))||void 0}function ax(e){var t,n,r;let i=null==(n=eX.WINDOW.performance)||null==(t=n.getEntriesByType)?void 0:t.call(n,"navigation")[0],a=null==i||null==(r=i.serverTiming)?void 0:r.find(t=>t.name===e);return null==a?void 0:a.description}let aL="_sentry_idleSpan";function aM(e,t){(0,k.addNonEnumerableProperty)(e,aL,t)}function aU(e){try{return new URL(e,tE.location.origin).toString()}catch(t){return e}}let aB=y.GLOBAL_OBJ,ak=null,aj=new Map,aW=new Map;
2function aF(e){let t=e.split("/").filter(Boolean),n=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?n+=1e3:t.endsWith("*")?n+=100:n+=10}return t.length>0&&(n+=1/t.length),n}function aG(e){if(aj.has(e)){var t;return null!=(t=aj.get(e))?t:null}try{let t=new RegExp(e);return aj.set(e,t),t}catch(t){return nq.DEBUG_BUILD&&E.debug.warn("Could not compile regex",{regexString:e,error:t}),null}}function aH(){if(!(null==aB?void 0:aB._sentryRouteManifest)||"string"!=typeof aB._sentryRouteManifest)return null;let e=aB._sentryRouteManifest;if(ak&&h===e)return ak;aj.clear(),aW.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return ak=t,h=e,t}catch(e){return nq.DEBUG_BUILD&&E.debug.warn("Could not extract route manifest"),null}}let aq=e=>{let t=aH();if(!t)return;let n=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(aW.has(n))return aW.get(n);let{staticRoutes:r,dynamicRoutes:i}=t;if(!Array.isArray(r)||!Array.isArray(i))return;let a=(function(e,t,n){let r=[];if(t.some(t=>t.path===e))return r;for(let t of n)if(t.regex){let n=aG(t.regex);(null==n?void 0:n.test(e))&&r.push(t.path)}if(!e.startsWith("/:")){for(let t of n)if(t.hasOptionalPrefix&&t.regex){let n="/"===e?"/SENTRY_OPTIONAL_PREFIX":"/SENTRY_OPTIONAL_PREFIX".concat(e),i=aG(t.regex);(null==i?void 0:i.test(n))&&r.push(t.path)}}return r})(n,r,i).sort((e,t)=>aF(e)-aF(t))[0];return aW.set(n,a),a};function aY(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}function az(e,t,n){e.setAttributes({[tu]:t,[tl]:aU(n)})}let aJ="incomplete-app-router-transaction",aX="router-patch",aV={current:void 0},aK=y.GLOBAL_OBJ,a$=y.GLOBAL_OBJ;function aQ(e){try{return new URL(e,"http://example.com/").pathname}catch(e){return"/"}}let aZ=new WeakSet;function a0(e,t,n){aZ.has(t)||(aZ.add(t),["back","forward","push","replace"].forEach(r=>{(null==t?void 0:t[r])&&(t[r]=new Proxy(t[r],{apply(t,i,a){var o;if("router-patch"!==aX)return t.apply(i,a);let s=aJ,l={[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"},u=a[0],c=null!=(o=g.default.env._sentryBasePath)?o:a$._sentryBasePath,d=c&&"string"==typeof u&&!u.startsWith(c)?"".concat(c).concat(u):u;"push"===r?(s=aY(aQ(d)),l["navigation.type"]="router.push"):"replace"===r?(s=aY(aQ(d)),l["navigation.type"]="router.replace"):"back"===r?l["navigation.type"]="router.back":"forward"===r&&(l["navigation.type"]="router.forward");let p=aq(s),f="back"===r||"forward"===r?void 0:aU(d);return n.current=aP(e,{name:null!=p?p:s,attributes:(0,v._)((0,R._)((0,v._)({},l),{[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:p?"route":"url"}),p&&{[tc]:p})},f?{url:f}:void 0),t.apply(i,a)}}))}))}var a1=e.i(203828);let a2=a1.default.events?a1.default:a1.default.default,a3=eX.WINDOW,a4=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function a8(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r="",i=!1;for(let e=t.length-1;e>=-1&&!i;e--){let n=e>=0?t[e]:"/";n&&(r="".concat(n,"/").concat(r),i="/"===n.charAt(0))}return r=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift("..");return e})(r.split("/").filter(e=>!!e),!i).join("/"),(i?"/":"")+r||"."}function a5(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let a6=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.root,n=e.prefix||"app:///",r="window"in y.GLOBAL_OBJ&&!!y.GLOBAL_OBJ.window,i=e.iteratee||function(e){let{isBrowser:t,root:n,prefix:r}=e;return e=>{if(!e.filename)return e;let i=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),a=/^\//.test(e.filename);if(t){if(n){let t=e.filename;0===t.indexOf(n)&&(e.filename=t.replace(n,r))}}else if(i||a){let t,a,o=i?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,s=n?function(e,t){e=a8(e).slice(1),t=a8(t).slice(1);let n=a5(e.split("/")),r=a5(t.split("/")),i=Math.min(n.length,r.length),a=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){a=e;break}let o=[];for(let e=a;
2e<n.length;e++)o.push("..");return(o=o.concat(r.slice(a))).join("/")}(n,o):(t=o.length>1024?"<truncated>".concat(o.slice(-1024)):o,(a=a4.exec(t))?a.slice(1):[])[2]||"";e.filename="".concat(r).concat(s)}return e}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return(0,R._)((0,v._)({},e),{exception:(0,R._)((0,v._)({},e.exception),{values:e.exception.values.map(e=>{var t,n;return(0,v._)({},e,e.stacktrace&&{stacktrace:(t=e.stacktrace,(0,R._)((0,v._)({},t),{frames:null==t||null==(n=t.frames)?void 0:n.map(e=>i(e))}))})})})})}catch(t){return e}}(t)),t}}},a9=/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js(:\d+)*$/,a7=new class{get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}constructor(e){this._maxSize=e,this._cache=new Map}}(100),oe=y.GLOBAL_OBJ,ot=!1,on=y.GLOBAL_OBJ;globalThis._sentryRouteManifest='{"isrRoutes":[],"dynamicRoutes":[],"staticRoutes":[]}',globalThis._sentryNextJsVersion="16.3.0",function(e){let t,n,r,i,a,o,s,l;ot&&(0,E.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),ot=!0,!nq.DEBUG_BUILD&&e.debug&&(0,E.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){eX.WINDOW.document&&function(e){let t=aq(e)||e,n=a7.get(t);if(void 0!==n)return n;let r=aH();if(!(null==r?void 0:r.isrRoutes)||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return a7.set(t,!1),!1;let i=r.isrRoutes.includes(t);return a7.set(t,i),i}(eX.WINDOW.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=eX.WINDOW.document.querySelector('meta[name="'.concat(e,'"]'));t&&t.remove()}catch(e){}}}();let u=(0,v._)({environment:e.environment||g.default.env.SENTRY_ENVIRONMENT||((t=g.default.env.NEXT_PUBLIC_VERCEL_ENV)?"vercel-".concat(t):void 0)||"production",defaultIntegrations:(i=nF(e),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&i.push(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=aw((0,R._)((0,v._)({},e),{instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];let[a,{headers:o}]=r;return(null==o?void 0:o.get("next-router-prefetch"))&&(null==a||a.setAttribute("http.request.prefetch",!0)),null==(t=e.onRequestSpanStart)?void 0:t.call(e,...r)}})),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return(0,R._)((0,v._)({},t),{afterAllSetup(e){!aA()&&(r&&function(e){if(eX.WINDOW.document.getElementById("__NEXT_DATA__"))a2.events.on("routeChangeStart",t=>{let n,r,i=th(t),a=function(e){var t;let n=null==(t=a3.__BUILD_MANIFEST)?void 0:t.sortedPages;if(n)return n.find(t=>{var n;let r,i,a,o=(r=t.split("/"),i="",(null==(n=r[r.length-1])?void 0:n.match(/^\[\[\.\.\..+\]\]$/))&&(r.pop(),i="(?:/(.+?))?"),a=r.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),new RegExp("^".concat(a).concat(i,"(?:/)?$")));return e.match(o)})}(i);a?(n=a,r="route"):(n=i,r="url"),aP(e,{name:n,attributes:(0,v._)({[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r},"route"===r&&{[tc]:n})},{url:aU(t)})});else{let t,n,r;m=(t,n)=>{var r;let i=null!=(r=g.default.env._sentryBasePath)?r:a$._sentryBasePath,a=i&&!t.startsWith(i)?"".concat(i).c
2oncat(t):t,o=aY(new URL(a,eX.WINDOW.location.href).pathname),s=aq(o),l=null!=s?s:o;"router-patch"===aX&&(aX="transition-start-hook");let u=aV.current;u?(u.updateName(l),u.setAttributes((0,v._)({"navigation.type":"router.".concat(n),[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s?"route":"url"},s&&{[tc]:s})),az(u,o,a),aV.current=void 0):aP(e,{name:l,attributes:(0,v._)({[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s?"route":"url","navigation.type":"router.".concat(n)},s&&{[tc]:s})},{url:aU(a)})},eX.WINDOW.addEventListener("popstate",()=>{var t;let n=aY(eX.WINDOW.location.pathname),r=aq(n);(null==(t=aV.current)?void 0:t.isRecording())?(aV.current.updateName(null!=r?r:n),aV.current.setAttribute(W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,r?"route":"url"),r&&aV.current.setAttribute(tc,r),az(aV.current,n,eX.WINDOW.location.href)):aV.current=aP(e,{name:null!=r?r:n,attributes:(0,v._)({[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r?"route":"url","navigation.type":"browser.popstate"},r&&{[tc]:r})},{url:aU(n)})}),t=!1,n=0,r=setInterval(()=>{var i,a,o;n++;let s=null!=(i=null==aK||null==(a=aK.next)?void 0:a.router)?i:null==aK||null==(o=aK.nd)?void 0:o.router;t||n>500?clearInterval(r):s&&(clearInterval(r),t=!0,a0(e,s,aV),["nd","next"].forEach(t=>{let n=aK[t];n&&(aK[t]=new Proxy(n,{set:(t,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&a0(e,r,aV),t[n]=r,!0)}))}))},20)}}(e),t.afterAllSetup(e),n&&function(e){if(eX.WINDOW.document.getElementById("__NEXT_DATA__"))!function(e){let{route:t,params:n,sentryTrace:r,baggage:i}=function(){let e,t=a3.document.getElementById("__NEXT_DATA__");if(null==t?void 0:t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){nq.DEBUG_BUILD&&E.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:i,props:a}=e;return n.route=r,n.params=i,(null==a?void 0:a.pageProps)&&(n.sentryTrace=a.pageProps._sentryTraceData,n.baggage=a.pageProps._sentryBaggage),n}(),a=(0,ag.parseBaggageHeader)(i),o=t||a3.location.pathname;(null==a?void 0: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,Z.browserPerformanceTimeOrigin)();aC(e,{name:o,startTime:s?s/1e3:void 0,attributes:(0,v._)({[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url"},t&&{[tc]:t},n&&(0,v._)({},n))},{sentryTrace:r,baggage:i})}(e);else{let t,n,r;n=aq(t=aY(eX.WINDOW.location.pathname)),aC(e,{name:null!=n?n:t,startTime:(r=(0,Z.browserPerformanceTimeOrigin)())?r/1e3:void 0,attributes:(0,v._)({[W.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[W.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[W.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n?"route":"url"},n&&{[tc]:n})})}}(e))}})}()),a=on._sentryRewriteFramesAssetPrefixPath||"",o=g.default.env._sentryAssetPrefix||on._sentryAssetPrefix,s=g.default.env._sentryBasePath||on._sentryBasePath,l="true"===g.default.env._experimentalThirdPartyOriginStackFrames||"true"===on._experimentalThirdPartyOriginStackFrames,i.push((e=>{let{assetPrefix:t,basePath:n,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:i}=e,a=a6({iteratee:e=>{var a,o,s,l,u,c,d;if(i){let r="u">typeof window&&window.location?window.location.origin:"";if((null==(s=e.filename)?void 0:s.startsWith(r))&&!e.filename.endsWith(".js"))return e;if(t)(null==(l=e.filename)?void 0:l.startsWith(t))&&(e.filename=e.filename.replace(t,"app://"));else if(n)try{let{origin:t}=new URL(e.filename);t===r&&(e.filename=null==(u=e.filename)?void 0:u.replace(t,"app://").replace(n,""))}catch(e){}}else try{let{origin:t}=new URL(e.filename);e.filename=null==(c=e.filename)?void 0:c.replace(t,"app://").replace(r,"")}catch(e){}return i?(null==(d=e.filename)?void 0:d.includes("/_next"))&&(e.filename=decodeURI(e.filename)):(null==(a=e.filename)?void 0:a.startsWith("app:///_next"))&&(e.filename=decodeURI(e.filename)),(null==(o=e.filename)?void 0:o.match(a9))&&(e.in_app=!1),e}});return(0,R._)((0,v._)({},a),{name:"NextjsClientStackFrameNormalization"})})({assetPrefix:o,basePath:s,rewriteFramesAssetPrefixPath:a,experimentalThirdPartyOriginStackFrames:l})),i),release:g.default.env._sentryRelease||on._sentryRelease},e);!function(e){let t=g.default.env._sentryRewritesTunnelPath||oe._sentryRewritesTunnelPath;if(t&&e.dsn){let n=(0,et.dsnFromString)(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],a=r[2],o="".concat(t,"?o=").concat(i,"&p=").concat(n.projectId);a&&(o+="&r=".concat(a)),e.tunnel=o,nq.DEBUG_BUILD&&E.debug.log('Tunneling events to "'.concat(o,'"'))}else nq.DEBUG_BUILD&&E.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(u),b(u,"nextjs",["nextjs","react"]),u.ignoreSpans=[...u.ignoreSpans||[],/^\/404$/,new RegExp("^".concat(aJ,"$"))],b(n=(0,v._)({}
2,u),"react"),(0,T.setContext)("react",{version:nG.version}),r=function(){var e;let t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!n.skipBrowserExtensionCheck&&!!function(){var e;if(void 0===eX.WINDOW.window)return!1;let t=eX.WINDOW;if(t.nw)return!1;let n=t.chrome||t.browser;if(!(null==n||null==(e=n.runtime)?void 0:e.id))return!1;let r=(0,tr.getLocationHref)();return!(eX.WINDOW===eX.WINDOW.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r))}()&&(t6.DEBUG_BUILD&&(0,E.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),i=null==n.defaultIntegrations?nF():n.defaultIntegrations,a=(0,R._)((0,v._)({},n),{enabled:!r&&n.enabled,stackParser:(0,G.stackParserFromStackParserOptions)(n.stackParser||nL),integrations:function(e){let t,n,r=e.defaultIntegrations||[],i=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(i))t=[...r,...i];else if("function"==typeof i){let e=i(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)}({integrations:n.integrations,defaultIntegrations:i}),transport:n.transport||nk});return(0,z.setNormalizeStringifier)(nW),!0===a.debug&&(N.DEBUG_BUILD?E.debug.enable():(0,E.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,I.getCurrentScope)().update(a.initialScope),e=t=new eV(a),(0,I.getCurrentScope)().setClient(e),t.init(),t}(n),(0,z.setNormalizeStringifier)(nH);let c=(e,t)=>{var n,r,i,a;return(a=null==t?void 0:t.originalException,(0,$.isError)(a)&&"string"==typeof a.digest&&a.digest.startsWith("NEXT_REDIRECT;")||(null==(i=e.exception)||null==(r=i.values)||null==(n=r[0])?void 0:n.value)==="NEXT_REDIRECT")?null:e};c.id="NextRedirectErrorFilter",(0,T.addEventProcessor)(c);try{(0,I.getGlobalScope)().setTag("turbopack",!0)}catch(e){}}({dsn:"https://[email protected]/3",tracesSampleRate:.07,environment:"production",beforeSend(e,t){let n=t.originalException,r=n instanceof Error?n.message:String(n);return["Minified React error #418","Minified React error #423","Minified React error #425","Hydration failed","ResizeObserver loop limit exceeded","Failed to fetch","NetworkError when attempting to fetch resource","Failed to read the 'localStorage' property from 'Window'"].some(e=>r.includes(e))?null:e}}),e.s(["onRouterTransitionStart",0,function(e,t){m&&m(e,t)}],522688)},267398,(e,t,n)=>{"use strict";{let n=e.f({"private-next-instrumentation-client":{id:()=>522688,module:()=>e.r(522688)}})("private-next-instrumentation-client");t.exports=Array.isArray(n)?n:[n]}}]);
3
4//# debugId=af86632c-65b1-9b18-a063-1be50367efd3
5//# sourceMappingURL=18yj4_n4mnntf.js.map

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