PageSourceSearch

https://marketplace-clinician-assets-cdn.trustedhealth.com/_next/static/chunks/0iih7427vfrsz.js

js trustedhealth.com collected 2026-09-24 18:29:06 UTC 65,178 bytes, 7 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6d5ecb99-0b75-4a98-62fc-033ab4cfcf8f")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,433908,t=>{"use strict";let e="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,e])},159072,530011,t=>{"use strict";var e=t.i(410544),n=t.i(899619),r=t.i(451048),i=t.i(387395),s=t.i(275885);t.i(914046);let a=e.GLOBAL_OBJ;function o(){try{return a.document.location.href}catch{return""}}t.s(["getComponentName",0,function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!a.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,o],530011);let c=e.GLOBAL_OBJ,u=0;t.s(["WINDOW",0,c,"getHttpRequestData",0,function(){let t=o(),{referrer:e}=c.document||{},{userAgent:n}=c.navigator||{};return{url:t,headers:{...e&&{Referer:e},...n&&{"User-Agent":n}}}},"shouldIgnoreOnError",0,function(){return u>0},"wrap",0,function t(a){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof a)return a;try{if(Object.prototype.hasOwnProperty.call(a,"__sentry_wrapped__")){let t=a.__sentry_wrapped__;if("function"==typeof t)return t;return a}if((0,n.getOriginalFunction)(a))return a}catch{return a}let c=function(){for(var n=arguments.length,c=Array(n),l=0;l<n;l++)c[l]=arguments[l];e.GLOBAL_OBJ._sentryWrappedDepth=(e.GLOBAL_OBJ._sentryWrappedDepth||0)+1;try{let e=c.map(e=>t(e,o));return a.apply(this,e)}catch(t){throw u++,setTimeout(()=>{u--}),(0,r.withScope)(e=>{e.addEventProcessor(t=>(o.mechanism&&((0,i.addExceptionTypeValue)(t,void 0,void 0),(0,i.addExceptionMechanism)(t,o.mechanism)),t.extra={...t.extra,arguments:c},t)),(0,s.captureException)(t)}),t}finally{e.GLOBAL_OBJ._sentryWrappedDepth=(e.GLOBAL_OBJ._sentryWrappedDepth||0)-1}};try{for(let t in a)Object.prototype.hasOwnProperty.call(a,t)&&(c[t]=a[t])}catch{}(0,n.markFunctionWrapped)(c,a),(0,n.addNonEnumerableProperty)(a,"__sentry_wrapped__",c);try{Object.getOwnPropertyDescriptor(c,"name").configurable&&Object.defineProperty(c,"name",{get:()=>a.name})}catch{}return c}],159072)},275885,653541,410544,931140,664660,182021,914046,899619,479838,25366,878174,399677,387395,847378,817433,871766,254402,266361,414697,451048,63104,157821,359546,121288,304710,958927,574860,442044,22511,111053,76357,893859,872028,333226,540735,665720,357082,347907,190225,320648,908817,980323,272536,929203,623827,t=>{"use strict";let e,n,r,i,s,a,o,c,u,l="10.70.0";t.s(["SDK_VERSION",0,l],653541);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 h(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p,r=n.__SENTRY__=n.__SENTRY__||{},i=r[l]=r[l]||{};return i[t]||(i[t]=e())}t.s(["GLOBAL_OBJ",0,p],410544),t.s(["getGlobalSingleton",0,h,"getMainCarrier",0,d,"getSentryCarrier",0,f],931140);let _="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,_],664660);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 v().enabled}function y(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];_&&S()&&m(()=>{p.console[t](`Sentry Logger [${t}]:`,...n)})}function v(){return _?h("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let b={enable:function(){v().enabled=!0},disable:function(){v().enabled=!1},isEnabled:S,log:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];y("log",...e)},warn:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];y("warn",...e)},error:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];y("error",...e)}};t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,m,"debug",0,b,"originalConsoleMethods",0,g],182021);let E=Object.prototype.toString;function T(t){switch(E.call(t)){case"[object Error]":case"[object E
2xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return D(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 O(t){return null===t||A(t)||"object"!=typeof t&&"function"!=typeof t}function N(t){return I(t,"Object")}function R(t){return"object"==typeof t&&null!==t}function C(t){return"u">typeof Event&&D(t,Event)}function k(t){return I(t,"RegExp")}function w(t){return!!(t?.then&&"function"==typeof t.then)}function D(t,e){try{return t instanceof e}catch{return!1}}function P(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{_&&b.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function $(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,P(t,"__sentry_original__",e)}catch{}}function M(t){if(T(t))return{message:t.message,name:t.name,stack:t.stack,...j(t)};if(C(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 R(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 B(){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,C,"isInstanceOf",0,D,"isObjectLike",0,R,"isParameterizedString",0,A,"isPlainObject",0,N,"isPrimitive",0,O,"isRegExp",0,k,"isRequest",0,function(t){return"u">typeof Request&&D(t,Request)},"isString",0,x,"isThenable",0,w],914046),t.s(["addNonEnumerableProperty",0,P,"convertToPlainObject",0,M,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys(M(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&&$(i,r);try{t[e]=i}catch{_&&b.log(`Failed to replace method "${e}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,$],899619),t.s(["safeDateNow",0,B,"safeMathRandom",0,L,"withRandomSafeContext",0,U],479838);let F=Symbol.for("sentry.skipNormalization"),G=Symbol.for("sentry.overrideNormalizationDepth"),W=/\(error: (.*)\)/,z=/captureMessage|captureException/;function Y(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=e.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=[],s=t.split("\n");for(let t=e;t<s.length;t++){let e=s[t];e.length>1024&&(e=e.slice(0,1024));let a=W.test(e)?e.replace(W,"$1"):e;if(!a.includes("Error: ")){for(let t of r){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+n)break}}var a=i.slice(n);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(J(o).function||"")&&o.pop(),o.reverse(),z.test(J(o).function||"")&&(o.pop(),z.test(J(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||J(o).filename,function:t.function||"?"}))}}function J(t){return t[t.length-1]||{}}let H="<anonymous>";function K(t){try{if(!t||"function"!=typeof t)return H;return t.name||H}catch{return H}}function V(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return function t(e,n){let r,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(r=new WeakSet,[function(t){return!!r.has(t)||(r.add(t),!1)},function(t){r.delete(t)}]),[c,u]=o;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let l=q(e,n);if(!l.startsWith("[object "))return l;if(n[F])return n;let p=(i=n[G],"number"==typeof i?i:void 0),d=void 0!==p?p:s;if(0===d)return l.replace("object ","");if(c(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,d-1,a,o)}catch{}let f=Array.isArray(n)?[]:{},h=0,_=M(n);for(let e in _){if(!Object.prototype.hasOwnProperty.call(_,e))continue;if(h>=a){f[e]="[MaxProperties ~]";break}let n=_[e];f[e]=t(e,n,d-1,a,o),h++}return u(n),f}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function q(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: ${K(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 X(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function Q(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!x(t)&&(k(e)?e.test(t):x(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function Z(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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 tt(t){return t.exception?.values?.[0]}function te(t,e){let n=tt(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 tn(t){try{return t.__sentry_captured__}catch{}}function tr(){return B()/1e3}function ti(){return(i??(i=function(){let{performance:t}=p;if(!t?.now||!t.timeOrigin)return tr;let e=t.timeOrigin;return()=>(e+U(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,Y,"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,K,"normalizeStackTracePath",0,function(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e},"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?Y(...t):t}],25366),t.s(["normalize",0,V,"normalizeToSize",0,function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,i=V(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i},"setNormalizeStringifier",0,function(t){n=t},"stringifyValue",0,q],878174),t.s(["isMatchingPattern",0,Q,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];O(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(q(void 0,r))}return n.join(e)},"snipLine",0,function(t,e){let n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);let 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},"stringMatchesSomePattern",0,function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(let r of e)if(Q(t,r,n))return!0;return!1},"truncate",0,X],399677),t.s(["addExceptionMechanism",0,te,"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(tn(t))return!0;try{P(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=tt(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"isAlreadyCaptured",0,tn,"uuid4",0,Z],387395);let ts=null;function ta(t){let e=ti(),n={sid:Z(),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&&to(n,t),n}function to(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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||ti(),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:Z()),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 tc(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),to(t,n)}function tu(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]: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]=tu(r[t],e[t],n-1));return r}function tl(){return Z()}function tp(){return Z().substring(16)}function td(t){try{let e=p.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}function tf(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}t.s(["browserPerformanceTimeOrigin",0,function(){return null===ts&&(ts=function(){let{performance:t}=p;if(!t?.now)return;let e=U(()=>t.now()),n=B(),r=t.timeOrigin;if("number"==typeof r&&3e5>
2Math.abs(r+e-n))return r;let i=t.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+e-n)?i:n-e}()),ts},"dateTimestampInSeconds",0,tr,"timestampInSeconds",0,ti],847378),t.s(["closeSession",0,tc,"makeSession",0,ta,"updateSession",0,to],817433),t.s(["merge",0,tu],871766),t.s(["generateSpanId",0,tp,"generateTraceId",0,tl],254402);let th="_sentrySpan";function t_(t,e){e?P(t,th,td(e)):delete t[th]}function tg(t){return tf(t[th])}t.s(["_getSpanForScope",0,tg,"_setSpanForScope",0,t_],266361);class tm{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,t_(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&&to(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 tm?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,t_(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tl(),sampleRand:L()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:tr(),...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=tu(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||Z();if(!this._client)return _&&b.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||Z();if(!this._client)return _&&b.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||Z();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):_&&b.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)}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:tl(),sampleRand:L()}}}let tS=t=>t instanceof Promise&&!t[ty],ty=Symbol("chained PromiseLike");class tv{withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}if(w(e)){var r,i,s;let t;return r=e,i=()=>this._popScope(),s=()=>this._popScope(),tS(t=r.then(t=>(i(),t),t=>{throw s(),t}))&&tS(r)?t:((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:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return i.apply(t,n)},enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[ty]:!0}),e})(r,t)}return this._popScope(),e}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}constructor(t,e){let n,r;n=t||new tm,r=e||new tm,this._stack=[{scope:n}],this._isolationScope=r}}function tb(){let t=f(d());return t.stack=t.stack||new tv(h("defaultCurrentScope",()=>new tm),h("defaultIsolationScope",()=>new tm))}function tE(t){return tb().withScope(t)}function tT(t,e){let n=tb();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tI(t){return tb().withScope(()=>t(tb().getIsolationScope()))}function tx(t){let e=f(t);return e.acs?e.acs:{withIsolationScope:tI,withScope:tE,withSetScope:tT,withSetIsolationScope:(t,e)=>tI(e),getCurrentScope:()=>tb().getScope(),getIsolationScope:()=>tb().getIsolationScope()}}function tA(){return tx(d()).getCurrentScope()}function tO(){return tx(d()).getIsolationScope()}function tN(){return h("globalScope",()=>new tm)}function tR(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=tx(d());if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function tC(){return tA().getClient()}t.s(["getAsyncContextStrategy",0,tx],414697),t.s(["getClient",0,tC,"getCurrentScope",0,tA,"getGlobalScope",0,tN,"getIsolationScope",0,tO,"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||tp()};return r&&(a.parent_span_id=r),a},"hasExternalPropagationContext",0,function(){return void 0!==s},"withIsolationScope",0,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=tx(d());if(2===e.length){let[t,n]=e;return t?r.withSetIsolationScope(t,n):r.withIsolationScope(n)}return r.withIsolationScope(e[0])},"withScope",0,tR],451048);let tk="sentry.source",tw="sentry.sample_rate",tD="sentry.previous_trace_sample_rate",tP="sentry.op",t$="sentry.origin",tM="sentry.status.message",tj="sentry.measurement_unit",tU="sentry.measurement_value",tL="sentry.custom_span_name",tB="sentry.profile_id",tF="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,tF,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,tB,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,tL,"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,tj,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,tU,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,t$,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tD,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tw,"SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tk,"SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE",0,tM,"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 tG="sentry-";function tW(t){let e=tz(t);if(!e)return;let n=Object.entries(e).reduce((t,e)=>
2{let[n,r]=e;return n.startsWith(tG)&&(t[n.slice(tG.length)]=r),t},{});return Object.keys(n).length>0?n:void 0}function tz(t){if(t&&(x(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>(Object.entries(tY(e)).forEach(e=>{let[n,r]=e;t[n]=r}),t),{}):tY(t)}function tY(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)=>{let[n,r]=e;return n&&r&&(t[n]=r),t},{})}function tJ(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tC()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function tH(t){b.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function tK(t,e){if(!e?.length)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(t.description&&Q(t.description,r))return _&&tH(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&&Q(t.description,r.name),s=!r.op||t.op&&Q(t.op,r.op),a=!r.attributes||Object.entries(r.attributes).every(e=>{let[n,r]=e;return function(t,e){return"string"==typeof t&&("string"==typeof e||e instanceof RegExp)?Q(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):t===e}(t.attributes?.[n],r)});if(i&&s&&a)return _&&tH(t),!0}return!1}function tV(t){return"stream"===t.getOptions().traceLifecycle}function tq(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 tX(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],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}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,tG,"baggageHeaderToDynamicSamplingContext",0,tW,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce((t,e)=>{let[n,r]=e;return r&&(t[`${tG}${n}`]=r),t},{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,e,n)=>{let[r,i]=e,s=`${encodeURIComponent(r)}=${encodeURIComponent(i)}`,a=0===n?s:`${t},${s}`;return a.length>8192?(_&&b.warn(`Not adding key: ${r} with val: ${i} to baggage header due to exceeding baggage size limits.`),t):a},""):void 0}},"parseBaggageHeader",0,tz],157821),t.s(["hasSpansEnabled",0,tJ],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,tK],121288),t.s(["hasSpanStreamingEnabled",0,tV],304710),t.s(["parseSampleRate",0,tq],958927),t.s(["serializeAttributes",0,tX],574860),t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:1};if(t>=400&&t<500)switch(t){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}],442044);let tQ="_sentryScope",tZ="_sentryIsolationScope",t0=Symbol.for("sentry.otelSourceInference"),t1=Symbol.for("sentry.otelSourceExplicitlySet"),t2=Symbol.for("sentry.tracerProviderSpan");function t3(t,e,n){t&&(P(t,tZ,td(n)),P(t,tQ,e))}function t4(t){return{scope:t[tQ],isolationScope:tf(t[tZ])}}function t8(t){return!0===t[t0]}function t5(t){P(t,t1,!0)}function t7(t){return!0===t[t2]}t.s(["getCapturedScopesOnSpan",0,t4,"markSpanSourceAsExplicit",0,t5,"setCapturedScopesOnSpan",0,t3,"spanIsTracerProviderSpan",0,t7,"spanShouldInferOtelSource",0,t8],22511);let t6=/^o(\d+)\./,t9=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function et(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{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 ee(t){let e=t9.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 en({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function en(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function er(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(t6),e=t?.[1])}return e}function ei(t){let e="string"==typeof t?ee(t):en(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]&&(b.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(b.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(b.error(`Invalid Sentry Dsn: Invalid port ${e}
2`),!1):(b.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}t.s(["dsnFromString",0,ee,"dsnToString",0,et,"extractOrgIdFromClient",0,er,"makeDsn",0,ei],111053);let es=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function ea(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tl(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tp(),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function eo(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tl(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tp(),n=arguments.length>2?arguments[2]:void 0;return`00-${t}-${e}-${n?"01":"00"}`}t.s(["TRACEPARENT_REGEXP",0,es,"generateSentryTraceHeader",0,ea,"generateTraceparentHeader",0,eo,"propagationContextFromHeaders",0,function(t,e){let n=function(t){let e;if(!t)return;let n=t.match(es);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=tW(e);if(!n?.traceId)return{traceId:tl(),sampleRand:L()};let i=function(t,e){let n=tq(e?.sample_rand);if(void 0!==n)return n;let r=tq(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}},"shouldContinueTrace",0,function(t,e){let n=er(t);return e&&n&&e!==n?(b.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)||(b.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}],76357);let ec=!1;function eu(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=e_(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:c}}function el(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:e_(t).parent_span_id,s=t4(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||tp():e,trace_id:n}}function ep(t){return t&&t.length>0?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r,...i},attributes:s}=t;return{span_id:e,trace_id:n,sampled:1===r,attributes:s,...i}}):void 0}function ed(t){return t?.length?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r},attributes:i}=t;return{span_id:e,trace_id:n,sampled:1===r,attributes:i}}):void 0}function ef(t){return"number"==typeof t?eh(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?eh(t.getTime()):ti()}function eh(t){return t>0x2540be3ff?t/1e3:t}function e_(t){if(eS(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(em(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:eg(t),start_timestamp:ef(i),timestamp:ef(a)||void 0,status:ev(o),op:r[tP],origin:r[t$],links:ep(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function eg(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function em(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eS(t){return"function"==typeof t.getSpanJSON}function ey(t){let{traceFlags:e}=t.spanContext();return 1===e}function ev(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function eb(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}function eE(t,e){let n="error"===eb(e)?e?.message:void 0;return{...n&&{[tM]:n},...t}}let eT="_sentryChildSpans",eI="_sentryRootSpan";function ex(t,e){let n=t[eI]||t;P(e,eI,n),t[eT]?t[eT].add(e):P(t,eT,new Set([e]))}function eA(t){let e=new Set;return!function t(n){if(!e.has(n)&&ey(n))for(let r of(e.add(n),n[eT]?Array.from(n[eT]):[]))t(r)}(t),Array.from(e)}let eO=eN;function eN(t){return t[eI]||t}function eR(){let t=tx(d());return t.getActiveSpan?t.getActiveSpan():tg(tA())}function eC(){ec||(m(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ec=!0)}t.s(["INTERNAL_getSegmentSpan",0,eN,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,ex,"addStatusMessageAttribute",0,eE,"convertSpanLinksForEnvelope",0,ep,"getActiveSpan",0,eR,"getRootSpan",0,eO,"getSimpleStatus",0,eb,"getSpanDescendants",0,eA,"getStatusMessage",0,ev,"getStreamedSpanLinks",0,ed,"removeChildSpanFromSpan",0,function(t,e){t[eT]&&t[eT].delete(e)},"showSpanDropWarning",0,eC,"spanIsSampled",0,ey,"spanTimeInputToSeconds",0,ef,"spanToJSON",0,e_,"spanToStreamedSpanJSON",0,function(t){if(eS(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(em(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:eg(t),start_timestamp:ef(i),end_timestamp:ef(a),is_segment:t===eN(t),status:eb(o),attributes:eE(r,o),links:ed(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===eN(t)}},"spanToTraceContext",0,el,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return ea(e,n,ey(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eo(e,n,ey(t))},"spanToTransactionTraceContext",0,eu,"streamedSpanJsonToSerializedSpan",0,function(t){return{...t,attributes:tX(t.attributes),links:t.links?.map(t=>({...t,attributes:tX(t.attributes)}))}}],893859);let ek="production";t.s(["DEFAULT_ENVIRONMENT",0,ek],872028);let ew=Symbol.for("sentry.nonRecordingSpan");class eD{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){}constructor(t={}){this._traceId=t.traceId||tl(),this._spanId=t.spanId||tp(),this.dropReason=t.dropReason,P(this,ew,!0)}}function eP(t){return!!t&&!0===t[ew]}t.s(["SentryNonRecordingSpan",0,eD,"spanIsNonRecordingSpan",0,eP],333226);let e$="_frozenDsc";function eM(t,e){P(t,e$,e)}function ej(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||ek,release:n.release,public_key:r,trace_id:t,org_id:er(e)};return e.emit("createDsc",i),i}function eU(t,e){let n=e.getPropagationContext();return n.dsc||ej(n.traceId,t)}function eL(t){let e=tC();if(!e)return{};let n=eO(t),r=e_(n),i=r.data,s=n.spanContext().traceState,a=s?.get("sentry.sample_rate")??i[tw]??i[tD];function o(t){return("number"==typeof a||"string"==typeof a)&&(t.sample_rate=`${a}`),t}let c=n[e$];if(c)return o(c);let u=eP(n),l=u&&"ignored"===n.dropReason;if(u&&(!tJ(e.getOptions())||l)){let t=t4(n).scope;if(t){let n={...eU(e,t)};return l&&(n.sampled="false"),o(n)}}let p=s?.get("sentry.dsc"),d=p&&tW(p);if(d)return o(d);let f=ej(t.spanContext().traceId,e),h=i[tk]??i["sentry.segment.name.source"],_=r.description;return"url"!==h&&_&&(f.transaction=_),tJ()&&(f.sampled=String(ey(n)),f.sample_rand=s?.get("sentry.sample_rand")??t4(n).scope?.getPropagationContext().sampleRand.toString()),o(f),e.emit("createDsc",f,n),f}function eB(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}function eF(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[t,e]}function eG(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function eW(t){let e=f(p);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function ez(t){return[{type:"span"},t]}t.s(["freezeDscOnSpan",0,eM,"getDynamicSamplingContextFromScope",0,eU,"getDynamicSamplingContextFromSpan",0,eL],540735),t.s(["isStreamedBeforeSendSpanCallback",0,eB],665720);let eY={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 eJ(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function eH(t,e,n,r){let i=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(B()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:et(r)},...i&&{trace:i}}}function eK(t,e){let n=eL(t[0]),r=e?.getDsn(),i=e?.getOptions().tunnel,s={sent_at:new Date(B()).toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:et(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>{let e=e_(t);return!tK({description:e.description,op:e.op,attributes:e.data},o)}):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);let l=a?t=>{let e=e_(t),n=eB(a)?e:a(e);return n||(eC(),e)}:e_,p=[];for(let t of c){let e=l(t);e&&p.push(ez(e))}return eF(s,p)}function eV(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tj],i=n[tU];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}function eq(){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?eW(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,eF,"createEventEnvelopeHeaders",0,eH,"createSpanEnvelopeItem",0,ez,"envelopeContainsItemType",0,function(t,e){return eG(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in eY?eY[t]:t},"forEachEnvelopeItem",0,eG,"getSdkMetadataForEnvelopeHeader",0,eJ,"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[eW(r),t]:r.push("string"==typeof t?eW(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(V(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)}],357082),t.s(["createEventEnvelope",0,function(t,e,n,r){let i=eJ(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=eH(t,i,r,e);return delete t.sdkProcessingMetadata,eF(a,[[{type:s},t]])},"createSessionEnvelope",0,function(t,e,n,r){let i=eJ(n);return eF({sent_at:new Date(B()).toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:et(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,eK],347907),t.s(["setMeasurement",0,function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:eR(),i=r&&eO(r);i&&(_&&b.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),i.addEvent(t,{[tU]:e,[tj]:n}))},"timedEventsToMeasurements",0,eV],190225);class eX{addLink(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===tk&&void 0!==e&&t8(this)&&t5(this)),this}
4setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._frozen||(this._startTime=ef(t))}setStatus(t){return this._frozen||(this._status=t),this}updateName(t){return this._frozen||(this._name=t,t8(this)||this.setAttribute(tk,"custom")),this}end(t){if(this._endTime){this._frozen=t7(this);return}this._endTime=ef(t),function(t){if(!_)return;let{description:e="< unknown name >",op:n="< unknown op >"}=e_(t),{spanId:r}=t.spanContext(),i=eO(t)===t,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${e}" with ID ${r}`;b.log(s)}(this),this._onSpanEnded(),this._frozen=t7(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:ev(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[t$],profile_id:this._attributes[tB],exclusive_time:this._attributes[tF],measurements:eV(this._events),is_segment:this._isStandaloneSpan&&eO(this)===this||void 0,segment_id:this._isStandaloneSpan?eO(this).spanContext().spanId:void 0,links:ep(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===eO(this),status:eb(this._status),attributes:eE(this._attributes,this._status),links:ed(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){if(this._frozen)return this;_&&b.log("[Tracing] Adding an event to span:",t);let r=eQ(e)?e:n||ti(),i=eQ(e)?{}:e||{},s={name:t,time:ef(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=tC();t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this));let e=eO(this),n=this._isStandaloneSpan||this===e;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=tC();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(eK([this],t)):(_&&b.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(!n){let t=eq();if(t){let n=t4(this).scope||tA();t.onChildSpanEnded(this,e,t=>this._convertSpanToTransaction(t),n)}return}if(t&&tV(t))return void t.emit("afterSegmentSpanEnd",this);let r=t4(this).scope||tA(),i=eq();if(i)i.onSegmentSpanEnded(t=>this._convertSpanToTransaction(t),r);else{let t=this._convertSpanToTransaction();t&&r.captureEvent(t)}}_convertSpanToTransaction(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!eZ(e_(this)))return;this._name||(_&&b.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:n}=t4(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;t.onSpanCaptured?.(this);let i=[];for(let e of eA(this)){var s;if(e===this||(s=e)instanceof eX&&s.isStandaloneSpan()||t.isSpanAlreadyCaptured?.(e))continue;let n=e_(e);eZ(n)&&(t.onSpanCaptured?.(e),i.push(n))}let a=this._attributes[tk];delete this._attributes[tL];let o=!1;i.forEach(t=>{delete t.data[tL],t.op?.startsWith("gen_ai.")&&(o=!0)});let c={contexts:{trace:eu(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:eL(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},u=eV(this._events);return u&&Object.keys(u).length&&(_&&b.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),c.measurements=u),c}constructor(t={}){this._traceId=t.traceId||tl(),this._spanId=t.spanId||tp(),this._startTime=t.startTimestamp||ti(),this._links=t.links,this._attributes={},this.setAttributes({[t$]:"manual",[tP]: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()}}function eQ(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function eZ(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}function e0(t,e){let n=e2();return n.withActiveSpan?n.withActiveSpan(t,e):tR(n=>(t_(n,t||void 0),e(n)))}function e1(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tA(),e=e2();return e.isTracingSuppressed?e.isTracingSuppressed(t):!0===t.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function e2(){return tx(d())}function e3(t,e,n,r){let i=tC(),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=e1(e),[d,f,h]=p?[!1]:function(t,e,n){let r,i;if(!tJ(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=tq(r);if(void 0===s)return _&&b.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 _&&b.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&&_&&b.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:tq
4(l.dsc?.sample_rate)},l.sampleRand),g=new eX({...t,attributes:{[tk]:"custom",[tw]:void 0!==f&&h?f:void 0,...u},sampled:d});return d||!i||p||(_&&b.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),i.recordDroppedEvent("sample_rate",tV(i)?"span":"transaction")),t3(g,e,n),i&&i.emit("spanStart",g),g}function e4(t){return new e5(e=>{e(t)})}function e8(t){return new e5((e,n)=>{n(t)})}t.s(["SentrySpan",0,eX],320648),t.s(["spanIsIgnored",0,function(t){return eP(t)&&"ignored"===t.dropReason},"startInactiveSpan",0,function(t){let e=e2();return e.startInactiveSpan?e.startInactiveSpan(t):function(t){let e=function(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=ef(t.startTime),delete n.startTime,n}return e}(t),{forceTransaction:n,parentSpan:r}=t;return(t.scope?e=>tR(t.scope,e):void 0!==r?t=>e0(r,t):t=>t())(()=>{var i,s;let a,o=tA(),c=function(t,e){if(e)return e;if(null===e)return;let n=tg(t);if(!n)return;let r=tC();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?eO(n):n}(o,r),u=tC();return t.onlyIfParent&&!c?(i=o,s=u,s?.recordDroppedEvent("no_parent_span","span"),t3(a=new eD({traceId:i.getPropagationContext().traceId}),i,tO()),a):function(t){var e,n;let r,i,{parentSpan:s,spanArguments:a,forceTransaction:o,scope:c}=t,u=tO();if(!tJ()){let t={...u.getPropagationContext(),...c.getPropagationContext()},e=new eD({traceId:s?s.spanContext().traceId:t.traceId});return s&&!o&&ex(s,e),t3(e,c,u),e}let l=tC();if(e=l,n=a,r=e?.getOptions().ignoreSpans,e&&tV(e)&&r?.length&&tK({description:n.name||"",op:n.attributes?.[tP]||n.op,attributes:n.attributes},r)){e1(c)||l?.recordDroppedEvent("ignored","span");let t=new eD({dropReason:"ignored",traceId:s?.spanContext().traceId??c.getPropagationContext().traceId});return s&&!o&&ex(s,t),t3(t,c,u),t}if(s&&!o)i=function(t,e,n,r){let{spanId:i,traceId:s}=t.spanContext(),a=e1(e),o=!a&&ey(t),c=o?new eX({...n,parentSpanId:i,traceId:s,sampled:o}):new eD({traceId:s});ex(t,c),t3(c,e,r);let u=tC();return u&&(tV(u)&&eP(c)&&(eP(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}(s,c,a,u),ex(s,i);else if(s){let t=eL(s),{traceId:e,spanId:n}=s.spanContext(),r=ey(s);eM(i=e3({traceId:e,parentSpanId:n,...a},c,u,r),t)}else{let{traceId:t,dsc:e,parentSpanId:n,sampled:r}={...u.getPropagationContext(),...c.getPropagationContext()};i=e3({traceId:t,parentSpanId:n,...a},c,u,r),e&&eM(i,e)}return!function(t){if(!_)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=e_(t),{spanId:i}=t.spanContext(),s=ey(t),a=eO(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}=e_(a);u.push(`root ID: ${a.spanContext().spanId}`),t&&u.push(`root op: ${t}`),e&&u.push(`root description: ${e}`)}b.log(`${c}
5  ${u.join("\n  ")}`)}(i),i}({parentSpan:c,spanArguments:e,forceTransaction:n,scope:o})})}(t)},"startNewTrace",0,function(t){let e=e2();return e.startNewTrace?e.startNewTrace(t):tR(e=>(e.setPropagationContext({traceId:tl(),sampleRand:L()}),_&&b.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),e0(null,t)))},"withActiveSpan",0,e0],908817);class e5{then(t,e){return new e5((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 e5((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)}}constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}}function e7(t,e){var n,r,i,s,a,o,c,u;let l,p,{fingerprint:d,span:f,breadcrumbs:h,sdkProcessingMetadata:_}=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:el(r=f),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:eL(r),...n.sdkProcessingMetadata},(l=e_(eO(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=h,p=[...a.breadcrumbs||[],...o],a.breadcrumbs=p.length?p:void 0,c=t,u=_,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function e6(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:h,span:_}=e;e9(t,"extra",n),e9(t,"tags",r),e9(t,"attributes",i),e9(t,"user",s),e9(t,"contexts",a),t.sdkProcessingMetadata=tu(t.sdkProcessingMetadata,c,2),o&&(t.level=o),h&&(t.transactionName=h),_&&(t.span=_),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 e9(t,e,n){t[e]=tu(t[e],n,1)}function nt(t,e){let n=tN().getScopeData();return t&&e6(n,t.getScopeData()),e&&e6(n,e.getScopeData()),n}function ne(t){if(t){var e;return(e=t)instanceof tm||"function"==typeof e||Object.keys(t).some(t=>nn.includes(t))?{captureContext:t}:t}}t.s(["rejectedSyncPromise",0,e8,"resolvedSyncPromise",0,e4],980323),t.s(["applyScopeDataToEvent",0,e7,"getCombinedScopeData",0,nt],272536);let nn=["user","level","extra","contexts","tags","fingerprint","propagationContext"];async function nr(t){let e=tC();return e?e.flush(t):(_&&b.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function ni(){let t=tO(),e=tA().getSession()||t.getSession();e&&tc(e),ns(),t.setSession()}function ns(){let t=tO(),e=tC(),n=t.getSession();n&&e&&e.captureSession(n)}function na(t){let e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}t.s(["parseEventHintOrCaptureContext",0,ne,"prepareEvent",0,function(t,e,n,r,i,s){var l,d,f;let h,{normalizeDepth:g=3,normalizeMaxBreadth:m=1e3}=t,S={...e,event_id:e.event_id||n.event_id||Z(),timestamp:e.timestamp||tr()},y=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||ek,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let a=t.request;a?.url&&s&&(a.url=X(a.url,s)),s&&t.exception?.values?.forEach(t=>{t.value&&(t.value=X(t.value,s))})})(S,t),l=S,(d=y).length>0&&(l.sdk=l.sdk||{},l.sdk.integrations=[...l.sdk.integrations||[],...d]),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&(f=S,h=function(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}(t.stackParser),f.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=h[t.filename])})}));let v=function(t,e){if(!e)return t;let n=t?t.clone():new tm;return n.update(e),n}(r,n.captureContext);n.mechanism&&te(S,n.mechanism);let E=i?i.getEventProcessors():[],T=nt(s,v),I=[...n.attachments||[],...T.attachments];I.length&&(n.attachments=I),e7(S,T);let x=[...E,...T.eventProcessors];return(n.data&&!0===n.data.__sentry__?e4(S):function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]: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(_&&null===a&&b.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:e4(i)}catch(t){return e8(t)}
5}(x,S,n)).then(t=>(t&&function(t){let e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.entries(e).forEach(t=>{let[e,r]=t;n.push({type:"sourcemap",code_file:e,debug_id:r})})}(t),"number"==typeof g&&g>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:V(t.data,e,n)}}))},...t.user&&{user:V(t.user,e,n)},...t.contexts&&{contexts:V(t.contexts,e,n)},...t.extra&&{extra:V(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=V(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:V(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=V(t.contexts.flags,3,n)),r}(t,g,m):t)}],929203),t.s(["addEventProcessor",0,function(t){tO().addEventProcessor(t)},"captureEvent",0,function(t,e){return tA().captureEvent(t,e)},"captureException",0,function(t,e){return tA().captureException(t,ne(e))},"captureSession",0,function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?ni():ns()},"flush",0,nr,"isEnabled",0,function(){let t=tC();return t?.getOptions().enabled!==!1&&!!t?.getTransport()},"isInitialized",0,function(){return!!tC()},"lastEventId",0,function(){return tO().lastEventId()},"setContext",0,function(t,e){tO().setContext(t,e)},"startSession",0,function(t){let e=tO(),{user:n}=nt(e,tA()),{userAgent:r}=p.navigator||{},i=ta({user:n,...r&&{userAgent:r},...t}),s=e.getSession();return s?.status==="ok"&&to(s,{status:"exited"}),ni(),e.setSession(i),i}],275885),t.s(["getEnvelopeEndpointWithUrlEncodedAuth",0,function(t,e,n){let r;return e||`${na(t)}${t.projectId}/envelope/?${r={sentry_version:"7"},t.publicKey&&(r.sentry_key=t.publicKey),n&&(r.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(r).toString()}`},"getReportDialogEndpoint",0,function(t,e){let n=ei(t);if(!n)return"";let r=`${na(n)}embed/error-page/`,i=`dsn=${et(n)}`;for(let t in e)if("dsn"!==t&&"onClose"!==t)if("user"===t){let t=e.user;if(!t)continue;t.name&&(i+=`&name=${encodeURIComponent(t.name)}`),t.email&&(i+=`&email=${encodeURIComponent(t.email)}`)}else i+=`&${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`;return`${r}?${i}`}],623827)},627430,t=>{"use strict";var e,n=t.i(451048),r=t.i(182021),i=t.i(275885),s=t.i(623827),a=t.i(433908),o=t.i(159072);function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=o.WINDOW.document,c=e?.head||e?.body;if(!c){a.DEBUG_BUILD&&r.debug.error("[showReportDialog] Global document not defined");return}let u=(0,n.getCurrentScope)(),l=(0,n.getClient)(),p=l?.getDsn();if(!p){a.DEBUG_BUILD&&r.debug.error("[showReportDialog] DSN not configured");return}let d={...t,user:{...u.getUser(),...t.user},eventId:t.eventId||(0,i.lastEventId)()},f=o.WINDOW.document.createElement("script");f.async=!0,f.crossOrigin="anonymous",f.src=(0,s.getReportDialogEndpoint)(p,d);let{onLoad:h,onClose:_}=d;if(h&&(f.onload=h),_){let t=e=>{if("__sentry_reportdialog_closed__"===e.data)try{_()}finally{o.WINDOW.removeEventListener("message",t)}};o.WINDOW.addEventListener("message",t)}c.appendChild(f)}var u=t.i(191788);let l="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var p=t.i(914046);let d=Symbol.for("react.forward_ref"),f=Symbol.for("react.memo"),h={};h[d]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},h[f]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.defineProperty.bind(Object),Object.getOwnPropertyNames.bind(Object),Object.getOwnPropertySymbols?.bind(Object),Object.getOwnPropertyDescriptor.bind(Object),Object.getPrototypeOf.bind(Object);let _={componentStack:null,error:null,eventId:null};class g extends u.Component{componentDidCatch(t,e){let{componentStack:r}=e,{beforeCapture:s,onError:a,showDialog:o,dialogOptions:l}=this.props;(0,n.withScope)(n=>{s&&s(n,t,r);let d=function(t,e,n){let r,{componentStack:s}=e;if(null!==(r=u.version.match(/^([^.]+)/))&&parseInt(r[0])>=17&&(0,p.isError)(t)&&s){let e,n=Error(t.message);n.name=`React ErrorBoundary ${t.name}`,n.stack=s,e=new WeakSet,function t(n,r){if(!e.has(n)){if(n.cause)return e.add(n),t(n.cause,r);n.cause=r}}(t,n)}return(0,i.captureException)(t,n)}(t,e,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback,type:"auto.function.react.error_boundary"}});a&&a(t,r,d),o&&(this._lastEventId=d,this._openFallbackReportDialog&&c({...l,eventId:d})),this.setState({error:t,componentStack:r,eventId:d})})}componentDidMount(){let{onMount:t}=this.props;t&&t()}componentWillUnmount(){let{error:t,componentStack:e,eventId:n}=this.state,{onUnmount:r}=this.props;r&&(this.state===_?r(null,null,null):r(t,e,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:t}=this.props,{error:e,componentStack:n,eventId:r}=this.state;t&&t(e,n,r),this.setState(_)}render(){let{fallback:t,children:e}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof e?e():e;let i="function"==typeof t?u.createElement(t,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):t;return u.isValidElement(i)?i:(t&&l&&r.debug.warn("fallback did not produce a valid ReactElement"),null)}constructor(t){super(t),this.state=_,this._openFallbackReportDialog=!0;const e=(0,n.getClient)();e&&t.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=e.on("afterSendEvent",e=>{!e.type&&this._lastEventId&&e.event_id===this._lastEventId&&c({...t.dialogOptions,eventId:this._lastEventId})}))}}var m=((e={}).WARNING="warning",e);function S(t,e){!function(t,e){if(!i.isInitialized())return;let r=function(t,e){if("string"!=typeof t)return t;let n=Error(t);if(e&&Object.assign(n,{cause:e}),!n.stack)return n;let r=n.stack.split("\n");return delete r[1],delete r[2],delete r[3],"string"==typeof r[4]&&r[4]?.includes("at notify(")&&delete r[4],n.stack=r.flat().join("\n"),n}(t,e?.cause);n.withScope(t=>{if(e?.extraSections)for(let[n,r]of Object.entries(e.extraSections))t.setContext(n,r);e?.context&&t.setTransactionName(e.context),e?.groupBy&&t.setFingerprint([e.groupBy]),e?.tags&&t.setTags(e.tags),e?.severity&&t.setLevel(e.severity),i.captureException(r)})}(t,e)}t.s(["ErrorBoundary",0,g,"Severity",()=>m,"notifyError",0,S,"notifyErrorCallback",0,function(t){return function(e){return"string"==typeof t?S(e,{context:t}):S(e,t)}}],627430)}]);
6
7//# debugId=6d5ecb99-0b75-4a98-62fc-033ab4cfcf8f

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.