iobroker.admin 7.4.4 → 7.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +10 -8
  2. package/adminWww/asset-manifest.json +37 -37
  3. package/adminWww/index.html +1 -1
  4. package/adminWww/static/js/1737.08641cc2.chunk.js +3 -0
  5. package/adminWww/static/js/1737.08641cc2.chunk.js.map +1 -0
  6. package/adminWww/static/js/1892.3c30ecff.chunk.js.map +1 -1
  7. package/adminWww/static/js/{288.20da45b9.chunk.js → 288.23e8413f.chunk.js} +2 -2
  8. package/adminWww/static/js/288.23e8413f.chunk.js.map +1 -0
  9. package/adminWww/static/js/2930.8e88fcf2.chunk.js.LICENSE.txt +1 -1
  10. package/adminWww/static/js/2930.8e88fcf2.chunk.js.map +1 -1
  11. package/adminWww/static/js/3363.a4c36649.chunk.js.map +1 -1
  12. package/adminWww/static/js/3834.d81ffc60.chunk.js +2 -0
  13. package/adminWww/static/js/3834.d81ffc60.chunk.js.map +1 -0
  14. package/adminWww/static/js/4289.cbde8e52.chunk.js +2 -0
  15. package/adminWww/static/js/4289.cbde8e52.chunk.js.map +1 -0
  16. package/adminWww/static/js/471.8a82d825.chunk.js.map +1 -1
  17. package/adminWww/static/js/4720.6112531a.chunk.js +2 -0
  18. package/adminWww/static/js/4720.6112531a.chunk.js.map +1 -0
  19. package/adminWww/static/js/5503.a4ce73d8.chunk.js +3 -0
  20. package/adminWww/static/js/5503.a4ce73d8.chunk.js.map +1 -0
  21. package/adminWww/static/js/5687.d7fa0a4e.chunk.js +2 -0
  22. package/adminWww/static/js/5687.d7fa0a4e.chunk.js.map +1 -0
  23. package/adminWww/static/js/{6361.48a28196.chunk.js → 6361.ec86271d.chunk.js} +2 -2
  24. package/adminWww/static/js/6361.ec86271d.chunk.js.map +1 -0
  25. package/adminWww/static/js/6603.ee9b0df5.chunk.js +3 -0
  26. package/adminWww/static/js/6603.ee9b0df5.chunk.js.map +1 -0
  27. package/adminWww/static/js/6853.ff130602.chunk.js +2 -0
  28. package/adminWww/static/js/6853.ff130602.chunk.js.map +1 -0
  29. package/adminWww/static/js/7137.7b5ca6b5.chunk.js.map +1 -1
  30. package/adminWww/static/js/7424.223daaa3.chunk.js +2 -0
  31. package/adminWww/static/js/7424.223daaa3.chunk.js.map +1 -0
  32. package/adminWww/static/js/{8144.ae502bba.chunk.js → 8144.5989b02c.chunk.js} +3 -3
  33. package/adminWww/static/js/8144.5989b02c.chunk.js.map +1 -0
  34. package/adminWww/static/js/8387.2cb15163.chunk.js.map +1 -1
  35. package/adminWww/static/js/9072.4505ce12.chunk.js +2 -0
  36. package/adminWww/static/js/9072.4505ce12.chunk.js.map +1 -0
  37. package/adminWww/static/js/9086.a4fdc813.chunk.js +2 -0
  38. package/adminWww/static/js/9086.a4fdc813.chunk.js.map +1 -0
  39. package/adminWww/static/js/9228.cf388444.chunk.js +3 -0
  40. package/adminWww/static/js/9228.cf388444.chunk.js.map +1 -0
  41. package/adminWww/static/js/9701.2178b9bd.chunk.js +2 -0
  42. package/adminWww/static/js/9701.2178b9bd.chunk.js.map +1 -0
  43. package/adminWww/static/js/9731.b09a7023.chunk.js +3 -0
  44. package/adminWww/static/js/{9731.f67b583c.chunk.js.LICENSE.txt → 9731.b09a7023.chunk.js.LICENSE.txt} +1 -1
  45. package/adminWww/static/js/9731.b09a7023.chunk.js.map +1 -0
  46. package/adminWww/static/js/main.a833ed54.js +2 -0
  47. package/adminWww/static/js/main.a833ed54.js.map +1 -0
  48. package/build-backend/main.js +1 -1
  49. package/build-backend/main.js.map +1 -1
  50. package/io-package.json +27 -27
  51. package/package.json +5 -5
  52. package/adminWww/static/js/288.20da45b9.chunk.js.map +0 -1
  53. package/adminWww/static/js/38.e125c16b.chunk.js +0 -3
  54. package/adminWww/static/js/38.e125c16b.chunk.js.map +0 -1
  55. package/adminWww/static/js/3834.2e04eb51.chunk.js +0 -2
  56. package/adminWww/static/js/3834.2e04eb51.chunk.js.map +0 -1
  57. package/adminWww/static/js/4289.e9a5790f.chunk.js +0 -2
  58. package/adminWww/static/js/4289.e9a5790f.chunk.js.map +0 -1
  59. package/adminWww/static/js/4720.4bbc23ec.chunk.js +0 -2
  60. package/adminWww/static/js/4720.4bbc23ec.chunk.js.map +0 -1
  61. package/adminWww/static/js/5503.751d48e4.chunk.js +0 -3
  62. package/adminWww/static/js/5503.751d48e4.chunk.js.map +0 -1
  63. package/adminWww/static/js/5687.c249e41f.chunk.js +0 -2
  64. package/adminWww/static/js/5687.c249e41f.chunk.js.map +0 -1
  65. package/adminWww/static/js/6361.48a28196.chunk.js.map +0 -1
  66. package/adminWww/static/js/6603.614b4df4.chunk.js +0 -3
  67. package/adminWww/static/js/6603.614b4df4.chunk.js.map +0 -1
  68. package/adminWww/static/js/6853.f9170a75.chunk.js +0 -2
  69. package/adminWww/static/js/6853.f9170a75.chunk.js.map +0 -1
  70. package/adminWww/static/js/7424.98e61818.chunk.js +0 -2
  71. package/adminWww/static/js/7424.98e61818.chunk.js.map +0 -1
  72. package/adminWww/static/js/7863.92e61020.chunk.js +0 -2
  73. package/adminWww/static/js/7863.92e61020.chunk.js.map +0 -1
  74. package/adminWww/static/js/8144.ae502bba.chunk.js.map +0 -1
  75. package/adminWww/static/js/9072.4eaaedc2.chunk.js +0 -2
  76. package/adminWww/static/js/9072.4eaaedc2.chunk.js.map +0 -1
  77. package/adminWww/static/js/9228.3ce3911c.chunk.js +0 -3
  78. package/adminWww/static/js/9228.3ce3911c.chunk.js.map +0 -1
  79. package/adminWww/static/js/9701.b2813984.chunk.js +0 -2
  80. package/adminWww/static/js/9701.b2813984.chunk.js.map +0 -1
  81. package/adminWww/static/js/9731.f67b583c.chunk.js +0 -3
  82. package/adminWww/static/js/9731.f67b583c.chunk.js.map +0 -1
  83. package/adminWww/static/js/main.11639e29.js +0 -2
  84. package/adminWww/static/js/main.11639e29.js.map +0 -1
  85. /package/adminWww/static/js/{38.e125c16b.chunk.js.LICENSE.txt → 1737.08641cc2.chunk.js.LICENSE.txt} +0 -0
  86. /package/adminWww/static/js/{5503.751d48e4.chunk.js.LICENSE.txt → 5503.a4ce73d8.chunk.js.LICENSE.txt} +0 -0
  87. /package/adminWww/static/js/{6603.614b4df4.chunk.js.LICENSE.txt → 6603.ee9b0df5.chunk.js.LICENSE.txt} +0 -0
  88. /package/adminWww/static/js/{8144.ae502bba.chunk.js.LICENSE.txt → 8144.5989b02c.chunk.js.LICENSE.txt} +0 -0
  89. /package/adminWww/static/js/{9228.3ce3911c.chunk.js.LICENSE.txt → 9228.cf388444.chunk.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunksrc_rx=self.webpackChunksrc_rx||[]).push([[7863],{47863:(t,e,n)=>{n.d(e,{Ts:()=>vn});var r=n(89379),o=n(49581),s=n(18999),i=n(21094);const a={},c={};function u(t,e){a[t]=a[t]||[],a[t].push(e)}function l(t,e){if(!c[t]){c[t]=!0;try{e()}catch(n){o.T&&s.vF.error("Error while instrumenting ".concat(t),n)}}}function d(t,e){const n=t&&a[t];if(n)for(const a of n)try{a(e)}catch(r){o.T&&s.vF.error("Error while triggering instrumentation handler.\nType: ".concat(t,"\nName: ").concat((0,i.qQ)(a),"\nError:"),r)}}var p=n(18332);const f=p.O;var h=n(81456);const g=p.O;let m;function _(t){const e="history";u(e,t),l(e,v)}function v(){if(!function(){const t=f.chrome,e=t&&t.app&&t.app.runtime,n="history"in f&&!!f.history.pushState&&!!f.history.replaceState;return!e&&n}())return;const t=g.onpopstate;function e(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const o=n.length>2?n[2]:void 0;if(o){const t=m,e=String(o);m=e;d("history",{from:t,to:e})}return t.apply(this,n)}}g.onpopstate=function(){const e=g.location.href,n=m;m=e;if(d("history",{from:n,to:e}),t)try{for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return t.apply(this,o)}catch(i){}},(0,h.GS)(g.history,"pushState",e),(0,h.GS)(g.history,"replaceState",e)}var y=n(73361),b=n(56077),E=n(23971),S=n(62302);const x=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],w=(0,b._C)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"InboundFilters",processEvent(e,n,r){const o=r.getOptions(),i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:x],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,o);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(e){}return!1}(t))return y.T&&s.vF.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat((0,E.$X)(t))),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(r){}n&&n.value&&(e.push(n.value),n.type&&e.push("".concat(n.type,": ").concat(n.value)));return e}(t).some((t=>(0,S.Xr)(t,e)))}(t,e.ignoreErrors))return y.T&&s.vF.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat((0,E.$X)(t))),!0;if(function(t){if(t.type)return!1;if(!t.exception||!t.exception.values||0===t.exception.values.length)return!1;return!t.message&&!t.exception.values.some((t=>t.stacktrace||t.type&&"Error"!==t.type||t.value))}(t))return y.T&&s.vF.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: ".concat((0,E.$X)(t))),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,S.Xr)(n,e)}(t,e.ignoreTransactions))return y.T&&s.vF.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat((0,E.$X)(t))),!0;if(function(t,e){if(!e||!e.length)return!1;const n=A(t);return!!n&&(0,S.Xr)(n,e)}(t,e.denyUrls))return y.T&&s.vF.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat((0,E.$X)(t),".\nUrl: ").concat(A(t))),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=A(t);return!n||(0,S.Xr)(n,e)}(t,e.allowUrls))return y.T&&s.vF.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat((0,E.$X)(t),".\nUrl: ").concat(A(t))),!0;return!1}(e,i)?null:e}}}));function A(t){try{let n;try{n=t.exception.values[0].stacktrace.frames}catch(e){}return n?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(n){return y.T&&s.vF.error("Cannot extract url for event ".concat((0,E.$X)(t))),null}}var k=n(27923);let O;const T=new WeakMap,C=(0,b._C)((()=>({name:"FunctionToString",setupOnce(){O=Function.prototype.toString;try{Function.prototype.toString=function(){const t=(0,h.sp)(this),e=T.has((0,k.KU)())&&void 0!==t?t:this;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return O.apply(e,r)}}catch(t){}},setup(t){T.set(t,!0)}})));var D=n(87008);const N=p.O;function P(){if(!("fetch"in N))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function I(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function R(t,e){!0===e.debug&&(y.T?s.vF.enable():(0,s.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));(0,k.o5)().update(e.initialScope);const n=new t(e);return function(t){(0,k.o5)().setClient(t)}(n),n.init(),n}const j="production";var M,F=n(78923),L=n(75731);function U(t){return new H((e=>{e(t)}))}function q(t){return new H(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(M||(M={}));class H{constructor(t){H.prototype.__init.call(this),H.prototype.__init2.call(this),H.prototype.__init3.call(this),H.prototype.__init4.call(this),this._state=M.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(e){this._reject(e)}}then(t,e){return new H(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(o){r(o)}else n(e)},t=>{if(e)try{n(e(t))}catch(o){r(o)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new H(((e,n)=>{let r,o;return this.then((e=>{o=!1,r=e,t&&t()}),(e=>{o=!0,r=e,t&&t()})).then((()=>{o?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(M.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(M.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===M.PENDING&&((0,L.Qg)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===M.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===M.RESOLVED&&t[1](this._value),this._state===M.REJECTED&&t[2](this._value),t[0]=!0)}))}}}function K(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new H(((i,a)=>{const c=t[o];if(null===e||"function"!==typeof c)i(e);else{const u=c((0,r.A)({},e),n);y.T&&c.id&&null===u&&s.vF.log('Event processor "'.concat(c.id,'" dropped event')),(0,L.Qg)(u)?u.then((e=>K(t,e,n,o+1).then(i))).then(null,a):K(t,u,n,o+1).then(i).then(null,a)}}))}var G=n(52398);let B,J,z;function W(t){const e=p.O._sentryDebugIds;if(!e)return{};const n=Object.keys(e);return z&&n.length===J||(J=n.length,z=n.reduce(((n,r)=>{B||(B={});const o=B[r];if(o)n[o[0]]=o[1];else{const o=t(r);for(let t=o.length-1;t>=0;t--){const s=o[t],i=s&&s.filename,a=e[r];if(i&&a){n[i]=a,B[r]=[i,a];break}}}return n}),{})),z}function Y(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return X("",t,e,n)}catch(r){return{ERROR:"**non-serializable** (".concat(r,")")}}}function $(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400;const r=Y(t,e);return o=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(o))>n?$(t,e-1,n):r;var o}function X(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){const t="function"===typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}();const[s,a]=o;if(null==e||["boolean","string"].includes(typeof e)||"number"===typeof e&&Number.isFinite(e))return e;const c=function(t,e){try{if("domain"===t&&e&&"object"===typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!==typeof global&&e===global)return"[Global]";if("undefined"!==typeof window&&e===window)return"[Window]";if("undefined"!==typeof document&&e===document)return"[Document]";if((0,L.L2)(e))return"[VueViewModel]";if((0,L.mE)(e))return"[SyntheticEvent]";if("number"===typeof e&&!Number.isFinite(e))return"[".concat(e,"]");if("function"===typeof e)return"[Function: ".concat((0,i.qQ)(e),"]");if("symbol"===typeof e)return"[".concat(String(e),"]");if("bigint"===typeof e)return"[BigInt: ".concat(String(e),"]");const n=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?"[HTMLElement: ".concat(n,"]"):"[object ".concat(n,"]")}catch(n){return"**non-serializable** (".concat(n,")")}}(t,e);if(!c.startsWith("[object "))return c;if(e.__sentry_skip_normalization__)return e;const u="number"===typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===u)return c.replace("object ","");if(s(e))return"[Circular ~]";const l=e;if(l&&"function"===typeof l.toJSON)try{return X("",l.toJSON(),u-1,r,o)}catch(g){}const d=Array.isArray(e)?[]:{};let p=0;const f=(0,h.W4)(e);for(const i in f){if(!Object.prototype.hasOwnProperty.call(f,i))continue;if(p>=r){d[i]="[MaxProperties ~]";break}const t=f[i];d[i]=X(i,t,u-1,r,o),p++}return a(e),d}var Q=n(82670);const V=/^sentry-/;function Z(t){const e=function(t){if(!t||!(0,L.Kg)(t)&&!Array.isArray(t))return;if(Array.isArray(t))return t.reduce(((t,e)=>{const n=tt(e);return Object.entries(n).forEach((e=>{let[n,r]=e;t[n]=r})),t}),{});return tt(t)}(t);if(!e)return;const n=Object.entries(e).reduce(((t,e)=>{let[n,r]=e;if(n.match(V)){t[n.slice(7)]=r}return t}),{});return Object.keys(n).length>0?n:void 0}function tt(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,e)=>{let[n,r]=e;return n&&r&&(t[n]=r),t}),{})}const et="_sentryMetrics";function nt(t){const e=t[et];if(!e)return;const n={};for(const[,[r,o]]of e){(n[r]||(n[r]=[])).push((0,h.Ce)(o))}return n}let rt=!1;function ot(t){const{spanId:e,traceId:n}=t.spanContext(),{parent_span_id:r}=at(t);return(0,h.Ce)({parent_span_id:r,span_id:e,trace_id:n})}function st(t){return"number"===typeof t?it(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?it(t.getTime()):(0,Q.zf)()}function it(t){return t>9999999999?t/1e3:t}function at(t){if(function(t){return"function"===typeof t.getSpanJSON}(t))return t.getSpanJSON();try{const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}(t)){const{attributes:r,startTime:o,name:s,endTime:i,parentSpanId:a,status:c}=t;return(0,h.Ce)({span_id:e,trace_id:n,data:r,description:s,parent_span_id:a,start_timestamp:st(o),timestamp:st(i)||void 0,status:ut(c),op:r["sentry.op"],origin:r["sentry.origin"],_metrics_summary:nt(t)})}return{span_id:e,trace_id:n}}catch(e){return{}}}function ct(t){const{traceFlags:e}=t.spanContext();return 1===e}function ut(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"unknown_error"}const lt="_sentryRootSpan";function dt(t){return t[lt]||t}function pt(){rt||((0,s.pq)((()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")})),rt=!0)}const ft="_frozenDsc";function ht(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},o=(0,h.Ce)({environment:n.environment||j,release:n.release,public_key:r,trace_id:t});return e.emit("createDsc",o),o}function gt(t){const e=(0,k.KU)();if(!e)return{};const n=dt(t),r=n[ft];if(r)return r;const o=n.spanContext().traceState,s=o&&o.get("sentry.dsc"),i=s&&Z(s);if(i)return i;const a=ht(t.spanContext().traceId,e),c=at(n),u=c.data||{},l=u["sentry.sample_rate"];null!=l&&(a.sample_rate="".concat(l));const d=u["sentry.source"],p=c.description;return"url"!==d&&p&&(a.transaction=p),function(t){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=(0,k.KU)(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}()&&(a.sampled=String(ct(n))),e.emit("createDsc",a,n),a}var mt=n(70289);function _t(t,e){const{fingerprint:n,span:o,breadcrumbs:s,sdkProcessingMetadata:i}=e;!function(t,e){const{extra:n,tags:o,user:s,contexts:i,level:a,transactionName:c}=e,u=(0,h.Ce)(n);u&&Object.keys(u).length&&(t.extra=(0,r.A)((0,r.A)({},u),t.extra));const l=(0,h.Ce)(o);l&&Object.keys(l).length&&(t.tags=(0,r.A)((0,r.A)({},l),t.tags));const d=(0,h.Ce)(s);d&&Object.keys(d).length&&(t.user=(0,r.A)((0,r.A)({},d),t.user));const p=(0,h.Ce)(i);p&&Object.keys(p).length&&(t.contexts=(0,r.A)((0,r.A)({},p),t.contexts));a&&(t.level=a);c&&"transaction"!==t.type&&(t.transaction=c)}(t,e),o&&function(t,e){t.contexts=(0,r.A)({trace:ot(e)},t.contexts),t.sdkProcessingMetadata=(0,r.A)({dynamicSamplingContext:gt(e)},t.sdkProcessingMetadata);const n=dt(e),o=at(n).description;o&&!t.transaction&&"transaction"===t.type&&(t.transaction=o)}(t,o),function(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e));t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,s),function(t,e){t.sdkProcessingMetadata=(0,r.A)((0,r.A)({},t.sdkProcessingMetadata),e)}(t,i)}function vt(t,e){const{extra:n,tags:o,user:s,contexts:i,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:d,attachments:p,propagationContext:f,transactionName:h,span:g}=e;yt(t,"extra",n),yt(t,"tags",o),yt(t,"user",s),yt(t,"contexts",i),t.sdkProcessingMetadata=(0,mt.h)(t.sdkProcessingMetadata,c,2),a&&(t.level=a),h&&(t.transactionName=h),g&&(t.span=g),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),d.length&&(t.eventProcessors=[...t.eventProcessors,...d]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext=(0,r.A)((0,r.A)({},t.propagationContext),f)}function yt(t,e,n){t[e]=(0,mt.h)(t[e],n,1)}function bt(t,e,n,o,s,i){const{normalizeDepth:a=3,normalizeMaxBreadth:c=1e3}=t,u=(0,r.A)((0,r.A)({},e),{},{event_id:e.event_id||n.event_id||(0,E.eJ)(),timestamp:e.timestamp||(0,Q.lu)()}),l=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:o,maxValueLength:s=250}=e;t.environment=t.environment||n||j,!t.release&&r&&(t.release=r);!t.dist&&o&&(t.dist=o);t.message&&(t.message=(0,S.xv)(t.message,s));const i=t.exception&&t.exception.values&&t.exception.values[0];i&&i.value&&(i.value=(0,S.xv)(i.value,s));const a=t.request;a&&a.url&&(a.url=(0,S.xv)(a.url,s))}(u,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(u,l),s&&s.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const n=W(e);try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{n&&t.filename&&(t.debug_id=n[t.filename])}))}))}catch(r){}}(u,t.stackParser);const d=function(t,e){if(!e)return t;const n=t?t.clone():new G.H;return n.update(e),n}(o,n.captureContext);n.mechanism&&(0,E.M6)(u,n.mechanism);const p=s?s.getEventProcessors():[],f=(0,k.m6)().getScopeData();if(i){vt(f,i.getScopeData())}if(d){vt(f,d.getScopeData())}const h=[...n.attachments||[],...f.attachments];h.length&&(n.attachments=h),_t(u,f);return K([...p,...f.eventProcessors],u,n).then((t=>(t&&function(t){const 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(r){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach((t=>{let[e,r]=t;n.push({type:"sourcemap",code_file:e,debug_id:r})}))}(t),"number"===typeof a&&a>0?function(t,e,n){if(!t)return null;const o=(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>(0,r.A)((0,r.A)({},t),t.data&&{data:Y(t.data,e,n)})))}),t.user&&{user:Y(t.user,e,n)}),t.contexts&&{contexts:Y(t.contexts,e,n)}),t.extra&&{extra:Y(t.extra,e,n)});t.contexts&&t.contexts.trace&&o.contexts&&(o.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(o.contexts.trace.data=Y(t.contexts.trace.data,e,n)));t.spans&&(o.spans=t.spans.map((t=>(0,r.A)((0,r.A)({},t),t.data&&{data:Y(t.data,e,n)}))));return o}(t,a,c):t)))}function Et(t){if(t)return function(t){return t instanceof G.H||"function"===typeof t}(t)||function(t){return Object.keys(t).some((t=>St.includes(t)))}(t)?{captureContext:t}:t}const St=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function xt(t,e){return(0,k.o5)().captureEvent(t,e)}function wt(t){const e=(0,k.KU)(),n=(0,k.rm)(),o=(0,k.o5)(),{release:s,environment:i=j}=e&&e.getOptions()||{},{userAgent:a}=p.O.navigator||{},c=(0,F.fj)((0,r.A)((0,r.A)({release:s,environment:i,user:o.getUser()||n.getUser()},a&&{userAgent:a}),t)),u=n.getSession();return u&&"ok"===u.status&&(0,F.qO)(u,{status:"exited"}),At(),n.setSession(c),o.setSession(c),c}function At(){const t=(0,k.rm)(),e=(0,k.o5)(),n=e.getSession()||t.getSession();n&&(0,F.Vu)(n),kt(),t.setSession(),e.setSession()}function kt(){const t=(0,k.rm)(),e=(0,k.o5)(),n=(0,k.KU)(),r=e.getSession()||t.getSession();r&&n&&n.captureSession(r)}function Ot(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?At():kt()}function Tt(t){const e=t.protocol?"".concat(t.protocol,":"):"",n=t.port?":".concat(t.port):"";return"".concat(e,"//").concat(t.host).concat(n).concat(t.path?"/".concat(t.path):"","/api/")}function Ct(t,e,n){return e||"".concat(function(t){return"".concat(Tt(t)).concat(t.projectId,"/envelope/")}(t),"?").concat(function(t,e){const n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client="".concat(e.name,"/").concat(e.version)),new URLSearchParams(n).toString()}(t,n))}const Dt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Nt(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{host:n,path:r,pass:o,port:s,projectId:i,protocol:a,publicKey:c}=t;return"".concat(a,"://").concat(c).concat(e&&o?":".concat(o):"")+"@".concat(n).concat(s?":".concat(s):"","/").concat(r?"".concat(r,"/"):r).concat(i)}function Pt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function It(t){const e="string"===typeof t?function(t){const e=Dt.exec(t);if(!e)return void(0,s.pq)((()=>{console.error("Invalid Sentry Dsn: ".concat(t))}));const[n,r,o="",i="",a="",c=""]=e.slice(1);let u="",l=c;const d=l.split("/");if(d.length>1&&(u=d.slice(0,-1).join("/"),l=d.pop()),l){const t=l.match(/^\d+/);t&&(l=t[0])}return Pt({host:i,pass:o,path:u,projectId:l,port:a,protocol:n,publicKey:r})}(t):Pt(t);if(e&&function(t){if(!o.T)return!0;const{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(s.vF.error("Invalid Sentry Dsn: ".concat(e," missing")),!0)))&&(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(r)?!e||!isNaN(parseInt(e,10))||(s.vF.error("Invalid Sentry Dsn: Invalid port ".concat(e)),!1):(s.vF.error("Invalid Sentry Dsn: Invalid protocol ".concat(r)),!1):(s.vF.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),!1))}(e))return e}function Rt(t){return[t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}function jt(t,e){const[n,r]=t;return[n,[...r,e]]}function Mt(t,e){const n=t[1];for(const r of n){if(e(r,r[0].type))return!0}return!1}function Ft(t){return p.O.__SENTRY__&&p.O.__SENTRY__.encodePolyfill?p.O.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function Lt(t){const[e,n]=t;let r=JSON.stringify(e);function o(t){"string"===typeof r?r="string"===typeof t?r+t:[Ft(r),t]:r.push("string"===typeof t?Ft(t):t)}for(const i of n){const[t,e]=i;if(o("\n".concat(JSON.stringify(t),"\n")),"string"===typeof e||e instanceof Uint8Array)o(e);else{let t;try{t=JSON.stringify(e)}catch(s){t=JSON.stringify(Y(e))}o(t)}}return"string"===typeof r?r:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const o of t)n.set(o,r),r+=o.length;return n}(r)}function Ut(t){const e="string"===typeof t.data?Ft(t.data):t.data;return[(0,h.Ce)({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}const qt={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function Ht(t){return qt[t]}function Kt(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Gt(t,e,n,o){const s=Kt(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const a=function(t,e,n,o){const s=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return(0,r.A)((0,r.A)((0,r.A)({event_id:t.event_id,sent_at:(new Date).toISOString()},e&&{sdk:e}),!!n&&o&&{dsn:Nt(o)}),s&&{trace:(0,h.Ce)((0,r.A)({},s))})}(t,s,o,e);delete t.sdkProcessingMetadata;return Rt(a,[[{type:i},t]])}class Bt extends Error{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}const Jt="Not capturing exception because it's already been captured.";class zt{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=It(t.dsn):y.T&&s.vF.warn("No DSN provided, client will not send events."),this._dsn){const e=Ct(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport((0,r.A)((0,r.A)({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{},{url:e}))}const e=["enableTracing","tracesSampleRate","tracesSampler"].find((e=>e in t&&void 0==t[e]));e&&(0,s.pq)((()=>{console.warn("[Sentry] Deprecation warning: `".concat(e,"` is set to undefined, which leads to tracing being enabled. In v9, a value of `undefined` will result in tracing being disabled."))}))}captureException(t,e,n){const o=(0,E.eJ)();if((0,E.GR)(t))return y.T&&s.vF.log(Jt),o;const i=(0,r.A)({event_id:o},e);return this._process(this.eventFromException(t,i).then((t=>this._captureEvent(t,i,n)))),i.event_id}captureMessage(t,e,n,o){const s=(0,r.A)({event_id:(0,E.eJ)()},n),i=(0,L.NF)(t)?t:String(t),a=(0,L.sO)(t)?this.eventFromMessage(i,e,s):this.eventFromException(t,s);return this._process(a.then((t=>this._captureEvent(t,s,o)))),s.event_id}captureEvent(t,e,n){const o=(0,E.eJ)();if(e&&e.originalException&&(0,E.GR)(e.originalException))return y.T&&s.vF.log(Jt),o;const i=(0,r.A)({event_id:o},e),a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,i,a||n)),i.event_id}captureSession(t){"string"!==typeof t.release?y.T&&s.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,F.qO)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?(this.emit("flush"),this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t))))):U(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,this.emit("close"),t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some((t=>{let{name:e}=t;return e.startsWith("Spotlight")})))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];(0,b.qm)(this,t,this._integrations),e||(0,b.lc)(this,[t])}sendEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.emit("beforeSendEvent",t,e);let n=Gt(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of e.attachments||[])n=jt(n,Ut(o));const r=this.sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=function(t,e,n,o){const s=Kt(n);return Rt((0,r.A)((0,r.A)({sent_at:(new Date).toISOString()},s&&{sdk:s}),!!o&&e&&{dsn:Nt(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){const r="number"===typeof n?n:1,o="".concat(t,":").concat(e);y.T&&s.vF.log('Recording outcome: "'.concat(o,'"').concat(r>1?" (".concat(r," times)"):"")),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(t,e){const n=this._hooks[t]=this._hooks[t]||[];return n.push(e),()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=this._hooks[t];o&&o.forEach((t=>t(...n)))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,(t=>(y.T&&s.vF.error("Error while sending envelope:",t),t))):(y.T&&s.vF.error("Transport disabled"),U({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=(0,b.P$)(this,t),(0,b.lc)(this,t)}_updateSessionFromEvent(t,e){let n=!1,o=!1;const s=e.exception&&e.exception.values;if(s){o=!0;for(const t of s){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const i="ok"===t.status;(i&&0===t.errors||i&&n)&&((0,F.qO)(t,(0,r.A)((0,r.A)({},n&&{status:"crashed"}),{},{errors:t.errors||Number(o||n)})),this.captureSession(t))}_isClientDoneProcessing(t){return new H((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,k.o5)(),o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,k.rm)();const s=this.getOptions(),i=Object.keys(this._integrations);return!e.integrations&&i.length>0&&(e.integrations=i),this.emit("preprocessEvent",t,e),t.type||o.setLastEventId(t.event_id||e.event_id),bt(s,t,e,n,this,o).then((t=>{if(null===t)return t;t.contexts=(0,r.A)({trace:(0,k.vn)(n)},t.contexts);const e=function(t,e){const n=e.getPropagationContext();return n.dsc||ht(n.traceId,t)}(this,n);return t.sdkProcessingMetadata=(0,r.A)({dynamicSamplingContext:e},t.sdkProcessingMetadata),t}))}_captureEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if(y.T){const e=t;"log"===e.logLevel?s.vF.log(e.message):s.vF.warn(e)}}))}_processEvent(t,e,n){const o=this.getOptions(),{sampleRate:i}=o,a=Yt(t),c=Wt(t),u=t.type||"error",l="before send for type `".concat(u,"`"),d="undefined"===typeof i?void 0:function(t){if("boolean"===typeof t)return Number(t);const e="string"===typeof t?parseFloat(t):t;if(!("number"!==typeof e||isNaN(e)||e<0||e>1))return e;y.T&&s.vF.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(t)," of type ").concat(JSON.stringify(typeof t),"."))}(i);if(c&&"number"===typeof d&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error",t),q(new Bt("Discarding event because it's not included in the random sample (sampling rate = ".concat(i,")"),"log"));const p="replay_event"===u?"replay":u,f=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,n,f).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",p,t),new Bt("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const s=function(t,e,n,o){const{beforeSend:s,beforeSendTransaction:i,beforeSendSpan:a}=e;if(Wt(n)&&s)return s(n,o);if(Yt(n)){if(n.spans&&a){const e=[];for(const r of n.spans){const n=a(r);n?e.push(n):(pt(),t.recordDroppedEvent("before_send","span"))}n.spans=e}if(i){if(n.spans){const t=n.spans.length;n.sdkProcessingMetadata=(0,r.A)((0,r.A)({},n.sdkProcessingMetadata),{},{spanCountBeforeProcessing:t})}return i(n,o)}}return n}(this,o,n,e);return function(t,e){const n="".concat(e," must return `null` or a valid event.");if((0,L.Qg)(t))return t.then((t=>{if(!(0,L.Qd)(t)&&null!==t)throw new Bt(n);return t}),(t=>{throw new Bt("".concat(e," rejected with ").concat(t))}));if(!(0,L.Qd)(t)&&null!==t)throw new Bt(n);return t}(s,l)})).then((o=>{if(null===o){if(this.recordDroppedEvent("before_send",p,t),a){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw new Bt("".concat(l," returned `null`, will not send event."),"log")}const s=n&&n.getSession();if(!a&&s&&this._updateSessionFromEvent(s,o),a){const t=(o.sdkProcessingMetadata&&o.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const i=o.transaction_info;if(a&&i&&o.transaction!==t.transaction){const t="custom";o.transaction_info=(0,r.A)((0,r.A)({},i),{},{source:t})}return this.sendEvent(o,e),o})).then(null,(t=>{if(t instanceof Bt)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new Bt("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(t))}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map((t=>{let[e,n]=t;const[r,o]=e.split(":");return{reason:r,category:o,quantity:n}}))}_flushOutcomes(){y.T&&s.vF.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(y.T&&s.vF.log("No outcomes to send"));if(!this._dsn)return void(y.T&&s.vF.log("No dsn provided, will not send outcomes"));y.T&&s.vF.log("Sending outcomes:",t);const e=(n=t,Rt((r=this._options.tunnel&&Nt(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:o||(0,Q.lu)(),discarded_events:n}]]));var n,r,o;this.sendEnvelope(e)}}function Wt(t){return void 0===t.type}function Yt(t){return"transaction"===t.type}var $t=n(33167);const Xt="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Qt(t,e){const n=te(t,e),r={type:re(e),value:oe(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Vt(t,e,n,r){const o=(0,k.KU)(),s=o&&o.getOptions().normalizeDepth,i=function(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}return}(e),a={__serialized__:$(e,s)};if(i)return{exception:{values:[Qt(t,i)]},extra:a};const c={exception:{values:[{type:(0,L.xH)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:ae(e,{isUnhandledRejection:r})}]},extra:a};if(n){const e=te(t,n);e.length&&(c.exception.values[0].stacktrace={frames:e})}return c}function Zt(t,e){return{exception:{values:[Qt(t,e)]}}}function te(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t&&ee.test(t.message))return 1;return 0}(e),o=function(t){if("number"===typeof t.framesToPop)return t.framesToPop;return 0}(e);try{return t(n,r,o)}catch(s){}return[]}const ee=/Minified React error #\d+;/i;function ne(t){return"undefined"!==typeof WebAssembly&&"undefined"!==typeof WebAssembly.Exception&&t instanceof WebAssembly.Exception}function re(t){const e=t&&t.name;if(!e&&ne(t)){return t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception"}return e}function oe(t){const e=t&&t.message;return e?e.error&&"string"===typeof e.error.message?e.error.message:ne(t)&&Array.isArray(t.message)&&2==t.message.length?t.message[1]:e:"No error message"}function se(t,e,n,o,s){let i;if((0,L.T2)(e)&&e.error){return Zt(t,e.error)}if((0,L.BD)(e)||(0,L.W6)(e)){const s=e;if("stack"in e)i=Zt(t,e);else{const e=s.name||((0,L.BD)(s)?"DOMError":"DOMException"),r=s.message?"".concat(e,": ").concat(s.message):e;i=ie(t,r,n,o),(0,E.gO)(i,r)}return"code"in s&&(i.tags=(0,r.A)((0,r.A)({},i.tags),{},{"DOMException.code":"".concat(s.code)})),i}if((0,L.bJ)(e))return Zt(t,e);if((0,L.Qd)(e)||(0,L.xH)(e)){return i=Vt(t,e,n,s),(0,E.M6)(i,{synthetic:!0}),i}return i=ie(t,e,n,o),(0,E.gO)(i,"".concat(e),void 0),(0,E.M6)(i,{synthetic:!0}),i}function ie(t,e,n,r){const o={};if(r&&n){const r=te(t,n);r.length&&(o.exception={values:[{value:e,stacktrace:{frames:r}}]})}if((0,L.NF)(e)){const{__sentry_template_string__:t,__sentry_template_values__:n}=e;return o.logentry={message:t,params:n},o}return o.message=e,o}function ae(t,e){let{isUnhandledRejection:n}=e;const r=(0,h.HF)(t),o=n?"promise rejection":"exception";if((0,L.T2)(t))return"Event `ErrorEvent` captured as ".concat(o," with message `").concat(t.message,"`");if((0,L.xH)(t)){const e=function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(e){}}(t);return"Event `".concat(e,"` (type=").concat(t.type,") captured as ").concat(o)}return"Object captured as ".concat(o," with keys: ").concat(r)}const ce=p.O;let ue=0;function le(){return ue>0}function de(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!function(t){return"function"===typeof t}(t))return t;try{const e=t.__sentry_wrapped__;if(e)return"function"===typeof e?e:t;if((0,h.sp)(t))return t}catch(o){return t}const n=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];try{const n=o.map((t=>de(t,e)));return t.apply(this,n)}catch(i){throw ue++,setTimeout((()=>{ue--})),(0,k.v4)((t=>{var n,s;t.addEventProcessor((t=>(e.mechanism&&((0,E.gO)(t,void 0,void 0),(0,E.M6)(t,e.mechanism)),t.extra=(0,r.A)((0,r.A)({},t.extra),{},{arguments:o}),t))),n=i,(0,k.o5)().captureException(n,Et(s))})),i}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}catch(s){}(0,h.pO)(n,t),(0,h.my)(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>t.name})}catch(i){}return n}class pe extends zt{constructor(t){const e=(0,r.A)({parentSpanIsAlwaysRootSpan:!0},t);!function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[e],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"npm";const o=t._metadata||{};o.sdk||(o.sdk={name:"sentry.javascript.".concat(e),packages:n.map((t=>({name:"".concat(r,":@sentry/").concat(t),version:$t.M}))),version:$t.M}),t._metadata=o}(e,"browser",["browser"],ce.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&ce.document&&ce.document.addEventListener("visibilitychange",(()=>{"hidden"===ce.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return function(t,e,n,r){const o=se(t,e,n&&n.syntheticException||void 0,r);return(0,E.M6)(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),U(o)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;const s=ie(t,e,r&&r.syntheticException||void 0,o);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),U(s)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(Xt&&s.vF.warn("SDK not enabled, will not capture user feedback."));const e=function(t,e){let{metadata:n,tunnel:o,dsn:s}=e;const i=(0,r.A)((0,r.A)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&n.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}}),!!o&&!!s&&{dsn:Nt(s)}),a=function(t){return[{type:"user_report"},t]}(t);return Rt(i,[a])}(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)}}let fe,he,ge;function me(){if(!g.document)return;const t=d.bind(null,"dom"),e=_e(t,!0);g.document.addEventListener("click",e,!1),g.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=g[e],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,h.GS)(r,"addEventListener",(function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=r[n]=r[n]||{refCount:0};if(!s.handler){const r=_e(t);s.handler=r,e.call(this,n,r,o)}s.refCount++}catch(s){}return e.call(this,n,r,o)}})),(0,h.GS)(r,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this.__sentry_instrumentation_handlers__||{},o=n[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete n[e]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(o){}return t.call(this,e,n,r)}})))}))}function _e(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(e){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;(0,h.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,h.my)(r,"_sentryId",(0,E.eJ)());const o="keypress"===n.type?"input":n.type;if(!function(t){if(t.type!==he)return!1;try{if(!t.target||t.target._sentryId!==ge)return!1}catch(e){}return!0}(n)){t({event:n,name:o,global:e}),he=n.type,ge=r?r._sentryId:void 0}clearTimeout(fe),fe=g.setTimeout((()=>{ge=void 0,he=void 0}),1e3)}}const ve="__sentry_xhr_v3__";function ye(){if(!g.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(t,e,n){const r=1e3*(0,Q.zf)(),o=(0,L.Kg)(n[0])?n[0].toUpperCase():void 0,s=function(t){if((0,L.Kg)(t))return t;try{return t.toString()}catch(e){}return}(n[1]);if(!o||!s)return t.apply(e,n);e[ve]={method:o,url:s,request_headers:{}},"POST"===o&&s.match(/sentry_key/)&&(e.__sentry_own_request__=!0);const i=()=>{const t=e[ve];if(t&&4===e.readyState){try{t.status_code=e.status}catch(n){}d("xhr",{endTimestamp:1e3*(0,Q.zf)(),startTimestamp:r,xhr:e})}};return"onreadystatechange"in e&&"function"===typeof e.onreadystatechange?e.onreadystatechange=new Proxy(e.onreadystatechange,{apply:(t,e,n)=>(i(),t.apply(e,n))}):e.addEventListener("readystatechange",i),e.setRequestHeader=new Proxy(e.setRequestHeader,{apply(t,e,n){const[r,o]=n,s=e[ve];return s&&(0,L.Kg)(r)&&(0,L.Kg)(o)&&(s.request_headers[r.toLowerCase()]=o),t.apply(e,n)}}),t.apply(e,n)}}),t.send=new Proxy(t.send,{apply(t,e,n){const r=e[ve];if(!r)return t.apply(e,n);void 0!==n[0]&&(r.body=n[0]);return d("xhr",{startTimestamp:1e3*(0,Q.zf)(),xhr:e}),t.apply(e,n)}})}function be(){"console"in p.O&&s.Ow.forEach((function(t){t in p.O.console&&(0,h.GS)(p.O.console,t,(function(e){return s.Z9[t]=e,function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];d("console",{args:n,level:t});const o=s.Z9[t];o&&o.apply(p.O.console,n)}}))}))}function Ee(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&!function(){if("string"===typeof EdgeRuntime)return!0;if(!P())return!1;if(I(N.fetch))return!0;let t=!1;const e=N.document;if(e&&"function"===typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=I(n.contentWindow.fetch)),e.head.removeChild(n)}catch(n){o.T&&s.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return t}()||(0,h.GS)(p.O,"fetch",(function(e){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];const{method:i,url:a}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:xe(e),method:Se(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:xe(e),method:Se(e,"method")?String(e.method).toUpperCase():"GET"}}(o),c={args:o,fetchData:{method:i,url:a},startTimestamp:1e3*(0,Q.zf)()};t||d("fetch",(0,r.A)({},c));const u=(new Error).stack;return e.apply(p.O,o).then((async e=>(t?t(e):d("fetch",(0,r.A)((0,r.A)({},c),{},{endTimestamp:1e3*(0,Q.zf)(),response:e})),e)),(t=>{throw d("fetch",(0,r.A)((0,r.A)({},c),{},{endTimestamp:1e3*(0,Q.zf)(),error:t})),(0,L.bJ)(t)&&void 0===t.stack&&(t.stack=u,(0,h.my)(t,"framesToPop",1)),t}))}}))}function Se(t,e){return!!t&&"object"===typeof t&&!!t[e]}function xe(t){return"string"===typeof t?t:t?Se(t,"url")?t.url:t.toString?t.toString():"":""}const we=100;function Ae(t,e){const n=(0,k.KU)(),o=(0,k.rm)();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=we}=n.getOptions();if(a<=0)return;const c=(0,Q.lu)(),u=(0,r.A)({timestamp:c},t),l=i?(0,s.pq)((()=>i(u,e))):u;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,e),o.addBreadcrumb(l,a))}var ke=n(84787);function Oe(t){return"warn"===t?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}function Te(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}function Ce(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}const De=1024,Ne=(0,b._C)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=(0,r.A)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t);return{name:"Breadcrumbs",setup(t){var n;e.console&&function(t){const e="console";u(e,t),l(e,be)}(function(t){return function(e){if((0,k.KU)()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:Oe(e.level),message:(0,S.gt)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message="Assertion failed: ".concat((0,S.gt)(e.args.slice(1)," ")||"console.assert"),n.data.arguments=e.args.slice(1)}Ae(n,{input:e.args,level:e.level})}}(t)),e.dom&&(n=function(t,e){return function(n){if((0,k.KU)()!==t)return;let r,o,i="object"===typeof e?e.serializeAttribute:void 0,a="object"===typeof e&&"number"===typeof e.maxStringLength?e.maxStringLength:void 0;a&&a>De&&(Xt&&s.vF.warn("`dom.maxStringLength` cannot exceed ".concat(De,", but a value of ").concat(a," was configured. Sentry will use ").concat(De," instead.")),a=De),"string"===typeof i&&(i=[i]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=(0,ke.Hd)(e,{keyAttrs:i,maxStringLength:a}),o=(0,ke.xE)(e)}catch(u){r="<unknown>"}if(0===r.length)return;const c={category:"ui.".concat(n.name),message:r};o&&(c.data={"ui.component_name":o}),Ae(c,{event:n.event,name:n.name,global:n.global})}}(t,e.dom),u("dom",n),l("dom",me)),e.xhr&&function(t){u("xhr",t),l("xhr",ye)}(function(t){return function(e){if((0,k.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,o=e.xhr[ve];if(!n||!r||!o)return;const{method:s,url:i,status_code:a,body:c}=o,u={method:s,url:i,status_code:a},l={xhr:e.xhr,input:c,startTimestamp:n,endTimestamp:r};Ae({category:"xhr",data:u,type:"http",level:Te(a)},l)}}(t)),e.fetch&&function(t,e){const n="fetch";u(n,t),l(n,(()=>Ee(void 0,e)))}(function(t){return function(e){if((0,k.KU)()!==t)return;const{startTimestamp:n,endTimestamp:o}=e;if(o&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){Ae({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:n,endTimestamp:o})}else{const t=e.response,s=(0,r.A)((0,r.A)({},e.fetchData),{},{status_code:t&&t.status}),i={input:e.args,response:t,startTimestamp:n,endTimestamp:o};Ae({category:"fetch",data:s,type:"http",level:Te(s.status_code)},i)}}}(t)),e.history&&_(function(t){return function(e){if((0,k.KU)()!==t)return;let n=e.from,r=e.to;const o=Ce(ce.location.href);let s=n?Ce(n):void 0;const i=Ce(r);s&&s.path||(s=o),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),Ae({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){(0,k.KU)()===t&&Ae({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,E.$X)(e)},{event:e})}}(t))}}}));const Pe=["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"],Ie=(0,b._C)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=(0,r.A)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t);return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,h.GS)(ce,"setTimeout",Re),e.setInterval&&(0,h.GS)(ce,"setInterval",Re),e.requestAnimationFrame&&(0,h.GS)(ce,"requestAnimationFrame",je),e.XMLHttpRequest&&"XMLHttpRequest"in ce&&(0,h.GS)(XMLHttpRequest.prototype,"send",Me);const t=e.eventTarget;if(t){(Array.isArray(t)?t:Pe).forEach(Fe)}}}}));function Re(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const o=n[0];return n[0]=de(o,{mechanism:{data:{function:(0,i.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,n)}}function je(t){return function(e){return t.apply(this,[de(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,i.qQ)(t)},handled:!1,type:"instrument"}})])}}function Me(t){return function(){const e=this;["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in e&&"function"===typeof e[t]&&(0,h.GS)(e,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,i.qQ)(e)},handled:!1,type:"instrument"}},r=(0,h.sp)(e);return r&&(n.mechanism.data.handler=(0,i.qQ)(r)),de(e,n)}))}));for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.apply(this,r)}}function Fe(t){const e=ce[t],n=e&&e.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,h.GS)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"===typeof r.handleEvent&&(r.handleEvent=de(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,i.qQ)(r),target:t},handled:!1,type:"instrument"}}))}catch(s){}return e.apply(this,[n,de(r,{mechanism:{data:{function:"addEventListener",handler:(0,i.qQ)(r),target:t},handled:!1,type:"instrument"}}),o])}})),(0,h.GS)(n,"removeEventListener",(function(t){return function(e,n,r){try{const o=n.__sentry_wrapped__;o&&t.call(this,e,o,r)}catch(o){}return t.call(this,e,n,r)}})))}let Le=null;function Ue(){Le=p.O.onerror,p.O.onerror=function(t,e,n,r,o){return d("error",{column:r,error:o,line:n,msg:t,url:e}),!(!Le||Le.__SENTRY_LOADER__)&&Le.apply(this,arguments)},p.O.onerror.__SENTRY_INSTRUMENTED__=!0}let qe=null;function He(){qe=p.O.onunhandledrejection,p.O.onunhandledrejection=function(t){return d("unhandledrejection",t),!(qe&&!qe.__SENTRY_LOADER__)||qe.apply(this,arguments)},p.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Ke=(0,b._C)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=(0,r.A)({onerror:!0,onunhandledrejection:!0},t);return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(!function(t){!function(t){const e="error";u(e,t),l(e,Ue)}((e=>{const{stackParser:n,attachStacktrace:r}=Be();if((0,k.KU)()!==t||le())return;const{msg:o,url:s,line:a,column:c,error:u}=e,l=function(t,e,n,r){const o=t.exception=t.exception||{},s=o.values=o.values||[],a=s[0]=s[0]||{},c=a.stacktrace=a.stacktrace||{},u=c.frames=c.frames||[],l=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,p=(0,L.Kg)(e)&&e.length>0?e:(0,ke.$N)();0===u.length&&u.push({colno:l,filename:p,function:i.yF,in_app:!0,lineno:d});return t}(se(n,u||o,void 0,r,!1),s,a,c);l.level="error",xt(l,{originalException:u,mechanism:{handled:!1,type:"onerror"}})}))}(t),Ge("onerror")),e.onunhandledrejection&&(!function(t){!function(t){const e="unhandledrejection";u(e,t),l(e,He)}((e=>{const{stackParser:n,attachStacktrace:r}=Be();if((0,k.KU)()!==t||le())return;const o=function(t){if((0,L.sO)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(e){}return t}(e),s=(0,L.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(o))}]}}:se(n,o,void 0,r,!0);s.level="error",xt(s,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(t),Ge("onunhandledrejection"))}}}));function Ge(t){Xt&&s.vF.log("Global Handler attached: ".concat(t))}function Be(){const t=(0,k.KU)();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Je=(0,b._C)((()=>({name:"HttpContext",preprocessEvent(t){if(!ce.navigator&&!ce.location&&!ce.document)return;const e=t.request&&t.request.url||ce.location&&ce.location.href,{referrer:n}=ce.document||{},{userAgent:o}=ce.navigator||{},s=(0,r.A)((0,r.A)((0,r.A)({},t.request&&t.request.headers),n&&{Referer:n}),o&&{"User-Agent":o}),i=(0,r.A)((0,r.A)((0,r.A)({},t.request),e&&{url:e}),{},{headers:s});t.request=i}})));function ze(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:250,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;if(!s.exception||!s.exception.values||!i||!(0,L.tH)(i.originalException,Error))return;const a=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;var c,u;a&&(s.exception.values=(c=We(t,e,o,i.originalException,r,s.exception.values,a,0),u=n,c.map((t=>(t.value&&(t.value=(0,S.xv)(t.value,u)),t)))))}function We(t,e,n,r,o,s,i,a){if(s.length>=n+1)return s;let c=[...s];if((0,L.tH)(r[o],Error)){Ye(i,a);const s=t(e,r[o]),u=c.length;$e(s,o,u,a),c=We(t,e,n,r[o],o,[s,...c],s,u)}return Array.isArray(r.errors)&&r.errors.forEach(((r,s)=>{if((0,L.tH)(r,Error)){Ye(i,a);const u=t(e,r),l=c.length;$e(u,"errors[".concat(s,"]"),l,a),c=We(t,e,n,r,o,[u,...c],u,l)}})),c}function Ye(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=(0,r.A)((0,r.A)((0,r.A)({},t.mechanism),"AggregateError"===t.type&&{is_exception_group:!0}),{},{exception_id:e})}function $e(t,e,n,o){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=(0,r.A)((0,r.A)({},t.mechanism),{},{type:"chained",source:e,exception_id:n,parent_id:o})}const Xe=(0,b._C)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,r,o){const s=o.getOptions();ze(Qt,s.stackParser,s.maxValueLength,n,e,t,r)}}}));function Qe(t,e,n,r){const o={filename:t,function:"<anonymous>"===e?i.yF:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const Ve=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Ze=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tn=/\((\S*)(?::(\d+))(?::(\d+))\)/,en=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,rn=[[30,t=>{const e=Ve.exec(t);if(e){const[,t,n,r]=e;return Qe(t,i.yF,+n,+r)}const n=Ze.exec(t);if(n){if(n[2]&&0===n[2].indexOf("eval")){const t=tn.exec(n[2]);t&&(n[2]=t[1],n[3]=t[2],n[4]=t[3])}const[t,e]=sn(n[1]||i.yF,n[2]);return Qe(e,t,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,t=>{const e=en.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=nn.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]||i.yF;return[n,t]=sn(n,t),Qe(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],on=(0,i.gd)(...rn),sn=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:i.yF,n?"safari-extension:".concat(e):"safari-web-extension:".concat(e)]:[t,e]},an="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,cn={};function un(t){const e=cn[t];if(e)return e;let n=g[t];if(I(n))return cn[t]=n.bind(g);const r=g.document;if(r&&"function"===typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const o=e.contentWindow;o&&o[t]&&(n=o[t]),r.head.removeChild(e)}catch(o){an&&s.vF.warn("Could not create sandbox iframe for ".concat(t," check, bailing to window.").concat(t,": "),o)}return n?cn[t]=n.bind(g):n}function ln(t){cn[t]=void 0}function dn(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return q(new Bt("Not adding Promise because buffer limit was reached."));const o=r();return-1===e.indexOf(o)&&e.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(t){return new H(((n,r)=>{let o=e.length;if(!o)return n(!0);const s=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{U(t).then((()=>{--o||(clearTimeout(s),n(!0))}),r)}))}))}}}const pn=6e4;function fn(t,e){let{statusCode:n,headers:o}=e,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();const i=(0,r.A)({},t),a=o&&o["x-sentry-rate-limits"],c=o&&o["retry-after"];if(a)for(const r of a.trim().split(",")){const[t,e,,,n]=r.split(":",5),o=parseInt(t,10),a=1e3*(isNaN(o)?60:o);if(e)for(const r of e.split(";"))"metric_bucket"===r&&n&&!n.split(";").includes("custom")||(i[r]=s+a);else i.all=s+a}else c?i.all=s+function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();const n=parseInt("".concat(t),10);if(!isNaN(n))return 1e3*n;const r=Date.parse("".concat(t));return isNaN(r)?pn:r-e}(c,s):429===n&&(i.all=s+6e4);return i}const hn=64;function gn(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:dn(t.bufferSize||hn),r={};return{send:function(o){const i=[];if(Mt(o,((e,n)=>{const o=Ht(n);if(function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,o)){const r=mn(e,n);t.recordDroppedEvent("ratelimit_backoff",o,r)}else i.push(e)})),0===i.length)return U({});const a=Rt(o[0],i),c=e=>{Mt(a,((n,r)=>{const o=mn(n,r);t.recordDroppedEvent(e,Ht(r),o)}))};return n.add((()=>e({body:Lt(a)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&y.T&&s.vF.warn("Sentry responded with status code ".concat(t.statusCode," to sent event.")),r=fn(r,t),t)),(t=>{throw c("network_error"),t})))).then((t=>t),(t=>{if(t instanceof Bt)return y.T&&s.vF.error("Skipped sending event because buffer is full."),c("queue_overflow"),U({});throw t}))},flush:t=>n.drain(t)}}function mn(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function _n(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:un("fetch"),n=0,o=0;return gn(t,(function(s){const i=s.body.length;n+=i,o++;const a=(0,r.A)({body:s.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&o<15},t.fetchOptions);if(!e)return ln("fetch"),q("No fetch implementation available");try{return e(t.url,a).then((t=>(n-=i,o--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(c){return ln("fetch"),n-=i,o--,q(c)}}))}function vn(){const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e={defaultIntegrations:[w(),C(),Ie(),Ne(),Ke(),Xe(),(0,D.s)(),Je()],release:"string"===typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:ce.SENTRY_RELEASE&&ce.SENTRY_RELEASE.id?ce.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==t.defaultIntegrations&&delete t.defaultIntegrations,(0,r.A)((0,r.A)({},e),t)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(!t.skipBrowserExtensionCheck&&function(){const t="undefined"!==typeof ce.window&&ce;if(!t)return!1;const e=t[t.chrome?"chrome":"browser"],n=e&&e.runtime&&e.runtime.id,r=ce.location&&ce.location.href||"",o=!!n&&ce===ce.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((t=>r.startsWith("".concat(t,"//")))),s="undefined"!==typeof t.nw;return!!n&&!o&&!s}())return void(0,s.pq)((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));Xt&&(P()||s.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const e=(0,r.A)((0,r.A)({},t),{},{stackParser:(0,i.vk)(t.stackParser||on),integrations:(0,b.mH)(t),transport:t.transport||_n}),n=R(pe,e);return t.autoSessionTracking&&function(){if("undefined"===typeof ce.document)return void(Xt&&s.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));wt({ignoreDuration:!0}),Ot(),_((t=>{let{from:e,to:n}=t;void 0!==e&&e!==n&&(wt({ignoreDuration:!0}),Ot())}))}(),n}},27923:(t,e,n)=>{n.d(e,{KU:()=>b,o5:()=>m,m6:()=>v,rm:()=>_,vn:()=>E,v4:()=>y});var r=n(33167),o=n(18332);function s(){return i(o.O),o.O}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r.M,e[r.M]=e[r.M]||{}}var a=n(52398);var c=n(75731);class u{constructor(t,e){let n,r;n=t||new a.H,r=e||new a.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(r){throw this._popScope(),r}return(0,c.Qg)(n)?n.then((t=>(this._popScope(),t)),(t=>{throw this._popScope(),t})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function l(){const t=i(s());return t.stack=t.stack||new u((0,o.B)("defaultCurrentScope",(()=>new a.H)),(0,o.B)("defaultIsolationScope",(()=>new a.H)))}function d(t){return l().withScope(t)}function p(t,e){const n=l();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function f(t){return l().withScope((()=>t(l().getIsolationScope())))}function h(t){const e=i(t);return e.acs?e.acs:{withIsolationScope:f,withScope:d,withSetScope:p,withSetIsolationScope:(t,e)=>f(e),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}var g=n(81456);function m(){return h(s()).getCurrentScope()}function _(){return h(s()).getIsolationScope()}function v(){return(0,o.B)("globalScope",(()=>new a.H))}function y(){const t=h(s());for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(2===n.length){const[e,r]=n;return e?t.withSetScope(e,r):t.withScope(r)}return t.withScope(n[0])}function b(){return m().getClient()}function E(t){const e=t.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:o}=e;return(0,g.Ce)({trace_id:n,span_id:r,parent_span_id:o})}},73361:(t,e,n)=>{n.d(e,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},56077:(t,e,n)=>{n.d(e,{P$:()=>a,_C:()=>l,lc:()=>c,mH:()=>i,qm:()=>u});var r=n(73361),o=n(18999);const s=[];function i(t){const e=t.defaultIntegrations||[],n=t.integrations;let r;if(e.forEach((t=>{t.isDefaultInstance=!0})),Array.isArray(n))r=[...e,...n];else if("function"===typeof n){const t=n(e);r=Array.isArray(t)?t:[t]}else r=e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.values(e)}(r),s=o.findIndex((t=>"Debug"===t.name));if(s>-1){const[t]=o.splice(s,1);o.push(t)}return o}function a(t,e){const n={};return e.forEach((e=>{e&&u(t,e,n)})),n}function c(t,e){for(const n of e)n&&n.afterAllSetup&&n.afterAllSetup(t)}function u(t,e,n){if(n[e.name])r.T&&o.vF.log("Integration skipped because it was already installed: ".concat(e.name));else{if(n[e.name]=e,-1===s.indexOf(e.name)&&"function"===typeof e.setupOnce&&(e.setupOnce(),s.push(e.name)),e.setup&&"function"===typeof e.setup&&e.setup(t),"function"===typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if("function"===typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}r.T&&o.vF.log("Integration installed: ".concat(e.name))}}function l(t){return t}},87008:(t,e,n)=>{n.d(e,{s:()=>a});var r=n(56077),o=n(73361),s=n(18999),i=n(21094);const a=(0,r._C)((()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!u(t,e))return!1;if(!c(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=l(e),r=l(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!u(t,e))return!1;if(!c(t,e))return!1;return!0}(t,e))return!0;return!1}(e,t))return o.T&&s.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return t=e}}}));function c(t,e){let n=(0,i.RV)(t),r=(0,i.RV)(e);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 t=r[o],e=n[o];if(t.filename!==e.filename||t.lineno!==e.lineno||t.colno!==e.colno||t.function!==e.function)return!1}return!0}function u(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(o){return!1}}function l(t){return t.exception&&t.exception.values&&t.exception.values[0]}},52398:(t,e,n)=>{n.d(e,{H:()=>_});var r=n(89379),o=n(78923),s=n(75731),i=n(18999),a=n(23971);function c(){return(0,a.eJ)()}function u(){return(0,a.eJ)().substring(16)}var l=n(82670),d=n(70289),p=n(81456);const f="_sentrySpan";function h(t,e){e?(0,p.my)(t,f,e):delete t[f]}function g(t){return t[f]}class m{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:c(),spanId:u()}}clone(){const t=new m;return t._breadcrumbs=[...this._breadcrumbs],t._tags=(0,r.A)({},this._tags),t._extra=(0,r.A)({},this._extra),t._contexts=(0,r.A)({},this._contexts),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata=(0,r.A)({},this._sdkProcessingMetadata),t._propagationContext=(0,r.A)({},this._propagationContext),t._client=this._client,t._lastEventId=this._lastEventId,h(t,g(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,o.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags=(0,r.A)((0,r.A)({},this._tags),t),this._notifyScopeListeners(),this}setTag(t,e){return this._tags=(0,r.A)((0,r.A)({},this._tags),{},{[t]:e}),this._notifyScopeListeners(),this}setExtras(t){return this._extra=(0,r.A)((0,r.A)({},this._extra),t),this._notifyScopeListeners(),this}setExtra(t,e){return this._extra=(0,r.A)((0,r.A)({},this._extra),{},{[t]:e}),this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"===typeof t?t(this):t,[n,o]=e instanceof _?[e.getScopeData(),e.getRequestSession()]:(0,s.Qd)(e)?[t,t.requestSession]:[],{tags:i,extra:a,user:c,contexts:u,level:l,fingerprint:d=[],propagationContext:p}=n||{};return this._tags=(0,r.A)((0,r.A)({},this._tags),i),this._extra=(0,r.A)((0,r.A)({},this._extra),a),this._contexts=(0,r.A)((0,r.A)({},this._contexts),u),c&&Object.keys(c).length&&(this._user=c),l&&(this._level=l),d.length&&(this._fingerprint=d),p&&(this._propagationContext=p),o&&(this._requestSession=o),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,h(this,void 0),this._attachments=[],this.setPropagationContext({traceId:c()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"===typeof e?e:100;if(n<=0)return this;const o=(0,r.A)({timestamp:(0,l.lu)()},t),s=this._breadcrumbs;return s.push(o),this._breadcrumbs=s.length>n?s.slice(-n):s,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:g(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=(0,d.h)(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=(0,r.A)({spanId:u()},t),this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:(0,a.eJ)();if(!this._client)return i.vF.warn("No client configured on scope - will not capture exception!"),n;const o=new Error("Sentry syntheticException");return this._client.captureException(t,(0,r.A)((0,r.A)({originalException:t,syntheticException:o},e),{},{event_id:n}),this),n}captureMessage(t,e,n){const o=n&&n.event_id?n.event_id:(0,a.eJ)();if(!this._client)return i.vF.warn("No client configured on scope - will not capture message!"),o;const s=new Error(t);return this._client.captureMessage(t,e,(0,r.A)((0,r.A)({originalException:t,syntheticException:s},n),{},{event_id:o}),this),o}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,a.eJ)();return this._client?(this._client.captureEvent(t,(0,r.A)((0,r.A)({},e),{},{event_id:n}),this),n):(i.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}}const _=m},78923:(t,e,n)=>{n.d(e,{Vu:()=>c,fj:()=>i,qO:()=>a});var r=n(81456),o=n(82670),s=n(23971);function i(t){const e=(0,o.zf)(),n={sid:(0,s.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,r.Ce)({sid:"".concat(t.sid),init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"===typeof t.did||"string"===typeof t.did?"".concat(t.did):void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,o.zf)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,s.eJ)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(e.did)),"number"===typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"===typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"===typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},84787:(t,e,n)=>{n.d(e,{$N:()=>c,Hd:()=>i,xE:()=>u});var r=n(75731);const o=n(18332).O,s=80;function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return"<unknown>";try{let n=t;const r=5,o=[];let i=0,c=0;const u=" > ",l=u.length;let d;const p=Array.isArray(e)?e:e.keyAttrs,f=!Array.isArray(e)&&e.maxStringLength||s;for(;n&&i++<r&&(d=a(n,p),!("html"===d||i>1&&c+o.length*l+d.length>=f));)o.push(d),c+=d.length,n=n.parentNode;return o.reverse().join(u)}catch(n){return"<unknown>"}}function a(t,e){const n=t,s=[];if(!n||!n.tagName)return"";if(o.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}s.push(n.tagName.toLowerCase());const i=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(i&&i.length)i.forEach((t=>{s.push("[".concat(t[0],'="').concat(t[1],'"]'))}));else{n.id&&s.push("#".concat(n.id));const t=n.className;if(t&&(0,r.Kg)(t)){const e=t.split(/\s+/);for(const t of e)s.push(".".concat(t))}}const a=["aria-label","type","name","title","alt"];for(const r of a){const t=n.getAttribute(r);t&&s.push("[".concat(r,'="').concat(t,'"]'))}return s.join("")}function c(){try{return o.document.location.href}catch(t){return""}}function u(t){if(!o.HTMLElement)return null;let e=t;for(let n=0;n<5;n++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},49581:(t,e,n)=>{n.d(e,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},75731:(t,e,n)=>{n.d(e,{BD:()=>a,Kg:()=>u,L2:()=>y,NF:()=>l,Qd:()=>p,Qg:()=>m,T2:()=>i,W6:()=>c,bJ:()=>o,gd:()=>g,mE:()=>_,sO:()=>d,tH:()=>v,vq:()=>h,xH:()=>f});const r=Object.prototype.toString;function o(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(t,Error)}}function s(t,e){return r.call(t)==="[object ".concat(e,"]")}function i(t){return s(t,"ErrorEvent")}function a(t){return s(t,"DOMError")}function c(t){return s(t,"DOMException")}function u(t){return s(t,"String")}function l(t){return"object"===typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function d(t){return null===t||l(t)||"object"!==typeof t&&"function"!==typeof t}function p(t){return s(t,"Object")}function f(t){return"undefined"!==typeof Event&&v(t,Event)}function h(t){return"undefined"!==typeof Element&&v(t,Element)}function g(t){return s(t,"RegExp")}function m(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function _(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,e){try{return t instanceof e}catch(n){return!1}}function y(t){return!("object"!==typeof t||null===t||!t.__isVue&&!t._isVue)}},18999:(t,e,n)=>{n.d(e,{Ow:()=>s,Z9:()=>i,pq:()=>a,vF:()=>c});var r=n(49581),o=n(18332);const s=["debug","info","warn","error","log","assert","trace"],i={};function a(t){if(!("console"in o.O))return t();const e=o.O.console,n={},r=Object.keys(i);r.forEach((t=>{const r=i[t];n[t]=e[t],e[t]=r}));try{return t()}finally{r.forEach((t=>{e[t]=n[t]}))}}const c=(0,o.B)("logger",(function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return r.T?s.forEach((n=>{e[n]=function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];t&&a((()=>{o.O.console[n]("".concat("Sentry Logger ","[").concat(n,"]:"),...r)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}))},23971:(t,e,n)=>{n.d(e,{$X:()=>c,GR:()=>d,M6:()=>l,eJ:()=>i,gO:()=>u});var r=n(89379),o=n(81456),s=n(18332);function i(){const t=s.O,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(r){}return([1e7]+1e3+4e3+8e3+1e11).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 c(t){const{message:e,event_id:n}=t;if(e)return e;const r=a(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function u(t,e,n){const r=t.exception=t.exception||{},o=r.values=r.values||[],s=o[0]=o[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function l(t,e){const n=a(t);if(!n)return;const o=n.mechanism;if(n.mechanism=(0,r.A)((0,r.A)((0,r.A)({},{type:"generic",handled:!0}),o),e),e&&"data"in e){const t=(0,r.A)((0,r.A)({},o&&o.data),e.data);n.mechanism.data=t}}function d(t){if(function(t){try{return t.__sentry_captured__}catch(e){}}(t))return!0;try{(0,o.my)(t,"__sentry_captured__",!0)}catch(e){}return!1}},81456:(t,e,n)=>{n.d(e,{Ce:()=>_,GS:()=>u,HF:()=>m,W4:()=>f,my:()=>l,pO:()=>d,sp:()=>p});var r=n(89379),o=n(84787),s=n(49581),i=n(75731),a=n(18999),c=n(62302);function u(t,e,n){if(!(e in t))return;const r=t[e],o=n(r);"function"===typeof o&&d(o,r);try{t[e]=o}catch(i){s.T&&a.vF.log('Failed to replace method "'.concat(e,'" in object'),t)}}function l(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(r){s.T&&a.vF.log('Failed to add non-enumerable property "'.concat(e,'" to object'),t)}}function d(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,l(t,"__sentry_original__",e)}catch(n){}}function p(t){return t.__sentry_original__}function f(t){if((0,i.bJ)(t))return(0,r.A)({message:t.message,name:t.name,stack:t.stack},g(t));if((0,i.xH)(t)){const e=(0,r.A)({type:t.type,target:h(t.target),currentTarget:h(t.currentTarget)},g(t));return"undefined"!==typeof CustomEvent&&(0,i.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function h(t){try{return(0,i.vq)(t)?(0,o.Hd)(t):Object.prototype.toString.call(t)}catch(e){return"<unknown>"}}function g(t){if("object"===typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function m(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40;const n=Object.keys(f(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return(0,c.xv)(r,e);for(let o=n.length;o>0;o--){const t=n.slice(0,o).join(", ");if(!(t.length>e))return o===n.length?t:(0,c.xv)(t,e)}return""}function _(t){return v(t,new Map)}function v(t,e){if(function(t){if(!(0,i.Qd)(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(e){return!0}}(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const o of Object.getOwnPropertyNames(t))"undefined"!==typeof t[o]&&(r[o]=v(t[o],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(v(t,e))})),r}return t}},21094:(t,e,n)=>{n.d(e,{RV:()=>f,gd:()=>c,qQ:()=>p,vk:()=>u,yF:()=>s});var r=n(89379);const o=50,s="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function c(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];const c=e.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const u=[],d=t.split("\n");for(let r=e;r<d.length;r++){const t=d[r];if(t.length>1024)continue;const e=i.test(t)?t.replace(i,"$1"):t;if(!e.match(/\S*Error: /)){for(const t of c){const n=t(e);if(n){u.push(n);break}}if(u.length>=o+n)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(l(e).function||"")&&e.pop();e.reverse(),a.test(l(e).function||"")&&(e.pop(),a.test(l(e).function||"")&&e.pop());return e.slice(0,o).map((t=>(0,r.A)((0,r.A)({},t),{},{filename:t.filename||l(e).filename,function:t.function||s})))}(u.slice(n))}}function u(t){return Array.isArray(t)?c(...t):t}function l(t){return t[t.length-1]||{}}const d="<anonymous>";function p(t){try{return t&&"function"===typeof t&&t.name||d}catch(e){return d}}function f(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach((e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)})),t}catch(n){return}}}},62302:(t,e,n)=>{n.d(e,{Xr:()=>i,gt:()=>s,xv:()=>o});var r=n(75731);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!==typeof t||0===e||t.length<=e?t:"".concat(t.slice(0,e),"...")}function s(t,e){if(!Array.isArray(t))return"";const n=[];for(let s=0;s<t.length;s++){const e=t[s];try{(0,r.L2)(e)?n.push("[VueViewModel]"):n.push(String(e))}catch(o){n.push("[value cannot be serialized]")}}return n.join(e)}function i(t){let e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((n=>function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!(0,r.Kg)(t)&&((0,r.gd)(e)?e.test(t):!!(0,r.Kg)(e)&&(n?t===e:t.includes(e)))}(t,n,e)))}},82670:(t,e,n)=>{n.d(e,{lu:()=>s,zf:()=>i});var r=n(18332);const o=1e3;function s(){return Date.now()/o}const i=function(){const{performance:t}=r.O;if(!t||!t.now)return s;const e=Date.now()-t.now(),n=void 0==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/o}();let a;(()=>{const{performance:t}=r.O;if(!t||!t.now)return void(a="none");const e=36e5,n=t.now(),o=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-o):e,i=s<e,c=t.timing&&t.timing.navigationStart,u="number"===typeof c?Math.abs(c+n-o):e;i||u<e?s<=u?(a="timeOrigin",t.timeOrigin):a="navigationStart":a="dateNow"})()},33167:(t,e,n)=>{n.d(e,{M:()=>r});const r="8.42.0"},18332:(t,e,n)=>{n.d(e,{B:()=>s,O:()=>o});var r=n(33167);const o=globalThis;function s(t,e,n){const s=n||o,i=s.__SENTRY__=s.__SENTRY__||{},a=i[r.M]=i[r.M]||{};return a[t]||(a[t]=e())}},70289:(t,e,n)=>{n.d(e,{h:()=>o});var r=n(89379);function o(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(!e||"object"!==typeof e||n<=0)return e;if(t&&e&&0===Object.keys(e).length)return t;const s=(0,r.A)({},t);for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(s[r]=o(s[r],e[r],n-1));return s}}}]);
2
- //# sourceMappingURL=7863.92e61020.chunk.js.map