!function(){"use strict";var t={create:function(t){this.config=t},set:function(t,e){var r=this.get(t),n=this.config;if(Array.isArray(r))r.push(e);else{var o,i=t.split("."),a=i.length-1;for(o=0;o<a;o++)n=n[i[o]]={};n[i[a]]=e}return n},get:function(t){if(void 0===t)return this.config;for(var e=this.config||{},r=t.split(".");r.length&&void 0!==(e=e[r.shift()]););return e}};function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var r={create:function(){this.productionDomains=t.get("productionDomains"),this.debug=t.get("debug")},isProduction:function(){if(!this.debug)return!0;var t,r=this.productionDomains,n=window.location.host,o=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}(r);try{for(o.s();!(t=o.n()).done;)if(t.value===n)return!0}catch(t){o.e(t)}finally{o.f()}return!1}},n=function(t,e){var n;r.isProduction()||console.log((n=e,"[".concat(t.toLowerCase(),"] ").concat(n)))};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function a(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}var u=a((function t(e,r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),new e(r)}));function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t,e,r){return(e=y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,y(n.key),n)}}function y(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}var v=function(){return e=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.set(e),n("core.".concat(this.constructor.name,".bootstrap"),"Create application...")},o=[{key:"set",value:function(e){var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e);t.create(n),r.create(n.productionDomains)}},{key:"build",value:function(){var e=t.get("autoload");for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=e[r];new u(n).init()}}}],o&&p(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,o}(),d=v,b="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,m="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,h="8.55.0",g=globalThis;function O(t,e,r){var n=r||g,o=n.__SENTRY__=n.__SENTRY__||{},i=o[h]=o[h]||{};return i[t]||(i[t]=e())}var w=["debug","info","warn","error","log","assert","trace"],S={};function _(t){if(!("console" in g))return t();var e=g.console,r={},n=Object.keys(S);n.forEach((function(t){var n=S[t];r[t]=e[t],e[t]=n}));try{return t()}finally{n.forEach((function(t){e[t]=r[t]}))}}var j=O("logger",(function(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1},isEnabled:function(){return t}};return m?w.forEach((function(r){e[r]=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t&&_((function(){var t;(t=g.console)[r].apply(t,["".concat("Sentry Logger ","[").concat(r,"]:")].concat(n))}))}})):w.forEach((function(t){e[t]=function(){}})),e}));function E(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||P(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(t,e){if(t){if("string"==typeof t)return k(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var x=[];function A(t){var e,r=t.defaultIntegrations||[],n=t.integrations;if(r.forEach((function(t){t.isDefaultInstance=!0})),Array.isArray(n))e=[].concat(E(r),E(n));else if("function"==typeof n){var o=n(r);e=Array.isArray(o)?o:[o]}else e=r;var i,a,c=function(t){var e={};return t.forEach((function(t){var r=t.name,n=e[r];n&&!n.isDefaultInstance&&t.isDefaultInstance||(e[r]=t)})),Object.values(e)}(e),u=c.findIndex((function(t){return"Debug"===t.name}));if(u>-1){var s=(i=c.splice(u,1),a=1,function(t){if(Array.isArray(t))return t}(i)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(i,a)||P(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];c.push(s)}return c}function D(t,e){var r,n=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=P(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(e);try{for(n.s();!(r=n.n()).done;){var o=r.value;o&&o.afterAllSetup&&o.afterAllSetup(t)}}catch(t){n.e(t)}finally{n.f()}}function T(t,e,r){if(r[e.name])b&&j.log("Integration skipped because it was already installed: ".concat(e.name));else{if(r[e.name]=e,-1===x.indexOf(e.name)&&"function"==typeof e.setupOnce&&(e.setupOnce(),x.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){var n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(function(e,r){return n(e,r,t)}))}if("function"==typeof e.processEvent){var o=e.processEvent.bind(e),i=Object.assign((function(e,r){return o(e,r,t)}),{id:e.name});t.addEventProcessor(i)}b&&j.log("Integration installed: ".concat(e.name))}}function I(t){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I(t)}var C=Object.prototype.toString;function N(t){switch(C.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Y(t,Error)}}function R(t,e){return C.call(t)==="[object ".concat(e,"]")}function L(t){return R(t,"ErrorEvent")}function M(t){return R(t,"DOMError")}function U(t){return R(t,"String")}function q(t){return"object"===I(t)&&null!==t&&"__sentry_template_string__" in t&&"__sentry_template_values__" in t}function B(t){return null===t||q(t)||"object"!==I(t)&&"function"!=typeof t}function F(t){return R(t,"Object")}function $(t){return"undefined"!=typeof Event&&Y(t,Event)}function G(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function Y(t,e){try{return t instanceof e}catch(t){return!1}}function H(t){return!("object"!==I(t)||null===t||!t.__isVue&&!t._isVue)}function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var z=g;function J(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return"<unknown>";try{for(var r,n=t,o=[],i=0,a=0,c=Array.isArray(e)?e:e.keyAttrs,u=!Array.isArray(e)&&e.maxStringLength||80;n&&i++<5&&!("html"===(r=K(n,c))||i>1&&a+3*o.length+r.length>=u);)o.push(r),a+=r.length,n=n.parentNode;return o.reverse().join(" > ")}catch(t){return"<unknown>"}}function K(t,e){var r=t,n=[];if(!r||!r.tagName)return"";if(z.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}n.push(r.tagName.toLowerCase());var o=e&&e.length?e.filter((function(t){return r.getAttribute(t)})).map((function(t){return[t,r.getAttribute(t)]})):null;if(o&&o.length)o.forEach((function(t){n.push("[".concat(t[0],'="').concat(t[1],'"]'))}));else{r.id&&n.push("#".concat(r.id));var i=r.className;if(i&&U(i)){var a,c=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return W(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(i.split(/\s+/));try{for(c.s();!(a=c.n()).done;){var u=a.value;n.push(".".concat(u))}}catch(t){c.e(t)}finally{c.f()}}}for(var s=0,f=["aria-label","type","name","title","alt"];s<f.length;s++){var l=f[s],p=r.getAttribute(l);p&&n.push("[".concat(l,'="').concat(p,'"]'))}return n.join("")}function V(t){var 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 X(t,e){if(!Array.isArray(t))return"";for(var r=[],n=0;n<t.length;n++){var o=t[n];try{H(o)?r.push("[VueViewModel]"):r.push(String(o))}catch(t){r.push("[value cannot be serialized]")}}return r.join(e)}function Z(t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((function(r){return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!U(t)&&(R(e,"RegExp")?e.test(t):!!U(e)&&(r?t===e:t.includes(e)))}(t,r,e)}))}function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function et(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(r),!0).forEach((function(e){rt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rt(t,e,r){return(e=function(t){var e=function(t){if("object"!=Q(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Q(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ot(t,e,r){if(e in t){var n=t[e],o=r(n);"function"==typeof o&&at(o,n);try{t[e]=o}catch(r){m&&j.log('Failed to replace method "'.concat(e,'" in object'),t)}}}function it(t,e,r){try{Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}catch(r){m&&j.log('Failed to add non-enumerable property "'.concat(e,'" to object'),t)}}function at(t,e){try{var r=e.prototype||{};t.prototype=e.prototype=r,it(t,"__sentry_original__",e)}catch(t){}}function ct(t){return t.__sentry_original__}function ut(t){if(N(t))return et({message:t.message,name:t.name,stack:t.stack},ft(t));if($(t)){var e=et({type:t.type,target:st(t.target),currentTarget:st(t.currentTarget)},ft(t));return"undefined"!=typeof CustomEvent&&Y(t,CustomEvent)&&(e.detail=t.detail),e}return t}function st(t){try{return"undefined"!=typeof Element&&Y(t,Element)?J(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function ft(t){if("object"===Q(t)&&null!==t){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}return{}}function lt(t){return pt(t,new Map)}function pt(t,e){if(function(t){if(!F(t))return!1;try{var e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(t)){var r=e.get(t);if(void 0!==r)return r;var n={};e.set(t,n);var o,i=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return nt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nt(t,e):void 0}}(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(Object.getOwnPropertyNames(t));try{for(i.s();!(o=i.n()).done;){var a=o.value;void 0!==t[a]&&(n[a]=pt(t[a],e))}}catch(t){i.e(t)}finally{i.f()}return n}if(Array.isArray(t)){var c=e.get(t);if(void 0!==c)return c;var u=[];return e.set(t,u),t.forEach((function(t){u.push(pt(t,e))})),u}return t}function yt(t){return yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yt(t)}function vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vt(Object(r),!0).forEach((function(e){bt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function bt(t,e,r){return(e=function(t){var e=function(t){if("object"!=yt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=yt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==yt(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mt(){var t=g,e=t.crypto||t.msCrypto,r=function(){return 16*Math.random()};try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(r=function(){var t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(function(t){return(t^(15&r())>>t/4).toString(16)}))}function ht(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function gt(t){var e=t.message,r=t.event_id;if(e)return e;var n=ht(t);return n?n.type&&n.value?"".concat(n.type,": ").concat(n.value):n.type||n.value||r||"<unknown>":r||"<unknown>"}function Ot(t,e,r){var n=t.exception=t.exception||{},o=n.values=n.values||[],i=o[0]=o[0]||{};i.value||(i.value=e||""),i.type||(i.type=r||"Error")}function wt(t,e){var r=ht(t);if(r){var n=r.mechanism;if(r.mechanism=dt(dt(dt({},{type:"generic",handled:!0}),n),e),e&&"data" in e){var o=dt(dt({},n&&n.data),e.data);r.mechanism.data=o}}}function St(t){if(function(t){try{return t.__sentry_captured__}catch(t){}}(t))return!0;try{it(t,"__sentry_captured__",!0)}catch(t){}return!1}function _t(t){return function(t){if(Array.isArray(t))return jt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return jt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var Et=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],Pt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"InboundFilters",processEvent:function(e,r,n){var o=n.getOptions(),i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[].concat(_t(t.allowUrls||[]),_t(e.allowUrls||[])),denyUrls:[].concat(_t(t.denyUrls||[]),_t(e.denyUrls||[])),ignoreErrors:[].concat(_t(t.ignoreErrors||[]),_t(e.ignoreErrors||[]),_t(t.disableErrorDefaults?[]:Et)),ignoreTransactions:[].concat(_t(t.ignoreTransactions||[]),_t(e.ignoreTransactions||[])),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,o);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(b&&j.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(gt(t))),!0):function(t,e){return!(t.type||!e||!e.length)&&function(t){var e,r=[];t.message&&r.push(t.message);try{e=t.exception.values[t.exception.values.length-1]}catch(t){}return e&&e.value&&(r.push(e.value),e.type&&r.push("".concat(e.type,": ").concat(e.value))),r}(t).some((function(t){return Z(t,e)}))}(t,e.ignoreErrors)?(b&&j.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(gt(t))),!0):function(t){return!t.type&&(!(!t.exception||!t.exception.values||0===t.exception.values.length)&&(!t.message&&!t.exception.values.some((function(t){return t.stacktrace||t.type&&"Error"!==t.type||t.value}))))}(t)?(b&&j.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: ".concat(gt(t))),!0):function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;var r=t.transaction;return!!r&&Z(r,e)}(t,e.ignoreTransactions)?(b&&j.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat(gt(t))),!0):function(t,e){if(!e||!e.length)return!1;var r=kt(t);return!!r&&Z(r,e)}(t,e.denyUrls)?(b&&j.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(gt(t),".\nUrl: ").concat(kt(t))),!0):!function(t,e){if(!e||!e.length)return!0;var r=kt(t);return!r||Z(r,e)}(t,e.allowUrls)&&(b&&j.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(gt(t),".\nUrl: ").concat(kt(t))),!0)}(e,i)?null:e}}};function kt(t){try{var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=t.length-1;e>=0;e--){var r=t[e];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(e):null}catch(e){return b&&j.error("Cannot extract url for event ".concat(gt(t))),null}}function xt(){return At(g),g}function At(t){var e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||h,e[h]=e[h]||{}}function Dt(){return Date.now()/1e3}var Tt=function(){var t=g.performance;if(!t||!t.now)return Dt;var e=Date.now()-t.now(),r=null==t.timeOrigin?e:t.timeOrigin;return function(){return(r+t.now())/1e3}}();function It(t){var 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||Tt(),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:mt()),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{var r=t.timestamp-t.started;t.duration=r>=0?r: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 Ct(){return mt()}function Nt(){return mt().substring(16)}function Rt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t,e,r){return(e=function(t){var e=function(t){if("object"!=Mt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Mt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Mt(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Ut(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(!e||"object"!==Mt(e)||r<=0)return e;if(t&&e&&0===Object.keys(e).length)return t;var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rt(Object(r),!0).forEach((function(e){Lt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=Ut(n[o],e[o],r-1));return n}!function(){var t=g.performance;if(t&&t.now){var e=36e5,r=t.now(),n=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+r-n):e,i=o<e,a=t.timing&&t.timing.navigationStart,c="number"==typeof a?Math.abs(a+r-n):e;(i||c<e)&&(o<=c&&t.timeOrigin)}}();var qt="_sentrySpan";function Bt(t,e){e?it(t,qt,e):delete t[qt]}function Ft(t){return t[qt]}function $t(t){return $t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$t(t)}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Yt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gt(Object(r),!0).forEach((function(e){Ht(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ht(t,e,r){return(e=Vt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Wt(t){return function(t){if(Array.isArray(t))return Jt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||zt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zt(t,e){if(t){if("string"==typeof t)return Jt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jt(t,e):void 0}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Kt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,Vt(n.key),n)}}function Vt(t){var e=function(t){if("object"!=$t(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=$t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==$t(e)?e:e+""}var Xt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ct(),spanId:Nt()}}return e=t,(r=[{key:"clone",value:function(){var e=new t;return e._breadcrumbs=Wt(this._breadcrumbs),e._tags=Yt({},this._tags),e._extra=Yt({},this._extra),e._contexts=Yt({},this._contexts),this._contexts.flags&&(e._contexts.flags={values:Wt(this._contexts.flags.values)}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=Wt(this._eventProcessors),e._requestSession=this._requestSession,e._attachments=Wt(this._attachments),e._sdkProcessingMetadata=Yt({},this._sdkProcessingMetadata),e._propagationContext=Yt({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,Bt(e,Ft(this)),e}},{key:"setClient",value:function(t){this._client=t}},{key:"setLastEventId",value:function(t){this._lastEventId=t}},{key:"getClient",value:function(){return this._client}},{key:"lastEventId",value:function(){return this._lastEventId}},{key:"addScopeListener",value:function(t){this._scopeListeners.push(t)}},{key:"addEventProcessor",value:function(t){return this._eventProcessors.push(t),this}},{key:"setUser",value:function(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&It(this._session,{user:t}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"getRequestSession",value:function(){return this._requestSession}},{key:"setRequestSession",value:function(t){return this._requestSession=t,this}},{key:"setTags",value:function(t){return this._tags=Yt(Yt({},this._tags),t),this._notifyScopeListeners(),this}},{key:"setTag",value:function(t,e){return this._tags=Yt(Yt({},this._tags),{},Ht({},t,e)),this._notifyScopeListeners(),this}},{key:"setExtras",value:function(t){return this._extra=Yt(Yt({},this._extra),t),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(t,e){return this._extra=Yt(Yt({},this._extra),{},Ht({},t,e)),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(t){return this._fingerprint=t,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(t){return this._level=t,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(t){return this._transactionName=t,this._notifyScopeListeners(),this}},{key:"setContext",value:function(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}},{key:"setSession",value:function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(t){if(!t)return this;var e="function"==typeof t?t(this):t,r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||zt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e instanceof Zt?[e.getScopeData(),e.getRequestSession()]:F(e)?[t,t.requestSession]:[],2),n=r[0],o=r[1],i=n||{},a=i.tags,c=i.extra,u=i.user,s=i.contexts,f=i.level,l=i.fingerprint,p=void 0===l?[]:l,y=i.propagationContext;return this._tags=Yt(Yt({},this._tags),a),this._extra=Yt(Yt({},this._extra),c),this._contexts=Yt(Yt({},this._contexts),s),u&&Object.keys(u).length&&(this._user=u),f&&(this._level=f),p.length&&(this._fingerprint=p),y&&(this._propagationContext=y),o&&(this._requestSession=o),this}},{key:"clear",value:function(){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,Bt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ct()}),this._notifyScopeListeners(),this}},{key:"addBreadcrumb",value:function(t,e){var r="number"==typeof e?e:100;if(r<=0)return this;var n=Yt({timestamp:Dt()},t);return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}},{key:"getLastBreadcrumb",value:function(){return this._breadcrumbs[this._breadcrumbs.length-1]}},{key:"clearBreadcrumbs",value:function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}},{key:"addAttachment",value:function(t){return this._attachments.push(t),this}},{key:"clearAttachments",value:function(){return this._attachments=[],this}},{key:"getScopeData",value:function(){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:Ft(this)}}},{key:"setSDKProcessingMetadata",value:function(t){return this._sdkProcessingMetadata=Ut(this._sdkProcessingMetadata,t,2),this}},{key:"setPropagationContext",value:function(t){return this._propagationContext=Yt({spanId:Nt()},t),this}},{key:"getPropagationContext",value:function(){return this._propagationContext}},{key:"captureException",value:function(t,e){var r=e&&e.event_id?e.event_id:mt();if(!this._client)return j.warn("No client configured on scope - will not capture exception!"),r;var n=new Error("Sentry syntheticException");return this._client.captureException(t,Yt(Yt({originalException:t,syntheticException:n},e),{},{event_id:r}),this),r}},{key:"captureMessage",value:function(t,e,r){var n=r&&r.event_id?r.event_id:mt();if(!this._client)return j.warn("No client configured on scope - will not capture message!"),n;var o=new Error(t);return this._client.captureMessage(t,e,Yt(Yt({originalException:t,syntheticException:o},r),{},{event_id:n}),this),n}},{key:"captureEvent",value:function(t,e){var r=e&&e.event_id?e.event_id:mt();return this._client?(this._client.captureEvent(t,Yt(Yt({},e),{},{event_id:r}),this),r):(j.warn("No client configured on scope - will not capture event!"),r)}},{key:"_notifyScopeListeners",value:function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)}}])&&Kt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r}(),Zt=Xt;function Qt(t){return Qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qt(t)}function te(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,ee(n.key),n)}}function ee(t){var e=function(t){if("object"!=Qt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Qt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Qt(e)?e:e+""}var re,ne=function(){return t=function t(e,r){var n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=e||new Zt,o=r||new Zt,this._stack=[{scope:n}],this._isolationScope=o},e=[{key:"withScope",value:function(t){var e,r=this,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return G(e)?e.then((function(t){return r._popScope(),t}),(function(t){throw r._popScope(),t})):(this._popScope(),e)}},{key:"getClient",value:function(){return this.getStackTop().client}},{key:"getScope",value:function(){return this.getStackTop().scope}},{key:"getIsolationScope",value:function(){return this._isolationScope}},{key:"getStackTop",value:function(){return this._stack[this._stack.length-1]}},{key:"_pushScope",value:function(){var t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}},{key:"_popScope",value:function(){return!(this._stack.length<=1||!this._stack.pop())}}],e&&te(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function oe(){var t=At(xt());return t.stack=t.stack||new ne(O("defaultCurrentScope",(function(){return new Zt})),O("defaultIsolationScope",(function(){return new Zt})))}function ie(t){return oe().withScope(t)}function ae(t,e){var r=oe();return r.withScope((function(){return r.getStackTop().scope=t,e(t)}))}function ce(t){return oe().withScope((function(){return t(oe().getIsolationScope())}))}function ue(t){var e=At(t);return e.acs?e.acs:{withIsolationScope:ce,withScope:ie,withSetScope:ae,withSetIsolationScope:function(t,e){return ce(e)},getCurrentScope:function(){return oe().getScope()},getIsolationScope:function(){return oe().getIsolationScope()}}}function se(){return ue(xt()).getCurrentScope()}function fe(){return ue(xt()).getIsolationScope()}function le(){return se().getClient()}var pe=new WeakMap;function ye(t){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ye(t)}function ve(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function de(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ve(Object(r),!0).forEach((function(e){be(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function be(t,e,r){return(e=function(t){var e=function(t){if("object"!=ye(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ye(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ye(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function me(t){return function(t){if(Array.isArray(t))return Oe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ge(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function he(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ge(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function ge(t,e){if(t){if("string"==typeof t)return Oe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oe(t,e):void 0}}function Oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var we="?",Se=/\(error: (.*)\)/,_e=/captureMessage|captureException/;function je(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.sort((function(t,e){return t[0]-e[0]})).map((function(t){return t[1]}));return function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=[],i=t.split("\n"),a=e;a<i.length;a++){var c=i[a];if(!(c.length>1024)){var u=Se.test(c)?c.replace(Se,"$1"):c;if(!u.match(/\S*Error: /)){var s,f=he(n);try{for(f.s();!(s=f.n()).done;){var l=(0,s.value)(u);if(l){o.push(l);break}}}catch(t){f.e(t)}finally{f.f()}if(o.length>=50+r)break}}}return function(t){if(!t.length)return[];var e=Array.from(t);return/sentryWrapped/.test(Ee(e).function||"")&&e.pop(),e.reverse(),_e.test(Ee(e).function||"")&&(e.pop(),_e.test(Ee(e).function||"")&&e.pop()),e.slice(0,50).map((function(t){return de(de({},t),{},{filename:t.filename||Ee(e).filename,function:t.function||we})}))}(o.slice(r))}}function Ee(t){return t[t.length-1]||{}}var Pe="<anonymous>";function ke(t){try{return t&&"function"==typeof t&&t.name||Pe}catch(t){return Pe}}function xe(t){var e=t.exception;if(e){var r=[];try{return e.values.forEach((function(t){t.stacktrace.frames&&r.push.apply(r,me(t.stacktrace.frames))})),r}catch(t){return}}}function Ae(t,e){var r=xe(t),n=xe(e);if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o],a=r[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function De(t,e){var r=t.fingerprint,n=e.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch(t){return!1}}function Te(t){return t.exception&&t.exception.values&&t.exception.values[0]}var Ie=g;function Ce(){if(!("fetch" in Ie))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function Ne(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function Re(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var Le=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Me(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.host,n=t.path,o=t.pass,i=t.port,a=t.projectId,c=t.protocol,u=t.publicKey;return"".concat(c,"://").concat(u).concat(e&&o?":".concat(o):"")+"@".concat(r).concat(i?":".concat(i):"","/").concat(n?"".concat(n,"/"):n).concat(a)}function Ue(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function qe(t){var e="string"==typeof t?function(t){var e,r,n=Le.exec(t);if(n){var o=(e=n.slice(1),r=6,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return Re(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Re(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1],c=o[2],u=void 0===c?"":c,s=o[3],f=void 0===s?"":s,l=o[4],p=void 0===l?"":l,y=o[5],v="",d=void 0===y?"":y,b=d.split("/");if(b.length>1&&(v=b.slice(0,-1).join("/"),d=b.pop()),d){var m=d.match(/^\d+/);m&&(d=m[0])}return Ue({host:f,pass:u,path:v,projectId:d,port:p,protocol:i,publicKey:a})}_((function(){console.error("Invalid Sentry Dsn: ".concat(t))}))}(t):Ue(t);if(e&&function(t){if(!m)return!0;var e=t.port,r=t.projectId,n=t.protocol;return!(["protocol","publicKey","host","projectId"].find((function(e){return!t[e]&&(j.error("Invalid Sentry Dsn: ".concat(e," missing")),!0)}))||(r.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(n)?e&&isNaN(parseInt(e,10))&&(j.error("Invalid Sentry Dsn: Invalid port ".concat(e)),1):(j.error("Invalid Sentry Dsn: Invalid protocol ".concat(n)),1):(j.error("Invalid Sentry Dsn: Invalid projectId ".concat(r)),1)))}(e))return e}function Be(t){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Be(t)}function Fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function $e(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return Ye("",t,e,r)}catch(t){return{ERROR:"**non-serializable** (".concat(t,")")}}}function Ge(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,o=$e(t,r);return e=o,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(e))>n?Ge(t,r-1,n):o}function Ye(t,e){var r,n,o,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(r="function"==typeof WeakSet,n=r?new WeakSet:[],[function(t){if(r)return!!n.has(t)||(n.add(t),!1);for(var e=0;e<n.length;e++)if(n[e]===t)return!0;return n.push(t),!1},function(t){if(r)n.delete(t);else for(var e=0;e<n.length;e++)if(n[e]===t){n.splice(e,1);break}}]),s=(i=2,function(t){if(Array.isArray(t))return t}(o=u)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(o,i)||function(t,e){if(t){if("string"==typeof t)return Fe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fe(t,e):void 0}}(o,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=s[0],l=s[1];if(null==e||["boolean","string"].includes(Be(e))||"number"==typeof e&&Number.isFinite(e))return e;var p=function(t,e){try{if("domain"===t&&e&&"object"===Be(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(H(e))return"[VueViewModel]";if(F(n=e)&&"nativeEvent" in n&&"preventDefault" in n&&"stopPropagation" in n)return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return"[".concat(e,"]");if("function"==typeof e)return"[Function: ".concat(ke(e),"]");if("symbol"===Be(e))return"[".concat(String(e),"]");if("bigint"==typeof e)return"[BigInt: ".concat(String(e),"]");var r=function(t){var e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(r)?"[HTMLElement: ".concat(r,"]"):"[object ".concat(r,"]")}catch(t){return"**non-serializable** (".concat(t,")")}var n}(t,e);if(!p.startsWith("[object "))return p;if(e.__sentry_skip_normalization__)return e;var y="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:a;if(0===y)return p.replace("object ","");if(f(e))return"[Circular ~]";var v=e;if(v&&"function"==typeof v.toJSON)try{return Ye("",v.toJSON(),y-1,c,u)}catch(t){}var d=Array.isArray(e)?[]:{},b=0,m=ut(e);for(var h in m)if(Object.prototype.hasOwnProperty.call(m,h)){if(b>=c){d[h]="[MaxProperties ~]";break}var g=m[h];d[h]=Ye(h,g,y-1,c,u),b++}return l(e),d}function He(t){return He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},He(t)}function We(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ze(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?We(Object(r),!0).forEach((function(e){Je(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Je(t,e,r){return(e=function(t){var e=function(t){if("object"!=He(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=He(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==He(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ke(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Ze(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Ve(t){return function(t){if(Array.isArray(t))return Qe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Ze(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||Ze(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(t,e){if(t){if("string"==typeof t)return Qe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qe(t,e):void 0}}function Qe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tr(t){return[t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}function er(t,e){var r,n=Ke(t[1]);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(e(o,o[0].type))return!0}}catch(t){n.e(t)}finally{n.f()}return!1}function rr(t){return g.__SENTRY__&&g.__SENTRY__.encodePolyfill?g.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function nr(t){var e=Xe(t,2),r=e[0],n=e[1],o=JSON.stringify(r);function i(t){"string"==typeof o?o="string"==typeof t?o+t:[rr(o),t]:o.push("string"==typeof t?rr(t):t)}var a,c=Ke(n);try{for(c.s();!(a=c.n()).done;){var u=Xe(a.value,2),s=u[0],f=u[1];if(i("\n".concat(JSON.stringify(s),"\n")),"string"==typeof f||f instanceof Uint8Array)i(f);else{var l=void 0;try{l=JSON.stringify(f)}catch(t){l=JSON.stringify($e(f))}i(l)}}}catch(t){c.e(t)}finally{c.f()}return"string"==typeof o?o:function(t){var e,r=t.reduce((function(t,e){return t+e.length}),0),n=new Uint8Array(r),o=0,i=Ke(t);try{for(i.s();!(e=i.n()).done;){var a=e.value;n.set(a,o),o+=a.length}}catch(t){i.e(t)}finally{i.f()}return n}(o)}function or(t){var e="string"==typeof t.data?rr(t.data):t.data;return[lt({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}var ir={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function ar(t){return ir[t]}function cr(t){if(t&&t.sdk){var e=t.sdk;return{name:e.name,version:e.version}}}function ur(t){return ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ur(t)}function sr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function fr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sr(Object(r),!0).forEach((function(e){lr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lr(t,e,r){return(e=function(t){var e=function(t){if("object"!=ur(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ur(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ur(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pr(t){return function(t){if(Array.isArray(t))return yr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return yr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yr(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var vr="production";function dr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return br(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?br(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function br(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var mr=/^sentry-/;function hr(t){return t.split(",").map((function(t){return t.split("=").map((function(t){return decodeURIComponent(t.trim())}))})).reduce((function(t,e){var r=dr(e,2),n=r[0],o=r[1];return n&&o&&(t[n]=o),t}),{})}function gr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||Or(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Or(t,e){if(t){if("string"==typeof t)return wr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wr(t,e):void 0}}function wr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Sr(t){var e=t._sentryMetrics;if(e){var r,n={},o=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Or(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(e);try{for(o.s();!(r=o.n()).done;){var i=gr(r.value,2),a=gr(i[1],2),c=a[0],u=a[1];(n[c]||(n[c]=[])).push(lt(u))}}catch(t){o.e(t)}finally{o.f()}return n}}var _r=!1;function jr(t){var e=t.spanContext(),r=e.spanId,n=e.traceId,o=e.isRemote;return lt({parent_span_id:o?r:kr(t).parent_span_id,span_id:o?Nt():r,trace_id:n})}function Er(t){return"number"==typeof t?Pr(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Pr(t.getTime()):Tt()}function Pr(t){return t>9999999999?t/1e3:t}function kr(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();try{var e=t.spanContext(),r=e.spanId,n=e.traceId;if(function(t){var e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){var o=t.attributes,i=t.startTime,a=t.name,c=t.endTime,u=t.parentSpanId,s=t.status;return lt({span_id:r,trace_id:n,data:o,description:a,parent_span_id:u,start_timestamp:Er(i),timestamp:Er(c)||void 0,status:xr(s),op:o["sentry.op"],origin:o["sentry.origin"],_metrics_summary:Sr(t)})}return{span_id:r,trace_id:n}}catch(t){return{}}}function xr(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"unknown_error"}function Ar(t){return t._sentryRootSpan||t}function Dr(t,e){var r=e.getOptions(),n=(e.getDsn()||{}).publicKey,o=lt({environment:r.environment||vr,release:r.release,public_key:n,trace_id:t});return e.emit("createDsc",o),o}function Tr(t){var e=le();if(!e)return{};var r=Ar(t),n=r._frozenDsc;if(n)return n;var o=r.spanContext().traceState,i=o&&o.get("sentry.dsc"),a=i&&function(t){var e=function(t){if(t&&(U(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((function(t,e){var r=hr(e);return Object.entries(r).forEach((function(e){var r=dr(e,2),n=r[0],o=r[1];t[n]=o})),t}),{}):hr(t)}(t);if(e){var r=Object.entries(e).reduce((function(t,e){var r=dr(e,2),n=r[0],o=r[1];return n.match(mr)&&(t[n.slice(7)]=o),t}),{});return Object.keys(r).length>0?r:void 0}}(i);if(a)return a;var c=Dr(t.spanContext().traceId,e),u=kr(r),s=u.data||{},f=s["sentry.sample_rate"];null!=f&&(c.sample_rate="".concat(f));var l=s["sentry.source"],p=u.description;return"url"!==l&&p&&(c.transaction=p),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;var t=le(),e=t&&t.getOptions();return!!e&&(e.enableTracing||"tracesSampleRate" in e||"tracesSampler" in e)}()&&(c.sampled=String(function(t){return 1===t.spanContext().traceFlags}(r))),e.emit("createDsc",c,r),c}function Ir(t){return Ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ir(t)}function Cr(t){var e="function"==typeof Map?new Map:void 0;return Cr=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(Nr())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&Rr(o,r.prototype),o}(t,arguments,Lr(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Rr(r,t)},Cr(t)}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Nr=function(){return!!t})()}function Rr(t,e){return Rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Rr(t,e)}function Lr(t){return Lr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Lr(t)}var Mr,Ur=function(t){function e(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=function(t,e,r){return e=Lr(e),function(t,e){if(e&&("object"==Ir(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Nr()?Reflect.construct(e,r||[],Lr(t).constructor):e.apply(t,r))}(this,e,[t])).message=t,r.logLevel=n,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Rr(t,e)}(e,t),r=e,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(Cr(Error));function qr(t){return qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(t)}function Br(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,Fr(n.key),n)}}function Fr(t){var e=function(t){if("object"!=qr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=qr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==qr(e)?e:e+""}function $r(t){return new zr((function(e){e(t)}))}function Gr(t){return new zr((function(e,r){r(t)}))}!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(Mr||(Mr={}));var Yr,Hr,Wr,zr=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this),t.prototype.__init4.call(this),this._state=Mr.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(t){this._reject(t)}}return e=t,r=[{key:"then",value:function(e,r){var n=this;return new t((function(t,o){n._handlers.push([!1,function(r){if(e)try{t(e(r))}catch(t){o(t)}else t(r)},function(e){if(r)try{t(r(e))}catch(t){o(t)}else o(e)}]),n._executeHandlers()}))}},{key:"catch",value:function(t){return this.then((function(t){return t}),t)}},{key:"finally",value:function(e){var r=this;return new t((function(t,n){var o,i;return r.then((function(t){i=!1,o=t,e&&e()}),(function(t){i=!0,o=t,e&&e()})).then((function(){i?n(o):t(o)}))}))}},{key:"__init",value:function(){var t=this;this._resolve=function(e){t._setResult(Mr.RESOLVED,e)}}},{key:"__init2",value:function(){var t=this;this._reject=function(e){t._setResult(Mr.REJECTED,e)}}},{key:"__init3",value:function(){var t=this;this._setResult=function(e,r){t._state===Mr.PENDING&&(G(r)?r.then(t._resolve,t._reject):(t._state=e,t._value=r,t._executeHandlers()))}}},{key:"__init4",value:function(){var t=this;this._executeHandlers=function(){if(t._state!==Mr.PENDING){var e=t._handlers.slice();t._handlers=[],e.forEach((function(e){e[0]||(t._state===Mr.RESOLVED&&e[1](t._value),t._state===Mr.REJECTED&&e[2](t._value),e[0]=!0)}))}}}}],r&&Br(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r}();function Jr(t){return Jr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(t)}function Kr(t){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kr(t)}function Vr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xr(t,e,r){return(e=function(t){var e=function(t){if("object"!=Kr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Kr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Kr(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zr(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new zr((function(o,i){var a=t[n];if(null===e||"function"!=typeof a)o(e);else{var c=a(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vr(Object(r),!0).forEach((function(e){Xr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e),r);b&&a.id&&null===c&&j.log('Event processor "'.concat(a.id,'" dropped event')),G(c)?c.then((function(e){return Zr(t,e,r,n+1).then(o)})).then(null,i):Zr(t,c,r,n+1).then(o).then(null,i)}}))}function Qr(t){return Qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qr(t)}function tn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function en(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tn(Object(r),!0).forEach((function(e){rn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rn(t,e,r){return(e=function(t){var e=function(t){if("object"!=Qr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Qr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Qr(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nn(t){return function(t){if(Array.isArray(t))return on(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return on(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?on(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function on(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function an(t,e){var r=e.extra,n=e.tags,o=e.user,i=e.contexts,a=e.level,c=e.sdkProcessingMetadata,u=e.breadcrumbs,s=e.fingerprint,f=e.eventProcessors,l=e.attachments,p=e.propagationContext,y=e.transactionName,v=e.span;cn(t,"extra",r),cn(t,"tags",n),cn(t,"user",o),cn(t,"contexts",i),t.sdkProcessingMetadata=Ut(t.sdkProcessingMetadata,c,2),a&&(t.level=a),y&&(t.transactionName=y),v&&(t.span=v),u.length&&(t.breadcrumbs=[].concat(nn(t.breadcrumbs),nn(u))),s.length&&(t.fingerprint=[].concat(nn(t.fingerprint),nn(s))),f.length&&(t.eventProcessors=[].concat(nn(t.eventProcessors),nn(f))),l.length&&(t.attachments=[].concat(nn(t.attachments),nn(l))),t.propagationContext=en(en({},t.propagationContext),p)}function cn(t,e,r){t[e]=Ut(t[e],r,1)}function un(t){return un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},un(t)}function sn(t){return function(t){if(Array.isArray(t))return ln(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||fn(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fn(t,e){if(t){if("string"==typeof t)return ln(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ln(t,e):void 0}}function ln(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function pn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pn(Object(r),!0).forEach((function(e){vn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vn(t,e,r){return(e=function(t){var e=function(t){if("object"!=un(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=un(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==un(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dn(t,e,r,n,o,i){var a=t.normalizeDepth,c=void 0===a?3:a,u=t.normalizeMaxBreadth,s=void 0===u?1e3:u,f=yn(yn({},e),{},{event_id:e.event_id||r.event_id||mt(),timestamp:e.timestamp||Dt()}),l=r.integrations||t.integrations.map((function(t){return t.name}));!function(t,e){var r=e.environment,n=e.release,o=e.dist,i=e.maxValueLength,a=void 0===i?250:i;t.environment=t.environment||r||vr,!t.release&&n&&(t.release=n),!t.dist&&o&&(t.dist=o),t.message&&(t.message=V(t.message,a));var c=t.exception&&t.exception.values&&t.exception.values[0];c&&c.value&&(c.value=V(c.value,a));var u=t.request;u&&u.url&&(u.url=V(u.url,a))}(f,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[].concat(sn(t.sdk.integrations||[]),sn(e)))}(f,l),o&&o.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){var r=function(t){var e=g._sentryDebugIds;if(!e)return{};var r=Object.keys(e);return Wr&&r.length===Hr?Wr:(Hr=r.length,Wr=r.reduce((function(r,n){Yr||(Yr={});var o=Yr[n];if(o)r[o[0]]=o[1];else for(var i=t(n),a=i.length-1;a>=0;a--){var c=i[a],u=c&&c.filename,s=e[n];if(u&&s){r[u]=s,Yr[n]=[u,s];break}}return r}),{}))}(e);try{t.exception.values.forEach((function(t){t.stacktrace.frames.forEach((function(t){r&&t.filename&&(t.debug_id=r[t.filename])}))}))}catch(t){}}(f,t.stackParser);var p=function(t,e){if(!e)return t;var r=t?t.clone():new Zt;return r.update(e),r}(n,r.captureContext);r.mechanism&&wt(f,r.mechanism);var y=o?o.getEventProcessors():[],v=O("globalScope",(function(){return new Zt})).getScopeData();i&&an(v,i.getScopeData()),p&&an(v,p.getScopeData());var d=[].concat(sn(r.attachments||[]),sn(v.attachments));return d.length&&(r.attachments=d),function(t,e){var r=e.fingerprint,n=e.span,o=e.breadcrumbs,i=e.sdkProcessingMetadata;!function(t,e){var r=e.extra,n=e.tags,o=e.user,i=e.contexts,a=e.level,c=e.transactionName,u=lt(r);u&&Object.keys(u).length&&(t.extra=en(en({},u),t.extra));var s=lt(n);s&&Object.keys(s).length&&(t.tags=en(en({},s),t.tags));var f=lt(o);f&&Object.keys(f).length&&(t.user=en(en({},f),t.user));var l=lt(i);l&&Object.keys(l).length&&(t.contexts=en(en({},l),t.contexts)),a&&(t.level=a),c&&"transaction"!==t.type&&(t.transaction=c)}(t,e),n&&function(t,e){t.contexts=en({trace:jr(e)},t.contexts),t.sdkProcessingMetadata=en({dynamicSamplingContext:Tr(e)},t.sdkProcessingMetadata);var r=kr(Ar(e)).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,n),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,r),function(t,e){var r=[].concat(nn(t.breadcrumbs||[]),nn(e));t.breadcrumbs=r.length?r:void 0}(t,o),function(t,e){t.sdkProcessingMetadata=en(en({},t.sdkProcessingMetadata),e)}(t,i)}(f,v),Zr([].concat(sn(y),sn(v.eventProcessors)),f,r).then((function(t){return t&&function(t){var e={};try{t.exception.values.forEach((function(t){t.stacktrace.frames.forEach((function(t){t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0!==Object.keys(e).length){t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];var r=t.debug_meta.images;Object.entries(e).forEach((function(t){var e,n,o=(n=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,n)||fn(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];r.push({type:"sourcemap",code_file:i,debug_id:a})}))}}(t),"number"==typeof c&&c>0?function(t,e,r){if(!t)return null;var n=yn(yn(yn(yn(yn({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return yn(yn({},t),t.data&&{data:$e(t.data,e,r)})}))}),t.user&&{user:$e(t.user,e,r)}),t.contexts&&{contexts:$e(t.contexts,e,r)}),t.extra&&{extra:$e(t.extra,e,r)});return t.contexts&&t.contexts.trace&&n.contexts&&(n.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(n.contexts.trace.data=$e(t.contexts.trace.data,e,r))),t.spans&&(n.spans=t.spans.map((function(t){return yn(yn({},t),t.data&&{data:$e(t.data,e,r)})}))),t.contexts&&t.contexts.flags&&n.contexts&&(n.contexts.flags=$e(t.contexts.flags,3,r)),n}(t,c,s):t}))}var bn=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function mn(t){return mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mn(t)}function hn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||On(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gn(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=On(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function On(t,e){if(t){if("string"==typeof t)return wn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wn(t,e):void 0}}function wn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Sn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Sn(Object(r),!0).forEach((function(e){jn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function jn(t,e,r){return(e=Pn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function En(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,Pn(n.key),n)}}function Pn(t){var e=function(t){if("object"!=mn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=mn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==mn(e)?e:e+""}var kn="Not capturing exception because it's already been captured.",xn=function(){return t=function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=qe(e.dsn):b&&j.warn("No DSN provided, client will not send events."),this._dsn){var r=(n=this._dsn,o=e.tunnel,i=e._metadata?e._metadata.sdk:void 0,o||"".concat(function(t){return"".concat(function(t){var e=t.protocol?"".concat(t.protocol,":"):"",r=t.port?":".concat(t.port):"";return"".concat(e,"//").concat(t.host).concat(r).concat(t.path?"/".concat(t.path):"","/api/")}(t)).concat(t.projectId,"/envelope/")}(n),"?").concat(function(t,e){var r={sentry_version:"7"};return t.publicKey&&(r.sentry_key=t.publicKey),e&&(r.sentry_client="".concat(e.name,"/").concat(e.version)),new URLSearchParams(r).toString()}(n,i)));this._transport=e.transport(_n(_n({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},e.transportOptions),{},{url:r}))}var n,o,i,a=["enableTracing","tracesSampleRate","tracesSampler"].find((function(t){return t in e&&null==e[t]}));a&&_((function(){console.warn("[Sentry] Deprecation warning: `".concat(a,"` is set to undefined, which leads to tracing being enabled. In v9, a value of `undefined` will result in tracing being disabled."))}))},e=[{key:"captureException",value:function(t,e,r){var n=this,o=mt();if(St(t))return b&&j.log(kn),o;var i=_n({event_id:o},e);return this._process(this.eventFromException(t,i).then((function(t){return n._captureEvent(t,i,r)}))),i.event_id}},{key:"captureMessage",value:function(t,e,r,n){var o=this,i=_n({event_id:mt()},r),a=q(t)?t:String(t),c=B(t)?this.eventFromMessage(a,e,i):this.eventFromException(t,i);return this._process(c.then((function(t){return o._captureEvent(t,i,n)}))),i.event_id}},{key:"captureEvent",value:function(t,e,r){var n=mt();if(e&&e.originalException&&St(e.originalException))return b&&j.log(kn),n;var o=_n({event_id:n},e),i=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,o,i||r)),o.event_id}},{key:"captureSession",value:function(t){"string"!=typeof t.release?b&&j.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),It(t,{init:!1}))}},{key:"getDsn",value:function(){return this._dsn}},{key:"getOptions",value:function(){return this._options}},{key:"getSdkMetadata",value:function(){return this._options._metadata}},{key:"getTransport",value:function(){return this._transport}},{key:"flush",value:function(t){var e=this._transport;return e?(this.emit("flush"),this._isClientDoneProcessing(t).then((function(r){return e.flush(t).then((function(t){return r&&t}))}))):$r(!0)}},{key:"close",value:function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,e.emit("close"),t}))}},{key:"getEventProcessors",value:function(){return this._eventProcessors}},{key:"addEventProcessor",value:function(t){this._eventProcessors.push(t)}},{key:"init",value:function(){(this._isEnabled()||this._options.integrations.some((function(t){return t.name.startsWith("Spotlight")})))&&this._setupIntegrations()}},{key:"getIntegrationByName",value:function(t){return this._integrations[t]}},{key:"addIntegration",value:function(t){var e=this._integrations[t.name];T(this,t,this._integrations),e||D(this,[t])}},{key:"sendEvent",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.emit("beforeSendEvent",t,r);var n,o,i,a,c,u,s=function(t,e,r,n){var o=cr(r),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=[].concat(pr(t.sdk.integrations||[]),pr(e.integrations||[])),t.sdk.packages=[].concat(pr(t.sdk.packages||[]),pr(e.packages||[])))}(t,r&&r.sdk);var a=function(t,e,r,n){var o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return ze(ze(ze({event_id:t.event_id,sent_at:(new Date).toISOString()},e&&{sdk:e}),!!r&&n&&{dsn:Me(n)}),o&&{trace:lt(ze({},o))})}(t,o,n,e);return delete t.sdkProcessingMetadata,tr(a,[[{type:i},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel),f=gn(r.attachments||[]);try{for(f.s();!(n=f.n()).done;){var l=n.value;o=s,i=or(l),void 0,void 0,void 0,c=(a=Xe(o,2))[0],u=a[1],s=[c,[].concat(Ve(u),[i])]}}catch(t){f.e(t)}finally{f.f()}var p=this.sendEnvelope(s);p&&p.then((function(r){return e.emit("afterSendEvent",t,r)}),null)}},{key:"sendSession",value:function(t){var e=function(t,e,r,n){var o=cr(r);return tr(fr(fr({sent_at:(new Date).toISOString()},o&&{sdk:o}),!!n&&e&&{dsn:Me(e)}),["aggregates" in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(e)}},{key:"recordDroppedEvent",value:function(t,e,r){if(this._options.sendClientReports){var n="number"==typeof r?r:1,o="".concat(t,":").concat(e);b&&j.log('Recording outcome: "'.concat(o,'"').concat(n>1?" (".concat(n," times)"):"")),this._outcomes[o]=(this._outcomes[o]||0)+n}}},{key:"on",value:function(t,e){var r=this._hooks[t]=this._hooks[t]||[];return r.push(e),function(){var t=r.indexOf(e);t>-1&&r.splice(t,1)}}},{key:"emit",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var o=this._hooks[t];o&&o.forEach((function(t){return t.apply(void 0,r)}))}},{key:"sendEnvelope",value:function(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,(function(t){return b&&j.error("Error while sending envelope:",t),t})):(b&&j.error("Transport disabled"),$r({}))}},{key:"_setupIntegrations",value:function(){var t=this._options.integrations;this._integrations=function(t,e){var r={};return e.forEach((function(e){e&&T(t,e,r)})),r}(this,t),D(this,t)}},{key:"_updateSessionFromEvent",value:function(t,e){var r="fatal"===e.level,n=!1,o=e.exception&&e.exception.values;if(o){n=!0;var i,a=gn(o);try{for(a.s();!(i=a.n()).done;){var c=i.value.mechanism;if(c&&!1===c.handled){r=!0;break}}}catch(t){a.e(t)}finally{a.f()}}var u="ok"===t.status;(u&&0===t.errors||u&&r)&&(It(t,_n(_n({},r&&{status:"crashed"}),{},{errors:t.errors||Number(n||r)})),this.captureSession(t))}},{key:"_isClientDoneProcessing",value:function(t){var e=this;return new zr((function(r){var n=0,o=setInterval((function(){0==e._numProcessing?(clearInterval(o),r(!0)):(n+=1,t&&n>=t&&(clearInterval(o),r(!1)))}),1)}))}},{key:"_isEnabled",value:function(){return!1!==this.getOptions().enabled&&void 0!==this._transport}},{key:"_prepareEvent",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:se(),o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:fe(),i=this.getOptions(),a=Object.keys(this._integrations);return!e.integrations&&a.length>0&&(e.integrations=a),this.emit("preprocessEvent",t,e),t.type||o.setLastEventId(t.event_id||e.event_id),dn(i,t,e,n,this,o).then((function(t){if(null===t)return t;var e,o;t.contexts=_n({trace:(e=n,o=e.getPropagationContext(),lt({trace_id:o.traceId,span_id:o.spanId,parent_span_id:o.parentSpanId}))},t.contexts);var i=function(t,e){var r=e.getPropagationContext();return r.dsc||Dr(r.traceId,t)}(r,n);return t.sdkProcessingMetadata=_n({dynamicSamplingContext:i},t.sdkProcessingMetadata),t}))}},{key:"_captureEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return this._processEvent(t,e,r).then((function(t){return t.event_id}),(function(t){b&&(t instanceof Ur&&"log"===t.logLevel?j.log(t.message):j.warn(t))}))}},{key:"_processEvent",value:function(t,e,r){var n=this,o=this.getOptions(),i=o.sampleRate,a=Dn(t),c=An(t),u=t.type||"error",s="before send for type `".concat(u,"`"),f=void 0===i?void 0:function(t){if("boolean"==typeof t)return Number(t);var e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e)||e<0||e>1))return e;b&&j.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(Jr(t)),"."))}(i);if(c&&"number"==typeof f&&Math.random()>f)return this.recordDroppedEvent("sample_rate","error",t),Gr(new Ur("Discarding event because it's not included in the random sample (sampling rate = ".concat(i,")"),"log"));var l="replay_event"===u?"replay":u,p=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,r,p).then((function(r){if(null===r)throw n.recordDroppedEvent("event_processor",l,t),new Ur("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return r;var i=function(t,e,r,n){var o=e.beforeSend,i=e.beforeSendTransaction,a=e.beforeSendSpan;if(An(r)&&o)return o(r,n);if(Dn(r)){if(r.spans&&a){var c,u=[],s=gn(r.spans);try{for(s.s();!(c=s.n()).done;){var f=a(c.value);f?u.push(f):(_r||(_((function(){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.")})),_r=!0),t.recordDroppedEvent("before_send","span"))}}catch(t){s.e(t)}finally{s.f()}r.spans=u}if(i){if(r.spans){var l=r.spans.length;r.sdkProcessingMetadata=_n(_n({},r.sdkProcessingMetadata),{},{spanCountBeforeProcessing:l})}return i(r,n)}}return r}(n,o,r,e);return function(t,e){var r="".concat(e," must return `null` or a valid event.");if(G(t))return t.then((function(t){if(!F(t)&&null!==t)throw new Ur(r);return t}),(function(t){throw new Ur("".concat(e," rejected with ").concat(t))}));if(!F(t)&&null!==t)throw new Ur(r);return t}(i,s)})).then((function(o){if(null===o){if(n.recordDroppedEvent("before_send",l,t),a){var i=1+(t.spans||[]).length;n.recordDroppedEvent("before_send","span",i)}throw new Ur("".concat(s," returned `null`, will not send event."),"log")}var c=r&&r.getSession();if(!a&&c&&n._updateSessionFromEvent(c,o),a){var u=(o.sdkProcessingMetadata&&o.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);u>0&&n.recordDroppedEvent("before_send","span",u)}var f=o.transaction_info;return a&&f&&o.transaction!==t.transaction&&(o.transaction_info=_n(_n({},f),{},{source:"custom"})),n.sendEvent(o,e),o})).then(null,(function(t){if(t instanceof Ur)throw t;throw n.captureException(t,{data:{__sentry__:!0},originalException:t}),new Ur("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(t))}))}},{key:"_process",value:function(t){var e=this;this._numProcessing++,t.then((function(t){return e._numProcessing--,t}),(function(t){return e._numProcessing--,t}))}},{key:"_clearOutcomes",value:function(){var t=this._outcomes;return this._outcomes={},Object.entries(t).map((function(t){var e=hn(t,2),r=e[0],n=e[1],o=hn(r.split(":"),2);return{reason:o[0],category:o[1],quantity:n}}))}},{key:"_flushOutcomes",value:function(){b&&j.log("Flushing outcomes...");var t=this._clearOutcomes();if(0!==t.length)if(this._dsn){b&&j.log("Sending outcomes:",t);var e,r,n=(e=t,tr((r=this._options.tunnel&&Me(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:Dt(),discarded_events:e}]]));this.sendEnvelope(n)}else b&&j.log("No dsn provided, will not send outcomes");else b&&j.log("No outcomes to send")}}],e&&En(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function An(t){return void 0===t.type}function Dn(t){return"transaction"===t.type}var Tn="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function In(t){return In="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},In(t)}function Cn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Cn(Object(r),!0).forEach((function(e){Rn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Cn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Rn(t,e,r){return(e=function(t){var e=function(t){if("object"!=In(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=In(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==In(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ln(t,e){var r=Un(t,e),n={type:Fn(e),value:$n(e)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function Mn(t,e){return{exception:{values:[Ln(t,e)]}}}function Un(t,e){var r=e.stacktrace||e.stack||"",n=function(t){return t&&qn.test(t.message)?1:0}(e),o=function(t){return"number"==typeof t.framesToPop?t.framesToPop:0}(e);try{return t(r,n,o)}catch(t){}return[]}var qn=/Minified React error #\d+;/i;function Bn(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function Fn(t){var e=t&&t.name;return!e&&Bn(t)?t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception":e}function $n(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:Bn(t)&&Array.isArray(t.message)&&2==t.message.length?t.message[1]:e:"No error message"}function Gn(t,e,r,n,o){var i;if(L(e)&&e.error)return Mn(t,e.error);if(M(e)||R(e,"DOMException")){var a=e;if("stack" in e)i=Mn(t,e);else{var c=a.name||(M(a)?"DOMError":"DOMException"),u=a.message?"".concat(c,": ").concat(a.message):c;Ot(i=Yn(t,u,r,n),u)}return"code" in a&&(i.tags=Nn(Nn({},i.tags),{},{"DOMException.code":"".concat(a.code)})),i}return N(e)?Mn(t,e):F(e)||$(e)?(wt(i=function(t,e,r,n){var o=le(),i=o&&o.getOptions().normalizeDepth,a=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var r=t[e];if(r instanceof Error)return r}}(e),c={__serialized__:Ge(e,i)};if(a)return{exception:{values:[Ln(t,a)]},extra:c};var u={exception:{values:[{type:$(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:Hn(e,{isUnhandledRejection:n})}]},extra:c};if(r){var s=Un(t,r);s.length&&(u.exception.values[0].stacktrace={frames:s})}return u}(t,e,r,o),{synthetic:!0}),i):(Ot(i=Yn(t,e,r,n),"".concat(e),void 0),wt(i,{synthetic:!0}),i)}function Yn(t,e,r,n){var o={};if(n&&r){var i=Un(t,r);i.length&&(o.exception={values:[{value:e,stacktrace:{frames:i}}]}),wt(o,{synthetic:!0})}if(q(e)){var a=e.__sentry_template_string__,c=e.__sentry_template_values__;return o.logentry={message:a,params:c},o}return o.message=e,o}function Hn(t,e){var r=e.isUnhandledRejection,n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,r=Object.keys(ut(t));r.sort();var n=r[0];if(!n)return"[object has no keys]";if(n.length>=e)return V(n,e);for(var o=r.length;o>0;o--){var i=r.slice(0,o).join(", ");if(!(i.length>e))return o===r.length?i:V(i,e)}return""}(t),o=r?"promise rejection":"exception";if(L(t))return"Event `ErrorEvent` captured as ".concat(o," with message `").concat(t.message,"`");if($(t)){var i=function(t){try{var e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t);return"Event `".concat(i,"` (type=").concat(t.type,") captured as ").concat(o)}return"Object captured as ".concat(o," with keys: ").concat(n)}function Wn(t){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wn(t)}function zn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zn(Object(r),!0).forEach((function(e){Kn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Kn(t,e,r){return(e=function(t){var e=function(t){if("object"!=Wn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Wn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Wn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Vn(t,e){return se().captureEvent(t,e)}function Xn(t){var e=le(),r=fe(),n=se(),o=e&&e.getOptions()||{},i=o.release,a=o.environment,c=void 0===a?vr:a,u=(g.navigator||{}).userAgent,s=function(t){var e=Tt(),r={sid:mt(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return function(t){return lt({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}})}(r)}};return t&&It(r,t),r}(Jn(Jn({release:i,environment:c,user:n.getUser()||r.getUser()},u&&{userAgent:u}),t)),f=r.getSession();return f&&"ok"===f.status&&It(f,{status:"exited"}),Zn(),r.setSession(s),n.setSession(s),s}function Zn(){var t=fe(),e=se(),r=e.getSession()||t.getSession();r&&function(t){var e={};"ok"===t.status&&(e={status:"exited"}),It(t,e)}(r),Qn(),t.setSession(),e.setSession()}function Qn(){var t=fe(),e=se(),r=le(),n=e.getSession()||t.getSession();n&&r&&r.captureSession(n)}function to(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?Zn():Qn()}function eo(t){return eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eo(t)}function ro(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function no(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ro(Object(r),!0).forEach((function(e){oo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ro(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oo(t,e,r){return(e=function(t){var e=function(t){if("object"!=eo(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=eo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==eo(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var io=g,ao=0;function co(){return ao>0}function uo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!function(t){return"function"==typeof t}(t))return t;try{var r=t.__sentry_wrapped__;if(r)return"function"==typeof r?r:t;if(ct(t))return t}catch(e){return t}var n=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];try{var i=n.map((function(t){return uo(t,e)}));return t.apply(this,i)}catch(t){throw ao++,setTimeout((function(){ao--})),function(){for(var t=ue(xt()),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(2===r.length){var o=r[0],i=r[1];return o?t.withSetScope(o,i):t.withScope(i)}t.withScope(r[0])}((function(r){var o;r.addEventProcessor((function(t){return e.mechanism&&(Ot(t,void 0,void 0),wt(t,e.mechanism)),t.extra=no(no({},t.extra),{},{arguments:n}),t})),o=t,se().captureException(o,function(t){if(t)return function(t){return t instanceof Zt||"function"==typeof t}(t)||function(t){return Object.keys(t).some((function(t){return bn.includes(t)}))}(t)?{captureContext:t}:t}(undefined))})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}catch(t){}at(n,t),it(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:function(){return t.name}})}catch(t){}return n}function so(t){return so="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},so(t)}function fo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fo(Object(r),!0).forEach((function(e){po(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function po(t,e,r){return(e=function(t){var e=function(t){if("object"!=so(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=so(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==so(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yo(t){return yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yo(t)}function vo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function bo(t,e,r){return(e=ho(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,ho(n.key),n)}}function ho(t){var e=function(t){if("object"!=yo(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=yo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==yo(e)?e:e+""}function go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(go=function(){return!!t})()}function Oo(){return Oo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=wo(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},Oo.apply(null,arguments)}function wo(t){return wo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wo(t)}function So(t,e){return So=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},So(t,e)}var _o=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vo(Object(r),!0).forEach((function(e){bo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({parentSpanIsAlwaysRootSpan:!0},t);return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[e],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"npm",o=t._metadata||{};o.sdk||(o.sdk={name:"sentry.javascript.".concat(e),packages:r.map((function(t){return{name:"".concat(n,":@sentry/").concat(t),version:h}})),version:h}),t._metadata=o}(n,"browser",["browser"],io.SENTRY_SDK_SOURCE||"npm"),r=function(t,e,r){return e=wo(e),function(t,e){if(e&&("object"==yo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,go()?Reflect.construct(e,r||[],wo(t).constructor):e.apply(t,r))}(this,e,[n]),n.sendClientReports&&io.document&&io.document.addEventListener("visibilitychange",(function(){"hidden"===io.document.visibilityState&&r._flushOutcomes()})),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&So(t,e)}(e,t),r=e,n=[{key:"eventFromException",value:function(t,e){return function(t,e,r,n){var o=Gn(t,e,r&&r.syntheticException||void 0,n);return wt(o),o.level="error",r&&r.event_id&&(o.event_id=r.event_id),$r(o)}(this._options.stackParser,t,e,this._options.attachStacktrace)}},{key:"eventFromMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",r=arguments.length>2?arguments[2]:void 0;return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=Yn(t,e,n&&n.syntheticException||void 0,o);return i.level=r,n&&n.event_id&&(i.event_id=n.event_id),$r(i)}(this._options.stackParser,t,e,r,this._options.attachStacktrace)}},{key:"captureUserFeedback",value:function(t){if(this._isEnabled()){var e=function(t,e){var r=e.metadata,n=e.tunnel,o=e.dsn,i=lo(lo({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&r.sdk&&{sdk:{name:r.sdk.name,version:r.sdk.version}}),!!n&&!!o&&{dsn:Me(o)}),a=function(t){return[{type:"user_report"},t]}(t);return tr(i,[a])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}else Tn&&j.warn("SDK not enabled, will not capture user feedback.")}},{key:"_prepareEvent",value:function(t,r,n){return t.platform=t.platform||"javascript",(o=e,i=this,"function"==typeof(a=Oo(wo(1&3?o.prototype:o),"_prepareEvent",i))?function(t){return a.apply(i,t)}:a)([t,r,n]);var o,i,a}}],n&&mo(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(xn);function jo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var Eo={},Po={};function ko(t,e){Eo[t]=Eo[t]||[],Eo[t].push(e)}function xo(t,e){if(!Po[t]){Po[t]=!0;try{e()}catch(e){m&&j.error("Error while instrumenting ".concat(t),e)}}}function Ao(t,e){var r=t&&Eo[t];if(r){var n,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return jo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jo(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(r);try{for(o.s();!(n=o.n()).done;){var i=n.value;try{i(e)}catch(e){m&&j.error("Error while triggering instrumentation handler.\nType: ".concat(t,"\nName: ").concat(ke(i),"\nError:"),e)}}}catch(t){o.e(t)}finally{o.f()}}}var Do,To,Io,Co=g;function No(){if(Co.document){var t=Ao.bind(null,"dom"),e=Ro(t,!0);Co.document.addEventListener("click",e,!1),Co.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){var r=Co[e],n=r&&r.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(ot(n,"addEventListener",(function(e){return function(r,n,o){if("click"===r||"keypress"==r)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=i[r]=i[r]||{refCount:0};if(!a.handler){var c=Ro(t);a.handler=c,e.call(this,r,c,o)}a.refCount++}catch(t){}return e.call(this,r,n,o)}})),ot(n,"removeEventListener",(function(t){return function(e,r,n){if("click"===e||"keypress"==e)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount--,i.refCount<=0&&(t.call(this,e,i.handler,n),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,r,n)}})))}))}}function Ro(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r){if(r&&!r._sentryCaptured){var n=function(t){try{return t.target}catch(t){return null}}(r);if(!function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(r.type,n)){it(r,"_sentryCaptured",!0),n&&!n._sentryId&&it(n,"_sentryId",mt());var o="keypress"===r.type?"input":r.type;(function(t){if(t.type!==To)return!1;try{if(!t.target||t.target._sentryId!==Io)return!1}catch(t){}return!0})(r)||(t({event:r,name:o,global:e}),To=r.type,Io=n?n._sentryId:void 0),clearTimeout(Do),Do=Co.setTimeout((function(){Io=void 0,To=void 0}),1e3)}}}}function Lo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var Mo="__sentry_xhr_v3__";function Uo(){if(Co.XMLHttpRequest){var t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply:function(t,e,r){var n=new Error,o=1e3*Tt(),i=U(r[0])?r[0].toUpperCase():void 0,a=function(t){if(U(t))return t;try{return t.toString()}catch(t){}}(r[1]);if(!i||!a)return t.apply(e,r);e[Mo]={method:i,url:a,request_headers:{}},"POST"===i&&a.match(/sentry_key/)&&(e.__sentry_own_request__=!0);var c=function(){var t=e[Mo];if(t&&4===e.readyState){try{t.status_code=e.status}catch(t){}Ao("xhr",{endTimestamp:1e3*Tt(),startTimestamp:o,xhr:e,virtualError:n})}};return"onreadystatechange" in e&&"function"==typeof e.onreadystatechange?e.onreadystatechange=new Proxy(e.onreadystatechange,{apply:function(t,e,r){return c(),t.apply(e,r)}}):e.addEventListener("readystatechange",c),e.setRequestHeader=new Proxy(e.setRequestHeader,{apply:function(t,e,r){var n,o,i=(o=2,function(t){if(Array.isArray(t))return t}(n=r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,o)||function(t,e){if(t){if("string"==typeof t)return Lo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lo(t,e):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],c=i[1],u=e[Mo];return u&&U(a)&&U(c)&&(u.request_headers[a.toLowerCase()]=c),t.apply(e,r)}}),t.apply(e,r)}}),t.send=new Proxy(t.send,{apply:function(t,e,r){var n=e[Mo];return n?(void 0!==r[0]&&(n.body=r[0]),Ao("xhr",{startTimestamp:1e3*Tt(),xhr:e}),t.apply(e,r)):t.apply(e,r)}})}}var qo,Bo=g;function Fo(t){var e="history";ko(e,t),xo(e,$o)}function $o(){if(e=(t=Bo.chrome)&&t.app&&t.app.runtime,r="history" in Bo&&!!Bo.history.pushState&&!!Bo.history.replaceState,!e&&r){var t,e,r,n=Co.onpopstate;Co.onpopstate=function(){var t=Co.location.href,e=qo;if(qo=t,Ao("history",{from:e,to:t}),n)try{for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n.apply(this,o)}catch(t){}},ot(Co.history,"pushState",o),ot(Co.history,"replaceState",o)}function o(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=r.length>2?r[2]:void 0;if(o){var i=qo,a=String(o);qo=a,Ao("history",{from:i,to:a})}return t.apply(this,r)}}}function Go(){"console" in g&&w.forEach((function(t){t in g.console&&ot(g.console,t,(function(e){return S[t]=e,function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];Ao("console",{args:r,level:t});var o=S[t];o&&o.apply(g.console,r)}}))}))}function Yo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Ho(t){return Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ho(t)}function Wo(){Wo=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new D(n||[]);return o(a,"_invoke",{value:P(t,r,c)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",y="suspendedYield",v="executing",d="completed",b={};function m(){}function h(){}function g(){}var O={};s(O,a,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(T([])));S&&S!==r&&n.call(S,a)&&(O=S);var _=g.prototype=m.prototype=Object.create(O);function j(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==Ho(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,r,n){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=l(e,r,n);if("normal"===s.type){if(o=n.done?d:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=l(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(Ho(e)+" is not iterable")}return h.prototype=g,o(_,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:h,configurable:!0}),h.displayName=s(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},j(E.prototype),s(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(_),s(_,u,"Generator"),s(_,a,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function zo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Jo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ko(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jo(Object(r),!0).forEach((function(e){Vo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vo(t,e,r){return(e=function(t){var e=function(t){if("object"!=Ho(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ho(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Xo(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&!function(){if("string"==typeof EdgeRuntime)return!0;if(!Ce())return!1;if(Ne(Ie.fetch))return!0;var t=!1,e=Ie.document;if(e&&"function"==typeof e.createElement)try{var r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=Ne(r.contentWindow.fetch)),e.head.removeChild(r)}catch(t){m&&j.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}()||ot(g,"fetch",(function(e){return function(){for(var r=new Error,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){var e=(i=2,function(t){if(Array.isArray(t))return t}(o=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(o,i)||function(t,e){if(t){if("string"==typeof t)return Yo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yo(t,e):void 0}}(o,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=e[0],n=e[1];return{url:Qo(r),method:Zo(n,"method")?String(n.method).toUpperCase():"GET"}}var o,i,a=t[0];return{url:Qo(a),method:Zo(a,"method")?String(a.method).toUpperCase():"GET"}}(o),c={args:o,fetchData:{method:a.method,url:a.url},startTimestamp:1e3*Tt(),virtualError:r};return t||Ao("fetch",Ko({},c)),e.apply(g,o).then(function(){var e,r=(e=Wo().mark((function e(r){return Wo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t?t(r):Ao("fetch",Ko(Ko({},c),{},{endTimestamp:1e3*Tt(),response:r})),e.abrupt("return",r);case 2:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){zo(i,n,o,a,c,"next",t)}function c(t){zo(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}(),(function(t){throw Ao("fetch",Ko(Ko({},c),{},{endTimestamp:1e3*Tt(),error:t})),N(t)&&void 0===t.stack&&(t.stack=r.stack,it(t,"framesToPop",1)),t}))}}))}function Zo(t,e){return!!t&&"object"===Ho(t)&&!!t[e]}function Qo(t){return"string"==typeof t?t:t?Zo(t,"url")?t.url:t.toString?t.toString():"":""}function ti(t){return ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ti(t)}function ei(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ri(t,e,r){return(e=function(t){var e=function(t){if("object"!=ti(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ti(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ti(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ni(t,e){var r=le(),n=fe();if(r){var o=r.getOptions(),i=o.beforeBreadcrumb,a=void 0===i?null:i,c=o.maxBreadcrumbs,u=void 0===c?100:c;if(!(u<=0)){var s=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ei(Object(r),!0).forEach((function(e){ri(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ei(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({timestamp:Dt()},t),f=a?_((function(){return a(s,e)})):s;null!==f&&(r.emit&&r.emit("beforeAddBreadcrumb",f,e),n.addBreadcrumb(f,u))}}}function oi(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}function ii(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:r,hash:n,relative:e[5]+r+n}}function ai(t){return ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ai(t)}function ci(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ui(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ci(Object(r),!0).forEach((function(e){si(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ci(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function si(t,e,r){return(e=function(t){var e=function(t){if("object"!=ai(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ai(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ai(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fi=1024,li=function(){var t=ui({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return{name:"Breadcrumbs",setup:function(e){var r;t.console&&(r=function(t){return function(e){if(le()===t){var r={category:"console",data:{arguments:e.args,logger:"console"},level:(n=e.level,"warn"===n?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log"),message:X(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;r.message="Assertion failed: ".concat(X(e.args.slice(1)," ")||"console.assert"),r.data.arguments=e.args.slice(1)}ni(r,{input:e.args,level:e.level})}var n}}(e),ko("console",r),xo("console",Go)),t.dom&&function(t){ko("dom",t),xo("dom",No)}(function(t,e){return function(r){if(le()===t){var n,o,i="object"===ai(e)?e.serializeAttribute:void 0,a="object"===ai(e)&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;a&&a>fi&&(Tn&&j.warn("`dom.maxStringLength` cannot exceed ".concat(fi,", but a value of ").concat(a," was configured. Sentry will use ").concat(fi," instead.")),a=fi),"string"==typeof i&&(i=[i]);try{var c=r.event,u=function(t){return!!t&&!!t.target}(c)?c.target:c;n=J(u,{keyAttrs:i,maxStringLength:a}),o=function(t){if(!z.HTMLElement)return null;for(var e=t,r=0;r<5;r++){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}(u)}catch(t){n="<unknown>"}if(0!==n.length){var s={category:"ui.".concat(r.name),message:n};o&&(s.data={"ui.component_name":o}),ni(s,{event:r.event,name:r.name,global:r.global})}}}}(e,t.dom)),t.xhr&&function(t){ko("xhr",t),xo("xhr",Uo)}(function(t){return function(e){if(le()===t){var r=e.startTimestamp,n=e.endTimestamp,o=e.xhr[Mo];if(r&&n&&o){var i=o.method,a=o.url,c=o.status_code,u=o.body,s={method:i,url:a,status_code:c},f={xhr:e.xhr,input:u,startTimestamp:r,endTimestamp:n};ni({category:"xhr",data:s,type:"http",level:oi(c)},f)}}}}(e)),t.fetch&&function(t){var e="fetch";ko(e,t),xo(e,(function(){return Xo(void 0,undefined)}))}(function(t){return function(e){if(le()===t){var r=e.startTimestamp,n=e.endTimestamp;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error)ni({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:r,endTimestamp:n});else{var o=e.response,i=ui(ui({},e.fetchData),{},{status_code:o&&o.status}),a={input:e.args,response:o,startTimestamp:r,endTimestamp:n};ni({category:"fetch",data:i,type:"http",level:oi(i.status_code)},a)}}}}(e)),t.history&&Fo(function(t){return function(e){if(le()===t){var r=e.from,n=e.to,o=ii(io.location.href),i=r?ii(r):void 0,a=ii(n);i&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(n=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),ni({category:"navigation",data:{from:r,to:n}})}}}(e)),t.sentry&&e.on("beforeSendEvent",function(t){return function(e){le()===t&&ni({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:gt(e)},{event:e})}}(e))}}};function pi(t){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pi(t)}function yi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vi(t,e,r){return(e=function(t){var e=function(t){if("object"!=pi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=pi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==pi(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var di=["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"],bi=function(){var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yi(Object(r),!0).forEach((function(e){vi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return{name:"BrowserApiErrors",setupOnce:function(){t.setTimeout&&ot(io,"setTimeout",mi),t.setInterval&&ot(io,"setInterval",mi),t.requestAnimationFrame&&ot(io,"requestAnimationFrame",hi),t.XMLHttpRequest&&"XMLHttpRequest" in io&&ot(XMLHttpRequest.prototype,"send",gi);var e=t.eventTarget;e&&(Array.isArray(e)?e:di).forEach(Oi)}}};function mi(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=r[0];return r[0]=uo(o,{mechanism:{data:{function:ke(t)},handled:!1,type:"instrument"}}),t.apply(this,r)}}function hi(t){return function(e){return t.apply(this,[uo(e,{mechanism:{data:{function:"requestAnimationFrame",handler:ke(t)},handled:!1,type:"instrument"}})])}}function gi(t){return function(){var e=this;["onload","onerror","onprogress","onreadystatechange"].forEach((function(t){t in e&&"function"==typeof e[t]&&ot(e,t,(function(e){var r={mechanism:{data:{function:t,handler:ke(e)},handled:!1,type:"instrument"}},n=ct(e);return n&&(r.mechanism.data.handler=ke(n)),uo(e,r)}))}));for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.apply(this,n)}}function Oi(t){var e=io[t],r=e&&e.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(ot(r,"addEventListener",(function(e){return function(r,n,o){try{"function"==typeof n.handleEvent&&(n.handleEvent=uo(n.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ke(n),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[r,uo(n,{mechanism:{data:{function:"addEventListener",handler:ke(n),target:t},handled:!1,type:"instrument"}}),o])}})),ot(r,"removeEventListener",(function(t){return function(e,r,n){try{var o=r.__sentry_wrapped__;o&&t.call(this,e,o,n)}catch(t){}return t.call(this,e,r,n)}})))}var wi=null;function Si(){wi=g.onerror,g.onerror=function(t,e,r,n,o){return Ao("error",{column:n,error:o,line:r,msg:t,url:e}),!!wi&&wi.apply(this,arguments)},g.onerror.__SENTRY_INSTRUMENTED__=!0}var _i=null;function ji(){_i=g.onunhandledrejection,g.onunhandledrejection=function(t){return Ao("unhandledrejection",t),!_i||_i.apply(this,arguments)},g.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Ei(t){return Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ei(t)}function Pi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ki(t,e,r){return(e=function(t){var e=function(t){if("object"!=Ei(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Ei(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ei(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xi=function(){var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pi(Object(r),!0).forEach((function(e){ki(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({onerror:!0,onunhandledrejection:!0},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return{name:"GlobalHandlers",setupOnce:function(){Error.stackTraceLimit=50},setup:function(e){t.onerror&&(function(t){var e;ko(e="error",(function(e){var r=Di(),n=r.stackParser,o=r.attachStacktrace;if(le()===t&&!co()){var i=e.msg,a=e.url,c=e.line,u=e.column,s=e.error,f=function(t,e,r,n){var o=t.exception=t.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},c=a.stacktrace=a.stacktrace||{},u=c.frames=c.frames||[],s=n,f=r,l=U(e)&&e.length>0?e:function(){try{return z.document.location.href}catch(t){return""}}();return 0===u.length&&u.push({colno:s,filename:l,function:we,in_app:!0,lineno:f}),t}(Gn(n,s||i,void 0,o,!1),a,c,u);f.level="error",Vn(f,{originalException:s,mechanism:{handled:!1,type:"onerror"}})}})),xo(e,Si)}(e),Ai("onerror")),t.onunhandledrejection&&(function(t){var e;ko(e="unhandledrejection",(function(e){var r=Di(),n=r.stackParser,o=r.attachStacktrace;if(le()===t&&!co()){var i=function(t){if(B(t))return t;try{if("reason" in t)return t.reason;if("detail" in t&&"reason" in t.detail)return t.detail.reason}catch(t){}return t}(e),a=B(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(i))}]}}:Gn(n,i,void 0,o,!0);a.level="error",Vn(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}})),xo(e,ji)}(e),Ai("onunhandledrejection"))}}};function Ai(t){Tn&&j.log("Global Handler attached: ".concat(t))}function Di(){var t=le();return t&&t.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1}}function Ti(t){return Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ti(t)}function Ii(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ci(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ii(Object(r),!0).forEach((function(e){Ni(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ii(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ni(t,e,r){return(e=function(t){var e=function(t){if("object"!=Ti(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Ti(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ti(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ri(t){return Ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ri(t)}function Li(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Li(Object(r),!0).forEach((function(e){Ui(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Li(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ui(t,e,r){return(e=function(t){var e=function(t){if("object"!=Ri(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Ri(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ri(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qi(t){return function(t){if(Array.isArray(t))return Bi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Bi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bi(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Fi(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:250,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;if(i.exception&&i.exception.values&&a&&Y(a.originalException,Error)){var c,u,s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=(c=$i(t,e,o,a.originalException,n,i.exception.values,s,0),u=r,c.map((function(t){return t.value&&(t.value=V(t.value,u)),t}))))}}function $i(t,e,r,n,o,i,a,c){if(i.length>=r+1)return i;var u=qi(i);if(Y(n[o],Error)){Gi(a,c);var s=t(e,n[o]),f=u.length;Yi(s,o,f,c),u=$i(t,e,r,n[o],o,[s].concat(qi(u)),s,f)}return Array.isArray(n.errors)&&n.errors.forEach((function(n,i){if(Y(n,Error)){Gi(a,c);var s=t(e,n),f=u.length;Yi(s,"errors[".concat(i,"]"),f,c),u=$i(t,e,r,n,o,[s].concat(qi(u)),s,f)}})),u}function Gi(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Mi(Mi(Mi({},t.mechanism),"AggregateError"===t.type&&{is_exception_group:!0}),{},{exception_id:e})}function Yi(t,e,r,n){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Mi(Mi({},t.mechanism),{},{type:"chained",source:e,exception_id:r,parent_id:n})}var Hi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.limit||5,r=t.key||"cause";return{name:"LinkedErrors",preprocessEvent:function(t,n,o){var i=o.getOptions();Fi(Ln,i.stackParser,i.maxValueLength,r,e,t,n)}}};function Wi(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return zi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zi(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Ji(t,e,r,n){var o={filename:t,function:"<anonymous>"===e?we:e,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==n&&(o.colno=n),o}var Ki=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Vi=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Xi=/\((\S*)(?::(\d+))(?::(\d+))\)/,Zi=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Qi=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ta=[[30,function(t){var e=Ki.exec(t);if(e){var r=Wi(e,4),n=r[1],o=r[2],i=r[3];return Ji(n,we,+o,+i)}var a=Vi.exec(t);if(a){if(a[2]&&0===a[2].indexOf("eval")){var c=Xi.exec(a[2]);c&&(a[2]=c[1],a[3]=c[2],a[4]=c[3])}var u=Wi(ra(a[1]||we,a[2]),2),s=u[0];return Ji(u[1],s,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}}],[50,function(t){var e=Zi.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){var r=Qi.exec(e[3]);r&&(e[1]=e[1]||"eval",e[3]=r[1],e[4]=r[2],e[5]="")}var n=e[3],o=e[1]||we,i=Wi(ra(o,n),2);return o=i[0],Ji(n=i[1],o,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],ea=je.apply(void 0,ta),ra=function(t,e){var r=-1!==t.indexOf("safari-extension"),n=-1!==t.indexOf("safari-web-extension");return r||n?[-1!==t.indexOf("@")?t.split("@")[0]:we,r?"safari-extension:".concat(e):"safari-web-extension:".concat(e)]:[t,e]},na="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,oa={};function ia(t){oa[t]=void 0}function aa(t){return aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aa(t)}function ca(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ua(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function ua(t,e){if(t){if("string"==typeof t)return sa(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sa(t,e):void 0}}function sa(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function fa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function la(t,e,r){return(e=function(t){var e=function(t){if("object"!=aa(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=aa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==aa(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pa(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){var e=[];function r(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(n){if(!(void 0===t||e.length<t))return Gr(new Ur("Not adding Promise because buffer limit was reached."));var o=n();return-1===e.indexOf(o)&&e.push(o),o.then((function(){return r(o)})).then(null,(function(){return r(o).then(null,(function(){}))})),o},drain:function(t){return new zr((function(r,n){var o=e.length;if(!o)return r(!0);var i=setTimeout((function(){t&&t>0&&r(!1)}),t);e.forEach((function(t){$r(t).then((function(){--o||(clearTimeout(i),r(!0))}),n)}))}))}}}(t.bufferSize||64),n={};return{send:function(o){var i=[];if(er(o,(function(e,r){var o=ar(r);if(function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return function(t,e){return t[e]||t.all||0}(t,e)>r}(n,o)){var a=ya(e,r);t.recordDroppedEvent("ratelimit_backoff",o,a)}else i.push(e)})),0===i.length)return $r({});var a=tr(o[0],i),c=function(e){er(a,(function(r,n){var o=ya(r,n);t.recordDroppedEvent(e,ar(n),o)}))};return r.add((function(){return e({body:nr(a)}).then((function(t){return void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&b&&j.warn("Sentry responded with status code ".concat(t.statusCode," to sent event.")),n=function(t,e){var r,n,o=e.statusCode,i=e.headers,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),c=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fa(Object(r),!0).forEach((function(e){la(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fa(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t),u=i&&i["x-sentry-rate-limits"],s=i&&i["retry-after"];if(u){var f,l=ca(u.trim().split(","));try{for(l.s();!(f=l.n()).done;){var p=(r=f.value.split(":",5),n=5,function(t){if(Array.isArray(t))return t}(r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(r,n)||ua(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=p[0],v=p[1],d=p[4],b=parseInt(y,10),m=1e3*(isNaN(b)?60:b);if(v){var h,g=ca(v.split(";"));try{for(g.s();!(h=g.n()).done;){var O=h.value;"metric_bucket"===O&&d&&!d.split(";").includes("custom")||(c[O]=a+m)}}catch(t){g.e(t)}finally{g.f()}}else c.all=a+m}}catch(t){l.e(t)}finally{l.f()}}else s?c.all=a+function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),r=parseInt("".concat(t),10);if(!isNaN(r))return 1e3*r;var n=Date.parse("".concat(t));return isNaN(n)?6e4:n-e}(s,a):429===o&&(c.all=a+6e4);return c}(n,t),t}),(function(t){throw c("network_error"),t}))})).then((function(t){return t}),(function(t){if(t instanceof Ur)return b&&j.error("Skipped sending event because buffer is full."),c("queue_overflow"),$r({});throw t}))},flush:function(t){return r.drain(t)}}}function ya(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function va(t){return va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},va(t)}function da(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ba(t,e,r){return(e=function(t){var e=function(t){if("object"!=va(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=va(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==va(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ma(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){var e=oa[t];if(e)return e;var r=Co[t];if(Ne(r))return oa[t]=r.bind(Co);var n=Co.document;if(n&&"function"==typeof n.createElement)try{var o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);var i=o.contentWindow;i&&i[t]&&(r=i[t]),n.head.removeChild(o)}catch(e){na&&j.warn("Could not create sandbox iframe for ".concat(t," check, bailing to window.").concat(t,": "),e)}return r?oa[t]=r.bind(Co):r}("fetch"),r=0,n=0;return pa(t,(function(o){var i=o.body.length;r+=i,n++;var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?da(Object(r),!0).forEach((function(e){ba(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):da(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({body:o.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:r<=6e4&&n<15},t.fetchOptions);if(!e)return ia("fetch"),Gr("No fetch implementation available");try{return e(t.url,a).then((function(t){return r-=i,n--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}}))}catch(t){return ia("fetch"),r-=i,n--,Gr(t)}}))}function ha(t){return ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ha(t)}function ga(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oa(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ga(Object(r),!0).forEach((function(e){wa(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ga(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wa(t,e,r){return(e=function(t){var e=function(t){if("object"!=ha(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ha(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ha(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Sa(){var t=function(){var t,e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o={defaultIntegrations:(t=n,e=[Pt(),{name:"FunctionToString",setupOnce:function(){re=Function.prototype.toString;try{Function.prototype.toString=function(){for(var t=ct(this),e=pe.has(le())&&void 0!==t?t:this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return re.apply(e,n)}}catch(t){}},setup:function(t){pe.set(t,!0)}},bi(),li(),xi(),Hi(),{name:"Dedupe",processEvent:function(t){if(t.type)return t;try{if(function(t,e){return!(!e||!function(t,e){var r=t.message,n=e.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!De(t,e)||!Ae(t,e))}(t,e)&&!function(t,e){var r=Te(e),n=Te(t);return!!(r&&n&&r.type===n.type&&r.value===n.value&&De(t,e)&&Ae(t,e))}(t,e))}(t,r))return b&&j.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return r=t}},{name:"HttpContext",preprocessEvent:function(t){if(io.navigator||io.location||io.document){var e=t.request&&t.request.url||io.location&&io.location.href,r=(io.document||{}).referrer,n=(io.navigator||{}).userAgent,o=Ci(Ci(Ci({},t.request&&t.request.headers),r&&{Referer:r}),n&&{"User-Agent":n}),i=Ci(Ci(Ci({},t.request),e&&{url:e}),{},{headers:o});t.request=i}}}],!1!==t.autoSessionTracking&&e.push({name:"BrowserSession",setupOnce:function(){void 0!==io.document?(Xn({ignoreDuration:!0}),to(),Fo((function(t){var e=t.from,r=t.to;void 0!==e&&e!==r&&(Xn({ignoreDuration:!0}),to())}))):Tn&&j.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}}),e),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:io.SENTRY_RELEASE&&io.SENTRY_RELEASE.id?io.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==n.defaultIntegrations&&delete n.defaultIntegrations,Oa(Oa({},o),n)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(t.skipBrowserExtensionCheck||!function(){var t=void 0!==io.window&&io;if(!t)return!1;var e=t[t.chrome?"chrome":"browser"],r=e&&e.runtime&&e.runtime.id,n=io.location&&io.location.href||"",o=!!r&&io===io.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((function(t){return n.startsWith("".concat(t,"//"))})),i=void 0!==t.nw;return!!r&&!o&&!i}()){Tn&&(Ce()||j.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));var e,r=Oa(Oa({},t),{},{stackParser:(e=t.stackParser||ea,Array.isArray(e)?je.apply(void 0,me(e)):e),integrations:A(t),transport:t.transport||ma});return function(t,e){!0===e.debug&&(b?j.enable():_((function(){console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),se().update(e.initialScope);var r=new t(e);return function(t){se().setClient(t)}(r),r.init(),r}(_o,r)}_((function(){console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}))}function _a(t){return _a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_a(t)}function ja(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,Ea(n.key),n)}}function Ea(t){var e=function(t){if("object"!=_a(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=_a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==_a(e)?e:e+""}var Pa=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e||{}},(e=[{key:"init",value:function(){n("component.".concat(this.constructor.name,".init"),"Init component..."),this.create()}},{key:"create",value:function(){}},{key:"bind",value:function(){}}])&&ja(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function ka(t){return ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ka(t)}function xa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,Aa(n.key),n)}}function Aa(t){var e=function(t){if("object"!=ka(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ka(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ka(e)?e:e+""}function Da(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Da=function(){return!!t})()}function Ta(t){return Ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ta(t)}function Ia(t,e){return Ia=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ia(t,e)}var Ca=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,r){return e=Ta(e),function(t,e){if(e&&("object"==ka(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Da()?Reflect.construct(e,r||[],Ta(t).constructor):e.apply(t,r))}(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ia(t,e)}(e,t),r=e,(n=[{key:"create",value:function(){-1!==["ymere.nl","www.ymere.nl","acc.ymere.nl","yvastgoed.nl","www.yvastgoed.nl","acc.yvastgoed.nl","werkenbij.ymere.nl","acc.werkenbij.ymere.nl"].indexOf(window.location.hostname)&&Sa&&Sa({dsn:"https://29bf3a19791149a58b8b48e8310d8fb5@sentry.io/1877290",tracesSampleRate:1,ignoreErrors:["top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage","Script error."],denyUrls:[/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/browsealoud\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i]})}}])&&xa(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(Pa),Na=Ca;function Ra(t){return Ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ra(t)}function La(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,Ma(n.key),n)}}function Ma(t){var e=function(t){if("object"!=Ra(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Ra(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ra(e)?e:e+""}function Ua(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ua=function(){return!!t})()}function qa(t){return qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},qa(t)}function Ba(t,e){return Ba=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ba(t,e)}var Fa,$a=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,r){return e=qa(e),function(t,e){if(e&&("object"==Ra(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ua()?Reflect.construct(e,r||[],qa(t).constructor):e.apply(t,r))}(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ba(t,e)}(e,t),r=e,n=[{key:"create",value:function(){document.querySelectorAll("[data-open-cookiebot]").forEach((function(t){t.addEventListener("click",(function(t){var e;t.preventDefault(),null===(e=window.Cookiebot)||void 0===e||e.renew()}))}))}}],n&&La(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(Pa),Ga=new d({debug:!1,productionDomains:["ymere.nl","werkenbij.ymere.nl"],autoload:{"component.sentry":Na,"component.cookiebot":$a}});Fa=function(){Ga.build()},"loading"!==document.readyState?Fa():document.addEventListener?document.addEventListener("DOMContentLoaded",Fa):document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&Fa()}))}();;;
var APP=window.APP||{};APP.namespace=function(namespaceString){'use strict';var i;var parts=namespaceString.split('.');var length=parts.length;var parent=window;var currentPart='';for(i=0;i<length;i++){currentPart=parts[i];parent[currentPart]=parent[currentPart]||{};parent=parent[currentPart];}
return parent;};;;
APP.namespace('APP.Core.Components');APP.Core.Components.Accordion=(function(window){'use strict';var app,jqObj;app={events:{toggle:function(e){e.preventDefault();var el=$(e.target).closest('.expandable');if(el.hasClass('expanded')){app.methods.close(el);}else{app.methods.open(el);}}},methods:{init:function(){jqObj=$('.expandable');if(!jqObj.length){return false;}
app.methods.bind();app.methods.openHashID();return true;},bind:function(){jqObj.find('.expandable-toggle').off('click',app.events.toggle).on('click',app.events.toggle);},getExpandedHeight:function(el){el.removeClass('animated').css('height','auto');var height=el.height();el.css('height',0).addClass('animated');return height;},open:function(el){var contentEl=el.find('.expandable-content');var height=app.methods.getExpandedHeight(contentEl);setTimeout(function(){contentEl.css('height',height);el.addClass('expanded');setTimeout(function(){if(contentEl.hasClass('expanded')){contentEl.css('height','auto');}},500);});},close:function(el){var contentEl=el.find('.expandable-content');contentEl.css('height',contentEl.height());setTimeout(function(){contentEl.addClass('animated').css('height',0);el.removeClass('expanded');});},openHashID:function(){var hash=window.location.hash;var hashAt=hash.lastIndexOf('#');var hashBangAt=(hash.indexOf('#/')!==-1?hash.indexOf('#/'):hash.indexOf('#!/'));if(hashAt>-1&&hashBangAt!==hashAt){app.methods.openID(hash.substr(hashAt+1));app.methods.scrollToID(hash.substr(hashAt+1));}},openID:function(id){var target=$('#'+id);if(target.size()>0){if(target.hasClass('expanded')===false){target.find('.expandable-toggle').trigger('click');}}},scrollToID:function(id){var target=$('#'+id);if(target.size()>0){$('html, body').animate({scrollTop:target.offset().top},1000);}}}};return{init:app.methods.init,openID:app.methods.openID,scrollToID:app.methods.scrollToID};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.ConfirmButton=(function(document,window){var app,button;app={config:{},events:{onClick:function(evt){if(!app.methods.isValid()){return;}
evt.preventDefault();var el=$(this);var data;app.config.button={};app.config.button.action=el.data('confirm-action')||'submit';app.config.button.type=el.data('confirm-button');if(app.config.button.action==='redirect'){app.config.button.href=el.attr('href')||'';}
data=app.methods.getModalOptions();app.methods.createDialog(data);}},methods:{getConfig:function(){try{return APP.Core.Services.Config.get('ConfirmButton');}catch(err){return{};}},init:function(){button=$('[data-confirm-button]');if(!button.length){return;}
app.methods.create();return true;},getModalOptions:function(){var type=app.config.button.type;var data=(typeof type!=='undefined'&&typeof app.config[type]!=='undefined'?app.config[type]:undefined);var modalData;if(type==='radio_list'){$.each(data,function(k){var selectorId='#'+k;var jqSelector=$(selectorId);var isChecked=jqSelector.prop('checked');if(isChecked&&typeof data[k]!=='undefined'){modalData=data[k];}});}else{modalData=data;}
return modalData;},isValid:function(){return $('.error-message').is(':hidden')===false;},create:function(){$.extend(app.config,app.methods.getConfig());if($.isEmptyObject(app.config)){APP.Core.System.Log.error('[component.confirm-button] Configuration not specified...',app.config);return;}
app.methods.attach();},createDialog:function(modalOptions){if(typeof modalOptions!=='object'){return;}
APP.Core.Components.Modal.create({data:{type:modalOptions.modal,title:modalOptions.title,text:modalOptions.text,animation:true,button:[{text:modalOptions.button.confirm,callback:'confirm','class':'btn btn-default',dismiss:true},{text:modalOptions.button.cancel,'class':'btn btn-secondary',callback:'cancel',dismiss:true}]},callback:{confirm:{type:'click',fn:function(){switch(app.config.button.action){case'submit':app.methods.submitForm();break;case'redirect':window.location.href=app.config.button.href;break;}}},cancel:{type:'click'}}});},submitForm:function(){$('form').trigger('submit');},attach:function(){button.off('click',app.events.onClick).on('click',app.events.onClick);}}};return{init:app.methods.init};}(document,window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.FileInput=(function(window){var app,inputObj;app={events:{eventHandler:function(evt){evt.preventDefault();var jqObject=$(this);var focusClass='focus';var type=evt.type;switch(type){case'focus':jqObject.next('.custom-file-upload').addClass(focusClass);break;case'blur':jqObject.next('.custom-file-upload').removeClass(focusClass);break;case'change':app.methods.appendFileName.call(this);break;}}},methods:{init:function(){inputObj=$('.input-container input[type="file"]');if(!inputObj.length){return;}
app.methods.render();app.methods.attach();return true;},render:function(){inputObj.addClass('maxfilesize');inputObj.each(function(){app.methods.create.call(this);});},create:function(){var parent=$(this).parent();var customInput=$('<div/>',{'class':'custom-file-upload','html':'&nbsp;'});parent.addClass('input-file').append(customInput);},appendFileName:function(){var el=$(this);var inputValue=el.val().split('C:\\fakepath\\').join('');if(!inputValue.length){return;}
el.next('.custom-file-upload').text(inputValue);},attach:function(){inputObj.off('focus blur change',app.events.eventHandler).on('focus blur change',app.events.eventHandler);}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.Form=(function(window){'use strict';var app,jqObj;app={methods:{init:function(){jqObj=$('div[id^="umbraco_form_"]');if(!jqObj.length){return false;}
app.methods.enableCustomValidation();return true;},enableCustomValidation:function(){var isChecking=false;jqObj.on('DOMSubtreeModified',function(){if(isChecking===true||!$('.field-validation-error').is(':visible')){return;}
isChecking=true;setTimeout(function(){var validObj=$('.field-validation-valid');var errorObj=$('.field-validation-error');validObj.prev().removeClass('input-error');errorObj.prev().addClass('input-error');isChecking=false;},0);});}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.Hamburger=(function(window){var app,hamburgerObj,targetId;app={events:{eventHandler:function(evt){switch(evt.type){case'show':hamburgerObj.addClass('hb-active');break;case'hide':hamburgerObj.removeClass('hb-active');break;}}},methods:{init:function(){hamburgerObj=$('.hamburger');targetId=hamburgerObj.parent().data('target');if(!hamburgerObj.length||typeof targetId==='undefined'){return;}
app.methods.attach();return true;},attach:function(){$(targetId).on('show.bs.collapse',app.events.eventHandler);$(targetId).on('hide.bs.collapse',app.events.eventHandler);}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.Hyphenation=(function(window){'use strict';var app,jqObj;app={config:{selector:'.text-hyphenation',lang:'nl',autoload:false,items:[]},methods:{getSelectors:function(){var items=(APP.Core.Util.Array.isArray(app.config.items)?app.config.items:[]);items.push(app.config.selector);return items.join(',');},init:function(){$.extend(app.config,APP.Core.Services.Config.get('Hyphenation'));jqObj=$(app.methods.getSelectors());if(!jqObj.length){return false;}
app.methods.render();return true;},render:function(){if(!$.fn.hyphenate){APP.Core.System.Log.error('[core.components.hyphenation] Dependency not installed:','$.fn.hyphenate');}else{jqObj.hyphenate({lang:app.config.lang,autoload:app.config.autoload});}}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.Map=(function(window){'use strict';var app;var jqObj;var map;var markers=[];var config;var loaded=false;var iconBase='';var activeInfoWindow=null;var mapStyles;app={templates:{getH3:function(c,t){return $('<h3/>',{'class':c,'text':t});},getSpan:function(c,t){return $('<span/>',{'class':c,'text':t});},getImage:function(c,t){return $('<img/>',{'class':c,'src':t,'alt':''});},getLink:function(c,t,v){return $('<a/>',{'class':c,'href':t,'text':(typeof v!=='undefined'?v:t)});}},events:{onResize:function(){app.methods.createBound();var center=map.getCenter();google.maps.event.trigger(map,'resize');map.setCenter(center);}},methods:{init:function(){jqObj=$('#map');if(!jqObj.length){return false;}
config=app.methods.getConfig();if(typeof config.error!=='undefined'){APP.Core.System.Log.error('[core.components.map] Could not instantiate component...',config);return;}
var XHR=$.getJSON(config.baseUrl+'/app/core/components/map.json',function(data){mapStyles=data;});XHR.always(app.methods.bindOnViewport);return true;},getConfig:function(){var i;var mapConfig=APP.Core.Services.Config.get('map')||{};var validKeys=['api_key','markers','pois'];if(!Object.keys(mapConfig).length){return{'error':'Empty object','data':mapConfig};}else{for(i in validKeys){var key=validKeys[i];if(typeof mapConfig[key]==='undefined'){return{'error':'Missing configuration','data':key};}}}
mapConfig.baseUrl=APP.Core.Services.Config.get('baseUrl')||'/Scripts/js/app/core/';return mapConfig;},bindOnViewport:function(){jqObj.inViewport(function(px){if(!px||loaded)return;loaded=true;var file,s;file=document.createElement('script');file.type='text/javascript';file.async=true;file.src='//maps.google.com/maps/api/js?key='+config.api_key;s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(file,s);file.addEventListener('load',app.methods.onLoad);});},onLoad:function(){app.methods.createMap(function(){app.methods.initMarkers();app.methods.attach();});},getIcon:function(t){t=t.toUpperCase()||null;if(!t||config.markers[t]===undefined){return;}
return{url:iconBase+config.markers[t].url??'',size:new google.maps.Size(config.markers[t].size[0],config.markers[t].size[1]),origin:new google.maps.Point(config.markers[t].origin[0],config.markers[t].origin[1]),anchor:new google.maps.Point(config.markers[t].anchor[0],config.markers[t].anchor[1]),scaledSize:new google.maps.Size(config.markers[t].scaledSize[0],config.markers[t].scaledSize[1])};},getLatLng:function(coordinates){return{lat:parseFloat(coordinates.lat),lng:parseFloat(coordinates.lng)};},getDefaultMapConfig:function(){return{center:app.methods.getLatLng(config.pois[0].location)||{},zoom:(config.zoom||15),gestureHandling:(config.gestureHandling||false),draggable:(config.draggable||true),zoomControl:(config.zoomControl||true),zoomControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},disableDefaultUI:(config.disableDefaultUI||true),styles:mapStyles};},createMap:function(cb){var mapConfig=app.methods.getDefaultMapConfig();map=new google.maps.Map(document.getElementById('map'),mapConfig);if(typeof cb==='function'){cb.call();}},createContent:function(data){var key,markerJqObj,routeUrl;markerJqObj=$('<div/>',{'class':'marker-content'});for(key in data){if(data.hasOwnProperty(key)){var fieldObj;switch(key){case'image':if(data[key]){fieldObj=app.templates.getImage(key,data[key]);}
break;case'name':case'title':fieldObj=app.templates.getH3(key,data[key]);break;case'website':case'email':fieldObj=app.templates.getLink(key,data[key]);break;case'routeUrl':routeUrl=data[key];routeUrl+=(data.address.length?data.address:'');routeUrl+=(data.zipcode.length?','+data.zipcode:'');routeUrl+=(data.city.length?' '+data.city:'');fieldObj=app.templates.getLink(key,routeUrl,'Route naar locatie');break;case'url':fieldObj=app.templates.getLink(key,data[key],'Bekijk details');break;case'address':case'zipcode':case'city':fieldObj=app.templates.getSpan(key,data[key]);break;case'type':var title='';switch(data[key]){case'project-nieuwbouw':title='Nieuwbouw';break;case'project-onderhoud':title='Onderhoud';break;case'project-renovatie':title='Renovatie';break;case'project-sloop':title='Sloop';break;case'project-woningverbeteren':title='Woningverbeteren';break;}
fieldObj=app.templates.getSpan(key,title);break;}
if(fieldObj){fieldObj.addClass('field');}
markerJqObj.append(fieldObj);}}
return markerJqObj[0];},createBound:function(){var i;var bound=new google.maps.LatLngBounds();if(markers.length>1){var coordinates;for(i=0;i<markers.length;i++){coordinates=app.methods.getLatLng(markers[i].location);bound.extend(new google.maps.LatLng(coordinates.lat,coordinates.lng));}
if(GLOBAL&&GLOBAL.map&&GLOBAL.map.area1&&GLOBAL.map.area2&&GLOBAL.map.area3){for(i=0;i<GLOBAL.map.area1.length;i++){coordinates=app.methods.getLatLng(GLOBAL.map.area1[i]);bound.extend(new google.maps.LatLng(coordinates.lat,coordinates.lng));}
for(i=0;i<GLOBAL.map.area2.length;i++){coordinates=app.methods.getLatLng(GLOBAL.map.area2[i]);bound.extend(new google.maps.LatLng(coordinates.lat,coordinates.lng));}
for(i=0;i<GLOBAL.map.area3.length;i++){coordinates=app.methods.getLatLng(GLOBAL.map.area3[i]);bound.extend(new google.maps.LatLng(coordinates.lat,coordinates.lng));}}
map.fitBounds(bound);}},initMarkers:function(){var i;for(i=0;i<config.pois.length;i++){var marker,markerConfig,icon,content;if(config.pois[i].type==='Office'){config.pois[i].routeUrl='https://www.google.com/maps/dir/Current+Location/';}
icon=app.methods.getIcon(config.pois[i].type);content=app.methods.createContent(config.pois[i]);if(config.pois[i].type){$(content).addClass('marker-'+config.pois[i].type);}
var coordinates=app.methods.getLatLng(config.pois[i].location);markerConfig={position:new google.maps.LatLng(coordinates.lat,coordinates.lng),map:map};if(icon.url!=='undefined'){markerConfig.icon=icon;}
marker=new google.maps.Marker(markerConfig);marker.location=config.pois[i].location;marker.infoWindow=new google.maps.InfoWindow({content:content});google.maps.event.addListener(marker,'click',app.methods.openInfoWindow);markers.push(marker);if(config.pois.length===1){google.maps.event.trigger(marker,'click');}}
if(GLOBAL&&GLOBAL.map&&GLOBAL.map.area1&&GLOBAL.map.area2&&GLOBAL.map.area3){var everythingElse=[new google.maps.LatLng(0,-90),new google.maps.LatLng(0,90),new google.maps.LatLng(90,-90),new google.maps.LatLng(90,90)];everythingElse.reverse();var area=new google.maps.Polygon({paths:[everythingElse,GLOBAL.map.area1,GLOBAL.map.area2,GLOBAL.map.area3],strokeColor:'#ff8c00',strokeOpacity:1.0,strokeWeight:2,fillColor:'#ffffff',fillOpacity:0.55});area.setMap(map);}
app.methods.createBound();},openInfoWindow:function(){if(this.infoWindow===activeInfoWindow&&this.infoWindow.isOpen){this.infoWindow.close();activeInfoWindow=null;}else{if(activeInfoWindow&&activeInfoWindow!==this.infoWindow){activeInfoWindow.close();}
this.infoWindow.open(map,this);activeInfoWindow=this.infoWindow;}},attach:function(){google.maps.event.addDomListener(window,'resize',app.events.onResize);}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.Modal=(function(window){'use strict';var app;var body=$('body');var config;var jqObject;app={config:{templateUrl:'/assets/js/app/core/components/modal.html'},methods:{isActive:function(){jqObject=$('.modal.'+config.data.type);return jqObject.length;},create:function(o){if(typeof o!=='object'){return;}
config=o;if(app.methods.isActive()){app.methods.render();}else{app.methods.get(function(html){jqObject=$(html);body.prepend(jqObject);app.methods.render();});}},get:function(callback){if(typeof callback==='function'){$.get(app.config.templateUrl,callback);}},render:function(){app.methods.ui.modal();app.methods.ui.closeButton();app.methods.ui.buttons();app.methods.ui.bind.events();app.methods.ui.bind.callbacks();app.methods.open();},ui:{modal:function(){if(config.data.animation===true){jqObject.addClass('fade');}
jqObject.find('.modal-inner').addClass(config.data.type);jqObject.find('.modal-inner > .modal-header > button').html('').hide();jqObject.find('.modal-inner > .modal-footer > ul > li').remove();jqObject.find('h2').text(config.data.title);jqObject.find('p').text(config.data.text);},closeButton:function(){if(typeof config.data.close!=='object'){return;}
var type,content,button;type=config.data.close.type;content=config.data.close.content;button=jqObject.find('.modal-inner > .modal-header > button');if(type==='icon'&&content instanceof jQuery){button.append(content);}
if(type==='text'&&typeof content==='string'){button.text(content);}
button.show();},buttons:function(){if(typeof config.data.button!=='object'){return;}
var ul;var list=[];$.each(config.data.button,function(index,value){if(typeof value!=='object'){return;}
var button,item;button=$('<button/>',{'text':value.text,'data-dismiss':(value.dismiss?'modal':null),'data-callback':value.callback,'class':value.class});item=$('<li/>');item.append(button);list.push(item);});ul=jqObject.find('.modal-footer > ul');ul.append.apply(ul,list);},bind:{events:function(){if(typeof config.events!=='object'){return;}
var evt;for(evt in config.events){if(config.events.hasOwnProperty(evt)&&typeof config.events[evt]==='function'){jqObject.off(evt,config.events[evt]).on(evt,config.events[evt]);}}},callbacks:function(){if(!jqObject.find('button[data-callback]').length){return;}
jqObject.find('button[data-callback]').each(function(){var button,cb;button=$(this);cb=button.data('callback');if(typeof config.callback[cb]==='object'){button.off(config.callback[cb].type,config.callback[cb].fn).on(config.callback[cb].type,config.callback[cb].fn);}});}}},open:function(){jqObject.modal('show');}}};return{create:app.methods.create};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.ResponsiveBgImage=(function(window){'use strict';var el=$('[data-background-image]');var widthSteps=[160,320,480,640,800,960,1120,1280,1440,1600,1760,1920,2080];var images={};var app;app={events:{onResize:function(){app.methods.setImage();}},methods:{init:function(){if(!el.length){return;}
app.methods.checkSlimmageVars();app.methods.setCenter();app.methods.setImage();app.methods.attach();return true;},getImageId:function(bg){var p=bg.split('/');return p[1]+'_'+p[2];},showImage:function(imageId,bg,newWidthStep){var jqObject=$(this);var image=images[imageId];var headerHeight=jqObject.find('.row-header-image').height();var adjustedHeight=(newWidthStep*image.height/image.width);if(adjustedHeight<headerHeight){adjustedHeight=Math.floor(headerHeight*1.5);newWidthStep=Math.floor(newWidthStep*1.5);bg=app.methods.adjustParameter(bg,'width=','width=',newWidthStep);bg=app.methods.adjustParameter(bg,'heightratio=','height=',adjustedHeight);}else if(newWidthStep<=480){newWidthStep=Math.floor(newWidthStep*1.5);bg=app.methods.adjustParameter(bg,'width=','width=',newWidthStep);}else{bg=app.methods.adjustParameter(bg,'width=','width=',newWidthStep);}
$('<img/>').attr('src',bg).on('load',function(e){jqObject.css({'background-image':'url('+bg+')','background-size':'cover'});$(this).remove();});},adjustParameter:function(inputString,param,replaceParam,appendValue){var parts=inputString.split(param);if(parts.length>1){parts[1]=parts[1].substr(parts[1].indexOf('&'));}
return parts.join(replaceParam+appendValue);},setImage:function(){var i;el.each(function(){var newWidthStep=0;var elWidth=$(this).get(0).clientWidth;for(i=0;i<widthSteps.length;i++){if(widthSteps[i]>=elWidth){newWidthStep=widthSteps[i];break;}}
var jqObject=$(this);var bg=jqObject.data('background-image');var imageId=app.methods.getImageId(bg);if(typeof images[imageId]!=='undefined'){app.methods.showImage.call(jqObject[0],imageId,bg,newWidthStep);}else{var data=jqObject.data();images[imageId]={};images[imageId].height=data.imageHeight||1600;images[imageId].width=data.imageWidth||900;app.methods.showImage.call(jqObject[0],imageId,bg,newWidthStep);}});},checkSlimmageVars:function(){el.each(function(){var _this=$(this);var styleString=_this.data('background-image');if(styleString.indexOf('width=')===-1&&styleString.indexOf('height=')===-1){_this.data('background-image',styleString+'?width=2000&quality=90&slimmage=true');}});},setCenter:function(){el.each(function(){var _this=$(this);var styleString=_this.data('background-image');if(!styleString)return;var startIndex=styleString.indexOf('rxy=');var endIndex=styleString.indexOf('&',startIndex);if(startIndex!==-1){startIndex+=4;var str=styleString.substr(startIndex,endIndex-startIndex);if(str==='center'){_this.css('background-position','center center');}else{var pos=str.split(',');if(pos.length===2){var bgy=(pos[0]*100)+'%';var bgx=(pos[1]*100)+'%';_this.css('background-position',bgx+' '+bgy);}}}else{_this.css('background-position','center center');}});},attach:function(){$(window).on('resize orientationChanged',app.events.onResize);}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.Tooltip=(function(window){'use strict';var app,jqObj;app={config:{init:false,trigger:'focus',placement:'top'},methods:{init:function(){$.extend(app.config,APP.Core.Services.Config.get('Tooltip'));jqObj=$('[data-bs-toggle="tooltip"]');if(!jqObj.length){return false;}
app.methods.render();return true;},render:function(){if(!$.fn.tooltip){APP.Core.System.Log.error('[core.components.tooltip] Dependency not installed:','$.fn.tooltip');}else{app.methods.create();}},create:function(){$('[data-bs-toggle="tooltip"]').tooltip();}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.OnAppear=(function(window){'use strict';var app,jqObj;var lastUpdate=0;app={methods:{init:function(){jqObj=$('.on-appear');if(!jqObj.length){return false;}
$(window).on('resize scroll orientationchange',app.methods.update);app.methods.update();setInterval(function(){app.methods.update();},10);return true;},update:function(){jqObj=$('.on-appear').not('.appeared');if(jqObj.length===0)return;var ms=new Date().getTime();if(ms-lastUpdate>100){lastUpdate=ms;var windowBottom=$(window).height()+$(window).scrollTop();jqObj.each(function(){if($(this).offset().top<windowBottom){$(this).addClass('appeared');return false;}});}}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.SlickSlider=(function(window){'use strict';var app,jqObj;app={config:{dots:true,prevArrow:false,nextArrow:false,slidesToShow:1,slidesToScroll:1,speed:300,autoplay:false,autoplaySpeed:7000},methods:{init:function(){$.extend(app.config,APP.Core.Services.Config.get('SlickSlider'));jqObj=$('.slick-slider');if(!jqObj.length){return false;}
app.methods.render();return true;},render:function(){if(!$.fn.slick){APP.Core.System.Log.error('[core.components.slick-slider] Dependency not installed:','$.fn.slick');}else{if(jqObj.hasClass('slick-initialized')){jqObj.slick('unslick');}
jqObj.slick(app.config);jqObj.on('beforeChange',function(){var current=$('.slick-current').find('.youtube-player');if(current){current.html(current.html());if(current.attr('data-background-image')){current.removeClass('visible');}}});}}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.SlickColumnSlider=(function(window){'use strict';var app,jqObj;app={config:{dots:true,prevArrow:false,nextArrow:false,slidesToShow:3,slidesToScroll:1,speed:300,autoplay:true,autoplaySpeed:4000,responsive:[{breakpoint:1000,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},methods:{init:function(){$.extend(app.config,APP.Core.Services.Config.get('SlickColumnSlider'));jqObj=$('.column-slider');if(!jqObj.length){return false;}
app.methods.render();return true;},render:function(){if(!$.fn.slick){APP.Core.System.Log.error('[core.components.slick-column-slider] Dependency not installed:','$.fn.slick');}else{if(jqObj.hasClass('slick-initialized')){jqObj.slick('unslick');}
jqObj.slick(app.config);}}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Components');APP.Core.Components.YoutubePlayer=(function(window){'use strict';var app;var jqObj;app={methods:{init:function(){jqObj=$('[data-plyr-embed-id]');if(!jqObj.length){return false;}
app.methods.bind(function(){app.methods.ready();});return true;},ready:function(){var players=Plyr.setup('.v-player',{title:'video',youtube:{cc_load_policy:1,rel:0,showinfo:0,controls:0,autohide:1,modestbranding:1,noCookie:true,},captions:{active:true,language:'auto'},settings:['captions']});for(var i=0;i<players.length;i++){var poster=players[i].media.dataset.plyrPoster;if(poster){players[i].poster=poster;}}
window.players=players;},bind:function(callback){var script=document.createElement('script');var head=document.getElementsByTagName('head')[0];script.src='/scripts/js/vendor/plyr/dist/plyr.polyfilled.min.js';if(script.readyState){script.onreadystatechange=function(){if(script.readyState==='loaded'||script.readyState==='complete'){script.onreadystatechange=null;callback();}};}else{script.onload=function(){callback();};}
head.appendChild(script);return true;}}};return{init:app.methods.init};}(window));;;
APP.namespace('APP.Core.Services');APP.Core.Services.Config=(function(window){'use strict';var app,config;function getType(d){return APP.Core.Util.Array.isArray(d)?'array':typeof d;}
app={methods:{init:function(){config=$.extend({},window.GLOBAL);app.methods.set('debug',APP.Core.Util.Environment.get()==='development');if(!config.debug){window.GLOBAL=window.GLOBAL||{};}},set:function(key,value){var d=app.methods.get(key);var type=getType(d);var o=config;if(type==='array'){d.push(value);}else{var arr=key.split('.');var length=arr.length-1;for(var i=0;i<length;i++){o=o[arr[i]]={};}
o[arr[length]]=value;}
return o;},get:function(prop){if(typeof prop==='undefined'){return config;}
var p;var o=config;var props=prop.split('.');while(props.length){p=props.shift();o=o[p];if(typeof o==='undefined'){break;}}
return o;}}};return{init:app.methods.init,set:app.methods.set,get:app.methods.get};}(window));;;
APP.namespace('APP.Core.System');APP.Core.System.Autoload=(function(window){'use strict';var app;function capitalize(string){var str=$.camelCase(string);return str[0].toUpperCase()+str.slice(1);}
function getPackages(){return APP.Core.Services.Config.get('autoload');}
function getPackage(prop){if(typeof prop==='undefined'){return;}
var p;var o=APP;var props=prop.split('.');while(props.length){p=props.shift();o=o[capitalize(p)];if(typeof o==='undefined'){break;}}
return o;}
app={methods:{compile:function(){var autoload=getPackages();if(!APP.Core.Util.Array.isArray(autoload))return;app.methods.startAll(autoload);},startAll:function(packages){var i;for(i in packages){if(packages.hasOwnProperty(i)){app.methods.start(packages[i]);}}},start:function(i){var item=getPackage(i);if(typeof item==='undefined'){APP.Core.System.Log.error('[core.autoload.start] Could not start:',i+' [undefined]');}else if(typeof item.init!=='function'){APP.Core.System.Log.error('[core.autoload.start] Could not start:',i+' [init]');}else{if(item.init()){item.active=true;APP.Core.System.Log.trace('['+i+'.init] Instantiate component...');}}}}};return{compile:app.methods.compile,start:app.methods.start};}(window));;;
APP.namespace('APP.Core.System');APP.Core.System.Bootstrap=(function(window){'use strict';var app;app={methods:{getAction:function(){return(APP.Core.Services.Config.get('reload')?'Reload application...':'Run application...');},reload:function(o){o=(typeof o==='object'?o:APP.Core.Services.Config.get());o.reload=true;window.GLOBAL=o;app.methods.run();},run:function(){APP.Core.Services.Config.init();APP.Core.System.Log.trace('[core.system.bootstrap.run] '+app.methods.getAction());APP.Core.System.Autoload.compile();},start:function(type){APP.Core.System.Autoload.start(type);}}};return{run:app.methods.run,reload:app.methods.reload,start:app.methods.start};}(window));;;
APP.namespace('APP.Core.Util');APP.Core.System.Cookie=(function(window){'use strict';var app;function hasCookies(){var dep=typeof window.Cookies==='object';if(!dep){APP.Core.System.Log.error('[core.system.cookie] Error, dependency unavailable...',window.Cookies);}
return dep;}
function getCookieString(name,value){return name+'|'+value;}
app={methods:{set:function(name,value,params){if(!hasCookies())return;var cookieStr=getCookieString(name,(typeof value==='undefined'||!value.length?'null':value));APP.Core.System.Log.info('[core.system.cookie.set] Set cookie data: '+cookieStr);Cookies.set(name,value,params);},get:function(name){if(!hasCookies())return;return Cookies.get(name);}}};return{set:app.methods.set,get:app.methods.get};}(window));;;
APP.namespace('APP.Core');APP.Core.System.Log=(function(window){'use strict';function hasConsole(t){return(typeof window.console!=='undefined'&&typeof window.console[t]!=='undefined');}
function isDebug(t){return(APP.Core.Util.Device.isLowerIE9()!==true&&(APP.Core.Services.Config.get('debug')&&hasConsole(t)));}
function log(t,m,o){if(!isDebug(t))return;var prefix=APP.Core.Util.String.capitalize(t);var data=(typeof o!=='object'?(prefix+': '+m):m);switch(t){case'log':console.log(data);break;case'error':console.error(data,o);break;case'info':console.info(data);break;}}
return{trace:function(m){log('log',m);},error:function(m,o){log('error',m,o);},info:function(m){log('info',m);}};}(window));;;
APP.namespace('APP.Core');APP.Core.System.Observer=(function(window){'use strict';var app;function getName(fn){var v;v=fn.toString();v=v.substr('function '.length);v=v.substr(0,v.indexOf('('));return(v.length?' ('+v+')':'');}
function message(m,t,fn){switch(m){case'on':APP.Core.System.Log.info('[core.system.observer.on] Subscribe event: '+t+getName(fn));break;case'on.error':APP.Core.System.Log.trace('[core.system.observer.on] Could not subscribe event...');break;case'remove':APP.Core.System.Log.info('[core.system.observer.remove] Remove event: '+t);break;case'broadcast':APP.Core.System.Log.info('[core.system.observer.broadcast] Broadcast event: '+t);break;}}
app={subscribers:{},methods:{on:function(type,fn){if(typeof fn!=='function'){message('on.error');}else{var t=type||'any';if(typeof app.subscribers[t]==='undefined'){app.subscribers[t]=[];}
app.subscribers[t].push(fn);message('on',t,fn);}},broadcast:function(type,publication){app.methods.process('publish',type,publication);message('broadcast',type,publication);},remove:function(type,fn){app.methods.process('remove',type,fn);message('remove',type,fn);},process:function(action,type,arg){var pubType=type||'any';var subscribers=app.subscribers[pubType];var i;var max=subscribers?subscribers.length:0;for(i=0;i<max;i+=1){if(action==='publish'){subscribers[i].call(undefined,arg);}else{if(subscribers[i]===arg){subscribers.splice(i,1);}}}}}};return{on:app.methods.on,broadcast:app.methods.broadcast,remove:app.methods.remove};}(window));;;
APP.namespace('APP.Core.Util');APP.Core.Util.Array=(function(window){'use strict';return{isArray:function(obj){return!!obj&&Array===obj.constructor;}};}(window));;;
APP.namespace('APP.Core.Util');APP.Core.Util.Device=(function(window,document){'use strict';var DeviceManager;DeviceManager={isiPad:function(){return(navigator.platform.match(/iPad/i));},isiPod:function(){return(navigator.platform.match(/iPod/i));},isiPhone:function(){return(navigator.platform.match(/iPhone/i));},isMac:function(){return(navigator.platform.match(/Mac/i));},isChrome:function(){return(navigator.userAgent.match(/Chrome/i))?!DeviceManager.isAndroid():false;},isSafari:function(){return(navigator.userAgent.match(/Safari/i))?!DeviceManager.isChrome():false;},isAndroid:function(){return navigator.userAgent.match(/Android/i);},isIE:function(){var ua=navigator.userAgent.toLowerCase();return(ua.indexOf('msie')!==-1)?parseInt(ua.split('msie')[1]):false;},isLowerIE9:function(){return(DeviceManager.isIE()&&DeviceManager.isIE()<=9);},isBlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i);},isiOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i);},iOSVersion:function(){return DeviceManager.isiOS()?navigator.appVersion.match(/OS (.)/i)[1]:0;},isOpera:function(){return navigator.userAgent.match(/Opera Mini/i);},isWindows:function(){return navigator.userAgent.match(/IEMobile/i);},isMobile:function(){var a=navigator.userAgent||navigator.vendor||window.opera;return(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a.toLowerCase()));},isMobileAll:function(){var a=navigator.userAgent||navigator.vendor||window.opera;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(a.toLowerCase().substr(0,4)));},isDesktop:function(){return!DeviceManager.isMobile();}};return DeviceManager;}(window));;;
APP.namespace('APP.Core.Util');APP.Core.Util.Dom=(function(window){'use strict';var app;app={isElement:function(target,array){if(typeof array!=='object'){return;}
var i;var isElement=false;for(i in array){if(array.hasOwnProperty(i)){if(target.is(array[i])){isElement=true;}}}
return isElement;},isEmpty:function(el){return!$.trim(el.html());},inFrame:function(){try{return window.self!==window.top;}catch(e){return true;}}};return{isElement:app.isElement,isEmpty:app.isEmpty,inFrame:app.inFrame,inViewport:app.inViewport};}(window));;;
APP.namespace('APP.Core.Util');APP.Core.Util.Environment=(function(){'use strict';var app;var value='production';app={methods:{get:function(){var i,host,env;host=window.location.host;env=APP.Core.Services.Config.get('environments');for(i=0;i<env.length;i++){var s,r,m;s=env[i].toString();r=new RegExp(s,'gi');m=host.match(r)||undefined;if(typeof m!=='undefined'&&m[0].length){value='development';}}
return value;}}};return{get:app.methods.get};}());;;
APP.namespace('APP.Core.Util');APP.Core.Util.JSON=(function(window){'use strict';var app;function hasJson(){var dep=typeof window.JSON==='object'&&typeof JSON.stringify!=='function';if(!dep){APP.Core.System.Log.error('[core.util.json] Error, dependency unavailable...',window.JSON);}
return dep;}
app={methods:{toObject:function(string){if(!hasJson()||typeof string==='undefined'){return;}
return JSON.parse(string);},toString:function(object){if(!hasJson()||typeof object!=='object'){return;}
return JSON.stringify(object);},getCurrentId:function(currentId,jsonData,field){var i,id;for(i=0;i<jsonData.length;i++){if(jsonData.hasOwnProperty(i)){if(jsonData[i][field]===currentId){id=i;break;}}}
return id;},getNextId:function(currentId,jsonData,field){var i,id,total,nextId;total=jsonData.length-1;for(i=0;i<jsonData.length;i++){if(jsonData.hasOwnProperty(i)){if(jsonData[i][field]===currentId){nextId=i+1;if(nextId<=total){id=nextId;}
break;}}}
return id;},getPreviousId:function(currentId,jsonData,field){var i,id,previousId;for(i=0;i<jsonData.length;i++){if(jsonData.hasOwnProperty(i)){if(jsonData[i][field]===currentId){previousId=i-1;if(previousId>=0){id=previousId;}
break;}}}
return id;}}};return{toObject:app.methods.toObject,toString:app.methods.toString,getCurrentId:app.methods.getCurrentId,getNextId:app.methods.getNextId,getPreviousId:app.methods.getPreviousId};}(window));;;
APP.namespace('APP.Core.Util');APP.Core.Util.Responsive=(function(window){'use strict';var app;app={getWidth:function(){return $('.container').outerWidth();},isMobile:function(){return app.getWidth()<750&&('ontouchstart' in window);},isSmall:function(){return app.getWidth()>=750;},isMedium:function(){return app.getWidth()>=970;}};return{getWidth:app.getWidth,isMobile:app.isMobile,isSmall:app.isSmall,isMedium:app.isMedium};}(window));;;
APP.namespace('APP.Core.Util');APP.Core.Util.String=(function(window){'use strict';var app;app={capitalize:function(t){return t.toString().substring(0,1).toUpperCase()+t.substring(1);}};return{capitalize:app.capitalize};}(window));;;
APP.namespace('APP.Site.Components');APP.Site.Components.Nav=(function(window){'use strict';var app;var searchForm;var button;var input;var searchfocus;app={events:{toggle:function(e){e.preventDefault();e.stopPropagation();if(searchForm.classList.contains('active')){if(!input.value){return;}
searchForm.submit();}else{searchForm.classList.add('active');setTimeout(function(){input.focus();},300);}},remove:function(e){e.stopPropagation();if(searchForm.classList.contains('active')){searchForm.classList.remove('active');}}},methods:{init:function(){searchForm=document.querySelector('.main-menu__search');input=searchForm.querySelector('input#zoek');button=searchForm.querySelector('#searchform button');searchfocus=document.querySelector('.searchfocus');if(!searchForm.length){return false;}
app.methods.bind();return true;},bind:function(){button.addEventListener('touchstart',app.events.toggle);button.addEventListener('click',app.events.toggle);searchfocus.addEventListener('focus',app.events.toggle);searchForm.querySelector('.main-menu__search__close').addEventListener('click',app.events.remove);}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.SubMenu=(function(window){'use strict';var app;app={methods:{init:function(){var el=$('#sub-menu');if(el){el.closest('.column').className+=' d-none d-lg-block';}
return true;}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.Share=(function(window){'use strict';var app,jqObj;app={methods:{init:function(){jqObj=$('[data-share-link]');if(!jqObj.length){return false;}
app.methods.bind();return true;},bind:function(){var url=location.href;$('[data-share-link="twitter"]').attr('href','https://www.twitter.com/home?status='+url);$('[data-share-link="facebook"]').attr('href','https://www.facebook.com/sharer/sharer.php?u='+url);$('[data-share-link="linkedin"]').attr('href','https://www.linkedin.com/shareArticle?mini=true&url='+url);}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.IframeModal=(function(window){'use strict';var template='';template+='<div class="ul-modal loading" role="dialog" aria-labelledby="modal-title" aria-modal="true"><div class="ul-modal--content">';template+='<div class="ul-modal--header"><h2 id="modal-title">{{title}}</h2><a href="" class="ul-modal--close"><div class="icon-svg icon-30 icon-close-white" aria-label="Scherm sluiten">&nbsp;</div></a></div>';template+='<div class="ul-modal--iframe"><iframe src="{{url}}" frameborder="0" onload="APP.Site.Components.IframeModal.onload($(this));">Loading</iframe></div>';template+='</div></div>';var app;app={methods:{onload:function(obj){if(obj){var iframeObj=obj;var h=iframeObj.height();iframeObj.height(h-1);setTimeout(function(){iframeObj.height(h);});$('.ul-modal.loading').removeClass('loading');}},init:function(){$('[data-iframe-modal]').each(function(){var data=$(this).data('iframe-modal');console.log(data.title);$(this).click(function(e){var t=template;t=t.replace('{{title}}',data.title);t=t.replace('{{url}}',data.url);var el=$(t);e.preventDefault();$('body').append(el);$('body').addClass('modal-open');el.find('.ul-modal--close').on('click',function(event){$('body').removeClass('modal-open');event.preventDefault();el.remove();});});});}}};return{init:app.methods.init,onload:app.methods.onload};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.Feedback=(function(window){'use strict';var app,jqObj;app={config:{response:'Bedankt voor je feedback!'},events:{onClick:function(evt){evt.preventDefault();app.methods.handleClick.call(this);}},methods:{init:function(){jqObj=$('[data-feedback-rating]');if(!jqObj.length)return;app.methods.attach();return true;},getRating:function(i){switch(i){case 0:return'Thumbs down';case 1:return'Thumbs up';}
return undefined;},getResponse:function(){return $('<h5/>',{class:'margin-b10',text:app.config.response});},getData:function(el){var data=el.data()||{};var group=(data.feedbackGroup||'').trim();var title=(data.feedbackTitle||'').trim();var id=(data.feedbackId||'').trim();var rating=data.feedbackRating;return{group:group.length?group:null,title:title.length?title:null,id:id.length?'faq-'+id:null,rating:app.methods.getRating(rating)};},handleClick:function(){var el=$(this);var data=app.methods.getData(el);if(!data.group||!data.title||!data.id||typeof data.rating==='undefined'){APP.Core.System.Log.error('[site.components.feedback] Missing data...',data);}else{var response=app.methods.getResponse();GTM.trigger('feedback',{category:'Feedback',action:data.rating,label:data.id,item:data.group+' \xbb '+data.title});el.parent().html(response);}},attach:function(){jqObj.off('click',app.events.onClick).on('click',app.events.onClick);}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.CookieStatement=(function($,window){'use strict';var app,el;function hasDependency(){return(typeof window.CookieConsent!=='undefined');}
app={config:{table:'table.CookieDeclarationTable',cookieBotID:'02d30f59-8e49-414c-b47a-87cc3c295506'},methods:{init:function(){var _this=this;var contentPlaceholder=document.getElementById("cookiestatement");if(contentPlaceholder){var cookieDeclarationScript=document.createElement("script");cookieDeclarationScript.type="text/javascript";cookieDeclarationScript.id="CookiePolicy";cookieDeclarationScript.src="https://consent.cookiebot.com/"+app.config.cookieBotID+"/cd.js";contentPlaceholder.appendChild(cookieDeclarationScript);app.methods.create();}},create:function(){var loader,timer=400;var loader=setInterval(function(){console.log(1);if(!$('body').find(app.config.table)||!hasDependency())return;setTimeout(function(){app.methods.render();},timer);clearInterval(loader);},timer);},getWrapper:function(){return $('<div/>',{'class':'scroll-container'});},render:function(){var wrapper=app.methods.getWrapper();$('body').find(app.config.table).each(function(){$(this).addClass('table table-striped table-small').wrap(wrapper);});}}};return{init:app.methods.init};}(jQuery,window));;;
APP.namespace('APP.Site.Components');APP.Site.Components.Alert=(function(window){'use strict';var button;var alertEl;var app={methods:{init:function(){button=$('.alert-dismissible button.close');if(!button.length){return false;}
app.methods.bind();alertEl=button.closest('.alert-dismissible');alertEl.css('margin-top',-alertEl.outerHeight());return true;},bind:function(){if(APP.Core.System.Cookie.get('dismissedAlert')!=='true'){setTimeout(function(){alertEl.addClass('fade slide show');alertEl.css({'display':'block'});setTimeout(function(){alertEl.css('margin-top',0);});},500);}
button.click(function(e){alertEl.css({'margin-top':-alertEl.outerHeight()});APP.Core.System.Cookie.set('dismissedAlert','true');});}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.SelectSearch=(function(window){'use strict';var app;var forms=$('.select-search');app={events:{},methods:{init:function(){forms.each(function(){var select=this.querySelector('.select-search__input');var submit=this.querySelector('.select-search__button');submit.addEventListener('click',function(e){e.preventDefault();if(select.options.selectedIndex===0){return;}
window.open(select.options[select.options.selectedIndex].value,'_blank');});});}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.ScheduledMaintenance=(function(window){'use strict';var app,formEl;app={data:{liveUrls:[],apiUrlDev:'/umbraco/api/geplandonderhoud/get',apiUrlLive:'//data.ymere.nl/planmatigonderhoud/js/'},methods:{submit:function(e){e.preventDefault();if(!$("#scheduled-maintenance").valid())return;var postcode=document.getElementById('postcode').value;var housenumber=document.getElementById('housenumber').value;var suffix=document.getElementById('suffix').value;var hostName=window.location.hostname;var useDevUrl=app.data.liveUrls.indexOf(hostName)===-1;var url;if(useDevUrl){url=app.data.apiUrlDev;}else{url=app.data.apiUrlLive;}
$.ajax({dataType:'json',url:url,data:{pc:postcode,hn:housenumber,tv:suffix},success:function(data){if(data){app.methods.render(data);}else{app.methods.error(data);}},error:function(data){app.methods.error(data);}});},error:function(data){document.getElementById('scheduled-maintenance-submit').disabled=false;var el=document.querySelector('#scheduled-maintenance-result');if(el){el.innerHTML='<p>Fout bij het ophalen van de gegevens.</p>';}},render:function(data){document.getElementById('scheduled-maintenance-submit').disabled=false;var el=document.querySelector('#scheduled-maintenance-result');if(el&&data){if(data.maintenance_item.length===0){el.innerHTML='<p>Er is geen onderhoudsplanning bekend voor deze woning.</p>';}else{el.innerHTML='';if(data.maintenance_address){el.innerHTML='<h3>Gepland onderhoud voor '+app.methods.htmlEncode(data.maintenance_address)+'</h3>';}
for(var i in data.maintenance_item){var item=data.maintenance_item[i];el.innerHTML+='<div>'+app.methods.htmlEncode(item.maintenance_year)+' - '+app.methods.htmlEncode(item.maintanance_description)+'</div>';}}}},htmlEncode:function(value){return $('<div/>').text(value).html();},init:function(){formEl=document.querySelector('#scheduled-maintenance');if(formEl){formEl.onsubmit=app.methods.submit;}
return true;}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.NeighbourhoodAdministrators=(function(window){'use strict';var app,formEl;app={data:{apiUrl:'/umbraco/api/wijkbeheerder/get'},methods:{submit:function(e){e.preventDefault();if(!$("#neighbourhood-administrators").valid())return;var postcode=formEl.querySelector('#postcode').value;var housenumber=formEl.querySelector('#housenumber').value;var suffix=formEl.querySelector('#suffix').value;$.ajax({dataType:'json',url:app.data.apiUrl,data:{pc:postcode,hn:housenumber,tv:suffix},success:function(data){if(data){app.methods.render(data);}else{app.methods.error(data);}},error:function(data){app.methods.error(data);}});},error:function(data){document.querySelector('#neighbourhood-administrators-submit').disabled=false;var el=document.querySelector('#neighbourhood-administrators-result');if(el){el.innerHTML='<p>Fout bij het ophalen van de gegevens.</p>';}},render:function(data){document.querySelector('#neighbourhood-administrators-submit').disabled=false;var el=document.querySelector('#neighbourhood-administrators-result');el.innerHTML='';if(el&&data){if(Object.keys(data).length===0&&data.constructor===Object){el.innerHTML='';}else{if(data.wijkbeheerder_name){el.innerHTML='<h3> De wijkbeheerder is:</h3> <p>'+app.methods.htmlEncode(data.wijkbeheerder_name)+'</br> '+app.methods.htmlEncode(data.wijkbeheerder_phone)+' </p>';}else{el.innerHTML='<p>Er is geen wijkbeheerder gevonden.</p>';}}}},htmlEncode:function(value){return $('<div/>').text(value).html();},init:function(){formEl=document.querySelector('#neighbourhood-administrators');if(formEl){formEl.onsubmit=app.methods.submit;}
return true;}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.RentCalculator=(function(window){'use strict';var app,formEl;app={methods:{submit:function(e){if(e)e.preventDefault();var inpIncome1=document.getElementById('income_1').value||0;var inpHolidayPay1=document.getElementById('holiday_pay_1').value||0;var inp13thMonth1=document.getElementById('13th_month_1').checked;var totalRent=app.methods.getMaxRent(inpIncome1,inpHolidayPay1,inp13thMonth1);var income2Expanded=document.getElementById('collapse-income-partner').className==='collapse show';if(income2Expanded){var inpIncome2=document.getElementById('income_2').value||0;var inpHolidayPay2=document.getElementById('holiday_pay_2').value||0;var inp13thMonth2=document.getElementById('13th_month_2').checked;totalRent+=app.methods.getMaxRent(inpIncome2,inpHolidayPay2,inp13thMonth2);}
app.methods.render(totalRent);},inputToNumber:function(v){return parseFloat(v.toString().replace(',','.'));},getMaxRent:function(pIncome,pHolidayPay,p13thMonth){var valIncome=app.methods.inputToNumber(pIncome);var valHolydayPay=(valIncome/100)*app.methods.inputToNumber(pHolidayPay);var maxRent=(valIncome/4)+(valHolydayPay/4);if(p13thMonth===true)maxRent+=(valIncome/48);return maxRent;},calculateMaxRent:function(pIncome){return((pIncome/12)/4);},render:function(maxRent){var el=document.querySelector('#rent-calculator-result');if(isNaN(maxRent)){el.innerHTML='';el.style.display='none';}else{maxRent=Math.floor(maxRent);el.innerHTML='<span class="h4 float-left">Maximale huur:</span><span class="h2"> &euro;'+maxRent+' </span><span class="h4">p/m</span></p>';if(maxRent>710){el.innerHTML+='<p><a class="btn btn-secondary" href="https://aanbod.ymere.nl/aanbod/huurwoningen/#?gesorteerd-op=maxhuurprijs%2B&huurprijs=0&huurprijs='+maxRent+'">Toon woningen</a></p>';}
el.style.display='block';}},htmlEncode:function(value){return $('<div/>').text(value).html();},init:function(){formEl=document.querySelector('#rent-calculator');if(formEl){$(formEl).on('input',function(){app.methods.submit();});var el=document.querySelector('#rent-calculator-result');if(el){el.style.display='none';}}
return true;}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.SearchFilter=(function(window){'use strict';var app;app={methods:{init:function(){$('#searchFilter input[type="radio"]').on('change',function(e){$('#searchCategory').submit();});return true;}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');APP.Site.Components.ShareVacancy=(function(window){'use strict';var app;var services=[{name:'facebook',el:''},{name:'linkedin',el:''},{name:'twitter',el:''},{name:'whatsapp',el:''}];app={methods:{init:function(){var hasShareButtons=true;for(var i=0;i<services.length;i++){var service=services[i];var id='[data-vacancy-share='+service.name+']';var el=document.querySelector(id);if(!el){hasShareButtons=false;return;}else{service.el=el;}}
if(!hasShareButtons)return;app.methods.setUrls(services);return true;},setUrls:function(services){for(var i=0;i<services.length;i++){var service=services[i];var el=service.el;var currentLocation=encodeURIComponent(window.location.href);var referrer;switch(service.name){case'facebook':referrer='https://www.facebook.com/sharer/sharer.php?u=';break;case'linkedin':referrer='https://www.linkedin.com/shareArticle?mini=true&url=';break;case'twitter':referrer='https://twitter.com/intent/tweet?url=';break;case'whatsapp':referrer='https://api.whatsapp.com/send?text=';break;}
el.setAttribute('href',referrer+currentLocation);}}}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');window.rsConf={general:{usePost:true},ui:{tools:{dictionary:false}}};APP.Site.Components.Readspeaker=(function(window){'use strict';var app,rsButton,rsControls;app={methods:{init:function(){rsButton=$('#readspeaker_button1');rsControls=$('.readspeaker_fixed');if(!rsButton.length||!rsControls.length){return false;}
var h1=$('h1:visible').first();if(h1.length){rsButton.removeClass('rs-home');var parent=h1.parent();if(parent.hasClass('d-flex')){rsButton.insertAfter(parent);}else{rsButton.insertAfter(h1);}
rsButton.css({display:'inline-block'})
rsButton.removeClass('rs-home');rsControls.insertAfter(rsButton);}
rsButton.show();return true;},}};return{init:app.methods.init};})(window);;;
APP.namespace('APP.Site.Components');var HS={};HS.web_site_id=7185;HS.api_token='43B332C83063441D818384C64784D2C7';APP.Site.Components.Ubeeo=(function(){'use strict';var app={methods:{init:function(){var vacancyId=$('[data-ul-vacancy-id]').data('ul-vacancy-id');var platformArea=$('.hs_platform_area');if(vacancyId||platformArea.length){var s=document.createElement('script');s.type='text/javascript';s.src='//platform.hireserve.nl/incl/js/hireserve_api.js';document.head.appendChild(s);if(vacancyId){s=document.createElement('script');s.type='HIRESERVE/Apply';s.dataset.web_page_id=vacancyId;document.head.appendChild(s);}
s=document.createElement('link');s.type='text/css';s.rel='stylesheet';s.href='//platform.hireserve.nl/incl/css/hs_apply.css';document.head.appendChild(s);}
return true;}}};return{init:app.methods.init};}());;;
(function(window){'use strict';var GLOBAL=window.GLOBAL||{};GLOBAL.environments=['.windev4','.preview','.local','localhost'];GLOBAL.autoload=['core.components.confirm-button','core.components.file-input','core.components.form','core.components.hamburger','core.components.hyphenation','core.components.map','core.components.responsive-bg-image','core.components.tooltip','core.components.slick-slider','core.components.slick-column-slider','core.components.on-appear','core.components.youtube-player','site.components.nav','site.components.sub-menu','site.components.share','site.components.iframe-modal','site.components.feedback','site.components.cookie-statement','site.components.alert','site.components.select-search','site.components.scheduled-maintenance','site.components.neighbourhood-administrators','site.components.rent-calculator','site.components.search-filter','site.components.share-vacancy','site.components.readspeaker','site.components.ubeeo'];})(window);;;
(function(window,document){window.onPageLoad=function(){APP.Core.System.Bootstrap.reload();};$(document).ready(function(){APP.Core.System.Bootstrap.run();});})(window,document);;;
