1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f3afecf1-eb49-46e1-b512-0db6a25fe797`,e._sentryDebugIdIdentifier=`sentry-dbid-f3afecf1-eb49-46e1-b512-0db6a25fe797`)}catch{}})();import{B as e,z as t}from"./chunk-m27bmrwz.js";var n=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,r=globalThis,i=`11.0.0`;function a(){return o(r),r}function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`11.0.0`,t[i]=t[`11.0.0`]||{}}function s(e,t,n=r){let a=n.__SENTRY__=n.__SENTRY__||{},o=a[i]=a[`11.0.0`]||{};return o[e]||(o[e]=t())}var c=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],l=`Sentry Logger `,u={};function d(e){if(!(`console`in r))return e();let t=r.console,n={},i=Object.keys(u);i.forEach(e=>{let r=u[e];n[e]=t[e],t[e]=r});try{return e()}finally{i.forEach(e=>{t[e]=n[e]})}}function f(){g().enabled=!0}function p(){g().enabled=!1}function m(){return g().enabled}function h(...e){ne(`log`,...e)}function ee(...e){ne(`warn`,...e)}function te(...e){ne(`error`,...e)}function ne(e,...t){n&&m()&&d(()=>{r.console[e](`${l}[${e}]:`,...t)})}function g(){return n?s(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var _={enable:f,disable:p,isEnabled:m,log:h,warn:ee,error:te},re=50,ie=/\(error: (.*)\)/,ae=/captureMessage|captureException/;function oe(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(` 2`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=ie.test(n)?n.replace(ie,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=re+r)break}}return ce(i.slice(r))}}function se(e){return Array.isArray(e)?oe(...e):e}function ce(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(v(t).function||``)&&t.pop(),t.reverse(),ae.test(v(t).function||``)&&(t.pop(),ae.test(v(t).function||``)&&t.pop()),t.slice(0,re).map(e=>({...e,filename:e.filename||v(t).filename,function:e.function||`?`}))}function v(e){return e[e.length-1]||{}}var le=`<anonymous>`;function ue(e){try{return!e||typeof e!=`function`?le:e.name||le}catch{return le}}function de(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var fe=Object.prototype.toString;function pe(e){switch(fe.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return C(e,Error)}}function y(e,t){return fe.call(e)===`[object ${t}]`}function me(e){return y(e,`ErrorEvent`)}function he(e){return y(e,`DOMError`)}function ge(e){return y(e,`DOMException`)}function b(e){return y(e,`String`)}function _e(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function x(e){return e===null||_e(e)||typeof e!=`object`&&typeof e!=`function`}function ve(e){return y(e,`Object`)}function ye(e){return typeof e==`object`&&!!e}function be(e){return typeof Event<`u`&&C(e,Event)}function xe(e){return y(e,`RegExp`)}function S(e){return!!(e?.then&&typeof e.then==`function`)}function C(e,t){try{return e instanceof t}catch{return!1}}function Se(e){return typeof Request<`u`&&C(e,Request)}function Ce(e,t,r){if(!(t in e))return;let i=e[t];if(typeof i!=`function`)return;let a=r(i);typeof a==`function`&&we(a,i);try{e[t]=a}catch{n&&_.log(`Failed to replace method "${t}" in object`,e)}}function w(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{n&&_.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function we(e,t){try{e.prototype=t.prototype=t.prototype||{},w(e,`__sentry_original__`,t)}catch{}}function Te(e){return e.__sentry_original__}function Ee(e){if(pe(e))return{message:e.message,name:e.name,stack:e.stack,...De(e)};if(be(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...De(e)}}return e}function De(e){return ye(e)?Object.fromEntries(Object.entries(e)):{}}function Oe(e){let t=Object.keys(Ee(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var T;function E(e){if(T!==void 0)return T?T(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=r;return t in n&&typeof n[t]==`function`?(T=n[t],T(e)):(T=null,e())}function D(){return E(()=>Math.random())}function O(){return E(()=>Date.now())}var ke=Symbol.for(`sentry.skipNormalization`),Ae=Symbol.for(`sentry.overrideNormalizationDepth`);function je(e){return!!e[ke]}function Me(e){let t=e[Ae];return typeof t==`number`?t:void 0}var Ne;function Pe(e){Ne=e}function k(e,t=100,n=1/0){try{return Ie(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Fe(e,t=3,n=102400){let r=k(e,t);return Be(r)>n?Fe(e,t-1,n):r}function Ie(e,t,n=1/0,r=1/0,i=Ve()){let[a,o]=i;
2if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Le(e,t);if(!s.startsWith(`[object `))return s;if(je(t))return t;let c=Me(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return Ie(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Ee(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=Ie(e,t,l-1,r,i),f++}return o(t),d}function Le(e,t){try{if(Ne){let e=Ne(t);if(e)return e}return typeof globalThis<`u`&&t===globalThis?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${ue(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${Re(t)}]`}catch(e){return`**non-serializable** (${e})`}}function Re(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function ze(e){return~-encodeURI(e).split(/%..|./).length}function Be(e){return ze(JSON.stringify(e))}function Ve(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function He(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Ue(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];x(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Le(void 0,r))}return n.join(t)}function We(e,t,n=!1){return b(e)?xe(t)?t.test(e):b(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function Ge(e,t=[],n=!1){for(let r of t)if(We(e,r,n))return!0;return!1}function Ke(){let e=r;return e.crypto||e.msCrypto}var qe;function Je(){return D()*16}function A(e=Ke()){try{if(e?.randomUUID)return E(()=>e.randomUUID()).replace(/-/g,``)}catch{}return qe||=`10000000100040008000100000000000`,qe.replace(/[018]/g,e=>(e^(Je()&15)>>e/4).toString(16))}function Ye(e){return e.exception?.values?.[0]}function Xe(e){let{message:t,event_id:n}=e;if(t)return t;let r=Ye(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function Ze(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function Qe(e,t){let n=Ye(e);n&&et(n,t)}function $e(e,t){let n=e.exception?.values,r=n?.find(e=>e.mechanism?.exception_id===0)??n?.[0];r&&et(r,t)}function et(e,t){let n={type:`generic`,handled:!0},r=e.mechanism;e.mechanism={...n,...r,...t},t&&`data`in t&&(e.mechanism.data={...r?.data,...t.data})}function tt(e){if(nt(e))return!0;try{w(e,`__sentry_captured__`,!0)}catch{}return!1}function nt(e){try{return e.__sentry_captured__}catch{}}var rt=1e3;function j(){return O()/rt}function it(){let{performance:e}=r;if(!e?.now||!e.timeOrigin)return j;let t=e.timeOrigin;return()=>(t+E(()=>e.now()))/rt}var at;function M(){return(at??=it())()}var ot=null;function st(){let{performance:e}=r;if(!e?.now)return;let t=E(()=>e.now()),n=O(),i=e.timeOrigin;return typeof i==`number`&&Math.abs(i+t-n)<3e5?i:n-t}function ct(){return ot===null&&(ot=st()),ot}function lt(e){let t=M(),n={sid:A(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>dt(n)};return e&&N(n,e),n}function N(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||M(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:A()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),t
2ypeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ut(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),N(e,n)}function dt(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function P(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=P(r[e],t[e],n-1));return r}function F(){return A()}function I(){return A().substring(16)}var ft=100,L=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},w(this,`refs`,{}),this._propagationContext={traceId:F(),sampleRand:D()}}clone(){let t=new e;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.refs={...this.refs},t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&N(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():ve(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:ft;if(n<=0)return this;let r={timestamp:j(),...e,message:e.message?He(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=P(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t?.event_id||A();if(!this._client)return n&&_.warn(`No client configured on scope - will not capture exception!`),r;let i=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureMessage(e,t,r){let i=r?.event_id||A();if(!this._client)return n&&_.warn(`No client configured on scope - will not capture message!`),i;let a=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:a,...r,event_id:i},this),i}captureEvent(e,t){let r=e.event_id||t?.event_id||A();return this._client?(this._client.captureEvent(e,{...t,event_id:r},this),r):(n&&_.warn(`No client configured on scope - will not capture event!`),r)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),!1)}};function pt(){return s(`defaultCurrentScope`,()=>new L)}function mt(){return s(`defaultIsolationScope`,()=>new L)}var ht=`__SENTRY_SUPPRESS_TRACING__`,gt=e=>e instanceof Promise&&!e[_t],_t=Symbol(`chained PromiseLike`),vt=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return gt(r)&>(e)?r:yt(e,r)},yt=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[_t]:!0}),t},bt=class{constructor(e,t){let n;n=e||new L;let r;r=t||new L,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return S(n)?vt(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function R(){let e=o(a());return e.stack=e.stack||new bt(pt(),mt())}function xt(e){return R().withScope(e)}function St(e,t){let n=R();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Ct(e){return R().withScope(()=>e(R().getIsolationScope()))}function wt(){return{suppressTracing:Tt,withIsolationScope:Ct,withScope:xt,withSetScope:St,withSetIsolationScope:(e,t)=>Ct(t),getCurrentScope:()=>R().getScope(),getIsolationScope:()=>R().getIsolationScope()}}function Tt(e){return xt(t=>{t.setSDKProcessingMetadata({[ht]:!0});let n=e();return t.setSDKProcessingMetadata({[ht]:void 0}),n})}function z(e){let t=o(e);return t.acs?t.acs:wt()}function Et(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function Dt(e,t){let{value:n,unit:r}=Et(e)?e:{value:e,unit:void 0},i=jt(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function Ot(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=Dt(i,t);e&&(n[r]=e)}return n}function kt(e){if(!e)return 0;let t=0;for(let[n,r]of Object.entries(e)){t+=n.length*2,t+=r.type.length*2,t+=(r.unit?.length??0)*2;let e=r.value;Array.isArray(e)?t+=At(e[0])*e.length:x(e)?t+=At(e):t+=100}return t}function At(e){return typeof e==`string`?e.length*2:typeof e==`boolean`?4:typeof e==`number`?8:0}function jt(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}function Mt(){return o(a()).externalPropagationContextProvider?.()}function Nt(){return o(a()).externalPropagationContextProvider!==void 0}function B(){return z(a()).getCurrentScope()}function V(){return z(a()).getIsolationScope()}function Pt(){return s(`globalScope`,()=>new L)}function Ft(...e){let t=z(a());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function H(){return B().getClient()}function It(e){let t=Mt();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),a={trace_id:n,span_id:i||I()};return r&&(a.parent_span_id=r),a}var Lt=`browser.navigation.id`,Rt=`browser.navigation.type`,zt=`browser.paint.type`,Bt=`code.file.path`,Vt=`code.function.name`,Ht=`http.request.header`,Ut=`http.request.method`,Wt=`http.request.same_origin`,Gt=`http.response.body.size`,Kt=`http.response.size`,qt=`http.response.status_code`,Jt=`network.connection.effective_type`,Yt=`network.connection.rtt`,Xt=`network.connection.type`,Zt=`params`,Qt=`router.navigation.route.id`,$t=`sentry.description`,en=`sentry.idle_span_finish_reason`,tn=`sentry.op`,nn=`sentry.origin`,rn=`sentry.replay_id`,an=`sentry.sdk.name`,on=`sentry.sdk.version`,sn=`sentry.segment.id`,cn=`sentry.segment.name`,U=`sentry.segment.name.source`,ln=`sentry.trace_lifecycle`,un=`sentry.transaction`,dn=`server.address`,fn=`server.port`,pn=`ui.component_name`,mn=`url.domain`,hn=`url.fragment`,gn=`url.full`,_n=`url.path`,vn=`url.path.parameter`,yn=`url.query`,bn=`url.scheme`,xn=`url.template`,Sn=`user_agent.original`,Cn=`sentry.sample_rate`,wn=`sentry.previous_trace_sample_rate`,Tn=`sentry.op`,En=`sentry.origin`,Dn=`sentry.idle_span_finish_reason`,On=`sentry.measurement_unit`,kn=`sentry.measurement_value`,An=`sentry.release`,jn=`sentry.environment`,Mn=`sentry.sdk.integrations`,Nn=`user.id`,Pn=`user.email`,Fn=`user.ip_address`,In=`user.name`,Ln=`
2sentry.custom_span_name`,Rn=`sentry.profile_id`,zn=`sentry.exclusive_time`,Bn=`sentry.link.type`,Vn=`gen_ai.conversation.id`,Hn=[`ok`,`deadline_exceeded`,`unauthenticated`,`permission_denied`,`not_found`,`resource_exhausted`,`invalid_argument`,`unimplemented`,`unavailable`,`internal_error`,`unknown_error`,`cancelled`,`already_exists`,`failed_precondition`,`aborted`,`out_of_range`,`data_loss`];function Un(e){return e!==`ok`&&Hn.includes(e)}function Wn(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:`unauthenticated`};case 403:return{code:2,message:`permission_denied`};case 404:return{code:2,message:`not_found`};case 409:return{code:2,message:`already_exists`};case 413:return{code:2,message:`failed_precondition`};case 429:return{code:2,message:`resource_exhausted`};case 499:return{code:2,message:`cancelled`};default:return{code:2,message:`invalid_argument`}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:`unimplemented`};case 503:return{code:2,message:`unavailable`};case 504:return{code:2,message:`deadline_exceeded`};default:return{code:2,message:`internal_error`}}return{code:2,message:`internal_error`}}function Gn(e,t){e.setAttribute(`http.response.status_code`,t);let n=Wn(t);n.message!==`unknown_error`&&e.setStatus(n)}function Kn(e){try{let t=r.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function qn(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var Jn=`_sentryScope`,Yn=`_sentryIsolationScope`,Xn=Symbol.for(`sentry.tracerProviderSpan`);function Zn(e,t,n){e&&(w(e,Yn,Kn(n)),w(e,Jn,t))}function W(e){let t=e;return{scope:t[Jn],isolationScope:qn(t[Yn])}}function Qn(e){return e[Xn]===!0}var $n=`sentry-`;function er(e){let t=nr(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function tr(e){if(e)return ir(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${$n}${t}`]=n),e),{}))}function nr(e){if(!(!e||!b(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=rr(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):rr(e)}function rr(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function ir(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((e,[t,r],i)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,o=i===0?a:`${e},${a}`;return o.length>8192?(n&&_.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):o},``)}var ar=/^o(\d+)\./,or=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function sr(e){return e===`http`||e===`https`}function cr(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function lr(e){let t=or.exec(e);if(!t){d(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return ur({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function ur(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function dr(e){if(!n)return!0;let{port:t,projectId:r,protocol:i}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>!e[t]&&(_.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:r.match(/^\d+$/)?sr(i)?t&&isNaN(parseInt(t,10))?(_.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(_.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(_.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function fr(e){return e.match(ar)?.[1]}function pr(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=fr(n)),r}function mr(e){let t=typeof e==`string`?lr(e):ur(e);if(!(!t||!dr(t)))return t}function hr(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var gr=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function _r(e){if(!e)return;let t=e.match(gr);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function vr(e,t){let n=_r(e),r=er(t);if(!n?.traceId)return{traceId:F(),sampleRand:D()};let i=xr(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:o,parentSampled:s}=n;return{traceId:a,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:i}}function yr(e=F(),t=I(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function br(e=F(),t=I(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function xr(e,t){let n=hr(t?.sample_rand);if(n!==void 0)return n;let r=hr(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?D()*r:r+D()*(1-r):D()}var Sr=`span`;function Cr(e,t){t?e.refs[Sr]=Kn(t):delete e.refs[Sr]}function wr(e){return qn(e.refs[Sr])}function Tr(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=K(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function Er(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:K(e).parent_span_id,a=W(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||I():t,trace_id:n}}function Dr(e){let{traceId:t,spanId:n}=e.spanContext();return yr(t,n,q(e))}function Or(e){let{traceId:t,spanId:n}=e.spanContext();return br(t,n,q(e))}function kr(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function Ar(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function G(e){return typeof e==`number`?jr(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?jr(e.getTime()):M()}function jr(e){return e>9999999999?e/1e3:e}function K(e){if(Ir(e))return e.getStaticSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Fr(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:Nr(e),start_timestamp:G(i),timestamp:G(o)||void 0,status:Lr(s),op:r[Tn],origin:r[En],links:kr(c)}}return{span_id:t,trace_id:n,start_timestamp:0,status:`ok`,data:{}}}function Mr(e){if(Ir(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Fr(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{name:a,span_id:t,trace_id:n,parent_span_id:Nr(e),start_timestamp:G(i),end_timestamp:G(o)||void 0,is_segment:Y(e),status:Rr(s),attributes:zr(r,s),links:Ar(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:``,status:`ok`,is_segment:Y(e),attributes:{}}}function Nr(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function Pr(e){return{...e,end_timestamp:e.end_timestamp??e.start_timestamp,attributes:Ot(e.attributes),links:e.links?.map(e=>({...e,attributes:Ot(e.attributes)}))}}function Fr(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Ir(e){return typeof e.getSpanJSON==`function`}function q(e){let{traceFlags:t}=e.spanContext();return t===1}function Lr(e){return!e||e.code===0||e.code===1?`ok`:e.message&&Un(e.message)?e.message:`internal_error`}function Rr(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function zr(e,t){let n=Rr(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var J=`_sentryChildSpans`,Br=`_sentryRootSpan`;function Vr(e,t){let n=e[Br]||e;w(t,Br,n),t.setAttribute(U,void 0),q(e)&&(!e.isRecording()&&!n.isRecording()||(e[J]?e[J].add(t):w(e,J,new Set([t]))))}function Hr(e,t){e[J]&&e[J].delete(t)}function Ur(e){let t=new Set;function n(e){if(!t.has(e)&&q(e)){t.add(e);let r=e[J]?Array.from(e[J]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var Wr=Gr;function Gr(e){return e[Br]||e}function Y(e){return e===Gr(e)}function Kr(e){let t=z(a());return t.getActiveSpan?t.getActiveSpan(e):wr(e||B())}function qr(e,t){Y(e)&&e.setAttribute(U,t)}function Jr(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||H()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}var Yr=`production`,Xr=Symbol.for(`sentry.nonRecordingSpan`),Zr=class{constructor(e={}){this._traceId=e.traceId||F(),this._spanId=e.spanId||I(),this.dropReason=e.dropReason,w(this,Xr,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}
2addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function Qr(e){return!!e&&e[Xr]===!0}var $r=`_frozenDsc`;function ei(e,t){w(e,$r,t)}function ti(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:pr(t)};return t.emit(`createDsc`,i),i}function ni(e,t){if(Mt())return;let n=t.getPropagationContext();return n.dsc||ti(n.traceId,e)}function ri(e){let t=H();if(!t)return{};let n=Wr(e),r=K(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[$r];if(c)return s(c);let l=Qr(n),u=l&&n.dropReason===`ignored`;if(l&&(!Jr(t.getOptions())||u)){let e=W(n).scope,r=e&&ni(t,e);if(r){let e={...r};return u&&(e.sampled=`false`),s(e)}}let d=a?.get(`sentry.dsc`),f=d&&er(d);if(f)return s(f);let p=ti(e.spanContext().traceId,t),m=i[U],h=r.description;return m!==`url`&&h&&(p.transaction=h),Jr()&&(p.sampled=String(q(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??W(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function ii(e,t){let{fingerprint:n,breadcrumbs:r,sdkProcessingMetadata:i}=t;si(e,t),di(e,n),ci(e,r),li(e,i)}function ai(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m}=t;X(e,`extra`,n),X(e,`tags`,r),X(e,`attributes`,i),X(e,`user`,a),X(e,`contexts`,o),e.sdkProcessingMetadata=P(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function X(e,t,n){e[t]=P(e[t],n,1)}function oi(e,t){let n=Pt().getScopeData();return e&&ai(n,e.getScopeData()),t&&ai(n,t.getScopeData()),n}function si(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function ci(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function li(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function ui(e,t){e.contexts={trace:Er(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:ri(t),...e.sdkProcessingMetadata};let n=K(Wr(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function di(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var fi=Symbol.for(`SentryCallbackError`);function pi(e,t,n){let r;try{r=t()}catch(t){return mi(e,t,n)}return S(r)?r.then(void 0,t=>mi(e,t,n)):r}function mi(e,t,r){return n&&_.error(e,t),r(t)}function hi(e,t=[]){return[e,t]}function gi(e,t){let[n,r]=e;return[n,[...r,t]]}function _i(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function vi(e,t){return _i(e,(e,n)=>t.includes(n))}function yi(e){let t=o(r);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function bi(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[yi(r),e]:r.push(typeof e==`string`?yi(e):e)}for(let e of n){let[t,n]=e;if(i(` 3${JSON.stringify(t)} 4`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(k(n))}i(e)}}return typeof r==`string`?r:xi(r)}function xi(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function Si(e){let t=typeof e.data==`string`?yi(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var Ci={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 wi(e){return e in Ci}function Ti(e){return wi(e)?Ci[e]:e}function Ei(e){if(!e?.sdk)return;
4let{name:t,version:n}=e.sdk;return{name:t,version:n}}function Di(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(O()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:cr(r)},...i&&{trace:i}}}function Oi(e){return e===`replay_event`?`replay`:e||`error`}var ki=new WeakMap;function Ai(e){return x(e)?void 0:e}function ji(e,t,n){let r=Ai(t.originalException),i=r&&ki.get(r);if(!i)return;let a=e.contexts?.trace;(a?.trace_id??(n&&It(n).trace_id))===i.trace_id&&(e.contexts={...e.contexts,trace:{...a,...i}})}var Mi=0,Ni=1,Pi=2;function Fi(e){return new Li(t=>{t(e)})}function Ii(e){return new Li((t,n)=>{n(e)})}var Li=class e{constructor(e){this._state=Mi,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===Mi)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===Ni&&e[1](this._value),this._state===Pi&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===Mi){if(S(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(Ni,e)},r=e=>{t(Pi,e)};try{e(n,r)}catch(e){r(e)}}};function Ri(e,t,n,r=0,i){try{let a=zi(t,n,e,r,i);return S(a)?a:Fi(a)}catch(e){return Ii(e)}}function zi(e,t,r,i,a){let o=r[i];if(!e||!o)return e;let s=`Event processor "${o.id||`?`}"`,c=!1,l=pi(n?`${s} threw an error, dropping event:`:``,()=>o({...e},t),()=>(c=!0,null));return n&&l===null&&_.log(`${s} dropped event`),S(l)?l.then(e=>e?zi(e,t,r,i+1,a):(a?.(c?`callback_error`:`event_processor`),null)):l?zi(l,t,r,i+1,a):(a?.(c?`callback_error`:`event_processor`),null)}var Z,Bi,Vi,Q;function Hi(e){let t=r._sentryDebugIds,n=r._debugIds;if(!t&&!n)return{};let i=t?Object.keys(t):[],a=n?Object.keys(n):[];if(Q&&i.length===Bi&&a.length===Vi)return Q;Bi=i.length,Vi=a.length,Q={},Z||={};let o=(t,n)=>{for(let r of t){let t=n[r],i=Z?.[r];if(i&&Q&&t)Q[i[0]]=t,Z&&(Z[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&Q&&Z){Q[i]=t,Z[r]=[i,t];break}}}}};return t&&o(i,t),n&&o(a,n),Q}function Ui(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||A(),timestamp:t.timestamp||j()},l=n.integrations||e.integrations.map(e=>e.name);Wi(c,e),qi(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&Gi(c,e.stackParser);let u=Yi(r,n.captureContext);n.mechanism&&$e(c,n.mechanism);let d=i?i.getEventProcessors():[],f=oi(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),ii(c,f);let m=Kr(u);m&&ui(c,m),ji(c,n,u);let h=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?Fi(c):Ri(h,c,n,0,e=>{i&&(i.recordDroppedEvent(e,Oi(t.type)),t.type===`transaction`&&i.recordDroppedEvent(e,`span`,1+(t.spans||[]).length))})).then(e=>e?(Ki(e),typeof o==`number`&&o>0?Ji(e,o,s):e):null)}function Wi(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=He(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=He(e.value,a)})}function Gi(e,t){let n=Hi(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function Ki(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function qi(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}
4function Ji(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:k(e.data,t,n)}}))},...e.user&&{user:k(e.user,t,n)},...e.contexts&&{contexts:k(e.contexts,t,n)},...e.extra&&{extra:k(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=k(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:k(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=k(e.contexts.flags,3,n)),r}function Yi(e,t){if(!t)return e;let n=e?e.clone():new L;return n.update(t),n}function Xi(e){if(e)return Zi(e)||$i(e)?{captureContext:e}:e}function Zi(e){return e instanceof L||typeof e==`function`}var Qi=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function $i(e){return Object.keys(e).some(e=>Qi.includes(e))}function ea(e,t){return B().captureException(e,Xi(t))}function ta(e,t){let n=typeof t==`string`?t:void 0,r=typeof t==`string`?void 0:{captureContext:t};return B().captureMessage(e,n,r)}function na(e,t){return B().captureEvent(e,t)}function ra(e,t){V().setContext(e,t)}function ia(e,t){V().setTag(e,t)}function aa(e){V().setUser(e)}async function oa(e){let t=H();return t?t.flush(e):(n&&_.warn(`Cannot flush events. No client defined.`),Promise.resolve(!1))}function sa(){let e=H();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function ca(e){V().addEventProcessor(e)}function la(e){let t=V(),{user:n}=oi(t,B()),{userAgent:i}=r.navigator||{},a=lt({user:n,...i&&{userAgent:i},...e}),o=t.getSession();return o?.status===`ok`&&N(o,{status:`exited`}),ua(),t.setSession(a),a}function ua(){let e=V(),t=B().getSession()||e.getSession();t&&ut(t),da(),e.setSession()}function da(){let e=V(),t=H(),n=e.getSession();n&&t&&t.captureSession(n)}function fa(e=!1){if(e){ua();return}da()}var pa=function(e){return e.afg=`AFG`,e.ala=`ALA`,e.alb=`ALB`,e.ant=`ANT`,e.dza=`DZA`,e.asm=`ASM`,e.and=`AND`,e.ago=`AGO`,e.aia=`AIA`,e.ata=`ATA`,e.atg=`ATG`,e.arg=`ARG`,e.arm=`ARM`,e.abw=`ABW`,e.aus=`AUS`,e.aut=`AUT`,e.aze=`AZE`,e.bhs=`BHS`,e.bhr=`BHR`,e.bgd=`BGD`,e.brb=`BRB`,e.blr=`BLR`,e.bel=`BEL`,e.blz=`BLZ`,e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,es:`es-ES`,fr:`fr-FR`,id:`id-ID`,ja:`ja-JP`,ko:`ko-KR`,"pt-br":`pt-BR`,ru:`ru-RU`,sr:`sr-RS`,tr:`tr-TR`,zh:`zh-CN`,"zh-tw":`zh-TW`},ba=Object.fromEntries(va.map(e=>[ya[e],e]));function xa(e){return Object.values(_a).includes(e)}t();var Sa=typeof document<`u`;function Ca(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function wa(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&Ca(e.default)}var Ta=Object.assign;function Ea(e,t){let n={};for(let r in t){let i=t[r];n[r]=Oa(i)?i.map(e):e(i)}return n}var Da=()=>{},Oa=Array.isArray;function ka(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var $=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),Aa=Symbol(``);$.MATCHER_NOT_FOUND,$.NAVIGATION_GUARD_REDIRECT,$.NAVIGATION_ABORTED,$.NAVIGATION_CANCELLED,$.NAVIGATION_DUPLICATED;function ja(e,t){return Ta(Error(),{type:e,[Aa]:!0},t)}function Ma(e,t){return e instanceof Error&&Aa in e&&(t==null||!!(e.type&t))}var Na=Symbol(``),Pa=Symbol(``),Fa=Symbol(``),Ia=Symbol(``),La=Symbol(``);function Ra(){return e(Fa)}function za(t){return e(Ia)}
4function Ba(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function Va(){throw Error(`Unimplemented`)}function Ha(e){throw Error(`Unreachable: ${e}`)}function Ua(e,t){if(!e)throw Error(`Assertion failed: ${t}`)}function Wa(e){return Ua(e,`Got unexpected ${e}`),e}export{Oi as $,H as $n,d as $r,Dn as $t,pa as A,Jt as An,Oe as Ar,Dr as At,ia as B,_n as Bn,ye as Br,cr as Bt,Pa as C,pn as Cn,Ge as Cr,Hr as Ct,_a as D,yn as Dn,O as Dr,Mr as Dt,ba as E,Vt as En,Pe as Er,G as Et,ta as F,an as Fn,ge as Fr,gr as Ft,Fi as G,Qt as Gn,Se as Gr,Zn as Gt,la as H,Ut as Hn,ve as Hr,$n as Ht,fa as I,mn as In,pe as Ir,yr as It,hi as J,en as Jn,oe as Jr,Vn as Jt,gi as K,rn as Kn,b as Kr,Qn as Kt,oa as L,zt as Ln,me as Lr,br as Lt,ca as M,bn as Mn,Te as Mr,Tr as Mt,na as N,Bt as Nn,we as Nr,Pr as Nt,xa as O,Lt as On,D as Or,K as Ot,ea as P,Wt as Pn,he as Pr,Cr as Pt,_i as Q,gn as Qn,c as Qr,jn as Qt,sa as R,Yt as Rn,be as Rr,vr as Rt,Ra as S,sn as Sn,Ue as Sr,Ar as St,va as T,Sn as Tn,Fe as Tr,Y as Tt,Ui as U,tn as Un,x as Ur,tr as Ut,aa as V,dn as Vn,_e as Vr,mr as Vt,Ii as W,fn as Wn,xe as Wr,W as Wt,vi as X,U as Xn,ue as Xr,Rn as Xt,Di as Y,nn as Yn,de as Yr,zn as Yt,Ti as Z,ln as Zn,se as Zr,Ln as Zt,Da as _,un as _n,Ze as _r,Kr as _t,Ba as a,i as ai,An as an,kt as ar,ei as at,La as b,Xt as bn,A as br,Ur as bt,Ta as c,Pn as cn,ht as cr,Zr as ct,Sa as d,In as dn,P as dr,Jr as dt,_ as ei,On as en,B as er,Ei as et,wa as f,Bn as fn,N as fr,Gr as ft,ka as g,on as gn,Qe as gr,kr as gt,Na as h,qt as hn,M as hr,zr as ht,Ha as i,o as ii,wn as in,Ft as ir,oi as it,ha as j,Kt as jn,Ce as jr,Or as jt,ga as k,Rt as kn,w as kr,Er as kt,ja as l,Nn as ln,I as lr,Qr as lt,Ca as m,Gt as mn,j as mr,Vr as mt,Wa as n,s as ni,Tn as nn,It as nr,fi as nt,$ as o,r as oi,Cn as on,Ot as or,ni as ot,Ma as p,cn as pn,ct as pr,qr as pt,Si as q,Ht as qn,S as qr,Gn as qt,Va as r,a as ri,En as rn,Nt as rr,pi as rt,Ea as s,n as si,Mn as sn,z as sr,ri as st,Ua as t,u as ti,kn as tn,V as tr,bi as tt,Oa as u,Fn as un,F as ur,Yr as ut,Ia as v,vn,tt as vr,Wr as vt,ya as w,$t as wn,k as wr,q as wt,za as x,Zt as xn,We as xr,Lr as xt,Fa as y,hn as yn,Xe as yr,Rr as yt,ra as z,xn as zn,C as zr,hr as zt};
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.