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]="66f03927-d6a0-57bb-e354-964c6e980ef6")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,275885,653541,410544,931140,664660,914046,530011,182021,899619,479838,25366,399677,387395,847378,422837,871766,254402,266361,620978,414697,451048,63104,157821,742429,359546,121288,304710,958927,574860,442044,22511,111053,76357,893859,872028,540735,333226,665720,918895,878174,357082,347907,190225,320648,908817,980323,790830,272536,929203,t=>{"use strict";let e,n,r,s,i,a,o,c,u="10.54.0";t.s(["SDK_VERSION",0,u],653541);let l=globalThis;function p(){return d(l),l}function d(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||u,e[u]=e[u]||{}}function f(t,e,n=l){let r=n.__SENTRY__=n.__SENTRY__||{},s=r[u]=r[u]||{};return s[t]||(s[t]=e())}t.s(["GLOBAL_OBJ",0,l],410544),t.s(["getGlobalSingleton",0,f,"getMainCarrier",0,p,"getSentryCarrier",0,d],931140);let _="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,_],664660);let h=Object.prototype.toString;function g(t){switch(h.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return A(t,Error)}}function m(t,e){return h.call(t)===`[object ${e}]`}function S(t){return m(t,"String")}function y(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function b(t){return null===t||y(t)||"object"!=typeof t&&"function"!=typeof t}function E(t){return m(t,"Object")}function v(t){return"u">typeof Event&&A(t,Event)}function T(t){return"u">typeof Element&&A(t,Element)}function I(t){return m(t,"RegExp")}function x(t){return!!(t?.then&&"function"==typeof t.then)}function N(t){return E(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function A(t,e){try{return t instanceof e}catch{return!1}}function C(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function k(t,e={}){if(!t)return"<unknown>";try{let n,r=t,s=[],i=0,a=0,o=Array.isArray(e)?e:e.keyAttrs,c=!Array.isArray(e)&&e.maxStringLength||80;for(;r&&i++<5&&(n=function(t,e){let n=[];if(!t?.tagName)return"";if(l.HTMLElement&&t instanceof HTMLElement&&t.dataset){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}n.push(t.tagName.toLowerCase());let r=e?.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(r?.length)r.forEach(t=>{n.push(`[${t[0]}="${t[1]}"]`)});else{t.id&&n.push(`#${t.id}`);let e=t.className;if(e&&S(e))for(let t of e.split(/\s+/))n.push(`.${t}`)}for(let e of["aria-label","type","name","title","alt"]){let r=t.getAttribute(e);r&&n.push(`[${e}="${r}"]`)}return n.join("")}(r,o),"html"!==n&&(!(i>1)||!(a+3*s.length+n.length>=c)));)s.push(n),a+=n.length,r=r.parentNode;return s.reverse().join(" > ")}catch{return"<unknown>"}}t.s(["isDOMError",0,function(t){return m(t,"DOMError")},"isDOMException",0,function(t){return m(t,"DOMException")},"isElement",0,T,"isError",0,g,"isErrorEvent",0,function(t){return m(t,"ErrorEvent")},"isEvent",0,v,"isInstanceOf",0,A,"isParameterizedString",0,y,"isPlainObject",0,E,"isPrimitive",0,b,"isRegExp",0,I,"isRequest",0,function(t){return"u">typeof Request&&A(t,Request)},"isString",0,S,"isSyntheticEvent",0,N,"isThenable",0,x,"isVueViewModel",0,C],914046),t.s(["getComponentName",0,function(t,e=5){if(!l.HTMLElement)return null;let n=t;for(let t=0;t<e&&n;t++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null},"getLocationHref",0,function(){try{return l.document.location.href}catch{return""}},"htmlTreeAsString",0,k],530011);let R={};function O(t){if(!("console"in l))return t();let e=l.console,n={},r=Object.keys(R);r.forEach(t=>{let r=R[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function w(){return D().enabled}function M(t,...e){_&&w()&&O(()=>{l.console[t](`Sentry Logger [${t}]:`,...e)})}function D(){return _?f("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let P={enable:function(){D().enabled=!0},disable:function(){D().enabled=!1},isEnabled:w,log:function(...t){M("log",...t)},warn:function(...t){M("warn",...t)},error:function(...t){M("error",...t)}};function $(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{_&&P.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function j(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,$(t,"__sentry_original__",e)}catch{}}function L(t){if(g(t))return{message:t.message,name:t.name,stack:t.stack,...B(t)};if(!v(t))return t;{let e={type:t.type,target:U(t.target),currentTarget:U(t.currentTarget),...B(t)};return"u">typeof CustomEvent&&A(t,CustomEvent)&&(e.detail=t.detail),e}}function U(t){try{return T(t)?k(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function B(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}
2function F(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 F(()=>Math.random())}function H(){return F(()=>Date.now())}t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,O,"debug",0,P,"originalConsoleMethods",0,R],182021),t.s(["addNonEnumerableProperty",0,$,"convertToPlainObject",0,L,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys(L(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&&j(s,r);try{t[e]=s}catch{_&&P.log(`Failed to replace method "${e}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,j],899619),t.s(["safeDateNow",0,H,"safeMathRandom",0,J,"withRandomSafeContext",0,F],479838);let Y=/\(error: (.*)\)/,G=/captureMessage|captureException/;function z(...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(V(o).function||"")&&o.pop(),o.reverse(),G.test(V(o).function||"")&&(o.pop(),G.test(V(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||V(o).filename,function:t.function||"?"}))}}function V(t){return t[t.length-1]||{}}let K="<anonymous>";function W(t){try{if(!t||"function"!=typeof t)return K;return t.name||K}catch{return K}}function q(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function Q(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e}function X(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function Z(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}function tt(t,e,n=!1){return!!S(t)&&(I(e)?e.test(t):S(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function te(t=l.crypto||l.msCrypto){try{if(t?.randomUUID)return F(()=>t.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,t=>(t^(15&16*J())>>t/4).toString(16))}function tn(t){return t.exception?.values?.[0]}function tr(t,e){let n=tn(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 ts(t){try{return t.__sentry_captured__}catch{}}function ti(){return H()/1e3}function ta(){return(r??(r=function(){let{performance:t}=l;if(!t?.now||!t.timeOrigin)return ti;let e=t.timeOrigin;return()=>(e+F(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,z,"getFramesFromEvent",0,function(t){let e=t.exception;if(e){let t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}},"getFunctionName",0,W,"getVueInternalName",0,q,"normalizeStackTracePath",0,Q,"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?z(...t):t}],25366),t.s(["isMatchingPattern",0,tt,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];try{C(r)?n.push(q(r)):n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(e)},"snipLine",0,Z,"stringMatchesSomePattern",0,function(t,e=[],n=!1){for(let r of e)if(tt(t,r,n))return!0;return!1},"truncate",0,X],399677),t.s(["addContextToFrame",0,function(t,e,n=5){if(void 0===e.lineno)return;let r=t.length,s=Math.max(Math.min(r-1,e.lineno-1),0);e.pre_context=t.slice(Math.max(0,s-n),s).map(t=>Z(t,0)),e.context_line=Z(t[Math.min(r-1,s)],e.colno||0),e.post_context=t.slice(Math.min(s+1,r),s+1+n).map(t=>Z(t,0))},"addExceptionMechanism",0,tr,"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(ts(t))return!0;try{$(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=tn(t);return r?r.type&&r.value?`${r.type}: ${r.value}
2`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"isAlreadyCaptured",0,ts,"uuid4",0,te],387395);let to=null;function tc(t){let e=ta(),n={sid:te(),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&&tu(n,t),n}function tu(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||ta(),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:te()),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 tl(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),tu(t,n)}function tp(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]=tp(r[t],e[t],n-1));return r}function td(){return te()}function tf(){return te().substring(16)}t.s(["browserPerformanceTimeOrigin",0,function(){return null===to&&(to=function(){let{performance:t}=l;if(!t?.now)return;let e=F(()=>t.now()),n=H(),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}()),to},"dateTimestampInSeconds",0,ti,"timestampInSeconds",0,ta],847378),t.s(["closeSession",0,tl,"makeSession",0,tc,"updateSession",0,tu],422837),t.s(["merge",0,tp],871766),t.s(["generateSpanId",0,tf,"generateTraceId",0,td],254402);let t_="_sentrySpan";function th(t,e){e?$(t,t_,e):delete t[t_]}function tg(t){return t[t_]}t.s(["_getSpanForScope",0,tg,"_setSpanForScope",0,th],266361);class tm{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:td(),sampleRand:J()}}clone(){let t=new tm;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,th(t,tg(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&&tu(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:l}=(e instanceof tm?e.getScopeData():E(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),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,th(this,void 0),this._attachments=[],this.setPropagationContext({traceId:td(),sampleRand:J()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:ti(),...t,message:t.message?X(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:tg(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tp(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||te();if(!this._client)return _&&P.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||te();if(!this._client)return _&&P.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||te();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):_&&P.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,tm],620978);let tS=t=>t instanceof Promise&&!t[ty],ty=Symbol("chained PromiseLike"),tb=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tS(r)&&tS(t)?r:tE(t,r)},tE=(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,{[ty]:!0}),e};class tv{constructor(t,e){let n,r;n=t||new tm,r=e||new tm,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 x(e)?tb(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 tT(){let t=d(p());return t.stack=t.stack||new tv(f("defaultCurrentScope",()=>new tm),f("defaultIsolationScope",()=>new tm))}function tI(t){return tT().withScope(t)}function tx(t,e){let n=tT();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tN(t){return tT().withScope(()=>t(tT().getIsolationScope()))}function tA(t){let e=d(t);return e.acs?e.acs:{withIsolationScope:tN,withScope:tI,withSetScope:tx,withSetIsolationScope:(t,e)=>tN(e),getCurrentScope:()=>tT().getScope(),getIsolationScope:()=>tT().getIsolationScope()}}function tC(){return tA(p()).getCurrentScope()}function tk(){return tA(p()).getIsolationScope()}function tR(){return f("globalScope",()=>new tm)}function tO(...t){let e=tA(p());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function tw(){return tC().getClient()}t.s(["getAsyncContextStrategy",0,tA],414697),t.s(["getClient",0,tw,"getCurrentScope",0,tC,"getGlobalScope",0,tR,"getIsolationScope",0,tk,"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||tf()};return r&&(a.parent_span_id=r),a},"hasExternalPropagationContext",0,function(){return void 0!==s},"withIsolationScope",0,function(...t){let e=tA(p());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])},"withScope",0,tO],451048);let tM="sentry.source",tD="sentry.sample_rate",tP="sentry.previous_trace_sample_rate",t$="sentry.op",tj="sentry.origin",tL="sentry.measurement_unit",tU="sentry.measurement_value",tB="sentry.custom_span_name",tF="sentry.profile_id",tJ="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,tJ,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,tF,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,tB,"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,tL,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,tU,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,t$,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tj,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tD,"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,tM,"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"],63104);let tH="sentry-";function tY(t){let e=tz(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(tH)&&(t[e.slice(tH.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function tG(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${tH}${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?(_&&P.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):i},""):void 0}}function tz(t){if(t&&(S(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>
2(Object.entries(tV(e)).forEach(([e,n])=>{t[e]=n}),t),{}):tV(t)}function tV(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 tK(t,e,n=()=>{},r=()=>{}){var s,i,a,o;let c;try{c=t()}catch(t){throw e(t),n(),t}return s=c,i=e,a=n,o=r,x(s)?tb(s,t=>{a(),o(t)},t=>{i(t),a()}):(a(),o(s),s)}function tW(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tw()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function tq(t){P.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function tQ(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&&tt(t.description,r))return _&&tq(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&&tt(t.description,r.name),i=!r.op||t.op&&tt(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)?tt(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 _&&tq(t),!0}return!1}function tX(t){return"stream"===t.getOptions().traceLifecycle}function tZ(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 t0(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}function t1(t){return"string"==typeof t?2*t.length:"boolean"==typeof t?4:8*("number"==typeof t)}function t2(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,tH,"baggageHeaderToDynamicSamplingContext",0,tY,"dynamicSamplingContextToSentryBaggageHeader",0,tG,"parseBaggageHeader",0,tz],157821),t.s(["handleCallbackErrors",0,tK],742429),t.s(["hasSpansEnabled",0,tW],359546),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,tQ],121288),t.s(["hasSpanStreamingEnabled",0,tX],304710),t.s(["parseSampleRate",0,tZ],958927),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+=t1(t[0])*t.length:b(t)?e+=t1(t):e+=100}return e},"serializeAttributes",0,t0],574860),t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"getSpanStatusFromHttpCode",0,t2,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=t2(e);"unknown_error"!==n.message&&t.setStatus(n)}],442044);let t4="_sentryScope",t3="_sentryIsolationScope";function t8(t,e,n){t&&($(t,t3,function(t){try{let e=l.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}(n)),$(t,t4,e))}function t5(t){return{scope:t[t4],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}(t[t3])}}t.s(["getCapturedScopesOnSpan",0,t5,"setCapturedScopesOnSpan",0,t8],22511);let t9=/^o(\d+)\./,t6=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function t7(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 et(t){let e=t6.exec(t);if(!e)return void O(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,s="",i="",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 ee({host:i,pass:s,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function ee(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function en(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(t9),e=t?.[1])}return e}t.s(["dsnFromString",0,et,"dsnToString",0,t7,"extractOrgIdFromClient",0,en,"makeDsn",0,function(t){let e="string"==typeof t?et(t):ee(t);if(e&&function(t){if(!_)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(P.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(P.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(P.error(`Invalid Sentry Dsn: Invalid port ${e}
2`),!1):(P.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}],111053);let er=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function es(t){let e;if(!t)return;let n=t.match(er);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}function ei(t,e){let n=es(t),r=tY(e);if(!n?.traceId)return{traceId:td(),sampleRand:J()};let s=function(t,e){let n=tZ(e?.sample_rand);if(void 0!==n)return n;let r=tZ(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}}function ea(t=td(),e=tf(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function eo(t=td(),e=tf(),n){return`00-${t}-${e}-${n?"01":"00"}`}function ec(t,e){let n=en(t);return e&&n&&e!==n?(P.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)||(P.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,er,"extractTraceparentData",0,es,"generateSentryTraceHeader",0,ea,"generateTraceparentHeader",0,eo,"propagationContextFromHeaders",0,ei,"shouldContinueTrace",0,ec],76357);let eu=!1;function el(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:s,parent_span_id:i,status:a,origin:o,links:c}=eg(t);return{parent_span_id:i,span_id:e,trace_id:n,data:r,op:s,status:a,origin:o,links:c}}function ep(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:eg(t).parent_span_id,i=t5(t).scope;return{parent_span_id:s,span_id:r?i?.getPropagationContext().propagationSpanId||tf():e,trace_id:n}}function ed(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 ef(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 e_(t){return"number"==typeof t?eh(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?eh(t.getTime()):ta()}function eh(t){return t>0x2540be3ff?t/1e3:t}function eg(t){if(ey(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eS(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:em(t),start_timestamp:e_(s),timestamp:e_(a)||void 0,status:eE(o),op:r[t$],origin:r[tj],links:ed(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function em(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function eS(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function ey(t){return"function"==typeof t.getSpanJSON}function eb(t){let{traceFlags:e}=t.spanContext();return 1===e}function eE(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function ev(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}let eT="_sentryChildSpans",eI="_sentryRootSpan";function ex(t,e){let n=t[eI]||t;$(e,eI,n),t[eT]?t[eT].add(e):$(t,eT,new Set([e]))}function eN(t){let e=new Set;return!function t(n){if(!e.has(n)&&eb(n))for(let r of(e.add(n),n[eT]?Array.from(n[eT]):[]))t(r)}(t),Array.from(e)}let eA=eC;function eC(t){return t[eI]||t}function ek(){let t=tA(p());return t.getActiveSpan?t.getActiveSpan():tg(tC())}function eR(){eu||(O(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),eu=!0)}t.s(["INTERNAL_getSegmentSpan",0,eC,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,ex,"convertSpanLinksForEnvelope",0,ed,"getActiveSpan",0,ek,"getRootSpan",0,eA,"getSimpleStatusMessage",0,ev,"getSpanDescendants",0,eN,"getStatusMessage",0,eE,"getStreamedSpanLinks",0,ef,"removeChildSpanFromSpan",0,function(t,e){t[eT]&&t[eT].delete(e)},"showSpanDropWarning",0,eR,"spanIsSampled",0,eb,"spanTimeInputToSeconds",0,e_,"spanToJSON",0,eg,"spanToStreamedSpanJSON",0,function(t){if(ey(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eS(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:em(t),start_timestamp:e_(s),end_timestamp:e_(a),is_segment:t===eC(t),status:ev(o),attributes:r,links:ef(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===eC(t)}},"spanToTraceContext",0,ep,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return ea(e,n,eb(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eo(e,n,eb(t))},"spanToTransactionTraceContext",0,el,"streamedSpanJsonToSerializedSpan",0,function(t){return{...t,attributes:t0(t.attributes),links:t.links?.map(t=>({...t,attributes:t0(t.attributes)}))}},"updateSpanName",0,function(t,e){t.updateName(e),t.setAttributes({[tM
2]:"custom",[tB]:e})}],893859);let eO="production";t.s(["DEFAULT_ENVIRONMENT",0,eO],872028);let ew="_frozenDsc";function eM(t,e){$(t,ew,e)}function eD(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||eO,release:n.release,public_key:r,trace_id:t,org_id:en(e)};return e.emit("createDsc",s),s}function eP(t){let e=tw();if(!e)return{};let n=eA(t),r=eg(n),s=r.data,i=n.spanContext().traceState,a=i?.get("sentry.sample_rate")??s[tD]??s[tP];function o(t){return("number"==typeof a||"string"==typeof a)&&(t.sample_rate=`${a}`),t}let c=n[ew];if(c)return o(c);let u=i?.get("sentry.dsc"),l=u&&tY(u);if(l)return o(l);let p=eD(t.spanContext().traceId,e),d=s[tM]??s["sentry.span.source"],f=r.description;return"url"!==d&&f&&(p.transaction=f),tW()&&(p.sampled=String(eb(n)),p.sample_rand=i?.get("sentry.sample_rand")??t5(n).scope?.getPropagationContext().sampleRand.toString()),o(p),e.emit("createDsc",p,n),p}t.s(["freezeDscOnSpan",0,eM,"getDynamicSamplingContextFromScope",0,function(t,e){let n=e.getPropagationContext();return n.dsc||eD(n.traceId,t)},"getDynamicSamplingContextFromSpan",0,eP,"spanToBaggageHeader",0,function(t){return tG(eP(t))}],540735);class e${constructor(t={}){this._traceId=t.traceId||td(),this._spanId=t.spanId||tf(),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}addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}function ej(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}t.s(["SentryNonRecordingSpan",0,e$],333226),t.s(["isStreamedBeforeSendSpanCallback",0,ej,"withStreamedSpan",0,function(t){return $(t,"_streamed",!0),t}],665720);let eL=Symbol.for("sentry.skipNormalization"),eU=Symbol.for("sentry.overrideNormalizationDepth");function eB(t){return!!t[eL]}function eF(t){let e=t[eU];return"number"==typeof e?e:void 0}function eJ(e,n=100,r=1/0){try{return function e(n,r,s=1/0,i=1/0,a=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let[o,c]=a;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let u=function(e,n){try{var r;let s;if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(n===t.g)return"[Global]";if("u">typeof window&&n===window)return"[Window]";if("u">typeof document&&n===document)return"[Document]";if(C(n))return q(n);if(N(n))return"[SyntheticEvent]";if("number"==typeof n&&!Number.isFinite(n))return`[${n}]`;if("function"==typeof n)return`[Function: ${W(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;let i=(r=n,s=Object.getPrototypeOf(r),s?.constructor?s.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(i))return`[HTMLElement: ${i}]`;return`[object ${i}]`}catch(t){return`**non-serializable** (${t})`}}(n,r);if(!u.startsWith("[object "))return u;if(eB(r))return r;let l=eF(r),p=void 0!==l?l:s;if(0===p)return u.replace("object ","");if(o(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,p-1,i,a)}catch{}let d=Array.isArray(r)?[]:{},f=0,_=L(r);for(let t in _){if(!Object.prototype.hasOwnProperty.call(_,t))continue;if(f>=i){d[t]="[MaxProperties ~]";break}let n=_[t];d[t]=e(t,n,p-1,i,a),f++}return c(r),d}("",e,n,r)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function eH(t,e=[]){return[t,e]}function eY(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function eG(t){let e=d(l);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function ez(t){return[{type:"span"},t]}t.s(["getNormalizationDepthOverrideHint",0,eF,"hasSkipNormalizationHint",0,eB,"setNormalizationDepthOverrideHint",0,function(t,e){$(t,eU,e)},"setSkipNormalizationHint",0,function(t){$(t,eL,!0)}],918895),t.s(["normalize",0,eJ,"normalizeToSize",0,function t(e,n=3,r=102400){let s=eJ(e,n);return~-encodeURI(JSON.stringify(s)).split(/%..|./).length>r?t(e,n-1,r):s}],878174);let eV={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 eK(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function eW(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:t7(r)},...s&&{trace:s}}}function eq(t,e){let n=eP(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:t7(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>{let e=eg(t);return!tQ({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=eg(t),n=ej(a)?e:a(e);return n||(eR(),e)}:eg,p=[];for(let t of c){let e=l(t);e&&p.push(ez(e))}return eH(i,p)}function eQ(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tL],s=n[tU];"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?eG(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,eH,"createEventEnvelopeHeaders",0,eW,"createSpanEnvelopeItem",0,ez,"envelopeContainsItemType",0,function(t,e){return eY(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in eV?eV[t]:t},"forEachEnvelopeItem",0,eY,"getSdkMetadataForEnvelopeHeader",0,eK,"parseEnvelope",0,function(t){let e="string"==typeof t?eG(t):t;function n(t){let n=e.subarray(0,t);return e=e.subarray(t+1),n}function r(){var t;let r,s=e.indexOf(10);return s<0&&(s=e.length),JSON.parse((t=n(s),(r=d(l)).decodePolyfill?r.decodePolyfill(t):new TextDecoder().decode(t)))}let s=r(),i=[];for(;e.length;){let t=r(),e="number"==typeof t.length?t.length:void 0;i.push([t,e?n(e):r()])}return[s,i]},"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[eG(r),t]:r.push("string"==typeof t?eG(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(eJ(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)}],357082),t.s(["createEventEnvelope",0,function(t,e,n,r){let s=eK(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=eW(t,s,r,e);return delete t.sdkProcessingMetadata,eH(a,[[{type:i},t]])},"createSessionEnvelope",0,function(t,e,n,r){let s=eK(n);return eH({sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:t7(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,eq],347907),t.s(["setMeasurement",0,function(t,e,n,r=ek()){let s=r&&eA(r);
4s&&(_&&P.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),s.addEvent(t,{[tU]:e,[tL]:n}))},"timedEventsToMeasurements",0,eQ],190225);class eX{constructor(t={}){this._traceId=t.traceId||td(),this._spanId=t.spanId||tf(),this._startTime=t.startTimestamp||ta(),this._links=t.links,this._attributes={},this.setAttributes({[tj]:"manual",[t$]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:+!!n}}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=e_(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(tM,"custom"),this}end(t){this._endTime||(this._endTime=e_(t),function(t){if(!_)return;let{description:e="< unknown name >",op:n="< unknown op >"}=eg(t),{spanId:r}=t.spanContext(),s=eA(t)===t,i=`[Tracing] Finishing "${n}" ${s?"root ":""}span "${e}" with ID ${r}`;P.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[t$],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:eE(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tj],profile_id:this._attributes[tF],exclusive_time:this._attributes[tJ],measurements:eQ(this._events),is_segment:this._isStandaloneSpan&&eA(this)===this||void 0,segment_id:this._isStandaloneSpan?eA(this).spanContext().spanId:void 0,links:ed(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===eA(this),status:ev(this._status),attributes:this._attributes,links:ef(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){_&&P.log("[Tracing] Adding an event to span:",t);let r=eZ(e)?e:n||ta(),s=eZ(e)?{}:e||{},i={name:t,time:e_(r),attributes:s};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=tw();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===eA(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=tw();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(eq([this],t)):(_&&P.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(t&&tX(t))return void t.emit("afterSegmentSpanEnd",this);let e=this._convertSpanToTransaction();e&&(t5(this).scope||tC()).captureEvent(e)}_convertSpanToTransaction(){if(!e0(eg(this)))return;this._name||(_&&P.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=t5(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=eN(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof eX&&e.isStandaloneSpan())}).map(t=>eg(t)).filter(e0),s=this._attributes[tM];delete this._attributes[tB];let i=!1;r.forEach(t=>{delete t.data[tB],t.op?.startsWith("gen_ai.")&&(i=!0)});let a={contexts:{trace:el(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:eP(this),hasGenAiSpans:i},request:n,...s&&{transaction_info:{source:s}}},o=eQ(this._events);return o&&Object.keys(o).length&&(_&&P.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}}function eZ(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function e0(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}t.s(["SentrySpan",0,eX],320648);let e1="__SENTRY_SUPPRESS_TRACING__";function e2(t,e){let n=e5();return n.withActiveSpan?n.withActiveSpan(t,e):tO(n=>(th(n,t||void 0),e(n)))}function e4(t){let e=e5();return e.startNewTrace?e.startNewTrace(t):tO(e=>(e.setPropagationContext({traceId:td(),sampleRand:J()}
4),_&&P.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),e2(null,t)))}function e3({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){var s,i;let a,o;if(!tW()){let r=new e$;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...eP(r)};eM(r,t)}return r}let c=tw();if(s=c,i=e,o=s?.getOptions().ignoreSpans,s&&tX(s)&&o?.length&&tQ({description:i.name||"",op:i.attributes?.[t$]||i.op,attributes:i.attributes},o))return ne(r)||c?.recordDroppedEvent("ignored","span"),new e$({dropReason:"ignored",traceId:t?.spanContext().traceId??r.getPropagationContext().traceId});let u=tk();if(t&&!n)a=function(t,e,n){let{spanId:r,traceId:s}=t.spanContext(),i=ne(e),a=!i&&eb(t),o=a?new eX({...n,parentSpanId:r,traceId:s,sampled:a}):new e$({traceId:s});ex(t,o);let c=tw();return c&&(tX(c)&&o instanceof e$&&(t instanceof e$&&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),ex(t,a);else if(t){let n=eP(t),{traceId:s,spanId:i}=t.spanContext(),o=eb(t);eM(a=e9({traceId:s,parentSpanId:i,...e},r,o),n)}else{let{traceId:t,dsc:n,parentSpanId:s,sampled:i}={...u.getPropagationContext(),...r.getPropagationContext()};a=e9({traceId:t,parentSpanId:s,...e},r,i),n&&eM(a,n)}return!function(t){if(!_)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=eg(t),{spanId:s}=t.spanContext(),i=eb(t),a=eA(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}=eg(a);u.push(`root ID: ${a.spanContext().spanId}`),t&&u.push(`root op: ${t}`),e&&u.push(`root description: ${e}`)}P.log(`${c} 5 ${u.join("\n ")}`)}(a),t8(a,r,u),a}function e8(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=e_(t.startTime),delete n.startTime,n}return e}function e5(){return tA(p())}function e9(t,e,n){let r=tw(),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(),l=ne(e),[p,d,f]=l?[!1]:function(t,e,n){let r,s;if(!tW(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=tZ(r);if(void 0===i)return _&&P.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 _&&P.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&&_&&P.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:tZ(u.dsc?.sample_rate)},u.sampleRand),h=new eX({...t,attributes:{[tM]:"custom",[tD]:void 0!==d&&f?d:void 0,...c},sampled:p});return p||!r||l||(_&&P.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate",tX(r)?"span":"transaction")),r&&r.emit("spanStart",h),h}function e6(t,e){if(e)return e;if(null===e)return;let n=tg(t);if(!n)return;let r=tw();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?eA(n):n}function e7(t){return void 0!==t?e=>e2(t,e):t=>t()}function nt(t){return t instanceof e$&&"ignored"===t.dropReason}function ne(t){return!0===t.getScopeData().sdkProcessingMetadata[e1]}function nn(t){return new ns(e=>{e(t)})}function nr(t){return new ns((e,n)=>{n(t)})}t.s(["continueTrace",0,(t,e)=>{let n=tA(p());if(n.continueTrace)return n.continueTrace(t,e);let{sentryTrace:r,baggage:s}=t,i=tw(),a=tY(s);return i&&!ec(i,a?.org_id)?e4(e):tO(t=>{let n=ei(r,s);return t.setPropagationContext(n),th(t,void 0),e()})},"startInactiveSpan",0,function(t){let e=e5();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=e8(t),{forceTransaction:r,parentSpan:s}=t;return(t.scope?e=>tO(t.scope,e):void 0!==s?t=>e2(s,t):t=>t())(()=>{let e=tC(),i=e6(e,s),a=tw();return t.onlyIfParent&&!i?(a?.recordDroppedEvent("no_parent_span","span"),new e$):e3({parentSpan:i,spanArguments:n,forceTransaction:r,scope:e})})},"startNewTrace",0,e4,"startSpan",0,function(t,e){let n=e5();if(n.startSpan)return n.startSpan(t,e);
5let r=e8(t),{forceTransaction:s,parentSpan:i,scope:a}=t;return tO(a?.clone(),()=>e7(i)(()=>{let n=tC(),a=e6(n,i),o=tw(),c=t.onlyIfParent&&!a,u=c?new e$:e3({parentSpan:a,spanArguments:r,forceTransaction:s,scope:n});return c&&o?.recordDroppedEvent("no_parent_span","span"),nt(u)&&a||th(n,u),tK(()=>e(u),()=>{let{status:t}=eg(u);u.isRecording()&&(!t||"ok"===t)&&u.setStatus({code:2,message:"internal_error"})},()=>{u.end()})}))},"startSpanManual",0,function(t,e){let n=e5();if(n.startSpanManual)return n.startSpanManual(t,e);let r=e8(t),{forceTransaction:s,parentSpan:i,scope:a}=t;return tO(a?.clone(),()=>e7(i)(()=>{let n=tC(),a=e6(n,i),o=t.onlyIfParent&&!a,c=o?new e$:e3({parentSpan:a,spanArguments:r,forceTransaction:s,scope:n});return o&&tw()?.recordDroppedEvent("no_parent_span","span"),nt(c)&&a||th(n,c),tK(()=>e(c,()=>c.end()),()=>{let{status:t}=eg(c);c.isRecording()&&(!t||"ok"===t)&&c.setStatus({code:2,message:"internal_error"})})}))},"suppressTracing",0,function(t){let e=e5();return e.suppressTracing?e.suppressTracing(t):tO(e=>{e.setSDKProcessingMetadata({[e1]:!0});let n=t();return e.setSDKProcessingMetadata({[e1]:void 0}),n})},"withActiveSpan",0,e2],908817);class ns{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new ns((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 ns((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(x(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 ni(t){let e=l._sentryDebugIds,n=l._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(c&&r.length===a&&s.length===o)return c;a=r.length,o=s.length,c={},i||(i={});let u=(e,n)=>{for(let r of e){let e=n[r],s=i?.[r];if(s&&c&&e)c[s[0]]=e,i&&(i[r]=[s[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let s=n[t],a=s?.filename;if(a&&c&&i){c[a]=e,i[r]=[a,e];break}}}}};return e&&u(r,e),n&&u(s,n),c}function na(t,e){var n,r,s,i,a,o,c,u;let l,p,{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:ep(r=f),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:eP(r),...n.sdkProcessingMetadata},(l=eg(eA(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=l)),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=_,p=[...a.breadcrumbs||[],...o],a.breadcrumbs=p.length?p:void 0,c=t,u=h,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function no(t,e){let{extra:n,tags:r,attributes:s,user:i,contexts:a,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:p,attachments:d,propagationContext:f,transactionName:_,span:h}=e;nc(t,"extra",n),nc(t,"tags",r),nc(t,"attributes",s),nc(t,"user",i),nc(t,"contexts",a),t.sdkProcessingMetadata=tp(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 nc(t,e,n){t[e]=tp(t[e],n,1)}function nu(t,e){let n=tR().getScopeData();return t&&no(n,t.getScopeData()),e&&no(n,e.getScopeData()),n}function nl(t){if(t){var e;return(e=t)instanceof tm||"function"==typeof e||Object.keys(t).some(t=>np.includes(t))?{captureContext:t}:t}}t.s(["rejectedSyncPromise",0,nr,"resolvedSyncPromise",0,nn],980323),t.s(["getDebugImagesForResources",0,function(t,e){let n=ni(t);if(!n)return[];let r=[];for(let t of e){let e=Q(t);e&&n[e]&&r.push({type:"sourcemap",code_file:t,debug_id:n[e]})}return r},"getFilenameToDebugIdMap",0,ni],790830),t.s(["applyScopeDataToEvent",0,na,"getCombinedScopeData",0,nu],272536);let np=["user","level","extra","contexts","tags","fingerprint","propagationContext"];
5async function nd(t){let e=tw();return e?e.flush(t):(_&&P.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function nf(t){let e=tw();return e?e.close(t):(_&&P.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function n_(){let t=tk(),e=tC().getSession()||t.getSession();e&&tl(e),nh(),t.setSession()}function nh(){let t=tk(),e=tw(),n=t.getSession();n&&e&&e.captureSession(n)}t.s(["parseEventHintOrCaptureContext",0,nl,"prepareEvent",0,function(t,e,n,r,s,i){var a,o,c;let u,{normalizeDepth:l=3,normalizeMaxBreadth:p=1e3}=t,d={...e,event_id:e.event_id||n.event_id||te(),timestamp:e.timestamp||ti()},f=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||eO,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);let a=t.request;a?.url&&i&&(a.url=X(a.url,i)),i&&t.exception?.values?.forEach(t=>{t.value&&(t.value=X(t.value,i))})})(d,t),a=d,(o=f).length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...o]),s&&s.emit("applyFrameMetadata",e),void 0===e.type&&(c=d,u=ni(t.stackParser),c.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=u[t.filename])})}));let h=function(t,e){if(!e)return t;let n=t?t.clone():new tm;return n.update(e),n}(r,n.captureContext);n.mechanism&&tr(d,n.mechanism);let g=s?s.getEventProcessors():[],m=nu(i,h),S=[...n.attachments||[],...m.attachments];S.length&&(n.attachments=S),na(d,m);let y=[...g,...m.eventProcessors];return(n.data&&!0===n.data.__sentry__?nn(d):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(_&&null===a&&P.log(`Event processor "${i.id||"?"}" dropped event`),x(a))?a.then(e=>t(e,n,r,s+1)):t(a,n,r,s+1)}(e,n,t,r);return x(s)?s:nn(s)}catch(t){return nr(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=>
5({...t,...t.data&&{data:eJ(t.data,e,n)}}))},...t.user&&{user:eJ(t.user,e,n)},...t.contexts&&{contexts:eJ(t.contexts,e,n)},...t.extra&&{extra:eJ(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=eJ(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:eJ(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=eJ(t.contexts.flags,3,n)),r}(t,l,p):t)}],929203),t.s(["addEventProcessor",0,function(t){tk().addEventProcessor(t)},"captureCheckIn",0,function(t,e){let n=tC(),r=tw();if(r)if(r.captureCheckIn)return r.captureCheckIn(t,e,n);else _&&P.warn("Cannot capture check-in. Client does not support sending check-ins.");else _&&P.warn("Cannot capture check-in. No client defined.");return te()},"captureEvent",0,function(t,e){return tC().captureEvent(t,e)},"captureException",0,function(t,e){return tC().captureException(t,nl(e))},"captureMessage",0,function(t,e){let n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return tC().captureMessage(t,n,r)},"captureSession",0,function(t=!1){t?n_():nh()},"close",0,nf,"endSession",0,n_,"flush",0,nd,"isEnabled",0,function(){let t=tw();return t?.getOptions().enabled!==!1&&!!t?.getTransport()},"isInitialized",0,function(){return!!tw()},"lastEventId",0,function(){return tk().lastEventId()},"setContext",0,function(t,e){tk().setContext(t,e)},"setConversationId",0,function(t){tk().setConversationId(t)},"setExtra",0,function(t,e){tk().setExtra(t,e)},"setExtras",0,function(t){tk().setExtras(t)},"setTag",0,function(t,e){tk().setTag(t,e)},"setTags",0,function(t){tk().setTags(t)},"setUser",0,function(t){tk().setUser(t)},"startSession",0,function(t){let e=tk(),{user:n}=nu(e,tC()),{userAgent:r}=l.navigator||{},s=tc({user:n,...r&&{userAgent:r},...t}),i=e.getSession();return i?.status==="ok"&&tu(i,{status:"exited"}),n_(),e.setSession(s),s}],275885)},94144,t=>{"use strict";t.s(["brand",0,function(t){Object.defineProperty(t,Symbol.for("apollo.error"),{value:t.name,enumerable:!1,writable:!1,configurable:!1})},"isBranded",0,function(t,e){return"object"==typeof t&&null!==t&&t[Symbol.for("apollo.error")]===e}])},622422,t=>{"use strict";var e=t.i(94144);function n(t){return t.filter(t=>t).map(t=>t.message||"Error message not found.").join("\n")}class r extends Error{static is(t){return(0,e.isBranded)(t,"CombinedGraphQLErrors")}static formatMessage=n;errors;data;extensions;constructor(t,s=t.errors||[]){super(r.formatMessage(s,{result:t,defaultFormatMessage:n})),this.errors=s,this.data=t.data,this.extensions=t.extensions,this.name="CombinedGraphQLErrors",(0,e.brand)(this),Object.setPrototypeOf(this,r.prototype)}}t.s(["CombinedGraphQLErrors",0,r])},6103,t=>{"use strict";var e=t.i(94144);class n extends Error{static is(t){return(0,e.isBranded)(t,"ServerError")}response;statusCode;bodyText;constructor(t,r){super(t),this.name="ServerError",this.response=r.response,this.statusCode=r.response.status,this.bodyText=r.bodyText,(0,e.brand)(this),Object.setPrototypeOf(this,n.prototype)}}t.s(["ServerError",0,n])},942769,633308,354756,t=>{"use strict";var e=t.i(275885),n=t.i(33687);t.s(["default",0,t=>{e.captureException(t,{extra:{error:(0,n.default)(t)&&t.message},tags:{feature:"ApolloClient"}})}],942769),t.s(["default",0,({error:t,message:r})=>{e.captureException(t,{extra:{error:JSON.stringify((0,n.default)(t)?t.stack:"Error"),message:r},tags:{feature:"Error"}})}],633308),t.s(["default",0,({message:t,variables:n,level:r="error",operationName:s,errorType:i})=>{e.captureException(`[${s}]: ${i} - ${t}`,{extra:{errorType:i,message:t,operationName:s,variables:JSON.stringify(n)},level:r,tags:{feature:"GraphqlErrorAsData"}})}],354756)},890503,260029,905381,378272,194906,t=>{"use strict";t.i(942769),t.i(633308),t.i(354756);var e=t.i(622422),n=t.i(6103),r=t.i(275885),s=t.i(33687);t.s(["default",0,({error:t,variables:i,level:a="error"})=>{e.CombinedGraphQLErrors.is(t)||n.ServerError.is(t)?n.ServerError.is(t)&&401===t.statusCode||r.captureException(t,{extra:{error:(0,s.default)(t)&&t.message,variables:JSON.stringify(i)},level:a,tags:{feature:"GraphqlRequest"}}):r.captureException(t,{extra:{error:(0,s.default)(t)&&t.message},level:"error"})}],260029),t.s(["default",0,({error:t,bridgeMessageType:e,bridgeData:n})=>{r.captureException(t,{extra:{bridgeData:JSON.stringify(n),bridgeMessageType:e,error:(0,s.default)(t)&&t.message},tags:{feature:"ReactNativeBridge"}})}],905381),t.s(["default",0,({error:t,event:e})=>{r.captureException(t,{extra:{error:(0,s.default)(t)&&t.message,event:e},tags:{feature:"ReactNativeBridgeIncomingEvent"}})}],378272),t.s(["default",0,({error:t,to:e,message:n,query:i})=>{r.captureException(t,{extra:{error:JSON.stringify((0,s.default)(t)&&t.message),message:JSON.stringify(n),query:JSON.stringify(i),to:JSON.stringify(e)},tags:{feature:"Routing"}})}],194906),t.s([],890503)}]); 6 7//# debugId=66f03927-d6a0-57bb-e354-964c6e980ef6
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.