1"use strict";(self.webpackChunkcoolcredit_frontend=self.webpackChunkcoolcredit_frontend||[]).push([[76],{4693:function(t,e,n){n.d(e,{T:function(){return r}});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},5295:function(t,e,n){n.d(e,{_:function(){return a}});var r=n(26131);const o=n(92575).O;var s=n(40873),i=n(14910);let c;function a(t){const e="history";(0,r.s5)(e,t),(0,r.AS)(e,u)}function u(){if(!function(){const t=o.chrome,e=t&&t.app&&t.app.runtime,n="history"in o&&!!o.history.pushState&&!!o.history.replaceState;return!e&&n}())return;const t=i.j.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=c,e=String(n);c=e;const o={from:t,to:e};(0,r.aj)("history",o)}return t.apply(this,e)}}i.j.onpopstate=function(...e){const n=i.j.location.href,o=c;c=n;const s={from:o,to:n};if((0,r.aj)("history",s),t)try{return t.apply(this,e)}catch(t){}},(0,s.GS)(i.j.history,"pushState",e),(0,s.GS)(i.j.history,"replaceState",e)}},35947:function(t,e,n){n.d(e,{Er:function(){return c},Mn:function(){return a}});var r=n(26131),o=n(90519),s=n(30690),i=n(14910);const c="__sentry_xhr_v3__";function a(t){(0,r.s5)("xhr",t),(0,r.AS)("xhr",u)}function u(){if(!i.j.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(t,e,n){const i=1e3*(0,o.zf)(),a=(0,s.Kg)(n[0])?n[0].toUpperCase():void 0,u=function(t){if((0,s.Kg)(t))return t;try{return t.toString()}catch(t){}return}(n[1]);if(!a||!u)return t.apply(e,n);e[c]={method:a,url:u,request_headers:{}},"POST"===a&&u.match(/sentry_key/)&&(e.__sentry_own_request__=!0);const f=()=>{const t=e[c];if(t&&4===e.readyState){try{t.status_code=e.status}catch(t){}const n={endTimestamp:1e3*(0,o.zf)(),startTimestamp:i,xhr:e};(0,r.aj)("xhr",n)}};return"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?e.onreadystatechange=new Proxy(e.onreadystatechange,{apply(t,e,n){return f(),t.apply(e,n)}}):e.addEventListener("readystatechange",f),e.setRequestHeader=new Proxy(e.setRequestHeader,{apply(t,e,n){const[r,o]=n,i=e[c];return i&&(0,s.Kg)(r)&&(0,s.Kg)(o)&&(i.request_headers[r.toLowerCase()]=o),t.apply(e,n)}}),t.apply(e,n)}}),t.send=new Proxy(t.send,{apply(t,e,n){const s=e[c];if(!s)return t.apply(e,n);void 0!==n[0]&&(s.body=n[0]);const i={startTimestamp:1e3*(0,o.zf)(),xhr:e};return(0,r.aj)("xhr",i),t.apply(e,n)}})}},14910:function(t,e,n){n.d(e,{j:function(){return r}});const r=n(92575).O},49431:function(t,e,n){n.d(e,{T:function(){return r}});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},90452:function(t,e,n){n.d(e,{LV:function(){return d},jN:function(){return f},jf:function(){return a}});var r=n(92575),o=n(40873),s=n(57968),i=n(44910),c=n(64251);const a=r.O;let u=0;function f(){return u>0}function d(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return"function"==typeof e?e:t;if((0,o.sp)(t))return t}catch(e){return t}const r=function(){const n=Array.prototype.slice.call(arguments);try{const r=n.map((t=>d(t,e)));return t.apply(this,r)}catch(t){throw u++,setTimeout((()=>{u--})),(0,s.v4)((r=>{r.addEventProcessor((t=>(e.mechanism&&((0,i.gO)(t,void 0,void 0),(0,i.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:n},t))),(0,c.Cp)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}catch(t){}(0,o.pO)(r,t),(0,o.my)(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch(t){}return r}},85076:function(t,e,n){n.d(e,{Ts:function(){return fe}});var r=n(26674),o=n(5602);const s=[];function i(t){const e=t.defaultIntegrations||[],n=t.integrations;let r;if(e.forEach((t=>{t.isDefaultInstance=!0})),Array.isArray(n))r=[...e,...n];else if("function"==typeof n){const t=n(e);r=Array.isArray(t)?t:[t]}else r=e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.values(e)}(r),s=o.findIndex((t=>"Debug"===t.name));if(s>-1){const[t]=o.splice(s,1);o.push(t)}return o}function c(t,e){for(const n of e)n&&n.afterAllSetup&&n.afterAllSetup(t)}function a(t,e,n){if(n[e.name])r.T&&o.vF.log(`Integration skipped because it was already installed: ${e.name}`);else{if(n[e.name]=e,-1===s.indexOf(e.name)&&"function"==typeof e.setupOnce&&(e.setupOnce(),s.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if("function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}r.T&&o.vF.log(`Integration installed: ${e.name}`)}}var u=n(44910),f=n(2323);const d=[/^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"],l=(t={})=>({name:"InboundFilters",processEvent(e,n,s){const i=s.getOptions(),c=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:d],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,i);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return r.T&&o.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,u.$X)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));return e}(t).some((t=>(0,f.Xr)(t,e)))}(t,e.ignoreErrors))return r.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,u.$X)(t)}`),!0;if(function(t){if(t.type)return!1;if(!t.exception||!t.exception.values||0===t.exception.values.length)return!1;return!t.message&&!t.exception.values.some((t=>t.stacktrace||t.type&&"Error"!==t.type||t.value))}(t))return r.T&&o.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,u.$X)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,f.Xr)(n,e)}(t,e.ignoreTransactions))return r.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,u.$X)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=p(t);return!!n&&(0,f.Xr)(n,e)}(t,e.denyUrls))return r.T&&o.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,u.$X)(t)}.\nUrl: ${p(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=p(t);return!n||(0,f.Xr)(n,e)}(t,e.allowUrls))return r.T&&o.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,u.$X)(t)}.\nUrl: ${p(t)}`),!0;return!1}(e,c)?null:e}});function p(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return r.T&&o.vF.error(`Cannot extract url for event ${(0,u.$X)(t)}`),null}}var h=n(57968),g=n(40873);let m;const _=new WeakMap,v=()=>({name:"FunctionToString",setupOnce(){m=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,g.sp)(this),n=_.has((0,h.KU)())&&void 0!==e?e:this;return m.apply(n,t)}}catch(t){}},setup(t){_.set(t,!0)}});var y=n(20527);const b=()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!E(t,e))return!1;if(!S(t,e))return!1;return!0}(t,e))return!0;
1if(function(t,e){const n=x(e),r=x(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!E(t,e))return!1;if(!S(t,e))return!1;return!0}(t,e))return!0;return!1}(e,t))return r.T&&o.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return t=e}}};function S(t,e){let n=(0,y.RV)(t),r=(0,y.RV)(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t<r.length;t++){const e=r[t],o=n[t];if(e.filename!==o.filename||e.lineno!==o.lineno||e.colno!==o.colno||e.function!==o.function)return!1}return!0}function E(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function x(t){return t.exception&&t.exception.values&&t.exception.values[0]}var w=n(98822);function k(t,e){!0===e.debug&&(r.T?o.vF.enable():(0,o.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));(0,h.o5)().update(e.initialScope);const n=new t(e);return function(t){(0,h.o5)().setClient(t)}(n),n.init(),n}var T=n(64251),O=n(5295);function j(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function $(t,e,n){return e||`${function(t){return`${j(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){const n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}(t,n)}`}var D=n(75330),C=n(59328),N=n(31158),I=n(87202),A=n(90519);var P=n(87961);class R extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}var L=n(30690),M=n(20572),F=n(91773),U=n(45333),q=n(5915);const H="Not capturing exception because it's already been captured.";class J{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,P.AD)(t.dsn):r.T&&o.vF.warn("No DSN provided, client will not send events."),this._dsn){const e=$(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}const e=["enableTracing","tracesSampleRate","tracesSampler"].find((e=>e in t&&null==t[e]));e&&(0,o.pq)((()=>{console.warn(`[Sentry] Deprecation warning: \`${e}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)}))}captureException(t,e,n){const s=(0,u.eJ)();if((0,u.GR)(t))return r.T&&o.vF.log(H),s;const i={event_id:s,...e};return this._process(this.eventFromException(t,i).then((t=>this._captureEvent(t,i,n)))),i.event_id}captureMessage(t,e,n,r){const o={event_id:(0,u.eJ)(),...n},s=(0,L.NF)(t)?t:String(t),i=(0,L.sO)(t)?this.eventFromMessage(s,e,o):this.eventFromException(t,o);return this._process(i.then((t=>this._captureEvent(t,o,r)))),o.event_id}captureEvent(t,e,n){const s=(0,u.eJ)();if(e&&e.originalException&&(0,u.GR)(e.originalException))return r.T&&o.vF.log(H),s;const i={event_id:s,...e},c=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,i,c||n)),i.event_id}captureSession(t){"string"!=typeof t.release?r.T&&o.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,C.qO)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;
1return e?(this.emit("flush"),this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t))))):(0,M.XW)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,this.emit("close"),t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some((({name:t})=>t.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];a(this,t,this._integrations),e||c(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,D.V7)(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,I.W3)(n,(0,I.bm)(t));const r=this.sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=(0,D.LE)(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const s="number"==typeof n?n:1,i=`${t}:${e}`;r.T&&o.vF.log(`Recording outcome: "${i}"${s>1?` (${s} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+s}}on(t,e){const n=this._hooks[t]=this._hooks[t]||[];return n.push(e),()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach((t=>t(...e)))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,(t=>(r.T&&o.vF.error("Error while sending envelope:",t),t))):(r.T&&o.vF.error("Transport disabled"),(0,M.XW)({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=function(t,e){const n={};return e.forEach((e=>{e&&a(t,e,n)})),n}(this,t),c(this,t)}_updateSessionFromEvent(t,e){let n=!1,r=!1;const o=e.exception&&e.exception.values;if(o){r=!0;for(const t of o){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const s="ok"===t.status;(s&&0===t.errors||s&&n)&&((0,C.qO)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new M.T2((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n=(0,h.o5)(),r=(0,h.rm)()){const o=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),(0,U.mG)(o,t,e,n,this,r).then((t=>{if(null===t)return t;t.contexts={trace:(0,h.vn)(n),...t.contexts};const e=(0,N.ao)(this,n);return t.sdkProcessingMetadata={dynamicSamplingContext:e,...t.sdkProcessingMetadata},t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if(r.T){const e=t;"log"===e.logLevel?o.vF.log(e.message):o.vF.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:o}=r,s=B(t),i=K(t),c=t.type||"error",a=`before send for type \`${c}\``,u=void 0===o?void 0:(0,F.i)(o);if(i&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",t),(0,M.xg)(new R(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const f="replay_event"===c?"replay":c,d=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,n,d).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",f,t),new R("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const o=function(t,e,n,r){const{beforeSend:o,beforeSendTransaction:s,beforeSendSpan:i}=e;if(K(n)&&o)return o(n,r);if(B(n)){if(n.spans&&i){const e=[];for(const r of n.spans){const n=i(r);n?e.push(n):((0,q.xl)(),t.recordDroppedEvent("before_send","span"))}n.spans=e}if(s){if(n.spans){const t=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return s(n,r)}}return n}(this,r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,L.Qg)(t))return t.then((t=>{if(!(0,L.Qd)(t)&&null!==t)throw new R(n);return t}),(t=>{throw new R(`${e} rejected with ${t}`)}));if(!(0,L.Qd)(t)&&null!==t)throw new R(n);return t}(o,a)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",f,t),s){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw new R(`${a} returned \`null\`, will not send event.`,"log")}const o=n&&n.getSession();if(!s&&o&&this._updateSessionFromEvent(o,r),s){const t=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const i=r.transaction_info;if(s&&i&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...i,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof R)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new R(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map((([t,e])=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e}}))}_flushOutcomes(){r.T&&o.vF.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(r.T&&o.vF.log("No outcomes to send"));if(!this._dsn)return void(r.T&&o.vF.log("No dsn provided, will not send outcomes"));r.T&&o.vF.log("Sending outcomes:",t);const e=function(t,e,n){const r=[{type:"client_report"},{timestamp:n||(0,A.lu)(),discarded_events:t}];return(0,I.h4)(e?{dsn:e}:{},[r])}(t,this._options.tunnel&&(0,P.SB)(this._dsn));this.sendEnvelope(e)}}function K(t){return void 0===t.type}function B(t){return"transaction"===t.type}var G=n(8251),W=n(49431),z=n(52879);function X(t,e){const n=Q(t,e),r={type:et(e),value:nt(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function V(t,e,n,r){const o=(0,h.KU)(),s=o&&o.getOptions().normalizeDepth,i=function(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}return}(e),c={__serialized__:(0,z.cd)(e,s)};if(i)return{exception:{values:[X(t,i)]},extra:c};const a={exception:{values:[{type:(0,L.xH)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:st(e,{isUnhandledRejection:r})}]},extra:c};if(n){const e=Q(t,n);e.length&&(a.exception.values[0].stacktrace={frames:e})}return a}function Y(t,e){return{exception:{values:[X(t,e)]}}}function Q(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t&&Z.test(t.message))return 1;return 0}(e),o=function(t){if("number"==typeof t.framesToPop)return t.framesToPop;return 0}(e);try{return t(n,r,o)}catch(t){}return[]}const Z=/Minified React error #\d+;/i;function tt(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function et(t){const e=t&&t.name;if(!e&&tt(t)){return t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception"}return e}function nt(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:tt(t)&&Array.isArray(t.message)&&2==t.message.length?t.message[1]:e:"No error message"}function rt(t,e,n,r,o){let s;if((0,L.T2)(e)&&e.error){return Y(t,e.error)}if((0,L.BD)(e)||(0,L.W6)(e)){const o=e;if("stack"in e)s=Y(t,e);else{const e=o.name||((0,L.BD)(o)?"DOMError":"DOMException"),i=o.message?`${e}: ${o.message}`:e;s=ot(t,i,n,r),(0,u.gO)(s,i)}return"code"in o&&(s.tags={...s.tags,"DOMException.code":`${o.code}`}),s}if((0,L.bJ)(e))return Y(t,e);if((0,L.Qd)(e)||(0,L.xH)(e)){return s=V(t,e,n,o),(0,u.M6)(s,{synthetic:!0}),s}return s=ot(t,e,n,r),(0,u.gO)(s,`${e}`,void 0),(0,u.M6)(s,{synthetic:!0}),s}function ot(t,e,n,r){const o={};if(r&&n){const r=Q(t,n);r.length&&(o.exception={values:[{value:e,stacktrace:{frames:r}}]})}
1if((0,L.NF)(e)){const{__sentry_template_string__:t,__sentry_template_values__:n}=e;return o.logentry={message:t,params:n},o}return o.message=e,o}function st(t,{isUnhandledRejection:e}){const n=(0,g.HF)(t),r=e?"promise rejection":"exception";if((0,L.T2)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,L.xH)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var it=n(90452);class ct extends J{constructor(t){const e={parentSpanIsAlwaysRootSpan:!0,...t},n=it.jf.SENTRY_SDK_SOURCE||"npm";(0,G.K)(e,"browser",["browser"],n),super(e),e.sendClientReports&&it.jf.document&&it.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===it.jf.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return function(t,e,n,r){const o=rt(t,e,n&&n.syntheticException||void 0,r);return(0,u.M6)(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),(0,M.XW)(o)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,o){const s=ot(t,e,r&&r.syntheticException||void 0,o);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),(0,M.XW)(s)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(W.T&&o.vF.warn("SDK not enabled, will not capture user feedback."));const e=function(t,{metadata:e,tunnel:n,dsn:r}){const o={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!r&&{dsn:(0,P.SB)(r)}},s=function(t){return[{type:"user_report"},t]}(t);return(0,I.h4)(o,[s])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}}var at=n(26131),ut=n(14910);let ft,dt,lt;function pt(){if(!ut.j.document)return;const t=at.aj.bind(null,"dom"),e=ht(t,!0);ut.j.document.addEventListener("click",e,!1),ut.j.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=ut.j[e]&&ut.j[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,g.GS)(n,"addEventListener",(function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this,s=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=s[n]=s[n]||{refCount:0};if(!i.handler){const r=ht(t);i.handler=r,e.call(this,n,r,o)}i.refCount++}catch(t){}return e.call(this,n,r,o)}})),(0,g.GS)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,o=n.__sentry_instrumentation_handlers__||{},s=o[e];s&&(s.refCount--,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}function ht(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;(0,g.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,g.my)(r,"_sentryId",(0,u.eJ)());const o="keypress"===n.type?"input":n.type;if(!function(t){if(t.type!==dt)return!1;try{if(!t.target||t.target._sentryId!==lt)return!1}catch(t){}return!0}(n)){t({event:n,name:o,global:e}),dt=n.type,lt=r?r._sentryId:void 0}clearTimeout(ft),ft=ut.j.setTimeout((()=>{lt=void 0,dt=void 0}),1e3)}}var gt=n(35947),mt=n(92575);function _t(){"console"in mt.O&&o.Ow.forEach((function(t){t in mt.O.console&&(0,g.GS)(mt.O.console,t,(function(e){return o.Z9[t]=e,function(...e){const n={args:e,level:t};(0,at.aj)("console",n);const r=o.Z9[t];r&&r.apply(mt.O.console,e)}}))}))}var vt=n(66220);const yt=100;function bt(t,e){const n=(0,h.KU)(),r=(0,h.rm)();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=yt}=n.getOptions();if(i<=0)return;const c={timestamp:(0,A.lu)(),...t},a=s?(0,o.pq)((()=>s(c,e))):c;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,e),r.addBreadcrumb(a,i)
1)}var St=n(87320);function Et(t){return"warn"===t?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}function xt(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}var wt=n(51669);const kt=1024,Tt=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){var n;e.console&&function(t){const e="console";(0,at.s5)(e,t),(0,at.AS)(e,_t)}(function(t){return function(e){if((0,h.KU)()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:Et(e.level),message:(0,f.gt)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message=`Assertion failed: ${(0,f.gt)(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1)}bt(n,{input:e.args,level:e.level})}}(t)),e.dom&&(n=function(t,e){return function(n){if((0,h.KU)()!==t)return;let r,s,i="object"==typeof e?e.serializeAttribute:void 0,c="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;c&&c>kt&&(W.T&&o.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${c} was configured. Sentry will use 1024 instead.`),c=kt),"string"==typeof i&&(i=[i]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=(0,St.Hd)(e,{keyAttrs:i,maxStringLength:c}),s=(0,St.xE)(e)}catch(t){r="<unknown>"}if(0===r.length)return;const a={category:`ui.${n.name}`,message:r};s&&(a.data={"ui.component_name":s}),bt(a,{event:n.event,name:n.name,global:n.global})}}(t,e.dom),(0,at.s5)("dom",n),(0,at.AS)("dom",pt)),e.xhr&&(0,gt.Mn)(function(t){return function(e){if((0,h.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,o=e.xhr[gt.Er];if(!n||!r||!o)return;const{method:s,url:i,status_code:c,body:a}=o,u={method:s,url:i,status_code:c},f={xhr:e.xhr,input:a,startTimestamp:n,endTimestamp:r};bt({category:"xhr",data:u,type:"http",level:xt(c)},f)}}(t)),e.fetch&&(0,vt.ur)(function(t){return function(e){if((0,h.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){bt({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:n,endTimestamp:r})}else{const t=e.response,o={...e.fetchData,status_code:t&&t.status},s={input:e.args,response:t,startTimestamp:n,endTimestamp:r};bt({category:"fetch",data:o,type:"http",level:xt(o.status_code)},s)}}}(t)),e.history&&(0,O._)(function(t){return function(e){if((0,h.KU)()!==t)return;let n=e.from,r=e.to;const o=(0,wt.Dl)(it.jf.location.href);let s=n?(0,wt.Dl)(n):void 0;const i=(0,wt.Dl)(r);s&&s.path||(s=o),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),bt({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){(0,h.KU)()===t&&bt({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,u.$X)(e)},{event:e})}}(t))}}};const Ot=["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"],jt=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,g.GS)(it.jf,"setTimeout",$t),e.setInterval&&(0,g.GS)(it.jf,"setInterval",$t),e.requestAnimationFrame&&(0,g.GS)(it.jf,"requestAnimationFrame",Dt),e.XMLHttpRequest&&"XMLHttpRequest"in it.jf&&(0,g.GS)(XMLHttpRequest.prototype,"send",Ct);const t=e.eventTarget;if(t){(Array.isArray(t)?t:Ot).forEach(Nt)}}}};function $t(t){return function(...e){const n=e[0];return e[0]=(0,it.LV)(n,{mechanism:{data:{function:(0,y.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function Dt(t){return function(e){return t.apply(this,[(0,it.LV)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,y.qQ)(t)},handled:!1,type:"instrument"}})])}}function Ct(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,g.GS)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,y.qQ)(e)},handled:!1,type:"instrument"}},r=(0,g.sp)(e);
1return r&&(n.mechanism.data.handler=(0,y.qQ)(r)),(0,it.LV)(e,n)}))})),t.apply(this,e)}}function Nt(t){const e=it.jf,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,g.GS)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,it.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,y.qQ)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,it.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,y.qQ)(r),target:t},handled:!1,type:"instrument"}}),o])}})),(0,g.GS)(n,"removeEventListener",(function(t){return function(e,n,r){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,o,r)}})))}var It=n(17227),At=n(77587);const Pt=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(!function(t){(0,It.L)((e=>{const{stackParser:n,attachStacktrace:r}=Lt();if((0,h.KU)()!==t||(0,it.jN)())return;const{msg:o,url:s,line:i,column:c,error:a}=e,u=function(t,e,n,r){const o=t.exception=t.exception||{},s=o.values=o.values||[],i=s[0]=s[0]||{},c=i.stacktrace=i.stacktrace||{},a=c.frames=c.frames||[],u=isNaN(parseInt(r,10))?void 0:r,f=isNaN(parseInt(n,10))?void 0:n,d=(0,L.Kg)(e)&&e.length>0?e:(0,St.$N)();0===a.length&&a.push({colno:u,filename:d,function:y.yF,in_app:!0,lineno:f});return t}(rt(n,a||o,void 0,r,!1),s,i,c);u.level="error",(0,T.r)(u,{originalException:a,mechanism:{handled:!1,type:"onerror"}})}))}(t),Rt("onerror")),e.onunhandledrejection&&(!function(t){(0,At.r)((e=>{const{stackParser:n,attachStacktrace:r}=Lt();if((0,h.KU)()!==t||(0,it.jN)())return;const o=function(t){if((0,L.sO)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(t){}return t}(e),s=(0,L.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:rt(n,o,void 0,r,!0);s.level="error",(0,T.r)(s,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(t),Rt("onunhandledrejection"))}}};function Rt(t){W.T&&o.vF.log(`Global Handler attached: ${t}`)}function Lt(){const t=(0,h.KU)();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Mt=()=>({name:"HttpContext",preprocessEvent(t){if(!it.jf.navigator&&!it.jf.location&&!it.jf.document)return;const e=t.request&&t.request.url||it.jf.location&&it.jf.location.href,{referrer:n}=it.jf.document||{},{userAgent:r}=it.jf.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...t.request,...e&&{url:e},headers:o};t.request=s}});function Ft(t,e,n=250,r,o,s,i){if(!(s.exception&&s.exception.values&&i&&(0,L.tH)(i.originalException,Error)))return;const c=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;var a,u;c&&(s.exception.values=(a=Ut(t,e,o,i.originalException,r,s.exception.values,c,0),u=n,a.map((t=>(t.value&&(t.value=(0,f.xv)(t.value,u)),t)))))}function Ut(t,e,n,r,o,s,i,c){if(s.length>=n+1)return s;let a=[...s];if((0,L.tH)(r[o],Error)){qt(i,c);const s=t(e,r[o]),u=a.length;Ht(s,o,u,c),a=Ut(t,e,n,r[o],o,[s,...a],s,u)}return Array.isArray(r.errors)&&r.errors.forEach(((r,s)=>{if((0,L.tH)(r,Error)){qt(i,c);const u=t(e,r),f=a.length;Ht(u,`errors[${s}]`,f,c),a=Ut(t,e,n,r,o,[u,...a],u,f)}})),a}function qt(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function Ht(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}const Jt=(t={})=>{const e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,r,o){const s=o.getOptions();Ft(X,s.stackParser,s.maxValueLength,n,e,t,r)}}};function Kt(t,e,n,r){const o={filename:t,function:"<anonymous>"===e?y.yF:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const Bt=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Gt=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Wt=/\((\S*)(?::(\d+))(?::(\d+))\)/,zt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Xt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Vt=[[30,t=>{const e=Bt.exec(t);if(e){const[,t,n,r]=e;return Kt(t,y.yF,+n,+r)}const n=Gt.exec(t);if(n){if(n[2]&&0===n[2].indexOf("eval")){const t=Wt.exec(n[2]);t&&(n[2]=t[1],n[3]=t[2],n[4]=t[3])}const[t,e]=Qt(n[1]||y.yF,n[2]);return Kt(e,t,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,t=>{const e=zt.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=Xt.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||y.yF;
1return[n,t]=Qt(n,t),Kt(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],Yt=(0,y.gd)(...Vt),Qt=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:y.yF,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};var Zt=n(4693);const te={};function ee(t){const e=te[t];if(e)return e;let n=ut.j[t];if((0,w.a3)(n))return te[t]=n.bind(ut.j);const r=ut.j.document;if(r&&"function"==typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const o=e.contentWindow;o&&o[t]&&(n=o[t]),r.head.removeChild(e)}catch(e){Zt.T&&o.vF.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}return n?te[t]=n.bind(ut.j):n}function ne(t){te[t]=void 0}function re(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return(0,M.xg)(new R("Not adding Promise because buffer limit was reached."));const o=r();return-1===e.indexOf(o)&&e.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(t){return new M.T2(((n,r)=>{let o=e.length;if(!o)return n(!0);const s=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,M.XW)(t).then((()=>{--o||(clearTimeout(s),n(!0))}),r)}))}))}}}const oe=6e4;function se(t,{statusCode:e,headers:n},r=Date.now()){const o={...t},s=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(s)for(const t of s.trim().split(",")){const[e,n,,,s]=t.split(":",5),i=parseInt(e,10),c=1e3*(isNaN(i)?60:i);if(n)for(const t of n.split(";"))"metric_bucket"===t&&s&&!s.split(";").includes("custom")||(o[t]=r+c);else o.all=r+c}else i?o.all=r+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${t}`);return isNaN(r)?oe:r-e}(i,r):429===e&&(o.all=r+6e4);return o}const ie=64;function ce(t,e,n=re(t.bufferSize||ie)){let s={};return{send:function(i){const c=[];if((0,I.yH)(i,((e,n)=>{const r=(0,I.zk)(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(s,r)){const o=ae(e,n);t.recordDroppedEvent("ratelimit_backoff",r,o)}else c.push(e)})),0===c.length)return(0,M.XW)({});const a=(0,I.h4)(i[0],c),u=e=>{(0,I.yH)(a,((n,r)=>{const o=ae(n,r);t.recordDroppedEvent(e,(0,I.zk)(r),o)}))};return n.add((()=>e({body:(0,I.bN)(a)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&r.T&&o.vF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),s=se(s,t),t)),(t=>{throw u("network_error"),t})))).then((t=>t),(t=>{if(t instanceof R)return r.T&&o.vF.error("Skipped sending event because buffer is full."),u("queue_overflow"),(0,M.XW)({});throw t}))},flush:t=>n.drain(t)}}function ae(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function ue(t,e=ee("fetch")){let n=0,r=0;return ce(t,(function(o){const s=o.body.length;n+=s,r++;const i={body:o.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};if(!e)return ne("fetch"),(0,M.xg)("No fetch implementation available");try{return e(t.url,i).then((t=>(n-=s,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return ne("fetch"),n-=s,r--,(0,M.xg)(t)}}))}function fe(t={}){const e=function(t={}){const e={defaultIntegrations:[l(),v(),jt(),Tt(),Pt(),Jt(),b(),Mt()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:it.jf.SENTRY_RELEASE&&it.jf.SENTRY_RELEASE.id?it.jf.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==t.defaultIntegrations&&delete t.defaultIntegrations,{...e,...t}}(t);if(!e.skipBrowserExtensionCheck&&function(){const t=void 0!==it.jf.window&&it.jf;if(!t)return!1;const e=t[t.chrome?"chrome":"browser"],n=e&&e.runtime&&e.runtime.id,r=it.jf.location&&it.jf.location.href||"",o=!!n&&it.jf===it.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((t=>r.startsWith(`${t}//`))),s=void 0!==t.nw;return!!n&&!o&&!s}())return void(0,o.pq)((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));W.T&&((0,w.vm)()||o.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...e,stackParser:(0,y.vk)(e.stackParser||Yt),integrations:i(e),transport:e.transport||ue},r=k(ct,n);return e.autoSessionTracking&&function(){if(void 0===it.jf.document)return void(W.T&&o.vF.warn("Session tracking in non-browser environment with @
1sentry/browser is not supported."));(0,T.J0)({ignoreDuration:!0}),(0,T.J5)(),(0,O._)((({from:t,to:e})=>{void 0!==t&&t!==e&&((0,T.J0)({ignoreDuration:!0}),(0,T.J5)())}))}(),r}},92328:function(t,e,n){n.d(e,{h:function(){return l}});var r=n(95200),o=n(94988),s=n(92575);var i=n(30690);class c{constructor(t,e){let n,r;n=t||new o.H,r=e||new o.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return(0,i.Qg)(n)?n.then((t=>(this._popScope(),t)),(t=>{throw this._popScope(),t})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function a(){const t=(0,r.E)(),e=(0,r.S)(t);return e.stack=e.stack||new c((0,s.B)("defaultCurrentScope",(()=>new o.H)),(0,s.B)("defaultIsolationScope",(()=>new o.H)))}function u(t){return a().withScope(t)}function f(t,e){const n=a();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function d(t){return a().withScope((()=>t(a().getIsolationScope())))}function l(t){const e=(0,r.S)(t);return e.acs?e.acs:{withIsolationScope:d,withScope:u,withSetScope:f,withSetIsolationScope:(t,e)=>d(e),getCurrentScope:()=>a().getScope(),getIsolationScope:()=>a().getIsolationScope()}}},95200:function(t,e,n){n.d(e,{E:function(){return s},S:function(){return i}});var r=n(21472),o=n(92575);function s(){return i(o.O),o.O}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r.M,e[r.M]=e[r.M]||{}}},7313:function(t,e,n){n.d(e,{U:function(){return r}});const r="production"},57968:function(t,e,n){n.d(e,{KU:function(){return l},m6:function(){return f},o5:function(){return a},rm:function(){return u},v4:function(){return d},vn:function(){return p}});var r=n(92328),o=n(95200),s=n(94988),i=n(40873),c=n(92575);function a(){const t=(0,o.E)();return(0,r.h)(t).getCurrentScope()}function u(){const t=(0,o.E)();return(0,r.h)(t).getIsolationScope()}function f(){return(0,c.B)("globalScope",(()=>new s.H))}function d(...t){const e=(0,o.E)(),n=(0,r.h)(e);if(2===t.length){const[e,r]=t;return e?n.withSetScope(e,r):n.withScope(r)}return n.withScope(t[0])}function l(){return a().getClient()}function p(t){const e=t.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:o}=e;return(0,i.Ce)({trace_id:n,span_id:r,parent_span_id:o})}},26674:function(t,e,n){n.d(e,{T:function(){return r}});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},75330:function(t,e,n){n.d(e,{LE:function(){return c},V7:function(){return a},lu:function(){return u}});var r=n(31158),o=n(87961),s=n(87202),i=n(5915);function c(t,e,n,r){const i=(0,s.Cj)(n),c={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:(0,o.SB)(e)}},a="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,s.h4)(c,[a])}function a(t,e,n,r){const o=(0,s.Cj)(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const c=(0,s.n2)(t,o,r,e);delete t.sdkProcessingMetadata;const a=[{type:i},t];return(0,s.h4)(c,[a])}function u(t,e){const n=(0,r.k1)(t[0]),c=e&&e.getDsn(),a=e&&e.getOptions().tunnel,u={sent_at:(new Date).toISOString(),...function(t){return!!t.trace_id&&!!t.public_key}(n)&&{trace:n},...!!a&&c&&{dsn:(0,o.SB)(c)}},f=e&&e.getOptions().beforeSendSpan,d=f?t=>{const e=f((0,i.et)(t));return e||(0,i.xl)(),e}:t=>(0,i.et)(t),l=[];for(const e of t){const t=d(e);t&&l.push((0,s.y5)(t))}return(0,s.h4)(u,l)}},64251:function(t,e,n){n.d(e,{Cp:function(){return a},J0:function(){return l},J5:function(){return g},Ol:function(){return d},o:function(){return f},r:function(){return u}});var r=n(7313),o=n(57968),s=n(59328),i=n(92575),c=n(45333);function a(t,e){return(0,o.o5)().captureException(t,(0,c.li)(e))}function u(t,e){return(0,o.o5)().captureEvent(t,e)}function f(t,e){(0,o.rm)().setContext(t,e)}function d(){const t=(0,o.KU)();return!!t&&!1!==t.getOptions().enabled&&!!t.getTransport()}function l(t){const e=(0,o.KU)(),n=(0,o.rm)(),c=(0,o.o5)(),{release:a,environment:u=r.U}=e&&e.getOptions()||{},{userAgent:f}=i.O.navigator||{},d=(0,s.fj)({release:a,environment:u,user:c.getUser()||n.getUser(),...f&&{userAgent:f},...t}),l=n.getSession();return l&&"ok"===l.status&&(0,s.qO)(l,{status:"exited"}),p(),n.setSession(d),c.setSession(d),d}function p(){const t=(0,o.rm)(),e=(0,o.o5)(),n=e.getSession()||t.getSession();n&&(0,s.Vu)(n),h(),t.setSession(),e.setSession()}function h(){const t=(0,o.rm)(),e=(0,o.o5)(),n=(0,o.KU)(),r=e.getSession()||t.getSession();r&&n&&n.captureSession(r)}function g(t=!1){t?p():h()}},42409:function(t,e,n){n.d(e,{g:function(){return s}});var r=n(40873);const o="_sentryMetrics";function s(t){const e=t[o];if(!e)return;const n={};for(const[,[t,o]]of e){(n[t]||(n[t]=[])).push((0,r.Ce)(o))}return n}},94988:function(t,e,n){n.d(e,{H:function(){return l}});var r=n(59328),o=n(30690),s=n(5602),i=n(44910),c=n(30243),a=n(90519),u=n(45734),f=n(70333);class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,c.J)()}clone(){const t=new d;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,(0,f.r)(t,(0,f.f)(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,r.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,[n,r]=e instanceof l?[e.getScopeData(),e.getRequestSession()]:(0,o.Qd)(e)?[t,t.requestSession]:[],{tags:s,extra:i,user:c,contexts:a,level:u,fingerprint:f=[],propagationContext:d}=n||{};return this._tags={...this._tags,...s},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},c&&Object.keys(c).length&&(this._user=c),u&&(this._level=u),f.length&&(this._fingerprint=f),d&&(this._propagationContext=d),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,(0,f.r)(this,void 0),this._attachments=[],this._propagationContext=(0,c.J)(),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,a.lu)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),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:(0,f.f)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=(0,u.h)(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:(0,i.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){const r=n&&n.event_id?n.event_id:(0,i.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture message!"),r;const o=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:r},this),r}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,i.eJ)();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(s.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h((t=>{t(this)})),this._notifyingListeners=!1)}}const l=d},74611:function(t,e,n){n.d(e,{E1:function(){return f},JD:function(){return i},Sn:function(){return a},fs:function(){return c},i_:function(){return r},jG:function(){return d},sy:function(){return o},uT:function(){return s},xc:function(){return u}});const r="sentry.source",o="sentry.sample_rate",s="sentry.op",i="sentry.origin",c="sentry.idle_span_finish_reason",a="sentry.measurement_unit",u="sentry.measurement_value",f="sentry.profile_id",d="sentry.exclusive_time"},59328:function(t,e,n){n.d(e,{Vu:function(){return a},fj:function(){return i},qO:function(){return c}});var r=n(40873),o=n(90519),s=n(44910);function i(t){const e=(0,o.zf)(),n={sid:(0,s.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,r.Ce)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&c(n,t),n}function c(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,o.zf)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,s.eJ)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function a(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),c(t,n)}},31158:function(t,e,n){n.d(e,{LZ:function(){return d},ao:function(){return p},k1:function(){return h}});var r=n(7313),o=n(57968),s=n(74611),i=n(8922),c=n(40873),a=n(60237),u=n(5915);const f="_frozenDsc";function d(t,e){const n=t;(0,c.my)(n,f,e)}function l(t,e){const n=e.getOptions(),{publicKey:o}=e.getDsn()||{},s=(0,c.Ce)({environment:n.environment||r.U,release:n.release,public_key:o,trace_id:t});return e.emit("createDsc",s),s}function p(t,e){const n=e.getPropagationContext();return n.dsc||l(n.traceId,t)}function h(t){const e=(0,o.KU)();if(!e)return{};const n=(0,u.zU)(t),r=n[f];if(r)return r;const c=n.spanContext().traceState,d=c&&c.get("sentry.dsc"),p=d&&(0,i.yD)(d);if(p)return p;const h=l(t.spanContext().traceId,e),g=(0,u.et)(n),m=g.data||{},_=m[s.sy];null!=_&&(h.sample_rate=`${_}`);const v=m[s.i_],y=g.description;return"url"!==v&&y&&(h.transaction=y),(0,a.w)()&&(h.sampled=String((0,u.pK)(n))),e.emit("createDsc",h,n),h}},91135:function(t,e,n){n.d(e,{F3:function(){return o},N8:function(){return i},TJ:function(){return s},a3:function(){return r}});const r=0,o=1,s=2;function i(t,e){t.setAttribute("http.response.status_code",e);const n=function(t){if(t<400&&t>=100)return{code:o};if(t>=400&&t<500)switch(t){case 401:return{code:s,message:"unauthenticated"};case 403:return{code:s,message:"permission_denied"};case 404:return{code:s,message:"not_found"};case 409:return{code:s,message:"already_exists"};case 413:return{code:s,message:"failed_precondition"};case 429:return{code:s,message:"resource_exhausted"};case 499:return{code:s,message:"cancelled"};default:return{code:s,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:s,message:"unimplemented"};case 503:return{code:s,message:"unavailable"};case 504:return{code:s,message:"deadline_exceeded"};default:return{code:s,message:"internal_error"}}return{code:s,message:"unknown_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}},8922:function(t,e,n){n.d(e,{De:function(){return f},sv:function(){return i},yD:function(){return u}});var r=n(41042),o=n(30690),s=n(5602);const i="sentry-",c=/^sentry-/,a=8192;function u(t){const e=function(t){if(!t||!(0,o.Kg)(t)&&!Array.isArray(t))return;if(Array.isArray(t))return t.reduce(((t,e)=>{const n=d(e);
1return Object.entries(n).forEach((([e,n])=>{t[e]=n})),t}),{});return d(t)}(t);if(!e)return;const n=Object.entries(e).reduce(((t,[e,n])=>{if(e.match(c)){t[e.slice(i.length)]=n}return t}),{});return Object.keys(n).length>0?n:void 0}function f(t){if(!t)return;return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce(((t,[e,n],o)=>{const i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,c=0===o?i:`${t},${i}`;return c.length>a?(r.T&&s.vF.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):c}),"")}(Object.entries(t).reduce(((t,[e,n])=>(n&&(t[`${i}${e}`]=n),t)),{}))}function d(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,[e,n])=>(e&&n&&(t[e]=n),t)),{})}},87320:function(t,e,n){n.d(e,{$N:function(){return a},Hd:function(){return i},NX:function(){return u},xE:function(){return f}});var r=n(30690);const o=n(92575).O,s=80;function i(t,e={}){if(!t)return"<unknown>";try{let n=t;const r=5,o=[];let i=0,a=0;const u=" > ",f=u.length;let d;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||s;for(;n&&i++<r&&(d=c(n,l),!("html"===d||i>1&&a+o.length*f+d.length>=p));)o.push(d),a+=d.length,n=n.parentNode;return o.reverse().join(u)}catch(t){return"<unknown>"}}function c(t,e){const n=t,s=[];if(!n||!n.tagName)return"";if(o.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}s.push(n.tagName.toLowerCase());const i=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(i&&i.length)i.forEach((t=>{s.push(`[${t[0]}="${t[1]}"]`)}));else{n.id&&s.push(`#${n.id}`);const t=n.className;if(t&&(0,r.Kg)(t)){const e=t.split(/\s+/);for(const t of e)s.push(`.${t}`)}}const c=["aria-label","type","name","title","alt"];for(const t of c){const e=n.getAttribute(t);e&&s.push(`[${t}="${e}"]`)}return s.join("")}function a(){try{return o.document.location.href}catch(t){return""}}function u(t){return o.document&&o.document.querySelector?o.document.querySelector(t):null}function f(t){if(!o.HTMLElement)return null;let e=t;for(let t=0;t<5;t++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},41042:function(t,e,n){n.d(e,{T:function(){return r}});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},87961:function(t,e,n){n.d(e,{AD:function(){return a},SB:function(){return i}});var r=n(41042),o=n(5602);const s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(t,e=!1){const{host:n,path:r,pass:o,port:s,projectId:i,protocol:c,publicKey:a}=t;return`${c}://${a}${e&&o?`:${o}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${i}`}function c(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function a(t){const e="string"==typeof t?function(t){const e=s.exec(t);if(!e)return void(0,o.pq)((()=>{console.error(`Invalid Sentry Dsn: ${t}`)}));const[n,r,i="",a="",u="",f=""]=e.slice(1);let d="",l=f;const p=l.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),l=p.pop()),l){const t=l.match(/^\d+/);t&&(l=t[0])}return c({host:a,pass:i,path:d,projectId:l,port:u,protocol:n,publicKey:r})}(t):c(t);if(e&&function(t){if(!r.T)return!0;const{port:e,projectId:n,protocol:s}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(o.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?e&&isNaN(parseInt(e,10))&&(o.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(o.vF.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(o.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},87202:function(t,e,n){n.d(e,{Cj:function(){return m},W3:function(){return a},bN:function(){return d},bm:function(){return p},h4:function(){return c},n2:function(){return _},y5:function(){return l},yH:function(){return u},zk:function(){return g}});var r=n(87961),o=n(52879),s=n(40873),i=n(92575);function c(t,e=[]){return[t,e]}function a(t,e){const[n,r]=t;return[n,[...r,e]]}function u(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function f(t){return i.O.__SENTRY__&&i.O.__SENTRY__.encodePolyfill?i.O.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function d(t){const[e,n]=t;let r=JSON.stringify(e);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[f(r),t]:r.push("string"==typeof t?f(t):t)}for(const t of n){const[e,n]=t;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,o.S8)(n))}s(t)}}return"string"==typeof r?r:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(r)}function l(t){return[{type:"span"},t]}function p(t){const e="string"==typeof t.data?f(t.data):t.data;return[(0,s.Ce)({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}const h={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"};function g(t){return h[t]}function m(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function _(t,e,n,o){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&o&&{dsn:(0,r.SB)(o)},...i&&{trace:(0,s.Ce)({...i})}}}},66220:function(t,e,n){n.d(e,{B$:function(){return f},ur:function(){return u}});var r=n(30690),o=n(40873),s=n(98822),i=n(90519),c=n(92575),a=n(26131);function u(t,e){const n="fetch";(0,a.s5)(n,t),(0,a.AS)(n,(()=>d(void 0,e)))}function f(t){const e="fetch-body-resolved";(0,a.s5)(e,t),(0,a.AS)(e,(()=>d(l)))}function d(t,e=!1){e&&!(0,s.m7)()||(0,o.GS)(c.O,"fetch",(function(e){return function(...n){const{method:s,url:u}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:h(e),method:p(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:h(e),method:p(e,"method")?String(e.method).toUpperCase():"GET"}}(n),f={args:n,fetchData:{method:s,url:u},startTimestamp:1e3*(0,i.zf)()};t||(0,a.aj)("fetch",{...f});const d=(new Error).stack;return e.apply(c.O,n).then((async e=>(t?t(e):(0,a.aj)("fetch",{...f,endTimestamp:1e3*(0,i.zf)(),response:e}),e)),(t=>{throw(0,a.aj)("fetch",{...f,endTimestamp:1e3*(0,i.zf)(),error:t}),(0,r.bJ)(t)&&void 0===t.stack&&(t.stack=d,(0,o.my)(t,"framesToPop",1)),t}))}}))}function l(t){let e;try{e=t.clone()}catch(t){return}!async function(t,e){if(t&&t.body){const n=t.body,r=n.getReader(),o=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),9e4);let s=!0;for(;s;){let t;try{t=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),5e3);const{done:o}=await r.read();clearTimeout(t),o&&(e(),s=!1)}catch(t){s=!1}finally{clearTimeout(t)}}clearTimeout(o),r.releaseLock(),n.cancel().then(null,(()=>{}))}}(e,(()=>{(0,a.aj)("fetch-body-resolved",{endTimestamp:1e3*(0,i.zf)(),response:t})}))}function p(t,e){return!!t&&"object"==typeof t&&!!t[e]}function h(t){return"string"==typeof t?t:t?p(t,"url")?t.url:t.toString?t.toString():"":""}},17227:function(t,e,n){n.d(e,{L:function(){return i}});var r=n(92575),o=n(26131);let s=null;function i(t){const e="error";(0,o.s5)(e,t),(0,o.AS)(e,c)}function c(){s=r.O.onerror,r.O.onerror=function(t,e,n,r,i){const c={column:r,error:i,line:n,msg:t,url:e};return(0,o.aj)("error",c),!(!s||s.__SENTRY_LOADER__)&&s.apply(this,arguments)},r.O.onerror.__SENTRY_INSTRUMENTED__=!0}},77587:function(t,e,n){n.d(e,{r:function(){return i}});var r=n(92575),o=n(26131);let s=null;function i(t){const e="unhandledrejection";(0,o.s5)(e,t),(0,o.AS)(e,c)}function c(){s=r.O.onunhandledrejection,r.O.onunhandledrejection=function(t){const e=t;return(0,o.aj)("unhandledrejection",e),!(s&&!s.__SENTRY_LOADER__)||s.apply(this,arguments)},r.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},26131:function(t,e,n){n.d(e,{AS:function(){return u},aj:function(){return f},s5:function(){return a}});var r=n(41042),o=n(5602),s=n(20527);const i={},c={};function a(t,e){i[t]=i[t]||[],i[t].push(e)}function u(t,e){if(!c[t]){c[t]=!0;try{e()}catch(e){r.T&&o.vF.error(`Error while instrumenting ${t}`,e)}}}function f(t,e){const n=t&&i[t];if(n)for(const i of n)try{i(e)}catch(e){r.T&&o.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,s.qQ)(i)}\nError:`,e)}}},30690:function(t,e,n){n.d(e,{BD:function(){return c},Kg:function(){return u},L2:function(){return y},NF:function(){return f},Qd:function(){return l},Qg:function(){return m},T2:function(){return i},W6:function(){return a},bJ:function(){return o},gd:function(){return g},mE:function(){return _},sO:function(){return d},tH:function(){return v},vq:function(){return h},xH:function(){return p}});const r=Object.prototype.toString;function o(t){switch(r.call(t)){case"[object Error]":case"[object E
1xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(t,Error)}}function s(t,e){return r.call(t)===`[object ${e}]`}function i(t){return s(t,"ErrorEvent")}function c(t){return s(t,"DOMError")}function a(t){return s(t,"DOMException")}function u(t){return s(t,"String")}function f(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function d(t){return null===t||f(t)||"object"!=typeof t&&"function"!=typeof t}function l(t){return s(t,"Object")}function p(t){return"undefined"!=typeof Event&&v(t,Event)}function h(t){return"undefined"!=typeof Element&&v(t,Element)}function g(t){return s(t,"RegExp")}function m(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function _(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,e){try{return t instanceof e}catch(t){return!1}}function y(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},5602:function(t,e,n){n.d(e,{Ow:function(){return s},Z9:function(){return i},pq:function(){return c},vF:function(){return a}});var r=n(41042),o=n(92575);const s=["debug","info","warn","error","log","assert","trace"],i={};function c(t){if(!("console"in o.O))return t();const e=o.O.console,n={},r=Object.keys(i);r.forEach((t=>{const r=i[t];n[t]=e[t],e[t]=r}));try{return t()}finally{r.forEach((t=>{e[t]=n[t]}))}}const a=(0,o.B)("logger",(function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return r.T?s.forEach((n=>{e[n]=(...e)=>{t&&c((()=>{o.O.console[n](`Sentry Logger [${n}]:`,...e)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}))},44910:function(t,e,n){n.d(e,{$X:function(){return c},GR:function(){return f},M6:function(){return u},eJ:function(){return s},gO:function(){return a}});var r=n(40873),o=n(92575);function s(){const t=o.O,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function i(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function c(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function a(t,e,n){const r=t.exception=t.exception||{},o=r.values=r.values||[],s=o[0]=o[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function f(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.my)(t,"__sentry_captured__",!0)}catch(t){}return!1}},52879:function(t,e,n){n.d(e,{S8:function(){return i},cd:function(){return c}});var r=n(30690);var o=n(40873),s=n(20527);function i(t,e=100,n=1/0){try{return a("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){const r=i(t,e);return o=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(o))>n?c(t,e-1,n):r;var o}function a(t,e,n=1/0,i=1/0,c=function(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}()){const[u,f]=c;if(null==e||["boolean","string"].includes(typeof e)||"number"==typeof e&&Number.isFinite(e))return e;const d=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof global&&e===global)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.L2)(e))return"[VueViewModel]";if((0,r.mE)(e))return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${(0,s.qQ)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const n=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!d.startsWith("[object "))return d;if(e.__sentry_skip_normalization__)return e;const l="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===l)return d.replace("object ","");if(u(e))return"[Circular ~]";const p=e;if(p&&"function"==typeof p.toJSON)try{return a("",p.toJSON(),l-1,i,c)}catch(t){}const h=Array.isArray(e)?[]:{};let g=0;const m=(0,o.W4)(e);for(const t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(g>=i){h[t]="[MaxProperties ~]";break}const e=m[t];
1h[t]=a(t,e,l-1,i,c),g++}return f(e),h}},40873:function(t,e,n){n.d(e,{Ce:function(){return m},GS:function(){return a},HF:function(){return g},W4:function(){return l},my:function(){return u},pO:function(){return f},sp:function(){return d}});var r=n(87320),o=n(41042),s=n(30690),i=n(5602),c=n(2323);function a(t,e,n){if(!(e in t))return;const r=t[e],s=n(r);"function"==typeof s&&f(s,r);try{t[e]=s}catch(n){o.T&&i.vF.log(`Failed to replace method "${e}" in object`,t)}}function u(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){o.T&&i.vF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function f(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}catch(t){}}function d(t){return t.__sentry_original__}function l(t){if((0,s.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...h(t)};if((0,s.xH)(t)){const e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...h(t)};return"undefined"!=typeof CustomEvent&&(0,s.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function p(t){try{return(0,s.vq)(t)?(0,r.Hd)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function h(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function g(t,e=40){const n=Object.keys(l(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return(0,c.xv)(r,e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:(0,c.xv)(r,e)}return""}function m(t){return _(t,new Map)}function _(t,e){if(function(t){if(!(0,s.Qd)(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.getOwnPropertyNames(t))void 0!==t[n]&&(r[n]=_(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(_(t,e))})),r}return t}},30243:function(t,e,n){n.d(e,{J:function(){return o}});var r=n(44910);function o(){return{traceId:(0,r.eJ)(),spanId:(0,r.eJ)().substring(16)}}},20527:function(t,e,n){n.d(e,{RV:function(){return l},gd:function(){return c},qQ:function(){return d},vk:function(){return a},yF:function(){return o}});const r=50,o="?",s=/\(error: (.*)\)/,i=/captureMessage|captureException/;function c(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0,c=0)=>{const a=[],f=t.split("\n");for(let t=n;t<f.length;t++){const n=f[t];if(n.length>1024)continue;const o=s.test(n)?n.replace(s,"$1"):n;if(!o.match(/\S*Error: /)){for(const t of e){const e=t(o);if(e){a.push(e);break}}if(a.length>=r+c)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(u(e).function||"")&&e.pop();e.reverse(),i.test(u(e).function||"")&&(e.pop(),i.test(u(e).function||"")&&e.pop());return e.slice(0,r).map((t=>({...t,filename:t.filename||u(e).filename,function:t.function||o})))}(a.slice(c))}}function a(t){return Array.isArray(t)?c(...t):t}function u(t){return t[t.length-1]||{}}const f="<anonymous>";function d(t){try{return t&&"function"==typeof t&&t.name||f}catch(t){return f}}function l(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach((e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)})),t}catch(t){return}}}},2323:function(t,e,n){n.d(e,{Xr:function(){return i},gt:function(){return s},xv:function(){return o}});var r=n(30690);function o(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function s(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;e<t.length;e++){const o=t[e];try{(0,r.L2)(o)?n.push("[VueViewModel]"):n.push(String(o))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function i(t,e=[],n=!1){return e.some((e=>function(t,e,n=!1){return!!(0,r.Kg)(t)&&((0,r.gd)(e)?e.test(t):!!(0,r.Kg)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},98822:function(t,e,n){n.d(e,{a3:function(){return c},m7:function(){return a},vm:function(){return i}});var r=n(41042),o=n(5602);const s=n(92575).O;function i(){if(!("fetch"in s))return!1;
1try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function c(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function a(){if("string"==typeof EdgeRuntime)return!0;if(!i())return!1;if(c(s.fetch))return!0;let t=!1;const e=s.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=c(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){r.T&&o.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},20572:function(t,e,n){n.d(e,{T2:function(){return c},XW:function(){return s},xg:function(){return i}});var r,o=n(30690);function s(t){return new c((e=>{e(t)}))}function i(t){return new c(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class c{constructor(t){c.prototype.__init.call(this),c.prototype.__init2.call(this),c.prototype.__init3.call(this),c.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new c(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new c(((e,n)=>{let r,o;return this.then((e=>{o=!1,r=e,t&&t()}),(e=>{o=!0,r=e,t&&t()})).then((()=>{o?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,o.Qg)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},90519:function(t,e,n){n.d(e,{k3:function(){return a},lu:function(){return s},zf:function(){return i}});var r=n(92575);const o=1e3;function s(){return Date.now()/o}const i=function(){const{performance:t}=r.O;if(!t||!t.now)return s;const e=Date.now()-t.now(),n=null==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/o}();let c;const a=(()=>{const{performance:t}=r.O;if(!t||!t.now)return void(c="none");const e=36e5,n=t.now(),o=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-o):e,i=s<e,a=t.timing&&t.timing.navigationStart,u="number"==typeof a?Math.abs(a+n-o):e;return i||u<e?s<=u?(c="timeOrigin",t.timeOrigin):(c="navigationStart",a):(c="dateNow",o)})()},8190:function(t,e,n){n.d(e,{MI:function(){return i},TC:function(){return a},kM:function(){return c}});var r=n(8922),o=n(44910),s=n(30243);const i=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function c(t,e){const n=function(t){if(!t)return;const e=t.match(i);if(!e)return;let n;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}(t),c=(0,r.yD)(e);if(!n||!n.traceId)return(0,s.J)();const{traceId:a,parentSpanId:u,parentSampled:f}=n;return{traceId:a,parentSpanId:u,spanId:(0,o.eJ)().substring(16),sampled:f,dsc:c||{}}}function a(t=(0,o.eJ)(),e=(0,o.eJ)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}},51669:function(t,e,n){function r(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}n.d(e,{Dl:function(){return r}})},21472:function(t,e,n){n.d(e,{M:function(){return r}});const r="8.41.0"},92575:function(t,e,n){n.d(e,{B:function(){return s},O:function(){return o}});var r=n(21472);const o=globalThis;function s(t,e,n){const s=n||o,i=s.__SENTRY__=s.__SENTRY__||{},c=i[r.M]=i[r.M]||{};return c[t]||(c[t]=e())}},60237:function(t,e,n){n.d(e,{w:function(){return o}});var r=n(57968);function o(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=(0,r.KU)(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},45734:function(t,e,n){function r(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&e&&0===Object.keys(e).length)return t;const o={...t};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=r(o[t],e[t],n-1));return o}n.d(e,{h:function(){return r}})},91773:function(t,e,n){n.d(e,{i:function(){return s}});var r=n(26674),o=n(5602);function s(t){if("boolean"==typeof t)return Number(t);const e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e)||e<0||e>1))return e;
1r.T&&o.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`)}},45333:function(t,e,n){n.d(e,{li:function(){return j},mG:function(){return O}});var r=n(7313),o=n(57968),s=n(26674),i=n(30690),c=n(5602),a=n(20572);function u(t,e,n,r=0){return new a.T2(((o,a)=>{const f=t[r];if(null===e||"function"!=typeof f)o(e);else{const d=f({...e},n);s.T&&f.id&&null===d&&c.vF.log(`Event processor "${f.id}" dropped event`),(0,i.Qg)(d)?d.then((e=>u(t,e,n,r+1).then(o))).then(null,a):u(t,d,n,r+1).then(o).then(null,a)}}))}var f=n(94988),d=n(92575);let l,p,h;function g(t){const e=d.O._sentryDebugIds;if(!e)return{};const n=Object.keys(e);return h&&n.length===p||(p=n.length,h=n.reduce(((n,r)=>{l||(l={});const o=l[r];if(o)n[o[0]]=o[1];else{const o=t(r);for(let t=o.length-1;t>=0;t--){const s=o[t],i=s&&s.filename,c=e[r];if(i&&c){n[i]=c,l[r]=[i,c];break}}}return n}),{})),h}var m=n(44910),_=n(52879),v=n(2323),y=n(90519),b=n(31158),S=n(40873),E=n(45734),x=n(5915);function w(t,e){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:s}=e;!function(t,e){const{extra:n,tags:r,user:o,contexts:s,level:i,transactionName:c}=e,a=(0,S.Ce)(n);a&&Object.keys(a).length&&(t.extra={...a,...t.extra});const u=(0,S.Ce)(r);u&&Object.keys(u).length&&(t.tags={...u,...t.tags});const f=(0,S.Ce)(o);f&&Object.keys(f).length&&(t.user={...f,...t.user});const d=(0,S.Ce)(s);d&&Object.keys(d).length&&(t.contexts={...d,...t.contexts});i&&(t.level=i);c&&"transaction"!==t.type&&(t.transaction=c)}(t,e),r&&function(t,e){t.contexts={trace:(0,x.kX)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:(0,b.k1)(e),...t.sdkProcessingMetadata};const n=(0,x.zU)(e),r=(0,x.et)(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,r),function(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e));t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,o),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,s)}function k(t,e){const{extra:n,tags:r,user:o,contexts:s,level:i,sdkProcessingMetadata:c,breadcrumbs:a,fingerprint:u,eventProcessors:f,attachments:d,propagationContext:l,transactionName:p,span:h}=e;T(t,"extra",n),T(t,"tags",r),T(t,"user",o),T(t,"contexts",s),t.sdkProcessingMetadata=(0,E.h)(t.sdkProcessingMetadata,c,2),i&&(t.level=i),p&&(t.transactionName=p),h&&(t.span=h),a.length&&(t.breadcrumbs=[...t.breadcrumbs,...a]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...l}}function T(t,e,n){t[e]=(0,E.h)(t[e],n,1)}function O(t,e,n,s,i,c){const{normalizeDepth:a=3,normalizeMaxBreadth:d=1e3}=t,l={...e,event_id:e.event_id||n.event_id||(0,m.eJ)(),timestamp:e.timestamp||(0,y.lu)()},p=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:o,dist:s,maxValueLength:i=250}=e;t.environment=t.environment||n||r.U,!t.release&&o&&(t.release=o);!t.dist&&s&&(t.dist=s);t.message&&(t.message=(0,v.xv)(t.message,i));const c=t.exception&&t.exception.values&&t.exception.values[0];c&&c.value&&(c.value=(0,v.xv)(c.value,i));const a=t.request;a&&a.url&&(a.url=(0,v.xv)(a.url,i))}(l,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(l,p),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const n=g(e);try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{n&&t.filename&&(t.debug_id=n[t.filename])}))}))}catch(t){}}(l,t.stackParser);const h=function(t,e){if(!e)return t;const n=t?t.clone():new f.H;return n.update(e),n}(s,n.captureContext);n.mechanism&&(0,m.M6)(l,n.mechanism);const b=i?i.getEventProcessors():[],S=(0,o.m6)().getScopeData();if(c){k(S,c.getScopeData())}if(h){k(S,h.getScopeData())}const E=[...n.attachments||[],...S.attachments];E.length&&(n.attachments=E),w(l,S);return u([...b,...S.eventProcessors],l,n).then((t=>(t&&function(t){const e={};
1try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach((([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})}))}(t),"number"==typeof a&&a>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,_.S8)(t.data,e,n)}})))},...t.user&&{user:(0,_.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,_.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,_.S8)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,_.S8)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>({...t,...t.data&&{data:(0,_.S8)(t.data,e,n)}}))));return r}(t,a,d):t)))}function j(t){if(t)return function(t){return t instanceof f.H||"function"==typeof t}(t)||function(t){return Object.keys(t).some((t=>$.includes(t)))}(t)?{captureContext:t}:t}const $=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},8251:function(t,e,n){n.d(e,{K:function(){return o}});var r=n(21472);function o(t,e,n=[e],o="npm"){const s=t._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${e}`,packages:n.map((t=>({name:`${o}:@sentry/${t}`,version:r.M}))),version:r.M}),t._metadata=s}},70333:function(t,e,n){n.d(e,{f:function(){return i},r:function(){return s}});var r=n(40873);const o="_sentrySpan";function s(t,e){e?(0,r.my)(t,o,e):delete t[o]}function i(t){return t[o]}},5915:function(t,e,n){n.d(e,{Bk:function(){return C},CC:function(){return h},Ck:function(){return _},Hu:function(){return O},Qh:function(){return y},VS:function(){return j},aO:function(){return g},cI:function(){return b},et:function(){return E}
1,kX:function(){return v},pK:function(){return x},xO:function(){return $},xl:function(){return N},yW:function(){return w},zU:function(){return D}});var r=n(92328),o=n(95200),s=n(57968),i=n(42409),c=n(74611),a=n(91135),u=n(5602),f=n(40873),d=n(90519),l=n(8190),p=n(70333);const h=0,g=1;let m=!1;function _(t){const{spanId:e,traceId:n}=t.spanContext(),{data:r,op:o,parent_span_id:s,status:i,origin:c}=E(t);return(0,f.Ce)({parent_span_id:s,span_id:e,trace_id:n,data:r,op:o,status:i,origin:c})}function v(t){const{spanId:e,traceId:n}=t.spanContext(),{parent_span_id:r}=E(t);return(0,f.Ce)({parent_span_id:r,span_id:e,trace_id:n})}function y(t){const{traceId:e,spanId:n}=t.spanContext(),r=x(t);return(0,l.TC)(e,n,r)}function b(t){return"number"==typeof t?S(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?S(t.getTime()):(0,d.zf)()}function S(t){return t>9999999999?t/1e3:t}function E(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();try{const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){const{attributes:r,startTime:o,name:s,endTime:a,parentSpanId:u,status:d}=t;return(0,f.Ce)({span_id:e,trace_id:n,data:r,description:s,parent_span_id:u,start_timestamp:b(o),timestamp:b(a)||void 0,status:w(d),op:r[c.uT],origin:r[c.JD],_metrics_summary:(0,i.g)(t)})}return{span_id:e,trace_id:n}}catch(t){return{}}}function x(t){const{traceFlags:e}=t.spanContext();return e===g}function w(t){if(t&&t.code!==a.a3)return t.code===a.F3?"ok":t.message||"unknown_error"}const k="_sentryChildSpans",T="_sentryRootSpan";function O(t,e){const n=t[T]||t;(0,f.my)(e,T,n),t[k]?t[k].add(e):(0,f.my)(t,k,new Set([e]))}function j(t,e){t[k]&&t[k].delete(e)}function $(t){const e=new Set;return function t(n){if(!e.has(n)&&x(n)){e.add(n);const r=n[k]?Array.from(n[k]):[];for(const e of r)t(e)}}(t),Array.from(e)}function D(t){return t[T]||t}function C(){const t=(0,o.E)(),e=(0,r.h)(t);return e.getActiveSpan?e.getActiveSpan():(0,p.f)((0,s.o5)())}function N(){m||((0,u.pq)((()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")})),m=!0)}}}]);
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.