1var e=Object.prototype.toString;function t(t){switch(e.call(t)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:return!0;default:return h(t,Error)}}function n(t,n){return e.call(t)===`[object ${n}]`}function r(e){return n(e,`ErrorEvent`)}function i(e){return n(e,`DOMError`)}function a(e){return n(e,`DOMException`)}function o(e){return n(e,`String`)}function s(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function c(e){return e===null||s(e)||typeof e!=`object`&&typeof e!=`function`}function l(e){return n(e,`Object`)}function u(e){return typeof Event<`u`&&h(e,Event)}function d(e){return typeof Element<`u`&&h(e,Element)}function f(e){return n(e,`RegExp`)}function p(e){return!!(e&&e.then&&typeof e.then==`function`)}function m(e){return l(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}function ee(e){return typeof e==`number`&&e!==e}function h(e,t){try{return e instanceof t}catch{return!1}}function te(e){return!!(typeof e==`object`&&e&&(e.__isVue||e._isVue))}function g(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function ne(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{te(r)?n.push(`[VueViewModel]`):n.push(String(r))}catch{n.push(`[value cannot be serialized]`)}}return n.join(t)}function re(e,t,n=!1){return o(e)?f(t)?t.test(e):o(t)?n?e===t:e.includes(t):!1:!1}function ie(e,t=[],n=!1){return t.some(t=>re(e,t,n))}function _(e){return e&&e.Math==Math?e:void 0}var v=typeof globalThis==`object`&&_(globalThis)||typeof window==`object`&&_(window)||typeof self==`object`&&_(self)||typeof global==`object`&&_(global)||(function(){return this})()||{};function ae(){return v}function oe(e,t,n){let r=n||v,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}var y=ae(),se=80;function ce(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||se;for(;n&&i++<5&&(o=le(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=n.parentNode;return r.reverse().join(` > `)}catch{return`<unknown>`}}function le(e,t){let n=e,r=[],i,a,s,c,l;if(!n||!n.tagName)return``;if(y.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());let u=t&&t.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(u&&u.length)u.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&o(i))for(a=i.split(/\s+/),l=0;l<a.length;l++)r.push(`.${a[l]}`);let d=[`aria-label`,`type`,`name`,`title`,`alt`];for(l=0;l<d.length;l++)s=d[l],c=n.getAttribute(s),c&&r.push(`[${s}="${c}"]`);return r.join(``)}function ue(){try{return y.document.location.href}catch{return``}}function de(e){return y.document&&y.document.querySelector?y.document.querySelector(e):null}function fe(e){if(!y.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}var b=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,pe=`Sentry Logger `,x=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],S={};function C(e){if(!(`console`in v))return e();let t=v.console,n={},r=Object.keys(S);r.forEach(e=>{let r=S[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function me(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return b?x.forEach(n=>{t[n]=(...t)=>{e&&C(()=>{v.console[n](`${pe}[${n}]:`,...t)})}}):x.forEach(e=>{t[e]=()=>void 0}),t}var w=me();function he(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);typeof i==`function`&&ge(i,r),e[t]=i}function T(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{b&&w.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function ge(e,t){try{e.prototype=t.prototype=t.prototype||{},T(e,`__sentry_original__`,t)}catch{}}function _e(e){return e.__sentry_original__}function ve(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join(`&`)}function ye(e){if(t(e))return{message:e.message,name:e.name,stack:e.stack,...xe(e)};if(u(e)){let t={type:e.type,target:be(e.target),currentTarget:be(e.currentTarget),...xe(e)};return typeof CustomEvent<`u`&&h(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function be(e){try{return d(e)?ce(e):Object.prototype.toString.call(e)}catch{return`<unknown>`}}function xe(e){if(typeof e==`object`&&e){let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Se(e,t=40){let n=Object.keys(ye(e));if(n.sort(),!n.length)return`[object has no keys]`;if(n[0].length>=t)return g(n[0],t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(`, `);if(!(r.length>t))return e===n.length?r:g(r,t)}return``}function E(e){return D(e,new Map)}function D(e,t){if(Ce(e)){let n=t.get(e);if(n!==void 0)return n;let r={};t.set(e,r);for(let n of Object.keys(e))e[n]!==void 0&&(r[n]=D(e[n],t));return r}if(Array.isArray(e)){let n=t.get(e);if(n!==void 0)return n;let r=[];
1return t.set(e,r),e.forEach(e=>{r.push(D(e,t))}),r}return e}function Ce(e){if(!l(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t===`Object`}catch{return!0}}var we=50,Te=/\(error: (.*)\)/,Ee=/captureMessage|captureException/;function O(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0)=>{let r=[],i=e.split(` 2`);for(let e=n;e<i.length;e++){let n=i[e];if(n.length>1024)continue;let a=Te.test(n)?n.replace(Te,`$1`):n;if(!a.match(/\S*Error: /)){for(let e of t){let t=e(a);if(t){r.push(t);break}}if(r.length>=we)break}}return Oe(r)}}function De(e){return Array.isArray(e)?O(...e):e}function Oe(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||``)&&t.pop(),t.reverse(),Ee.test(t[t.length-1].function||``)&&(t.pop(),Ee.test(t[t.length-1].function||``)&&t.pop()),t.slice(0,we).map(e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||`?`}))}var k=`<anonymous>`;function ke(e){try{return!e||typeof e!=`function`?k:e.name||k}catch{return k}}function A(){let e=v,t=e.crypto||e.msCrypto,n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,``);t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch{}return`10000000100040008000100000000000`.replace(/[018]/g,e=>(e^(n()&15)>>e/4).toString(16))}function Ae(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function je(e){let{message:t,event_id:n}=e;if(t)return t;let r=Ae(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function Me(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 Ne(e,t){let n=Ae(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i&&i.data,...t.data};n.mechanism.data=e}}function Pe(e){if(e&&e.__sentry_captured__)return!0;try{T(e,`__sentry_captured__`,!0)}catch{}return!1}function Fe(e){return Array.isArray(e)?e:[e]}function Ie(){let e=typeof WeakSet==`function`,t=e?new WeakSet:[];
2function n(n){if(e)return t.has(n)?!0:(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1}function r(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}return[n,r]}function j(e,t=100,n=1/0){try{return M(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Le(e,t=3,n=100*1024){let r=j(e,t);return Ve(r)>n?Le(e,t-1,n):r}function M(e,t,n=1/0,r=1/0,i=Ie()){let[a,o]=i;if(t==null||[`number`,`boolean`,`string`].includes(typeof t)&&!ee(t))return t;let s=Re(e,t);if(!s.startsWith(`[object `))return s;if(t.__sentry_skip_normalization__)return t;let c=typeof t.__sentry_override_normalization_depth__==`number`?t.__sentry_override_normalization_depth__:n;if(c===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let l=t;if(l&&typeof l.toJSON==`function`)try{return M(``,l.toJSON(),c-1,r,i)}catch{}let u=Array.isArray(t)?[]:{},d=0,f=ye(t);for(let e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(d>=r){u[e]=`[MaxProperties ~]`;break}let t=f[e];u[e]=M(e,t,c-1,r,i),d++}return o(t),u}function Re(e,t){try{if(e===`domain`&&t&&typeof t==`object`&&t._events)return`[Domain]`;if(e===`domainEmitter`)return`[DomainEmitter]`;if(typeof global<`u`&&t===global)return`[Global]`;if(typeof window<`u`&&t===window)return`[Window]`;if(typeof document<`u`&&t===document)return`[Document]`;if(te(t))return`[VueViewModel]`;if(m(t))return`[SyntheticEvent]`;if(typeof t==`number`&&t!==t)return`[NaN]`;if(typeof t==`function`)return`[Function: ${ke(t)}]`;if(typeof t==`symbol`)return`[${String(t)}]`;if(typeof t==`bigint`)return`[BigInt: ${String(t)}]`;let n=ze(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}function ze(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:`null prototype`}function Be(e){return~-encodeURI(e).split(/%..|./).length}function Ve(e){return Be(JSON.stringify(e))}var N;(function(e){e[e.PENDING=0]=`PENDING`,e[e.RESOLVED=1]=`RESOLVED`,e[e.REJECTED=2]=`REJECTED`})(N||={});function He(e){return new P(t=>{t(e)})}function Ue(e){return new P((t,n)=>{n(e)})}var P=class e{constructor(t){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._state=N.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(e){this._reject(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)})})}__init(){this._resolve=e=>{this._setResult(N.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(N.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===N.PENDING){if(p(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===N.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===N.RESOLVED&&e[1](this._value),this._state===N.REJECTED&&e[2](this._value),!0)})}}},We=1e3;function F(){return Date.now()/We}function Ge(){let{performance:e}=v;if(!e||!e.now)return F;let t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/We}var I=Ge(),Ke=(()=>{let{performance:e}=v;if(!e||!e.now)return;let t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i<t,o=e.timing&&e.timing.navigationStart,s=typeof o==`number`?Math.abs(o+n-r):t;return a||s<t?i<=s?e.timeOrigin:o:r})(),qe=`baggage`,Je=`sentry-`,Ye=/^sentry-/;function Xe(e){if(!o(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((e,t)=>{let n=Qe(t);for(let t of Object.keys(n))e[t]=n[t];return e},{});else{if(!e)return;t=Qe(e)}let n=Object.entries(t).reduce((e,[t,n])=>{if(t.match(Ye)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function Ze(e){if(e)return $e(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${Je}${t}`]=n),e),{}))}function Qe(e){return e.split(`,`).map(e=>e.split(`=`).map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(e[t]=n,e),{})}function $e(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((e,[t,n],r)=>
2{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=r===0?i:`${e},${i}`;return a.length>8192?(b&&w.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},``)}var et=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function tt(e){if(!e)return;let t=e.match(et);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 nt(e,t){let n=tt(e),r=Xe(t),{traceId:i,parentSpanId:a,parentSampled:o}=n||{};return n?{traceId:i||A(),parentSpanId:a||A().substring(16),spanId:A().substring(16),sampled:o,dsc:r||{}}:{traceId:i||A(),spanId:A().substring(16)}}function rt(e=A(),t=A().substring(16),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}var L=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,R=`production`;function z(){return oe(`globalEventProcessors`,()=>[])}function it(e){z().push(e)}function B(e,t,n,r=0){return new P((i,a)=>{let o=e[r];if(t===null||typeof o!=`function`)i(t);else{let s=o({...t},n);L&&o.id&&s===null&&w.log(`Event processor "${o.id}" dropped event`),p(s)?s.then(t=>B(e,t,n,r+1).then(i)).then(null,a):B(e,s,n,r+1).then(i).then(null,a)}})}function at(e){let t=I(),n={sid:A(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>st(n)};return e&&V(n,e),n}function V(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||I(),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),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ot(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),V(e,n)}function st(e){return E({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 ct(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,tags:s,origin:c}=H(e);return E({data:r,op:i,parent_span_id:a,span_id:t,status:o,tags:s,trace_id:n,origin:c})}function lt(e){let{traceId:t,spanId:n}=e.spanContext();return rt(t,n,U(e))}function ut(e){return typeof e==`number`?dt(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?dt(e.getTime()):I()}function dt(e){return e>9999999999?e/1e3:e}function H(e){return ft(e)?e.getSpanJSON():typeof e.toJSON==`function`?e.toJSON():{}}function ft(e){return typeof e.getSpanJSON==`function`}function U(e){let{traceFlags:t}=e.spanContext();return!!(t&1)}function pt(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||F()},l=n.integrations||e.integrations.map(e=>e.name);mt(c,e),vt(c,l),t.type===void 0&>(c,e.stackParser);let u=bt(r,n.captureContext);n.mechanism&&Ne(c,n.mechanism);let d=i&&i.getEventProcessors?i.getEventProcessors():[],f=Kt().getScopeData();a&&q(f,a.getScopeData()),u&&q(f,u.getScopeData());let p=[...n.attachments||[],...f.attachments];return p.length&&(n.attachments=p),Rt(c,f),B([...d,...z(),...f.eventProcessors],c,n).then(e=>(e&&_t(e),typeof o==`number`&&o>0?yt(e,o,s):e))}function mt(e,t){let{environment:n,release:r,dist:i,maxValueLength:a=250}=t;`environment`in e||(e.environment=`environment`in t?n:R),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&=g(e.message,a);let o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=g(o.value,a));let s=e.request;s&&s.url&&(s.url=g(s.url,a))}var ht=new WeakMap;function gt(e,t){let n=v._sentryDebugIds;if(!n)return;let r,i=ht.get(t);i?r=i:(r=new Map,ht.set(t,r));let a=Object.keys(n).reduce((e,i)=>{let a,o=r.get(i);o?a=o:(a=t(i),r.set(i,a));for(let t=a.length-1;t>=0;t--){let r=a[t];if(r.filename){e[r.filename]=n[i];break}}return e},{});
2try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=a[e.filename])})})}catch{}}function _t(e){let t={};try{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)})})}catch{}if(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.keys(t).forEach(e=>{n.push({type:`sourcemap`,code_file:e,debug_id:t[e]})})}function vt(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function yt(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:j(e.data,t,n)}}))},...e.user&&{user:j(e.user,t,n)},...e.contexts&&{contexts:j(e.contexts,t,n)},...e.extra&&{extra:j(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=j(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>{let r=H(e).data;return r&&(e.data=j(r,t,n)),e})),r}function bt(e,t){if(!t)return e;let n=e?e.clone():new Y;return n.update(t),n}function xt(e){if(e)return St(e)||wt(e)?{captureContext:e}:e}function St(e){return e instanceof Y||typeof e==`function`}var Ct=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`requestSession`,`propagationContext`];function wt(e){return Object.keys(e).some(e=>Ct.includes(e))}function Tt(e,t){return Z().captureException(e,xt(t))}function Et(e,t){let n=typeof t==`string`?t:void 0,r=typeof t==`string`?void 0:{captureContext:t};return Z().captureMessage(e,n,r)}function Dt(e,t){return Z().captureEvent(e,t)}function Ot(e,t){Z().addBreadcrumb(e,t)}function kt(e,t){Z().setContext(e,t)}function At(...e){let t=Z();if(e.length===2){let[n,r]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,r(n))):t.withScope(r)}return t.withScope(e[0])}function jt(e,t){return At(n=>(n.setSpan(e),t(n)))}function W(){return Z().getClient()}function G(){return Z().getScope()}function Mt(e){let t=W(),n=Q(),r=G(),{release:i,environment:a=R}=t&&t.getOptions()||{},{userAgent:o}=v.navigator||{},s=at({release:i,environment:a,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),c=n.getSession();return c&&c.status===`ok`&&V(c,{status:`exited`}),Nt(),n.setSession(s),r.setSession(s),s}function Nt(){let e=Q(),t=G(),n=t.getSession()||e.getSession();n&&ot(n),Pt(),e.setSession(),t.setSession()}function Pt(){let e=Q(),t=G(),n=W(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function Ft(e=!1){if(e){Nt();return}Pt()}function K(e){return e.transaction}function It(e,t,n){let r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:a}=n&&n.getUser()||{},o=E({environment:r.environment||`production`,release:r.release,user_segment:a,public_key:i,trace_id:e});return t.emit&&t.emit(`createDsc`,o),o}function Lt(e){let t=W();if(!t)return{};let n=It(H(e).trace_id||``,t,G()),r=K(e);if(!r)return n;let i=r&&r._frozenDynamicSamplingContext;if(i)return i;let{sampleRate:a,source:o}=r.metadata;a!=null&&(n.sample_rate=`${a}`);let s=H(r);return o&&o!==`url`&&(n.transaction=s.description),n.sampled=String(U(r)),t.emit&&t.emit(`createDsc`,n),n}function Rt(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;zt(e,t),r&&Ht(e,r),Ut(e,n),Bt(e,i),Vt(e,a)}function q(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,sdkProcessingMetadata:s,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:d,propagationContext:f,transactionName:p,span:m}=t;J(e,`extra`,n),J(e,`tags`,r),J(e,`user`,i),J(e,`contexts`,a),J(e,`sdkProcessingMetadata`,s),o&&(e.level=o),p&&(e.transactionName=p),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function J(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(let r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function zt(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t,c=E(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});let l=E(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});let u=E(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});let d=E(a);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),s&&(e.transaction=s)}function Bt(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Vt(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Ht(e,t){e.contexts={trace:ct(t),...e.contexts};let n=K(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:Lt(t),...e.sdkProcessingMetadata};let r=H(n).description;r&&(e.tags={transaction:r,...e.tags})}}function Ut(e,t){e.fingerprint=e.fingerprint?Fe(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}var Wt=100,Gt,Y=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=qt()}static clone(t){return t?t.clone():new e}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(e){this._client=e}getClient(){return this._client}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,segment:void 0,username:void 0},this._session&&V(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={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},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}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let e=this._span;return e&&e.transaction}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;if(n instanceof e){let e=n.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if(l(n)){let e=t;this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext)}return 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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=qt(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:Wt;if(n<=0)return this;let r={timestamp:F(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):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}
2getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:i,_user:a,_level:o,_fingerprint:s,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:u,_transactionName:d,_span:f}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:i,user:a,level:o,fingerprint:s||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:u,transactionName:d,span:f}}applyToEvent(e,t={},n=[]){return Rt(e,this.getScopeData()),B([...n,...z(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:A();if(!this._client)return w.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:A();if(!this._client)return w.warn(`No client configured on scope - will not capture message!`),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:A();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(w.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),!1)}};function Kt(){return Gt||=new Y,Gt}function qt(){return{traceId:A(),spanId:A().substring(16)}}var Jt=`7.120.3`,Yt=parseFloat(Jt),Xt=100,Zt=class{constructor(e,t,n,r=Yt){this._version=r;let i;t?i=t:(i=new Y,i.setClient(e));let a;n?a=n:(a=new Y,a.setClient(e)),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=a}isOlderThan(e){return this._version<e}bindClient(e){let t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){let e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(e){let t=this.pushScope(),n;try{n=e(t)}catch(e){throw this.popScope(),e}return p(n)?n.then(e=>(this.popScope(),e),e=>{throw this.popScope(),e}):(this.popScope(),n)}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]}captureException(e,t){let n=this._lastEventId=t&&t.event_id?t.event_id:A(),r=Error(`Sentry syntheticException`);return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){let r=this._lastEventId=n&&n.event_id?n.event_id:A(),i=Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r}),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:A();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){let{scope:n,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=Xt}=r.getOptions&&r.getOptions()||{};if(a<=0)return;let o={timestamp:F(),...e},s=i?C(()=>i(o,t)):o;s!==null&&(r.emit&&r.emit(`beforeAddBreadcrumb`,s,t),n.addBreadcrumb(s,a))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){let{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){let t=Qt(this);try{e(this)}finally{Qt(t)}}getIntegration(e){let t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch{return L&&w.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){let n=this._callExtensionMethod(`startTransaction`,e,t);return L&&!n&&(this.getClient()?w.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': 3Sentry.addTracingExtensions(); 4Sentry.init({...}); 5`):w.warn(`Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'`)),n}traceHeaders(){return this._callExtensionMethod(`traceHeaders`)}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,t=e.getSession();t&&ot(t),this._sendSessionUpdate(),e.setSession()}startSession(e){let{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=R}=n&&n.getOptions()||{},{userAgent:a}=v.navigator||{},o=at({release:r,environment:i,user:t.getUser(),...a&&{userAgent:a},...e}),s=t.getSession&&t.getSession();return s&&s.status===`ok`&&V(s,{status:`exited`}),this.endSession(),t.setSession(o),o}shouldSendDefaultPii(){let e=this.getClient(),t=e&&e.getOptions();return!!(t&&t.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){let n=X().__SENTRY__;if(n&&n.extensions&&typeof n.extensions[e]==`function`)return n.extensions[e].apply(this,t);L&&w.warn(`Extension method ${e} couldn't be found, doing nothing.`)}};function X(){return v.__SENTRY__=v.__SENTRY__||{extensions:{},hub:void 0},v}function Qt(e){let t=X(),n=$(t);return tn(t,e),n}function Z(){let e=X();if(e.__SENTRY__&&e.__SENTRY__.acs){let t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return $t(e)}function Q(){return Z().getIsolationScope()}function $t(e=X()){return(!en(e)||$(e).isOlderThan(Yt))&&tn(e,new Zt),$(e)}function en(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function $(e){return oe(`hub`,()=>new Zt,e)}function tn(e,t){if(!e)return!1;let n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}export{_e as $,qe as A,Ne as B,ct as C,s as Ct,L as D,p as Dt,it as E,o as Et,P as F,A as G,Fe as H,Ue as I,De as J,O as K,He as L,Ke as M,F as N,rt as O,I as P,he as Q,j as R,H as S,ee as St,V as T,c as Tt,Pe as U,Me as V,je as W,E as X,T as Y,Se as Z,jt as _,a as _t,It as a,S as at,U as b,u as bt,Ot as c,de as ct,Et as d,v as dt,ge as et,Ft as f,ae as ft,Mt as g,i as gt,kt as h,g as ht,Jt as i,w as it,Ze as j,nt as k,Dt as l,ue as lt,G as m,ie as mt,Q as n,x as nt,Lt as o,b as ot,W as p,ne as pt,ke as q,X as r,C as rt,K as s,fe as st,Z as t,ve as tt,Tt as u,ce as ut,At as v,t as vt,lt as w,l as wt,ut as x,h as xt,pt as y,r as yt,Le as z}; 6//# sourceMappingURL=hub-DAWU9pcD.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.