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]="8e1583cf-2c93-5bfd-7d1b-69e27a36fbbb")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,401690,995391,821747,476216,489103,121667,59815,716895,120923,716520,696837,84007,847493,474528,340639,425329,911965,510783,108465,182848,674049,108903,341600,e=>{"use strict";let t,n,r,i,s,a="10.55.0";e.s(["SDK_VERSION",0,a],995391);let o=globalThis;function c(){return u(o),o}function u(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||a,t[a]=t[a]||{}}function p(e,t,n=o){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[a]=r[a]||{};return i[e]||(i[e]=t())}e.s(["GLOBAL_OBJ",0,o],821747),e.s(["getGlobalSingleton",0,p,"getMainCarrier",0,c,"getSentryCarrier",0,u],476216);let l="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",0,l],489103);let d={};function _(e){if(!("console"in o))return e();let t=o.console,n={},r=Object.keys(d);r.forEach(e=>{let r=d[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function g(){return f().enabled}function S(e,...t){l&&g()&&_(()=>{o.console[e](`Sentry Logger [${e}]:`,...t)})}function f(){return l?p("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let h={enable:function(){f().enabled=!0},disable:function(){f().enabled=!1},isEnabled:g,log:function(...e){S("log",...e)},warn:function(...e){S("warn",...e)},error:function(...e){S("error",...e)}};e.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,_,"debug",0,h,"originalConsoleMethods",0,d],121667);let m=Object.prototype.toString;function T(e){switch(m.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return C(e,Error)}}function E(e,t){return m.call(e)===`[object ${t}]`}function y(e){return E(e,"String")}function b(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function I(e){return null===e||b(e)||"object"!=typeof e&&"function"!=typeof e}function v(e){return E(e,"Object")}function A(e){return"u">typeof Event&&C(e,Event)}function N(e){return E(e,"RegExp")}function R(e){return!!(e?.then&&"function"==typeof e.then)}function C(e,t){try{return e instanceof t}catch{return!1}}function x(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{l&&h.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function O(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,x(e,"__sentry_original__",t)}catch{}}function M(e){if(T(e))return{message:e.message,name:e.name,stack:e.stack,...U(e)};if(A(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...U(e)}}return e}function U(e){return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}function D(e){if(void 0!==t)return t?t(e):e();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in o&&"function"==typeof o[n]?(t=o[n])(e):(t=null,e())}function k(){return D(()=>Math.random())}function P(){return D(()=>Date.now())}e.s(["isDOMError",0,function(e){return E(e,"DOMError")},"isDOMException",0,function(e){return E(e,"DOMException")},"isError",0,T,"isErrorEvent",0,function(e){return E(e,"ErrorEvent")},"isEvent",0,A,"isInstanceOf",0,C,"isParameterizedString",0,b,"isPlainObject",0,v,"isPrimitive",0,I,"isRegExp",0,N,"isRequest",0,function(e){return"u">typeof Request&&C(e,Request)},"isString",0,y,"isThenable",0,R],59815),e.s(["addNonEnumerableProperty",0,x,"convertToPlainObject",0,M,"extractExceptionKeysForMessage",0,function(e){let t=Object.keys(M(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"},"fill",0,function(e,t,n){if(!(t in e))return;let r=e[t];if("function"!=typeof r)return;let i=n(r);"function"==typeof i&&O(i,r);try{e[t]=i}catch{l&&h.log(`Failed to replace method "${t}" in object`,e)}},"getOriginalFunction",0,function(e){return e.__sentry_original__},"markFunctionWrapped",0,O],716895),e.s(["safeDateNow",0,P,"safeMathRandom",0,k,"withRandomSafeContext",0,D],120923);let w=Symbol.for("sentry.skipNormalization"),B=Symbol.for("sentry.overrideNormalizationDepth");function L(e){return!!e[w]}function $(e){let t=e[B];return"number"==typeof t?t:void 0}e.s(["getNormalizationDepthOverrideHint",0,$,"hasSkipNormalizationHint",0,L,"setSkipNormalizationHint",0,function(e){x(e,w,!0)}],716520);let j=/\(error: (.*)\)/,F=/captureMessage|captureException/;function G(...e){let t=e.sort((e,t)=>
2e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],s=e.split("\n");for(let e=n;e<s.length;e++){let n=s[e];n.length>1024&&(n=n.slice(0,1024));let a=j.test(n)?n.replace(j,"$1"):n;if(!a.includes("Error: ")){for(let e of t){let t=e(a);if(t){i.push(t);break}}if(i.length>=50+r)break}}var a=i.slice(r);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(Y(o).function||"")&&o.pop(),o.reverse(),F.test(Y(o).function||"")&&(o.pop(),F.test(Y(o).function||"")&&o.pop()),o.slice(0,50).map(e=>({...e,filename:e.filename||Y(o).filename,function:e.function||"?"}))}}function Y(e){return e[e.length-1]||{}}let J="<anonymous>";function z(e){try{if(!e||"function"!=typeof e)return J;return e.name||J}catch{return J}}function H(e,t=100,n=1/0){try{return function e(t,n,r=1/0,i=1/0,s=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[a,o]=s;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let c=K(t,n);if(!c.startsWith("[object "))return c;if(L(n))return n;let u=$(n),p=void 0!==u?u:r;if(0===p)return c.replace("object ","");if(a(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,p-1,i,s)}catch{}let l=Array.isArray(n)?[]:{},d=0,_=M(n);for(let t in _){if(!Object.prototype.hasOwnProperty.call(_,t))continue;if(d>=i){l[t]="[MaxProperties ~]";break}let n=_[t];l[t]=e(t,n,p-1,i,s),d++}return o(n),l}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function K(t,r){try{var i;let t;if(n){let e=n(r);if(e)return e}if(r===e.g)return"[Global]";if("number"==typeof r&&!Number.isFinite(r))return`[${r}]`;if("function"==typeof r)return`[Function: ${z(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(i=r,t=Object.getPrototypeOf(i),t?.constructor?t.constructor.name:"null prototype");return`[object ${s}]`}catch(e){return`**non-serializable** (${e})`}}function V(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function W(e,t){let n=e,r=n.length;if(r<=150)return n;t>r&&(t=r);let i=Math.max(t-60,0);i<5&&(i=0);let s=Math.min(i+140,r);return s>r-5&&(s=r),s===r&&(i=Math.max(s-140,0)),n=n.slice(i,s),i>0&&(n=`'{snip} ${n}`),s<r&&(n+=" {snip}"),n}function q(e,t,n=!1){return!!y(e)&&(N(t)?t.test(e):y(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function X(e=o.crypto||o.msCrypto){try{if(e?.randomUUID)return D(()=>e.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,e=>(e^(15&16*k())>>e/4).toString(16))}function Q(e){return e.exception?.values?.[0]}function Z(){return P()/1e3}function ee(){return(i??(i=function(){let{performance:e}=o;if(!e?.now||!e.timeOrigin)return Z;let t=e.timeOrigin;return()=>(t+D(()=>e.now()))/1e3}()))()}e.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,G,"getFramesFromEvent",0,function(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}},"getFunctionName",0,z,"normalizeStackTracePath",0,function(e){let t=e?.startsWith("file://")?e.slice(7):e;return t?.match(/\/[A-Z]:/)&&(t=t.slice(1)),t},"stackParserFromStackParserOptions",0,function(e){return Array.isArray(e)?G(...e):e}],696837),e.s(["normalize",0,H,"normalizeToSize",0,function e(t,n=3,r=102400){let i=H(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i},"setNormalizeStringifier",0,function(e){n=e},"stringifyValue",0,K],84007),e.s(["isMatchingPattern",0,q,"safeJoin",0,function(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];I(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(K(void 0,r))}return n.join(t)},"snipLine",0,W,"stringMatchesSomePattern",0,function(e,t=[],n=!1){for(let r of t)if(q(e,r,n))return!0;return!1},"truncate",0,V],847493),e.s(["addContextToFrame",0,function(e,t,n=5){if(void 0===t.lineno)return;let r=e.length,i=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,i-n),i).map(e=>W(e,0)),t.context_line=W(e[Math.min(r-1,i)],t.colno||0),t.post_context=e.slice(Math.min(i+1,r),i+1+n).map(e=>W(e,0))},"addExceptionMechanism",0,function(e,t){let n=Q(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r?.data,...t.data};n.mechanism.data=e}},"addExceptionTypeValue",0,function(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{x(e,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(e){let{message:t,event_id:n}=e;if(t)return t;let r=Q(e);return r?r.type&&r.value?`${r.type}: ${r.value}
2`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"uuid4",0,X],474528);let et=null;function en(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ee(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:X()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function er(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=er(r[e],t[e],n-1));return r}function ei(){return X()}function es(){return X().substring(16)}e.s(["browserPerformanceTimeOrigin",0,function(){return null===et&&(et=function(){let{performance:e}=o;if(!e?.now)return;let t=D(()=>e.now()),n=P(),r=e.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+t-n))return r;let i=e.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+t-n)?i:n-t}()),et},"dateTimestampInSeconds",0,Z,"timestampInSeconds",0,ee],340639),e.s(["closeSession",0,function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),en(e,n)},"makeSession",0,function(e){let t=ee(),n={sid:X(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=n,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&en(n,e),n},"updateSession",0,en],425329),e.s(["merge",0,er],911965),e.s(["generateSpanId",0,es,"generateTraceId",0,ei],510783);let ea="_sentrySpan";function eo(e,t){t?x(e,ea,t):delete e[ea]}function ec(e){return e[ea]}e.s(["_getSpanForScope",0,ec,"_setSpanForScope",0,eo],108465);class eu{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:ei(),sampleRand:k()}}clone(){let e=new eu;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,eo(e,ec(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&en(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,attributes:r,extra:i,user:s,contexts:a,level:o,fingerprint:c=[],propagationContext:u,conversationId:p}=(t instanceof eu?t.getScopeData():v(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},s&&Object.keys(s).length&&(this._user=s),o&&(this._level=o),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),p&&(this._conversationId=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,eo(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ei(),sampleRand:k()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:Z(),...e,message:e.message?V(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:ec(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=er(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||X();if(!this._client)return l&&h.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||X();if(!this._client)return l&&h.warn("No client configured on scope - will not capture message!"),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||X();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):l&&h.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),this._notifyingListeners=!1)}}e.s(["Scope",0,eu],182848);let ep=e=>e instanceof Promise&&!e[el],el=Symbol("chained PromiseLike"),ed=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return ep(r)&&ep(e)?r:e_(e,r)},e_=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];"function"==typeof i?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[el]:!0}),t};e.s(["chainAndCopyPromiseLike",0,ed],674049);class eg{constructor(e,t){let n,r;n=e||new eu,r=t||new eu,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t,n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return R(t)?ed(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eS(){let e=u(c());return e.stack=e.stack||new eg(p("defaultCurrentScope",()=>new eu),p("defaultIsolationScope",()=>new eu))}function ef(e){return eS().withScope(e)}function eh(e,t){let n=eS();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function em(e){return eS().withScope(()=>e(eS().getIsolationScope()))}function eT(e){let t=u(e);return t.acs?t.acs:{withIsolationScope:em,withScope:ef,withSetScope:eh,withSetIsolationScope:(e,t)=>em(t),getCurrentScope:()=>eS().getScope(),getIsolationScope:()=>eS().getIsolationScope()}}function eE(){return eT(c()).getCurrentScope()}e.s(["getAsyncContextStrategy",0,eT],108903),e.s(["getClient",0,function(){return eE().getClient()},"getCurrentScope",0,eE,"getGlobalScope",0,function(){return p("globalScope",()=>new eu)},"getIsolationScope",0,function(){return eT(c()).getIsolationScope()},"getTraceContextFromScope",0,function(e){let t=s?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),a={trace_id:n,span_id:i||es()};return r&&(a.parent_span_id=r),a},"hasExternalPropagationContext",0,function(){return void 0!==s},"withIsolationScope",0,function(...e){let t=eT(c());if(2===e.length){let[n,r]=e;return n?t.withSetIsolationScope(n,r):t.withIsolationScope(r)}return t.withIsolationScope(e[0])},"withScope",0,function(...e){let t=eT(c());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}],401690),e.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,"sentry.exclusive_time","SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,"sentry.profile_id","SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,"sentry.custom_span_name","SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT",0,"sentry.environment","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",0,"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",0,"sentry.measurement_unit","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,"sentry.measurement_value","SEMANTIC_ATTRIBUTE_SENTRY_OP",0,"sentry.op","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,"sentry.origin","SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,"sentry.previous_trace_sample_rate","SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,"sentry.sample_rate","SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME",0,"sentry.sdk.name","SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION",0,"sentry.sdk.version","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID",0,"sentry.segment.id","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME",0,"sentry.segment.name","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,"sentry.source","SEMANTIC_ATTRIBUTE_URL_FULL",0,"url.full","SEMANTIC_ATTRIBUTE_USER_EMAIL",0,"user.email","SEMANTIC_ATTRIBUTE_USER_ID",0,"user.id","SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS",0,"user.ip_address","SEMANTIC_ATTRIBUTE_USER_USERNAME",0,"user.name","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",0,"sentry.link.type"],341600)},546509,e=>{"use strict";var t=e.i(489103),n=e.i(121667),r=e.i(59815);let i="sentry-";function s(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}e.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,i,"baggageHeaderToDynamicSamplingContext",0,function(e){let t=function(e){if(e&&((0,r.isString)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
2(Object.entries(s(t)).forEach(([t,n])=>{e[t]=n}),e),{}):s(e)}(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.startsWith(i)&&(e[t.slice(i.length)]=n),e),{});return Object.keys(n).length>0?n:void 0},"dynamicSamplingContextToSentryBaggageHeader",0,function(e){if(e){var r=Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${i}${t}`]=n),e),{});return 0!==Object.keys(r).length?Object.entries(r).reduce((e,[r,i],s)=>{let a=`${encodeURIComponent(r)}=${encodeURIComponent(i)}`,o=0===s?a:`${e},${a}`;return o.length>8192?(t.DEBUG_BUILD&&n.debug.warn(`Not adding key: ${r} with val: ${i} to baggage header due to exceeding baggage size limits.`),e):o},""):void 0}}])},860758,e=>{"use strict";var t=e.i(674049),n=e.i(59815);e.s(["handleCallbackErrors",0,function(e,r,i=()=>{},s=()=>{}){var a,o,c,u;let p;try{p=e()}catch(e){throw r(e),i(),e}return a=p,o=r,c=i,u=s,(0,n.isThenable)(a)?(0,t.chainAndCopyPromiseLike)(a,e=>{c(),u(e)},e=>{o(e),c()}):(c(),u(a),a)}])},264456,903333,e=>{"use strict";var t=e.i(401690);e.s(["hasSpansEnabled",0,function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let n=e||(0,t.getClient)()?.getOptions();return!!n&&(null!=n.tracesSampleRate||!!n.tracesSampler)}],264456);var n=e.i(489103),r=e.i(121667),i=e.i(847493);function s(e){r.debug.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}e.s(["reparentChildSpans",0,function(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)},"shouldIgnoreSpan",0,function(e,t){if(!t?.length)return!1;for(let a of t){var r;if("string"==typeof(r=a)||r instanceof RegExp){if(e.description&&(0,i.isMatchingPattern)(e.description,a))return n.DEBUG_BUILD&&s(e),!0;continue}let t=!!a.attributes&&Object.keys(a.attributes).length>0;if(!a.name&&!a.op&&!t)continue;let o=!a.name||e.description&&(0,i.isMatchingPattern)(e.description,a.name),c=!a.op||e.op&&(0,i.isMatchingPattern)(e.op,a.op),u=!a.attributes||Object.entries(a.attributes).every(([t,n])=>(function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?(0,i.isMatchingPattern)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t})(e.attributes?.[t],n));if(o&&c&&u)return n.DEBUG_BUILD&&s(e),!0}return!1}],903333)},288948,e=>{"use strict";e.s(["hasSpanStreamingEnabled",0,function(e){return"stream"===e.getOptions().traceLifecycle}])},846135,e=>{"use strict";e.s(["parseSampleRate",0,function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}])},420283,376352,115303,e=>{"use strict";var t=e.i(59815);function n(e){return"string"==typeof e?2*e.length:"boolean"==typeof e?4:8*("number"==typeof e)}function r(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}e.s(["estimateTypedAttributesSizeInBytes",0,function(e){if(!e)return 0;let r=0;for(let[i,s]of Object.entries(e)){r+=2*i.length,r+=2*s.type.length,r+=(s.unit?.length??0)*2;let e=s.value;Array.isArray(e)?r+=n(e[0])*e.length:(0,t.isPrimitive)(e)?r+=n(e):r+=100}return r},"serializeAttributes",0,function(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=function(e,t){let{value:n,unit:r}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},i=function(e){if(Array.isArray(e))return{value:e,type:"array"};let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(n),s=r&&"string"==typeof r?{unit:r}:{};if(i)return{...i,...s};
2if(!t||"skip-undefined"===t&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...s}}(i,t);e&&(n[r]=e)}return n}],420283),e.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"getSpanStatusFromHttpCode",0,r,"setHttpStatus",0,function(e,t){e.setAttribute("http.response.status_code",t);let n=r(t);"unknown_error"!==n.message&&e.setStatus(n)}],376352);var i=e.i(716895),s=e.i(821747);let a="_sentryScope",o="_sentryIsolationScope";e.s(["getCapturedScopesOnSpan",0,function(e){return{scope:e[a],isolationScope:function(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}(e[o])}},"setCapturedScopesOnSpan",0,function(e,t,n){e&&((0,i.addNonEnumerableProperty)(e,o,function(e){try{let t=s.GLOBAL_OBJ.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(n)),(0,i.addNonEnumerableProperty)(e,a,t))}],115303)},134803,e=>{"use strict";var t=e.i(489103),n=e.i(121667);let r=/^o(\d+)\./,i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e){let t=i.exec(e);if(!t)return void(0,n.consoleSandbox)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,s,o="",c="",u="",p=""]=t.slice(1),l="",d=p,_=d.split("/");if(_.length>1&&(l=_.slice(0,-1).join("/"),d=_.pop()),d){let e=d.match(/^\d+/);e&&(d=e[0])}return a({host:c,pass:o,path:l,projectId:d,port:u,protocol:r,publicKey:s})}function a(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}e.s(["dsnFromString",0,s,"dsnToString",0,function(e,t=!1){let{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=e;return`${o}://${c}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${a}`},"extractOrgIdFromClient",0,function(e){let t,n=e.getOptions(),{host:i}=e.getDsn()||{};if(n.orgId)t=String(n.orgId);else{let e;i&&(e=i.match(r),t=e?.[1])}return t},"makeDsn",0,function(e){let r="string"==typeof e?s(e):a(e);if(r&&function(e){if(!t.DEBUG_BUILD)return!0;let{port:r,projectId:i,protocol:s}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(n.debug.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(i.match(/^\d+$/)?"http"!==s&&"https"!==s?(n.debug.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):!(r&&isNaN(parseInt(r,10)))||(n.debug.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):(n.debug.error(`Invalid Sentry Dsn: Invalid projectId ${i}`),!1))}(r))return r}])},661851,136020,621617,520073,e=>{"use strict";var t=e.i(108903),n=e.i(420283),r=e.i(476216),i=e.i(401690),s=e.i(341600),a=e.i(376352),o=e.i(115303),c=e.i(716895),u=e.i(510783),p=e.i(340639),l=e.i(121667),d=e.i(546509),_=e.i(134803),g=e.i(846135),S=e.i(120923);let f=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function h(e=(0,u.generateTraceId)(),t=(0,u.generateSpanId)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function m(e=(0,u.generateTraceId)(),t=(0,u.generateSpanId)(),n){return`00-${e}-${t}-${n?"01":"00"}`}e.s(["TRACEPARENT_REGEXP",0,f,"generateSentryTraceHeader",0,h,"generateTraceparentHeader",0,m,"propagationContextFromHeaders",0,function(e,t){let n=function(e){let t;if(!e)return;let n=e.match(f);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e),r=(0,d.baggageHeaderToDynamicSamplingContext)(t);if(!n?.traceId)return{traceId:(0,u.generateTraceId)(),sampleRand:(0,S.safeMathRandom)()};let i=function(e,t){let n=(0,g.parseSampleRate)(t?.sample_rand);if(void 0!==n)return n;let r=(0,g.parseSampleRate)(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?(0,S.safeMathRandom)()*r:r+(0,S.safeMathRandom)()*(1-r):(0,S.safeMathRandom)()}(n,r);r&&(r.sample_rand=i.toString());let{traceId:s,parentSpanId:a,parentSampled:o}=n;return{traceId:s,parentSpanId:a,sampled:o,dsc:r||{},sampleRand:i}},"shouldContinueTrace",0,function(e,t){let n=(0,_.extractOrgIdFromClient)(e);return t&&n&&t!==n?(l.debug.log(`Won't continue trace because org IDs don't match (incoming baggage: ${t}, SDK options: ${n})`),!1):!e.getOptions().strictTraceContinuation||(!t||!!n)&&(!!t||!n)||(l.debug.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${t}, Sentry client: ${n})`),!1)}],136020);var T=e.i(108465);let E=!1;function y(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:1===n,attributes:i,...r})):void 0}function b(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r})):void 0}function I(e){return"number"==typeof e?v(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?v(e.getTime()):(0,p.timestampInSeconds)()}function v(e){return e>0x2540be3ff?e/1e3:e}function A(e){if(C(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(R(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:c,links:u}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:N(e),start_timestamp:I(i),timestamp:I(o)||void 0,status:O(c),op:r[s.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:r[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:y(u)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function N(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function R(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function C(e){return"function"==typeof e.getSpanJSON}function x(e){let{traceFlags:t}=e.spanContext();return 1===t}function O(e){if(e&&e.code!==a.SPAN_STATUS_UNSET)return e.code===a.SPAN_STATUS_OK?"ok":e.message||"internal_error"}function M(e){return e&&e.code!==a.SPAN_STATUS_OK&&e.code!==a.SPAN_STATUS_UNSET&&"cancelled"!==e.message?"error":"ok"}let U="_sentryChildSpans",D="_sentryRootSpan",k=P;function P(e){return e[D]||e}e.s(["INTERNAL_getSegmentSpan",0,P,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,function(e,t){let n=e[D]||e;(0,c.addNonEnumerableProperty)(t,D,n),e[U]?e[U].add(t):(0,c.addNonEnumerableProperty)(e,U,new Set([t]))},"convertSpanLinksForEnvelope",0,y,"getActiveSpan",0,function(){let e=(0,r.getMainCarrier)(),n=(0,t.getAsyncContextStrategy)(e);return n.getActiveSpan?n.getActiveSpan():(0,T._getSpanForScope)((0,i.getCurrentScope)())},"getRootSpan",0,k,"getSimpleStatusMessage",0,M,"getSpanDescendants",0,function(e){let t=new Set;return!function e(n){if(!t.has(n)&&x(n))for(let r of(t.add(n),n[U]?Array.from(n[U]):[]))e(r)}(e),Array.from(t)},"getStatusMessage",0,O,"getStreamedSpanLinks",0,b,"removeChildSpanFromSpan",0,function(e,t){e[U]&&e[U].delete(t)},"showSpanDropWarning",0,function(){E||((0,l.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),E=!0)},"spanIsSampled",0,x,"spanTimeInputToSeconds",0,I,"spanToJSON",0,A,"spanToStreamedSpanJSON",0,function(e){if(C(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(R(e)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:c}=e;return{name:s,span_id:t,trace_id:n,parent_span_id:N(e),start_timestamp:I(i),end_timestamp:I(a),is_segment:e===P(e),status:M(o),attributes:r,links:b(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===P(e)}},"spanToTraceContext",0,function(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:A(e).parent_span_id,s=(0,o.getCapturedScopesOnSpan)(e).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||(0,u.generateSpanId)():t,trace_id:n}},"spanToTraceHeader",0,function(e){let{traceId:t,spanId:n}=e.spanContext();return h(t,n,x(e))},"spanToTraceparentHeader",0,function(e){let{traceId:t,spanId:n}=e.spanContext();return m(t,n,x(e))},"spanToTransactionTraceContext",0,function(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=A(e);return{parent_span_id:s,span_id:t,trace_id:n,data:r,op:i,status:a,origin:o,links:c}},"streamedSpanJsonToSerializedSpan",0,function(e){return{...e,attributes:(0,n.serializeAttributes)(e.attributes),links:e.links?.map(e=>({...e,attributes:(0,n.serializeAttributes)(e.attributes)}))}},"updateSpanName",0,function(e,t){e.updateName(t),e.setAttributes({[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:t})}],661851);let w="production";e.s(["DEFAULT_ENVIRONMENT",0,w],621617);var B=e.i(264456);let L="_frozenDsc";function $(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||w,release:n.release,public_key:r,trace_id:e,org_id:(0,_.extractOrgIdFromClient)(t)};return t.emit("createDsc",i),i}function j(e){let t=(0,i.getClient)();if(!t)return{};let n=k(e),r=A(n),a=r.data,c=n.spanContext().traceState,u=c?.get("sentry.sample_rate")??a[s.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??a[s.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function p(e){return("number"==typeof u||"string"==typeof u)&&(e.sample_rate=`${u}`),e}let l=n[L];if(l)return p(l);let _=c?.get("sentry.dsc"),g=_&&(0,d.baggageHeaderToDynamicSamplingContext)(_);if(g)return p(g);let S=$(e.spanContext().traceId,t),f=a[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]??a["sentry.span.source"],h=r.description;return"url"!==f&&h&&(S.transaction=h),(0,B.hasSpansEnabled)()&&(S.sampled=String(x(n)),S.sample_rand=c?.get("sentry.sample_rand")??(0,o.getCapturedScopesOnSpan)(n).scope?.getPropagationContext().sampleRand.toString()),p(S),t.emit("createDsc",S,n),S}e.s(["freezeDscOnSpan",0,function(e,t){(0,c.addNonEnumerableProperty)(e,L,t)},"getDynamicSamplingContextFromScope",0,function(e,t){let n=t.getPropagationContext();return n.dsc||$(n.traceId,e)},"getDynamicSamplingContextFromSpan",0,j,"spanToBaggageHeader",0,function(e){let t=j(e);return(0,d.dynamicSamplingContextToSentryBaggageHeader)(t)}],520073)},545510,e=>{"use strict";var t=e.i(489103),n=e.i(121667),r=e.i(661851);e.s(["logSpanEnd",0,function(e){if(!t.DEBUG_BUILD)return;let{description:i="< unknown name >",op:s="< unknown op >"}=(0,r.spanToJSON)(e),{spanId:a}=e.spanContext(),o=(0,r.getRootSpan)(e)===e,c=`[Tracing] Finishing "${s}" ${o?"root ":""}span "${i}" with ID ${a}`;n.debug.log(c)},"logSpanStart",0,function(e){if(!t.DEBUG_BUILD)return;let{description:i="< unknown name >",op:s="< unknown op >",parent_span_id:a}=(0,r.spanToJSON)(e),{spanId:o}=e.spanContext(),c=(0,r.spanIsSampled)(e),u=(0,r.getRootSpan)(e),p=u===e,l=`[Tracing] Starting ${c?"sampled":"unsampled"} ${p?"root ":""}span`,d=[`op: ${s}`,`name: ${i}`,`ID: ${o}`];if(a&&d.push(`parent ID: ${a}`),!p){let{op:e,description:t}=(0,r.spanToJSON)(u);d.push(`root ID: ${u.spanContext().spanId}`),e&&d.push(`root op: ${e}`),t&&d.push(`root description: ${t}`)}n.debug.log(`${l} 3 ${d.join("\n ")}`)}])}
3,481883,e=>{"use strict";var t=e.i(489103),n=e.i(121667),r=e.i(264456),i=e.i(846135);e.s(["sampleSpan",0,function(e,s,a){let o,c;if(!(0,r.hasSpansEnabled)(e))return[!1];"function"==typeof e.tracesSampler?(o=e.tracesSampler({...s,inheritOrSampleWith:e=>"number"==typeof s.parentSampleRate?s.parentSampleRate:"boolean"==typeof s.parentSampled?Number(s.parentSampled):e}),c=!0):void 0!==s.parentSampled?o=s.parentSampled:void 0!==e.tracesSampleRate&&(o=e.tracesSampleRate,c=!0);let u=(0,i.parseSampleRate)(o);if(void 0===u)return t.DEBUG_BUILD&&n.debug.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),[!1];if(!u)return t.DEBUG_BUILD&&n.debug.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,u,c];let p=a<u;return!p&&t.DEBUG_BUILD&&n.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),[p,u,c]}])},899236,609253,249309,523151,e=>{"use strict";var t=e.i(510783),n=e.i(661851);e.s(["SentryNonRecordingSpan",0,class{constructor(e={}){this._traceId=e.traceId||(0,t.generateTraceId)(),this._spanId=e.spanId||(0,t.generateSpanId)(),this.dropReason=e.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:n.TRACE_FLAG_NONE}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}],899236);var r=e.i(520073),i=e.i(716895);function s(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}e.s(["isStreamedBeforeSendSpanCallback",0,s,"withStreamedSpan",0,function(e){return(0,i.addNonEnumerableProperty)(e,"_streamed",!0),e}],609253);var a=e.i(134803),o=e.i(476216),c=e.i(84007),u=e.i(821747);function p(e,t=[]){return[e,t]}function l(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function d(e){let t=(0,o.getSentryCarrier)(u.GLOBAL_OBJ);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function _(e){return[{type:"span"},e]}let g={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function S(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function f(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:(0,a.dsnToString)(r)},...i&&{trace:i}}}e.s(["addItemToEnvelope",0,function(e,t){let[n,r]=e;return[n,[...r,t]]},"createAttachmentEnvelopeItem",0,function(e){let t="string"==typeof e.data?d(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]},"createEnvelope",0,p,"createEventEnvelopeHeaders",0,f,"createSpanEnvelopeItem",0,_,"envelopeContainsItemType",0,function(e,t){return l(e,(e,n)=>t.includes(n))},"envelopeItemTypeToDataCategory",0,function(e){return e in g?g[e]:e},"forEachEnvelopeItem",0,l,"getSdkMetadataForEnvelopeHeader",0,S,"parseEnvelope",0,function(e){let t="string"==typeof e?d(e):e;function n(e){let n=t.subarray(0,e);return t=t.subarray(e+1),n}function r(){var e;let r,i=t.indexOf(10);return i<0&&(i=t.length),JSON.parse((e=n(i),(r=(0,o.getSentryCarrier)(u.GLOBAL_OBJ)).decodePolyfill?r.decodePolyfill(e):new TextDecoder().decode(e)))}let i=r(),s=[];for(;t.length;){let e=r(),t="number"==typeof e.length?e.length:void 0;s.push([e,t?n(t):r()])}return[i,s]},"serializeEnvelope",0,function(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[d(r),e]:r.push("string"==typeof e?d(e):e)}for(let e of n){let[t,n]=e;if(i(` 4${JSON.stringify(t)} 5`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify((0,c.normalize)(n))}i(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>
5e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}],249309);var h=e.i(903333);e.s(["createEventEnvelope",0,function(e,t,n,r){let i=S(n),s=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);let a=f(e,i,r,t);return delete e.sdkProcessingMetadata,p(a,[[{type:s},e]])},"createSessionEnvelope",0,function(e,t,n,r){let i=S(n);return p({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:(0,a.dsnToString)(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])},"createSpanEnvelope",0,function(e,t){let i=(0,r.getDynamicSamplingContextFromSpan)(e[0]),o=t?.getDsn(),c=t?.getOptions().tunnel,u={sent_at:new Date().toISOString(),...!!i.trace_id&&!!i.public_key&&{trace:i},...!!c&&o&&{dsn:(0,a.dsnToString)(o)}},{beforeSendSpan:l,ignoreSpans:d}=t?.getOptions()||{},g=d?.length?e.filter(e=>{let t=(0,n.spanToJSON)(e);return!(0,h.shouldIgnoreSpan)({description:t.description,op:t.op,attributes:t.data},d)}):e,S=e.length-g.length;S&&t?.recordDroppedEvent("before_send","span",S);let f=l?e=>{let t=(0,n.spanToJSON)(e),r=s(l)?t:l(t);return r||((0,n.showSpanDropWarning)(),t)}:n.spanToJSON,m=[];for(let e of g){let t=f(e);t&&m.push(_(t))}return p(u,m)}],523151)},803450,e=>{"use strict";var t=e.i(489103),n=e.i(341600),r=e.i(121667),i=e.i(661851);e.s(["setMeasurement",0,function(e,s,a,o=(0,i.getActiveSpan)()){let c=o&&(0,i.getRootSpan)(o);c&&(t.DEBUG_BUILD&&r.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${s} ${a}`),c.addEvent(e,{[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:s,[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:a}))},"timedEventsToMeasurements",0,function(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},i=r[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],s=r[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof i&&"number"==typeof s&&(t[e.name]={value:s,unit:i})}),t}])},694765,e=>{"use strict";var t=e.i(401690),n=e.i(489103),r=e.i(523151),i=e.i(341600),s=e.i(121667),a=e.i(510783),o=e.i(661851),c=e.i(340639),u=e.i(520073),p=e.i(545510),l=e.i(803450),d=e.i(288948),_=e.i(115303);class g{constructor(e={}){this._traceId=e.traceId||(0,a.generateTraceId)(),this._spanId=e.spanId||(0,a.generateSpanId)(),this._startTime=e.startTimestamp||(0,c.timestampInSeconds)(),this._links=e.links,this._attributes={},this.setAttributes({[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?o.TRACE_FLAG_SAMPLED:o.TRACE_FLAG_NONE}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,o.spanTimeInputToSeconds)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(e){this._endTime||(this._endTime=(0,o.spanTimeInputToSeconds)(e),(0,p.logSpanEnd)(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,o.getStatusMessage)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[i.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[i.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:(0,l.timedEventsToMeasurements)(this._events),is_segment:this._isStandaloneSpan&&(0,o.getRootSpan)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,o.getRootSpan)(this).spanContext().spanId:void 0,links:(0,o.convertSpanLinksForEnvelope)(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===(0,o.getRootSpan)(this),status:(0,o.getSimpleStatusMessage)(this._status),attributes:this._attributes,links:(0,o.getStreamedSpanLinks)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){n.DEBUG_BUILD&&s.debug.log("[Tracing] Adding an event to span:",e);let i=S(t)?t:r||(0,c.timestampInSeconds)(),a=S(t)?{}:t||{},u={name:e,time:(0,o.spanTimeInputToSeconds)(i),attributes:a};return this._events.push(u),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,t.getClient)();if(e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===(0,o.getRootSpan)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let n=(0,t.getClient)();if(!n)return;let r=e[1];r&&0!==r.length?n.sendEnvelope(e):n.recordDroppedEvent("before_send","span")}((0,r.createSpanEnvelope)([this],e)):(n.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(e&&(0,d.hasSpanStreamingEnabled)(e))return void e.emit("afterSegmentSpanEnd",this);let i=this._convertSpanToTransaction();i&&((0,_.getCapturedScopesOnSpan)(this).scope||(0,t.getCurrentScope)()).captureEvent(i)}_convertSpanToTransaction(){if(!f((0,o.spanToJSON)(this)))return;this._name||(n.DEBUG_BUILD&&s.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=(0,_.getCapturedScopesOnSpan)(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let a=(0,o.getSpanDescendants)(this).filter(e=>{var t;return e!==this&&!((t=e)instanceof g&&t.isStandaloneSpan())}).map(e=>(0,o.spanToJSON)(e)).filter(f),c=this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];let p=!1;
5a.forEach(e=>{delete e.data[i.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],e.op?.startsWith("gen_ai.")&&(p=!0)});let d={contexts:{trace:(0,o.spanToTransactionTraceContext)(this)},spans:a.length>1e3?a.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):a,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,u.getDynamicSamplingContextFromSpan)(this),hasGenAiSpans:p},request:r,...c&&{transaction_info:{source:c}}},S=(0,l.timedEventsToMeasurements)(this._events);return S&&Object.keys(S).length&&(n.DEBUG_BUILD&&s.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(S,void 0,2)),d.measurements=S),d}}function S(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function f(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}e.s(["SentrySpan",0,g])},356858,479038,244161,636908,173400,628401,e=>{"use strict";let t,n,r,i;var s=e.i(401690),a=e.i(489103),o=e.i(425329),c=e.i(108903),u=e.i(476216),p=e.i(341600),l=e.i(546509),d=e.i(121667),_=e.i(860758),g=e.i(264456),S=e.i(903333),f=e.i(288948),h=e.i(846135),m=e.i(510783),T=e.i(120923),E=e.i(108465),y=e.i(661851),b=e.i(136020),I=e.i(520073),v=e.i(545510),A=e.i(481883),N=e.i(899236),R=e.i(694765),C=e.i(376352),x=e.i(115303);let O="__SENTRY_SUPPRESS_TRACING__";function M(e,t){let n=P();return n.withActiveSpan?n.withActiveSpan(e,t):(0,s.withScope)(n=>((0,E._setSpanForScope)(n,e||void 0),t(n)))}function U(e){let t=P();return t.startNewTrace?t.startNewTrace(e):(0,s.withScope)(t=>(t.setPropagationContext({traceId:(0,m.generateTraceId)(),sampleRand:(0,T.safeMathRandom)()}),a.DEBUG_BUILD&&d.debug.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),M(null,e)))}function D({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){var i,a;let o,c;if(!(0,g.hasSpansEnabled)()){let r=new N.SentryNonRecordingSpan;if(n||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,I.getDynamicSamplingContextFromSpan)(r)};(0,I.freezeDscOnSpan)(r,e)}return r}let u=(0,s.getClient)();if(i=u,a=t,c=i?.getOptions().ignoreSpans,i&&(0,f.hasSpanStreamingEnabled)(i)&&c?.length&&(0,S.shouldIgnoreSpan)({description:a.name||"",op:a.attributes?.[p.SEMANTIC_ATTRIBUTE_SENTRY_OP]||a.op,attributes:a.attributes},c))return j(r)||u?.recordDroppedEvent("ignored","span"),new N.SentryNonRecordingSpan({dropReason:"ignored",traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});let l=(0,s.getIsolationScope)();if(e&&!n)o=function(e,t,n){let{spanId:r,traceId:i}=e.spanContext(),a=j(t),o=!a&&(0,y.spanIsSampled)(e),c=o?new R.SentrySpan({...n,parentSpanId:r,traceId:i,sampled:o}):new N.SentryNonRecordingSpan({traceId:i});(0,y.addChildSpanToSpan)(e,c);let u=(0,s.getClient)();return u&&((0,f.hasSpanStreamingEnabled)(u)&&c instanceof N.SentryNonRecordingSpan&&(e instanceof N.SentryNonRecordingSpan&&e.dropReason?(c.dropReason=e.dropReason,u.recordDroppedEvent(e.dropReason,"span")):a||(c.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",c),n.endTimestamp&&(u.emit("spanEnd",c),u.emit("afterSpanEnd",c))),c}(e,r,t),(0,y.addChildSpanToSpan)(e,o);else if(e){let n=(0,I.getDynamicSamplingContextFromSpan)(e),{traceId:i,spanId:s}=e.spanContext(),a=(0,y.spanIsSampled)(e);o=w({traceId:i,parentSpanId:s,...t},r,a),(0,I.freezeDscOnSpan)(o,n)}else{let{traceId:e,dsc:n,parentSpanId:i,sampled:s}={...l.getPropagationContext(),...r.getPropagationContext()};o=w({traceId:e,parentSpanId:i,...t},r,s),n&&(0,I.freezeDscOnSpan)(o,n)}return(0,v.logSpanStart)(o),(0,x.setCapturedScopesOnSpan)(o,r,l),o}function k(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=(0,y.spanTimeInputToSeconds)(e.startTime),delete n.startTime,n}return t}function P(){let e=(0,u.getMainCarrier)();return(0,c.getAsyncContextStrategy)(e)}function w(e,t,n){let r=(0,s.getClient)(),i=r?.getOptions()||{},{name:o=""}=e,c={spanAttributes:{...e.attributes},spanName:o,parentSampled:n};r?.emit("beforeSampling",c,{decision:!1});let u=c.parentSampled??n,l=c.spanAttributes,_=t.getPropagationContext(),g=j(t),[S,m,T]=g?[!1]:(0,A.sampleSpan)(i,{name:o,parentSampled:u,attributes:l,parentSampleRate:(0,h.parseSampleRate)(_.dsc?.sample_rate)},_.sampleRand),E=new R.SentrySpan({...e,attributes:{[p.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[p.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==m&&T?m:void 0,...l},sampled:S});return S||!r||g||(a.DEBUG_BUILD&&d.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate",(0,f.hasSpanStreamingEnabled)(r)?"span":"transaction")),r&&r.emit("spanStart",E),E}function B(e,t){if(t)return t;if(null===t)return;let n=(0,E._getSpanForScope)(e);if(!n)return;let r=(0,s.getClient)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,y.getRootSpan)(n):n}function L(e){return void 0!==e?t=>M(e,t):e=>e()}function $(e){return e instanceof N.SentryNonRecordingSpan&&"ignored"===e.dropReason}function j(e){return!0===e.getScopeData().sdkProcessingMetadata[O]}e.s(["continueTrace",0,(e,t)=>{let n=(0,u.getMainCarrier)(),r=(0,c.getAsyncContextStrategy)(n);if(r.continueTrace)return r.continueTrace(e,t);let{sentryTrace:i,baggage:a}=e,o=(0,s.getClient)(),p=(0,l.baggageHeaderToDynamicSamplingContext)(a);return o&&!(0,b.shouldContinueTrace)(o,p?.org_id)?U(t):(0,s.withScope)(e=>{let n=(0,b.propagationContextFromHeaders)(i,a);return e.setPropagationContext(n),(0,E._setSpanForScope)(e,void 0),t()})},"startInactiveSpan",0,function(e){let t=P();if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=k(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?t=>(0,s.withScope)(e.scope,t):void 0!==i?e=>M(i,e):e=>e())(()=>{let t=(0,s.getCurrentScope)(),a=B(t,i),o=(0,s.getClient)();return e.onlyIfParent&&!a?(o?.recordDroppedEvent("no_parent_span","span"),new N.SentryNonRecordingSpan):D({parentSpan:a,spanArguments:n,forceTransaction:r,scope:t})})},"startNewTrace",0,U,"startSpan",0,function(e,t){let n=P();if(n.startSpan)return n.startSpan(e,t);let r=k(e),{forceTransaction:i,parentSpan:a,scope:o}=e,c=o?.clone();return(0,s.withScope)(c,()=>L(a)(()=>{let n=(0,s.getCurrentScope)(),o=B(n,a),c=(0,s.getClient)(),u=e.onlyIfParent&&!o,p=u?new N.SentryNonRecordingSpan:D({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return u&&c?.recordDroppedEvent("no_parent_span","span"),$(p)&&o||(0,E._setSpanForScope)(n,p),(0,_.handleCallbackErrors)(()=>t(p),()=>{let{status:e}=(0,y.spanToJSON)(p);p.isRecording()&&(!e||"ok"===e)&&p.setStatus({code:C.SPAN_STATUS_ERROR,message:"internal_error"})},()=>{p.end()})}))},"startSpanManual",0,function(e,t){let n=P();if(n.startSpanManual)return n.startSpanManual(e,t);let r=k(e),{forceTransaction:i,parentSpan:a,scope:o}=e,c=o?.clone();return(0,s.withScope)(c,()=>L(a)(()=>{let n=(0,s.getCurrentScope)(),o=B(n,a),c=e.onlyIfParent&&!o,u=c?new N.SentryNonRecordingSpan:D({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return c&&(0,s.getClient)()?.recordDroppedEvent("no_parent_span","span"),$(u)&&o||(0,E._setSpanForScope)(n,u),(0,_.handleCallbackErrors)(()=>t(u,()=>u.end()),()=>{let{status:e}=(0,y.spanToJSON)(u);u.isRecording()&&(!e||"ok"===e)&&u.setStatus({code:C.SPAN_STATUS_ERROR,message:"internal_error"})})}))},"suppressTracing",0,function(e){let t=P();return t.suppressTracing?t.suppressTracing(e):(0,s.withScope)(t=>{t.setSDKProcessingMetadata({[O]:!0});let n=e();return t.setSDKProcessingMetadata({[O]:void 0}),n})},"withActiveSpan",0,M],479038);var F=e.i(59815),G=e.i(474528),Y=e.i(621617);function J(e){return new H(t=>{t(e)})}function z(e){return new H((t,n)=>{n(e)})}class H{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new H((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new H((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{i?n(r):t(r)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();
5this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if((0,F.isThenable)(t))return void t.then(n,r);this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(1,e)},r=e=>{t(2,e)};try{e(n,r)}catch(e){r(e)}}}e.s(["rejectedSyncPromise",0,z,"resolvedSyncPromise",0,J],244161);var K=e.i(182848),V=e.i(696837),W=e.i(821747);function q(e){let s=W.GLOBAL_OBJ._sentryDebugIds,a=W.GLOBAL_OBJ._debugIds;if(!s&&!a)return{};let o=s?Object.keys(s):[],c=a?Object.keys(a):[];if(i&&o.length===n&&c.length===r)return i;n=o.length,r=c.length,i={},t||(t={});let u=(n,r)=>{for(let s of n){let n=r[s],a=t?.[s];if(a&&i&&n)i[a[0]]=n,t&&(t[s]=[a[0],n]);else if(n){let r=e(s);for(let e=r.length-1;e>=0;e--){let a=r[e],o=a?.filename;if(o&&i&&t){i[o]=n,t[s]=[o,n];break}}}}};return s&&u(o,s),a&&u(c,a),i}e.s(["getDebugImagesForResources",0,function(e,t){let n=q(e);if(!n)return[];let r=[];for(let e of t){let t=(0,V.normalizeStackTracePath)(e);t&&n[t]&&r.push({type:"sourcemap",code_file:e,debug_id:n[t]})}return r},"getFilenameToDebugIdMap",0,q],636908);var X=e.i(84007),Q=e.i(911965);function Z(e,t){var n,r,i,s,a,o,c,u;let p,l,d,{fingerprint:_,span:g,breadcrumbs:S,sdkProcessingMetadata:f}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:s,level:a,transactionName:o}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),a&&(e.level=a),o&&"transaction"!==e.type&&(e.transaction=o)})(e,t),g&&(n=e,r=g,n.contexts={trace:(0,y.spanToTraceContext)(r),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:(0,I.getDynamicSamplingContextFromSpan)(r),...n.sdkProcessingMetadata},p=(0,y.getRootSpan)(r),(l=(0,y.spanToJSON)(p).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=l)),i=e,s=_,i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],s&&(i.fingerprint=i.fingerprint.concat(s)),i.fingerprint.length||delete i.fingerprint,a=e,o=S,d=[...a.breadcrumbs||[],...o],a.breadcrumbs=d.length?d:void 0,c=e,u=f,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function ee(e,t){let{extra:n,tags:r,attributes:i,user:s,contexts:a,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:p,eventProcessors:l,attachments:d,propagationContext:_,transactionName:g,span:S}=t;et(e,"extra",n),et(e,"tags",r),et(e,"attributes",i),et(e,"user",s),et(e,"contexts",a),e.sdkProcessingMetadata=(0,Q.merge)(e.sdkProcessingMetadata,c,2),o&&(e.level=o),g&&(e.transactionName=g),S&&(e.span=S),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),p.length&&(e.fingerprint=[...e.fingerprint,...p]),l.length&&(e.eventProcessors=[...e.eventProcessors,...l]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,..._}}function et(e,t,n){e[t]=(0,Q.merge)(e[t],n,1)}function en(e,t){let n=(0,s.getGlobalScope)().getScopeData();return e&&ee(n,e.getScopeData()),t&&ee(n,t.getScopeData()),n}e.s(["applyScopeDataToEvent",0,Z,"getCombinedScopeData",0,en],173400);var er=e.i(847493),ei=e.i(340639);function es(e){if(e){var t;return(t=e)instanceof K.Scope||"function"==typeof t||Object.keys(e).some(e=>ea.includes(e))?{captureContext:e}:e}}let ea=["user","level","extra","contexts","tags","fingerprint","propagationContext"];async function eo(e){let t=(0,s.getClient)();return t?t.flush(e):(a.DEBUG_BUILD&&d.debug.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function ec(e){let t=(0,s.getClient)();return t?t.close(e):(a.DEBUG_BUILD&&d.debug.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function eu(){let e=(0,s.getIsolationScope)(),t=(0,s.getCurrentScope)().getSession()||e.getSession();t&&(0,o.closeSession)(t),ep(),e.setSession()}function ep(){let e=(0,s.getIsolationScope)(),t=(0,s.getClient)(),n=e.getSession();n&&t&&t.captureSession(n)}e.s(["parseEventHintOrCaptureContext",0,es,"prepareEvent",0,function(e,t,n,r,i,s){var o,c,u;
5let p,{normalizeDepth:l=3,normalizeMaxBreadth:_=1e3}=e,g={...t,event_id:t.event_id||n.event_id||(0,G.uuid4)(),timestamp:t.timestamp||(0,ei.dateTimestampInSeconds)()},S=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:s}=t;e.environment=e.environment||n||Y.DEFAULT_ENVIRONMENT,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let a=e.request;a?.url&&s&&(a.url=(0,er.truncate)(a.url,s)),s&&e.exception?.values?.forEach(e=>{e.value&&(e.value=(0,er.truncate)(e.value,s))})})(g,e),o=g,(c=S).length>0&&(o.sdk=o.sdk||{},o.sdk.integrations=[...o.sdk.integrations||[],...c]),i&&i.emit("applyFrameMetadata",t),void 0===t.type&&(u=g,p=q(e.stackParser),u.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=p[e.filename])})}));let f=function(e,t){if(!t)return e;let n=e?e.clone():new K.Scope;return n.update(t),n}(r,n.captureContext);n.mechanism&&(0,G.addExceptionMechanism)(g,n.mechanism);let h=i?i.getEventProcessors():[],m=en(s,f),T=[...n.attachments||[],...m.attachments];T.length&&(n.attachments=T),Z(g,m);let E=[...h,...m.eventProcessors];return(n.data&&!0===n.data.__sentry__?J(g):function(e,t,n,r=0){try{let i=function e(t,n,r,i){let s=r[i];if(!t||!s)return t;let o=s({...t},n);return(a.DEBUG_BUILD&&null===o&&d.debug.log(`Event processor "${s.id||"?"}" dropped event`),(0,F.isThenable)(o))?o.then(t=>e(t,n,r,i+1)):e(o,n,r,i+1)}(t,n,e,r);return(0,F.isThenable)(i)?i:J(i)}catch(e){return z(e)}}(E,g,n)).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof l&&l>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,X.normalize)(e.data,t,n)}}))},...e.user&&{user:(0,X.normalize)(e.user,t,n)},...e.contexts&&{contexts:(0,X.normalize)(e.contexts,t,n)},...e.extra&&{extra:(0,X.normalize)(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,X.normalize)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,X.normalize)(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,X.normalize)(e.contexts.flags,3,n)),r}(e,l,_):e)}],628401),e.s(["addEventProcessor",0,function(e){(0,s.getIsolationScope)().addEventProcessor(e)},"captureEvent",0,function(e,t){return(0,s.getCurrentScope)().captureEvent(e,t)},"captureException",0,function(e,t){return(0,s.getCurrentScope)().captureException(e,es(t))},"captureMessage",0,function(e,t){let n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return(0,s.getCurrentScope)().captureMessage(e,n,r)},"captureSession",0,function(e=!1){e?eu():ep()},"close",0,ec,"endSession",0,eu,"flush",0,eo,"isEnabled",0,function(){let e=(0,s.getClient)();return e?.getOptions().enabled!==!1&&!!e?.getTransport()},"isInitialized",0,function(){return!!(0,s.getClient)()},"lastEventId",0,function(){return(0,s.getIsolationScope)().lastEventId()},"setContext",0,function(e,t){(0,s.getIsolationScope)().setContext(e,t)},"setConversationId",0,function(e){(0,s.getIsolationScope)().setConversationId(e)},"setExtra",0,function(e,t){(0,s.getIsolationScope)().setExtra(e,t)},"setExtras",0,function(e){(0,s.getIsolationScope)().setExtras(e)},"setTag",0,function(e,t){(0,s.getIsolationScope)().setTag(e,t)},"setTags",0,function(e){(0,s.getIsolationScope)().setTags(e)},"setUser",0,function(e){(0,s.getIsolationScope)().setUser(e)},"startSession",0,function(e){let t=(0,s.getIsolationScope)(),{user:n}=en(t,(0,s.getCurrentScope)()),{userAgent:r}=W.GLOBAL_OBJ.navigator||{},i=(0,o.makeSession)({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status==="ok"&&(0,o.updateSession)(a,{status:"exited"}),eu(),t.setSession(i),i}],356858)}]); 6 7//# debugId=8e1583cf-2c93-5bfd-7d1b-69e27a36fbbb
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.