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]="831ee034-411f-0161-34c5-59811316504a")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,755502,361214,524181,455184,883744,304444,726303,333655,899069,659256,556175,667367,928123,833648,853691,767020,132055,538204,606977,773545,489506,410707,435570,586262,247293,978039,75606,96353,10166,725350,238190,306818,294684,858072,281522,838146,526276,560002,808128,209519,223431,303355,265635,701080,t=>{"use strict";let e,n,r,s,i,a,o,c,u,p="10.56.0";t.s(["SDK_VERSION",0,p],361214);let l=globalThis;function d(){return f(l),l}function f(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||p,e[p]=e[p]||{}}function _(t,e,n=l){let r=n.__SENTRY__=n.__SENTRY__||{},s=r[p]=r[p]||{};return s[t]||(s[t]=e())}t.s(["GLOBAL_OBJ",0,l],524181),t.s(["getGlobalSingleton",0,_,"getMainCarrier",0,d,"getSentryCarrier",0,f],455184);let h="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,h],883744);let g={};function m(t){if(!("console"in l))return t();let e=l.console,n={},r=Object.keys(g);r.forEach(t=>{let r=g[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function S(){return b().enabled}function y(t,...e){h&&S()&&m(()=>{l.console[t](`Sentry Logger [${t}]:`,...e)})}function b(){return h?_("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let E={enable:function(){b().enabled=!0},disable:function(){b().enabled=!1},isEnabled:S,log:function(...t){y("log",...t)},warn:function(...t){y("warn",...t)},error:function(...t){y("error",...t)}};t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,m,"debug",0,E,"originalConsoleMethods",0,g],304444);let T=Object.prototype.toString;function v(t){switch(T.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return w(t,Error)}}function I(t,e){return T.call(t)===`[object ${e}]`}function x(t){return I(t,"String")}function A(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function N(t){return null===t||A(t)||"object"!=typeof t&&"function"!=typeof t}function R(t){return I(t,"Object")}function C(t){return"u">typeof Event&&w(t,Event)}function k(t){return I(t,"RegExp")}function O(t){return!!(t?.then&&"function"==typeof t.then)}function w(t,e){try{return t instanceof e}catch{return!1}}function M(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{h&&E.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function P(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,M(t,"__sentry_original__",e)}catch{}}function D(t){if(v(t))return{message:t.message,name:t.name,stack:t.stack,...$(t)};if(C(t)){let{type:e,target:n,currentTarget:r,detail:s}=t;return{type:e,target:n,currentTarget:r,...s?{detail:s}:{},...$(t)}}return t}function $(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}function U(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in l&&"function"==typeof l[n]?(e=l[n])(t):(e=null,t())}function j(){return U(()=>Math.random())}function L(){return U(()=>Date.now())}t.s(["isDOMError",0,function(t){return I(t,"DOMError")},"isDOMException",0,function(t){return I(t,"DOMException")},"isError",0,v,"isErrorEvent",0,function(t){return I(t,"ErrorEvent")},"isEvent",0,C,"isInstanceOf",0,w,"isParameterizedString",0,A,"isPlainObject",0,R,"isPrimitive",0,N,"isRegExp",0,k,"isRequest",0,function(t){return"u">typeof Request&&w(t,Request)},"isString",0,x,"isThenable",0,O],726303),t.s(["addNonEnumerableProperty",0,M,"convertToPlainObject",0,D,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys(D(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},"fill",0,function(t,e,n){if(!(e in t))return;let r=t[e];if("function"!=typeof r)return;let s=n(r);"function"==typeof s&&P(s,r);try{t[e]=s}catch{h&&E.log(`Failed to replace method "${e}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,P],333655),t.s(["safeDateNow",0,L,"safeMathRandom",0,j,"withRandomSafeContext",0,U],899069);let B=Symbol.for("sentry.skipNormalization"),F=Symbol.for("sentry.overrideNormalizationDepth"),Y=/\(error: (.*)\)/,J=/captureMessage|captureException/;function G(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{let s=[],i=t.split("\n");for(let t=n;t<i.length;t++){let n=i[t];n.length>1024&&(n=n.slice(0,1024));let a=Y.test(n)?n.replace(Y,"$1"):n;if(!a.includes("Error: ")){for(let t of e){let e=t(a);if(e){s.push(e);break}}if(s.length>=50+r)break}}var a=s.slice(r);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(H(o).function||"")&&o.pop(),o.reverse(),J.test(H(o).function||"")&&(o.pop(),J.test(H(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||H(o).filename,function:t.function||"?"}))}}function H(t){return t[t.length-1]||{}}let K="<anonymous>";function z(t){try{if(!t||"function"!=typeof t)return K;return t.name||K}catch{return K}}function W(t,e=100,n=1/0){try{return function t(e,n,r=1/0,s=1/0,i=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let a,[o,c]=i;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let u=V(e,n);if(!u.startsWith("[object "))return u;if(n[B])return n;let p=(a=n[F],"number"==typeof a?a:void 0),l=void 0!==p?p:r;if(0===l)return u.replace("object ","");if(o(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,l-1,s,i)}catch{}let d=Array.isArray(n)?[]:{},f=0,_=D(n);for(let e in _){if(!Object.prototype.hasOwnProperty.call(_,e))continue;if(f>=s){d[e]="[MaxProperties ~]";break}let n=_[e];d[e]=t(e,n,l-1,s,i),f++}return c(n),d}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function V(e,r){try{var s;let e;if(n){let t=n(r);if(t)return t}if(r===t.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 i=(s=r,e=Object.getPrototypeOf(s),e?.constructor?e.constructor.name:"null prototype");return`[object ${i}]`}catch(t){return`**non-serializable** (${t})`}}function q(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function X(t,e,n=!1){return!!x(t)&&(k(e)?e.test(t):x(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function Q(t=l.crypto||l.msCrypto){try{if(t?.randomUUID)return U(()=>t.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*j())>>t/4).toString(16))}function Z(t){return t.exception?.values?.[0]}function tt(t,e){let n=Z(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r?.data,...e.data};n.mechanism.data=t}}function te(t){try{return t.__sentry_captured__}catch{}}function tn(){return L()/1e3}function tr(){return(s??(s=function(){let{performance:t}=l;if(!t?.now||!t.timeOrigin)return tn;let e=t.timeOrigin;return()=>(e+U(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,G,"getFramesFromEvent",0,function(t){let e=t.exception;if(e){let t=[];
2try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}},"getFunctionName",0,z,"normalizeStackTracePath",0,function(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e},"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?G(...t):t}],659256),t.s(["normalize",0,W,"normalizeToSize",0,function t(e,n=3,r=102400){let s=W(e,n);return~-encodeURI(JSON.stringify(s)).split(/%..|./).length>r?t(e,n-1,r):s},"setNormalizeStringifier",0,function(t){n=t},"stringifyValue",0,V],556175),t.s(["isMatchingPattern",0,X,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];N(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(V(void 0,r))}return n.join(e)},"snipLine",0,function(t,e){let n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);let s=Math.max(e-60,0);s<5&&(s=0);let i=Math.min(s+140,r);return i>r-5&&(i=r),i===r&&(s=Math.max(i-140,0)),n=n.slice(s,i),s>0&&(n=`'{snip} ${n}`),i<r&&(n+=" {snip}"),n},"stringMatchesSomePattern",0,function(t,e=[],n=!1){for(let r of e)if(X(t,r,n))return!0;return!1},"truncate",0,q],667367),t.s(["addExceptionMechanism",0,tt,"addExceptionTypeValue",0,function(t,e,n){let r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(t){if(te(t))return!0;try{M(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=Z(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"isAlreadyCaptured",0,te,"uuid4",0,Q],928123);let ts=null;function ti(t){let e=tr(),n={sid:Q(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,{sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}};return t&&ta(n,t),n}function ta(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||tr(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:Q()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function to(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),ta(t,n)}function tc(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;let r={...t};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=tc(r[t],e[t],n-1));return r}function tu(){return Q()}function tp(){return Q().substring(16)}function tl(t){try{let e=l.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}function td(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}t.s(["browserPerformanceTimeOrigin",0,function(){return null===ts&&(ts=function(){let{performance:t}=l;if(!t?.now)return;let e=U(()=>t.now()),n=L(),r=t.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+e-n))return r;let s=t.timing?.navigationStart;return"number"==typeof s&&3e5>Math.abs(s+e-n)?s:n-e}()),ts},"dateTimestampInSeconds",0,tn,"timestampInSeconds",0,tr],833648),t.s(["closeSession",0,to,"makeSession",0,ti,"updateSession",0,ta],853691),t.s(["merge",0,tc],767020),t.s(["generateSpanId",0,tp,"generateTraceId",0,tu],132055);let tf="_sentrySpan";function t_(t,e){e?M(t,tf,tl(e)):delete t[tf]}function th(t){return td(t[tf])}t.s(["_getSpanForScope",0,th,"_setSpanForScope",0,t_],538204);class tg{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:tu(),sampleRand:j()}}clone(){let t=new tg;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,t_(t,th(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ta(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let e="function"==typeof t?t(this):t,{tags:n,attributes:r,extra:s,user:i,contexts:a,level:o,fingerprint:c=[],propagationContext:u,conversationId:p}=(e instanceof tg?e.getScopeData():R(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...s},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),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,t_(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tu(),sampleRand:j()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:tn(),...t,message:t.message?q(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:th(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tc(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||Q();if(!this._client)return h&&E.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){let r=n?.event_id||Q();if(!this._client)return h&&E.warn("No client configured on scope - will not capture message!"),r;let s=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureEvent(t,e){let n=t.event_id||e?.event_id||Q();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):h&&E.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(t=>{t(this)}),this._notifyingListeners=!1)}}let tm=t=>t instanceof Promise&&!t[tS],tS=Symbol("chained PromiseLike");class ty{constructor(t,e){let n,r;n=t||new tg,r=e||new tg,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}if(O(e)){var r,s,i;let t;return r=e,s=()=>this._popScope(),i=()=>this._popScope(),tm(t=r.then(t=>(s(),t),t=>{throw i(),t}))&&tm(r)?t:((t,e)=>{if(!e)return t;let n=!1;for(let r in t){if(r in e)continue;n=!0;let s=t[r];"function"==typeof s?Object.defineProperty(e,r,{value:(...e)=>s.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[r]=s}return n&&Object.assign(e,{[tS]:!0}),e})(r,t)}return this._popScope(),e}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function tb(){let t=f(d());return t.stack=t.stack||new ty(_("defaultCurrentScope",()=>new tg),_("defaultIsolationScope",()=>new tg))}function tE(t){return tb().withScope(t)}function tT(t,e){let n=tb();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tv(t){return tb().withScope(()=>t(tb().getIsolationScope()))}function tI(t){let e=f(t);return e.acs?e.acs:{withIsolationScope:tv,withScope:tE,withSetScope:tT,withSetIsolationScope:(t,e)=>tv(e),getCurrentScope:()=>tb().getScope(),getIsolationScope:()=>tb().getIsolationScope()}}function tx(){return tI(d()).getCurrentScope()}function tA(){return tI(d()).getIsolationScope()}function tN(){return _("globalScope",()=>new tg)}function tR(...t){let e=tI(d());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function tC(){return tx().getClient()}t.s(["getAsyncContextStrategy",0,tI],606977),t.s(["getClient",0,tC,"getCurrentScope",0,tx,"getGlobalScope",0,tN,"getIsolationScope",0,tA,"getTraceContextFromScope",0,function(t){let e=i?.();if(e)return{trace_id:e.traceId,span_id:e.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:s}=t.getPropagationContext(),a={trace_id:n,span_id:s||tp()};return r&&(a.parent_span_id=r),a},"hasExternalPropagationContext",0,function(){return void 0!==i},"withIsolationScope",0,function(...t){let e=tI(d());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])},"withScope",0,tR],773545);let tk="sentry.source",tO="sentry.sample_rate",tw="sentry.previous_trace_sample_rate",tM="sentry.op",tP="sentry.origin",tD="sentry.measurement_unit",t$="sentry.measurement_value",tU="sentry.custom_span_name",tj="sentry.profile_id",tL="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,tL,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,tj,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,tU,"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,tD,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,t$,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tM,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tw,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tO,"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,tk,"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"],489506);let tB="sentry-";function tF(t){let e=tY(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(tB)&&(t[e.slice(tB.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function tY(t){if(t&&(x(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>
2(Object.entries(tJ(e)).forEach(([e,n])=>{t[e]=n}),t),{}):tJ(t)}function tJ(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}function tG(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tC()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function tH(t){E.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function tK(t,e){if(!e?.length)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(t.description&&X(t.description,r))return h&&tH(t),!0;continue}let e=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!e)continue;let s=!r.name||t.description&&X(t.description,r.name),i=!r.op||t.op&&X(t.op,r.op),a=!r.attributes||Object.entries(r.attributes).every(([e,n])=>(function(t,e){return"string"==typeof t&&("string"==typeof e||e instanceof RegExp)?X(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):t===e})(t.attributes?.[e],n));if(s&&i&&a)return h&&tH(t),!0}return!1}function tz(t){return"stream"===t.getOptions().traceLifecycle}function tW(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}function tV(t,e=!1){let n={};for(let[r,s]of Object.entries(t??{})){let t=function(t,e){let{value:n,unit:r}="object"==typeof t&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},s=function(t){if(Array.isArray(t))return{value:t,type:"array"};let e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(n),i=r&&"string"==typeof r?{unit:r}:{};if(s)return{...s,...i};if(!e||"skip-undefined"===e&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...i}}(s,e);t&&(n[r]=t)}return n}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,tB,"baggageHeaderToDynamicSamplingContext",0,tF,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${tB}${e}`]=n),t),{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,[e,n],r)=>{let s=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,i=0===r?s:`${t},${s}`;return i.length>8192?(h&&E.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):i},""):void 0}},"parseBaggageHeader",0,tY],410707),t.s(["hasSpansEnabled",0,tG],435570),t.s(["reparentChildSpans",0,function(t,e){let n=e.parent_span_id,r=e.span_id;if(n)for(let e of t)e.parent_span_id===r&&(e.parent_span_id=n)},"shouldIgnoreSpan",0,tK],586262),t.s(["hasSpanStreamingEnabled",0,tz],247293),t.s(["parseSampleRate",0,tW],978039),t.s(["serializeAttributes",0,tV],75606),t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:1};if(t>=400&&t<500)switch(t){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(t>=500&&t<600)switch(t){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);"unknown_error"!==n.message&&t.setStatus(n)}],96353);let tq="_sentryScope",tX="_sentryIsolationScope";function tQ(t,e,n){t&&(M(t,tX,tl(n)),M(t,tq,e))}function tZ(t){return{scope:t[tq],isolationScope:td(t[tX])}}t.s(["getCapturedScopesOnSpan",0,tZ,"setCapturedScopesOnSpan",0,tQ],10166);let t0=/^o(\d+)\./,t1=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function t2(t,e=!1){let{host:n,path:r,pass:s,port:i,projectId:a,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`}function t5(t){let e=t1.exec(t);if(!e)return void m(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,s="",i="",a="",o=""]=e.slice(1),c="",u=o,p=u.split("/");if(p.length>1&&(c=p.slice(0,-1).join("/"),u=p.pop()),u){let t=u.match(/^\d+/);t&&(u=t[0])}return t3({host:i,pass:s,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function t3(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function t6(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(t0),e=t?.[1])}return e}t.s(["dsnFromString",0,t5,"dsnToString",0,t2,"extractOrgIdFromClient",0,t6,"makeDsn",0,function(t){let e="string"==typeof t?t5(t):t3(t);if(e&&function(t){if(!h)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(E.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(E.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(E.error(`Invalid Sentry Dsn: Invalid port ${e}
2`),!1):(E.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}],725350);let t4=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function t8(t=tu(),e=tp(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function t7(t=tu(),e=tp(),n){return`00-${t}-${e}-${n?"01":"00"}`}t.s(["TRACEPARENT_REGEXP",0,t4,"generateSentryTraceHeader",0,t8,"generateTraceparentHeader",0,t7,"propagationContextFromHeaders",0,function(t,e){let n=function(t){let e;if(!t)return;let n=t.match(t4);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=tF(e);if(!n?.traceId)return{traceId:tu(),sampleRand:j()};let s=function(t,e){let n=tW(e?.sample_rand);if(void 0!==n)return n;let r=tW(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?j()*r:r+j()*(1-r):j()}(n,r);r&&(r.sample_rand=s.toString());let{traceId:i,parentSpanId:a,parentSampled:o}=n;return{traceId:i,parentSpanId:a,sampled:o,dsc:r||{},sampleRand:s}},"shouldContinueTrace",0,function(t,e){let n=t6(t);return e&&n&&e!==n?(E.log(`Won't continue trace because org IDs don't match (incoming baggage: ${e}, SDK options: ${n})`),!1):!t.getOptions().strictTraceContinuation||(!e||!!n)&&(!!e||!n)||(E.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}],238190);let t9=!1;function et(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:s,parent_span_id:i,status:a,origin:o,links:c}=ea(t);return{parent_span_id:i,span_id:e,trace_id:n,data:r,op:s,status:a,origin:o,links:c}}function ee(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:ea(t).parent_span_id,i=tZ(t).scope;return{parent_span_id:s,span_id:r?i?.getPropagationContext().propagationSpanId||tp():e,trace_id:n}}function en(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:s})=>({span_id:t,trace_id:e,sampled:1===n,attributes:s,...r})):void 0}function er(t){return t?.length?t.map(({context:{spanId:t,traceId:e,traceFlags:n},attributes:r})=>({span_id:t,trace_id:e,sampled:1===n,attributes:r})):void 0}function es(t){return"number"==typeof t?ei(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?ei(t.getTime()):tr()}function ei(t){return t>0x2540be3ff?t/1e3:t}function ea(t){if(eu(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(ec(t)){let{attributes:r,startTime:s,name:i,endTime:a,status:o,links:c}=t;return{span_id:e,trace_id:n,data:r,description:i,parent_span_id:eo(t),start_timestamp:es(s),timestamp:es(a)||void 0,status:el(o),op:r[tM],origin:r[tP],links:en(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function eo(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function ec(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eu(t){return"function"==typeof t.getSpanJSON}function ep(t){let{traceFlags:e}=t.spanContext();return 1===e}function el(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function ed(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}let ef="_sentryChildSpans",e_="_sentryRootSpan";function eh(t,e){let n=t[e_]||t;M(e,e_,n),t[ef]?t[ef].add(e):M(t,ef,new Set([e]))}function eg(t){let e=new Set;return!function t(n){if(!e.has(n)&&ep(n))for(let r of(e.add(n),n[ef]?Array.from(n[ef]):[]))t(r)}(t),Array.from(e)}let em=eS;function eS(t){return t[e_]||t}function ey(){let t=tI(d());return t.getActiveSpan?t.getActiveSpan():th(tx())}function eb(){t9||(m(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),t9=!0)}t.s(["INTERNAL_getSegmentSpan",0,eS,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,eh,"convertSpanLinksForEnvelope",0,en,"getActiveSpan",0,ey,"getRootSpan",0,em,"getSimpleStatusMessage",0,ed,"getSpanDescendants",0,eg,"getStatusMessage",0,el,"getStreamedSpanLinks",0,er,"removeChildSpanFromSpan",0,function(t,e){t[ef]&&t[ef].delete(e)},"showSpanDropWarning",0,eb,"spanIsSampled",0,ep,"spanTimeInputToSeconds",0,es,"spanToJSON",0,ea,"spanToStreamedSpanJSON",0,function(t){if(eu(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(ec(t)){let{attributes:r,startTime:s,name:i,endTime:a,status:o,links:c}=t;return{name:i,span_id:e,trace_id:n,parent_span_id:eo(t),start_timestamp:es(s),end_timestamp:es(a),is_segment:t===eS(t),status:ed(o),attributes:r,links:er(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===eS(t)}},"spanToTraceContext",0,ee,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return t8(e,n,ep(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return t7(e,n,ep(t))},"spanToTransactionTraceContext",0,et,"streamedSpanJsonToSerializedSpan",0,function(t){return{...t,attributes:tV(t.attributes),links:t.links?.map(t=>({...t,attributes:tV(t.attributes)}))}}],306818);let eE="production";t.s(["DEFAULT_ENVIRONMENT",0,eE],294684);let eT="_frozenDsc";function ev(t,e){M(t,eT,e)}function eI(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||eE,release:n.release,public_key:r,trace_id:t,org_id:t6(e)};return e.emit("createDsc",s),s}function ex(t){let e=tC();if(!e)return{};let n=em(t),r=ea(n),s=r.data,i=n.spanContext().traceState,a=i?.get("sentry.sample_rate")??s[tO]??s[tw];function o(t){return("number"==typeof a||"string"==typeof a)&&(t.sample_rate=`${a}`),t}let c=n[eT];if(c)return o(c);let u=i?.get("sentry.dsc"),p=u&&tF(u);if(p)return o(p);let l=eI(t.spanContext().traceId,e),d=s[tk]??s["sentry.span.source"],f=r.description;return"url"!==d&&f&&(l.transaction=f),tG()&&(l.sampled=String(ep(n)),l.sample_rand=i?.get("sentry.sample_rand")??tZ(n).scope?.getPropagationContext().sampleRand.toString()),o(l),e.emit("createDsc",l,n),l}t.s(["freezeDscOnSpan",0,ev,"getDynamicSamplingContextFromScope",0,function(t,e){let n=e.getPropagationContext();return n.dsc||eI(n.traceId,t)},"getDynamicSamplingContextFromSpan",0,ex],858072);class eA{constructor(t={}){this._traceId=t.traceId||tu(),this._spanId=t.spanId||tp(),this.dropReason=t.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
2addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}function eN(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}function eR(t,e=[]){return[t,e]}function eC(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function ek(t){let e=f(l);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function eO(t){return[{type:"span"},t]}t.s(["SentryNonRecordingSpan",0,eA],281522),t.s(["isStreamedBeforeSendSpanCallback",0,eN],838146);let ew={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 eM(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function eP(t,e,n,r){let s=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:t2(r)},...s&&{trace:s}}}function eD(t,e){let n=ex(t[0]),r=e?.getDsn(),s=e?.getOptions().tunnel,i={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!s&&r&&{dsn:t2(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>{let e=ea(t);return!tK({description:e.description,op:e.op,attributes:e.data},o)}):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);let p=a?t=>{let e=ea(t),n=eN(a)?e:a(e);return n||(eb(),e)}:ea,l=[];for(let t of c){let e=p(t);e&&l.push(eO(e))}return eR(i,l)}function e$(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tD],s=n[t$];"string"==typeof r&&"number"==typeof s&&(e[t.name]={value:s,unit:r})}),e}t.s(["addItemToEnvelope",0,function(t,e){let[n,r]=t;return[n,[...r,e]]},"createAttachmentEnvelopeItem",0,function(t){let e="string"==typeof t.data?ek(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,eR,"createEventEnvelopeHeaders",0,eP,"createSpanEnvelopeItem",0,eO,"envelopeContainsItemType",0,function(t,e){return eC(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in ew?ew[t]:t},"forEachEnvelopeItem",0,eC,"getSdkMetadataForEnvelopeHeader",0,eM,"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[ek(r),t]:r.push("string"==typeof t?ek(t):t)}for(let t of n){let[e,n]=t;if(s(` 3${JSON.stringify(e)} 4`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify(W(n))}s(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}],526276),t.s(["createEventEnvelope",0,function(t,e,n,r){let s=eM(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return;let n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);let a=eP(t,s,r,e);return delete t.sdkProcessingMetadata,eR(a,[[{type:i},t]])},"createSessionEnvelope",0,function(t,e,n,r){let s=eM(n);return eR({sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:t2(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,eD],560002),t.s(["setMeasurement",0,function(t,e,n,r=ey()){let s=r&&em(r);s&&(h&&E.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),s.addEvent(t,{[t$]:e,[tD]:n}))},"timedEventsToMeasurements",0,e$],808128);class eU{constructor(t={}){this._traceId=t.traceId||tu(),this._spanId=t.spanId||tp(),this._startTime=t.startTimestamp||tr(),this._links=t.links,this._attributes={},this.setAttributes({[tP]:"manual",[tM]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}
4addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:+!!n}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._startTime=es(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(tk,"custom"),this}end(t){this._endTime||(this._endTime=es(t),function(t){if(!h)return;let{description:e="< unknown name >",op:n="< unknown op >"}=ea(t),{spanId:r}=t.spanContext(),s=em(t)===t,i=`[Tracing] Finishing "${n}" ${s?"root ":""}span "${e}" with ID ${r}`;E.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tM],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:el(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tP],profile_id:this._attributes[tj],exclusive_time:this._attributes[tL],measurements:e$(this._events),is_segment:this._isStandaloneSpan&&em(this)===this||void 0,segment_id:this._isStandaloneSpan?em(this).spanContext().spanId:void 0,links:en(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===em(this),status:ed(this._status),attributes:this._attributes,links:er(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){h&&E.log("[Tracing] Adding an event to span:",t);let r=ej(e)?e:n||tr(),s=ej(e)?{}:e||{},i={name:t,time:es(r),attributes:s};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=tC();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===em(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=tC();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(eD([this],t)):(h&&E.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(t&&tz(t))return void t.emit("afterSegmentSpanEnd",this);let e=this._convertSpanToTransaction();e&&(tZ(this).scope||tx()).captureEvent(e)}_convertSpanToTransaction(){if(!eL(ea(this)))return;this._name||(h&&E.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=tZ(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=eg(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof eU&&e.isStandaloneSpan())}).map(t=>ea(t)).filter(eL),s=this._attributes[tk];delete this._attributes[tU];let i=!1;r.forEach(t=>{delete t.data[tU],t.op?.startsWith("gen_ai.")&&(i=!0)});let a={contexts:{trace:et(this)},spans:r.length>1e3?r.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:e,dynamicSamplingContext:ex(this),hasGenAiSpans:i},request:n,...s&&{transaction_info:{source:s}}},o=e$(this._events);return o&&Object.keys(o).length&&(h&&E.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}}function ej(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function eL(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}function eB(t,e){let n=tI(d());return n.withActiveSpan?n.withActiveSpan(t,e):tR(n=>(t_(n,t||void 0),e(n)))}t.s(["SentrySpan",0,eU],209519);function eF(t,e,n){let r=tC(),s=r?.getOptions()||{},{name:i=""}=t,a={spanAttributes:{...t.attributes},spanName:i,parentSampled:n};r?.emit("beforeSampling",a,{decision:!1});let o=a.parentSampled??n,c=a.spanAttributes,u=e.getPropagationContext(),p=eY(e),[l,d,f]=p?[!1]:function(t,e,n){let r,s;if(!tG(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),s=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,s=!0);let i=tW(r);if(void 0===i)return h&&E.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!i)return h&&E.log(`[Tracing] Discarding transaction because ${"function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,s];let a=n<i;return!a&&h&&E.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[a,i,s]}(s,{name:i,parentSampled:o,attributes:c,parentSampleRate:tW(u.dsc?.sample_rate)},u.sampleRand),_=new eU({...t,attributes:{[tk]:"custom",[tO]:void 0!==d&&f?d:void 0,...c},sampled:l});return l||!r||p||(h&&E.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate",tz(r)?"span":"transaction")),r&&r.emit("spanStart",_),_}function eY(t){return!0===t.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function eJ(t){return new eH(e=>{e(t)})}function eG(t){return new eH((e,n)=>{n(t)})}t.s(["startInactiveSpan",0,function(t){let e=tI(d());if(e.startInactiveSpan)return e.startInactiveSpan(t);
4let n=function(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=es(t.startTime),delete n.startTime,n}return e}(t),{forceTransaction:r,parentSpan:s}=t;return(t.scope?e=>tR(t.scope,e):void 0!==s?t=>eB(s,t):t=>t())(()=>{let e=tx(),i=function(t,e){if(e)return e;if(null===e)return;let n=th(t);if(!n)return;let r=tC();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?em(n):n}(e,s),a=tC();return t.onlyIfParent&&!i?(a?.recordDroppedEvent("no_parent_span","span"),new eA):function({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){var s,i;let a,o;if(!tG()){let r=new eA;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...ex(r)};ev(r,t)}return r}let c=tC();if(s=c,i=e,o=s?.getOptions().ignoreSpans,s&&tz(s)&&o?.length&&tK({description:i.name||"",op:i.attributes?.[tM]||i.op,attributes:i.attributes},o))return eY(r)||c?.recordDroppedEvent("ignored","span"),new eA({dropReason:"ignored",traceId:t?.spanContext().traceId??r.getPropagationContext().traceId});let u=tA();if(t&&!n)a=function(t,e,n){let{spanId:r,traceId:s}=t.spanContext(),i=eY(e),a=!i&&ep(t),o=a?new eU({...n,parentSpanId:r,traceId:s,sampled:a}):new eA({traceId:s});eh(t,o);let c=tC();return c&&(tz(c)&&o instanceof eA&&(t instanceof eA&&t.dropReason?(o.dropReason=t.dropReason,c.recordDroppedEvent(t.dropReason,"span")):i||(o.dropReason="sample_rate",c.recordDroppedEvent("sample_rate","span"))),c.emit("spanStart",o),n.endTimestamp&&(c.emit("spanEnd",o),c.emit("afterSpanEnd",o))),o}(t,r,e),eh(t,a);else if(t){let n=ex(t),{traceId:s,spanId:i}=t.spanContext(),o=ep(t);ev(a=eF({traceId:s,parentSpanId:i,...e},r,o),n)}else{let{traceId:t,dsc:n,parentSpanId:s,sampled:i}={...u.getPropagationContext(),...r.getPropagationContext()};a=eF({traceId:t,parentSpanId:s,...e},r,i),n&&ev(a,n)}return!function(t){if(!h)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=ea(t),{spanId:s}=t.spanContext(),i=ep(t),a=em(t),o=a===t,c=`[Tracing] Starting ${i?"sampled":"unsampled"} ${o?"root ":""}span`,u=[`op: ${n}`,`name: ${e}`,`ID: ${s}`];if(r&&u.push(`parent ID: ${r}`),!o){let{op:t,description:e}=ea(a);u.push(`root ID: ${a.spanContext().spanId}`),t&&u.push(`root op: ${t}`),e&&u.push(`root description: ${e}`)}E.log(`${c} 5 ${u.join("\n ")}`)}(a),tQ(a,r,u),a}({parentSpan:i,spanArguments:n,forceTransaction:r,scope:e})})},"startNewTrace",0,function(t){let e=tI(d());return e.startNewTrace?e.startNewTrace(t):tR(e=>(e.setPropagationContext({traceId:tu(),sampleRand:j()}),h&&E.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),eB(null,t)))},"withActiveSpan",0,eB],223431);class eH{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new eH((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new eH((e,n)=>{let r,s;return this.then(e=>{s=!1,r=e,t&&t()},e=>{s=!0,r=e,t&&t()}).then(()=>{s?n(r):e(r)})})}_executeHandlers(){if(0===this._state)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){let e=(t,e)=>{if(0===this._state){if(O(e))return void e.then(n,r);this._state=t,this._value=e,this._executeHandlers()}},n=t=>{e(1,t)},r=t=>{e(2,t)};try{t(n,r)}catch(t){r(t)}}}function eK(t,e){var n,r,s,i,a,o,c,u;let p,l,{fingerprint:d,span:f,breadcrumbs:_,sdkProcessingMetadata:h}=e;(function(t,e){let{extra:n,tags:r,user:s,contexts:i,level:a,transactionName:o}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),a&&(t.level=a),o&&"transaction"!==t.type&&(t.transaction=o)})(t,e),f&&((n=t).contexts={trace:ee(r=f),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:ex(r),...n.sdkProcessingMetadata},(p=ea(em(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=p)),s=t,i=d,s.fingerprint=s.fingerprint?Array.isArray(s.fingerprint)?s.fingerprint:[s.fingerprint]:[],i&&(s.fingerprint=s.fingerprint.concat(i)),s.fingerprint.length||delete s.fingerprint,a=t,o=_,l=[...a.breadcrumbs||[],...o],a.breadcrumbs=l.length?l:void 0,c=t,u=h,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function ez(t,e){let{extra:n,tags:r,attributes:s,user:i,contexts:a,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:p,eventProcessors:l,attachments:d,propagationContext:f,transactionName:_,span:h}=e;eW(t,"extra",n),eW(t,"tags",r),eW(t,"attributes",s),eW(t,"user",i),eW(t,"contexts",a),t.sdkProcessingMetadata=tc(t.s
5dkProcessingMetadata,c,2),o&&(t.level=o),_&&(t.transactionName=_),h&&(t.span=h),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),p.length&&(t.fingerprint=[...t.fingerprint,...p]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...f}}function eW(t,e,n){t[e]=tc(t[e],n,1)}function eV(t,e){let n=tN().getScopeData();return t&&ez(n,t.getScopeData()),e&&ez(n,e.getScopeData()),n}function eq(t){if(t){var e;return(e=t)instanceof tg||"function"==typeof e||Object.keys(t).some(t=>eX.includes(t))?{captureContext:t}:t}}t.s(["rejectedSyncPromise",0,eG,"resolvedSyncPromise",0,eJ],303355),t.s(["applyScopeDataToEvent",0,eK,"getCombinedScopeData",0,eV],265635);let eX=["user","level","extra","contexts","tags","fingerprint","propagationContext"];async function eQ(t){let e=tC();return e?e.flush(t):(h&&E.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function eZ(){let t=tA(),e=tx().getSession()||t.getSession();e&&to(e),e0(),t.setSession()}function e0(){let t=tA(),e=tC(),n=t.getSession();n&&e&&e.captureSession(n)}t.s(["parseEventHintOrCaptureContext",0,eq,"prepareEvent",0,function(t,e,n,r,s,i){var p,d,f;let _,{normalizeDepth:g=3,normalizeMaxBreadth:m=1e3}=t,S={...e,event_id:e.event_id||n.event_id||Q(),timestamp:e.timestamp||tn()},y=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:s,maxValueLength:i}=e;t.environment=t.environment||n||eE,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);let a=t.request;a?.url&&i&&(a.url=q(a.url,i)),i&&t.exception?.values?.forEach(t=>{t.value&&(t.value=q(t.value,i))})})(S,t),p=S,(d=y).length>0&&(p.sdk=p.sdk||{},p.sdk.integrations=[...p.sdk.integrations||[],...d]),s&&s.emit("applyFrameMetadata",e),void 0===e.type&&(f=S,_=function(t){let e=l._sentryDebugIds,n=l._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(u&&r.length===o&&s.length===c)return u;o=r.length,c=s.length,u={},a||(a={});let i=(e,n)=>{for(let r of e){let e=n[r],s=a?.[r];if(s&&u&&e)u[s[0]]=e,a&&(a[r]=[s[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let s=n[t],i=s?.filename;if(i&&u&&a){u[i]=e,a[r]=[i,e];break}}}}};return e&&i(r,e),n&&i(s,n),u}(t.stackParser),f.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=_[t.filename])})}));let b=function(t,e){if(!e)return t;let n=t?t.clone():new tg;return n.update(e),n}(r,n.captureContext);n.mechanism&&tt(S,n.mechanism);let T=s?s.getEventProcessors():[],v=eV(i,b),I=[...n.attachments||[],...v.attachments];I.length&&(n.attachments=I),eK(S,v);let x=[...T,...v.eventProcessors];return(n.data&&!0===n.data.__sentry__?eJ(S):function(t,e,n,r=0){try{let s=function t(e,n,r,s){let i=r[s];if(!e||!i)return e;let a=i({...e},n);return(h&&null===a&&E.log(`Event processor "${i.id||"?"}" dropped event`),O(a))?a.then(e=>t(e,n,r,s+1)):t(a,n,r,s+1)}(e,n,t,r);return O(s)?s:eJ(s)}catch(t){return eG(t)}}(x,S,n)).then(t=>(t&&function(t){let e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof g&&g>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:W(t.data,e,n)}}))},...t.user&&{user:W(t.user,e,n)},...t.contexts&&{contexts:W(t.contexts,e,n)},...t.extra&&{extra:W(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=W(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:W(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=W(t.contexts.flags,3,n)),r}(t,g,m):t)}],701080),t.s(["addEventProcessor",0,function(t){tA().addEventProcessor(t)},"captureEvent",0,function(t,e){return tx().captureEvent(t,e)},"captureException",0,function(t,e){return tx().captureException(t,eq(e))},"captureMessage",0,function(t,e){let n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return tx().captureMessage(t,n,r)},"captureSession",0,function(t=!1){t?eZ():e0()},"flush",0,eQ,"isEnabled",0,function(){let t=tC();return t?.getOptions().enabled!==!1&&!!t?.getTransport()},"lastEventId",0,function(){return tA().lastEventId()},"setContext",0,function(t,e){tA().setContext(t,e)},"setUser",0,function(t){tA().setUser(t)},"startSession",0,function(t){let e=tA(),{user:n}=eV(e,tx()),{userAgent:r}=l.navigator||{},s=ti({user:n,...r&&{userAgent:r},...t}),i=e.getSession();return i?.status==="ok"&&ta(i,{status:"exited"}),eZ(),e.setSession(s),s}],755502)}]); 6 7//# debugId=831ee034-411f-0161-34c5-59811316504a
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.