summaryrefslogtreecommitdiffstats
path: root/src/web/gui/v2/2406.4edc7a58a2da374acad6.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/gui/v2/2406.4edc7a58a2da374acad6.js')
-rw-r--r--src/web/gui/v2/2406.4edc7a58a2da374acad6.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/web/gui/v2/2406.4edc7a58a2da374acad6.js b/src/web/gui/v2/2406.4edc7a58a2da374acad6.js
deleted file mode 100644
index 1fc5c2086d..0000000000
--- a/src/web/gui/v2/2406.4edc7a58a2da374acad6.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see 2406.4edc7a58a2da374acad6.js.LICENSE.txt */
-!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d278fd8e-8c44-4609-9ccd-22309d2550e5",e._sentryDebugIdIdentifier="sentry-dbid-d278fd8e-8c44-4609-9ccd-22309d2550e5")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"67fcafa0e89723987481f6de299b5bd1fcd6618a"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2406],{12599:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var o;n.d(t,{Ep:function(){return a},Gn:function(){return w},J0:function(){return i},LX:function(){return E},RQ:function(){return T},WK:function(){return D},X3:function(){return A},Zn:function(){return C},Zq:function(){return k},aU:function(){return o},cP:function(){return u},fp:function(){return c},pC:function(){return I}}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));function i(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function s(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function a(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function u(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var l;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(l||(l={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function c(e,t,n){void 0===n&&(n="/");let r=C(("string"===typeof t?u(t):t).pathname||"/",n);if(null==r)return null;let o=d(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let i=null;for(let s=0;null==i&&s<o.length;++s)i=S(o[s],R(r));return i}function d(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let o=(e,o,s)=>{let a={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(i(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let u=T([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(i(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),d(e.children,t,l,u)),(null!=e.path||e.index)&&t.push({path:u,score:b(u,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of f(e.path))o(e,t,r);else o(e,t)})),t}function f(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let s=f(r.join("/")),a=[];return a.push(...s.map((e=>""===e?i:[i,e].join("/")))),o&&a.push(...s),a.map((t=>e.startsWith("/")&&""===t?"/":t))}const p=/^:\w+$/,g=3,h=2,m=1,v=10,_=-2,y=e=>"*"===e;function b(e,t){let n=e.split("/"),r=n.length;return n.some(y)&&(r+=_),t&&(r+=h),n.filter((e=>!y(e))).reduce(((e,t)=>e+(p.test(t)?g:""===t?m:v)),r)}function S(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let s=0;s<n.length;++s){let e=n[s],a=s===n.length-1,u="/"===o?t:t.slice(o.length)||"/",l=E({path:e.relativePath,caseSensitive:e.caseSensitive,end:a},u);if(!l)return null;Object.assign(r,l.params);let c=e.route;i.push({params:r,pathname:T([o,l.pathname]),pathnameBase:M(T([o,l.pathnameBase])),route:c}),"/"!==l.pathnameBase&&(o=T([o,l.pathnameBase]))}return i}function w(e,t){void 0===t&&(t={});let n=e;n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(s(!1,'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),n=n.replace(/\*$/,"/*"));const r=n.startsWith("/")?"/":"",o=e=>null==e?"":"string"===typeof e?e:String(e);return r+n.split(/\/+/).map(((e,n,r)=>{if(n===r.length-1&&"*"===e){return o(t["*"])}const s=e.match(/^:(\w+)(\??)$/);if(s){const[,e,n]=s;let r=t[e];return i("?"===n||null!=r,'Missing ":'+e+'" param'),o(r)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function E(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);s("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,((e,t)=>(r.push(t),"/([^\\/]+)")));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),u=o.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=u[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return s(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(u[n]||"",t),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function R(e){try{return decodeURI(e)}catch(t){return s(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function C(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function x(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function k(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function I(e,t,n,o){let s;void 0===o&&(o=!1),"string"===typeof e?s=u(e):(s=r({},e),i(!s.pathname||!s.pathname.includes("?"),x("?","pathname","search",s)),i(!s.pathname||!s.pathname.includes("#"),x("#","pathname","hash",s)),i(!s.search||!s.search.includes("#"),x("#","search","hash",s)));let a,l=""===e||""===s.pathname,c=l?"/":s.pathname;if(o||null==c)a=n;else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;s.pathname=t.join("/")}a=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"===typeof e?u(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:P(r),hash:O(o)}}(s,a),f=c&&"/"!==c&&c.endsWith("/"),p=(l||"."===c)&&n.endsWith("/");return d.pathname.endsWith("/")||!f&&!p||(d.pathname+="/"),d}const T=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),P=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",O=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class A extends Error{}function D(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const F=["post","put","patch","delete"],j=(new Set(F),["get",...F]);new Set(j),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},7576:function(e,t,n){"use strict";n.d(t,{S1:function(){return Bt},jp:function(){return Ut}});var r=n(12343),o=n(62844),i=n(57321);const s=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],a=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class u{static __initStatic(){this.id="InboundFilters"}constructor(e={}){this.name=u.id,this._options=e}setupOnce(e,t){}processEvent(e,t,n){const u=n.getOptions(),c=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:s],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:a],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(this._options,u);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(t){}return!1}(e))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,o.jH)(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(i){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));"undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==t.length||r.kg.error(`Could not extract message for event ${(0,o.jH)(e)}`);return t}(e).some((e=>(0,i.U0)(e,t)))}(e,t.ignoreErrors))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,o.jH)(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,i.U0)(n,t)}(e,t.ignoreTransactions))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,o.jH)(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=l(e);return!!n&&(0,i.U0)(n,t)}(e,t.denyUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,o.jH)(e)}.\nUrl: ${l(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=l(e);return!n||(0,i.U0)(n,t)}(e,t.allowUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,o.jH)(e)}.\nUrl: ${l(e)}`),!0;return!1}(e,c)?null:e}}function l(e){try{let n;try{n=e.exception.values[0].stacktrace.frames}catch(t){}return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Cannot extract url for event ${(0,o.jH)(e)}`),null}}u.__initStatic();var c=n(20535);let d;class f{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=f.id}setupOnce(){d=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,c.HK)(this)||this;return d.apply(t,e)}}catch(e){}}}f.__initStatic();var p=n(71195),g=n(95659);const h=[];function m(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"===typeof n?(0,o.lE)(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(r),s=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(i,(e=>"Debug"===e.name));if(-1!==s){const[e]=i.splice(s,1);i.push(e)}return i}function v(e,t,n){if(n[t.name]=t,-1===h.indexOf(t.name)&&(t.setupOnce(p.cc,g.Gd),h.push(t.name)),e.on&&"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"function"===typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`Integration installed: ${t.name}`)}const _=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function y(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:s,protocol:a,publicKey:u}=e;return`${a}://${u}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${s}`}function b(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function S(e){const t="string"===typeof e?function(e){const t=_.exec(e);if(!t)return void console.error(`Invalid Sentry Dsn: ${e}`);const[n,r,o="",i,s="",a]=t.slice(1);let u="",l=a;const c=l.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),l=c.pop()),l){const e=l.match(/^\d+/);e&&(l=e[0])}return b({host:i,pass:o,path:u,projectId:l,port:s,protocol:n,publicKey:r})}(e):b(e);if(t&&function(e){if("undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:t,projectId:n,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(r.kg.error(`Invalid Sentry Dsn: ${t} missing`),!0)))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?!t||!isNaN(parseInt(t,10))||(r.kg.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(r.kg.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(r.kg.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}const w="7";function E(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function R(e,t={}){const n="string"===typeof t?t:t.tunnel,r="string"!==typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${E(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,c._j)({sentry_key:e.publicKey,sentry_version:w,...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,r)}`}const C=50,x=/\(error: (.*)\)/,k=/captureMessage|captureException/;function I(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const r=[],o=e.split("\n");for(let i=n;i<o.length;i++){const e=o[i];if(e.length>1024)continue;const n=x.test(e)?e.replace(x,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){r.push(t);break}}if(r.length>=C)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),k.test(t[t.length-1].function||"")&&(t.pop(),k.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,C).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(r)}}const T="<anonymous>";function M(e){try{return e&&"function"===typeof e&&e.name||T}catch(t){return T}}var P=n(71235);const O=(0,P.Rf)();function A(){if(!("fetch"in O))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function D(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var F=n(67597);const j=(0,P.Rf)();const N=(0,P.Rf)(),G="__sentry_xhr_v2__",L={},B={};function U(e){if(!B[e])switch(B[e]=!0,e){case"console":!function(){if(!("console"in P.n2))return;r.RU.forEach((function(e){e in P.n2.console&&(0,c.hl)(P.n2.console,e,(function(t){return r.LD[e]=t,function(...t){$("console",{args:t,level:e});const n=r.LD[e];n&&n.apply(P.n2.console,t)}}))}))}();break;case"dom":!function(){if(!N.document)return;const e=$.bind(null,"dom"),t=J(e,!0);N.document.addEventListener("click",t,!1),N.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=N[t]&&N[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,c.hl)(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this,i=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},s=i[n]=i[n]||{refCount:0};if(!s.handler){const r=J(e);s.handler=r,t.call(this,n,r,o)}s.refCount++}catch(i){}return t.call(this,n,r,o)}})),(0,c.hl)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,o=n.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(o){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!N.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,c.hl)(e,"open",(function(e){return function(...t){const n=t[1],r=this[G]={method:(0,F.HD)(t[0])?t[0].toUpperCase():t[0],url:t[1],request_headers:{}};(0,F.HD)(n)&&"POST"===r.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const o=()=>{const e=this[G];if(e&&4===this.readyState){try{e.status_code=this.status}catch(n){}$("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"===typeof this.onreadystatechange?(0,c.hl)(this,"onreadystatechange",(function(e){return function(...t){return o(),e.apply(this,t)}})):this.addEventListener("readystatechange",o),(0,c.hl)(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,o=this[G];return o&&(o.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),(0,c.hl)(e,"send",(function(e){return function(...t){const n=this[G];return n&&void 0!==t[0]&&(n.body=t[0]),$("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}();break;case"fetch":!function(){if(!function(){if(!A())return!1;if(D(O.fetch))return!0;let e=!1;const t=O.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=D(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}())return;(0,c.hl)(P.n2,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:H(t),method:z(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:H(t),method:z(t,"method")?String(t.method).toUpperCase():"GET"}}(t),o={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return $("fetch",{...o}),e.apply(P.n2,t).then((e=>($("fetch",{...o,endTimestamp:Date.now(),response:e}),e)),(e=>{throw $("fetch",{...o,endTimestamp:Date.now(),error:e}),e}))}}))}();break;case"history":!function(){if(!function(){const e=j.chrome,t=e&&e.app&&e.app.runtime,n="history"in j&&!!j.history.pushState&&!!j.history.replaceState;return!t&&n}())return;const e=N.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=Y,t=String(n);Y=t,$("history",{from:e,to:t})}return e.apply(this,t)}}N.onpopstate=function(...t){const n=N.location.href,r=Y;if(Y=n,$("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(o){}},(0,c.hl)(N.history,"pushState",t),(0,c.hl)(N.history,"replaceState",t)}();break;case"error":K=N.onerror,N.onerror=function(e,t,n,r,o){return $("error",{column:r,error:o,line:n,msg:e,url:t}),!(!K||K.__SENTRY_LOADER__)&&K.apply(this,arguments)},N.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":Z=N.onunhandledrejection,N.onunhandledrejection=function(e){return $("unhandledrejection",e),!(Z&&!Z.__SENTRY_LOADER__)||Z.apply(this,arguments)},N.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("unknown instrumentation type:",e))}}function V(e,t){L[e]=L[e]||[],L[e].push(t),U(e)}function $(e,t){if(e&&L[e])for(const o of L[e]||[])try{o(t)}catch(n){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${M(o)}\nError:`,n)}}function z(e,t){return!!e&&"object"===typeof e&&!!e[t]}function H(e){return"string"===typeof e?e:e?z(e,"url")?e.url:e.toString?e.toString():"":""}let Y;const W=1e3;let q,X;function J(e,t=!1){return n=>{if(!n||X===n)return;if(function(e){if("keypress"!==e.type)return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(t){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===q||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(n){}return!1}(X,n))&&(e({event:n,name:r,global:t}),X=n),clearTimeout(q),q=N.setTimeout((()=>{q=void 0}),W)}}let K=null;let Z=null;var Q=n(96893);function ee(e,t=100,n=1/0){try{return ne("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function te(e,t=3,n=102400){const r=ee(e,t);return o=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?te(e,t-1,n):r;var o}function ne(e,t,r=1/0,o=1/0,i=function(){const e="function"===typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[s,a]=i;if(null==t||["number","boolean","string"].includes(typeof t)&&!(0,F.i2)(t))return t;const u=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof n.g&&t===n.g)return"[Global]";if("undefined"!==typeof window&&t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if((0,F.y1)(t))return"[VueViewModel]";if((0,F.Cy)(t))return"[SyntheticEvent]";if("number"===typeof t&&t!==t)return"[NaN]";if("function"===typeof t)return`[Function: ${M(t)}]`;if("symbol"===typeof t)return`[${String(t)}]`;if("bigint"===typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}(e,t);if(!u.startsWith("[object "))return u;if(t.__sentry_skip_normalization__)return t;const l="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:r;if(0===l)return u.replace("object ","");if(s(t))return"[Circular ~]";const d=t;if(d&&"function"===typeof d.toJSON)try{return ne("",d.toJSON(),l-1,o,i)}catch(h){}const f=Array.isArray(t)?[]:{};let p=0;const g=(0,c.Sh)(t);for(const n in g){if(!Object.prototype.hasOwnProperty.call(g,n))continue;if(p>=o){f[n]="[MaxProperties ~]";break}const e=g[n];f[n]=ne(n,e,l-1,o,i),p++}return a(t),f}function re(e,t=[]){return[e,t]}function oe(e,t){const[n,r]=e;return[n,[...r,t]]}function ie(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function se(e,t){return(t||new TextEncoder).encode(e)}function ae(e,t){const[n,r]=e;let o=JSON.stringify(n);function i(e){"string"===typeof o?o="string"===typeof e?o+e:[se(o,t),e]:o.push("string"===typeof e?se(e,t):e)}for(const a of r){const[e,t]=a;if(i(`\n${JSON.stringify(e)}\n`),"string"===typeof t||t instanceof Uint8Array)i(t);else{let e;try{e=JSON.stringify(t)}catch(s){e=JSON.stringify(ee(t))}i(e)}}return"string"===typeof o?o:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}(o)}function ue(e,t){const n="string"===typeof e.data?se(e.data,t):e.data;return[(0,c.Jr)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const le={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 ce(e){return le[e]}function de(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}class fe extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}function pe(e,t,n,r){const o=de(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const s=function(e,t,n,r){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:y(r)},...o&&{trace:(0,c.Jr)({...o})}}}(e,o,r,t);delete e.sdkProcessingMetadata;return re(s,[[{type:i},e]])}var ge=n(9015),he=n(51131);var me=n(21170),ve=n(10350);function _e(e,t,n,r,s){const{normalizeDepth:a=3,normalizeMaxBreadth:u=1e3}=e,l={...t,event_id:t.event_id||n.event_id||(0,o.DM)(),timestamp:t.timestamp||(0,me.yW)()},c=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:o,maxValueLength:s=250}=t;"environment"in e||(e.environment="environment"in t?n:he.J);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==o&&(e.dist=o);e.message&&(e.message=(0,i.$G)(e.message,s));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=(0,i.$G)(a.value,s));const u=e.request;u&&u.url&&(u.url=(0,i.$G)(u.url,s))}(l,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(l,c),void 0===t.type&&function(e,t){const n=P.n2._sentryDebugIds;if(!n)return;let r;const o=ye.get(t);o?r=o:(r=new Map,ye.set(t,r));const i=Object.keys(n).reduce(((e,o)=>{let i;const s=r.get(o);s?i=s:(i=t(o),r.set(o,i));for(let t=i.length-1;t>=0;t--){const r=i[t];if(r.filename){e[r.filename]=n[o];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=i[e.filename])}))}))}catch(s){}}(l,e.stackParser);let d=r;n.captureContext&&(d=ve.s.clone(d).update(n.captureContext));let f=(0,Q.WD)(l);const g=s&&s.getEventProcessors?s.getEventProcessors():[];if(d){if(d.getAttachments){const e=[...n.attachments||[],...d.getAttachments()];e.length&&(n.attachments=e)}f=d.applyToEvent(l,n,g)}else f=(0,p.RP)([...g,...(0,p.fH)()],l,n);return f.then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(r){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"===typeof a&&a>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:ee(e.data,t,n)}})))},...e.user&&{user:ee(e.user,t,n)},...e.contexts&&{contexts:ee(e.contexts,t,n)},...e.extra&&{extra:ee(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=ee(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>(e.data&&(e.data=ee(e.data,t,n)),e))));return r}(e,a,u):e)))}const ye=new WeakMap;const be="Not capturing exception because it's already been captured.";class Se{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=S(e.dsn):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("No DSN provided, client will not send events."),this._dsn){const t=R(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if((0,o.YO)(e))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(be));let i=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{i=e}))),i}captureMessage(e,t,n,r){let o=n&&n.event_id;const i=(0,F.pt)(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(i.then((e=>this._captureEvent(e,n,r))).then((e=>{o=e}))),o}captureEvent(e,t,n){if(t&&t.originalException&&(0,o.YO)(t.originalException))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(be));let i=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((e=>{i=e}))),i}captureSession(e){"string"!==typeof e.release?("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,ge.CT)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e)))):(0,Q.WD)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&v(e,t,n)})),n}(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){v(this,e,this._integrations)}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=pe(e,this._dsn,this._options._metadata,this._options.tunnel);for(const o of t.attachments||[])n=oe(n,ue(o,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const o=de(n);return re({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:y(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_updateSessionFromEvent(e,t){let n=!1,r=!1;const o=t.exception&&t.exception.values;if(o){r=!0;for(const e of o){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const i="ok"===e.status;(i&&0===e.errors||i&&n)&&((0,ge.CT)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Q.cW((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n){const r=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),_e(r,e,t,n,this).then((e=>{if(null===e)return e;const{propagationContext:t}=e.sdkProcessingMetadata||{};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:r,spanId:o,parentSpanId:i,dsc:s}=t;e.contexts={trace:{trace_id:r,span_id:o,parent_span_id:i},...e.contexts};const a=s||function(e,t,n){const r=t.getOptions(),{publicKey:o}=t.getDsn()||{},{segment:i}=n&&n.getUser()||{},s=(0,c.Jr)({environment:r.environment||he.J,release:r.release,user_segment:i,public_key:o,trace_id:e});return t.emit&&t.emit("createDsc",s),s}(r,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t=e;"log"===t.logLevel?r.kg.log(t.message):r.kg.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:o}=r,i=Ee(e),s=we(e),a=e.type||"error",u=`before send for type \`${a}\``;if(s&&"number"===typeof o&&Math.random()>o)return this.recordDroppedEvent("sample_rate","error",e),(0,Q.$2)(new fe(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const l="replay_event"===a?"replay":a;return this._prepareEvent(e,t,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,e),new fe("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const o=function(e,t,n){const{beforeSend:r,beforeSendTransaction:o}=e;if(we(t)&&r)return r(t,n);if(Ee(t)&&o)return o(t,n);return t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,F.J8)(e))return e.then((e=>{if(!(0,F.PO)(e)&&null!==e)throw new fe(n);return e}),(e=>{throw new fe(`${t} rejected with ${e}`)}));if(!(0,F.PO)(e)&&null!==e)throw new fe(n);return e}(o,u)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",l,e),new fe(`${u} returned \`null\`, will not send event.`,"log");const o=n&&n.getSession();!i&&o&&this._updateSessionFromEvent(o,r);const s=r.transaction_info;if(i&&s&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...s,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof fe)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new fe(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Error while sending event:",e)}));("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function we(e){return void 0===e.type}function Ee(e){return"transaction"===e.type}var Re=n(40105),Ce=n(68518);function xe(e,t){const n=Ie(e,t),r={type:t&&t.name,value:Me(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function ke(e,t){return{exception:{values:[xe(e,t)]}}}function Ie(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"===typeof e.framesToPop)return e.framesToPop;if(Te.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(o){}return[]}const Te=/Minified React error #\d+;/i;function Me(e){const t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function Pe(e,t,n,r,i){let s;if((0,F.VW)(t)&&t.error){return ke(e,t.error)}if((0,F.TX)(t)||(0,F.fm)(t)){const i=t;if("stack"in t)s=ke(e,t);else{const t=i.name||((0,F.TX)(i)?"DOMError":"DOMException"),a=i.message?`${t}: ${i.message}`:t;s=Oe(e,a,n,r),(0,o.Db)(s,a)}return"code"in i&&(s.tags={...s.tags,"DOMException.code":`${i.code}`}),s}if((0,F.VZ)(t))return ke(e,t);if((0,F.PO)(t)||(0,F.cO)(t)){return s=function(e,t,n,r){const o=(0,g.Gd)().getClient(),i=o&&o.getOptions().normalizeDepth,s={exception:{values:[{type:(0,F.cO)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Ae(t,{isUnhandledRejection:r})}]},extra:{__serialized__:te(t,i)}};if(n){const t=Ie(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,i),(0,o.EG)(s,{synthetic:!0}),s}return s=Oe(e,t,n,r),(0,o.Db)(s,`${t}`,void 0),(0,o.EG)(s,{synthetic:!0}),s}function Oe(e,t,n,r){const o={message:t};if(r&&n){const r=Ie(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]})}return o}function Ae(e,{isUnhandledRejection:t}){const n=(0,c.zf)(e),r=t?"promise rejection":"exception";if((0,F.VW)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,F.cO)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(t){}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var De=n(64487);const Fe=P.n2;let je=0;function Ne(){return je>0}function Ge(e,t={},n){if("function"!==typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,c.HK)(e))return e}catch(i){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);const o=r.map((e=>Ge(e,t)));return e.apply(this,o)}catch(i){throw je++,setTimeout((()=>{je--})),(0,De.$e)((e=>{e.addEventProcessor((e=>(t.mechanism&&((0,o.Db)(e,void 0,void 0),(0,o.EG)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),(0,De.Tb)(i)})),i}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(s){}(0,c.$Q)(r,e),(0,c.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch(s){}return r}class Le extends Se{constructor(e){const t=Fe.SENTRY_SDK_SOURCE||(0,Ce.S)();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${t}:@sentry/browser`,version:Re.J}],version:Re.J},super(e),e.sendClientReports&&Fe.document&&Fe.document.addEventListener("visibilitychange",(()=>{"hidden"===Fe.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const i=Pe(e,t,n&&n.syntheticException||void 0,r);return(0,o.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,Q.WD)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){const i=Oe(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),(0,Q.WD)(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const o={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:y(r)}},i=function(e){return[{type:"user_report"},e]}(e);return re(o,[i])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("No dsn provided, will not send outcomes"));("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Sending outcomes:",e);const t=(n=e,re((o=this._options.tunnel&&y(this._dsn))?{dsn:o}:{},[[{type:"client_report"},{timestamp:i||(0,me.yW)(),discarded_events:n}]]));var n,o,i;this._sendEnvelope(t)}}var Be=n(58464);class Ue{static __initStatic(){this.id="GlobalHandlers"}constructor(e){this.name=Ue.id,this._options={onerror:!0,onunhandledrejection:!0,...e},this._installFunc={onerror:Ve,onunhandledrejection:$e}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const n in e){const o=this._installFunc[n];o&&e[n]&&(t=n,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`Global Handler attached: ${t}`),o(),this._installFunc[n]=void 0)}var t}}function Ve(){V("error",(e=>{const[t,n,r]=Ye();if(!t.getIntegration(Ue))return;const{msg:o,url:i,line:s,column:a,error:u}=e;if(Ne()||u&&u.__sentry_own_request__)return;const l=void 0===u&&(0,F.HD)(o)?function(e,t,n,r){const o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=(0,F.VW)(e)?e.message:e,s="Error";const a=i.match(o);a&&(s=a[1],i=a[2]);const u={exception:{values:[{type:s,value:i}]}};return ze(u,t,n,r)}(o,i,s,a):ze(Pe(n,u||o,void 0,r,!1),i,s,a);l.level="error",He(t,u,l,"onerror")}))}function $e(){V("unhandledrejection",(e=>{const[t,n,r]=Ye();if(!t.getIntegration(Ue))return;let o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch(s){}if(Ne()||o&&o.__sentry_own_request__)return!0;const i=(0,F.pt)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:Pe(n,o,void 0,r,!0);i.level="error",He(t,o,i,"onunhandledrejection")}))}function ze(e,t,n,r){const o=e.exception=e.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],l=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=(0,F.HD)(t)&&t.length>0?t:(0,Be.l4)();return 0===u.length&&u.push({colno:l,filename:d,function:"?",in_app:!0,lineno:c}),e}function He(e,t,n,r){(0,o.EG)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Ye(){const e=(0,g.Gd)(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}Ue.__initStatic();const We=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class qe{static __initStatic(){this.id="TryCatch"}constructor(e){this.name=qe.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&(0,c.hl)(Fe,"setTimeout",Xe),this._options.setInterval&&(0,c.hl)(Fe,"setInterval",Xe),this._options.requestAnimationFrame&&(0,c.hl)(Fe,"requestAnimationFrame",Je),this._options.XMLHttpRequest&&"XMLHttpRequest"in Fe&&(0,c.hl)(XMLHttpRequest.prototype,"send",Ke);const e=this._options.eventTarget;if(e){(Array.isArray(e)?e:We).forEach(Ze)}}}function Xe(e){return function(...t){const n=t[0];return t[0]=Ge(n,{mechanism:{data:{function:M(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Je(e){return function(t){return e.apply(this,[Ge(t,{mechanism:{data:{function:"requestAnimationFrame",handler:M(e)},handled:!1,type:"instrument"}})])}}function Ke(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"===typeof n[e]&&(0,c.hl)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:M(t)},handled:!1,type:"instrument"}},r=(0,c.HK)(t);return r&&(n.mechanism.data.handler=M(r)),Ge(t,n)}))})),e.apply(this,t)}}function Ze(e){const t=Fe,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,c.hl)(n,"addEventListener",(function(t){return function(n,r,o){try{"function"===typeof r.handleEvent&&(r.handleEvent=Ge(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:M(r),target:e},handled:!1,type:"instrument"}}))}catch(i){}return t.apply(this,[n,Ge(r,{mechanism:{data:{function:"addEventListener",handler:M(r),target:e},handled:!1,type:"instrument"}}),o])}})),(0,c.hl)(n,"removeEventListener",(function(e){return function(t,n,r){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(i){}return e.call(this,t,o,r)}})))}qe.__initStatic();const Qe=["fatal","error","warning","log","info","debug"];function et(e){return"warn"===e?"warning":Qe.includes(e)?e:"log"}function tt(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const nt=1024;class rt{static __initStatic(){this.id="Breadcrumbs"}constructor(e){this.name=rt.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){if(this.options.console&&V("console",it),this.options.dom&&V("dom",function(e){function t(t){let n,o="object"===typeof e?e.serializeAttribute:void 0,i="object"===typeof e&&"number"===typeof e.maxStringLength?e.maxStringLength:void 0;i&&i>nt&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=nt),"string"===typeof o&&(o=[o]);try{const e=t.event;n=function(e){return!!e&&!!e.target}(e)?(0,Be.Rt)(e.target,{keyAttrs:o,maxStringLength:i}):(0,Be.Rt)(e,{keyAttrs:o,maxStringLength:i})}catch(s){n="<unknown>"}0!==n.length&&(0,g.Gd)().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})}return t}(this.options.dom)),this.options.xhr&&V("xhr",st),this.options.fetch&&V("fetch",at),this.options.history&&V("history",ut),this.options.sentry){const e=(0,g.Gd)().getClient();e&&e.on&&e.on("beforeSendEvent",ot)}}}function ot(e){(0,g.Gd)().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,o.jH)(e)},{event:e})}function it(e){const t={category:"console",data:{arguments:e.args,logger:"console"},level:et(e.level),message:(0,i.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message=`Assertion failed: ${(0,i.nK)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1)}(0,g.Gd)().addBreadcrumb(t,{input:e.args,level:e.level})}function st(e){const{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[G];if(!t||!n||!r)return;const{method:o,url:i,status_code:s,body:a}=r,u={method:o,url:i,status_code:s},l={xhr:e.xhr,input:a,startTimestamp:t,endTimestamp:n};(0,g.Gd)().addBreadcrumb({category:"xhr",data:u,type:"http"},l)}function at(e){const{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){const r=e.fetchData,o={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};(0,g.Gd)().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},o)}else{const r={...e.fetchData,status_code:e.response&&e.response.status},o={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};(0,g.Gd)().addBreadcrumb({category:"fetch",data:r,type:"http"},o)}}function ut(e){let t=e.from,n=e.to;const r=tt(Fe.location.href);let o=tt(t);const i=tt(n);o.path||(o=r),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),r.protocol===o.protocol&&r.host===o.host&&(t=o.relative),(0,g.Gd)().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}function lt(e,t,n=250,r,o,s,a){if(!s.exception||!s.exception.values||!a||!(0,F.V9)(a.originalException,Error))return;const u=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;var l,c;u&&(s.exception.values=(l=ct(e,t,o,a.originalException,r,s.exception.values,u,0),c=n,l.map((e=>(e.value&&(e.value=(0,i.$G)(e.value,c)),e)))))}function ct(e,t,n,r,o,i,s,a){if(i.length>=n+1)return i;let u=[...i];if((0,F.V9)(r[o],Error)){dt(s,a);const i=e(t,r[o]),l=u.length;ft(i,o,l,a),u=ct(e,t,n,r[o],o,[i,...u],i,l)}return Array.isArray(r.errors)&&r.errors.forEach(((r,i)=>{if((0,F.V9)(r,Error)){dt(s,a);const l=e(t,r),c=u.length;ft(l,`errors[${i}]`,c,a),u=ct(e,t,n,r,o,[l,...u],l,c)}})),u}function dt(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,is_exception_group:!0,exception_id:t}}function ft(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}rt.__initStatic();class pt{static __initStatic(){this.id="LinkedErrors"}constructor(e={}){this.name=pt.id,this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){}preprocessEvent(e,t,n){const r=n.getOptions();lt(xe,r.stackParser,r.maxValueLength,this._key,this._limit,e,t)}}pt.__initStatic();class gt{static __initStatic(){this.id="HttpContext"}constructor(){this.name=gt.id}setupOnce(){}preprocessEvent(e){if(!Fe.navigator&&!Fe.location&&!Fe.document)return;const t=e.request&&e.request.url||Fe.location&&Fe.location.href,{referrer:n}=Fe.document||{},{userAgent:r}=Fe.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:o};e.request=i}}gt.__initStatic();class ht{static __initStatic(){this.id="Dedupe"}constructor(){this.name=ht.id}setupOnce(e,t){}processEvent(e){if(e.type)return e;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!vt(e,t))return!1;if(!mt(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=_t(t),r=_t(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!vt(e,t))return!1;if(!mt(e,t))return!1;return!0}(e,t))return!0;return!1}(e,this._previousEvent))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=e}}function mt(e,t){let n=yt(e),r=yt(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){const e=r[o],t=n[o];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function vt(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(o){return!1}}function _t(e){return e.exception&&e.exception.values&&e.exception.values[0]}function yt(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}ht.__initStatic();const bt="?";function St(e,t,n,r){const o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const wt=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Et=/\((\S*)(?::(\d+))(?::(\d+))\)/,Rt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ct=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,xt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,kt=I(...[[30,e=>{const t=wt.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=Et.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=It(t[1]||bt,t[2]);return St(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{const t=Rt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ct.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||bt;return[n,e]=It(n,e),St(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{const t=xt.exec(e);return t?St(t[2],t[1]||bt,+t[3],t[4]?+t[4]:void 0):void 0}]]),It=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:bt,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};function Tt(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,Q.$2)(new fe("Not adding Promise because buffer limit was reached."));const o=r();return-1===t.indexOf(o)&&t.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(e){return new Q.cW(((n,r)=>{let o=t.length;if(!o)return n(!0);const i=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,Q.WD)(e).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}const Mt=6e4;function Pt(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},i=n&&n["x-sentry-rate-limits"],s=n&am