1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="76829b9c-0ce1-48fd-84c3-e0eef7f955f2",t._sentryDebugIdIdentifier="sentry-dbid-76829b9c-0ce1-48fd-84c3-e0eef7f955f2")}()}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1557],{85269:function(t,e,n){n.d(e,{X:function(){return r}});let r=!1},30544:function(t,e,n){n.d(e,{PJ:function(){return p},Wz:function(){return f},m9:function(){return c},re:function(){return function t(e,n={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t){if("function"==typeof t)return t;return e}if((0,i.HK)(e))return e}catch{return e}let r=function(...r){try{let i=r.map(e=>t(e,n));return e.apply(this,i)}catch(t){throw l++,setTimeout(()=>{l--}),(0,a.$e)(e=>{e.addEventProcessor(t=>(n.mechanism&&((0,s.Db)(t,void 0,void 0),(0,s.EG)(t,n.mechanism)),t.extra={...t.extra,arguments:r},t)),(0,o.Tb)(t)}),t}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}(0,i.$Q)(r,e),(0,i.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}}});var r=n(51597),i=n(93820),a=n(73076),s=n(34156),o=n(39424),u=n(38143);let c=r.GLOBAL_OBJ,l=0;function f(){return l>0}function p(){let t=(0,u.l4)(),{referrer:e}=c.document||{},{userAgent:n}=c.navigator||{};return{url:t,headers:{...e&&{Referer:e},...n&&{"User-Agent":n}}}}},7913:function(t,e,n){n.d(e,{f:function(){return E}});var r=n(5824),i=n(93820),a=n(51597),s=n(91499);function o(){"console"in a.GLOBAL_OBJ&&r.RU.forEach(function(t){t in a.GLOBAL_OBJ.console&&(0,i.hl)(a.GLOBAL_OBJ.console,t,function(e){return r.LD[t]=e,function(...e){(0,s.rK)("console",{args:e,level:t});let n=r.LD[t];n?.apply(a.GLOBAL_OBJ.console,e)}})})}var u=n(1231),c=n(58942),l=n(73076),f=n(90772);function p(t,e){let n=(0,l.s3)(),i=(0,l.aF)();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:s=100}=n.getOptions();if(s<=0)return;let o={timestamp:(0,f.yW)(),...t},u=a?(0,r.Cf)(()=>a(o,e)):o;null!==u&&(n.emit&&n.emit("beforeAddBreadcrumb",u,e),i.addBreadcrumb(u,s))}var d=n(34156),h=n(38143),m=n(57360);function g(t){if(void 0!==t)return t>=400&&t<500?"warning":t>=500?"error":void 0}var _=n(68325),y=n(25460),v=n(67127),b=n(99579),S=n(85269),x=n(30544);let E=(0,c._I)((t={})=>{let e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){var n;e.console&&function(t){let e="console";(0,s.Hj)(e,t),(0,s.D2)(e,o)}(function(e){var n;if((0,l.s3)()!==t)return;let r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(n=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log",message:(0,m.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;r.message=`Assertion failed: ${(0,m.nK)(e.args.slice(1)," ")||"console.assert"}`,r.data.arguments=e.args.slice(1)}p(r,{input:e.args,level:e.level})}),e.dom&&(0,y.O)((n=e.dom,function(e){let i,a;if((0,l.s3)()!==t)return;let s="object"==typeof n?n.serializeAttribute:void 0,o="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;o&&o>1024&&(S.X&&r.fF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof s&&(s=[s]);try{let t=e.event,n=t&&t.target?t.target:t;i=(0,h.Rt)(n,{keyAttrs:s,maxStringLength:o}),a=(0,h.iY)(n)}catch{i="<unknown>"}if(0===i.length)return;let u={category:`ui.${e.name}`,message:i};a&&(u.data={"ui.component_name":a}),p(u,{event:e.event,name:e.name,global:e.global})})),e.xhr&&(0,v.UK)(function(e){if((0,l.s3)()!==t)return;let{startTimestamp:n,endTimestamp:r}=e,i=e.xhr[v.xU];if(!n||!r||!i)return;let{method:a,url:s,status_code:o,body:u}=i,c={xhr:e.xhr,input:u,startTimestamp:n,endTimestamp:r},f={category:"xhr",data:{method:a,url:s,status_code:o},type:"http",level:g(o)};t.emit("beforeOutgoingRequestBreadcrumb",f,c),p(f,c)}),e.fetch&&(0,u.Uf)(function(e){if((0,l.s3)()!==t)return;let{startTimestamp:n,endTimestamp:r}=e;
1if(!(!r||e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method)){if(e.fetchData.method,e.fetchData.url,e.error){let i=e.fetchData,a={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:i,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",s,a),p(s,a)}else{let i=e.response,a={...e.fetchData,status_code:i?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,i?.status;let s={input:e.args,response:i,startTimestamp:n,endTimestamp:r},o={category:"fetch",data:a,type:"http",level:g(a.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",o,s),p(o,s)}}}),e.history&&(0,b.a)(function(e){if((0,l.s3)()!==t)return;let n=e.from,r=e.to,i=(0,_.en)(x.m9.location.href),a=n?(0,_.en)(n):void 0,s=(0,_.en)(r);a?.path||(a=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),p({category:"navigation",data:{from:n,to:r}})}),e.sentry&&t.on("beforeSendEvent",function(e){(0,l.s3)()===t&&p({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,d.jH)(e)},{event:e})})}}})},74008:function(t,e,n){n.d(e,{E8:function(){return tn},og:function(){return ti},Wo:function(){return tr}});var r=n(73076),i=n(94223),a=n(31218),s=n(5824),o=n(51072),u=n(91819),c=n(89366),l=n(81585),f=n(90772),p=n(72123),d=n(58915),h=n(7568),m=n(69737),g=n(83268);let _={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function y(t,e={}){let n;let y=new Map,v=!1,b="externalFinish",S=!e.disableAutoFinish,x=[],{idleTimeout:E=_.idleTimeout,finalTimeout:w=_.finalTimeout,childSpanTimeout:O=_.childSpanTimeout,beforeSpanEnd:T,trimIdleSpanEndTimestamp:$=!0}=e,k=(0,r.s3)();if(!k||!(0,o.f)()){let t=new d.b,e={sample_rate:"0",sampled:"false",...(0,p.jC)(t)};return(0,p.Lh)(t,e),t}let A=(0,r.nZ)(),L=(0,l.HN)(),R=function(t){let e=(0,g.qp)(t);return(0,c.D)((0,r.nZ)(),e),i.X&&s.fF.log("[Tracing] Started span is an idle span"),e}(t);function I(){n&&(clearTimeout(n),n=void 0)}function D(t){I(),n=setTimeout(()=>{!v&&0===y.size&&S&&(b="idleTimeout",R.end(t))},E)}function P(t){n=setTimeout(()=>{!v&&S&&(b="heartbeatFailed",R.end(t))},O)}function j(t){v=!0,y.clear(),x.forEach(t=>t()),(0,c.D)(A,L);let e=(0,l.XU)(R),{start_timestamp:n}=e;if(!n)return;e.data[a.ju]||R.setAttribute(a.ju,b);let r=e.status;r&&"unknown"!==r||R.setStatus({code:m.OP}),s.fF.log(`[Tracing] Idle span "${e.op}" finished`);let o=(0,l.Dp)(R).filter(t=>t!==R),u=0;o.forEach(e=>{e.isRecording()&&(e.setStatus({code:m.jt,message:"cancelled"}),e.end(t),i.X&&s.fF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(e,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,l.XU)(e),a=r<=t,o=n-r<=(w+E)/1e3;if(i.X){let t=JSON.stringify(e,void 0,2);a?o||s.fF.log("[Tracing] Discarding span since it finished after idle span final timeout",t):s.fF.log("[Tracing] Discarding span since it happened after idle span was finished",t)}(!o||!a)&&((0,l.ed)(R,e),u++)}),u>0&&R.setAttribute("sentry.idle_span_discarded_spans",u)}return R.end=new Proxy(R.end,{apply(t,e,n){if(T&&T(R),e instanceof d.b)return;let[r,...i]=n,a=r||(0,f.ph)(),s=(0,l.$k)(a),o=(0,l.Dp)(R).filter(t=>t!==R),c=(0,l.XU)(R);if(!o.length||!$)return j(s),Reflect.apply(t,e,[s,...i]);let p=k.getOptions().ignoreSpans,h=o?.reduce((t,e)=>{let n=l.XU(e);return!n.timestamp||p&&u.l(n,p)?t:t?Math.max(t,n.timestamp):n.timestamp},void 0),m=c.start_timestamp,g=Math.min(m?m+w/1e3:1/0,Math.max(m||-1/0,Math.min(s,h||1/0)));return j(g),Reflect.apply(t,e,[g,...i])}}),x.push(k.on("spanStart",t=>{if(!(v||t===R||(0,l.XU)(t).timestamp||t instanceof h.s&&t.isStandaloneSpan())&&(0,l.Dp)(R).includes(t)){var e;e=t.spanContext().spanId,I(),y.set(e,!0),P((0,f.ph)()+O/1e3)}})),x.push(k.on("spanEnd",t=>{var e;v||(e=t.spanContext().spanId,y.has(e)&&y.delete(e),0===y.size&&D((0,f.ph)()+E/1e3))})),x.push(k.on("idleSpanEnableAutoFinish",t=>{t===R&&(S=!0,D(),y.size&&P())})),e.disableAutoFinish||D(),setTimeout(()=>{v||(R.setStatus({code:m.jt,message:"deadline_exceeded"}),b="finalTimeout",R.end())},w),R}var v=n(21368),b=n(89902);let S=!1;var x=n(51597),E=n(8151),w=n(32616),O=n(38143),T=n(68325),$=n(93820),k=n(71281),A=n(33344),L=n(17292),R=n(99579),I=n(85269),D=n(30544);let P="sentry_previous_trace";function j(t){return 1===t.traceFlags}var C=n(1231),F=n(41745),N=n(15197),M=n(60811),X=n(13533),B=n(39424);function J(t={}){let e=t.client||(0,r.s3)();if(!(0,B._k)()||!e)return{};let n=(0,X.cu)(),i=(0,M.G)(n);if(i.getTraceData)return i.getTraceData(t);let a=t.scope||(0,r.nZ)(),o=t.span||(0,l.HN)(),u=o?(0,l.Hb)(o):function(t){let{traceId:e,sampled:n,propagationSpanId:r}=t.getPropagationContext();return(0,w.$p)(e,r,n)}(a),c=o?(0,p.jC)(o):(0,p.CG)(e,a),f=(0,N.IQ)(c);if(!w.Ke.test(u))return s.fF.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let d={"sentry-trace":u,baggage:f};return t.propagateTraceparent&&(d.traceparent=o?(0,l.jN)(o):function(t){let{traceId:e,sampled:n,propagationSpanId:r}=t.getPropagationContext();return(0,w.i7)(e,r,n)}(a)),d}function U(t){return t.split(",").some(t=>t.trim().startsWith(N.lq))}
1var H=n(57360),G=n(67127),W=n(66749),q=n(36374),Z=n(13677);function z(t){try{return new URL(t,D.m9.location.origin).href}catch{return}}function Y(t){try{return new Headers(t)}catch{return}}let K=new WeakMap,V=new Map,Q={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function tt(t){let{url:e}=(0,l.XU)(t).data;if(!e||"string"!=typeof e)return;let n=(0,W._j)("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(e)&&(t.setAttributes((0,q._)(r)),setTimeout(n))})})}let te={..._,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...Q},tn=(t={})=>{let e,n,u;let c={name:void 0,source:void 0},h=D.m9.document,{enableInp:_,enableElementTiming:N,enableLongTask:M,enableLongAnimationFrame:X,_experiments:{enableInteractions:B,enableStandaloneClsSpans:W,enableStandaloneLcpSpans:q},beforeStartSpan:tn,idleTimeout:to,finalTimeout:tu,childSpanTimeout:tc,markBackgroundSpan:tl,traceFetch:tf,traceXHR:tp,trackFetchStreamPerformance:td,shouldCreateSpanForRequest:th,enableHTTPTimings:tm,ignoreResourceSpans:tg,ignorePerformanceApiSpans:t_,instrumentPageLoad:ty,instrumentNavigation:tv,detectRedirects:tb,linkPreviousTrace:tS,consistentTraceSampling:tx,enableReportPageLoaded:tE,onRequestSpanStart:tw,onRequestSpanEnd:tO}={...te,...t};function tT(t,n,i=!0){let s="pageload"===n.op,o=n.name,d=tn?tn(n):n,m=d.attributes||{};if(o!==d.name&&(m[a.Zj]="custom",d.attributes=m),!i){let t=(0,f.yW)();(0,g.qp)({...d,startTime:t}).end(t);return}c.name=d.name,c.source=m[a.Zj];let _=y(d,{idleTimeout:to,finalTimeout:tu,childSpanTimeout:tc,disableAutoFinish:s,beforeSpanEnd:n=>{var i;e?.(),(0,k.f7)(n,{recordClsOnPageloadSpan:!W,recordLcpOnPageloadSpan:!q,ignoreResourceSpans:tg,ignorePerformanceApiSpans:t_}),i=void 0,(0,$.xp)(t,ts,i);let a=(0,r.nZ)(),o=a.getPropagationContext();a.setPropagationContext({...o,traceId:_.spanContext().traceId,sampled:(0,l.Tt)(_),dsc:(0,p.jC)(n)}),s&&(u=void 0)},trimIdleSpanEndTimestamp:!tE});function v(){h&&["interactive","complete"].includes(h.readyState)&&t.emit("idleSpanEnableAutoFinish",_)}s&&tE&&(u=_),(0,$.xp)(t,ts,_),s&&!tE&&h&&(h.addEventListener("readystatechange",()=>{v()}),v())}return{name:"BrowserTracing",setup(t){if(!function(){S||(t.tag="sentry_tracingErrorCallback",S=!0,(0,v.V)(t),(0,b.h)(t));function t(){let t=(0,l.HN)(),e=t&&(0,l.Gx)(t);if(e){let t="internal_error";i.X&&s.fF.log(`[Tracing] Root span: ${t} -> Global error occurred`),e.setStatus({code:m.jt,message:t})}}}(),e=(0,k.PR)({recordClsStandaloneSpans:W||!1,recordLcpStandaloneSpans:q||!1,client:t}),_&&(0,A.NR)(),N&&(0,L.c)(),X&&x.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?(0,k.Jk)():M&&(0,k.Fv)(),B&&(0,k.sn)(),tb&&h){let t=()=>{n=(0,f.ph)()};addEventListener("click",t,{capture:!0}),addEventListener("keydown",t,{capture:!0,passive:!0})}function c(){let e=t[ts];e&&!(0,l.XU)(e).timestamp&&(I.X&&s.fF.log(`[Tracing] Finishing current active span with op: ${(0,l.XU)(e).op}`),e.setAttribute(a.ju,"cancelled"),e.end())}t.on("startNavigationSpan",(e,i)=>{if((0,r.s3)()!==t)return;if(i?.isRedirect){I.X&&s.fF.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),tT(t,{op:"navigation.redirect",...e},!1);return}n=void 0,c(),(0,r.aF)().setPropagationContext({traceId:(0,E.H)(),sampleRand:Math.random(),propagationSpanId:(0,o.f)()?void 0:(0,E.M)()});let a=(0,r.nZ)();a.setPropagationContext({traceId:(0,E.H)(),sampleRand:Math.random(),propagationSpanId:(0,o.f)()?void 0:(0,E.M)()}),a.setSDKProcessingMetadata({normalizedRequest:void 0}),tT(t,{op:"navigation",...e,parentSpan:null,forceTransaction:!0})}),t.on("startPageLoadSpan",(e,n={})=>
1{if((0,r.s3)()!==t)return;c();let i=n.sentryTrace||ta("sentry-trace"),a=n.baggage||ta("baggage"),s=(0,w.pT)(i,a),u=(0,r.nZ)();u.setPropagationContext(s),(0,o.f)()||(u.getPropagationContext().propagationSpanId=(0,E.M)()),u.setSDKProcessingMetadata({normalizedRequest:(0,D.PJ)()}),tT(t,{op:"pageload",...e})}),t.on("endPageloadSpan",()=>{tE&&u&&(u.setAttribute(a.ju,"reportPageLoaded"),u.end())})},afterAllSetup(t){let e,i=(0,O.l4)();if("off"!==tS&&function(t,{linkPreviousTrace:e,consistentTraceSampling:n}){let i="session-storage"===e,o=i?function(){try{let t=D.m9.sessionStorage?.getItem(P);return JSON.parse(t)}catch{return}}():void 0;t.on("spanStart",t=>{if((0,l.Gx)(t)!==t)return;let e=(0,r.nZ)().getPropagationContext();o=function(t,e,n){let r=(0,l.XU)(e),i={spanContext:e.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[a.TE])}catch{return 0}}(),sampleRand:n.sampleRand};if(!t)return i;let o=t.spanContext;return o.traceId===r.trace_id?t:(Date.now()/1e3-t.startTimestamp<=3600&&(I.X&&s.fF.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...e.spanContext()})}\``),e.addLink({context:o,attributes:{[a.lH]:"previous_trace"}}),e.setAttribute("sentry.previous_trace",`${o.traceId}-${o.spanId}-${j(o)?1:0}`)),i)}(o,t,e),i&&function(t){try{D.m9.sessionStorage.setItem(P,JSON.stringify(t))}catch(t){I.X&&s.fF.warn("Could not store previous trace in sessionStorage",t)}}(o)});let u=!0;n&&t.on("beforeSampling",t=>{if(!o)return;let e=(0,r.nZ)(),n=e.getPropagationContext();if(u&&n.parentSpanId){u=!1;return}e.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(o.sampleRate),sampled:String(j(o.spanContext))},sampleRand:o.sampleRand}),t.parentSampled=j(o.spanContext),t.parentSampleRate=o.sampleRate,t.spanAttributes={...t.spanAttributes,[a.iT]:o.sampleRate}})}(t,{linkPreviousTrace:tS,consistentTraceSampling:tx}),D.m9.location){if(ty){let e=(0,f.Z1)();tr(t,{name:D.m9.location.pathname,startTime:e?e/1e3:void 0,attributes:{[a.Zj]:"url",[a.S3]:"auto.pageload.browser"}})}tv&&(0,R.a)(({to:e,from:r})=>{if(void 0===r&&i?.indexOf(e)!==-1){i=void 0;return}i=void 0;let s=(0,T.gk)(e),o=t[ts],u=o&&tb&&function(t,e){let n=(0,l.XU)(t),r=(0,f.yW)();return!(r-n.start_timestamp>1.5)&&(!e||!(r-e<=1.5))}(o,n);ti(t,{name:s?.pathname||D.m9.location.pathname,attributes:{[a.Zj]:"url",[a.S3]:"auto.navigation.browser"}},{url:e,isRedirect:u})})}tl&&(D.m9.document?D.m9.document.addEventListener("visibilitychange",()=>{let t=(0,l.HN)();if(!t)return;let e=(0,l.Gx)(t);if(D.m9.document.hidden&&e){let t="cancelled",{op:n,status:r}=(0,l.XU)(e);I.X&&s.fF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus({code:m.jt,message:t}),e.setAttribute("sentry.cancellation_reason","document.hidden"),e.end()}}):I.X&&s.fF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),B&&D.m9.document&&addEventListener("click",()=>{let n="ui.action.click",r=t[ts];if(r&&["navigation","pageload"].includes((0,l.XU)(r).op)){I.X&&s.fF.warn(`[Tracing] Did not create ${n} span because a pageload or navigation span is in progress.`);return}if(e&&(e.setAttribute(a.ju,"interactionInterrupted"),e.end(),e=void 0),!c.name){I.X&&s.fF.warn(`[Tracing] Did not create ${n} transaction because _latestRouteName is missing.`);return}e=y({name:c.name,op:n,attributes:{[a.Zj]:c.source||"url"}},{idleTimeout:to,finalTimeout:tu,childSpanTimeout:tc})},{capture:!0}),_&&(0,A.D1)(),function(t,e){let{traceFetch:n,traceXHR:i,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:u,enableHTTPTimings:c,tracePropagationTargets:f,onRequestSpanStart:p,onRequestSpanEnd:h}={...Q,...e},_="function"==typeof u?u:t=>!0,y=t=>(function(t,e){let n=(0,O.l4)();if(n){let r,i;try{r=new URL(t,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return e?(0,H.U0)(r.toString(),e)||a&&(0,H.U0)(r.pathname,e):a}{let n=!!t.match(/^\/(?!\/)/);return e?(0,H.U0)(t,e):n}})(t,f),v={},b=t.getOptions().propagateTraceparent;n&&(t.addEventProcessor(t=>("transaction"===t.type&&t.spans&&t.spans.forEach(t=>{if("http.client"===t.op){let e=V.get(t.span_id);e&&(t.timestamp=e/1e3,V.delete(t.span_id))}}),t)),s&&(0,C.cf)(t=>{if(t.response){let e=K.get(t.response);e&&t.endTimestamp&&V.set(e,t.endTimestamp)}}),(0,C.Uf)(t=>{let e=function(t,e,n,i,s){if(!t.fetchData)return;let{method:u,url:c}=t.fetchData,f=(0,o.f)()&&e(c);if(t.endTimestamp&&f){let e=t.fetchData.__span;if(!e)return;let n=i[e];n&&(function(t,e){if(e.response){(0,m.Q0)(t,e.response.status);let n=e.response?.headers?.get("content-length");if(n){let e=parseInt(n);e>0&&t.setAttribute("http.response_content_length",e)}}else e.error&&t.setStatus({code:m.jt,message:"internal_error"});t.end()}(n,t),function(t,e,n){let r="object"==typeof n&&null!==n?n.onRequestSpanEnd:void 0;r?.(t,{headers:e.response?.headers,error:e.error})}(n,t,s),delete i[e]);return}let{spanOrigin:p="auto.http.browser",propagateTraceparent:h=!1}="object"==typeof s?s:{spanOrigin:s},_=!!(0,l.HN)(),y=f&&_?(0,g.qp)(function(t,e,n){let r=(0,T.gk)(t);return{name:r?`${e} ${(0,T.Qq)(r)}`:e,attributes:function(t,e,n,r){let i={url:t,type:"fetch","http.method":n,[a.S3]:r,[a.$J]:"http.client"};return e&&((0,T.DR)(e)||(i["http.url"]=e.href,i["server.address"]=e.host),e.search&&(i["http.query"]=e.search),e.hash&&(i["http.fragment"]=e.hash)),i}(t,r,e,n)}}(c,u,p)):new d.b;if(t.fetchData.__span=y.spanContext().spanId,i[y.spanContext().spanId]=y,n(t.fetchData.url)){let e=t.args[0],n=t.args[1]||{},r=function(t,e,n,r){let i=J({span:n,propagateTraceparent:r}),a=i["sentry-trace"],s=i.baggage,o=i.traceparent;if(!a)return;let u=e.headers||((0,F.gJ)(t)?t.headers:void 0);if(!u)return{...i};if("undefined"!=typeof Headers&&(0,F.V9)(u,Headers)){let t=new Headers(u);if(t.get("sentry-trace")||t.set("sentry-trace",a),r&&o&&!t.get("traceparent")&&t.set("traceparent",o),s){let e=t.get("baggage");e?U(e)||t.set("baggage",`${e},${s}`):t.set("baggage",s)}return t}if(Array.isArray(u)){let t=[...u];u.find(t=>
1"sentry-trace"===t[0])||t.push(["sentry-trace",a]),r&&o&&!u.find(t=>"traceparent"===t[0])&&t.push(["traceparent",o]);let e=u.find(t=>"baggage"===t[0]&&U(t[1]));return s&&!e&&t.push(["baggage",s]),t}{let t="sentry-trace"in u?u["sentry-trace"]:void 0,e="traceparent"in u?u.traceparent:void 0,n="baggage"in u?u.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],c=n&&(Array.isArray(n)?n.find(t=>U(t)):U(n));s&&!c&&i.push(s);let l={...u,"sentry-trace":t??a,baggage:i.length>0?i.join(","):void 0};return r&&o&&!e&&(l.traceparent=o),l}}(e,n,(0,o.f)()&&_?y:void 0,h);r&&(t.args[1]=n,n.headers=r)}let v=(0,r.s3)();if(v){let e={input:t.args,response:t.response,startTimestamp:t.startTimestamp,endTimestamp:t.endTimestamp};v.emit("beforeOutgoingRequestSpan",y,e)}return y}(t,_,y,v,{propagateTraceparent:b,onRequestSpanEnd:h});if(t.response&&t.fetchData.__span&&K.set(t.response,t.fetchData.__span),e){let n=z(t.fetchData.url),r=n?(0,T.en)(n).host:void 0;e.setAttributes({"http.url":n,"server.address":r}),c&&tt(e),p?.(e,{headers:t.headers})}})),i&&(0,G.UK)(t=>{let e=function(t,e,n,i,s,u){let c=t.xhr,f=c?.[G.xU];if(!c||c.__sentry_own_request__||!f)return;let{url:p,method:h}=f,_=(0,o.f)()&&e(p);if(t.endTimestamp&&_){let e=c.__sentry_xhr_span_id__;if(!e)return;let n=i[e];n&&void 0!==f.status_code&&((0,m.Q0)(n,f.status_code),n.end(),u?.(n,{headers:Y(Z.PP(c)),error:t.error}),delete i[e]);return}let y=z(p),v=y?(0,T.en)(y):(0,T.en)(p),b=(0,T.rt)(p),S=!!(0,l.HN)(),x=_&&S?(0,g.qp)({name:`${h} ${b}`,attributes:{url:p,type:"xhr","http.method":h,"http.url":y,"server.address":v?.host,[a.S3]:"auto.http.browser",[a.$J]:"http.client",...v?.search&&{"http.query":v?.search},...v?.hash&&{"http.fragment":v?.hash}}}):new d.b;c.__sentry_xhr_span_id__=x.spanContext().spanId,i[c.__sentry_xhr_span_id__]=x,n(p)&&function(t,e,n){let{"sentry-trace":r,baggage:i,traceparent:a}=J({span:e,propagateTraceparent:n});r&&function(t,e,n,r){let i=t.__sentry_xhr_v3__?.request_headers;if(!i?.["sentry-trace"]&&t.setRequestHeader)try{if(t.setRequestHeader("sentry-trace",e),r&&!i?.traceparent&&t.setRequestHeader("traceparent",r),n){let e=i?.baggage;e&&e.split(",").some(t=>t.trim().startsWith("sentry-"))||t.setRequestHeader("baggage",n)}}catch{}}(t,r,i,a)}(c,(0,o.f)()&&S?x:void 0,s);let E=(0,r.s3)();return E&&E.emit("beforeOutgoingRequestSpan",x,t),x}(t,_,y,v,b,h);e&&(c&&tt(e),p?.(e,{headers:Y(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}(t,{traceFetch:tf,traceXHR:tp,trackFetchStreamPerformance:td,tracePropagationTargets:t.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:th,enableHTTPTimings:tm,onRequestSpanStart:tw,onRequestSpanEnd:tO})}}};function tr(t,e,n){t.emit("startPageLoadSpan",e,n),(0,r.nZ)().setTransactionName(e.name);let i=t[ts];return i&&t.emit("afterStartPageLoadSpan",i),i}function ti(t,e,n){let{url:i,isRedirect:a}=n||{};t.emit("beforeStartNavigationSpan",e,{isRedirect:a}),t.emit("startNavigationSpan",e,{isRedirect:a});let s=(0,r.nZ)();return s.setTransactionName(e.name),i&&!a&&s.setSDKProcessingMetadata({normalizedRequest:{...(0,D.PJ)(),url:i}}),t[ts]}function ta(t){let e=D.m9.document,n=e?.querySelector(`meta[name=${t}]`);return n?.getAttribute("content")||void 0}let ts="_sentry_idleSpan"},60811:function(t,e,n){n.d(e,{G:function(){return f}});var r=n(13533),i=n(43927),a=n(41745);class s{constructor(t,e){let n,r;n=t||new i.s,r=e||new i.s,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){let e;let n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return(0,a.J8)(e)?e.then(t=>(this._popScope(),t),t=>{throw this._popScope(),t}):(this._popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function o(){let t=(0,r.cu)(),e=(0,r.qA)(t);return e.stack=e.stack||new s((0,r.YO)("defaultCurrentScope",()=>new i.s),(0,r.YO)("defaultIsolationScope",()=>new i.s))}function u(t){return o().withScope(t)}function c(t,e){let n=o();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function l(t){return o().withScope(()=>t(o().getIsolationScope()))}function f(t){let e=(0,r.qA)(t);return e.acs?e.acs:{withIsolationScope:l,withScope:u,withSetScope:c,withSetIsolationScope:(t,e)=>l(e),getCurrentScope:()=>o().getScope(),getIsolationScope:()=>o().getIsolationScope()}}},13533:function(t,e,n){n.d(e,{YO:function(){return o},cu:function(){return a},qA:function(){return s}});var r=n(39494),i=n(51597);function a(){return s(i.GLOBAL_OBJ),i.GLOBAL_OBJ}function s(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r.J,e[r.J]=e[r.J]||{}}function o(t,e,n=i.GLOBAL_OBJ){let a=n.__SENTRY__=n.__SENTRY__||{},s=a[r.J]=a[r.J]||{};return s[t]||(s[t]=e())}},73243:function(t,e,n){n.d(e,{J:function(){return r}});let r="production"},73076:function(t,e,n){n.d(e,{$e:function(){return l},XX:function(){return p},aF:function(){return u},lW:function(){return c},nZ:function(){return o},s3:function(){return f}});var r=n(60811),i=n(13533),a=n(43927),s=n(8151);function o(){let t=(0,i.cu)();return(0,r.G)(t).getCurrentScope()}function u(){let t=(0,i.cu)();return(0,r.G)(t).getIsolationScope()}function c(){return(0,i.YO)("globalScope",()=>new a.s)}function l(...t){let e=(0,i.cu)(),n=(0,r.G)(e);if(2===t.length){let[e,r]=t;return e?n.withSetScope(e,r):n.withScope(r)}return n.withScope(t[0])}function f(){return o().getClient()}function p(t){let{traceId:e,parentSpanId:n,propagationSpanId:r}=t.getPropagationContext(),i={trace_id:e,span_id:r||(0,s.M)()};return n&&(i.parent_span_id=n),i}},94223:function(t,e,n){n.d(e,{X:function(){return r}});let r=!1},11793:function(t,e,n){n.d(e,{Mq:function(){return c},Q3:function(){return u},uE:function(){return l}});var r=n(72123),i=n(52637),a=n(64004),s=n(91819),o=n(81585);function u(t,e,n,r){let s=(0,a.HY)(n),o={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:(0,i.RA)(e)}},u="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,a.Jd)(o,[u])}function c(t,e,n,r){let i=(0,a.HY)(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return;let n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);let o=(0,a.Cd)(t,i,r,e);delete t.sdkProcessingMetadata;let u=[{type:s},t];return(0,a.Jd)(o,[u])}function l(t,e){let n=(0,r.jC)(t[0]),u=e?.getDsn(),c=e?.getOptions().tunnel,l={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!c&&u&&{dsn:(0,i.RA)(u)}},{beforeSendSpan:f,ignoreSpans:p}=e?.getOptions()||{},d=p?.length?t.filter(t=>!(0,s.l)((0,o.XU)(t),p)):t,h=t.length-d.length;h&&e?.recordDroppedEvent("before_send","span",h);let m=f?t=>{let e=(0,o.XU)(t);return f(e)||((0,o.R6)(),e)}:o.XU,g=[];for(let t of d){let e=m(t);
1e&&g.push((0,a.KQ)(e))}return(0,a.Jd)(l,g)}},39424:function(t,e,n){n.d(e,{Qy:function(){return m},Tb:function(){return c},_k:function(){return h},cg:function(){return v},eN:function(){return f},uT:function(){return l},v:function(){return p},yj:function(){return g},yl:function(){return d}});var r=n(73076),i=n(94223),a=n(10042),s=n(5824),o=n(5312),u=n(51597);function c(t,e){return(0,r.nZ)().captureException(t,(0,o.U0)(e))}function l(t,e){let n="string"==typeof e?e:void 0,i="string"!=typeof e?{captureContext:e}:void 0;return(0,r.nZ)().captureMessage(t,n,i)}function f(t,e){return(0,r.nZ)().captureEvent(t,e)}function p(t,e){(0,r.aF)().setContext(t,e)}async function d(t){let e=(0,r.s3)();return e?e.flush(t):(i.X&&s.fF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function h(){let t=(0,r.s3)();return t?.getOptions().enabled!==!1&&!!t?.getTransport()}function m(t){(0,r.aF)().addEventProcessor(t)}function g(t){let e=(0,r.aF)(),n=(0,r.nZ)(),{userAgent:i}=u.GLOBAL_OBJ.navigator||{},s=(0,a.Hv)({user:n.getUser()||e.getUser(),...i&&{userAgent:i},...t}),o=e.getSession();return o?.status==="ok"&&(0,a.CT)(o,{status:"exited"}),_(),e.setSession(s),s}function _(){let t=(0,r.aF)(),e=(0,r.nZ)().getSession()||t.getSession();e&&(0,a.RJ)(e),y(),t.setSession()}function y(){let t=(0,r.aF)(),e=(0,r.s3)(),n=t.getSession();n&&e&&e.captureSession(n)}function v(t=!1){if(t){_();return}y()}},1231:function(t,e,n){n.d(e,{Uf:function(){return c},cf:function(){return l}});var r=n(41745),i=n(93820),a=n(47977),s=n(90772),o=n(51597),u=n(91499);function c(t,e){let n="fetch";(0,u.Hj)(n,t),(0,u.D2)(n,()=>f(void 0,e))}function l(t){let e="fetch-body-resolved";(0,u.Hj)(e,t),(0,u.D2)(e,()=>f(d))}function f(t,e=!1){(!e||(0,a.t$)())&&(0,i.hl)(o.GLOBAL_OBJ,"fetch",function(e){return function(...n){let a=Error(),{method:c,url:l}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){let[e,n]=t;return{url:m(e),method:h(n,"method")?String(n.method).toUpperCase():(0,r.gJ)(e)&&h(e,"method")?String(e.method).toUpperCase():"GET"}}let e=t[0];return{url:m(e),method:h(e,"method")?String(e.method).toUpperCase():"GET"}}(n),f={args:n,fetchData:{method:c,url:l},startTimestamp:1e3*(0,s.ph)(),virtualError:a,headers:function(t){let[e,n]=t;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,r.gJ)(e))return new Headers(e.headers)}catch{}}(n)};return t||(0,u.rK)("fetch",{...f}),e.apply(o.GLOBAL_OBJ,n).then(async e=>(t?t(e):(0,u.rK)("fetch",{...f,endTimestamp:1e3*(0,s.ph)(),response:e}),e),t=>{if((0,u.rK)("fetch",{...f,endTimestamp:1e3*(0,s.ph)(),error:t}),(0,r.VZ)(t)&&void 0===t.stack&&(t.stack=a.stack,(0,i.xp)(t,"framesToPop",1)),t instanceof TypeError&&("Failed to fetch"===t.message||"Load failed"===t.message||"NetworkError when attempting to fetch resource."===t.message))try{let e=new URL(f.fetchData.url);t.message=`${t.message} (${e.host})`}catch{}throw t})}})}async function p(t,e){if(t?.body){let n=t.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let t;try{t=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(t),i&&(e(),a=!1)}catch{a=!1}finally{clearTimeout(t)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function d(t){let e;try{e=t.clone()}catch{return}p(e,()=>{(0,u.rK)("fetch-body-resolved",{endTimestamp:1e3*(0,s.ph)(),response:t})})}function h(t,e){return!!t&&"object"==typeof t&&!!t[e]}function m(t){return"string"==typeof t?t:t?h(t,"url")?t.url:t.toString?t.toString():"":""}},21368:function(t,e,n){n.d(e,{V:function(){return s}});var r=n(51597),i=n(91499);let a=null;function s(t){let e="error";(0,i.Hj)(e,t),(0,i.D2)(e,o)}function o(){a=r.GLOBAL_OBJ.onerror,r.GLOBAL_OBJ.onerror=function(t,e,n,r,s){return(0,i.rK)("error",{column:r,error:s,line:n,msg:t,url:e}),!!a&&a.apply(this,arguments)},r.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}},89902:function(t,e,n){n.d(e,{h:function(){return s}});var r=n(51597),i=n(91499);let a=null;function s(t){let e="unhandledrejection";(0,i.Hj)(e,t),(0,i.D2)(e,o)}function o(){a=r.GLOBAL_OBJ.onunhandledrejection,r.GLOBAL_OBJ.onunhandledrejection=function(t){return(0,i.rK)("unhandledrejection",t),!a||a.apply(this,arguments)},r.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},91499:function(t,e,n){n.d(e,{D2:function(){return c},Hj:function(){return u},rK:function(){return l}});var r=n(94223),i=n(5824),a=n(99603);let s={},o={};function u(t,e){s[t]=s[t]||[],s[t].push(e)}function c(t,e){if(!o[t]){o[t]=!0;try{e()}catch(e){r.X&&i.fF.error(`Error while instrumenting ${t}`,e)}}}function l(t,e){let n=t&&s[t];if(n)for(let s of n)try{s(e)}catch(e){r.X&&i.fF.error(`Error while triggering instrumentation handler. 2Type: ${t} 3Name: ${(0,a.$P)(s)} 4Error:`,e)}}},58942:function(t,e,n){n.d(e,{_I:function(){return l},m7:function(){return c},m8:function(){return s},q4:function(){return o},uf:function(){return u}});var r=n(94223),i=n(5824);let a=[];function s(t){let e;let n=t.defaultIntegrations||[],r=t.integrations;if(n.forEach(t=>{t.isDefaultInstance=!0}),Array.isArray(r))e=[...n,...r];else if("function"==typeof r){let t=r(n);e=Array.isArray(t)?t:[t]}else e=n;return function(t){let e={};return t.forEach(t=>{let{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)}),Object.values(e)}(e)}function o(t,e){let n={};
4return e.forEach(e=>{e&&c(t,e,n)}),n}function u(t,e){for(let n of e)n?.afterAllSetup&&n.afterAllSetup(t)}function c(t,e,n){if(n[e.name]){r.X&&i.fF.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,a.includes(e.name)||"function"!=typeof e.setupOnce||(e.setupOnce(),a.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){let n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(e,r)=>n(e,r,t))}if("function"==typeof e.processEvent){let n=e.processEvent.bind(e),r=Object.assign((e,r)=>n(e,r,t),{id:e.name});t.addEventProcessor(r)}r.X&&i.fF.log(`Integration installed: ${e.name}`)}function l(t){return t}},43927:function(t,e,n){n.d(e,{s:function(){return d}});var r=n(94223),i=n(10042),a=n(5824),s=n(41745),o=n(3613),u=n(34156),c=n(8151),l=n(89366),f=n(57360),p=n(90772);class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,c.H)(),sampleRand:Math.random()}}clone(){let t=new d;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,(0,l.D)(t,(0,l.Y)(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,i.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let e="function"==typeof t?t(this):t,{tags:n,attributes:r,extra:i,user:a,contexts:o,level:u,fingerprint:c=[],propagationContext:l}=(e instanceof d?e.getScopeData():(0,s.PO)(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...o},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),c.length&&(this._fingerprint=c),l&&(this._propagationContext=l),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,(0,l.D)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,c.H)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,p.yW)(),...t,message:t.message?(0,f.$G)(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,l.Y)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=(0,o.T)(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}
4captureException(t,e){let n=e?.event_id||(0,u.DM)();if(!this._client)return r.X&&a.fF.warn("No client configured on scope - will not capture exception!"),n;let i=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},this),n}captureMessage(t,e,n){let i=n?.event_id||(0,u.DM)();if(!this._client)return r.X&&a.fF.warn("No client configured on scope - will not capture message!"),i;let s=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:i},this),i}captureEvent(t,e){let n=e?.event_id||(0,u.DM)();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):r.X&&a.fF.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}},31218:function(t,e,n){n.d(e,{$J:function(){return s},E1:function(){return c},JQ:function(){return d},S3:function(){return o},TE:function(){return i},Wb:function(){return l},Zj:function(){return r},iT:function(){return a},ju:function(){return u},lH:function(){return h},p6:function(){return p},xF:function(){return f}});let r="sentry.source",i="sentry.sample_rate",a="sentry.previous_trace_sample_rate",s="sentry.op",o="sentry.origin",u="sentry.idle_span_finish_reason",c="sentry.measurement_unit",l="sentry.measurement_value",f="sentry.custom_span_name",p="sentry.profile_id",d="sentry.exclusive_time",h="sentry.link.type"},10042:function(t,e,n){n.d(e,{CT:function(){return s},Hv:function(){return a},RJ:function(){return o}});var r=n(34156),i=n(90772);function a(t){let e=(0,i.ph)(),n={sid:(0,r.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return t&&s(n,t),n}function s(t,e={}){if(!e.user||(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,i.ph)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,r.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function o(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),s(t,n)}},72123:function(t,e,n){n.d(e,{CG:function(){return m},Lh:function(){return d},jC:function(){return g}});var r=n(73243),i=n(73076),a=n(31218),s=n(15197),o=n(52637),u=n(51072),c=n(93820),l=n(81585),f=n(96515);let p="_frozenDsc";function d(t,e){(0,c.xp)(t,p,e)}function h(t,e){let n=e.getOptions(),{publicKey:i}=e.getDsn()||{},a={environment:n.environment||r.J,release:n.release,public_key:i,trace_id:t,org_id:(0,o.du)(e)};return e.emit("createDsc",a),a}function m(t,e){let n=e.getPropagationContext();return n.dsc||h(n.traceId,t)}function g(t){let e=(0,i.s3)();if(!e)return{};let n=(0,l.Gx)(t),r=(0,l.XU)(n),o=r.data,c=n.spanContext().traceState,d=c?.get("sentry.sample_rate")??o[a.TE]??o[a.iT];function m(t){return("number"==typeof d||"string"==typeof d)&&(t.sample_rate=`${d}`),t}let g=n[p];if(g)return m(g);let _=c?.get("sentry.dsc"),y=_&&(0,s.EN)(_);if(y)return m(y);let v=h(t.spanContext().traceId,e),b=o[a.Zj],S=r.description;return"url"!==b&&S&&(v.transaction=S),(0,u.f)()&&(v.sampled=String((0,l.Tt)(n)),v.sample_rand=c?.get("sentry.sample_rand")??f.I(n).scope?.getPropagationContext().sampleRand.toString()),m(v),e.emit("createDsc",v,n),v}},71867:function(t,e,n){n.d(e,{Z:function(){return s},w:function(){return o}});var r=n(94223),i=n(5824),a=n(81585);function s(t){if(!r.X)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:s}=(0,a.XU)(t),{spanId:o}=t.spanContext(),u=(0,a.Tt)(t),c=(0,a.Gx)(t),l=c===t,f=`[Tracing] Starting ${u?"sampled":"unsampled"} ${l?"root ":""}span`,p=[`op: ${n}`,`name: ${e}`,`ID: ${o}`];if(s&&p.push(`parent ID: ${s}
4`),!l){let{op:t,description:e}=(0,a.XU)(c);p.push(`root ID: ${c.spanContext().spanId}`),t&&p.push(`root op: ${t}`),e&&p.push(`root description: ${e}`)}i.fF.log(`${f} 5 ${p.join("\n ")}`)}function o(t){if(!r.X)return;let{description:e="< unknown name >",op:n="< unknown op >"}=(0,a.XU)(t),{spanId:s}=t.spanContext(),o=(0,a.Gx)(t)===t,u=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${e}" with ID ${s}`;i.fF.log(u)}},72441:function(t,e,n){n.d(e,{l:function(){return u},o:function(){return o}});var r=n(94223),i=n(31218),a=n(5824),s=n(81585);function o(t,e,n,o=(0,s.HN)()){let u=o&&(0,s.Gx)(o);u&&(r.X&&a.fF.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),u.addEvent(t,{[i.Wb]:e,[i.E1]:n}))}function u(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[i.E1],a=n[i.Wb];"string"==typeof r&&"number"==typeof a&&(e[t.name]={value:a,unit:r})}),e}},58915:function(t,e,n){n.d(e,{b:function(){return a}});var r=n(8151),i=n(81585);class a{constructor(t={}){this._traceId=t.traceId||(0,r.H)(),this._spanId=t.spanId||(0,r.M)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:i.ve}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}},7568:function(t,e,n){n.d(e,{s:function(){return m}});var r=n(73076),i=n(94223),a=n(11793),s=n(31218),o=n(5824),u=n(8151),c=n(81585),l=n(90772),f=n(72123),p=n(71867),d=n(72441),h=n(96515);class m{constructor(t={}){this._traceId=t.traceId||(0,u.H)(),this._spanId=t.spanId||(0,u.M)(),this._startTime=t.startTimestamp||(0,l.ph)(),this._links=t.links,this._attributes={},this.setAttributes({[s.S3]:"manual",[s.$J]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:n?c.i0:c.ve}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._startTime=(0,c.$k)(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(s.Zj,"custom"),this}end(t){this._endTime||(this._endTime=(0,c.$k)(t),(0,p.w)(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[s.$J],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,c._4)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[s.S3],profile_id:this._attributes[s.p6],exclusive_time:this._attributes[s.JQ],measurements:(0,d.l)(this._events),is_segment:this._isStandaloneSpan&&(0,c.Gx)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,c.Gx)(this).spanContext().spanId:void 0,links:(0,c.FF)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){i.X&&o.fF.log("[Tracing] Adding an event to span:",t);let r=g(e)?e:n||(0,l.ph)(),a=g(e)?{}:e||{},s={name:t,time:(0,c.$k)(r),attributes:a};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=(0,r.s3)();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,c.Gx)(this)))return;if(this._isStandaloneSpan){this._sampled?function(t){let e=(0,r.s3)();if(!e)return;let n=t[1];if(!n||0===n.length){e.recordDroppedEvent("before_send","span");return}e.sendEnvelope(t)}((0,a.uE)([this],t)):(i.X&&o.fF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}let e=this._convertSpanToTransaction();e&&((0,h.I)(this).scope||(0,r.nZ)()).captureEvent(e)}_convertSpanToTransaction(){if(!_((0,c.XU)(this)))return;this._name||(i.X&&o.fF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=(0,h.I)(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=(0,c.Dp)(this).filter(t=>t!==this&&!(t instanceof m&&t.isStandaloneSpan())).map(t=>(0,c.XU)(t)).filter(_),a=this._attributes[s.Zj];delete this._attributes[s.xF],r.forEach(t=>{delete t.data[s.xF]});let u={contexts:{trace:(0,c.HR)(this)},spans:r.length>1e3?r.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:e,dynamicSamplingContext:(0,f.jC)(this)},request:n,...a&&{transaction_info:{source:a}}},l=(0,d.l)(this._events);return l&&Object.keys(l).length&&(i.X&&o.fF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),u.measurements=l),u}}function g(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function _(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}},69737:function(t,e,n){n.d(e,{OP:function(){return i},Q0:function(){return s},jt:function(){return a},pq:function(){return r}});let r=0,i=1,a=2;function s(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:i};if(t>=400&&t<500)switch(t){case 401:return{code:a,message:"unauthenticated"};case 403:return{code:a,message:"permission_denied"};case 404:return{code:a,message:"not_found"};case 409:return{code:a,message:"already_exists"};case 413:return{code:a,message:"failed_precondition"};case 429:return{code:a,message:"resource_exhausted"};case 499:return{code:a,message:"cancelled"};default:return{code:a,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:a,message:"unimplemented"};case 503:return{code:a,message:"unavailable"};case 504:return{code:a,message:"deadline_exceeded"}}return{code:a,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}},83268:function(t,e,n){n.d(e,{qp:function(){return x},GK:function(){return S},_d:function(){return E}});var r=n(60811),i=n(13533),a=n(73076),s=n(94223),o=n(31218),u=n(5824),c=n(41745),l=n(51072),f=n(79769),p=n(89366),d=n(81585),h=n(72123),m=n(71867),g=n(58915),_=n(7568),y=n(69737),v=n(96515);let b="__SENTRY_SUPPRESS_TRACING__";function S(t,e){let n=T();if(n.startSpan)return n.startSpan(t,e);let r=O(t),{forceTransaction:i,parentSpan:s,scope:o}=t,u=o?.clone();return(0,a.$e)(u,()=>(void 0!==s?t=>E(s,t):t=>t())(()=>{let n=(0,a.nZ)(),o=k(n,s),u=t.onlyIfParent&&!o?new g.b:w({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return(0,p.D)(n,u),function(t,e,n=()=>{},r=()=>{}){var i;let a;try{a=t()}catch(t){throw e(t),n(),t}return i=a,(0,c.J8)(i)?i.then(t=>(n(),r(t),t),t=>{throw e(t),n(),t}):(n(),r(i),i)}(()=>e(u),()=>{let{status:t}=(0,d.XU)(u);u.isRecording()&&(!t||"ok"===t)&&u.setStatus({code:y.jt,message:"internal_error"})},()=>{u.end()})}))}function x(t){let e=T();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=O(t),{forceTransaction:r,parentSpan:i}=t;return(t.scope?e=>(0,a.$e)(t.scope,e):void 0!==i?t=>E(i,t):t=>t())(()=>{let e=(0,a.nZ)(),s=k(e,i);return t.onlyIfParent&&!s?new g.b:w({parentSpan:s,spanArguments:n,forceTransaction:r,scope:e})})}function E(t,e){let n=T();return n.withActiveSpan?n.withActiveSpan(t,e):(0,a.$e)(n=>((0,p.D)(n,t||void 0),e(n)))}function w({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){let i;if(!(0,l.f)()){let r=new g.b;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...(0,h.jC)(r)};(0,h.Lh)(r,t)}return r}let s=(0,a.aF)();if(t&&!n)i=function(t,e,n){let{spanId:r,traceId:i}=t.spanContext(),s=!e.getScopeData().sdkProcessingMetadata[b]&&(0,d.Tt)(t),o=s?new _.s({...n,parentSpanId:r,traceId:i,sampled:s}):new g.b({traceId:i});(0,d.j5)(t,o);let u=(0,a.s3)();return u&&(u.emit("spanStart",o),n.endTimestamp&&u.emit("spanEnd",o)),o}(t,r,e),(0,d.j5)(t,i);else if(t){let n=(0,h.jC)(t),{traceId:a,spanId:s}=t.spanContext(),o=(0,d.Tt)(t);i=$({traceId:a,parentSpanId:s,...e},r,o),(0,h.Lh)(i,n)}else{let{traceId:t,dsc:n,parentSpanId:a,sampled:o}={...s.getPropagationContext(),...r.getPropagationContext()};i=$({traceId:t,parentSpanId:a,...e},r,o),n&&(0,h.Lh)(i,n)}return(0,m.Z)(i),(0,v.Y)(i,r,s),i}
5function O(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=(0,d.$k)(t.startTime),delete n.startTime,n}return e}function T(){let t=(0,i.cu)();return(0,r.G)(t)}function $(t,e,n){let r=(0,a.s3)(),i=r?.getOptions()||{},{name:c=""}=t,p={spanAttributes:{...t.attributes},spanName:c,parentSampled:n};r?.emit("beforeSampling",p,{decision:!1});let d=p.parentSampled??n,h=p.spanAttributes,m=e.getPropagationContext(),[g,y,v]=e.getScopeData().sdkProcessingMetadata[b]?[!1]:function(t,e,n){let r,i;if(!(0,l.f)(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),i=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,i=!0);let a=(0,f.o)(r);if(void 0===a)return s.X&&u.fF.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!a)return s.X&&u.fF.log(`[Tracing] Discarding transaction because ${"function"==typeof t.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&&s.X&&u.fF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[o,a,i]}(i,{name:c,parentSampled:d,attributes:h,parentSampleRate:(0,f.o)(m.dsc?.sample_rate)},m.sampleRand),S=new _.s({...t,attributes:{[o.Zj]:"custom",[o.TE]:void 0!==y&&v?y:void 0,...h},sampled:g});return!g&&r&&(s.X&&u.fF.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",S),S}function k(t,e){if(e)return e;if(null===e)return;let n=(0,p.Y)(t);if(!n)return;let r=(0,a.s3)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,d.Gx)(n):n}},96515:function(t,e,n){n.d(e,{I:function(){return u},Y:function(){return o}});var r=n(93820),i=n(51597);let a="_sentryScope",s="_sentryIsolationScope";function o(t,e,n){t&&((0,r.xp)(t,s,function(t){try{let e=i.GLOBAL_OBJ.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}(n)),(0,r.xp)(t,a,e))}function u(t){return{scope:t[a],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}(t[s])}}},15197:function(t,e,n){n.d(e,{EN:function(){return u},IQ:function(){return c},XM:function(){return l},lq:function(){return s}});var r=n(94223),i=n(5824),a=n(41745);let s="sentry-",o=/^sentry-/;function u(t){let e=l(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.match(o)&&(t[e.slice(s.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function c(t){if(t)return function(t){if(0!==Object.keys(t).length)return Object.entries(t).reduce((t,[e,n],a)=>{let s=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,o=0===a?s:`${t},${s}`;return o.length>8192?(r.X&&i.fF.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):o},"")}(Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${s}${e}`]=n),t),{}))}function l(t){return t&&((0,a.HD)(t)||Array.isArray(t))?Array.isArray(t)?t.reduce((t,e)=>
5(Object.entries(f(e)).forEach(([e,n])=>{t[e]=n}),t),{}):f(t):void 0}function f(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}},38143:function(t,e,n){n.d(e,{Rt:function(){return a},iY:function(){return o},l4:function(){return s}});var r=n(41745);let i=n(51597).GLOBAL_OBJ;function a(t,e={}){if(!t)return"<unknown>";try{let n,a=t,s=[],o=0,u=0,c=Array.isArray(e)?e:e.keyAttrs,l=!Array.isArray(e)&&e.maxStringLength||80;for(;a&&o++<5&&(n=function(t,e){let n=[];if(!t?.tagName)return"";if(i.HTMLElement&&t instanceof HTMLElement&&t.dataset){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}n.push(t.tagName.toLowerCase());let a=e?.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(a?.length)a.forEach(t=>{n.push(`[${t[0]}="${t[1]}"]`)});else{t.id&&n.push(`#${t.id}`);let e=t.className;if(e&&(0,r.HD)(e))for(let t of e.split(/\s+/))n.push(`.${t}`)}for(let e of["aria-label","type","name","title","alt"]){let r=t.getAttribute(e);r&&n.push(`[${e}="${r}"]`)}return n.join("")}(a,c),"html"!==n&&(!(o>1)||!(u+3*s.length+n.length>=l)));)s.push(n),u+=n.length,a=a.parentNode;return s.reverse().join(" > ")}catch{return"<unknown>"}}function s(){try{return i.document.location.href}catch{return""}}function o(t){if(!i.HTMLElement)return null;let e=t;for(let t=0;t<5&&e;t++){if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},5824:function(t,e,n){n.d(e,{Cf:function(){return u},LD:function(){return o},RU:function(){return s},fF:function(){return p}});var r=n(13533),i=n(94223),a=n(51597);let s=["debug","info","warn","error","log","assert","trace"],o={};function u(t){if(!("console"in a.GLOBAL_OBJ))return t();let e=a.GLOBAL_OBJ.console,n={},r=Object.keys(o);r.forEach(t=>{let r=o[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function c(){return f().enabled}function l(t,...e){i.X&&c()&&u(()=>{a.GLOBAL_OBJ.console[t](`Sentry Logger [${t}]:`,...e)})}function f(){return i.X?(0,r.YO)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let p={enable:function(){f().enabled=!0},disable:function(){f().enabled=!1},isEnabled:c,log:function(...t){l("log",...t)},warn:function(...t){l("warn",...t)},error:function(...t){l("error",...t)}}},52637:function(t,e,n){n.d(e,{RA:function(){return o},U4:function(){return u},du:function(){return l},vK:function(){return f}});var r=n(94223),i=n(5824);let a=/^o(\d+)\./,s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(t,e=!1){let{host:n,path:r,pass:i,port:a,projectId:s,protocol:o,publicKey:u}=t;return`${o}://${u}${e&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${s}`}function u(t){let e=s.exec(t);if(!e){(0,i.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}let[n,r,a="",o="",u="",l=""]=e.slice(1),f="",p=l,d=p.split("/");if(d.length>1&&(f=d.slice(0,-1).join("/"),p=d.pop()),p){let t=p.match(/^\d+/);t&&(p=t[0])}return c({host:o,pass:a,path:f,projectId:p,port:u,protocol:n,publicKey:r})}function c(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function l(t){let e;let n=t.getOptions(),{host:r}=t.getDsn()||{};return n.orgId?e=String(n.orgId):r&&(e=function(t){let e=t.match(a);return e?.[1]}(r)),e}function f(t){let e="string"==typeof t?u(t):c(t);if(e&&function(t){if(!r.X)return!0;let{port:e,projectId:n,protocol:a}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(i.fF.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"===a||"https"===a?!(e&&isNaN(parseInt(e,10)))||(i.fF.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(i.fF.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),!1):(i.fF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}},99107:function(t,e,n){function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(e,{S:function(){return i},n:function(){return r}})},64004:function(t,e,n){n.d(e,{BO:function(){return u},Cd:function(){return _},HY:function(){return g},Jd:function(){return o},KQ:function(){return p},V$:function(){return f},gv:function(){return c},mL:function(){return m},zQ:function(){return d}});var r=n(13533),i=n(52637),a=n(77593),s=n(51597);function o(t,e=[]){return[t,e]}function u(t,e){let[n,r]=t;return[n,[...r,e]]}function c(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function l(t){let e=(0,r.qA)(s.GLOBAL_OBJ);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function f(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[l(r),t]:r.push("string"==typeof t?l(t):t)}for(let t of n){let[e,n]=t;if(i(` 6${JSON.stringify(e)} 7`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify((0,a.Fv)(n))}i(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}function p(t){return[{type:"span"},t]}function d(t){let e="string"==typeof t.data?l(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}let h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function m(t){return h[t]}function g(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function _(t,e,n,r){let a=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:(0,i.RA)(r)},...a&&{trace:a}}}},51072:function(t,e,n){n.d(e,{f:function(){return i}});var r=n(73076);function i(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||r.s3()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}},41745:function(t,e,n){n.d(e,{Cy:function(){return _},HD:function(){return c},J8:function(){return g},Kj:function(){return m},Le:function(){return l},PO:function(){return p},TX:function(){return o},V9:function(){return y},VW:function(){return s},VZ:function(){return i},cO:function(){return d},fm:function(){return u},gJ:function(){return b},kK:function(){return h},pt:function(){return f},y1:function(){return v}});let r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object E
7xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return y(t,Error)}}function a(t,e){return r.call(t)===`[object ${e}]`}function s(t){return a(t,"ErrorEvent")}function o(t){return a(t,"DOMError")}function u(t){return a(t,"DOMException")}function c(t){return a(t,"String")}function l(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function f(t){return null===t||l(t)||"object"!=typeof t&&"function"!=typeof t}function p(t){return a(t,"Object")}function d(t){return"undefined"!=typeof Event&&y(t,Event)}function h(t){return"undefined"!=typeof Element&&y(t,Element)}function m(t){return a(t,"RegExp")}function g(t){return!!(t?.then&&"function"==typeof t.then)}function _(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function y(t,e){try{return t instanceof e}catch{return!1}}function v(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function b(t){return"undefined"!=typeof Request&&y(t,Request)}},48873:function(t,e,n){n.d(e,{j:function(){return s}});var r=n(99107),i=n(34155),a=n(51597);function s(){return"undefined"!=typeof window&&(!(!(0,r.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==i?i:0))||function(){let t=a.GLOBAL_OBJ.process;return t?.type==="renderer"}())}},3613:function(t,e,n){n.d(e,{T:function(){return function t(e,n,r=2){if(!n||"object"!=typeof n||r<=0)return n;if(e&&0===Object.keys(n).length)return e;let i={...e};for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(i[e]=t(i[e],n[e],r-1));return i}}})},34156:function(t,e,n){let r;n.d(e,{DM:function(){return s},Db:function(){return c},EG:function(){return l},YO:function(){return f},jH:function(){return u}});var i=n(93820),a=n(51597);function s(t=function(){let t=a.GLOBAL_OBJ;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return t.randomUUID().replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*Math.random())>>t/4).toString(16))}function o(t){return t.exception?.values?.[0]}function u(t){let{message:e,event_id:n}=t;if(e)return e;let r=o(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=e||""),a.type||(a.type=n||"Error")}function l(t,e){let n=o(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r?.data,...e.data};n.mechanism.data=t}}function f(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{(0,i.xp)(t,"__sentry_captured__",!0)}catch{}return!1}},77593:function(t,e,n){n.d(e,{Fv:function(){return s},Qy:function(){return function t(e,n=3,r=102400){let i=s(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}}});var r=n(41745),i=n(93820),a=n(99603);function s(t,e=100,n=Infinity){try{return function t(e,n,s=Infinity,o=Infinity,u=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let[c,l]=u;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let f=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof global&&e===global)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.y1)(e))return(0,a.Jh)(e);if((0,r.Cy)(e))return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${(0,a.$P)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;let n=function(t){let e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}(e);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(e,n);if(!f.startsWith("[object "))return f;if(n.__sentry_skip_normalization__)return n;let p="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:s;if(0===p)return f.replace("object ","");if(c(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,p-1,o,u)}catch{}let d=Array.isArray(n)?[]:{},h=0,m=(0,i.Sh)(n);for(let e in m){if(!Object.prototype.hasOwnProperty.call(m,e))continue;if(h>=o){d[e]="[MaxProperties ~]";break}let n=m[e];d[e]=t(e,n,p-1,o,u),h++}return l(n),d}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}},93820:function(t,e,n){n.d(e,{$Q:function(){return c},HK:function(){return l},Sh:function(){return f},hl:function(){return o},xp:function(){return u},zf:function(){return h}});var r=n(94223),i=n(38143),a=n(5824),s=n(41745);function o(t,e,n){if(!(e in t))return;let i=t[e];if("function"!=typeof i)return;let s=n(i);"function"==typeof s&&c(s,i);try{t[e]=s}catch{r.X&&a.fF.log(`Failed to replace method "${e}" in object`,t)}}function u(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{r.X&&a.fF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function c(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}catch{}}function l(t){return t.__sentry_original__}function f(t){if((0,s.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,...d(t)};if(!(0,s.cO)(t))return t;{let e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...d(t)};return"undefined"!=typeof CustomEvent&&(0,s.V9)(t,CustomEvent)&&(e.detail=t.detail),e}}function p(t){try{return(0,s.kK)(t)?(0,i.Rt)(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function d(t){if("object"!=typeof t||null===t)return{};{let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}function h(t){let e=Object.keys(f(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}},79769:function(t,e,n){n.d(e,{o:function(){return r}});function r(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}},5312:function(t,e,n){let r,i,a,s;n.d(e,{U0:function(){return O},R:function(){return w}});var o=n(73243),u=n(73076),c=n(94223),l=n(5824),f=n(41745),p=n(80157),d=n(43927),h=n(72123),m=n(3613),g=n(81585);function _(t,e){let{extra:n,tags:r,attributes:i,user:a,contexts:s,level:o,sdkProcessingMetadata:u,breadcrumbs:c,fingerprint:l,eventProcessors:f,attachments:p,propagationContext:d,transactionName:h,span:g}=e;y(t,"extra",n),y(t,"tags",r),y(t,"attributes",i),y(t,"user",a),y(t,"contexts",s),t.sdkProcessingMetadata=(0,m.T)(t.sdkProcessingMetadata,u,2),o&&(t.level=o),h&&(t.transactionName=h),g&&(t.span=g),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext={...t.propagationContext,...d}}function y(t,e,n){t[e]=(0,m.T)(t[e],n,1)}var v=n(51597),b=n(34156),S=n(77593),x=n(57360),E=n(90772);function w(t,e,n,m,y,w){let{normalizeDepth:O=3,normalizeMaxBreadth:T=1e3}
7=t,$={...e,event_id:e.event_id||n.event_id||(0,b.DM)(),timestamp:e.timestamp||(0,E.yW)()},k=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:a}=e;t.environment=t.environment||n||o.J,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let s=t.request;s?.url&&a&&(s.url=(0,x.$G)(s.url,a)),a&&t.exception?.values?.forEach(t=>{t.value&&(t.value=x.$G(t.value,a))})})($,t),k.length>0&&($.sdk=$.sdk||{},$.sdk.integrations=[...$.sdk.integrations||[],...k]),y&&y.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){let n=function(t){let e=v.GLOBAL_OBJ._sentryDebugIds,n=v.GLOBAL_OBJ._debugIds;if(!e&&!n)return{};let o=e?Object.keys(e):[],u=n?Object.keys(n):[];if(s&&o.length===i&&u.length===a)return s;i=o.length,a=u.length,s={},r||(r={});let c=(e,n)=>{for(let i of e){let e=n[i],a=r?.[i];if(a&&s&&e)s[a[0]]=e,r&&(r[i]=[a[0],e]);else if(e){let n=t(i);for(let t=n.length-1;t>=0;t--){let a=n[t],o=a?.filename;if(o&&s&&r){s[o]=e,r[i]=[o,e];break}}}}};return e&&c(o,e),n&&c(u,n),s}(e);t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=n[t.filename])})})}($,t.stackParser);let A=function(t,e){if(!e)return t;let n=t?t.clone():new d.s;return n.update(e),n}(m,n.captureContext);n.mechanism&&(0,b.EG)($,n.mechanism);let L=y?y.getEventProcessors():[],R=(0,u.lW)().getScopeData();w&&_(R,w.getScopeData()),A&&_(R,A.getScopeData());let I=[...n.attachments||[],...R.attachments];return I.length&&(n.attachments=I),!function(t,e){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=e;(function(t,e){let{extra:n,tags:r,user:i,contexts:a,level:s,transactionName:o}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(i).length&&(t.user={...i,...t.user}),Object.keys(a).length&&(t.contexts={...a,...t.contexts}),s&&(t.level=s),o&&"transaction"!==t.type&&(t.transaction=o)})(t,e),r&&function(t,e){t.contexts={trace:(0,g.wy)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:(0,h.jC)(e),...t.sdkProcessingMetadata};let n=(0,g.Gx)(e),r=(0,g.XU)(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,r),t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],n&&(t.fingerprint=t.fingerprint.concat(n)),t.fingerprint.length||delete t.fingerprint,function(t,e){let n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,i),t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...a}}($,R),(function(t,e,n,r=0){try{let i=function t(e,n,r,i){let a=r[i];if(!e||!a)return e;let s=a({...e},n);return(c.X&&null===s&&l.fF.log(`Event processor "${a.id||"?"}" dropped event`),(0,f.J8)(s))?s.then(e=>t(e,n,r,i+1)):t(s,n,r,i+1)}(e,n,t,r);return(0,f.J8)(i)?i:(0,p.WD)(i)}catch(t){return(0,p.$2)(t)}})([...L,...R.eventProcessors],$,n).then(t=>(t&&function(t){let e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof O&&O>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:(0,S.Fv)(t.data,e,n)}}))},...t.user&&{user:(0,S.Fv)(t.user,e,n)},...t.contexts&&{contexts:(0,S.Fv)(t.contexts,e,n)},...t.extra&&{extra:(0,S.Fv)(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,S.Fv)(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:(0,S.Fv)(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,S.Fv)(t.contexts.flags,3,n)),r}(t,O,T):t)}function O(t){return t?t instanceof d.s||"function"==typeof t||Object.keys(t).some(t=>T.includes(t))?{captureContext:t}:t:void 0}let T=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},8151:function(t,e,n){n.d(e,{H:function(){return i},M:function(){return a}});var r=n(34156);function i(){return(0,r.DM)()}function a(){return(0,r.DM)().substring(16)}},91819:function(t,e,n){n.d(e,{l:function(){return o},x:function(){return u}});var r=n(94223),i=n(5824),a=n(57360);function s(t){i.fF.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function o(t,e){if(!e?.length||!t.description)return!1;
7for(let n of e){if("string"==typeof n||n instanceof RegExp){if((0,a.zC)(t.description,n))return r.X&&s(t),!0;continue}if(!n.name&&!n.op)continue;let e=!n.name||(0,a.zC)(t.description,n.name),i=!n.op||t.op&&(0,a.zC)(t.op,n.op);if(e&&i)return r.X&&s(t),!0}return!1}function u(t,e){let n=e.parent_span_id,r=e.span_id;if(n)for(let e of t)e.parent_span_id===r&&(e.parent_span_id=n)}},89366:function(t,e,n){n.d(e,{D:function(){return a},Y:function(){return s}});var r=n(93820);let i="_sentrySpan";function a(t,e){e?(0,r.xp)(t,i,e):delete t[i]}function s(t){return t[i]}},81585:function(t,e,n){n.d(e,{$k:function(){return E},Dp:function(){return I},FF:function(){return x},Gx:function(){return D},HN:function(){return P},HR:function(){return y},Hb:function(){return b},R6:function(){return j},Tt:function(){return T},XU:function(){return O},_4:function(){return $},ed:function(){return R},i0:function(){return g},j5:function(){return L},jN:function(){return S},ve:function(){return m},wy:function(){return v}});var r=n(60811),i=n(13533),a=n(73076),s=n(31218),o=n(69737),u=n(96515),c=n(93820),l=n(8151),f=n(90772),p=n(32616),d=n(5824),h=n(89366);let m=0,g=1,_=!1;function y(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:a,status:s,origin:o,links:u}=O(t);return{parent_span_id:a,span_id:e,trace_id:n,data:r,op:i,status:s,origin:o,links:u}}function v(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:O(t).parent_span_id,a=(0,u.I)(t).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||(0,l.M)():e,trace_id:n}}function b(t){let{traceId:e,spanId:n}=t.spanContext(),r=T(t);return(0,p.$p)(e,n,r)}function S(t){let{traceId:e,spanId:n}=t.spanContext(),r=T(t);return(0,p.i7)(e,n,r)}function x(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:i})=>({span_id:t,trace_id:e,sampled:n===g,attributes:i,...r})):void 0}function E(t){return"number"==typeof t?w(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?w(t.getTime()):(0,f.ph)()}function w(t){return t>9999999999?t/1e3:t}function O(t){if("function"==typeof t.getSpanJSON)return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:r,startTime:i,name:a,endTime:o,status:u,links:c}=t;return{span_id:e,trace_id:n,data:r,description:a,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0,start_timestamp:E(i),timestamp:E(o)||void 0,status:$(u),op:r[s.$J],origin:r[s.S3],links:x(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function T(t){let{traceFlags:e}=t.spanContext();return e===g}function $(t){return t&&t.code!==o.pq?t.code===o.OP?"ok":t.message||"internal_error":void 0}let k="_sentryChildSpans",A="_sentryRootSpan";function L(t,e){let n=t[A]||t;(0,c.xp)(e,A,n),t[k]?t[k].add(e):(0,c.xp)(t,k,new Set([e]))}function R(t,e){t[k]&&t[k].delete(e)}function I(t){let e=new Set;return!function t(n){if(!e.has(n)&&T(n))for(let r of(e.add(n),n[k]?Array.from(n[k]):[]))t(r)}(t),Array.from(e)}function D(t){return t[A]||t}function P(){let t=(0,i.cu)(),e=(0,r.G)(t);return e.getActiveSpan?e.getActiveSpan():(0,h.Y)((0,a.nZ)())}function j(){_||((0,d.Cf)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),_=!0)}},99603:function(t,e,n){n.d(e,{$P:function(){return l},Fi:function(){return r},Fr:function(){return f},Jh:function(){return p},Sq:function(){return o},pE:function(){return s}});let r="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,s=0)=>{let o=[],c=t.split("\n");for(let t=n;t<c.length;t++){let n=c[t];n.length>1024&&(n=n.slice(0,1024));let r=i.test(n)?n.replace(i,"$1"):n;if(!r.match(/\S*Error: /)){for(let t of e){let e=t(r);if(e){o.push(e);break}}if(o.length>=50+s)break}}return function(t){if(!t.length)return[];let e=Array.from(t);return/sentryWrapped/.test(u(e).function||"")&&e.pop(),e.reverse(),a.test(u(e).function||"")&&(e.pop(),a.test(u(e).function||"")&&e.pop()),e.slice(0,50).map(t=>({...t,filename:t.filename||u(e).filename,function:t.function||r}))}(o.slice(s))}}function o(t){return Array.isArray(t)?s(...t):t}function u(t){return t[t.length-1]||{}}let c="<anonymous>";function l(t){try{if(!t||"function"!=typeof t)return c;return t.name||c}catch{return c}}function f(t){let e=t.exception;if(e){let t=[];
7try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}}function p(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}},57360:function(t,e,n){n.d(e,{$G:function(){return a},U0:function(){return u},nK:function(){return s},zC:function(){return o}});var r=n(41745),i=n(99603);function a(t,e=0){return"string"!=typeof t||0===e?t:t.length<=e?t:`${t.slice(0,e)}...`}function s(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let a=t[e];try{(0,r.y1)(a)?n.push((0,i.Jh)(a)):n.push(String(a))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function o(t,e,n=!1){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):!!(0,r.HD)(e)&&(n?t===e:t.includes(e)))}function u(t,e=[],n=!1){return e.some(e=>o(t,e,n))}},47977:function(t,e,n){n.d(e,{Bf:function(){return s},QC:function(){return o},t$:function(){return u}});var r=n(94223),i=n(5824);let a=n(51597).GLOBAL_OBJ;function s(){return"history"in a&&!!a.history}function o(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function u(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in a))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(o(a.fetch))return!0;let t=!1,e=a.document;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow?.fetch&&(t=o(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){r.X&&i.fF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},80157:function(t,e,n){n.d(e,{$2:function(){return a},WD:function(){return i}});var r=n(41745);function i(t){return new s(e=>{e(t)})}function a(t){return new s((e,n)=>{n(t)})}class s{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new s((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new s((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(0===this._state)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){let e=(t,e)=>{if(0===this._state){if((0,r.J8)(e)){e.then(n,i);return}this._state=t,this._value=e,this._executeHandlers()}},n=t=>{e(1,t)},i=t=>{e(2,t)};try{t(n,i)}catch(t){i(t)}}}},90772:function(t,e,n){let r,i;n.d(e,{Z1:function(){return u},ph:function(){return o},yW:function(){return s}});var a=n(51597);function s(){return Date.now()/1e3}function o(){return(r??(r=function(){let{performance:t}=a.GLOBAL_OBJ;if(!t?.now||!t.timeOrigin)return s;let e=t.timeOrigin;return()=>(e+t.now())/1e3}()))()}function u(){return i||(i=function(){let{performance:t}=a.GLOBAL_OBJ;if(!t?.now)return[void 0,"none"];let e=t.now(),n=Date.now(),r=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,i=t.timing?.navigationStart,s="number"==typeof i?Math.abs(i+e-n):36e5;return r<36e5||s<36e5?r<=s?[t.timeOrigin,"timeOrigin"]:[i,"navigationStart"]:[n,"dateNow"]}()),i[0]}},32616:function(t,e,n){n.d(e,{$p:function(){return u},Ke:function(){return s},i7:function(){return c},pT:function(){return o}});var r=n(15197),i=n(79769),a=n(8151);let s=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function o(t,e){let n=function(t){let e;if(!t)return;let n=t.match(s);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),o=(0,r.EN)(e);if(!n?.traceId)return{traceId:(0,a.H)(),sampleRand:Math.random()};let u=function(t,e){let n=(0,i.o)(e?.sample_rand);if(void 0!==n)return n;let r=(0,i.o)(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?Math.random()*r:r+Math.random()*(1-r):Math.random()}(n,o);o&&(o.sample_rand=u.toString());let{traceId:c,parentSpanId:l,parentSampled:f}=n;return{traceId:c,parentSpanId:l,sampled:f,dsc:o||{},sampleRand:u}}function u(t=(0,a.H)(),e=(0,a.M)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function c(t=(0,a.H)(),e=(0,a.M)(),n){return`00-${t}-${e}-${n?"01":"00"}`}},68325:function(t,e,n){function r(t){return"isRelative"in t}function i(t,e){let n=0>=t.indexOf("://")&&0!==t.indexOf("//"),r=e??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(t,r))return;let e=new URL(t,r);if(n)return{isRelative:n,pathname:e.pathname,search:e.search,hash:e.hash};return e}catch{}}function a(t){if(r(t))return t.pathname;let e=new URL(t);return e.search="",e.hash="",["80","443"].includes(e.port)&&(e.port=""),e.password&&(e.password="%filtered%"),e.username&&(e.username="%filtered%"),e.toString()}function s(t){if(!t)return{};let e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};let n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function o(t){return t.split(/[?#]/,1)[0]}n.d(e,{DR:function(){return r},Qq:function(){return a},en:function(){return s},gk:function(){return i},rt:function(){return o}})},39494:function(t,e,n){n.d(e,{J:function(){return r}});let r="10.32.1"},51597:function(t,e,n){n.d(e,{GLOBAL_OBJ:function(){return r}});let r=globalThis},87193:function(t,e,n){n.d(e,{E:function(){return m}});var r=n(74008),i=n(30544),a=n(79883),s=n(5824),o=n(15197),u=n(90772),c=n(31218),l=n(68325),f=n(11163),p=n(36096);let d=f.events?f:f.default,h=i.m9;function m(t={}){let e=(0,r.E8)({...t,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...e){let[n,{headers:r}]=e;return r?.get("next-router-prefetch")&&n?.setAttribute("http.request.prefetch",!0),t.onRequestSpanStart?.(...e)}}),{instrumentPageLoad:n=!0,instrumentNavigation:f=!0}=t;return{...e,afterAllSetup(t){var m;if(f&&(m=t,i.m9.document.getElementById("__NEXT_DATA__")?d.events.on("routeChangeStart",t=>{let e,n;let i=(0,l.rt)(t),a=function(t){let e=h.__BUILD_MANIFEST?.sortedPages;if(e)return e.find(e=>{let n=function(t){let e=t.split("/"),n="";e[e.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(e.pop(),n="(?:/(.+?))?");let r=e.map(t=>t.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${n}(?:/)?$`)}(e);return t.match(n)})}(i);a?(e=a,n="route"):(e=i,n="url"),(0,r.og)(m,{name:e,attributes:{[c.$J]:"navigation",[c.S3]:"auto.navigation.nextjs.pages_router_instrumentation",[c.Zj]:n}})}):(0,a.BH)(m)),e.afterAllSetup(t),n)i.m9.document.getElementById("__NEXT_DATA__")?function(t){let{route:e,params:n,sentryTrace:i,baggage:a}=function(){let t;let e=h.document.getElementById("__NEXT_DATA__");if(e?.innerHTML)try{t=JSON.parse(e.innerHTML)}catch{p.X&&s.fF.warn("Could not extract __NEXT_DATA__")}if(!t)return{};let n={},{page:r,query:i,props:a}=t;return n.route=r,n.params=i,a?.pageProps&&(n.sentryTrace=a.pageProps._sentryTraceData,n.baggage=a.pageProps._sentryBaggage),n}(),l=(0,o.XM)(a),f=e||h.location.pathname;l?.["sentry-transaction"]&&"/_error"===f&&(f=(f=l["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let d=(0,u.Z1)();(0,r.Wo)(t,{name:f,startTime:d?d/1e3:void 0,attributes:{[c.$J]:"pageload",[c.S3]:"auto.pageload.nextjs.pages_router_instrumentation",[c.Zj]:e?"route":"url",...n&&t.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:i,baggage:a})}(t):(0,a.Ro)(t)}}}},32874:function(t,e,n){let r;n.d(e,{S1n:function(){return el}});var i=n(51597),a=n(5824),s=n(39494);function o(t,e,n=[e],r="npm"){let i=t._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${e}`,packages:n.map(t=>({name:`${r}:@sentry/${t}`,version:s.J})),version:s.J}),t._metadata=i}var u=n(39424),c=n(94223),l=n(58942);function f(t){let e=[];t.message&&e.push(t.message);try{let n=t.exception.values[t.exception.values.length-1];n?.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}var p=n(34156),d=n(57360);let h=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],m=(0,l._I)((t={})=>{let e;return{name:"EventFilters",setup(n){e=_(t,n.getOptions())},processEvent:(n,r,i)=>(e||(e=_(t,i.getOptions())),!function(t,e){if(t.type){if("transaction"===t.type&&function(t,e){if(!e?.length)return!1;let n=t.transaction;return!!n&&(0,d.U0)(n,e)}(t,e.ignoreTransactions))return c.X&&a.fF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 8Event: ${(0,p.jH)(t)}`),!0}else{var n;if(n=e.ignoreErrors,n?.length&&f(t).some(t=>(0,d.U0)(t,n)))return c.X&&a.fF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 9Event: ${(0,p.jH)(t)}`),!0;if(t.exception?.values?.length&&!t.message&&!t.exception.values.some(t=>t.stacktrace||t.type&&"Error"!==t.type||t.value))return c.X&&a.fF.warn(`Event dropped due to not having an error message, error type or stacktrace. 10Event: ${(0,p.jH)(t)}`),!0;if(function(t,e){if(!e?.length)return!1;let n=y(t);return!!n&&(0,d.U0)(n,e)}(t,e.denyUrls))return c.X&&a.fF.warn(`Event dropped due to being matched by \`denyUrls\` option. 11Event: ${(0,p.jH)(t)}. 12Url: ${y(t)}`),!0;if(!function(t,e){if(!e?.length)return!0;let n=y(t);return!n||(0,d.U0)(n,e)}(t,e.allowUrls))return c.X&&a.fF.warn(`Event dropped due to not being matched by \`allowUrls\` option. 13Event: ${(0,p.jH)(t)}. 14Url: ${y(t)}`),!0}return!1}(n,e)?n:null)}}),g=(0,l._I)((t={})=>({...m(t),name:"InboundFilters"}));function _(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:h],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function y(t){try{let e=[...t.exception?.values??[]].reverse().find(t=>t.mechanism?.parent_id===void 0&&t.stacktrace?.frames?.length),n=e?.stacktrace?.frames;return n?function(t=[]){for(let e=t.length-1;e>=0;e--){let n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return c.X&&a.fF.error(`Cannot extract url for event ${(0,p.jH)(t)}`),null}}var v=n(73076),b=n(93820);let S=new WeakMap,x=(0,l._I)(()=>({name:"FunctionToString",setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...t){let e=(0,b.HK)(this),n=S.has((0,v.s3)())&&void 0!==e?e:this;return r.apply(n,t)}}catch{}},setup(t){S.set(t,!0)}}));var E=n(99603);let w=(0,l._I)(()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{var n;if((n=t)&&(function(t,e){let n=t.message,r=e.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&T(t,e)&&O(t,e))}(e,n)||function(t,e){let n=$(e),r=$(t);return!!(n&&r&&n.type===r.type&&n.value===r.value&&T(t,e)&&O(t,e))}(e,n)))return c.X&&a.fF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}});function O(t,e){let n=(0,E.Fr)(t),r=(0,E.Fr)(e);if(!n&&!r)return!0;
14if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let t=0;t<r.length;t++){let e=r[t],i=n[t];if(e.filename!==i.filename||e.lineno!==i.lineno||e.colno!==i.colno||e.function!==i.function)return!1}return!0}function T(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function $(t){return t.exception?.values?.[0]}var k=n(73243),A=n(11793),L=n(13533),R=n(52637),I=n(64004);function D(t,e){let n=e??P().get(t)??[];if(0===n.length)return;let r=t.getOptions(),i=function(t,e,n,r){let i={};return e?.sdk&&(i.sdk={name:e.sdk.name,version:e.sdk.version}),n&&r&&(i.dsn=(0,R.RA)(r)),(0,I.Jd)(i,[[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{items:t}]])}(n,r._metadata,r.tunnel,t.getDsn());P().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(i)}function P(){return(0,L.YO)("clientToLogBufferMap",()=>new WeakMap)}function j(t,e){let n=e??C().get(t)??[];if(0===n.length)return;let r=t.getOptions(),i=function(t,e,n,r){let i={};return e?.sdk&&(i.sdk={name:e.sdk.name,version:e.sdk.version}),n&&r&&(i.dsn=(0,R.RA)(r)),(0,I.Jd)(i,[[{type:"trace_metric",item_count:t.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:t}]])}(n,r._metadata,r.tunnel,t.getDsn());C().set(t,[]),t.emit("flushMetrics"),t.sendEnvelope(i)}function C(){return(0,L.YO)("clientToMetricBufferMap",()=>new WeakMap)}
14var F=n(10042),N=n(72123),M=n(80157);let X=Symbol.for("SentryBufferFullError");function B(t=100){let e=new Set;return{get $(){return Array.from(e)},add:function(n){if(!(e.size<t))return(0,M.$2)(X);let r=n();return e.add(r),r.then(()=>{e.delete(r)},()=>{e.delete(r)}),r},drain:function(t){if(!e.size)return(0,M.WD)(!0);let n=Promise.allSettled(Array.from(e)).then(()=>!0);return t?Promise.race([n,new Promise(e=>setTimeout(()=>e(!1),t))]):n}}}var J=n(90772),U=n(41745),H=n(3613),G=n(79769),W=n(5312),q=n(91819),Z=n(81585),z=n(31218);let Y="Not capturing exception because it's already been captured.",K="Discarded session because of missing or non-string release",V=Symbol.for("SentryInternalError"),Q=Symbol.for("SentryDoNotSendEventError");function tt(t){return{message:t,[V]:!0}}function te(t){return{message:t,[Q]:!0}}function tn(t){return!!t&&"object"==typeof t&&V in t}function tr(t){return!!t&&"object"==typeof t&&Q in t}function ti(t,e,n,r,i){let a,s=0,o=!1;t.on(n,()=>{s=0,clearTimeout(a),o=!1}),t.on(e,e=>{(s+=r(e))>=8e5?i(t):o||(o=!0,a=setTimeout(()=>{i(t)},5e3))}),t.on("flush",()=>{i(t)})}class ta{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=B(t.transportOptions?.bufferSize??64),t.dsn?this._dsn=(0,R.vK)(t.dsn):c.X&&a.fF.warn("No DSN provided, client will not send events."),this._dsn){var e,n,r;let i=(e=this._dsn,n=t.tunnel,r=t._metadata?t._metadata.sdk:void 0,n||`${function(t){let e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(t,e){let n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}(e,r)}`);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:i})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&ti(this,"afterCaptureLog","flushLogs",tl,D),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&ti(this,"afterCaptureMetric","flushMetrics",tc,j)}captureException(t,e,n){let r=(0,p.DM)();if((0,p.YO)(t))return c.X&&a.fF.log(Y),r;let i={event_id:r,...e};return this._process(()=>this.eventFromException(t,i).then(t=>this._captureEvent(t,i,n)).then(t=>t),"error"),i.event_id}captureMessage(t,e,n,r){let i={event_id:(0,p.DM)(),...n},a=(0,U.Le)(t)?t:String(t),s=(0,U.pt)(t),o=s?this.eventFromMessage(a,e,i):this.eventFromException(t,i);return this._process(()=>o.then(t=>this._captureEvent(t,i,r)),s?"unknown":"error"),i.event_id}captureEvent(t,e,n){let r=(0,p.DM)();if(e?.originalException&&(0,p.YO)(e.originalException))return c.X&&a.fF.log(Y),r;let i={event_id:r,...e},s=t.sdkProcessingMetadata||{},o=s.capturedSpanScope,u=s.capturedSpanIsolationScope,l=ts(t.type);return this._process(()=>this._captureEvent(t,i,o||n,u),l),i.event_id}captureSession(t){this.sendSession(t),(0,F.CT)(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){let e=this._transport;if(!e)return!0;this.emit("flush");let n=await this._isClientDoneProcessing(t),r=await e.flush(t);return n&&r}async close(t){let e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){let e=this._integrations[t.name];(0,l.m7)(this,t,this._integrations),e||(0,l.uf)(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,A.Mq)(t,this._dsn,this._options._metadata,this._options.tunnel);for(let t of e.attachments||[])n=(0,I.BO)(n,(0,I.zQ)(t));this.sendEnvelope(n).then(e=>
14this.emit("afterSendEvent",t,e))}sendSession(t){let{release:e,environment:n=k.J}=this._options;if("aggregates"in t){let r=t.attrs||{};if(!r.release&&!e){c.X&&a.fF.warn(K);return}r.release=r.release||e,r.environment=r.environment||n,t.attrs=r}else{if(!t.release&&!e){c.X&&a.fF.warn(K);return}t.release=t.release||e,t.environment=t.environment||n}this.emit("beforeSendSession",t);let r=(0,A.Q3)(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,n=1){if(this._options.sendClientReports){let r=`${t}:${e}`;c.X&&a.fF.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(t,e){let n=this._hooks[t]=this._hooks[t]||new Set,r=(...t)=>e(...t);return n.add(r),()=>{n.delete(r)}}emit(t,...e){let n=this._hooks[t];n&&n.forEach(t=>t(...e))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(t){return c.X&&a.fF.error("Error while sending envelope:",t),{}}return c.X&&a.fF.error("Transport disabled"),{}}_setupIntegrations(){let{integrations:t}=this._options;this._integrations=(0,l.q4)(this,t),(0,l.uf)(this,t)}_updateSessionFromEvent(t,e){let n="fatal"===e.level,r=!1,i=e.exception?.values;if(i){for(let t of(r=!0,n=!1,i))if(t.mechanism?.handled===!1){n=!0;break}}let a="ok"===t.status;(a&&0===t.errors||a&&n)&&((0,F.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}async _isClientDoneProcessing(t){let e=0;for(;!t||e<t;){if(await new Promise(t=>setTimeout(t,1)),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,r){let i=this.getOptions(),a=Object.keys(this._integrations);return!e.integrations&&a?.length&&(e.integrations=a),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),(0,W.R)(i,t,e,n,this,r).then(t=>{if(null===t)return t;this.emit("postprocessEvent",t,e),t.contexts={trace:(0,v.XX)(n),...t.contexts};let r=(0,N.CG)(this,n);return t.sdkProcessingMetadata={dynamicSamplingContext:r,...t.sdkProcessingMetadata},t})}_captureEvent(t,e={},n=(0,v.nZ)(),r=(0,v.aF)()){return c.X&&to(t)&&a.fF.log(`Captured error event \`${f(t)[0]||"<unknown>"}\``),this._processEvent(t,e,n,r).then(t=>t.event_id,t=>{c.X&&(tr(t)?a.fF.log(t.message):tn(t)?a.fF.warn(t.message):a.fF.warn(t))})}_processEvent(t,e,n,r){let i=this.getOptions(),{sampleRate:a}=i,s=tu(t),o=to(t),u=t.type||"error",c=`before send for type \`${u}\``,l=void 0===a?void 0:(0,G.o)(a);if(o&&"number"==typeof l&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error"),(0,M.$2)(te(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let f=ts(t.type);return this._prepareEvent(t,e,n,r).then(t=>{if(null===t)throw this.recordDroppedEvent("event_processor",f),te("An event processor returned `null`, will not send event.");return e.data&&!0===e.data.__sentry__?t:function(t,e){let n=`${e} must return \`null\` or a valid event.`;if((0,U.J8)(t))return t.then(t=>{if(!(0,U.PO)(t)&&null!==t)throw tt(n);return t},t=>{throw tt(`${e} rejected with ${t}`)});if(!(0,U.PO)(t)&&null!==t)throw tt(n);return t}(function(t,e,n,r){let{beforeSend:i,beforeSendTransaction:a,beforeSendSpan:s,ignoreSpans:o}=e,u=n;if(to(u)&&i)return i(u,r);if(tu(u)){if(s||o){let e=function(t){let{trace_id:e,parent_span_id:n,span_id:r,status:i,origin:a,data:s,op:o}=t.contexts?.trace??{};return{data:s??{},description:t.transaction,op:o,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:i,timestamp:t.timestamp,trace_id:e??"",origin:a,profile_id:s?.[z.p6],exclusive_time:s?.[z.JQ],measurements:t.measurements,is_segment:!0}}(u);if(o?.length&&(0,q.l)(e,o))return null;if(s){let t=s(e);t?u=(0,H.T)(n,{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[z.p6]:t.profile_id},...t.exclusive_time&&{[z.JQ]:t.exclusive_time}}}},measurements:t.measurements}):(0,Z.R6)()}if(u.spans){let e=[],n=u.spans;for(let t of n){if(o?.length&&(0,q.l)(t,o)){(0,q.x)(n,t);continue}if(s){let n=s(t);n?e.push(n):((0,Z.R6)(),e.push(t))}else e.push(t)}let r=u.spans.length-e.length;r&&t.recordDroppedEvent("before_send","span",r),u.spans=e}}if(a){if(u.spans){let t=u.spans.length;u.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return a(u,r)}}return u}(this,i,t,e),c)}).then(i=>
14{if(null===i){if(this.recordDroppedEvent("before_send",f),s){let e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw te(`${c} returned \`null\`, will not send event.`)}let a=n.getSession()||r.getSession();if(o&&a&&this._updateSessionFromEvent(a,i),s){let t=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}let u=i.transaction_info;return s&&u&&i.transaction!==t.transaction&&(i.transaction_info={...u,source:"custom"}),this.sendEvent(i,e),i}).then(null,t=>{if(tr(t)||tn(t))throw t;throw this.captureException(t,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:t}),tt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 15Reason: ${t}`)})}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then(t=>(this._numProcessing--,t),t=>(this._numProcessing--,t===X&&this.recordDroppedEvent("queue_overflow",e),t))}_clearOutcomes(){let t=this._outcomes;return this._outcomes={},Object.entries(t).map(([t,e])=>{let[n,r]=t.split(":");return{reason:n,category:r,quantity:e}})}_flushOutcomes(){c.X&&a.fF.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){c.X&&a.fF.log("No outcomes to send");return}if(!this._dsn){c.X&&a.fF.log("No dsn provided, will not send outcomes");return}c.X&&a.fF.log("Sending outcomes:",t);let e=function(t,e,n){let r=[{type:"client_report"},{timestamp:(0,J.yW)(),discarded_events:t}];return(0,I.Jd)(e?{dsn:e}:{},[r])}(t,this._options.tunnel&&(0,R.RA)(this._dsn));this.sendEnvelope(e)}}function ts(t){return"replay_event"===t?"replay":t||"error"}function to(t){return void 0===t.type}function tu(t){return"transaction"===t.type}function tc(t){let e=0;return t.name&&(e+=2*t.name.length),(e+=8)+tf(t.attributes)}function tl(t){let e=0;return t.message&&(e+=2*t.message.length),e+tf(t.attributes)}function tf(t){if(!t)return 0;let e=0;return Object.values(t).forEach(t=>{Array.isArray(t)?e+=t.length*tp(t[0]):(0,U.pt)(t)?e+=tp(t):e+=100}),e}function tp(t){return"string"==typeof t?2*t.length:"number"==typeof t?8:"boolean"==typeof t?4:0}var td=n(99107);function th(t){"aggregates"in t?t.attrs?.ip_address===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):void 0===t.ipAddress&&(t.ipAddress="{{auto}}")}var tm=n(77593);function tg(t,e){let n=ty(t,e),r={type:function(t){let e=t?.name;return!e&&tb(t)?t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception":e}(e),value:function(t){let e=t?.message;return tb(t)?Array.isArray(t.message)&&2==t.message.length?t.message[1]:"wasm exception":e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function t_(t,e){return{exception:{values:[tg(t,e)]}}}function ty(t,e){let n=e.stacktrace||e.stack||"",r=e&&tv.test(e.message)?1:0,i="number"==typeof e.framesToPop?e.framesToPop:0;try{return t(n,r,i)}catch{}return[]}let tv=/Minified React error #\d+;/i;function tb(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function tS(t,e,n,r,i){let a;if((0,U.VW)(e)&&e.error)return t_(t,e.error);if((0,U.TX)(e)||(0,U.fm)(e)){if("stack"in e)a=t_(t,e);else{let i=e.name||((0,U.TX)(e)?"DOMError":"DOMException"),s=e.message?`${i}: ${e.message}`:i;a=tx(t,s,n,r),(0,p.Db)(a,s)}return"code"in e&&(a.tags={...a.tags,"DOMException.code":`${e.code}`}),a}return(0,U.VZ)(e)?t_(t,e):((0,U.PO)(e)||(0,U.cO)(e)?a=function(t,e,n,r){let i=(0,v.s3)(),a=i?.getOptions().normalizeDepth,s=function(t){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)){let n=t[e];if(n instanceof Error)return n}}(e),o={__serialized__:(0,tm.Qy)(e,a)};if(s)return{exception:{values:[tg(t,s)]},extra:o};let u={exception:{values:[{type:(0,U.cO)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:function(t,{isUnhandledRejection:e}){let n=(0,b.zf)(t),r=e?"promise rejection":"exception";if((0,U.VW)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,U.cO)(t)){let e=function(t){try{let e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}(t);return`Event \`${e}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(e,{isUnhandledRejection:r})}]},extra:o};if(n){let e=ty(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,i):(a=tx(t,e,n,r),(0,p.Db)(a,`${e}`,void 0)),(0,p.EG)(a,{synthetic:!0}),a)}function tx(t,e,n,r){let i={};if(r&&n){let r=ty(t,n);r.length&&(i.exception={values:[{value:e,stacktrace:{frames:r}}]}),(0,p.EG)(i,{synthetic:!0})}
15if((0,U.Le)(e)){let{__sentry_template_string__:t,__sentry_template_values__:n}=e;return i.logentry={message:t,params:n},i}return i.message=e,i}var tE=n(30544);class tw extends ta{constructor(t){let e={release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:tE.m9.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t};o(e,"browser",["browser"],tE.m9.SENTRY_SDK_SOURCE||(0,td.S)()),e._metadata?.sdk&&(e._metadata.sdk.settings={infer_ip:e.sendDefaultPii?"auto":"never",...e._metadata.sdk.settings}),super(e);let{sendDefaultPii:n,sendClientReports:r,enableLogs:i,_experiments:a,enableMetrics:s}=this._options,u=s??a?.enableMetrics??!0;tE.m9.document&&(r||i||u)&&tE.m9.document.addEventListener("visibilitychange",()=>{"hidden"===tE.m9.document.visibilityState&&(r&&this._flushOutcomes(),i&&D(this),u&&j(this))}),n&&this.on("beforeSendSession",th)}eventFromException(t,e){return function(t,e,n,r){let i=tS(t,e,n?.syntheticException||void 0,r);return(0,p.EG)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,M.WD)(i)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,i){let a=tx(t,e,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),(0,M.WD)(a)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}_prepareEvent(t,e,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n,r)}}var tO=n(7913);let tT=["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"],t$=(0,l._I)((t={})=>{let e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,b.hl)(tE.m9,"setTimeout",tk),e.setInterval&&(0,b.hl)(tE.m9,"setInterval",tk),e.requestAnimationFrame&&(0,b.hl)(tE.m9,"requestAnimationFrame",tA),e.XMLHttpRequest&&"XMLHttpRequest"in tE.m9&&(0,b.hl)(XMLHttpRequest.prototype,"send",tL);let t=e.eventTarget;t&&(Array.isArray(t)?t:tT).forEach(t=>(function(t,e){let n=tE.m9,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,b.hl)(r,"addEventListener",function(n){return function(r,i,a){try{"function"==typeof i.handleEvent&&(i.handleEvent=(0,tE.re)(i.handleEvent,{mechanism:{data:{handler:(0,E.$P)(i),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&this&&"object"==typeof this&&"removeEventListener"in this&&"function"==typeof this.removeEventListener&&this.removeEventListener(r,i),n.apply(this,[r,(0,tE.re)(i,{mechanism:{data:{handler:(0,E.$P)(i),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,b.hl)(r,"removeEventListener",function(t){return function(e,n,r){try{let i=n.__sentry_wrapped__;i&&t.call(this,e,i,r)}catch{}return t.call(this,e,n,r)}}))})(t,e))}}});function tk(t){return function(...e){let n=e[0];return e[0]=(0,tE.re)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,E.$P)(t)}`}}),t.apply(this,e)}}function tA(t){return function(e){return t.apply(this,[(0,tE.re)(e,{mechanism:{data:{handler:(0,E.$P)(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tL(t){return function(...e){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(t=>{t in n&&"function"==typeof n[t]&&(0,b.hl)(n,t,function(e){let n={mechanism:{data:{handler:(0,E.$P)(e)},handled:!1,type:`auto.browser.browserapierrors.xhr.${t}`}},r=(0,b.HK)(e);return r&&(n.mechanism.data.handler=(0,E.$P)(r)),(0,tE.re)(e,n)})}),t.apply(this,e)}}var tR=n(99579),tI=n(85269);let tD=(0,l._I)(()=>({name:"BrowserSession",setupOnce(){if(void 0===tE.m9.document){tI.X&&a.fF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,u.yj)({ignoreDuration:!0}),(0,u.cg)(),(0,tR.a)(({from:t,to:e})=>{void 0!==t&&t!==e&&((0,u.yj)({ignoreDuration:!0}),(0,u.cg)())})}}));var tP=n(21368),tj=n(89902),tC=n(38143);let tF=(0,l._I)((t={})=>{let e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&((0,tP.V)(e=>{let{stackParser:n,attachStacktrace:r}=tM();if((0,v.s3)()!==t||(0,tE.Wz)())return;let{msg:i,url:a,line:s,column:o,error:c}=e,l=function(t,e,n,r){let i=t.exception=t.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},u=o.frames=o.frames||[],c=function(t){if((0,U.HD)(t)&&0!==t.length){if(t.startsWith("data:")){let e=t.match(/^data:([^;
15]+)/),n=e?e[1]:"text/javascript",r=t.includes("base64,");return`<data:${n}${r?",base64":""}>`}return t}}(e)??(0,tC.l4)();return 0===u.length&&u.push({colno:r,filename:c,function:E.Fi,in_app:!0,lineno:n}),t}(tS(n,c||i,void 0,r,!1),a,s,o);l.level="error",(0,u.eN)(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),tN("onerror")),e.onunhandledrejection&&((0,tj.h)(e=>{let{stackParser:n,attachStacktrace:r}=tM();if((0,v.s3)()!==t||(0,tE.Wz)())return;let i=function(t){if((0,U.pt)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}(e),a=(0,U.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:tS(n,i,void 0,r,!0);a.level="error",(0,u.eN)(a,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),tN("onunhandledrejection"))}}});function tN(t){tI.X&&a.fF.log(`Global Handler attached: ${t}`)}function tM(){let t=(0,v.s3)();return t?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tX=(0,l._I)(()=>({name:"HttpContext",preprocessEvent(t){if(!tE.m9.navigator&&!tE.m9.location&&!tE.m9.document)return;let e=(0,tE.PJ)(),n={...e.headers,...t.request?.headers};t.request={...e,...t.request,headers:n}}}));function tB(t,e){t.mechanism={handled:!0,type:"auto.core.linked_errors",...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function tJ(t,e,n,r){t.mechanism={handled:!0,...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}let tU=(0,l._I)((t={})=>{let e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,r,i){!function(t,e,n,r,i,a){if(!i.exception?.values||!a||!(0,U.V9)(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 t(e,n,r,i,a,s,o,u){if(s.length>=r+1)return s;let c=[...s];if((0,U.V9)(i[a],Error)){tB(o,u);let s=e(n,i[a]),l=c.length;tJ(s,a,l,u),c=t(e,n,r,i[a],a,[s,...c],s,l)}return Array.isArray(i.errors)&&i.errors.forEach((i,s)=>{if((0,U.V9)(i,Error)){tB(o,u);let l=e(n,i),f=c.length;tJ(l,`errors[${s}]`,f,u),c=t(e,n,r,i,a,[l,...c],l,f)}}),c}(t,e,r,a.originalException,n,i.exception.values,s,0))}(tg,i.getOptions().stackParser,n,e,t,r)}}});function tH(t,e,n,r){let i={filename:t,function:"<anonymous>"===e?E.Fi:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let tG=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tW=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tq=/\((\S*)(?::(\d+))(?::(\d+))\)/,tZ=/at (.+?) ?\(data:(.+?),/,tz=[30,t=>{let e=t.match(tZ);if(e)return{filename:`<data:${e[2]}>`,function:e[1]};let n=tG.exec(t);if(n){let[,t,e,r]=n;return tH(t,E.Fi,+e,+r)}let r=tW.exec(t);if(r){if(r[2]&&0===r[2].indexOf("eval")){let t=tq.exec(r[2]);t&&(r[2]=t[1],r[3]=t[2],r[4]=t[3])}let[t,e]=t0(r[1]||E.Fi,r[2]);return tH(e,t,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],tY=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tK=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tV=[50,t=>{let e=tY.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){let t=tK.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||E.Fi;return[n,t]=t0(n,t),tH(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],tQ=(0,E.pE)(tz,tV),t0=(t,e)=>{let n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:E.Fi,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};var t1=n(39877);function t3(t,e=(0,t1.L2)("fetch")){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let s={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{let n=await e(t.url,s);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(t){throw(0,t1._6)("fetch"),t}finally{n-=a,r--}}return function(t,e,n=B(t.bufferSize||64)){let r={};return{send:function(i){let s=[];if((0,I.gv)(i,(e,n)=>{let i=(0,I.mL)(n);(function(t,e,n=Date.now()){return(t[e]||t.all||0)>n})(r,i)?t.recordDroppedEvent("ratelimit_backoff",i):s.push(e)}),0===s.length)return Promise.resolve({});let o=(0,I.Jd)(i[0],s),u=e=>{(0,I.gv)(o,(n,r)=>{t.recordDroppedEvent(e,(0,I.mL)(r))})};return n.add(()=>e({body:(0,I.V$)(o)}).then(t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&c.X&&a.fF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=function(t,{statusCode:e,headers:n},r=Date.now()){let i={...t},a=n?.["x-sentry-rate-limits"],s=n?.["retry-after"];if(a)for(let t of a.trim().split(",")){let[e,n,,,a]=t.split(":",5),s=parseInt(e,10),o=(isNaN(s)?60:s)*1e3;if(n)for(let t of n.split(";"))"metric_bucket"===t?(!a||a.split(";").includes("custom"))&&(i[t]=r+o):i[t]=r+o;else i.all=r+o}else s?i.all=r+function(t,e=Date.now()){let n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(s,r):429===e&&(i.all=r+6e4);return i}(r,t),t),t=>{throw u("network_error"),c.X&&a.fF.error("Encountered error running transport request:",t),t})).then(t=>t,t=>{if(t===X)return c.X&&a.fF.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw t})},flush:t=>n.drain(t)}}(t,i,B(t.bufferSize||40))}function t2(t){return[g(),x(),t$(),(0,tO.f)(),tF(),tU(),w(),tX(),tD()]}var t5=n(67294),t9=n(34155),t4=n(87193);let t7=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function t8(...t){let e="",n=!1;for(let r=t.length-1;r>=-1&&!n;r--){let i=r>=0?t[r]:"/";i&&(e=`${i}/${e}`,n="/"===i.charAt(0))}return e=(function(t,e){let n=0;for(let e=t.length-1;e>=0;e--){let r=t[e];"."===r?t.splice(e,1):".."===r?(t.splice(e,1),n++):n&&(t.splice(e,1),n--)}if(e)for(;n--;n)t.unshift("..");return t})(e.split("/").filter(t=>!!t),!n).join("/"),(n?"/":"")+e||"."}function t6(t){let e=0;for(;e<t.length&&""===t[e];e++);let n=t.length-1;for(;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}let et=(0,l._I)((t={})=>{let e=t.root,n=t.prefix||"app:///",r="window"in i.GLOBAL_OBJ&&!!i.GLOBAL_OBJ.window,a=t.iteratee||function({isBrowser:t,root:e,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),a=/^\//.test(r.filename);if(t){if(e){let t=r.filename;0===t.indexOf(e)&&(r.filename=t.replace(e,n))}}else if(i||a){let t;let a=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,s=e?function(t,e){t=t8(t).slice(1),e=t8(e).slice(1);let n=t6(t.split("/")),r=t6(e.split("/")),i=Math.min(n.length,r.length),a=i;for(let t=0;t<i;t++)if(n[t]!==r[t]){a=t;break}let s=[];for(let t=a;t<n.length;t++)s.push("..");return(s=s.concat(r.slice(a))).join("/")}(e,a):function(t){let e=t.length>1024?`<truncated>${t.slice(-1024)}`:t,n=t7.exec(e);return n?n.slice(1):[]}(a)[2]||"";r.filename=`${n}${s}`}return r}}({isBrowser:r,root:e,prefix:n});return{name:"RewriteFrames",processEvent(t){let e=t;return t.exception&&Array.isArray(t.exception.values)&&(e=function(t){try{return{...t,exception:{...t.exception,values:t.exception.values.map(t=>{var e;return{...t,...t.stacktrace&&{stacktrace:{...e=t.stacktrace,frames:e?.frames?.map(t=>a(t))}}}})}}}catch{return t}}(e)),e}}}),ee=(0,l._I)(({assetPrefix:t,basePath:e,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...et({iteratee:i=>{if(r){let n="undefined"!=typeof window&&window.location?window.location.origin:"";if(i.filename?.startsWith(n)&&!i.filename.endsWith(".js"))return i;if(t)i.filename?.startsWith(t)&&(i.filename=i.filename.replace(t,"app://"));else if(e)try{let{origin:t}=new URL(i.filename);t===n&&(i.filename=i.filename?.replace(t,"app://").replace(e,""))}catch{}}else try{let{origin:t}=new URL(i.filename);i.filename=i.filename?.replace(t,"app://").replace(n,"")}catch{}return r?(i.filename?.includes("/_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)):(i.filename?.startsWith("app:///_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)),i}}),name:"NextjsClientStackFrameNormalization"}));var en=n(79883);class er{constructor(t){this._maxSize=t,this._cache=new Map}get size(){return this._cache.size}get(t){let e=this._cache.get(t);if(void 0!==e)return this._cache.delete(t),this._cache.set(t,e),e}set(t,e){if(this._cache.size>=this._maxSize){let t=this._cache.keys().next().value;this._cache.delete(t)}this._cache.set(t,e)}remove(t){let e=this._cache.get(t);return e&&this._cache.delete(t),e}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let t=[];
15return this._cache.forEach(e=>t.push(e)),t}}var ei=n(10848);let ea=new er(100);var es=n(36096),eo=n(34155);let eu=!1,ec=i.GLOBAL_OBJ;function el(t){eu&&(0,a.Cf)(()=>{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`.")}),eu=!0,("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){tE.m9.document&&function(t){let e=(0,ei.v)(t)||t,n=ea.get(e);if(void 0!==n)return n;let r=(0,ei.W)();if(!r?.isrRoutes||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return ea.set(e,!1),!1;let i=r.isrRoutes.includes(e);return ea.set(e,i),i}(tE.m9.location.pathname)&&(t("sentry-trace"),t("baggage"));function t(t){try{let e=tE.m9.document.querySelector(`meta[name="${t}"]`);e&&e.remove()}catch{}}}();let e={environment:function(t){let e=t?"production":t9.env.VERCEL_ENV;return e?`vercel-${e}`:void 0}(!0)||"production",defaultIntegrations:function(t){let e=t2(t);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&e.push((0,t4.E)());let n=ec._sentryRewriteFramesAssetPrefixPath||"",r=eo.env._sentryAssetPrefix||ec._sentryAssetPrefix,i=eo.env._sentryBasePath||ec._sentryBasePath,a="true"===eo.env._experimentalThirdPartyOriginStackFrames||"true"===ec._experimentalThirdPartyOriginStackFrames;return e.push(ee({assetPrefix:r,basePath:i,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:a})),e}(t),release:"b9619356763337219e9c8c6fef6a83b9b1af76cc",...t};!function(t){let e="/monitoring";if(e&&t.dsn){let n=(0,R.U4)(t.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],s=r[2],o=`${e}?o=${i}&p=${n.projectId}`;s&&(o+=`&r=${s}`),t.tunnel=o,es.X&&a.fF.log(`Tunneling events to "${o}"`)}else es.X&&a.fF.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(e),o(e,"nextjs",["nextjs","react"]);let n=function(t){let e={...t};return o(e,"react"),(0,u.v)("react",{version:t5.version}),function(t={}){let e=!t.skipBrowserExtensionCheck&&!!function(){if(void 0===tE.m9.window)return!1;let t=tE.m9;if(t.nw)return!1;let e=t.chrome||t.browser;if(!e?.runtime?.id)return!1;let n=(0,tC.l4)();return!(tE.m9===tE.m9.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(t=>n.startsWith(`${t}://`)))}()&&(tI.X&&(0,a.Cf)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),n=null==t.defaultIntegrations?t2():t.defaultIntegrations;return function(t,e){!0===e.debug&&(c.X?a.fF.enable():(0,a.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,v.nZ)().update(e.initialScope);let n=new t(e);return(0,v.nZ)().setClient(n),n.init(),n}(tw,{...t,enabled:!e&&t.enabled,stackParser:(0,E.Sq)(t.stackParser||tQ),integrations:(0,l.m8)({integrations:t.integrations,defaultIntegrations:n}),transport:t.transport||t3})}(e)}(e),r=t=>"transaction"===t.type&&"/404"===t.transaction?null:t;r.id="NextClient404Filter",(0,u.Qy)(r);let i=t=>"transaction"===t.type&&t.transaction===en.uq?null:t;i.id="IncompleteTransactionFilter",(0,u.Qy)(i);let s=(t,e)=>{var n;return(n=e?.originalException,(0,U.VZ)(n)&&"string"==typeof n.digest&&n.digest.startsWith("NEXT_REDIRECT;")||t.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:t};return s.id="NextRedirectErrorFilter",(0,u.Qy)(s),n}},79883:function(t,e,n){let r;n.d(e,{BH:function(){return _},QU:function(){return S},Ro:function(){return h},uq:function(){return f}});var i=n(90772),a=n(31218),s=n(51597),o=n(30544),u=n(74008),c=n(10848),l=n(34155);let f="incomplete-app-router-transaction",p="router-patch",d={current:void 0};function h(t){let e=(0,c.v)(o.m9.location.pathname),n=(0,i.Z1)();(0,u.Wo)(t,{name:e??o.m9.location.pathname,startTime:n?n/1e3:void 0,attributes:{[a.$J]:"pageload",[a.S3]:"auto.pageload.nextjs.app_router_instrumentation",[a.Zj]:e?"route":"url"}})}let m=s.GLOBAL_OBJ,g=s.GLOBAL_OBJ;function _(t){r=(e,n)=>{let r=l.env._sentryBasePath??g._sentryBasePath,i=new URL(r&&!e.startsWith(r)?`${r}${e}`:e,o.m9.location.href).pathname,s=(0,c.v)(i),f=s??i;
15"router-patch"===p&&(p="transition-start-hook");let h=d.current;h?(h.updateName(f),h.setAttributes({"navigation.type":`router.${n}`,[a.Zj]:s?"route":"url"}),d.current=void 0):(0,u.og)(t,{name:f,attributes:{[a.$J]:"navigation",[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:s?"route":"url","navigation.type":`router.${n}`}})},o.m9.addEventListener("popstate",()=>{let e=(0,c.v)(o.m9.location.pathname);d.current?.isRecording()?(d.current.updateName(e??o.m9.location.pathname),d.current.setAttribute(a.Zj,e?"route":"url")):d.current=(0,u.og)(t,{name:e??o.m9.location.pathname,attributes:{[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:e?"route":"url","navigation.type":"browser.popstate"}})});let e=!1,n=0,i=setInterval(()=>{n++;let r=m?.next?.router??m?.nd?.router;e||n>500?clearInterval(i):r&&(clearInterval(i),e=!0,b(t,r,d),["nd","next"].forEach(e=>{let n=m[e];n&&(m[e]=new Proxy(n,{set:(e,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&b(t,r,d),e[n]=r,!0)}))}))},20)}function y(t){try{return new URL(t,"http://example.com/").pathname}catch{return"/"}}let v=new WeakSet;function b(t,e,n){v.has(e)||(v.add(e),["back","forward","push","replace"].forEach(r=>{e?.[r]&&(e[r]=new Proxy(e[r],{apply(e,i,s){if("router-patch"!==p)return e.apply(i,s);let o=f,d={[a.$J]:"navigation",[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:"url"},h=s[0],m=l.env._sentryBasePath??g._sentryBasePath,_=m&&"string"==typeof h&&!h.startsWith(m)?`${m}${h}`:h;"push"===r?(o=y(_),d["navigation.type"]="router.push"):"replace"===r?(o=y(_),d["navigation.type"]="router.replace"):"back"===r?d["navigation.type"]="router.back":"forward"===r&&(d["navigation.type"]="router.forward");let v=(0,c.v)(o);return n.current=(0,u.og)(t,{name:v??o,attributes:{...d,[a.Zj]:v?"route":"url"}}),e.apply(i,s)}}))}))}function S(t,e){r&&r(t,e)}},10848:function(t,e,n){let r;n.d(e,{W:function(){return d},v:function(){return h}});var i=n(51597),a=n(5824),s=n(36096);let o=i.GLOBAL_OBJ,u=null,c=new Map,l=new Map;function f(t){let e=t.split("/").filter(Boolean),n=0;for(let t of e)if(t.startsWith(":")){let e=t.substring(1);e.endsWith("*?")?n+=1e3:e.endsWith("*")?n+=100:n+=10}return e.length>0&&(n+=1/e.length),n}function p(t){if(c.has(t))return c.get(t)??null;try{let e=new RegExp(t);return c.set(t,e),e}catch(e){return s.X&&a.fF.warn("Could not compile regex",{regexString:t,error:e}),null}}function d(){if(!o?._sentryRouteManifest||"string"!=typeof o._sentryRouteManifest)return null;let t=o._sentryRouteManifest;if(u&&r===t)return u;c.clear(),l.clear();let e={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(e=JSON.parse(t),!Array.isArray(e.staticRoutes)||!Array.isArray(e.dynamicRoutes))return null;return u=e,r=t,e}catch{return s.X&&a.fF.warn("Could not extract route manifest"),null}}let h=t=>{let e=d();if(!e)return;if(l.has(t))return l.get(t);let{staticRoutes:n,dynamicRoutes:r}=e;if(!Array.isArray(n)||!Array.isArray(r))return;let i=(function(t,e,n){let r=[];if(e.some(e=>e.path===t))return r;for(let e of n)if(e.regex){let n=p(e.regex);n?.test(t)&&r.push(e.path)}if(!t.startsWith("/:")){for(let e of n)if(e.hasOptionalPrefix&&e.regex){let n="/"===t?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${t}`,i=p(e.regex);i?.test(n)&&r.push(e.path)}}return r})(t,n,r).sort((t,e)=>f(t)-f(e))[0];return l.set(t,i),i}},36096:function(t,e,n){n.d(e,{X:function(){return r}});let r=!1},90812:function(t,e,n){n.d(e,{u:function(){return l}});var r=n(73076),i=n(39424),a=n(5824),s=n(51597),o=n(36096);async function u(){try{o.X&&a.fF.log("Flushing events..."),await (0,i.yl)(2e3),o.X&&a.fF.log("Done flushing events")}catch(t){o.X&&a.fF.log("Error while flushing events:\n",t)}}function c(){let t=Symbol.for("__cloudflare-context__");return s.GLOBAL_OBJ[t]?.ctx}async function l(t){let{req:e,res:n,err:a}=t,o=n?.statusCode||t.statusCode;if(o&&o<500||!t.pathname)return Promise.resolve();(0,r.$e)(t=>{if(e){let n=function(t){let e=t.headers||{},n=("string"==typeof e["x-forwarded-host"]?e["x-forwarded-host"]:void 0)||("string"==typeof e.host?e.host:void 0),r=("string"==typeof e["x-forwarded-proto"]?e["x-forwarded-proto"]:void 0)||t.protocol||(t.socket?.encrypted?"https":"http"),i=t.url||"",a=function({url:t,protocol:e,host:n}){return t?.startsWith("http")?t:t&&n?`${e}://${n}${t}`:void 0}({url:i,host:n,protocol:r}),s=t.body||void 0,o=t.cookies;return{url:a,method:t.method,query_string:function(t){if(t)try{let e=new URL(t,"http://s.io").search.slice(1);return e.length?e:void 0}catch{return}}(i),headers:function(t){let e=Object.create(null);try{Object.entries(t).forEach(([t,n])=>{"string"==typeof n&&(e[t]=n)})}catch{}return e}(e),cookies:o,data:s}}(e);t.setSDKProcessingMetadata({normalizedRequest:n})}
15(0,i.Tb)(a||`_error.js called with falsy error (${a})`,{mechanism:{type:"auto.function.nextjs.underscore_error",handled:!1,data:{function:"_error.getInitialProps"}}})}),function(t){if("function"==typeof c()?.waitUntil){c()?.waitUntil(t);return}!function(t){let e=s.GLOBAL_OBJ[Symbol.for("@vercel/request-context")],n=e?.get?.();n?.waitUntil&&n.waitUntil(t)}(t)}(u())}},2351:function(t,e,n){n.d(e,{X:function(){return r}});let r=!1},18833:function(t,e,n){n.d(e,{PJ:function(){return p},Wz:function(){return f},m9:function(){return c},re:function(){return function t(e,n={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t){if("function"==typeof t)return t;return e}if((0,i.HK)(e))return e}catch{return e}let r=function(...r){try{let i=r.map(e=>t(e,n));return e.apply(this,i)}catch(t){throw l++,setTimeout(()=>{l--}),(0,a.$e)(e=>{e.addEventProcessor(t=>(n.mechanism&&((0,s.Db)(t,void 0,void 0),(0,s.EG)(t,n.mechanism)),t.extra={...t.extra,arguments:r},t)),(0,o.Tb)(t)}),t}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}(0,i.$Q)(r,e),(0,i.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}}});var r=n(71728),i=n(25162),a=n(26250),s=n(73097),o=n(22048),u=n(20361);let c=r.GLOBAL_OBJ,l=0;function f(){return l>0}function p(){let t=(0,u.l4)(),{referrer:e}=c.document||{},{userAgent:n}=c.navigator||{};return{url:t,headers:{...e&&{Referer:e},...n&&{"User-Agent":n}}}}},62291:function(t,e,n){n.d(e,{f:function(){return E}});var r=n(75572),i=n(25162),a=n(71728),s=n(62801);function o(){"console"in a.GLOBAL_OBJ&&r.RU.forEach(function(t){t in a.GLOBAL_OBJ.console&&(0,i.hl)(a.GLOBAL_OBJ.console,t,function(e){return r.LD[t]=e,function(...e){(0,s.rK)("console",{args:e,level:t});let n=r.LD[t];n?.apply(a.GLOBAL_OBJ.console,e)}})})}var u=n(20098),c=n(20126),l=n(26250),f=n(89370);function p(t,e){let n=(0,l.s3)(),i=(0,l.aF)();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:s=100}=n.getOptions();if(s<=0)return;let o={timestamp:(0,f.yW)(),...t},u=a?(0,r.Cf)(()=>a(o,e)):o;null!==u&&(n.emit&&n.emit("beforeAddBreadcrumb",u,e),i.addBreadcrumb(u,s))}var d=n(73097),h=n(20361),m=n(44642);function g(t){if(void 0!==t)return t>=400&&t<500?"warning":t>=500?"error":void 0}var _=n(42461),y=n(9718),v=n(97831),b=n(21715),S=n(2351),x=n(18833);let E=(0,c._I)((t={})=>{let e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){var n;e.console&&function(t){let e="console";(0,s.Hj)(e,t),(0,s.D2)(e,o)}(function(e){var n;if((0,l.s3)()!==t)return;let r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(n=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log",message:(0,m.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;r.message=`Assertion failed: ${(0,m.nK)(e.args.slice(1)," ")||"console.assert"}`,r.data.arguments=e.args.slice(1)}p(r,{input:e.args,level:e.level})}),e.dom&&(0,y.O)((n=e.dom,function(e){let i,a;if((0,l.s3)()!==t)return;let s="object"==typeof n?n.serializeAttribute:void 0,o="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;o&&o>1024&&(S.X&&r.fF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof s&&(s=[s]);try{let t=e.event,n=t&&t.target?t.target:t;i=(0,h.Rt)(n,{keyAttrs:s,maxStringLength:o}),a=(0,h.iY)(n)}catch{i="<unknown>"}if(0===i.length)return;let u={category:`ui.${e.name}`,message:i};a&&(u.data={"ui.component_name":a}),p(u,{event:e.event,name:e.name,global:e.global})})),e.xhr&&(0,v.UK)(function(e){if((0,l.s3)()!==t)return;let{startTimestamp:n,endTimestamp:r}=e,i=e.xhr[v.xU];if(!n||!r||!i)return;let{method:a,url:s,status_code:o,body:u}=i,c={xhr:e.xhr,input:u,startTimestamp:n,endTimestamp:r},f={category:"xhr",data:{method:a,url:s,status_code:o},type:"http",level:g(o)};t.emit("beforeOutgoingRequestBreadcrumb",f,c),p(f,c)}),e.fetch&&(0,u.Uf)(function(e){if((0,l.s3)()!==t)return;let{startTimestamp:n,endTimestamp:r}=e;
15if(!(!r||e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method)){if(e.fetchData.method,e.fetchData.url,e.error){let i=e.fetchData,a={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:i,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",s,a),p(s,a)}else{let i=e.response,a={...e.fetchData,status_code:i?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,i?.status;let s={input:e.args,response:i,startTimestamp:n,endTimestamp:r},o={category:"fetch",data:a,type:"http",level:g(a.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",o,s),p(o,s)}}}),e.history&&(0,b.a)(function(e){if((0,l.s3)()!==t)return;let n=e.from,r=e.to,i=(0,_.en)(x.m9.location.href),a=n?(0,_.en)(n):void 0,s=(0,_.en)(r);a?.path||(a=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),p({category:"navigation",data:{from:n,to:r}})}),e.sentry&&t.on("beforeSendEvent",function(e){(0,l.s3)()===t&&p({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,d.jH)(e)},{event:e})})}}})},74247:function(t,e,n){n.d(e,{E8:function(){return tn},og:function(){return ti},Wo:function(){return tr}});var r=n(26250),i=n(83115),a=n(73095),s=n(75572),o=n(11596),u=n(78747),c=n(60775),l=n(48365),f=n(89370),p=n(21034),d=n(72117),h=n(40434),m=n(7571),g=n(30958);let _={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function y(t,e={}){let n;let y=new Map,v=!1,b="externalFinish",S=!e.disableAutoFinish,x=[],{idleTimeout:E=_.idleTimeout,finalTimeout:w=_.finalTimeout,childSpanTimeout:O=_.childSpanTimeout,beforeSpanEnd:T,trimIdleSpanEndTimestamp:$=!0}=e,k=(0,r.s3)();if(!k||!(0,o.f)()){let t=new d.b,e={sample_rate:"0",sampled:"false",...(0,p.jC)(t)};return(0,p.Lh)(t,e),t}let A=(0,r.nZ)(),L=(0,l.HN)(),R=function(t){let e=(0,g.qp)(t);return(0,c.D)((0,r.nZ)(),e),i.X&&s.fF.log("[Tracing] Started span is an idle span"),e}(t);function I(){n&&(clearTimeout(n),n=void 0)}function D(t){I(),n=setTimeout(()=>{!v&&0===y.size&&S&&(b="idleTimeout",R.end(t))},E)}function P(t){n=setTimeout(()=>{!v&&S&&(b="heartbeatFailed",R.end(t))},O)}function j(t){v=!0,y.clear(),x.forEach(t=>t()),(0,c.D)(A,L);let e=(0,l.XU)(R),{start_timestamp:n}=e;if(!n)return;e.data[a.ju]||R.setAttribute(a.ju,b);let r=e.status;r&&"unknown"!==r||R.setStatus({code:m.OP}),s.fF.log(`[Tracing] Idle span "${e.op}" finished`);let o=(0,l.Dp)(R).filter(t=>t!==R),u=0;o.forEach(e=>{e.isRecording()&&(e.setStatus({code:m.jt,message:"cancelled"}),e.end(t),i.X&&s.fF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(e,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,l.XU)(e),a=r<=t,o=n-r<=(w+E)/1e3;if(i.X){let t=JSON.stringify(e,void 0,2);a?o||s.fF.log("[Tracing] Discarding span since it finished after idle span final timeout",t):s.fF.log("[Tracing] Discarding span since it happened after idle span was finished",t)}(!o||!a)&&((0,l.ed)(R,e),u++)}),u>0&&R.setAttribute("sentry.idle_span_discarded_spans",u)}return R.end=new Proxy(R.end,{apply(t,e,n){if(T&&T(R),e instanceof d.b)return;let[r,...i]=n,a=r||(0,f.ph)(),s=(0,l.$k)(a),o=(0,l.Dp)(R).filter(t=>t!==R),c=(0,l.XU)(R);if(!o.length||!$)return j(s),Reflect.apply(t,e,[s,...i]);let p=k.getOptions().ignoreSpans,h=o?.reduce((t,e)=>{let n=l.XU(e);return!n.timestamp||p&&u.l(n,p)?t:t?Math.max(t,n.timestamp):n.timestamp},void 0),m=c.start_timestamp,g=Math.min(m?m+w/1e3:1/0,Math.max(m||-1/0,Math.min(s,h||1/0)));return j(g),Reflect.apply(t,e,[g,...i])}}),x.push(k.on("spanStart",t=>{if(!(v||t===R||(0,l.XU)(t).timestamp||t instanceof h.s&&t.isStandaloneSpan())&&(0,l.Dp)(R).includes(t)){var e;e=t.spanContext().spanId,I(),y.set(e,!0),P((0,f.ph)()+O/1e3)}})),x.push(k.on("spanEnd",t=>{var e;v||(e=t.spanContext().spanId,y.has(e)&&y.delete(e),0===y.size&&D((0,f.ph)()+E/1e3))})),x.push(k.on("idleSpanEnableAutoFinish",t=>{t===R&&(S=!0,D(),y.size&&P())})),e.disableAutoFinish||D(),setTimeout(()=>{v||(R.setStatus({code:m.jt,message:"deadline_exceeded"}),b="finalTimeout",R.end())},w),R}var v=n(14052),b=n(24445);let S=!1;var x=n(71728),E=n(16243),w=n(1079),O=n(20361),T=n(42461),$=n(25162),k=n(22899),A=n(51216),L=n(10240),R=n(21715),I=n(2351),D=n(18833);let P="sentry_previous_trace";function j(t){return 1===t.traceFlags}var C=n(20098),F=n(63119),N=n(83643),M=n(98512),X=n(32987),B=n(22048);function J(t={}){let e=t.client||(0,r.s3)();if(!(0,B._k)()||!e)return{};let n=(0,X.cu)(),i=(0,M.G)(n);if(i.getTraceData)return i.getTraceData(t);let a=t.scope||(0,r.nZ)(),o=t.span||(0,l.HN)(),u=o?(0,l.Hb)(o):function(t){let{traceId:e,sampled:n,propagationSpanId:r}=t.getPropagationContext();return(0,w.$p)(e,r,n)}(a),c=o?(0,p.jC)(o):(0,p.CG)(e,a),f=(0,N.IQ)(c);if(!w.Ke.test(u))return s.fF.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let d={"sentry-trace":u,baggage:f};return t.propagateTraceparent&&(d.traceparent=o?(0,l.jN)(o):function(t){let{traceId:e,sampled:n,propagationSpanId:r}=t.getPropagationContext();return(0,w.i7)(e,r,n)}(a)),d}function U(t){return t.split(",").some(t=>t.trim().startsWith(N.lq))}var H=n(44642),G=n(97831),W=n(25001),q=n(51783),Z=n(28528);function z(t){try{return new URL(t,D.m9.location.origin).href}catch{return}}function Y(t){try{return new Headers(t)}catch{return}}let K=new WeakMap,V=new Map,Q={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function tt(t){let{url:e}=(0,l.XU)(t).data;if(!e||"string"!=typeof e)return;let n=(0,W._j)("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(e)&&(t.setAttributes((0,q._)(r)),setTimeout(n))})})}let te={..._,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
15dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...Q},tn=(t={})=>{let e,n,u;let c={name:void 0,source:void 0},h=D.m9.document,{enableInp:_,enableElementTiming:N,enableLongTask:M,enableLongAnimationFrame:X,_experiments:{enableInteractions:B,enableStandaloneClsSpans:W,enableStandaloneLcpSpans:q},beforeStartSpan:tn,idleTimeout:to,finalTimeout:tu,childSpanTimeout:tc,markBackgroundSpan:tl,traceFetch:tf,traceXHR:tp,trackFetchStreamPerformance:td,shouldCreateSpanForRequest:th,enableHTTPTimings:tm,ignoreResourceSpans:tg,ignorePerformanceApiSpans:t_,instrumentPageLoad:ty,instrumentNavigation:tv,detectRedirects:tb,linkPreviousTrace:tS,consistentTraceSampling:tx,enableReportPageLoaded:tE,onRequestSpanStart:tw,onRequestSpanEnd:tO}={...te,...t};function tT(t,n,i=!0){let s="pageload"===n.op,o=n.name,d=tn?tn(n):n,m=d.attributes||{};if(o!==d.name&&(m[a.Zj]="custom",d.attributes=m),!i){let t=(0,f.yW)();(0,g.qp)({...d,startTime:t}).end(t);return}c.name=d.name,c.source=m[a.Zj];let _=y(d,{idleTimeout:to,finalTimeout:tu,childSpanTimeout:tc,disableAutoFinish:s,beforeSpanEnd:n=>{var i;e?.(),(0,k.f7)(n,{recordClsOnPageloadSpan:!W,recordLcpOnPageloadSpan:!q,ignoreResourceSpans:tg,ignorePerformanceApiSpans:t_}),i=void 0,(0,$.xp)(t,ts,i);let a=(0,r.nZ)(),o=a.getPropagationContext();a.setPropagationContext({...o,traceId:_.spanContext().traceId,sampled:(0,l.Tt)(_),dsc:(0,p.jC)(n)}),s&&(u=void 0)},trimIdleSpanEndTimestamp:!tE});function v(){h&&["interactive","complete"].includes(h.readyState)&&t.emit("idleSpanEnableAutoFinish",_)}s&&tE&&(u=_),(0,$.xp)(t,ts,_),s&&!tE&&h&&(h.addEventListener("readystatechange",()=>{v()}),v())}return{name:"BrowserTracing",setup(t){if(!function(){S||(t.tag="sentry_tracingErrorCallback",S=!0,(0,v.V)(t),(0,b.h)(t));function t(){let t=(0,l.HN)(),e=t&&(0,l.Gx)(t);if(e){let t="internal_error";i.X&&s.fF.log(`[Tracing] Root span: ${t} -> Global error occurred`),e.setStatus({code:m.jt,message:t})}}}(),e=(0,k.PR)({recordClsStandaloneSpans:W||!1,recordLcpStandaloneSpans:q||!1,client:t}),_&&(0,A.NR)(),N&&(0,L.c)(),X&&x.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?(0,k.Jk)():M&&(0,k.Fv)(),B&&(0,k.sn)(),tb&&h){let t=()=>{n=(0,f.ph)()};addEventListener("click",t,{capture:!0}),addEventListener("keydown",t,{capture:!0,passive:!0})}function c(){let e=t[ts];e&&!(0,l.XU)(e).timestamp&&(I.X&&s.fF.log(`[Tracing] Finishing current active span with op: ${(0,l.XU)(e).op}`),e.setAttribute(a.ju,"cancelled"),e.end())}t.on("startNavigationSpan",(e,i)=>{if((0,r.s3)()!==t)return;if(i?.isRedirect){I.X&&s.fF.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),tT(t,{op:"navigation.redirect",...e},!1);return}n=void 0,c(),(0,r.aF)().setPropagationContext({traceId:(0,E.H)(),sampleRand:Math.random(),propagationSpanId:(0,o.f)()?void 0:(0,E.M)()});let a=(0,r.nZ)();a.setPropagationContext({traceId:(0,E.H)(),sampleRand:Math.random(),propagationSpanId:(0,o.f)()?void 0:(0,E.M)()}),a.setSDKProcessingMetadata({normalizedRequest:void 0}),tT(t,{op:"navigation",...e,parentSpan:null,forceTransaction:!0})}),t.on("startPageLoadSpan",(e,n={})=>{if((0,r.s3)()!==t)return;c();let i=n.sentryTrace||ta("sentry-trace"),a=n.baggage||ta("baggage"),s=(0,w.pT)(i,a),u=(0,r.nZ)();u.setPropagationContext(s),(0,o.f)()||(u.getPropagationContext().propagationSpanId=(0,E.M)()),u.setSDKProcessingMetadata({normalizedRequest:(0,D.PJ)()}),tT(t,{op:"pageload",...e})}),t.on("endPageloadSpan",()=>{tE&&u&&(u.setAttribute(a.ju,"reportPageLoaded"),u.end())})},afterAllSetup(t){let e,i=(0,O.l4)();if("off"!==tS&&function(t,{linkPreviousTrace:e,consistentTraceSampling:n}){let i="session-storage"===e,o=i?function(){try{let t=D.m9.sessionStorage?.getItem(P);return JSON.parse(t)}catch{return}}():void 0;t.on("spanStart",t=>{if((0,l.Gx)(t)!==t)return;let e=(0,r.nZ)().getPropagationContext();o=function(t,e,n){let r=(0,l.XU)(e),i={spanContext:e.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[a.TE])}catch{return 0}}(),sampleRand:n.sampleRand};if(!t)return i;let o=t.spanContext;return o.traceId===r.trace_id?t:(Date.now()/1e3-t.startTimestamp<=3600&&(I.X&&s.fF.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...e.spanContext()})}\``),e.addLink({context:o,attributes:{[a.lH]:"previous_trace"}}),e.setAttribute("sentry.previous_trace",`${o.traceId}-${o.spanId}-${j(o)?1:0}`)),i)}(o,t,e),i&&function(t){try{D.m9.sessionStorage.setItem(P,JSON.stringify(t))}catch(t){I.X&&s.fF.warn("Could not store previous trace in sessionStorage",t)}}(o)});let u=!0;n&&t.on("beforeSampling",t=>{if(!o)return;let e=(0,r.nZ)(),n=e.getPropagationContext();if(u&&n.parentSpanId){u=!1;return}e.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(o.sampleRate),sampled:String(j(o.spanContext))},sampleRand:o.sampleRand}),t.parentSampled=j(o.spanContext),t.parentSampleRate=o.sampleRate,t.spanAttributes={...t.spanAttributes,[a.iT]:o.sampleRate}})}(t,{linkPreviousTrace:tS,consistentTraceSampling:tx}),D.m9.location){if(ty){let e=(0,f.Z1)();tr(t,{name:D.m9.location.pathname,startTime:e?e/1e3:void 0,attributes:{[a.Zj]:"url",[a.S3]:"auto.pageload.browser"}})}tv&&(0,R.a)(({to:e,from:r})=>{if(void 0===r&&i?.indexOf(e)!==-1){i=void 0;return}i=void 0;let s=(0,T.gk)(e),o=t[ts],u=o&&tb&&function(t,e){let n=(0,l.XU)(t),r=(0,f.yW)();return!(r-n.start_timestamp>1.5)&&(!e||!(r-e<=1.5))}(o,n);ti(t,{name:s?.pathname||D.m9.location.pathname,attributes:{[a.Zj]:"url",[a.S3]:"auto.navigation.browser"}},{url:e,isRedirect:u})})}tl&&(D.m9.document?D.m9.document.addEventListener("visibilitychange",()=>{let t=(0,l.HN)();if(!t)return;let e=(0,l.Gx)(t);if(D.m9.document.hidden&&e){let t="cancelled",{op:n,status:r}=(0,l.XU)(e);I.X&&s.fF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus({code:m.jt,message:t}),e.setAttribute("sentry.cancellation_reason","document.hidden"),e.end()}}):I.X&&s.fF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),B&&D.m9.document&&addEventListener("click",()=>{let n="ui.action.click",r=t[ts];if(r&&["navigation","pageload"].includes((0,l.XU)(r).op)){I.X&&s.fF.warn(`[Tracing] Did not create ${n} span because a pageload or navigation span is in progress.`);return}if(e&&(e.setAttribute(a.ju,"interactionInterrupted"),e.end(),e=void 0),!c.name){I.X&&s.fF.warn(`[Tracing] Did not create ${n} transaction because _latestRouteName is missing.`);return}e=y({name:c.name,op:n,attributes:{[a.Zj]:c.source||"url"}}
15,{idleTimeout:to,finalTimeout:tu,childSpanTimeout:tc})},{capture:!0}),_&&(0,A.D1)(),function(t,e){let{traceFetch:n,traceXHR:i,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:u,enableHTTPTimings:c,tracePropagationTargets:f,onRequestSpanStart:p,onRequestSpanEnd:h}={...Q,...e},_="function"==typeof u?u:t=>!0,y=t=>(function(t,e){let n=(0,O.l4)();if(n){let r,i;try{r=new URL(t,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return e?(0,H.U0)(r.toString(),e)||a&&(0,H.U0)(r.pathname,e):a}{let n=!!t.match(/^\/(?!\/)/);return e?(0,H.U0)(t,e):n}})(t,f),v={},b=t.getOptions().propagateTraceparent;n&&(t.addEventProcessor(t=>("transaction"===t.type&&t.spans&&t.spans.forEach(t=>{if("http.client"===t.op){let e=V.get(t.span_id);e&&(t.timestamp=e/1e3,V.delete(t.span_id))}}),t)),s&&(0,C.cf)(t=>{if(t.response){let e=K.get(t.response);e&&t.endTimestamp&&V.set(e,t.endTimestamp)}}),(0,C.Uf)(t=>{let e=function(t,e,n,i,s){if(!t.fetchData)return;let{method:u,url:c}=t.fetchData,f=(0,o.f)()&&e(c);if(t.endTimestamp&&f){let e=t.fetchData.__span;if(!e)return;let n=i[e];n&&(function(t,e){if(e.response){(0,m.Q0)(t,e.response.status);let n=e.response?.headers?.get("content-length");if(n){let e=parseInt(n);e>0&&t.setAttribute("http.response_content_length",e)}}else e.error&&t.setStatus({code:m.jt,message:"internal_error"});t.end()}(n,t),function(t,e,n){let r="object"==typeof n&&null!==n?n.onRequestSpanEnd:void 0;r?.(t,{headers:e.response?.headers,error:e.error})}(n,t,s),delete i[e]);return}let{spanOrigin:p="auto.http.browser",propagateTraceparent:h=!1}="object"==typeof s?s:{spanOrigin:s},_=!!(0,l.HN)(),y=f&&_?(0,g.qp)(function(t,e,n){let r=(0,T.gk)(t);return{name:r?`${e} ${(0,T.Qq)(r)}`:e,attributes:function(t,e,n,r){let i={url:t,type:"fetch","http.method":n,[a.S3]:r,[a.$J]:"http.client"};return e&&((0,T.DR)(e)||(i["http.url"]=e.href,i["server.address"]=e.host),e.search&&(i["http.query"]=e.search),e.hash&&(i["http.fragment"]=e.hash)),i}(t,r,e,n)}}(c,u,p)):new d.b;if(t.fetchData.__span=y.spanContext().spanId,i[y.spanContext().spanId]=y,n(t.fetchData.url)){let e=t.args[0],n=t.args[1]||{},r=function(t,e,n,r){let i=J({span:n,propagateTraceparent:r}),a=i["sentry-trace"],s=i.baggage,o=i.traceparent;if(!a)return;let u=e.headers||((0,F.gJ)(t)?t.headers:void 0);if(!u)return{...i};if("undefined"!=typeof Headers&&(0,F.V9)(u,Headers)){let t=new Headers(u);if(t.get("sentry-trace")||t.set("sentry-trace",a),r&&o&&!t.get("traceparent")&&t.set("traceparent",o),s){let e=t.get("baggage");e?U(e)||t.set("baggage",`${e},${s}`):t.set("baggage",s)}return t}if(Array.isArray(u)){let t=[...u];u.find(t=>"sentry-trace"===t[0])||t.push(["sentry-trace",a]),r&&o&&!u.find(t=>"traceparent"===t[0])&&t.push(["traceparent",o]);let e=u.find(t=>"baggage"===t[0]&&U(t[1]));return s&&!e&&t.push(["baggage",s]),t}{let t="sentry-trace"in u?u["sentry-trace"]:void 0,e="traceparent"in u?u.traceparent:void 0,n="baggage"in u?u.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],c=n&&(Array.isArray(n)?n.find(t=>U(t)):U(n));s&&!c&&i.push(s);let l={...u,"sentry-trace":t??a,baggage:i.length>0?i.join(","):void 0};return r&&o&&!e&&(l.traceparent=o),l}}(e,n,(0,o.f)()&&_?y:void 0,h);r&&(t.args[1]=n,n.headers=r)}let v=(0,r.s3)();if(v){let e={input:t.args,response:t.response,startTimestamp:t.startTimestamp,endTimestamp:t.endTimestamp};v.emit("beforeOutgoingRequestSpan",y,e)}return y}(t,_,y,v,{propagateTraceparent:b,onRequestSpanEnd:h});if(t.response&&t.fetchData.__span&&K.set(t.response,t.fetchData.__span),e){let n=z(t.fetchData.url),r=n?(0,T.en)(n).host:void 0;e.setAttributes({"http.url":n,"server.address":r}),c&&tt(e),p?.(e,{headers:t.headers})}})),i&&(0,G.UK)(t=>{let e=function(t,e,n,i,s,u){let c=t.xhr,f=c?.[G.xU];if(!c||c.__sentry_own_request__||!f)return;let{url:p,method:h}=f,_=(0,o.f)()&&e(p);if(t.endTimestamp&&_){let e=c.__sentry_xhr_span_id__;if(!e)return;let n=i[e];n&&void 0!==f.status_code&&((0,m.Q0)(n,f.status_code),n.end(),u?.(n,{headers:Y(Z.PP(c)),error:t.error}),delete i[e]);return}let y=z(p),v=y?(0,T.en)(y):(0,T.en)(p),b=(0,T.rt)(p),S=!!(0,l.HN)(),x=_&&S?(0,g.qp)({name:`${h} ${b}`,attributes:{url:p,type:"xhr","http.method":h,"http.url":y,"server.address":v?.host,[a.S3]:"auto.http.browser",[a.$J]:"http.client",...v?.search&&{"http.query":v?.search},...v?.hash&&{"http.fragment":v?.hash}}}):new d.b;c.__sentry_xhr_span_id__=x.spanContext().spanId,i[c.__sentry_xhr_span_id__]=x,n(p)&&function(t,e,n){let{"sentry-trace":r,baggage:i,traceparent:a}=J({span:e,propagateTraceparent:n});r&&function(t,e,n,r){let i=t.__sentry_xhr_v3__?.request_headers;if(!i?.["sentry-trace"]&&t.setRequestHeader)try{if(t.setRequestHeader("sentry-trace",e),r&&!i?.traceparent&&t.setRequestHeader("traceparent",r),n){let e=i?.baggage;e&&e.split(",").some(t=>t.trim().startsWith("sentry-"))||t.setRequestHeader("baggage",n)}}catch{}}(t,r,i,a)}(c,(0,o.f)()&&S?x:void 0,s);let E=(0,r.s3)();return E&&E.emit("beforeOutgoingRequestSpan",x,t),x}(t,_,y,v,b,h);e&&(c&&tt(e),p?.(e,{headers:Y(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}(t,{traceFetch:tf,traceXHR:tp,trackFetchStreamPerformance:td,tracePropagationTargets:t.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:th,enableHTTPTimings:tm,onRequestSpanStart:tw,onRequestSpanEnd:tO})}}};function tr(t,e,n){t.emit("startPageLoadSpan",e,n),(0,r.nZ)().setTransactionName(e.name);let i=t[ts];return i&&t.emit("afterStartPageLoadSpan",i),i}function ti(t,e,n){let{url:i,isRedirect:a}=n||{};t.emit("beforeStartNavigationSpan",e,{isRedirect:a}),t.emit("startNavigationSpan",e,{isRedirect:a});let s=(0,r.nZ)();return s.setTransactionName(e.name),i&&!a&&s.setSDKProcessingMetadata({normalizedRequest:{...(0,D.PJ)(),url:i}}),t[ts]}function ta(t){let e=D.m9.document,n=e?.querySelector(`meta[name=${t}]`);return n?.getAttribute("content")||void 0}let ts="_sentry_idleSpan"},98512:function(t,e,n){n.d(e,{G:function(){return f}});var r=n(32987),i=n(52818),a=n(63119);class s{constructor(t,e){let n,r;n=t||new i.s,r=e||new i.s,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){let e;let n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return(0,a.J8)(e)?e.then(t=>(this._popScope(),t),t=>{throw this._popScope(),t}):(this._popScope(),e)}
15getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function o(){let t=(0,r.cu)(),e=(0,r.qA)(t);return e.stack=e.stack||new s((0,r.YO)("defaultCurrentScope",()=>new i.s),(0,r.YO)("defaultIsolationScope",()=>new i.s))}function u(t){return o().withScope(t)}function c(t,e){let n=o();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function l(t){return o().withScope(()=>t(o().getIsolationScope()))}function f(t){let e=(0,r.qA)(t);return e.acs?e.acs:{withIsolationScope:l,withScope:u,withSetScope:c,withSetIsolationScope:(t,e)=>l(e),getCurrentScope:()=>o().getScope(),getIsolationScope:()=>o().getIsolationScope()}}},32987:function(t,e,n){n.d(e,{YO:function(){return o},cu:function(){return a},qA:function(){return s}});var r=n(57079),i=n(71728);function a(){return s(i.GLOBAL_OBJ),i.GLOBAL_OBJ}function s(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r.J,e[r.J]=e[r.J]||{}}function o(t,e,n=i.GLOBAL_OBJ){let a=n.__SENTRY__=n.__SENTRY__||{},s=a[r.J]=a[r.J]||{};return s[t]||(s[t]=e())}},82503:function(t,e,n){n.d(e,{J:function(){return r}});let r="production"},26250:function(t,e,n){n.d(e,{$e:function(){return l},XX:function(){return p},aF:function(){return u},lW:function(){return c},nZ:function(){return o},s3:function(){return f}});var r=n(98512),i=n(32987),a=n(52818),s=n(16243);function o(){let t=(0,i.cu)();return(0,r.G)(t).getCurrentScope()}function u(){let t=(0,i.cu)();return(0,r.G)(t).getIsolationScope()}function c(){return(0,i.YO)("globalScope",()=>new a.s)}function l(...t){let e=(0,i.cu)(),n=(0,r.G)(e);if(2===t.length){let[e,r]=t;return e?n.withSetScope(e,r):n.withScope(r)}return n.withScope(t[0])}function f(){return o().getClient()}function p(t){let{traceId:e,parentSpanId:n,propagationSpanId:r}=t.getPropagationContext(),i={trace_id:e,span_id:r||(0,s.M)()};return n&&(i.parent_span_id=n),i}},83115:function(t,e,n){n.d(e,{X:function(){return r}});let r=!1},28017:function(t,e,n){n.d(e,{Mq:function(){return c},Q3:function(){return u},uE:function(){return l}});var r=n(21034),i=n(44346),a=n(39566),s=n(78747),o=n(48365);function u(t,e,n,r){let s=(0,a.HY)(n),o={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:(0,i.RA)(e)}},u="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,a.Jd)(o,[u])}function c(t,e,n,r){let i=(0,a.HY)(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return;let n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);let o=(0,a.Cd)(t,i,r,e);delete t.sdkProcessingMetadata;let u=[{type:s},t];return(0,a.Jd)(o,[u])}function l(t,e){let n=(0,r.jC)(t[0]),u=e?.getDsn(),c=e?.getOptions().tunnel,l={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!c&&u&&{dsn:(0,i.RA)(u)}},{beforeSendSpan:f,ignoreSpans:p}=e?.getOptions()||{},d=p?.length?t.filter(t=>!(0,s.l)((0,o.XU)(t),p)):t,h=t.length-d.length;h&&e?.recordDroppedEvent("before_send","span",h);let m=f?t=>{let e=(0,o.XU)(t);return f(e)||((0,o.R6)(),e)}:o.XU,g=[];for(let t of d){let e=m(t);e&&g.push((0,a.KQ)(e))}return(0,a.Jd)(l,g)}},22048:function(t,e,n){n.d(e,{Qy:function(){return f},Tb:function(){return o},_k:function(){return l},cg:function(){return m},eN:function(){return u},v:function(){return c},yj:function(){return p}});var r=n(26250),i=n(8471),a=n(20711),s=n(71728);function o(t,e){return(0,r.nZ)().captureException(t,(0,a.U0)(e))}function u(t,e){return(0,r.nZ)().captureEvent(t,e)}function c(t,e){(0,r.aF)().setContext(t,e)}function l(){let t=(0,r.s3)();return t?.getOptions().enabled!==!1&&!!t?.getTransport()}function f(t){(0,r.aF)().addEventProcessor(t)}function p(t){let e=(0,r.aF)(),n=(0,r.nZ)(),{userAgent:a}=s.GLOBAL_OBJ.navigator||{},o=(0,i.Hv)({user:n.getUser()||e.getUser(),...a&&{userAgent:a},...t}),u=e.getSession();return u?.status==="ok"&&(0,i.CT)(u,{status:"exited"}),d(),e.setSession(o),o}function d(){let t=(0,r.aF)(),e=(0,r.nZ)().getSession()||t.getSession();e&&(0,i.RJ)(e),h(),t.setSession()}function h(){let t=(0,r.aF)(),e=(0,r.s3)(),n=t.getSession();n&&e&&e.captureSession(n)}function m(t=!1){if(t){d();return}h()}},20098:function(t,e,n){n.d(e,{Uf:function(){return c},cf:function(){return l}});var r=n(63119),i=n(25162),a=n(35205),s=n(89370),o=n(71728),u=n(62801);function c(t,e){let n="fetch";(0,u.Hj)(n,t),(0,u.D2)(n,()=>f(void 0,e))}function l(t){let e="fetch-body-resolved";(0,u.Hj)(e,t),(0,u.D2)(e,()=>f(d))}function f(t,e=!1){(!e||(0,a.t$)())&&(0,i.hl)(o.GLOBAL_OBJ,"fetch",function(e){return function(...n){let a=Error(),{method:c,url:l}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){let[e,n]=t;return{url:m(e),method:h(n,"method")?String(n.method).toUpperCase():(0,r.gJ)(e)&&h(e,"method")?String(e.method).toUpperCase():"GET"}}let e=t[0];return{url:m(e),method:h(e,"method")?String(e.method).toUpperCase():"GET"}}(n),f={args:n,fetchData:{method:c,url:l},startTimestamp:1e3*(0,s.ph)(),virtualError:a,headers:function(t){let[e,n]=t;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,r.gJ)(e))return new Headers(e.headers)}catch{}}(n)};return t||(0,u.rK)("fetch",{...f}),e.apply(o.GLOBAL_OBJ,n).then(async e=>(t?t(e):(0,u.rK)("fetch",{...f,endTimestamp:1e3*(0,s.ph)(),response:e}),e),t=>{if((0,u.rK)("fetch",{...f,endTimestamp:1e3*(0,s.ph)(),error:t}),(0,r.VZ)(t)&&void 0===t.stack&&(t.stack=a.stack,(0,i.xp)(t,"framesToPop",1)),t instanceof TypeError&&("Failed to fetch"===t.message||"Load failed"===t.message||"NetworkError when attempting to fetch resource."===t.message))try{let e=new URL(f.fetchData.url);t.message=`${t.message} (${e.host})`}catch{}throw t})}})}async function p(t,e){if(t?.body){let n=t.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let t;try{t=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(t),i&&(e(),a=!1)}catch{a=!1}finally{clearTimeout(t)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function d(t){let e;try{e=t.clone()}catch{return}p(e,()=>{(0,u.rK)("fetch-body-resolved",{endTimestamp:1e3*(0,s.ph)(),response:t})})}function h(t,e){return!!t&&"object"==typeof t&&!!t[e]}function m(t){return"string"==typeof t?t:t?h(t,"url")?t.url:t.toString?t.toString():"":""}},14052:function(t,e,n){n.d(e,{V:function(){return s}});var r=n(71728),i=n(62801);let a=null;function s(t){let e="error";(0,i.Hj)(e,t),(0,i.D2)(e,o)}function o(){a=r.GLOBAL_OBJ.onerror,r.GLOBAL_OBJ.onerror=function(t,e,n,r,s){return(0,i.rK)("error",{column:r,error:s,line:n,msg:t,url:e}),!!a&&a.apply(this,arguments)},r.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}},24445:function(t,e,n){n.d(e,{h:function(){return s}});var r=n(71728),i=n(62801);let a=null;function s(t){let e="unhandledrejection";(0,i.Hj)(e,t),(0,i.D2)(e,o)}function o(){a=r.GLOBAL_OBJ.onunhandledrejection,r.GLOBAL_OBJ.onunhandledrejection=function(t){return(0,i.rK)("unhandledrejection",t),!a||a.apply(this,arguments)},r.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},62801:function(t,e,n){n.d(e,{D2:function(){return c},Hj:function(){return u},rK:function(){return l}});var r=n(83115),i=n(75572),a=n(10824);let s={},o={};function u(t,e){s[t]=s[t]||[],s[t].push(e)}function c(t,e){if(!o[t]){o[t]=!0;try{e()}catch(e){r.X&&i.fF.error(`Error while instrumenting ${t}`,e)}}}function l(t,e){let n=t&&s[t];if(n)for(let s of n)try{s(e)}catch(e){r.X&&i.fF.error(`Error while triggering instrumentation handler. 16Type: ${t} 17Name: ${(0,a.$P)(s)} 18Error:`,e)}}},20126:function(t,e,n){n.d(e,{_I:function(){return l},m7:function(){return c},m8:function(){return s},q4:function(){return o},uf:function(){return u}});var r=n(83115),i=n(75572);let a=[];function s(t){let e;let n=t.defaultIntegrations||[],r=t.integrations;if(n.forEach(t=>{t.isDefaultInstance=!0}),Array.isArray(r))e=[...n,...r];else if("function"==typeof r){let t=r(n);e=Array.isArray(t)?t:[t]}else e=n;return function(t){let e={};return t.forEach(t=>{let{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)}),Object.values(e)}(e)}function o(t,e){let n={};
18return e.forEach(e=>{e&&c(t,e,n)}),n}function u(t,e){for(let n of e)n?.afterAllSetup&&n.afterAllSetup(t)}function c(t,e,n){if(n[e.name]){r.X&&i.fF.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,a.includes(e.name)||"function"!=typeof e.setupOnce||(e.setupOnce(),a.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){let n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(e,r)=>n(e,r,t))}if("function"==typeof e.processEvent){let n=e.processEvent.bind(e),r=Object.assign((e,r)=>n(e,r,t),{id:e.name});t.addEventProcessor(r)}r.X&&i.fF.log(`Integration installed: ${e.name}`)}function l(t){return t}},52818:function(t,e,n){n.d(e,{s:function(){return d}});var r=n(83115),i=n(8471),a=n(75572),s=n(63119),o=n(32498),u=n(73097),c=n(16243),l=n(60775),f=n(44642),p=n(89370);class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,c.H)(),sampleRand:Math.random()}}clone(){let t=new d;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,(0,l.D)(t,(0,l.Y)(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,i.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let e="function"==typeof t?t(this):t,{tags:n,attributes:r,extra:i,user:a,contexts:o,level:u,fingerprint:c=[],propagationContext:l}=(e instanceof d?e.getScopeData():(0,s.PO)(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...o},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),c.length&&(this._fingerprint=c),l&&(this._propagationContext=l),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,(0,l.D)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,c.H)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,p.yW)(),...t,message:t.message?(0,f.$G)(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,l.Y)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=(0,o.T)(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}
18captureException(t,e){let n=e?.event_id||(0,u.DM)();if(!this._client)return r.X&&a.fF.warn("No client configured on scope - will not capture exception!"),n;let i=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},this),n}captureMessage(t,e,n){let i=n?.event_id||(0,u.DM)();if(!this._client)return r.X&&a.fF.warn("No client configured on scope - will not capture message!"),i;let s=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:i},this),i}captureEvent(t,e){let n=e?.event_id||(0,u.DM)();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):r.X&&a.fF.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}},73095:function(t,e,n){n.d(e,{$J:function(){return s},E1:function(){return c},JQ:function(){return d},S3:function(){return o},TE:function(){return i},Wb:function(){return l},Zj:function(){return r},iT:function(){return a},ju:function(){return u},lH:function(){return h},p6:function(){return p},xF:function(){return f}});let r="sentry.source",i="sentry.sample_rate",a="sentry.previous_trace_sample_rate",s="sentry.op",o="sentry.origin",u="sentry.idle_span_finish_reason",c="sentry.measurement_unit",l="sentry.measurement_value",f="sentry.custom_span_name",p="sentry.profile_id",d="sentry.exclusive_time",h="sentry.link.type"},8471:function(t,e,n){n.d(e,{CT:function(){return s},Hv:function(){return a},RJ:function(){return o}});var r=n(73097),i=n(89370);function a(t){let e=(0,i.ph)(),n={sid:(0,r.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return t&&s(n,t),n}function s(t,e={}){if(!e.user||(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,i.ph)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,r.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function o(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),s(t,n)}},21034:function(t,e,n){n.d(e,{CG:function(){return m},Lh:function(){return d},jC:function(){return g}});var r=n(82503),i=n(26250),a=n(73095),s=n(83643),o=n(44346),u=n(11596),c=n(25162),l=n(48365),f=n(68410);let p="_frozenDsc";function d(t,e){(0,c.xp)(t,p,e)}function h(t,e){let n=e.getOptions(),{publicKey:i}=e.getDsn()||{},a={environment:n.environment||r.J,release:n.release,public_key:i,trace_id:t,org_id:(0,o.du)(e)};return e.emit("createDsc",a),a}function m(t,e){let n=e.getPropagationContext();return n.dsc||h(n.traceId,t)}function g(t){let e=(0,i.s3)();if(!e)return{};let n=(0,l.Gx)(t),r=(0,l.XU)(n),o=r.data,c=n.spanContext().traceState,d=c?.get("sentry.sample_rate")??o[a.TE]??o[a.iT];function m(t){return("number"==typeof d||"string"==typeof d)&&(t.sample_rate=`${d}`),t}let g=n[p];if(g)return m(g);let _=c?.get("sentry.dsc"),y=_&&(0,s.EN)(_);if(y)return m(y);let v=h(t.spanContext().traceId,e),b=o[a.Zj],S=r.description;return"url"!==b&&S&&(v.transaction=S),(0,u.f)()&&(v.sampled=String((0,l.Tt)(n)),v.sample_rand=c?.get("sentry.sample_rand")??f.I(n).scope?.getPropagationContext().sampleRand.toString()),m(v),e.emit("createDsc",v,n),v}},76021:function(t,e,n){n.d(e,{Z:function(){return s},w:function(){return o}});var r=n(83115),i=n(75572),a=n(48365);function s(t){if(!r.X)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:s}=(0,a.XU)(t),{spanId:o}=t.spanContext(),u=(0,a.Tt)(t),c=(0,a.Gx)(t),l=c===t,f=`[Tracing] Starting ${u?"sampled":"unsampled"} ${l?"root ":""}span`,p=[`op: ${n}`,`name: ${e}`,`ID: ${o}`];if(s&&p.push(`parent ID: ${s}
18`),!l){let{op:t,description:e}=(0,a.XU)(c);p.push(`root ID: ${c.spanContext().spanId}`),t&&p.push(`root op: ${t}`),e&&p.push(`root description: ${e}`)}i.fF.log(`${f} 19 ${p.join("\n ")}`)}function o(t){if(!r.X)return;let{description:e="< unknown name >",op:n="< unknown op >"}=(0,a.XU)(t),{spanId:s}=t.spanContext(),o=(0,a.Gx)(t)===t,u=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${e}" with ID ${s}`;i.fF.log(u)}},40127:function(t,e,n){n.d(e,{l:function(){return u},o:function(){return o}});var r=n(83115),i=n(73095),a=n(75572),s=n(48365);function o(t,e,n,o=(0,s.HN)()){let u=o&&(0,s.Gx)(o);u&&(r.X&&a.fF.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),u.addEvent(t,{[i.Wb]:e,[i.E1]:n}))}function u(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[i.E1],a=n[i.Wb];"string"==typeof r&&"number"==typeof a&&(e[t.name]={value:a,unit:r})}),e}},72117:function(t,e,n){n.d(e,{b:function(){return a}});var r=n(16243),i=n(48365);class a{constructor(t={}){this._traceId=t.traceId||(0,r.H)(),this._spanId=t.spanId||(0,r.M)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:i.ve}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}},40434:function(t,e,n){n.d(e,{s:function(){return m}});var r=n(26250),i=n(83115),a=n(28017),s=n(73095),o=n(75572),u=n(16243),c=n(48365),l=n(89370),f=n(21034),p=n(76021),d=n(40127),h=n(68410);class m{constructor(t={}){this._traceId=t.traceId||(0,u.H)(),this._spanId=t.spanId||(0,u.M)(),this._startTime=t.startTimestamp||(0,l.ph)(),this._links=t.links,this._attributes={},this.setAttributes({[s.S3]:"manual",[s.$J]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:n?c.i0:c.ve}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._startTime=(0,c.$k)(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(s.Zj,"custom"),this}end(t){this._endTime||(this._endTime=(0,c.$k)(t),(0,p.w)(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[s.$J],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,c._4)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[s.S3],profile_id:this._attributes[s.p6],exclusive_time:this._attributes[s.JQ],measurements:(0,d.l)(this._events),is_segment:this._isStandaloneSpan&&(0,c.Gx)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,c.Gx)(this).spanContext().spanId:void 0,links:(0,c.FF)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){i.X&&o.fF.log("[Tracing] Adding an event to span:",t);let r=g(e)?e:n||(0,l.ph)(),a=g(e)?{}:e||{},s={name:t,time:(0,c.$k)(r),attributes:a};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=(0,r.s3)();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,c.Gx)(this)))return;if(this._isStandaloneSpan){this._sampled?function(t){let e=(0,r.s3)();if(!e)return;let n=t[1];if(!n||0===n.length){e.recordDroppedEvent("before_send","span");return}e.sendEnvelope(t)}((0,a.uE)([this],t)):(i.X&&o.fF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}let e=this._convertSpanToTransaction();e&&((0,h.I)(this).scope||(0,r.nZ)()).captureEvent(e)}_convertSpanToTransaction(){if(!_((0,c.XU)(this)))return;this._name||(i.X&&o.fF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=(0,h.I)(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=(0,c.Dp)(this).filter(t=>t!==this&&!(t instanceof m&&t.isStandaloneSpan())).map(t=>(0,c.XU)(t)).filter(_),a=this._attributes[s.Zj];delete this._attributes[s.xF],r.forEach(t=>{delete t.data[s.xF]});let u={contexts:{trace:(0,c.HR)(this)},spans:r.length>1e3?r.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:e,dynamicSamplingContext:(0,f.jC)(this)},request:n,...a&&{transaction_info:{source:a}}},l=(0,d.l)(this._events);return l&&Object.keys(l).length&&(i.X&&o.fF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),u.measurements=l),u}}function g(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function _(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}},7571:function(t,e,n){n.d(e,{OP:function(){return i},Q0:function(){return s},jt:function(){return a},pq:function(){return r}});let r=0,i=1,a=2;function s(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:i};if(t>=400&&t<500)switch(t){case 401:return{code:a,message:"unauthenticated"};case 403:return{code:a,message:"permission_denied"};case 404:return{code:a,message:"not_found"};case 409:return{code:a,message:"already_exists"};case 413:return{code:a,message:"failed_precondition"};case 429:return{code:a,message:"resource_exhausted"};case 499:return{code:a,message:"cancelled"};default:return{code:a,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:a,message:"unimplemented"};case 503:return{code:a,message:"unavailable"};case 504:return{code:a,message:"deadline_exceeded"}}return{code:a,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}},30958:function(t,e,n){n.d(e,{qp:function(){return x},GK:function(){return S},_d:function(){return E}});var r=n(98512),i=n(32987),a=n(26250),s=n(83115),o=n(73095),u=n(75572),c=n(63119),l=n(11596),f=n(42816),p=n(60775),d=n(48365),h=n(21034),m=n(76021),g=n(72117),_=n(40434),y=n(7571),v=n(68410);let b="__SENTRY_SUPPRESS_TRACING__";function S(t,e){let n=T();if(n.startSpan)return n.startSpan(t,e);let r=O(t),{forceTransaction:i,parentSpan:s,scope:o}=t,u=o?.clone();return(0,a.$e)(u,()=>(void 0!==s?t=>E(s,t):t=>t())(()=>{let n=(0,a.nZ)(),o=k(n,s),u=t.onlyIfParent&&!o?new g.b:w({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return(0,p.D)(n,u),function(t,e,n=()=>{},r=()=>{}){var i;let a;try{a=t()}catch(t){throw e(t),n(),t}return i=a,(0,c.J8)(i)?i.then(t=>(n(),r(t),t),t=>{throw e(t),n(),t}):(n(),r(i),i)}(()=>e(u),()=>{let{status:t}=(0,d.XU)(u);u.isRecording()&&(!t||"ok"===t)&&u.setStatus({code:y.jt,message:"internal_error"})},()=>{u.end()})}))}function x(t){let e=T();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=O(t),{forceTransaction:r,parentSpan:i}=t;return(t.scope?e=>(0,a.$e)(t.scope,e):void 0!==i?t=>E(i,t):t=>t())(()=>{let e=(0,a.nZ)(),s=k(e,i);return t.onlyIfParent&&!s?new g.b:w({parentSpan:s,spanArguments:n,forceTransaction:r,scope:e})})}function E(t,e){let n=T();return n.withActiveSpan?n.withActiveSpan(t,e):(0,a.$e)(n=>((0,p.D)(n,t||void 0),e(n)))}function w({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){let i;if(!(0,l.f)()){let r=new g.b;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...(0,h.jC)(r)};(0,h.Lh)(r,t)}return r}let s=(0,a.aF)();if(t&&!n)i=function(t,e,n){let{spanId:r,traceId:i}=t.spanContext(),s=!e.getScopeData().sdkProcessingMetadata[b]&&(0,d.Tt)(t),o=s?new _.s({...n,parentSpanId:r,traceId:i,sampled:s}):new g.b({traceId:i});(0,d.j5)(t,o);let u=(0,a.s3)();return u&&(u.emit("spanStart",o),n.endTimestamp&&u.emit("spanEnd",o)),o}(t,r,e),(0,d.j5)(t,i);else if(t){let n=(0,h.jC)(t),{traceId:a,spanId:s}=t.spanContext(),o=(0,d.Tt)(t);i=$({traceId:a,parentSpanId:s,...e},r,o),(0,h.Lh)(i,n)}else{let{traceId:t,dsc:n,parentSpanId:a,sampled:o}={...s.getPropagationContext(),...r.getPropagationContext()};i=$({traceId:t,parentSpanId:a,...e},r,o),n&&(0,h.Lh)(i,n)}return(0,m.Z)(i),(0,v.Y)(i,r,s),i}
19function O(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=(0,d.$k)(t.startTime),delete n.startTime,n}return e}function T(){let t=(0,i.cu)();return(0,r.G)(t)}function $(t,e,n){let r=(0,a.s3)(),i=r?.getOptions()||{},{name:c=""}=t,p={spanAttributes:{...t.attributes},spanName:c,parentSampled:n};r?.emit("beforeSampling",p,{decision:!1});let d=p.parentSampled??n,h=p.spanAttributes,m=e.getPropagationContext(),[g,y,v]=e.getScopeData().sdkProcessingMetadata[b]?[!1]:function(t,e,n){let r,i;if(!(0,l.f)(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),i=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,i=!0);let a=(0,f.o)(r);if(void 0===a)return s.X&&u.fF.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!a)return s.X&&u.fF.log(`[Tracing] Discarding transaction because ${"function"==typeof t.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&&s.X&&u.fF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[o,a,i]}(i,{name:c,parentSampled:d,attributes:h,parentSampleRate:(0,f.o)(m.dsc?.sample_rate)},m.sampleRand),S=new _.s({...t,attributes:{[o.Zj]:"custom",[o.TE]:void 0!==y&&v?y:void 0,...h},sampled:g});return!g&&r&&(s.X&&u.fF.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",S),S}function k(t,e){if(e)return e;if(null===e)return;let n=(0,p.Y)(t);if(!n)return;let r=(0,a.s3)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,d.Gx)(n):n}},68410:function(t,e,n){n.d(e,{I:function(){return u},Y:function(){return o}});var r=n(25162),i=n(71728);let a="_sentryScope",s="_sentryIsolationScope";function o(t,e,n){t&&((0,r.xp)(t,s,function(t){try{let e=i.GLOBAL_OBJ.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}(n)),(0,r.xp)(t,a,e))}function u(t){return{scope:t[a],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}(t[s])}}},83643:function(t,e,n){n.d(e,{EN:function(){return u},IQ:function(){return c},XM:function(){return l},lq:function(){return s}});var r=n(83115),i=n(75572),a=n(63119);let s="sentry-",o=/^sentry-/;function u(t){let e=l(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.match(o)&&(t[e.slice(s.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function c(t){if(t)return function(t){if(0!==Object.keys(t).length)return Object.entries(t).reduce((t,[e,n],a)=>{let s=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,o=0===a?s:`${t},${s}`;return o.length>8192?(r.X&&i.fF.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):o},"")}(Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${s}${e}`]=n),t),{}))}function l(t){return t&&((0,a.HD)(t)||Array.isArray(t))?Array.isArray(t)?t.reduce((t,e)=>
19(Object.entries(f(e)).forEach(([e,n])=>{t[e]=n}),t),{}):f(t):void 0}function f(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}},20361:function(t,e,n){n.d(e,{Rt:function(){return a},iY:function(){return o},l4:function(){return s}});var r=n(63119);let i=n(71728).GLOBAL_OBJ;function a(t,e={}){if(!t)return"<unknown>";try{let n,a=t,s=[],o=0,u=0,c=Array.isArray(e)?e:e.keyAttrs,l=!Array.isArray(e)&&e.maxStringLength||80;for(;a&&o++<5&&(n=function(t,e){let n=[];if(!t?.tagName)return"";if(i.HTMLElement&&t instanceof HTMLElement&&t.dataset){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}n.push(t.tagName.toLowerCase());let a=e?.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(a?.length)a.forEach(t=>{n.push(`[${t[0]}="${t[1]}"]`)});else{t.id&&n.push(`#${t.id}`);let e=t.className;if(e&&(0,r.HD)(e))for(let t of e.split(/\s+/))n.push(`.${t}`)}for(let e of["aria-label","type","name","title","alt"]){let r=t.getAttribute(e);r&&n.push(`[${e}="${r}"]`)}return n.join("")}(a,c),"html"!==n&&(!(o>1)||!(u+3*s.length+n.length>=l)));)s.push(n),u+=n.length,a=a.parentNode;return s.reverse().join(" > ")}catch{return"<unknown>"}}function s(){try{return i.document.location.href}catch{return""}}function o(t){if(!i.HTMLElement)return null;let e=t;for(let t=0;t<5&&e;t++){if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},75572:function(t,e,n){n.d(e,{Cf:function(){return u},LD:function(){return o},RU:function(){return s},fF:function(){return p}});var r=n(32987),i=n(83115),a=n(71728);let s=["debug","info","warn","error","log","assert","trace"],o={};function u(t){if(!("console"in a.GLOBAL_OBJ))return t();let e=a.GLOBAL_OBJ.console,n={},r=Object.keys(o);r.forEach(t=>{let r=o[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function c(){return f().enabled}function l(t,...e){i.X&&c()&&u(()=>{a.GLOBAL_OBJ.console[t](`Sentry Logger [${t}]:`,...e)})}function f(){return i.X?(0,r.YO)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let p={enable:function(){f().enabled=!0},disable:function(){f().enabled=!1},isEnabled:c,log:function(...t){l("log",...t)},warn:function(...t){l("warn",...t)},error:function(...t){l("error",...t)}}},44346:function(t,e,n){n.d(e,{RA:function(){return o},U4:function(){return u},du:function(){return l},vK:function(){return f}});var r=n(83115),i=n(75572);let a=/^o(\d+)\./,s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(t,e=!1){let{host:n,path:r,pass:i,port:a,projectId:s,protocol:o,publicKey:u}=t;return`${o}://${u}${e&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${s}`}function u(t){let e=s.exec(t);if(!e){(0,i.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}let[n,r,a="",o="",u="",l=""]=e.slice(1),f="",p=l,d=p.split("/");if(d.length>1&&(f=d.slice(0,-1).join("/"),p=d.pop()),p){let t=p.match(/^\d+/);t&&(p=t[0])}return c({host:o,pass:a,path:f,projectId:p,port:u,protocol:n,publicKey:r})}function c(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function l(t){let e;let n=t.getOptions(),{host:r}=t.getDsn()||{};return n.orgId?e=String(n.orgId):r&&(e=function(t){let e=t.match(a);return e?.[1]}(r)),e}function f(t){let e="string"==typeof t?u(t):c(t);if(e&&function(t){if(!r.X)return!0;let{port:e,projectId:n,protocol:a}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(i.fF.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"===a||"https"===a?!(e&&isNaN(parseInt(e,10)))||(i.fF.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(i.fF.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),!1):(i.fF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}},48880:function(t,e,n){function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(e,{S:function(){return i},n:function(){return r}})},39566:function(t,e,n){n.d(e,{BO:function(){return u},Cd:function(){return _},HY:function(){return g},Jd:function(){return o},KQ:function(){return p},V$:function(){return f},gv:function(){return c},mL:function(){return m},zQ:function(){return d}});var r=n(32987),i=n(44346),a=n(39643),s=n(71728);function o(t,e=[]){return[t,e]}function u(t,e){let[n,r]=t;return[n,[...r,e]]}function c(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function l(t){let e=(0,r.qA)(s.GLOBAL_OBJ);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function f(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[l(r),t]:r.push("string"==typeof t?l(t):t)}for(let t of n){let[e,n]=t;if(i(` 20${JSON.stringify(e)} 21`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify((0,a.Fv)(n))}i(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}function p(t){return[{type:"span"},t]}function d(t){let e="string"==typeof t.data?l(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}let h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function m(t){return h[t]}function g(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function _(t,e,n,r){let a=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:(0,i.RA)(r)},...a&&{trace:a}}}},11596:function(t,e,n){n.d(e,{f:function(){return i}});var r=n(26250);function i(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||r.s3()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}},63119:function(t,e,n){n.d(e,{Cy:function(){return _},HD:function(){return c},J8:function(){return g},Kj:function(){return m},Le:function(){return l},PO:function(){return p},TX:function(){return o},V9:function(){return y},VW:function(){return s},VZ:function(){return i},cO:function(){return d},fm:function(){return u},gJ:function(){return b},kK:function(){return h},pt:function(){return f},y1:function(){return v}});let r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object E
21xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return y(t,Error)}}function a(t,e){return r.call(t)===`[object ${e}]`}function s(t){return a(t,"ErrorEvent")}function o(t){return a(t,"DOMError")}function u(t){return a(t,"DOMException")}function c(t){return a(t,"String")}function l(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function f(t){return null===t||l(t)||"object"!=typeof t&&"function"!=typeof t}function p(t){return a(t,"Object")}function d(t){return"undefined"!=typeof Event&&y(t,Event)}function h(t){return"undefined"!=typeof Element&&y(t,Element)}function m(t){return a(t,"RegExp")}function g(t){return!!(t?.then&&"function"==typeof t.then)}function _(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function y(t,e){try{return t instanceof e}catch{return!1}}function v(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function b(t){return"undefined"!=typeof Request&&y(t,Request)}},13239:function(t,e,n){n.d(e,{j:function(){return s}});var r=n(48880),i=n(25566),a=n(71728);function s(){return"undefined"!=typeof window&&(!(!(0,r.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==i?i:0))||function(){let t=a.GLOBAL_OBJ.process;return t?.type==="renderer"}())}},32498:function(t,e,n){n.d(e,{T:function(){return function t(e,n,r=2){if(!n||"object"!=typeof n||r<=0)return n;if(e&&0===Object.keys(n).length)return e;let i={...e};for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(i[e]=t(i[e],n[e],r-1));return i}}})},73097:function(t,e,n){let r;n.d(e,{DM:function(){return s},Db:function(){return c},EG:function(){return l},YO:function(){return f},jH:function(){return u}});var i=n(25162),a=n(71728);function s(t=function(){let t=a.GLOBAL_OBJ;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return t.randomUUID().replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*Math.random())>>t/4).toString(16))}function o(t){return t.exception?.values?.[0]}function u(t){let{message:e,event_id:n}=t;if(e)return e;let r=o(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=e||""),a.type||(a.type=n||"Error")}function l(t,e){let n=o(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r?.data,...e.data};n.mechanism.data=t}}function f(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{(0,i.xp)(t,"__sentry_captured__",!0)}catch{}return!1}},39643:function(t,e,n){n.d(e,{Fv:function(){return s},Qy:function(){return function t(e,n=3,r=102400){let i=s(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}}});var r=n(63119),i=n(25162),a=n(10824);function s(t,e=100,n=Infinity){try{return function t(e,n,s=Infinity,o=Infinity,u=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let[c,l]=u;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let f=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof global&&e===global)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.y1)(e))return(0,a.Jh)(e);if((0,r.Cy)(e))return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${(0,a.$P)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;let n=function(t){let e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}(e);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(e,n);if(!f.startsWith("[object "))return f;if(n.__sentry_skip_normalization__)return n;let p="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:s;if(0===p)return f.replace("object ","");if(c(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,p-1,o,u)}catch{}let d=Array.isArray(n)?[]:{},h=0,m=(0,i.Sh)(n);for(let e in m){if(!Object.prototype.hasOwnProperty.call(m,e))continue;if(h>=o){d[e]="[MaxProperties ~]";break}let n=m[e];d[e]=t(e,n,p-1,o,u),h++}return l(n),d}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}},25162:function(t,e,n){n.d(e,{$Q:function(){return c},HK:function(){return l},Sh:function(){return f},hl:function(){return o},xp:function(){return u},zf:function(){return h}});var r=n(83115),i=n(20361),a=n(75572),s=n(63119);function o(t,e,n){if(!(e in t))return;let i=t[e];if("function"!=typeof i)return;let s=n(i);"function"==typeof s&&c(s,i);try{t[e]=s}catch{r.X&&a.fF.log(`Failed to replace method "${e}" in object`,t)}}function u(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{r.X&&a.fF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function c(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}catch{}}function l(t){return t.__sentry_original__}function f(t){if((0,s.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,...d(t)};if(!(0,s.cO)(t))return t;{let e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...d(t)};return"undefined"!=typeof CustomEvent&&(0,s.V9)(t,CustomEvent)&&(e.detail=t.detail),e}}function p(t){try{return(0,s.kK)(t)?(0,i.Rt)(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function d(t){if("object"!=typeof t||null===t)return{};{let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}function h(t){let e=Object.keys(f(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}},42816:function(t,e,n){n.d(e,{o:function(){return r}});function r(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}},20711:function(t,e,n){let r,i,a,s;n.d(e,{U0:function(){return O},R:function(){return w}});var o=n(82503),u=n(26250),c=n(83115),l=n(75572),f=n(63119),p=n(36595),d=n(52818),h=n(21034),m=n(32498),g=n(48365);function _(t,e){let{extra:n,tags:r,attributes:i,user:a,contexts:s,level:o,sdkProcessingMetadata:u,breadcrumbs:c,fingerprint:l,eventProcessors:f,attachments:p,propagationContext:d,transactionName:h,span:g}=e;y(t,"extra",n),y(t,"tags",r),y(t,"attributes",i),y(t,"user",a),y(t,"contexts",s),t.sdkProcessingMetadata=(0,m.T)(t.sdkProcessingMetadata,u,2),o&&(t.level=o),h&&(t.transactionName=h),g&&(t.span=g),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext={...t.propagationContext,...d}}function y(t,e,n){t[e]=(0,m.T)(t[e],n,1)}
21var v=n(71728),b=n(73097),S=n(39643),x=n(44642),E=n(89370);function w(t,e,n,m,y,w){let{normalizeDepth:O=3,normalizeMaxBreadth:T=1e3}=t,$={...e,event_id:e.event_id||n.event_id||(0,b.DM)(),timestamp:e.timestamp||(0,E.yW)()},k=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:a}=e;t.environment=t.environment||n||o.J,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let s=t.request;s?.url&&a&&(s.url=(0,x.$G)(s.url,a)),a&&t.exception?.values?.forEach(t=>{t.value&&(t.value=x.$G(t.value,a))})})($,t),k.length>0&&($.sdk=$.sdk||{},$.sdk.integrations=[...$.sdk.integrations||[],...k]),y&&y.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){let n=function(t){let e=v.GLOBAL_OBJ._sentryDebugIds,n=v.GLOBAL_OBJ._debugIds;if(!e&&!n)return{};let o=e?Object.keys(e):[],u=n?Object.keys(n):[];if(s&&o.length===i&&u.length===a)return s;i=o.length,a=u.length,s={},r||(r={});let c=(e,n)=>{for(let i of e){let e=n[i],a=r?.[i];if(a&&s&&e)s[a[0]]=e,r&&(r[i]=[a[0],e]);else if(e){let n=t(i);for(let t=n.length-1;t>=0;t--){let a=n[t],o=a?.filename;if(o&&s&&r){s[o]=e,r[i]=[o,e];break}}}}};return e&&c(o,e),n&&c(u,n),s}(e);t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=n[t.filename])})})}($,t.stackParser);let A=function(t,e){if(!e)return t;let n=t?t.clone():new d.s;return n.update(e),n}(m,n.captureContext);n.mechanism&&(0,b.EG)($,n.mechanism);let L=y?y.getEventProcessors():[],R=(0,u.lW)().getScopeData();w&&_(R,w.getScopeData()),A&&_(R,A.getScopeData());let I=[...n.attachments||[],...R.attachments];return I.length&&(n.attachments=I),!function(t,e){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=e;(function(t,e){let{extra:n,tags:r,user:i,contexts:a,level:s,transactionName:o}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(i).length&&(t.user={...i,...t.user}),Object.keys(a).length&&(t.contexts={...a,...t.contexts}),s&&(t.level=s),o&&"transaction"!==t.type&&(t.transaction=o)})(t,e),r&&function(t,e){t.contexts={trace:(0,g.wy)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:(0,h.jC)(e),...t.sdkProcessingMetadata};let n=(0,g.Gx)(e),r=(0,g.XU)(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,r),t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],n&&(t.fingerprint=t.fingerprint.concat(n)),t.fingerprint.length||delete t.fingerprint,function(t,e){let n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,i),t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...a}}($,R),(function(t,e,n,r=0){try{let i=function t(e,n,r,i){let a=r[i];if(!e||!a)return e;let s=a({...e},n);return(c.X&&null===s&&l.fF.log(`Event processor "${a.id||"?"}" dropped event`),(0,f.J8)(s))?s.then(e=>t(e,n,r,i+1)):t(s,n,r,i+1)}(e,n,t,r);return(0,f.J8)(i)?i:(0,p.WD)(i)}catch(t){return(0,p.$2)(t)}})([...L,...R.eventProcessors],$,n).then(t=>(t&&function(t){let e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof O&&O>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:(0,S.Fv)(t.data,e,n)}}))},...t.user&&{user:(0,S.Fv)(t.user,e,n)},...t.contexts&&{contexts:(0,S.Fv)(t.contexts,e,n)},...t.extra&&{extra:(0,S.Fv)(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,S.Fv)(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:(0,S.Fv)(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,S.Fv)(t.contexts.flags,3,n)),r}(t,O,T):t)}function O(t){return t?t instanceof d.s||"function"==typeof t||Object.keys(t).some(t=>T.includes(t))?{captureContext:t}:t:void 0}let T=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},16243:function(t,e,n){n.d(e,{H:function(){return i},M:function(){return a}});var r=n(73097);function i(){return(0,r.DM)()}function a(){return(0,r.DM)().substring(16)}},78747:function(t,e,n){n.d(e,{l:function(){return o},x:function(){return u}});var r=n(83115),i=n(75572),a=n(44642);function s(t){i.fF.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function o(t,e){if(!e?.length||!t.description)return!1;
21for(let n of e){if("string"==typeof n||n instanceof RegExp){if((0,a.zC)(t.description,n))return r.X&&s(t),!0;continue}if(!n.name&&!n.op)continue;let e=!n.name||(0,a.zC)(t.description,n.name),i=!n.op||t.op&&(0,a.zC)(t.op,n.op);if(e&&i)return r.X&&s(t),!0}return!1}function u(t,e){let n=e.parent_span_id,r=e.span_id;if(n)for(let e of t)e.parent_span_id===r&&(e.parent_span_id=n)}},60775:function(t,e,n){n.d(e,{D:function(){return a},Y:function(){return s}});var r=n(25162);let i="_sentrySpan";function a(t,e){e?(0,r.xp)(t,i,e):delete t[i]}function s(t){return t[i]}},48365:function(t,e,n){n.d(e,{$k:function(){return E},Dp:function(){return I},FF:function(){return x},Gx:function(){return D},HN:function(){return P},HR:function(){return y},Hb:function(){return b},R6:function(){return j},Tt:function(){return T},XU:function(){return O},_4:function(){return $},ed:function(){return R},i0:function(){return g},j5:function(){return L},jN:function(){return S},ve:function(){return m},wy:function(){return v}});var r=n(98512),i=n(32987),a=n(26250),s=n(73095),o=n(7571),u=n(68410),c=n(25162),l=n(16243),f=n(89370),p=n(1079),d=n(75572),h=n(60775);let m=0,g=1,_=!1;function y(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:a,status:s,origin:o,links:u}=O(t);return{parent_span_id:a,span_id:e,trace_id:n,data:r,op:i,status:s,origin:o,links:u}}function v(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:O(t).parent_span_id,a=(0,u.I)(t).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||(0,l.M)():e,trace_id:n}}function b(t){let{traceId:e,spanId:n}=t.spanContext(),r=T(t);return(0,p.$p)(e,n,r)}function S(t){let{traceId:e,spanId:n}=t.spanContext(),r=T(t);return(0,p.i7)(e,n,r)}function x(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:i})=>({span_id:t,trace_id:e,sampled:n===g,attributes:i,...r})):void 0}function E(t){return"number"==typeof t?w(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?w(t.getTime()):(0,f.ph)()}function w(t){return t>9999999999?t/1e3:t}function O(t){if("function"==typeof t.getSpanJSON)return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:r,startTime:i,name:a,endTime:o,status:u,links:c}=t;return{span_id:e,trace_id:n,data:r,description:a,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0,start_timestamp:E(i),timestamp:E(o)||void 0,status:$(u),op:r[s.$J],origin:r[s.S3],links:x(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function T(t){let{traceFlags:e}=t.spanContext();return e===g}function $(t){return t&&t.code!==o.pq?t.code===o.OP?"ok":t.message||"internal_error":void 0}let k="_sentryChildSpans",A="_sentryRootSpan";function L(t,e){let n=t[A]||t;(0,c.xp)(e,A,n),t[k]?t[k].add(e):(0,c.xp)(t,k,new Set([e]))}function R(t,e){t[k]&&t[k].delete(e)}function I(t){let e=new Set;return!function t(n){if(!e.has(n)&&T(n))for(let r of(e.add(n),n[k]?Array.from(n[k]):[]))t(r)}(t),Array.from(e)}function D(t){return t[A]||t}function P(){let t=(0,i.cu)(),e=(0,r.G)(t);return e.getActiveSpan?e.getActiveSpan():(0,h.Y)((0,a.nZ)())}function j(){_||((0,d.Cf)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),_=!0)}},10824:function(t,e,n){n.d(e,{$P:function(){return l},Fi:function(){return r},Fr:function(){return f},Jh:function(){return p},Sq:function(){return o},pE:function(){return s}});let r="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,s=0)=>{let o=[],c=t.split("\n");for(let t=n;t<c.length;t++){let n=c[t];n.length>1024&&(n=n.slice(0,1024));let r=i.test(n)?n.replace(i,"$1"):n;if(!r.match(/\S*Error: /)){for(let t of e){let e=t(r);if(e){o.push(e);break}}if(o.length>=50+s)break}}return function(t){if(!t.length)return[];let e=Array.from(t);return/sentryWrapped/.test(u(e).function||"")&&e.pop(),e.reverse(),a.test(u(e).function||"")&&(e.pop(),a.test(u(e).function||"")&&e.pop()),e.slice(0,50).map(t=>({...t,filename:t.filename||u(e).filename,function:t.function||r}))}(o.slice(s))}}function o(t){return Array.isArray(t)?s(...t):t}function u(t){return t[t.length-1]||{}}let c="<anonymous>";function l(t){try{if(!t||"function"!=typeof t)return c;return t.name||c}catch{return c}}function f(t){let e=t.exception;if(e){let t=[];
21try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}}function p(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}},44642:function(t,e,n){n.d(e,{$G:function(){return a},U0:function(){return u},nK:function(){return s},zC:function(){return o}});var r=n(63119),i=n(10824);function a(t,e=0){return"string"!=typeof t||0===e?t:t.length<=e?t:`${t.slice(0,e)}...`}function s(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let a=t[e];try{(0,r.y1)(a)?n.push((0,i.Jh)(a)):n.push(String(a))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function o(t,e,n=!1){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):!!(0,r.HD)(e)&&(n?t===e:t.includes(e)))}function u(t,e=[],n=!1){return e.some(e=>o(t,e,n))}},35205:function(t,e,n){n.d(e,{Bf:function(){return s},QC:function(){return o},t$:function(){return u}});var r=n(83115),i=n(75572);let a=n(71728).GLOBAL_OBJ;function s(){return"history"in a&&!!a.history}function o(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function u(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in a))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(o(a.fetch))return!0;let t=!1,e=a.document;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow?.fetch&&(t=o(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){r.X&&i.fF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},36595:function(t,e,n){n.d(e,{$2:function(){return a},WD:function(){return i}});var r=n(63119);function i(t){return new s(e=>{e(t)})}function a(t){return new s((e,n)=>{n(t)})}class s{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new s((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new s((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(0===this._state)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){let e=(t,e)=>{if(0===this._state){if((0,r.J8)(e)){e.then(n,i);return}this._state=t,this._value=e,this._executeHandlers()}},n=t=>{e(1,t)},i=t=>{e(2,t)};try{t(n,i)}catch(t){i(t)}}}},89370:function(t,e,n){let r,i;n.d(e,{Z1:function(){return u},ph:function(){return o},yW:function(){return s}});var a=n(71728);function s(){return Date.now()/1e3}function o(){return(r??(r=function(){let{performance:t}=a.GLOBAL_OBJ;if(!t?.now||!t.timeOrigin)return s;let e=t.timeOrigin;return()=>(e+t.now())/1e3}()))()}function u(){return i||(i=function(){let{performance:t}=a.GLOBAL_OBJ;if(!t?.now)return[void 0,"none"];let e=t.now(),n=Date.now(),r=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,i=t.timing?.navigationStart,s="number"==typeof i?Math.abs(i+e-n):36e5;return r<36e5||s<36e5?r<=s?[t.timeOrigin,"timeOrigin"]:[i,"navigationStart"]:[n,"dateNow"]}()),i[0]}},1079:function(t,e,n){n.d(e,{$p:function(){return u},Ke:function(){return s},i7:function(){return c},pT:function(){return o}});var r=n(83643),i=n(42816),a=n(16243);let s=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function o(t,e){let n=function(t){let e;if(!t)return;let n=t.match(s);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),o=(0,r.EN)(e);if(!n?.traceId)return{traceId:(0,a.H)(),sampleRand:Math.random()};let u=function(t,e){let n=(0,i.o)(e?.sample_rand);if(void 0!==n)return n;let r=(0,i.o)(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?Math.random()*r:r+Math.random()*(1-r):Math.random()}(n,o);o&&(o.sample_rand=u.toString());let{traceId:c,parentSpanId:l,parentSampled:f}=n;return{traceId:c,parentSpanId:l,sampled:f,dsc:o||{},sampleRand:u}}function u(t=(0,a.H)(),e=(0,a.M)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function c(t=(0,a.H)(),e=(0,a.M)(),n){return`00-${t}-${e}-${n?"01":"00"}`}},42461:function(t,e,n){function r(t){return"isRelative"in t}function i(t,e){let n=0>=t.indexOf("://")&&0!==t.indexOf("//"),r=e??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(t,r))return;let e=new URL(t,r);if(n)return{isRelative:n,pathname:e.pathname,search:e.search,hash:e.hash};return e}catch{}}function a(t){if(r(t))return t.pathname;let e=new URL(t);return e.search="",e.hash="",["80","443"].includes(e.port)&&(e.port=""),e.password&&(e.password="%filtered%"),e.username&&(e.username="%filtered%"),e.toString()}function s(t){if(!t)return{};let e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};let n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function o(t){return t.split(/[?#]/,1)[0]}n.d(e,{DR:function(){return r},Qq:function(){return a},en:function(){return s},gk:function(){return i},rt:function(){return o}})},57079:function(t,e,n){n.d(e,{J:function(){return r}});let r="10.32.1"},71728:function(t,e,n){n.d(e,{GLOBAL_OBJ:function(){return r}});let r=globalThis},38061:function(t,e,n){n.d(e,{E:function(){return m}});var r=n(74247),i=n(18833),a=n(34336),s=n(75572),o=n(83643),u=n(89370),c=n(73095),l=n(42461),f=n(76600),p=n(491);let d=f.default.events?f.default:f.default.default,h=i.m9;function m(t={}){let e=(0,r.E8)({...t,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...e){let[n,{headers:r}]=e;return r?.get("next-router-prefetch")&&n?.setAttribute("http.request.prefetch",!0),t.onRequestSpanStart?.(...e)}}),{instrumentPageLoad:n=!0,instrumentNavigation:f=!0}=t;return{...e,afterAllSetup(t){var m;if(f&&(m=t,i.m9.document.getElementById("__NEXT_DATA__")?d.events.on("routeChangeStart",t=>{let e,n;let i=(0,l.rt)(t),a=function(t){let e=h.__BUILD_MANIFEST?.sortedPages;if(e)return e.find(e=>{let n=function(t){let e=t.split("/"),n="";e[e.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(e.pop(),n="(?:/(.+?))?");let r=e.map(t=>t.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${n}(?:/)?$`)}(e);return t.match(n)})}(i);a?(e=a,n="route"):(e=i,n="url"),(0,r.og)(m,{name:e,attributes:{[c.$J]:"navigation",[c.S3]:"auto.navigation.nextjs.pages_router_instrumentation",[c.Zj]:n}})}):(0,a.BH)(m)),e.afterAllSetup(t),n)i.m9.document.getElementById("__NEXT_DATA__")?function(t){let{route:e,params:n,sentryTrace:i,baggage:a}=function(){let t;let e=h.document.getElementById("__NEXT_DATA__");if(e?.innerHTML)try{t=JSON.parse(e.innerHTML)}catch{p.X&&s.fF.warn("Could not extract __NEXT_DATA__")}if(!t)return{};let n={},{page:r,query:i,props:a}=t;return n.route=r,n.params=i,a?.pageProps&&(n.sentryTrace=a.pageProps._sentryTraceData,n.baggage=a.pageProps._sentryBaggage),n}(),l=(0,o.XM)(a),f=e||h.location.pathname;l?.["sentry-transaction"]&&"/_error"===f&&(f=(f=l["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let d=(0,u.Z1)();(0,r.Wo)(t,{name:f,startTime:d?d/1e3:void 0,attributes:{[c.$J]:"pageload",[c.S3]:"auto.pageload.nextjs.pages_router_instrumentation",[c.Zj]:e?"route":"url",...n&&t.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:i,baggage:a})}(t):(0,a.Ro)(t)}}}},58635:function(t,e,n){let r;n.d(e,{S1n:function(){return el}});var i=n(71728),a=n(75572),s=n(57079);function o(t,e,n=[e],r="npm"){let i=t._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${e}`,packages:n.map(t=>({name:`${r}:@sentry/${t}`,version:s.J})),version:s.J}),t._metadata=i}var u=n(22048),c=n(83115),l=n(20126);function f(t){let e=[];t.message&&e.push(t.message);try{let n=t.exception.values[t.exception.values.length-1];n?.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}var p=n(73097),d=n(44642);let h=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],m=(0,l._I)((t={})=>{let e;return{name:"EventFilters",setup(n){e=_(t,n.getOptions())},processEvent:(n,r,i)=>(e||(e=_(t,i.getOptions())),!function(t,e){if(t.type){if("transaction"===t.type&&function(t,e){if(!e?.length)return!1;let n=t.transaction;return!!n&&(0,d.U0)(n,e)}(t,e.ignoreTransactions))return c.X&&a.fF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 22Event: ${(0,p.jH)(t)}`),!0}else{var n;if(n=e.ignoreErrors,n?.length&&f(t).some(t=>(0,d.U0)(t,n)))return c.X&&a.fF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 23Event: ${(0,p.jH)(t)}`),!0;if(t.exception?.values?.length&&!t.message&&!t.exception.values.some(t=>t.stacktrace||t.type&&"Error"!==t.type||t.value))return c.X&&a.fF.warn(`Event dropped due to not having an error message, error type or stacktrace. 24Event: ${(0,p.jH)(t)}`),!0;if(function(t,e){if(!e?.length)return!1;let n=y(t);return!!n&&(0,d.U0)(n,e)}(t,e.denyUrls))return c.X&&a.fF.warn(`Event dropped due to being matched by \`denyUrls\` option. 25Event: ${(0,p.jH)(t)}. 26Url: ${y(t)}`),!0;if(!function(t,e){if(!e?.length)return!0;let n=y(t);return!n||(0,d.U0)(n,e)}(t,e.allowUrls))return c.X&&a.fF.warn(`Event dropped due to not being matched by \`allowUrls\` option. 27Event: ${(0,p.jH)(t)}. 28Url: ${y(t)}`),!0}return!1}(n,e)?n:null)}}),g=(0,l._I)((t={})=>({...m(t),name:"InboundFilters"}));function _(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:h],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function y(t){try{let e=[...t.exception?.values??[]].reverse().find(t=>t.mechanism?.parent_id===void 0&&t.stacktrace?.frames?.length),n=e?.stacktrace?.frames;return n?function(t=[]){for(let e=t.length-1;e>=0;e--){let n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return c.X&&a.fF.error(`Cannot extract url for event ${(0,p.jH)(t)}`),null}}var v=n(26250),b=n(25162);let S=new WeakMap,x=(0,l._I)(()=>({name:"FunctionToString",setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...t){let e=(0,b.HK)(this),n=S.has((0,v.s3)())&&void 0!==e?e:this;return r.apply(n,t)}}catch{}},setup(t){S.set(t,!0)}}));var E=n(10824);let w=(0,l._I)(()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{var n;if((n=t)&&(function(t,e){let n=t.message,r=e.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&T(t,e)&&O(t,e))}(e,n)||function(t,e){let n=$(e),r=$(t);return!!(n&&r&&n.type===r.type&&n.value===r.value&&T(t,e)&&O(t,e))}(e,n)))return c.X&&a.fF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}});function O(t,e){let n=(0,E.Fr)(t),r=(0,E.Fr)(e);if(!n&&!r)return!0;
28if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let t=0;t<r.length;t++){let e=r[t],i=n[t];if(e.filename!==i.filename||e.lineno!==i.lineno||e.colno!==i.colno||e.function!==i.function)return!1}return!0}function T(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function $(t){return t.exception?.values?.[0]}var k=n(82503),A=n(28017),L=n(32987),R=n(44346),I=n(39566);function D(t,e){let n=e??P().get(t)??[];if(0===n.length)return;let r=t.getOptions(),i=function(t,e,n,r){let i={};return e?.sdk&&(i.sdk={name:e.sdk.name,version:e.sdk.version}),n&&r&&(i.dsn=(0,R.RA)(r)),(0,I.Jd)(i,[[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{items:t}]])}(n,r._metadata,r.tunnel,t.getDsn());P().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(i)}function P(){return(0,L.YO)("clientToLogBufferMap",()=>new WeakMap)}function j(t,e){let n=e??C().get(t)??[];if(0===n.length)return;let r=t.getOptions(),i=function(t,e,n,r){let i={};return e?.sdk&&(i.sdk={name:e.sdk.name,version:e.sdk.version}),n&&r&&(i.dsn=(0,R.RA)(r)),(0,I.Jd)(i,[[{type:"trace_metric",item_count:t.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:t}]])}(n,r._metadata,r.tunnel,t.getDsn());C().set(t,[]),t.emit("flushMetrics"),t.sendEnvelope(i)}function C(){return(0,L.YO)("clientToMetricBufferMap",()=>new WeakMap)}var F=n(8471),N=n(21034),M=n(36595);let X=Symbol.for("SentryBufferFullError");function B(t=100){let e=new Set;return{get $(){return Array.from(e)},add:function(n){if(!(e.size<t))return(0,M.$2)(X);let r=n();return e.add(r),r.then(()=>{e.delete(r)},()=>{e.delete(r)}),r},drain:function(t){if(!e.size)return(0,M.WD)(!0);let n=Promise.allSettled(Array.from(e)).then(()=>!0);return t?Promise.race([n,new Promise(e=>setTimeout(()=>e(!1),t))]):n}}}var J=n(89370),U=n(63119),H=n(32498),G=n(42816),W=n(20711),q=n(78747),Z=n(48365),z=n(73095);let Y="Not capturing exception because it's already been captured.",K="Discarded session because of missing or non-string release",V=Symbol.for("SentryInternalError"),Q=Symbol.for("SentryDoNotSendEventError");function tt(t){return{message:t,[V]:!0}}function te(t){return{message:t,[Q]:!0}}function tn(t){return!!t&&"object"==typeof t&&V in t}function tr(t){return!!t&&"object"==typeof t&&Q in t}function ti(t,e,n,r,i){let a,s=0,o=!1;t.on(n,()=>{s=0,clearTimeout(a),o=!1}),t.on(e,e=>{(s+=r(e))>=8e5?i(t):o||(o=!0,a=setTimeout(()=>{i(t)},5e3))}),t.on("flush",()=>{i(t)})}class ta{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=B(t.transportOptions?.bufferSize??64),t.dsn?this._dsn=(0,R.vK)(t.dsn):c.X&&a.fF.warn("No DSN provided, client will not send events."),this._dsn){var e,n,r;let i=(e=this._dsn,n=t.tunnel,r=t._metadata?t._metadata.sdk:void 0,n||`${function(t){let e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(t,e){let n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}(e,r)}`);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:i})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&ti(this,"afterCaptureLog","flushLogs",tl,D),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&ti(this,"afterCaptureMetric","flushMetrics",tc,j)}captureException(t,e,n){let r=(0,p.DM)();if((0,p.YO)(t))return c.X&&a.fF.log(Y),r;let i={event_id:r,...e};return this._process(()=>this.eventFromException(t,i).then(t=>this._captureEvent(t,i,n)).then(t=>t),"error"),i.event_id}captureMessage(t,e,n,r){let i={event_id:(0,p.DM)(),...n},a=(0,U.Le)(t)?t:String(t),s=(0,U.pt)(t),o=s?this.eventFromMessage(a,e,i):this.eventFromException(t,i);return this._process(()=>o.then(t=>this._captureEvent(t,i,r)),s?"unknown":"error"),i.event_id}captureEvent(t,e,n){let r=(0,p.DM)();if(e?.originalException&&(0,p.YO)(e.originalException))return c.X&&a.fF.log(Y),r;let i={event_id:r,...e},s=t.sdkProcessingMetadata||{},o=s.capturedSpanScope,u=s.capturedSpanIsolationScope,l=ts(t.type);return this._process(()=>this._captureEvent(t,i,o||n,u),l),i.event_id}captureSession(t){this.sendSession(t),(0,F.CT)(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){let e=this._transport;if(!e)return!0;
28this.emit("flush");let n=await this._isClientDoneProcessing(t),r=await e.flush(t);return n&&r}async close(t){let e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){let e=this._integrations[t.name];(0,l.m7)(this,t,this._integrations),e||(0,l.uf)(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,A.Mq)(t,this._dsn,this._options._metadata,this._options.tunnel);for(let t of e.attachments||[])n=(0,I.BO)(n,(0,I.zQ)(t));this.sendEnvelope(n).then(e=>this.emit("afterSendEvent",t,e))}sendSession(t){let{release:e,environment:n=k.J}=this._options;if("aggregates"in t){let r=t.attrs||{};if(!r.release&&!e){c.X&&a.fF.warn(K);return}r.release=r.release||e,r.environment=r.environment||n,t.attrs=r}else{if(!t.release&&!e){c.X&&a.fF.warn(K);return}t.release=t.release||e,t.environment=t.environment||n}this.emit("beforeSendSession",t);let r=(0,A.Q3)(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,n=1){if(this._options.sendClientReports){let r=`${t}:${e}`;c.X&&a.fF.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(t,e){let n=this._hooks[t]=this._hooks[t]||new Set,r=(...t)=>e(...t);return n.add(r),()=>{n.delete(r)}}emit(t,...e){let n=this._hooks[t];n&&n.forEach(t=>t(...e))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(t){return c.X&&a.fF.error("Error while sending envelope:",t),{}}return c.X&&a.fF.error("Transport disabled"),{}}_setupIntegrations(){let{integrations:t}=this._options;this._integrations=(0,l.q4)(this,t),(0,l.uf)(this,t)}_updateSessionFromEvent(t,e){let n="fatal"===e.level,r=!1,i=e.exception?.values;if(i){for(let t of(r=!0,n=!1,i))if(t.mechanism?.handled===!1){n=!0;break}}let a="ok"===t.status;(a&&0===t.errors||a&&n)&&((0,F.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}async _isClientDoneProcessing(t){let e=0;for(;!t||e<t;){if(await new Promise(t=>setTimeout(t,1)),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,r){let i=this.getOptions(),a=Object.keys(this._integrations);return!e.integrations&&a?.length&&(e.integrations=a),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),(0,W.R)(i,t,e,n,this,r).then(t=>{if(null===t)return t;this.emit("postprocessEvent",t,e),t.contexts={trace:(0,v.XX)(n),...t.contexts};let r=(0,N.CG)(this,n);return t.sdkProcessingMetadata={dynamicSamplingContext:r,...t.sdkProcessingMetadata},t})}_captureEvent(t,e={},n=(0,v.nZ)(),r=(0,v.aF)()){return c.X&&to(t)&&a.fF.log(`Captured error event \`${f(t)[0]||"<unknown>"}\``),this._processEvent(t,e,n,r).then(t=>t.event_id,t=>{c.X&&(tr(t)?a.fF.log(t.message):tn(t)?a.fF.warn(t.message):a.fF.warn(t))})}_processEvent(t,e,n,r){let i=this.getOptions(),{sampleRate:a}=i,s=tu(t),o=to(t),u=t.type||"error",c=`before send for type \`${u}\``,l=void 0===a?void 0:(0,G.o)(a);if(o&&"number"==typeof l&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error"),(0,M.$2)(te(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let f=ts(t.type);return this._prepareEvent(t,e,n,r).then(t=>{if(null===t)throw this.recordDroppedEvent("event_processor",f),te("An event processor returned `null`, will not send event.");return e.data&&!0===e.data.__sentry__?t:function(t,e){let n=`${e} must return \`null\` or a valid event.`;if((0,U.J8)(t))return t.then(t=>{if(!(0,U.PO)(t)&&null!==t)throw tt(n);return t},t=>{throw tt(`${e} rejected with ${t}`)});if(!(0,U.PO)(t)&&null!==t)throw tt(n);return t}(function(t,e,n,r){let{beforeSend:i,beforeSendTransaction:a,beforeSendSpan:s,ignoreSpans:o}=e,u=n;if(to(u)&&i)return i(u,r);if(tu(u)){if(s||o){let e=function(t){let{trace_id:e,parent_span_id:n,span_id:r,status:i,origin:a,data:s,op:o}=t.contexts?.trace??{};return{data:s??{},description:t.transaction,op:o,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:i,timestamp:t.timestamp,trace_id:e??"",origin:a,profile_id:s?.[z.p6],exclusive_time:s?.[z.JQ],measurements:t.measurements,is_segment:!0}}(u);if(o?.length&&(0,q.l)(e,o))return null;if(s){let t=s(e);t?u=(0,H.T)(n,{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[z.p6]:t.profile_id},...t.exclusive_time&&{[z.JQ]:t.exclusive_time}}}},measurements:t.measurements}):(0,Z.R6)()}if(u.spans){let e=[],n=u.spans;for(let t of n){if(o?.length&&(0,q.l)(t,o)){(0,q.x)(n,t);continue}if(s){let n=s(t);n?e.push(n):((0,Z.R6)(),e.push(t))}else e.push(t)}let r=u.spans.length-e.length;r&&t.recordDroppedEvent("before_send","span",r),u.spans=e}}if(a){if(u.spans){let t=u.spans.length;u.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return a(u,r)}}return u}(this,i,t,e),c)}).then(i=>
28{if(null===i){if(this.recordDroppedEvent("before_send",f),s){let e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw te(`${c} returned \`null\`, will not send event.`)}let a=n.getSession()||r.getSession();if(o&&a&&this._updateSessionFromEvent(a,i),s){let t=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}let u=i.transaction_info;return s&&u&&i.transaction!==t.transaction&&(i.transaction_info={...u,source:"custom"}),this.sendEvent(i,e),i}).then(null,t=>{if(tr(t)||tn(t))throw t;throw this.captureException(t,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:t}),tt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 29Reason: ${t}`)})}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then(t=>(this._numProcessing--,t),t=>(this._numProcessing--,t===X&&this.recordDroppedEvent("queue_overflow",e),t))}_clearOutcomes(){let t=this._outcomes;return this._outcomes={},Object.entries(t).map(([t,e])=>{let[n,r]=t.split(":");return{reason:n,category:r,quantity:e}})}_flushOutcomes(){c.X&&a.fF.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){c.X&&a.fF.log("No outcomes to send");return}if(!this._dsn){c.X&&a.fF.log("No dsn provided, will not send outcomes");return}c.X&&a.fF.log("Sending outcomes:",t);let e=function(t,e,n){let r=[{type:"client_report"},{timestamp:(0,J.yW)(),discarded_events:t}];return(0,I.Jd)(e?{dsn:e}:{},[r])}(t,this._options.tunnel&&(0,R.RA)(this._dsn));this.sendEnvelope(e)}}function ts(t){return"replay_event"===t?"replay":t||"error"}function to(t){return void 0===t.type}function tu(t){return"transaction"===t.type}function tc(t){let e=0;return t.name&&(e+=2*t.name.length),(e+=8)+tf(t.attributes)}function tl(t){let e=0;return t.message&&(e+=2*t.message.length),e+tf(t.attributes)}function tf(t){if(!t)return 0;let e=0;return Object.values(t).forEach(t=>{Array.isArray(t)?e+=t.length*tp(t[0]):(0,U.pt)(t)?e+=tp(t):e+=100}),e}function tp(t){return"string"==typeof t?2*t.length:"number"==typeof t?8:"boolean"==typeof t?4:0}var td=n(48880);function th(t){"aggregates"in t?t.attrs?.ip_address===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):void 0===t.ipAddress&&(t.ipAddress="{{auto}}")}var tm=n(39643);function tg(t,e){let n=ty(t,e),r={type:function(t){let e=t?.name;return!e&&tb(t)?t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception":e}(e),value:function(t){let e=t?.message;return tb(t)?Array.isArray(t.message)&&2==t.message.length?t.message[1]:"wasm exception":e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function t_(t,e){return{exception:{values:[tg(t,e)]}}}function ty(t,e){let n=e.stacktrace||e.stack||"",r=e&&tv.test(e.message)?1:0,i="number"==typeof e.framesToPop?e.framesToPop:0;try{return t(n,r,i)}catch{}return[]}let tv=/Minified React error #\d+;/i;function tb(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function tS(t,e,n,r,i){let a;if((0,U.VW)(e)&&e.error)return t_(t,e.error);if((0,U.TX)(e)||(0,U.fm)(e)){if("stack"in e)a=t_(t,e);else{let i=e.name||((0,U.TX)(e)?"DOMError":"DOMException"),s=e.message?`${i}: ${e.message}`:i;a=tx(t,s,n,r),(0,p.Db)(a,s)}return"code"in e&&(a.tags={...a.tags,"DOMException.code":`${e.code}`}),a}return(0,U.VZ)(e)?t_(t,e):((0,U.PO)(e)||(0,U.cO)(e)?a=function(t,e,n,r){let i=(0,v.s3)(),a=i?.getOptions().normalizeDepth,s=function(t){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)){let n=t[e];if(n instanceof Error)return n}}(e),o={__serialized__:(0,tm.Qy)(e,a)};if(s)return{exception:{values:[tg(t,s)]},extra:o};let u={exception:{values:[{type:(0,U.cO)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:function(t,{isUnhandledRejection:e}){let n=(0,b.zf)(t),r=e?"promise rejection":"exception";if((0,U.VW)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,U.cO)(t)){let e=function(t){try{let e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}(t);return`Event \`${e}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(e,{isUnhandledRejection:r})}]},extra:o};if(n){let e=ty(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,i):(a=tx(t,e,n,r),(0,p.Db)(a,`${e}`,void 0)),(0,p.EG)(a,{synthetic:!0}),a)}function tx(t,e,n,r){let i={};if(r&&n){let r=ty(t,n);r.length&&(i.exception={values:[{value:e,stacktrace:{frames:r}}]}),(0,p.EG)(i,{synthetic:!0})}
29if((0,U.Le)(e)){let{__sentry_template_string__:t,__sentry_template_values__:n}=e;return i.logentry={message:t,params:n},i}return i.message=e,i}var tE=n(18833);class tw extends ta{constructor(t){let e={release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:tE.m9.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t};o(e,"browser",["browser"],tE.m9.SENTRY_SDK_SOURCE||(0,td.S)()),e._metadata?.sdk&&(e._metadata.sdk.settings={infer_ip:e.sendDefaultPii?"auto":"never",...e._metadata.sdk.settings}),super(e);let{sendDefaultPii:n,sendClientReports:r,enableLogs:i,_experiments:a,enableMetrics:s}=this._options,u=s??a?.enableMetrics??!0;tE.m9.document&&(r||i||u)&&tE.m9.document.addEventListener("visibilitychange",()=>{"hidden"===tE.m9.document.visibilityState&&(r&&this._flushOutcomes(),i&&D(this),u&&j(this))}),n&&this.on("beforeSendSession",th)}eventFromException(t,e){return function(t,e,n,r){let i=tS(t,e,n?.syntheticException||void 0,r);return(0,p.EG)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,M.WD)(i)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,i){let a=tx(t,e,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),(0,M.WD)(a)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}_prepareEvent(t,e,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n,r)}}var tO=n(62291);let tT=["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"],t$=(0,l._I)((t={})=>{let e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,b.hl)(tE.m9,"setTimeout",tk),e.setInterval&&(0,b.hl)(tE.m9,"setInterval",tk),e.requestAnimationFrame&&(0,b.hl)(tE.m9,"requestAnimationFrame",tA),e.XMLHttpRequest&&"XMLHttpRequest"in tE.m9&&(0,b.hl)(XMLHttpRequest.prototype,"send",tL);let t=e.eventTarget;t&&(Array.isArray(t)?t:tT).forEach(t=>(function(t,e){let n=tE.m9,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,b.hl)(r,"addEventListener",function(n){return function(r,i,a){try{"function"==typeof i.handleEvent&&(i.handleEvent=(0,tE.re)(i.handleEvent,{mechanism:{data:{handler:(0,E.$P)(i),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&this&&"object"==typeof this&&"removeEventListener"in this&&"function"==typeof this.removeEventListener&&this.removeEventListener(r,i),n.apply(this,[r,(0,tE.re)(i,{mechanism:{data:{handler:(0,E.$P)(i),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,b.hl)(r,"removeEventListener",function(t){return function(e,n,r){try{let i=n.__sentry_wrapped__;i&&t.call(this,e,i,r)}catch{}return t.call(this,e,n,r)}}))})(t,e))}}});function tk(t){return function(...e){let n=e[0];return e[0]=(0,tE.re)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,E.$P)(t)}`}}),t.apply(this,e)}}function tA(t){return function(e){return t.apply(this,[(0,tE.re)(e,{mechanism:{data:{handler:(0,E.$P)(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tL(t){return function(...e){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(t=>{t in n&&"function"==typeof n[t]&&(0,b.hl)(n,t,function(e){let n={mechanism:{data:{handler:(0,E.$P)(e)},handled:!1,type:`auto.browser.browserapierrors.xhr.${t}`}},r=(0,b.HK)(e);return r&&(n.mechanism.data.handler=(0,E.$P)(r)),(0,tE.re)(e,n)})}),t.apply(this,e)}}var tR=n(21715),tI=n(2351);let tD=(0,l._I)(()=>({name:"BrowserSession",setupOnce(){if(void 0===tE.m9.document){tI.X&&a.fF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,u.yj)({ignoreDuration:!0}),(0,u.cg)(),(0,tR.a)(({from:t,to:e})=>{void 0!==t&&t!==e&&((0,u.yj)({ignoreDuration:!0}),(0,u.cg)())})}}));var tP=n(14052),tj=n(24445),tC=n(20361);let tF=(0,l._I)((t={})=>{let e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&((0,tP.V)(e=>{let{stackParser:n,attachStacktrace:r}=tM();if((0,v.s3)()!==t||(0,tE.Wz)())return;let{msg:i,url:a,line:s,column:o,error:c}=e,l=function(t,e,n,r){let i=t.exception=t.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},u=o.frames=o.frames||[],c=function(t){if((0,U.HD)(t)&&0!==t.length){if(t.startsWith("data:")){let e=t.match(/^data:([^;
29]+)/),n=e?e[1]:"text/javascript",r=t.includes("base64,");return`<data:${n}${r?",base64":""}>`}return t}}(e)??(0,tC.l4)();return 0===u.length&&u.push({colno:r,filename:c,function:E.Fi,in_app:!0,lineno:n}),t}(tS(n,c||i,void 0,r,!1),a,s,o);l.level="error",(0,u.eN)(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),tN("onerror")),e.onunhandledrejection&&((0,tj.h)(e=>{let{stackParser:n,attachStacktrace:r}=tM();if((0,v.s3)()!==t||(0,tE.Wz)())return;let i=function(t){if((0,U.pt)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}(e),a=(0,U.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:tS(n,i,void 0,r,!0);a.level="error",(0,u.eN)(a,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),tN("onunhandledrejection"))}}});function tN(t){tI.X&&a.fF.log(`Global Handler attached: ${t}`)}function tM(){let t=(0,v.s3)();return t?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tX=(0,l._I)(()=>({name:"HttpContext",preprocessEvent(t){if(!tE.m9.navigator&&!tE.m9.location&&!tE.m9.document)return;let e=(0,tE.PJ)(),n={...e.headers,...t.request?.headers};t.request={...e,...t.request,headers:n}}}));function tB(t,e){t.mechanism={handled:!0,type:"auto.core.linked_errors",...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function tJ(t,e,n,r){t.mechanism={handled:!0,...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}let tU=(0,l._I)((t={})=>{let e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,r,i){!function(t,e,n,r,i,a){if(!i.exception?.values||!a||!(0,U.V9)(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 t(e,n,r,i,a,s,o,u){if(s.length>=r+1)return s;let c=[...s];if((0,U.V9)(i[a],Error)){tB(o,u);let s=e(n,i[a]),l=c.length;tJ(s,a,l,u),c=t(e,n,r,i[a],a,[s,...c],s,l)}return Array.isArray(i.errors)&&i.errors.forEach((i,s)=>{if((0,U.V9)(i,Error)){tB(o,u);let l=e(n,i),f=c.length;tJ(l,`errors[${s}]`,f,u),c=t(e,n,r,i,a,[l,...c],l,f)}}),c}(t,e,r,a.originalException,n,i.exception.values,s,0))}(tg,i.getOptions().stackParser,n,e,t,r)}}});function tH(t,e,n,r){let i={filename:t,function:"<anonymous>"===e?E.Fi:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let tG=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tW=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tq=/\((\S*)(?::(\d+))(?::(\d+))\)/,tZ=/at (.+?) ?\(data:(.+?),/,tz=[30,t=>{let e=t.match(tZ);if(e)return{filename:`<data:${e[2]}>`,function:e[1]};let n=tG.exec(t);if(n){let[,t,e,r]=n;return tH(t,E.Fi,+e,+r)}let r=tW.exec(t);if(r){if(r[2]&&0===r[2].indexOf("eval")){let t=tq.exec(r[2]);t&&(r[2]=t[1],r[3]=t[2],r[4]=t[3])}let[t,e]=t0(r[1]||E.Fi,r[2]);return tH(e,t,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],tY=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tK=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tV=[50,t=>{let e=tY.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){let t=tK.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||E.Fi;return[n,t]=t0(n,t),tH(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],tQ=(0,E.pE)(tz,tV),t0=(t,e)=>{let n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:E.Fi,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};var t1=n(34353);function t3(t,e=(0,t1.L2)("fetch")){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let s={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{let n=await e(t.url,s);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(t){throw(0,t1._6)("fetch"),t}finally{n-=a,r--}}return function(t,e,n=B(t.bufferSize||64)){let r={};return{send:function(i){let s=[];if((0,I.gv)(i,(e,n)=>{let i=(0,I.mL)(n);(function(t,e,n=Date.now()){return(t[e]||t.all||0)>n})(r,i)?t.recordDroppedEvent("ratelimit_backoff",i):s.push(e)}),0===s.length)return Promise.resolve({});let o=(0,I.Jd)(i[0],s),u=e=>{(0,I.gv)(o,(n,r)=>{t.recordDroppedEvent(e,(0,I.mL)(r))})};return n.add(()=>e({body:(0,I.V$)(o)}).then(t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&c.X&&a.fF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=function(t,{statusCode:e,headers:n},r=Date.now()){let i={...t},a=n?.["x-sentry-rate-limits"],s=n?.["retry-after"];if(a)for(let t of a.trim().split(",")){let[e,n,,,a]=t.split(":",5),s=parseInt(e,10),o=(isNaN(s)?60:s)*1e3;if(n)for(let t of n.split(";"))"metric_bucket"===t?(!a||a.split(";").includes("custom"))&&(i[t]=r+o):i[t]=r+o;else i.all=r+o}else s?i.all=r+function(t,e=Date.now()){let n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(s,r):429===e&&(i.all=r+6e4);return i}(r,t),t),t=>{throw u("network_error"),c.X&&a.fF.error("Encountered error running transport request:",t),t})).then(t=>t,t=>{if(t===X)return c.X&&a.fF.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw t})},flush:t=>n.drain(t)}}(t,i,B(t.bufferSize||40))}function t2(t){return[g(),x(),t$(),(0,tO.f)(),tF(),tU(),w(),tX(),tD()]}var t5=n(2265),t9=n(25566),t4=n(38061);let t7=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function t8(...t){let e="",n=!1;for(let r=t.length-1;r>=-1&&!n;r--){let i=r>=0?t[r]:"/";i&&(e=`${i}/${e}`,n="/"===i.charAt(0))}return e=(function(t,e){let n=0;for(let e=t.length-1;e>=0;e--){let r=t[e];"."===r?t.splice(e,1):".."===r?(t.splice(e,1),n++):n&&(t.splice(e,1),n--)}if(e)for(;n--;n)t.unshift("..");return t})(e.split("/").filter(t=>!!t),!n).join("/"),(n?"/":"")+e||"."}function t6(t){let e=0;for(;e<t.length&&""===t[e];e++);let n=t.length-1;for(;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}let et=(0,l._I)((t={})=>{let e=t.root,n=t.prefix||"app:///",r="window"in i.GLOBAL_OBJ&&!!i.GLOBAL_OBJ.window,a=t.iteratee||function({isBrowser:t,root:e,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),a=/^\//.test(r.filename);if(t){if(e){let t=r.filename;0===t.indexOf(e)&&(r.filename=t.replace(e,n))}}else if(i||a){let t;let a=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,s=e?function(t,e){t=t8(t).slice(1),e=t8(e).slice(1);let n=t6(t.split("/")),r=t6(e.split("/")),i=Math.min(n.length,r.length),a=i;for(let t=0;t<i;t++)if(n[t]!==r[t]){a=t;break}let s=[];for(let t=a;t<n.length;t++)s.push("..");return(s=s.concat(r.slice(a))).join("/")}(e,a):function(t){let e=t.length>1024?`<truncated>${t.slice(-1024)}`:t,n=t7.exec(e);return n?n.slice(1):[]}(a)[2]||"";r.filename=`${n}${s}`}return r}}({isBrowser:r,root:e,prefix:n});return{name:"RewriteFrames",processEvent(t){let e=t;return t.exception&&Array.isArray(t.exception.values)&&(e=function(t){try{return{...t,exception:{...t.exception,values:t.exception.values.map(t=>{var e;return{...t,...t.stacktrace&&{stacktrace:{...e=t.stacktrace,frames:e?.frames?.map(t=>a(t))}}}})}}}catch{return t}}(e)),e}}}),ee=(0,l._I)(({assetPrefix:t,basePath:e,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...et({iteratee:i=>{if(r){let n="undefined"!=typeof window&&window.location?window.location.origin:"";if(i.filename?.startsWith(n)&&!i.filename.endsWith(".js"))return i;if(t)i.filename?.startsWith(t)&&(i.filename=i.filename.replace(t,"app://"));else if(e)try{let{origin:t}=new URL(i.filename);t===n&&(i.filename=i.filename?.replace(t,"app://").replace(e,""))}catch{}}else try{let{origin:t}=new URL(i.filename);i.filename=i.filename?.replace(t,"app://").replace(n,"")}catch{}return r?(i.filename?.includes("/_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)):(i.filename?.startsWith("app:///_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)),i}}),name:"NextjsClientStackFrameNormalization"}));var en=n(34336);class er{constructor(t){this._maxSize=t,this._cache=new Map}get size(){return this._cache.size}get(t){let e=this._cache.get(t);if(void 0!==e)return this._cache.delete(t),this._cache.set(t,e),e}set(t,e){if(this._cache.size>=this._maxSize){let t=this._cache.keys().next().value;this._cache.delete(t)}this._cache.set(t,e)}remove(t){let e=this._cache.get(t);return e&&this._cache.delete(t),e}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let t=[];
29return this._cache.forEach(e=>t.push(e)),t}}var ei=n(14156);let ea=new er(100);var es=n(491),eo=n(25566);let eu=!1,ec=i.GLOBAL_OBJ;function el(t){eu&&(0,a.Cf)(()=>{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`.")}),eu=!0,("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){tE.m9.document&&function(t){let e=(0,ei.v)(t)||t,n=ea.get(e);if(void 0!==n)return n;let r=(0,ei.W)();if(!r?.isrRoutes||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return ea.set(e,!1),!1;let i=r.isrRoutes.includes(e);return ea.set(e,i),i}(tE.m9.location.pathname)&&(t("sentry-trace"),t("baggage"));function t(t){try{let e=tE.m9.document.querySelector(`meta[name="${t}"]`);e&&e.remove()}catch{}}}();let e={environment:function(t){let e=t?"production":t9.env.VERCEL_ENV;return e?`vercel-${e}`:void 0}(!0)||"production",defaultIntegrations:function(t){let e=t2(t);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&e.push((0,t4.E)());let n=ec._sentryRewriteFramesAssetPrefixPath||"",r=eo.env._sentryAssetPrefix||ec._sentryAssetPrefix,i=eo.env._sentryBasePath||ec._sentryBasePath,a="true"===eo.env._experimentalThirdPartyOriginStackFrames||"true"===ec._experimentalThirdPartyOriginStackFrames;return e.push(ee({assetPrefix:r,basePath:i,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:a})),e}(t),release:"b9619356763337219e9c8c6fef6a83b9b1af76cc",...t};!function(t){let e="/monitoring";if(e&&t.dsn){let n=(0,R.U4)(t.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],s=r[2],o=`${e}?o=${i}&p=${n.projectId}`;s&&(o+=`&r=${s}`),t.tunnel=o,es.X&&a.fF.log(`Tunneling events to "${o}"`)}else es.X&&a.fF.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(e),o(e,"nextjs",["nextjs","react"]);let n=function(t){let e={...t};return o(e,"react"),(0,u.v)("react",{version:t5.version}),function(t={}){let e=!t.skipBrowserExtensionCheck&&!!function(){if(void 0===tE.m9.window)return!1;let t=tE.m9;if(t.nw)return!1;let e=t.chrome||t.browser;if(!e?.runtime?.id)return!1;let n=(0,tC.l4)();return!(tE.m9===tE.m9.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(t=>n.startsWith(`${t}://`)))}()&&(tI.X&&(0,a.Cf)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),n=null==t.defaultIntegrations?t2():t.defaultIntegrations;return function(t,e){!0===e.debug&&(c.X?a.fF.enable():(0,a.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,v.nZ)().update(e.initialScope);let n=new t(e);return(0,v.nZ)().setClient(n),n.init(),n}(tw,{...t,enabled:!e&&t.enabled,stackParser:(0,E.Sq)(t.stackParser||tQ),integrations:(0,l.m8)({integrations:t.integrations,defaultIntegrations:n}),transport:t.transport||t3})}(e)}(e),r=t=>"transaction"===t.type&&"/404"===t.transaction?null:t;r.id="NextClient404Filter",(0,u.Qy)(r);let i=t=>"transaction"===t.type&&t.transaction===en.uq?null:t;i.id="IncompleteTransactionFilter",(0,u.Qy)(i);let s=(t,e)=>{var n,r,i,a;return(a=null==e?void 0:e.originalException,(0,U.VZ)(a)&&"string"==typeof a.digest&&a.digest.startsWith("NEXT_REDIRECT;")||(null===(i=t.exception)||void 0===i?void 0:null===(r=i.values)||void 0===r?void 0:null===(n=r[0])||void 0===n?void 0:n.value)==="NEXT_REDIRECT")?null:t};return s.id="NextRedirectErrorFilter",(0,u.Qy)(s),n}},34336:function(t,e,n){let r;n.d(e,{BH:function(){return _},QU:function(){return S},Ro:function(){return h},uq:function(){return f}});var i=n(89370),a=n(73095),s=n(71728),o=n(18833),u=n(74247),c=n(14156),l=n(25566);let f="incomplete-app-router-transaction",p="router-patch",d={current:void 0};function h(t){let e=(0,c.v)(o.m9.location.pathname),n=(0,i.Z1)();(0,u.Wo)(t,{name:e??o.m9.location.pathname,startTime:n?n/1e3:void 0,attributes:{[a.$J]:"pageload",[a.S3]:"auto.pageload.nextjs.app_router_instrumentation",[a.Zj]:e?"route":"url"}})}let m=s.GLOBAL_OBJ,g=s.GLOBAL_OBJ;function _(t){r=(e,n)=>{let r=l.env._sentryBasePath??g._sentryBasePath,i=new URL(r&&!e.startsWith(r)?`${r}${e}`:e,o.m9.location.href).pathname,s=(0,c.v)(i),f=s??i;
29"router-patch"===p&&(p="transition-start-hook");let h=d.current;h?(h.updateName(f),h.setAttributes({"navigation.type":`router.${n}`,[a.Zj]:s?"route":"url"}),d.current=void 0):(0,u.og)(t,{name:f,attributes:{[a.$J]:"navigation",[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:s?"route":"url","navigation.type":`router.${n}`}})},o.m9.addEventListener("popstate",()=>{let e=(0,c.v)(o.m9.location.pathname);d.current?.isRecording()?(d.current.updateName(e??o.m9.location.pathname),d.current.setAttribute(a.Zj,e?"route":"url")):d.current=(0,u.og)(t,{name:e??o.m9.location.pathname,attributes:{[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:e?"route":"url","navigation.type":"browser.popstate"}})});let e=!1,n=0,i=setInterval(()=>{n++;let r=m?.next?.router??m?.nd?.router;e||n>500?clearInterval(i):r&&(clearInterval(i),e=!0,b(t,r,d),["nd","next"].forEach(e=>{let n=m[e];n&&(m[e]=new Proxy(n,{set:(e,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&b(t,r,d),e[n]=r,!0)}))}))},20)}function y(t){try{return new URL(t,"http://example.com/").pathname}catch{return"/"}}let v=new WeakSet;function b(t,e,n){v.has(e)||(v.add(e),["back","forward","push","replace"].forEach(r=>{e?.[r]&&(e[r]=new Proxy(e[r],{apply(e,i,s){if("router-patch"!==p)return e.apply(i,s);let o=f,d={[a.$J]:"navigation",[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:"url"},h=s[0],m=l.env._sentryBasePath??g._sentryBasePath,_=m&&"string"==typeof h&&!h.startsWith(m)?`${m}${h}`:h;"push"===r?(o=y(_),d["navigation.type"]="router.push"):"replace"===r?(o=y(_),d["navigation.type"]="router.replace"):"back"===r?d["navigation.type"]="router.back":"forward"===r&&(d["navigation.type"]="router.forward");let v=(0,c.v)(o);return n.current=(0,u.og)(t,{name:v??o,attributes:{...d,[a.Zj]:v?"route":"url"}}),e.apply(i,s)}}))}))}function S(t,e){r&&r(t,e)}},14156:function(t,e,n){let r;n.d(e,{W:function(){return d},v:function(){return h}});var i=n(71728),a=n(75572),s=n(491);let o=i.GLOBAL_OBJ,u=null,c=new Map,l=new Map;function f(t){let e=t.split("/").filter(Boolean),n=0;for(let t of e)if(t.startsWith(":")){let e=t.substring(1);e.endsWith("*?")?n+=1e3:e.endsWith("*")?n+=100:n+=10}return e.length>0&&(n+=1/e.length),n}function p(t){if(c.has(t))return c.get(t)??null;try{let e=new RegExp(t);return c.set(t,e),e}catch(e){return s.X&&a.fF.warn("Could not compile regex",{regexString:t,error:e}),null}}function d(){if(!o?._sentryRouteManifest||"string"!=typeof o._sentryRouteManifest)return null;let t=o._sentryRouteManifest;if(u&&r===t)return u;c.clear(),l.clear();let e={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(e=JSON.parse(t),!Array.isArray(e.staticRoutes)||!Array.isArray(e.dynamicRoutes))return null;return u=e,r=t,e}catch{return s.X&&a.fF.warn("Could not extract route manifest"),null}}let h=t=>{let e=d();if(!e)return;if(l.has(t))return l.get(t);let{staticRoutes:n,dynamicRoutes:r}=e;if(!Array.isArray(n)||!Array.isArray(r))return;let i=(function(t,e,n){let r=[];if(e.some(e=>e.path===t))return r;for(let e of n)if(e.regex){let n=p(e.regex);n?.test(t)&&r.push(e.path)}if(!t.startsWith("/:")){for(let e of n)if(e.hasOptionalPrefix&&e.regex){let n="/"===t?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${t}`,i=p(e.regex);i?.test(n)&&r.push(e.path)}}return r})(t,n,r).sort((t,e)=>f(t)-f(e))[0];return l.set(t,i),i}},491:function(t,e,n){n.d(e,{X:function(){return r}});let r=!1}}]);
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.