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]="529738ae-bc71-87e7-92b9-c179a8d8cbdd")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,799458,40245,527400,93949,963695,609202,909165,146569,86065,14974,149863,166154,969215,430724,735163,601917,117288,854863,766992,932930,851758,449499,883937,130062,388550,206875,243280,479285,834140,379615,629217,696365,592584,398878,995218,264072,523378,651850,393968,784076,614380,729823,190060,501217,863491,846843,205375,740347,t=>{"use strict";let e,n,r,i,s,a,o,c,u,l="10.70.0";t.s(["SDK_VERSION",0,l],40245);let p=globalThis;function d(){return f(p),p}function f(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||l,e[l]=e[l]||{}}function _(t,e,n=p){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[l]=r[l]||{};return i[t]||(i[t]=e())}t.s(["GLOBAL_OBJ",0,p],527400),t.s(["getGlobalSingleton",0,_,"getMainCarrier",0,d,"getSentryCarrier",0,f],93949);let h="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,h],963695);let g={};function m(t){if(!("console"in p))return t();let e=p.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(()=>{p.console[t](`Sentry Logger [${t}]:`,...e)})}function b(){return h?_("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let v={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,v,"originalConsoleMethods",0,g],609202);let E=Object.prototype.toString;function T(t){switch(E.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return P(t,Error)}}function I(t,e){return E.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 C(t){return null===t||A(t)||"object"!=typeof t&&"function"!=typeof t}function N(t){return I(t,"Object")}function k(t){return"object"==typeof t&&null!==t}function R(t){return"u">typeof Event&&P(t,Event)}function O(t){return I(t,"RegExp")}function w(t){return!!(t?.then&&"function"==typeof t.then)}function P(t,e){try{return t instanceof e}catch{return!1}}function D(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{h&&v.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function M(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,D(t,"__sentry_original__",e)}catch{}}function $(t){if(T(t))return{message:t.message,name:t.name,stack:t.stack,...j(t)};if(R(t)){let{type:e,target:n,currentTarget:r,detail:i}=t;return{type:e,target:n,currentTarget:r,...i?{detail:i}:{},...j(t)}}return t}function j(t){return k(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 p&&"function"==typeof p[n]?(e=p[n])(t):(e=null,t())}function L(){return U(()=>Math.random())}function F(){return U(()=>Date.now())}t.s(["isDOMError",0,function(t){return I(t,"DOMError")},"isDOMException",0,function(t){return I(t,"DOMException")},"isError",0,T,"isErrorEvent",0,function(t){return I(t,"ErrorEvent")},"isEvent",0,R,"isInstanceOf",0,P,"isObjectLike",0,k,"isParameterizedString",0,A,"isPlainObject",0,N,"isPrimitive",0,C,"isRegExp",0,O,"isRequest",0,function(t){return"u">typeof Request&&P(t,Request)},"isString",0,x,"isThenable",0,w],909165),t.s(["addNonEnumerableProperty",0,D,"convertToPlainObject",0,$,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys($(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 i=n(r);"function"==typeof i&&M(i,r);try{t[e]=i}catch{h&&v.log(`Failed to replace method "${e}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,M],146569),t.s(["safeDateNow",0,F,"safeMathRandom",0,L,"withRandomSafeContext",0,U],86065);let B=Symbol.for("sentry.skipNormalization"),z=Symbol.for("sentry.overrideNormalizationDepth");function Y(t){return!!t[B]}function J(t){let e=t[z];return"number"==typeof e?e:void 0}t.s(["getNormalizationDepthOverrideHint",0,J,"hasSkipNormalizationHint",0,Y,"setNormalizationDepthOverrideHint",0,function(t,e){D(t,z,e)},"setSkipNormalizationHint",0,function(t){D(t,B,!0)}],14974);let H=/\(error: (.*)\)/,G=/captureMessage|captureException/;function K(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{let i=[],s=t.split("\n");for(let t=n;t<s.length;t++){let n=s[t];n.length>1024&&(n=n.slice(0,1024));let a=H.test(n)?n.replace(H,"$1"):n;if(!a.includes("Error: ")){for(let t of e){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+r)break}}var a=i.slice(r);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(W(o).function||"")&&o.pop(),o.reverse(),G.test(W(o).function||"")&&(o.pop(),G.test(W(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||W(o).filename,function:t.function||"?"}))}}function W(t){return t[t.length-1]||{}}let V="<anonymous>";function q(t){try{if(!t||"function"!=typeof t)return V;return t.name||V}catch{return V}}function X(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e}function Q(t,e=100,n=1/0){try{return function t(e,n,r=1/0,i=1/0,s=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let[a,o]=s;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let c=Z(e,n);if(!c.startsWith("[object "))return c;if(Y(n))return n;let u=J(n),l=void 0!==u?u:r;if(0===l)return c.replace("object ","");if(a(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,l-1,i,s)}catch{}let p=Array.isArray(n)?[]:{},d=0,f=$(n);for(let e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(d>=i){p[e]="[MaxProperties ~]";break}let n=f[e];p[e]=t(e,n,l-1,i,s),d++}return o(n),p}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function Z(e,r){try{var i;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: ${q(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(i=r,e=Object.getPrototypeOf(i),e?.constructor?e.constructor.name:"null prototype");return`[object ${s}]`}catch(t){return`**non-serializable** (${t})`}}function tt(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function te(t,e){let n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);let i=Math.max(e-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 tn(t,e,n=!1){return!!x(t)&&(O(e)?e.test(t):x(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function tr(t=p.crypto||p.msCrypto){try{if(t?.randomUUID)return U(()=>t.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*L())>>t/4).toString(16))}function ti(t){return t.exception?.values?.[0]}function ts(t,e){let n=ti(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 ta(t){try{return t.__sentry_captured__}catch{}}function to(){return F()/1e3}function tc(){return(i??(i=function(){let{performance:t}=p;if(!t?.now||!t.timeOrigin)return to;let e=t.timeOrigin;return()=>(e+U(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,K,"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,q,"normalizeStackTracePath",0,X,"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?K(...t):t}],149863),t.s(["normalize",0,Q,"normalizeToSize",0,function t(e,n=3,r=102400){let i=Q(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i},"setNormalizeStringifier",0,function(t){n=t},"stringifyValue",0,Z],166154),t.s(["isMatchingPattern",0,tn,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];C(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Z(void 0,r))}return n.join(e)},"snipLine",0,te,"stringMatchesSomePattern",0,function(t,e=[],n=!1){for(let r of e)if(tn(t,r,n))return!0;return!1},"stringify",0,function(t,e="[unserializable]"){if("string"==typeof t)return t;try{return JSON.stringify(t)}catch{return"function"==typeof e?e(t):e}},"truncate",0,tt],969215),t.s(["addContextToFrame",0,function(t,e,n=5){if(void 0===e.lineno)return;let r=t.length,i=Math.max(Math.min(r-1,e.lineno-1),0);e.pre_context=t.slice(Math.max(0,i-n),i).map(t=>te(t,0)),e.context_line=te(t[Math.min(r-1,i)],e.colno||0),e.post_context=t.slice(Math.min(i+1,r),i+1+n).map(t=>te(t,0))},"addExceptionMechanism",0,ts,"addExceptionTypeValue",0,function(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(t){if(ta(t))return!0;try{D(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=ti(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"isAlreadyCaptured",0,ta,"uuid4",0,tr],430724);let tu=null;function tl(t){let e=tc(),n={sid:tr(),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&&tp(n,t),n}function tp(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||tc(),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:tr()),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 td(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),tp(t,n)}function tf(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]=tf(r[t],e[t],n-1));return r}function t_(){return tr()}function th(){return tr().substring(16)}function tg(t){try{let e=p.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}function tm(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===tu&&(tu=function(){let{performance:t}=p;if(!t?.now)return;let e=U(()=>t.now()),n=F(),r=t.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+e-n))return r;
2let i=t.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+e-n)?i:n-e}()),tu},"dateTimestampInSeconds",0,to,"timestampInSeconds",0,tc],735163),t.s(["closeSession",0,td,"makeSession",0,tl,"updateSession",0,tp],601917),t.s(["merge",0,tf],117288),t.s(["generateSpanId",0,th,"generateTraceId",0,t_],854863);let tS="_sentrySpan";function ty(t,e){e?D(t,tS,tg(e)):delete t[tS]}function tb(t){return tm(t[tS])}t.s(["_getSpanForScope",0,tb,"_setSpanForScope",0,ty],766992);class tv{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:t_(),sampleRand:L()}}clone(){let t=new tv;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,ty(t,tb(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&&tp(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:i,user:s,contexts:a,level:o,fingerprint:c=[],propagationContext:u,conversationId:l}=(e instanceof tv?e.getScopeData():N(e)?t: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),l&&(this._conversationId=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,ty(this,void 0),this._attachments=[],this.setPropagationContext({traceId:t_(),sampleRand:L()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:to(),...t,message:t.message?tt(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:tb(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tf(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||tr();if(!this._client)return h&&v.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||tr();if(!this._client)return h&&v.warn("No client configured on scope - will not capture message!"),r;let i=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureEvent(t,e){let n=t.event_id||e?.event_id||tr();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):h&&v.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)}}t.s(["Scope",0,tv],932930);let tE=t=>t instanceof Promise&&!t[tT],tT=Symbol("chained PromiseLike"),tI=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tE(r)&&tE(t)?r:tx(t,r)},tx=(t,e)=>{if(!e)return t;let n=!1;for(let r in t){if(r in e)continue;n=!0;let i=t[r];"function"==typeof i?Object.defineProperty(e,r,{value:(...e)=>i.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[tT]:!0}),e};class tA{constructor(t,e){let n,r;n=t||new tv,r=e||new tv,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return w(e)?tI(e,()=>this._popScope(),()=>this._popScope()):(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 tC(){let t=f(d());return t.stack=t.stack||new tA(_("defaultCurrentScope",()=>new tv),_("defaultIsolationScope",()=>new tv))}function tN(t){return tC().withScope(t)}function tk(t,e){let n=tC();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tR(t){return tC().withScope(()=>t(tC().getIsolationScope()))}function tO(t){let e=f(t);return e.acs?e.acs:{withIsolationScope:tR,withScope:tN,withSetScope:tk,withSetIsolationScope:(t,e)=>tR(e),getCurrentScope:()=>tC().getScope(),getIsolationScope:()=>tC().getIsolationScope()}}function tw(){return tO(d()).getCurrentScope()}function tP(){return tO(d()).getIsolationScope()}function tD(){return _("globalScope",()=>new tv)}function tM(...t){let e=tO(d());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function t$(){return tw().getClient()}t.s(["getAsyncContextStrategy",0,tO],851758),t.s(["getClient",0,t$,"getCurrentScope",0,tw,"getGlobalScope",0,tD,"getIsolationScope",0,tP,"getTraceContextFromScope",0,function(t){let e=s?.();if(e)return{trace_id:e.traceId,span_id:e.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=t.getPropagationContext(),a={trace_id:n,span_id:i||th()};return r&&(a.parent_span_id=r),a},"hasExternalPropagationContext",0,function(){return void 0!==s},"withIsolationScope",0,function(...t){let e=tO(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,tM],449499);let tj="sentry.source",tU="sentry.sample_rate",tL="sentry.previous_trace_sample_rate",tF="sentry.op",tB="sentry.origin",tz="sentry.status.message",tY="sentry.measurement_unit",tJ="sentry.measurement_value",tH="sentry.custom_span_name",tG="sentry.profile_id",tK="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,tK,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,tG,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,tH,"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,tY,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,tJ,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tF,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tB,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tL,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tU,"SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tj,"SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE",0,tz,"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"],883937);let tW="sentry-";function tV(t){let e=tX(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(tW)&&(t[e.slice(tW.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function tq(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${tW}${e}`]=n),t),{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,[e,n],r)=>{let i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,s=0===r?i:`${t},${i}`;return s.length>8192?(h&&v.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},""):void 0}}function tX(t){if(t&&(x(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>
2(Object.entries(tQ(e)).forEach(([e,n])=>{t[e]=n}),t),{}):tQ(t)}function tQ(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 tZ(t,e,n=()=>{},r=()=>{}){var i,s,a,o;let c;try{c=t()}catch(t){throw e(t),n(),t}return i=c,s=e,a=n,o=r,w(i)?tI(i,t=>{a(),o(t)},t=>{s(t),a()}):(a(),o(i),i)}function t0(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||t$()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function t1(t){v.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function t2(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&&tn(t.description,r))return h&&t1(t),!0;continue}let e=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!e)continue;let i=!r.name||t.description&&tn(t.description,r.name),s=!r.op||t.op&&tn(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)?tn(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(i&&s&&a)return h&&t1(t),!0}return!1}function t9(t){return"stream"===t.getOptions().traceLifecycle}function t4(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 t3(t,e=!1){let n={};for(let[r,i]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},i=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),s=r&&"string"==typeof r?{unit:r}:{};if(i)return{...i,...s};if(!e||"skip-undefined"===e&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...s}}(i,e);t&&(n[r]=t)}return n}function t5(t){return"string"==typeof t?2*t.length:"boolean"==typeof t?4:8*("number"==typeof t)}function t6(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"}}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,tW,"baggageHeaderToDynamicSamplingContext",0,tV,"dynamicSamplingContextToSentryBaggageHeader",0,tq,"parseBaggageHeader",0,tX],130062),t.s(["handleCallbackErrors",0,tZ],388550),t.s(["hasSpansEnabled",0,t0],206875),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,t2],243280),t.s(["hasSpanStreamingEnabled",0,t9],479285),t.s(["parseSampleRate",0,t4],834140),t.s(["estimateTypedAttributesSizeInBytes",0,function(t){if(!t)return 0;let e=0;for(let[n,r]of Object.entries(t)){e+=2*n.length,e+=2*r.type.length,e+=(r.unit?.length??0)*2;let t=r.value;Array.isArray(t)?e+=t5(t[0])*t.length:C(t)?e+=t5(t):e+=100}return e},"serializeAttributes",0,t3],379615),t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"getSpanStatusFromHttpCode",0,t6,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=t6(e);"unknown_error"!==n.message&&t.setStatus(n)}],629217);let t8="_sentryScope",t7="_sentryIsolationScope",et=Symbol.for("sentry.otelSourceInference"),ee=Symbol.for("sentry.otelSourceExplicitlySet"),en=Symbol.for("sentry.tracerProviderSpan");function er(t,e,n){t&&(D(t,t7,tg(n)),D(t,t8,e))}function ei(t){return{scope:t[t8],isolationScope:tm(t[t7])}}function es(t){return!0===t[et]}function ea(t){D(t,ee,!0)}function eo(t){return!0===t[en]}t.s(["getCapturedScopesOnSpan",0,ei,"markSpanSourceAsExplicit",0,ea,"setCapturedScopesOnSpan",0,er,"spanIsTracerProviderSpan",0,eo,"spanShouldInferOtelSource",0,es],696365);let ec=/^o(\d+)\./,eu=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function el(t,e=!1){let{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${a}`}function ep(t){let e=eu.exec(t);if(!e)return void m(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,i="",s="",a="",o=""]=e.slice(1),c="",u=o,l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){let t=u.match(/^\d+/);t&&(u=t[0])}return ed({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function ed(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function ef(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(ec),e=t?.[1])}return e}t.s(["dsnFromString",0,ep,"dsnToString",0,el,"extractOrgIdFromClient",0,ef,"makeDsn",0,function(t){let e="string"==typeof t?ep(t):ed(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]&&(v.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(v.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(v.error(`Invalid Sentry Dsn: Invalid port ${e}
2`),!1):(v.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}],592584);let e_=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function eh(t){let e;if(!t)return;let n=t.match(e_);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}function eg(t,e){let n=eh(t),r=tV(e);if(!n?.traceId)return{traceId:t_(),sampleRand:L()};let i=function(t,e){let n=t4(e?.sample_rand);if(void 0!==n)return n;let r=t4(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?L()*r:r+L()*(1-r):L()}(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}}function em(t=t_(),e=th(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function eS(t=t_(),e=th(),n){return`00-${t}-${e}-${n?"01":"00"}`}function ey(t,e){let n=ef(t);return e&&n&&e!==n?(v.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)||(v.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}t.s(["TRACEPARENT_REGEXP",0,e_,"extractTraceparentData",0,eh,"generateSentryTraceHeader",0,em,"generateTraceparentHeader",0,eS,"propagationContextFromHeaders",0,eg,"shouldContinueTrace",0,ey],398878);let eb=!1;function ev(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=eC(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:c}}function eE(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:eC(t).parent_span_id,s=ei(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||th():e,trace_id:n}}function eT(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:i})=>({span_id:t,trace_id:e,sampled:1===n,attributes:i,...r})):void 0}function eI(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 ex(t){return"number"==typeof t?eA(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?eA(t.getTime()):tc()}function eA(t){return t>0x2540be3ff?t/1e3:t}function eC(t){if(eR(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(ek(t)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:c}=t;return{span_id:e,trace_id:n,data:r,description:s,parent_span_id:eN(t),start_timestamp:ex(i),timestamp:ex(a)||void 0,status:ew(o),op:r[tF],origin:r[tB],links:eT(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function eN(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function ek(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eR(t){return"function"==typeof t.getSpanJSON}function eO(t){let{traceFlags:e}=t.spanContext();return 1===e}function ew(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function eP(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}function eD(t,e){let n="error"===eP(e)?e?.message:void 0;return{...n&&{[tz]:n},...t}}let eM="_sentryChildSpans",e$="_sentryRootSpan";function ej(t,e){let n=t[e$]||t;D(e,e$,n),t[eM]?t[eM].add(e):D(t,eM,new Set([e]))}function eU(t){let e=new Set;return!function t(n){if(!e.has(n)&&eO(n))for(let r of(e.add(n),n[eM]?Array.from(n[eM]):[]))t(r)}(t),Array.from(e)}let eL=eF;function eF(t){return t[e$]||t}function eB(){let t=tO(d());return t.getActiveSpan?t.getActiveSpan():tb(tw())}function ez(){eb||(m(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),eb=!0)}t.s(["INTERNAL_getSegmentSpan",0,eF,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,ej,"addStatusMessageAttribute",0,eD,"convertSpanLinksForEnvelope",0,eT,"getActiveSpan",0,eB,"getRootSpan",0,eL,"getSimpleStatus",0,eP,"getSpanDescendants",0,eU,"getStatusMessage",0,ew,"getStreamedSpanLinks",0,eI,"removeChildSpanFromSpan",0,function(t,e){t[eM]&&t[eM].delete(e)},"showSpanDropWarning",0,ez,"spanIsSampled",0,eO,"spanTimeInputToSeconds",0,ex,"spanToJSON",0,eC,"spanToStreamedSpanJSON",0,function(t){if(eR(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(ek(t)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:c}=t;return{name:s,span_id:e,trace_id:n,parent_span_id:eN(t),start_timestamp:ex(i),end_timestamp:ex(a),is_segment:t===eF(t),status:eP(o),attributes:eD(r,o),links:eI(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===eF(t)}},"spanToTraceContext",0,eE,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return em(e,n,eO(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eS(e,n,eO(t))},"spanToTransactionTraceContext",0,ev,"streamedSpanJsonToSerializedSpan",0,function(t){return{...t,attributes:t3(t.attributes),links:t.links?.map(t=>({...t,attributes:t3(t.attributes)}))}},"updateSpanName",0,function(t,e){t.updateName(e),t.setAttributes({[tj]:"custom",[tH]:e})}],995218);let eY="production";t.s(["DEFAULT_ENVIRONMENT",0,eY],264072);let eJ=Symbol.for("sentry.nonRecordingSpan");class eH{constructor(t={}){this._traceId=t.traceId||t_(),this._spanId=t.spanId||th(),this.dropReason=t.dropReason,D(this,eJ,!0)}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 eG(t){return!!t&&!0===t[eJ]}t.s(["SentryNonRecordingSpan",0,eH,"spanIsNonRecordingSpan",0,eG],523378);let eK="_frozenDsc";function eW(t,e){D(t,eK,e)}function eV(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||eY,release:n.release,public_key:r,trace_id:t,org_id:ef(e)};return e.emit("createDsc",i),i}function eq(t,e){let n=e.getPropagationContext();return n.dsc||eV(n.traceId,t)}function eX(t){let e=t$();if(!e)return{};let n=eL(t),r=eC(n),i=r.data,s=n.spanContext().traceState,a=s?.get("sentry.sample_rate")??i[tU]??i[tL];function o(t){return("number"==typeof a||"string"==typeof a)&&(t.sample_rate=`${a}`),t}let c=n[eK];if(c)return o(c);let u=eG(n),l=u&&"ignored"===n.dropReason;if(u&&(!t0(e.getOptions())||l)){let t=ei(n).scope;if(t){let n={...eq(e,t)};return l&&(n.sampled="false"),o(n)}}let p=s?.get("sentry.dsc"),d=p&&tV(p);if(d)return o(d);let f=eV(t.spanContext().traceId,e),_=i[tj]??i["sentry.segment.name.source"],h=r.description;return"url"!==_&&h&&(f.transaction=h),t0()&&(f.sampled=String(eO(n)),f.sample_rand=s?.get("sentry.sample_rand")??ei(n).scope?.getPropagationContext().sampleRand.toString()),o(f),e.emit("createDsc",f,n),f}function eQ(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}function eZ(t,e=[]){return[t,e]}function e0(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function e1(t){let e=f(p);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function e2(t){return[{type:"span"},t]}t.s(["freezeDscOnSpan",0,eW,"getDynamicSamplingContextFromScope",0,eq,"getDynamicSamplingContextFromSpan",0,eX,"spanToBaggageHeader",0,function(t){return tq(eX(t))}],651850),t.s(["isStreamedBeforeSendSpanCallback",0,eQ,"withStreamedSpan",0,function(t){return D(t,"_streamed",!0),t}],393968);let e9={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 e4(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function e3(t,e,n,r){let i=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(F()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:el(r)},...i&&{trace:i}}}function e5(t,e){let n=eX(t[0]),r=e?.getDsn(),i=e?.getOptions().tunnel,s={sent_at:new Date(F()).toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:el(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>{let e=eC(t);return!t2({description:e.description,op:e.op,attributes:e.data},o)}):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);let l=a?t=>{let e=eC(t),n=eQ(a)?e:a(e);return n||(ez(),e)}:eC,p=[];for(let t of c){let e=l(t);e&&p.push(e2(e))}return eZ(s,p)}function e6(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tY],i=n[tJ];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}function e8(){return f(d()).segmentSpanCaptureStrategy}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?e1(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,eZ,"createEventEnvelopeHeaders",0,e3,"createSpanEnvelopeItem",0,e2,"envelopeContainsItemType",0,function(t,e){return e0(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in e9?e9[t]:t},"forEachEnvelopeItem",0,e0,"getSdkMetadataForEnvelopeHeader",0,e4,"parseEnvelope",0,function(t){let e="string"==typeof t?e1(t):t;function n(t){let n=e.subarray(0,t);return e=e.subarray(t+1),n}function r(){var t;let r,i=e.indexOf(10);return i<0&&(i=e.length),JSON.parse((t=n(i),(r=f(p)).decodePolyfill?r.decodePolyfill(t):new TextDecoder().decode(t)))}let i=r(),s=[];for(;e.length;){let t=r(),e="number"==typeof t.length?t.length:void 0;s.push([t,e?n(e):r()])}return[i,s]},"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[e1(r),t]:r.push("string"==typeof t?e1(t):t)}for(let t of n){let[e,n]=t;if(i(` 3${JSON.stringify(e)} 4`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify(Q(n))}i(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}],784076),t.s(["createEventEnvelope",0,function(t,e,n,r){let i=e4(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return;let n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);let a=e3(t,i,r,e);return delete t.sdkProcessingMetadata,eZ(a,[[{type:s},t]])},"createSessionEnvelope",0,function(t,e,n,r){let i=e4(n);return eZ({sent_at:new Date(F()).toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:el(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,e5],614380),t.s(["setMeasurement",0,function(t,e,n,r=eB()){let i=r&&eL(r);i&&(h&&v.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),i.addEvent(t,{[tJ]:e,[tY]:n}))},"timedEventsToMeasurements",0,e6],729823);class e7{constructor(t={}){this._traceId=t.traceId||t_(),this._spanId=t.spanId||th(),this._startTime=t.startTimestamp||tc(),this._links=t.links,this._attributes={},this.setAttributes({[tB]:"manual",[tF]: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._frozen||(this._links?this._links.push(t):this._links=[t]),this}addLinks(t){return this._frozen||(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 this._frozen||(void 0===e?delete this._attributes[t]:this._attributes[t]=e,t===tj&&void 0!==e&&es(this)&&ea(this)),this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._frozen||(this._startTime=ex(t))}setStatus(t){return this._frozen||(this._status=t),this}updateName(t){return this._frozen||(this._name=t,es(this)||this.setAttribute(tj,"custom")),this}end(t){if(this._endTime){this._frozen=eo(this);return}this._endTime=ex(t),function(t){if(!h)return;let{description:e="< unknown name >",op:n="< unknown op >"}=eC(t),{spanId:r}=t.spanContext(),i=eL(t)===t,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${e}" with ID ${r}`;v.log(s)}(this),this._onSpanEnded(),this._frozen=eo(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tF],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:ew(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tB],profile_id:this._attributes[tG],exclusive_time:this._attributes[tK],measurements:e6(this._events),is_segment:this._isStandaloneSpan&&eL(this)===this||void 0,segment_id:this._isStandaloneSpan?eL(this).spanContext().spanId:void 0,links:eT(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===eL(this),status:eP(this._status),attributes:eD(this._attributes,this._status),links:eI(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){if(this._frozen)return this;h&&v.log("[Tracing] Adding an event to span:",t);let r=nt(e)?e:n||tc(),i=nt(e)?{}:e||{},s={name:t,time:ex(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=t$();t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this));let e=eL(this),n=this._isStandaloneSpan||this===e;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=t$();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(e5([this],t)):(h&&v.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(!n){let t=e8();if(t){let n=ei(this).scope||tw();t.onChildSpanEnded(this,e,t=>this._convertSpanToTransaction(t),n)}return}if(t&&t9(t))return void t.emit("afterSegmentSpanEnd",this);let r=ei(this).scope||tw(),i=e8();if(i)i.onSegmentSpanEnded(t=>this._convertSpanToTransaction(t),r);else{let t=this._convertSpanToTransaction();t&&r.captureEvent(t)}}_convertSpanToTransaction(t={}){if(!ne(eC(this)))return;this._name||(h&&v.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:n}=ei(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;t.onSpanCaptured?.(this);let i=[];for(let e of eU(this)){var s;if(e===this||(s=e)instanceof e7&&s.isStandaloneSpan()||t.isSpanAlreadyCaptured?.(e))continue;let n=eC(e);ne(n)&&(t.onSpanCaptured?.(e),i.push(n))}let a=this._attributes[tj];delete this._attributes[tH];let o=!1;i.forEach(t=>{delete t.data[tH],t.op?.startsWith("gen_ai.")&&(o=!0)});let c={contexts:{trace:ev(this)},spans:i.length>1e3?i.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:eX(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},u=e6(this._events);return u&&Object.keys(u).length&&(h&&v.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),c.measurements=u),c}}function nt(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function ne(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}t.s(["SentrySpan",0,e7],190060);let nn="__SENTRY_SUPPRESS_TRACING__";function nr(t,e){let n=nu();return n.withActiveSpan?n.withActiveSpan(t,e):tM(n=>(ty(n,t||void 0),e(n)))}function ni(t=tw()){let e=nu();return e.isTracingSuppressed?e.isTracingSuppressed(t):!0===t.getScopeData().sdkProcessingMetadata[nn]}function ns(t){let e=nu();return e.startNewTrace?e.startNewTrace(t):tM(e=>(e.setPropagationContext({traceId:t_(),sampleRand:L()}
4),h&&v.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),nr(null,t)))}function na(t,e){e?.recordDroppedEvent("no_parent_span","span");let n=new eH({traceId:t.getPropagationContext().traceId});return er(n,t,tP()),n}function no({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){var i,s;let a,o,c=tP();if(!t0()){let e={...c.getPropagationContext(),...r.getPropagationContext()},i=new eH({traceId:t?t.spanContext().traceId:e.traceId});return t&&!n&&ej(t,i),er(i,r,c),i}let u=t$();if(i=u,s=e,a=i?.getOptions().ignoreSpans,i&&t9(i)&&a?.length&&t2({description:s.name||"",op:s.attributes?.[tF]||s.op,attributes:s.attributes},a)){ni(r)||u?.recordDroppedEvent("ignored","span");let e=new eH({dropReason:"ignored",traceId:t?.spanContext().traceId??r.getPropagationContext().traceId});return t&&!n&&ej(t,e),er(e,r,c),e}if(t&&!n)o=function(t,e,n,r){let{spanId:i,traceId:s}=t.spanContext(),a=ni(e),o=!a&&eO(t),c=o?new e7({...n,parentSpanId:i,traceId:s,sampled:o}):new eH({traceId:s});ej(t,c),er(c,e,r);let u=t$();return u&&(t9(u)&&eG(c)&&(eG(t)&&t.dropReason?(c.dropReason=t.dropReason,u.recordDroppedEvent(t.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}(t,r,e,c),ej(t,o);else if(t){let n=eX(t),{traceId:i,spanId:s}=t.spanContext(),a=eO(t);eW(o=nl({traceId:i,parentSpanId:s,...e},r,c,a),n)}else{let{traceId:t,dsc:n,parentSpanId:i,sampled:s}={...c.getPropagationContext(),...r.getPropagationContext()};o=nl({traceId:t,parentSpanId:i,...e},r,c,s),n&&eW(o,n)}return!function(t){if(!h)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=eC(t),{spanId:i}=t.spanContext(),s=eO(t),a=eL(t),o=a===t,c=`[Tracing] Starting ${s?"sampled":"unsampled"} ${o?"root ":""}span`,u=[`op: ${n}`,`name: ${e}`,`ID: ${i}`];if(r&&u.push(`parent ID: ${r}`),!o){let{op:t,description:e}=eC(a);u.push(`root ID: ${a.spanContext().spanId}`),t&&u.push(`root op: ${t}`),e&&u.push(`root description: ${e}`)}v.log(`${c} 5 ${u.join("\n ")}`)}(o),o}function nc(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=ex(t.startTime),delete n.startTime,n}return e}function nu(){return tO(d())}function nl(t,e,n,r){let i=t$(),s=i?.getOptions()||{},{name:a=""}=t,o={spanAttributes:{...t.attributes},spanName:a,parentSampled:r};i?.emit("beforeSampling",o,{decision:!1});let c=o.parentSampled??r,u=o.spanAttributes,l=e.getPropagationContext(),p=ni(e),[d,f,_]=p?[!1]:function(t,e,n){let r,i;if(!t0(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),i=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,i=!0);let s=t4(r);if(void 0===s)return h&&v.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(!s)return h&&v.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,s,i];let a=n<s;return!a&&h&&v.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[a,s,i]}(s,{name:a,parentSampled:c,attributes:u,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:t4(l.dsc?.sample_rate)},l.sampleRand),g=new e7({...t,attributes:{[tj]:"custom",[tU]:void 0!==f&&_?f:void 0,...u},sampled:d});return d||!i||p||(h&&v.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),i.recordDroppedEvent("sample_rate",t9(i)?"span":"transaction")),er(g,e,n),i&&i.emit("spanStart",g),g}function np(t,e){if(e)return e;if(null===e)return;let n=tb(t);if(!n)return;let r=t$();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?eL(n):n}
5function nd(t){return void 0!==t?e=>nr(t,e):t=>t()}function nf(t){return eG(t)&&"ignored"===t.dropReason}function n_(t){return new ng(e=>{e(t)})}function nh(t){return new ng((e,n)=>{n(t)})}t.s(["continueTrace",0,(t,e)=>{let n=tO(d());if(n.continueTrace)return n.continueTrace(t,e);let{sentryTrace:r,baggage:i}=t,s=t$(),a=tV(i);return s&&!ey(s,a?.org_id)?ns(e):tM(t=>{let n=eg(r,i);return t.setPropagationContext(n),ty(t,void 0),e()})},"spanIsIgnored",0,nf,"startInactiveSpan",0,function(t){let e=nu();return e.startInactiveSpan?e.startInactiveSpan(t):function(t){let e=nc(t),{forceTransaction:n,parentSpan:r}=t;return(t.scope?e=>tM(t.scope,e):void 0!==r?t=>nr(r,t):t=>t())(()=>{let i=tw(),s=np(i,r),a=t$();return t.onlyIfParent&&!s?na(i,a):no({parentSpan:s,spanArguments:e,forceTransaction:n,scope:i})})}(t)},"startNewTrace",0,ns,"startSpan",0,function(t,e){let n=nu();if(n.startSpan)return n.startSpan(t,e);let r=nc(t),{forceTransaction:i,parentSpan:s,scope:a}=t;return tM(a?.clone(),()=>nd(s)(()=>{let n=tw(),a=np(n,s),o=t$(),c=t.onlyIfParent&&!a?na(n,o):no({parentSpan:a,spanArguments:r,forceTransaction:i,scope:n});return nf(c)&&a||ty(n,c),tZ(()=>e(c),()=>{let{status:t}=eC(c);c.isRecording()&&(!t||"ok"===t)&&c.setStatus({code:2,message:"internal_error"})},()=>{c.end()})}))},"startSpanManual",0,function(t,e){let n=nu();if(n.startSpanManual)return n.startSpanManual(t,e);let r=nc(t),{forceTransaction:i,parentSpan:s,scope:a}=t;return tM(a?.clone(),()=>nd(s)(()=>{let n=tw(),a=np(n,s),o=t.onlyIfParent&&!a?na(n,t$()):no({parentSpan:a,spanArguments:r,forceTransaction:i,scope:n});return nf(o)&&a||ty(n,o),tZ(()=>e(o,()=>o.end()),()=>{let{status:t}=eC(o);o.isRecording()&&(!t||"ok"===t)&&o.setStatus({code:2,message:"internal_error"})})}))},"suppressTracing",0,function(t){let e=nu();return e.suppressTracing?e.suppressTracing(t):tM(e=>{e.setSDKProcessingMetadata({[nn]:!0});let n=t();return e.setSDKProcessingMetadata({[nn]:void 0}),n})},"withActiveSpan",0,nr],501217);class ng{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new ng((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 ng((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{i?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(w(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 nm(t){let e=p._sentryDebugIds,n=p._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],i=n?Object.keys(n):[];if(u&&r.length===o&&i.length===c)return u;o=r.length,c=i.length,u={},a||(a={});let s=(e,n)=>{for(let r of e){let e=n[r],i=a?.[r];if(i&&u&&e)u[i[0]]=e,a&&(a[r]=[i[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let i=n[t],s=i?.filename;if(s&&u&&a){u[s]=e,a[r]=[s,e];break}}}}};return e&&s(r,e),n&&s(i,n),u}function nS(t,e){var n,r,i,s,a,o,c,u;let l,p,{fingerprint:d,span:f,breadcrumbs:_,sdkProcessingMetadata:h}=e;(function(t,e){let{extra:n,tags:r,user:i,contexts:s,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(i).length&&(t.user={...i,...t.user}),Object.keys(s).length&&(t.contexts={...s,...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},(l=eC(eL(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=l)),i=t,s=d,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=t,o=_,p=[...a.breadcrumbs||[],...o],a.breadcrumbs=p.length?p:void 0,c=t,u=h,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function ny(t,e){let{extra:n,tags:r,attributes:i,user:s,contexts:a,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:p,attachments:d,propagationContext:f,transactionName:_,span:h}=e;nb(t,"extra",n),nb(t,"tags",r),nb(t,"attributes",i),nb(t,"user",s),nb(t,"contexts",a),t.sdkProcessingMetadata=tf(t.sdkProcessingMetadata,c,2),o&&(t.level=o),_&&(t.transactionName=_),h&&(t.span=h),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...f}}function nb(t,e,n){t[e]=tf(t[e],n,1)}function nv(t,e){let n=tD().getScopeData();return t&&ny(n,t.getScopeData()),e&&ny(n,e.getScopeData()),n}function nE(t){if(t){var e;return(e=t)instanceof tv||"function"==typeof e||Object.keys(t).some(t=>nT.includes(t))?{captureContext:t}:t}}t.s(["rejectedSyncPromise",0,nh,"resolvedSyncPromise",0,n_],863491),t.s(["getDebugImagesForResources",0,function(t,e){let n=nm(t);if(!n)return[];let r=[];for(let t of e){let e=X(t);e&&n[e]&&r.push({type:"sourcemap",code_file:t,debug_id:n[e]})}return r},"getFilenameToDebugIdMap",0,nm],846843),t.s(["applyScopeDataToEvent",0,nS,"getCombinedScopeData",0,nv],205375);let nT=["user","level","extra","contexts","tags","fingerprint","propagationContext"];async function nI(t){let e=t$();return e?e.flush(t):(h&&v.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function nx(t){let e=t$();return e?e.close(t):(h&&v.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function nA(){let t=tP(),e=tw().getSession()||t.getSession();e&&td(e),nC(),t.setSession()}function nC(){let t=tP(),e=t$(),n=t.getSession();n&&e&&e.captureSession(n)}t.s(["parseEventHintOrCaptureContext",0,nE,"prepareEvent",0,function(t,e,n,r,i,s){var a,o,c;
5let u,{normalizeDepth:l=3,normalizeMaxBreadth:p=1e3}=t,d={...e,event_id:e.event_id||n.event_id||tr(),timestamp:e.timestamp||to()},f=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:s}=e;t.environment=t.environment||n||eY,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let a=t.request;a?.url&&s&&(a.url=tt(a.url,s)),s&&t.exception?.values?.forEach(t=>{t.value&&(t.value=tt(t.value,s))})})(d,t),a=d,(o=f).length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...o]),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&(c=d,u=nm(t.stackParser),c.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=u[t.filename])})}));let _=function(t,e){if(!e)return t;let n=t?t.clone():new tv;return n.update(e),n}(r,n.captureContext);n.mechanism&&ts(d,n.mechanism);let g=i?i.getEventProcessors():[],m=nv(s,_),S=[...n.attachments||[],...m.attachments];S.length&&(n.attachments=S),nS(d,m);let y=[...g,...m.eventProcessors];return(n.data&&!0===n.data.__sentry__?n_(d):function(t,e,n,r=0){try{let i=function t(e,n,r,i){let s=r[i];if(!e||!s)return e;let a=s({...e},n);return(h&&null===a&&v.log(`Event processor "${s.id||"?"}" dropped event`),w(a))?a.then(e=>t(e,n,r,i+1)):t(a,n,r,i+1)}(e,n,t,r);return w(i)?i:n_(i)}catch(t){return nh(t)}}(y,d,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 l&&l>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:Q(t.data,e,n)}}))},...t.user&&{user:Q(t.user,e,n)},...t.contexts&&{contexts:Q(t.contexts,e,n)},...t.extra&&{extra:Q(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Q(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:Q(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=Q(t.contexts.flags,3,n)),r}(t,l,p):t)}],740347),t.s(["addEventProcessor",0,function(t){tP().addEventProcessor(t)},"captureCheckIn",0,function(t,e){let n=tw(),r=t$();if(r)if(r.captureCheckIn)return r.captureCheckIn(t,e,n);else h&&v.warn("Cannot capture check-in. Client does not support sending check-ins.");else h&&v.warn("Cannot capture check-in. No client defined.");return tr()},"captureEvent",0,function(t,e){return tw().captureEvent(t,e)},"captureException",0,function(t,e){return tw().captureException(t,nE(e))},"captureMessage",0,function(t,e){let n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return tw().captureMessage(t,n,r)},"captureSession",0,function(t=!1){t?nA():nC()},"close",0,nx,"endSession",0,nA,"flush",0,nI,"isEnabled",0,function(){let t=t$();return t?.getOptions().enabled!==!1&&!!t?.getTransport()},"isInitialized",0,function(){return!!t$()},"lastEventId",0,function(){return tP().lastEventId()},"setAttribute",0,function(t,e){tP().setAttribute(t,e)},"setAttributes",0,function(t){tP().setAttributes(t)},"setContext",0,function(t,e){tP().setContext(t,e)},"setConversationId",0,function(t){tP().setConversationId(t)},"setExtra",0,function(t,e){tP().setExtra(t,e)},"setExtras",0,function(t){tP().setExtras(t)},"setTag",0,function(t,e){tP().setTag(t,e)},"setTags",0,function(t){tP().setTags(t)},"setUser",0,function(t){tP().setUser(t)},"startSession",0,function(t){let e=tP(),{user:n}=nv(e,tw()),{userAgent:r}=p.navigator||{},i=tl({user:n,...r&&{userAgent:r},...t}),s=e.getSession();return s?.status==="ok"&&tp(s,{status:"exited"}),nA(),e.setSession(i),i}],799458)}]); 6 7//# debugId=529738ae-bc71-87e7-92b9-c179a8d8cbdd
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.