1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="af0b0f85-5b71-4f05-bef0-42a3f93b0dbd",e._sentryDebugIdIdentifier="sentry-dbid-af0b0f85-5b71-4f05-bef0-42a3f93b0dbd")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{71588:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(79293)}])},5702:function(e,t,n){"use strict";let r,i,s,a,o,c,u,l,p,d,f,h,m,g,_,y;function v(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],s=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...e)=>n.call(t,...e)),t=void 0)}return n}let b="8.55.0",E=globalThis;function S(e,t,n){let r=n||E,i=r.__SENTRY__=r.__SENTRY__||{},s=i[b]=i[b]||{};return s[e]||(s[e]=t())}function x(e,t,n=[t],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:b})),version:b}),e._metadata=i}let w="production";function T(){return k(E),E}function k(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||b,t[b]=t[b]||{}}let A=Object.prototype.toString;function I(e){switch(A.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return M(e,Error)}}function P(e,t){return A.call(e)===`[object ${t}]`}function O(e){return P(e,"ErrorEvent")}function C(e){return P(e,"DOMError")}function R(e){return P(e,"String")}function $(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function D(e){return null===e||$(e)||"object"!=typeof e&&"function"!=typeof e}function N(e){return P(e,"Object")}function L(e){return"undefined"!=typeof Event&&M(e,Event)}function j(e){return!!(e&&e.then&&"function"==typeof e.then)}function M(e,t){try{return e instanceof t}catch(e){return!1}}function q(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}function F(e,t={}){if(!e)return"<unknown>";try{let n,r=e,i=[],s=0,a=0,o=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&s++<5&&(n=function(e,t){let n=[];if(!e||!e.tagName)return"";if(E.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let r=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(r&&r.length)r.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&R(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,o),"html"!==n&&(!(s>1)||!(a+3*i.length+n.length>=c)));)i.push(n),a+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch(e){return"<unknown>"}}function U(e){if(!E.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}let H=["debug","info","warn","error","log","assert","trace"],B={};function z(e){if(!("console"in E))return e();let t=E.console,n={},r=Object.keys(B);r.forEach(e=>{let r=B[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let W=S("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return H.forEach(e=>{t[e]=()=>void 0}),t});function Y(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function X(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{q(r)?n.push("[VueViewModel]"):n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function G(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!R(e)&&(P(t,"RegExp")?t.test(e):!!R(t)&&(n?e===t:e.includes(t)))})(e,t,n))}function J(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);"function"==typeof i&&K(i,r);try{e[t]=i}catch(e){}}
1function V(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(e){}}function K(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,V(e,"__sentry_original__",t)}catch(e){}}function Z(e){return e.__sentry_original__}function Q(e){if(I(e))return{message:e.message,name:e.name,stack:e.stack,...et(e)};if(!L(e))return e;{let t={type:e.type,target:ee(e.target),currentTarget:ee(e.currentTarget),...et(e)};return"undefined"!=typeof CustomEvent&&M(e,CustomEvent)&&(t.detail=e.detail),t}}function ee(e){try{return"undefined"!=typeof Element&&M(e,Element)?F(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function et(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function en(e){return function e(t,n){if(function(e){if(!N(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.getOwnPropertyNames(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}function er(){return Date.now()/1e3}let ei=function(){let{performance:e}=E;if(!e||!e.now)return er;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}(),es=(()=>{let{performance:e}=E;if(!e||!e.now)return;let t=e.now(),n=Date.now(),r=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,i=e.timing&&e.timing.navigationStart,s="number"==typeof i?Math.abs(i+t-n):36e5;return r<36e5||s<36e5?r<=s?e.timeOrigin:i:n})();function ea(){let e=E.crypto||E.msCrypto,t=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function eo(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ec(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type=n||"Error")}function eu(e,t){let n=eo(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function el(e){if(function(e){try{return e.__sentry_captured__}catch(e){}}(e))return!0;try{V(e,"__sentry_captured__",!0)}catch(e){}return!1}function ep(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||ei(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:ea()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)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),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ed(){return ea().substring(16)}function ef(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&t&&0===Object.keys(t).length)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=ef(r[e],t[e],n-1));return r}let eh="_sentrySpan";function em(e,t){t?V(e,eh,t):delete e[eh]}class eg{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:ea(),spanId:ed()}}clone(){let e=new eg;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,em(e,this[eh]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ep(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?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(e){if(!e)return this;let t="function"==typeof e?e(this):e,[n,r]=t instanceof e_?[t.getScopeData(),t.getRequestSession()]:N(t)?[e,e.requestSession]:[],{tags:i,extra:s,user:a,contexts:o,level:c,fingerprint:u=[],propagationContext:l}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...s},this._contexts={...this._contexts,...o},a&&Object.keys(a).length&&(this._user=a),c&&(this._level=c),u.length&&(this._fingerprint=u),l&&(this._propagationContext=l),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,em(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ea()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:er(),...e};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client&&this._client.re
1cordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[eh]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=ef(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext={spanId:ed(),...e},this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:ea();if(!this._client)return W.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:ea();if(!this._client)return W.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:ea();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):W.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}let e_=eg;class ey{constructor(e,t){let n,r;n=e||new e_,r=t||new e_,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t;let n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return j(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}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)&&!!this._stack.pop()}}function ev(){let e=k(T());return e.stack=e.stack||new ey(S("defaultCurrentScope",()=>new e_),S("defaultIsolationScope",()=>new e_))}function eb(e){return ev().withScope(e)}function eE(e,t){let n=ev();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function eS(e){return ev().withScope(()=>e(ev().getIsolationScope()))}function ex(e){let t=k(e);return t.acs?t.acs:{withIsolationScope:eS,withScope:eb,withSetScope:eE,withSetIsolationScope:(e,t)=>eS(t),getCurrentScope:()=>ev().getScope(),getIsolationScope:()=>ev().getIsolationScope()}}function ew(){return ex(T()).getCurrentScope()}function eT(){return ex(T()).getIsolationScope()}function ek(...e){let t=ex(T());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function eA(){return ew().getClient()}function eI(e){return new eO(t=>{t(e)})}function eP(e){return new eO((t,n)=>{n(e)})}(nY=nX||(nX={}))[nY.PENDING=0]="PENDING",nY[nY.RESOLVED=1]="RESOLVED",nY[nY.REJECTED=2]="REJECTED";class eO{constructor(e){eO.prototype.__init.call(this),eO.prototype.__init2.call(this),eO.prototype.__init3.call(this),eO.prototype.__init4.call(this),this._state=nX.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new eO((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new eO((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>
1{if(i){n(r);return}t(r)})})}__init(){this._resolve=e=>{this._setResult(nX.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(nX.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===nX.PENDING){if(j(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===nX.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===nX.RESOLVED&&e[1](this._value),this._state===nX.REJECTED&&e[2](this._value),e[0]=!0)})}}}let eC=/\(error: (.*)\)/,eR=/captureMessage|captureException/;function e$(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],s=e.split("\n");for(let e=n;e<s.length;e++){let n=s[e];if(n.length>1024)continue;let a=eC.test(n)?n.replace(eC,"$1"):n;if(!a.match(/\S*Error: /)){for(let e of t){let t=e(a);if(t){i.push(t);break}}if(i.length>=50+r)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(eD(t).function||"")&&t.pop(),t.reverse(),eR.test(eD(t).function||"")&&(t.pop(),eR.test(eD(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||eD(t).filename,function:e.function||"?"}))}(i.slice(r))}}function eD(e){return e[e.length-1]||{}}let eN="<anonymous>";function eL(e){try{if(!e||"function"!=typeof e)return eN;return e.name||eN}catch(e){return eN}}function ej(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(e){}}}function eM(e,t=100,n=Infinity){try{return function e(t,n,r=Infinity,i=Infinity,s=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[a,o]=s;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let c=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(q(t))return"[VueViewModel]";if(N(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${eL(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!c.startsWith("[object "))return c;if(n.__sentry_skip_normalization__)return n;let u="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:r;if(0===u)return c.replace("object ","");if(a(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,u-1,i,s)}catch(e){}let l=Array.isArray(n)?[]:{},p=0,d=Q(n);for(let t in d){if(!Object.prototype.hasOwnProperty.call(d,t))continue;if(p>=i){l[t]="[MaxProperties ~]";break}let n=d[t];l[t]=e(t,n,u-1,i,s),p++}return o(n),l}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}let eq="sentry.source",eF="sentry.sample_rate",eU="sentry.op",eH="sentry.origin",eB="sentry.idle_span_finish_reason",ez="sentry.measurement_unit",eW="sentry.measurement_value",eY="sentry.custom_span_name",eX="sentry.exclusive_time",eG="sentry-",eJ=/^sentry-/;function eV(e){let t=eK(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(eJ)&&(e[t.slice(eG.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}function eK(e){return e&&(R(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>(Object.entries(eZ(t)).forEach(([t,n])=>{e[t]=n}),e),{}):eZ(e):void 0}function eZ(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function eQ(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=eA(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function e0(e){let t=e._sentryMetrics;if(!t)return;let n={};for(let[,[e,r]]of t)(n[e]||(n[e]=[])).push(en(r));return n}function e1(e,t){e.setAttribute("http.response.status_code",t);let n=function(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"};default:return{code:2,message:"internal_error"}}return{code:2,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}let e3=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function e2(e=ea(),t=ed(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}let e4=!1;function e5(e){return"number"==typeof e?e9(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?e9(e.getTime()):ei()}function e9(e){return e>9999999999?e/1e3:e}function e8(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{let{spanId:t,traceId:n}=e.spanContext();if(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:r,startTime:i,name:s,endTime:a,parentSpanId:o,status:c}=e;return en({span_id:t,trace_id:n,data:r,description:s,parent_span_id:o,start_timestamp:e5(i),timestamp:e5(a)||void 0,status:e7(c),op:r[eU],origin:r[eH],_metrics_summary:e0(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function e6(e){let{traceFlags:t}=e.spanContext();return 1===t}function e7(e){return e&&0!==e.code?1===e.code?"ok":e.message||"unknown_error":void 0}let te="_sentryChildSpans",tt="_sentryRootSpan";function tn(e,t){let n=e[tt]||e;V(t,tt,n),e[te]?e[te].add(t):V(e,te,new Set([t]))}function tr(e){let t=new Set;return function e(n){if(!t.has(n)&&e6(n))for(let r of(t.add(n),n[te]?Array.from(n[te]):[]))e(r)}(e),Array.from(t)}function ti(e){return e[tt]||e}function ts(){let e=ex(T());return e.getActiveSpan?e.getActiveSpan():ew()[eh]}function ta(){e4||(z(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK ver
1sion 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),e4=!0)}let to="_frozenDsc";function tc(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=en({environment:n.environment||w,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function tu(e,t){let n=t.getPropagationContext();return n.dsc||tc(n.traceId,e)}function tl(e){let t=eA();if(!t)return{};let n=ti(e),r=n[to];if(r)return r;let i=n.spanContext().traceState,s=i&&i.get("sentry.dsc"),a=s&&eV(s);if(a)return a;let o=tc(e.spanContext().traceId,t),c=e8(n),u=c.data||{},l=u[eF];null!=l&&(o.sample_rate=`${l}`);let p=u[eq],d=c.description;return"url"!==p&&d&&(o.transaction=d),eQ()&&(o.sampled=String(e6(n))),t.emit("createDsc",o,n),o}function tp(e,t){let{extra:n,tags:r,user:i,contexts:s,level:a,sdkProcessingMetadata:o,breadcrumbs:c,fingerprint:u,eventProcessors:l,attachments:p,propagationContext:d,transactionName:f,span:h}=t;td(e,"extra",n),td(e,"tags",r),td(e,"user",i),td(e,"contexts",s),e.sdkProcessingMetadata=ef(e.sdkProcessingMetadata,o,2),a&&(e.level=a),f&&(e.transactionName=f),h&&(e.span=h),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),l.length&&(e.eventProcessors=[...e.eventProcessors,...l]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...d}}function td(e,t,n){e[t]=ef(e[t],n,1)}function tf(e,t){return ew().captureEvent(e,t)}function th(e){eT().addEventProcessor(e)}function tm(e){let t=eA(),n=eT(),r=ew(),{release:i,environment:s=w}=t&&t.getOptions()||{},{userAgent:a}=E.navigator||{},o=function(e){let t=ei(),n={sid:ea(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>en({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return e&&ep(n,e),n}({release:i,environment:s,user:r.getUser()||n.getUser(),...a&&{userAgent:a},...e}),c=n.getSession();return c&&"ok"===c.status&&ep(c,{status:"exited"}),tg(),n.setSession(o),r.setSession(o),o}function tg(){let e=eT(),t=ew(),n=t.getSession()||e.getSession();if(n){let e;e={},"ok"===n.status&&(e={status:"exited"}),ep(n,e)}t_(),e.setSession(),t.setSession()}function t_(){let e=eT(),t=ew(),n=eA(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function ty(e=!1){if(e){tg();return}t_()}let tv=[];function tb(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function tE(e,t,n){if(!n[t.name]){if(n[t.name]=t,-1===tv.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),tv.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}}}let tS=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],tx=(e={})=>({name:"InboundFilters",processEvent:(t,n,r)=>{var i,s;return(i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:tS],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(t)||(s=i.ignoreErrors,!t.type&&s&&s.length&&(function(e){let t;let n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),n})(t).some(e=>G(e,s))||!t.type&&t.exception&&t.exception.values&&0!==t.exception.values.length&&!t.message&&!t.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)||function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&G(n,t)}(t,i.ignoreTransactions)||function(e,t){if(!t||!t.length)return!1;let n=tw(e);return!!n&&G(n,t)}(t,i.denyUrls))||!function(e,t){if(!t||!t.length)return!0;let n=tw(e);return!n||G(n,t)}(t,i.allowUrls)?null:t}});function tw(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(e){return null}}let tT=new WeakMap,tk=()=>({name:"FunctionToString",setupOnce(){a=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=Z(this),n=tT.has(eA())&&void 0!==t?t:this;return a.apply(n,e)}}catch(e){}},setup(e){tT.set(e,!0)}}),tA=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n;if((n=e)&&(function(e,t){let n=e.message,r=t.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&tP(e,t)&&tI(e,t))}(t,n)||function(e,t){let n=tO(t),r=tO(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&tP(e,t)&&tI(e,t))}(t,n)))return null}catch(e){}return e=t}}};function tI(e,t){let n=ej(e),r=ej(t);if(!n&&!r)return!0;
1if(n&&!r||!n&&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 tP(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function tO(e){return e.exception&&e.exception.values&&e.exception.values[0]}function tC(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}let tR=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function t$(e,t=!1){let{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=e;return`${o}://${c}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${a}`}function tD(e){let t=tR.exec(e);if(!t){z(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",s="",a="",o=""]=t.slice(1),c="",u=o,l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return tN({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function tN(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function tL(e,t=[]){return[e,t]}function tj(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function tM(e){return E.__SENTRY__&&E.__SENTRY__.encodePolyfill?E.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}let tq={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function tF(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}class tU extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}function tH(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}class tB{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn&&(this._dsn=function(e){let t="string"==typeof e?tD(e):tN(e);if(t)return t}(e.dsn)),this._dsn){var t,n,r;let i=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${function(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()}(t,r)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:i})}let i=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&void 0==e[t]);i&&z(()=>{console.warn(`[Sentry] Deprecation warning: \`${i}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,n){let r=ea();if(el(e))return r;let i={event_id:r,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n))),i.event_id}captureMessage(e,t,n,r){let i={event_id:ea(),...n},s=$(e)?e:String(e),a=D(e)?this.eventFromMessage(s,t,i):this.eventFromException(e,i);return this._process(a.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=ea();if(t&&t.originalException&&el(t.originalException))return r;let i={event_id:r,...t},s=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,s||n)),i.event_id}captureSession(e){"string"!=typeof e.release||(this.sendSession(e),ep(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
1return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):eI(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}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]}addIntegration(e){let t=this._integrations[e.name];tE(this,e,this._integrations),t||tb(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){var i;let s=tF(n),a=e.type&&"replay_event"!==e.type?e.type:"event";(i=n&&n.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let o=function(e,t,n,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:t$(r)},...i&&{trace:en({...i})}}}(e,s,r,t);return delete e.sdkProcessingMetadata,tL(o,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=function(e,t){let[n,r]=e;return[n,[...r,t]]}(n,function(e){let t="string"==typeof e.data?tM(e.data):e.data;return[en({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,n,r){let i=tF(n);return tL({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:t$(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let r=`${e}:${t}`;this._outcomes[r]=(this._outcomes[r]||0)+("number"==typeof n?n:1)}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>e):eI({})}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t&&tE(e,t,n)}),n}(this,e),tb(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let s="ok"===e.status;(s&&0===e.errors||s&&n)&&(ep(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new eO(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n=ew(),a=eT()){let o=this.getOptions(),c=Object.keys(this._integrations);return!t.integrations&&c.length>0&&(t.integrations=c),this.emit("preprocessEvent",e,t),e.type||a.setLastEventId(e.event_id||t.event_id),(function(e,t,n,a,o,c){let{normalizeDepth:u=3,normalizeMaxBreadth:l=1e3}=e,p={...t,event_id:t.event_id||n.event_id||ea(),timestamp:t.timestamp||er()},d=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:s=250}=t;e.environment=e.environment||n||w,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i),e.message&&(e.message=Y(e.message,s));let a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=Y(a.value,s));let o=e.request;o&&o.url&&(o.url=Y(o.url,s))})(p,e),d.length>0&&(p.sdk=p.sdk||{},p.sdk.integrations=[...p.sdk.integrations||[],...d]),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=E._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return s&&n.length===i?s:(i=n.length,s=n.reduce((n,i)=>{r||(r={});let s=r[i];if(s)n[s[0]]=s[1];else{let s=e(i);for(let e=s.length-1;e>=0;e--){let a=s[e],o=a&&a.filename,c=t[i];if(o&&c){n[o]=c,r[i]=[o,c];break}}}return n},{}))}(t);
1try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{n&&e.filename&&(e.debug_id=n[e.filename])})})}catch(e){}}(p,e.stackParser);let f=function(e,t){if(!t)return e;let n=e?e.clone():new e_;return n.update(t),n}(a,n.captureContext);n.mechanism&&eu(p,n.mechanism);let h=o?o.getEventProcessors():[],m=S("globalScope",()=>new e_).getScopeData();c&&tp(m,c.getScopeData()),f&&tp(m,f.getScopeData());let g=[...n.attachments||[],...m.attachments];return g.length&&(n.attachments=g),function(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:s}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:s,level:a,transactionName:o}=t,c=en(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});let u=en(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let l=en(i);l&&Object.keys(l).length&&(e.user={...l,...e.user});let p=en(s);p&&Object.keys(p).length&&(e.contexts={...p,...e.contexts}),a&&(e.level=a),o&&"transaction"!==e.type&&(e.transaction=o)})(e,t),r&&function(e,t){e.contexts={trace:function(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext();return en({parent_span_id:r?t:e8(e).parent_span_id,span_id:r?ed():t,trace_id:n})}(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:tl(t),...e.sdkProcessingMetadata};let n=e8(ti(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],n&&(e.fingerprint=e.fingerprint.concat(n)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...s}}(p,m),(function e(t,n,r,i=0){return new eO((s,a)=>{let o=t[i];if(null===n||"function"!=typeof o)s(n);else{let c=o({...n},r);j(c)?c.then(n=>e(t,n,r,i+1).then(s)).then(null,a):e(t,c,r,i+1).then(s).then(null,a)}})})([...h,...m.eventProcessors],p,n).then(e=>(e&&function(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)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})})}(e),"number"==typeof u&&u>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:eM(e.data,t,n)}}))},...e.user&&{user:eM(e.user,t,n)},...e.contexts&&{contexts:eM(e.contexts,t,n)},...e.extra&&{extra:eM(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=eM(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:eM(e.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=eM(e.contexts.flags,3,n)),r}(e,u,l):e)})(o,e,t,n,this,a).then(e=>{if(null===e)return e;e.contexts={trace:function(e){let{traceId:t,spanId:n,parentSpanId:r}=e.getPropagationContext();return en({trace_id:t,span_id:n,parent_span_id:r})}(n),...e.contexts};let t=tu(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:t,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:i}=r,s=tW(e),a=tz(e),o=e.type||"error",c=`before send for type \`${o}\``,u=void 0===i?void 0:tH(i);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),eP(new tU(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let l="replay_event"===o?"replay":o,p=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,p).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,e),new tU("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(j(e))return e.then(e=>{if(!N(e)&&null!==e)throw new tU(n);return e},e=>{throw new tU(`${t} rejected with ${e}`)});if(!N(e)&&null!==e)throw new tU(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:s,beforeSendSpan:a}=t;if(tz(n)&&i)return i(n,r);if(tW(n)){if(n.spans&&a){let t=[];for(let r of n.spans){let n=a(r);n?t.push(n):(ta(),e.recordDroppedEvent("before_send","span"))}n.spans=t}if(s){if(n.spans){let e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(n,r)}}return n}(this,r,n,t),c)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",l,e),s){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new tU(`${c} returned \`null\`, will not send event.`,"log")}let i=n&&n.getSession();if(!s&&i&&this._updateSessionFromEvent(i,r),s){let e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let a=r.transaction_info;return s&&a&&r.transaction!==e.transaction&&(r.transaction_info={...a,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof tU)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new tU(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 2Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,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(){var e;let t=this._clearOutcomes();if(0===t.length||!this._dsn)return;let n=tL((e=this._options.tunnel&&t$(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:er(),discarded_events:t}]]);this.sendEnvelope(n)}}function tz(e){return void 0===e.type}function tW(e){return"transaction"===e.type}function tY(e,t){let n=tG(e,t),r={type:function(e){let t=e&&e.name;return!t&&tV(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:tV(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]:t:"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function tX(e,t){return{exception:{values:[tY(e,t)]}}}function tG(e,t){let n=t.stacktrace||t.stack||"",r=t&&tJ.test(t.message)?1:0,i="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(n,r,i)}catch(e){}return[]}let tJ=/Minified React error #\d+;/i;function tV(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function tK(e,t,n,r,i){let s;if(O(t)&&t.error)return tX(e,t.error);if(C(t)||P(t,"DOMException")){if("stack"in t)s=tX(e,t);else{let i=t.name||(C(t)?"DOMError":"DOMException"),a=t.message?`${i}: ${t.message}`:i;ec(s=tZ(e,a,n,r),a)}return"code"in t&&(s.tags={...s.tags,"DOMException.code":`${t.code}`}),s}return I(t)?tX(e,t):(N(t)||L(t)?eu(s=function(e,t,n,r){let i=eA(),s=i&&i.getOptions().normalizeDepth,a=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),o={__serialized__:function e(t,n=3,r=102400){let i=eM(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}(t,s)};if(a)return{exception:{values:[tY(e,a)]},extra:o};let c={exception:{values:[{type:L(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=function(e,t=40){let n=Object.keys(Q(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Y(r,t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");
2if(!(r.length>t)){if(e===n.length)return r;return Y(r,t)}}return""}(e),r=t?"promise rejection":"exception";if(O(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(L(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=tG(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}(e,t,n,i),{synthetic:!0}):(ec(s=tZ(e,t,n,r),`${t}`,void 0),eu(s,{synthetic:!0})),s)}function tZ(e,t,n,r){let i={};if(r&&n){let r=tG(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),eu(i,{synthetic:!0})}if($(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}let tQ=0;function t0(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t){if("function"==typeof t)return t;return e}if(Z(e))return e}catch(t){return e}let n=function(...n){try{let r=n.map(e=>t0(e,t));return e.apply(this,r)}catch(e){throw tQ++,setTimeout(()=>{tQ--}),ek(r=>{r.addEventProcessor(e=>(t.mechanism&&(ec(e,void 0,void 0),eu(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),ew().captureException(e,void 0)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch(e){}K(n,e),V(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch(e){}return n}class t1 extends tB{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};x(t,"browser",["browser"],E.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&E.document&&E.document.addEventListener("visibilitychange",()=>{"hidden"===E.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function(e,t,n,r){let i=tK(e,t,n&&n.syntheticException||void 0,r);return eu(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),eI(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let s=tZ(e,t,r&&r.syntheticException||void 0,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),eI(s)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return;let t=function(e,{metadata:t,tunnel:n,dsn:r}){return tL({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:t$(r)}},[[{type:"user_report"},e]])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}let t3={},t2={};function t4(e,t){t3[e]=t3[e]||[],t3[e].push(t)}function t5(e,t){if(!t2[e]){t2[e]=!0;try{t()}catch(e){}}}function t9(e,t){let n=e&&t3[e];if(n)for(let e of n)try{e(t)}catch(e){}}function t8(){if(!E.document)return;let e=t9.bind(null,"dom"),t=t6(e,!0);E.document.addEventListener("click",t,!1),E.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=E[t],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(J(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=r[n]=r[n]||{refCount:0};if(!s.handler){let r=t6(e);s.handler=r,t.call(this,n,r,i)}s.refCount++}catch(e){}return t.call(this,n,r,i)}}),J(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)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]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function t6(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch(e){return null}}(n);if("keypress"===n.type&&(!r||!r.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;V(n,"_sentryCaptured",!0),r&&!r._sentryId&&V(r,"_sentryId",ea());let i="keypress"===n.type?"input":n.type;!function(e){if(e.type!==c)return!1;try{if(!e.target||e.target._sentryId!==u)return!1}catch(e){}return!0}(n)&&(e({event:n,name:i,global:t}),c=n.type,u=r?r._sentryId:void 0),clearTimeout(o),o=E.setTimeout(()=>{u=void 0,c=void 0},1e3)}}let t7="__sentry_xhr_v3__";function ne(e){t4("xhr",e),t5("xhr",nt)}function nt(){if(!E.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*ei(),s=R(n[0])?n[0].toUpperCase():void 0,a=function(e){if(R(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!s||!a)return e.apply(t,n);t[t7]={method:s,url:a,request_headers:{}}
2,"POST"===s&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let o=()=>{let e=t[t7];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}t9("xhr",{endTimestamp:1e3*ei(),startTimestamp:i,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(o(),e.apply(t,n))}):t.addEventListener("readystatechange",o),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,s=t[t7];return s&&R(r)&&R(i)&&(s.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[t7];return r&&(void 0!==n[0]&&(r.body=n[0]),t9("xhr",{startTimestamp:1e3*ei(),xhr:t})),e.apply(t,n)}})}function nn(e){let t="history";t4(t,e),t5(t,nr)}function nr(){if(!function(){let e=E.chrome,t=e&&e.app&&e.app.runtime,n="history"in E&&!!E.history.pushState&&!!E.history.replaceState;return!t&&n}())return;let e=E.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=l,t=String(n);l=t,t9("history",{from:e,to:t})}return e.apply(this,t)}}E.onpopstate=function(...t){let n=E.location.href,r=l;if(l=n,t9("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},J(E.history,"pushState",t),J(E.history,"replaceState",t)}function ni(){"console"in E&&H.forEach(function(e){e in E.console&&J(E.console,e,function(t){return B[e]=t,function(...t){t9("console",{args:t,level:e});let n=B[e];n&&n.apply(E.console,t)}})})}function ns(e,t){let n="fetch";t4(n,e),t5(n,()=>na(void 0,t))}function na(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in E))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}())return!1;if(tC(E.fetch))return!0;let e=!1,t=E.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");
2n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=tC(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){}return e}())&&J(E,"fetch",function(t){return function(...n){let r=Error(),{method:i,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:nl(t),method:nu(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:nl(t),method:nu(t,"method")?String(t.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:i,url:s},startTimestamp:1e3*ei(),virtualError:r};return e||t9("fetch",{...a}),t.apply(E,n).then(async t=>(e?e(t):t9("fetch",{...a,endTimestamp:1e3*ei(),response:t}),t),e=>{throw t9("fetch",{...a,endTimestamp:1e3*ei(),error:e}),I(e)&&void 0===e.stack&&(e.stack=r.stack,V(e,"framesToPop",1)),e})}})}async function no(e,t){if(e&&e.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),s=!0;for(;s;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),s=!1)}catch(e){s=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function nc(e){let t;try{t=e.clone()}catch(e){return}no(t,()=>{t9("fetch-body-resolved",{endTimestamp:1e3*ei(),response:e})})}function nu(e,t){return!!e&&"object"==typeof e&&!!e[t]}function nl(e){return"string"==typeof e?e:e?nu(e,"url")?e.url:e.toString?e.toString():"":""}function np(e,t){let n=eA(),r=eT();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:s=100}=n.getOptions();if(s<=0)return;let a={timestamp:er(),...e},o=i?z(()=>i(a,t)):a;null!==o&&(n.emit&&n.emit("beforeAddBreadcrumb",o,t),r.addBreadcrumb(o,s))}function nd(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function nf(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}}let nh=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){let t="console";t4(t,e),t5(t,ni)}(function(t){var n;if(eA()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:"warn"===(n=t.level)?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log",message:X(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${X(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}np(r,{input:t.args,level:t.level})}),t.dom&&(t4("dom",(n=t.dom,function(t){let r,i;if(eA()!==e)return;let s="object"==typeof n?n.serializeAttribute:void 0,a="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;a&&a>1024&&(a=1024),"string"==typeof s&&(s=[s]);try{let e=t.event,n=e&&e.target?e.target:e;r=F(n,{keyAttrs:s,maxStringLength:a}),i=U(n)}catch(e){r="<unknown>"}if(0===r.length)return;let o={category:`ui.${t.name}`,message:r};i&&(o.data={"ui.component_name":i}),np(o,{event:t.event,name:t.name,global:t.global})})),t5("dom",t8)),t.xhr&&ne(function(t){if(eA()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[t7];if(!n||!r||!i)return;let{method:s,url:a,status_code:o,body:c}=i,u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},l=nd(o);np({category:"xhr",data:{method:s,url:a,status_code:o},type:"http",level:l},u)}),t.fetch&&ns(function(t){if(eA()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error)np({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{let e=t.response,i={...t.fetchData,status_code:e&&e.status},s={input:t.args,response:e,startTimestamp:n,endTimestamp:r},a=nd(i.status_code);np({category:"fetch",data:i,type:"http",level:a},s)}}}),t.history&&nn(function(t){if(eA()!==e)return;let n=t.from,r=t.to,i=nf(E.location.href),s=n?nf(n):void 0,a=nf(r);s&&s.path||(s=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),np({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){eA()===e&&np({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:function(e){let{message:t,event_id:n}=e;if(t)return t;let r=eo(e);return r?r.type&&r.value?`${r.type}: ${r.value}
2`:r.type||r.value||n||"<unknown>":n||"<unknown>"}(t)},{event:t})})}}},nm=["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"],ng=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&J(E,"setTimeout",n_),t.setInterval&&J(E,"setInterval",n_),t.requestAnimationFrame&&J(E,"requestAnimationFrame",ny),t.XMLHttpRequest&&"XMLHttpRequest"in E&&J(XMLHttpRequest.prototype,"send",nv);let e=t.eventTarget;e&&(Array.isArray(e)?e:nm).forEach(nb)}}};function n_(e){return function(...t){let n=t[0];return t[0]=t0(n,{mechanism:{data:{function:eL(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function ny(e){return function(t){return e.apply(this,[t0(t,{mechanism:{data:{function:"requestAnimationFrame",handler:eL(e)},handled:!1,type:"instrument"}})])}}function nv(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&J(n,e,function(t){let n={mechanism:{data:{function:e,handler:eL(t)},handled:!1,type:"instrument"}},r=Z(t);return r&&(n.mechanism.data.handler=eL(r)),t0(t,n)})}),e.apply(this,t)}}function nb(e){let t=E[e],n=t&&t.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(J(n,"addEventListener",function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=t0(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:eL(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,t0(r,{mechanism:{data:{function:"addEventListener",handler:eL(r),target:e},handled:!1,type:"instrument"}}),i])}}),J(n,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}let nE=()=>({name:"BrowserSession",setupOnce(){void 0!==E.document&&(tm({ignoreDuration:!0}),ty(),nn(({from:e,to:t})=>{void 0!==e&&e!==t&&(tm({ignoreDuration:!0}),ty())}))}}),nS=null;function nx(e){let t="error";t4(t,e),t5(t,nw)}function nw(){nS=E.onerror,E.onerror=function(e,t,n,r,i){return t9("error",{column:r,error:i,line:n,msg:e,url:t}),!!nS&&nS.apply(this,arguments)},E.onerror.__SENTRY_INSTRUMENTED__=!0}let nT=null;function nk(e){let t="unhandledrejection";t4(t,e),t5(t,nA)}function nA(){nT=E.onunhandledrejection,E.onunhandledrejection=function(e){return t9("unhandledrejection",e),!nT||nT.apply(this,arguments)},E.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let nI=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&nx(t=>{let{stackParser:n,attachStacktrace:r}=nP();if(eA()!==e||tQ>0)return;let{msg:i,url:s,line:a,column:o,error:c}=t,u=function(e,t,n,r){let i=e.exception=e.exception||{},s=i.values=i.values||[],a=s[0]=s[0]||{},o=a.stacktrace=a.stacktrace||{},c=o.frames=o.frames||[],u=R(t)&&t.length>0?t:function(){try{return E.document.location.href}catch(e){return""}}();return 0===c.length&&c.push({colno:r,filename:u,function:"?",in_app:!0,lineno:n}),e}(tK(n,c||i,void 0,r,!1),s,a,o);u.level="error",tf(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}),t.onunhandledrejection&&nk(t=>{let{stackParser:n,attachStacktrace:r}=nP();if(eA()!==e||tQ>0)return;let i=function(e){if(D(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),s=D(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:tK(n,i,void 0,r,!0);s.level="error",tf(s,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}}};function nP(){let e=eA();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let nO=()=>({name:"HttpContext",preprocessEvent(e){if(!E.navigator&&!E.location&&!E.document)return;let t=e.request&&e.request.url||E.location&&E.location.href,{referrer:n}=E.document||{},{userAgent:r}=E.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...e.request,...t&&{url:t},headers:i};e.request=s}});function nC(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0}
2,exception_id:t}}function nR(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let n$=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let s=i.getOptions();!function(e,t,n=250,r,i,s,a){if(!s.exception||!s.exception.values||!a||!M(a.originalException,Error))return;let o=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;o&&(s.exception.values=(function e(t,n,r,i,s,a,o,c){if(a.length>=r+1)return a;let u=[...a];if(M(i[s],Error)){nC(o,c);let a=t(n,i[s]),l=u.length;nR(a,s,l,c),u=e(t,n,r,i[s],s,[a,...u],a,l)}return Array.isArray(i.errors)&&i.errors.forEach((i,a)=>{if(M(i,Error)){nC(o,c);let l=t(n,i),p=u.length;nR(l,`errors[${a}]`,p,c),u=e(t,n,r,i,s,[l,...u],l,p)}}),u})(e,t,i,a.originalException,r,s.exception.values,o,0).map(e=>(e.value&&(e.value=Y(e.value,n)),e)))}(tY,s.stackParser,s.maxValueLength,n,t,e,r)}}};function nD(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let nN=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,nL=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nj=/\((\S*)(?::(\d+))(?::(\d+))\)/,nM=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nq=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nF=e$([30,e=>{let t=nN.exec(e);if(t){let[,e,n,r]=t;return nD(e,"?",+n,+r)}let n=nL.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=nj.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=nU(n[1]||"?",n[2]);return nD(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{let t=nM.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=nq.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]=nU(n,e),nD(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),nU=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},nH={};function nB(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function nz(e,t=function(e){let t=nH[e];if(t)return t;let n=E[e];if(tC(n))return nH[e]=n.bind(E);let r=E.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(e){}return n?nH[e]=n.bind(E):n}("fetch")){let n=0,r=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return eP(new tU("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new eO((n,r)=>{let i=t.length;if(!i)return n(!0);let s=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{eI(e).then(()=>{--i||(clearTimeout(s),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(i){let s=[];if(tj(i,(t,n)=>{let i=tq[n];if(function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(r,i)){let r=nB(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else s.push(t)}),0===s.length)return eI({});let a=tL(i[0],s),o=t=>{tj(a,(n,r)=>{let i=nB(n,r);e.recordDroppedEvent(t,tq[r],i)})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[tM(r),e]:r.push("string"==typeof e?tM(e):e)}for(let e of n){let[t,n]=e;if(i(` 3${JSON.stringify(t)} 4`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(eM(n))}i(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,n,,,s]=e.split(":",5),a=parseInt(t,10),o=(isNaN(a)?60:a)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!s||s.split(";").includes("custom"))&&(i[e]=r+o):i[e]=r+o;else i.all=r+o}else a?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(i.all=r+6e4);return i}(r,e),e),e=>{throw o("network_error"),e})).then(e=>e,e=>
4{if(e instanceof tU)return o("queue_overflow"),eI({});throw e})},flush:e=>n.drain(e)}}(e,function(i){let s=i.body.length;n+=s,r++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return nH.fetch=void 0,eP("No fetch implementation available");try{return t(e.url,a).then(e=>(n-=s,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return nH.fetch=void 0,n-=s,r--,eP(e)}})}function nW(e){let t=[tx(),tk(),ng(),nh(),nI(),n$(),tA(),nO()];return!1!==e.autoSessionTracking&&t.push(nE()),t}var nY,nX,nG=n(2784),nJ=n(34406);function nV(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[ez],i=n[eW];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})}),t}let nK=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",nZ=(e,t,n,r)=>{let i,s;return a=>{t.value>=0&&(a||r)&&((s=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=s,t.rating=nK(t.value,n),e(t))}},nQ=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,n0=(e=!0)=>{let t=E.performance&&E.performance.getEntriesByType&&E.performance.getEntriesByType("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},n1=()=>{let e=n0();return e&&e.activationStart||0},n3=(e,t)=>{let n=n0(),r="navigate";return n&&(E.document&&E.document.prerendering||n1()>0?r="prerender":E.document&&E.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:nQ(),navigationType:r}},n2=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},n4=e=>{let t=t=>{("pagehide"===t.type||E.document&&"hidden"===E.document.visibilityState)&&e(t)};E.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},n5=e=>{let t=!1;return()=>{t||(e(),t=!0)}},n9=-1,n8=()=>"hidden"!==E.document.visibilityState||E.document.prerendering?1/0:0,n6=e=>{"hidden"===E.document.visibilityState&&n9>-1&&(n9="visibilitychange"===e.type?e.timeStamp:0,re())},n7=()=>{addEventListener("visibilitychange",n6,!0),addEventListener("prerenderingchange",n6,!0)},re=()=>{removeEventListener("visibilitychange",n6,!0),removeEventListener("prerenderingchange",n6,!0)},rt=()=>(E.document&&n9<0&&(n9=n8(),n7()),{get firstHiddenTime(){return n9}}),rn=e=>{E.document&&E.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},rr=[1800,3e3],ri=(e,t={})=>{rn(()=>{let n;let r=rt(),i=n3("FCP"),s=n2("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(s.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-n1(),0),i.entries.push(e),n(!0)))})});s&&(n=nZ(e,i,rr,t.reportAllChanges))})},rs=[.1,.25],ra=(e,t={})=>{ri(n5(()=>{let n;let r=n3("CLS",0),i=0,s=[],a=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=s[0],n=s[s.length-1];i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,s.push(e)):(i=e.value,s=[e])}}),i>r.value&&(r.value=i,r.entries=s,n())},o=n2("layout-shift",a);o&&(n=nZ(e,r,rs,t.reportAllChanges),n4(()=>{a(o.takeRecords()),n(!0)}),setTimeout(n,0))}))},ro=[100,300],rc=(e,t={})=>{rn(()=>{let n;let r=rt(),i=n3("FID"),s=e=>{e.startTime<r.firstHiddenTime&&(i.value=e.processingStart-e.startTime,i.entries.push(e),n(!0))},a=e=>{e.forEach(s)},o=n2("first-input",a);n=nZ(e,i,ro,t.reportAllChanges),o&&n4(n5(()=>{a(o.takeRecords()),o.disconnect()}))})},ru=0,rl=1/0,rp=0,rd=e=>{e.forEach(e=>{e.interactionId&&(rl=Math.min(rl,e.interactionId),ru=(rp=Math.max(rp,e.interactionId))?(rp-rl)/7+1:0)})},rf=()=>p?ru:performance.interactionCount||0,rh=()=>{"interactionCount"in performance||p||(p=n2("event",rd,{type:"event",buffered:!0,durationThreshold:0}))},rm=[],rg=new Map,r_=()=>rf()-0,ry=()=>{let e=Math.min(rm.length-1,Math.floor(r_()/50));return rm[e]},rv=[],rb=e=>{if(rv.forEach(t=>t(e)),!(e.interactionId||"first-input"===e.entryType))return;let t=rm[rm.length-1],n=rg.get(e.interactionId);if(n||rm.length<10||t&&e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===(n.entries[0]&&n.entries[0].startTime)&&n.entries.push(e);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};
4rg.set(t.id,t),rm.push(t)}rm.sort((e,t)=>t.latency-e.latency),rm.length>10&&rm.splice(10).forEach(e=>rg.delete(e.id))}},rE=e=>{let t=E.requestIdleCallback||E.setTimeout,n=-1;return e=n5(e),E.document&&"hidden"===E.document.visibilityState?e():(n=t(e),n4(e)),n},rS=[200,500],rx=(e,t={})=>{"PerformanceEventTiming"in E&&"interactionId"in PerformanceEventTiming.prototype&&rn(()=>{let n;rh();let r=n3("INP"),i=e=>{rE(()=>{e.forEach(rb);let t=ry();t&&t.latency!==r.value&&(r.value=t.latency,r.entries=t.entries,n())})},s=n2("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});n=nZ(e,r,rS,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),n4(()=>{i(s.takeRecords()),n(!0)}))})},rw=[2500,4e3],rT={},rk=(e,t={})=>{rn(()=>{let n;let r=rt(),i=n3("LCP"),s=e=>{t.reportAllChanges||(e=e.slice(-1)),e.forEach(e=>{e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-n1(),0),i.entries=[e],n())})},a=n2("largest-contentful-paint",s);if(a){n=nZ(e,i,rw,t.reportAllChanges);let r=n5(()=>{rT[i.id]||(s(a.takeRecords()),a.disconnect(),rT[i.id]=!0,n(!0))});["keydown","click"].forEach(e=>{E.document&&addEventListener(e,()=>rE(r),{once:!0,capture:!0})}),n4(r)}})},rA=[800,1800],rI=e=>{E.document&&E.document.prerendering?rn(()=>rI(e)):E.document&&"complete"!==E.document.readyState?addEventListener("load",()=>rI(e),!0):setTimeout(e,0)},rP=(e,t={})=>{let n=n3("TTFB"),r=nZ(e,n,rA,t.reportAllChanges);rI(()=>{let e=n0();e&&(n.value=Math.max(e.responseStart-n1(),0),n.entries=[e],r(!0))})},rO={},rC={};function rR(e,t=!1){return rF("cls",e,rN,d,t)}function r$(e,t){return rU(e,t),rC[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),n2(e,t=>{rD(e,{entries:t})},t)}(e),rC[e]=!0),rH(e,t)}function rD(e,t){let n=rO[e];if(n&&n.length)for(let e of n)try{e(t)}catch(e){}}function rN(){return ra(e=>{rD("cls",{metric:e}),d=e},{reportAllChanges:!0})}function rL(){return rc(e=>{rD("fid",{metric:e}),f=e})}function rj(){return rk(e=>{rD("lcp",{metric:e}),h=e},{reportAllChanges:!0})}function rM(){return rP(e=>{rD("ttfb",{metric:e}),m=e})}function rq(){return rx(e=>{rD("inp",{metric:e}),g=e})}function rF(e,t,n,r,i=!1){let s;return rU(e,t),rC[e]||(s=n(),rC[e]=!0),r&&t({metric:r}),rH(e,t,i?s:void 0)}function rU(e,t){rO[e]=rO[e]||[],rO[e].push(t)}function rH(e,t,n){return()=>{n&&n();let r=rO[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}class rB{constructor(e={}){this._traceId=e.traceId||ea(),this._spanId=e.spanId||ed()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}let rz="_sentryScope",rW="_sentryIsolationScope";function rY(e){return{scope:e[rz],isolationScope:e[rW]}}class rX{constructor(e={}){this._traceId=e.traceId||ea(),this._spanId=e.spanId||ed(),this._startTime=e.startTimestamp||ei(),this._attributes={},this.setAttributes({[eH]:"manual",[eU]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this}addLinks(e){return this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=e5(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(eq,"custom"),this}end(e){this._endTime||(this._endTime=e5(e),this._onSpanEnded())}getSpanJSON(){return en({data:this._attributes,description:this._name,op:this._attributes[eU],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:e7(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[eH],_metrics_summary:e0(this),profile_id:this._attributes["sentry.profile_id"],exclusive_time:this._attributes[eX],measurements:nV(this._events),is_segment:this._isStandaloneSpan&&ti(this)===this||void 0,segment_id:this._isStandaloneSpan?ti(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){let r=rG(t)?t:n||ei(),i=rG(t)?{}:t||{}
4,s={name:e,time:e5(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=eA();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===ti(this)))return;if(this._isStandaloneSpan){this._sampled?function(e){let t=eA();if(!t)return;let n=e[1];if(!n||0===n.length){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}(function(e,t){let n=tl(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,s={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:t$(r)}},a=t&&t.getOptions().beforeSendSpan,o=a?e=>{let t=a(e8(e));return t||ta(),t}:e=>e8(e),c=[];for(let t of e){let e=o(t);e&&c.push([{type:"span"},e])}return tL(s,c)}([this],e)):e&&e.recordDroppedEvent("sample_rate","span");return}let t=this._convertSpanToTransaction();t&&(rY(this).scope||ew()).captureEvent(t)}_convertSpanToTransaction(){if(!rJ(e8(this)))return;this._name||(this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=rY(this),n=(e||ew()).getClient()||eA();if(!0!==this._sampled){n&&n.recordDroppedEvent("sample_rate","transaction");return}let r=tr(this).filter(e=>e!==this&&!(e instanceof rX&&e.isStandaloneSpan())).map(e=>e8(e)).filter(rJ),i=this._attributes[eq];delete this._attributes[eY],r.forEach(e=>{e.data&&delete e.data[eY]});let s={contexts:{trace:function(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o}=e8(e);return en({parent_span_id:s,span_id:t,trace_id:n,data:r,op:i,status:a,origin:o})}(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...en({dynamicSamplingContext:tl(this)})},_metrics_summary:e0(this),...i&&{transaction_info:{source:i}}},a=nV(this._events);return a&&Object.keys(a).length&&(s.measurements=a),s}}function rG(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function rJ(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let rV="__SENTRY_SUPPRESS_TRACING__";function rK(e){let t=ex(T());if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=e5(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?t=>ek(e.scope,t):void 0!==i?e=>rZ(i,e):e=>e())(()=>{let t=ew(),i=function(e){let t=e[eh];if(!t)return;let n=eA();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?ti(t):t}(t);return e.onlyIfParent&&!i?new rB:function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){var i;let s;if(!eQ())return new rB;let a=eT();if(e&&!n)s=function(e,t,n){let{spanId:r,traceId:i}=e.spanContext(),s=!t.getScopeData().sdkProcessingMetadata[rV]&&e6(e),a=s?new rX({...n,parentSpanId:r,traceId:i,sampled:s}):new rB({traceId:i});tn(e,a);let o=eA();return o&&(o.emit("spanStart",a),n.endTimestamp&&o.emit("spanEnd",a)),a}(e,r,t),tn(e,s);else if(e){let n=tl(e),{traceId:i,spanId:a}=e.spanContext(),o=e6(e);V(s=rQ({traceId:i,parentSpanId:a,...t},r,o),to,n)}else{let{traceId:e,dsc:n,parentSpanId:i,sampled:o}={...a.getPropagationContext(),...r.getPropagationContext()};s=rQ({traceId:e,parentSpanId:i,...t},r,o),n&&V(s,to,n)}return(i=s)&&(V(i,rW,a),V(i,rz,r)),s}({parentSpan:i,spanArguments:n,forceTransaction:r,scope:t})})}function rZ(e,t){let n=ex(T());return n.withActiveSpan?n.withActiveSpan(e,t):ek(n=>(em(n,e||void 0),t(n)))}function rQ(e,t,n){let r=eA(),i=r&&r.getOptions()||{},{name:s="",attributes:a}=e,[o,c]=t.getScopeData().sdkProcessingMetadata[rV]?[!1]:function(e,t){if(!eQ(e))return[!1];let n=eT().getScopeData().sdkProcessingMetadata.normalizedRequest,r={...t,normalizedRequest:t.normalizedRequest||n},i=tH("function"==typeof e.tracesSampler?e.tracesSampler(r):void 0!==r.parentSampled?r.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1);return void 0===i?[!1]:i&&Math.random()<i?[!0,i]:[!1,i]}(i,{name:s,parentSampled:n,attributes:a,transactionContext:{name:s,parentSampled:n}}),u=new rX({...e,attributes:{[eq]:"custom",...e.attributes},sampled:o});return void 0!==c&&u.setAttribute(eF,c),r&&r.emit("spanStart",u),u}function r0(e){return"number"==typeof e&&isFinite(e)}function r1(e,t,n,{...r}){let i=e8(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),rZ(e,()=>{let e=rK({startTime:t,...r});return e&&e.end(n),e})}function r3(e){let t;let n=eA();if(!n)return;let{name:r,transaction:i,attributes:s,startTime:a}=e,{release:o,environment:c}=n.getOptions(),u=n.getIntegrationByName("Replay"),l=u&&u.getReplayId(),p=ew(),d=p.getUser(),f=void 0!==d?d.email||d.id||d.ip_address:void 0;try{t=p.getScopeData().contexts.profile.profile_id}catch(e){}return rK({name:r,attributes:{release:o,environment:c,user:f||void 0,profile_id:t||void 0,replay_id:l||void 0,transaction:i,"user_agent.original":E.navigator&&E.navigator.userAgent,...s},startTime:a,experimental:{standalone:!0}})}function r2(){return E&&E.addEventListener&&E.performance}function r4(e){return e/1e3}function r5(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}
4return r===e&&(t=r),{name:t,version:n}}let r9=0,r8={};function r6(e,t,n,r,i=n){let s=t["secureConnection"===n?"connectEnd":"fetch"===n?"domainLookupStart":`${n}End`],a=t[`${n}Start`];a&&s&&r1(e,r+r4(a),r+r4(s),{op:`browser.${i}`,name:t.name,attributes:{[eH]:"auto.ui.browser.metrics"}})}function r7(e,t,n,r){let i=t[n];null!=i&&i<2147483647&&(e[r]=i)}let ie=[],it=new Map,ir={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},ii={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function is(e,t={}){let n;let r=new Map,i=!1,s="externalFinish",a=!t.disableAutoFinish,o=[],{idleTimeout:c=ii.idleTimeout,finalTimeout:u=ii.finalTimeout,childSpanTimeout:l=ii.childSpanTimeout,beforeSpanEnd:p}=t,d=eA();if(!d||!eQ())return new rB;let f=ew(),h=ts(),m=function(e){let t=rK(e);return em(ew(),t),t}(e);function g(){n&&(clearTimeout(n),n=void 0)}function _(e){g(),n=setTimeout(()=>{!i&&0===r.size&&a&&(s="idleTimeout",m.end(e))},c)}function y(e){n=setTimeout(()=>{!i&&a&&(s="heartbeatFailed",m.end(e))},l)}function v(e){i=!0,r.clear(),o.forEach(e=>e()),em(f,h);let t=e8(m),{start_timestamp:n}=t;if(!n)return;(t.data||{})[eB]||m.setAttribute(eB,s),W.log(`[Tracing] Idle span "${t.op}" finished`);let a=tr(m).filter(e=>e!==m),l=0;a.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e));let{timestamp:n=0,start_timestamp:r=0}=e8(t),i=r<=e;(!(n-r<=(u+c)/1e3)||!i)&&(m[te]&&m[te].delete(t),l++)}),l>0&&m.setAttribute("sentry.idle_span_discarded_spans",l)}return m.end=new Proxy(m.end,{apply(e,t,n){p&&p(m);let[r,...i]=n,s=e5(r||ei()),a=tr(m).filter(e=>e!==m);if(!a.length)return v(s),Reflect.apply(e,t,[s,...i]);let o=a.map(e=>e8(e).timestamp).filter(e=>!!e),c=o.length?Math.max(...o):void 0,l=e8(m).start_timestamp,d=Math.min(l?l+u/1e3:1/0,Math.max(l||-1/0,Math.min(s,c||1/0)));return v(d),Reflect.apply(e,t,[d,...i])}}),o.push(d.on("spanStart",e=>{if(!i&&e!==m&&!e8(e).timestamp&&tr(m).includes(e)){var t;t=e.spanContext().spanId,g(),r.set(t,!0),y(ei()+l/1e3)}})),o.push(d.on("spanEnd",e=>{var t;i||(t=e.spanContext().spanId,r.has(t)&&r.delete(t),0===r.size&&_(ei()+c/1e3))})),o.push(d.on("idleSpanEnableAutoFinish",e=>{e===m&&(a=!0,_(),r.size&&y())})),t.disableAutoFinish||_(),setTimeout(()=>{i||(m.setStatus({code:2,message:"deadline_exceeded"}),s="finalTimeout",m.end())},u),m}let ia=!1;function io(){let e=ts(),t=e&&ti(e);t&&t.setStatus({code:2,message:"internal_error"})}function ic(e={}){let t=eA();if(!function(){let e=eA();return!!e&&!1!==e.getOptions().enabled&&!!e.getTransport()}()||!t)return{};let n=ex(T());if(n.getTraceData)return n.getTraceData(e);let r=ew(),i=e.span||ts(),s=i?function(e){let{traceId:t,spanId:n}=e.spanContext();return e2(t,n,e6(e))}(i):function(e){let{traceId:t,sampled:n,spanId:r}=e.getPropagationContext();return e2(t,r,n)}(r),a=function(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===r?i:`${e},${i}`;return s.length>8192?e:s},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${eG}${t}`]=n),e),{}))}(i?tl(i):tu(t,r));return e3.test(s)?{"sentry-trace":s,baggage:a}:(W.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function iu(e){return e.split(",").filter(e=>!e.split("=")[0].startsWith(eG)).join(",")}io.tag="sentry_tracingErrorCallback";let il=new WeakMap,ip=new Map,id={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function ih(e){let{url:t}=e8(e).data||{};if(!t||"string"!=typeof t)return;let n=r$("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(t)&&((function(e){let{name:t,ver
4sion:n}=r5(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",n],["network.protocol.name",t]),es)?[...r,["http.request.redirect_start",im(e.redirectStart)],["http.request.fetch_start",im(e.fetchStart)],["http.request.domain_lookup_start",im(e.domainLookupStart)],["http.request.domain_lookup_end",im(e.domainLookupEnd)],["http.request.connect_start",im(e.connectStart)],["http.request.secure_connection_start",im(e.secureConnectionStart)],["http.request.connection_end",im(e.connectEnd)],["http.request.request_start",im(e.requestStart)],["http.request.response_start",im(e.responseStart)],["http.request.response_end",im(e.responseEnd)]]:r})(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function im(e=0){return((es||performance.timeOrigin)+e)/1e3}function ig(e){try{return new URL(e,E.location.origin).href}catch(e){return}}let i_={...ii,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...id},iy=(e={})=>{ia||(ia=!0,nx(io),nk(io));let{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:i,enableStandaloneClsSpans:s},beforeStartSpan:a,idleTimeout:o,finalTimeout:c,childSpanTimeout:u,markBackgroundSpan:l,traceFetch:p,traceXHR:d,trackFetchStreamPerformance:v,shouldCreateSpanForRequest:b,enableHTTPTimings:S,instrumentPageLoad:x,instrumentNavigation:w}={...i_,...e},T=function({recordClsStandaloneSpans:e}){let t=r2();if(t&&es){t.mark&&E.performance.mark("sentry-tracing-init");let n=rF("fid",({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=r4(es),r=r4(t.startTime);r8.fid={value:e.value,unit:"millisecond"},r8["mark.fid"]={value:n+r,unit:"second"}},rL,f),r=function(e,t=!1){return rF("lcp",e,rj,h,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(r8.lcp={value:e.value,unit:"millisecond"},_=t)},!0),i=rF("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(r8.ttfb={value:e.value,unit:"millisecond"})},rM,m),s=e?function(){let e,t,n=0;if(!function(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch(e){return!1}}())return;let r=!1;function i(){r||(r=!0,t&&function(e,t,n){let r=r4((es||0)+(t&&t.startTime||0)),i=ew().getScopeData().transactionName,s=r3({name:t?F(t.sources[0]&&t.sources[0].node):"Layout shift",transaction:i,attributes:en({[eH]:"auto.http.browser.cls",[eU]:"ui.webvital.cls",[eX]:t&&t.duration||0,"sentry.pageload.span_id":n}),startTime:r});s&&(s.addEvent("cls",{[ez]:"",[eW]:e}),s.end(r))}(n,e,t),s())}let s=rR(({metric:t})=>{let r=t.entries[t.entries.length-1];r&&(n=t.value,e=r)},!0);n4(()=>{i()}),setTimeout(()=>{let e=eA();if(!e)return;let n=e.on("startNavigationSpan",()=>{i(),n&&n()}),r=ts(),s=r&&ti(r),a=s&&e8(s);a&&"pageload"===a.op&&(t=s.spanContext().spanId)},0)}():rR(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(r8.cls={value:e.value,unit:""},y=t)},!0);return()=>{n(),r(),i(),s&&s()}}return()=>void 0}({recordClsStandaloneSpans:s||!1});t&&function(){if(r2()&&es){let e=rF("inp",({metric:e})=>{if(void 0==e.value)return;let t=e.entries.find(t=>t.duration===e.value&&ir[t.name]);if(!t)return;let{interactionId:n}=t,r=ir[t.name],i=r4(es+t.startTime),s=r4(e.value),a=ts(),o=a?ti(a):void 0,c=(null!=n?it.get(n):void 0)||o,u=c?e8(c).description:ew().getScopeData().transactionName,l=r3({name:F(t.target),transaction:u,attributes:en({[eH]:"auto.http.browser.inp",[eU]:`ui.interaction.${r}`,[eX]:t.duration}),startTime:i});l&&(l.addEvent("inp",{[ez]:"millisecond",[eW]:e.value}),l.end(i+s))},rq,g)}}(),r&&E.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=ts();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=r4(es+n.startTime),{start_timestamp:r,op:i}=e8(t);if("navigation"===i&&r&&e<r)continue;let s=r4(n.duration),a={[eH]:"auto.ui.browser.metrics"},{invoker:o,invokerType:c,sourceURL:u,sourceFunctionName:l,sourceCharPosition:p}=n.scripts[0];a["browser.script.invoker"]=o,a["browser.script.invoker_type"]=c,u&&(a["code.filepath"]=u),l&&(a["code.function"]=l),-1!==p&&(a["browser.script.source_char_position"]=p),r1(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}}).observe({type:"long-animation-frame",buffered:!0}):n&&r$("longtask",({entries:e})=>{let t=ts();if(!t)return;let{op:n,start_timestamp:r}=e8(t);for(let i of e){let e=r4(es+i.startTime),s=r4(i.duration);"navigation"===n&&r&&e<r||r1(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[eH
4]:"auto.ui.browser.metrics"}})}}),i&&r$("event",({entries:e})=>{let t=ts();if(t){for(let n of e)if("click"===n.name){let e=r4(es+n.startTime),r=r4(n.duration),i={name:F(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[eH]:"auto.ui.browser.metrics"}},s=U(n.target);s&&(i.attributes["ui.component_name"]=s),r1(t,e,e+r,i)}}});let k={name:void 0,source:void 0};function A(e,t){let n="pageload"===t.op,r=a?a(t):t,i=r.attributes||{};t.name!==r.name&&(i[eq]="custom",r.attributes=i),k.name=r.name,k.source=i[eq];let l=is(r,{idleTimeout:o,finalTimeout:c,childSpanTimeout:u,disableAutoFinish:n,beforeSpanEnd:e=>{T(),function(e,t){let n=r2();if(!n||!n.getEntries||!es)return;let r=r4(es),i=n.getEntries(),{op:s,start_timestamp:a}=e8(e);if(i.slice(r9).forEach(t=>{let n=r4(t.startTime),i=r4(Math.max(0,t.duration));if("navigation"!==s||!a||!(r+n<a))switch(t.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{r6(e,t,n,r)}),r6(e,t,"secureConnection",r,"TLS/SSL"),r6(e,t,"fetch",r,"cache"),r6(e,t,"domainLookup",r,"DNS"),function(e,t,n){let r=n+r4(t.requestStart),i=n+r4(t.responseEnd),s=n+r4(t.responseStart);t.responseEnd&&(r1(e,r,i,{op:"browser.request",name:t.name,attributes:{[eH]:"auto.ui.browser.metrics"}}),r1(e,s,i,{op:"browser.response",name:t.name,attributes:{[eH]:"auto.ui.browser.metrics"}}))}(e,t,r);break;case"mark":case"paint":case"measure":{(function(e,t,n,r,i){let s=n0(!1),a=i+Math.max(n,r4(s?s.requestStart:0)),o=i+n,c={[eH]:"auto.resource.browser.metrics"};a!==o&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=a),r1(e,a,o+r,{name:t.name,op:t.entryType,attributes:c})})(e,t,n,i,r);let s=rt(),a=t.startTime<s.firstHiddenTime;"first-paint"===t.name&&a&&(r8.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&a&&(r8.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":(function(e,t,n,r,i,s){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let a=nf(n),o={[eH]:"auto.resource.browser.metrics"};r7(o,t,"transferSize","http.response_transfer_size"),r7(o,t,"encodedBodySize","http.response_content_length"),r7(o,t,"decodedBodySize","http.decoded_response_content_length");let c=t.deliveryType;null!=c&&(o["http.response_delivery_type"]=c);let u=t.renderBlockingStatus;u&&(o["resource.render_blocking_status"]=u),a.protocol&&(o["url.scheme"]=a.protocol.split(":").pop()),a.host&&(o["server.address"]=a.host),o["url.same_origin"]=n.includes(E.location.origin);let{name:l,version:p}=r5(t.nextHopProtocol);o["network.protocol.name"]=l,o["network.protocol.version"]=p;let d=s+r;r1(e,d,d+i,{name:n.replace(E.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:o})})(e,t,t.name,n,i,r)}}),r9=Math.max(i.length-1,0),function(e){let t=E.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),r0(n.rtt)&&(r8["connection.rtt"]={value:n.rtt,unit:"millisecond"})),r0(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),r0(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===s){(function(e){let t=n0(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})})(r8);let n=r8["mark.fid"];n&&r8.fid&&(r1(e,n.value,n.value+r4(r8.fid.value),{name:"first input delay",op:"ui.action",attributes:{[eH]:"auto.ui.browser.metrics"}}),delete r8["mark.fid"]),"fcp"in r8&&t.recordClsOnPageloadSpan||delete r8.cls,Object.entries(r8).forEach(([e,t])=>{!function(e,t,n,r=ts()){let i=r&&ti(r);i&&i.addEvent(e,{[eW]:t,[ez]:n})}(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",r),e.setAttribute("performance.activationStart",n1()),_&&(_.element&&e.setAttribute("lcp.element",F(_.element)),_.id&&e.setAttribute("lcp.id",_.id),_.url&&e.setAttribute("lcp.url",_.url.trim().slice(0,200)),null!=_.loadTime&&e.setAttribute("lcp.loadTime",_.loadTime),null!=_.renderTime&&e.setAttribute("lcp.renderTime",_.renderTime),e.setAttribute("lcp.size",_.size)),y&&y.sources&&y.sources.forEac
4h((t,n)=>e.setAttribute(`cls.source.${n+1}`,F(t.node)))}_=void 0,y=void 0,r8={}}(e,{recordClsOnPageloadSpan:!s})}});function p(){["interactive","complete"].includes(E.document.readyState)&&e.emit("idleSpanEnableAutoFinish",l)}return n&&E.document&&(E.document.addEventListener("readystatechange",()=>{p()}),p()),l}return{name:"BrowserTracing",afterAllSetup(e){let n,r;let s=E.location&&E.location.href;function a(){n&&!e8(n).timestamp&&n.end()}e.on("startNavigationSpan",t=>{eA()===e&&(a(),n=A(e,{op:"navigation",...t}))}),e.on("startPageLoadSpan",(t,r={})=>{if(eA()!==e)return;a();let i=function(e,t){let n=function(e){let t;if(!e)return;let n=e.match(e3);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e),r=eV(t);if(!n||!n.traceId)return{traceId:ea(),spanId:ed()};let{traceId:i,parentSpanId:s,parentSampled:a}=n;return{traceId:i,parentSpanId:s,spanId:ed(),sampled:a,dsc:r||{}}}(r.sentryTrace||iE("sentry-trace"),r.baggage||iE("baggage"));ew().setPropagationContext(i),n=A(e,{op:"pageload",...t})}),e.on("spanEnd",e=>{let t=e8(e).op;if(e!==ti(e)||"navigation"!==t&&"pageload"!==t)return;let n=ew(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:e6(e),dsc:r.dsc||tl(e)})}),E.location&&(x&&iv(e,{name:E.location.pathname,startTime:es?es/1e3:void 0,attributes:{[eq]:"url",[eH]:"auto.pageload.browser"}}),w&&nn(({to:t,from:n})=>{if(void 0===n&&s&&-1!==s.indexOf(t)){s=void 0;return}n!==t&&(s=void 0,ib(e,{name:E.location.pathname,attributes:{[eq]:"url",[eH]:"auto.navigation.browser"}}))})),l&&E&&E.document&&E.document.addEventListener("visibilitychange",()=>{let e=ts();if(!e)return;let t=ti(e);if(E.document.hidden&&t){let{op:e,status:n}=e8(t);n||t.setStatus({code:2,message:"cancelled"}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}),i&&E.document&&addEventListener("click",()=>{let e=ts(),t=e&&ti(e);!(t&&["navigation","pageload"].includes(e8(t).op))&&(r&&(r.setAttribute(eB,"interactionInterrupted"),r.end(),r=void 0),k.name&&(r=is({name:k.name,op:"ui.action.click",attributes:{[eq]:k.source||"url"}},{idleTimeout:o,finalTimeout:c,childSpanTimeout:u})))},{once:!1,capture:!0}),t&&function(){let e=({entries:e})=>{let t=ts(),n=t&&ti(t);e.forEach(e=>{if(!("duration"in e)||!n)return;let t=e.interactionId;if(!(null==t||it.has(t))){if(ie.length>10){let e=ie.shift();it.delete(e)}ie.push(t),it.set(t,n)}})};r$("event",e),r$("first-input",e)}(),function(e,t){let{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:s,enableHTTPTimings:a,tracePropagationTargets:o}={traceFetch:id.traceFetch,traceXHR:id.traceXHR,trackFetchStreamPerformance:id.trackFetchStreamPerformance,...t},c="function"==typeof s?s:e=>!0,u=e=>(function(e,t){let n=E.location&&E.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}let s=r.origin===i;return t?G(r.toString(),t)||s&&G(r.pathname,t):s}{let n=!!e.match(/^\/(?!\/)/);return t?G(e,t):n}})(e,o),l={};n&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=ip.get(e.span_id);t&&(e.timestamp=t/1e3,ip.delete(e.span_id))}}),e)),i&&function(e){let t="fetch-body-resolved";t4(t,e),t5(t,()=>na(nc))}(e=>{if(e.response){let t=il.get(e.response);t&&e.endTimestamp&&ip.set(t,e.endTimestamp)}}),ns(e=>{let t=function(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;let s=eQ()&&t(e.fetchData.url);if(e.endTimestamp&&s){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(function(e,t){if(t.response){e1(e,t.response.status);let n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:2,message:"internal_error"});e.end()}(n,e),delete r[t]);return}let{method:a,url:o}=e.fetchData,c=function(e){try{return new URL(e).href}catch(e){return}}(o),u=c?nf(c).host:void 0,l=!!ts(),p=s&&l?rK({name:`${a} ${o}`,attributes:{url:o,type:"fetch","http.method":a,"http.url":c,"server.address":u,[eH]:i,[eU]:"http.client"}}):new rB;if(e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){let t=e.args[0],n=e.args[1]||{},r=function(e,t,n){let r=ic({span:n}),i=r["sentry-trace"],s=r.baggage;if(!i)return;let a=t.headers||("undefined"!=typeof Request&&M(e,Request)?e.headers:void 0);if(!a)return{...r};if("undefined"!=typeof Headers&&M(a,Headers)){let e=new Headers(a);if(e.set("sentry-trace",i),s){let t=e.get("baggage");if(t){let n=iu(t);e.set("baggage",n?`${n},${s}`:s)}else e.set("baggage",s)}return e}if(Array.isArray(a)){let e=[...a.filter(e=>!(Array.isArray(e)&&"sentry-trace"===e[0])).map(e=>{if(!Array.isArray(e)||"baggage"!==e[0]||"string"!=typeof e[1])return e;{let[t,n,...r]=e;return[t,iu(n),...r]}}),["sentry-trace",i]];return s&&e.push(["baggage",s]),e}{let e="baggage"in a?a.baggage:void 0,t=[];return Array.isArray(e)?t=e.map(e=>"string"==typeof e?iu(e):e).filter(e=>""===e):e&&t.push(iu(e)),s&&t.push(s),{...a,"sentry-trace":i,baggage:t.length>0?t.join(","):void 0}}}(t,n,eQ()&&l?p:void 0);r&&(e.args[1]=n,n.headers=r)}return p}(e,c,u,l);if(e.response&&e.fetchData.__span&&il.set(e.response,e.fetchData.__span),t){let n=ig(e.fetchData.url),r=n?nf(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}a&&t&&ih(t)})),r&&ne(e=>{let t=function(e,t,n,r){let i=e.xhr,s=i&&i[t7];if(!i||i.__sentry_own_request__||!s)return;let a=eQ()&&t(s.url);if(e.endTimestamp&&a){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==s.status_code&&(e1(t,s.status_code),t.end(),delete r[e]);return}let o=ig(s.url),c=o?nf(o).host:void 0,u=!!ts(),l=a&&u?rK({name:`${s.method} ${s.url}`,attributes:{type:"xhr","http.method":s.method,"http.url":o,url:s.url,"server.address":c,[eH]:"auto.http.browser",[eU]:"http.client"}}):new rB;return i.__sentry_xhr_span_id__=l.spanContext().spanId,r[i.__sentry_xhr_span_id__]=l,n(s.url)&&function(e,t){let{"sentry-trace":n,baggage:r}=ic({span:t});n&&function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch(e){}}(e,n,r)}(i,eQ()&&u?l:void 0),l}(e,c,u,l);a&&t&&ih(t)})}(e,{traceFetch:p,traceXHR:d,trackFetchStreamPerformance:v,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:b,enableHTTPTimings:S})}}};function iv(e,t,n){e.emit("startPageLoadSpan",t,n),ew().setTransactionName(t.name);let r=ts();
4return"pageload"===(r&&e8(r).op)?r:void 0}function ib(e,t){eT().setPropagationContext({traceId:ea()}),ew().setPropagationContext({traceId:ea()}),e.emit("startNavigationSpan",t),ew().setTransactionName(t.name);let n=ts();return"navigation"===(n&&e8(n).op)?n:void 0}function iE(e){var t;let n=(t=`meta[name=${e}]`,E.document&&E.document.querySelector?E.document.querySelector(t):null);return n?n.getAttribute("content"):void 0}let iS="incomplete-app-router-transaction";function ix(e){try{return new URL(e,"http://example.com/").pathname}catch(e){return"/"}}var iw=n(5632);let iT=iw.events?iw:iw.default,ik=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function iA(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function iI(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let iP=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in E&&void 0!==E.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),s=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(i||s){let e;let s=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,a=t?function(e,t){e=iA(e).slice(1),t=iA(t).slice(1);let n=iI(e.split("/")),r=iI(t.split("/")),i=Math.min(n.length,r.length),s=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){s=e;break}let a=[];for(let e=s;e<n.length;e++)a.push("..");return(a=a.concat(r.slice(s))).join("/")}(t,s):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=ik.exec(t);return n?n.slice(1):[]}(s)[2]||"";r.filename=`${n}${a}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t&&t.frames&&t.frames.map(e=>i(e))}}}})}}}catch(t){return e}}(t)),t}}},iO=({assetPrefixPath:e})=>({...iP({iteratee:t=>{try{let{origin:n}=new URL(t.filename);t.filename=v([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(n,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"});var iC=n(34406);globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE={id:"8154ac2979389bac43a4363fffd69b9ba7323e16"},globalThis._sentryBasePath=void 0,globalThis._sentryRewriteFramesAssetPrefixPath="";let iR=[400,401],i$=e=>{var t;let n=(null==e?void 0:e.isAxiosError)?null===(t=e.response)||void 0===t?void 0:t.status:void 0;return void 0!==n&&iR.includes(n)};!function(e){let t={environment:function(e){let t=e?"production":nJ.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=nW(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=iy({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){var i;r&&(i=e,E.document.getElementById("__NEXT_DATA__")?iT.events.on("routeChangeStart",e=>{let t,n;let r=e.split(/[?#]/,1)[0],s=function(e){let t=(E.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let n=function(e){let t=e.split("/"),n="";v([t,"access",e=>e[t.length-1],"optionalAccess",e=>e.match,"call",e=>e(/^\[\[\.\.\..+\]\]$/)])&&(t.pop(),n="(?:/(.+?))?");let r=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${n}(?:/)?$`)}(t);return e.match(n)})}(r);s?(t=s,n="route"):(t=r,n="url"),ib(i,{name:t,attributes:{[eU]:"navigation",[eH]:"auto.navigation.nextjs.pages_router_instrumentation",[eq]:n}})}):function(e){let t;E.addEventListener("popstate",()=>{t&&t.isRecording()?(t.updateName(E.location.pathname),t.setAttribute(eq,"url")):t=ib(e,{name:E.location.pathname,attributes:{[eU]:"navigation",[eH]:"auto.navigation.nextjs.app_router_instrumentation",[eq]:"url","navigation.type":"browser.popstate"}})});let n=!1,r=0,i=setInterval(()=>{var s,a;r++;let o=(s=v([E,"optionalAccess",e=>e.next,"optionalAccess",e=>e.router]),a=()=>v([E,"optionalAccess",e=>e.nd,"optionalAccess",e=>e.router]),null!=s?s:a());n||r>500?clearInterval(i):o&&(clearInterval(i),n=!0,["back","forward","push","replace"].forEach(n=>{v([o,"optionalAccess",e=>e[n]])&&(o[n]=new Proxy(o[n],{apply(r,i,s){let a=ib(e,{name:iS,attributes:{[eU]:"navigation",[eH]:"auto.navigation.nextjs.app_router_instrumentation",[eq]:"url"}});return t=a,"push"===n?(v([a,"optionalAccess",e=>e.updateName,"call",e=>e(ix(s[0]))]),v([a,"optionalAccess",e=>e.setAttribute,"call",e=>e(eq,"url")]),v([a,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.push")])):"replace"===n?(v([a,"optionalAccess",e=>e.updateName,"call",e=>e(ix(s[0]))]),v([a,"optionalAccess",e=>e.setAttribute,"call",e=>e(eq,"url")]),v([a,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.replace")])):"back"===n?v([a,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.back")]):"forward"===n&&v([a,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.forward")]),r.apply(i,s)}}))}))},20)}(i)),t.afterAllSetup(e),n&&(E.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:n,sentryTrace:r,baggage:i}=function(){let e;let t=E.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){}if(!e)return{};let n={},{page:r,query:i,props:s}=e;return n.route=r,n.params=i,s&&s.pageProps&&(n.sentryTrace=s.pageProps._sentryTraceData,n.baggage=s.pageProps._sentryBaggage),n}(),s=eK(i),a=t||E.location.pathname;s&&s["sentry-transaction"]&&"/_error"===a&&(a=(a=s["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,"")),iv(e,{name:a,startTime:es?es/1e3:void 0,attributes:{[eU]:"pageload",[eH]:"auto.pageload.nextjs.pages_router_instrumentation",[eq]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:i})}(e):iv(e,{name:E.location.pathname,startTime:es?es/1e3:void 0,attributes:{[eU]:"pageload",[eH]:"auto.pageload.nextjs.app_router_instrumentation",[eq]:"url"}}))}}}());let n=E._sentryRewriteFramesAssetPrefixPath||"";return t.push(iO({assetPrefixPath:n})),t}(e),...e};(function(e){let t=iC.env._sentryRewritesTunnelPath||E._sentryRewritesTunnelPath;if(t&&e.dsn){let n=tD(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],s=r[2],a=`${t}?o=${i}&p=${n.projectId}`;s&&(a+=`&r=${s}`),e.tunnel=a}}})(t),x(t,"nextjs",["nextjs","react"]),function(e){var t,n;let r={...e};x(r,"react"),t="react",n={version:nG.version},eT().setContext(t,n),function(e={}){var t;let n=function(e={}){let t={defaultIntegrations:nW(e),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:E.SENTRY_RELEASE&&E.SENTRY_RELEASE.id?E.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(!n.skipBrowserExtensionCheck&&function(){let e=void 0!==E.window&&E;if(!e)return!1;let t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,i=E.location&&E.location.href||"",s=!!r&&E===E.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>i.startsWith(`${e}//`)),a=void 0!==e.nw;return!!r&&!s&&!a}()){z(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}(function(e,t){!0===t.debug&&z(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}),ew().update(t.initialScope);let n=new e(t);ew().setClient(n),n.init()})(t1,{...n,stackParser:Array.isArray(t=n.stackParser||nF)?e$(...t):t,integrations:function(e){let t;let n=e.defaultIntegrations||[],r=e.integrations;
4if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))t=[...n,...r];else if("function"==typeof r){let e=r(n);t=Array.isArray(e)?e:[e]}else t=n;let i=function(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(t),s=i.findIndex(e=>"Debug"===e.name);if(s>-1){let[e]=i.splice(s,1);i.push(e)}return i}(n),transport:n.transport||nz})}(r)}(t);let n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",th(n);let r=e=>"transaction"===e.type&&e.transaction===iS?null:e;r.id="IncompleteTransactionFilter",th(r);let i=(e,t)=>{var n;return I(n=v([t,"optionalAccess",e=>e.originalException]))&&"string"==typeof n.digest&&n.digest.startsWith("NEXT_REDIRECT;")?null:e};i.id="NextRedirectErrorFilter",th(i)}({dsn:"https://444fbfdbda6b570aec8428b789b16ebd@o4507298145894400.ingest.us.sentry.io/4508652041338880",environment:"production",debug:!1,beforeSend:(e,t)=>i$(t.originalException)?null:e})},5632:function(e,t,n){e.exports=n(37043)},34406:function(e){var t,n,r,i=e.exports={};function s(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:s}catch(e){t=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,l=-1;function p(){u&&r&&(u=!1,r.length?c=r.concat(c):l=-1,c.length&&d())}function d(){if(!u){var e=o(p);u=!0;for(var t=c.length;t;){for(r=c,c=[];++l<t;)r&&r[l].run();l=-1,t=c.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||u||o(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(5702),t(71588),t(37043)}),_N_E=e.O()}]);
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.