/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[229],{1e3:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return f}));var r=n(1094),o={};function c(){return Object(r.b)()?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function f(t,e,n){var r=n||c(),o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}}).call(this,n(21))},1030:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},1073:function(t,e,n){"use strict";n.d(e,"e",(function(){return l})),n.d(e,"a",(function(){return d})),n.d(e,"g",(function(){return h})),n.d(e,"f",(function(){return v})),n.d(e,"h",(function(){return y})),n.d(e,"b",(function(){return _})),n.d(e,"d",(function(){return E})),n.d(e,"c",(function(){return j}));var r=n(977),o=n(1191),c=n(998),f=n(1095);function l(source,t,e){if(t in source){var n=source[t],r=e(n);if("function"==typeof r)try{h(r,n)}catch(t){}source[t]=r}}function d(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function h(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,d(t,"__sentry_original__",e)}function v(t){return t.__sentry_original__}function y(object){return Object.keys(object).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(object[t])})).join("&")}function _(t){var e=t;if(Object(c.d)(t))e=Object(r.a)({message:t.message,name:t.name,stack:t.stack},O(t));else if(Object(c.f)(t)){var n=t;e=Object(r.a)({type:n.type,target:m(n.target),currentTarget:m(n.currentTarget)},O(n)),"undefined"!=typeof CustomEvent&&Object(c.g)(t,CustomEvent)&&(e.detail=n.detail)}return e}function m(t){try{return Object(c.c)(t)?Object(o.b)(t):Object.prototype.toString.call(t)}catch(t){return""}}function O(t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function E(t,e){void 0===e&&(e=40);var n=Object.keys(_(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(f.d)(n[0],e);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:Object(f.d)(o,e)}return""}function j(t){var e,n;if(Object(c.i)(t)){var o={};try{for(var f=Object(r.e)(Object.keys(t)),l=f.next();!l.done;l=f.next()){var d=l.value;void 0!==t[d]&&(o[d]=j(t[d]))}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=f.return)&&n.call(f)}finally{if(e)throw e.error}}return o}return Array.isArray(t)?t.map(j):t}},1093:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},1094:function(t,e,n){"use strict";(function(t,r){n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return f}));var o=n(1190);function c(){return!Object(o.a)()&&"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function f(t,e){return t.require(e)}}).call(this,n(330),n(1093)(t))},1095:function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return l}));var r=n(998);function o(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function c(line,t){var e=line,n=e.length;if(n<=150)return e;t>n&&(t=n);var r=Math.max(t-60,0);r<5&&(r=0);var o=Math.min(r+140,n);return o>n-5&&(o=n),o===n&&(r=Math.max(o-140,0)),e=e.slice(r,o),r>0&&(e="'{snip} "+e),o1&&c+3*r.length+l.length>=80);)r.push(l),c+=l.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return""}}function f(t,e){var n,r,c,f,i,l=t,d=[];if(!l||!l.tagName)return"";d.push(l.tagName.toLowerCase());var h=e&&e.length?e.filter((function(t){return l.getAttribute(t)})).map((function(t){return[t,l.getAttribute(t)]})):null;if(h&&h.length)h.forEach((function(t){d.push("["+t[0]+'="'+t[1]+'"]')}));else if(l.id&&d.push("#"+l.id),(n=l.className)&&Object(o.l)(n))for(r=n.split(/\s+/),i=0;i=43)}})).catch((function(){return!1}))}function T(t){return"boolean"==typeof E?h.resolve(E):I(t).then((function(t){return E=t}))}function R(t){var e=j[t.name],n={};n.promise=new h((function(t,e){n.resolve=t,n.reject=e})),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then((function(){return n.promise})):e.dbReady=n.promise}function N(t){var e=j[t.name].deferredOperations.pop();if(e)return e.resolve(),e.promise}function D(t,e){var n=j[t.name].deferredOperations.pop();if(n)return n.reject(e),n.promise}function A(t,e){return new h((function(n,r){if(j[t.name]=j[t.name]||$(),t.db){if(!e)return n(t.db);R(t),t.db.close()}var o=[t.name];e&&o.push(t.version);var c=f.open.apply(f,o);e&&(c.onupgradeneeded=function(e){var n=c.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(O)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),c.onerror=function(t){t.preventDefault(),r(c.error)},c.onsuccess=function(){var e=c.result;e.onversionchange=function(t){t.target.close()},n(e),N(t)}}))}function C(t){return A(t,!1)}function P(t){return A(t,!0)}function L(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),r=t.versiont.db.version;if(r&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),o||n){if(n){var c=t.db.version+1;c>t.version&&(t.version=c)}return!0}return!1}function M(t){return new h((function(e,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:t.type})},r.readAsBinaryString(t)}))}function B(t){return d([k(atob(t.data))],{type:t.type})}function U(t){return t&&t.__local_forage_encoded_blob}function F(t){var e=this,n=e._initReady().then((function(){var t=j[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return y(n,t,t),n}function z(t){R(t);for(var e=j[t.name],n=e.forages,i=0;i0&&(!t.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return h.resolve().then((function(){if(!t.db||"NotFoundError"===o.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),P(t)})).then((function(){return z(t).then((function(){H(t,e,n,r-1)}))})).catch(n);n(o)}}function $(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function W(t){var e=this,n={db:null};if(t)for(var i in t)n[i]=t[i];var r=j[n.name];r||(r=$(),j[n.name]=r),r.forages.push(e),e._initReady||(e._initReady=e.ready,e.ready=F);var o=[];function c(){return h.resolve()}for(var f=0;f>4,d[p++]=(15&n)<<4|r>>2,d[p++]=(3&r)<<6|63&o;return l}function wt(t){var i,e=new Uint8Array(t),n="";for(i=0;i>2],n+=ot[(3&e[i])<<4|e[i+1]>>4],n+=ot[(15&e[i+1])<<2|e[i+2]>>6],n+=ot[63&e[i+2]];return e.length%3==2?n=n.substring(0,n.length-1)+"=":e.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}function St(t,e){var n="";if(t&&(n=Et.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===Et.call(t.buffer))){var r,marker=st;t instanceof ArrayBuffer?(r=t,marker+=ut):(r=t.buffer,"[object Int8Array]"===n?marker+=lt:"[object Uint8Array]"===n?marker+=pt:"[object Uint8ClampedArray]"===n?marker+=ht:"[object Int16Array]"===n?marker+=vt:"[object Uint16Array]"===n?marker+=gt:"[object Int32Array]"===n?marker+=yt:"[object Uint32Array]"===n?marker+=_t:"[object Float32Array]"===n?marker+=bt:"[object Float64Array]"===n?marker+=mt:e(new Error("Failed to get type for BinaryArray"))),e(marker+wt(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=it+t.type+"~"+wt(this.result);e(st+ft+n)},o.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(n){console.error("Couldn't convert value into a JSON string: ",t),e(null,n)}}function xt(t){if(t.substring(0,ct)!==st)return JSON.parse(t);var e,n=t.substring(Ot),r=t.substring(ct,Ot);if(r===ft&&at.test(n)){var o=n.match(at);e=o[1],n=n.substring(o[0].length)}var c=jt(n);switch(r){case ut:return c;case ft:return d([c],{type:e});case lt:return new Int8Array(c);case pt:return new Uint8Array(c);case ht:return new Uint8ClampedArray(c);case vt:return new Int16Array(c);case gt:return new Uint16Array(c);case yt:return new Int32Array(c);case _t:return new Uint32Array(c);case bt:return new Float32Array(c);case mt:return new Float64Array(c);default:throw new Error("Unkown type: "+r)}}var kt={serialize:St,deserialize:xt,stringToBuffer:jt,bufferToString:wt};function It(t,e,n,r){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function Tt(t){var e=this,n={db:null};if(t)for(var i in t)n[i]="string"!=typeof t[i]?t[i].toString():t[i];var r=new h((function(t,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(t){return r(t)}n.db.transaction((function(o){It(o,n,(function(){e._dbInfo=n,t()}),(function(t,e){r(e)}))}),r)}));return n.serializer=kt,r}function Rt(t,e,n,r,o,c){t.executeSql(n,r,o,(function(t,f){f.code===f.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],(function(t,l){l.rows.length?c(t,f):It(t,e,(function(){t.executeSql(n,r,o,c)}),c)}),c):c(t,f)}),c)}function Nt(t,e){var n=this;t=_(t);var r=new h((function(e,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Rt(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),e(r)}),(function(t,e){r(e)}))}))})).catch(r)}));return v(r,e),r}function Dt(t,e){var n=this,r=new h((function(e,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Rt(n,o,"SELECT * FROM "+o.storeName,[],(function(n,r){for(var c=r.rows,f=c.length,i=0;i0)return void c(At.apply(o,[t,l,n,r-1]));f(e)}}))}))})).catch(f)}));return v(c,n),c}function Ct(t,e,n){return At.apply(this,[t,e,n,1])}function Pt(t,e){var n=this;t=_(t);var r=new h((function(e,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Rt(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[t],(function(){e()}),(function(t,e){r(e)}))}))})).catch(r)}));return v(r,e),r}function Lt(t){var e=this,n=new h((function(t,n){e.ready().then((function(){var r=e._dbInfo;r.db.transaction((function(e){Rt(e,r,"DELETE FROM "+r.storeName,[],(function(){t()}),(function(t,e){n(e)}))}))})).catch(n)}));return v(n,t),n}function Mt(t){var e=this,n=new h((function(t,n){e.ready().then((function(){var r=e._dbInfo;r.db.transaction((function(e){Rt(e,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(e,n){var r=n.rows.item(0).c;t(r)}),(function(t,e){n(e)}))}))})).catch(n)}));return v(n,t),n}function Bt(t,e){var n=this,r=new h((function(e,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Rt(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,n){var r=n.rows.length?n.rows.item(0).key:null;e(r)}),(function(t,e){r(e)}))}))})).catch(r)}));return v(r,e),r}function Ut(t){var e=this,n=new h((function(t,n){e.ready().then((function(){var r=e._dbInfo;r.db.transaction((function(e){Rt(e,r,"SELECT key FROM "+r.storeName,[],(function(e,n){for(var r=[],i=0;i '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var o=[],i=0;i0}function Vt(t){var e=this,n={};if(t)for(var i in t)n[i]=t[i];return n.keyPrefix=$t(t,e._defaultConfig),Yt()?(e._dbInfo=n,n.serializer=kt,h.resolve()):h.reject()}function Jt(t){var e=this,n=e.ready().then((function(){for(var t=e._dbInfo.keyPrefix,i=localStorage.length-1;i>=0;i--){var n=localStorage.key(i);0===n.indexOf(t)&&localStorage.removeItem(n)}}));return v(n,t),n}function Kt(t,e){var n=this;t=_(t);var r=n.ready().then((function(){var e=n._dbInfo,r=localStorage.getItem(e.keyPrefix+t);return r&&(r=e.serializer.deserialize(r)),r}));return v(r,e),r}function Gt(t,e){var n=this,r=n.ready().then((function(){for(var e=n._dbInfo,r=e.keyPrefix,o=r.length,c=localStorage.length,f=1,i=0;i=0;i--){var e=localStorage.key(i);0===e.indexOf(t)&&localStorage.removeItem(e)}})):h.reject("Invalid arguments"),v(r,e),r}var re={_driver:"localStorageWrapper",_initStorage:Vt,_support:Ht(),iterate:Gt,getItem:Kt,setItem:ee,removeItem:te,clear:Jt,length:Zt,key:Xt,keys:Qt,dropInstance:ne},oe=function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)},ie=function(t,e){for(var n=t.length,i=0;i":n||""}function v(t,e,n){var r=t.exception=t.exception||{},o=r.values=r.values||[],c=o[0]=o[0]||{};c.value||(c.value=e||""),c.type||(c.type=n||"Error")}function y(t,e){var n=d(t);if(n){var o=n.mechanism;if(n.mechanism=Object(r.a)(Object(r.a)(Object(r.a)({},{type:"generic",handled:!0}),o),e),e&&"data"in e){var c=Object(r.a)(Object(r.a)({},o&&o.data),e.data);n.mechanism.data=c}}}function _(t){if(t&&t.__sentry_captured__)return!0;try{Object(c.a)(t,"__sentry_captured__",!0)}catch(t){}return!1}},1204:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var r=n(977),o=n(998),c=n(1192),f=n(1073),l=n(1097);function d(input,t,e){void 0===t&&(t=1/0),void 0===e&&(e=1/0);try{return v("",input,t,e)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}function h(object,t,e){void 0===t&&(t=3),void 0===e&&(e=102400);var n,r=d(object,t);return n=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(n))>e?h(object,t-1,e):r}function v(e,n,d,h,y){void 0===d&&(d=1/0),void 0===h&&(h=1/0),void 0===y&&(y=Object(c.a)());var _=Object(r.c)(y,2),m=_[0],O=_[1],E=n;if(E&&"function"==typeof E.toJSON)try{return E.toJSON()}catch(t){}if(null===n||["number","boolean","string"].includes(typeof n)&&!Object(o.h)(n))return n;var j=function(e,n){try{return"domain"===e&&n&&"object"==typeof n&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==t&&n===t?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":Object(o.m)(n)?"[SyntheticEvent]":"number"==typeof n&&n!=n?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+Object(l.b)(n)+"]":"symbol"==typeof n?"["+String(n)+"]":"bigint"==typeof n?"[BigInt: "+String(n)+"]":"[object "+Object.getPrototypeOf(n).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(e,n);if(!j.startsWith("[object "))return j;if(0===d)return j.replace("object ","");if(m(n))return"[Circular ~]";var w=Array.isArray(n)?[]:{},S=0,x=Object(o.d)(n)||Object(o.f)(n)?Object(f.b)(n):n;for(var k in x)if(Object.prototype.hasOwnProperty.call(x,k)){if(S>=h){w[k]="[MaxProperties ~]";break}var I=x[k];w[k]=v(k,I,d-1,h,y),S+=1}return O(n),w}}).call(this,n(21))},1205:function(t,e,n){(function(t,n){var r="__lodash_hash_undefined__",o=9007199254740991,c="[object Arguments]",f="[object AsyncFunction]",l="[object Function]",d="[object GeneratorFunction]",h="[object Null]",v="[object Object]",y="[object Proxy]",_="[object Undefined]",m=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,E={};E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E[c]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object Boolean]"]=E["[object DataView]"]=E["[object Date]"]=E["[object Error]"]=E[l]=E["[object Map]"]=E["[object Number]"]=E[v]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object WeakMap]"]=!1;var j="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,S=j||w||Function("return this")(),x=e&&!e.nodeType&&e,k=x&&"object"==typeof n&&n&&!n.nodeType&&n,I=k&&k.exports===x,T=I&&j.process,R=function(){try{var t=k&&k.require&&k.require("util").types;return t||T&&T.binding&&T.binding("util")}catch(t){}}(),N=R&&R.isTypedArray;var D,A,C,P=Array.prototype,L=Function.prototype,M=Object.prototype,B=S["__core-js_shared__"],U=L.toString,F=M.hasOwnProperty,z=(D=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",H=M.toString,$=U.call(Object),W=RegExp("^"+U.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y=I?S.Buffer:void 0,V=S.Symbol,J=S.Uint8Array,K=Y?Y.allocUnsafe:void 0,G=(A=Object.getPrototypeOf,C=Object,function(t){return A(C(t))}),X=Object.create,Q=M.propertyIsEnumerable,Z=P.splice,tt=V?V.toStringTag:void 0,et=function(){try{var t=Tt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),nt=Y?Y.isBuffer:void 0,ot=Math.max,it=Date.now,at=Tt(S,"Map"),st=Tt(Object,"create"),ct=function(){function object(){}return function(t){if(!Ft(t))return{};if(X)return X(t);object.prototype=t;var e=new object;return object.prototype=void 0,e}}();function ut(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},ft.prototype.set=function(t,e){var data=this.__data__,n=gt(data,t);return n<0?(++this.size,data.push([t,e])):data[n][1]=e,this},lt.prototype.clear=function(){this.size=0,this.__data__={hash:new ut,map:new(at||ft),string:new ut}},lt.prototype.delete=function(t){var e=It(this,t).delete(t);return this.size-=e?1:0,e},lt.prototype.get=function(t){return It(this,t).get(t)},lt.prototype.has=function(t){return It(this,t).has(t)},lt.prototype.set=function(t,e){var data=It(this,t),n=data.size;return data.set(t,e),this.size+=data.size==n?0:1,this},pt.prototype.clear=function(){this.__data__=new ft,this.size=0},pt.prototype.delete=function(t){var data=this.__data__,e=data.delete(t);return this.size=data.size,e},pt.prototype.get=function(t){return this.__data__.get(t)},pt.prototype.has=function(t){return this.__data__.has(t)},pt.prototype.set=function(t,e){var data=this.__data__;if(data instanceof ft){var n=data.__data__;if(!at||n.length<199)return n.push([t,e]),this.size=++data.size,this;data=this.__data__=new lt(n)}return data.set(t,e),this.size=data.size,this};var bt,mt=function(object,t,e){for(var n=-1,r=Object(object),o=e(object),c=o.length;c--;){var f=o[bt?c:++n];if(!1===t(r[f],f,r))break}return object};function Ot(t){return null==t?void 0===t?_:h:tt&&tt in Object(t)?function(t){var e=F.call(t,tt),n=t[tt];try{t[tt]=void 0;var r=!0}catch(t){}var o=H.call(t);r&&(e?t[tt]=n:delete t[tt]);return o}(t):function(t){return H.call(t)}(t)}function Et(t){return zt(t)&&Ot(t)==c}function jt(t){return!(!Ft(t)||function(t){return!!z&&z in t}(t))&&(Ut(t)?W:m).test(function(t){if(null!=t){try{return U.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function wt(object){if(!Ft(object))return function(object){var t=[];if(null!=object)for(var e in Object(object))t.push(e);return t}(object);var t=Nt(object),e=[];for(var n in object)("constructor"!=n||!t&&F.call(object,n))&&e.push(n);return e}function St(object,source,t,e,n){object!==source&&mt(source,(function(r,o){if(n||(n=new pt),Ft(r))!function(object,source,t,e,n,r,o){var c=Dt(object,t),f=Dt(source,t),l=o.get(f);if(l)return void vt(object,t,l);var d=r?r(c,f,t+"",object,source,o):void 0,h=void 0===d;if(h){var y=Lt(f),_=!y&&Bt(f),m=!y&&!_&&Ht(f);d=f,y||_||m?Lt(c)?d=c:zt(S=c)&&Mt(S)?d=function(source,t){var e=-1,n=source.length;t||(t=Array(n));for(;++e-1&&t%1==0&&t0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(kt);function Ct(t,e){return t===e||t!=t&&e!=e}var Pt=Et(function(){return arguments}())?Et:function(t){return zt(t)&&F.call(t,"callee")&&!Q.call(t,"callee")},Lt=Array.isArray;function Mt(t){return null!=t&&qt(t.length)&&!Ut(t)}var Bt=nt||function(){return!1};function Ut(t){if(!Ft(t))return!1;var e=Ot(t);return e==l||e==d||e==f||e==y}function qt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function Ft(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function zt(t){return null!=t&&"object"==typeof t}var Ht=N?function(t){return function(e){return t(e)}}(N):function(t){return zt(t)&&qt(t.length)&&!!E[Ot(t)]};function $t(object){return Mt(object)?ht(object,!0):wt(object)}var Wt,Yt=(Wt=function(object,source,t,e){St(object,source,t,e)},xt((function(object,t){var e=-1,n=t.length,r=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(r=Wt.length>3&&"function"==typeof r?(n--,r):void 0,o&&function(t,e,object){if(!Ft(object))return!1;var n=typeof e;return!!("number"==n?Mt(object)&&Rt(e,object.length):"string"==n&&e in object)&&Ct(object[e],t)}(t[0],t[1],o)&&(r=n<3?void 0:r,n=1),object=Object(object);++e0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function v(){for(var t=[],i=0;i0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function O(){for(var t=[],i=0;i0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(O(I(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=_(_({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,r){var o=this;return void 0===r&&(r=0),new S((function(c,f){var l=t[r];if(null===e||"function"!=typeof l)c(e);else{var d=l(_({},e),n);Object(E.n)(d)?d.then((function(e){return o._notifyEventProcessors(t,e,n,r+1).then(c)})).then(null,f):o._notifyEventProcessors(t,d,n,r+1).then(c).then(null,f)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function I(){return Object(x.b)("globalEventProcessors",(function(){return[]}))}function T(t){I().push(t)}var R=function(){return R=Object.assign||function(t){for(var s,i=1,e=arguments.length;i0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function D(){for(var t=[],i=0;i=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return Object(object.c)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),B=4,U=function(){function t(t,e,n){void 0===e&&(e=new k),void 0===n&&(n=B),this._version=n,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function lt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),c=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function pt(){for(var t=[],i=0;i1&&(path=y.slice(0,-1).join("/"),v=y.pop()),v){var _=v.match(/^\d+/);_&&(v=_[0])}return mt({host:l,pass:f,path:path,projectId:v,port:h,protocol:r,publicKey:o})}(t):mt(t);return function(t){if(gt.a){var e=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(component){if(!t[component])throw new yt("Invalid Sentry Dsn: "+component+" missing")})),!n.match(/^\d+$/))throw new yt("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new yt("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new yt("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var Et=n(1204),jt=n(1095),wt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,St=[];function xt(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function kt(t){var e={};return function(t){var e=t.defaultIntegrations&&pt(t.defaultIntegrations)||[],n=t.integrations,r=pt(xt(e));Array.isArray(n)?r=pt(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),xt(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(i){return i.name})),c="Debug";return-1!==o.indexOf(c)&&r.push.apply(r,pt(r.splice(o.indexOf(c),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===St.indexOf(t.name)&&(t.setupOnce(T,H),St.push(t.name),wt&&C.c.log("Integration installed: "+t.name))}(t)})),Object(object.a)(e,"initialized",!0),e}var It="Not capturing exception because it's already been captured.",Tt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=Ot(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!Object(A.c)(t)){var o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)})).then((function(t){o=t}))),o}wt&&C.c.log(It)},t.prototype.captureMessage=function(t,e,n,r){var o=this,c=n&&n.event_id,f=Object(E.j)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(f.then((function(t){return o._captureEvent(t,n,r)})).then((function(t){c=t}))),c},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&Object(A.c)(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}wt&&C.c.log(It)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?wt&&C.c.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):wt&&C.c.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then((function(n){return e.getTransport().close(t).then((function(t){return n&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=kt(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return wt&&C.c.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,o=!1,c=!1,f=e.exception&&e.exception.values;if(f){c=!0;try{for(var l=ft(f),d=l.next();!d.done;d=l.next()){var h=d.value.mechanism;if(h&&!1===h.handled){o=!0;break}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}var v="ok"===t.status;(v&&0===t.errors||v&&o)&&(t.update(ut(ut({},o&&{status:"crashed"}),{errors:t.errors||Number(c||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new S((function(n){var r=0,o=setInterval((function(){0==e._numProcessing?(clearInterval(o),n(!0)):(r+=1,t&&r>=t&&(clearInterval(o),n(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions(),c=o.normalizeDepth,f=void 0===c?3:c,l=o.normalizeMaxBreadth,d=void 0===l?1e3:l,h=ut(ut({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:Object(A.f)()),timestamp:t.timestamp||Object(time.a)()});this._applyClientOptions(h),this._applyIntegrationsMetadata(h);var v=e;n&&n.captureContext&&(v=k.clone(v).update(n.captureContext));var y=j(h);return v&&(y=v.applyToEvent(h,n)),y.then((function(t){return t&&(t.sdkProcessingMetadata=ut(ut({},t.sdkProcessingMetadata),{normalizeDepth:Object(Et.a)(f)+" ("+typeof f+")"})),"number"==typeof f&&f>0?r._normalizeEvent(t,f,d):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var r=ut(ut(ut(ut(ut({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(b){return ut(ut({},b),b.data&&{data:Object(Et.a)(b.data,e,n)})}))}),t.user&&{user:Object(Et.a)(t.user,e,n)}),t.contexts&&{contexts:Object(Et.a)(t.contexts,e,n)}),t.extra&&{extra:Object(Et.a)(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r.sdkProcessingMetadata=ut(ut({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,c=e.maxValueLength,f=void 0===c?250:c;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=Object(jt.d)(t.message,f));var l=t.exception&&t.exception.values&&t.exception.values[0];l&&l.value&&(l.value=Object(jt.d)(l.value,f));var d=t.request;d&&d.url&&(d.url=Object(jt.d)(d.url,f))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=pt(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){wt&&C.c.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),c=o.beforeSend,f=o.sampleRate,l=this.getTransport();function d(t,e){l.recordLostEvent&&l.recordLostEvent(t,e)}if(!this._isEnabled())return w(new yt("SDK not enabled, will not capture event."));var h="transaction"===t.type;return!h&&"number"==typeof f&&Math.random()>f?(d("sample_rate","event"),w(new yt("Discarding event because it's not included in the random sample (sampling rate = "+f+")"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throw d("event_processor",t.type||"event"),new yt("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||h||!c?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(Object(E.n)(t))return t.then((function(t){if(!Object(E.i)(t)&&null!==t)throw new yt(e);return t}),(function(t){throw new yt("beforeSend rejected with "+t)}));if(!Object(E.i)(t)&&null!==t)throw new yt(e);return t}(c(n,e))})).then((function(e){if(null===e)throw d("before_send",t.type||"event"),new yt("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession&&n.getSession();return!h&&o&&r._updateSessionFromEvent(o,e),r._sendEvent(e),e})).then(null,(function(t){if(t instanceof yt)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new yt("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then((function(t){return e._numProcessing-=1,t}),(function(t){return e._numProcessing-=1,t}))},t}();var Rt="7";!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=Ot(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return Dt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return Pt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return Lt(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return Mt(this._dsnObject,this._tunnel)}}();function Nt(t,e,n){return{initDsn:t,metadata:e||{},dsn:Ot(t),tunnel:n}}function Dt(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function At(t,e){return""+Dt(t)+t.projectId+"/"+e+"/"}function Ct(t){return Object(object.h)({sentry_key:t.publicKey,sentry_version:Rt})}function Pt(t){return At(t,"store")}function Lt(t){return Pt(t)+"?"+Ct(t)}function Mt(t,e){return e||function(t){return At(t,"envelope")}(t)+"?"+Ct(t)}function Bt(t,e){return void 0===e&&(e=[]),[t,e]}function Ut(t){var e=Object(ht.c)(t,2),n=e[0],r=e[1],o=JSON.stringify(n);return r.reduce((function(t,e){var n=Object(ht.c)(e,2),r=n[0],o=n[1],c=Object(E.j)(o)?String(o):JSON.stringify(o);return t+"\n"+JSON.stringify(r)+"\n"+c}),o)}function qt(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function Ft(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=pt(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=pt(t.sdk.packages||[],e.packages||[]),t):t}function zt(t,e){var n=qt(e),r="aggregates"in t?"sessions":"session";return[Bt(ut(ut({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:bt(e.dsn)}),[[{type:r},t]]),r]}var Ht=function(){function t(){}return t.prototype.sendEvent=function(t){return j({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return j(!0)},t}(),$t=function(){function t(t){this._options=t,this._options.dsn||wt&&C.c.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new yt("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new yt("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=function(t,e){var n=qt(e),r=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},c=o.method,f=o.rate;return Ft(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata,Bt(ut(ut({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:bt(e.dsn)}),[[{type:r,sample_rates:[{id:c,rate:f}]},t]])}(t,Nt(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){wt&&C.c.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){wt&&C.c.error("Error while sending event:",t)}))},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=lt(zt(t,Nt(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(e).then(null,(function(t){wt&&C.c.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){wt&&C.c.error("Error while sending session:",t)}));else wt&&C.c.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new Ht},t}(),Wt=n(1193),Yt=n(1097),Vt="?";function Jt(t,e,n,r){var o={filename:t,function:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var Kt=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Gt=/\((\S*)(?::(\d+))(?::(\d+))\)/,Xt=[30,function(line){var t=Kt.exec(line);if(t){if(t[2]&&0===t[2].indexOf("eval")){var e=Gt.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}var n=h(se(t[1]||Vt,t[2]),2),r=n[0];return Jt(n[1],r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],Qt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Zt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,te=[50,function(line){var t,e=Qt.exec(line);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){var n=Zt.exec(e[3]);n&&(e[1]=e[1]||"eval",e[3]=n[1],e[4]=n[2],e[5]="")}var r=e[3],o=e[1]||Vt;return o=(t=h(se(o,r),2))[0],Jt(r=t[1],o,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],ee=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ne=[40,function(line){var t=ee.exec(line);return t?Jt(t[2],t[1]||Vt,+t[3],t[4]?+t[4]:void 0):void 0}],re=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,oe=[10,function(line){var t=re.exec(line);return t?Jt(t[2],t[3]||Vt,+t[1]):void 0}],ie=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,ae=[20,function(line){var t=ie.exec(line);return t?Jt(t[5],t[3]||t[4]||Vt,+t[1],+t[2]):void 0}],se=function(t,e){var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:Vt,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function ce(t){var e=fe(t),n={type:t&&t.name,value:pe(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function ue(t){return{exception:{values:[ce(t)]}}}function fe(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(le.test(t.message))return 1}return 0}(t);try{return Object(Yt.a)(oe,ae,Xt,ne,te)(e,n)}catch(t){}return[]}var le=/Minified React error #\d+;/i;function pe(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function de(t,e,n){var r=ve(t,e&&e.syntheticException||void 0,n);return Object(A.a)(r),r.level=y.a.Error,e&&e.event_id&&(r.event_id=e.event_id),j(r)}function he(t,e,n,r){void 0===e&&(e=y.a.Info);var o=ye(t,n&&n.syntheticException||void 0,r);return o.level=e,n&&n.event_id&&(o.event_id=n.event_id),j(o)}function ve(t,e,n,r){var o;if(Object(E.e)(t)&&t.error)return ue(t.error);if(Object(E.a)(t)||Object(E.b)(t)){var c=t;if("stack"in t)o=ue(t);else{var f=c.name||(Object(E.a)(c)?"DOMError":"DOMException"),l=c.message?f+": "+c.message:f;o=ye(l,e,n),Object(A.b)(o,l)}return"code"in c&&(o.tags=d(d({},o.tags),{"DOMException.code":""+c.code})),o}return Object(E.d)(t)?ue(t):Object(E.i)(t)||Object(E.f)(t)?(o=function(t,e,n){var r={exception:{values:[{type:Object(E.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(object.d)(t)}]},extra:{__serialized__:Object(Et.b)(t)}};if(e){var o=fe(e);o.length&&(r.stacktrace={frames:o})}return r}(t,e,r),Object(A.a)(o,{synthetic:!0}),o):(o=ye(t,e,n),Object(A.b)(o,""+t,void 0),Object(A.a)(o,{synthetic:!0}),o)}function ye(input,t,e){var n={message:input};if(e&&t){var r=fe(t);r.length&&(n.stacktrace={frames:r})}return n}function ge(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length0&&n(!1)}),t);e.forEach((function(t){j(t).then((function(){--o||(clearTimeout(c),n(!0))}),r)}))}))}}}var _e=6e4;function be(t,e){return t[e]||t.all||0}function me(t,e,n){return void 0===n&&(n=Date.now()),be(t,e)>n}function Oe(t,e,n){var r,o,c,f;void 0===n&&(n=Date.now());var l=Object(ht.a)({},t),d=e["x-sentry-rate-limits"],h=e["retry-after"];if(d)try{for(var v=Object(ht.e)(d.trim().split(",")),y=v.next();!y.done;y=v.next()){var _=y.value.split(":",2),m=parseInt(_[0],10),O=1e3*(isNaN(m)?60:m);if(_[1])try{for(var E=(c=void 0,Object(ht.e)(_[1].split(";"))),j=E.next();!j.done;j=E.next()){l[j.value]=n+O}}catch(t){c={error:t}}finally{try{j&&!j.done&&(f=E.return)&&f.call(E)}finally{if(c)throw c.error}}else l.all=n+O}}catch(t){r={error:t}}finally{try{y&&!y.done&&(o=v.return)&&o.call(v)}finally{if(r)throw r.error}}else h&&(l.all=n+function(header,t){void 0===t&&(t=Date.now());var e=parseInt(""+header,10);if(!isNaN(e))return 1e3*e;var n=Date.parse(""+header);return isNaN(n)?_e:n-t}(h,n));return l}function Ee(code){return code>=200&&code<300?"success":429===code?"rate_limit":code>=400&&code<500?"invalid":code>=500?"failed":"unknown"}var je=30;function we(t,e,n){void 0===n&&(n=ge(t.bufferSize||je));var r={};return{send:function(t){var o=function(t){var e=Object(ht.c)(t,2),n=Object(ht.c)(e[1],1);return Object(ht.c)(n[0],1)[0].type}(t),c="event"===o?"error":o,f={category:c,body:Ut(t)};return me(r,c)?w({status:"rate_limit",reason:Se(r,c)}):n.add((function(){return e(f).then((function(t){var body=t.body,e=t.headers,n=t.reason,o=Ee(t.statusCode);return e&&(r=Oe(r,e)),"success"===o?j({status:o,reason:n}):w({status:o,reason:n||body||("rate_limit"===o?Se(r,c):"Unknown transport error")})}))}))},flush:function(t){return n.drain(t)}}}function Se(t,e){return"Too many "+e+" requests, backing off until: "+new Date(be(t,e)).toISOString()}var xe,ke="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Ie=Object(x.a)();function Te(){if(xe)return xe;if(Object(Wt.a)(Ie.fetch))return xe=Ie.fetch.bind(Ie);var t=Ie.document,e=Ie.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){ke&&C.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return xe=e.bind(Ie)}function Re(t,body){if("[object Navigator]"===Object.prototype.toString.call(Ie&&Ie.navigator)&&"function"==typeof Ie.navigator.sendBeacon)return Ie.navigator.sendBeacon.bind(Ie.navigator)(t,body);if(Object(Wt.b)()){var e=Te();e(t,{body:body,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(t){console.error(t)}))}else;}function Ne(t,e){return void 0===e&&(e=Te()),we({bufferSize:t.bufferSize},(function(n){var r=d({body:n.body,method:"POST",referrerPolicy:"origin"},t.requestOptions);return e(t.url,r).then((function(t){return t.text().then((function(body){return{body:body,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")},reason:t.statusText,statusCode:t.status}}))}))}))}function De(t){return"event"===t?"error":t}var Ae=Object(x.a)(),Ce=function(){function t(t){var e=this;this.options=t,this._buffer=ge(30),this._rateLimits={},this._outcomes={},this._api=Nt(t.dsn,t._metadata,t.tunnel),this.url=Lt(this._api.dsn),this.options.sendClientReports&&Ae.document&&Ae.document.addEventListener("visibilitychange",(function(){"hidden"===Ae.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var body,n=qt(e),r=t.type||"event",o="transaction"===r||!!e.tunnel,c=(t.sdkProcessingMetadata||{}).transactionSampling||{},f=c.method,l=c.rate;Ft(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{body=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{body=JSON.stringify(Object(Et.a)(t))}catch(t){var d=t;body=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:d.message,stack:d.stack}})}}var h={body:body,type:r,url:o?Mt(e.dsn,e.tunnel):Lt(e.dsn)};if(o){var v=Bt(ut(ut({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:bt(e.dsn)}),[[{type:r,sample_rates:[{id:f,rate:l}]},h.body]]);h.body=Ut(v)}return h}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=lt(zt(t,e),2),r=n[0],o=n[1];return{body:Ut(r),type:o,url:Mt(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var n;if(this.options.sendClientReports){var r=De(e)+":"+t;ke&&C.c.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){ke&&C.c.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r,o=Mt(this._api.dsn,this._api.tunnel),c=Object.keys(t).map((function(e){var n=h(e.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}})),f=(e=c,Bt((n=this._api.tunnel&&bt(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Object(time.a)(),discarded_events:e}]]));try{Re(o,Ut(f))}catch(t){ke&&C.c.error(t)}}else ke&&C.c.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,o=t.resolve,c=t.reject,f=Ee(n.status);this._rateLimits=Oe(this._rateLimits,r),this._isRateLimited(e)&&ke&&C.c.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==f?c(n):o({status:f})},t.prototype._disabledUntil=function(t){var e=De(t);return new Date(be(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=De(t);return me(this._rateLimits,e)},t}(),Pe=function(t){function e(e,n){void 0===n&&(n=Te());var r=t.call(this,e)||this;return r._fetch=n,r}return l(e,t),e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:Object(Wt.e)()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new S((function(e,o){n._fetch(t.url,r).then((function(r){var c={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:c,resolve:e,reject:o})})).catch(o)}))})).then(void 0,(function(e){throw e instanceof yt?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Ce),Le=4;function Me(t){return we({bufferSize:t.bufferSize},(function(e){return new S((function(n,r){var o=new XMLHttpRequest;for(var header in o.onreadystatechange=function(){if(o.readyState===Le){var t={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};n(t)}},o.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,header)&&o.setRequestHeader(header,t.headers[header]);o.send(e.body)}))}))}var Be=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new S((function(e,r){var o=new XMLHttpRequest;for(var header in o.onreadystatechange=function(){if(4===o.readyState){var c={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:o,headers:c,resolve:e,reject:r})}},o.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,header)&&o.setRequestHeader(header,n.options.headers[header]);o.send(t.body)}))})).then(void 0,(function(e){throw e instanceof yt?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Ce),Ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.eventFromException=function(t,e){return de(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=y.a.Info),he(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=d(d({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),n=Nt(e.dsn,e._metadata,e.tunnel),r=Mt(n.dsn,n.tunnel);if(this._options.transport)return new this._options.transport(e);if(Object(Wt.b)()){var o=d({},e.fetchParameters);return this._newTransport=Ne({requestOptions:o,url:r}),new Pe(e)}return this._newTransport=Me({url:r,headers:e.headers}),new Be(e)},e}($t),qe=Object(x.a)(),Fe=0;function ze(){return Fe>0}function He(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(Object(object.f)(t))return t}catch(e){return t}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(t){return He(t,e)}));return t.apply(this,o)}catch(t){throw Fe+=1,setTimeout((function(){Fe-=1})),at((function(n){n.addEventProcessor((function(t){return e.mechanism&&(Object(A.b)(t,void 0,void 0),Object(A.a)(t,e.mechanism)),t.extra=d(d({},t.extra),{arguments:r}),t})),J(t)})),t}};try{for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(o[c]=t[c])}catch(t){}Object(object.g)(o,t),Object(object.a)(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return t.name}})}catch(t){}return o}function $e(t){if(void 0===t&&(t={}),qe.document)if(t.eventId)if(t.dsn){var script=qe.document.createElement("script");script.async=!0,script.src=function(t,e){var n=Ot(t),r=Dt(n)+"embed/error-page/",o="dsn="+bt(n);for(var c in e)if("dsn"!==c)if("user"===c){if(!e.user)continue;e.user.name&&(o+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(o+="&email="+encodeURIComponent(e.user.email))}else o+="&"+encodeURIComponent(c)+"="+encodeURIComponent(e[c]);return r+"?"+o}(t.dsn,t),t.onLoad&&(script.onload=t.onLoad);var e=qe.document.head||qe.document.body;e&&e.appendChild(script)}else ke&&C.c.error("Missing dsn option in showReportDialog call");else ke&&C.c.error("Missing eventId option in showReportDialog call")}var We,Ye=Object(x.a)(),Ve={},Je={};function Ke(t){if(!Je[t])switch(Je[t]=!0,t){case"console":!function(){if(!("console"in Ye))return;C.a.forEach((function(t){t in Ye.console&&Object(object.e)(Ye.console,t,(function(e){return function(){for(var n=[],r=0;r2?e[2]:void 0;if(r){var o=We,c=String(r);We=c,Xe("history",{from:o,to:c})}return t.apply(this,e)}}Ye.onpopstate=function(){for(var e=[],n=0;n"}0!==n.length&&H().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this._options.dom)),this._options.xhr&&Ge("xhr",ln),this._options.fetch&&Ge("fetch",pn),this._options.history&&Ge("history",dn)},t.id="Breadcrumbs",t}();function fn(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:Object(cn.a)(t.level),message:Object(jt.b)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(Object(jt.b)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}H().addBreadcrumb(e,{input:t.args,level:t.level})}function ln(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,o=e.status_code,body=e.body;H().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:t.xhr,input:body})}else;}function pn(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?H().addBreadcrumb({category:"fetch",data:t.fetchData,level:y.a.Error,type:"http"},{data:t.error,input:t.args}):H().addBreadcrumb({category:"fetch",data:d(d({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function dn(t){var e=Object(x.a)(),n=t.from,r=t.to,o=Object(A.e)(e.location.href),c=Object(A.e)(n),f=Object(A.e)(r);c.path||(c=o),o.protocol===f.protocol&&o.host===f.host&&(r=f.relative),o.protocol===c.protocol&&o.host===c.host&&(n=c.relative),H().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var hn,vn=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:ct}],version:ct},t.call(this,Ue,e)||this}return l(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(x.a)().document&&(this._isEnabled()?$e(d(d({},t),{dsn:t.dsn||this.getDsn()})):ke&&C.c.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(un);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(Tt),yn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){hn=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e=0;i--){var e=t[i];if(e&&""!==e.filename&&"[native code]"!==e.filename)return e.filename||null}return null}function mn(t){try{if(t.stacktrace)return bn(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?bn(e):null}catch(e){return wt&&C.c.error("Cannot extract url for event "+Object(A.d)(t)),null}}var On=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],En=function(){function t(e){this.name=t.id,this._options=d({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(x.a)();this._options.setTimeout&&Object(object.e)(t,"setTimeout",jn),this._options.setInterval&&Object(object.e)(t,"setInterval",jn),this._options.requestAnimationFrame&&Object(object.e)(t,"requestAnimationFrame",wn),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(object.e)(XMLHttpRequest.prototype,"send",Sn);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:On).forEach(xn)},t.id="TryCatch",t}();function jn(t){return function(){for(var e=[],n=0;n0?e:Object(sn.a)();return 0===l.length&&l.push({colno:d,filename:v,function:"?",in_app:!0,lineno:h}),t}function Nn(t,e,n,r){Object(A.a)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Dn(){var t=H(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var An=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){T((function(e,n){var r=H().getIntegration(t);return r?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&Object(E.g)(r.originalException,Error)))return n;var o=Cn(e,r.originalException,t);return n.exception.values=v(o,n.exception.values),n}(r._key,r._limit,e,n):e}))},t.id="LinkedErrors",t}();function Cn(t,e,n,r){if(void 0===r&&(r=[]),!Object(E.g)(e[n],Error)||r.length+1>=t)return r;var o=ce(e[n]);return Cn(t,e[n],n,v([o],r))}var Pn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n().getIntegration(t);if(r){try{if(function(t,e){if(!e)return!1;if(function(t,e){var n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Mn(t,e))return!1;if(!Ln(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){var n=Bn(e),r=Bn(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Mn(t,e))return!1;if(!Ln(t,e))return!1;return!0}(t,e))return!0;return!1}(e,r._previousEvent))return ke&&C.c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return r._previousEvent=e}return r._previousEvent=e}return e}))},t.id="Dedupe",t}();function Ln(t,e){var n=Un(t),r=Un(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var i=0;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),c=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}var d=n(1096),h=n(1e3),v="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,y=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,_=function(){function t(e){void 0===e&&(e={}),this.name=t.id,v&&d.c.log("You are still using the Angular integration, consider moving to @sentry/angular"),this._angular=e.angular||Object(h.a)().angular,this._angular?this._module=this._angular.module(t.moduleName,[]):v&&d.c.error("AngularIntegration is missing an Angular instance")}return t.prototype.setupOnce=function(t,e){var n=this;this._module&&(this._getCurrentHub=e,this._module.config(["$provide",function(t){t.decorator("$exceptionHandler",["$delegate",n._$exceptionHandlerDecorator.bind(n)])}]))},t.prototype._$exceptionHandlerDecorator=function(e){var n=this;return function(o,c){var f=n._getCurrentHub&&n._getCurrentHub();f&&f.getIntegration(t)&&f.withScope((function(t){c&&t.setExtra("cause",c),t.addEventProcessor((function(t){var e=t.exception&&t.exception.values&&t.exception.values[0];if(e){var n=y.exec(e.value||"");n&&(e.type=n[1],e.value=n[2],t.message=e.type+": "+e.value,t.extra=r(r({},t.extra),{angularDocs:n[3].substr(0,250)}))}return t})),f.captureException(o)})),e(o,c)}},t.id="AngularJS",t.moduleName="ngSentry",t}(),object=n(1073),m=n(1326),O=n(1095),E=Object(h.a)(),j=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._levels=d.a,e.levels&&(this._levels=e.levels)}return t.prototype.setupOnce=function(e,n){"console"in E&&this._levels.forEach((function(e){e in E.console&&Object(object.e)(E.console,e,(function(r){return function(){for(var o=[],c=0;c=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}var z=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function H(t){var e=z.exec(t);return e?e.slice(1):[]}function $(){for(var t=[],e=0;e=-1&&!r;i--){var path=i>=0?t[i]:"/";path&&(n=path+"/"+n,r="/"===path.charAt(0))}return(r?"/":"")+(n=F(n.split("/").filter((function(p){return!!p})),!r).join("/"))||"."}function W(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}function Y(path,t){var e=H(path)[2];return t&&e.substr(-1*t.length)===t&&(e=e.substr(0,e.length-t.length)),e}var V=function(){function t(e){var n=this;void 0===e&&(e={}),this.name=t.id,this._prefix="app:///",this._iteratee=function(t){if(!t.filename)return t;var e=/^[A-Z]:\\/.test(t.filename),r=/^\//.test(t.filename);if(e||r){var o=e?t.filename.replace(/^[A-Z]:/,"").replace(/\\/g,"/"):t.filename,base=n._root?function(t,e){t=$(t).substr(1),e=$(e).substr(1);for(var n=W(t.split("/")),r=W(e.split("/")),o=Math.min(n.length,r.length),c=o,i=0;i=0;i--){var n=e[i];if(!0===n.in_app){t.transaction=this._getTransaction(n);break}}return t},t.prototype._getFramesFromEvent=function(t){var e=t.exception&&t.exception.values&&t.exception.values[0];return e&&e.stacktrace&&e.stacktrace.frames||[]},t.prototype._getTransaction=function(t){return t.module||t.function?(t.module||"?")+"/"+(t.function||"?"):""},t.id="Transaction",t}(),time=n(1189),G={id:"Tracing"},X={id:"BrowserTracing"},Q="ui.vue",Z={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]},tt=/(?:^|[-_/])(\w)/g,et="root",nt="anonymous component",ot=function(){function t(e){var n=this;this.name=t.id,this._componentsCache={},this._applyTracingHooks=function(t,e){if(!t.$options.$_sentryPerfHook){t.$options.$_sentryPerfHook=!0;var r=n._getComponentName(t),o=r===et,c={},f=function(r){var o=Object(time.c)();n._rootSpan?n._finishRootSpan(o,e):t.$once("hook:"+r,(function(){var t=e().getIntegration(G);if(t){n._tracingActivity=t.constructor.pushActivity("Vue Application Render");var r=t.constructor.getTransaction();r&&(n._rootSpan=r.startChild({description:"Application Render",op:Q}))}else{var o=function(t){if(t&&t.getScope){var e=t.getScope();if(e)return e.getTransaction()}return}(e());o&&(n._rootSpan=o.startChild({description:"Application Render",op:Q}))}}))},h=function(o,f){var l=Array.isArray(n._options.tracingOptions.trackComponents)?n._options.tracingOptions.trackComponents.indexOf(r)>-1:n._options.tracingOptions.trackComponents;if(n._rootSpan&&l){var d=Object(time.c)(),span=c[f];span?(span.finish(),n._finishRootSpan(d,e)):t.$once("hook:"+o,(function(){n._rootSpan&&(c[f]=n._rootSpan.startChild({description:"Vue <"+r+">",op:Q+"."+f}))}))}};n._options.tracingOptions.hooks.forEach((function(e){var r=Z[e];r?r.forEach((function(r){var c=o?f.bind(n,r):h.bind(n,r,e),d=t.$options[r];Array.isArray(d)?t.$options[r]=function(){for(var t=[],i=0;i=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),c=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function d(){for(var t=[],i=0;i