PageSourceSearch

https://thebase.com/static-asset/Layout.astro_astro_type_script_index_0_lang.CqJzi92X.js

js thebase.com collected 2026-09-24 08:46:43 UTC 146,528 bytes, 18 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static-asset/agent-session.CpunoM7H.js","static-asset/stringify.Ct4ZSBEq.js","static-asset/constants.CdX3b0L1.js","static-asset/timer.De0Ampht.js","static-asset/aggregate.BwDzHicL.js","static-asset/aggregate-base.DcAzovFW.js","static-asset/event-buffer.BrpyV25W.js","static-asset/nav-timing.Clx3l32R.js","static-asset/webdriver-detection.DVvg7UBG.js","static-asset/aggregate.BbFE1-D2.js","static-asset/bel-serializer.D9lQC4iF.js","static-asset/event-origin.NoP9qGzT.js","static-asset/load-time.DcTSIjLx.js","static-asset/aggregate.D-uLKwXY.js","static-asset/iframe.CbOKKvMF.js","static-asset/aggregate.dhTKsT2n.js","static-asset/aggregate.BL18T3Hx.js","static-asset/type-check.DkLJNuCs.js","static-asset/payloads.0siSlGiI.js","static-asset/aggregate.DgZJ3pCe.js","static-asset/aggregate.D-Nb1T2S.js","static-asset/stylesheet-evaluator.BRc90qlB.js","static-asset/recorder.B_jGcH7j.js","static-asset/aggregate.BQ5kfOPR.js","static-asset/aggregate.BHcfGe7f.js","static-asset/aggregate.C10CuS1G.js"])))=>i.map(i=>d[i]);
2import{n as e}from"./rolldown-runtime.hePW80VL.js";import{B as t,D as n,E as r,L as i,N as a,O as o,R as s,T as c,V as l,_ as u,a as d,b as f,c as p,d as m,f as h,g,h as _,i as ee,j as te,k as ne,l as re,m as ie,n as ae,o as v,p as oe,r as se,s as ce,t as le,u as ue,w as de}from"./stringify.Ct4ZSBEq.js";import{i as fe,n as pe,o as me,r as y,t as he}from"./constants.CdX3b0L1.js";var b=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,x=globalThis,ge=`10.63.0`;function _e(){return ve(x),x}function ve(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.63.0`,t[ge]=t[`10.63.0`]||{}}function ye(e,t,n=x){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[ge]=r[`10.63.0`]||{};return i[e]||(i[e]=t())}var be=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],xe=`Sentry Logger `,Se={};function Ce(e){if(!(`console`in x))return e();let t=x.console,n={},r=Object.keys(Se);r.forEach(e=>{let r=Se[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function we(){je().enabled=!0}function Te(){je().enabled=!1}function Ee(){return je().enabled}function De(...e){Ae(`log`,...e)}function Oe(...e){Ae(`warn`,...e)}function ke(...e){Ae(`error`,...e)}function Ae(e,...t){b&&Ee()&&Ce(()=>{x.console[e](`${xe}[${e}]:`,...t)})}function je(){return b?ye(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var S={enable:we,disable:Te,isEnabled:Ee,log:De,warn:Oe,error:ke},Me=50,Ne=/\(error: (.*)\)/,Pe=/captureMessage|captureException/;function Fe(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
3`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=Ne.test(n)?n.replace(Ne,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=Me+r)break}}return Le(i.slice(r))}}function Ie(e){return Array.isArray(e)?Fe(...e):e}function Le(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(Re(t).function||``)&&t.pop(),t.reverse(),Pe.test(Re(t).function||``)&&(t.pop(),Pe.test(Re(t).function||``)&&t.pop()),t.slice(0,Me).map(e=>({...e,filename:e.filename||Re(t).filename,function:e.function||`?`}))}function Re(e){return e[e.length-1]||{}}var ze=`<anonymous>`;function C(e){try{return!e||typeof e!=`function`?ze:e.name||ze}catch{return ze}}function Be(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var Ve={},He={};function w(e,t){return Ve[e]=Ve[e]||[],Ve[e].push(t),()=>{let n=Ve[e];
3if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function Ue(e,t){if(!He[e]){He[e]=!0;try{t()}catch(t){b&&S.error(`Error while instrumenting ${e}`,t)}}}function T(e,t){let n=e&&Ve[e];if(n)for(let r of n)try{r(t)}catch(t){b&&S.error(`Error while triggering instrumentation handler.
4Type: ${e}
5Name: ${C(r)}
6Error:`,t)}}var We=null;function Ge(e){let t=`error`;w(t,e),Ue(t,Ke)}function Ke(){We=x.onerror,x.onerror=function(e,t,n,r,i){return T(`error`,{column:r,error:i,line:n,msg:e,url:t}),We?We.apply(this,arguments):!1},x.onerror.__SENTRY_INSTRUMENTED__=!0}var qe=null;function Je(e){let t=`unhandledrejection`;w(t,e),Ue(t,Ye)}function Ye(){qe=x.onunhandledrejection,x.onunhandledrejection=function(e){return T(`unhandledrejection`,e),!qe||qe.apply(this,arguments)},x.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var Xe=Object.prototype.toString;function Ze(e){switch(Xe.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return ct(e,Error)}}function Qe(e,t){return Xe.call(e)===`[object ${t}]`}function $e(e){return Qe(e,`ErrorEvent`)}function et(e){return Qe(e,`DOMError`)}function tt(e){return Qe(e,`DOMException`)}function E(e){return Qe(e,`String`)}function nt(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function rt(e){return e===null||nt(e)||typeof e!=`object`&&typeof e!=`function`}function it(e){return Qe(e,`Object`)}function at(e){return typeof Event<`u`&&ct(e,Event)}function ot(e){return Qe(e,`RegExp`)}function st(e){return!!(e?.then&&typeof e.then==`function`)}function ct(e,t){try{return e instanceof t}catch{return!1}}function lt(e){return typeof Request<`u`&&ct(e,Request)}function D(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!=`function`)return;let i=n(r);typeof i==`function`&&ut(i,r);try{e[t]=i}catch{b&&S.log(`Failed to replace method "${t}" in object`,e)}}function O(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{b&&S.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function ut(e,t){try{e.prototype=t.prototype=t.prototype||{},O(e,`__sentry_original__`,t)}catch{}}function dt(e){return e.__sentry_original__}function ft(e){if(Ze(e))return{message:e.message,name:e.name,stack:e.stack,...pt(e)};if(at(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...pt(e)}}return e}function pt(e){return typeof e==`object`&&e?Object.fromEntries(Object.entries(e)):{}}function mt(e){let t=Object.keys(ft(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var ht;function gt(e){if(ht!==void 0)return ht?ht(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=x;return t in n&&typeof n[t]==`function`?(ht=n[t],ht(e)):(ht=null,e())}function _t(){return gt(()=>Math.random())}function vt(){return gt(()=>Date.now())}var yt=Symbol.for(`sentry.skipNormalization`),bt=Symbol.for(`sentry.overrideNormalizationDepth`);function xt(e){return!!e[yt]}function St(e){let t=e[bt];return typeof t==`number`?t:void 0}var Ct;function wt(e){Ct=e}function k(e,t=100,n=1/0){try{return Et(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Tt(e,t=3,n=102400){let r=k(e,t);return At(r)>n?Tt(e,t-1,n):r}function Et(e,t,n=1/0,r=1/0,i=jt()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Dt(e,t);if(!s.startsWith(`[object `))return s;if(xt(t))return t;let c=St(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return Et(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=ft(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=Et(e,t,l-1,r,i),f++}return o(t),d}function Dt(e,t){try{if(Ct){let e=Ct(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${C(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${Ot(t)}]`}catch(e){return`**non-serializable** (${e})`}}function Ot(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function kt(e){return~-encodeURI(e).split(/%..|./).length}function At(e){return kt(JSON.stringify(e))}function jt(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function Mt(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Nt(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];rt(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Dt(void 0,r))}return n.join(t)}function Pt(e,t,n=!1){return E(e)?ot(t)?t.test(e):E(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function Ft(e,t=[],n=!1){for(let r of t)if(Pt(e,r,n))return!0;return!1}function It(){let e=x;return e.crypto||e.msCrypto}var Lt;function Rt(){return _t()*16}function A(e=It()){try{if(e?.randomUUID)return gt(()=>e.randomUUID()).replace(/-/g,``)}catch{}return Lt||=`10000000100040008000100000000000`,Lt.replace(/[018]/g,e=>(e^(Rt()&15)>>e/4).toString(16))}function zt(e){return e.exception?.values?.[0]}function j(e){let{message:t,event_id:n}=e;if(t)return t;let r=zt(e);return r?r.type&&r.value?`${r.type}: ${r.value}
6`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function Bt(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function M(e,t){let n=zt(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function Vt(e){if(Ht(e))return!0;try{O(e,`__sentry_captured__`,!0)}catch{}return!1}function Ht(e){try{return e.__sentry_captured__}catch{}}var Ut=1e3;function Wt(){return vt()/Ut}function Gt(){let{performance:e}=x;if(!e?.now||!e.timeOrigin)return Wt;let t=e.timeOrigin;return()=>(t+gt(()=>e.now()))/Ut}var Kt;function N(){return(Kt??=Gt())()}function qt(e){let t=N(),n={sid:A(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>Xt(n)};return e&&Jt(n,e),n}function Jt(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||N(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:A()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Yt(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),Jt(e,n)}function Xt(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function Zt(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=Zt(r[e],t[e],n-1));return r}function Qt(){return A()}function $t(){return A().substring(16)}function en(e){try{let t=x.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function tn(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var nn=`_sentrySpan`;function rn(e,t){t?O(e,nn,en(t)):delete e[nn]}function an(e){return tn(e[nn])}var on=100,P=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Qt(),sampleRand:_t()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,rn(t,an(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Jt(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():it(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,rn(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Qt(),sampleRand:_t()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:on;if(n<=0)return this;let r={timestamp:Wt(),...e,message:e.message?Mt(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent(`buffer_overflow`,`log_item`)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:an(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Zt(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||A();if(!this._client)return b&&S.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||A();if(!this._client)return b&&S.warn(`No client configured on scope - will not capture message!`),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||A();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(b&&S.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
6h(e=>{e(this)}),!1)}};function sn(){return ye(`defaultCurrentScope`,()=>new P)}function cn(){return ye(`defaultIsolationScope`,()=>new P)}var ln=e=>e instanceof Promise&&!e[un],un=Symbol(`chained PromiseLike`),dn=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return ln(r)&&ln(e)?r:fn(e,r)},fn=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[un]:!0}),t},pn=class{constructor(e,t){let n;n=e||new P;let r;r=t||new P,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return st(n)?dn(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function mn(){let e=ve(_e());return e.stack=e.stack||new pn(sn(),cn())}function hn(e){return mn().withScope(e)}function gn(e,t){let n=mn();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function _n(e){return mn().withScope(()=>e(mn().getIsolationScope()))}function vn(){return{withIsolationScope:_n,withScope:hn,withSetScope:gn,withSetIsolationScope:(e,t)=>_n(t),getCurrentScope:()=>mn().getScope(),getIsolationScope:()=>mn().getIsolationScope()}}function yn(e){let t=ve(e);return t.acs?t.acs:vn()}function bn(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function xn(e,t){let{value:n,unit:r}=bn(e)?e:{value:e,unit:void 0},i=Cn(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function Sn(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=xn(i,t);e&&(n[r]=e)}return n}function Cn(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}var wn;function Tn(){return wn?.()}function F(){return yn(_e()).getCurrentScope()}function I(){return yn(_e()).getIsolationScope()}function En(){return ye(`globalScope`,()=>new P)}function Dn(...e){let t=yn(_e());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function L(){return F().getClient()}function On(e){let t=Tn();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),a={trace_id:n,span_id:i||$t()};return r&&(a.parent_span_id=r),a}var kn=`sentry.op`,An=`sentry.origin`,jn=`sentry.profile_id`,Mn=`sentry.exclusive_time`,Nn=`gen_ai.conversation.id`,Pn=`_sentryScope`,Fn=`_sentryIsolationScope`;function In(e){let t=e;return{scope:t[Pn],isolationScope:tn(t[Fn])}}function Ln(e){let t=Rn(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function Rn(e){if(!(!e||!E(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=zn(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):zn(e)}function zn(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}var Bn=/^o(\d+)\./,Vn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Hn(e){return e===`http`||e===`https`}function Un(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function Wn(e){let t=Vn.exec(e);if(!t){Ce(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return Gn({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function Gn(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function Kn(e){if(!b)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>!e[t]&&(S.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?Hn(r)?t&&isNaN(parseInt(t,10))?(S.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(S.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(S.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function qn(e){return e.match(Bn)?.[1]}function Jn(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=qn(n)),r}function Yn(e){let t=typeof e==`string`?Wn(e):Gn(e);if(!(!t||!Kn(t)))return t}function Xn(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var Zn=!1;function Qn(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:nr(e).parent_span_id,a=In(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||$t():t,trace_id:n}}function $n(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function er(e){return typeof e==`number`?tr(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?tr(e.getTime()):N()}function tr(e){return e>9999999999?e/1e3:e}function nr(e){if(or(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(ar(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:rr(e),start_timestamp:er(i),timestamp:er(o)||void 0,status:cr(s),op:r[kn],origin:r[An],links:$n(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function rr(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function ir(e){return{...e,attributes:Sn(e.attributes),links:e.links?.map(e=>({...e,attributes:Sn(e.attributes)}))}}function ar(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function or(e){return typeof e.getSpanJSON==`function`}function sr(e){let{traceFlags:t}=e.spanContext();return t===1}function cr(e){if(!(!e||e.code===0))return e.code===1?`ok`:e.message||`internal_error`}var lr=`_sentryRootSpan`,ur=dr;function dr(e){return e[lr]||e}function fr(){Zn||=(Ce(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}function pr(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||L()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function mr(e){S.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function hr(e,t){if(!t?.length)return!1;for(let n of t){if(vr(n)){if(e.description&&Pt(e.description,n))return b&&mr(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&Pt(e.description,n.name),i=!n.op||e.op&&Pt(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>gr(e.attributes?.[t],n));if(r&&i&&a)return b&&mr(e),!0}return!1}function gr(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?Pt(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function _r(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function vr(e){return typeof e==`string`||e instanceof RegExp}var yr=Symbol.for(`sentry.nonRecordingSpan`);function br(e){return!!e&&e[yr]===!0}var xr=`production`,Sr=`_frozenDsc`;function Cr(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:Jn(t)};return t.emit(`createDsc`,i),i}function wr(e,t){let n=t.getPropagationContext();return n.dsc||Cr(n.traceId,e)}function Tr(e){let t=L();if(!t)return{};let n=ur(e),r=nr(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[Sr];if(c)return s(c);if(br(n)&&!pr(t.getOptions())){let e=In(n).scope;if(e)return s({...wr(t,e)})}let l=a?.get(`sentry.dsc`),u=l&&Ln(l);if(u)return s(u);let d=Cr(e.spanContext().traceId,t),f=i[`sentry.source`]??i[`sentry.span.source`],p=r.description;return f!==`url`&&p&&(d.transaction=p),pr()&&(d.sampled=String(sr(n)),d.sample_rand=a?.get(`sentry.sample_rand`)??In(n).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit(`createDsc`,d,n),d}
6function Er(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function Dr(e,t=[]){return[e,t]}function Or(e,t){let[n,r]=e;return[n,[...r,t]]}function kr(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function Ar(e,t){return kr(e,(e,n)=>t.includes(n))}function jr(e){let t=ve(x);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function Mr(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[jr(r),e]:r.push(typeof e==`string`?jr(e):e)}for(let e of n){let[t,n]=e;if(i(`
7${JSON.stringify(t)}
8`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(k(n))}i(e)}}return typeof r==`string`?r:Nr(r)}function Nr(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function Pr(e){let t=typeof e.data==`string`?jr(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var Fr={sessions:`session`,event:`error`,client_report:`internal`,user_report:`default`,profile_chunk:`profile`,replay_event:`replay`,replay_recording:`replay`,check_in:`monitor`,raw_security:`security`,log:`log_item`,trace_metric:`metric`};function Ir(e){return e in Fr}function Lr(e){return Ir(e)?Fr[e]:e}function Rr(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function zr(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(vt()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Un(r)},...i&&{trace:i}}}function Br(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function Vr(e,t,n,r){let i=Rr(n);return Dr({sent_at:new Date(vt()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Un(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function Hr(e,t,n,r){let i=Rr(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;Br(e,n?.sdk);let o=zr(e,i,r,t);return delete e.sdkProcessingMetadata,Dr(o,[[{type:a},e]])}function Ur(e){return e.getOptions().traceLifecycle===`stream`}function Wr(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;Jr(e,t),r&&Zr(e,r),Qr(e,n),Yr(e,i),Xr(e,a)}function Gr(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;Kr(e,`extra`,n),Kr(e,`tags`,r),Kr(e,`attributes`,i),Kr(e,`user`,a),Kr(e,`contexts`,o),e.sdkProcessingMetadata=Zt(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function Kr(e,t,n){e[t]=Zt(e[t],n,1)}function qr(e,t){let n=En().getScopeData();return e&&Gr(n,e.getScopeData()),t&&Gr(n,t.getScopeData()),n}function Jr(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function Yr(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Xr(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Zr(e,t){e.contexts={trace:Qn(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Tr(t),...e.sdkProcessingMetadata};let n=nr(ur(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function Qr(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}function $r(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var ei=0,ti=1,ni=2;function ri(e){return new ai(t=>{t(e)})}function ii(e){return new ai((t,n)=>{n(e)})}var ai=class e{constructor(e){this._state=ei,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>
8{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===ei)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===ti&&e[1](this._value),this._state===ni&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===ei){if(st(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(ti,e)},r=e=>{t(ni,e)};try{e(n,r)}catch(e){r(e)}}};function oi(e,t,n,r=0){try{let i=si(t,n,e,r);return st(i)?i:ri(i)}catch(e){return ii(e)}}function si(e,t,n,r){let i=n[r];if(!e||!i)return e;let a=i({...e},t);return b&&a===null&&S.log(`Event processor "${i.id||`?`}" dropped event`),st(a)?a.then(e=>si(e,t,n,r+1)):si(a,t,n,r+1)}var ci,li,ui,R;function di(e){let t=x._sentryDebugIds,n=x._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(R&&r.length===li&&i.length===ui)return R;li=r.length,ui=i.length,R={},ci||={};let a=(t,n)=>{for(let r of t){let t=n[r],i=ci?.[r];if(i&&R&&t)R[i[0]]=t,ci&&(ci[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&R&&ci){R[i]=t,ci[r]=[i,t];break}}}}};return t&&a(r,t),n&&a(i,n),R}function fi(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||A(),timestamp:t.timestamp||Wt()},l=n.integrations||e.integrations.map(e=>e.name);pi(c,e),gi(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&mi(c,e.stackParser);let u=vi(r,n.captureContext);n.mechanism&&M(c,n.mechanism);let d=i?i.getEventProcessors():[],f=qr(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),Wr(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?ri(c):oi(m,c,n)).then(e=>(e&&hi(e),typeof o==`number`&&o>0?_i(e,o,s):e))}function pi(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=Mt(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=Mt(e.value,a)})}function mi(e,t){let n=di(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function hi(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function gi(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function _i(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:k(e.data,t,n)}}))},...e.user&&{user:k(e.user,t,n)},...e.contexts&&{contexts:k(e.contexts,t,n)},...e.extra&&{extra:k(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=k(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:k(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=k(e.contexts.flags,3,n)),r}function vi(e,t){if(!t)return e;let n=e?e.clone():new P;return n.update(t),n}function yi(e){if(e)return bi(e)||Si(e)?{captureContext:e}:e}function bi(e){return e instanceof P||typeof e==`function`}var xi=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function Si(e){return Object.keys(e).some(e=>xi.includes(e))}function Ci(e,t){return F().captureException(e,yi(t))}function wi(e,t){return F().captureEvent(e,t)}function Ti(e){let t=I(),{user:n}=qr(t,F()),{userAgent:r}=x.navigator||{},i=qt({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status===`ok`&&Jt(a,{status:`exited`}),Ei(),t.setSession(i),i}function Ei(){let e=I(),t=F().getSession()||e.getSession();t&&Yt(t),Di(),e.setSession()}function Di(){let e=I(),t=L(),n=e.getSession();n&&t&&t.captureSession(n)}function Oi(e=!1){if(e){Ei();return}Di()}function ki(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}function Ai(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function ji(e){return`${Ai(e)}${e.projectId}/envelope/`}function Mi(e,t){let n={sentry_version:`7`};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function Ni(e,t,n){return t||`${ji(e)}?${Mi(e,n)}`}var Pi=[];function Fi(e){let t={};
8return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function Ii(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return Fi(r)}function Li(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&zi(e,t,n)}),n}function Ri(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function zi(e,t,n){if(n[t.name]){b&&S.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Pi.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),Pi.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),b&&S.log(`Integration installed: ${t.name}`)}function z(e){return e}function Bi(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function Vi(){return`npm`}function Hi(){return!Bi()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function Ui(){return typeof window<`u`&&(!Hi()||Wi())}function Wi(){return x.process?.type===`renderer`}function Gi(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...Ui()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Ki(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Un(r)),Dr(a,[Gi(e,i)])}function qi(e,t){let n=t??Ji(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Ki(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Yi().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function Ji(e){return Yi().get(e)}function Yi(){return ye(`clientToLogBufferMap`,()=>new WeakMap)}function Xi(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...Ui()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Zi(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Un(r)),Dr(a,[Xi(e,i)])}function Qi(e,t){let n=t??$i(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Zi(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);ea().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function $i(e){return ea().get(e)}function ea(){return ye(`clientToMetricBufferMap`,()=>new WeakMap)}function ta(e){return ir({trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||``,start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status===`ok`||e.status===`cancelled`?`ok`:`error`,is_segment:!1,attributes:{...e.data},links:e.links})}function na(e,t){if(e.type!==`transaction`||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||Ur(t))return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith(`gen_ai.`)?n.push(ta(t)):r.push(t);if(n.length===0)return;e.spans=r;let i=t.getDataCollectionOptions().userInfo?`auto`:`never`;return[{type:`span`,item_count:n.length,content_type:`application/vnd.sentry.items.span.v2+json`},{version:2,...Ui()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}var ra=Symbol.for(`SentryBufferFullError`);function ia(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return ii(ra);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return ri(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>ki(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var aa=6e4;function oa(e,t=vt()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?aa:r-t}function sa(e,t){return e[t]||e.all||0}function ca(e,t,n=vt()){return sa(e,t)>n}function la(e,{statusCode:t,headers:n},r=vt()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+oa(o,r):t===429&&(i.all=r+6e4);return i}function ua(e,t,n=ia(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(kr(i,(t,n)=>{let i=Lr(n);ca(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=Dr(i[0],a),s=t=>{if(Ar(o,[`client_report`])){b&&S.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}kr(o,(n,r)=>{e.recordDroppedEvent(t,Lr(r))})};return n.add(()=>t({body:Mr(o)}).then(e=>e.statusCode===413?(b&&S.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),s(`send_error`),e):(b&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&S.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=la(r,e),e),e=>{throw s(`network_error`),b&&S.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>
8{if(e===ra)return b&&S.error(`Skipped sending event because buffer is full.`),s(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function da(e,t,n){let r=[{type:`client_report`},{timestamp:n||Wt(),discarded_events:e}];return Dr(t?{dsn:t}:{},[r])}function fa(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function pa(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[jn],exclusive_time:o?.[Mn],measurements:e.measurements,is_segment:!0}}function ma(e){return{type:`transaction`,timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var ha=[`forwarded`,`-ip`,`remote-`,`via`,`-user`];function ga(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],queryParams:!0,genAI:{inputs:!0,outputs:!0},stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:ha},httpHeaders:{request:{deny:ha},response:{deny:ha}},httpBodies:[],queryParams:{deny:ha},genAI:{inputs:!1,outputs:!1},stackFrameVariables:!0,frameContextLines:7}}var _a={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],queryParams:!0,genAI:{inputs:!0,outputs:!0},stackFrameVariables:!0,frameContextLines:5};function va(e){let t=e.dataCollection==null?ga(e.sendDefaultPii):_a,n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,queryParams:n.queryParams??t.queryParams,genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}var ya=`Not capturing exception because it's already been captured.`,ba=`Discarded session because of missing or non-string release`,xa=Symbol.for(`SentryInternalError`),Sa=Symbol.for(`SentryDoNotSendEventError`),Ca=5e3;function wa(e){return{message:e,[xa]:!0}}function Ta(e){return{message:e,[Sa]:!0}}function Ea(e){return!!e&&typeof e==`object`&&xa in e}function Da(e){return!!e&&typeof e==`object`&&Sa in e}function Oa(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{if(a+=r(t),a>=8e5)i(e);else if(!s){let t=e.getOptions()._flushInterval??Ca;t>0&&(s=!0,o=ki(setTimeout(()=>{i(e)},t)))}}),e.on(`flush`,()=>{i(e)})}var ka=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=ia(e.transportOptions?.bufferSize??64),this._dataCollection=va(e),e.dsn?this._dsn=Yn(e.dsn):b&&S.warn(`No DSN provided, client will not send events.`),this._dsn){let t=Ni(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&Oa(this,`afterCaptureLog`,`flushLogs`,Ia,qi),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&Oa(this,`afterCaptureMetric`,`flushMetrics`,Fa,Qi)}captureException(e,t,n){let r=A();if(Vt(e))return b&&S.log(ya),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:A(),...n}
8,a=nt(e)?e:String(e),o=rt(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=A();if(t?.originalException&&Vt(t.originalException))return b&&S.log(ya),r;let i={event_id:r,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,c=Aa(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),c),i.event_id}captureSession(e){this.sendSession(e),Jt(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){qi(this);let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),zi(this,e,this._integrations),t||Ri(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=na(e,this),r=Hr(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=Or(r,Pr(e));n&&(r=Or(r,n)),this.sendEnvelope(r).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=xr}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){b&&S.warn(ba);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){b&&S.warn(ba);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=Vr(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;b&&S.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return b&&S.error(`Error while sending envelope:`,e),{}}return b&&S.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=Li(this,e),Ri(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(Jt(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),fi(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...On(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:wr(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={},n=F(),r=I()){return b&&Na(e)&&S.log(`Captured error event \`${fa(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{b&&(Da(e)?S.log(e.message):Ea(e)?S.warn(e.message):S.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=Pa(e),s=Na(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:Xn(a);if(s&&typeof l==`number`&&_t()>l)return this.recordDroppedEvent(`sample_rate`,`error`),ii(Ta(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let u=Aa(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),Ta("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:ja(Ma(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw Ta(`${c} returned \`null\`, will not send event.`)}
8let a=n.getSession()||r.getSession();if(s&&a&&this._updateSessionFromEvent(a,i),o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let l=i.transaction_info;return o&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw Da(e)||Ea(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),wa(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
9Reason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===ra&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){b&&S.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){b&&S.log(`No outcomes to send`);return}if(!this._dsn){b&&S.log(`No dsn provided, will not send outcomes`);return}b&&S.log(`Sending outcomes:`,e);let t=da(e,this._options.tunnel&&Un(this._dsn));this.sendEnvelope(t)}};function Aa(e){return e===`replay_event`?`replay`:e||`error`}function ja(e,t){let n=`${t} must return \`null\` or a valid event.`;if(st(e))return e.then(e=>{if(!it(e)&&e!==null)throw wa(n);return e},e=>{throw wa(`${t} rejected with ${e}`)});if(!it(e)&&e!==null)throw wa(n);return e}function Ma(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!Er(t.beforeSendSpan)&&t.beforeSendSpan,c=n;if(Na(c)&&i)return i(c,r);if(Pa(c)){if(s||o){let t=pa(c);if(o?.length&&hr({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);e?c=Zt(n,ma(e)):fr()}if(c.spans){let t=[],n=c.spans;for(let e of n){if(o?.length&&hr({description:e.description,op:e.op,attributes:e.data},o)){_r(n,e);continue}if(s){let n=s(e);n?t.push(n):(fr(),t.push(e))}else t.push(e)}let r=c.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),c.spans=t}}if(a){if(c.spans){let e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(c,r)}}return c}function Na(e){return e.type===void 0}function Pa(e){return e.type===`transaction`}function Fa(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+La(e.attributes)}function Ia(e){let t=0;return e.message&&(t+=e.message.length*2),t+La(e.attributes)}function La(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*Ra(e[0]):rt(e)?t+=Ra(e):t+=100}),t}function Ra(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function za(e,t){t.debug===!0&&(b?S.enable():Ce(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),F().update(t.initialScope);let n=new e(t);return Ba(n),n.init(),n}function Ba(e){F().setClient(e)}function Va(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Ha(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function Ua(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function Wa(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:ge})),i.version=ge)}var Ga=100;function B(e,t){let n=L(),r=I();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=Ga}=n.getOptions();if(a<=0)return;let o={timestamp:Wt(),...e},s=i?Ce(()=>i(o,t)):o;s!==null&&(n.emit&&n.emit(`beforeAddBreadcrumb`,s,t),r.addBreadcrumb(s,a))}var Ka,qa=`FunctionToString`,Ja=new WeakMap,Ya=z((()=>({name:qa,setupOnce(){Ka=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=dt(this),n=Ja.has(L())&&t!==void 0?t:this;return Ka.apply(n,e)}}catch{}},setup(e){Ja.set(e,!0)}}))),Xa=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],Za=`EventFilters`,Qa=z((e={})=>{let t;return{name:Za,setup(n){t=eo(e,n.getOptions())},processEvent(n,r,i){return t||=eo(e,i.getOptions()),to(n,t)?null:n}}}),$a=z(((e={})=>({...Qa(e),name:`InboundFilters`})));function eo(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Xa],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function to(e,t){if(!e.type){if(no(e,t.ignoreErrors))return b&&S.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
10Event: ${j(e)}`),!0;if(co(e))return b&&S.warn(`Event dropped due to not having an error message, error type or stacktrace.
11Event: ${j(e)}`),!0;if(io(e,t.denyUrls))return b&&S.warn(`Event dropped due to being matched by \`denyUrls\` option.
12Event: ${j(e)}.
13Url: ${so(e)}`),!0;if(!ao(e,t.allowUrls))return b&&S.warn(`Event dropped due to not being matched by \`allowUrls\` option.
14Event: ${j(e)}.
15Url: ${so(e)}`),!0}else if(e.type===`transaction`&&ro(e,t.ignoreTransactions))return b&&S.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
16Event: ${j(e)}`),!0;return!1}function no(e,t){return t?.length?fa(e).some(e=>Ft(e,t)):!1}function ro(e,t){if(!t?.length)return!1;let n=e.transaction;return n?Ft(n,t):!1}function io(e,t){if(!t?.length)return!1;let n=so(e);return n?Ft(n,t):!1}function ao(e,t){if(!t?.length)return!0;let n=so(e);return!n||Ft(n,t)}function oo(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function so(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?oo(t):null}catch{return b&&S.error(`Cannot extract url for event ${j(e)}`),null}}function co(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function lo(e,t,n,r,i,a){if(!i.exception?.values||!a||!ct(a.originalException,Error))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=uo(e,t,r,a.originalException,n,i.exception.values,o,0))}
16function uo(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(ct(r[i],Error)){po(o,s,r);let a=e(t,r[i]),l=c.length;mo(a,i,l,s),c=uo(e,t,n,r[i],i,[a,...c],a,l)}return fo(r)&&r.errors.forEach((a,l)=>{if(ct(a,Error)){po(o,s,r);let u=e(t,a),d=c.length;mo(u,`errors[${l}]`,d,s),c=uo(e,t,n,a,i,[u,...c],u,d)}}),c}function fo(e){return Array.isArray(e.errors)}function po(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...fo(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function mo(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function ho(e){return Ze(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function go(e){return ho(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var _o=new Set([]);function vo(e){let t=`console`,n=w(t,e);return Ue(t,yo),n}function yo(){`console`in x&&be.forEach(function(e){e in x.console&&D(x.console,e,function(t){return Se[e]=t,function(...t){let n=t[0],r=Se[e],i=_o.size&&typeof n==`string`&&Ft(n,_o);i||T(`console`,{args:t,level:e}),(!i||b&&S.isEnabled())&&r?.apply(x.console,t)}})})}function bo(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var xo=`Dedupe`,So=z((()=>{let e;return{name:xo,processEvent(t){if(t.type)return t;try{if(Co(t,e))return b&&S.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function Co(e,t){return t?!!(wo(e,t)||To(e,t)):!1}function wo(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Do(e,t)||!Eo(e,t))}function To(e,t){let n=Oo(t),r=Oo(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Do(e,t)||!Eo(e,t))}function Eo(e,t){let n=Be(e),r=Be(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function Do(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function Oo(e){return e.exception?.values?.[0]}var ko=`ConversationId`,Ao=z((()=>({name:ko,setup(e){e.on(`spanStart`,e=>{let t=F().getScopeData(),n=I().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=nr(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(Nn,r)}})}})));function jo(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var Mo=x;function No(){return`history`in Mo&&!!Mo.history}function Po(){if(!(`fetch`in Mo))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function Fo(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Io(){if(typeof EdgeRuntime==`string`)return!0;if(!Po())return!1;if(Fo(Mo.fetch))return!0;let e=!1,t=Mo.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Fo(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){b&&S.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function Lo(e,t){let n=`fetch`,r=w(n,e);return Ue(n,()=>Ro(void 0,t)),r}function Ro(e,t=!1){t&&!Io()||D(x,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=Vo(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:N()*1e3,virtualError:r,headers:Ho(n)};return e||T(`fetch`,{...o}),t.apply(x,n).then(async t=>(e?e(t):T(`fetch`,{...o,endTimestamp:N()*1e3,response:t}),t),e=>{T(`fetch`,{...o,endTimestamp:N()*1e3,error:e}),Ze(e)&&e.stack===void 0&&(e.stack=r.stack,O(e,`framesToPop`,1));let t=L()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&e instanceof TypeError&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:O(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}function zo(e,t){return!!e&&typeof e==`object`&&!!e[t]}function Bo(e){return typeof e==`string`?e:e?zo(e,`url`)?e.url:e.toString?e.toString():``:``}function Vo(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:Bo(t),method:zo(n,`method`)?String(n.method).toUpperCase():lt(t)&&zo(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:Bo(t),method:zo(t,`method`)?String(t.method).toUpperCase():`GET`}}function Ho(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(lt(t))return new Headers(t.headers)}catch{}}var Uo=x;function Wo(){try{return Uo.document.location.href}catch{return``}}function Go(e,t=5){if(!Uo.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var V=x,Ko=0;function qo(){return Ko>0}function Jo(){Ko++,setTimeout(()=>{Ko--})}function Yo(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(dt(e))return e}catch{return e}let r=function(...n){x._sentryWrappedDepth=(x._sentryWrappedDepth||0)+1;try{let r=n.map(e=>Yo(e,t));return e.apply(this,r)}catch(e){throw Jo(),Dn(r=>{r.addEventProcessor(e=>(t.mechanism&&(Bt(e,void 0,void 0),M(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),Ci(e)}),e}finally{x._sentryWrappedDepth=(x._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}ut(r,e),O(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Xo(){let e=Wo(),{referrer:t}=V.document||{},{userAgent:n}=V.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function Zo(e,t){let n=es(e,t),r={type:as(t),value:os(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function Qo(e,t,n,r){let i=L()?.getOptions().normalizeDepth,a=ps(t),o={__serialized__:Tt(t,i)};if(a)return{exception:{values:[Zo(e,a)]},extra:o};let s={exception:{values:[{type:at(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:ds(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=es(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function $o(e,t){return{exception:{values:[Zo(e,t)]}}}function es(e,t){let n=t.stacktrace||t.stack||``,r=ns(t),i=rs(t);try{return e(n,r,i)}catch{}return[]}var ts=/Minified React error #\d+;/i;function ns(e){return e&&ts.test(e.message)?1:0}function rs(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function is(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0&&e instanceof WebAssembly.Exception}function as(e){let t=e?.name;return!t&&is(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function os(e){let t=e?.message;return is(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?go(t.error):go(e):`No error message`}function ss(e,t,n,r){let i=ls(e,t,n?.syntheticException||void 0,r);
16return M(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),ri(i)}function cs(e,t,n=`info`,r,i){let a=us(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),ri(a)}function ls(e,t,n,r,i){let a;if($e(t)&&t.error)return $o(e,t.error);if(et(t)||tt(t)){let i=t;if(`stack`in t){a=$o(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=es(e,n);t.length&&(i.stacktrace={frames:t},M(a,{synthetic:!0}))}}else{let t=i.name||(et(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=us(e,o,n,r),Bt(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return Ze(t)?$o(e,t):it(t)||at(t)?(a=Qo(e,t,n,i),M(a,{synthetic:!0}),a):(a=us(e,t,n,r),Bt(a,`${t}`,void 0),M(a,{synthetic:!0}),a)}function us(e,t,n,r){let i={};if(r&&n){let r=es(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),M(i,{synthetic:!0})}if(nt(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function ds(e,{isUnhandledRejection:t}){let n=mt(e),r=t?`promise rejection`:`exception`;return $e(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:at(e)?`Event \`${fs(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function fs(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function ps(e){return Object.values(e).find(e=>e instanceof Error)}var ms=class extends ka{constructor(e){let t=hs(e);Wa(t,`browser`,[`browser`],V.SENTRY_SDK_SOURCE||Vi()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r,enableLogs:i,_experiments:a,enableMetrics:o}=this._options,s=o??a?.enableMetrics??!0;V.document&&(r||i||s)&&V.document.addEventListener(`visibilitychange`,()=>{V.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),i&&qi(this),s&&Qi(this))}),n&&this.on(`beforeSendSession`,Ua)}eventFromException(e,t){return ss(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return cs(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function hs(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:V.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var gs=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,H=x;
16function _s(e,t,n){H.document&&H.addEventListener(e,t,n)}function vs(e,t,n){H.document&&H.removeEventListener(e,t,n)}var ys=e=>{let t=!1;return()=>{t||=(e(),!0)}},bs=e=>{let t=H.requestIdleCallback||H.setTimeout;H.document?.visibilityState===`hidden`?e():(e=ys(e),_s(`visibilitychange`,e,{once:!0,capture:!0}),_s(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),vs(`visibilitychange`,e,{capture:!0}),vs(`pagehide`,e,{capture:!0})}))},xs=80,U={};try{typeof Node<`u`&&(U.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(U.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,U.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,U.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,U.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(U.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function W(e,t,n){let r=U[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function Ss(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||xs;for(;n&&i++<5&&(o=Cs(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=W(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function Cs(e,t){let n=[],r=W(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=W(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>W(e,`getAttribute`,t)).map(t=>[t,W(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=W(e,`id`);t&&n.push(`#${t}`);let r=W(e,`className`);if(r&&E(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=W(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var ws=1e3,Ts,Es,Ds;function Os(e){w(`dom`,e),Ue(`dom`,ks)}function ks(){if(!H.document)return;let e=T.bind(null,`dom`),t=Ms(e,!0);H.document.addEventListener(`click`,t,!1),H.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=H[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(D(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=Ms(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),D(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function As(e){if(e.type!==Es)return!1;try{if(!e.target||e.target._sentryId!==Ds)return!1}catch{}return!0}function js(e,t){return e===`keypress`?!t?.tagName||!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!1}function Ms(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=Ns(n);if(js(n.type,r))return;O(n,`_sentryCaptured`,!0),r&&!r._sentryId&&O(r,`_sentryId`,A());let i=n.type===`keypress`?`input`:n.type;As(n)||(e({event:n,name:i,global:t}),Es=n.type,Ds=r?r._sentryId:void 0),clearTimeout(Ts),Ts=H.setTimeout(()=>{Ds=void 0,Es=void 0},ws)}}function Ns(e){try{return e.target}catch{return null}}var Ps;function Fs(e){let t=`history`;w(t,e),Ue(t,Is)}function Is(){if(H.addEventListener(`popstate`,()=>{let e=H.location.href,t=Ps;Ps=e,t!==e&&T(`history`,{from:t,to:e})}),!No())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=Ps,i=Ls(String(n));if(Ps=i,r===i)return e.apply(this,t);T(`history`,{from:r,to:i})}return e.apply(this,t)}}D(H.history,`pushState`,e),D(H.history,`replaceState`,e)}function Ls(e){try{return new URL(e,H.location.origin).toString()}catch{return e}}var Rs={};function zs(e){let t=Rs[e];if(t)return t;let n=H[e];if(Fo(n))return Rs[e]=n.bind(H);let r=H.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){gs&&S.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(Rs[e]=n.bind(H))}function Bs(e){Rs[e]=void 0}var Vs=`__sentry_xhr_v3__`;function Hs(e){w(`xhr`,e),Ue(`xhr`,Us)}function Us(){if(!H.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=N()*1e3,a=E(n[0])?n[0].toUpperCase():void 0,o=Ws(n[1]);if(!a||!o)return e.apply(t,n);t[Vs]={method:a,url:o,request_headers:{}}
16,a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[Vs];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}T(`xhr`,{endTimestamp:N()*1e3,startTimestamp:i,xhr:t,virtualError:r})}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[Vs];return a&&E(r)&&E(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[Vs];return r?(n[0]!==void 0&&(r.body=n[0]),T(`xhr`,{startTimestamp:N()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function Ws(e){if(E(e))return e;try{return e.toString()}catch{}}function Gs(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var Ks=40;function qs(e,t=zs(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw Bs(`fetch`),e}finally{n-=a,r--}}return ua(e,i,ia(e.bufferSize||Ks))}var Js=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Ys=30,Xs=50;function Zs(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var Qs=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,$s=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ec=/\((\S*)(?::(\d+))(?::(\d+))\)/,tc=/at (.+?) ?\(data:(.+?),/,nc=[Ys,e=>{let t=e.match(tc);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=Qs.exec(e);if(n){let[,e,t,r]=n;return Zs(e,`?`,+t,+r)}let r=$s.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=ec.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=oc(r[1]||`?`,r[2]);return Zs(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],rc=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ic=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ac=Fe(nc,[Xs,e=>{let t=rc.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=ic.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=oc(n,e),Zs(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),oc=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},sc=1024,cc=`Breadcrumbs`,lc=z(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:cc,setup(e){t.console&&vo(fc(e)),t.dom&&Os(dc(e,t.dom)),t.xhr&&Hs(pc(e)),t.fetch&&Lo(mc(e)),t.history&&Fs(hc(e)),t.sentry&&e.on(`beforeSendEvent`,uc(e))}}}));function uc(e){return function(t){L()===e&&B({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:j(t)},{event:t})}}function dc(e,t){return function(n){if(L()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>sc&&(Js&&S.warn(`\`dom.maxStringLength\` cannot exceed ${sc}, but a value of ${o} was configured. Sentry will use ${sc} instead.`),o=sc),typeof a==`string`&&(a=[a]);try{let e=n.event,t=gc(e)?e.target:e;r=Ss(t,{keyAttrs:a,maxStringLength:o}),i=Go(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),B(s,{event:n.event,name:n.name,global:n.global})}}function fc(e){return function(t){if(L()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:bo(t.level),message:Nt(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${Nt(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;B(n,{input:t.args,level:t.level})}}function pc(e){return function(t){if(L()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Vs];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:jo(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),B(d,u)}}function mc(e){return function(t){if(L()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;
16if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),B(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:jo(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),B(s,o)}}}function hc(e){return function(t){if(L()!==e)return;let n=t.from,r=t.to,i=Va(V.location.href),a=n?Va(n):void 0,o=Va(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),B({category:`navigation`,data:{from:n,to:r}})}}function gc(e){return!!e&&!!e.target}var _c=`EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload`.split(`,`),vc=`BrowserApiErrors`,yc=z(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:vc,setupOnce(){t.setTimeout&&D(V,`setTimeout`,bc),t.setInterval&&D(V,`setInterval`,bc),t.requestAnimationFrame&&D(V,`requestAnimationFrame`,xc),t.XMLHttpRequest&&`XMLHttpRequest`in V&&D(XMLHttpRequest.prototype,`send`,Sc);let e=t.eventTarget;e&&(Array.isArray(e)?e:_c).forEach(e=>Cc(e,t))}}}));function bc(e){return function(...t){let n=t[0];return t[0]=Yo(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${C(e)}`}}),e.apply(this,t)}}function xc(e){return function(t){return e.apply(this,[Yo(t,{mechanism:{data:{handler:C(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function Sc(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&D(n,e,function(t){let n={mechanism:{data:{handler:C(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=dt(t);return r&&(n.mechanism.data.handler=C(r)),Yo(t,n)})}),e.apply(this,t)}}function Cc(e,t){let n=V[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(D(n,`addEventListener`,function(n){return function(r,i,a){try{wc(i)&&(i.handleEvent=Yo(i.handleEvent,{mechanism:{data:{handler:C(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&Tc(this,r,i),n.apply(this,[r,Yo(i,{mechanism:{data:{handler:C(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),D(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function wc(e){return typeof e.handleEvent==`function`}function Tc(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var Ec=z((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(V.document===void 0){Js&&S.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Ti({ignoreDuration:!0});let e=!1;bs(()=>{e||=(Oi(),!0)});let n=I(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&Oi())}),t===`route`&&Fs(({from:t,to:n})=>{t!==n&&(Ti({ignoreDuration:!0}),Oi(),e=!0)})}}}),Dc=`CultureContext`,Oc=z((()=>({name:Dc,preprocessEvent(e){let t=kc();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=kc();t&&$r(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function kc(){try{let e=V.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var Ac=`GlobalHandlers`,jc=z(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:Ac,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(Mc(e),Lc(`onerror`)),t.onunhandledrejection&&(Nc(e),Lc(`onunhandledrejection`))}}}));function Mc(e){Ge(t=>{let{stackParser:n,attachStacktrace:r}=Rc();if(L()!==e||qo())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=Ic(ls(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,wi(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function Nc(e){Je(t=>{let{stackParser:n,attachStacktrace:r}=Rc();if(L()!==e||qo())return;let i=Pc(t),a=rt(i)?Fc(i):ls(n,i,void 0,r,!0);a.level=`error`,wi(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function Pc(e){if(rt(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function Fc(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Ic(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];
16return c.length===0&&c.push({colno:r,lineno:n,filename:zc(t)??Wo(),function:`?`,in_app:!0}),e}function Lc(e){Js&&S.log(`Global Handler attached: ${e}`)}function Rc(){return L()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function zc(e){if(!(!E(e)||e.length===0))return e.startsWith(`data:`)?`<${Ha(e,!1)}>`:e}var Bc=z(()=>({name:`HttpContext`,preprocessEvent(e){if(!V.navigator&&!V.location&&!V.document)return;let t=Xo(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){let t=e.attributes?.[kn];if(!V.navigator&&!V.location&&!V.document)return;let n=Xo();$r(e,{"url.full":t===`http.client`?void 0:n.url,"http.request.header.user_agent":n.headers[`User-Agent`],"http.request.header.referer":n.headers.Referer})}})),Vc=`cause`,Hc=5,Uc=`LinkedErrors`,Wc=z(((e={})=>{let t=e.limit||Hc,n=e.key||Vc;return{name:Uc,preprocessEvent(e,r,i){lo(Zo,i.getOptions().stackParser,n,t,e,r)}}})),Gc=/^HTML(\w*)Element$/;function Kc(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(Gs(e)){let t=qc(e);if(Gc.test(t))return`[HTMLElement: ${Ss(e)}]`}}function qc(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Jc(){return Yc()?(Js&&Ce(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function Yc(){if(V.window===void 0)return!1;let e=V;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=Wo();return!(V===V.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function Xc(e){return[$a(),Ya(),Ao(),yc(),lc(),jc(),Wc(),So(),Bc(),Oc(),Ec()]}function Zc(e={}){let t=!e.skipBrowserExtensionCheck&&Jc(),n=e.defaultIntegrations==null?Xc():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:Ie(e.stackParser||ac),integrations:Ii({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||qs};return wt(Kc),za(ms,r)}var Qc=[`cancelled`,`cancelado`,`Can't find variable: YAHOO`,`Can't find variable: IntersectionObserver`,`Can't find variable: $`,`error loading dynamically imported module`,`Failed to fetch`,`Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.`,`Importing a module script failed.`,`jQuery is not defined`,`Load failed`,`Network Error`,`Network request failed`,`NetworkError when attempting to fetch resource.`,`Non-Error promise rejection captured`,`null is not an object (evaluating 'a.theme')`,`Object captured as promise rejection`,`Object.entries(...).flatMap is not a function`,`Object.fromEntries is not a function`,`Promise.all is not a function`,`setAPSLAppFCMInfo is not defined`,`The operation was aborted.`,`tgetT is not defined`,`The operation is insecure.`,`.then is not a function`,`$ is not defined`,`Cannot access '_' before initialization`,`rnWebViewNS.postMessage is not a function`,`キャンセルしました`,`中止`,`已取消`,`Return statements are only valid inside functions.`,/Cannot assign to read only property ['"]constructor['"] of object/i,/undefined is not an object.*webkit\.messageHandlers/i,/Invalid call to runtime\.sendMessage\(\)\. Tab not found/i,`UET is not defined`,/^Error invoking postMessage:/i,`Unexpected end of input`,`Can't find variable: UET`,`Unexpected end of JSON input`,/Java object is gone/,`Unexpected end of JSON input`,`Error: hd`,`Can't find variable: CONFIG`,/help-header-icon-target-url/,`Unexpected identifier 'https'`,`setAdGeneParamsForiOSApp`,`supportedEntryTypes`],$c=[/AIACrawler/,/BitSightBot/,/^Google$/,/Googlebot/i,/Google-Read-Aloud/,/MiuiBrowser/,/MZBrowser/,/PetalBot/,/Quark/,/SogouMSE/,/Storebot-Google/,/Trident/,/UCBrowser/,/HeadlessChrome/i,/FacebookBot/i,/Baiduspider/i],el=[[`Chrome`,74],[`Firefox`,78],[`Safari`,13],[`Mobile Safari`,13]].map(([e,t])=>[RegExp(`${e}/(\\d+)`,`i`),t]),tl=navigator.userAgent,nl=$c.some(e=>e.test(tl))||el.some(([e,t])=>{let[,n]=e.exec(tl)||[];return!!n&&parseInt(n,10)<=t});rl()||Zc({dsn:`https://[email protected]/4505367477092352`,environment:`production`,normalizeDepth:0,ignoreErrors:Qc,allowUrls:[`https://thebase.com`],denyUrls:[/^blob:/i,/^chrome-extension:\/\//i,/^moz-extension:\/\//i]});function rl(){return nl}var il=class e{static instance;static getInstance(){return this.instance||=new e}observer;callback=new Map;constructor(e){this.observer=new IntersectionObserver(e=>{for(let t of e){let e=(this.callback.get(t.target)||[]).slice();for(let n of e)n(t,()=>this.remove(t.target,n))}},e)}add(e,t){let n=Array.isArray(e)?e:[e];for(let e of n){if(this.callback.has(e)){this.callback.get(e).push(t);continue}this.callback.set(e,[t]),this.observer.observe(e)}}remove(e,t){let n=Array.isArray(e)?e:[e];for(let e of n){if(!this.callback.has(e))continue;if(!t){this.observer.unobserve(e),this.callback.delete(e);continue}let n=this.callback.get(e),r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this.observer.unobserve(e),this.callback.delete(e))}}},al=(e,t)=>{il.getInstance().add(e,({isIntersecting:e,target:n},r)=>{e&&t(n)&&r()})},ol=`.js-ds`,sl=`-active`;
16al([...document.querySelectorAll(ol)],e=>(e.classList.add(sl),!0));var cl=0,ll=()=>{cl=document.documentElement.scrollTop};window.addEventListener(`scroll`,ll),cl=document.documentElement.scrollTop,al([...document.querySelectorAll(`.js-ds__fadeInUp`)],e=>(e.getBoundingClientRect().top+document.documentElement.scrollTop>cl&&e.classList.add(`animate__fadeInUp`),window.removeEventListener(`scroll`,ll),!0));function ul(){if(window.innerHeight>=document.body.scrollHeight)return 0;let e=document.createElement(`div`),t=document.createElement(`div`);e.appendChild(t),e.style.setProperty(`opacity`,`0`),e.style.setProperty(`visibility`,`hidden`),e.style.setProperty(`overflow`,`scroll`),e.style.setProperty(`msOverflowStyle`,`scrollbar`),document.body.appendChild(e);let n=Math.round(e.getBoundingClientRect().width-t.getBoundingClientRect().width);return document.body.removeChild(e),n}var dl=()=>{fl(),window.addEventListener(`DOMContentLoaded`,fl),window.addEventListener(`resize`,fl)};function fl(){let e=window.innerHeight/100;document.documentElement.style.setProperty(`--vh`,`${e}px`);let t=ul(),n=window.innerWidth-t,r=n/100,i=100/(375+t),a=100/(1280+t);document.documentElement.style.setProperty(`--vw`,`${r}px `),document.documentElement.style.setProperty(`--100vw`,`${n}px `),document.documentElement.style.setProperty(`--sp-ratio`,`${i}`),document.documentElement.style.setProperty(`--tb-ratio`,`${a}`)}dl(),al([...document.querySelectorAll(`video[data-poster]`)],e=>(e.setAttribute(`poster`,e.getAttribute(`data-poster`)),!0));var G=`api-`,pl=`api-ixn-`,ml=`addPageAction`,hl=`addToTrace`,gl=`addRelease`,_l=`finished`,vl=`interaction`,yl=`noticeError`,bl=`pauseReplay`,xl=`recordCustomEvent`,Sl=`recordReplay`,Cl=`register`,wl=`setApplicationVersion`,Tl=`setCurrentRouteName`,El=`setCustomAttribute`,Dl=`setErrorHandler`,Ol=`setPageViewName`,kl=`setUserId`,Al=`start`,jl=`wrapLogger`,Ml=`measure`,Nl=`consent`,Pl=class e{#e(t,...n){if(this[t]===e.prototype[t])c(35,t);else return this[t](...n)}addPageAction(e,t){return this.#e(ml,e,t)}register(e){return this.#e(Cl,e)}recordCustomEvent(e,t){return this.#e(xl,e,t)}setPageViewName(e,t){return this.#e(Ol,e,t)}setCustomAttribute(e,t,n){return this.#e(El,e,t,n)}noticeError(e,t){return this.#e(yl,e,t)}setUserId(e,t=!1){return this.#e(kl,e,t)}setApplicationVersion(e){return this.#e(wl,e)}setErrorHandler(e){return this.#e(Dl,e)}addRelease(e,t){return this.#e(gl,e,t)}log(e,t){return this.#e(`log`,e,t)}start(){return this.#e(Al)}finished(e){return this.#e(_l,e)}recordReplay(){return this.#e(Sl)}pauseReplay(){return this.#e(bl)}addToTrace(e){return this.#e(hl,e)}setCurrentRouteName(e){return this.#e(Tl,e)}interaction(e){return this.#e(vl,e)}wrapLogger(e,t,n){return this.#e(jl,e,t,n)}measure(e,t){return this.#e(Ml,e,t)}consent(e){return this.#e(Nl,e)}},Fl=class extends Pl{agentIdentifier=n(16)},Il=Object.values(f);function Ll(e){let t={};return Il.forEach(n=>{t[n]=!!e[n]?.enabled}),t}function Rl(e){let t=oe();Object.getOwnPropertyNames(Pl.prototype).forEach(n=>{let r=Pl.prototype[n];if(typeof r!=`function`||r===`constructor`)return;let i=t[n];!e[n]||e.exposed===!1||e.runtime?.loaderType===`micro-agent`||(t[n]=(...t)=>{let r=e[n](...t);return i?i(...t):r})})}function zl(e,t){try{if(!e||typeof e!=`object`)return c(3);if(!t||typeof t!=`object`)return c(4);let n=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),r=Object.keys(n).length===0?e:n;for(let i in r)if(e[i]!==void 0)try{if(e[i]===null){n[i]=null;continue}n[i]=Array.isArray(e[i])&&Array.isArray(t[i])?Array.from(new Set([...e[i],...t[i]])):e[i]instanceof Map||e[i]instanceof Set||e[i]instanceof Date||e[i]instanceof RegExp?e[i]:typeof e[i]==`object`&&typeof t[i]==`object`?zl(e[i],t[i]):e[i]}catch(e){n[i]||c(1,e)}return n}catch(e){c(2,e)}}var Bl={beacon:h.beacon,errorBeacon:h.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function Vl(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch{return!1}}var Hl=e=>zl(e,Bl),Ul={AJAX:`AjaxRequest`,PA:`PageAction`,UA:`UserAction`,BP:`BrowserPerformance`,WS:`WebSocket`,SPV:`SecurityPolicyViolation`,JSE:`JavaScriptError`,LOG:`Log`,PVE:`PageView`,PVT:`PageViewTiming`,SR:`SessionReplay`,ST:`SessionTrace`,BI:`BrowserInteraction`},Wl=f.genericEvents,Gl=[`auxclick`,`click`,`copy`,`keydown`,`paste`,`scrollend`],Kl=[`focus`,`blur`],ql=1e3,Jl=2e3,Yl=[Ul.PA,Ul.UA,Ul.BP],Xl={RESOURCES:`experimental.resources`,REGISTER:`register`},Zl=f.ajax,Ql={NONE:`none`,FAILURES:`failures`,ALL:`all`}
16,$l=`ajaxRequest.id`,eu=e=>{if(!e||typeof e!=`string`)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0},tu=`[data-nr-mask]`,nu=()=>{let e={feature_flags:[],experimental:{register:!1,resources:!1},mask_selector:`*`,block_selector:`[data-nr-block]`,mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0,capture_payloads:Ql.NONE},api:{register:{get enabled(){return e.feature_flags.includes(Xl.REGISTER)||e.experimental.register},set enabled(t){e.experimental.register=t},duplicate_data_to_container:!1}},browser_consent_mode:{enabled:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(Xl.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:he,inactiveMs:pe},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){eu(t)?e.mask_selector=`${t},${tu}`:t===``||t===null?e.mask_selector=tu:c(5,t)},get block_class(){return`nr-block`},get ignore_class(){return`nr-ignore`},get mask_text_class(){return`nr-mask`},get block_selector(){return e.block_selector},set block_selector(t){eu(t)?e.block_selector+=`,${t}`:t!==``&&c(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&typeof t==`object`?e.mask_input_options={...t,password:!0}:c(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:[`id`,`className`,`tagName`,`type`]}}},ru=e=>zl(e,nu()),iu=`1.317.0`,au=`@newrelic/rrweb`,ou=`^1.1.2`,su=0,cu={buildEnv:`NPM`,distMethod:`NPM`,version:iu,originTime:t},lu={consented:!1},uu={activatedFeatures:void 0,appMetadata:{},configured:!1,get consented(){return this.session?.state?.consent||lu.consented},set consented(e){lu.consented=e},customTransaction:void 0,denyList:[],disabled:!1,drainRegistry:new Map,harvester:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,registeredEntities:[],jsAttributesMetadata:{bytes:0},get harvestCount(){return++su}},du=e=>{let t=zl(e,uu),n=Object.keys(cu).reduce((e,t)=>(e[t]={value:cu[t],writable:!1,configurable:!0,enumerable:!0},e),{});return Object.defineProperties(t,n)},fu={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},pu=e=>zl(e,fu);function mu(e,t={},n,i){let{init:a,info:o,loader_config:c,runtime:l={},exposed:u=!0}=t;if(!o){let e=oe();a=e.init,o=e.info,c=e.loader_config}e.init=ru(a||{}),e.loader_config=pu(c||{}),o.jsAttributes??={},s&&(o.jsAttributes.isWorker=!0),e.info=Hl(o);let d=e.init;e.runtime??=du(l),d.proxy.assets&&d.proxy.assets,e.runtime.configured||(Object.defineProperty(e,"beacons",{get(){return[e.info.beacon,e.info.errorBeacon,e.init.proxy.assets,e.init.proxy.beacon].filter(Boolean)}}),Object.defineProperty(e.runtime,"denyList",{get(){return[...e.init.ajax.deny_list||[],...e.init.ajax.block_internal?e.beacons:[]]}}),e.runtime.ptid=e.agentIdentifier,Rl(e),e.runtime.loaderType=n,e.ee=p.get(e.agentIdentifier),e.exposed=u,r({drained:!!e.runtime.activatedFeatures,type:`lifecycle`,name:`initialize`,feature:void 0,data:e.config}),e.runtime.configured=!0)}function hu(e){switch(e){case f.ajax:return[f.jserrors];case f.sessionTrace:return[f.ajax,f.pageViewEvent];case f.sessionReplay:return[f.sessionTrace];case f.pageViewTiming:return[f.pageViewEvent];default:return[]}}function K(e,t,n,i){let a=i||n;!a||a[e]&&a[e]!==Fl.prototype[e]||(a[e]=function(){v(d,[`API/`+e+`/called`],void 0,f.metrics,n.ee),r({drained:!!n.runtime?.activatedFeatures,type:`data`,name:`api`,feature:G+e,data:{}});try{return t.apply(this,arguments)}catch(e){c(23,e)}})}function gu(e,t,n,r,i){let a=e.info;n===null?delete a.jsAttributes[t]:a.jsAttributes[t]=n,(i||n===null)&&v(G+r,[l(),t,n],void 0,`session`,e.ee)}function _u(e){K(Ol,function(t,n){typeof t==`string`&&(t.charAt(0)!==`/`&&(t=`/`+t),e.runtime.customTransaction=(n||`http://custom.transaction`)+t,v(G+Ol,[l()],void 0,void 0,e.ee))},e)}function vu(e,t){if(!e)return;let n={staged:!1,priority:de[t]||0};
16e.runtime.drainRegistry.get(t)||e.runtime.drainRegistry.set(t,n)}function yu(e,t){if(!e)return;let n=e.runtime.drainRegistry;n&&(n.get(t)&&n.delete(t),Su(e,t,!1),n.size&&xu(e))}function bu(e,t=`feature`,n=!1){if(e){if(!e.runtime.drainRegistry.get(t)||n)return Su(e,t);e.runtime.drainRegistry.get(t).staged=!0,xu(e)}}function xu(e){if(!e)return;let t=Array.from(e.runtime.drainRegistry);t.every(([e,t])=>t.staged)&&(t.sort((e,t)=>e[1].priority-t[1].priority),t.forEach(([t])=>{e.runtime.drainRegistry.delete(t),Su(e,t)}))}function Su(e,t,n=!0){if(!e)return;let i=e.ee,a=ae.handlers;if(!(!i||i.aborted||!i.backlog||!a)){if(r({type:`lifecycle`,name:`drain`,feature:t}),n){let e=i.backlog[t],n=a[t];if(n){for(let t=0;e&&t<e.length;++t)Cu(e[t],n);Object.entries(n).forEach(([e,t])=>{Object.values(t||{}).forEach(t=>{t[0]?.on&&t[0].context()instanceof ue&&!t[0].listeners(e).includes(t[1])&&t[0].on(e,t[1])})})}}i.isolatedBacklog||delete a[t],i.backlog[t]=null,i.emit(`drain-`+t,[])}}function Cu(e,t){var n=e[1];Object.values(t[n]||{}).forEach(t=>{var n=e[0];if(t[0]===n){var r=t[1],i=e[3],a=e[2];r.apply(i,a)}})}var wu=class{constructor(e,t){this.agentRef=e,this.ee=e?.ee,this.featureName=t,this.blocked=!1}deregisterDrain(){yu(this.agentRef,this.featureName)}};function q(e,t){return{capture:e,passive:!1,signal:t}}function J(e,t,n=!1,r){window.addEventListener(e,t,q(n,r))}function Tu(e,t,n=!1,r){document.addEventListener(e,t,q(n,r))}function Eu(e,t=500,n={}){let r=n?.leading||!1,i;return(...n)=>{r&&i===void 0&&(e.apply(this,n),i=setTimeout(()=>{i=clearTimeout(i)},t)),r||(clearTimeout(i),i=setTimeout(()=>{e.apply(this,n)},t))}}function Y(e){let t=!1;return(...n)=>{t||(t=!0,e.apply(this,n))}}function Du(){return typeof document>`u`||document.readyState===`complete`}function Ou(e,t){if(Du())return e();let n=Y(e),r=setInterval(()=>{Du()&&(clearInterval(r),n())},500);J(`load`,n,t)}function ku(e){if(Du())return e();Tu(`DOMContentLoaded`,e)}function Au(e){if(Du())return e();J(`popstate`,e)}var ju=e=>i&&e?.privacy.cookies_enabled===!0;function Mu(e){return!!_().o.MO&&ju(e)&&e?.session_trace.enabled===!0}function Nu(e){return e?.session_replay.preload===!0&&Mu(e)}function Pu(e,t){try{if(typeof t?.type==`string`){if(t.type.toLowerCase()===`password`)return`*`.repeat(e?.length||0);if(t?.dataset?.nrUnmask!==void 0||t?.classList?.contains(`nr-unmask`))return e}}catch{}return typeof e==`string`?e.replace(/[\S]/g,`*`):`*`.repeat(e?.length||0)}var Fu=16e3,Iu=1e6,Lu=`SESSION_ERROR`,Ru={[f.logging]:!0,[f.genericEvents]:!0,[f.jserrors]:!0,[f.ajax]:!0},zu=(function(){let e=typeof document<`u`&&document.createElement(`link`).relList;return e&&e.supports&&e.supports(`modulepreload`)?`modulepreload`:`preload`})(),Bu=function(e){return`/`+e},Vu={},X=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Bu(t,n),t=s(t),t in Vu)return;Vu[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:zu,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Hu=new WeakSet,Z=class extends wu{constructor(e,t){super(e,t),this.abortHandler=void 0,this.featAggregate=void 0,this.loadedSuccessfully=void 0,this.onAggregateImported=new Promise(e=>{this.loadedSuccessfully=e}
16),this.deferred=Promise.resolve(),e.init[this.featureName].autoStart===!1?this.deferred=new Promise((t,n)=>{this.ee.on(`manual-start-all`,Y(()=>{vu(e,this.featureName),t()}))}):vu(e,t)}importAggregator(e,t,n={}){if(this.featAggregate)return;let r=async()=>{if(await this.deferred,this.#t(e),!Vl(e.info)){c(43),e.ee.abort(),this.loadedSuccessfully(!1);return}let r;try{if(ju(e.init)){let{setupAgentSession:t}=await X(async()=>{let{setupAgentSession:e}=await import(`./agent-session.CpunoM7H.js`);return{setupAgentSession:e}},__vite__mapDeps([0,1,2,3]));r=t(e)}}catch(e){c(20,e),this.ee.emit(`internal-error`,[e]),v(Lu,[e],void 0,this.featureName,this.ee)}try{if(!this.#e(this.featureName,r,e.init)){bu(this.agentRef,this.featureName),this.loadedSuccessfully(!1);return}let{Aggregate:i}=await t();this.featAggregate=new i(e,n),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){c(34,e),this.abortHandler?.(),bu(this.agentRef,this.featureName,!0),this.loadedSuccessfully(!1),this.ee&&this.ee.abort()}};i?Ou(()=>r(),!0):r()}#e(e,t,n){if(this.blocked)return!1;switch(e){case f.sessionReplay:return Mu(n)&&!!t;case f.sessionTrace:return!!t;default:return!0}}#t(e){if(!Hu.has(e)&&(Hu.add(e),!Vl(e.info))){let t=oe(),n={...t.info?.jsAttributes};try{n={...n,...e.info?.jsAttributes}}catch{}mu(e,{...t,info:{...t.info,jsAttributes:n},runtime:e.runtime},e.runtime.loaderType)}}},Uu=f.pageViewEvent,Wu=class extends Z{static featureName=Uu;constructor(e){super(e,Uu),this.setupInspectionEvents(),_u(e),this.importAggregator(e,()=>X(()=>import(`./aggregate.BwDzHicL.js`),__vite__mapDeps([4,1,5,6,7,8])))}setupInspectionEvents(){let e=(e,t)=>{e&&r({timeStamp:e.timeStamp,loaded:e.target.readyState===`complete`,type:`window`,name:t,data:e.target.location+``})};ku(t=>{e(t,`DOMContentLoaded`)}),Ou(t=>{e(t,`load`)}),Au(t=>{e(t,`navigate`)}),this.ee.on(fe.UPDATE,(e,t)=>{r({type:`lifecycle`,name:`session`,data:t})})}};function Gu(e){K(El,function(t,n,r=!1){if(typeof t!=`string`){c(39,typeof t);return}if(!([`string`,`number`,`boolean`].includes(typeof n)||n===null)){c(40,typeof n);return}return gu(e,t,n,El,r)},e)}function Ku(e){K(kl,function(t,n=!1){if(typeof t!=`string`&&t!==null){c(41,typeof t);return}let r=e.info.jsAttributes[`enduser.id`];n&&r!=null&&r!==t?v(G+`setUserIdAndResetSession`,[t],void 0,`session`,e.ee):gu(e,`enduser.id`,t,kl,!0)},e)}function qu(e){K(wl,function(t){if(typeof t!=`string`&&t!==null){c(42,typeof t);return}return gu(e,`application.version`,t,wl,!1)},e)}function Ju(e){K(Al,function(){e.ee.emit(`manual-start-all`)},e)}function Yu(e){K(Nl,function(t=!0){if(typeof t!=`boolean`){c(65,typeof t);return}if(v(G+Nl,[t],void 0,`session`,e.ee),e.runtime.consented=t,t){let t=e.features.page_view_event;t.onAggregateImported.then(e=>{let n=t.featAggregate;e&&!n.sentRum&&n.sendRum()})}},e)}var Xu=class extends Fl{constructor(e){if(super(),!a){c(21);return}this.features={},g(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(Wu),mu(this,e,e.loaderType||`agent`),Gu(this),Ku(this),qu(this),Ju(this),Yu(this),this.run()}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{let e=Ll(this.init),t=[...this.desiredFeatures];t.sort((e,t)=>de[e.featureName]-de[t.featureName]),t.forEach(t=>{if(!e[t.featureName]&&t.featureName!==f.pageViewEvent)return;let n=hu(t.featureName).filter(e=>!(e in this.features));n.length>0&&c(36,{targetFeature:t.featureName,missingDependencies:n}),this.features[t.featureName]=new t(this)})}catch(e){c(22,e);for(let e in this.features)this.features[e].abortHandler?.();let t=ie();return delete t.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator,t.ee.get(this.agentIdentifier).abort(),!1}}};function Zu(e,t=!1,n,r){Tu(`visibilitychange`,i,n,r);function i(){if(t){document.visibilityState===`hidden`&&e();return}e(document.visibilityState)}}function Qu(e,t,n){J(`pagehide`,e,t,n)}var $u=f.pageViewTiming,ed=class extends Z{static featureName=$u;constructor(e){super(e,$u),i&&(Zu(()=>v(`docHidden`,[l()],void 0,$u,this.ee),!0),Qu(()=>v(`winPagehide`,[l()],void 0,$u,this.ee)),this.importAggregator(e,()=>X(()=>import(`./aggregate.BbFE1-D2.js`),__vite__mapDeps([9,1,5,6,10,8,11,12]))))}},td=class extends Z{static featureName=ee;constructor(e){super(e,ee),this.importAggregator(e,()=>X(()=>import(`./aggregate.D-uLKwXY.js`),__vite__mapDeps([13,1,5,6,14])))}},nd=f.jserrors,rd=class{constructor(e,t,n,r,i){this.name=`UncaughtError`,this.message=typeof e==`string`?e:le(e),this.sourceURL=t,this.line=n,this.column=r,this.__newrelic=i}};function id(e){return sd(e)?e:new rd(e?.message===void 0?e:e.message,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic,e?.cause)}function ad(e){let t=`Unhandled Promise Rejection: `;if(!e?.reason)return;if(sd(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.message=t+e.reason.message)}catch{}return id(e.reason)}let n=id(e.reason);return(n.message||``).startsWith(t)||(n.message=t+n.message),n}function od(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){let t=new rd(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic,e.cause);return t.name=SyntaxError.name,t}return sd(e.error)?e.error:id(e)}function sd(e){return e instanceof Error&&!!e.stack}function cd(e){K(yl,(t,n)=>ld(t,n,e),e)}function ld(e,t,n,r,i=l()){typeof e==`string`&&(e=Error(e)),v(`err`,[e,i,!1,t,n.runtime.isRecording,void 0,r],void 0,f.jserrors,n.ee),v(`uaErr`,[],void 0,f.genericEvents,n.ee)}function ud(e){K(Dl,function(t){e.runtime.onerror=t},e)}function dd(e){let t=0;K(gl,function(e,n){++t>10||(this.runtime.releaseIds[e.slice(-200)]=(``+n).slice(-200))},e)}var fd=/([^?#]*)[^#]*(#[^?]*|$).*/,pd=/([^?#]*)().*/;function Q(e,t){return e&&e.replace(t?fd:pd,`$1$2`)}
16var md=/function (.+?)\s*\(/,hd=/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,gd=/^\s*at Function code \(Function code:\d+:\d+\)\s*/i,_d=/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i,vd=/^\s*(?:([^@]*)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,yd=class{dom=new bd;performance=new bd;constructor(e){this.url=e}get script(){let e=Math.max(this.dom.start,this.performance.end);return{start:e,end:Math.max(this.dom.end,this.performance.end,e)}}},bd=class{start=0;end=0;value=void 0},xd;try{xd=Dd(Od())[0]}catch(e){xd=Dd(e)[0]}var Sd=e=>e.initiatorType===`script`||[`link`,`fetch`].includes(e.initiatorType)&&e.name.endsWith(`.js`),Cd=new Map,wd=[];function Td(e){return Cd.get(e)}function Ed(e){let t=Td(e);if(t)return t;let n=new yd(e);if(Cd.set(e,n),Cd.size>1e3){let e=Cd.keys().next().value;Cd.delete(e)}return n}a.MutationObserver&&a.document&&new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{if(e.nodeName===`SCRIPT`&&e.src){let t=Ed(Q(e.src));t.dom.start=l(),t.dom.value=e;let n=()=>{t.dom.end=l()};[`load`,`error`].forEach(t=>e.addEventListener(t,n,{once:!0}))}})})}).observe(a.document,{childList:!0,subtree:!0}),a.PerformanceObserver?.supportedEntryTypes.includes(`resource`)&&new PerformanceObserver(e=>{e.getEntries().filter(Sd).forEach(e=>{let t=Ed(Q(e.name));t.performance.start=Math.floor(e.startTime),t.performance.end=Math.floor(e.responseEnd),t.performance.value=e;let n=[];wd.forEach(({test:t,addedAt:r},i)=>{(t(e)||l()-r>1e4)&&n.push(i)}),wd=wd.filter((e,t)=>!n.includes(t))})}).observe({type:`resource`,buffered:!0});function Dd(e){if(!e||typeof e!=`string`)return[];let t=new Set,n=e.split(`
17`);for(let e of n){let n=e.match(vd)||e.match(_d)||e.match(hd);if(n&&n[2])t.add(Q(n[2]));else{let n=e.match(/\(([^)]+\.js):\d+:\d+\)/)||e.match(/^\s+at\s+([^\s(]+\.js):\d+:\d+/);n&&n[1]&&t.add(Q(n[1]))}}return[...t]}function Od(){let e;try{let t=Error.stackTraceLimit;Error.stackTraceLimit=50,e=Error().stack,Error.stackTraceLimit=t}catch{e=Error().stack}return e}function kd(e){if(!e||!a.document)return!1;try{let t=a.document.querySelectorAll(`link[rel="preload"][as="script"]`);for(let n of t)if(Q(n.href)===e)return!0}catch{}return!1}function Ad(e,t){return Q(e.name)===t}function jd(e,t){e.fetchStart=Math.floor(t.startTime),e.fetchEnd=Math.floor(t.responseEnd),e.asset=t.name,e.type=t.initiatorType}function Md(){let e={registeredAt:l(),reportedAt:void 0,fetchStart:0,fetchEnd:0,scriptStart:0,scriptEnd:0,asset:void 0,type:`unknown`},t=Od();if(!t)return e;let n=a.performance?.getEntriesByType(`navigation`)?.[0]?.name||``;try{let r=Dd(t),i=(r.length>1?r.filter(e=>xd!==e):r)[0];if(!i)return e;if(n.includes(i))return e.asset=Q(n),e.type=`inline`,e;e.correlation=Td(i);let a=e.correlation?.performance.value||performance.getEntriesByType(`resource`).find(e=>Ad(e,i));a?jd(e,a):kd(i)&&(e.asset=i,e.type=`preload`,wd.push({addedAt:l(),test:t=>Ad(t,i)?(jd(e,t),!0):!1})),Object.defineProperty(e,"scriptStart",{get:()=>e.correlation?.script.start||e.fetchEnd}),Object.defineProperty(e,"scriptEnd",{get:()=>e.correlation?.script.end||e.registeredAt})}catch{}return e}var Nd={MFE:`MFE`,BA:`BA`};function Pd(e,t){return!e||!t?.init.api.register.enabled?[]:t.runtime.registeredEntities?.filter(t=>String(t.metadata.target.id)===String(e)).map(e=>e.metadata.target)||[]}function Fd(e,t){return!e||!t?.init.api.register.enabled?[]:t.runtime.registeredEntities?.filter(t=>t.metadata.timings?.asset?.endsWith(e)).map(e=>e.metadata.target)||[]}function Id(e,t){if(!Bd(t))return{};let n=t.agentRef.runtime.appMetadata.agents[0].entityGuid;return e?e.attributes:{"entity.guid":n,appId:t.agentRef.info.applicationID}}function Ld(e,t){return Rd(e,t)?{"child.id":e.id,"child.type":e.type,...Id(void 0,t)}:{}}function Rd(e,t){return!!e&&!!Bd(t)&&t.agentRef.init.api.register.duplicate_data_to_container}function zd(e){if(!e?.init.api.register.enabled)return[void 0];let t=[];try{var n=Dd(Od());let r=n.length-1;for(;n[r];)t.push(...Fd(n[r--],e))}catch{}return t.length||t.push(void 0),t}function Bd(e){return e?.harvestEndpointVersion===2}var Vd={ERROR:`ERROR`,WARN:`WARN`,INFO:`INFO`,DEBUG:`DEBUG`,TRACE:`TRACE`},Hd={OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},Ud=f.logging;function Wd(e,t,n={}
17,r=Vd.INFO,i=!0,a,o=l()){v(d,[`API/logging/${r.toLowerCase()}/called`],void 0,f.metrics,e),v(`log`,[o,t,n,r,i,a],void 0,f.logging,e)}function Gd(e){return typeof e==`string`&&Object.values(Vd).some(t=>t===e.toUpperCase().trim())}function Kd(e){K(`log`,(t,n)=>qd(t,n,e),e)}function qd(e,{customAttributes:t={},level:n=Vd.INFO}={},r,i,a=l()){Wd(r.ee,e,t,n,!1,i,a)}function Jd(e){K(ml,(t,n)=>Yd(t,n,e),e)}function Yd(e,t,n,r,i=l()){v(G+ml,[i,e,t,r],void 0,f.genericEvents,n.ee)}function Xd(e){K(Ml,(t,n)=>Zd(t,n,e),e)}function Zd(e,t,n,r,i=l()){let{start:a,end:o,customAttributes:s}=t||{},u={customAttributes:s||{}};if(typeof u.customAttributes!=`object`||typeof e!=`string`||e.length===0){c(57);return}let d=(e,t)=>e==null?t:typeof e==`number`?e:e instanceof PerformanceMark?e.startTime:NaN;if(u.start=d(a,0),u.end=d(o,i),Number.isNaN(u.start)||Number.isNaN(u.end)){c(57);return}if(u.duration=u.end-u.start,u.duration<0){c(58);return}return v(G+Ml,[u,e,r],void 0,f.genericEvents,n.ee),u}function Qd(e){K(xl,(t,n)=>$d(t,n,e),e)}function $d(e,t={},n,r,i=l()){v(G+xl,[i,e,t,r],void 0,f.genericEvents,n.ee)}var ef=[`name`,`id`,`type`],tf=new Map([[Yd,`addPageAction`],[qd,`log`],[Zd,`measure`],[ld,`noticeError`],[$d,`recordCustomEvent`]]),nf={experimental:Y(()=>c(54,`newrelic.register`)),disabled:Y(()=>c(55)),invalidTarget:Y(e=>c(48,e)),deregistered:Y(()=>c(68))};function rf(e){K(Cl,function(t){return af(e,t)},e)}function af(e,t){nf.experimental(),t||={},t.instance=n(8),t.type=Nd.MFE,t.licenseKey||=e.info.licenseKey,t.blocked=!1,(typeof t.tags!=`object`||t.tags===null||Array.isArray(t.tags))&&(t.tags={}),t.parent??={get id(){return e.runtime.appMetadata.agents[0].entityGuid},type:Nd.BA};let r=Md(),i={};Object.prototype.hasOwnProperty.call(t,`attributes`)||Object.defineProperty(t,"attributes",{get(){return{...i,"source.id":t.id,"source.name":t.name,"source.type":t.type,"parent.type":t.parent?.type||Nd.BA,"parent.id":t.parent?.id}}}),Object.entries(t.tags).forEach(([e,t])=>{ef.includes(e)||(i[`source.${e}`]=t)});let a=()=>{},o=e.runtime.registeredEntities,s=e=>{t.blocked=!0,a=e};function u(e){return typeof e==`string`&&!!e.trim()&&e.trim().length<501}e.init.api.register.enabled||s(nf.disabled),(!u(t.id)||!u(t.name))&&s(()=>nf.invalidTarget(t));let p={addPageAction:(n,r={})=>_(Yd,[n,{...i,...r},e],t),deregister:()=>{h(),s(nf.deregistered)},log:(n,r={})=>_(qd,[n,{...r,customAttributes:{...i,...r.customAttributes||{}}},e],t),measure:(n,r={})=>_(Zd,[n,{...r,customAttributes:{...i,...r.customAttributes||{}}},e],t),noticeError:(n,r={})=>_(ld,[n,{...i,...r},e],t),recordCustomEvent:(n,r={})=>_($d,[n,{...i,...r},e],t),setApplicationVersion:e=>g(`application.version`,e),setCustomAttribute:(e,t)=>g(e,t),setUserId:e=>g(`enduser.id`,e),metadata:{get customAttributes(){return i},target:t,timings:r}},m=()=>(t.blocked&&a(),t.blocked);m()||(o.push(p),Qu(h));function h(){if(r.reportedAt)return;r.reportedAt=l();let e=r.fetchEnd-r.fetchStart,t=r.scriptEnd-r.scriptStart;p.recordCustomEvent(`MicroFrontEndTiming`,{assetUrl:r.asset,assetType:r.type,timeAlive:r.reportedAt-r.registeredAt,timeToBeRequested:r.fetchStart,timeToExecute:t,timeToFetch:e,timeToLoad:e+t,t
17imeToRegister:r.registeredAt})}let g=(e,t)=>{m()||(i[e]=t)},_=(t,n,r)=>{if(m()&&t!==af)return;let i=l(),a=tf.get(t)||`unknown`;v(d,[`API/register/${a}/called`],void 0,f.metrics,e.ee);try{return t(...n,r,i)}catch(e){c(50,e)}};return p}var of=class extends Z{static featureName=nd;constructor(e){super(e,nd),cd(e),ud(e),dd(e),rf(e);try{this.removeOnAbort=new AbortController}catch{}this.ee.on(`internal-error`,(t,n)=>{this.abortHandler&&v(`ierr`,[id(t),l(),!0,{},e.runtime.isRecording,n],void 0,this.featureName,this.ee)}),a.addEventListener(`unhandledrejection`,t=>{this.abortHandler&&v(`err`,[ad(t),l(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording],void 0,this.featureName,this.ee)},q(!1,this.removeOnAbort?.signal)),a.addEventListener(`error`,t=>{this.abortHandler&&v(`err`,[od(t),l(),!1,{},e.runtime.isRecording],void 0,this.featureName,this.ee)},q(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#e,this.importAggregator(e,()=>X(()=>import(`./aggregate.dhTKsT2n.js`),__vite__mapDeps([15,1,5,6])))}#e(){this.removeOnAbort?.abort(),this.abortHandler=void 0}},sf=1,cf=`nr@id`;function lf(e){let t=typeof e;return!e||t!==`object`&&t!==`function`?-1:e===a?0:m(e,cf,function(){return sf++})}function uf(e){if(typeof e==`string`)return e.length;if(typeof e==`object`){if(typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if(typeof Blob<`u`&&e instanceof Blob&&e.size)return e.size;if(!(typeof FormData<`u`&&e instanceof FormData))try{return le(e).length}catch{return}}}var df=`nr@original:${re}`,ff=50,pf=Object.prototype.hasOwnProperty,mf=!1;function hf(e,t,n){return e||=p,r.inPlace=i,r.flag=df,r;function r(t,r,i,o,s,c){if(vf(t))return t;return r||=``,l[df]=t,_f(t,l,e),l;function l(){var l,u,d,f;let p,m;try{u=this,l=[...arguments],m=c?zd(n):[void 0],d=typeof i==`function`?i(l,u):i||{}}catch(t){gf([t,``,[l,u,o],d],e)}a(r+`start`,[l,u,o,m],d,s);let h=performance.now(),g;try{return f=t.apply(u,l),g=performance.now(),f}catch(e){throw g=performance.now(),a(r+`err`,[l,u,e,m],d,s),p=e,p}finally{let e=g-h,t={start:h,end:g,duration:e,isLongTask:e>=ff,methodName:o,thrownError:p};t.isLongTask&&a(`long-task`,[t,u,m],d,s),a(r+`end`,[l,u,f,m],d,s)}}}function i(e,t,n,i,a,o){n||=``;let s=n.charAt(0)===`-`;for(let c=0;c<t.length;c++){let l=t[c],u=e[l];vf(u)||(e[l]=r(u,s?l+n:n,i,l,a,o))}}function a(n,r,i,a){if(!(mf&&!t)){var o=mf;mf=!0;try{e.emit(n,r,i,t,a)}catch(t){gf([t,n,r,i],e)}mf=o}}}function gf(e,t){t||=p;try{t.emit(`internal-error`,e)}catch{}}function _f(e,t,n){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach(function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){return e[n]=t,t}})}),t}catch(e){gf([e],n)}for(var r in e)pf.call(e,r)&&(t[r]=e[r]);return t}function vf(e){return!(e&&typeof e==`function`&&e.apply&&!e[df])}var yf={},bf=a.XMLHttpRequest,xf=`addEventListener`,Sf=`removeEventListener`,Cf=`nr@wrapped:${ce}`;function wf(e){var t=Ef(e);if(yf[t.debugId]++)return t;yf[t.debugId]=1;var n=hf(t,!0);`getPrototypeOf`in Object&&(i&&Tf(document,r),bf&&Tf(bf.prototype,r),Tf(a,r)),t.on(`addEventListener-start`,function(e,t){var r=e[1];if(!(r===null||typeof r!=`function`&&typeof r!=`object`||e[0]===`newrelic`)){var i=m(r,Cf,function(){var e={object:t,function:r}[typeof r];return e?n(e,`fn-`,null,e.name||`anonymous`):r;function t(){if(typeof r.handleEvent==`function`)return r.handleEvent.apply(r,arguments)}});this.wrapped=e[1]=i}}),t.on(`removeEventListener-start`,function(e){e[1]=this.wrapped||e[1]});function r(e){n.inPlace(e,[xf,Sf],`-`,o)}function o(e,t){return e[1]}return t}function Tf(e,t,...n){let r=e;for(;typeof r==`object`&&!Object.prototype.hasOwnProperty.call(r,xf);)r=Object.getPrototypeOf(r);r&&t(r,...n)}function Ef(e){return(e||p).get(`events`)}var Df={},Of=[`open`,`send`,`setRequestHeader`];function kf(e,t){var n=e||p;let r=Af(n);if(a.XMLHttpRequest===void 0||Df[r.debugId]++)return r;Df[r.debugId]=1,wf(n);var i=hf(r),o=a.XMLHttpRequest,s=a.MutationObserver,l=a.Promise,u=a.setInterval,d=`readystatechange`,f=[`onload`,`onerror`,`onabort`,`onloadstart`,`onloadend`,`onprogress`,`ontimeout`],m=[],h=a.XMLHttpRequest=g;function g(e){let n=new o(e),i=r.context(n);i.targets=zd(t);try{r.emit(`new-xhr`,[n],i),n.addEventListener(d,ee(i),q(!1))}catch(e){c(15,e);try{r.emit(`internal-error`,[e])}catch{}}return n}oe(o,h),h.prototype=o.prototype,i.inPlace(h.prototype,Of,`-xhr-`,v),r.on(`send-xhr-start`,function(e,t){_(e,t),ie(t)}),r.on(`open-xhr-start`,_);function _(e,t){i.inPlace(t,[`onreadystatechange`],`fn-`,v)}function ee(e){return function(){var t=this;t.readyState>3&&!e.resolved&&(e.resolved=!0,r.emit(`xhr-resolved`,[],t)),i.inPlace(t,f,`fn-`,v)}}if(s){var te=l&&l.resolve();if(!u&&!l){var ne=1,re=document.createTextNode(ne);
17new s(ae).observe(re,{characterData:!0})}}else n.on(`fn-end`,function(e){e[0]&&e[0].type===d||ae()});function ie(e){m.push(e),s&&(te?te.then(ae):u?u(ae):(ne=-ne,re.data=ne))}function ae(){for(var e=0;e<m.length;e++)_([],m[e]);m.length&&(m=[])}function v(e,t){return t}function oe(e,t){for(var n in e)t[n]=e[n];return t}return r}function Af(e){return(e||p).get(`xhr`)}var jf=`fetch-`,Mf=jf+`body-`,Nf=[`arrayBuffer`,`blob`,`json`,`text`,`formData`],Pf=a.Request,Ff=a.Response,If=`prototype`,Lf={};function Rf(e,t){let n=zf(e);if(!(Pf&&Ff&&a.fetch)||Lf[n.debugId]++)return n;Lf[n.debugId]=1,Nf.forEach(e=>{r(Pf[If],e,Mf),r(Ff[If],e,Mf)}),r(a,`fetch`,jf),n.on(jf+`end`,function(e,t,r){var i=this;if(i.targets=r||[void 0],t){var a=t.headers.get(`content-length`);a!==null&&(i.rxSize=a),n.emit(jf+`done`,[null,t],i)}else n.emit(jf+`done`,[e],i)});function r(e,r,i){var a=e[r];typeof a==`function`&&(e[r]=function(){var e=[...arguments];let r={},o=zd(t);n.emit(i+`before-start`,[e],r);var s;r[ce]&&r[ce].dt&&(s=r[ce].dt);var c=a.apply(this,e);return n.emit(i+`start`,[e,s],c),c.then(function(e){return n.emit(i+`end`,[null,e,o],c),e},function(e){throw n.emit(i+`end`,[e,void 0,o],c),e})})}return n}function zf(e){return(e||p).get(`fetch`)}function Bf(e){if((e||``).indexOf(`data:`)===0)return{protocol:`data`};try{let t=new URL(e,location.href),n={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(`:`)),sameOrigin:t.protocol===a?.location?.protocol&&t.host===a?.location?.host};return(!n.port||n.port===``)&&(t.protocol===`http:`&&(n.port=`80`),t.protocol===`https:`&&(n.port=`443`)),!n.pathname||n.pathname===``?n.pathname=`/`:n.pathname.startsWith(`/`)||(n.pathname=`/${n.pathname}`),n}catch{return{}}}var Vf=class{constructor(e){this.agentRef=e}generateTracePayload(e){let t=this.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var n=(t.accountID||``).toString()||null,r=(t.agentID||``).toString()||null,i=(t.trustKey||``).toString()||null;if(!n||!r)return null;var a=o(),s=ne(),c=Date.now(),l={spanId:a,traceId:s,timestamp:c};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(l.traceContextParentHeader=this.generateTraceContextParentHeader(a,s),l.traceContextStateHeader=this.generateTraceContextStateHeader(a,c,n,r,i)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(l.newrelicHeader=this.generateTraceHeader(a,s,c,n,r,i)),l}generateTraceContextParentHeader(e,t){return`00-`+t+`-`+e+`-01`}generateTraceContextStateHeader(e,t,n,r,i){return i+`@nr=0-1-`+n+`-`+r+`-`+e+`----`+t}generateTraceHeader(e,t,n,r,i,o){if(typeof a?.btoa!=`function`)return null;var s={v:[0,1],d:{ty:`Browser`,ac:r,ap:i,id:e,tr:t,ti:n}};return o&&r!==o&&(s.d.tk=o),btoa(le(s))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing?.enabled&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1;let n=this.agentRef.init?.distributed_tracing;if(e.sameOrigin)t=!0;else if(n?.allowed_origins instanceof Array)for(var r=0;r<n.allowed_origins.length;r++){var i=Bf(n.allowed_origins[r]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}excludeNewrelicHeader(){var e=this.agentRef.init?.distributed_tracing;return e?!!e.exclude_newrelic_header:!1}useNewrelicHeaderForCors(){var e=this.agentRef.init?.distributed_tracing;return e?e.cors_use_newrelic_header!==!1:!1}useTraceContextHeadersForCors(){var e=this.agentRef.init?.distributed_tracing;return e?!!e.cors_use_tracecontext_headers:!1}};function Hf(e,t){var n=e.responseType;if(n===`json`&&t!==null)return t;if(n===`arraybuffer`||n===`blob`||n===`json`)return uf(e.response);if(n===`text`||n===``||n===void 0)return uf(e.responseText)}var $=[];function Uf(e){if(!e||Wf(e))return!1;if($.length===0)return!0;if($[0].hostname===`*`)return!1;for(var t=0;t<$.length;t++){var n=$[t];if(n.hostname.test(e.hostname)&&n.pathname.test(e.pathname))return!1}return!0}function Wf(e){return e.hostname===void 0}function Gf(e){if($=[],!(!e||!e.length))for(var t=0;t<e.length;t++){let n=e[t];if(!n)continue;
17if(n===`*`){$=[{hostname:`*`}];return}n.indexOf(`http://`)===0?n=n.substring(7):n.indexOf(`https://`)===0&&(n=n.substring(8));let r=n.indexOf(`/`),i,a;r>0?(i=n.substring(0,r),a=n.substring(r)):(i=n,a=`*`);let[o]=i.split(`:`);$.push({hostname:Kf(o),pathname:Kf(a,!0)})}}function Kf(e,t=!1){let n=e.replace(/[.+?^${}()|[\]\\]/g,e=>`\\`+e).replace(/\*/g,`.*?`);return RegExp((t?`^`:``)+n+`$`)}function qf(e){if(typeof e==`string`)return e;if(e instanceof _().o.REQ)return e.url;if(a?.URL&&e instanceof URL)return e.href}var Jf=[`load`,`error`,`abort`,`timeout`],Yf=Jf.length,Xf=_().o.REQ,Zf=_().o.XHR,Qf=`X-NewRelic-App-Data`,$f=`internal-error`,ep=class extends Z{static featureName=Zl;constructor(e){super(e,Zl),this.dt=new Vf(e),this.handler=(e,t,n,r)=>v(e,t,n,r,this.ee);try{let e={xmlhttprequest:`xhr`,fetch:`fetch`,beacon:`beacon`};a?.performance?.getEntriesByType(`resource`).forEach(t=>{if(t.initiatorType in e&&t.responseStatus!==0){let n={status:t.responseStatus},r={rxSize:t.transferSize,duration:Math.floor(t.duration),cbTime:0};np(n,t.name),this.handler(`xhr`,[n,r,t.startTime,t.responseEnd,e[t.initiatorType]],void 0,f.ajax)}})}catch{}Rf(this.ee,e),kf(this.ee,e),tp(e,this.ee,this.handler,this.dt),this.importAggregator(e,()=>X(()=>import(`./aggregate.BL18T3Hx.js`),__vite__mapDeps([16,1,5,6,10,17,18])))}};function tp(e,t,n,r){let o=[Ql.ALL,Ql.FAILURES].includes(e.init.ajax?.capture_payloads);t.on(`new-xhr`,s),t.on(`open-xhr-start`,c),t.on(`open-xhr-end`,u),t.on(`send-xhr-start`,p),t.on(`setRequestHeader-xhr-start`,d),t.on(`xhr-cb-time`,m),t.on(`xhr-load-added`,h),t.on(`xhr-load-removed`,g),t.on(`xhr-resolved`,_),t.on(`addEventListener-end`,ee),t.on(`removeEventListener-end`,ne),t.on(`fn-end`,ie),t.on(`fetch-before-start`,ae),t.on(`fetch-start`,oe),t.on(`fn-start`,re),t.on(`fetch-done`,se);function s(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=ce,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},t.latestLongtaskEnd=0,e.addEventListener(`load`,function(n){ue(t,e)},q(!1)),!te&&e.addEventListener(`progress`,function(e){t.lastSize=e.loaded},q(!1))}function c(e){this.params={method:e[0]},np(this,e[1]),this.metrics={}}function u(t,n){e.loader_config.xpid&&this.sameOrigin&&n.setRequestHeader(`X-NewRelic-ID`,e.loader_config.xpid);var i=r.generateTracePayload(this.parsedOrigin);if(i){var a=!1;i.newrelicHeader&&(n.setRequestHeader(`newrelic`,i.newrelicHeader),a=!0),i.traceContextParentHeader&&(n.setRequestHeader(`traceparent`,i.traceContextParentHeader),i.traceContextStateHeader&&n.setRequestHeader(`tracestate`,i.traceContextStateHeader),a=!0),a&&(this.dt=i)}}function d(e,t){o&&e.length>=2&&(this.requestHeaders??={},this.requestHeaders[e[0].toLowerCase()]=e[1])}function p(e,n){var r=this.metrics,i=e[0],a=this;if(r&&i){var o=uf(i);o&&(r.txSize=o)}this.startTime=l(),this.requestBody=i,this.listener=function(e){try{e.type===`abort`&&!a.loadCaptureCalled&&(a.params.aborted=!0),(e.type!==`load`||a.called===a.totalCbs&&(a.onloadCalled||typeof n.onload!=`function`)&&typeof a.end==`function`)&&a.end(n)}catch(e){try{t.emit($f,[e])}catch{}}};for(var s=0;s<Yf;s++)n.addEventListener(Jf[s],this.listener,q(!1))}function m(e,t,n){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called===this.totalCbs&&(this.onloadCalled||typeof n.onload!=`function`)&&typeof this.end==`function`&&this.end(n)}function h(e,t){var n=``+lf(e)+!!t;!this.xhrGuids||this.xhrGuids[n]||(this.xhrGuids[n]=!0,this.totalCbs+=1)}function g(e,t){var n=``+lf(e)+!!t;!this.xhrGuids||!this.xhrGuids[n]||(delete this.xhrGuids[n],--this.totalCbs)}function _(){this.endTime=l()}function ee(e,n){n instanceof Zf&&e[0]===`load`&&t.emit(`xhr-load-added`,[e[1],e[2]],n)}function ne(e,n){n instanceof Zf&&e[0]===`load`&&t.emit(`xhr-load-removed`,[e[1],e[2]],n)}function re(e,t,n){t instanceof Zf&&(n===`onload`&&(this.onload=!0),((e[0]&&e[0].type)===`load`||this.onload)&&(this.xhrCbStart=l()))}function ie(e,n){this.xhrCbStart&&t.emit(`xhr-cb-time`,[l()-this.xhrCbStart,this.onload,n],n)}function ae(e){var t=e[1]||{},n;
17if(typeof e[0]==`string`?(n=e[0],n.length===0&&i&&(n=``+a.location.href)):e[0]&&e[0].url?n=e[0].url:a?.URL&&e[0]&&e[0]instanceof URL?n=e[0].href:typeof e[0].toString==`function`&&(n=e[0].toString()),typeof n!=`string`||n.length===0)return;n&&(this.parsedOrigin=Bf(n),this.sameOrigin=this.parsedOrigin.sameOrigin);var o=r.generateTracePayload(this.parsedOrigin);if(!o||!o.newrelicHeader&&!o.traceContextParentHeader)return;if(e[0]&&e[0].headers)l(e[0].headers,o)&&(this.dt=o);else{var s={};for(var c in t)s[c]=t[c];s.headers=new Headers(t.headers||{}),l(s.headers,o)&&(this.dt=o),e.length>1?e[1]=s:e.push(s)}function l(e,t){var n=!1;return t.newrelicHeader&&(e.set(`newrelic`,t.newrelicHeader),n=!0),t.traceContextParentHeader&&(e.set(`traceparent`,t.traceContextParentHeader),t.traceContextStateHeader&&e.set(`tracestate`,t.traceContextStateHeader),n=!0),n}}function oe(e,t){this.params={},this.metrics={},this.startTime=l(),this.dt=t;let[n,r={}]=e;np(this,qf(n));let i=(``+(n&&n instanceof Xf&&n.method||r.method||`GET`)).toUpperCase();this.params.method=i,this.txSize=uf(r.body||n?.body)||0;try{var a=r.headers||n?.headers;if(o&&a){if(this.requestHeaders??={},a instanceof Headers)a.forEach(function(e,t){this.requestHeaders[t.toLowerCase()]=e}.bind(this));else if(typeof a==`object`)for(var s in a)this.requestHeaders[s.toLowerCase()]=a[s]}}catch{}this.requestBody=r.body||n?.body}function se(e,n){if(this.endTime=l(),this.params||={},Wf(this.params))return;this.params.status=n?n.status:0;let r=()=>{let e=+this.rxSize,t=this.rxSize!=null&&!isNaN(e)?e:void 0,n={txSize:this.txSize,rxSize:t,duration:this.endTime-this.startTime},r=[this.params,n,this.startTime,this.endTime,`fetch`];this.targets.forEach(e=>le(r,this,e))};if(!n||!o){r();return}n.clone().text().then(e=>{this.responseBody=e,(!this.rxSize||this.rxSize===`0`||this.rxSize===0)&&e!==void 0&&this.params.status!==0&&(this.rxSize=uf(e)),n?.headers&&(this.responseHeaders={},n.headers.forEach(function(e,t){this.responseHeaders[t.toLowerCase()]=e}.bind(this)))}).catch(e=>{t.emit($f,[e])}).finally(()=>{r()})}function ce(e){let n=this.params,r=this.metrics;if(this.ended)return;this.ended=!0;for(let t=0;t<Yf;t++)e.removeEventListener(Jf[t],this.listener,!1);if(n.aborted||Wf(n))return;if(r.duration=this.endTime-this.startTime,!this.loadCaptureCalled&&e.readyState===4?ue(this,e):n.status??=0,r.cbTime=this.cbTime,o){try{this.responseBody=e.responseText}catch{this.responseBody=e.response}if((!r.rxSize||r.rxSize===0)&&this.responseBody!==void 0&&n.status!==0){let e=uf(this.responseBody);e!==void 0&&(r.rxSize=e)}try{this.responseHeaders=rp(e.getAllResponseHeaders())}catch(e){t.emit($f,[e])}}let i=[n,r,this.startTime,this.endTime,`xhr`];this.targets.forEach(e=>le(i,this,e))}function le(e,t,r){n(`xhr`,[...e,r],t,f.ajax)}function ue(e,n){e.params.status=n.status;var r=Hf(n,e.lastSize);if(r!==void 0&&n.status!==0&&(e.metrics.rxSize=r),e.sameOrigin&&n.getAllResponseHeaders().indexOf(Qf)>=0){var i=n.getResponseHeader(Qf);i&&(v(`sm`,[`Ajax/CrossApplicationTracing/Header/Seen`],void 0,f.metrics,t),e.params.cat=i.split(`, `).pop())}e.loadCaptureCalled=!0}}function np(e,t){var n=Bf(t),r=e.params||e;r.hostname=n.hostname,r.port=n.port,r.protocol=n.protocol,r.host=n.hostname+`:`+n.port,r.pathname=n.pathname,e.parsedOrigin=n,e.sameOrigin=n.sameOrigin}function rp(e){let t={};return e&&e.split(`\r
18`).forEach(function(e){let n=e.indexOf(`: `);if(n>0){let r=e.substring(0,n),i=e.substring(n+2);t[r.toLowerCase()]=i}}),t}var ip={},ap=[`pushState`,`replaceState`];function op(e){let t=sp(e);return!i||ip[t.debugId]++?t:(ip[t.debugId]=1,hf(t).inPlace(window.history,ap,`-`),t)}function sp(e){return(e||p).get(`history`)}var cp=e({BST_RESOURCE:()=>up,END:()=>pp,ERROR_MODE_SECONDS_WINDOW:()=>vp,FEATURE_NAME:()=>lp,FN_END:()=>hp,FN_START:()=>mp,MAX_NODES_PER_HARVEST:()=>_p,PUSH_STATE:()=>gp,RESOURCE:()=>dp,START:()=>fp}),lp=f.sessionTrace,up=`bstResource`,dp=`resource`,fp=`-start`,pp=`-end`,mp=`fn-start`,hp=`fn-end`,gp=`pushState`,_p=1e3,vp=3e4;function yp(e){K(hl,function(n){if(!(n&&typeof n==`object`&&n.name&&n.start))return;let r={n:n.name,s:n.start-t,e:(n.end||n.start)-t,o:n.origin||``,t:`api`};if(r.s<0||r.e<0||r.e<r.s){c(61,{start:r.s,end:r.e});return}v(`bstApi`,[r],void 0,f.sessionTrace,e.ee)},e)}function bp(e){K(_l,function(n=Date.now()){let r=n-t;r<0&&c(62,n),v(se,[_l,{time:r}],void 0,f.metrics,e.ee),e.addToTrace({name:_l,start:n,origin:`nr`}),v(G+ml,[r,_l],void 0,f.genericEvents,e.ee)},e)}var{BST_RESOURCE:xp,RESOURCE:Sp,START:Cp,END:wp,FEATURE_NAME:Tp,FN_END:Ep,FN_START:Dp,PUSH_STATE:Op}=cp,kp=class extends Z{static featureName=Tp;constructor(e){if(super(e,Tp),yp(e),bp(e),!ju(e.init)){this.deregisterDrain();return}let t=this.ee;op(t),this.eventsEE=wf(t),this.eventsEE.on(Dp,function(e,t){this.bstStart=l()}),this.eventsEE.on(Ep,function(e,n){v(`bst`,[e[0],n,this.bstStart,l()],void 0,f.sessionTrace,t)}),t.on(Op+Cp,function(e){this.time=l(),this.startPath=location.pathname+location.hash}),t.on(Op+wp,function(e){v(`bstHist`,[location.pathname+location.hash,this.startPath,this.time],void 0,f.sessionTrace,t)});let n;try{n=new PerformanceObserver(e=>{let n=e.getEntries();v(xp,[n],void 0,f.sessionTrace,t)}),n.observe({type:Sp,buffered:!0})}catch{}this.importAggregator(e,()=>X(()=>import(`./aggregate.DgZJ3pCe.js`),__vite__mapDeps([19,1,2,5,6,11])),{resourceObserver:n})}};function Ap(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return(t>>>0).toString(16).padStart(8,`0`)}function jp(e,t){return Ap(`${String(e)}
18:${String(t)}`)}var Mp=f.sessionReplay,Np=`errorDuringReplay`,Pp=.12,Fp={DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},Ip={[y.ERROR]:15e3,[y.FULL]:3e5,[y.OFF]:0},Lp={RESET:{message:`Session was reset`,sm:`Reset`},IMPORT:{message:`Recorder failed to import`,sm:`Import`},TOO_MANY:{message:`429: Too Many Requests`,sm:`Too-Many`},TOO_BIG:{message:`Payload was too large`,sm:`Too-Big`},CROSS_TAB:{message:`Session Entity was set to OFF on another tab`,sm:`Cross-Tab`},ENTITLEMENTS:{message:`Session Replay is not allowed and will not be started`,sm:`Entitlement`}},Rp=5e3,zp={API:`api`,RESUME:`resume`,SWITCH_TO_FULL:`switchToFull`,INITIALIZE:`initialize`,PRELOAD:`preload`};function Bp(e){K(Sl,function(){v(Sl,[],void 0,f.sessionReplay,e.ee)},e)}function Vp(e){K(bl,function(){v(bl,[],void 0,f.sessionReplay,e.ee)},e)}var Hp=class extends Z{static featureName=Mp;#e;recorder;constructor(e){super(e,Mp),Bp(e),Vp(e);let t,n=`${me}${jp(e.info.licenseKey,e.info.applicationID)}`;try{t=JSON.parse(localStorage.getItem(n))}catch{}Mu(e.init)&&this.ee.on(Sl,()=>this.#n()),this.#t(t)&&this.importRecorder().then(e=>{e.startRecording(zp.PRELOAD,t?.sessionReplayMode)}),this.importAggregator(this.agentRef,()=>X(()=>import(`./aggregate.D-Nb1T2S.js`),__vite__mapDeps([20,1,2,5,6,21])),this),this.ee.on(`err`,e=>{this.blocked||this.agentRef.runtime.isRecording&&(this.errorNoticed=!0,v(Np,[e],void 0,this.featureName,this.ee))})}#t(e){return e&&(e.sessionReplayMode===y.FULL||e.sessionReplayMode===y.ERROR)||Nu(this.agentRef.init)}importRecorder(){return this.recorder?Promise.resolve(this.recorder):(this.#e??=X(async()=>{let{Recorder:e}=await import(`./recorder.B_jGcH7j.js`);return{Recorder:e}},__vite__mapDeps([22,1,2,6,21])).then(({Recorder:e})=>(this.recorder=new e(this),this.recorder)).catch(e=>{throw this.ee.emit(`internal-error`,[e]),this.blocked=!0,e}),this.#e)}#n(){this.blocked||(this.featAggregate?this.featAggregate.mode!==y.FULL&&this.featAggregate.initializeRecording(y.FULL,!0,zp.API):this.importRecorder().then(()=>{this.recorder.startRecording(zp.API,y.FULL)}))}},Up={},Wp=new Set;function Gp(e){if(!_().o.WS)return e;let t=e.get(`websockets`);if(Up[t.debugId]++)return t;Up[t.debugId]=1,Qu(()=>{let e=l();Wp.forEach(n=>{n.nrData.closedAt=e,n.nrData.closeCode=1001,n.nrData.closeReason=`Page navigating away`,n.nrData.closeWasClean=!1,n.nrData.openedAt&&(n.nrData.connectedDuration=e-n.nrData.openedAt),t.emit(`ws`,[n.nrData],n)})});class n extends WebSocket{static name=Ul.WS;static toString(){return`function WebSocket() { [native code] }`}toString(){return`[object WebSocket]`}get[Symbol.toStringTag](){return n.name}#e(e){(e.__newrelic??={}).socketId=this.nrData.socketId,this.nrData.hasErrors??=!0}constructor(...e){super(...e),this.nrData=new qp(e[0],e[1]),this.addEventListener(`open`,()=>{this.nrData.openedAt=l(),[`protocol`,`extensions`,`binaryType`].forEach(e=>{this.nrData[e]=this[e]}),Wp.add(this)}),this.addEventListener(`message`,e=>{let{type:t,size:n}=Kp(e.data);this.nrData.messageOrigin??=Q(e.origin),this.nrData.messageCount++,this.nrData.messageBytes+=n,this.nrData.messageBytesMin=Math.min(this.nrData.messageBytesMin||1/0,n),this.nrData.messageBytesMax=Math.max(this.nrData.messageBytesMax,n),(this.nrData.messageTypes??``).includes(t)||(this.nrData.messageTypes=this.nrData.messageTypes?`${this.nrData.messageTypes},${t}`:t)}),this.addEventListener(`close`,e=>{this.nrData.closedAt=l(),this.nrData.closeCode=e.code,e.reason&&(this.nrData.closeReason=e.reason),this.nrData.closeWasClean=e.wasClean,this.nrData.connectedDuration=this.nrData.closedAt-this.nrData.openedAt,Wp.delete(this),t.emit(`ws`,[this.nrData],this)})}addEventListener(e,t,...n){let r=this,i=typeof t==`function`?function(...e){try{return t.apply(this,e)}catch(e){throw r.#e(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw r.#e(e),e}}}:t;return super.addEventListener(e,i,...n)}send(e){if(this.readyState===WebSocket.OPEN){let{type:t,size:n}=Kp(e);this.nrData.sendCount++,this.nrData.sendBytes+=n,this.nrData.sendBytesMin=Math.min(this.nrData.sendBytesMin||1/0,n),this.nrData.sendBytesMax=Math.max(this.nrData.sendBytesMax,n),(this.nrData.sendTypes??``).includes(t)||(this.nrData.sendTypes=this.nrData.sendTypes?`${this.nrData.sendTypes},${t}`:t)}try{return super.send(e)}catch(e){throw this.#e(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#e(e),e}}}return a.WebSocket=n,t}function Kp(e){return typeof e==`string`?{type:`string`,size:new TextEncoder().encode(e).length}:e instanceof ArrayBuffer?{type:`ArrayBuffer`,size:e.byteLength}:e instanceof Blob?{type:`Blob`,size:e.size}:e instanceof DataView?{type:`DataView`,size:e.byteLength}:ArrayBuffer.isView(e)?{type:`TypedArray`,size:e.byteLength}:{type:`unknown`,size:0}}var qp=class{constructor(e,t){this.timestamp=l(),this.currentUrl=Q(window.location.href),this.socketId=n(8),this.requestedUrl=Q(e),this.requestedProtocols=Array.isArray(t)?t.join(`,`):t||``,this.openedAt=void 0,this.protocol=void 0,this.extensions=void 0,this.binaryType=void 0,this.messageOrigin=void 0,this.messageCount=0,this.messageBytes=0,this.messageBytesMin=0,this.messageBytesMax=0,this.messageTypes=void 0,this.sendCount=0,this.sendBytes=0,this.sendBytesMin=0,this.sendBytesMax=0,this.sendTypes=void 0,this.closedAt=void 0,this.closeCode=void 0,this.closeReason=`unknown`,this.closeWasClean=void 0,this.connectedDuration=0,this.hasErrors=void 0}},Jp=class extends Z{static featureName=Wl;constructor(e){super(e,Wl);let t=e.init.feature_flags.includes(`websockets`),n=!e.init.feature_flags.includes(`no_spv`),r=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.performance.resources.enabled,e.init.user_actions.enabled,t,n];Jd(e),Qd(e),bp(e),rf(e),Xd(e),this.removeOnAbort=new AbortController,this.abortHandler=()=>{this.removeOnAbort.abort(),this.abortHandler=void 0};let o;if(t&&Gp(this.ee).on(`ws`,e=>{v(`ws-complete`,[e],void 0,this.featureName,this.ee)}),n&&a.addEventListener(`securitypolicyviolation`,e=>{v(`spv`,[e],void 0,f.genericEvents,this.ee)},q(!1,this.removeOnAbort.signal)),i){if(Rf(this.ee,e),kf(this.ee,e),o=op(this.ee),e.init.user_actions.enabled){Gl.forEach(e
18=>J(e,e=>v(`ua`,[e],void 0,this.featureName,this.ee),!0)),Kl.forEach(e=>{J(e,Eu(e=>{v(`ua`,[e],void 0,this.featureName,this.ee)},500,{leading:!0}))}),a.addEventListener(`error`,()=>{v(`uaErr`,[],void 0,f.genericEvents,this.ee)},q(!1,this.removeOnAbort.signal)),this.ee.on(`open-xhr-start`,(e,n)=>{t(e[1])||n.addEventListener(`readystatechange`,()=>{n.readyState===2&&v(`uaXhr`,[],void 0,f.genericEvents,this.ee)},q(void 0,this.removeOnAbort.signal))}),this.ee.on(`fetch-start`,e=>{e.length>=1&&!t(qf(e[0]))&&v(`uaXhr`,[],void 0,f.genericEvents,this.ee)});function t(t){let n=Bf(t);return e.beacons.includes(n.hostname+`:`+n.port)}o.on(`pushState-end`,n),o.on(`replaceState-end`,n),window.addEventListener(`hashchange`,n,q(!0,this.removeOnAbort.signal)),window.addEventListener(`popstate`,n,q(!0,this.removeOnAbort.signal));function n(){o.emit(`navChange`)}}e.init.performance.resources.enabled&&a.PerformanceObserver?.supportedEntryTypes.includes(`resource`)&&new PerformanceObserver(e=>{e.getEntries().forEach(e=>{v(`browserPerformance.resource`,[e],void 0,this.featureName,this.ee)})}).observe({type:`resource`,buffered:!0})}r.some(e=>e)?this.importAggregator(e,()=>X(()=>import(`./aggregate.BQ5kfOPR.js`),__vite__mapDeps([23,1,5,6,17,3,14]))):this.deregisterDrain()}},Yp=new Map;function Xp(e,t,n,r,i=!0,a){if(!(typeof t==`object`&&t&&typeof n==`string`&&n&&typeof t[n]==`function`))return c(29);let o=Zp(e),s=hf(o,void 0,a),l=new ue(ce);l.level=r.level,l.customAttributes=r.customAttributes,l.autoCaptured=i;let u=t[n]?.[df]||t[n];return Yp.set(u,l),s.inPlace(t,[n],`wrap-logger-`,()=>Yp.get(u),void 0,!0),o}function Zp(e){return(e||p).get(`logger`)}function Qp(e){K(jl,(t,n,{customAttributes:r={},level:i=Vd.INFO}={})=>{Xp(e.ee,t,n,{customAttributes:r,level:i},!1,e)},e)}var $p=class extends Z{static featureName=Ud;constructor(e){super(e,Ud),Kd(e),Qp(e),rf(e);let t=this.ee;[`log`,`error`,`warn`,`info`,`debug`,`trace`].forEach(n=>{u(a.console[n]),Xp(t,a.console,n,{level:n===`log`?`info`:n},void 0,e)}),this.ee.on(`wrap-logger-end`,function([e],n,r,i=[]){let{level:a,customAttributes:o,autoCaptured:s}=this;i.forEach(n=>{Wd(t,e,o,a,s,n)})}),this.importAggregator(e,()=>X(()=>import(`./aggregate.BHcfGe7f.js`),__vite__mapDeps([24,1,2,5,6])))}},em=[`click`,`keydown`,`submit`],tm=`popstate`,nm=`initialPageLoad`,rm=f.softNav,im=5e3,am={INITIAL_PAGE_LOAD:``,ROUTE_CHANGE:1,UNSPECIFIED:2},om={INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},sm={IP:`in progress`,PF:`pending finish`,FIN:`finished`,CAN:`cancelled`};function cm(e){let t=e.ee.get(`tracer`);K(vl,function(e){return new n().get(typeof e==`object`?e:{})},e);function n(){}let r=n.prototype={createTracer:function(n,r){var i={},a=this,o=typeof r==`function`;return v(d,[`API/createTracer/called`],void 0,f.metrics,e.ee),function(){if(t.emit((o?``:`no-`)+`fn-start`,[l(),a,o],i),o)try{return r.apply(this,arguments)}catch(e){let n=typeof e==`string`?Error(e):e;throw t.emit(`fn-err`,[arguments,this,n],i),n}finally{t.emit(`fn-end`,[l()],i)}}}};[`actionText`,`setName`,`setAttribute`,`save`,`ignore`,`onEnd`,`getContext`,`end`,`get`].forEach(t=>{K.apply(this,[t,function(){return v(pl+t,[performance.now(),...arguments],this,f.softNav,e.ee),this},e,r])}),K(Tl,function(){v(pl+`routeName`,[performance.now(),...arguments],void 0,f.softNav,e.ee)},e)}var lm=100,um=class extends Z{static featureName=rm;constructor(e){if(super(e,rm),cm(e),!i||!_().o.MO)return;let t=op(this.ee);try{this.removeOnAbort=new AbortController}catch{}em.forEach(e=>{J(e,e=>{o(e)},!0,this.removeOnAbort?.signal)}
18);let n=()=>v(`newURL`,[l(),``+window.location],void 0,this.featureName,this.ee);t.on(`pushState-end`,n),t.on(`replaceState-end`,n),J(tm,e=>{o(e),v(`newURL`,[e.timeStamp,``+window.location],void 0,this.featureName,this.ee)},!0,this.removeOnAbort?.signal);let r=!1,a=new(_()).o.MO((e,t)=>{r||(r=!0,requestAnimationFrame(()=>{v(`newDom`,[l()],void 0,this.featureName,this.ee),r=!1}))}),o=Eu(e=>{document.readyState!==`loading`&&(v(`newUIEvent`,[e],void 0,this.featureName,this.ee),a.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},lm,{leading:!0});this.abortHandler=s,this.importAggregator(e,()=>X(()=>import(`./aggregate.C10CuS1G.js`),__vite__mapDeps([25,1,5,6,10,18,7,8,12])),{domObserver:a});function s(){this.removeOnAbort?.abort(),a.disconnect(),this.abortHandler=void 0}}},dm=class extends Xu{constructor(e){super({...e,features:[ep,Wu,ed,kp,td,of,um,Hp,Jp,$p],loaderType:`browser-agent`})}},fm=`2907216`,pm=`1103255823`,mm=`NRJS-4c41e18b2dabf750af0`;new dm({init:{distributed_tracing:{enabled:!0},privacy:{cookies_enabled:!0}},info:{beacon:`bam.nr-data.net`,errorBeacon:`bam.nr-data.net`,licenseKey:mm,applicationID:pm,sa:1},loader_config:{accountID:fm,trustKey:`2804831`,agentID:pm,licenseKey:mm,applicationID:pm}});export{Eu as $,Pd as A,nd as B,Bf as C,Hd as D,Ud as E,hd as F,Fu as G,Zu as H,md as I,Ru as J,Iu as K,vd as L,Ld as M,Rd as N,Vd as O,_d as P,Ou as Q,gd as R,Uf as S,Gd as T,Uu as U,$u as V,X as W,ju as X,Pu as Y,ku as Z,jp as _,Ul as _t,nm as a,gu as at,_p as b,bl as bt,tm as c,iu as ct,Ip as d,Zl as dt,Y as et,Np as f,Wl as ft,zp as g,Yl as gt,Fp as h,ql as ht,am as i,bu as it,Id as j,Fd as k,Lp as l,$l as lt,Rp as m,Kl as mt,sm as n,J as nt,om as o,au as ot,Mp as p,Jl as pt,Lu as q,em as r,wu as rt,im as s,ou as st,rm as t,q as tt,Pp as u,Ql as ut,vp as v,Hl as vt,wf as w,Gf as x,kl as xt,lp as y,zl as yt,Q as z};

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.