1var kt=Object.defineProperty,At=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,nt=(t,e,n)=>e in t?kt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,a=(t,e)=>{for(var n in e||(e={}))Ct.call(e,n)&&nt(t,n,e[n]);if(et)for(var n of et(e))Rt.call(e,n)&&nt(t,n,e[n]);return t},E=(t,e)=>At(t,xt(e));const mt=Object.prototype.toString;function Mt(t){switch(mt.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return w(t,Error)}}function k(t,e){return mt.call(t)===`[object ${e}]`}function We(t){return k(t,"ErrorEvent")}function Xe(t){return k(t,"DOMError")}function Ze(t){return k(t,"DOMException")}function F(t){return k(t,"String")}function Pt(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function Qe(t){return t===null||Pt(t)||typeof t!="object"&&typeof t!="function"}function z(t){return k(t,"Object")}function wt(t){return typeof Event<"u"&&w(t,Event)}function Lt(t){return typeof Element<"u"&&w(t,Element)}function jt(t){return k(t,"RegExp")}function H(t){return!!(t&&t.then&&typeof t.then=="function")}function Ut(t){return z(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function w(t,e){try{return t instanceof e}catch{return!1}}function St(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function x(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function tn(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;r<t.length;r++){const s=t[r];try{St(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function Ft(t,e,n=!1){return F(t)?jt(e)?e.test(t):F(e)?n?t===e:t.includes(e):!1:!1}function en(t,e=[],n=!1){return e.some(r=>Ft(t,r,n))}const C="8.8.0",_=globalThis;function J(t,e,n){const r=_,s=r.__SENTRY__=r.__SENTRY__||{},i=s[C]=s[C]||{};return i[t]||(i[t]=e())}const V=_,$t=80;function Gt(t,e={}){if(!t)return"<unknown>";try{let n=t;const r=5,s=[];let i=0,o=0;const u=" > ",c=u.length;let f;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||$t;for(;n&&i++<r&&(f=Bt(n,l),!(f==="html"||i>1&&o+s.length*c+f.length>=p));)s.push(f),o+=f.length,n=n.parentNode;return s.reverse().join(u)}catch{return"<unknown>"}}function Bt(t,e){const n=t,r=[];let s,i,o,u,c;if(!n||!n.tagName)return"";if(V.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const f=e&&e.length?e.filter(p=>n.getAttribute(p)).map(p=>[p,n.getAttribute(p)]):null;if(f&&f.length)f.forEach(p=>{r.push(`[${p[0]}="${p[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),s=n.className,s&&F(s))for(i=s.split(/\s+/),c=0;c<i.length;c++)r.push(`.${i[c]}`);const l=["aria-label","type","name","title","alt"];for(c=0;c<l.length;c++)o=l[c],u=n.getAttribute(o),u&&r.push(`[${o}="${u}"]`);return r.join("")}function nn(){try{return V.document.location.href}catch{return""}}function rn(t){if(!V.HTMLElement)return null;let e=t;const n=5;for(let r=0;r<n;r++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}const yt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,vt="Sentry Logger ",rt=["debug","info","warn","error","log","assert","trace"],st={};function zt(t){if(!("console"in _))return t();const e=_.console,n={},r=Object.keys(st);r.forEach(s=>{const i=st[s];n[s]=e[s],e[s]=i});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function Ht(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return yt?rt.forEach(n=>{e[n]=(...r)=>{t&&zt(()=>{_.console[n](`${vt}[${n}]:`,...r)})}}):rt.forEach(n=>{e[n]=()=>{}}),e}const R=Ht();function sn(t,e,n){if(!(e in t))return;const r=t[e],s=n(r);typeof s=="function"&&Jt(s,r),t[e]=s}function Y(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{yt&&R.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function Jt(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,Y(t,"__sentry_original__",e)}catch{}}function on(t){return t.__sentry_original__}function an(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function Et(t){if(Mt(t))return a({message:t.message,name:t.name,stack:t.stack},ot(t));if(wt(t)){const e=a({type:t.type,target:it(t.target),currentTarget:it(t.currentTarget)},ot(t));return typeof CustomEvent<"u"&&w(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function it(t){try{return Lt(t)?Gt(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function ot(t){if(typeof t=="object"&&t!==null){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function cn(t,e=40){const n=Object.keys(Et(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return x(n[0],e);for(let r=n.length;r>0;r--){const s=n.slice(0,r).join(", ");
1if(!(s.length>e))return r===n.length?s:x(s,e)}return""}function y(t){return $(t,new Map)}function $(t,e){if(Vt(t)){const n=e.get(t);if(n!==void 0)return n;const r={};e.set(t,r);for(const s of Object.keys(t))typeof t[s]<"u"&&(r[s]=$(t[s],e));return r}if(Array.isArray(t)){const n=e.get(t);if(n!==void 0)return n;const r=[];return e.set(t,r),t.forEach(s=>{r.push($(s,e))}),r}return t}function Vt(t){if(!z(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}const bt=50,Yt="?",at=/\(error: (.*)\)/,ct=/captureMessage|captureException/;function qt(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` 2`);for(let u=r;u<o.length;u++){const c=o[u];if(c.length>1024)continue;const f=at.test(c)?c.replace(at,"$1"):c;if(!f.match(/\S*Error: /)){for(const l of e){const p=l(f);if(p){i.push(p);break}}if(i.length>=bt+s)break}}return Kt(i.slice(s))}}function un(t){return Array.isArray(t)?qt(...t):t}function Kt(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop(),e.reverse(),ct.test(e[e.length-1].function||"")&&(e.pop(),ct.test(e[e.length-1].function||"")&&e.pop()),e.slice(0,bt).map(n=>E(a({},n),{filename:n.filename||e[e.length-1].filename,function:n.function||Yt}))}const U="<anonymous>";function Wt(t){try{return!t||typeof t!="function"?U:t.name||U}catch{return U}}function fn(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Tt=1e3;function q(){return Date.now()/Tt}function Xt(){const{performance:t}=_;if(!t||!t.now)return q;const e=Date.now()-t.now(),n=t.timeOrigin==null?e:t.timeOrigin;return()=>(n+t.now())/Tt}const K=Xt();(()=>{const{performance:t}=_;if(!t||!t.now)return;const e=3600*1e3,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,i=s<e,o=t.timing&&t.timing.navigationStart,c=typeof o=="number"?Math.abs(o+n-r):e,f=c<e;return i||f?s<=c?t.timeOrigin:o:r})();function Zt(){const t=typeof WeakSet=="function",e=t?new WeakSet:[];function n(s){if(t)return e.has(s)?!0:(e.add(s),!1);for(let i=0;i<e.length;i++)if(e[i]===s)return!0;return e.push(s),!1}function r(s){if(t)e.delete(s);else for(let i=0;i<e.length;i++)if(e[i]===s){e.splice(i,1);break}}return[n,r]}function b(){const t=_,e=t.crypto||t.msCrypto;let n=()=>Math.random()*16;try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return e.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function Nt(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function pn(t){const{message:e,event_id:n}=t;if(e)return e;const r=Nt(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function ln(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type="Error")}function Qt(t,e){const n=Nt(t);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism=a(a(a({},r),s),e),e&&"data"in e){const i=a(a({},s&&s.data),e.data);n.mechanism.data=i}}function dn(t){if(t&&t.__sentry_captured__)return!0;try{Y(t,"__sentry_captured__",!0)}catch{}return!1}function te(t){return Array.isArray(t)?t:[t]}function T(t,e=100,n=1/0){try{return G("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ee(t,e=3,n=100*1024){const r=T(t,e);return ie(r)>n?ee(t,e-1,n):r}function G(t,e,n=1/0,r=1/0,s=Zt()){const[i,o]=s;if(e==null||["number","boolean","string"].includes(typeof e)&&!Number.isNaN(e))return e;const u=ne(t,e);if(!u.startsWith("[object "))return u;if(e.__sentry_skip_normalization__)return e;const c=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(c===0)return u.replace("object ","");if(i(e))return"[Circular ~]";const f=e;if(f&&typeof f.toJSON=="function")try{const d=f.toJSON();return G("",d,c-1,r,s)}catch{}const l=Array.isArray(e)?[]:{};let p=0;const h=Et(e);for(const d in h){if(!Object.prototype.hasOwnProperty.call(h,d))continue;if(p>=r){l[d]="[MaxProperties ~]";break}const D=h[d];l[d]=G(d,D,c-1,r,s),p++}return o(e),l}function ne(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&e===global)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(St(e))return"[VueViewModel]";if(Ut(e))return"[SyntheticEvent]";if(typeof e=="number"&&e!==e)return"[NaN]";if(typeof e=="function")return`[Function: ${Wt(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=re(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function re(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}function se(t){return~-encodeURI(t).split(/%..|./).length}function ie(t){return se(JSON.stringify(t))}var S;
2(function(t){t[t.PENDING=0]="PENDING";const n=1;t[t.RESOLVED=n]="RESOLVED";const r=2;t[t.REJECTED=r]="REJECTED"})(S||(S={}));function _n(t){return new m(e=>{e(t)})}function hn(t){return new m((e,n)=>{n(t)})}class m{constructor(e){m.prototype.__init.call(this),m.prototype.__init2.call(this),m.prototype.__init3.call(this),m.prototype.__init4.call(this),this._state=S.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(n){this._reject(n)}}then(e,n){return new m((r,s)=>{this._handlers.push([!1,i=>{if(!e)r(i);else try{r(e(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new m((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,e&&e()},o=>{i=!0,s=o,e&&e()}).then(()=>{if(i){r(s);return}n(s)})})}__init(){this._resolve=e=>{this._setResult(S.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(S.REJECTED,e)}}__init3(){this._setResult=(e,n)=>{if(this._state===S.PENDING){if(H(n)){n.then(this._resolve,this._reject);return}this._state=e,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===S.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===S.RESOLVED&&n[1](this._value),this._state===S.REJECTED&&n[2](this._value),n[0]=!0)})}}}function ut(){return{traceId:b(),spanId:b().substring(16)}}const oe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function L(){return W(_),_}function W(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||C,e[C]=e[C]||{}}function ae(t){const e=K(),n={sid:b(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>ue(n)};return t&&j(n,t),n}function j(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||K(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:b()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n: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),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function ce(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),j(t,n)}function ue(t){return y({sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${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}})}const B="_sentrySpan";function ft(t,e){e?Y(t,B,e):delete t[B]}function pt(t){return t[B]}const fe=100;class X{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=ut()}clone(){const e=new X;return e._breadcrumbs=[...this._breadcrumbs],e._tags=a({},this._tags),e._extra=a({},this._extra),e._contexts=a({},this._contexts),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata=a({},this._sdkProcessingMetadata),e._propagationContext=a({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,ft(e,pt(this)),e}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&&j(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags=a(a({},this._tags),e),this._notifyScopeListeners(),this}setTag(e,n){return this._tags=E(a({},this._tags),{[e]:n}),this._notifyScopeListeners(),this}setExtras(e){return this._extra=a(a({},this._extra),e),this._notifyScopeListeners(),this}setExtra(e,n){return this._extra=E(a({},this._extra),{[e]:n}),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,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,[r,s]=n instanceof N?[n.getScopeData(),n.getRequestSession()]:z(n)?[e,e.requestSession]:[],{tags:i,extra:o,user:u,contexts:c,level:f,fingerprint:l=[],propagationContext:p}=r||{};return this._tags=a(a({},this._tags),i),this._extra=a(a({},this._extra),o),this._contexts=a(a({},this._contexts),c),u&&Object.keys(u).length&&(this._user=u),f&&(this._level=f),l.length&&(this._fingerprint=l),p&&(this._propagationContext=p),s&&(this._requestSession=s),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,ft(this,void 0),this._attachments=[],this._propagationContext=ut(),this._notifyScopeListeners(),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:fe;if(r<=0)return this;const s=a({timestamp:q()},e),i=this._breadcrumbs;return i.push(s),this._breadcrumbs=i.length>r?i.slice(-r):i,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,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:pt(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=a(a({},this._sdkProcessingMetadata),e),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=n&&n.event_id?n.event_id:b();if(!this._client)return R.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,E(a({originalException:e,syntheticException:s},n),{event_id:r}),this),r}captureMessage(e,n,r){const s=r&&r.event_id?r.event_id:b();if(!this._client)return R.warn("No client configured on scope - will not capture message!"),s;const i=new Error(e);return this._client.captureMessage(e,n,E(a({originalException:e,syntheticException:i},r),{event_id:s}),this),s}captureEvent(e,n){const r=n&&n.event_id?n.event_id:b();return this._client?(this._client.captureEvent(e,E(a({},n),{event_id:r}),this),r):(R.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),this._notifyingListeners=!1)}}const N=X;function pe(){return J("defaultCurrentScope",()=>new N)}function le(){return J("defaultIsolationScope",()=>new N)}class de{constructor(e,n){let r;e?r=e:r=new N;let s;n?s=n:s=new N,this._stack=[{scope:r}],this._isolationScope=s}withScope(e){const n=this._pushScope();let r;try{r=e(n)}catch(s){throw this._popScope(),s}return H(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}}function I(){const t=L(),e=W(t);return e.stack=e.stack||new de(pe(),le())}function _e(t){return I().withScope(t)}function he(t,e){const n=I();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function lt(t){return I().withScope(()=>t(I().getIsolationScope()))}function ge(){return{withIsolationScope:lt,withScope:_e,withSetScope:he,withSetIsolationScope:(t,e)=>lt(e),getCurrentScope:()=>I().getScope(),getIsolationScope:()=>I().getIsolationScope()}}function Z(t){const e=W(t);return e.acs?e.acs:ge()}function O(){const t=L();return Z(t).getCurrentScope()}function M(){const t=L();return Z(t).getIsolationScope()}function me(){return J("globalScope",()=>new N)}function gn(...t){const e=L(),n=Z(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function Q(){return O().getClient()}const Se="_sentryMetrics";function ye(t){const e=t[Se];if(!e)return;const n={};for(const[,[r,s]]of e)n[r]||(n[r]=[]),n[r].push(y(s));return n}const Ee="sentry.source",be="sentry.sample_rate",Te="sentry.op",Ne="sentry.origin",Oe=0,De=1,Ie=1;function ke(t){const{spanId:e,traceId:n}=t.spanContext(),{parent_span_id:r}=P(t);return y({parent_span_id:r,span_id:e,trace_id:n})}function dt(t){return typeof t=="number"?_t(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?_t(t.getTime()):K()}function _t(t){return t>9999999999?t/1e3:t}function P(t){if(xe(t))return t.getSpanJSON();try{const{spanId:e,traceId:n}=t.spanContext();if(Ae(t)){const{attributes:r,startTime:s,name:i,endTime:o,parentSpanId:u,status:c}=t;return y({span_id:e,trace_id:n,data:r,description:i,parent_span_id:u,start_timestamp:dt(s),timestamp:dt(o)||void 0,status:Re(c),op:r[Te],origin:r[Ne],_metrics_summary:ye(t)})}return{span_id:e,trace_id:n}}catch{return{}}}function Ae(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function xe(t){return typeof t.getSpanJSON=="function"}function Ce(t){const{traceFlags:e}=t.spanContext();return e===Ie}function Re(t){if(!(!t||t.code===Oe))return t.code===De?"ok":t.message||"unknown_error"}const Me="_sentryRootSpan";function Ot(t){return t[Me]||t}const tt="production",Pe="_frozenDsc";function we(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s=y({environment:n.environment||tt,release:n.release,public_key:r,trace_id:t});return e.emit("createDsc",s),s}function Le(t){const e=Q();if(!e)return{};const n=we(P(t).trace_id||"",e),r=Ot(t);if(!r)return n;const s=r[Pe];if(s)return s;const i=P(r),o=i.data||{},u=o[be];u!=null&&(n.sample_rate=`${u}`);const c=o[Ee];return c&&c!=="url"&&(n.transaction=i.description),n.sampled=String(Ce(r)),e.emit("createDsc",n),n}function v(t,e,n,r=0){return new m((s,i)=>{const o=t[r];if(e===null||typeof o!="function")s(e);else{const u=o(a({},e),n);oe&&o.id&&u===null&&R.log(`Event processor "${o.id}" dropped event`),H(u)?u.then(c=>v(t,c,n,r+1).then(s)).then(null,i):v(t,u,n,r+1).then(s).then(null,i)}})}function je(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;Ue(t,e),r&&Ge(t,r),Be(t,n),Fe(t,s),$e(t,i)}function ht(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:u,breadcrumbs:c,fingerprint:f,eventProcessors:l,attachments:p,propagationContext:h,transactionName:d,span:D}=e;A(t,"extra",n),A(t,"tags",r),A(t,"user",s),A(t,"contexts",i),A(t,"sdkProcessingMetadata",u),o&&(t.level=o),d&&(t.transactionName=d),D&&(t.span=D),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),f.length&&(t.fingerprint=[...t.fingerprint,...f]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext=a(a({},t.propagationContext),h)}function A(t,e,n){if(n&&Object.keys(n).length){t[e]=a({},t[e]);for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[e][r]=n[r])}}function Ue(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:u}=e,c=y(n);c&&Object.keys(c).length&&(t.extra=a(a({},c),t.extra));const f=y(r);f&&Object.keys(f).length&&(t.tags=a(a({},f),t.tags));const l=y(s);l&&Object.keys(l).length&&(t.user=a(a({},l),t.user));const p=y(i);p&&Object.keys(p).length&&(t.contexts=a(a({},p),t.contexts)),o&&(t.level=o),u&&t.type!=="transaction"&&(t.transaction=u)}function Fe(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function $e(t,e){t.sdkProcessingMetadata=a(a({},t.sdkProcessingMetadata),e)}function Ge(t,e){t.contexts=a({trace:ke(e)},t.contexts),t.sdkProcessingMetadata=a({dynamicSamplingContext:Le(e)},t.sdkProcessingMetadata);const n=Ot(e),r=P(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function Be(t,e){t.fingerprint=t.fingerprint?te(t.fingerprint):[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}function mn(t,e,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:u=1e3}=t,c=E(a({},e),{event_id:e.event_id||n.event_id||b(),timestamp:e.timestamp||q()}),f=n.integrations||t.integrations.map(g=>g.name);ve(c,t),Je(c,f),e.type===void 0&&ze(c,t.stackParser);const l=Ye(r,n.captureContext);n.mechanism&&Qt(c,n.mechanism);const p=s?s.getEventProcessors():[],h=me().getScopeData();if(i){const g=i.getScopeData();ht(h,g)}if(l){const g=l.getScopeData();ht(h,g)}const d=[...n.attachments||[],...h.attachments];d.length&&(n.attachments=d),je(c,h);const D=[...p,...h.eventProcessors];return v(D,c,n).then(g=>(g&&He(g),typeof o=="number"&&o>0?Ve(g,o,u):g))}function ve(t,e){const{environment:n,release:r,dist:s,maxValueLength:i=250}=e;"environment"in t||(t.environment="environment"in e?n:tt),t.release===void 0&&r!==void 0&&(t.release=r),t.dist===void 0&&s!==void 0&&(t.dist=s),t.message&&(t.message=x(t.message,i));const o=t.exception&&t.exception.values&&t.exception.values[0];o&&o.value&&(o.value=x(o.value,i));const u=t.request;u&&u.url&&(u.url=x(u.url,i))}const gt=new WeakMap;function ze(t,e){const n=_._sentryDebugIds;if(!n)return;let r;const s=gt.get(e);s?r=s:(r=new Map,gt.set(e,r));const i=Object.keys(n).reduce((o,u)=>{let c;const f=r.get(u);f?c=f:(c=e(u),r.set(u,c));for(let l=c.length-1;l>=0;l--){const p=c[l];if(p.filename){o[p.filename]=n[u];break}}return o},{});
2try{t.exception.values.forEach(o=>{o.stacktrace.frames.forEach(u=>{u.filename&&(u.debug_id=i[u.filename])})})}catch{}}function He(t){const e={};try{t.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{s.debug_id&&(s.abs_path?e[s.abs_path]=s.debug_id:s.filename&&(e[s.filename]=s.debug_id),delete s.debug_id)})})}catch{}if(Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.keys(e).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:e[r]})})}function Je(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function Ve(t,e,n){if(!t)return null;const r=a(a(a(a(a({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(s=>a(a({},s),s.data&&{data:T(s.data,e,n)}))}),t.user&&{user:T(t.user,e,n)}),t.contexts&&{contexts:T(t.contexts,e,n)}),t.extra&&{extra:T(t.extra,e,n)});return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=T(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(s=>a(a({},s),s.data&&{data:T(s.data,e,n)}))),r}function Ye(t,e){if(!e)return t;const n=t?t.clone():new N;return n.update(e),n}function Sn(t,e){return O().captureException(t,void 0)}function yn(t,e){const n=typeof e=="string"?e:void 0,r=typeof e!="string"?{captureContext:e}:void 0;return O().captureMessage(t,n,r)}function En(t,e){return O().captureEvent(t,e)}function bn(t,e){M().setTag(t,e)}function Tn(t){M().setUser(t)}function Nn(t){const e=Q(),n=M(),r=O(),{release:s,environment:i=tt}=e&&e.getOptions()||{},{userAgent:o}=_.navigator||{},u=ae(a(a({release:s,environment:i,user:r.getUser()||n.getUser()},o&&{userAgent:o}),t)),c=n.getSession();return c&&c.status==="ok"&&j(c,{status:"exited"}),Dt(),n.setSession(u),r.setSession(u),u}function Dt(){const t=M(),e=O(),n=e.getSession()||t.getSession();n&&ce(n),It(),t.setSession(),e.setSession()}function It(){const t=M(),e=O(),n=Q(),r=e.getSession()||t.getSession();r&&n&&n.captureSession(r)}function On(t=!1){if(t){Dt();return}It()}export{Gt as $,z as A,O as B,rt as C,yt as D,C as E,Q as F,_ as G,on as H,pn as I,en as J,fn as K,Jt as L,Y as M,gn as N,ln as O,Qt as P,We as Q,Xe as R,m as S,Ze as T,Mt as U,wt as V,ee as W,cn as X,F as Y,qt as Z,Yt as _,zt as a,rn as a0,tn as a1,En as a2,nn as a3,un as a4,Nn as a5,On as a6,bn as a7,Tn as a8,yn as a9,K as b,Sn as c,hn as d,y as e,sn as f,Wt as g,q as h,w as i,oe as j,te as k,R as l,b as m,T as n,st as o,dn as p,Qe as q,_n as r,j as s,x as t,an as u,M as v,mn as w,we as x,Pt as y,H as z}; 3//# sourceMappingURL=/cdn/shop/t/30/assets/exports-NHIMKJG4.js.map
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.