PageSourceSearch

https://ulysse.com/_next/static/immutable/chunks/0cphohodo48rp.js

js ulysse.com collected 2026-10-02 11:19:55 UTC 132,837 bytes, 18 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f0b9a061-dd1a-243e-0e84-7ec73749f88c")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,142946,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",0,t])},170337,143630,808114,200928,e=>{"use strict";let t,n,r,i;var a=e.i(28979),s=e.i(899619),o=e.i(387395),l=e.i(624598);function c(){if(!l.WINDOW.document)return;let e=a.triggerHandlers.bind(null,"dom"),t=u(e,!0);l.WINDOW.document.addEventListener("click",t,!1),l.WINDOW.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=l.WINDOW,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,s.fill)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=u(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),(0,s.fill)(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function u(e,i=!1){return a=>{var c;if(!a||a._sentryCaptured)return;let u=function(e){try{return e.target}catch{return null}}(a);if(c=a.type,"keypress"===c&&(!u?.tagName||"INPUT"!==u.tagName&&"TEXTAREA"!==u.tagName&&!u.isContentEditable&&1))return;(0,s.addNonEnumerableProperty)(a,"_sentryCaptured",!0),u&&!u._sentryId&&(0,s.addNonEnumerableProperty)(u,"_sentryId",(0,o.uuid4)());let d="keypress"===a.type?"input":a.type;!function(e){if(e.type!==n)return!1;try{if(!e.target||e.target._sentryId!==r)return!1}catch{}return!0}(a)&&(e({event:a,name:d,global:i}),n=a.type,r=u?u._sentryId:void 0),clearTimeout(t),t=l.WINDOW.setTimeout(()=>{r=void 0,n=void 0},1e3)}}e.s(["addClickKeypressInstrumentationHandler",0,function(e){(0,a.addHandler)("dom",e),(0,a.maybeInstrument)("dom",c)}],170337);var d=e.i(847378),p=e.i(914046);let g="__sentry_xhr_v3__";function m(){if(!l.WINDOW.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*(0,d.timestampInSeconds)(),s=(0,p.isString)(n[0])?n[0].toUpperCase():void 0,o=function(e){if((0,p.isString)(e))return e;try{return e.toString()}catch{}}(n[1]);if(!s||!o)return e.apply(t,n);t[g]={method:s,url:o,request_headers:{}},"POST"===s&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let l=()=>{let e=t[g];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}let n={endTimestamp:1e3*(0,d.timestampInSeconds)(),startTimestamp:i,xhr:t,virtualError:r};(0,a.triggerHandlers)("xhr",n),t.removeEventListener("readystatechange",l)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[g];return a&&(0,p.isString)(r)&&(0,p.isString)(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[g];if(!r)return e.apply(t,n);void 0!==n[0]&&(r.body=n[0]);let i={startTimestamp:1e3*(0,d.timestampInSeconds)(),xhr:t};return(0,a.triggerHandlers)("xhr",i),e.apply(t,n)}})}e.s(["SENTRY_XHR_DATA_KEY",0,g,"addXhrInstrumentationHandler",0,function(e){(0,a.addHandler)("xhr",e),(0,a.maybeInstrument)("xhr",m)}],143630);var f=e.i(353231);function h(){function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=i,s=function(e){try{return new URL(e,l.WINDOW.location.origin).toString()}catch{return e}}(String(n));if(i=s,r===s)return e.apply(this,t);(0,a.triggerHandlers)("history",{from:r,to:s})}return e.apply(this,t)}}l.WINDOW.addEventListener("popstate",()=>{let e=l.WINDOW.location.href,t=i;i=e,t===e||(0,a.triggerHandlers)("history",{from:t,to:e})}),(0,f.supportsHistory)()&&((0,s.fill)(l.WINDOW.history,"pushState",e),(0,s.fill)(l.WINDOW.history,"replaceState",e))}e.s(["addHistoryInstrumentationHandler",0,function(e){let t="history";(0,a.addHandler)(t,e),(0,a.maybeInstrument)(t,h)}],808114);let _={};try{"u">typeof Node&&(_.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"u">typeof Element&&(_.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,_.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,_.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,_.getAttribute=Element.prototype.getAttribute),"u">typeof HTMLElement&&(_.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function S(e,t,n){let r=_[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return"function"==typeof i?i.call(e,n):i}e.s(["htmlTreeAsString",0,function(e,t={}){if(!e)return"<unknown>";try{let n,r=e,i=[],a=0,s=0,o=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&a++<5&&(n=function(e,t){let n=[],r=S(e,"tagName");if(!r)return"";if("u">typeof HTMLElement&&e instanceof HTMLElement){let t=S(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>S(e,"getAttribute",t)).map(t=>[t,S(e,"getAttribute",t)]):null;
2if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=S(e,"id");t&&n.push(`#${t}`);let r=S(e,"className");if(r&&(0,p.isString)(r))for(let e of r.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=S(e,"getAttribute",t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,o),"html"!==n&&(!(a>1)||!(s+3*i.length+n.length>=l)));)i.push(n),s+=n.length,r=S(r,"parentNode");return i.reverse().join(" > ")}catch{return"<unknown>"}}],200928)},361971,613509,831088,506235,465923,e=>{"use strict";let t,n;var r=e.i(847378),i=e.i(893859),a=e.i(190225),s=e.i(758893),o=e.i(399677),l=e.i(182021),c=e.i(63104),u=e.i(914046),d=e.i(530011),p=e.i(200928),g=e.i(624598),m=e.i(327519),f=e.i(957148),h=e.i(125595),_=e.i(589889),S=e.i(404174),E=e.i(378436),T=e.i(330386),v=e.i(482688),y=e.i(142946),I=e.i(363254);let b=0,N={};function A({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:i,client:a}){let s=(0,S.getBrowserPerformanceAPI)();if(s&&(0,r.browserPerformanceTimeOrigin)()){s.mark&&g.WINDOW.performance.mark("sentry-tracing-init");let r=i?(0,h.trackLcpAsStandaloneSpan)(a):!1===i?(0,f.addLcpInstrumentationHandler)(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(0,h.isValidLcpMetric)(e.value)&&(N.lcp={value:e.value,unit:"millisecond"},t=n)},!0):void 0,o=e?(0,m.trackClsAsStandaloneSpan)(a):!1===e?(0,f.addClsInstrumentationHandler)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(N.cls={value:e.value,unit:""},n=t)},!0):void 0,l=(0,f.addTtfbInstrumentationHandler)(({metric:e})=>{e.entries[e.entries.length-1]&&(N.ttfb={value:e.value,unit:"millisecond"})}),c=(0,f.addPerformanceInstrumentationHandler)("paint",({entries:e})=>{let t=(0,v.getVisibilityWatcher)();for(let n of e){let e=n.startTime<t.firstHiddenTime;"first-paint"===n.name&&e&&(N.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&e&&(N.fcp={value:n.startTime,unit:"millisecond"})}});return()=>{l(),c(),r?.(),o?.()}}return()=>void 0}function R(e,s){let o=(0,r.browserPerformanceTimeOrigin)();if(!(0,S.getBrowserPerformanceAPI)()?.getEntries||!o)return void O();let{spanStreamingEnabled:c,recordClsOnPageloadSpan:u,recordLcpOnPageloadSpan:d}=s,g=(0,S.msToSec)(o);if("pageload"===(0,i.spanToJSON)(e).op){if(function(e){let t=(0,T.getNavigationEntry)(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(N),c){let t=(t,n,r)=>{let i=r??`browser.web_vital.${t}.value`;e.setAttribute(i,n),y.DEBUG_BUILD&&l.debug.log("Setting web vital attribute",{[i]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{N[e]&&t(e,N[e].value)}),N["ttfb.requestTime"]&&t("ttfb.requestTime",N["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else{var m,f;
2u||delete N.cls,d||delete N.lcp,Object.entries(N).forEach(([t,n])=>{(0,a.setMeasurement)(t,n.value,n.unit,e)}),m=e,f=s,t&&f.recordLcpOnPageloadSpan&&(t.element&&m.setAttribute("lcp.element",(0,p.htmlTreeAsString)(t.element)),t.id&&m.setAttribute("lcp.id",t.id),t.url&&m.setAttribute("lcp.url",t.url.trim().slice(0,200)),null!=t.loadTime&&m.setAttribute("lcp.loadTime",t.loadTime),null!=t.renderTime&&m.setAttribute("lcp.renderTime",t.renderTime),m.setAttribute("lcp.size",t.size)),n?.sources&&f.recordClsOnPageloadSpan&&n.sources.forEach((e,t)=>m.setAttribute(`cls.source.${t+1}`,(0,p.htmlTreeAsString)(e.node)))}e.setAttribute(c?"browser.performance.time_origin":"performance.timeOrigin",g),e.setAttribute(c?"browser.performance.navigation.activation_start":"performance.activationStart",(0,E.getActivationStart)())}O()}function O(){t=void 0,n=void 0,N={}}function D(e,t,n,r,i=n){var a;let s=t["secureConnection"===(a=n)?"connectEnd":"fetch"===a?"domainLookupStart":`${a}End`],o=t[`${n}Start`];o&&s&&(0,S.startAndEndSpan)(e,r+(0,S.msToSec)(o),r+(0,S.msToSec)(s),{op:`browser.${i}`,name:t.name,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}e.s(["addPerformanceEntries",0,function(e,t){let n=(0,S.getBrowserPerformanceAPI)(),l=(0,r.browserPerformanceTimeOrigin)();if(!n?.getEntries||!l)return;let{spanStreamingEnabled:d,ignorePerformanceApiSpans:p,ignoreResourceSpans:m}=t,f=(0,S.msToSec)(l),h=n.getEntries(),{op:E,start_timestamp:v}=(0,i.spanToJSON)(e);h.slice(b).forEach(t=>{let n=(0,S.msToSec)(t.startTime),r=(0,S.msToSec)(Math.max(0,t.duration));if("navigation"!==E||!v||!(f+n<v))switch(t.entryType){case"navigation":var i,a,l,d,h,y;let b,N,A;i=e,a=t,l=f,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{D(i,a,e,l)}),D(i,a,"secureConnection",l,"TLS/SSL"),D(i,a,"fetch",l,"cache"),D(i,a,"domainLookup",l,"DNS"),d=i,h=a,b=(y=l)+(0,S.msToSec)(h.requestStart),N=y+(0,S.msToSec)(h.responseEnd),A=y+(0,S.msToSec)(h.responseStart),h.responseEnd&&((0,S.startAndEndSpan)(d,b,N,{op:"browser.request",name:h.name,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),(0,S.startAndEndSpan)(d,A,N,{op:"browser.response",name:h.name,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":!function(e,t,n,r,i,a){if(function(e){if(e?.entryType==="measure")try{return"Components ⚛"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&(0,o.stringMatchesSomePattern)(t.name,a))return;let s=(0,T.getNavigationEntry)(!1),l=i+Math.max(n,(0,S.msToSec)(s?s.requestStart:0)),d=i+n,p=d+r,g={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};l!==d&&(g["sentry.browser.measure_happened_before_request"]=!0,g["sentry.browser.measure_start_time"]=l),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&(0,u.isPrimitive)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if((0,u.isPrimitive)(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(g,t),l<=p&&(0,S.startAndEndSpan)(e,l,p,{name:t.name,op:t.entryType,attributes:g})}(e,t,n,r,f,p);break;case"resource":!function(e,t,n,r,i,a,o){var l,u;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let d=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(d))return;let p={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"},m=(0,s.parseUrl)(n);m.protocol&&(p["url.scheme"]=m.protocol.split(":").pop()),m.host&&(p["server.address"]=m.host),p["url.same_origin"]=n.includes(g.WINDOW.location.origin),p[I.URL_FULL]=n,l=t,u=p,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]].forEac
2h(([e,t])=>{let n=l[e];null!=n&&("number"==typeof n&&n<0x7fffffff||"string"==typeof n)&&(u[t]=n)});let f={...p,...(0,_.resourceTimingToSpanAttributes)(t)},h=a+r;(0,S.startAndEndSpan)(e,h,h+i,{name:n.replace(g.WINDOW.location.origin,""),op:d,attributes:f})}(e,t,t.name,n,r,f,m)}}),b=Math.max(h.length-1,0),function(e,t){let n=g.WINDOW.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),(0,S.isMeasurementValue)(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):"pageload"===(0,i.spanToJSON)(e).op&&(0,a.setMeasurement)("connection.rtt",r.rtt,"millisecond"))),(0,S.isMeasurementValue)(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),(0,S.isMeasurementValue)(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,d)},"addWebVitalsToSpan",0,R,"startTrackingInteractions",0,function(){(0,f.addPerformanceInstrumentationHandler)("event",({entries:e})=>{let t=(0,i.getActiveSpan)();if(t){for(let n of e)if("click"===n.name){let e=(0,S.msToSec)((0,r.browserPerformanceTimeOrigin)()+n.startTime),i=(0,S.msToSec)(n.duration),a={name:(0,p.htmlTreeAsString)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},s=(0,d.getComponentName)(n.target);s&&(a.attributes["ui.component_name"]=s),(0,S.startAndEndSpan)(t,e,e+i,a)}}})},"startTrackingLongAnimationFrames",0,function(){new PerformanceObserver(e=>{let t=(0,i.getActiveSpan)();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=(0,S.msToSec)((0,r.browserPerformanceTimeOrigin)()+n.startTime),{start_timestamp:a,op:s}=(0,i.spanToJSON)(t);if("navigation"===s&&a&&e<a)continue;let o=(0,S.msToSec)(n.duration),l={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},{invoker:u,invokerType:d,sourceURL:p,sourceFunctionName:g,sourceCharPosition:m}=n.scripts[0];l["browser.script.invoker"]=u,l["browser.script.invoker_type"]=d,p&&(l["code.filepath"]=p),g&&(l["code.function"]=g),-1!==m&&(l["browser.script.source_char_position"]=m),(0,S.startAndEndSpan)(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:l})}}).observe({type:"long-animation-frame",buffered:!0})},"startTrackingLongTasks",0,function(){(0,f.addPerformanceInstrumentationHandler)("longtask",({entries:e})=>{let t=(0,i.getActiveSpan)();if(!t)return;let{op:n,start_timestamp:a}=(0,i.spanToJSON)(t);for(let i of e){let e=(0,S.msToSec)((0,r.browserPerformanceTimeOrigin)()+i.startTime),s=(0,S.msToSec)(i.duration);"navigation"===n&&a&&e<a||(0,S.startAndEndSpan)(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}})},"startTrackingWebVitals",0,A],361971);var L=e.i(285898),U=e.i(334018),w=e.i(908817);let C=new WeakMap,B=new WeakMap,P=["text/event-stream","application/x-ndjson","application/stream+json"],k=(0,L.defineIntegration)(()=>({name:"FetchStreamPerformance",setup(){(0,U.addFetchEndInstrumentationHandler)(e=>{if(e.response){let t=C.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=B.get(e.response);n&&clearTimeout(n)}}}),(0,U.addFetchInstrumentationHandler)(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get("content-type")||"";if(e.response.headers?.get("content-length")||!P.some(e=>t.startsWith(e)))return;let n=e.fetchData?.url||"",r=e.fetchData?.method||"GET",i=(0,s.parseStringToURLObject)(n),a=n.startsWith("data:")?(0,s.stripDataUrlContent)(n):i?(0,s.getSanitizedUrlStringFromUrlObject)(i):n,o=(0,w.startInactiveSpan)({name:`${r} ${a}`,startTime:e.endTimestamp,attributes:{url:(0,s.stripDataUrlContent)(n),"http.method":r,type:"fetch",[c.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client.stream",[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.stream"}});C.set(e.response,o);let l=setTimeout(()=>{o.isRecording()&&o.end()},9e4);B.set(e.response,l)}})}}));e.s(["fetchStreamPerformanceIntegration",0,k],613509);var M=e.i(304710),x=e.i(170887),W=e.i(451048);let F=[],$=new Map,H=new Map,G={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},q=({metric:e})=>
2{if(void 0==e.value)return;let t=(0,S.msToSec)(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&G[t.name]);if(!n)return;let{interactionId:a}=n,s=G[n.name],o=(0,S.msToSec)((0,r.browserPerformanceTimeOrigin)()+n.startTime),l=(0,i.getActiveSpan)(),u=l?(0,i.getRootSpan)(l):void 0,d=null!=a?$.get(a):void 0,g=d?.span||u,m=g?(0,i.spanToJSON)(g).description:(0,W.getCurrentScope)().getScopeData().transactionName,f=d?.elementName||(0,p.htmlTreeAsString)(n.target),h={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[c.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${s}`,[c.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:n.duration},_=(0,S.startStandaloneWebVitalSpan)({name:f,transaction:m,attributes:h,startTime:o});_&&(_.addEvent("inp",{[c.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[c.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value}),_.end(o+t))};function j(e){let{name:t,op:n,origin:r,metricName:a,value:s,attributes:o,parentSpan:l,reportEvent:u,startTime:d,endTime:p}=e,m=(0,W.getCurrentScope)().getScopeData().transactionName,f={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[c.SEMANTIC_ATTRIBUTE_SENTRY_OP]:n,[c.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,[`browser.web_vital.${a}.value`]:s,[I.SENTRY_TRANSACTION]:m,[I.SENTRY_SEGMENT_NAME]:m,"user_agent.original":g.WINDOW.navigator?.userAgent,...o};l&&(0,i.spanToStreamedSpanJSON)(l).attributes?.[c.SEMANTIC_ATTRIBUTE_SENTRY_OP]==="pageload"&&(f["sentry.pageload.span_id"]=l.spanContext().spanId),u&&(f[`browser.web_vital.${a}.report_event`]=u);let h=(0,w.startInactiveSpan)({name:t,attributes:f,startTime:d,parentSpan:l});h&&h.end(p??d)}let Y="WebVitals",V=(0,L.defineIntegration)((e={})=>{let t=new Set(e.ignore??[]);return{name:Y,setup(n){let a=(0,M.hasSpanStreamingEnabled)(n),{enableStandaloneClsSpans:s,enableStandaloneLcpSpans:o}=e._experiments??{},u=a||t.has("cls")?void 0:s||!1,d=a||t.has("lcp")?void 0:o||!1,g=A({recordClsStandaloneSpans:u,recordLcpStandaloneSpans:d,client:n}),m=new WeakSet;n.on("afterStartPageLoadSpan",e=>{m.add(e)}),n.on("spanEnd",e=>{m.delete(e)&&(g(),R(e,{recordClsOnPageloadSpan:!1===u,recordLcpOnPageloadSpan:!1===d,spanStreamingEnabled:a}))}),a?(t.has("lcp")||function(e){let t,n=0;if(!(0,S.supportsWebVital)("largest-contentful-paint"))return;let i=(0,f.addLcpInstrumentationHandler)(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(0,h.isValidLcpMetric)(e.value)&&(n=e.value,t=r)},!0);(0,S.listenForWebVitalReportEvents)(e,(e,a,s)=>{(function(e,t,n,i){if(!(0,h.isValidLcpMetric)(e))return;y.DEBUG_BUILD&&l.debug.log(`Sending LCP span (${e})`);let a=(0,r.browserPerformanceTimeOrigin)()||0,s=(0,S.msToSec)(a),o=(0,S.msToSec)(a+(t?.startTime||0)),c=t?(0,p.htmlTreeAsString)(t.element):"Largest contentful paint",u={};t?.element&&(u["browser.web_vital.lcp.element"]=(0,p.htmlTreeAsString)(t.element)),t?.id&&(u["browser.web_vital.lcp.id"]=t.id),t?.url&&(u["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(u["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(u["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(u["browser.web_vital.lcp.size"]=t.size),j({name:c,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:u,parentSpan:n,reportEvent:i,startTime:s,endTime:o})})(n,t,s,e),i()})}(n),t.has("cls")||function(e){let t,n=0;if(!(0,S.supportsWebVital)("layout-shift"))return;let i=(0,f.addClsInstrumentationHandler)(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);(0,S.listenForWebVitalReportEvents)(e,(e,a,s)=>{var o,c,u,d;let g,m,f;o=n,c=t,u=s,d=e,y.DEBUG_BUILD&&l.debug.log(`Sending CLS span (${o})`),g=c?(0,S.msToSec)(((0,r.browserPerformanceTimeOrigin)()||0)+c.startTime):(0,r.timestampInSeconds)(),m=c?(0,p.htmlTreeAsString)(c.sources[0]?.node):"Layout shift",f={},c?.sources&&c.sources.forEach((e,t)=>{f[`browser.web_vital.cls.source.${t+1}`]=(0,p.htmlTreeAsString)(e.node)}),j({name:m,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:o,attributes:f,parentSpan:u,reportEvent:d,startTime:g}),i()})}(n),!t.has("inp")&&(0,S.getBrowserPerformanceAPI)()&&(0,r.browserPerformanceTimeOrigin)()&&(0,f.addInpInstrumentationHandler)(({metric:e})=>{var t,n,a;let s,o,u,d,g,m,f,h;if(null==e.value||(0,S.msToSec)(e.value)>60)return;let _=e.entries.find(t=>t.duration===e.value&&G[t.name]);_&&(t=e.value,n=_,y.DEBUG_BUILD&&l.debug.log(`Sending INP span (${t})`),s=(0,S.msToSec)((0,r.browserPerformanceTimeOrigin)()+n.startTime),o=(0,S.msToSec)(t),u=G[n.name],d=null!=(a=n.interactionId)?$.get(a):void 0,m=(g=(0,i.getActiveSpan)())?(0,i.getRootSpan)(g):void 0,h=(f=d?.span||m)?(0,i.spanToStreamedSpanJSON)(f).name:(0,W.getCurrentScope)().getScopeData().transactionName,j({name:d?.elementName||(0,p.htmlTreeAsString)(n.target),op:`ui.interaction.${u}`,origin:"auto.http.browser.inp",metricName:"inp",value:t,attributes:{[c.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:n.duration,[I.SENTRY_TRANSACTION]:h,[I.SENTRY_SEGMENT_NAME]:h},startTime:s,endTime:s+o,parentSpan:f}))})):t.has("inp")||function(){if((0,S.getBrowserPerformanceAPI)()&&(0,r.browserPerformanceTimeOrigin)()){let e=(0,f.addInpInstrumentationHandler)(q);()=>{e()}}}()},afterAllSetup(){t.has("inp")||function(){let e=Object.keys(G);function t(e){let t=e.target;if(!t)return;let n=(0,p.htmlTreeAsString)(t),r=Math.round(e.timeStamp);if(H.set(r,n),H.size>50){let e=H.keys().next().value;void 0!==e&&H.delete(e)}}
2(0,x.isBrowser)()&&e.forEach(e=>{g.WINDOW.addEventListener(e,t,{capture:!0,passive:!0})});let n=({entries:e})=>{let t=(0,i.getActiveSpan)(),n=t&&(0,i.getRootSpan)(t);e.forEach(e=>{if(!(0,f.isPerformanceEventTiming)(e))return;let t=e.interactionId;if(null==t||$.has(t))return;let r=e.target?(0,p.htmlTreeAsString)(e.target):function(e){let t=Math.round(e.startTime),n=H.get(t);if(!n)for(let e=-5;e<=5;e++){let r=H.get(t+e);if(r){n=r;break}}return n||"<unknown>"}(e);if(F.length>10){let e=F.shift();$.delete(e)}F.push(t),$.set(t,{span:n,elementName:r})})};(0,f.addPerformanceInstrumentationHandler)("event",n),(0,f.addPerformanceInstrumentationHandler)("first-input",n)}()}}});e.s(["WEB_VITALS_INTEGRATION_NAME",0,Y,"webVitalsIntegration",0,V],831088);var z=e.i(442044),J=e.i(433908),K=e.i(159072);e.s(["registerBackgroundTabDetection",0,function(){K.WINDOW.document?K.WINDOW.document.addEventListener("visibilitychange",()=>{let e=(0,i.getActiveSpan)();if(!e)return;let t=(0,i.getRootSpan)(e);if(K.WINDOW.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,i.spanToJSON)(t);J.DEBUG_BUILD&&l.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:z.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):J.DEBUG_BUILD&&l.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")}],506235);let X="sentry_previous_trace";function Q(e){return 1===e.traceFlags}e.s(["linkTraces",0,function(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r="session-storage"===t,a=r?function(){try{let e=K.WINDOW.sessionStorage?.getItem(X);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,i.getRootSpan)(e)!==e)return;let t=(0,W.getCurrentScope)().getPropagationContext();a=function(e,t,n){let r=(0,i.spanToJSON)(t),a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{let e=Number(r.data?.[c.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}(),sampleRand:n.sampleRand};if(!e)return a;let s=e.spanContext;return s.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(J.DEBUG_BUILD&&l.debug.log(`Adding previous_trace \`${JSON.stringify(s)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:s,attributes:{[c.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${s.traceId}-${s.spanId}-${+!!Q(s)}`)),a)}(a,e,t),r&&function(e){try{K.WINDOW.sessionStorage.setItem(X,JSON.stringify(e))}catch(e){J.DEBUG_BUILD&&l.debug.warn("Could not store previous trace in sessionStorage",e)}}(a)});let s=!0;n&&e.on("beforeSampling",e=>{if(!a)return;let t=(0,W.getCurrentScope)(),n=t.getPropagationContext();if(s&&n.parentSpanId){s=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(a.sampleRate),sampled:String(Q(a.spanContext))},sampleRand:a.sampleRand}),e.parentSampled=Q(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes={...e.spanAttributes,[c.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:a.sampleRate}})}],465923)},327519,125595,e=>{"use strict";var t=e.i(182021),n=e.i(847378),r=e.i(451048),i=e.i(63104),a=e.i(142946),s=e.i(200928),o=e.i(957148),l=e.i(404174);function c(e){return null!=e&&e>0&&e<=6e4}e.s(["trackClsAsStandaloneSpan",0,function(e){let c,u=0;if(!(0,l.supportsWebVital)("layout-shift"))return;let d=(0,o.addClsInstrumentationHandler)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(u=e.value,c=t)},!0);(0,l.listenForWebVitalReportEvents)(e,(e,o)=>{var p,g,m,f;let h,_,S,E,T;p=u,g=c,m=o,f=e,a.DEBUG_BUILD&&t.debug.log(`Sending CLS span (${p})`),h=g?(0,l.msToSec)(((0,n.browserPerformanceTimeOrigin)()||0)+g.startTime):(0,n.timestampInSeconds)(),_=(0,r.getCurrentScope)().getScopeData().transactionName,S=g?(0,s.htmlTreeAsString)(g.sources[0]?.node):"Layout shift",E={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[i.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":m,"sentry.report_event":f}
2,g?.sources&&g.sources.forEach((e,t)=>{E[`cls.source.${t+1}`]=(0,s.htmlTreeAsString)(e.node)}),(T=(0,l.startStandaloneWebVitalSpan)({name:S,transaction:_,attributes:E,startTime:h}))&&(T.addEvent("cls",{[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:p}),T.end(h)),d()})}],327519),e.s(["isValidLcpMetric",0,c,"trackLcpAsStandaloneSpan",0,function(e){let u,d=0;if(!(0,l.supportsWebVital)("largest-contentful-paint"))return;let p=(0,o.addLcpInstrumentationHandler)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&c(e.value)&&(d=e.value,u=t)},!0);(0,l.listenForWebVitalReportEvents)(e,(e,o)=>{(function(e,o,u,d){if(!c(e))return;a.DEBUG_BUILD&&t.debug.log(`Sending LCP span (${e})`);let p=(0,l.msToSec)(((0,n.browserPerformanceTimeOrigin)()||0)+(o?.startTime||0)),g=(0,r.getCurrentScope)().getScopeData().transactionName,m=o?(0,s.htmlTreeAsString)(o.element):"Largest contentful paint",f={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[i.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":u,"sentry.report_event":d};o&&(o.element&&(f["lcp.element"]=(0,s.htmlTreeAsString)(o.element)),o.id&&(f["lcp.id"]=o.id),o.url&&(f["lcp.url"]=o.url),null!=o.loadTime&&(f["lcp.loadTime"]=o.loadTime),null!=o.renderTime&&(f["lcp.renderTime"]=o.renderTime),null!=o.size&&(f["lcp.size"]=o.size));let h=(0,l.startStandaloneWebVitalSpan)({name:m,transaction:g,attributes:f,startTime:p});h&&(h.addEvent("lcp",{[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),h.end(p))})(d,u,o,e),p()})}],125595)},957148,330386,378436,482688,e=>{"use strict";let t,n,r,i,a;var s=e.i(182021),o=e.i(25366),l=e.i(142946),c=e.i(624598);let u=(e,t,n,r)=>{let i,a;return s=>{if(t.value>=0&&(s||r)&&((a=t.value-(i??0))||void 0===i)){var o;i=t.value,t.delta=a,o=t.value,t.rating=o>n[1]?"poor":o>n[0]?"needs-improvement":"good",e(t)}}},d=(e=!0)=>{let t=c.WINDOW.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t};e.s(["getNavigationEntry",0,d],330386);let p=()=>{let e=d();return e?.activationStart??0};e.s(["getActivationStart",0,p],378436);var g=e.i(620305);let m=-1,f=new Set,h=e=>{if(("pagehide"===e.type||c.WINDOW.document?.visibilityState==="hidden")&&m>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of f)e();isFinite(m)||(m="visibilitychange"===e.type?e.timeStamp:0,(0,g.removePageListener)("prerenderingchange",h,!0))}},_=()=>{if(c.WINDOW.document&&m<0){let e=p();m=(c.WINDOW.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(c.WINDOW.document?.visibilityState!=="hidden"||c.WINDOW.document?.prerendering?1/0:0),(0,g.addPageListener)("visibilitychange",h,!0),(0,g.addPageListener)("pagehide",h,!0),(0,g.addPageListener)("prerenderingchange",h,!0)}return{get firstHiddenTime(){return m},onHidden(e){f.add(e)}}};e.s(["getVisibilityWatcher",0,_],482688);let S=(e,t=-1)=>{let n=d(),r="navigate";return n&&(c.WINDOW.document?.prerendering||p()>0?r="prerender":c.WINDOW.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:r}},E=new WeakMap;function T(e,t){try{return E.get(e)||E.set(e,new t),E.get(e)}catch(e){return new t}}class v{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let y=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}};var I=e.i(882414);let b=e=>{c.WINDOW.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},N=[1800,3e3],A=[.1,.25],R=0,O=1/0,D=0,L=e=>
2{e.forEach(e=>{e.interactionId&&(O=Math.min(O,e.interactionId),R=(D=Math.max(D,e.interactionId))?(D-O)/7+1:0)})},U=()=>t?R:performance.interactionCount||0,w=0;class C{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){w=U(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((U()-w)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(n)}}}var B=e.i(870208);let P=[200,500];class k{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let M=[2500,4e3],x=[800,1800],W=e=>{c.WINDOW.document?.prerendering?b(()=>W(e)):c.WINDOW.document?.readyState!=="complete"?addEventListener("load",()=>W(e),!0):setTimeout(e)},F={},$={};function H(e,t){let n=F[e];if(n?.length)for(let r of n)try{r(t)}catch(t){l.DEBUG_BUILD&&s.debug.error(`Error while triggering instrumentation handler.
3Type: ${e}
4Name: ${(0,o.getFunctionName)(r)}
5Error:`,t)}}function G(){return((e,t={})=>{((e,t={})=>{b(()=>{let n,r=_(),i=S("FCP"),a=y("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-p(),0),i.entries.push(t),n(!0)))});a&&(n=u(e,i,N,t.reportAllChanges))})})((0,I.runOnce)(()=>{let n,r=S("CLS",0),i=_(),a=T(t,v),s=e=>{for(let t of e)a._processEntry(t);a._sessionValue>r.value&&(r.value=a._sessionValue,r.entries=a._sessionEntries,n())},o=y("layout-shift",s);o&&(n=u(e,r,A,t.reportAllChanges),i.onHidden(()=>{s(o.takeRecords()),n(!0)}),c.WINDOW?.setTimeout?.(n))}))})(e=>{H("cls",{metric:e}),n=e},{reportAllChanges:!0})}function q(){return((e,t={})=>{b(()=>{let n,r=_(),i=S("LCP"),a=T(t,k),s=e=>{for(let s of(t.reportAllChanges||(e=e.slice(-1)),e))a._processEntry(s),s.startTime<r.firstHiddenTime&&(i.value=Math.max(s.startTime-p(),0),i.entries=[s],n())},o=y("largest-contentful-paint",s);if(o){n=u(e,i,M,t.reportAllChanges);let r=(0,I.runOnce)(()=>{s(o.takeRecords()),o.disconnect(),n(!0)}),a=e=>{e.isTrusted&&((0,B.whenIdleOrHidden)(r),(0,g.removePageListener)(e.type,a,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])(0,g.addPageListener)(e,a,{capture:!0})}})})(e=>{H("lcp",{metric:e}),r=e},{reportAllChanges:!0})}function j(){return((e,t={})=>{let n=S("TTFB"),r=u(e,n,x,t.reportAllChanges);W(()=>{let e=d();e&&(n.value=Math.max(e.responseStart-p(),0),n.entries=[e],r(!0))})})(e=>{H("ttfb",{metric:e}),i=e})}function Y(){return((e,n={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let r=_();b(()=>{let i;"interactionCount"in performance||t||(t=y("event",L,{type:"event",buffered:!0,durationThreshold:0}));let a=S("INP"),s=T(n,C),o=e=>{(0,B.whenIdleOrHidden)(()=>{for(let t of e)s._processEntry(t);let t=s._estimateP98LongestInteraction();t&&t._latency!==a.value&&(a.value=t._latency,a.entries=t.entries,i())})},l=y("event",o,{durationThreshold:n.durationThreshold??40});i=u(e,a,P,n.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{o(l.takeRecords()),i(!0)}))})})(e=>{H("inp",{metric:e}),a=e})}function V(e,t,n,r,i=!1){let a;return z(e,t),$[e]||(a=n(),$[e]=!0),r&&t({metric:r}),J(e,t,i?a:void 0)}function z(e,t){F[e]=F[e]||[],F[e].push(t)}function J(e,t,n){return()=>{n&&n();let r=F[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}e.s(["addClsInstrumentationHandler",0,function(e,t=!1){return V("cls",e,G,n,t)},"addInpInstrumentationHandler",0,function(e){return V("inp",e,Y,a)},"addLcpInstrumentationHandler",0,function(e,t=!1){return V("lcp",e,q,r,t)},"addPerformanceInstrumentationHandler",0,function(e,t){var n;let r;return z(e,t),$[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),y(n,e=>{H(n,{entries:e})},r),$[e]=!0),J(e,t)},"addTtfbInstrumentationHandler",0,function(e){return V("ttfb",e,j,i)},"isPerformanceEventTiming",0,function(e){return"duration"in e}],957148)},589889,e=>{"use strict";var t=e.i(847378),n=e.i(404174);function r(e){return e?(((0,t.browserPerformanceTimeOrigin)()||performance.timeOrigin)+e)/1e3:e}e.s(["resourceTimingToSpanAttributes",0,function(e){let i={};
5if(void 0!=e.nextHopProtocol){let{name:t,version:r}=(0,n.extractNetworkProtocol)(e.nextHopProtocol);i["network.protocol.version"]=r,i["network.protocol.name"]=t}return(0,t.browserPerformanceTimeOrigin)()||(0,n.getBrowserPerformanceAPI)()?.timeOrigin?Object.fromEntries(Object.entries({...i,"http.request.redirect_start":r(e.redirectStart),"http.request.redirect_end":r(e.redirectEnd),"http.request.worker_start":r(e.workerStart),"http.request.fetch_start":r(e.fetchStart),"http.request.domain_lookup_start":r(e.domainLookupStart),"http.request.domain_lookup_end":r(e.domainLookupEnd),"http.request.connect_start":r(e.connectStart),"http.request.secure_connection_start":r(e.secureConnectionStart),"http.request.connection_end":r(e.connectEnd),"http.request.request_start":r(e.requestStart),"http.request.response_start":r(e.responseStart),"http.request.response_end":r(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):i}])},404174,e=>{"use strict";var t=e.i(893859),n=e.i(908817),r=e.i(451048),i=e.i(624598),a=e.i(620305);e.s(["extractNetworkProtocol",0,function(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}},"getBrowserPerformanceAPI",0,function(){return i.WINDOW.addEventListener&&i.WINDOW.performance},"isMeasurementValue",0,function(e){return"number"==typeof e&&isFinite(e)},"listenForWebVitalReportEvents",0,function(e,t){let n,r,s=!1;function o(e){!s&&r&&t(e,r.spanContext().spanId,r),s=!0}n=e=>{("pagehide"===e.type||i.WINDOW.document?.visibilityState==="hidden")&&(()=>{o("pagehide")})()},(0,a.addPageListener)("visibilitychange",n,{capture:!0,once:!0}),(0,a.addPageListener)("pagehide",n,{capture:!0,once:!0});let l=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(o("navigation"),l(),c())}),c=e.on("afterStartPageLoadSpan",e=>{r=e,c()})},"msToSec",0,function(e){return e/1e3},"startAndEndSpan",0,function(e,r,i,{...a}){let s=(0,t.spanToJSON)(e).start_timestamp;return s&&s>r&&"function"==typeof e.updateStartTime&&e.updateStartTime(r),(0,n.withActiveSpan)(e,()=>{let e=(0,n.startInactiveSpan)({startTime:r,...a});return e&&e.end(i),e})},"startStandaloneWebVitalSpan",0,function(e){let t,a=(0,r.getClient)();if(!a)return;let{name:s,transaction:o,attributes:l,startTime:c}=e,{release:u,environment:d}=a.getOptions(),{userInfo:p}=a.getDataCollectionOptions(),g=a.getIntegrationByName("Replay"),m=g?.getReplayId(),f=(0,r.getCurrentScope)(),h=f.getUser(),_=void 0!==h?h.email||h.id||h.ip_address:void 0;try{t=f.getScopeData().contexts.profile.profile_id}catch{}let S={release:u,environment:d,user:_||void 0,profile_id:t||void 0,replay_id:m||void 0,transaction:o,"user_agent.original":i.WINDOW.navigator?.userAgent,"client.address":p?"{{auto}}":void 0,...l};return(0,n.startInactiveSpan)({name:s,attributes:S,startTime:c,experimental:{standalone:!0}})},"supportsWebVital",0,function(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}],404174)},814193,e=>{"use strict";var t=e.i(182021),n=e.i(142946);let r=Symbol.for("sentry__originalRequestBody");function i(e){return new URLSearchParams(e).toString()}e.s(["getBodyString",0,function(e,r=t.debug){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[i(e)];if(!e)return[void 0]}catch(t){return n.DEBUG_BUILD&&r.error(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return n.DEBUG_BUILD&&r.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]},"getFetchRequestArgBody",0,function(e=[]){if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][r];if(void 0!==t)return t}},"parseXhrResponseHeaders",0,function(e){let r;try{r=e.getAllResponseHeaders()}catch(r){return n.DEBUG_BUILD&&t.debug.error(r,"Failed to get xhr response headers",e),{}}return r?r.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}},"serializeFormData",0,i])},624598,e=>{"use strict";let t=e.i(410544).GLOBAL_OBJ;e.s(["WINDOW",0,t])},9720,e=>{"use strict";var t=e.i(389),n=e.i(449079),r=e.i(990476),i=e.i(645804),a=e.i(120115),s=e.i(159072);class o extends t.Client{constructor(e){const t=function(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:s.WINDOW.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e),a=s.WINDOW.SENTRY_SDK_SOURCE||(0,n.getSDKSource)();(0,r.applySdkMetadata)(t,"browser",["browser"],a),super(t);const{userInfo:o}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:o?"auto":"never",...t._metadata.sdk.settings});const{sendClientReports:l}=this._options;s.WINDOW.document&&s.WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===s.WINDOW.document.visibilityState&&(l&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),o&&this.on("beforeSendSession",i.addAutoIpAddressToSession)}eventFromException(e,t){return(0,a.eventFromException)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return(0,a.eventFromMessage)(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}e.s(["BrowserClient",0,o])},433908,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",0,t])},159072,e=>{"use strict";var t=e.i(410544),n=e.i(899619),r=e.i(451048),i=e.i(387395),a=e.i(275885),s=e.i(530011);let o=t.GLOBAL_OBJ,l=0;e.s(["WINDOW",0,o,"getHttpRequestData",0,function(){let e=(0,s.getLocationHref)(),{referrer:t}=o.document||{},{userAgent:n}=o.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}},"shouldIgnoreOnError",0,function(){return l>0},"wrap",0,function e(s,o={}){if("function"!=typeof s)return s;try{if(Object.prototype.hasOwnProperty.call(s,"__sentry_wrapped__")){let e=s.__sentry_wrapped__;if("function"==typeof e)return e;return s}if((0,n.getOriginalFunction)(s))return s}catch{return s}let c=function(...n){t.GLOBAL_OBJ._sentryWrappedDepth=(t.GLOBAL_OBJ._sentryWrappedDepth||0)+1;try{let t=n.map(t=>e(t,o));return s.apply(this,t)}catch(e){throw l++,setTimeout(()=>{l--}),(0,r.withScope)(t=>{t.addEventProcessor(e=>(o.mechanism&&((0,i.addExceptionTypeValue)(e,void 0,void 0),(0,i.addExceptionMechanism)(e,o.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,a.captureException)(e)}),e}finally{t.GLOBAL_OBJ._sentryWrappedDepth=(t.GLOBAL_OBJ._sentryWrappedDepth||0)-1}};try{for(let e in s)Object.prototype.hasOwnProperty.call(s,e)&&(c[e]=s[e])}catch{}(0,n.markFunctionWrapped)(c,s),(0,n.addNonEnumerableProperty)(s,"__sentry_wrapped__",c);try{Object.getOwnPropertyDescriptor(c,"name").configurable&&Object.defineProperty(c,"name",{get:()=>s.name})}catch{}return c}])},488263,240236,620305,882414,870208,672968,275287,625171,e=>{"use strict";var t=e.i(285898),n=e.i(782771),r=e.i(334018),i=e.i(451048),a=e.i(399677),s=e.i(131713),o=e.i(460077),l=e.i(182021),c=e.i(530011),u=e.i(762190),d=e.i(758893),p=e.i(387395),g=e.i(170337),m=e.i(143630),f=e.i(808114),h=e.i(200928),_=e.i(433908),S=e.i(159072);let E=(0,t.defineIntegration)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var E,T,v,y,I,b,N;t.console&&(0,n.addConsoleInstrumentationHandler)((E=e,function(e){if((0,i.getClient)()!==E)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,s.severityLevelFromString)(e.level),message:(0,a.safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,a.safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);(0,o.addBreadcrumb)(t,{input:e.args,level:e.level})})),t.dom&&(0,g.addClickKeypressInstrumentationHandler)((T=e,v=t.dom,function(e){let t,n;if((0,i.getClient)()!==T)return;let r="object"==typeof v?v.serializeAttribute:void 0,a="object"==typeof v&&"number"==typeof v.maxStringLength?v.maxStringLength:void 0;a&&a>1024&&(_.DEBUG_BUILD&&l.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof r&&(r=[r]);try{var s;let i=e.event,o=(s=i)&&s.target?i.target:i;t=(0,h.htmlTreeAsString)(o,{keyAttrs:r,maxStringLength:a}),n=(0,c.getComponentName)(o)}catch{t="<unknown>"}if(0===t.length)return;let u={category:`ui.${e.name}`,message:t};n&&(u.data={"ui.component_name":n}),(0,o.addBreadcrumb)(u,{event:e.event,name:e.name,global:e.global})})),t.xhr&&(0,m.addXhrInstrumentationHandler)((y=e,function(e){if((0,i.getClient)()!==y)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[m.SENTRY_XHR_DATA_KEY];if(!t||!n||!r)return;let{method:a,url:s,status_code:l,body:c}=r,d={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:n},p={category:"xhr",data:{method:a,url:s,status_code:l},type:"http",level:(0,u.getBreadcrumbLogLevelFromHttpStatusCode)(l)};y.emit("beforeOutgoingRequestBreadcrumb",p,d),(0,o.addBreadcrumb)(p,d)})),t.fetch&&(0,r.addFetchInstrumentationHandler)((I=e,function(e){if((0,i.getClient)()!==I)return;let{startTimestamp:t,endTimestamp:n}=e;
5if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},i={category:"fetch",data:e.fetchData,level:"error",type:"http"};I.emit("beforeOutgoingRequestBreadcrumb",i,r),(0,o.addBreadcrumb)(i,r)}else{let r=e.response,i={...e.fetchData,status_code:r?.status},a={input:e.args,response:r,startTimestamp:t,endTimestamp:n},s={category:"fetch",data:i,type:"http",level:(0,u.getBreadcrumbLogLevelFromHttpStatusCode)(i.status_code)};I.emit("beforeOutgoingRequestBreadcrumb",s,a),(0,o.addBreadcrumb)(s,a)}})),t.history&&(0,f.addHistoryInstrumentationHandler)((b=e,function(e){if((0,i.getClient)()!==b)return;let t=e.from,n=e.to,r=(0,d.parseUrl)(S.WINDOW.location.href),a=t?(0,d.parseUrl)(t):void 0,s=(0,d.parseUrl)(n);a?.path||(a=r),r.protocol===s.protocol&&r.host===s.host&&(n=s.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),(0,o.addBreadcrumb)({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(N=e,function(e){(0,i.getClient)()===N&&(0,o.addBreadcrumb)({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,p.getEventDescription)(e)},{event:e})}))}}});e.s(["breadcrumbsIntegration",0,E],488263);var T=e.i(899619),v=e.i(25366);let y="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),I=(0,t.defineIntegration)((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,T.fill)(S.WINDOW,"setTimeout",b),t.setInterval&&(0,T.fill)(S.WINDOW,"setInterval",b),t.requestAnimationFrame&&(0,T.fill)(S.WINDOW,"requestAnimationFrame",N),t.XMLHttpRequest&&"XMLHttpRequest"in S.WINDOW&&(0,T.fill)(XMLHttpRequest.prototype,"send",A);let e=t.eventTarget;e&&(Array.isArray(e)?e:y).forEach(e=>{var n,r;let i,a;return n=e,r=t,i=S.WINDOW,a=i[n]?.prototype,void(a?.hasOwnProperty?.("addEventListener")&&((0,T.fill)(a,"addEventListener",function(e){return function(t,i,a){var s,o,l,c;try{s=i,"function"==typeof s.handleEvent&&(i.handleEvent=(0,S.wrap)(i.handleEvent,{mechanism:{data:{handler:(0,v.getFunctionName)(i),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return r.unregisterOriginalCallbacks&&(o=this,l=t,c=i,o&&"object"==typeof o&&"removeEventListener"in o&&"function"==typeof o.removeEventListener&&o.removeEventListener(l,c)),e.apply(this,[t,(0,S.wrap)(i,{mechanism:{data:{handler:(0,v.getFunctionName)(i),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,T.fill)(a,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}})))})}}});function b(e){return function(...t){let n=t[0];return t[0]=(0,S.wrap)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,v.getFunctionName)(e)}`}}),e.apply(this,t)}}function N(e){return function(t){return e.apply(this,[(0,S.wrap)(t,{mechanism:{data:{handler:(0,v.getFunctionName)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function A(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,T.fill)(n,e,function(t){let n={mechanism:{data:{handler:(0,v.getFunctionName)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,T.getOriginalFunction)(t);return r&&(n.mechanism.data.handler=(0,v.getFunctionName)(r)),(0,S.wrap)(t,n)})}),e.apply(this,t)}}e.s(["browserApiErrorsIntegration",0,I],240236);var R=e.i(275885),O=e.i(624598);function D(e,t,n){O.WINDOW.document&&O.WINDOW.addEventListener(e,t,n)}function L(e,t,n){O.WINDOW.document&&O.WINDOW.removeEventListener(e,t,n)}e.s(["addPageListener",0,D,"removePageListener",0,L],620305);let U=e=>{let t=!1;return()=>{t||(e(),t=!0)}};e.s(["runOnce",0,U],882414);let w=e=>{let t=O.WINDOW.requestIdleCallback||O.WINDOW.setTimeout;O.WINDOW.document?.visibilityState==="hidden"?e():(D("visibilitychange",e=U(e),{once:!0,capture:!0}),D("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),L("visibilitychange",e,{capture:!0}),L("pagehide",e,{capture:!0})}
5))};e.s(["whenIdleOrHidden",0,w],870208);let C=(0,t.defineIntegration)((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===S.WINDOW.document){_.DEBUG_BUILD&&l.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,R.startSession)({ignoreDuration:!0});let e=!1;w(()=>{e||((0,R.captureSession)(),e=!0)});let n=(0,i.getIsolationScope)(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&(0,R.captureSession)())}),"route"===t&&(0,f.addHistoryInstrumentationHandler)(({from:t,to:n})=>{t!==n&&((0,R.startSession)({ignoreDuration:!0}),(0,R.captureSession)(),e=!0)})}}});e.s(["browserSessionIntegration",0,C],672968);var B=e.i(63104),P=e.i(272536),k=e.i(893859),M=e.i(22511),x=e.i(665720),W=e.i(872028),F=e.i(363254);function $(e,t){let n=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in n||(n[e]=t)})}e.s(["captureSpan",0,function(e,t){var n,r;let i,a,s=(0,k.spanToStreamedSpanJSON)(e),o=(0,k.INTERNAL_getSegmentSpan)(e),l=(0,k.spanToStreamedSpanJSON)(o),{isolationScope:c,scope:u}=(0,M.getCapturedScopesOnSpan)(e),d=(0,P.getCombinedScopeData)(c,u);!function(e,t,n,r){let i=n.getSdkMetadata(),{release:a,environment:s}=n.getOptions();$(e,{[F.SENTRY_TRACE_LIFECYCLE]:"stream",[F.SENTRY_SEGMENT_NAME]:t.name,[F.SENTRY_SEGMENT_ID]:t.span_id,[F.SENTRY_SDK_NAME]:i?.sdk?.name,[F.SENTRY_SDK_VERSION]:i?.sdk?.version,[B.SEMANTIC_ATTRIBUTE_SENTRY_RELEASE]:a,[B.SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT]:s||W.DEFAULT_ENVIRONMENT,[B.SEMANTIC_ATTRIBUTE_USER_ID]:r.user?.id,[B.SEMANTIC_ATTRIBUTE_USER_EMAIL]:r.user?.email,[B.SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS]:r.user?.ip_address,[B.SEMANTIC_ATTRIBUTE_USER_USERNAME]:r.user?.username,...r.attributes})}(s,l,t,d);let p=e.kind;t.emit("preprocessSpan",s,{spanKind:p}),s.is_segment&&($(s,function(e){let t={},{response:n,profile:r,cloud_resource:i,culture:a,state:s}=e;if(n&&(null!=n.status_code&&(t["http.response.status_code"]=n.status_code),null!=n.body_size&&(t["http.response.body.size"]=n.body_size)),r&&(r.profile_id&&(t["sentry.profile_id"]=r.profile_id),r.profiler_id&&(t["sentry.profiler_id"]=r.profiler_id)),i)for(let[e,n]of Object.entries(i))null!=n&&(t[e]=n);a&&(a.locale&&(t["culture.locale"]=a.locale),a.timezone&&(t["culture.timezone"]=a.timezone)),s?.state&&"string"==typeof s.state.type&&(t["state.type"]=s.state.type);let o=e.angular;if(o){let e=o.version;("string"==typeof e||"number"==typeof e)&&(t["angular.version"]=e)}let l=e.react;if(l){let e=l.version;("string"==typeof e||"number"==typeof e)&&(t["react.version"]=e)}return t}(d.contexts)),n=s,(i=t.getIntegrationNames()).length&&$(n,{[B.SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS]:i}),t.emit("processSegmentSpan",s)),t.emit("processSpan",s);let{beforeSendSpan:g}=t.getOptions(),m=g&&(0,x.isStreamedBeforeSendSpanCallback)(g)?(a=g(r=s))||((0,k.showSpanDropWarning)(),r):s,f=m.attributes?.[B.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];return s.is_segment&&f&&$(m,{"sentry.segment.name.source":f}),{...(0,k.streamedSpanJsonToSerializedSpan)(m),_segmentSpan:o}},"safeSetSpanJSONAttributes",0,$],275287);let H=(0,t.defineIntegration)(()=>({name:"CultureContext",preprocessEvent(e){let t=G();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=G();t&&$(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}}));function G(){try{let e=S.WINDOW.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}e.s(["cultureContextIntegration",0,H],625171)},779749,58540,181517,e=>{"use strict";var t=e.i(285898),n=e.i(602486),r=e.i(451048),i=e.i(275885),a=e.i(182021),s=e.i(983276),o=e.i(914046),l=e.i(25366),c=e.i(530011),u=e.i(758893),d=e.i(433908),p=e.i(120115),g=e.i(159072);let m=(0,t.defineIntegration)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var a,d;t.onerror&&(a=e,(0,n.addGlobalErrorInstrumentationHandler)(e=>{var t,n,s,d;let m,f,h,_,E,{stackParser:T,attachStacktrace:v}=S();if((0,r.getClient)()!==a||(0,g.shouldIgnoreOnError)())return;let{msg:y,url:I,line:b,column:N,error:A}=e,R=(t=(0,p.eventFromUnknownInput)(T,A||y,void 0,v,!1),n=I,s=b,d=N,0===(E=(_=(h=(f=(m=t.exception=t.exception||{}).values=m.values||[])[0]=f[0]||{}).stacktrace=h.stacktrace||{}).frames=_.frames||[]).length&&E.push({colno:d,lineno:s,filename:function(e){if((0,o.isString)(e)&&0!==e.length)return e.startsWith("data:")?`<${(0,u.stripDataUrlContent)(e,!1)}>`:e}(n)??(0,c.getLocationHref)(),function:l.UNKNOWN_FUNCTION,in_app:!0}),t);R.level="error",(0,i.captureEvent)(R,{originalException:A,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),_("onerror")),t.onunhandledrejection&&(d=e,(0,s.addGlobalUnhandledRejectionInstrumentationHandler)(e=>{let{stackParser:t,attachStacktrace:n}=S();if((0,r.getClient)()!==d||(0,g.shouldIgnoreOnError)())return;let a=f(e),s=(0,o.isPrimitive)(a)?h(a):(0,p.eventFromUnknownInput)(t,a,void 0,n,!0);s.level="error",(0,i.captureEvent)(s,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),_("onunhandledrejection"))}}});function f(e){if((0,o.isPrimitive)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function h(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function _(e){d.DEBUG_BUILD&&a.debug.log(`Global Handler attached: ${e}`)}function S(){let e=(0,r.getClient)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}e.s(["_eventFromRejectionWithPrimitive",0,h,"_getUnhandledRejectionError",0,f,"globalHandlersIntegration",0,m],779749);var E=e.i(63104),T=e.i(275287),v=e.i(363254);let y=(0,t.defineIntegration)(()=>({name:"HttpContext",preprocessEvent(e){if(!g.WINDOW.navigator&&!g.WINDOW.location&&!g.WINDOW.document)return;let t=(0,g.getHttpRequestData)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){let t=e.attributes?.[E.SEMANTIC_ATTRIBUTE_SENTRY_OP];if(!g.WINDOW.navigator&&!g.WINDOW.location&&!g.WINDOW.document)return;let n=(0,g.getHttpRequestData)();(0,T.safeSetSpanJSONAttributes)(e,{[v.URL_FULL]:"http.client"!==t?n.url:void 0,"http.request.header.user_agent":n.headers["User-Agent"],"http.request.header.referer":n.headers.Referer})}}));function I(e){return Array.isArray(e.errors)}function b(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...I(n)&&{is_exception_group:!0}
5,...e.mechanism,exception_id:t}}function N(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}e.s(["httpContextIntegration",0,y],58540);let A=(0,t.defineIntegration)((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let a=i.getOptions();!function(e,t,n,r,i,a){if(!i.exception?.values||!a||!(0,o.isError)(a.originalException))return;let s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=function e(t,n,r,i,a,s,l,c){if(s.length>=r+1)return s;let u=[...s];if((0,o.isError)(i[a])){b(l,c,i);let s=t(n,i[a]),o=u.length;N(s,a,o,c),u=e(t,n,r,i[a],a,[s,...u],s,o)}return I(i)&&i.errors.forEach((s,d)=>{if((0,o.isError)(s)){b(l,c,i);let o=t(n,s),p=u.length;N(o,`errors[${d}]`,p,c),u=e(t,n,r,s,a,[o,...u],o,p)}}),u}(e,t,r,a.originalException,n,i.exception.values,s,0))}(p.exceptionFromError,a.stackParser,n,t,e,r)}}});e.s(["linkedErrorsIntegration",0,A],181517)},540237,666531,e=>{"use strict";var t=e.i(418557),n=e.i(573338),r=e.i(298833),i=e.i(512623),a=e.i(285898),s=e.i(25366),o=e.i(878174),l=e.i(685168),c=e.i(9720),u=e.i(488263),d=e.i(240236),p=e.i(672968),g=e.i(625171),m=e.i(779749),f=e.i(58540),h=e.i(181517),_=e.i(399358),S=e.i(548133),E=e.i(200928);let T=/^HTML(\w*)Element$/;function v(e){if("u">typeof window&&e===window)return"[Window]";if("u">typeof document&&e===document)return"[Document]";if(function(e){if("u"<typeof Element)return!1;try{return e instanceof Element}catch{return!1}}(e)){let t,n=(t=Object.getPrototypeOf(e),t?.constructor?t.constructor.name:"null prototype");if(T.test(n))return`[HTMLElement: ${(0,E.htmlTreeAsString)(e)}]`}}e.s(["normalizeStringifyValue",0,v],666531);var y=e.i(182021),I=e.i(530011),b=e.i(433908),N=e.i(159072);function A(e){return[(0,t.inboundFiltersIntegration)(),(0,n.functionToStringIntegration)(),(0,r.conversationIdIntegration)(),(0,d.browserApiErrorsIntegration)(),(0,u.breadcrumbsIntegration)(),(0,m.globalHandlersIntegration)(),(0,h.linkedErrorsIntegration)(),(0,i.dedupeIntegration)(),(0,f.httpContextIntegration)(),(0,g.cultureContextIntegration)(),(0,p.browserSessionIntegration)()]}e.s(["forceLoad",0,function(){},"getDefaultIntegrations",0,A,"init",0,function(e={}){let t=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===N.WINDOW.window)return!1;let e=N.WINDOW;if(e.nw)return!1;let t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;let n=(0,I.getLocationHref)();return!(N.WINDOW===N.WINDOW.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}()&&(b.DEBUG_BUILD&&(0,y.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),n=null==e.defaultIntegrations?A():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:(0,s.stackParserFromStackParserOptions)(e.stackParser||_.defaultStackParser),integrations:(0,a.getIntegrationsToSetup)({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||S.makeFetchTransport};return(0,o.setNormalizeStringifier)(v),(0,l.initAndBind)(c.BrowserClient,r)},"onLoad",0,function(e){e()}],540237)},399358,e=>{"use strict";var t=e.i(25366);function n(e,n,r,i){let a={filename:e,function:"<anonymous>"===n?t.UNKNOWN_FUNCTION:n,in_app:!0};return void 0!==r&&(a.lineno=r),void 0!==i&&(a.colno=i),a}let r=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,s=/at (.+?) ?\(data:(.+?),/,o=[30,e=>{let o=e.match(s);if(o)return{filename:`<data:${o[2]}>`,function:o[1]};let l=r.exec(e);if(l){let[,e,r,i]=l;return n(e,t.UNKNOWN_FUNCTION,+r,+i)}let c=i.exec(e);if(c){if(c[2]?.indexOf("eval")===0){let e=a.exec(c[2]);e&&(c[2]=e[1],c[3]=e[2],c[4]=e[3])}let[e,r]=E(c[1]||t.UNKNOWN_FUNCTION,c[2]);return n(r,e,c[3]?+c[3]:void 0,c[4]?+c[4]:void 0)}}],l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=[50,e=>{let r=l.exec(e);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){let e=c.exec(r[3]);e&&(r[1]=r[1]||"eval",r[3]=e[1],r[4]=e[2],r[5]="")}let e=r[3],i=r[1]||t.UNKNOWN_FUNCTION;return[i,e]=E(i,e),n(e,i,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}}],d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,p=[40,e=>{let r=d.exec(e);return r?n(r[2],r[1]||t.UNKNOWN_FUNCTION,+r[3],r[4]?+r[4]:void 0):void 0}],g=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,m=[10,e=>{let r=g.exec(e);return r?n(r[2],r[3]||t.UNKNOWN_FUNCTION,+r[1]):void 0}],f=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,h=[20,e=>{let r=f.exec(e);return r?n(r[5],r[3]||r[4]||t.UNKNOWN_FUNCTION,+r[1],+r[2]):void 0}],_=[o,u],S=(0,t.createStackParser)(..._),E=(e,n)=>{let r=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return r||i?[-1!==e.indexOf("@")?e.split("@")[0]:t.UNKNOWN_FUNCTION,r?`safari-extension:${n}`:`safari-web-extension:${n}`]:[e,n]};e.s(["chromeStackLineParser",0,o,"defaultStackLineParsers",0,_,"defaultStackParser",0,S,"geckoStackLineParser",0,u,"opera10StackLineParser",0,m,"opera11StackLineParser",0,h,"winjsStackLineParser",0,p])},910720,124707,e=>{"use strict";var t=e.i(464735),n=e.i(182021),r=e.i(530011),i=e.i(847378),a=e.i(758893),s=e.i(856291),o=e.i(410544),l=e.i(451048),c=e.i(359546),u=e.i(254402),d=e.i(76357),p=e.i(893859),g=e.i(908817),m=e.i(63104),f=e.i(304710),h=e.i(540735),_=e.i(899619),S=e.i(808114),E=e.i(361971),T=e.i(433908),v=e.i(159072),y=e.i(613509),I=e.i(831088),b=e.i(506235),N=e.i(465923),A=e.i(790458),R=e.i(363254);let O=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function D(){let e=v.WINDOW.navigator;return!!e?.userAgent&&O.test(e.userAgent)}let L={...t.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
5dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...A.defaultRequestInstrumentationOptions};function U(e,t,n){e.emit("startPageLoadSpan",t,n),(0,l.getCurrentScope)().setTransactionName(t.name);let r=e[P];return r&&e.emit("afterStartPageLoadSpan",r),r}function w(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i,url:r}),e.emit("startNavigationSpan",t,{isRedirect:i,url:r});let a=(0,l.getCurrentScope)();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...(0,v.getHttpRequestData)(),url:r}}),e[P]}function C(e){let t=v.WINDOW.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}function B(e){let t=v.WINDOW.performance?.getEntriesByType?.("navigation")[0],n=t?.serverTiming?.find(t=>t.name===e);return n?.description}let P="_sentry_idleSpan";function k(e,t){(0,_.addNonEnumerableProperty)(e,P,t)}e.s(["browserTracingIntegration",0,(e={})=>{let _,O;"enableElementTiming"in e&&(0,n.consoleSandbox)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let M={name:void 0,source:void 0},x=v.WINDOW.document,{enableInp:W,enableLongTask:F,enableLongAnimationFrame:$,_experiments:{enableInteractions:H,enableStandaloneClsSpans:G,enableStandaloneLcpSpans:q},beforeStartSpan:j,idleTimeout:Y,finalTimeout:V,childSpanTimeout:z,markBackgroundSpan:J,traceFetch:K,traceXHR:X,trackFetchStreamPerformance:Q,shouldCreateSpanForRequest:Z,enableHTTPTimings:ee,ignoreResourceSpans:et,ignorePerformanceApiSpans:en,instrumentPageLoad:er,instrumentNavigation:ei,detectRedirects:ea,linkPreviousTrace:es,consistentTraceSampling:eo,enableReportPageLoaded:el,onRequestSpanStart:ec,onRequestSpanEnd:eu}={...L,...e},ed=D();function ep(e,n,s=!0,o){let c="pageload"===n.op,u=n.name,d=j?j(n):n,_=(0,a.parseStringToURLObject)(o||(0,r.getLocationHref)()),S={..._?.pathname&&{[R.URL_PATH]:_.pathname},..._&&!(0,a.isURLObjectRelative)(_)&&{[R.URL_FULL]:_.href},...d.attributes};if(u!==d.name&&(S[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom"),d.attributes=S,!s){let e=(0,i.dateTimestampInSeconds)();(0,g.startInactiveSpan)({...d,startTime:e}).end(e);return}M.name=d.name,M.source=S[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let T=(0,t.startIdleSpan)(d,{idleTimeout:Y,finalTimeout:V,childSpanTimeout:z,disableAutoFinish:c,beforeSpanEnd:t=>{(0,E.addPerformanceEntries)(t,{ignoreResourceSpans:et,ignorePerformanceApiSpans:en,spanStreamingEnabled:(0,f.hasSpanStreamingEnabled)(e)}),k(e,void 0);let n=(0,l.getCurrentScope)(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:T.spanContext().traceId,sampled:(0,p.spanIsSampled)(T),dsc:(0,h.getDynamicSamplingContextFromSpan)(t)}),c&&(O=void 0)},trimIdleSpanEndTimestamp:!el});function v(){x&&["interactive","complete"].includes(x.readyState)&&(e.emit("idleSpanEnableAutoFinish",T),x.removeEventListener("readystatechange",v))}c&&el&&(O=T),k(e,T),c&&!el&&x&&(x.addEventListener("readystatechange",v),v())}return{name:"BrowserTracing",setup(e){if(ed){T.DEBUG_BUILD&&n.debug.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if((0,s.registerSpanErrorInstrumentation)(),$&&o.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?(0,E.startTrackingLongAnimationFrames)():F&&(0,E.startTrackingLongTasks)(),H&&(0,E.startTrackingInteractions)(),ea&&x){let e=()=>{_=(0,i.timestampInSeconds)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function t(){let t=e[P];t&&!(0,p.spanToJSON)(t).timestamp&&(T.DEBUG_BUILD&&n.debug.log(`[Tracing] Finishing current active span with op: ${(0,p.spanToJSON)(t).op}`),t.setAttribute(m.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),t.end())}e.on("startNavigationSpan",(r,i)=>{if((0,l.getClient)()!==e)return;if(i?.isRedirect){T.DEBUG_BUILD&&n.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),ep(e,{op:"navigation.redirect",...r},!1,i.url);return}_=void 0,t(),(0,l.getIsolationScope)().setPropagationContext({traceId:(0,u.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,c.hasSpansEnabled)()?void 0:(0,u.generateSpanId)()});let a=(0,l.getCurrentScope)();a.setPropagationContext({traceId:(0,u.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,c.hasSpansEnabled)()?void 0:(0,u.generateSpanId)()}),a.setSDKProcessingMetadata({normalizedRequest:void 0}),ep(e,{op:"navigation",...r,parentSpan:null,forceTransaction:!0},!0,i?.url)}),e.on("startPageLoadSpan",(n,r={})=>
5{if((0,l.getClient)()!==e)return;t();let i=r.sentryTrace||C("sentry-trace")||B("sentry-trace"),a=r.baggage||C("baggage")||B("baggage"),s=(0,d.propagationContextFromHeaders)(i,a),o=(0,l.getCurrentScope)();o.setPropagationContext(s),(0,c.hasSpansEnabled)()||(o.getPropagationContext().propagationSpanId=(0,u.generateSpanId)()),o.setSDKProcessingMetadata({normalizedRequest:(0,v.getHttpRequestData)()}),ep(e,{op:"pageload",...n})}),e.on("endPageloadSpan",()=>{el&&O&&(O.setAttribute(m.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),O.end())})},afterAllSetup(e){var s,o,l,c,u;let d;if(ed)return;e.addIntegration&&!e.getIntegrationByName?.(I.WEB_VITALS_INTEGRATION_NAME)&&e.addIntegration((0,I.webVitalsIntegration)({ignore:W?[]:["inp"],_experiments:{enableStandaloneClsSpans:G,enableStandaloneLcpSpans:q}}));let g=(0,r.getLocationHref)();if("off"!==es&&(0,N.linkTraces)(e,{linkPreviousTrace:es,consistentTraceSampling:eo}),v.WINDOW.location){if(er){let t=(0,i.browserPerformanceTimeOrigin)();U(e,{name:v.WINDOW.location.pathname,startTime:t?t/1e3:void 0,attributes:{[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[m.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}ei&&(0,S.addHistoryInstrumentationHandler)(({to:t,from:n})=>{var r,s;let o,l;if(void 0===n&&g?.indexOf(t)!==-1){g=void 0;return}g=void 0;let c=(0,a.parseStringToURLObject)(t),u=e[P],d=u&&ea&&(r=u,s=_,o=(0,p.spanToJSON)(r),!((l=(0,i.dateTimestampInSeconds)())-o.start_timestamp>1.5)&&(!s||!(l-s<=1.5)));w(e,{name:c?.pathname||v.WINDOW.location.pathname,attributes:{[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[m.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:t,isRedirect:d})})}J&&(0,b.registerBackgroundTabDetection)(),H&&(s=e,o=Y,l=V,c=z,u=M,v.WINDOW.document&&addEventListener("click",()=>{let e="ui.action.click",r=s[P];if(r&&["navigation","pageload"].includes((0,p.spanToJSON)(r).op)){T.DEBUG_BUILD&&n.debug.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(d&&(d.setAttribute(m.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),d.end(),d=void 0),!u.name){T.DEBUG_BUILD&&n.debug.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}d=(0,t.startIdleSpan)({name:u.name,op:e,attributes:{[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:u.source||"url"}},{idleTimeout:o,finalTimeout:l,childSpanTimeout:c})},{capture:!0})),(0,A.instrumentOutgoingRequests)(e,{traceFetch:K,traceXHR:X,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:Z,enableHTTPTimings:ee,onRequestSpanStart:ec,onRequestSpanEnd:eu}),Q&&e.addIntegration((0,y.fetchStreamPerformanceIntegration)())}}},"isBotUserAgent",0,D,"startBrowserTracingNavigationSpan",0,w,"startBrowserTracingPageLoadSpan",0,U],910720);var M=e.i(624598);e.s(["getAbsoluteUrl",0,function(e){try{return new URL(e,M.WINDOW.location.origin).toString()}catch{return e}}],124707)},790458,e=>{"use strict";var t=e.i(334018),n=e.i(226836),r=e.i(758893),i=e.i(893859),a=e.i(304710),s=e.i(847378),o=e.i(359546),l=e.i(442044),c=e.i(451048),u=e.i(908817),d=e.i(63104),p=e.i(333226),g=e.i(530011),m=e.i(399677),f=e.i(295998),h=e.i(143630),_=e.i(957148),S=e.i(589889),E=e.i(814193),T=e.i(159072);function v(e){try{return new URL(e,T.WINDOW.location.origin).href}catch{return}}function y(e){try{return new Headers(e)}catch{return}}var I=e.i(363254);let b={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function N(e,t){let{url:n}=(0,i.spanToJSON)(e).data;if(!n||"string"!=typeof n)return;let r=()=>void setTimeout(o);if((0,a.hasSpanStreamingEnabled)(t)){let t=e.end.bind(e);e.end=e=>{let n=e??(0,s.timestampInSeconds)(),i=!1,a=()=>{i||(i=!0,setTimeout(o),t(n),clearTimeout(l))};r=a;let l=setTimeout(a,300)}}let o=(0,_.addPerformanceInstrumentationHandler)("resource",({entries:t})=>{t.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(n)&&(e.setAttributes((0,S.resourceTimingToSpanAttributes)(t)),r()
5)})})}e.s(["defaultRequestInstrumentationOptions",0,b,"instrumentOutgoingRequests",0,function(e,s){let{traceFetch:_,traceXHR:S,shouldCreateSpanForRequest:T,enableHTTPTimings:A,tracePropagationTargets:R,onRequestSpanStart:O,onRequestSpanEnd:D}={...b,...s},L="function"==typeof T?T:e=>!0,U=e=>(function(e,t){let n=(0,g.getLocationHref)();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?(0,m.stringMatchesSomePattern)(r.toString(),t)||a&&(0,m.stringMatchesSomePattern)(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?(0,m.stringMatchesSomePattern)(e,t):n}})(e,R),w={},C=e.getOptions().propagateTraceparent;_&&(0,t.addFetchInstrumentationHandler)(t=>{let i=(0,n.instrumentFetchRequest)(t,L,U,w,{propagateTraceparent:C,onRequestSpanEnd:D});if(i){let n=v(t.fetchData.url),a=n?(0,r.parseUrl)(n).host:void 0,s=n?(0,r.stripDataUrlContent)(n):void 0;i.setAttributes({[I.HTTP_URL]:s,[I.URL_FULL]:s,"server.address":a}),A&&N(i,e),O?.(i,{headers:t.headers})}}),S&&(0,h.addXhrInstrumentationHandler)(t=>{let n=function(e,t,n,s,g,m){let _=e.xhr,S=_?.[h.SENTRY_XHR_DATA_KEY];if(!_||_.__sentry_own_request__||!S)return;let{url:T,method:b}=S,N=(0,o.hasSpansEnabled)()&&t(T);if(e.endTimestamp){let t=_.__sentry_xhr_span_id__;if(!t)return;let n=s[t];n&&(N&&void 0!==S.status_code&&((0,l.setHttpStatus)(n,S.status_code),n.end(),m?.(n,{headers:y((0,E.parseXhrResponseHeaders)(_)),error:e.error})),delete s[t]);return}let A=v(T),R=A?(0,r.parseUrl)(A):(0,r.parseUrl)(T),O=A?(0,r.stripDataUrlContent)(A):void 0,D=(0,r.stripDataUrlContent)((0,r.stripUrlQueryAndFragment)(T)),L=(0,c.getClient)(),U=!!(0,i.getActiveSpan)(),w=U||!!L&&(0,a.hasSpanStreamingEnabled)(L),C=N&&w?(0,u.startInactiveSpan)({name:`${b} ${D}`,attributes:{url:(0,r.stripDataUrlContent)(T),type:"xhr","http.method":b,"http.url":O,[I.URL_FULL]:O,"server.address":R?.host,[d.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[d.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...R?.search&&{"http.query":R?.search},...R?.hash&&{"http.fragment":R?.hash}}}):new p.SentryNonRecordingSpan,B=(0,u.spanIsIgnored)(C)&&U?void 0:C;return N&&!w&&L?.recordDroppedEvent("no_parent_span","span"),_.__sentry_xhr_span_id__=C.spanContext().spanId,s[_.__sentry_xhr_span_id__]=C,n(T)&&function(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=(0,f.getTraceData)({span:t,propagateTraceparent:n});r&&function(e,t,n,r){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),r&&!i?.traceparent&&e.setRequestHeader("traceparent",r),n){let t=i?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,i,a)}(_,(0,o.hasSpansEnabled)()&&w?B:void 0,g),L&&L.emit("beforeOutgoingRequestSpan",C,e),C}(t,L,U,w,C,D);n&&(A&&N(n,e),O?.(n,{headers:y(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}],790458)},548133,53052,e=>{"use strict";var t=e.i(826201),n=e.i(795268),r=e.i(353231),i=e.i(182021),a=e.i(142946),s=e.i(624598);let o={};function l(e){let t=o[e];if(t)return t;let n=s.WINDOW[e];if((0,r.isNativeFunction)(n))return o[e]=n.bind(s.WINDOW);let l=s.WINDOW.document;if(l&&"function"==typeof l.createElement)try{let t=l.createElement("iframe");t.hidden=!0,l.head.appendChild(t);let r=t.contentWindow;r?.[e]&&(n=r[e]),l.head.removeChild(t)}catch(t){a.DEBUG_BUILD&&i.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?o[e]=n.bind(s.WINDOW):n}function c(e){o[e]=void 0}e.s(["clearCachedImplementation",0,c,"getNativeImplementation",0,l,"setTimeout",0,function(...e){return l("setTimeout")(...e)}],53052),e.s(["makeFetchTransport",0,function(e,r=l("fetch")){let i=0,a=0;async function s(t){let n=t.body.length;i+=n,a++;let s={body:t.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:i<=6e4&&a<15,...e.fetchOptions};try{let t=await r(e.url,s);return{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}}catch(e){throw c("fetch"),e}finally{i-=n,a--}}return(0,t.createTransport)(e,s,(0,n.makePromiseBuffer)(e.bufferSize||40))}],548133)},623827,e=>{"use strict";var t=e.i(111053);function n(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}e.s(["getEnvelopeEndpointWithUrlEncodedAuth",0,function(e,t,r){let i;return t||`${n(e)}${e.projectId}/envelope/?${i={sentry_version:"7"},e.publicKey&&(i.sentry_key=e.publicKey),r&&(i.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(i).toString()}`},"getReportDialogEndpoint",0,function(e,r){let i=(0,t.makeDsn)(e);if(!i)return"";let a=`${n(i)}embed/error-page/`,s=`dsn=${(0,t.dsnToString)(i)}`;for(let e in r)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=r.user;if(!e)continue;e.name&&(s+=`&name=${encodeURIComponent(e.name)}
5`),e.email&&(s+=`&email=${encodeURIComponent(e.email)}`)}else s+=`&${encodeURIComponent(e)}=${encodeURIComponent(r[e])}`;return`${a}?${s}`}])},460077,e=>{"use strict";var t=e.i(451048),n=e.i(182021),r=e.i(847378);e.s(["addBreadcrumb",0,function(e,i){let a=(0,t.getClient)(),s=(0,t.getIsolationScope)();if(!a)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:l=100}=a.getOptions();if(l<=0)return;let c={timestamp:(0,r.dateTimestampInSeconds)(),...e},u=o?(0,n.consoleSandbox)(()=>o(c,i)):c;null!==u&&(a.emit&&a.emit("beforeAddBreadcrumb",u,i),s.addBreadcrumb(u,l))}])},389,e=>{"use strict";var t=e.i(623827),n=e.i(872028),r=e.i(451048),i=e.i(664660),a=e.i(347907),s=e.i(285898),o=e.i(245873),l=e.i(610915),c=e.i(817433),u=e.i(540735),d=e.i(665720),p=e.i(41014),g=e.i(826201),m=e.i(357082),f=e.i(847378),h=e.i(182021),_=e.i(111053),S=e.i(732275),E=e.i(914046),T=e.i(871766),v=e.i(387395),y=e.i(958927),I=e.i(929203),b=e.i(795268),N=e.i(479838),A=e.i(121288),R=e.i(893859),O=e.i(66437),D=e.i(63104),L=e.i(24460);let U={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},w="Not capturing exception because it's already been captured.",C="Discarded session because of missing or non-string release",B=Symbol.for("SentryInternalError"),P=Symbol.for("SentryDoNotSendEventError");function k(e){return{message:e,[B]:!0}}function M(e){return{message:e,[P]:!0}}function x(e){return(0,E.isObjectLike)(e)&&B in e}function W(e){return(0,E.isObjectLike)(e)&&P in e}function F(e,t,n,r,i){let a,s=0,o=!1;e.on(n,()=>{s=0,clearTimeout(a),o=!1}),e.on(t,t=>{if((s+=r(t))>=8e5)i(e);else if(!o){let t=e.getOptions()._flushInterval??5e3;t>0&&(o=!0,a=(0,O.safeUnref)(setTimeout(()=>{i(e)},t)))}}),e.on("flush",()=>{i(e)})}function $(e){return"replay_event"===e?"replay":e||"error"}function H(e){return void 0===e.type}function G(e){return"transaction"===e.type}function q(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+Y(e.attributes)}function j(e){let t=0;return e.message&&(t+=2*e.message.length),t+Y(e.attributes)}function Y(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*V(e[0]):(0,E.isPrimitive)(e)?t+=V(e):t+=100}),t}function V(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}e.s(["Client",0,class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=(0,b.makePromiseBuffer)(e.transportOptions?.bufferSize??g.DEFAULT_TRANSPORT_BUFFER_SIZE),this._dataCollection=function(e){let t=null!=e.dataCollection?U:(0,L.defaultPiiToCollectionOptions)(e.sendDefaultPii),n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}(e),e.dsn?this._dsn=(0,_.makeDsn)(e.dsn):i.DEBUG_BUILD&&h.debug.warn("No DSN provided, client will not send events."),this._dsn){const n=(0,t.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:n})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&F(this,"afterCaptureLog","flushLogs",j,o._INTERNAL_flushLogsBuffer),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&F(this,"afterCaptureMetric","flushMetrics",q,l._INT
5ERNAL_flushMetricsBuffer)}captureException(e,t,n){let r=(0,v.uuid4)();if((0,v.checkOrSetAlreadyCaught)(e))return i.DEBUG_BUILD&&h.debug.log(w),r;let a={event_id:r,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n)).then(e=>e),"error"),a.event_id}captureMessage(e,t,n,r){let i={event_id:(0,v.uuid4)(),...n},a=(0,E.isParameterizedString)(e)?e:String(e),s=(0,E.isPrimitive)(e),o=s?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>o.then(e=>this._captureEvent(e,i,r)),s?"unknown":"error"),i.event_id}captureEvent(e,t,n){let r=(0,v.uuid4)();if(t?.originalException&&(0,v.checkOrSetAlreadyCaught)(t.originalException))return i.DEBUG_BUILD&&h.debug.log(w),r;let a={event_id:r,...t},s=e.sdkProcessingMetadata||{},o=s.capturedSpanScope,l=s.capturedSpanIsolationScope,c=$(e.type);return this._process(()=>this._captureEvent(e,a,o||n,l),c),a.event_id}captureSession(e){this.sendSession(e),(0,c.updateSession)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit("flush"),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),(0,s.setupIntegration)(this,e,this._integrations),t||(0,s.afterSetupIntegrations)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,p.extractGenAiSpansFromEvent)(e,this),r=(0,a.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,m.addItemToEnvelope)(r,(0,m.createAttachmentEnvelopeItem)(e));n&&(r=(0,m.addItemToEnvelope)(r,n)),this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=n.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){i.DEBUG_BUILD&&h.debug.warn(C);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){i.DEBUG_BUILD&&h.debug.warn(C);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let s=(0,a.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;i.DEBUG_BUILD&&h.debug.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return i.DEBUG_BUILD&&h.debug.error("Error while sending envelope:",e),{}}return i.DEBUG_BUILD&&h.debug.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,s.setupIntegrations)(this,e),(0,s.afterSetupIntegrations)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception?.values;if(i){for(let e of(r=!0,n=!1,i))if(e.mechanism?.handled===!1){n=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&n)&&((0,c.updateSession)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,i){let a=this.getOptions(),s=this.getIntegrationNames();
5return!t.integrations&&s.length&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||i.setLastEventId(e.event_id||t.event_id),(0,I.prepareEvent)(a,e,t,n,this,i).then(e=>(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...(0,r.getTraceContextFromScope)(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,u.getDynamicSamplingContextFromScope)(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=(0,r.getCurrentScope)(),a=(0,r.getIsolationScope)()){return i.DEBUG_BUILD&&H(e)&&h.debug.log(`Captured error event \`${(0,S.getPossibleEventMessages)(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,a).then(e=>e.event_id,e=>{i.DEBUG_BUILD&&(W(e)?h.debug.log(e.message):x(e)?h.debug.warn(e.message):h.debug.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,s=G(e),o=H(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===a?void 0:(0,y.parseSampleRate)(a),p=$(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",p),M("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,E.isThenable)(e))return e.then(e=>{if(!(0,E.isPlainObject)(e)&&null!==e)throw k(n);return e},e=>{throw k(`${t} rejected with ${e}`)});if(!(0,E.isPlainObject)(e)&&null!==e)throw k(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:s}=t,o=!(0,d.isStreamedBeforeSendSpanCallback)(t.beforeSendSpan)&&t.beforeSendSpan,l=n;if(H(l)&&i)return i(l,r);if(G(l)){if(o||s){let t=function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:s,op:o}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:o,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:s?.[D.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:s?.[D.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}(l);if(s?.length&&(0,A.shouldIgnoreSpan)({description:t.description,op:t.op,attributes:t.data},s))return null;if(o){let e=o(t);if(e)l=(0,T.merge)(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[D.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[D.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements});else(0,R.showSpanDropWarning)()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(s?.length&&(0,A.shouldIgnoreSpan)({description:e.description,op:e.op,attributes:e.data},s)){(0,A.reparentChildSpans)(n,e);continue}if(o){let n=o(e);n?t.push(n):((0,R.showSpanDropWarning)(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(a){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(l,r)}}return l}(this,i,e,t),c)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",p),s){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw M(`${c} returned \`null\`, will not send event.`)}let l=n.getSession()||r.getSession();if(o&&l&&this._updateSessionFromEvent(l,i),o&&"number"==typeof u&&(0,N.safeMathRandom)()>u)throw this.recordDroppedEvent("sample_rate","error"),M(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(s){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let d=i.transaction_info;return s&&d&&i.transaction!==e.transaction&&(i.transaction_info={...d,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(W(e)||x(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),k(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
6Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===b.SENTRY_BUFFER_FULL_ERROR&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;let t;i.DEBUG_BUILD&&h.debug.log("Flushing outcomes...");let n=this._clearOutcomes();if(0===n.length){i.DEBUG_BUILD&&h.debug.log("No outcomes to send");return}if(!this._dsn){i.DEBUG_BUILD&&h.debug.log("No dsn provided, will not send outcomes");return}i.DEBUG_BUILD&&h.debug.log("Sending outcomes:",n);let r=(e=this._options.tunnel&&(0,_.dsnToString)(this._dsn),t=[{type:"client_report"},{timestamp:(0,f.dateTimestampInSeconds)(),discarded_events:n}],(0,m.createEnvelope)(e?{dsn:e}:{},[t]));this.sendEnvelope(r)}}],389)},226836,e=>{"use strict";var t=e.i(363254),n=e.i(451048),r=e.i(63104),i=e.i(893859),a=e.i(442044),s=e.i(914046),o=e.i(359546),l=e.i(333226),c=e.i(157821),u=e.i(304710),d=e.i(908817),p=e.i(295998),g=e.i(758893);function m(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(c.SENTRY_BAGGAGE_KEY_PREFIX))}function f(e,n,i,a){let s={url:(0,g.stripDataUrlContent)(e),type:"fetch","http.method":i,[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:a,[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return n&&((0,g.isURLObjectRelative)(n)||(s[t.HTTP_URL]=(0,g.stripDataUrlContent)(n.href),s[t.URL_FULL]=(0,g.stripDataUrlContent)(n.href),s["server.address"]=n.host),n.search&&(s["http.query"]=n.search),n.hash&&(s["http.fragment"]=n.hash)),s}e.s(["instrumentFetchRequest",0,function(e,t,r,c,h){if(!e.fetchData)return;let{method:_,url:S}=e.fetchData,E=(0,o.hasSpansEnabled)()&&t(S);if(e.endTimestamp){var T,v,y;let t,n=e.fetchData.__span;if(!n)return;let r=c[n];r&&(E&&(function(e,t){if(t.response){(0,a.setHttpStatus)(e,t.response.status);let n=t.response?.headers?.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(r,e),T=r,v=e,t="object"==typeof(y=h)&&null!==y?y.onRequestSpanEnd:void 0,t?.(T,{headers:v.response?.headers,error:v.error})),delete c[n]);return}let{spanOrigin:I="auto.http.browser",propagateTraceparent:b=!1}="object"==typeof h?h:{spanOrigin:h},N=(0,n.getClient)(),A=!!(0,i.getActiveSpan)(),R=A||!!N&&(0,u.hasSpanStreamingEnabled)(N),O=E&&R?(0,d.startInactiveSpan)(function(e,t,n){if(e.startsWith("data:")){let r=(0,g.stripDataUrlContent)(e);return{name:`${t} ${r}`,attributes:f(e,void 0,t,n)}}let r=(0,g.parseStringToURLObject)(e),i=r?(0,g.getSanitizedUrlStringFromUrlObject)(r):e;return{name:`${t} ${i}`,attributes:f(e,r,t,n)}}(S,_,I)):new l.SentryNonRecordingSpan,D=(0,d.spanIsIgnored)(O)&&A?void 0:O;if(E&&!R&&N?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=O.spanContext().spanId,c[O.spanContext().spanId]=O,r(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){var i,a;let o=(0,p.getTraceData)({span:n,propagateTraceparent:r}),l=o["sentry-trace"],c=o.baggage,u=o.traceparent;if(!l)return;let d=t.headers||((0,s.isRequest)(e)?e.headers:void 0);if(!d)return{"sentry-trace":l,...c&&{baggage:c},...u&&{traceparent:u}};if(i=d,"u">typeof Headers&&(0,s.isInstanceOf)(i,Headers)){let e=new Headers(d);if(e.get("sentry-trace")||e.set("sentry-trace",l),r&&u&&!e.get("traceparent")&&e.set("traceparent",u),c){let t=e.get("baggage");t?m(t)||e.set("baggage",`${t},${c}`):e.set("baggage",c)}return e}if(Array.isArray(a=d)&&a.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])){let e=[...d];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",l]),r&&u&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",u]);let t=d.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&m(e[1]));return c&&!t&&e.push(["baggage",c]),e}{let e="sentry-trace"in d?d["sentry-trace"]:void 0,t="traceparent"in d?d.traceparent:void 0,n="baggage"in d?d.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],a=n&&(Array.isArray(n)?n.find(e=>m(e)):m(n));c&&!a&&i.push(c);let s=Object.assign({},d,{"sentry-trace":e??l,...i.length>0&&{baggage:i.join(",")}});return r&&u&&!t&&(s.traceparent=u),s}}(t,n,(0,o.hasSpansEnabled)()&&R?D:void 0,b);r&&(e.args[1]=n,n.headers=r)}if(N){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};N.emit("beforeOutgoingRequestSpan",O,t)}return O}])},782771,28979,e=>{"use strict";var t=e.i(664660),n=e.i(182021),r=e.i(899619),i=e.i(399677),a=e.i(410544),s=e.i(25366);let o={},l={};function c(e,t){return o[e]=o[e]||[],o[e].push(t),()=>{let n=o[e];if(n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function u(e,r){if(!l[e]){l[e]=!0;try{r()}catch(r){t.DEBUG_BUILD&&n.debug.error(`Error while instrumenting ${e}`,r)}}}function d(e,r){let i=e&&o[e];if(i)for(let a of i)try{a(r)}catch(r){t.DEBUG_BUILD&&n.debug.error(`Error while triggering instrumentation handler.
7Type: ${e}
8Name: ${(0,s.getFunctionName)(a)}
9Error:`,r)}}e.s(["addHandler",0,c,"maybeInstrument",0,u,"triggerHandlers",0,d],28979);let p=new Set([]),g=new Set;function m(){"console"in a.GLOBAL_OBJ&&n.CONSOLE_LEVELS.forEach(function(e){!g.has(e)&&e in a.GLOBAL_OBJ.console&&(g.add(e),(0,r.fill)(a.GLOBAL_OBJ.console,e,function(r){return n.originalConsoleMethods[e]=r,function(...r){let s=r[0],o=n.originalConsoleMethods[e],l=p.size&&"string"==typeof s&&(0,i.stringMatchesSomePattern)(s,p);l||d("console",{args:r,level:e}),(!l||t.DEBUG_BUILD&&n.debug.isEnabled())&&o?.apply(a.GLOBAL_OBJ.console,r)}}))})}e.s(["addConsoleInstrumentationHandler",0,function(e){let t="console",n=c(t,e);return u(t,m),n}],782771)},334018,e=>{"use strict";var t=e.i(451048),n=e.i(914046),r=e.i(899619),i=e.i(353231),a=e.i(847378),s=e.i(410544),o=e.i(28979);function l(e,c=!1){(!c||(0,i.supportsNativeFetch)())&&(0,r.fill)(s.GLOBAL_OBJ,"fetch",function(i){return function(...l){let c=Error(),{method:u,url:g}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:p(t),method:d(r,"method")?String(r.method).toUpperCase():(0,n.isRequest)(t)&&d(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:p(t),method:d(t,"method")?String(t.method).toUpperCase():"GET"}}(l),m={args:l,fetchData:{method:u,url:g},startTimestamp:1e3*(0,a.timestampInSeconds)(),virtualError:c,headers:function(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,n.isRequest)(t))return new Headers(t.headers)}catch{}}(l)};return e||(0,o.triggerHandlers)("fetch",{...m}),i.apply(s.GLOBAL_OBJ,l).then(async t=>(e?e(t):(0,o.triggerHandlers)("fetch",{...m,endTimestamp:1e3*(0,a.timestampInSeconds)(),response:t}),t),e=>{(0,o.triggerHandlers)("fetch",{...m,endTimestamp:1e3*(0,a.timestampInSeconds)(),error:e}),(0,n.isError)(e)&&void 0===e.stack&&(e.stack=c.stack,(0,r.addNonEnumerableProperty)(e,"framesToPop",1));let i=(0,t.getClient)(),s=i?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==s&&(0,n.isError)(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(m.fetchData.url).host;"always"===s?e.message=`${e.message} (${t})`:(0,r.addNonEnumerableProperty)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function c(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function u(e){let t;try{t=e.clone()}catch{return}c(t,()=>{(0,o.triggerHandlers)("fetch-body-resolved",{endTimestamp:1e3*(0,a.timestampInSeconds)(),response:e})})}function d(e,t){return(0,n.isObjectLike)(e)&&!!e[t]}function p(e){return"string"==typeof e?e:e?d(e,"url")?e.url:e.toString?e.toString():"":""}e.s(["addFetchEndInstrumentationHandler",0,function(e){let t="fetch-body-resolved",n=(0,o.addHandler)(t,e);return(0,o.maybeInstrument)(t,()=>l(u)),n},"addFetchInstrumentationHandler",0,function(e,t){let n="fetch",r=(0,o.addHandler)(n,e);return(0,o.maybeInstrument)(n,()=>l(void 0,t)),r}])},602486,983276,e=>{"use strict";var t=e.i(410544),n=e.i(28979);let r=null;function i(){r=t.GLOBAL_OBJ.onerror,t.GLOBAL_OBJ.onerror=function(e,t,i,a,s){return(0,n.triggerHandlers)("error",{column:a,error:s,line:i,msg:e,url:t}),!!r&&r.apply(this,arguments)},t.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}e.s(["addGlobalErrorInstrumentationHandler",0,function(e){let t="error";(0,n.addHandler)(t,e),(0,n.maybeInstrument)(t,i)}],602486);let a=null;function s(){a=t.GLOBAL_OBJ.onunhandledrejection,t.GLOBAL_OBJ.onunhandledrejection=function(e){return(0,n.triggerHandlers)("unhandledrejection",e),!a||a.apply(this,arguments)},t.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}e.s(["addGlobalUnhandledRejectionInstrumentationHandler",0,function(e){let t="unhandledrejection";(0,n.addHandler)(t,e),(0,n.maybeInstrument)(t,s)}],983276)},285898,e=>{"use strict";var t=e.i(451048),n=e.i(664660),r=e.i(182021);let i=[];function a(e,t,a){if(a[t.name]){n.DEBUG_BUILD&&r.debug.log(`Integration skipped because it was already installed: ${t.name}`);return}if(a[t.name]=t,i.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),i.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{let r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),n.DEBUG_BUILD&&r.debug.log(`Integration installed: ${t.name}`)}e.s(["addIntegration",0,function(e){let i=(0,t.getClient)();if(!i){n.DEBUG_BUILD&&r.debug.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}i.addIntegration(e)},"afterSetupIntegrations",0,function(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)},"defineIntegration",0,function(e){return e},"getIntegrationsToSetup",0,function(e){let t,n,r=e.defaultIntegrations||[],i=e.integrations;
9if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(i))t=[...r,...i];else if("function"==typeof i){let e=i(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)},"setupIntegration",0,a,"setupIntegrations",0,function(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&a(e,t,n)}),n}])},298833,e=>{"use strict";var t=e.i(451048),n=e.i(285898),r=e.i(63104),i=e.i(893859);let a=(0,n.defineIntegration)(()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{let n=(0,t.getCurrentScope)().getScopeData(),a=(0,t.getIsolationScope)().getScopeData(),s=n.conversationId||a.conversationId;if(s){let{op:t,data:n,description:a}=(0,i.spanToJSON)(e);if(!t?.startsWith("gen_ai.")&&!n["ai.operationId"]&&!a?.startsWith("ai."))return;e.setAttribute(r.GEN_AI_CONVERSATION_ID_ATTRIBUTE,s)}})}}));e.s(["conversationIdIntegration",0,a])},512623,e=>{"use strict";var t=e.i(664660),n=e.i(285898),r=e.i(182021),i=e.i(25366);let a=(0,n.defineIntegration)(()=>{let e;return{name:"Dedupe",processEvent(n){if(n.type)return n;try{var i,a,c,u,d,p;let g,m,f,h;if(i=n,(a=e)&&(c=i,u=a,g=c.message,m=u.message,(g||m)&&(!g||m)&&(g||!m)&&g===m&&o(c,u)&&s(c,u)&&1||(d=i,p=a,f=l(p),h=l(d),f&&h&&f.type===h.type&&f.value===h.value&&o(d,p)&&s(d,p))))return t.DEBUG_BUILD&&r.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=n}}});function s(e,t){let n=(0,i.getFramesFromEvent)(e),r=(0,i.getFramesFromEvent)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function o(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch{return!1}}function l(e){return e.exception?.values?.[0]}e.s(["dedupeIntegration",0,a])},418557,732275,573338,e=>{"use strict";var t=e.i(664660),n=e.i(285898),r=e.i(182021);function i(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}e.s(["getPossibleEventMessages",0,i],732275);var a=e.i(387395),s=e.i(399677);let o=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],l=(0,n.defineIntegration)((e={})=>{let n;return{name:"EventFilters",setup(t){n=u(e,t.getOptions())},processEvent:(o,l,c)=>(n||(n=u(e,c.getOptions())),!function(e,n){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&(0,s.stringMatchesSomePattern)(n,t)}(e,n.ignoreTransactions))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
10Event: ${(0,a.getEventDescription)(e)}`),!0}else{var o,l,c;if(o=e,l=n.ignoreErrors,l?.length&&i(o).some(e=>(0,s.stringMatchesSomePattern)(e,l)))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
11Event: ${(0,a.getEventDescription)(e)}`),!0;if(c=e,c.exception?.values?.length&&!c.message&&!c.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to not having an error message, error type or stacktrace.
12Event: ${(0,a.getEventDescription)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=d(e);return!!n&&(0,s.stringMatchesSomePattern)(n,t)}(e,n.denyUrls))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to being matched by \`denyUrls\` option.
13Event: ${(0,a.getEventDescription)(e)}.
14Url: ${d(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=d(e);return!n||(0,s.stringMatchesSomePattern)(n,t)}(e,n.allowUrls))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option.
15Event: ${(0,a.getEventDescription)(e)}.
16Url: ${d(e)}`),!0}return!1}(o,n)?o:null)}}),c=(0,n.defineIntegration)((e={})=>({...l(e),name:"InboundFilters"}));function u(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:o],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function d(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return t.DEBUG_BUILD&&r.debug.error(`Cannot extract url for event ${(0,a.getEventDescription)(e)}`),null}}
16e.s(["eventFiltersIntegration",0,l,"inboundFiltersIntegration",0,c],418557);var p=e.i(451048),g=e.i(899619);let m=new WeakMap,f=(0,n.defineIntegration)(()=>({name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n,r=(0,g.getOriginalFunction)(this);try{m.has((0,p.getClient)())&&void 0!==r&&(n=r)}catch{}return e.apply(n??this,t)}}catch{}},setup(e){m.set(e,!0)}}));e.s(["functionToStringIntegration",0,f],573338)},995790,e=>{"use strict";var t=e.i(285898);let n=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function r(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function i(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}var a=e.i(410544);let s=(0,t.defineIntegration)((e={})=>{let t=e.root,s=e.prefix||"app:///",o="window"in a.GLOBAL_OBJ&&!!a.GLOBAL_OBJ.window,l=e.iteratee||function({isBrowser:e,root:t,prefix:a}){return s=>{if(!s.filename)return s;let o=/^[a-zA-Z]:\\/.test(s.filename)||s.filename.includes("\\")&&!s.filename.includes("/"),l=/^\//.test(s.filename);if(e){if(t){let e=s.filename;0===e.indexOf(t)&&(s.filename=e.replace(t,a))}}else if(o||l){let e,l,c=o?s.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):s.filename,u=t?function(e,t){e=r(e).slice(1),t=r(t).slice(1);let n=i(e.split("/")),a=i(t.split("/")),s=Math.min(n.length,a.length),o=s;for(let e=0;e<s;e++)if(n[e]!==a[e]){o=e;break}let l=[];for(let e=o;e<n.length;e++)l.push("..");return(l=l.concat(a.slice(o))).join("/")}(t,c):(e=c.length>1024?`<truncated>${c.slice(-1024)}`:c,(l=n.exec(e))?l.slice(1):[])[2]||"";s.filename=`${a}${u}`}return s}}({isBrowser:o,root:t,prefix:s});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>l(e))}}}})}}}catch{return e}}(t)),t}}});e.s(["rewriteFramesIntegration",0,s],995790)},245873,e=>{"use strict";var t=e.i(574860),n=e.i(931140),r=e.i(451048),i=e.i(664660),a=e.i(182021),s=e.i(914046),o=e.i(272536),l=e.i(266361),c=e.i(847378),u=e.i(503906),d=e.i(859421),p=e.i(64265),g=e.i(111053),m=e.i(357082),f=e.i(170887);function h(e,t,n,r=!0){n&&(!e[t]||r)&&(e[t]=n)}function _(e,t){var n;let r=E(),i=(n=e,E().get(n));void 0===i?r.set(e,[t]):i.length>=100?(S(e,i),r.set(e,[t])):r.set(e,[...i,t])}function S(e,t){var n,r,i,a,s;let o,l,c=t??(s=e,E().get(s))??[];if(0===c.length)return;let u=e.getOptions(),d=(n=u._metadata,r=u.tunnel,i=e.getDsn(),a=e.getDataCollectionOptions().userInfo,o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=(0,g.dsnToString)(i)),(0,m.createEnvelope)(o,[(l=a?"auto":"never",[{type:"log",item_count:c.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...(0,f.isBrowser)()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}},items:c}])]));E().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(d)}function E(){return(0,n.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function T(e){let t=Object(e),n=t.isWellFormed,r=t.toWellFormed;return"function"==typeof n&&"function"==typeof r?n.call(e)?e:r.call(e):e}e.s(["_INTERNAL_captureLog",0,function(e,n=(0,r.getCurrentScope)(),g=_){let m=n?.getClient()??(0,r.getClient)();if(!m){i.DEBUG_BUILD&&a.debug.warn("No client available to capture log.");return}let{release:f,environment:S,enableLogs:E=!0,beforeSendLog:v}=m.getOptions();if(!E){i.DEBUG_BUILD&&a.debug.warn("logging option not enabled, log will not be captured.");return}let[,y]=(0,d._getTraceInfoFromScope)(m,n),I={...e.attributes},{user:{id:b,email:N,username:A},attributes:R={}}=(0,o.getCombinedScopeData)((0,r.getIsolationScope)(),n);h(I,"user.id",b,!1),h(I,"user.email",N,!1),h(I,"user.name",A,!1),h(I,"sentry.release",f),h(I,"sentry.environment",S);let{name:O,version:D}=m.getSdkMetadata()?.sdk??{};h(I,"sentry.sdk.name",O),h(I,"sentry.sdk.version",D);let L=m.getIntegrationByName("Replay"),U=L?.getReplayId(!0);h(I,"sentry.replay_id",U),U&&L?.getRecordingMode()==="buffer"&&h(I,"sentry._internal.replay_is_buffering",!0);let w=e.message;
16if((0,s.isParameterizedString)(w)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=w;t?.length&&(I["sentry.message.template"]=e),t.forEach((e,t)=>{I[`sentry.message.parameter.${t}`]=e})}let C=(0,l._getSpanForScope)(n);h(I,"sentry.trace.parent_span_id",C?.spanContext().spanId);let B={...e,attributes:I};m.emit("beforeCaptureLog",B);let P=v?(0,a.consoleSandbox)(()=>v(B)):B;if(!P){m.recordDroppedEvent("before_send","log_item",1),i.DEBUG_BUILD&&a.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:k,message:M,attributes:x={},severityNumber:W}=P,F=(0,c.timestampInSeconds)(),$=(0,u.getSequenceAttribute)(F);g(m,{timestamp:F,level:k,body:T(String(M)),trace_id:y?.trace_id,severity_number:W??p.SEVERITY_TEXT_TO_SEVERITY_NUMBER[k],attributes:function(e){let t={};for(let[n,r]of Object.entries(e)){let e=T(n);"string"===r.type?t[e]={...r,value:T(r.value)}:t[e]=r}return t}({...(0,t.serializeAttributes)(R),...(0,t.serializeAttributes)(x,!0),[$.key]:$.value})}),m.emit("afterCaptureLog",P)},"_INTERNAL_flushLogsBuffer",0,S],245873)},610915,e=>{"use strict";var t=e.i(574860),n=e.i(931140),r=e.i(451048),i=e.i(664660),a=e.i(182021),s=e.i(272536),o=e.i(266361),l=e.i(847378),c=e.i(503906),u=e.i(859421),d=e.i(111053),p=e.i(357082),g=e.i(170887);function m(e,t,n,r=!0){!n||!r&&t in e||(e[t]=n)}function f(e,t){var n;let r=_(),i=(n=e,_().get(n));void 0===i?r.set(e,[t]):i.length>=1e3?(h(e,i),r.set(e,[t])):r.set(e,[...i,t])}function h(e,t){var n,r,i,a,s;let o,l,c=t??(s=e,_().get(s))??[];if(0===c.length)return;let u=e.getOptions(),m=(n=u._metadata,r=u.tunnel,i=e.getDsn(),a=e.getDataCollectionOptions().userInfo,o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=(0,d.dsnToString)(i)),(0,p.createEnvelope)(o,[(l=a?"auto":"never",[{type:"trace_metric",item_count:c.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...(0,g.isBrowser)()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}},items:c}])]));_().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(m)}function _(){return(0,n.getGlobalSingleton)("clientToMetricBufferMap",()=>new WeakMap)}e.s(["_INTERNAL_captureMetric",0,function(e,n){let d=n?.scope??(0,r.getCurrentScope)(),p=n?.captureSerializedMetric??f,g=d?.getClient()??(0,r.getClient)();if(!g){i.DEBUG_BUILD&&a.debug.warn("No client available to capture metric.");return}let{_experiments:h,enableMetrics:_,beforeSendMetric:S}=g.getOptions();if(!(_??h?.enableMetrics??!0)){i.DEBUG_BUILD&&a.debug.warn("metrics option not enabled, metric will not be captured.");return}let{user:E,attributes:T}=(0,s.getCombinedScopeData)((0,r.getIsolationScope)(),d),v=function(e,t,n){let{release:r,environment:i}=t.getOptions(),a={...e.attributes};m(a,"user.id",n.id,!1),m(a,"user.email",n.email,!1),m(a,"user.name",n.username,!1),m(a,"sentry.release",r),m(a,"sentry.environment",i);let{name:s,version:o}=t.getSdkMetadata()?.sdk??{};m(a,"sentry.sdk.name",s),m(a,"sentry.sdk.version",o);let l=t.getIntegrationByName("Replay"),c=l?.getReplayId(!0);return m(a,"sentry.replay_id",c),c&&l?.getRecordingMode()==="buffer"&&m(a,"sentry._internal.replay_is_buffering",!0),{...e,attributes:a}}(e,g,E);g.emit("processMetric",v);let y=S||h?.beforeSendMetric,I=y?y(v):v;if(!I){i.DEBUG_BUILD&&a.debug.log("`beforeSendMetric` returned `null`, will not send metric.");return}let b=function(e,n,r,i){let[,a]=(0,u._getTraceInfoFromScope)(n,r),s=(0,o._getSpanForScope)(r),d=s?s.spanContext().traceId:a?.trace_id,p=s?s.spanContext().spanId:void 0,g=(0,l.timestampInSeconds)(),m=(0,c.getSequenceAttribute)(g);return{timestamp:g,trace_id:d??"",span_id:p,name:e.name,type:e.type,unit:e.unit,value:e.value,attributes:{...(0,t.serializeAttributes)(i),...(0,t.serializeAttributes)(e.attributes,"skip-undefined"),[m.key]:m.value}}}(I,g,d,T);i.DEBUG_BUILD&&a.debug.log("[Metric]",b),p(g,b),g.emit("afterCaptureMetric",I)},"_INTERNAL_flushMetricsBuffer",0,h],610915)},685168,e=>{"use strict";var t=e.i(451048),n=e.i(664660),r=e.i(182021);function i(e){(0,t.getCurrentScope)().setClient(e)}e.s(["initAndBind",0,function(e,a){!0===a.debug&&(n.DEBUG_BUILD?r.debug.enable():(0,r.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,t.getCurrentScope)().update(a.initialScope);let s=new e(a);return i(s),s.init(),s},"setCurrentClient",0,i])},856291,e=>{"use strict";var t=e.i(664660),n=e.i(602486),r=e.i(983276),i=e.i(182021),a=e.i(893859),s=e.i(442044);let o=!1;e.s(["registerSpanErrorInstrumentation",0,function(){o||(o=!0,(0,n.addGlobalErrorInstrumentationHandler)(e),(0,r.addGlobalUnhandledRejectionInstrumentationHandler)(e));function e(){let e=(0,a.getActiveSpan)(),n=e&&(0,a.getRootSpan)(e);if(n){let e="internal_error";t.DEBUG_BUILD&&i.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),n.setStatus({code:s.SPAN_STATUS_ERROR,message:e})}}}])},464735,e=>{"use strict";var t=e.i(451048),n=e.i(664660),r=e.i(63104),i=e.i(182021),a=e.i(359546),s=e.i(121288),o=e.i(266361),l=e.i(893859),c=e.i(847378),u=e.i(333226),d=e.i(320648),p=e.i(442044),g=e.i(908817),m=e.i(22511);let f={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};e.s(["TRACING_DEFAULTS",0,f,"startIdleSpan",0,function(e,h={}){var _;let S,E,T,v=new Map,y=!1,I="externalFinish",b=!h.disableAutoFinish,N=[],{idleTimeout:A=f.idleTimeout,finalTimeout:R=f.finalTimeout,childSpanTimeout:O=f.childSpanTimeout,beforeSpanEnd:D,trimIdleSpanEndTimestamp:L=!0}=h,U=(0,t.getClient)(),w=(0,t.getCurrentScope)();if(!U||!(0,a.hasSpansEnabled)()){let e=new u.SentryNonRecordingSpan({traceId:w.getPropagationContext().traceId});return(0,m.setCapturedScopesOnSpan)(e,w,(0,t.getIsolationScope)()),e}let C=(0,l.getActiveSpan)(),B=(_=e,S=(0,g.startInactiveSpan)(_),(0,o._setSpanForScope)((0,t.getCurrentScope)(),S),n.DEBUG_BUILD&&i.debug.log("[Tracing] Started span is an i
16dle span"),S);function P(){E&&(clearTimeout(E),E=void 0)}function k(){T&&(clearTimeout(T),T=void 0)}function M(e){P(),E=setTimeout(()=>{!y&&0===v.size&&b&&(I="idleTimeout",B.end(e))},A)}function x(e){k(),T=setTimeout(()=>{!y&&b&&(I="heartbeatFailed",B.end(e))},O)}function W(e){y=!0,v.clear(),N.forEach(e=>e()),(0,o._setSpanForScope)(w,C);let t=(0,l.spanToJSON)(B),{start_timestamp:a}=t;if(!a)return;t.data[r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||B.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,I);let s=t.status;s&&"unknown"!==s||B.setStatus({code:p.SPAN_STATUS_OK}),i.debug.log(`[Tracing] Idle span "${t.op}" finished`);let c=(0,l.getSpanDescendants)(B).filter(e=>e!==B),u=0;c.forEach(t=>{t.isRecording()&&(t.setStatus({code:p.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),n.DEBUG_BUILD&&i.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:a=0}=(0,l.spanToJSON)(t),s=a<=e,o=r-a<=(R+A)/1e3;if(n.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);s?o||i.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):i.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!o||!s)&&((0,l.removeChildSpanFromSpan)(B,t),u++)}),u>0&&B.setAttribute("sentry.idle_span_discarded_spans",u)}return B.end=new Proxy(B.end,{apply(e,t,n){if(D&&D(B),(0,u.spanIsNonRecordingSpan)(t))return;let[r,...i]=n,a=r||(0,c.timestampInSeconds)(),o=(0,l.spanTimeInputToSeconds)(a),d=(0,l.getSpanDescendants)(B).filter(e=>e!==B),p=(0,l.spanToJSON)(B);if(!d.length||!L)return W(o),Reflect.apply(e,t,[o,...i]);let g=U.getOptions().ignoreSpans,m=d?.reduce((e,t)=>{let n=(0,l.spanToJSON)(t);return!n.timestamp||g&&(0,s.shouldIgnoreSpan)({description:n.description,op:n.op,attributes:n.data},g)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),f=p.start_timestamp,h=Math.min(f?f+R/1e3:1/0,Math.max(f||-1/0,Math.min(o,m||1/0)));return W(h),Reflect.apply(e,t,[h,...i])}}),N.push(U.on("spanStart",e=>{var t;!(y||e===B||(0,l.spanToJSON)(e).timestamp||e instanceof d.SentrySpan&&e.isStandaloneSpan())&&(0,l.getSpanDescendants)(B).includes(e)&&(t=e.spanContext().spanId,P(),v.set(t,!0),x((0,c.timestampInSeconds)()+O/1e3))})),N.push(U.on("spanEnd",e=>{if(!y){var t;t=e.spanContext().spanId,v.has(t)&&v.delete(t),0===v.size&&(M((0,c.timestampInSeconds)()+A/1e3),k())}})),N.push(U.on("idleSpanEnableAutoFinish",e=>{e===B&&(b=!0,M(),v.size&&x())})),h.disableAutoFinish||M(),setTimeout(()=>{y||(B.setStatus({code:p.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),I="finalTimeout",B.end())},R),B}])},41014,e=>{"use strict";var t=e.i(170887),n=e.i(304710),r=e.i(893859);e.s(["extractGenAiSpansFromEvent",0,function(e,i){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===i.getOptions().streamGenAiSpans||(0,n.hasSpanStreamingEnabled)(i))return;let a=[],s=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?a.push(function(e){let t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links};return(0,r.streamedSpanJsonToSerializedSpan)(t)}(t)):s.push(t);if(0===a.length)return;e.spans=s;let o=i.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:a.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...(0,t.isBrowser)()&&{ingest_settings:{infer_ip:o,infer_user_agent:o}},items:a}]}],41014)},826201,795268,440616,e=>{"use strict";var t=e.i(664660),n=e.i(182021),r=e.i(357082),i=e.i(980323),a=e.i(66437);let s=Symbol.for("SentryBufferFullError");function o(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return(0,i.rejectedSyncPromise)(s);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return(0,i.resolvedSyncPromise)(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>(0,a.safeUnref)(setTimeout(()=>t(!1),e)))]):n}}}e.s(["SENTRY_BUFFER_FULL_ERROR",0,s,"makePromiseBuffer",0,o],795268);var l=e.i(479838);function c(e,t=(0,l.safeDateNow)()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function u(e,t,n=(0,l.safeDateNow)()){return(e[t]||e.all||0)>n}function d(e,{statusCode:t,headers:n},r=(0,l.safeDateNow)()){let i={...e},a=n?.["x-sentry-rate-limits"],s=n?.["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,n,,,a]=e.split(":",5),s=parseInt(t,10),o=(isNaN(s)?60:s)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!a||a.split(";").includes("custom"))&&(i[e]=r+o):i[e]=r+o;else i.all=r+o}else s?i.all=r+c(s,r):429===t&&(i.all=r+6e4);return i}e.s(["isRateLimited",0,u,"parseRetryAfterHeader",0,c,"updateRateLimits",0,d],440616),e.s(["DEFAULT_TRANSPORT_BUFFER_SIZE",0,64,"createTransport",0,function(e,i,a=o(e.bufferSize||64)){let l={};return{send:function(o){let c=[];if((0,r.forEachEnvelopeItem)(o,(t,n)=>{let i=(0,r.envelopeItemTypeToDataCategory)(n);u(l,i)?e.recordDroppedEvent("ratelimit_backoff",i):c.push(t)}),0===c.length)return Promise.resolve({});let p=(0,r.createEnvelope)(o[0],c),g=i=>{if((0,r.envelopeContainsItemType)(p,["client_report"])){t.DEBUG_BUILD&&n.debug.warn(`Dropping client report. Will not send outcomes (reason: ${i}).`);return}(0,r.forEachEnvelopeItem)(p,(t,n)=>{e.recordDroppedEvent(i,(0,r.envelopeItemTypeToDataCategory)(n))})};return a.add(()=>i({body:(0,r.serializeEnvelope)(p)}).then(e=>(413===e.statusCode?(t.DEBUG_BUILD&&n.debug.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),g("send_error")):(t.DEBUG_BUILD&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&n.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),l=d(l,e)),e),e=>{throw g("network_error"),t.DEBUG_BUILD&&n.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>
16{if(e===s)return t.DEBUG_BUILD&&n.debug.error("Skipped sending event because buffer is full."),g("queue_overflow"),Promise.resolve({});throw e})},flush:e=>a.drain(e)}}],826201)},762190,363254,758893,e=>{"use strict";function t(e){return"isRelative"in e}e.s(["getBreadcrumbLogLevelFromHttpStatusCode",0,function(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}],762190),e.s(["GRAPHQL_DOCUMENT",0,"graphql.document","HTTP_URL",0,"http.url","PARAMS_KEY_BASE",0,"params","SENTRY_SDK_NAME",0,"sentry.sdk.name","SENTRY_SDK_VERSION",0,"sentry.sdk.version","SENTRY_SEGMENT_ID",0,"sentry.segment.id","SENTRY_SEGMENT_NAME",0,"sentry.segment.name","SENTRY_TRACE_LIFECYCLE",0,"sentry.trace_lifecycle","SENTRY_TRANSACTION",0,"sentry.transaction","URL_FULL",0,"url.full","URL_PATH",0,"url.path","URL_PATH_PARAMETER_KEY_BASE",0,"url.path.parameter","URL_TEMPLATE",0,"url.template"],363254),e.i(63104),e.s(["getSanitizedUrlStringFromUrlObject",0,function(e){if(t(e))return e.pathname;let n=new URL(e);return n.search="",n.hash="",["80","443"].includes(n.port)&&(n.port=""),n.password&&(n.password="%filtered%"),n.username&&(n.username="%filtered%"),n.toString()},"isURLObjectRelative",0,t,"parseStringToURLObject",0,function(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}},"parseUrl",0,function(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}},"stripDataUrlContent",0,function(e,t=!0){if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",i=e.includes(";base64,"),a=e.indexOf(","),s="";if(t&&-1!==a){let t=e.slice(a+1);s=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?",base64":""}${s?`,${s}`:""}`}return e},"stripUrlQueryAndFragment",0,function(e){return e.split(/[?#]/,1)[0]}],758893)},530011,e=>{"use strict";e.i(914046);let t=e.i(410544).GLOBAL_OBJ;e.s(["getComponentName",0,function(e,n=5){if(!t.HTMLElement)return null;let r=e;for(let e=0;e<n&&r;e++){if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null},"getLocationHref",0,function(){try{return t.document.location.href}catch{return""}}])},645804,120115,e=>{"use strict";e.s(["addAutoIpAddressToSession",0,function(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}],645804);var t=e.i(914046),n=e.i(387395),r=e.i(451048),i=e.i(878174),a=e.i(899619);function s(e){return(0,t.isError)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var o=e.i(980323);function l(e,t){var n,r;let i,a,o=u(e,t),l={type:(n=t,!(i=n?.name)&&p(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":i),value:(r=t,a=r?.message,p(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":a?a.error&&"string"==typeof a.error.message?s(a.error):s(r):"No error message")};return o.length&&(l.stacktrace={frames:o}),void 0===l.type&&""===l.value&&(l.value="Unrecoverable error caught"),l}function c(e,t){return{exception:{values:[l(e,t)]}}}function u(e,t){var n,r;let i=t.stacktrace||t.stack||"",a=(n=t)&&d.test(n.message)?1:0,s="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,a,s)}catch{}return[]}let d=/Minified React error #\d+;/i;function p(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function g(e,s,o,d,p){let g;if((0,t.isErrorEvent)(s)&&s.error)return c(e,s.error);if((0,t.isDOMError)(s)||(0,t.isDOMException)(s)){if("stack"in s){g=c(e,s);let t=g.exception?.values?.[0];if(d&&o&&t&&!t.stacktrace){let r=u(e,o);r.length&&(t.stacktrace={frames:r},(0,n.addExceptionMechanism)(g,{synthetic:!0}))}}else{let r=s.name||((0,t.isDOMError)(s)?"DOMError":"DOMException"),i=s.message?`${r}: ${s.message}`:r;g=m(e,i,o,d),(0,n.addExceptionTypeValue)(g,i)}return"code"in s&&(g.tags={...g.tags,"DOMException.code":`${s.code}`}),g}return(0,t.isError)(s)?c(e,s):((0,t.isPlainObject)(s)||(0,t.isEvent)(s)?g=function(e,n,s,o){let c=(0,r.getClient)(),d=c?.getOptions().normalizeDepth,p=Object.values(n).find(t.isError),g={__serialized__:(0,i.normalizeToSize)(n,d)};if(p)return{exception:{values:[l(e,p)]},extra:g};let m={exception:{values:[{type:(0,t.isEvent)(n)?n.constructor.name:o?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:n}){let r=(0,a.extractExceptionKeysForMessage)(e),i=n?"promise rejection":"exception";if((0,t.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${i} with message \`${e.message}\``;if((0,t.isEvent)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${i}`}return`Object captured as ${i} with keys: ${r}`}(n,{isUnhandledRejection:o})}]},extra:g};
16if(s){let t=u(e,s);t.length&&(m.exception.values[0].stacktrace={frames:t})}return m}(e,s,o,p):(g=m(e,s,o,d),(0,n.addExceptionTypeValue)(g,`${s}`,void 0)),(0,n.addExceptionMechanism)(g,{synthetic:!0}),g)}function m(e,r,i,a){let s={};if(a&&i){let t=u(e,i);t.length&&(s.exception={values:[{value:r,stacktrace:{frames:t}}]}),(0,n.addExceptionMechanism)(s,{synthetic:!0})}if((0,t.isParameterizedString)(r)){let{__sentry_template_string__:e,__sentry_template_values__:t}=r;return s.logentry={message:e,params:t},s}return s.message=r,s}e.s(["eventFromException",0,function(e,t,r,i){let a=g(e,t,r?.syntheticException||void 0,i);return(0,n.addExceptionMechanism)(a),a.level="error",r?.event_id&&(a.event_id=r.event_id),(0,o.resolvedSyncPromise)(a)},"eventFromMessage",0,function(e,t,n="info",r,i){let a=m(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),(0,o.resolvedSyncPromise)(a)},"eventFromUnknownInput",0,g,"exceptionFromError",0,l],120115)},170887,449079,e=>{"use strict";var t=e.i(350461);function n(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}e.s(["getSDKSource",0,function(){return"npm"},"isBrowserBundle",0,n],449079);var r=e.i(410544);e.s(["isBrowser",0,function(){let e;return"u">typeof window&&(!(!n()&&"[object process]"===Object.prototype.toString.call(void 0!==t.default?t.default:0))||(e=r.GLOBAL_OBJ.process,e?.type==="renderer"))}],170887)},990476,e=>{"use strict";var t=e.i(653541);e.s(["applySdkMetadata",0,function(e,n,r=[n],i="npm"){let a=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};a.name||(a.name=`sentry.javascript.${n}`,a.packages=r.map(e=>({name:`${i}:@sentry/${e}`,version:t.SDK_VERSION})),a.version=t.SDK_VERSION)}])},131713,e=>{"use strict";e.s(["severityLevelFromString",0,function(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}])},353231,e=>{"use strict";var t=e.i(664660),n=e.i(182021);let r=e.i(410544).GLOBAL_OBJ;function i(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}e.s(["isNativeFunction",0,i,"supportsHistory",0,function(){return"history"in r&&!!r.history},"supportsNativeFetch",0,function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in r))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(i(r.fetch))return!0;let e=!1,a=r.document;if(a&&"function"==typeof a.createElement)try{let t=a.createElement("iframe");t.hidden=!0,a.head.appendChild(t),t.contentWindow?.fetch&&(e=i(t.contentWindow.fetch)),a.head.removeChild(t)}catch(e){t.DEBUG_BUILD&&n.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e},"supportsReportingObserver",0,function(){return"ReportingObserver"in r}])},503906,859421,64265,e=>{"use strict";let t,n=0;e.s(["getSequenceAttribute",0,function(e){let r=Math.floor(1e3*e);void 0!==t&&r!==t&&(n=0);let i=n;return n++,t=r,{key:"sentry.timestamp.sequence",value:{value:i,type:"integer"}}}],503906);var r=e.i(451048),i=e.i(540735),a=e.i(893859);e.s(["_getTraceInfoFromScope",0,function(e,t){return t?(0,r.withScope)(t,()=>{let n=(0,a.getActiveSpan)(),s=n?(0,a.spanToTraceContext)(n):(0,r.getTraceContextFromScope)(t);return[n?(0,i.getDynamicSamplingContextFromSpan)(n):(0,i.getDynamicSamplingContextFromScope)(e,t),s]}):[void 0,void 0]}],859421),e.s(["SEVERITY_TEXT_TO_SEVERITY_NUMBER",0,{trace:1,debug:5,info:9,warn:13,error:17,fatal:21}],64265)},295998,e=>{"use strict";var t=e.i(414697),n=e.i(931140),r=e.i(451048),i=e.i(275885),a=e.i(182021),s=e.i(893859),o=e.i(359546),l=e.i(333226),c=e.i(540735),u=e.i(157821),d=e.i(76357);e.s(["getTraceData",0,function(e={}){let p=e.client||(0,r.getClient)();if(!(0,i.isEnabled)()||!p)return{};let g=(0,n.getMainCarrier)(),m=(0,t.getAsyncContextStrategy)(g);if(m.getTraceData)return m.getTraceData(e);let f=e.scope||(0,r.getCurrentScope)(),h=e.span||(0,s.getActiveSpan)(),_=(0,l.spanIsNonRecordingSpan)(h)&&!(0,o.hasSpansEnabled)(p.getOptions());if(!h&&(0,r.hasExternalPropagationContext)())return{};let S=h&&!_?(0,s.spanToTraceHeader)(h):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,d.generateSentryTraceHeader)(t,r,n)}(f),E=h?(0,c.getDynamicSamplingContextFromSpan)(h):(0,c.getDynamicSamplingContextFromScope)(p,f),T=(0,u.dynamicSamplingContextToSentryBaggageHeader)(E);if(!d.TRACEPARENT_REGEXP.test(S))return a.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let v={"sentry-trace":S,baggage:T};return e.propagateTraceparent&&(v.traceparent=h&&!_?(0,s.spanToTraceparentHeader)(h):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,d.generateTraceparentHeader)(t,r,n)}(f)),v}])},513386,e=>{"use strict";var t=e.i(275885),n=e.i(540237),r=e.i(666531),i=e.i(990476),a=e.i(878174),s=e.i(191788),o=e.i(914046);
16function l(e){return(0,o.isPlainObject)(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":(0,r.normalizeStringifyValue)(e)}e.s(["init",0,function(e){let r={...e};(0,i.applySdkMetadata)(r,"react"),(0,t.setContext)("react",{version:s.version});let o=(0,n.init)(r);return(0,a.setNormalizeStringifier)(l),o}],513386)}]);
17
18//# debugId=f0b9a061-dd1a-243e-0e84-7ec73749f88c

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.