!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a34e33f7-03b1-4555-925e-55805a359927",t._sentryDebugIdIdentifier="sentry-dbid-a34e33f7-03b1-4555-925e-55805a359927")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"3d6b17d7e49776b02332d89359502cb7c3b82a50"},(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[45792],{24536:(t,e,n)=>{"use strict";n.d(e,{Wz:()=>u,m9:()=>o,re:()=>function t(e,n={},i){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)return t;if((0,s.HK)(e))return e}catch(t){return e}let o=function(){let s=Array.prototype.slice.call(arguments);try{i&&"function"==typeof i&&i.apply(this,arguments);let r=s.map(e=>t(e,n));return e.apply(this,r)}catch(t){throw c++,setTimeout(()=>{c--}),(0,r.$e)(e=>{e.addEventProcessor(t=>(n.mechanism&&((0,a.Db)(t,void 0,void 0),(0,a.EG)(t,n.mechanism)),t.extra={...t.extra,arguments:s},t)),(0,r.Tb)(t)}),t}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t])}catch(t){}(0,s.$Q)(o,e),(0,s.xp)(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>e.name})}catch(t){}return o}});var r=n(52468),i=n(65112),s=n(12981),a=n(42193);let o=i.n2,c=0;function u(){return c>0}},80417:(t,e,n)=>{"use strict";let r,i,s,a,o;n.d(e,{S1:()=>t8,jp:()=>et});var c=n(24358),u=n(42193),l=n(74652);let d=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],h=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class _{static __initStatic(){this.id="InboundFilters"}constructor(t={}){this.name=_.id,this._options=t}setupOnce(t,e){let n=t=>{let n=e();if(n){let e=n.getIntegration(_);if(e){var r,i;let s=n.getClient(),a=s?s.getOptions():{};return((r=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||[],...t.disableTransactionDefaults?[]:h],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(e._options,a)).ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`Event dropped due to being internal Sentry Error. Event: ${(0,u.jH)(t)}`),0):(i=r.ignoreErrors,!t.type&&i&&i.length&&(function(t){if(t.message)return[t.message];if(t.exception){let{values:e}=t.exception;try{let{type:t="",value:n=""}=e&&e[e.length-1]||{};return[`${n}`,`${t}: ${n}`]}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error(`Cannot extract message for event ${(0,u.jH)(t)}`)}}return[]})(t).some(t=>(0,l.U0)(t,i)))?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${(0,u.jH)(t)}`),0):!function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;let n=t.transaction;return!!n&&(0,l.U0)(n,e)}(t,r.ignoreTransactions)?!function(t,e){if(!e||!e.length)return!1;let n=p(t);return!!n&&(0,l.U0)(n,e)}(t,r.denyUrls)?function(t,e){if(!e||!e.length)return!0;let n=p(t);return!n||(0,l.U0)(n,e)}(t,r.allowUrls)||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${(0,u.jH)(t)}. Url: ${p(t)}`),0):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${(0,u.jH)(t)}. Url: ${p(t)}`),0):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${(0,u.jH)(t)}`),0))?t:null}}return t};n.id=this.name,t(n)}}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--){let n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error(`Cannot extract url for event ${(0,u.jH)(t)}`),null}}_.__initStatic();var f=n(12981);class g{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=g.id}setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...t){let e=(0,f.HK)(this)||this;return r.apply(e,t)}}catch(t){}}}g.__initStatic();var m=n(25936),y=n(19794);let v=[];function E(t,e){e[t.name]=t,-1===v.indexOf(t.name)&&(t.setupOnce(y.c,m.Gd),v.push(t.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log(`Integration installed: ${t.name}`))}let S=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function b(t,e=!1){let{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${a}`}function T(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function k(t){let e="string"==typeof t?function(t){let e=S.exec(t);if(!e){console.error(`Invalid Sentry Dsn: ${t}`);return}let[n,r,i="",s,a="",o]=e.slice(1),c="",u=o,l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){let t=u.match(/^\d+/);t&&(u=t[0])}return T({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}(t):T(t);if(e&&function(t){if(!("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__))return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(c.kg.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"===r||"https"===r?!(e&&isNaN(parseInt(e,10)))||(c.kg.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(c.kg.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(c.kg.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}function R(t){let e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}let D=/\(error: (.*)\)/,x=/captureMessage|captureException/;function w(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0)=>{let r=[],i=t.split("\n");for(let t=n;t<i.length;t++){let n=i[t];if(n.length>1024)continue;let s=D.test(n)?n.replace(D,"$1"):n;if(!s.match(/\S*Error: /)){for(let t of e){let e=t(s);if(e){r.push(e);break}}if(r.length>=50)break}}return function(t){if(!t.length)return[];let e=Array.from(t);return/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop(),e.reverse(),x.test(e[e.length-1].function||"")&&(e.pop(),x.test(e[e.length-1].function||"")&&e.pop()),e.slice(0,50).map(t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"}))}(r)}}let N="<anonymous>";function O(t){try{if(!t||"function"!=typeof t)return N;return t.name||N}catch(t){return N}}var U=n(65112);let C=(0,U.Rf)();function I(){if(!("fetch"in C))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function G(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}var Y=n(14444);let B=(0,U.Rf)(),$=(0,U.Rf)(),A="__sentry_xhr_v2__",j={},M={};function L(t,e){j[t]=j[t]||[],j[t].push(e),function(t){if(!M[t])switch(M[t]=!0,t){case"console":"console"in U.n2&&c.RU.forEach(function(t){t in U.n2.console&&(0,f.hl)(U.n2.console,t,function(e){return c.LD[t]=e,function(...e){P("console",{args:e,level:t});let n=c.LD[t];n&&n.apply(U.n2.console,e)}})});break;case"dom":(function(){if(!$.document)return;let t=P.bind(null,"dom"),e=W(t,!0);$.document.addEventListener("click",e,!1),$.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(e=>{let n=$[e]&&$[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,f.hl)(n,"addEventListener",function(e){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=W(t);s.handler=r,e.call(this,n,r,i)}s.refCount++}catch(t){}return e.call(this,n,r,i)}}),(0,f.hl)(n,"removeEventListener",function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[e];i&&(i.refCount--,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete n[e]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}}))})})();break;case"xhr":(function(){if(!$.XMLHttpRequest)return;let t=XMLHttpRequest.prototype;(0,f.hl)(t,"open",function(t){return function(...e){let n=e[1],r=this[A]={method:(0,Y.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1],request_headers:{}};(0,Y.HD)(n)&&"POST"===r.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let i=()=>{let t=this[A];if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}P("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,f.hl)(this,"onreadystatechange",function(t){return function(...e){return i(),t.apply(this,e)}}):this.addEventListener("readystatechange",i),(0,f.hl)(this,"setRequestHeader",function(t){return function(...e){let[n,r]=e,i=this[A];return i&&(i.request_headers[n.toLowerCase()]=r),t.apply(this,e)}}),t.apply(this,e)}}),(0,f.hl)(t,"send",function(t){return function(...e){let n=this[A];return n&&void 0!==e[0]&&(n.body=e[0]),P("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}})})();break;case"fetch":!function(){if(!I())return!1;if(G(C.fetch))return!0;let t=!1,e=C.document;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=G(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}()||(0,f.hl)(U.n2,"fetch",function(t){return function(...e){let{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){let[e,n]=t;return{url:q(e),method:H(n,"method")?String(n.method).toUpperCase():"GET"}}let e=t[0];return{url:q(e),method:H(e,"method")?String(e.method).toUpperCase():"GET"}}(e),i={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return P("fetch",{...i}),t.apply(U.n2,e).then(t=>(P("fetch",{...i,endTimestamp:Date.now(),response:t}),t),t=>{throw P("fetch",{...i,endTimestamp:Date.now(),error:t}),t})}});break;case"history":(function(){if(!function(){let t=B.chrome,e=t&&t.app&&t.app.runtime,n="history"in B&&!!B.history.pushState&&!!B.history.replaceState;return!e&&n}())return;let t=$.onpopstate;function e(t){return function(...e){let n=e.length>2?e[2]:void 0;if(n){let t=i,e=String(n);i=e,P("history",{from:t,to:e})}return t.apply(this,e)}}$.onpopstate=function(...e){let n=$.location.href,r=i;if(i=n,P("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,f.hl)($.history,"pushState",e),(0,f.hl)($.history,"replaceState",e)})();break;case"error":z=$.onerror,$.onerror=function(t,e,n,r,i){return P("error",{column:r,error:i,line:n,msg:t,url:e}),!!z&&!z.__SENTRY_LOADER__&&z.apply(this,arguments)},$.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":J=$.onunhandledrejection,$.onunhandledrejection=function(t){return P("unhandledrejection",t),!J||!!J.__SENTRY_LOADER__||J.apply(this,arguments)},$.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("unknown instrumentation type:",t);return}}(t)}function P(t,e){if(t&&j[t])for(let n of j[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error(`Error while triggering instrumentation handler. Type: ${t} Name: ${O(n)} Error:`,e)}}function H(t,e){return!!t&&"object"==typeof t&&!!t[e]}function q(t){return"string"==typeof t?t:t?H(t,"url")?t.url:t.toString?t.toString():"":""}function W(t,e=!1){return n=>{if(!n||a===n||function(t){if("keypress"!==t.type)return!1;try{let e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n))return;let r="keypress"===n.type?"input":n.type;void 0===s?(t({event:n,name:r,global:e}),a=n):function(t,e){if(!t||t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(a,n)&&(t({event:n,name:r,global:e}),a=n),clearTimeout(s),s=$.setTimeout(()=>{s=void 0},1e3)}}let z=null,J=null;var F=n(91871);function V(t,e=100,r=Infinity){try{return function t(e,r,i=Infinity,s=Infinity,a=function(){let 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}}]}()){let[o,c]=a;if(null==r||["number","boolean","string"].includes(typeof r)&&!(0,Y.i2)(r))return r;let u=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(void 0!==n.g&&e===n.g)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,Y.Cy)(e))return"[SyntheticEvent]";if("number"==typeof e&&e!=e)return"[NaN]";if("function"==typeof e)return`[Function: ${O(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;let r=function(t){let e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);if(/^HTML(\w*)Element$/.test(r))return`[HTMLElement: ${r}]`;return`[object ${r}]`}catch(t){return`**non-serializable** (${t})`}}(e,r);if(!u.startsWith("[object "))return u;if(r.__sentry_skip_normalization__)return r;let l="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:i;if(0===l)return u.replace("object ","");if(o(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let e=r.toJSON();return t("",e,l-1,s,a)}catch(t){}let d=Array.isArray(r)?[]:{},h=0,_=(0,f.Sh)(r);for(let e in _){if(!Object.prototype.hasOwnProperty.call(_,e))continue;if(h>=s){d[e]="[MaxProperties ~]";break}let n=_[e];d[e]=t(e,n,l-1,s,a),h++}return c(r),d}("",t,e,r)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function K(t,e=[]){return[t,e]}function X(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function Z(t,e){return(e||new TextEncoder).encode(t)}let Q={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function tt(t){if(!t||!t.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}class te 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 tn=n(59682),tr=n(23666),ti=n(76094);let ts=new WeakMap,ta="Not capturing exception because it's already been captured.";class to{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},t.dsn?this._dsn=k(t.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("No DSN provided, client will not do anything."),this._dsn){let e=function(t,e={}){let n="string"==typeof e?e:e.tunnel,r="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${R(t)}${t.projectId}/envelope/?${(0,f._j)({sentry_key:t.publicKey,sentry_version:"7",...r&&{sentry_client:`${r.name}/${r.version}`}})}`}(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if((0,u.YO)(t)){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log(ta);return}let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then(t=>this._captureEvent(t,e,n)).then(t=>{r=t})),r}captureMessage(t,e,n,r){let i=n&&n.event_id,s=(0,Y.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(s.then(t=>this._captureEvent(t,n,r)).then(t=>{i=t})),i}captureEvent(t,e,n){if(e&&e.originalException&&(0,u.YO)(e.originalException)){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log(ta);return}let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then(t=>{r=t})),r}captureSession(t){if(!this._isEnabled()){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("SDK not enabled, will not capture session.");return}"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,tn.CT)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){let e=this._transport;return e?this._isClientDoneProcessing(t).then(n=>e.flush(t).then(t=>n&&t)):(0,F.WD)(!0)}close(t){return this.flush(t).then(t=>(this.getOptions().enabled=!1,t))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(t){let e={};return t.forEach(t=>{t&&E(t,e)}),e}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){E(t,this._integrations)}sendEvent(t,e={}){if(this.emit("beforeSendEvent",t,e),this._dsn){let n=function(t,e,n,r){var i;let s=tt(n),a=t.type&&"replay_event"!==t.type?t.type:"event";(i=n&&n.sdk)&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||i.name,t.sdk.version=t.sdk.version||i.version,t.sdk.integrations=[...t.sdk.integrations||[],...i.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...i.packages||[]]);let o=function(t,e,n,r){let i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&{dsn:b(r)},...i&&{trace:(0,f.Jr)({...i})}}}(t,s,r,e);return delete t.sdkProcessingMetadata,K(o,[[{type:a},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(let t of e.attachments||[])n=function(t,e){let[n,r]=t;return[n,[...r,e]]}(n,function(t,e){let n="string"==typeof t.data?Z(t.data,e):t.data;return[(0,f.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));let r=this._sendEnvelope(n);r&&r.then(e=>this.emit("afterSendEvent",t,e),null)}}sendSession(t){if(this._dsn){let e=function(t,e,n,r){let i=tt(n);return K({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:b(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){let n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach(t=>t(...e))}_updateSessionFromEvent(t,e){let n=!1,r=!1,i=e.exception&&e.exception.values;if(i)for(let t of(r=!0,i)){let e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}let s="ok"===t.status;(s&&0===t.errors||s&&n)&&((0,tn.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new F.cW(e=>{let n=0,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._dsn}_prepareEvent(t,e,n){let r=this.getOptions(),i=Object.keys(this._integrations);return!e.integrations&&i.length>0&&(e.integrations=i),(function(t,e,n,r){let{normalizeDepth:i=3,normalizeMaxBreadth:s=1e3}=t,a={...e,event_id:e.event_id||n.event_id||(0,u.DM)(),timestamp:e.timestamp||(0,ti.yW)()},o=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:s=250}=e;"environment"in t||(t.environment="environment"in e?n:tr.J),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=(0,l.$G)(t.message,s));let a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,l.$G)(a.value,s));let o=t.request;o&&o.url&&(o.url=(0,l.$G)(o.url,s))})(a,t),o.length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...o]),void 0===e.type&&function(t,e){let n;let r=U.n2._sentryDebugIds;if(!r)return;let i=ts.get(e);i?n=i:(n=new Map,ts.set(e,n));let s=Object.keys(r).reduce((t,i)=>{let s;let a=n.get(i);a?s=a:(s=e(i),n.set(i,s));for(let e=s.length-1;e>=0;e--){let n=s[e];if(n.filename){t[n.filename]=r[i];break}}return t},{});try{t.exception.values.forEach(t=>{t.stacktrace.frames.forEach(t=>{t.filename&&(t.debug_id=s[t.filename])})})}catch(t){}}(a,t.stackParser);let c=r;n.captureContext&&(c=y.s.clone(c).update(n.captureContext));let d=(0,F.WD)(a);if(c){if(c.getAttachments){let t=[...n.attachments||[],...c.getAttachments()];t.length&&(n.attachments=t)}d=c.applyToEvent(a,n)}return d.then(t=>(t&&function(t){let e={};try{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||[];let n=t.debug_meta.images;Object.keys(e).forEach(t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})})}(t),"number"==typeof i&&i>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:V(t.data,e,n)}}))},...t.user&&{user:V(t.user,e,n)},...t.contexts&&{contexts:V(t.contexts,e,n)},...t.extra&&{extra:V(t.extra,e,n)}};return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=V(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>(t.data&&(t.data=V(t.data,e,n)),t))),r}(t,i,s):t)})(r,t,e,n).then(t=>{if(null===t)return t;let{propagationContext:e}=t.sdkProcessingMetadata||{};if(!(t.contexts&&t.contexts.trace)&&e){let{traceId:r,spanId:i,parentSpanId:s,dsc:a}=e;t.contexts={trace:{trace_id:r,span_id:i,parent_span_id:s},...t.contexts};let o=a||function(t,e,n){let r=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:s}=n&&n.getUser()||{},a=(0,f.Jr)({environment:r.environment||tr.J,release:r.release,user_segment:s,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",a),a}(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:o,...t.sdkProcessingMetadata}}return t})}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then(t=>t.event_id,t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&("log"===t.logLevel?c.kg.log(t.message):c.kg.warn(t))})}_processEvent(t,e,n){let r=this.getOptions(),{sampleRate:i}=r;if(!this._isEnabled())return(0,F.$2)(new te("SDK not enabled, will not capture event.","log"));let s=tu(t),a=tc(t),o=t.type||"error",c=`before send for type \`${o}\``;if(a&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",t),(0,F.$2)(new te(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let u="replay_event"===o?"replay":o;return this._prepareEvent(t,e,n).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,t),new te("An event processor returned `null`, will not send event.","log");return e.data&&!0===e.data.__sentry__?n:function(t,e){let n=`${e} must return \`null\` or a valid event.`;if((0,Y.J8)(t))return t.then(t=>{if(!(0,Y.PO)(t)&&null!==t)throw new te(n);return t},t=>{throw new te(`${e} rejected with ${t}`)});if(!(0,Y.PO)(t)&&null!==t)throw new te(n);return t}(function(t,e,n){let{beforeSend:r,beforeSendTransaction:i}=t;return tc(e)&&r?r(e,n):tu(e)&&i?i(e,n):e}(r,n,e),c)}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,t),new te(`${c} returned \`null\`, will not send event.`,"log");let i=n&&n.getSession();!s&&i&&this._updateSessionFromEvent(i,r);let a=r.transaction_info;return s&&a&&r.transaction!==t.transaction&&(r.transaction_info={...a,source:"custom"}),this.sendEvent(r,e),r}).then(null,t=>{if(t instanceof te)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new te(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${t}`)})}_process(t){this._numProcessing++,t.then(t=>(this._numProcessing--,t),t=>(this._numProcessing--,t))}_sendEnvelope(t){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",t),this._transport.send(t).then(null,t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("Error while sending event:",t)});("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("Transport disabled")}_clearOutcomes(){let t=this._outcomes;return this._outcomes={},Object.keys(t).map(e=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}})}}function tc(t){return void 0===t.type}function tu(t){return"transaction"===t.type}var tl=n(91946),td=n(24779);function th(t,e){let n=tp(t,e),r={type:e&&e.name,value:function(t){let e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function t_(t,e){return{exception:{values:[th(t,e)]}}}function tp(t,e){let n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(tf.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}let tf=/Minified React error #\d+;/i;function tg(t,e,n,r,i){let s;if((0,Y.VW)(e)&&e.error)return t_(t,e.error);if((0,Y.TX)(e)||(0,Y.fm)(e)){if("stack"in e)s=t_(t,e);else{let i=e.name||((0,Y.TX)(e)?"DOMError":"DOMException"),a=e.message?`${i}: ${e.message}`:i;s=tm(t,a,n,r),(0,u.Db)(s,a)}return"code"in e&&(s.tags={...s.tags,"DOMException.code":`${e.code}`}),s}return(0,Y.VZ)(e)?t_(t,e):((0,Y.PO)(e)||(0,Y.cO)(e)?s=function(t,e,n,r){let i=(0,m.Gd)().getClient(),s=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:(0,Y.cO)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:function(t,{isUnhandledRejection:e}){let n=(0,f.zf)(t),r=e?"promise rejection":"exception";if((0,Y.VW)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,Y.cO)(t)){let e=function(t){try{let e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t);return`Event \`${e}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(e,{isUnhandledRejection:r})}]},extra:{__serialized__:function t(e,n=3,r=102400){let i=V(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}(e,s)}};if(n){let e=tp(t,n);e.length&&(a.exception.values[0].stacktrace={frames:e})}return a}(t,e,n,i):(s=tm(t,e,n,r),(0,u.Db)(s,`${e}`,void 0)),(0,u.EG)(s,{synthetic:!0}),s)}function tm(t,e,n,r){let i={message:e};if(r&&n){let r=tp(t,n);r.length&&(i.exception={values:[{value:e,stacktrace:{frames:r}}]})}return i}var ty=n(24536);class tv extends to{constructor(t){let e=ty.m9.SENTRY_SDK_SOURCE||(0,td.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:tl.J}],version:tl.J},super(t),t.sendClientReports&&ty.m9.document&&ty.m9.document.addEventListener("visibilitychange",()=>{"hidden"===ty.m9.document.visibilityState&&this._flushOutcomes()})}eventFromException(t,e){return function(t,e,n,r){let i=tg(t,e,n&&n.syntheticException||void 0,r);return(0,u.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,F.WD)(i)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,i){let s=tm(t,e,r&&r.syntheticException||void 0,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),(0,F.WD)(s)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("SDK not enabled, will not capture user feedback.");return}let e=function(t,{metadata:e,tunnel:n,dsn:r}){return K({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:b(r)}},[[{type:"user_report"},t]])}(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)}_flushOutcomes(){var t;let e=this._clearOutcomes();if(0===e.length){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("No outcomes to send");return}if(!this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("No dsn provided, will not send outcomes");return}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("Sending outcomes:",e);let n=K((t=this._options.tunnel&&b(this._dsn))?{dsn:t}:{},[[{type:"client_report"},{timestamp:(0,ti.yW)(),discarded_events:e}]]);this._sendEnvelope(n)}}var tE=n(72598);class tS{static __initStatic(){this.id="GlobalHandlers"}constructor(t){this.name=tS.id,this._options={onerror:!0,onunhandledrejection:!0,...t},this._installFunc={onerror:tb,onunhandledrejection:tT}}setupOnce(){Error.stackTraceLimit=50;let t=this._options;for(let e in t){let n=this._installFunc[e];n&&t[e]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log(`Global Handler attached: ${e}`),n(),this._installFunc[e]=void 0)}}}function tb(){L("error",t=>{let[e,n,r]=tD();if(!e.getIntegration(tS))return;let{msg:i,url:s,line:a,column:o,error:c}=t;if((0,ty.Wz)()||c&&c.__sentry_own_request__)return;let u=void 0===c&&(0,Y.HD)(i)?function(t,e,n,r){let i=(0,Y.VW)(t)?t.message:t,s="Error",a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(s=a[1],i=a[2]),tk({exception:{values:[{type:s,value:i}]}},e,n,r)}(i,s,a,o):tk(tg(n,c||i,void 0,r,!1),s,a,o);u.level="error",tR(e,c,u,"onerror")})}function tT(){L("unhandledrejection",t=>{var e;let[n,r,i]=tD();if(!n.getIntegration(tS))return;let s=t;try{"reason"in t?s=t.reason:"detail"in t&&"reason"in t.detail&&(s=t.detail.reason)}catch(t){}if((0,ty.Wz)()||s&&s.__sentry_own_request__)return!0;let a=(0,Y.pt)(s)?(e=s,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}):tg(r,s,void 0,i,!0);a.level="error",tR(n,s,a,"onunhandledrejection")})}function tk(t,e,n,r){let i=t.exception=t.exception||{},s=i.values=i.values||[],a=s[0]=s[0]||{},o=a.stacktrace=a.stacktrace||{},c=o.frames=o.frames||[],u=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,d=(0,Y.HD)(e)&&e.length>0?e:(0,tE.l4)();return 0===c.length&&c.push({colno:u,filename:d,function:"?",in_app:!0,lineno:l}),t}function tR(t,e,n,r){(0,u.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function tD(){let t=(0,m.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}tS.__initStatic();let tx=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class tw{static __initStatic(){this.id="TryCatch"}constructor(t){this.name=tw.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,f.hl)(ty.m9,"setTimeout",tN),this._options.setInterval&&(0,f.hl)(ty.m9,"setInterval",tN),this._options.requestAnimationFrame&&(0,f.hl)(ty.m9,"requestAnimationFrame",tO),this._options.XMLHttpRequest&&"XMLHttpRequest"in ty.m9&&(0,f.hl)(XMLHttpRequest.prototype,"send",tU);let t=this._options.eventTarget;t&&(Array.isArray(t)?t:tx).forEach(tC)}}function tN(t){return function(...e){let n=e[0];return e[0]=(0,ty.re)(n,{mechanism:{data:{function:O(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function tO(t){return function(e){return t.apply(this,[(0,ty.re)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:O(t)},handled:!1,type:"instrument"}})])}}function tU(t){return function(...e){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(t=>{t in n&&"function"==typeof n[t]&&(0,f.hl)(n,t,function(e){let n={mechanism:{data:{function:t,handler:O(e)},handled:!1,type:"instrument"}},r=(0,f.HK)(e);return r&&(n.mechanism.data.handler=O(r)),(0,ty.re)(e,n)})}),t.apply(this,e)}}function tC(t){let e=ty.m9,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,f.hl)(n,"addEventListener",function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,ty.re)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:O(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,ty.re)(r,{mechanism:{data:{function:"addEventListener",handler:O(r),target:t},handled:!1,type:"instrument"}}),i])}}),(0,f.hl)(n,"removeEventListener",function(t){return function(e,n,r){try{let i=n&&n.__sentry_wrapped__;i&&t.call(this,e,i,r)}catch(t){}return t.call(this,e,n,r)}}))}tw.__initStatic();let tI=["fatal","error","warning","log","info","debug"];var tG=n(90488);class tY{static __initStatic(){this.id="Breadcrumbs"}constructor(t){this.name=tY.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){var t;if(this.options.console&&L("console",t$),this.options.dom&&L("dom",(t=this.options.dom,function(e){let n;let r="object"==typeof t?t.serializeAttribute:void 0,i="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;i&&i>1024&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof r&&(r=[r]);try{let t=e.event;n=t&&t.target?(0,tE.Rt)(t.target,{keyAttrs:r,maxStringLength:i}):(0,tE.Rt)(t,{keyAttrs:r,maxStringLength:i})}catch(t){n="<unknown>"}0!==n.length&&(0,m.Gd)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})})),this.options.xhr&&L("xhr",tA),this.options.fetch&&L("fetch",tj),this.options.history&&L("history",tM),this.options.sentry){let t=(0,m.Gd)().getClient();t&&t.on&&t.on("beforeSendEvent",tB)}}}function tB(t){(0,m.Gd)().addBreadcrumb({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,u.jH)(t)},{event:t})}function t$(t){var e;for(let e=0;e<t.args.length;e++)if("ref=Ref<"===t.args[e]){t.args[e+1]="viewRef";break}let n={category:"console",data:{arguments:t.args,logger:"console"},level:"warn"===(e=t.level)?"warning":tI.includes(e)?e:"log",message:(0,l.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,l.nK)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,m.Gd)().addBreadcrumb(n,{input:t.args,level:t.level})}function tA(t){let{startTimestamp:e,endTimestamp:n}=t,r=t.xhr[A];if(!e||!n||!r)return;let{method:i,url:s,status_code:a,body:o}=r,c={xhr:t.xhr,input:o,startTimestamp:e,endTimestamp:n};(0,m.Gd)().addBreadcrumb({category:"xhr",data:{method:i,url:s,status_code:a},type:"http"},c)}function tj(t){let{startTimestamp:e,endTimestamp:n}=t;if(!(!n||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error){let r=t.fetchData,i={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};(0,m.Gd)().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},i)}else{let r={...t.fetchData,status_code:t.response&&t.response.status},i={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};(0,m.Gd)().addBreadcrumb({category:"fetch",data:r,type:"http"},i)}}}function tM(t){let e=t.from,n=t.to,r=(0,tG.en)(ty.m9.location.href),i=(0,tG.en)(e),s=(0,tG.en)(n);i.path||(i=r),r.protocol===s.protocol&&r.host===s.host&&(n=s.relative),r.protocol===i.protocol&&r.host===i.host&&(e=i.relative),(0,m.Gd)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}function tL(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function tP(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}}tY.__initStatic();class tH{static __initStatic(){this.id="LinkedErrors"}constructor(t={}){this.name=tH.id,this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(t,e){t((t,n)=>{let r=e(),i=r.getClient(),s=r.getIntegration(tH);if(!i||!s)return t;let a=i.getOptions();return function(t,e,n=250,r,i,s,a){if(!s.exception||!s.exception.values||!a||!(0,Y.V9)(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 t(e,n,r,i,s,a,o,c){if(a.length>=r+1)return a;let u=[...a];if((0,Y.V9)(i[s],Error)){tL(o,c);let a=e(n,i[s]),l=u.length;tP(a,s,l,c),u=t(e,n,r,i[s],s,[a,...u],a,l)}return Array.isArray(i.errors)&&i.errors.forEach((i,a)=>{if((0,Y.V9)(i,Error)){tL(o,c);let l=e(n,i),d=u.length;tP(l,`errors[${a}]`,d,c),u=t(e,n,r,i,s,[l,...u],l,d)}}),u})(t,e,i,a.originalException,r,s.exception.values,o,0).map(t=>(t.value&&(t.value=(0,l.$G)(t.value,n)),t)))}(th,a.stackParser,a.maxValueLength,s._key,s._limit,t,n),t})}}tH.__initStatic();class tq{static __initStatic(){this.id="HttpContext"}constructor(){this.name=tq.id}setupOnce(){(0,y.c)(t=>{if((0,m.Gd)().getIntegration(tq)){if(!ty.m9.navigator&&!ty.m9.location&&!ty.m9.document)return t;let e=t.request&&t.request.url||ty.m9.location&&ty.m9.location.href,{referrer:n}=ty.m9.document||{},{userAgent:r}=ty.m9.navigator||{},i={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...t.request,...e&&{url:e},headers:i};return{...t,request:s}}return t})}}tq.__initStatic();class tW{static __initStatic(){this.id="Dedupe"}constructor(){this.name=tW.id}setupOnce(t,e){let n=t=>{if(t.type)return t;let n=e().getIntegration(tW);if(n){try{var r;if((r=n._previousEvent)&&(function(t,e){let n=t.message,r=e.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&tJ(t,e)&&tz(t,e))}(t,r)||function(t,e){let n=tF(e),r=tF(t);return!!(n&&r&&n.type===r.type&&n.value===r.value&&tJ(t,e)&&tz(t,e))}(t,r)))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function tz(t,e){let n=tV(t),r=tV(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let t=0;t<r.length;t++){let e=r[t],i=n[t];if(e.filename!==i.filename||e.lineno!==i.lineno||e.colno!==i.colno||e.function!==i.function)return!1}return!0}function tJ(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 tF(t){return t.exception&&t.exception.values&&t.exception.values[0]}function tV(t){let e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){}}function tK(t,e,n,r){let i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}tW.__initStatic();let tX=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tZ=/\((\S*)(?::(\d+))(?::(\d+))\)/,tQ=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,t0=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,t1=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,t2=w([30,t=>{let e=tX.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){let t=tZ.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}let[t,n]=t4(e[1]||"?",e[2]);return tK(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{let e=tQ.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){let t=t0.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]||"?";return[n,t]=t4(n,t),tK(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{let e=t1.exec(t);return e?tK(e[2],e[1]||"?",+e[3],e[4]?+e[4]:void 0):void 0}]),t4=(t,e)=>{let n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:"?",n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};function t3(t,e,n=function(t){let e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return(0,F.$2)(new te("Not adding Promise because buffer limit was reached."));let i=r();return -1===e.indexOf(i)&&e.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(t){return new F.cW((n,r)=>{let i=e.length;if(!i)return n(!0);let s=setTimeout(()=>{t&&t>0&&n(!1)},t);e.forEach(t=>{(0,F.WD)(t).then(()=>{--i||(clearTimeout(s),n(!0))},r)})})}}}(t.bufferSize||30)){let r={};function i(i){let s=[];if(X(i,(e,n)=>{let i=Q[n];if(function(t,e,n=Date.now()){return(t[e]||t.all||0)>n}(r,i)){let r=t9(e,n);t.recordDroppedEvent("ratelimit_backoff",i,r)}else s.push(e)}),0===s.length)return(0,F.WD)();let a=K(i[0],s),o=e=>{X(a,(n,r)=>{let i=t9(n,r);t.recordDroppedEvent(e,Q[r],i)})};return n.add(()=>e({body:function(t,e){let[n,r]=t,i=JSON.stringify(n);function s(t){"string"==typeof i?i="string"==typeof t?i+t:[Z(i,e),t]:i.push("string"==typeof t?Z(t,e):t)}for(let t of r){let[e,n]=t;if(s(` ${JSON.stringify(e)} `),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(V(n))}s(t)}}return"string"==typeof i?i:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(i)}(a,t.textEncoder)}).then(t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=function(t,{statusCode:e,headers:n},r=Date.now()){let i={...t},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(let t of s.trim().split(",")){let[e,n]=t.split(":",2),s=parseInt(e,10),a=(isNaN(s)?60:s)*1e3;if(n)for(let t of n.split(";"))i[t]=r+a;else i.all=r+a}else a?i.all=r+function(t,e=Date.now()){let n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(a,r):429===e&&(i.all=r+6e4);return i}(r,t),t),t=>{throw o("network_error"),t})).then(t=>t,t=>{if(t instanceof te)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("Skipped sending event because buffer is full."),o("queue_overflow"),(0,F.WD)();throw t})}return i.__sentry__baseTransport__=!0,{send:i,flush:t=>n.drain(t)}}function t9(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function t5(t,e=function(){if(o)return o;if(G(ty.m9.fetch))return o=ty.m9.fetch.bind(ty.m9);let t=ty.m9.document,e=ty.m9.fetch;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);let r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return o=e.bind(ty.m9)}()){let n=0,r=0;return t3(t,function(i){let s=i.body.length;n+=s,r++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{return e(t.url,a).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 o=void 0,n-=s,r--,(0,F.$2)(t)}})}function t6(t){return t3(t,function(e){return new F.cW((n,r)=>{let i=new XMLHttpRequest;for(let e in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&i.setRequestHeader(e,t.headers[e]);i.send(e.body)})})}let t7=[new _,new g,new tw,new tY,new tS,new tH,new tW,new tq];function t8(t={}){var e;void 0===t.defaultIntegrations&&(t.defaultIntegrations=t7),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),ty.m9.SENTRY_RELEASE&&ty.m9.SENTRY_RELEASE.id&&(t.release=ty.m9.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?c.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));let n=(0,m.Gd)();n.getScope().update(e.initialScope);let r=new t(e);n.bindClient(r)}(tv,{...t,stackParser:Array.isArray(e=t.stackParser||t2)?w(...e):e,integrations:function(t){let e=t.defaultIntegrations||[],n=t.integrations;e.forEach(t=>{t.isDefaultInstance=!0});let r=function(t){let e={};return t.forEach(t=>{let{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)}),Object.keys(e).map(t=>e[t])}(Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,u.lE)(n(e)):e),i=function(t,e){for(let n=0;n<t.length;n++)if(!0===e(t[n]))return n;return -1}(r,t=>"Debug"===t.name);if(-1!==i){let[t]=r.splice(i,1);r.push(t)}return r}(t),transport:t.transport||(I()?t5:t6)}),t.autoSessionTracking&&function(){if(void 0===ty.m9.document){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}let t=(0,m.Gd)();t.captureSession&&(ee(t),L("history",({from:t,to:e})=>{void 0===t||t===e||ee((0,m.Gd)())}))}()}function et(t={},e=(0,m.Gd)()){if(!ty.m9.document){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("Global document not defined in showReportDialog call");return}let{client:n,scope:r}=e.getStackTop(),i=t.dsn||n&&n.getDsn();if(!i){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("DSN not configured for showReportDialog call");return}r&&(t.user={...r.getUser(),...t.user}),t.eventId||(t.eventId=e.lastEventId());let s=ty.m9.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=function(t,e){let n=k(t);if(!n)return"";let r=`${R(n)}embed/error-page/`,i=`dsn=${b(n)}`;for(let t in e)if("dsn"!==t){if("user"===t){let t=e.user;if(!t)continue;t.name&&(i+=`&name=${encodeURIComponent(t.name)}`),t.email&&(i+=`&email=${encodeURIComponent(t.email)}`)}else i+=`&${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`}return`${r}?${i}`}(i,t),t.onLoad&&(s.onload=t.onLoad);let a=ty.m9.document.head||ty.m9.document.body;a?a.appendChild(s):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("Not injecting report dialog. No injection point found in HTML")}function ee(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},91712:(t,e,n)=>{"use strict";n.d(e,{Gd:()=>m,cu:()=>f});var r,i=n(64362),s=n(18777),a=n(59141),o=n(22037),c=n(74984),u=n(96191);!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(r||(r={}));class l{__init(){this._state=r.PENDING}__init2(){this._handlers=[]}constructor(t){l.prototype.__init.call(this),l.prototype.__init2.call(this),l.prototype.__init3.call(this),l.prototype.__init4.call(this),l.prototype.__init5.call(this),l.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new l((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 l((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}__init3(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{if(this._state===r.PENDING){if((0,u.J8)(e)){e.then(this._resolve,this._reject);return}this._state=t,this._value=e,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;let 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)})}}}var d=n(94953);function h(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,s.ph)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.DM)()),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{let 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)}class _{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){let e=new _;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&h(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}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){let e=t(this);return e instanceof _?e:this}return t instanceof _?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):(0,u.PO)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,s.yW)(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};let e=this._span.transaction&&this._span.transaction.name;e&&(t.tags={transaction:e,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...(0,o.YO)("globalEventProcessors",()=>[]),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,r=0){return new l((i,s)=>{let o=t[r];if(null===e||"function"!=typeof o)i(e);else{let c=o({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.id&&null===c&&a.kg.log(`Event processor "${o.id}" dropped event`),(0,u.J8)(c)?c.then(e=>this._notifyEventProcessors(t,e,n,r+1).then(i)).then(null,s):this._notifyEventProcessors(t,c,n,r+1).then(i).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,i.lE)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}class p{__init(){this._stack=[{}]}constructor(t,e=new _,n=4){this._version=n,p.prototype.__init.call(this),this.getStackTop().scope=e,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){let t=_.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){let e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){let n=this._lastEventId=e&&e.event_id?e.event_id:(0,i.DM)(),r=Error("Sentry syntheticException");return this._withClient((i,s)=>{i.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},s)}),n}captureMessage(t,e,n){let r=this._lastEventId=n&&n.event_id?n.event_id:(0,i.DM)(),s=Error(t);return this._withClient((i,a)=>{i.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:r},a)}),r}captureEvent(t,e){let n=e&&e.event_id?e.event_id:(0,i.DM)();return"transaction"!==t.type&&(this._lastEventId=n),this._withClient((r,i)=>{r.captureEvent(t,{...e,event_id:n},i)}),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){let{scope:n,client:r}=this.getStackTop();if(!n||!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=r.getOptions&&r.getOptions()||{};if(o<=0)return;let c={timestamp:(0,s.yW)(),...t},u=i?(0,a.Cf)(()=>i(c,e)):c;null!==u&&n.addBreadcrumb(u,o)}setUser(t){let e=this.getScope();e&&e.setUser(t)}setTags(t){let e=this.getScope();e&&e.setTags(t)}setExtras(t){let e=this.getScope();e&&e.setExtras(t)}setTag(t,e){let n=this.getScope();n&&n.setTag(t,e)}setExtra(t,e){let n=this.getScope();n&&n.setExtra(t,e)}setContext(t,e){let n=this.getScope();n&&n.setContext(t,e)}configureScope(t){let{scope:e,client:n}=this.getStackTop();e&&n&&t(e)}run(t){let e=g(this);try{t(this)}finally{g(e)}}getIntegration(t){let e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){let t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();if(n){let t;t={},"ok"===n.status&&(t={status:"exited"}),h(n,t)}this._sendSessionUpdate(),e&&e.setSession()}startSession(t){let{scope:e,client:n}=this.getStackTop(),{release:r,environment:a}=n&&n.getOptions()||{},{userAgent:c}=o.n2.navigator||{},u=function(t){let e=(0,s.ph)(),n={sid:(0,i.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,d.Jr)({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,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return t&&h(n,t),n}({release:r,environment:a,...e&&{user:e.getUser()},...c&&{userAgent:c},...t});if(e){let t=e.getSession&&e.getSession();t&&"ok"===t.status&&h(t,{status:"exited"}),this.endSession(),e.setSession(u)}return u}shouldSendDefaultPii(){let t=this.getClient(),e=t&&t.getOptions();return!!(e&&e.sendDefaultPii)}_sendSessionUpdate(){let{scope:t,client:e}=this.getStackTop();if(!t)return;let n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){let{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){let n=f().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function f(){return o.n2.__SENTRY__=o.n2.__SENTRY__||{extensions:{},hub:void 0},o.n2}function g(t){let e=f(),n=v(e);return E(e,t),n}function m(){let t=f();return((!y(t)||v(t).isOlderThan(4))&&E(t,new p),(0,c.KV)())?function(t){try{let e=f().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return v(t);if(!y(n)||v(n).isOlderThan(4)){let e=v(t).getStackTop();E(n,new p(e.client,_.clone(e.scope)))}return v(n)}catch(e){return v(t)}}(t):v(t)}function y(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function v(t){return(0,o.YO)("hub",()=>new p,t)}function E(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}},23666:(t,e,n)=>{"use strict";n.d(e,{J:()=>r});let r="production"},52468:(t,e,n)=>{"use strict";n.d(e,{$e:()=>c,Tb:()=>i,Yr:()=>u,av:()=>o,n_:()=>a,uT:()=>s});var r=n(25936);function i(t,e){return(0,r.Gd)().captureException(t,{captureContext:e})}function s(t,e){let n="string"==typeof e?e:void 0,i="string"!=typeof e?{captureContext:e}:void 0;return(0,r.Gd)().captureMessage(t,n,i)}function a(t){(0,r.Gd)().addBreadcrumb(t)}function o(t){(0,r.Gd)().setUser(t)}function c(t){(0,r.Gd)().withScope(t)}function u(t,e){return(0,r.Gd)().startTransaction({...t},e)}},25936:(t,e,n)=>{"use strict";n.d(e,{Gd:()=>_});var r=n(42193),i=n(76094),s=n(24358),a=n(65112),o=n(23666),c=n(19794),u=n(59682);class l{constructor(t,e=new c.s,n=4){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){let t=c.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){let e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){let n=this._lastEventId=e&&e.event_id?e.event_id:(0,r.DM)(),i=Error("Sentry syntheticException");return this._withClient((r,s)=>{r.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},s)}),n}captureMessage(t,e,n){let i=this._lastEventId=n&&n.event_id?n.event_id:(0,r.DM)(),s=Error(t);return this._withClient((r,a)=>{r.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:i},a)}),i}captureEvent(t,e){let n=e&&e.event_id?e.event_id:(0,r.DM)();return t.type||(this._lastEventId=n),this._withClient((r,i)=>{r.captureEvent(t,{...e,event_id:n},i)}),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){let{scope:n,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:o=100}=r.getOptions&&r.getOptions()||{};if(o<=0)return;let c={timestamp:(0,i.yW)(),...t},u=a?(0,s.Cf)(()=>a(c,e)):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,o))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){let{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){let e=h(this);try{t(this)}finally{h(e)}}getIntegration(t){let e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){let n=this._callExtensionMethod("startTransaction",t,e);return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n&&(this.getClient()?console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); `):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){let t=this.getStackTop().scope,e=t.getSession();e&&(0,u.RJ)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){let{scope:e,client:n}=this.getStackTop(),{release:r,environment:i=o.J}=n&&n.getOptions()||{},{userAgent:s}=a.n2.navigator||{},c=(0,u.Hv)({release:r,environment:i,user:e.getUser(),...s&&{userAgent:s},...t}),l=e.getSession&&e.getSession();return l&&"ok"===l.status&&(0,u.CT)(l,{status:"exited"}),this.endSession(),e.setSession(c),c}shouldSendDefaultPii(){let t=this.getClient(),e=t&&t.getOptions();return!!(e&&e.sendDefaultPii)}_sendSessionUpdate(){let{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){let{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){let n=d().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function d(){return a.n2.__SENTRY__=a.n2.__SENTRY__||{extensions:{},hub:void 0},a.n2}function h(t){let e=d(),n=p(e);return f(e,t),n}function _(){let t=d();if(t.__SENTRY__&&t.__SENTRY__.acs){let e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return function(t=d()){var e;return(!((e=t)&&e.__SENTRY__&&e.__SENTRY__.hub)||p(t).isOlderThan(4))&&f(t,new l),p(t)}(t)}function p(t){return(0,a.YO)("hub",()=>new l,t)}function f(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}},19794:(t,e,n)=>{"use strict";n.d(e,{c:()=>h,s:()=>l});var r=n(14444),i=n(76094),s=n(91871),a=n(24358),o=n(42193),c=n(65112),u=n(59682);class l{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=_()}static clone(t){let e=new l;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata},e._propagationContext={...t._propagationContext}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,u.CT)(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}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){let e=t(this);return e instanceof l?e:this}return t instanceof l?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):(0,r.PO)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=_(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,i.yW)(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),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}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};let e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};let n=e.name;n&&(t.tags={transaction:n,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},this._notifyEventProcessors([...d(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,e,n,i=0){return new s.cW((s,o)=>{let c=t[i];if(null===e||"function"!=typeof c)s(e);else{let u=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===u&&a.kg.log(`Event processor "${c.id}" dropped event`),(0,r.J8)(u)?u.then(e=>this._notifyEventProcessors(t,e,n,i+1).then(s)).then(null,o):this._notifyEventProcessors(t,u,n,i+1).then(s).then(null,o)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,o.lE)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function d(){return(0,c.YO)("globalEventProcessors",()=>[])}function h(t){d().push(t)}function _(){return{traceId:(0,o.DM)(),spanId:(0,o.DM)().substring(16)}}},59682:(t,e,n)=>{"use strict";n.d(e,{CT:()=>o,Hv:()=>a,RJ:()=>c});var r=n(76094),i=n(42193),s=n(12981);function a(t){let e=(0,r.ph)(),n={sid:(0,i.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,s.Jr)({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,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return t&&o(n,t),n}function o(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,r.ph)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.DM)()),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{let 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 c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),o(t,n)}},91946:(t,e,n)=>{"use strict";n.d(e,{J:()=>r});let r="7.67.0"},41582:(t,e,n)=>{"use strict";n.d(e,{ED:()=>_,zH:()=>h});var r=n(25936),i=n(76094),s=n(24638),a=n.n(s),o=n(87363);let c="ui.react.render",u="ui.react.mount",l="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx";class d extends o.Component{static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(t){super(t);let{name:e,disabled:n=!1}=this.props;if(n)return;let r=p();r&&(this._mountSpan=r.startChild({description:`<${e}>`,op:u,origin:"auto.ui.react.profiler"}))}componentDidMount(){this._mountSpan&&this._mountSpan.finish()}shouldComponentUpdate({updateProps:t,includeUpdates:e=!0}){if(e&&this._mountSpan&&t!==this.props.updateProps){let e=Object.keys(t).filter(e=>t[e]!==this.props.updateProps[e]);if(e.length>0){let t=(0,i.ph)();this._updateSpan=this._mountSpan.startChild({data:{changedProps:e},description:`<${this.props.name}>`,op:"ui.react.update",origin:"auto.ui.react.profiler",startTimestamp:t})}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.finish(),this._updateSpan=void 0)}componentWillUnmount(){let{name:t,includeRender:e=!0}=this.props;this._mountSpan&&e&&this._mountSpan.startChild({description:`<${t}>`,endTimestamp:(0,i.ph)(),op:c,origin:"auto.ui.react.profiler",startTimestamp:this._mountSpan.endTimestamp})}render(){return this.props.children}}function h(t,e){let n=e&&e.name||t.displayName||t.name||"unknown",r=r=>o.createElement(d,{...e,name:n,updateProps:r,__self:this,__source:{fileName:l,lineNumber:149}},o.createElement(t,{...r,__self:this,__source:{fileName:l,lineNumber:150}}));return r.displayName=`profiler(${n})`,a()(r,t),r}function _(t,e={disabled:!1,hasRenderSpan:!0}){let[n]=o.useState(()=>{if(e&&e.disabled)return;let n=p();if(n)return n.startChild({description:`<${t}>`,op:u,origin:"auto.ui.react.profiler"})});o.useEffect(()=>(n&&n.finish(),()=>{n&&e.hasRenderSpan&&n.startChild({description:`<${t}>`,endTimestamp:(0,i.ph)(),op:c,origin:"auto.ui.react.profiler",startTimestamp:n.endTimestamp})}),[])}function p(t=(0,r.Gd)()){if(t){let e=t.getScope();if(e)return e.getTransaction()}}d.__initStatic()},23433:(t,e,n)=>{"use strict";let r,i,s,a,o,c,u;n.d(e,{KO:()=>f,M1:()=>m});var l=n(24536),d=n(90488),h=n(24358);n(24638);var _=n(87363);let p={"routing.instrumentation":"react-router-v6"};function f(t,e,n,d,h){return(d,_=!0,f=!0)=>{let g=l.m9&&l.m9.location&&l.m9.location.pathname;_&&g&&(r=d({name:g,op:"pageload",origin:"auto.pageload.react.reactrouterv6",tags:p,metadata:{source:"url"}})),i=t,s=e,a=n,o=h,c=d,u=f}}function g(t,e,n){if(!t||0===t.length)return[e.pathname,"url"];let r="";if(n)for(let t=0;t<n.length;t++){let i=n[t],s=i.route;if(s){if(s.index)return[i.pathname,"route"];let t=s.path;if(t){let n="/"===t[0]||"/"===r[r.length-1]?t:`/${t}`;if(r+=n,i.pathname===e.pathname){if((0,d.$A)(r)!==(0,d.$A)(i.pathname)&&"/*"!==r.slice(-2))return[n,"route"];return[r,"route"]}}}}return[e.pathname,"url"]}function m(t){if(!i||!s||!a||!o||!c)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.kg.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),t;let e=!0;return(n,l)=>_.createElement(()=>{let d=t(n,l),h=s(),_=a(),f="string"==typeof l||l&&l.pathname?l:h;return i(()=>{let t="string"==typeof f?{pathname:f}:f;e?(function(t,e,n,i){let s=Array.isArray(void 0)?void 0:o(e,t,void 0);r&&s&&r.setName(...g(e,t,s))}(t,n),e=!1):function(t,e,n,i,s){let a=Array.isArray(void 0)?void 0:o(e,t,void 0);if(u&&("PUSH"===n||"POP"===n)&&a){r&&r.finish();let[n,i]=g(e,t,a);r=c({name:n,op:"navigation",origin:"auto.navigation.react.reactrouterv6",tags:p,metadata:{source:i}})}}(t,n,_)},[_,f]),d},{__self:this,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouterv6.tsx",lineNumber:258}})}},51755:(t,e,n)=>{"use strict";n.d(e,{S:()=>s});var r=n(91946),i=n(80417);function s(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:r.J}],version:r.J},(0,i.S1)(t)}},99304:(t,e,n)=>{"use strict";n.d(e,{ro:()=>g,lb:()=>f});var r=n(91712),i=n(59141),s=n(96191),a=n(74984),o=n(61145),c=n(74976);function u(){let t=(0,c.x1)();if(t){let e="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}var l=n(50455),d=n(83728);function h(){let t=this.getScope();if(t){let e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function _(t,e,n){var r;let a;return(0,c.zu)(e)?void 0!==t.sampled?t.setMetadata({sampleRate:Number(t.sampled)}):("function"==typeof e.tracesSampler?(a=e.tracesSampler(n),t.setMetadata({sampleRate:Number(a)})):void 0!==n.parentSampled?a=n.parentSampled:(a=e.tracesSampleRate,t.setMetadata({sampleRate:Number(a)})),r=a,(0,s.i2)(r)||!("number"==typeof r||"boolean"==typeof r)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),1):(r<0||r>1)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${r}.`),1))?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1):a?(t.sampled=Math.random()<a,t.sampled)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] starting ${t.op} transaction - ${t.name}`):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(a)})`):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),t.sampled=!1):t.sampled=!1,t}function p(t,e){let n=this.getClient(),r=n&&n.getOptions()||{},s=r.instrumenter||"sentry",a=t.instrumenter||"sentry";s!==a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${s}\` instrumenter. The transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`),t.sampled=!1);let o=new d.Y(t,this);return(o=_(o,r,{parentSampled:t.parentSampled,transactionContext:t,...e})).sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function f(t,e,n,r,i,s,a){let o=t.getClient(),c=o&&o.getOptions()||{},u=new l.io(e,t,n,r,a,i);return(u=_(u,c,{parentSampled:e.parentSampled,transactionContext:e,...s})).sampled&&u.initSpanRecorder(c._experiments&&c._experiments.maxSpans),u}function g(){(function(){let t=(0,r.cu)();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=p),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=h))})(),(0,a.KV)()&&function(){let e=(0,r.cu)();if(!e.__SENTRY__)return;let n={mongodb:()=>new((0,a.l$)(t,"./integrations/node/mongo")).Mongo,mongoose:()=>new((0,a.l$)(t,"./integrations/node/mongo")).Mongo({mongoose:!0}),mysql:()=>new((0,a.l$)(t,"./integrations/node/mysql")).Mysql,pg:()=>new((0,a.l$)(t,"./integrations/node/postgres")).Postgres},i=Object.keys(n).filter(t=>!!(0,a.$y)(t)).map(t=>{try{return n[t]()}catch(t){return}}).filter(t=>t);i.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...i])}(),(0,o.o)("error",u),(0,o.o)("unhandledrejection",u)}t=n.hmd(t)},50455:(t,e,n)=>{"use strict";n.d(e,{hd:()=>u,io:()=>d,mg:()=>c,nT:()=>o});var r=n(18777),i=n(59141),s=n(32926),a=n(83728);let o=1e3,c=3e4,u=5e3;class l extends s.gB{constructor(t,e,n,r){super(r),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"==typeof e?e:(0,r._I)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class d extends a.Y{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,e,n=o,r=c,s=u,a=!1){super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=s,this._onScope=a,d.prototype.__init.call(this),d.prototype.__init2.call(this),d.prototype.__init3.call(this),d.prototype.__init4.call(this),a&&(h(e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),e.configureScope(t=>t.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=(0,r._I)()){if(this._finished=!0,this.activities={},this.spanRecorder){for(let e of(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op),this._beforeFinishCallbacks))e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(e=>{if(e.spanId===this.spanId)return!0;!e.endTimestamp&&(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));let n=e.startTimestamp<t;return!n&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(e,void 0,2)),n}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] No active IdleTransaction");return this._onScope&&h(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){this.spanRecorder||(this.spanRecorder=new l(t=>{this._finished||this._pushActivity(t)},t=>{this._finished||this._popActivity(t)},this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Starting heartbeat"),this._pingHeartbeat()),this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{this._finished||0!==Object.keys(this.activities).length||this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] popActivity ${t}`),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){let t=(0,r._I)()+this._idleTimeout/1e3;this._startIdleTimeout(t)}}_beat(){if(this._finished)return;let t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function h(t){let e=t.getScope();e&&e.getTransaction()&&e.setSpan(void 0)}},90131:(t,e,n)=>{"use strict";let r,i;n.d(e,{gE:()=>F});var s=n(99304),a=n(59141);let o=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");var c=n(96191);let u="baggage",l="sentry-",d=/^sentry-/;function h(t){return function(t){if(0!==Object.keys(t).length)return Object.entries(t).reduce((t,[e,n],r)=>{let i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,s=0===r?i:`${t},${i}`;return s.length>8192?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},"")}(Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${l}${e}`]=n),t),{}))}function _(t){return t.split(",").map(t=>t.split("=").map(t=>decodeURIComponent(t.trim()))).reduce((t,[e,n])=>(t[e]=n,t),{})}var p=n(22037);let f=(0,p.Rf)();function g(t,e={}){try{let n,r=t,i=[],s=0,a=0,o=Array.isArray(e)?e:e.keyAttrs,u=!Array.isArray(e)&&e.maxStringLength||80;for(;r&&s++<5&&(n=function(t,e){let n,r,i,s,a;let o=[];if(!t||!t.tagName)return"";o.push(t.tagName.toLowerCase());let u=e&&e.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(u&&u.length)u.forEach(t=>{o.push(`[${t[0]}="${t[1]}"]`)});else if(t.id&&o.push(`#${t.id}`),(n=t.className)&&(0,c.HD)(n))for(a=0,r=n.split(/\s+/);a<r.length;a++)o.push(`.${r[a]}`);let l=["type","name","title","alt"];for(a=0;a<l.length;a++)i=l[a],(s=t.getAttribute(i))&&o.push(`[${i}="${s}"]`);return o.join("")}(r,o),"html"!==n&&(!(s>1)||!(a+3*i.length+n.length>=u)));)i.push(n),a+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch(t){return"<unknown>"}}var m=n(50455),y=n(74976);let v=p.n2;var E=n(29762),S=n(18777);let b=(t,e,n)=>{let r,i;return s=>{e.value>=0&&(s||n)&&((i=e.value-(r||0))||void 0===r)&&(r=e.value,e.delta=i,t(e))}},T=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,k=()=>{let t=v.performance.timing,e=v.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"};for(let e in t)"navigationStart"!==e&&"toJSON"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n},R=()=>v.__WEB_VITALS_POLYFILL__?v.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||k()):v.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],D=()=>{let t=R();return t&&t.activationStart||0},x=(t,e)=>{let n=R(),r="navigate";return n&&(r=v.document.prerendering||D()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:T(),navigationType:r}},w=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){let r=new PerformanceObserver(t=>{e(t.getEntries())});return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch(t){}},N=(t,e)=>{let n=r=>{("pagehide"===r.type||"hidden"===v.document.visibilityState)&&(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},O=t=>{let e;let n=x("CLS",0),r=0,i=[],s=t=>{t.forEach(t=>{if(!t.hadRecentInput){let s=i[0],a=i[i.length-1];r&&0!==i.length&&t.startTime-a.startTime<1e3&&t.startTime-s.startTime<5e3?(r+=t.value,i.push(t)):(r=t.value,i=[t]),r>n.value&&(n.value=r,n.entries=i,e&&e())}})},a=w("layout-shift",s);a&&(e=b(t,n),N(()=>{s(a.takeRecords()),e(!0)}))},U=-1,C=()=>"hidden"!==v.document.visibilityState||v.document.prerendering?1/0:0,I=()=>{N(({timeStamp:t})=>{U=t},!0)},G=()=>(U<0&&(U=C(),I()),{get firstHiddenTime(){return U}}),Y=t=>{let e;let n=G(),r=x("FID"),i=t=>{t.startTime<n.firstHiddenTime&&(r.value=t.processingStart-t.startTime,r.entries.push(t),e(!0))},s=t=>{t.forEach(i)},a=w("first-input",s);e=b(t,r),a&&N(()=>{s(a.takeRecords()),a.disconnect()},!0)},B={},$=t=>{let e;let n=G(),r=x("LCP"),i=t=>{let i=t[t.length-1];if(i){let t=Math.max(i.startTime-D(),0);t<n.firstHiddenTime&&(r.value=t,r.entries=[i],e())}},s=w("largest-contentful-paint",i);if(s){e=b(t,r);let n=()=>{B[r.id]||(i(s.takeRecords()),s.disconnect(),B[r.id]=!0,e(!0))};["keydown","click"].forEach(t=>{addEventListener(t,n,{once:!0,capture:!0})}),N(n,!0)}};function A(t){return"number"==typeof t&&isFinite(t)}function j(t,{startTimestamp:e,...n}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...n})}function M(){return v&&v.addEventListener&&v.performance}let L=0,P={};function H(t,e,n,r,i,s){let a=s?e[s]:e[`${n}End`],o=e[`${n}Start`];o&&a&&j(t,{op:"browser",description:(0,E.h)(i,()=>n),startTimestamp:r+(0,y.XL)(o),endTimestamp:r+(0,y.XL)(a)})}var q=n(61145);let W=["localhost",/^\//],z={traceFetch:!0,traceXHR:!0,tracingOrigins:W,tracePropagationTargets:W},J={idleTimeout:m.nT,finalTimeout:m.mg,heartbeatInterval:m.hd,markBackgroundTransactions:!0,routingInstrumentation:function(t,e=!0,n=!0){let r;if(!v||!v.location){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Could not initialize routing instrumentation due to invalid location");return}let i=v.location.href;e&&(r=t({name:v.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&(0,q.o)("history",({to:e,from:n})=>{if(void 0===n&&i&&-1!==i.indexOf(e)){i=void 0;return}n!==e&&(i=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.finish()),r=t({name:v.location.pathname,op:"navigation",metadata:{source:"url"}}))})},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...z};class F{__init(){this.name="BrowserTracing"}constructor(t){F.prototype.__init.call(this),this.options={...J,...t},t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),function(){let t=M();t&&S.Z1&&(t.mark&&v.performance.mark("sentry-tracing-init"),O(t=>{let e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding CLS"),P.cls={value:t.value,unit:""},i=e)}),$(t=>{let e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding LCP"),P.lcp={value:t.value,unit:"millisecond"},r=e)}),Y(t=>{let e=t.entries.pop();if(!e)return;let n=(0,y.XL)(S.Z1),r=(0,y.XL)(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding FID"),P.fid={value:t.value,unit:"millisecond"},P["mark.fid"]={value:n+r,unit:"second"}}))}(),function(t){let e;let n=t[0],r=1;for(;r<t.length;){let i=t[r],s=t[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(e=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...t)=>n.call(e,...t)),e=void 0)}return n}([this,"access",t=>t.options,"access",t=>t._experiments,"optionalAccess",t=>t.enableLongTask])&&w("longtask",t=>{for(let e of t){let t=(0,y.x1)();if(!t)return;let n=(0,y.XL)(S.Z1+e.startTime),r=(0,y.XL)(e.duration);t.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}})}setupOnce(t,e){this._getCurrentHub=e;let{routingInstrumentation:n,startTransactionOnLocationChange:r,startTransactionOnPageLoad:i,markBackgroundTransactions:s,traceFetch:o,traceXHR:l,tracePropagationTargets:d,shouldCreateSpanForRequest:_}=this.options;n(t=>this._createRouteTransaction(t),i,r),s&&(v&&v.document?v.document.addEventListener("visibilitychange",()=>{let t=(0,y.x1)();if(v.document.hidden&&t){let e="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}}):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),function(t){let{traceFetch:e,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:s}={traceFetch:z.traceFetch,traceXHR:z.traceXHR,...t},a="function"==typeof s?s:t=>!0,o=t=>(function(t,e=[],n=!1){return e.some(e=>(function(t,e,n=!1){return!!(0,c.HD)(t)&&((0,c.Kj)(e)?e.test(t):!!(0,c.HD)(e)&&(n?t===e:t.includes(e)))})(t,e,n))})(t,r||i||W),l={};e&&(0,q.o)("fetch",t=>{(function(t,e,n,r){if(!(0,y.zu)()||!(t.fetchData&&e(t.fetchData.url)))return;if(t.endTimestamp){let e=t.fetchData.__span;if(!e)return;let n=r[e];n&&(t.response?n.setHttpStatus(t.response.status):t.error&&n.setStatus("internal_error"),n.finish(),delete r[e]);return}let i=(0,y.x1)();if(i){let e=i.startChild({data:{...t.fetchData,type:"fetch"},description:`${t.fetchData.method} ${t.fetchData.url}`,op:"http.client"});t.fetchData.__span=e.spanId,r[e.spanId]=e;let s=t.args[0];t.args[1]=t.args[1]||{};let a=t.args[1];n(t.fetchData.url)&&(a.headers=function(t,e,n,r){let i=h(e),s=n.toTraceparent(),a="undefined"!=typeof Request&&(0,c.V9)(t,Request)?t.headers:r.headers;if(!a)return{"sentry-trace":s,baggage:i};if("undefined"!=typeof Headers&&(0,c.V9)(a,Headers)){let t=new Headers(a);return t.append("sentry-trace",s),i&&t.append(u,i),t}if(Array.isArray(a)){let t=[...a,["sentry-trace",s]];return i&&t.push([u,i]),t}{let t="baggage"in a?a.baggage:void 0,e=[];return Array.isArray(t)?e.push(...t):t&&e.push(t),i&&e.push(i),{...a,"sentry-trace":s,baggage:e.length>0?e.join(","):void 0}}}(s,i.getDynamicSamplingContext(),e,a),i.metadata.propagations++)}})(t,a,o,l)}),n&&(0,q.o)("xhr",t=>{(function(t,e,n,r){if(!(0,y.zu)()||t.xhr&&t.xhr.__sentry_own_request__||!(t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)))return;let i=t.xhr.__sentry_xhr__;if(t.endTimestamp){let e=t.xhr.__sentry_xhr_span_id__;if(!e)return;let n=r[e];n&&(n.setHttpStatus(i.status_code),n.finish(),delete r[e]);return}let s=(0,y.x1)();if(s){let e=s.startChild({data:{...i.data,type:"xhr",method:i.method,url:i.url},description:`${i.method} ${i.url}`,op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=e.spanId,r[t.xhr.__sentry_xhr_span_id__]=e,t.xhr.setRequestHeader&&n(t.xhr.__sentry_xhr__.url))try{t.xhr.setRequestHeader("sentry-trace",e.toTraceparent());let n=s.getDynamicSamplingContext(),r=h(n);r&&t.xhr.setRequestHeader(u,r),s.metadata.propagations++}catch(t){}}})(t,a,o,l)})}({traceFetch:o,traceXHR:l,tracePropagationTargets:d,shouldCreateSpanForRequest:_})}_createRouteTransaction(t){if(!this._getCurrentHub){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}let{beforeNavigate:e,idleTimeout:n,finalTimeout:u,heartbeatInterval:h}=this.options,p="pageload"===t.op,f=p?V("sentry-trace"):null,m=p?V("baggage"):null,E=f?function(t){let e;let n=t.match(o);if(t&&n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(f):void 0,b=m?function(t){if(!(0,c.HD)(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce((t,e)=>{let n=_(e);return{...t,...n}},{});else{if(!t)return;e=_(t)}let n=Object.entries(e).reduce((t,[e,n])=>(e.match(d)&&(t[e.slice(l.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}(m):void 0,T={...t,...E,metadata:{...t.metadata,dynamicSamplingContext:E&&!b?{}:b},trimEnd:!0},k="function"==typeof e?e(T):T,R=void 0===k?{...T,sampled:!1}:k;R.metadata=R.name!==T.name?{...R.metadata,source:"custom"}:R.metadata,!1===R.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Tracing] Will not send ${R.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Tracing] Starting ${R.op} transaction on scope`);let D=this._getCurrentHub(),{location:x}=v,w=(0,s.lb)(D,R,n,u,!0,{location:x},h);return w.registerBeforeFinishCallback(t=>{!function(t){let e,n;let s=M();if(!s||!v.performance.getEntries||!S.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Adding & adjusting spans using Performance API");let o=(0,y.XL)(S.Z1),c=s.getEntries();if(c.slice(L).forEach(r=>{let i=(0,y.XL)(r.startTime),s=(0,y.XL)(r.duration);if("navigation"!==t.op||!(o+i<t.startTimestamp))switch(r.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{H(t,r,e,o)}),H(t,r,"secureConnection",o,"TLS/SSL","connectEnd"),H(t,r,"fetch",o,"cache","domainLookupStart"),H(t,r,"domainLookup",o,"DNS"),j(t,{op:"browser",description:"request",startTimestamp:o+(0,y.XL)(r.requestStart),endTimestamp:o+(0,y.XL)(r.responseEnd)}),j(t,{op:"browser",description:"response",startTimestamp:o+(0,y.XL)(r.responseStart),endTimestamp:o+(0,y.XL)(r.responseEnd)}),e=o+(0,y.XL)(r.responseStart),n=o+(0,y.XL)(r.requestStart);break;case"mark":case"paint":case"measure":{(function(t,e,n,r,i){let s=i+n;j(t,{description:e.name,endTimestamp:s+r,op:e.entryType,startTimestamp:s})})(t,r,i,s,o);let e=G(),n=r.startTime<e.firstHiddenTime;"first-paint"===r.name&&n&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding FP"),P.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&n&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding FCP"),P.fcp={value:r.startTime,unit:"millisecond"});break}case"resource":{let e=r.name.replace(v.location.origin,"");(function(t,e,n,r,i,s){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;let a={};"transferSize"in e&&(a["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(a["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(a["Decoded Body Size"]=e.decodedBodySize);let o=s+r;j(t,{description:n,endTimestamp:o+i,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",startTimestamp:o,data:a})})(t,r,e,i,s,o)}}}),L=Math.max(c.length-1,0),function(t){let e=v.navigator;if(!e)return;let n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),A(n.rtt)&&(P["connection.rtt"]={value:n.rtt,unit:"millisecond"})),A(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),A(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===t.op){"number"==typeof e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding TTFB"),P.ttfb={value:(e-t.startTimestamp)*1e3,unit:"millisecond"},"number"==typeof n&&n<=e&&(P["ttfb.requestTime"]={value:(e-n)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(e=>{if(!P[e]||o>=t.startTimestamp)return;let n=P[e].value,r=Math.abs((o+(0,y.XL)(n)-t.startTimestamp)*1e3),i=r-n;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Measurements] Normalized ${e} from ${n} to ${r} (${i})`),P[e].value=r});let s=P["mark.fid"];s&&P.fid&&(j(t,{description:"first input delay",endTimestamp:s.value+(0,y.XL)(P.fid.value),op:"ui.action",startTimestamp:s.value}),delete P["mark.fid"]),"fcp"in P||delete P.cls,Object.keys(P).forEach(e=>{t.setMeasurement(e,P[e].value,P[e].unit)}),r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding LCP Data"),r.element&&t.setTag("lcp.element",g(r.element)),r.id&&t.setTag("lcp.id",r.id),r.url&&t.setTag("lcp.url",r.url.trim().slice(0,200)),t.setTag("lcp.size",r.size)),i&&i.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding CLS Data"),i.sources.forEach((e,n)=>t.setTag(`cls.source.${n+1}`,g(e.node))))}r=void 0,i=void 0,P={}}(t)}),w}}function V(t){var e;let n=(e=`meta[name=${t}]`,f.document&&f.document.querySelector?f.document.querySelector(e):null);return n?n.getAttribute("content"):null}("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,s.ro)()},32926:(t,e,n)=>{"use strict";n.d(e,{Dr:()=>u,gB:()=>c});var r=n(29762),i=n(64362),s=n(18777),a=n(59141),o=n(94953);class c{__init(){this.spans=[]}constructor(t=1e3){c.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class u{__init2(){this.traceId=(0,i.DM)()}__init3(){this.spanId=(0,i.DM)().substring(16)}__init4(){this.startTimestamp=(0,s._I)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(u.prototype.__init2.call(this),u.prototype.__init3.call(this),u.prototype.__init4.call(this),u.prototype.__init5.call(this),u.prototype.__init6.call(this),u.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){let e=new u({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.transaction){let n=t&&t.op||"< unknown op >",r=e.transaction.name||"< unknown name >",i=e.transaction.spanId,s=`[Tracing] Starting '${n}' span on transaction '${r}' (${i}).`;e.transaction.metadata.spanMetadata[e.spanId]={logMessage:s},a.kg.log(s)}return e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));let e=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==e&&this.setStatus(e),this}isSuccess(){return"ok"===this.status}finish(t){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){let{logMessage:t}=this.transaction.metadata.spanMetadata[this.spanId];t&&a.kg.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof t?t:(0,s._I)()}toTraceparent(){let t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return(0,o.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=(0,r.h)(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=(0,r.h)(t.spanId,()=>this.spanId),this.startTimestamp=(0,r.h)(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=(0,r.h)(t.tags,()=>({})),this.traceId=(0,r.h)(t.traceId,()=>this.traceId),this}getTraceContext(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}},83728:(t,e,n)=>{"use strict";n.d(e,{Y:()=>u});var r=n(29762),i=n(91712),s=n(18777),a=n(59141),o=n(94953),c=n(32926);class u extends c.Dr{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,e){super(t),u.prototype.__init.call(this),u.prototype.__init2.call(this),u.prototype.__init3.call(this),this._hub=e||(0,i.Gd)(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{},changes:[],propagations:0},this._trimEnd=t.trimEnd,this.transaction=this;let n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t,e="custom"){(t!==this.name||e!==this.metadata.source)&&this.metadata.changes.push({source:this.metadata.source,timestamp:(0,s.ph)(),propagations:this.metadata.propagations}),this._name=t,this.metadata.source=e}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new c.gB(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e,n=""){this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(void 0!==this.endTimestamp)return;if(this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),!0!==this.sampled){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");let t=this._hub.getClient();t&&t.recordDroppedEvent("sample_rate","transaction");return}let e=this.spanRecorder?this.spanRecorder.spans.filter(t=>t!==this&&t.endTimestamp):[];this._trimEnd&&e.length>0&&(this.endTimestamp=e.reduce((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t).endTimestamp);let n=this.metadata,r={contexts:{...this._contexts,trace:this.getTraceContext()},spans:e,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...n,dynamicSamplingContext:this.getDynamicSamplingContext()},...n.source&&{transaction_info:{source:n.source,changes:n.changes,propagations:n.propagations}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),r.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(r)}toContext(){let t=super.toContext();return(0,o.Jr)({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=(0,r.h)(t.name,()=>""),this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;let t=this._hub||(0,i.Gd)(),e=t&&t.getClient();if(!e)return{};let{environment:n,release:r}=e.getOptions()||{},{publicKey:s}=e.getDsn()||{},a=this.metadata.sampleRate,c=void 0!==a?a.toString():void 0,u=t.getScope(),{segment:l}=u&&u.getUser()||{},d=this.metadata.source,h=d&&"url"!==d?this.name:void 0;return(0,o.Jr)({environment:n,release:r,transaction:h,user_segment:l,public_key:s,trace_id:this.traceId,sample_rate:c})}}},74976:(t,e,n)=>{"use strict";n.d(e,{XL:()=>a,x1:()=>s,zu:()=>i});var r=n(91712);function i(t){let e=(0,r.Gd)().getClient(),n=t||e&&e.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function s(t){let e=(t||(0,r.Gd)()).getScope();return e&&e.getTransaction()}function a(t){return t/1e3}},29762:(t,e,n)=>{"use strict";function r(t,e){return null!=t?t:e()}n.d(e,{h:()=>r})},61145:(t,e,n)=>{"use strict";let r,i,s;n.d(e,{o:()=>g});var a=n(96191),o=n(59141),c=n(94953);let u="<anonymous>";var l=n(22037);let d=(0,l.Rf)();function h(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}let _=(0,l.Rf)(),p={},f={};function g(t,e){p[t]=p[t]||[],p[t].push(e),function(t){if(!f[t])switch(f[t]=!0,t){case"console":"console"in _&&o.RU.forEach(function(t){t in _.console&&(0,c.hl)(_.console,t,function(e){return function(...n){m("console",{args:n,level:t}),e&&e.apply(_.console,n)}})});break;case"dom":(function(){if(!("document"in _))return;let t=m.bind(null,"dom"),e=y(t,!0);_.document.addEventListener("click",e,!1),_.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(e=>{let n=_[e]&&_[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,c.hl)(n,"addEventListener",function(e){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=y(t);s.handler=r,e.call(this,n,r,i)}s.refCount++}catch(t){}return e.call(this,n,r,i)}}),(0,c.hl)(n,"removeEventListener",function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[e];i&&(i.refCount--,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete n[e]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}}))})})();break;case"xhr":(function(){if(!("XMLHttpRequest"in _))return;let t=XMLHttpRequest.prototype;(0,c.hl)(t,"open",function(t){return function(...e){let n=this,r=e[1],i=n.__sentry_xhr__={method:(0,a.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1]};(0,a.HD)(r)&&"POST"===i.method&&r.match(/sentry_key/)&&(n.__sentry_own_request__=!0);let s=function(){if(4===n.readyState){try{i.status_code=n.status}catch(t){}m("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?(0,c.hl)(n,"onreadystatechange",function(t){return function(...e){return s(),t.apply(n,e)}}):n.addEventListener("readystatechange",s),t.apply(n,e)}}),(0,c.hl)(t,"send",function(t){return function(...e){return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),m("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}})})();break;case"fetch":!function(){if(!function(){if(!("fetch"in d))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}())return!1;if(h(d.fetch))return!0;let t=!1,e=d.document;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=h(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}()||(0,c.hl)(_,"fetch",function(t){return function(...e){let n={args:e,fetchData:{method:function(t=[]){return"Request"in _&&(0,a.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}(e),url:function(t=[]){return"string"==typeof t[0]?t[0]:"Request"in _&&(0,a.V9)(t[0],Request)?t[0].url:String(t[0])}(e)},startTimestamp:Date.now()};return m("fetch",{...n}),t.apply(_,e).then(t=>(m("fetch",{...n,endTimestamp:Date.now(),response:t}),t),t=>{throw m("fetch",{...n,endTimestamp:Date.now(),error:t}),t})}});break;case"history":(function(){if(!function(){let t=d.chrome,e=t&&t.app&&t.app.runtime,n="history"in d&&!!d.history.pushState&&!!d.history.replaceState;return!e&&n}())return;let t=_.onpopstate;function e(t){return function(...e){let n=e.length>2?e[2]:void 0;if(n){let t=r,e=String(n);r=e,m("history",{from:t,to:e})}return t.apply(this,e)}}_.onpopstate=function(...e){let n=_.location.href,i=r;if(r=n,m("history",{from:i,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,c.hl)(_.history,"pushState",e),(0,c.hl)(_.history,"replaceState",e)})();break;case"error":v=_.onerror,_.onerror=function(t,e,n,r,i){return m("error",{column:r,error:i,line:n,msg:t,url:e}),!!v&&v.apply(this,arguments)};break;case"unhandledrejection":E=_.onunhandledrejection,_.onunhandledrejection=function(t){return m("unhandledrejection",t),!E||E.apply(this,arguments)};break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("unknown instrumentation type:",t);return}}(t)}function m(t,e){if(t&&p[t])for(let n of p[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error(`Error while triggering instrumentation handler. Type: ${t} Name: ${function(t){try{if(!t||"function"!=typeof t)return u;return t.name||u}catch(t){return u}}(n)} Error:`,e)}}function y(t,e=!1){return n=>{if(!n||s===n||function(t){if("keypress"!==t.type)return!1;try{let e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n))return;let r="keypress"===n.type?"input":n.type;void 0===i?(t({event:n,name:r,global:e}),s=n):function(t,e){if(!t||t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(s,n)&&(t({event:n,name:r,global:e}),s=n),clearTimeout(i),i=_.setTimeout(()=>{i=void 0},1e3)}}let v=null,E=null},96191:(t,e,n)=>{"use strict";n.d(e,{HD:()=>s,J8:()=>c,Kj:()=>o,PO:()=>a,V9:()=>l,i2:()=>u});let r=Object.prototype.toString;function i(t,e){return r.call(t)===`[object ${e}]`}function s(t){return i(t,"String")}function a(t){return i(t,"Object")}function o(t){return i(t,"RegExp")}function c(t){return!!(t&&t.then&&"function"==typeof t.then)}function u(t){return"number"==typeof t&&t!=t}function l(t,e){try{return t instanceof e}catch(t){return!1}}},59141:(t,e,n)=>{"use strict";let r;n.d(e,{Cf:()=>a,RU:()=>s,kg:()=>r});var i=n(22037);let s=["debug","info","warn","error","log","assert","trace"];function a(t){if(!("console"in i.n2))return t();let e=i.n2.console,n={};s.forEach(t=>{let r=e[t]&&e[t].__sentry_original__;t in e&&r&&(n[t]=e[t],e[t]=r)});try{return t()}finally{Object.keys(n).forEach(t=>{e[t]=n[t]})}}function o(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?s.forEach(n=>{e[n]=(...e)=>{t&&a(()=>{i.n2.console[n](`Sentry Logger [${n}]:`,...e)})}}):s.forEach(t=>{e[t]=()=>void 0}),e}"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?r=(0,i.YO)("logger",o):r=o()},64362:(t,e,n)=>{"use strict";n.d(e,{DM:()=>i,lE:()=>s});var r=n(22037);function i(){let t=r.n2,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");let n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return"10000000100040008000100000000000".replace(/[018]/g,t=>(t^(15&n())>>t/4).toString(16))}function s(t){return Array.isArray(t)?t:[t]}},74984:(t,e,n)=>{"use strict";n.d(e,{l$:()=>s,KV:()=>i,$y:()=>a}),t=n.hmd(t);var r=n(20141);function i(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}function s(t,e){return t.require(e)}function a(e){let n;try{n=s(t,e)}catch(t){}try{let{cwd:r}=s(t,"process");n=s(t,`${r()}/node_modules/${e}`)}catch(t){}return n}},94953:(t,e,n)=>{"use strict";n.d(e,{Jr:()=>s,hl:()=>i});var r=n(96191);function i(t,e,n){if(!(e in t))return;let r=t[e],i=n(r);if("function"==typeof i)try{(function(t,e){let n=e.prototype||{};t.prototype=e.prototype=n,Object.defineProperty(t,"__sentry_original__",{value:e,writable:!0,configurable:!0})})(i,r)}catch(t){}t[e]=i}function s(t){return function t(e,n){if((0,r.PO)(e)){let r=n.get(e);if(void 0!==r)return r;let i={};for(let r of(n.set(e,i),Object.keys(e)))void 0!==e[r]&&(i[r]=t(e[r],n));return i}if(Array.isArray(e)){let r=n.get(e);if(void 0!==r)return r;let i=[];return n.set(e,i),e.forEach(e=>{i.push(t(e,n))}),i}return e}(t,new Map)}},18777:(t,e,n)=>{"use strict";n.d(e,{Z1:()=>h,_I:()=>d,ph:()=>l,yW:()=>u});var r=n(74984),i=n(22037);t=n.hmd(t);let s=(0,i.Rf)(),a={nowSeconds:()=>Date.now()/1e3},o=(0,r.KV)()?function(){try{return(0,r.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){let{performance:t}=s;if(t&&t.now)return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===o?a:{nowSeconds:()=>(o.timeOrigin+o.now())/1e3},u=a.nowSeconds.bind(a),l=c.nowSeconds.bind(c),d=l,h=(()=>{let{performance:t}=s;if(!t||!t.now)return;let e=t.now(),n=Date.now(),r=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,i=t.timing&&t.timing.navigationStart,a="number"==typeof i?Math.abs(i+e-n):36e5;return r<36e5||a<36e5?r<=a?t.timeOrigin:i:n})()},22037:(t,e,n)=>{"use strict";function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:()=>s,YO:()=>a,n2:()=>i});let i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function s(){return i}function a(t,e,n){let r=n||i,s=r.__SENTRY__=r.__SENTRY__||{};return s[t]||(s[t]=e())}},72598:(t,e,n)=>{"use strict";n.d(e,{Rt:()=>s,l4:()=>a});var r=n(14444);let i=(0,n(65112).Rf)();function s(t,e={}){try{let n,i=t,s=[],a=0,o=0,c=Array.isArray(e)?e:e.keyAttrs,u=!Array.isArray(e)&&e.maxStringLength||80;for(;i&&a++<5&&(n=function(t,e){let n,i,s,a,o;let c=[];if(!t||!t.tagName)return"";c.push(t.tagName.toLowerCase());let u=e&&e.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(u&&u.length)u.forEach(t=>{c.push(`[${t[0]}="${t[1]}"]`)});else if(t.id&&c.push(`#${t.id}`),(n=t.className)&&(0,r.HD)(n))for(o=0,i=n.split(/\s+/);o<i.length;o++)c.push(`.${i[o]}`);let l=["aria-label","type","name","title","alt"];for(o=0;o<l.length;o++)s=l[o],(a=t.getAttribute(s))&&c.push(`[${s}="${a}"]`);return c.join("")}(i,c),"html"!==n&&(!(a>1)||!(o+3*s.length+n.length>=u)));)s.push(n),o+=n.length,i=i.parentNode;return s.reverse().join(" > ")}catch(t){return"<unknown>"}}function a(){try{return i.document.location.href}catch(t){return""}}},24779:(t,e,n)=>{"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(e,{S:()=>i,n:()=>r})},14444:(t,e,n)=>{"use strict";n.d(e,{Cy:()=>g,HD:()=>u,J8:()=>f,Kj:()=>p,PO:()=>d,TX:()=>o,V9:()=>y,VW:()=>a,VZ:()=>i,cO:()=>h,fm:()=>c,i2:()=>m,kK:()=>_,pt:()=>l});let r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function s(t,e){return r.call(t)===`[object ${e}]`}function a(t){return s(t,"ErrorEvent")}function o(t){return s(t,"DOMError")}function c(t){return s(t,"DOMException")}function u(t){return s(t,"String")}function l(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function d(t){return s(t,"Object")}function h(t){return"undefined"!=typeof Event&&y(t,Event)}function _(t){return"undefined"!=typeof Element&&y(t,Element)}function p(t){return s(t,"RegExp")}function f(t){return!!(t&&t.then&&"function"==typeof t.then)}function g(t){return d(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t){return"number"==typeof t&&t!=t}function y(t,e){try{return t instanceof e}catch(t){return!1}}},24358:(t,e,n)=>{"use strict";n.d(e,{Cf:()=>a,LD:()=>s,RU:()=>i,kg:()=>o});var r=n(65112);let i=["debug","info","warn","error","log","assert","trace"],s={};function a(t){if(!("console"in r.n2))return t();let e=r.n2.console,n={},i=Object.keys(s);i.forEach(t=>{let r=s[t];n[t]=e[t],e[t]=r});try{return t()}finally{i.forEach(t=>{e[t]=n[t]})}}let o=function(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach(n=>{e[n]=(...e)=>{t&&a(()=>{r.n2.console[n](`Sentry Logger [${n}]:`,...e)})}}):i.forEach(t=>{e[t]=()=>void 0}),e}()},42193:(t,e,n)=>{"use strict";n.d(e,{DM:()=>s,Db:()=>c,EG:()=>u,YO:()=>l,jH:()=>o,lE:()=>d});var r=n(12981),i=n(65112);function s(){let t=i.n2,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");let n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return"10000000100040008000100000000000".replace(/[018]/g,t=>(t^(15&n())>>t/4).toString(16))}function a(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function o(t){let{message:e,event_id:n}=t;if(e)return e;let r=a(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function u(t,e){let n=a(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r&&r.data,...e.data};n.mechanism.data=t}}function l(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.xp)(t,"__sentry_captured__",!0)}catch(t){}return!1}function d(t){return Array.isArray(t)?t:[t]}},69093:(t,e,n)=>{"use strict";n.d(e,{KV:()=>s,l$:()=>a});var r=n(24779);t=n.hmd(t);var i=n(20141);function s(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==i?i:0)}function a(t,e){return t.require(e)}},12981:(t,e,n)=>{"use strict";n.d(e,{$Q:()=>c,HK:()=>u,Jr:()=>f,Sh:()=>d,_j:()=>l,hl:()=>a,xp:()=>o,zf:()=>p});var r=n(72598),i=n(14444),s=n(74652);function a(t,e,n){if(!(e in t))return;let r=t[e],i=n(r);if("function"==typeof i)try{c(i,r)}catch(t){}t[e]=i}function o(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function c(t,e){let n=e.prototype||{};t.prototype=e.prototype=n,o(t,"__sentry_original__",e)}function u(t){return t.__sentry_original__}function l(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function d(t){if((0,i.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,..._(t)};if(!(0,i.cO)(t))return t;{let e={type:t.type,target:h(t.target),currentTarget:h(t.currentTarget),..._(t)};return"undefined"!=typeof CustomEvent&&(0,i.V9)(t,CustomEvent)&&(e.detail=t.detail),e}}function h(t){try{return(0,i.kK)(t)?(0,r.Rt)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function _(t){if("object"!=typeof t||null===t)return{};{let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}function p(t,e=40){let n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,s.$G)(n[0],e);for(let t=n.length;t>0;t--){let r=n.slice(0,t).join(", ");if(!(r.length>e)){if(t===n.length)return r;return(0,s.$G)(r,e)}}return""}function f(t){return function t(e,n){if((0,i.PO)(e)){let r=n.get(e);if(void 0!==r)return r;let i={};for(let r of(n.set(e,i),Object.keys(e)))void 0!==e[r]&&(i[r]=t(e[r],n));return i}if(Array.isArray(e)){let r=n.get(e);if(void 0!==r)return r;let i=[];return n.set(e,i),e.forEach(e=>{i.push(t(e,n))}),i}return e}(t,new Map)}},74652:(t,e,n)=>{"use strict";n.d(e,{$G:()=>i,U0:()=>a,nK:()=>s});var r=n(14444);function i(t,e=0){return"string"!=typeof t||0===e?t:t.length<=e?t:`${t.slice(0,e)}...`}function s(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];try{n.push(String(r))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function a(t,e=[],n=!1){return e.some(e=>(function(t,e,n=!1){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):!!(0,r.HD)(e)&&(n?t===e:t.includes(e)))})(t,e,n))}},91871:(t,e,n)=>{"use strict";n.d(e,{$2:()=>a,WD:()=>s,cW:()=>o});var r,i=n(14444);function s(t){return new o(e=>{e(t)})}function a(t){return new o((e,n)=>{n(t)})}!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(r||(r={}));class o{constructor(t){o.prototype.__init.call(this),o.prototype.__init2.call(this),o.prototype.__init3.call(this),o.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 o((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 o((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{if(this._state===r.PENDING){if((0,i.J8)(e)){e.then(this._resolve,this._reject);return}this._state=t,this._value=e,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;let 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)})}}}},76094:(t,e,n)=>{"use strict";n.d(e,{ph:()=>l,yW:()=>u});var r=n(69093),i=n(65112);t=n.hmd(t);let s=(0,i.Rf)(),a={nowSeconds:()=>Date.now()/1e3},o=(0,r.KV)()?function(){try{return(0,r.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){let{performance:t}=s;if(t&&t.now)return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===o?a:{nowSeconds:()=>(o.timeOrigin+o.now())/1e3},u=a.nowSeconds.bind(a),l=c.nowSeconds.bind(c);(()=>{let{performance:t}=s;if(!t||!t.now)return;let e=t.now(),n=Date.now(),r=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,i=t.timing&&t.timing.navigationStart,a="number"==typeof i?Math.abs(i+e-n):36e5;if(r<36e5||a<36e5)return r<=a?t.timeOrigin:void 0})()},90488:(t,e,n)=>{"use strict";function r(t){if(!t)return{};let e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};let n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function i(t){return t.split(/\\?\//).filter(t=>t.length>0&&","!==t).length}n.d(e,{$A:()=>i,en:()=>r})},65112:(t,e,n)=>{"use strict";function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:()=>s,YO:()=>a,n2:()=>i});let i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function s(){return i}function a(t,e,n){let r=n||i,s=r.__SENTRY__=r.__SENTRY__||{};return s[t]||(s[t]=e())}},90215:()=>{window.requestIdleCallback=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(t){clearTimeout(t)}},51969:(t,e,n)=>{"use strict";n.d(e,{Z:()=>b});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,s=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(s):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},o=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function s(){n&&(n=!1,t()),r&&c()}function o(){a(s)}function c(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(o,20);i=t}return c}(this.refresh.bind(this),0)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;o.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||s},h=g(0,0,0,0);function _(t){return parseFloat(t)||0}function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+_(t["border-"+n+"-width"])},0)}var f="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"==typeof t.getBBox};function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=function(t){if(!i)return h;if(f(t)){var e;return g(0,0,(e=t.getBBox()).width,e.height)}return function(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=d(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],s=t["padding-"+i];e[i]=_(s)}return e}(r),s=i.left+i.right,a=i.top+i.bottom,o=_(r.width),c=_(r.height);if("border-box"===r.boxSizing&&(Math.round(o+s)!==e&&(o-=p(r,"left","right")+s),Math.round(c+a)!==n&&(c-=p(r,"top","bottom")+a)),t!==d(t).document.documentElement){var u=Math.round(o+s)-e,l=Math.round(c+a)-n;1!==Math.abs(u)&&(o-=u),1!==Math.abs(l)&&(c-=l)}return g(i.left,i.top,o,c)}(t)}(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),y=function(t,e){var n,r,i,s,a,o=(n=e.x,r=e.y,i=e.width,s=e.height,l(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:i,height:s,top:r,right:n+i,bottom:s+r,left:n}),a);l(this,{target:t,contentRect:o})},v=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new y(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,S=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new v(e,u.getInstance(),this);E.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){S.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}});let b=void 0!==s.ResizeObserver?s.ResizeObserver:S},72289:(t,e,n)=>{"use strict";var r=n(39768),i=n(32256),s=n(19773)(),a=n(7933),o=r("%TypeError%"),c=r("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new o("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||c(e)!==e)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in t&&a){var l=a(t,"length");l&&!l.configurable&&(r=!1),l&&!l.writable&&(u=!1)}return(r||u||!n)&&(s?i(t,"length",e,!0,!0):i(t,"length",e)),t}},60006:t=>{"use strict";t.exports=function(t,e){if(t===e)return!0;if(!t||!e)return!1;var n=Object.keys(t),r=Object.keys(e),i=n.length;if(r.length!==i)return!1;for(var s=0;s<i;s++){var a=n[s];if(t[a]!==e[a]||!Object.prototype.hasOwnProperty.call(e,a))return!1}return!0}},46954:t=>{t.exports=function(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var s=Object.keys(t),a=Object.keys(e);if(s.length!==a.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(e),c=0;c<s.length;c++){var u=s[c];if(!o(u))return!1;var l=t[u],d=e[u];if(!1===(i=n?n.call(r,l,d,u):void 0)||void 0===i&&l!==d)return!1}return!0}},64559:(t,e,n)=>{"use strict";var r=n(39768),i=n(52395),s=n(83760),a=r("%TypeError%"),o=r("%WeakMap%",!0),c=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),_=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),f=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},g=function(t,e){var n=f(t,e);return n&&n.value},m=function(t,e,n){var r=f(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+s(t))},get:function(r){if(o&&r&&("object"==typeof r||"function"==typeof r)){if(t)return u(t,r)}else if(c){if(e)return h(e,r)}else if(n)return g(n,r)},has:function(r){if(o&&r&&("object"==typeof r||"function"==typeof r)){if(t)return d(t,r)}else if(c){if(e)return p(e,r)}else if(n)return!!f(n,r);return!1},set:function(r,i){o&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new o),l(t,r,i)):c?(e||(e=new c),_(e,r,i)):(n||(n={key:{},next:null}),m(n,r,i))}};return r}},16377:(t,e,n)=>{"use strict";n.d(e,{F4:()=>tB,LC:()=>tu,ZP:()=>t$,f6:()=>tU,iv:()=>tm,vJ:()=>tY});var r=n(84374),i=n(87363),s=n.n(i),a=n(46954),o=n.n(a),c=n(98622),u=n(31963),l=n(2375),d=n(24638),h=n.n(d),_=n(20141);function p(){return(p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var f=function(t,e){for(var n=[t[0]],r=0,i=e.length;r<i;r+=1)n.push(e[r],t[r+1]);return n},g=function(t){return"object"==typeof t&&t.constructor===Object},m=Object.freeze([]),y=Object.freeze({});function v(t){return"function"==typeof t}function E(t){return t.displayName||t.name||"Component"}function S(t){return t&&"string"==typeof t.styledComponentId}var b=void 0!==_&&(_.env.REACT_APP_SC_ATTR||_.env.SC_ATTR)||"data-styled",T="active",k="data-styled-version",R="5.0.0",D="undefined"!=typeof window&&"HTMLElement"in window,x="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==_&&(_.env.REACT_APP_SC_DISABLE_SPEEDY||_.env.SC_DISABLE_SPEEDY)||!1,w={},N=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(b))return r}},O=function(t){var e=document.head,r=t||e,i=document.createElement("style"),s=N(r),a=void 0!==s?s.nextSibling:null;i.setAttribute(b,T),i.setAttribute(k,R);var o=n.nc;return o&&i.setAttribute("nonce",o),r.insertBefore(i,a),i},U=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var i=e[n];if(i.ownerNode===t)return i}throw TypeError("CSSStyleSheet could not be found on HTMLStyleElement")},C=function(t){var e=t.isServer,n=t.useCSSOMInjection,r=t.target;return e?new Y(r):n?new I(r):new G(r)},I=function(){function t(t){var e=this.element=O(t);e.appendChild(document.createTextNode("")),this.sheet=U(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),G=function(){function t(t){var e=this.element=O(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(!(t<=this.length)||!(t>=0))return!1;var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),Y=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),B=function(){function t(t){this.groupSizes=new Uint32Array(256),this.length=256,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){var n=this.groupSizes,r=n.length,i=256<<(t/256|0);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=r;s<i;s++)this.groupSizes[s]=0}for(var a=this.indexOfGroup(t+1),o=0,c=e.length;o<c;o++)this.tag.insertRule(a,e[o])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n,s=r;s<i;s++)e+=this.tag.getRule(s)+"\n";return e},t}(),$=new Map,A=new Map,j=1,M=function(t){if($.has(t))return $.get(t);var e=j++;return $.set(t,e),A.set(e,t),e},L=function(t,e){e>=j&&(j=e+1),$.set(t,e),A.set(e,t)},P="style["+b+"]["+k+'="'+R+'"]',H=/(?:\s*)?(.*?){((?:{[^}]*}|(?!{).*?)*)}/g,q=RegExp("^"+b+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\]'),W=function(t){for(var e=t.getTag(),n=e.length,r="",i=0;i<n;i++){var s,a=(s=i,A.get(s));if(void 0!==a){var o=t.names.get(a),c=e.getGroup(i);if(void 0!==o&&0!==c.length){var u=b+".g"+i+'[id="'+a+'"]',l="";void 0!==o&&o.forEach(function(t){t.length>0&&(l+=t+",")}),r+=""+c+u+'{content:"'+l+'"}\n'}}}return r},z=function(t,e,n){for(var r,i=n.split(","),s=0,a=i.length;s<a;s++)(r=i[s])&&t.registerName(e,r)},J=function(t,e){for(var n,r=e.innerHTML,i=[];n=H.exec(r);){var s=n[1].match(q);if(s){var a=0|parseInt(s[1],10),o=s[2];0!==a&&(L(o,a),z(t,o,n[2].split('"')[1]),t.getTag().insertRules(a,i)),i.length=0}else i.push(n[0].trim())}},F=function(t){for(var e=document.querySelectorAll(P),n=0,r=e.length;n<r;n++){var i=e[n];i&&i.getAttribute(b)!==T&&(J(t,i),i.parentNode&&i.parentNode.removeChild(i))}},V=D,K={isServer:!D,useCSSOMInjection:!x},X=function(){function t(t,e,n){void 0===t&&(t=K),void 0===e&&(e={}),this.options=p({},K,t),this.gs=e,this.names=new Map(n),!this.options.isServer&&D&&V&&(V=!1,F(this))}t.registerId=function(t){return M(t)};var e=t.prototype;return e.reconstructWithOptions=function(e){return new t(p({},this.options,e),this.gs,this.names)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){return this.tag||(this.tag=new B(C(this.options)))},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(M(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(M(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(M(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return W(this)},t}();function Z(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+t+" for more information."+(n.length>0?" Additional arguments: "+n.join(", "):""))}var Q=function(t,e){t|=0;for(var n=0,r=0|e.length;n<r;n++)t=(t<<5)+t+e.charCodeAt(n);return t},tt=function(t){return Q(5381,t)>>>0},te=/^\s*\/\/.*$/gm;function tn(t){var e,n,r,i=void 0===t?y:t,s=i.options,a=void 0===s?y:s,o=i.plugins,u=void 0===o?m:o,l=new c.Z(a),d=[],h=function(t){var e="/*|*/",n=e+"}";function r(e){if(e)try{t(e+"}")}catch(t){}}return function(i,s,a,o,c,u,l,d,h,_){switch(i){case 1:if(0===h&&64===s.charCodeAt(0))return t(s+";"),"";break;case 2:if(0===d)return s+e;break;case 3:switch(d){case 102:case 112:return t(a[0]+s),"";default:return s+(0===_?e:"")}case -2:s.split(n).forEach(r)}}}(function(t){d.push(t)}),_=function(t,r,i){return r>0&&-1!==i.slice(0,r).indexOf(n)&&i.slice(r-n.length,r)!==n?"."+e:t};function p(t,i,s,a){void 0===a&&(a="&");var o=t.replace(te,""),c=i&&s?s+" "+i+" { "+o+" }":o;return e=a,r=RegExp("\\"+(n=i)+"\\b","g"),l(s||!i?"":i,c)}return l.use([].concat(u,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,_))},h,function(t){if(-2===t){var e=d;return d=[],e}}])),p.hash=u.reduce(function(t,e){return e.name||Z(15),Q(t,e.name)},5381).toString(),p}var tr=s().createContext();tr.Consumer;var ti=s().createContext();ti.Consumer;var ts=new X,ta=tn();function to(){return(0,i.useContext)(tr)||ts}function tc(){return(0,i.useContext)(ti)||ta}function tu(t){var e=(0,i.useState)(t.stylisPlugins),n=e[0],r=e[1],a=to(),c=(0,i.useMemo)(function(){var e=a;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target})),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e},[t.disableCSSOMInjection,t.sheet,t.target]),u=(0,i.useMemo)(function(){return tn({options:{prefix:!t.disableVendorPrefixes},plugins:n})},[t.disableVendorPrefixes,n]);return(0,i.useEffect)(function(){o()(n,t.stylisPlugins)||r(t.stylisPlugins)},[t.stylisPlugins]),s().createElement(tr.Provider,{value:c},s().createElement(ti.Provider,{value:u},t.children))}var tl=function(){function t(t,e){var n=this;this.inject=function(t){t.hasNameForId(n.id,n.name)||t.insertRules(n.id,n.name,ta.apply(void 0,n.stringifyArgs))},this.toString=function(){return Z(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.stringifyArgs=e}return t.prototype.getName=function(){return this.name},t}(),td=/([A-Z])/g,th=/^ms-/;function t_(t){return t.replace(td,"-$1").toLowerCase().replace(th,"-ms-")}var tp=function(t){return null==t||!1===t||""===t},tf=function t(e,n){var r=[];return Object.keys(e).forEach(function(n){if(!tp(e[n])){var i;if(g(e[n]))return r.push.apply(r,t(e[n],n)),r;if(v(e[n]))return r.push(t_(n)+":",e[n],";"),r;r.push(t_(n)+": "+(null==(i=e[n])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in u.Z?String(i).trim():i+"px")+";")}return r}),n?[n+" {"].concat(r,["}"]):r};function tg(t,e,n){if(Array.isArray(t)){for(var r,i=[],s=0,a=t.length;s<a;s+=1)""!==(r=tg(t[s],e,n))&&(Array.isArray(r)?i.push.apply(i,r):i.push(r));return i}if(tp(t))return"";if(S(t))return"."+t.styledComponentId;if(v(t))return"function"!=typeof t||t.prototype&&t.prototype.isReactComponent||!e?t:tg(t(e),e,n);return t instanceof tl?n?(t.inject(n),t.getName()):t:g(t)?tf(t):t.toString()}function tm(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return v(t)||g(t)?tg(f(m,[t].concat(n))):0===n.length&&1===t.length&&"string"==typeof t[0]?t:tg(f(t,n))}var ty=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},tv=/(a)(d)/gi,tE=function(t){return String.fromCharCode(t+(t>25?39:97))};function tS(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=tE(e%52)+n;return(tE(e%52)+n).replace(tv,"$1-$2")}function tb(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(v(n)&&!S(n))return!1}return!0}var tT=function(){function t(t,e){this.rules=t,this.staticRulesId="",this.isStatic=tb(t),this.componentId=e,this.baseHash=tt(e),X.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId;if(this.isStatic&&!n.hash){if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))return this.staticRulesId;var i=tg(this.rules,t,e).join(""),s=tS(Q(this.baseHash,i.length)>>>0);if(!e.hasNameForId(r,s)){var a=n(i,"."+s,void 0,r);e.insertRules(r,s,a)}return this.staticRulesId=s,s}for(var o=this.rules.length,c=Q(this.baseHash,n.hash),u="",l=0;l<o;l++){var d=this.rules[l];if("string"==typeof d)u+=d;else{var h=tg(d,t,e),_=Array.isArray(h)?h.join(""):h;c=Q(c,_+l),u+=_}}var p=tS(c>>>0);if(!e.hasNameForId(r,p)){var f=n(u,"."+p,void 0,r);e.insertRules(r,p,f)}return p},t}(),tk=function(t,e,n){return void 0===n&&(n=y),t.theme!==n.theme&&t.theme||e||n.theme},tR=/[[\].#*$><+~=|^:(),"'`-]+/g,tD=/(^-|-$)/g;function tx(t){return t.replace(tR,"-").replace(tD,"")}function tw(t){return"string"==typeof t}var tN=function(t){return tS(tt(t))},tO=s().createContext();function tU(t){var e=(0,i.useContext)(tO),n=(0,i.useMemo)(function(){var n;return(n=t.theme)?v(n)?n(e):Array.isArray(n)||"object"!=typeof n?Z(8):e?p({},e,n):n:Z(14)},[t.theme,e]);return t.children?s().createElement(tO.Provider,{value:n},t.children):null}tO.Consumer;var tC={},tI=function(t){return function t(e,n,i){if(void 0===i&&(i=y),!(0,r.isValidElementType)(n))return Z(1,String(n));var s=function(){return e(n,i,tm.apply(void 0,arguments))};return s.withConfig=function(r){return t(e,n,p({},i,r))},s.attrs=function(r){return t(e,n,p({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},s}(function t(e,n,r){var a,o,c,u,d,_=S(e),f=!tw(e),g=n.displayName,b=void 0===g?tw(e)?"styled."+e:"Styled("+E(e)+")":g,T=n.componentId,k=void 0===T?(a=n.displayName,o=n.parentComponentId,tC[c="string"!=typeof a?"sc":tx(a)]=(tC[c]||0)+1,u=c+"-"+tN(c+tC[c]),o?o+"-"+u:u):T,R=n.attrs,D=void 0===R?m:R,x=n.displayName&&n.componentId?tx(n.displayName)+"-"+n.componentId:n.componentId||k,w=_&&e.attrs?Array.prototype.concat(e.attrs,D).filter(Boolean):D,N=new tT(_?e.componentStyle.rules.concat(r):r,x),O=function(t,e){return function(t,e,n){var r,s,a,o,c,u,d,h=t.attrs,_=t.componentStyle,f=t.defaultProps,g=t.foldedComponentIds,m=t.styledComponentId,E=t.target;(0,i.useDebugValue)(m);var S=(void 0===(r=tk(e,(0,i.useContext)(tO),f)||y)&&(r=y),s=p({},e,{theme:r}),a={},h.forEach(function(t){var e,n,r,i=t;for(r in v(i)&&(i=i(s)),i)s[r]=a[r]="className"===r?(e=a[r],n=i[r],e&&n?e+" "+n:e||n):i[r]}),[s,a]),b=S[0],T=S[1],k=(o=h.length>0,c=to(),u=tc(),d=_.isStatic&&!o?_.generateAndInjectStyles(y,c,u):_.generateAndInjectStyles(b,c,u),(0,i.useDebugValue)(d),d),R=T.as||e.as||E,D=tw(R),x=T!==e?p({},e,T):e,w=D||"as"in x||"forwardedAs"in x,N=w?{}:p({},x);if(w)for(var O in x)"forwardedAs"===O?N.as=x[O]:"as"!==O&&"forwardedAs"!==O&&(!D||(0,l.Z)(O))&&(N[O]=x[O]);return e.style&&T.style!==e.style&&(N.style=p({},e.style,T.style)),N.className=Array.prototype.concat(g,m,k!==m?k:null,e.className,T.className).filter(Boolean).join(" "),N.ref=n,(0,i.createElement)(R,N)}(d,t,e)};return O.displayName=b,(d=s().forwardRef(O)).attrs=w,d.componentStyle=N,d.displayName=b,d.foldedComponentIds=_?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):m,d.styledComponentId=x,d.target=_?e.target:e,d.withComponent=function(e){var i=n.componentId,s=function(t,e){if(null==t)return{};var n,r,i={},s=Object.keys(t);for(r=0;r<s.length;r++)e.indexOf(n=s[r])>=0||(i[n]=t[n]);return i}(n,["componentId"]),a=i&&i+"-"+(tw(e)?e:tx(E(e)));return t(e,p({},s,{attrs:w,componentId:a}),r)},Object.defineProperty(d,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=_?function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var s=0;s<r.length;s++){var a=r[s];if(ty(a))for(var o in a)"__proto__"!==o&&"constructor"!==o&&"prototype"!==o&&function(e,n,r){var i=e[r];ty(n)&&ty(i)?t(i,n):e[r]=n}(e,a[o],o)}return e}({},e.defaultProps,t):t}}),d.toString=function(){return"."+d.styledComponentId},f&&h()(d,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),d},t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(t){tI[t]=tI(t)});var tG=function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=tb(t)}var e=t.prototype;return e.createStyles=function(t,e,n,r){var i=r(tg(this.rules,e,n).join(""),""),s=this.componentId+t;n.insertRules(s,s,i)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,n,r){X.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)},t}();function tY(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var a=tm.apply(void 0,[t].concat(n)),o="sc-global-"+tN(JSON.stringify(a)),c=new tG(a,o);return s().memo(function t(e){var n=to(),r=tc(),s=(0,i.useContext)(tO),a=(0,i.useRef)(null);null===a.current&&(a.current=n.allocateGSInstance(o));var u=a.current;if(c.isStatic)c.renderStyles(u,w,n,r);else{var l=p({},e,{theme:tk(e,s,t.defaultProps)});c.renderStyles(u,l,n,r)}return(0,i.useEffect)(function(){return function(){return c.removeStyles(u,n)}},m),null})}function tB(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=tm.apply(void 0,[t].concat(n)).join(""),s=tN(i);return new tl(s,[i,s,"@keyframes"])}let t$=tI},95251:(t,e,n)=>{"use strict";n.d(e,{Z:()=>N});var r=n(58936),i=n.n(r),s="comm",a="rule",o="decl",c=Math.abs,u=String.fromCharCode;function l(t,e,n){return t.replace(e,n)}function d(t,e){return 0|t.charCodeAt(e)}function h(t,e,n){return t.slice(e,n)}function _(t){return t.length}function p(t,e){return e.push(t),t}Object.assign;var f=1,g=1,m=0,y=0,v=0,E="";function S(t,e,n,r,i,s,a,o){return{value:t,root:e,parent:n,type:r,props:i,children:s,line:f,column:g,length:a,return:"",siblings:o}}function b(){return v=y<m?d(E,y++):0,g++,10===v&&(g=1,f++),v}function T(){return d(E,y)}function k(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(t){var e,n;return(e=y-1,n=function t(e){for(;b();)switch(v){case e:return y;case 34:case 39:34!==e&&39!==e&&t(v);break;case 40:41===e&&t(e);break;case 92:b()}return y}(91===t?t+2:40===t?t+1:t),h(E,e,n)).trim()}function D(t,e,n,r,i,s,o,u,d,_,p,f){for(var g=i-1,m=0===i?s:[""],y=m.length,v=0,E=0,b=0;v<r;++v)for(var T=0,k=h(t,g+1,g=c(E=o[v])),R=t;T<y;++T)(R=(E>0?m[T]+" "+k:l(k,/&\f/g,m[T])).trim())&&(d[b++]=R);return S(t,e,n,0===i?a:u,d,_,p,f)}function x(t,e,n,r,i){return S(t,e,n,o,h(t,0,r),h(t,r+1,-1),r,i)}function w(t,e,n,r){if("@keyframes"===t.type||"@supports"===t.type||t.type===a&&(!t.parent||"@media"===t.parent.type||t.parent.type===a)){var w,N,O,U=i().transform(function t(e,n,r){switch(e.type){case"@import":case o:case s:return e.return=e.return||e.value;case a:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach(function(t){t.type===s&&(t.children=t.value)})}var i=function(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}(Array.prototype.concat(e.children),t);return _(i)?e.return=e.value+"{"+i+"}":""}(t,e,n));t.children=U?(O=function t(e,n,r,i,a,o,m,w,N){for(var O,U,C,I=0,G=0,Y=m,B=0,$=0,A=0,j=1,M=1,L=1,P=0,H="",q=a,W=o,z=i,J=H;M;)switch(A=P,P=b()){case 40:if(108!=A&&58==d(J,Y-1)){-1!=(U=J+=l(R(P),"&","&\f"),C=c(I?w[I-1]:0),U.indexOf("&\f",C))&&(L=-1);break}case 34:case 39:case 91:J+=R(P);break;case 9:case 10:case 13:case 32:J+=function(t){for(;v=T();)if(v<33)b();else break;return k(t)>2||k(v)>3?"":" "}(A);break;case 92:J+=function(t,e){for(var n;--e&&b()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return n=y+(e<6&&32==T()&&32==b()),h(E,t,n)}(y-1,7);continue;case 47:switch(T()){case 42:case 47:p(S(O=function(t,e){for(;b();)if(t+v===57)break;else if(t+v===84&&47===T())break;return"/*"+h(E,e,y-1)+"*"+u(47===t?t:b())}(b(),y),n,r,s,u(v),h(O,2,-2),0,N),N);break;default:J+="/"}break;case 123*j:w[I++]=_(J)*L;case 125*j:case 59:case 0:switch(P){case 0:case 125:M=0;case 59+G:-1==L&&(J=l(J,/\f/g,"")),$>0&&_(J)-Y&&p($>32?x(J+";",i,r,Y-1,N):x(l(J," ","")+";",i,r,Y-2,N),N);break;case 59:J+=";";default:if(p(z=D(J,n,r,I,G,a,w,H,q=[],W=[],Y,o),o),123===P){if(0===G)t(J,n,z,z,q,o,Y,w,W);else switch(99===B&&110===d(J,3)?100:B){case 100:case 108:case 109:case 115:t(e,z,z,i&&p(D(e,z,z,0,0,a,w,H,a,q=[],Y,W),W),a,W,Y,w,i?q:W);break;default:t(J,z,z,z,[""],W,0,w,W)}}}I=G=$=0,j=L=1,H=J="",Y=m;break;case 58:Y=1+_(J),$=A;default:if(j<1){if(123==P)--j;else if(125==P&&0==j++&&125==(v=y>0?d(E,--y):0,g--,10===v&&(g=1,f--),v))continue}switch(J+=u(P),P*j){case 38:L=G>0?1:(J+="\f",-1);break;case 44:w[I++]=(_(J)-1)*L,L=1;break;case 64:45===T()&&(J+=R(b())),B=T(),G=Y=_(H=J+=function(t){for(;!k(T());)b();return h(E,t,y)}(y)),P++;break;case 45:45===A&&2==_(J)&&(j=0)}}return o}("",null,null,null,[""],(w=N=U,f=g=1,m=_(E=w),y=0,N=[]),0,[0],N),E="",O)[0].children:[],t.return=""}}Object.defineProperty(w,"name",{value:"stylisRTLPlugin"});let N=w},27062:(t,e,n)=>{"use strict";n.d(e,{Ab:()=>r,Fr:()=>i,JM:()=>c,K$:()=>a,h5:()=>s,lK:()=>o});var r="comm",i="rule",s="decl",a="@import",o="@keyframes",c="@layer"},36431:(t,e,n)=>{"use strict";n.d(e,{MY:()=>m});var r=n(27062),i=n(52631),s=1,a=1,o=0,c=0,u=0,l="";function d(t,e,n,r,i,o,c,u){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:s,column:a,length:c,return:"",siblings:u}}function h(){return u=c<o?(0,i.uO)(l,c++):0,a++,10===u&&(a=1,s++),u}function _(){return(0,i.uO)(l,c)}function p(t,e){return(0,i.tb)(l,t,e)}function f(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function g(t){return(0,i.fy)(p(c-1,function t(e){for(;h();)switch(u){case e:return c;case 34:case 39:34!==e&&39!==e&&t(u);break;case 40:41===e&&t(e);break;case 92:h()}return c}(91===t?t+2:40===t?t+1:t)))}function m(t){var e,n;return e=function t(e,n,o,m,E,S,b,T,k){for(var R,D=0,x=0,w=b,N=0,O=0,U=0,C=1,I=1,G=1,Y=0,B="",$=E,A=S,j=m,M=B;I;)switch(U=Y,Y=h()){case 40:if(108!=U&&58==(0,i.uO)(M,w-1)){-1!=(0,i.Cw)(M+=(0,i.gx)(g(Y),"&","&\f"),"&\f",(0,i.Wn)(D?T[D-1]:0))&&(G=-1);break}case 34:case 39:case 91:M+=g(Y);break;case 9:case 10:case 13:case 32:M+=function(t){for(;u=_();)if(u<33)h();else break;return f(t)>2||f(u)>3?"":" "}(U);break;case 92:M+=function(t,e){for(;--e&&h()&&!(u<48)&&!(u>102)&&(!(u>57)||!(u<65))&&(!(u>70)||!(u<97)););return p(t,c+(e<6&&32==_()&&32==h()))}(c-1,7);continue;case 47:switch(_()){case 42:case 47:(0,i.R3)(d(R=function(t,e){for(;h();)if(t+u===57)break;else if(t+u===84&&47===_())break;return"/*"+p(e,c-1)+"*"+(0,i.Dp)(47===t?t:h())}(h(),c),n,o,r.Ab,(0,i.Dp)(u),(0,i.tb)(R,2,-2),0,k),k);break;default:M+="/"}break;case 123*C:T[D++]=(0,i.to)(M)*G;case 125*C:case 59:case 0:switch(Y){case 0:case 125:I=0;case 59+x:-1==G&&(M=(0,i.gx)(M,/\f/g,"")),O>0&&(0,i.to)(M)-w&&(0,i.R3)(O>32?v(M+";",m,o,w-1,k):v((0,i.gx)(M," ","")+";",m,o,w-2,k),k);break;case 59:M+=";";default:if((0,i.R3)(j=y(M,n,o,D,x,E,T,B,$=[],A=[],w,S),S),123===Y){if(0===x)t(M,n,j,j,$,S,w,T,A);else switch(99===N&&110===(0,i.uO)(M,3)?100:N){case 100:case 108:case 109:case 115:t(e,j,j,m&&(0,i.R3)(y(e,j,j,0,0,E,T,B,E,$=[],w,A),A),E,A,w,T,m?$:A);break;default:t(M,j,j,j,[""],A,0,T,A)}}}D=x=O=0,C=G=1,B=M="",w=b;break;case 58:w=1+(0,i.to)(M),O=U;default:if(C<1){if(123==Y)--C;else if(125==Y&&0==C++&&125==(u=c>0?(0,i.uO)(l,--c):0,a--,10===u&&(a=1,s--),u))continue}switch(M+=(0,i.Dp)(Y),Y*C){case 38:G=x>0?1:(M+="\f",-1);break;case 44:T[D++]=((0,i.to)(M)-1)*G,G=1;break;case 64:45===_()&&(M+=g(h())),N=_(),x=w=(0,i.to)(B=M+=function(t){for(;!f(_());)h();return p(t,c)}(c)),Y++;break;case 45:45===U&&2==(0,i.to)(M)&&(C=0)}}return S}("",null,null,null,[""],(n=t,s=a=1,o=(0,i.to)(l=n),c=0,t=[]),0,[0],t),l="",e}function y(t,e,n,s,a,o,c,u,l,h,_,p){for(var f=a-1,g=0===a?o:[""],m=(0,i.Ei)(g),y=0,v=0,E=0;y<s;++y)for(var S=0,b=(0,i.tb)(t,f+1,f=(0,i.Wn)(v=c[y])),T=t;S<m;++S)(T=(0,i.fy)(v>0?g[S]+" "+b:(0,i.gx)(b,/&\f/g,g[S])))&&(l[E++]=T);return d(t,e,n,0===a?r.Fr:u,l,h,_,p)}function v(t,e,n,s,a){return d(t,e,n,r.h5,(0,i.tb)(t,0,s),(0,i.tb)(t,s+1,-1),s,a)}},47006:(t,e,n)=>{"use strict";n.d(e,{P:()=>a,q:()=>s});var r=n(27062),i=n(52631);function s(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function a(t,e,n,a){switch(t.type){case r.JM:if(t.children.length)break;case r.K$:case r.h5:return t.return=t.return||t.value;case r.Ab:return"";case r.lK:return t.return=t.value+"{"+s(t.children,a)+"}";case r.Fr:if(!(0,i.to)(t.value=t.props.join(",")))return""}return(0,i.to)(n=s(t.children,a))?t.return=t.value+"{"+n+"}":""}},52631:(t,e,n)=>{"use strict";n.d(e,{Cw:()=>o,Dp:()=>i,Ei:()=>d,R3:()=>h,Wn:()=>r,fy:()=>s,gx:()=>a,tb:()=>u,to:()=>l,uO:()=>c});var r=Math.abs,i=String.fromCharCode;function s(t){return t.trim()}function a(t,e,n){return t.replace(e,n)}function o(t,e,n){return t.indexOf(e,n)}function c(t,e){return 0|t.charCodeAt(e)}function u(t,e,n){return t.slice(e,n)}function l(t){return t.length}function d(t){return t.length}function h(t,e){return e.push(t),t}Object.assign}}]); //# sourceMappingURL=45792.6ff8547f7df4fbc2fb03.main.js.map