PageSourceSearch

https://matesna.org/assets/performance-MACg5er5.js

js matesna.org collected 2026-10-05 22:07:39 UTC 95,228 bytes, 14 lines download raw bytes

vendor: 16,506 bytes, lines 1-5
1import{r as kn}from"./components-CS6WkFws.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"140cb5d72b244378571df23e93689059cc753e33"}}catch{}})();try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7b973d00-6038-49cf-9c8e-a2a4ed6ad12f",t._sentryDebugIdIdentifier="sentry-dbid-7b973d00-6038-49cf-9c8e-a2a4ed6ad12f")})()}catch{}const b=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,v=globalThis,Ht="10.22.0";function Et(){return we(v),v}function we(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||Ht,e[Ht]=e[Ht]||{}}function Ae(t,e,n=v){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Ht]=r[Ht]||{};return s[t]||(s[t]=e())}const Vc=["debug","info","warn","error","log","assert","trace"],vs="Sentry Logger ",Ln={};function fn(t){if(!("console"in v))return t();const e=v.console,n={},r=Object.keys(Ln);r.forEach(s=>{const i=Ln[s];n[s]=e[s],e[s]=i});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function Rs(){ln().enabled=!0}function Ns(){ln().enabled=!1}function pr(){return ln().enabled}function Cs(...t){pn("log",...t)}function ws(...t){pn("warn",...t)}function As(...t){pn("error",...t)}function pn(t,...e){b&&pr()&&fn(()=>{v.console[t](`${vs}[${t}]:`,...e)})}function ln(){return b?Ae("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const h={enable:Rs,disable:Ns,isEnabled:pr,log:Cs,warn:ws,error:As},lr=50,Ps="?",xn=/\(error: (.*)\)/,Dn=/captureMessage|captureException/;function ks(...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 c=r;c<o.length;c++){let a=o[c];a.length>1024&&(a=a.slice(0,1024));const u=xn.test(a)?a.replace(xn,"$1"):a;if(!u.match(/\S*Error: /)){for(const f of e){const d=f(u);if(d){i.push(d);break}}if(i.length>=lr+s)break}}return Ls(i.slice(s))}}function Yc(t){return Array.isArray(t)?ks(...t):t}function Ls(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(se(e).function||"")&&e.pop(),e.reverse(),Dn.test(se(e).function||"")&&(e.pop(),Dn.test(se(e).function||"")&&e.pop()),e.slice(0,lr).map(n=>({...n,filename:n.filename||se(e).filename,function:n.function||Ps}))}function se(t){return t[t.length-1]||{}}const Ue="<anonymous>";function mn(t){try{return!t||typeof t!="function"?Ue:t.name||Ue}catch{return Ue}}function Jc(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 de={},Mn={};function Ct(t,e){de[t]=de[t]||[],de[t].push(e)}function wt(t,e){if(!Mn[t]){Mn[t]=!0;try{e()}catch(n){b&&h.error(`Error while instrumenting ${t}`,n)}}}function X(t,e){const n=t&&de[t];if(n)for(const r of n)try{r(e)}catch(s){b&&h.error(`Error while triggering instrumentation handler.
3Type: ${t}
4Name: ${mn(r)}
5Error:`,s)}}let Be=null;function xs(t){const e="error";Ct(e,t),wt(e,Ds)}function Ds(){Be=v.onerror,v.onerror=function(t,e,n,r,s){return X("error",{column:r,error:s,line:n,msg:t,url:e}),Be?Be.apply(this,arguments):!1},v.onerror.__SENTRY_INSTRUMENTED__=!0}let je=null;function Ms(t){const e="unhandledrejection";Ct(e,t),wt(e,Os)}function Os(){je=v.onunhandledrejection,v.onunhandledrejection=function(t){return X("unhandledrejection",t),je?je.apply(this,arguments):!0},v.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const mr=Object.prototype.toString;function gr(t){switch(mr.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Pt(t,Error)}}function At(t,e){return mr.call(t)===`[object ${e}]`}function Kc(t){return At(t,"ErrorEvent")}function Xc(t){return At(t,"DOMError")}function Qc(t){return At(t,"DOMException")}function ut(t){return At(t,"String")}function $s(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function On(t){return t===null||$s(t)||typeof t!="object"&&typeof t!="function"}function hr(t){return At(t,"Object")}function Hs(t){return typeof Event<"u"&&Pt(t,Event)}function Fs(t){return typeof Element<"u"&&Pt(t,Element)}function Us(t){return At(t,"RegExp")}function zt(t){return!!(t!=null&&t.then&&typeof t.then=="function")}function Bs(t){return hr(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Pt(t,e){try{return t instanceof e}catch{return!1}}function _r(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function Sr(t){return typeof Request<"u"&&Pt(t,Request)}const gn=v,js=80;function st(t,e={}){if(!t)return"<unknown>";try{let n=t;const r=5,s=[];let i=0,o=0;const c=" > ",a=c.length;let u;const f=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||js;for(;n&&i++<r&&(u=qs(n,f),!(u==="html"||i>1&&o+s.length*a+u.length>=d));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(c)}catch{return"<unknown>"}}function qs(t,e){const n=t,r=[];if(!(n!=null&&n.tagName))return"";if(gn.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 s=e!=null&&e.length?e.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s!=null&&s.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&ut(o)){const c=o.split(/\s+/);for(const a of c)r.push(`.${a}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const c=n.getAttribute(o);c&&r.push(`[${o}="${c}"]`)}return r.join("")}function hn(){try{return gn.document.location.href}catch{return""}}function Gs(t){if(!gn.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}function _e(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function Zc(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;r<t.length;r++){const s=t[r];try{_r(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function fe(t,e,n=!1){return ut(t)?Us(e)?e.test(t):ut(e)?n?t===e:t.includes(e):!1:!1}function pe(t,e=[],n=!1){return e.some(r=>fe(t,r,n))}function Qe(t,e,n){if(!(e in t))return;const r=t[e];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&yr(s,r);try{t[e]=s}catch{b&&h.log(`Failed to replace method "${e}" in object`,t)}}function Y(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{b&&h.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function yr(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,Y(t,"__sentry_original__",e)}catch{}}function Ws(t){return t.__sentry_original__}function Tr(t){if(gr(t))return{message:t.message,name:t.name,stack:t.stack,...Hn(t)};if(Hs(t)){const e={type:t.type,target:$n(t.target),currentTarget:$n(t.currentTarget),...Hn(t)};return typeof CustomEvent<"u"&&Pt(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function $n(t){try{return Fs(t)?st(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function Hn(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 tu(t,e=40){const n=Object.keys(Tr(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return _e(r,e);for(let s=n.length;s>0;s--){const i=n.slice(0,s).join(", ");if(!(i.length>e))return s===n.length?i:_e(i,e)}return""}function zs(){const t=v;return t.crypto||t.msCrypto}let qe;function Vs(){return Math.random()*16}function dt(t=zs()){try{if(t!=null&&t.randomUUID)return t.randomUUID().replace(/-/g,"")}catch{}return qe||(qe="10000000100040008000"+1e11),qe.replace(/[018]/g,e=>(e^(Vs()&15)>>e/4).toString(16))}function Er(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0]}function eu(t){const{message:e,event_id:n}=t;if(e)return e;const r=Er(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Ys(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 br(t,e){const n=Er(t);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...e},e&&"data"in e){const i={...s==null?void 0:s.data,...e.data};n.mechanism.data=i}}function nu(t){if(Js(t))return!0;try{Y(t,"__sentry_captured__",!0)}catch{}return!1}function Js(t){try{return t.__sentry_captured__}catch{}}const Ir=1e3;function Vt(){return Date.now()/Ir}function Ks(){const{performance:t}=v;if(!(t!=null&&t.now)||!t.timeOrigin)return Vt;const e=t.timeOrigin;return()=>(e+t.now())/Ir}let Fn;function P(){return(Fn??(Fn=Ks()))()}let Ge;function Xs(){var f;const{performance:t}=v;if(!(t!=null&&t.now))return[void 0,"none"];const e=3600*1e3,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,i=s<e,o=(f=t.timing)==null?void 0:f.navigationStart,a=typeof o=="number"?Math.abs(o+n-r):e,u=a<e;return i||u?s<=a?[t.timeOrigin,"timeOrigin"]:[o,"navigationStart"]:[r,"dateNow"]}function B(){return Ge||(Ge=Xs()),Ge[0]}function Qs(t){const e=P(),n={sid:dt(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>ti(n)};return t&&Pe(n,t),n}function Pe(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||P(),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:dt()),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 Zs(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),Pe(t,n)}function ti(t){return{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}}}function ke(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=ke(r[s],e[s],n-1));return r}function it(){return dt()}function rt(){return dt().substring(16)}const Ze="_sentrySpan";function vt(t,e){e?Y(t,Ze,e):delete t[Ze]}function Se(t){return t[Ze]}const ei=100;class Q{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:it(),sampleRand:Math.random()}}clone(){const e=new Q;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),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._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,vt(e,Se(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&&Pe(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this._tags={...this._tags,[e]:n},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...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=n instanceof Q?n.getScopeData():hr(n)?e:void 0,{tags:s,extra:i,user:o,contexts:c,level:a,fingerprint:u=[],propagationContext:f}=r||{};return this._tags={...this._tags,...s},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},o&&Object.keys(o).length&&(this._user=o),a&&(this._level=a),u.length&&(this._fingerprint=u),f&&(this._propagationContext=f),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._session=void 0,vt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:it(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){var i;const r=typeof n=="number"?n:ei;if(r<=0)return this;const s={timestamp:Vt(),...e,message:e.message?_e(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),(i=this._client)==null||i.recordDroppedEvent("buffer_overflow","log_item")),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:Se(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=ke(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=(n==null?void 0:n.event_id)||dt();if(!this._client)return b&&h.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=(r==null?void 0:r.event_id)||dt();if(!this._client)return b&&h.warn("No client configured on scope - will not capture message!"),s;const i=new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...r,event_id:s},this),s}captureEvent(e,n){const r=(n==null?void 0:n.event_id)||dt();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(b&&h.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
5h(e=>{e(this)}),this._notifyingListeners=!1)}}function ni(){return Ae("defaultCurrentScope",()=>new Q)}function ri(){return Ae("defaultIsolationScope",()=>new Q)}class si{constructor(e,n){let r;e?r=e:r=new Q;let s;n?s=n:s=new Q,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 zt(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}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const 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 Rt(){const t=Et(),e=we(t);return e.stack=e.stack||new si(ni(),ri())}function ii(t){return Rt().withScope(t)}function oi(t,e){const n=Rt();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function Un(t){return Rt().withScope(()=>t(Rt().getIsolationScope()))}function ai(){return{withIsolationScope:Un,withScope:ii,withSetScope:oi,withSetIsolationScope:(t,e)=>Un(e),getCurrentScope:()=>Rt().getScope(),getIsolationScope:()=>Rt().getIsolationScope()}}function kt(t){const e=we(t);return e.acs?e.acs:ai()}function R(){const t=Et();return kt(t).getCurrentScope()}function Lt(){const t=Et();return kt(t).getIsolationScope()}function ci(){return Ae("globalScope",()=>new Q)}function Le(...t){const e=Et(),n=kt(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function x(){return R().getClient()}function ru(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,i={trace_id:n,span_id:s||rt()};return r&&(i.parent_span_id=r),i}const U="sentry.source",_n="sentry.sample_rate",vr="sentry.previous_trace_sample_rate",ot="sentry.op",C="sentry.origin",jt="sentry.idle_span_finish_reason",Yt="sentry.measurement_unit",Jt="sentry.measurement_value",Bn="sentry.custom_span_name",ui="sentry.profile_id",xe="sentry.exclusive_time",di="sentry.link.type",fi=0,Rr=1,A=2;function pi(t){if(t<400&&t>=100)return{code:Rr};if(t>=400&&t<500)switch(t){case 401:return{code:A,message:"unauthenticated"};case 403:return{code:A,message:"permission_denied"};case 404:return{code:A,message:"not_found"};case 409:return{code:A,message:"already_exists"};case 413:return{code:A,message:"failed_precondition"};case 429:return{code:A,message:"resource_exhausted"};case 499:return{code:A,message:"cancelled"};default:return{code:A,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:A,message:"unimplemented"};case 503:return{code:A,message:"unavailable"};case 504:return{code:A,message:"deadline_exceeded"};default:return{code:A,message:"internal_error"}}return{code:A,message:"unknown_error"}}function Nr(t,e){t.setAttribute("http.response.status_code",e);const n=pi(e);n.message!=="unknown_error"&&t.setStatus(n)}const Cr="_sentryScope",wr="_sentryIsolationScope";function li(t){try{const e=v.WeakRef;if(typeof e=="function")return new e(t)}catch{}return t}function mi(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}function gi(t,e,n){t&&(Y(t,wr,li(n)),Y(t,Cr,e))}function ye(t){const e=t;return{scope:e[Cr],isolationScope:mi(e[wr])}}const Sn="sentry-",hi=/^sentry-/,_i=8192;function Ar(t){const e=yi(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,i])=>{if(s.match(hi)){const o=s.slice(Sn.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function Si(t){if(!t)return;const e=Object.entries(t).reduce((n,[r,s])=>(s&&(n[`${Sn}${r}`]=s),n),{});return Ti(e)}function yi(t){if(!(!t||!ut(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=jn(n);return Object.entries(r).forEach(([s,i])=>{e[s]=i}),e},{}):jn(t)}function jn(t){return t.split(",").map(e=>{const n=e.indexOf("=");if(n===-1)return[];const r=e.slice(0,n),s=e.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}function Ti(t){if(Object.keys(t).length!==0)return Object.entries(t).reduce((e,[n,r],s)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=s===0?i:`${e},${i}`;return o.length>_i?(b&&h.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):o},"")}const Ei=/^o(\d+)\./,bi=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Ii(t){return t==="http"||t==="https"}function yn(t,e=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:c,publicKey:a}=t;return`${c}://${a}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function vi(t){const e=bi.exec(t);if(!e){fn(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",i="",o="",c=""]=e.slice(1);let a="",u=c;const f=u.split("/");if(f.length>1&&(a=f.slice(0,-1).join("/"),u=f.pop()),u){const d=u.match(/^\d+/);
5d&&(u=d[0])}return Pr({host:i,pass:s,path:a,projectId:u,port:o,protocol:n,publicKey:r})}function Pr(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Ri(t){if(!b)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(o=>t[o]?!1:(h.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?Ii(r)?e&&isNaN(parseInt(e,10))?(h.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(h.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(h.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Ni(t){const e=t.match(Ei);return e==null?void 0:e[1]}function Ci(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=Ni(n)),r}function su(t){const e=typeof t=="string"?vi(t):Pr(t);if(!(!e||!Ri(e)))return e}function Te(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}const kr=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function wi(t){if(!t)return;const e=t.match(kr);if(!e)return;let n;return e[3]==="1"?n=!0:e[3]==="0"&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}function Ai(t,e){const n=wi(t),r=Ar(e);if(!(n!=null&&n.traceId))return{traceId:it(),sampleRand:Math.random()};const s=Pi(n,r);r&&(r.sample_rand=s.toString());const{traceId:i,parentSpanId:o,parentSampled:c}=n;return{traceId:i,parentSpanId:o,sampled:c,dsc:r||{},sampleRand:s}}function Lr(t=it(),e=rt(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function xr(t=it(),e=rt(),n){return`00-${t}-${e}-${n?"01":"00"}`}function Pi(t,e){const n=Te(e==null?void 0:e.sample_rand);if(n!==void 0)return n;const r=Te(e==null?void 0:e.sample_rate);return r&&(t==null?void 0:t.parentSampled)!==void 0?t.parentSampled?Math.random()*r:r+Math.random()*(1-r):Math.random()}const Dr=0,Tn=1;let qn=!1;function ki(t){const{spanId:e,traceId:n}=t.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:c,links:a}=E(t);return{parent_span_id:i,span_id:e,trace_id:n,data:r,op:s,status:o,origin:c,links:a}}function Li(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:E(t).parent_span_id,i=ye(t).scope,o=r?(i==null?void 0:i.getPropagationContext().propagationSpanId)||rt():e;return{parent_span_id:s,span_id:o,trace_id:n}}function xi(t){const{traceId:e,spanId:n}=t.spanContext(),r=gt(t);return Lr(e,n,r)}function Di(t){const{traceId:e,spanId:n}=t.spanContext(),r=gt(t);return xr(e,n,r)}function Mr(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:e,trace_id:n,sampled:r===Tn,attributes:i,...s}))}function yt(t){return typeof t=="number"?Gn(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Gn(t.getTime()):P()}function Gn(t){return t>9999999999?t/1e3:t}function E(t){var r;if(Oi(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(Mi(t)){const{attributes:s,startTime:i,name:o,endTime:c,status:a,links:u}=t,f="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?(r=t.parentSpanContext)==null?void 0:r.spanId:void 0;return{span_id:e,trace_id:n,data:s,description:o,parent_span_id:f,start_timestamp:yt(i),timestamp:yt(c)||void 0,status:Or(a),op:s[ot],origin:s[C],links:Mr(u)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function Mi(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function Oi(t){return typeof t.getSpanJSON=="function"}function gt(t){const{traceFlags:e}=t.spanContext();return e===Tn}function Or(t){if(!(!t||t.code===fi))return t.code===Rr?"ok":t.message||"unknown_error"}const Tt="_sentryChildSpans",tn="_sentryRootSpan";function $r(t,e){const n=t[tn]||t;Y(e,tn,n),t[Tt]?t[Tt].add(e):Y(t,Tt,new Set([e]))}function $i(t,e){t[Tt]&&t[Tt].delete(e)}function le(t){const e=new Set;function n(r){if(!e.has(r)&&gt(r)){e.add(r);const s=r[Tt]?Array.from(r[Tt]):[];for(const i of s)n(i)}}return n(t),Array.from(e)}function M(t){return t[tn]||t}function H(){const t=Et(),e=kt(t);return e.getActiveSpan?e.getActiveSpan():Se(R())}function Hi(){qn||(fn(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),qn=!0)}let Wn=!1;function Fi(){if(Wn)return;function t(){const e=H(),n=e&&M(e);if(n){const r="internal_error";b&&h.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:A,message:r})}}t.tag="sentry_tracingErrorCallback",Wn=!0,xs(t),Ms(t)}function V(t){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=t||((n=x())==null?void 0:n.getOptions());return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}function zn(t){h.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function Hr(t,e){if(!(e!=null&&e.length)||!t.description)return!1;
5for(const n of e){if(Ui(n)){if(fe(t.description,n))return b&&zn(t),!0;continue}if(!n.name&&!n.op)continue;const r=n.name?fe(t.description,n.name):!0,s=n.op?t.op&&fe(t.op,n.op):!0;if(r&&s)return b&&zn(t),!0}return!1}function iu(t,e){const n=e.parent_span_id,r=e.span_id;if(n)for(const s of t)s.parent_span_id===r&&(s.parent_span_id=n)}function Ui(t){return typeof t=="string"||t instanceof RegExp}const Fr="production",Ur="_frozenDsc";function me(t,e){Y(t,Ur,e)}function Br(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||Fr,release:n.release,public_key:r,trace_id:t,org_id:Ci(e)};return e.emit("createDsc",s),s}function Bi(t,e){const n=e.getPropagationContext();return n.dsc||Br(n.traceId,t)}function ft(t){var l;const e=x();if(!e)return{};const n=M(t),r=E(n),s=r.data,i=n.spanContext().traceState,o=(i==null?void 0:i.get("sentry.sample_rate"))??s[_n]??s[vr];function c(_){return(typeof o=="number"||typeof o=="string")&&(_.sample_rate=`${o}`),_}const a=n[Ur];if(a)return c(a);const u=i==null?void 0:i.get("sentry.dsc"),f=u&&Ar(u);if(f)return c(f);const d=Br(t.spanContext().traceId,e),p=s[U],m=r.description;return p!=="url"&&m&&(d.transaction=m),V()&&(d.sampled=String(gt(n)),d.sample_rand=(i==null?void 0:i.get("sentry.sample_rand"))??((l=ye(n).scope)==null?void 0:l.getPropagationContext().sampleRand.toString())),c(d),e.emit("createDsc",d,n),d}class pt{constructor(e={}){this._traceId=e.traceId||it(),this._spanId=e.spanId||rt()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:Dr}}end(e){}setAttribute(e,n){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,n,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,n){}}function nt(t,e=100,n=1/0){try{return en("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ji(t,e=3,n=100*1024){const r=nt(t,e);return zi(r)>n?ji(t,e-1,n):r}function en(t,e,n=1/0,r=1/0,s=Vi()){const[i,o]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const c=qi(t,e);if(!c.startsWith("[object "))return c;if(e.__sentry_skip_normalization__)return e;const a=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(a===0)return c.replace("object ","");if(i(e))return"[Circular ~]";const u=e;if(u&&typeof u.toJSON=="function")try{const m=u.toJSON();return en("",m,a-1,r,s)}catch{}const f=Array.isArray(e)?[]:{};let d=0;const p=Tr(e);for(const m in p){if(!Object.prototype.hasOwnProperty.call(p,m))continue;if(d>=r){f[m]="[MaxProperties ~]";break}const l=p[m];f[m]=en(m,l,a-1,r,s),d++}return o(e),f}function qi(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(_r(e))return"[VueViewModel]";if(Bs(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${mn(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=Gi(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function Gi(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function Wi(t){return~-encodeURI(t).split(/%..|./).length}function zi(t){return Wi(JSON.stringify(t))}function Vi(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}function En(t,e=[]){return[t,e]}function ou(t,e){const[n,r]=t;return[n,[...r,e]]}function au(t,e){const n=t[1];for(const r of n){const s=r[0].type;if(e(r,s))return!0}return!1}function nn(t){const e=we(v);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function cu(t){const[e,n]=t;let r=JSON.stringify(e);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[nn(r),i]:r.push(typeof i=="string"?nn(i):i)}for(const i of n){const[o,c]=i;if(s(`
6${JSON.stringify(o)}
7`),typeof c=="string"||c instanceof Uint8Array)s(c);else{let a;try{a=JSON.stringify(c)}catch{a=JSON.stringify(nt(c))}s(a)}}return typeof r=="string"?r:Yi(r)}function Yi(t){const e=t.reduce((s,i)=>s+i.length,0),n=new Uint8Array(e);let r=0;for(const s of t)n.set(s,r),r+=s.length;return n}function Ji(t){return[{type:"span"},t]}
7function uu(t){const e=typeof t.data=="string"?nn(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const Ki={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function du(t){return Ki[t]}function jr(t){if(!(t!=null&&t.sdk))return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Xi(t,e,n,r){var i;const s=(i=t.sdkProcessingMetadata)==null?void 0:i.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:yn(r)},...s&&{trace:s}}}function Qi(t,e){var r,s,i,o;if(!e)return t;const n=t.sdk||{};return t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...((r=t.sdk)==null?void 0:r.integrations)||[],...e.integrations||[]],packages:[...((s=t.sdk)==null?void 0:s.packages)||[],...e.packages||[]],settings:(i=t.sdk)!=null&&i.settings||e.settings?{...(o=t.sdk)==null?void 0:o.settings,...e.settings}:void 0},t}function fu(t,e,n,r){const s=jr(n),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:yn(e)}},o="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return En(i,[o])}function pu(t,e,n,r){const s=jr(n),i=t.type&&t.type!=="replay_event"?t.type:"event";Qi(t,n==null?void 0:n.sdk);const o=Xi(t,s,r,e);return delete t.sdkProcessingMetadata,En(o,[[{type:i},t]])}function Zi(t,e){function n(m){return!!m.trace_id&&!!m.public_key}const r=ft(t[0]),s=e==null?void 0:e.getDsn(),i=e==null?void 0:e.getOptions().tunnel,o={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!i&&s&&{dsn:yn(s)}},{beforeSendSpan:c,ignoreSpans:a}=(e==null?void 0:e.getOptions())||{},u=a!=null&&a.length?t.filter(m=>!Hr(E(m),a)):t,f=t.length-u.length;f&&(e==null||e.recordDroppedEvent("before_send","span",f));const d=c?m=>{const l=E(m),_=c(l);return _||(Hi(),l)}:E,p=[];for(const m of u){const l=d(m);l&&p.push(Ji(l))}return En(o,p)}function to(t){if(!b)return;const{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=E(t),{spanId:s}=t.spanContext(),i=gt(t),o=M(t),c=o===t,a=`[Tracing] Starting ${i?"sampled":"unsampled"} ${c?"root ":""}span`,u=[`op: ${n}`,`name: ${e}`,`ID: ${s}`];if(r&&u.push(`parent ID: ${r}`),!c){const{op:f,description:d}=E(o);u.push(`root ID: ${o.spanContext().spanId}`),f&&u.push(`root op: ${f}`),d&&u.push(`root description: ${d}`)}h.log(`${a}
8  ${u.join(`
9  `)}`)}function eo(t){if(!b)return;const{description:e="< unknown name >",op:n="< unknown op >"}=E(t),{spanId:r}=t.spanContext(),i=M(t)===t,o=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${e}" with ID ${r}`;h.log(o)}function no(t,e,n,r=H()){const s=r&&M(r);s&&(b&&h.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),s.addEvent(t,{[Jt]:e,[Yt]:n}))}function Vn(t){if(!t||t.length===0)return;const e={};return t.forEach(n=>{const r=n.attributes||{},s=r[Yt],i=r[Jt];typeof s=="string"&&typeof i=="number"&&(e[n.name]={value:i,unit:s})}),e}const Yn=1e3;class De{constructor(e={}){this._traceId=e.traceId||it(),this._spanId=e.spanId||rt(),this._startTime=e.startTimestamp||P(),this._links=e.links,this._attributes={},this.setAttributes({[C]:"manual",[ot]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,n){}spanContext(){const{_spanId:e,_traceId:n,_sampled:r}=this;return{spanId:e,traceId:n,traceFlags:r?Tn:Dr}}setAttribute(e,n){return n===void 0?delete this._attributes[e]:this._attributes[e]=n,this}setAttributes(e){return Object.keys(e).forEach(n=>this.setAttribute(n,e[n])),this}updateStartTime(e){this._startTime=yt(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(U,"custom"),this}end(e){this._endTime||(this._endTime=yt(e),eo(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[ot],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Or(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[C],profile_id:this._attributes[ui],exclusive_time:this._attributes[xe],measurements:Vn(this._events),is_segment:this._isStandaloneSpan&&M(this)===this||void 0,segment_id:this._isStandaloneSpan?M(this).spanContext().spanId:void 0,links:Mr(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,n,r){b&&h.log("[Tracing] Adding an event to span:",e);const s=Jn(n)?n:r||P(),i=Jn(n)?{}:n||{},o={name:e,time:yt(s),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=x();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===M(this)))return;if(this._isStandaloneSpan){this._sampled?so(Zi([this],e)):(b&&h.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}const r=this._convertSpanToTransaction();r&&(ye(this).scope||R()).captureEvent(r)}_convertSpanToTransaction(){var f;if(!Kn(E(this)))return;this._name||(b&&h.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:e,isolationScope:n}=ye(this),r=(f=e==null?void 0:e.getScopeData().sdkProcessingMetadata)==null?void 0:f.normalizedRequest;if(this._sampled!==!0)return;const i=le(this).filter(d=>d!==this&&!ro(d)).map(d=>E(d)).filter(Kn),o=this._attributes[U];
9delete this._attributes[Bn],i.forEach(d=>{delete d.data[Bn]});const c={contexts:{trace:ki(this)},spans:i.length>Yn?i.sort((d,p)=>d.start_timestamp-p.start_timestamp).slice(0,Yn):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:ft(this)},request:r,...o&&{transaction_info:{source:o}}},a=Vn(this._events);return a&&Object.keys(a).length&&(b&&h.log("[Measurements] Adding measurements to transaction event",JSON.stringify(a,void 0,2)),c.measurements=a),c}}function Jn(t){return t&&typeof t=="number"||t instanceof Date||Array.isArray(t)}function Kn(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}function ro(t){return t instanceof De&&t.isStandaloneSpan()}function so(t){const e=x();if(!e)return;const n=t[1];if(!n||n.length===0){e.recordDroppedEvent("before_send","span");return}e.sendEnvelope(t)}function io(t,e,n=()=>{},r=()=>{}){let s;try{s=t()}catch(i){throw e(i),n(),i}return oo(s,e,n,r)}function oo(t,e,n,r){return zt(t)?t.then(s=>(n(),r(s),s),s=>{throw e(s),n(),s}):(n(),r(t),t)}function ao(t,e,n){if(!V(t))return[!1];let r,s;typeof t.tracesSampler=="function"?(s=t.tracesSampler({...e,inheritOrSampleWith:c=>typeof e.parentSampleRate=="number"?e.parentSampleRate:typeof e.parentSampled=="boolean"?Number(e.parentSampled):c}),r=!0):e.parentSampled!==void 0?s=e.parentSampled:typeof t.tracesSampleRate<"u"&&(s=t.tracesSampleRate,r=!0);const i=Te(s);if(i===void 0)return b&&h.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!i)return b&&h.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,r];const o=n<i;return o||b&&h.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[o,i,r]}const qr="__SENTRY_SUPPRESS_TRACING__";function co(t,e){const n=In();if(n.startSpan)return n.startSpan(t,e);const r=Wr(t),{forceTransaction:s,parentSpan:i,scope:o}=t,c=o==null?void 0:o.clone();return Le(c,()=>fo(i)(()=>{const u=R(),f=zr(u,i),p=t.onlyIfParent&&!f?new pt:Gr({parentSpan:f,spanArguments:r,forceTransaction:s,scope:u});return vt(u,p),io(()=>e(p),()=>{const{status:m}=E(p);p.isRecording()&&(!m||m==="ok")&&p.setStatus({code:A,message:"internal_error"})},()=>{p.end()})}))}function xt(t){const e=In();if(e.startInactiveSpan)return e.startInactiveSpan(t);const n=Wr(t),{forceTransaction:r,parentSpan:s}=t;return(t.scope?o=>Le(t.scope,o):s!==void 0?o=>bn(s,o):o=>o())(()=>{const o=R(),c=zr(o,s);return t.onlyIfParent&&!c?new pt:Gr({parentSpan:c,spanArguments:n,forceTransaction:r,scope:o})})}function bn(t,e){const n=In();return n.withActiveSpan?n.withActiveSpan(t,e):Le(r=>(vt(r,t||void 0),e(r)))}function Gr({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){if(!V()){const o=new pt;if(n||!t){const c={sampled:"false",sample_rate:"0",transaction:e.name,...ft(o)};me(o,c)}return o}const s=Lt();let i;if(t&&!n)i=uo(t,r,e),$r(t,i);else if(t){const o=ft(t),{traceId:c,spanId:a}=t.spanContext(),u=gt(t);i=Xn({traceId:c,parentSpanId:a,...e},r,u),me(i,o)}else{const{traceId:o,dsc:c,parentSpanId:a,sampled:u}={...s.getPropagationContext(),...r.getPropagationContext()};i=Xn({traceId:o,parentSpanId:a,...e},r,u),c&&me(i,c)}return to(i),gi(i,r,s),i}function Wr(t){const n={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){const r={...n};return r.startTimestamp=yt(t.startTime),delete r.startTime,r}return n}function In(){const t=Et();return kt(t)}function Xn(t,e,n){var l;const r=x(),s=(r==null?void 0:r.getOptions())||{},{name:i=""}=t,o={spanAttributes:{...t.attributes},spanName:i,parentSampled:n};r==null||r.emit("beforeSampling",o,{decision:!1});const c=o.parentSampled??n,a=o.spanAttributes,u=e.getPropagationContext(),[f,d,p]=e.getScopeData().sdkProcessingMetadata[qr]?[!1]:ao(s,{name:i,parentSampled:c,attributes:a,parentSampleRate:Te((l=u.dsc)==null?void 0:l.sample_rate)},u.sampleRand),m=new De({...t,attributes:{[U]:"custom",[_n]:d!==void 0&&p?d:void 0,...a},sampled:f});return!f&&r&&(b&&h.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",m),m}function uo(t,e,n){const{spanId:r,traceId:s}=t.spanContext(),i=e.getScopeData().sdkProcessingMetadata[qr]?!1:gt(t),o=i?new De({...n,parentSpanId:r,traceId:s,sampled:i}):new pt({traceId:s});$r(t,o);const c=x();
9return c&&(c.emit("spanStart",o),n.endTimestamp&&c.emit("spanEnd",o)),o}function zr(t,e){if(e)return e;if(e===null)return;const n=Se(t);if(!n)return;const r=x();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?M(n):n}function fo(t){return t!==void 0?e=>bn(t,e):e=>e()}const ge={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},po="heartbeatFailed",lo="idleTimeout",mo="finalTimeout",go="externalFinish";function Vr(t,e={}){const n=new Map;let r=!1,s,i=go,o=!e.disableAutoFinish;const c=[],{idleTimeout:a=ge.idleTimeout,finalTimeout:u=ge.finalTimeout,childSpanTimeout:f=ge.childSpanTimeout,beforeSpanEnd:d,trimIdleSpanEndTimestamp:p=!0}=e,m=x();if(!m||!V()){const T=new pt,k={sample_rate:"0",sampled:"false",...ft(T)};return me(T,k),T}const l=R(),_=H(),g=ho(t);g.end=new Proxy(g.end,{apply(T,k,bt){if(d&&d(g),k instanceof pt)return;const[re,...Z]=bt,ht=re||P(),L=yt(ht),q=le(g).filter(y=>y!==g),_t=E(g);if(!q.length||!p)return ne(L),Reflect.apply(T,k,[L,...Z]);const G=m.getOptions().ignoreSpans,at=q==null?void 0:q.reduce((y,O)=>{const $=E(O);return!$.timestamp||G&&Hr($,G)?y:y?Math.max(y,$.timestamp):$.timestamp},void 0),I=_t.start_timestamp,w=Math.min(I?I+u/1e3:1/0,Math.max(I||-1/0,Math.min(L,at||1/0)));return ne(w),Reflect.apply(T,k,[w,...Z])}});function J(){s&&(clearTimeout(s),s=void 0)}function K(T){J(),s=setTimeout(()=>{!r&&n.size===0&&o&&(i=lo,g.end(T))},a)}function ee(T){s=setTimeout(()=>{!r&&o&&(i=po,g.end(T))},f)}function He(T){J(),n.set(T,!0);const k=P();ee(k+f/1e3)}function Fe(T){if(n.has(T)&&n.delete(T),n.size===0){const k=P();K(k+a/1e3)}}function ne(T){r=!0,n.clear(),c.forEach(L=>L()),vt(l,_);const k=E(g),{start_timestamp:bt}=k;if(!bt)return;k.data[jt]||g.setAttribute(jt,i),h.log(`[Tracing] Idle span "${k.op}" finished`);const Z=le(g).filter(L=>L!==g);let ht=0;Z.forEach(L=>{L.isRecording()&&(L.setStatus({code:A,message:"cancelled"}),L.end(T),b&&h.log("[Tracing] Cancelling span since span ended early",JSON.stringify(L,void 0,2)));const q=E(L),{timestamp:_t=0,start_timestamp:G=0}=q,at=G<=T,I=(u+a)/1e3,w=_t-G<=I;if(b){const y=JSON.stringify(L,void 0,2);at?w||h.log("[Tracing] Discarding span since it finished after idle span final timeout",y):h.log("[Tracing] Discarding span since it happened after idle span was finished",y)}(!w||!at)&&($i(g,L),ht++)}),ht>0&&g.setAttribute("sentry.idle_span_discarded_spans",ht)}return c.push(m.on("spanStart",T=>{if(r||T===g||E(T).timestamp||T instanceof De&&T.isStandaloneSpan())return;le(g).includes(T)&&He(T.spanContext().spanId)})),c.push(m.on("spanEnd",T=>{r||Fe(T.spanContext().spanId)})),c.push(m.on("idleSpanEnableAutoFinish",T=>{T===g&&(o=!0,K(),n.size&&ee())})),e.disableAutoFinish||K(),setTimeout(()=>{r||(g.setStatus({code:A,message:"deadline_exceeded"}),i=mo,g.end())},u),g}function ho(t){const e=xt(t);return vt(R(),e),b&&h.log("[Tracing] Started span is an idle span"),e}const We=0,Qn=1,Zn=2;function _o(t){return new qt(e=>{e(t)})}function So(t){return new qt((e,n)=>{n(t)})}class qt{constructor(e){this._state=We,this._handlers=[],this._runExecutor(e)}then(e,n){return new qt((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 qt((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)})})}_executeHandlers(){if(this._state===We)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===Qn&&n[1](this._value),this._state===Zn&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(i,o)=>{if(this._state===We){if(zt(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(Qn,i)},s=i=>{n(Zn,i)};try{e(r,s)}catch(i){s(i)}}}function yo(t,e,n,r=0){try{const s=rn(e,n,t,r);return zt(s)?s:_o(s)}catch(s){return So(s)}}function rn(t,e,n,r){const s=n[r];if(!t||!s)return t;const i=s({...t},e);return b&&i===null&&h.log(`Event processor "${s.id||"?"}" dropped event`),zt(i)?i.then(o=>rn(o,e,n,r+1)):rn(i,e,n,r+1)}function To(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;Eo(t,e),r&&vo(t,r),Ro(t,n),bo(t,s),Io(t,i)}function tr(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:c,breadcrumbs:a,fingerprint:u,eventProcessors:f,attachments:d,propagationContext:p,transactionName:m,span:l}=e;ie(t,"extra",n),ie(t,"tags",r),ie(t,"user",s),ie(t,"contexts",i),t.sdkProcessingMetadata=ke(t.sdkProcessingMetadata,c,2),o&&(t.level=o),m&&(t.transactionName=m),l&&(t.span=l),a.length&&(t.breadcrumbs=[...t.breadcrumbs,...a]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...p}}function ie(t,e,n){t[e]=ke(t[e],n,1)}function Eo(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:c}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),o&&(t.level=o),c&&t.type!=="transaction"&&(t.transaction=c)}function bo(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function Io(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function vo(t,e){t.contexts={trace:Li(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:ft(e),...t.sdkProcessingMetadata};const n=M(e),r=E(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function Ro(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}let et,er,nr,ct;function No(t){const e=v._sentryDebugIds,n=v._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(ct&&r.length===er&&s.length===nr)return ct;er=r.length,nr=s.length,ct={},et||(et={});const i=(o,c)=>{for(const a of o){const u=c[a],f=et==null?void 0:et[a];if(f&&ct&&u)ct[f[0]]=u,et&&(et[a]=[f[0],u]);else if(u){const d=t(a);for(let p=d.length-1;p>=0;p--){const m=d[p],l=m==null?void 0:m.filename;if(l&&ct&&et){ct[l]=u,et[a]=[l,u];break}}}}};return e&&i(r,e),n&&i(s,n),ct}function lu(t,e,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:c=1e3}=t,a={...e,event_id:e.event_id||n.event_id||dt(),timestamp:e.timestamp||Vt()},u=n.integrations||t.integrations.map(g=>g.name);Co(a,t),Po(a,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&wo(a,t.stackParser);const f=Lo(r,n.captureContext);n.mechanism&&br(a,n.mechanism);const d=s?s.getEventProcessors():[],p=ci().getScopeData();if(i){const g=i.getScopeData();tr(p,g)}if(f){const g=f.getScopeData();tr(p,g)}const m=[...n.attachments||[],...p.attachments];m.length&&(n.attachments=m),To(a,p);const l=[...d,...p.eventProcessors];return yo(l,a,n).then(g=>(g&&Ao(g),typeof o=="number"&&o>0?ko(g,o,c):g))}function Co(t,e){const{environment:n,release:r,dist:s,maxValueLength:i=250}=e;t.environment=t.environment||n||Fr,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const o=t.request;
9o!=null&&o.url&&(o.url=_e(o.url,i))}function wo(t,e){var r,s;const n=No(e);(s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(i=>{var o,c;(c=(o=i.stacktrace)==null?void 0:o.frames)==null||c.forEach(a=>{a.filename&&(a.debug_id=n[a.filename])})})}function Ao(t){var r,s;const e={};if((s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(i=>{var o,c;(c=(o=i.stacktrace)==null?void 0:o.frames)==null||c.forEach(a=>{a.debug_id&&(a.abs_path?e[a.abs_path]=a.debug_id:a.filename&&(e[a.filename]=a.debug_id),delete a.debug_id)})}),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.entries(e).forEach(([i,o])=>{n.push({type:"sourcemap",code_file:i,debug_id:o})})}function Po(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function ko(t,e,n){var s,i;if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(o=>({...o,...o.data&&{data:nt(o.data,e,n)}}))},...t.user&&{user:nt(t.user,e,n)},...t.contexts&&{contexts:nt(t.contexts,e,n)},...t.extra&&{extra:nt(t.extra,e,n)}};return(s=t.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=nt(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(o=>({...o,...o.data&&{data:nt(o.data,e,n)}}))),(i=t.contexts)!=null&&i.flags&&r.contexts&&(r.contexts.flags=nt(t.contexts.flags,3,n)),r}function Lo(t,e){if(!e)return t;const n=t?t.clone():new Q;return n.update(e),n}function xo(t){if(t)return Do(t)?{captureContext:t}:Oo(t)?{captureContext:t}:t}function Do(t){return t instanceof Q||typeof t=="function"}const Mo=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Oo(t){return Object.keys(t).some(e=>Mo.includes(e))}function $o(t,e){return R().captureException(t,xo(e))}function mu(t,e){return R().captureEvent(t,e)}function gu(t,e){Lt().setContext(t,e)}function Ho(){const t=x();return(t==null?void 0:t.getOptions().enabled)!==!1&&!!(t!=null&&t.getTransport())}function hu(t){const e=Lt(),n=R(),{userAgent:r}=v.navigator||{},s=Qs({user:n.getUser()||e.getUser(),...r&&{userAgent:r},...t}),i=e.getSession();return(i==null?void 0:i.status)==="ok"&&Pe(i,{status:"exited"}),Yr(),e.setSession(s),s}function Yr(){const t=Lt(),n=R().getSession()||t.getSession();n&&Zs(n),Jr(),t.setSession()}function Jr(){const t=Lt(),e=x(),n=t.getSession();n&&e&&e.captureSession(n)}function _u(t=!1){if(t){Yr();return}Jr()}const Fo="thismessage:/";function Kr(t){return"isRelative"in t}function Xr(t,e){const n=t.indexOf("://")<=0&&t.indexOf("//")!==0,r=n?Fo:void 0;try{if("canParse"in URL&&!URL.canParse(t,r))return;const s=new URL(t,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function Uo(t){if(Kr(t))return t.pathname;const e=new URL(t);return e.search="",e.hash="",["80","443"].includes(e.port)&&(e.port=""),e.password&&(e.password="%filtered%"),e.username&&(e.username="%filtered%"),e.toString()}function Ee(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function Bo(t){return t.split(/[?#]/,1)[0]}function Qr(t={}){const e=t.client||x();if(!Ho()||!e)return{};const n=Et(),r=kt(n);if(r.getTraceData)return r.getTraceData(t);const s=t.scope||R(),i=t.span||H(),o=i?xi(i):jo(s),c=i?ft(i):Bi(e,s),a=Si(c);if(!kr.test(o))return h.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const f={"sentry-trace":o,baggage:a};if(t.propagateTraceparent){const d=i?Di(i):qo(s);d&&(f.traceparent=d)}return f}function jo(t){const{traceId:e,sampled:n,propagationSpanId:r}=t.getPropagationContext();return Lr(e,r,n)}function qo(t){const{traceId:e,sampled:n,propagationSpanId:r}=t.getPropagationContext();return xr(e,r,n)}function Go(t,e,n,r,s){if(!t.fetchData)return;const{method:i,url:o}=t.fetchData,c=V()&&e(o);if(t.endTimestamp&&c){const m=t.fetchData.__span;if(!m)return;const l=r[m];l&&(Vo(l,t),Wo(l,t,s),delete r[m]);return}const{spanOrigin:a="auto.http.browser",propagateTraceparent:u=!1}=typeof s=="object"?s:{spanOrigin:s},f=!!H(),d=c&&f?xt(Jo(o,i,a)):new pt;if(t.fetchData.__span=d.spanContext().spanId,r[d.spanContext().spanId]=d,n(t.fetchData.url)){const m=t.args[0],l=t.args[1]||{},_=zo(m,l,V()&&f?d:void 0,u);_&&(t.args[1]=l,l.headers=_)}const p=x();if(p){const m={input:t.args,response:t.response,startTimestamp:t.startTimestamp,endTimestamp:t.endTimestamp};p.emit("beforeOutgoingRequestSpan",d,m)}return d}function Wo(t,e,n){var s;const r=typeof n=="object"&&n!==null?n.onRequestSpanEnd:void 0;r==null||r(t,{headers:(s=e.response)==null?void 0:s.headers,error:e.error})}function zo(t,e,n,r){const s=Qr({span:n,propagateTraceparent:r}),i=s["sentry-trace"],o=s.baggage,c=s.traceparent;if(!i)return;const a=e.headers||(Sr(t)?t.headers:void 0);if(a)if(Yo(a)){const u=new Headers(a);if(u.get("sentry-trace")||u.set("sentry-trace",i),r&&c&&!u.get("traceparent")&&u.set("traceparent",c),o){const f=u.get("baggage");f?oe(f)||u.set("baggage",`${f},${o}`):u.set("baggage",o)}return u}else if(Array.isArray(a)){const u=[...a];a.find(d=>d[0]==="sentry-trace")||u.push(["sentry-trace",i]),r&&c&&!a.find(d=>d[0]==="traceparent")&&u.push(["traceparent",c]);const f=a.find(d=>d[0]==="baggage"&&oe(d[1]));return o&&!f&&u.push(["baggage",o]),u}else{const u="sentry-trace"in a?a["sentry-trace"]:void 0,f="traceparent"in a?a.traceparent:void 0,d="baggage"in a?a.baggage:void 0,p=d?Array.isArray(d)?[...d]:[d]:[],m=d&&(Array.isArray(d)?d.find(_=>oe(_)):oe(d));o&&!m&&p.push(o);const l={...a,"sentry-trace":u??i,baggage:p.length>0?p.join(","):void 0};return r&&c&&!f&&(l.traceparent=c),l}else return{...s}}function Vo(t,e){var n,r;if(e.response){Nr(t,e.response.status);const s=(r=(n=e.response)==null?void 0:n.headers)==null?void 0:r.get("content-length");if(s){const i=parseInt(s);i>0&&t.setAttribute("http.response_content_length",i)}}else e.error&&t.setStatus({code:A,message:"internal_error"});t.end()}function oe(t){return t.split(",").some(e=>e.trim().startsWith(Sn))}function Yo(t){return typeof Headers<"u"&&Pt(t,Headers)}function Jo(t,e,n){const r=Xr(t);return{name:r?`${e} ${Uo(r)}`:e,attributes:Ko(t,r,e,n)}}function Ko(t,e,n,r){const s={url:t,type:"fetch","http.method":n,[C]:r,[ot]:"http.client"};return e&&(Kr(e)||(s["http.url"]=e.href,s["server.address"]=e.host),e.search&&(s["http.query"]=e.search),e.hash&&(s["http.fragment"]=e.hash)),s}const Gt=v;function Xo(){return"history"in Gt&&!!Gt.history}function Qo(){if(!("fetch"in Gt))return!1;
9try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function rr(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function Zo(){var n;if(typeof EdgeRuntime=="string")return!0;if(!Qo())return!1;if(rr(Gt.fetch))return!0;let t=!1;const e=Gt.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(t=rr(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){b&&h.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function ta(t,e){const n="fetch";Ct(n,t),wt(n,()=>Zr(void 0,e))}function ea(t){const e="fetch-body-resolved";Ct(e,t),wt(e,()=>Zr(ra))}function Zr(t,e=!1){e&&!Zo()||Qe(v,"fetch",function(n){return function(...r){const s=new Error,{method:i,url:o}=sa(r),c={args:r,fetchData:{method:i,url:o},startTimestamp:P()*1e3,virtualError:s,headers:ia(r)};return t||X("fetch",{...c}),n.apply(v,r).then(async a=>(t?t(a):X("fetch",{...c,endTimestamp:P()*1e3,response:a}),a),a=>{if(X("fetch",{...c,endTimestamp:P()*1e3,error:a}),gr(a)&&a.stack===void 0&&(a.stack=s.stack,Y(a,"framesToPop",1)),a instanceof TypeError&&(a.message==="Failed to fetch"||a.message==="Load failed"||a.message==="NetworkError when attempting to fetch resource."))try{const u=new URL(c.fetchData.url);a.message=`${a.message} (${u.host})`}catch{}throw a})}})}async function na(t,e){if(t!=null&&t.body){const n=t.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let o;try{o=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:c}=await r.read();clearTimeout(o),c&&(e(),i=!1)}catch{i=!1}finally{clearTimeout(o)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function ra(t){let e;try{e=t.clone()}catch{return}na(e,()=>{X("fetch-body-resolved",{endTimestamp:P()*1e3,response:t})})}function sn(t,e){return!!t&&typeof t=="object"&&!!t[e]}function sr(t){return typeof t=="string"?t:t?sn(t,"url")?t.url:t.toString?t.toString():"":""}function sa(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,r]=t;return{url:sr(n),method:sn(r,"method")?String(r.method).toUpperCase():"GET"}}const e=t[0];return{url:sr(e),method:sn(e,"method")?String(e.method).toUpperCase():"GET"}}function ia(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Sr(e))return new Headers(e.headers)}catch{}}function oa(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Su(){return"npm"}function aa(){return!oa()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}const ca=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,D=v;let on=0;function yu(){return on>0}function ua(){on++,setTimeout(()=>{on--})}function da(t,e={}){function n(s){return typeof s=="function"}if(!n(t))return t;try{const s=t.__sentry_wrapped__;if(s)return typeof s=="function"?s:t;if(Ws(t))return t}catch{return t}const r=function(...s){try{const i=s.map(o=>da(o,e));return t.apply(this,i)}catch(i){throw ua(),Le(o=>{o.addEventProcessor(c=>(e.mechanism&&(Ys(c,void 0),br(c,e.mechanism)),c.extra={...c.extra,arguments:s},c)),$o(i)}),i}};try{for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}catch{}yr(r,t),Y(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}function ts(){const t=hn(),{referrer:e}=D.document||{},{userAgent:n}=D.navigator||{},r={...e&&{Referer:e},...n&&{"User-Agent":n}};return{url:t,headers:r}}const Me=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,S=v,fa=(t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good",Kt=(t,e,n,r)=>{let s,i;return o=>{e.value>=0&&(o||r)&&(i=e.value-(s??0),(i||s===void 0)&&(s=e.value,e.delta=i,e.rating=fa(e.value,n),t(e)))}},pa=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Xt=(t=!0)=>{var n,r;const e=(r=(n=S.performance)==null?void 0:n.getEntriesByType)==null?void 0:r.call(n,"navigation")[0];if(!t||e&&e.responseStart>0&&e.responseStart<performance.now())return e},Dt=()=>{const t=Xt();return(t==null?void 0:t.activationStart)??0},Qt=(t,e=-1)=>{var i,o;const n=Xt();let r="navigate";return n&&((i=S.document)!=null&&i.prerendering||Dt()>0?r="prerender":(o=S.document)!=null&&o.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:t,value:e,rating:"good",delta:0,entries:[],id:pa(),navigationType:r}},ze=new WeakMap;function vn(t,e){return ze.get(t)||ze.set(t,new e),ze.get(t)}class be{constructor(){be.prototype.__init.call(this),be.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){var s;if(e.hadRecentInput)return;const n=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&r&&e.startTime-r.startTime<1e3&&e.startTime-n.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),(s=this._onAfterProcessingUnexpectedShift)==null||s.call(this,e)}}const Mt=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver(s=>{Promise.resolve().then(()=>{e(s.getEntries())})});return r.observe({type:t,buffered:!0,...n}),r}}catch{}},Rn=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let Ft=-1;const la=()=>{var t,e;return((t=S.document)==null?void 0:t.visibilityState)==="hidden"&&!((e=S.document)!=null&&e.prerendering)?0:1/0},Ie=t=>{S.document.visibilityState==="hidden"&&Ft>-1&&(Ft=t.type==="visibilitychange"?t.timeStamp:0,ga())},ma=()=>{addEventListener("visibilitychange",Ie,!0),addEventListener("prerenderingchange",Ie,!0)},ga=()=>{removeEventListener("visibilitychange",Ie,!0),removeEventListener("prerenderingchange",Ie,!0)},Nn=()=>{var t;if(S.document&&Ft<0){const e=Dt();Ft=(S.document.prerendering||(t=globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>e)[0])==null?void 0:t.startTime)??la(),ma()}return{get firstHiddenTime(){return Ft}}},Oe=t=>{var e;(e=S.document)!=null&&e.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},ha=[1800,3e3],_a=(t,e={})=>{Oe(()=>{const n=Nn(),r=Qt("FCP");let s;const o=Mt("paint",c=>{for(const a of c)a.name==="first-contentful-paint"&&(o.disconnect(),a.startTime<n.firstHiddenTime&&(r.value=Math.max(a.startTime-Dt(),0),r.entries.push(a),s(!0)))});o&&(s=Kt(t,r,ha,e.reportAllChanges))})},Sa=[.1,.25],ya=(t,e={})=>{_a(Rn(()=>{var c,a;const n=Qt("CLS",0);let r;const s=vn(e,be),i=u=>{for(const f of u)s._processEntry(f);s._sessionValue>
9n.value&&(n.value=s._sessionValue,n.entries=s._sessionEntries,r())},o=Mt("layout-shift",i);o&&(r=Kt(t,n,Sa,e.reportAllChanges),(c=S.document)==null||c.addEventListener("visibilitychange",()=>{var u;((u=S.document)==null?void 0:u.visibilityState)==="hidden"&&(i(o.takeRecords()),r(!0))}),(a=S==null?void 0:S.setTimeout)==null||a.call(S,r))}))};let es=0,Ve=1/0,ae=0;const Ta=t=>{t.forEach(e=>{e.interactionId&&(Ve=Math.min(Ve,e.interactionId),ae=Math.max(ae,e.interactionId),es=ae?(ae-Ve)/7+1:0)})};let an;const ns=()=>an?es:performance.interactionCount||0,Ea=()=>{"interactionCount"in performance||an||(an=Mt("event",Ta,{type:"event",buffered:!0,durationThreshold:0}))},Ye=10;let rs=0;const ba=()=>ns()-rs;class ve{constructor(){ve.prototype.__init.call(this),ve.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){rs=ns(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor(ba()/50));return this._longestInteractionList[e]}_processEntry(e){var s,i;if((s=this._onBeforeProcessingEntry)==null||s.call(this,e),!(e.interactionId||e.entryType==="first-input"))return;const n=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<Ye||e.duration>n._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((o,c)=>c._latency-o._latency),this._longestInteractionList.length>Ye){const o=this._longestInteractionList.splice(Ye);for(const c of o)this._longestInteractionMap.delete(c.id)}(i=this._onAfterProcessingINPCandidate)==null||i.call(this,r)}}}const Cn=t=>{const e=n=>{var r;(n.type==="pagehide"||((r=S.document)==null?void 0:r.visibilityState)==="hidden")&&t(n)};S.document&&(addEventListener("visibilitychange",e,!0),addEventListener("pagehide",e,!0))},ss=t=>{var n;const e=S.requestIdleCallback||S.setTimeout;((n=S.document)==null?void 0:n.visibilityState)==="hidden"?t():(t=Rn(t),e(t),Cn(t))},Ia=[200,500],va=40,Ra=(t,e={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&Oe(()=>{Ea();const n=Qt("INP");let r;const s=vn(e,ve),i=c=>{ss(()=>{for(const u of c)s._processEntry(u);const a=s._estimateP98LongestInteraction();a&&a._latency!==n.value&&(n.value=a._latency,n.entries=a.entries,r())})},o=Mt("event",i,{durationThreshold:e.durationThreshold??va});r=Kt(t,n,Ia,e.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),Cn(()=>{i(o.takeRecords()),r(!0)}))})};class Na{_processEntry(e){var n;(n=this._onBeforeProcessingEntry)==null||n.call(this,e)}}const Ca=[2500,4e3],wa=(t,e={})=>{Oe(()=>{const n=Nn(),r=Qt("LCP");let s;const i=vn(e,Na),o=a=>{e.reportAllChanges||(a=a.slice(-1));for(const u of a)i._processEntry(u),u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-Dt(),0),r.entries=[u],s())},c=Mt("largest-contentful-paint",o);if(c){s=Kt(t,r,Ca,e.reportAllChanges);const a=Rn(()=>{o(c.takeRecords()),c.disconnect(),s(!0)});for(const u of["keydown","click","visibilitychange"])S.document&&addEventListener(u,()=>ss(a),{capture:!0,once:!0})}})},Aa=[800,1800],cn=t=>{var e,n;(e=S.document)!=null&&e.prerendering?Oe(()=>cn(t)):((n=S.document)==null?void 0:n.readyState)!=="complete"?addEventListener("load",()=>cn(t),!0):setTimeout(t)},Pa=(t,e={})=>{const n=Qt("TTFB"),r=Kt(t,n,Aa,e.reportAllChanges);cn(()=>{const s=Xt();s&&(n.value=Math.max(s.responseStart-Dt(),0),n.entries=[s],r(!0))})},Ut={},Re={};let is,os,as,cs;function us(t,e=!1){return $e("cls",t,xa,is,e)}function ds(t,e=!1){return $e("lcp",t,Da,os,e)}function ka(t){return $e("ttfb",t,Ma,as)}function La(t){return $e("inp",t,Oa,cs)}function Nt(t,e){return fs(t,e),Re[t]||($a(t),Re[t]=!0),ps(t,e)}function Zt(t,e){const n=Ut[t];if(n!=null&&n.length)for(const r of n)try{r(e)}catch(s){Me&&h.error(`Error while triggering instrumentation handler.
10Type: ${t}
11Name: ${mn(r)}
12Error:`,s)}}function xa(){return ya(t=>{Zt("cls",{metric:t}),is=t},{reportAllChanges:!0})}function Da(){return wa(t=>{Zt("lcp",{metric:t}),os=t},{reportAllChanges:!0})}function Ma(){return Pa(t=>{Zt("ttfb",{metric:t}),as=t})}function Oa(){return Ra(t=>{Zt("inp",{metric:t}),cs=t})}function $e(t,e,n,r,s=!1){fs(t,e);let i;return Re[t]||(i=n(),Re[t]=!0),r&&e({metric:r}),ps(t,e,s?i:void 0)}function $a(t){const e={};t==="event"&&(e.durationThreshold=0),Mt(t,n=>{Zt(t,{entries:n})},e)}function fs(t,e){Ut[t]=Ut[t]||[],Ut[t].push(e)}function ps(t,e,n){return()=>{n&&n();const r=Ut[t];if(!r)return;const s=r.indexOf(e);s!==-1&&r.splice(s,1)}}function Ha(t){return"duration"in t}function Je(t){return typeof t=="number"&&isFinite(t)}
12function lt(t,e,n,{...r}){const s=E(t).start_timestamp;return s&&s>e&&typeof t.updateStartTime=="function"&&t.updateStartTime(e),bn(t,()=>{const i=xt({startTime:e,...r});return i&&i.end(n),i})}function wn(t){var g;const e=x();if(!e)return;const{name:n,transaction:r,attributes:s,startTime:i}=t,{release:o,environment:c,sendDefaultPii:a}=e.getOptions(),u=e.getIntegrationByName("Replay"),f=u==null?void 0:u.getReplayId(),d=R(),p=d.getUser(),m=p!==void 0?p.email||p.id||p.ip_address:void 0;let l;try{l=d.getScopeData().contexts.profile.profile_id}catch{}const _={release:o,environment:c,user:m||void 0,profile_id:l||void 0,replay_id:f||void 0,transaction:r,"user_agent.original":(g=S.navigator)==null?void 0:g.userAgent,"client.address":a?"{{auto}}":void 0,...s};return xt({name:n,attributes:_,startTime:i,experimental:{standalone:!0}})}function te(){return S.addEventListener&&S.performance}function N(t){return t/1e3}function Fa(t){let e="unknown",n="unknown",r="";for(const s of t){if(s==="/"){[e,n]=t.split("/");break}if(!isNaN(Number(s))){e=r==="h"?"http":r,n=t.split(r)[1];break}r+=s}return r===t&&(e=r),{name:e,version:n}}function ls(t){try{return PerformanceObserver.supportedEntryTypes.includes(t)}catch{return!1}}function ms(t,e){let n,r=!1;function s(c){!r&&n&&e(c,n),r=!0}Cn(()=>{s("pagehide")});const i=t.on("beforeStartNavigationSpan",(c,a)=>{a!=null&&a.isRedirect||(s("navigation"),i(),o())}),o=t.on("afterStartPageLoadSpan",c=>{n=c.spanContext().spanId,o()})}function Ua(t){let e=0,n;if(!ls("layout-shift"))return;const r=us(({metric:s})=>{const i=s.entries[s.entries.length-1];
12i&&(e=s.value,n=i)},!0);ms(t,(s,i)=>{Ba(e,n,i,s),r()})}function Ba(t,e,n,r){var u;Me&&h.log(`Sending CLS span (${t})`);const s=e?N((B()||0)+e.startTime):P(),i=R().getScopeData().transactionName,o=e?st((u=e.sources[0])==null?void 0:u.node):"Layout shift",c={[C]:"auto.http.browser.cls",[ot]:"ui.webvital.cls",[xe]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};e!=null&&e.sources&&e.sources.forEach((f,d)=>{c[`cls.source.${d+1}`]=st(f.node)});const a=wn({name:o,transaction:i,attributes:c,startTime:s});a&&(a.addEvent("cls",{[Yt]:"",[Jt]:t}),a.end(s))}function ja(t){let e=0,n;if(!ls("largest-contentful-paint"))return;const r=ds(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(e=s.value,n=i)},!0);ms(t,(s,i)=>{qa(e,n,i,s),r()})}function qa(t,e,n,r){Me&&h.log(`Sending LCP span (${t})`);const s=N((B()||0)+((e==null?void 0:e.startTime)||0)),i=R().getScopeData().transactionName,o=e?st(e.element):"Largest contentful paint",c={[C]:"auto.http.browser.lcp",[ot]:"ui.webvital.lcp",[xe]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};e&&(e.element&&(c["lcp.element"]=st(e.element)),e.id&&(c["lcp.id"]=e.id),e.url&&(c["lcp.url"]=e.url.trim().slice(0,200)),e.loadTime!=null&&(c["lcp.loadTime"]=e.loadTime),e.renderTime!=null&&(c["lcp.renderTime"]=e.renderTime),e.size!=null&&(c["lcp.size"]=e.size));const a=wn({name:o,transaction:i,attributes:c,startTime:s});a&&(a.addEvent("lcp",{[Yt]:"millisecond",[Jt]:t}),a.end(s))}function j(t){return t&&((B()||performance.timeOrigin)+t)/1e3}function gs(t){var n;const e={};if(t.nextHopProtocol!=null){const{name:r,version:s}=Fa(t.nextHopProtocol);e["network.protocol.version"]=s,e["network.protocol.name"]=r}return B()||(n=te())!=null&&n.timeOrigin?Ga({...e,"http.request.redirect_start":j(t.redirectStart),"http.request.redirect_end":j(t.redirectEnd),"http.request.worker_start":j(t.workerStart),"http.request.fetch_start":j(t.fetchStart),"http.request.domain_lookup_start":j(t.domainLookupStart),"http.request.domain_lookup_end":j(t.domainLookupEnd),"http.request.connect_start":j(t.connectStart),"http.request.secure_connection_start":j(t.secureConnectionStart),"http.request.connection_end":j(t.connectEnd),"http.request.request_start":j(t.requestStart),"http.request.response_start":j(t.responseStart),"http.request.response_end":j(t.responseEnd),"http.request.time_to_first_byte":t.responseStart!=null?t.responseStart/1e3:void 0}):e}function Ga(t){return Object.fromEntries(Object.entries(t).filter(([,e])=>e!=null))}const Wa=2147483647;let ir=0,z={},F,It;function za({recordClsStandaloneSpans:t,recordLcpStandaloneSpans:e,client:n}){const r=te();if(r&&B()){r.mark&&S.performance.mark("sentry-tracing-init");const s=e?ja(n):Xa(),i=Qa(),o=t?Ua(n):Ka();return()=>{s==null||s(),i(),o==null||o()}}return()=>{}}function Va(){Nt("longtask",({entries:t})=>{const e=H();if(!e)return;const{op:n,start_timestamp:r}=E(e);for(const s of t){const i=N(B()+s.startTime),o=N(s.duration);n==="navigation"&&r&&i<r||lt(e,i,i+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[C]:"auto.ui.browser.metrics"}})}})}function Ya(){new PerformanceObserver(e=>{const n=H();if(n)for(const r of e.getEntries()){if(!r.scripts[0])continue;const s=N(B()+r.startTime),{start_timestamp:i,op:o}=E(n);if(o==="navigation"&&i&&s<i)continue;const c=N(r.duration),a={[C]:"auto.ui.browser.metrics"},u=r.scripts[0],{invoker:f,invokerType:d,sourceURL:p,sourceFunctionName:m,sourceCharPosition:l}=u;a["browser.script.invoker"]=f,a["browser.script.invoker_type"]=d,p&&(a["code.filepath"]=p),m&&(a["code.function"]=m),l!==-1&&(a["browser.script.source_char_position"]=l),lt(n,s,s+c,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}}).observe({type:"long-animation-frame",buffered:!0})}function Ja(){Nt("event",({entries:t})=>{const e=H();if(e){for(const n of t)if(n.name==="click"){const r=N(B()+n.startTime),s=N(n.duration),i={name:st(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[C]:"auto.ui.browser.metrics"}},o=Gs(n.target);o&&(i.attributes["ui.component_name"]=o),lt(e,r,r+s,i)}}})}function Ka(){return us(({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(z.cls={value:t.value,unit:""},It=e)},!0)}function Xa(){return ds(({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(z.lcp={value:t.value,unit:"millisecond"},F=e)},!0)}function Qa(){return ka(({metric:t})=>{t.entries[t.entries.length-1]&&(z.ttfb={value:t.value,unit:"millisecond"})})}function Za(t,e){const n=te(),r=B();if(!(n!=null&&n.getEntries)||!r)return;const s=N(r),i=n.getEntries(),{op:o,start_timestamp:c}=E(t);i.slice(ir).forEach(a=>{const u=N(a.startTime),f=N(Math.max(0,a.duration));if(!(o==="navigation"&&c&&s+u<c))switch(a.entryType){case"navigation":{rc(t,a,s);break}
12case"mark":case"paint":case"measure":{ec(t,a,u,f,s,e.ignorePerformanceApiSpans);const d=Nn(),p=a.startTime<d.firstHiddenTime;a.name==="first-paint"&&p&&(z.fp={value:a.startTime,unit:"millisecond"}),a.name==="first-contentful-paint"&&p&&(z.fcp={value:a.startTime,unit:"millisecond"});break}case"resource":{oc(t,a,a.name,u,f,s,e.ignoreResourceSpans);break}}}),ir=Math.max(i.length-1,0),ac(t),o==="pageload"&&(dc(z),e.recordClsOnPageloadSpan||delete z.cls,e.recordLcpOnPageloadSpan||delete z.lcp,Object.entries(z).forEach(([a,u])=>{no(a,u.value,u.unit)}),t.setAttribute("performance.timeOrigin",s),t.setAttribute("performance.activationStart",Dt()),cc(t,e)),F=void 0,It=void 0,z={}}function tc(t){if((t==null?void 0:t.entryType)==="measure")try{return t.detail.devtools.track==="Components ⚛"}catch{return}}function ec(t,e,n,r,s,i){if(tc(e)||["mark","measure"].includes(e.entryType)&&pe(e.name,i))return;const o=Xt(!1),c=N(o?o.requestStart:0),a=s+Math.max(n,c),u=s+n,f=u+r,d={[C]:"auto.resource.browser.metrics"};a!==u&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=a),nc(d,e),a<=f&&lt(t,a,f,{name:e.name,op:e.entryType,attributes:d})}function nc(t,e){try{const n=e.detail;if(!n)return;if(typeof n=="object"){for(const[r,s]of Object.entries(n))if(s&&On(s))t[`sentry.browser.measure.detail.${r}`]=s;else if(s!==void 0)try{t[`sentry.browser.measure.detail.${r}`]=JSON.stringify(s)}catch{}return}if(On(n)){t["sentry.browser.measure.detail"]=n;return}try{t["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function rc(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{ce(t,e,r,n)}),ce(t,e,"secureConnection",n,"TLS/SSL"),ce(t,e,"fetch",n,"cache"),ce(t,e,"domainLookup",n,"DNS"),ic(t,e,n)}function ce(t,e,n,r,s=n){const i=sc(n),o=e[i],c=e[`${n}Start`];!c||!o||lt(t,r+N(c),r+N(o),{op:`browser.${s}`,name:e.name,attributes:{[C]:"auto.ui.browser.metrics",...n==="redirect"&&e.redirectCount!=null?{"http.redirect_count":e.redirectCount}:{}}})}function sc(t){return t==="secureConnection"?"connectEnd":t==="fetch"?"domainLookupStart":`${t}End`}function ic(t,e,n){const r=n+N(e.requestStart),s=n+N(e.responseEnd),i=n+N(e.responseStart);e.responseEnd&&(lt(t,r,s,{op:"browser.request",name:e.name,attributes:{[C]:"auto.ui.browser.metrics"}}),lt(t,i,s,{op:"browser.response",name:e.name,attributes:{[C]:"auto.ui.browser.metrics"}}))}function oc(t,e,n,r,s,i,o){if(e.initiatorType==="xmlhttprequest"||e.initiatorType==="fetch")return;const c=e.initiatorType?`resource.${e.initiatorType}`:"resource.other";if(o!=null&&o.includes(c))return;const a={[C]:"auto.resource.browser.metrics"},u=Ee(n);u.protocol&&(a["url.scheme"]=u.protocol.split(":").pop()),u.host&&(a["server.address"]=u.host),a["url.same_origin"]=n.includes(S.location.origin),uc(e,a,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const f={...a,...gs(e)},d=i+r,p=d+s;lt(t,d,p,{name:n.replace(S.location.origin,""),op:c,attributes:f})}function ac(t){const e=S.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&t.setAttribute("connectionType",n.type),Je(n.rtt)&&(z["connection.rtt"]={value:n.rtt,unit:"millisecond"})),Je(e.deviceMemory)&&t.setAttribute("deviceMemory",`${e.deviceMemory} GB`),Je(e.hardwareConcurrency)&&t.setAttribute("hardwareConcurrency",String(e.hardwareConcurrency))}function cc(t,e){F&&e.recordLcpOnPageloadSpan&&(F.element&&t.setAttribute("lcp.element",st(F.element)),F.id&&t.setAttribute("lcp.id",F.id),F.url&&t.setAttribute("lcp.url",F.url.trim().slice(0,200)),F.loadTime!=null&&t.setAttribute("lcp.loadTime",F.loadTime),F.renderTime!=null&&t.setAttribute("lcp.renderTime",F.renderTime),t.setAttribute("lcp.size",F.size)),It!=null&&It.sources&&e.recordClsOnPageloadSpan&&It.sources.forEac
12h((n,r)=>t.setAttribute(`cls.source.${r+1}`,st(n.node)))}function uc(t,e,n){n.forEach(([r,s])=>{const i=t[r];i!=null&&(typeof i=="number"&&i<Wa||typeof i=="string")&&(e[s]=i)})}function dc(t){const e=Xt(!1);if(!e)return;const{responseStart:n,requestStart:r}=e;r<=n&&(t["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}function fc(){return te()&&B()?Nt("element",pc):()=>{}}const pc=({entries:t})=>{const e=H(),n=e?M(e):void 0,r=n?E(n).description:R().getScopeData().transactionName;t.forEach(s=>{var m,l;const i=s;if(!i.identifier)return;const o=i.name,c=i.renderTime,a=i.loadTime,[u,f]=a?[N(a),"load-time"]:c?[N(c),"render-time"]:[P(),"entry-emission"],d=o==="image-paint"?N(Math.max(0,(c??0)-(a??0))):0,p={[C]:"auto.ui.browser.elementtiming",[ot]:"ui.elementtiming",[U]:"component","sentry.span_start_time_source":f,"sentry.transaction_name":r,"element.id":i.id,"element.type":((l=(m=i.element)==null?void 0:m.tagName)==null?void 0:l.toLowerCase())||"unknown","element.size":i.naturalWidth&&i.naturalHeight?`${i.naturalWidth}x${i.naturalHeight}`:void 0,"element.render_time":c,"element.load_time":a,"element.url":i.url||void 0,"element.identifier":i.identifier,"element.paint_type":o};co({name:`element[${i.identifier}]`,attributes:p,startTime:u,onlyIfParent:!0},_=>{_.end(u+d)})})};let ue;function lc(t){const e="history";Ct(e,t),wt(e,mc)}function mc(){if(S.addEventListener("popstate",()=>{const e=S.location.href,n=ue;if(ue=e,n===e)return;X("history",{from:n,to:e})}),!Xo())return;function t(e){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=ue,i=gc(String(r));if(ue=i,s===i)return e.apply(this,n);X("history",{from:s,to:i})}return e.apply(this,n)}}Qe(S.history,"pushState",t),Qe(S.history,"replaceState",t)}function gc(t){try{return new URL(t,S.location.origin).toString()}catch{return t}}const $t="__sentry_xhr_v3__";function hc(t){const e="xhr";Ct(e,t),wt(e,_c)}function _c(){if(!S.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,r){const s=new Error,i=P()*1e3,o=ut(r[0])?r[0].toUpperCase():void 0,c=Sc(r[1]);if(!o||!c)return e.apply(n,r);n[$t]={method:o,url:c,request_headers:{}},o==="POST"&&c.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const a=()=>{const u=n[$t];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:P()*1e3,startTimestamp:i,xhr:n,virtualError:s};X("xhr",f)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,d){return a(),u.apply(f,d)}}):n.addEventListener("readystatechange",a),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,d){const[p,m]=d,l=f[$t];return l&&ut(p)&&ut(m)&&(l.request_headers[p.toLowerCase()]=m),u.apply(f,d)}}),e.apply(n,r)}}),t.send=new Proxy(t.send,{apply(e,n,r){const s=n[$t];if(!s)return e.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const i={startTimestamp:P()*1e3,xhr:n};return X("xhr",i),e.apply(n,r)}})}function Sc(t){if(ut(t))return t;try{return t.toString()}catch{}}function yc(t){let e;try{e=t.getAllResponseHeaders()}catch(n){return Me&&h.error(n,"Failed to get xhr response headers",t),{}}return e?e.split(`\r
13`).reduce((n,r)=>{const[s,i]=r.split(": ");return i&&(n[s.toLowerCase()]=i),n},{}):{}}const Ke=[],he=new Map,Tc=60;function Ec(){if(te()&&B()){const e=bc();return()=>{e()}}return()=>{}}const or={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function bc(){return La(Ic)}const Ic=({metric:t})=>{if(t.value==null)return;const e=N(t.value);if(e>Tc)return;const n=t.entries.find(l=>l.duration===t.value&&or[l.name]);if(!n)return;const{interactionId:r}=n,s=or[n.name],i=N(B()+n.startTime),o=H(),c=o?M(o):void 0,u=(r!=null?he.get(r):void 0)||c,f=u?E(u).description:R().getScopeData().transactionName,d=st(n.target),p={[C]:"auto.http.browser.inp",[ot]:`ui.interaction.${s}`,[xe]:n.duration},m=wn({name:d,transaction:f,attributes:p,startTime:i});m&&(m.addEvent("inp",{[Yt]:"millisecond",[Jt]:t.value}),m.end(i+e))};function vc(){const t=({entries:e})=>{const n=H(),r=n&&M(n);e.forEach(s=>{if(!Ha(s)||!r)return;const i=s.interactionId;if(i!=null&&!he.has(i)){if(Ke.length>10){const o=Ke.shift();he.delete(o)}Ke.push(i),he.set(i,r)}})};Nt("event",t),Nt("first-input",t)}const mt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Rc(t){return t.split(",").some(e=>e.trim().startsWith("sentry-"))}function hs(t){try{return new URL(t,D.location.origin).href}catch{return}}function Nc(t){return t.entryType==="resource"&&"initiatorType"in t&&typeof t.nextHopProtocol=="string"&&(t.initiatorType==="fetch"||t.initiatorType==="xmlhttprequest")}function _s(t){try{return new Headers(t)}catch{return}}const ar=new WeakMap,Xe=new Map,Ss={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Cc(t,e){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:c,onRequestSpanStart:a,onRequestSpanEnd:u}={...Ss,...e},f=typeof i=="function"?i:l=>!0,d=l=>wc(l,c),p={},m=t.getOptions().propagateTraceparent;n&&(t.addEventProcessor(l=>(l.type==="transaction"&&l.spans&&l.spans.forEach(_=>{if(_.op==="http.client"){const g=Xe.get(_.span_id);g&&(_.timestamp=g/1e3,Xe.delete(_.span_id))}}),l)),s&&ea(l=>{if(l.response){const _=ar.get(l.response);_&&l.endTimestamp&&Xe.set(_,l.endTimestamp)}}),ta(l=>{const _=Go(l,f,d,p,{propagateTraceparent:m,onRequestSpanEnd:u});if(l.response&&l.fetchData.__span&&ar.set(l.response,l.fetchData.__span),_){const g=hs(l.fetchData.url),J=g?Ee(g).host:void 0;_.setAttributes({"http.url":g,"server.address":J}),o&&cr(_),a==null||a(_,{headers:l.headers})}})),r&&hc(l=>{var g;const _=Ac(l,f,d,p,m,u);_&&(o&&cr(_),a==null||a(_,{headers:_s((g=l.xhr.__sentry_xhr_v3__)==null?void 0:g.request_headers)}))})}function cr(t){const{url:e}=E(t).data;if(!e||typeof e!="string")return;const n=Nt("resource",({entries:r})=>{r.forEach(s=>{Nc(s)&&s.name.endsWith(e)&&(t.setAttributes(gs(s)),setTimeout(n))})})}function wc(t,e){const n=hn();if(n){let r,s;try{r=new URL(t,n),s=new URL(n).origin}catch{return!1}const i=r.origin===s;return e?pe(r.toString(),e)||i&&pe(r.pathname,e):i}else{const r=!!t.match(/^\/(?!\/)/);return e?pe(t,e):r}}function Ac(t,e,n,r,s,i){const o=t.xhr,c=o==null?void 0:o[$t];if(!o||o.__sentry_own_request__||!c)return;const{url:a,method:u}=c,f=V()&&e(a);if(t.endTimestamp&&f){const J=o.__sentry_xhr_span_id__;if(!J)return;const K=r[J];K&&c.status_code!==void 0&&(Nr(K,c.status_code),K.end(),i==null||i(K,{headers:_s(yc(o)),error:t.error}),delete r[J]);return}const d=hs(a),p=Ee(d||a),m=Bo(a),l=!!H(),_=f&&l?xt({name:`${u} ${m}`,attributes:{url:a,type:"xhr","http.method":u,"http.url":d,"server.address":p==null?void 0:p.host,[C]:"auto.http.browser",[ot]:"http.client",...(p==null?void 0:p.search)&&{"http.query":p==null?void 0:p.search},...(p==null?void 0:p.hash)&&{"http.fragment":p==null?void 0:p.hash}}}):new pt;o.__sentry_xhr_span_id__=_.spanContext().spanId,r[o.__sentry_xhr_span_id__]=_,n(a)&&Pc(o,V()&&l?_:void 0,s);const g=x();return g&&g.emit("beforeOutgoingRequestSpan",_,t),_}function Pc(t,e,n){const{"sentry-trace":r,baggage:s,traceparent:i}=Qr({span:e,propagateTraceparent:n});r&&kc(t,r,s,i)}function kc(t,e,n,r){var i;const s=(i=t.__sentry_xhr_v3__)==null?void 0:i.request_headers;if(!(s!=null&&s["sentry-trace"]||!t.setRequestHeader))try{if(t.setRequestHeader("sentry-trace",e),r&&!(s!=null&&s.traceparent)&&t.setRequestHeader("traceparent",r),n){const o=s==null?void 0:s.baggage;(!o||!Rc(o))&&t.setRequestHeader("baggage",n)}}catch{}}function Lc(){D.document?D.document.addEventListener("visibilitychange",()=>{const t=H();if(!t)return;const e=M(t);if(D.document.hidden&&e){const n="cancelled",{op:r,status:s}=E(e);mt&&h.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||e.setStatus({code:A,message:n}),e.setAttribute("sentry.cancellation_reason","document.hidden"),e.end()}}):mt&&h.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const xc=3600,ys="sentry_previous_trace",Dc="sentry.previous_trace";function Mc(t,{linkPreviousTrace:e,consistentTraceSampling:n}){const r=e==="session-storage";let s=r?Hc():void 0;t.on("spanStart",o=>{if(M(o)!==o)return;const c=R().getPropagationContext();s=Oc(s,o,c),r&&$c(s)});let i=!0;n&&t.on("beforeSampling",o=>{if(!s)return;const c=R(),a=c.getPropagationContext();if(i&&a.parentSpanId){i=!1;return}c.setPropagationContext({...a,dsc:{...a.dsc,sample_rate:String(s.sampleRate),sampled:String(un(s.spanContext))},sampleRand:s.sampleRand}),o.parentSampled=un(s.spanContext),o.parentSampleRate=s.sampleRate,o.spanAttributes={...o.spanAttributes,[vr]:s.sampleRate}})}function Oc(t,e,n){const r=E(e);function s(){var c,a;try{return Number((c=n.dsc)==null?void 0:c.sample_rate)??Number((a=r.data)==null?void 0:a[_n])}catch{return 0}}const i={spanContext:e.spanContext(),startTimestamp:r.start_timestamp,sampleRate:s(),sampleRand:n.sampleRand};if(!t)return i;const o=t.spanContext;return o.traceId===r.trace_id?t:(Date.now()/1e3-t.startTimestamp<=xc&&(mt&&h.log(`Adding previous_trace ${o} link to span ${{op:r.op,...e.spanContext()}}`),e.addLink({context:o,attributes:{[di]:"previous_trace"}}),e.setAttribute(Dc,`${o.traceId}-${o.spanId}-${un(o)?1:0}`)),i)}function $c(t){try{D.sessionStorage.setItem(ys,JSON.stringify(t))}catch(e){mt&&h.warn("Could not store previous trace in sessionStorage",e)}}function Hc(){var t;try{const e=(t=D.sessionStorage)==null?void 0:t.getItem(ys);return JSON.parse(e)}catch{return}}function un(t){return t.traceFlags===1}const Fc="BrowserTracing",Uc={...ge,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
13dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...Ss},Tu=(t={})=>{const e={name:void 0,source:void 0},n=D.document,{enableInp:r,enableElementTiming:s,enableLongTask:i,enableLongAnimationFrame:o,_experiments:{enableInteractions:c,enableStandaloneClsSpans:a,enableStandaloneLcpSpans:u},beforeStartSpan:f,idleTimeout:d,finalTimeout:p,childSpanTimeout:m,markBackgroundSpan:l,traceFetch:_,traceXHR:g,trackFetchStreamPerformance:J,shouldCreateSpanForRequest:K,enableHTTPTimings:ee,ignoreResourceSpans:He,ignorePerformanceApiSpans:Fe,instrumentPageLoad:ne,instrumentNavigation:T,detectRedirects:k,linkPreviousTrace:bt,consistentTraceSampling:re,enableReportPageLoaded:Z,onRequestSpanStart:ht,onRequestSpanEnd:L}={...Uc,...t};let q,_t,G;function at(I,w,y=!0){const O=w.op==="pageload",$=w.name,W=f?f(w):w,St=W.attributes||{};if($!==W.name&&(St[U]="custom",W.attributes=St),!y){const Ot=Vt();xt({...W,startTime:Ot}).end(Ot);return}e.name=W.name,e.source=St[U];const tt=Vr(W,{idleTimeout:d,finalTimeout:p,childSpanTimeout:m,disableAutoFinish:O,beforeSpanEnd:Ot=>{q==null||q(),Za(Ot,{recordClsOnPageloadSpan:!a,recordLcpOnPageloadSpan:!u,ignoreResourceSpans:He,ignorePerformanceApiSpans:Fe}),dr(I,void 0);const Pn=R(),Is=Pn.getPropagationContext();Pn.setPropagationContext({...Is,traceId:tt.spanContext().traceId,sampled:gt(tt),dsc:ft(Ot)}),O&&(G=void 0)},trimIdleSpanEndTimestamp:!Z});O&&Z&&(G=tt),dr(I,tt);function An(){n&&["interactive","complete"].includes(n.readyState)&&I.emit("idleSpanEnableAutoFinish",tt)}O&&!Z&&n&&(n.addEventListener("readystatechange",()=>{An()}),An())}return{name:Fc,setup(I){if(Fi(),q=za({recordClsStandaloneSpans:a||!1,recordLcpStandaloneSpans:u||!1,client:I}),r&&Ec(),s&&fc(),o&&v.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?Ya():i&&Va(),c&&Ja(),k&&n){const y=()=>{_t=P()};addEventListener("click",y,{capture:!0}),addEventListener("keydown",y,{capture:!0,passive:!0})}function w(){const y=Wt(I);y&&!E(y).timestamp&&(mt&&h.log(`[Tracing] Finishing current active span with op: ${E(y).op}`),y.setAttribute(jt,"cancelled"),y.end())}I.on("startNavigationSpan",(y,O)=>{if(x()!==I)return;if(O!=null&&O.isRedirect){mt&&h.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),at(I,{op:"navigation.redirect",...y},!1);return}_t=void 0,w(),Lt().setPropagationContext({traceId:it(),sampleRand:Math.random(),propagationSpanId:V()?void 0:rt()});const $=R();$.setPropagationContext({traceId:it(),sampleRand:Math.random(),propagationSpanId:V()?void 0:rt()}),$.setSDKProcessingMetadata({normalizedRequest:void 0}),at(I,{op:"navigation",...y,parentSpan:null,forceTransaction:!0})}),I.on("startPageLoadSpan",(y,O={})=>{if(x()!==I)return;w();const $=O.sentryTrace||ur("sentry-trace"),W=O.baggage||ur("baggage"),St=Ai($,W),tt=R();tt.setPropagationContext(St),V()||(tt.getPropagationContext().propagationSpanId=rt()),tt.setSDKProcessingMetadata({normalizedRequest:ts()}),at(I,{op:"pageload",...y})}),I.on("endPageloadSpan",()=>{Z&&G&&(G.setAttribute(jt,"reportPageLoaded"),G.end())})},afterAllSetup(I){let w=hn();if(bt!=="off"&&Mc(I,{linkPreviousTrace:bt,consistentTraceSampling:re}),D.location){if(ne){const y=B();Ts(I,{name:D.location.pathname,startTime:y?y/1e3:void 0,attributes:{[U]:"url",[C]:"auto.pageload.browser"}})}T&&lc(({to:y,from:O})=>{if(O===void 0&&(w==null?void 0:w.indexOf(y))!==-1){w=void 0;return}w=void 0;const $=Xr(y),W=Wt(I),St=W&&k&&jc(W,_t);Es(I,{name:($==null?void 0:$.pathname)||D.location.pathname,attributes:{[U]:"url",[C]:"auto.navigation.browser"}},{url:y,isRedirect:St})})}l&&Lc(),c&&Bc(I,d,p,m,e),r&&vc(),Cc(I,{traceFetch:_,traceXHR:g,trackFetchStreamPerformance:J,tracePropagationTargets:I.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:K,enableHTTPTimings:ee,onRequestSpanStart:ht,onRequestSpanEnd:L})}}};function Ts(t,e,n){t.emit("startPageLoadSpan",e,n),R().setTransactionName(e.name);const r=Wt(t);return r&&t.emit("afterStartPageLoadSpan",r),r}function Es(t,e,n){const{url:r,isRedirect:s}=n||{};t.emit("beforeStartNavigationSpan",e,{isRedirect:s}),t.emit("startNavigationSpan",e,{isRedirect:s});const i=R();return i.setTransactionName(e.name),r&&!s&&i.setSDKProcessingMetadata({normalizedRequest:{...ts(),url:r}}),Wt(t)}function ur(t){const e=D.document,n=e==null?void 0:e.querySelector(`meta[name=${t}]`);return(n==null?void 0:n.getAttribute("content"))||void 0}function Bc(t,e,n,r,s){const i=D.document;let o;const c=()=>{const a="ui.action.click",u=Wt(t);if(u){const f=E(u).op;
13if(["navigation","pageload"].includes(f)){mt&&h.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(jt,"interactionInterrupted"),o.end(),o=void 0),!s.name){mt&&h.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}o=Vr({name:s.name,op:a,attributes:{[U]:s.source||"url"}},{idleTimeout:e,finalTimeout:n,childSpanTimeout:r})};i&&addEventListener("click",c,{capture:!0})}const bs="_sentry_idleSpan";function Wt(t){return t[bs]}function dr(t,e){Y(t,bs,e)}const fr=1.5;function jc(t,e){const n=E(t),r=Vt(),s=n.start_timestamp;return!(r-s>fr||e&&r-e<=fr)}let Bt,Ne,Ce,dn;function qc(){if(D.location)return D.location.pathname}function Eu(t){const e=qc();if(!e)return;const n={name:e,op:"pageload",attributes:{[C]:"auto.pageload.remix",[U]:"url"}};Ts(t,n)}function Gc(t){const e=t[t.length-1],n=x();if(!n||!e)return;const r={name:e.id,op:"navigation",attributes:{[C]:"auto.navigation.remix",[U]:"route"}};Es(n,r)}function bu(t,e,n,r,s){return o=>{if(Wc({useEffect:e,useLocation:n,useMatches:r,instrumentNavigation:!0}),!Bt||!Ne||!Ce)return ca&&!aa()&&h.warn("Remix SDK was unable to wrap your root because of one or more missing parameters."),kn.createElement(t,{...o});let c=!1;const a=Ne(),u=Ce();return Bt(()=>{const f=u&&u[u.length-1];if(f){const d=f.id;R().setTransactionName(d);const p=H();if(p){const m=M(p);m&&(m.updateName(d),m.setAttribute(U,"route"))}}c=!0},[]),Bt(()=>{const f=H();if(c){f&&f.end();return}dn&&(u!=null&&u.length)&&(f&&f.end(),Gc(u))},[a]),c=!1,kn.createElement(t,{...o})}}function Wc({useEffect:t,useLocation:e,useMatches:n,instrumentNavigation:r}){Bt=t||Bt,Ne=e||Ne,Ce=n||Ce,dn=r??dn}export{Qc as $,ke as A,iu as B,zt as C,b as D,hr as E,fn as F,_o as G,au as H,cu as I,du as J,Ht as K,x as L,Ws as M,eu as N,pe as O,Pt as P,Ct as Q,wt as R,xe as S,v as T,Vc as U,Qe as V,Ln as W,X,Jc as Y,Kc as Z,Xc as _,yn as a,Ys as a0,gr as a1,Hs as a2,br as a3,ji as a4,tu as a5,D as a6,Su as a7,S as a8,Y as a9,Tu as aA,Eu as aB,Wc as aC,aa as aD,$o as aE,bu as aF,rr as aa,Me as ab,ks as ac,Ps as ad,hc as ae,ta as af,lc as ag,$t as ah,mt as ai,st as aj,Gs as ak,Zc as al,Ee as am,da as an,mn as ao,hu as ap,_u as aq,xs as ar,yu as as,mu as at,Ms as au,hn as av,ut as aw,ts as ax,Yc as ay,gu as az,Vt as b,En as c,h as d,ui as e,nu as f,Ae as g,Pe as h,On as i,pu as j,ou as k,uu as l,su as m,Fr as n,fu as o,lu as p,ru as q,Bi as r,R as s,Lt as t,dt as u,So as v,$s as w,Te as x,Hr as y,Hi as z};
14//# sourceMappingURL=performance-MACg5er5.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.