Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/integrations

Package Overview
Dependencies
Maintainers
10
Versions
388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/integrations - npm Package Compare versions

Comparing version 5.6.1 to 5.7.0-beta.0

16

build/angular.js

@@ -46,2 +46,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
var setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); // tslint:disable-line:no-unbound-method

@@ -93,7 +98,2 @@ /**

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -315,5 +315,9 @@ *

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=angular.js.map

@@ -1,2 +0,2 @@

!function(n){var t={};Object.defineProperty(t,"__esModule",{value:!0});var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)};var r=function(){return(r=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}).apply(this,arguments)},o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,t){return n.__proto__=t,n}:function(n,t){for(var e in t)n.hasOwnProperty(e)||(n[e]=t[e]);return n});!function(n){function t(t){var e=this.constructor,r=n.call(this,t)||this;return r.message=t,r.name=e.prototype.constructor.name,o(r,e.prototype),r}(function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(t,n)}(Error);var a={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:a}function c(n){var t=i();if(!("console"in t))return n();var e=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&e[n].__sentry__&&(r[n]=e[n].__sentry_wrapped__,e[n]=e[n].__sentry_original__)});var o=n();return Object.keys(r).forEach(function(n){e[n]=r[n]}),o}var u=i(),s="Sentry Logger ",_=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&c(function(){u.console.log(s+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&c(function(){u.console.warn(s+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&c(function(){u.console.error(s+"[Error]: "+n.join(" "))})},n}();u.__SENTRY__=u.__SENTRY__||{};var f,l=u.__SENTRY__.logger||(u.__SENTRY__.logger=new _);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(f||(f={}));var p=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,g=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this._angular=t.angular||i().angular}return n.prototype.setupOnce=function(t,e){var r=this;this._angular?(this._getCurrentHub=e,this._angular.module(n.moduleName,[]).config(["$provide",function(n){n.decorator("$exceptionHandler",["$delegate",r._$exceptionHandlerDecorator.bind(r)])}])):l.error("AngularIntegration is missing an Angular instance")},n.prototype._$exceptionHandlerDecorator=function(t){var e=this;return function(o,a){var i=e._getCurrentHub&&e._getCurrentHub();i&&i.getIntegration(n)&&i.withScope(function(n){a&&n.setExtra("cause",a),n.addEventProcessor(function(n){var t=n.exception&&n.exception.values&&n.exception.values[0];if(t){var e=p.exec(t.value||"");e&&(t.type=e[1],t.value=e[2],n.message=t.type+": "+t.value,n.extra=r({},n.extra,{angularDocs:e[3].substr(0,250)}))}return n}),i.captureException(o)}),t(o,a)}},n.id="AngularJS",n.moduleName="ngSentry",n}();t.Angular=g,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(n){var t={};Object.defineProperty(t,"__esModule",{value:!0});var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)};var r=function(){return(r=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}).apply(this,arguments)},o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,t){return n.__proto__=t,n}:function(n,t){for(var e in t)n.hasOwnProperty(e)||(n[e]=t[e]);return n});!function(n){function t(t){var e=this.constructor,r=n.call(this,t)||this;return r.message=t,r.name=e.prototype.constructor.name,o(r,e.prototype),r}(function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(t,n)}(Error);var a={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:a}function c(n){var t=i();if(!("console"in t))return n();var e=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&e[n].__sentry__&&(r[n]=e[n].__sentry_wrapped__,e[n]=e[n].__sentry_original__)});var o=n();return Object.keys(r).forEach(function(n){e[n]=r[n]}),o}var u=i(),s="Sentry Logger ",p=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&c(function(){u.console.log(s+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&c(function(){u.console.warn(s+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&c(function(){u.console.error(s+"[Error]: "+n.join(" "))})},n}();u.__SENTRY__=u.__SENTRY__||{};var l,f=u.__SENTRY__.logger||(u.__SENTRY__.logger=new p);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(l||(l={}));var _=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,g=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this._angular=t.angular||i().angular}return n.prototype.setupOnce=function(t,e){var r=this;this._angular?(this._getCurrentHub=e,this._angular.module(n.moduleName,[]).config(["$provide",function(n){n.decorator("$exceptionHandler",["$delegate",r._$exceptionHandlerDecorator.bind(r)])}])):f.error("AngularIntegration is missing an Angular instance")},n.prototype._$exceptionHandlerDecorator=function(t){var e=this;return function(o,a){var i=e._getCurrentHub&&e._getCurrentHub();i&&i.getIntegration(n)&&i.withScope(function(n){a&&n.setExtra("cause",a),n.addEventProcessor(function(n){var t=n.exception&&n.exception.values&&n.exception.values[0];if(t){var e=_.exec(t.value||"");e&&(t.type=e[1],t.value=e[2],n.message=t.type+": "+t.value,n.extra=r({},n.extra,{angularDocs:e[3].substr(0,250)}))}return n}),i.captureException(o)}),t(o,a)}},n.id="AngularJS",n.moduleName="ngSentry",n}();for(var y in t.Angular=g,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},t)Object.prototype.hasOwnProperty.call(t,y)&&(n.Sentry.Integrations[y]=t[y])}(window);
//# sourceMappingURL=angular.min.js.map

@@ -112,2 +112,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
/*! *****************************************************************************

@@ -199,2 +204,12 @@ Copyright (c) Microsoft Corporation. All rights reserved.

/**
* Checks whether given value's type is a string
* {@link isString}.
*
* @param wat A value to be checked.
* @returns A boolean representing the result.
*/
function isString(wat) {
return Object.prototype.toString.call(wat) === '[object String]';
}
/**
* Checks whether given value's is a primitive (undefined, null, number, boolean, string)

@@ -220,2 +235,24 @@ * {@link isPrimitive}.

/**
* Checks whether given value's type is an Event instance
* {@link isEvent}.
*
* @param wat A value to be checked.
* @returns A boolean representing the result.
*/
function isEvent(wat) {
// tslint:disable-next-line:strict-type-predicates
return typeof Event !== 'undefined' && wat instanceof Event;
}
/**
* Checks whether given value's type is an Element instance
* {@link isElement}.
*
* @param wat A value to be checked.
* @returns A boolean representing the result.
*/
function isElement(wat) {
// tslint:disable-next-line:strict-type-predicates
return typeof Element !== 'undefined' && wat instanceof Element;
}
/**
* Checks whether given value's type is a SyntheticEvent

@@ -233,7 +270,2 @@ * {@link isSyntheticEvent}.

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -286,2 +318,78 @@ *

}
/**
* Given a child DOM element, returns a query-selector statement describing that
* and its ancestors
* e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]
* @returns generated DOM path
*/
function htmlTreeAsString(elem) {
// try/catch both:
// - accessing event.target (see getsentry/raven-js#838, #768)
// - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly
// - can throw an exception in some circumstances.
try {
var currentElem = elem;
var MAX_TRAVERSE_HEIGHT = 5;
var MAX_OUTPUT_LEN = 80;
var out = [];
var height = 0;
var len = 0;
var separator = ' > ';
var sepLength = separator.length;
var nextStr = void 0;
while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {
nextStr = _htmlElementAsString(currentElem);
// bail out if
// - nextStr is the 'html' element
// - the length of the string that would be created exceeds MAX_OUTPUT_LEN
// (ignore this limit if we are on the first iteration)
if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) {
break;
}
out.push(nextStr);
len += nextStr.length;
currentElem = currentElem.parentNode;
}
return out.reverse().join(separator);
}
catch (_oO) {
return '<unknown>';
}
}
/**
* Returns a simple, query-selector representation of a DOM element
* e.g. [HTMLElement] => input#foo.btn[name=baz]
* @returns generated DOM path
*/
function _htmlElementAsString(elem) {
var out = [];
var className;
var classes;
var key;
var attr;
var i;
if (!elem || !elem.tagName) {
return '';
}
out.push(elem.tagName.toLowerCase());
if (elem.id) {
out.push("#" + elem.id);
}
className = elem.className;
if (className && isString(className)) {
classes = className.split(/\s+/);
for (i = 0; i < classes.length; i++) {
out.push("." + classes[i]);
}
}
var attrWhitelist = ['type', 'name', 'title', 'alt'];
for (i = 0; i < attrWhitelist.length; i++) {
key = attrWhitelist[i];
attr = elem.getAttribute(key);
if (attr) {
out.push("[" + key + "=\"" + attr + "\"]");
}
}
return out.join('');
}

@@ -404,2 +512,26 @@ // TODO: Implement different loggers for different environments

/**
* Join values in array
* @param input array of values to be joined together
* @param delimiter string to be placed in-between values
* @returns Joined values
*/
function safeJoin(input, delimiter) {
if (!Array.isArray(input)) {
return '';
}
var output = [];
// tslint:disable-next-line:prefer-for-of
for (var i = 0; i < input.length; i++) {
var value = input[i];
try {
output.push(String(value));
}
catch (e) {
output.push('[value cannot be serialized]');
}
}
return output.join(delimiter);
}
/**
* Wrap a given object method with a higher-order function

@@ -447,23 +579,54 @@ *

/**
* Transforms Error object into an object literal with all it's attributes
* Transforms any object into an object literal with all it's attributes
* attached to it.
*
* Based on: https://github.com/ftlabs/js-abbreviate/blob/fa709e5f139e7770a71827b1893f22418097fbda/index.js#L95-L106
*
* @param error An Error containing all relevant information
* @returns An object with all error properties
* @param value Initial source that we have to transform in order to be usable by the serializer
*/
function objectifyError(error) {
// These properties are implemented as magical getters and don't show up in `for-in` loop
var err = {
message: error.message,
name: error.name,
stack: error.stack,
};
for (var i in error) {
if (Object.prototype.hasOwnProperty.call(error, i)) {
err[i] = error[i];
function getWalkSource(value) {
if (isError(value)) {
var error = value;
var err = {
message: error.message,
name: error.name,
stack: error.stack,
};
for (var i in error) {
if (Object.prototype.hasOwnProperty.call(error, i)) {
err[i] = error[i];
}
}
return err;
}
return err;
if (isEvent(value)) {
var source = {};
source.type = value.type;
// Accessing event.target can throw (see getsentry/raven-js#838, #768)
try {
source.target = isElement(value.target)
? htmlTreeAsString(value.target)
: Object.prototype.toString.call(value.target);
}
catch (_oO) {
source.target = '<unknown>';
}
try {
source.currentTarget = isElement(value.currentTarget)
? htmlTreeAsString(value.currentTarget)
: Object.prototype.toString.call(value.currentTarget);
}
catch (_oO) {
source.currentTarget = '<unknown>';
}
// tslint:disable-next-line:strict-type-predicates
if (typeof CustomEvent !== 'undefined' && value instanceof CustomEvent) {
source.detail = value.detail;
}
for (var i in value) {
if (Object.prototype.hasOwnProperty.call(value, i)) {
source[i] = value[i];
}
}
return source;
}
return value;
}

@@ -495,2 +658,3 @@ /** Transforms any input value into a string form, either primitive value or a type of the input */

*/
// tslint:disable-next-line:cyclomatic-complexity
function normalizeValue(value, key) {

@@ -512,6 +676,2 @@ if (key === 'domain' && typeof value === 'object' && value._events) {

}
// tslint:disable-next-line:strict-type-predicates
if (typeof Event !== 'undefined' && value instanceof Event) {
return Object.getPrototypeOf(value) ? value.constructor.name : 'Event';
}
// React's SyntheticEvent thingy

@@ -521,3 +681,4 @@ if (isSyntheticEvent(value)) {

}
if (Number.isNaN(value)) {
// tslint:disable-next-line:no-tautology-expression
if (typeof value === 'number' && value !== value) {
return '[NaN]';

@@ -560,3 +721,3 @@ }

// Create source that we will use for next itterations, either objectified error object (Error type with extracted keys:value pairs) or the input itself
var source = (isError(value) ? objectifyError(value) : value);
var source = getWalkSource(value);
// Create an accumulator that will act as a parent for all future itterations of that branch

@@ -606,26 +767,2 @@ var acc = Array.isArray(value) ? [] : {};

/**
* Join values in array
* @param input array of values to be joined together
* @param delimiter string to be placed in-between values
* @returns Joined values
*/
function safeJoin(input, delimiter) {
if (!Array.isArray(input)) {
return '';
}
var output = [];
// tslint:disable-next-line:prefer-for-of
for (var i = 0; i < input.length; i++) {
var value = input[i];
try {
output.push(String(value));
}
catch (e) {
output.push('[value cannot be serialized]');
}
}
return output.join(delimiter);
}
/** SyncPromise internal states */

@@ -719,5 +856,9 @@ var States;

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=captureconsole.js.map

@@ -1,2 +0,2 @@

!function(n){var e,t,r,o={};Object.defineProperty(o,"__esModule",{value:!0}),function(n){n[n.None=0]="None",n[n.Error=1]="Error",n[n.Debug=2]="Debug",n[n.Verbose=3]="Verbose"}(e||(e={})),function(n){n.Fatal="fatal",n.Error="error",n.Warning="warning",n.Log="log",n.Info="info",n.Debug="debug",n.Critical="critical"}(t||(t={})),function(n){n.fromString=function(e){switch(e){case"debug":return n.Debug;case"info":return n.Info;case"warn":case"warning":return n.Warning;case"error":return n.Error;case"fatal":return n.Fatal;case"critical":return n.Critical;case"log":default:return n.Log}}}(t||(t={})),function(n){n.Unknown="unknown",n.Skipped="skipped",n.Success="success",n.RateLimit="rate_limit",n.Invalid="invalid",n.Failed="failed"}(r||(r={})),function(n){n.fromHttpCode=function(e){return e>=200&&e<300?n.Success:429===e?n.RateLimit:e>=400&&e<500?n.Invalid:e>=500?n.Failed:n.Unknown}}(r||(r={}));var i=function(n,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)};var a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,e){return n.__proto__=e,n}:function(n,e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t]);return n});!function(n){function e(e){var t=this.constructor,r=n.call(this,e)||this;return r.message=e,r.name=t.prototype.constructor.name,a(r,t.prototype),r}(function(n,e){function t(){this.constructor=n}i(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)})(e,n)}(Error);function c(n){return null===n||"object"!=typeof n&&"function"!=typeof n}function u(n){return function(n){return"[object Object]"===Object.prototype.toString.call(n)}(n)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n}var s={};function f(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:s}function l(n){var e=f();if(!("console"in e))return n();var t=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in e.console&&t[n].__sentry__&&(r[n]=t[n].__sentry_wrapped__,t[n]=t[n].__sentry_original__)});var o=n();return Object.keys(r).forEach(function(n){t[n]=r[n]}),o}var p=f(),_="Sentry Logger ",y=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&l(function(){p.console.log(_+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&l(function(){p.console.warn(_+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&l(function(){p.console.error(_+"[Error]: "+n.join(" "))})},n}();p.__SENTRY__=p.__SENTRY__||{};p.__SENTRY__.logger||(p.__SENTRY__.logger=new y);var d,g=function(){function n(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return n.prototype.memoize=function(n){if(this._hasWeakSet)return!!this._inner.has(n)||(this._inner.add(n),!1);for(var e=0;e<this._inner.length;e++){if(this._inner[e]===n)return!0}return this._inner.push(n),!1},n.prototype.unmemoize=function(n){if(this._hasWeakSet)this._inner.delete(n);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===n){this._inner.splice(e,1);break}},n}();function v(n,e){return"domain"===e&&"object"==typeof n&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof global&&n===global?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":"undefined"!=typeof Event&&n instanceof Event?Object.getPrototypeOf(n)?n.constructor.name:"Event":u(n)?"[SyntheticEvent]":Number.isNaN(n)?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+(n.name||"<unknown-function-name>")+"]":n}function h(n,e,t,r){if(void 0===t&&(t=1/0),void 0===r&&(r=new g),0===t)return function(n){var e=Object.prototype.toString.call(n);if("string"==typeof n)return n;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var t=v(n);return c(t)?t:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var o=v(e,n);if(c(o))return o;var i=function(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return n instanceof Error}}(e)?function(n){var e={message:n.message,name:n.name,stack:n.stack};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}(e):e,a=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(a[u]=h(u,i[u],t-1,r));return r.unmemoize(e),a}function b(n,e){try{return JSON.parse(JSON.stringify(n,function(n,t){return h(n,t,e)}))}catch(n){return"**non-serializable**"}}function m(n,e){if(!Array.isArray(n))return"";for(var t=[],r=0;r<n.length;r++){var o=n[r];try{t.push(String(o))}catch(n){t.push("[value cannot be serialized]")}}return t.join(e)}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(d||(d={}));var E=f(),w=function(){function n(e){void 0===e&&(e={}),this.name=n.id,this._levels=["log","info","warn","error","debug","assert"],e.levels&&(this._levels=e.levels)}return n.prototype.setupOnce=function(e,r){"console"in E&&this._levels.forEach(function(e){e in E.console&&function(n,e,t){if(e in n){var r=n[e],o=t(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})}catch(n){}n[e]=o}}(E.console,e,function(o){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c=r();c.getIntegration(n)&&c.withScope(function(n){n.setLevel(t.fromString(e)),n.setExtra("arguments",b(i,3)),n.addEventProcessor(function(n){return n.logger="console",n});var r=m(i," ");"assert"===e?!1===i[0]&&(r="Assertion failed: "+(m(i.slice(1)," ")||"console.assert"),n.setExtra("arguments",b(i.slice(1),3)),c.captureMessage(r)):c.captureMessage(r)}),o&&Function.prototype.apply.call(o,E.console,i)}})})},n.id="CaptureConsole",n}();o.CaptureConsole=w,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,o)}(window);
!function(t){var e,n,r,o={};Object.defineProperty(o,"__esModule",{value:!0}),function(t){t[t.None=0]="None",t[t.Error=1]="Error",t[t.Debug=2]="Debug",t[t.Verbose=3]="Verbose"}(e||(e={})),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(n||(n={})),function(t){t.fromString=function(e){switch(e){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(n||(n={})),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(r||(r={})),function(t){t.fromHttpCode=function(e){return e>=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(r||(r={}));var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t});!function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,a(r,n.prototype),r}(function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t)}(Error);function c(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function u(t){return"undefined"!=typeof Element&&t instanceof Element}function s(t){return function(t){return"[object Object]"===Object.prototype.toString.call(t)}(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}var f={};function l(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function p(t){var e=l();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry__&&(r[t]=n[t].__sentry_wrapped__,n[t]=n[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),o}function y(t){try{for(var e=t,n=[],r=0,o=0,i=" > ".length,a=void 0;e&&r++<5&&!("html"===(a=_(e))||r>1&&o+n.length*i+a.length>=80);)n.push(a),o+=a.length,e=e.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function _(t){var e,n,r,o,i,a,c=[];if(!t||!t.tagName)return"";if(c.push(t.tagName.toLowerCase()),t.id&&c.push("#"+t.id),(e=t.className)&&(a=e,"[object String]"===Object.prototype.toString.call(a)))for(n=e.split(/\s+/),i=0;i<n.length;i++)c.push("."+n[i]);var u=["type","name","title","alt"];for(i=0;i<u.length;i++)r=u[i],(o=t.getAttribute(r))&&c.push("["+r+'="'+o+'"]');return c.join("")}var g=l(),d="Sentry Logger ",h=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&p(function(){g.console.log(d+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&p(function(){g.console.warn(d+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&p(function(){g.console.error(d+"[Error]: "+t.join(" "))})},t}();g.__SENTRY__=g.__SENTRY__||{};g.__SENTRY__.logger||(g.__SENTRY__.logger=new h);var v,b=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e<this._inner.length;e++){if(this._inner[e]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t){this._inner.splice(e,1);break}},t}();function m(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var o=t[r];try{n.push(String(o))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function E(t){if(function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}if(i=t,"undefined"!=typeof Event&&i instanceof Event){var o={};o.type=t.type;try{o.target=u(t.target)?y(t.target):Object.prototype.toString.call(t.target)}catch(t){o.target="<unknown>"}try{o.currentTarget=u(t.currentTarget)?y(t.currentTarget):Object.prototype.toString.call(t.currentTarget)}catch(t){o.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&t instanceof CustomEvent&&(o.detail=t.detail),t)Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o}var i;return t}function w(t,e){return"domain"===e&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":s(t)?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+(t.name||"<unknown-function-name>")+"]":t}function S(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new b),0===n)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=w(t);return c(n)?n:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var o=w(e,t);if(c(o))return o;var i=E(e),a=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(a[u]=S(u,i[u],n-1,r));return r.unmemoize(e),a}function j(t,e){try{return JSON.parse(JSON.stringify(t,function(t,n){return S(t,n,e)}))}catch(t){return"**non-serializable**"}}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(v||(v={}));var O=l(),N=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._levels=["log","info","warn","error","debug","assert"],e.levels&&(this._levels=e.levels)}return t.prototype.setupOnce=function(e,r){"console"in O&&this._levels.forEach(function(e){e in O.console&&function(t,e,n){if(e in t){var r=t[e],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})}catch(t){}t[e]=o}}(O.console,e,function(o){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c=r();c.getIntegration(t)&&c.withScope(function(t){t.setLevel(n.fromString(e)),t.setExtra("arguments",j(i,3)),t.addEventProcessor(function(t){return t.logger="console",t});var r=m(i," ");"assert"===e?!1===i[0]&&(r="Assertion failed: "+(m(i.slice(1)," ")||"console.assert"),t.setExtra("arguments",j(i.slice(1),3)),c.captureMessage(r)):c.captureMessage(r)}),o&&Function.prototype.apply.call(o,O.console,i)}})})},t.id="CaptureConsole",t}();for(var k in o.CaptureConsole=N,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},o)Object.prototype.hasOwnProperty.call(o,k)&&(t.Sentry.Integrations[k]=o[k])}(window);
//# sourceMappingURL=captureconsole.min.js.map

@@ -46,2 +46,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
var setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); // tslint:disable-line:no-unbound-method

@@ -93,7 +98,2 @@ /**

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -279,5 +279,9 @@ *

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=debug.js.map

@@ -1,2 +0,2 @@

!function(n){var o={};Object.defineProperty(o,"__esModule",{value:!0});var t=function(n,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var t in o)o.hasOwnProperty(t)&&(n[t]=o[t])})(n,o)};var r=function(){return(r=Object.assign||function(n){for(var o,t=1,r=arguments.length;t<r;t++)for(var e in o=arguments[t])Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e]);return n}).apply(this,arguments)},e=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,o){return n.__proto__=o,n}:function(n,o){for(var t in o)n.hasOwnProperty(t)||(n[t]=o[t]);return n});!function(n){function o(o){var t=this.constructor,r=n.call(this,o)||this;return r.message=o,r.name=t.prototype.constructor.name,e(r,t.prototype),r}(function(n,o){function r(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)})(o,n)}(Error);var i={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function s(n){var o=c();if(!("console"in o))return n();var t=o.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in o.console&&t[n].__sentry__&&(r[n]=t[n].__sentry_wrapped__,t[n]=t[n].__sentry_original__)});var e=n();return Object.keys(r).forEach(function(n){t[n]=r[n]}),e}var u=c(),a="Sentry Logger ",f=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];this._enabled&&s(function(){u.console.log(a+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];this._enabled&&s(function(){u.console.warn(a+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];this._enabled&&s(function(){u.console.error(a+"[Error]: "+n.join(" "))})},n}();u.__SENTRY__=u.__SENTRY__||{};var _;u.__SENTRY__.logger||(u.__SENTRY__.logger=new f);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(_||(_={}));var l=function(){function n(o){this.name=n.id,this._options=r({debugger:!1,stringify:!1},o)}return n.prototype.setupOnce=function(o,t){o(function(o,r){var e=t().getIntegration(n);return e&&(e._options.debugger,s(function(){e._options.stringify?(console.log(JSON.stringify(o,null,2)),r&&console.log(JSON.stringify(r,null,2))):(console.log(o),r&&console.log(r))})),o})},n.id="Debug",n}();o.Debug=l,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,o)}(window);
!function(n){var o={};Object.defineProperty(o,"__esModule",{value:!0});var t=function(n,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var t in o)o.hasOwnProperty(t)&&(n[t]=o[t])})(n,o)};var r=function(){return(r=Object.assign||function(n){for(var o,t=1,r=arguments.length;t<r;t++)for(var e in o=arguments[t])Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e]);return n}).apply(this,arguments)},e=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,o){return n.__proto__=o,n}:function(n,o){for(var t in o)n.hasOwnProperty(t)||(n[t]=o[t]);return n});!function(n){function o(o){var t=this.constructor,r=n.call(this,o)||this;return r.message=o,r.name=t.prototype.constructor.name,e(r,t.prototype),r}(function(n,o){function r(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)})(o,n)}(Error);var i={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function s(n){var o=c();if(!("console"in o))return n();var t=o.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in o.console&&t[n].__sentry__&&(r[n]=t[n].__sentry_wrapped__,t[n]=t[n].__sentry_original__)});var e=n();return Object.keys(r).forEach(function(n){t[n]=r[n]}),e}var a=c(),f="Sentry Logger ",u=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];this._enabled&&s(function(){a.console.log(f+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];this._enabled&&s(function(){a.console.warn(f+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];this._enabled&&s(function(){a.console.error(f+"[Error]: "+n.join(" "))})},n}();a.__SENTRY__=a.__SENTRY__||{};var _;a.__SENTRY__.logger||(a.__SENTRY__.logger=new u);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(_||(_={}));var l=function(){function n(o){this.name=n.id,this._options=r({debugger:!1,stringify:!1},o)}return n.prototype.setupOnce=function(o,t){o(function(o,r){var e=t().getIntegration(n);return e&&(e._options.debugger,s(function(){e._options.stringify?(console.log(JSON.stringify(o,null,2)),r&&console.log(JSON.stringify(r,null,2))):(console.log(o),r&&console.log(r))})),o})},n.id="Debug",n}();for(var p in o.Debug=l,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},o)Object.prototype.hasOwnProperty.call(o,p)&&(n.Sentry.Integrations[p]=o[p])}(window);
//# sourceMappingURL=debug.min.js.map

@@ -175,5 +175,9 @@ (function (__window) {

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=dedupe.js.map

@@ -1,2 +0,2 @@

!function(e){var t={};Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t(function(t){var r=n().getIntegration(e);if(r){try{if(r._shouldDropEvent(t,r._previousEvent))return null}catch(e){return r._previousEvent=t}return r._previousEvent=t}return t})},e.prototype._shouldDropEvent=function(e,t){return!!t&&(!!this._isSameMessageEvent(e,t)||!!this._isSameExceptionEvent(e,t))},e.prototype._isSameMessageEvent=function(e,t){var n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!this._isSameFingerprint(e,t)&&!!this._isSameStacktrace(e,t))))},e.prototype._getFramesFromEvent=function(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}else if(e.stacktrace)return e.stacktrace.frames},e.prototype._isSameStacktrace=function(e,t){var n=this._getFramesFromEvent(e),r=this._getFramesFromEvent(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var i=0;i<r.length;i++){var o=r[i],a=n[i];if(o.filename!==a.filename||o.lineno!==a.lineno||o.colno!==a.colno||o.function!==a.function)return!1}return!0},e.prototype._getExceptionFromEvent=function(e){return e.exception&&e.exception.values&&e.exception.values[0]},e.prototype._isSameExceptionEvent=function(e,t){var n=this._getExceptionFromEvent(t),r=this._getExceptionFromEvent(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!this._isSameFingerprint(e,t)&&!!this._isSameStacktrace(e,t)))},e.prototype._isSameFingerprint=function(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(e){return!1}},e.id="Dedupe",e}();t.Dedupe=n,e.Sentry=e.Sentry||{},e.Sentry.Integrations=e.Sentry.Integrations||{},Object.assign(e.Sentry.Integrations,t)}(window);
!function(e){var t={};Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t(function(t){var r=n().getIntegration(e);if(r){try{if(r._shouldDropEvent(t,r._previousEvent))return null}catch(e){return r._previousEvent=t}return r._previousEvent=t}return t})},e.prototype._shouldDropEvent=function(e,t){return!!t&&(!!this._isSameMessageEvent(e,t)||!!this._isSameExceptionEvent(e,t))},e.prototype._isSameMessageEvent=function(e,t){var n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!this._isSameFingerprint(e,t)&&!!this._isSameStacktrace(e,t))))},e.prototype._getFramesFromEvent=function(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}else if(e.stacktrace)return e.stacktrace.frames},e.prototype._isSameStacktrace=function(e,t){var n=this._getFramesFromEvent(e),r=this._getFramesFromEvent(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var i=0;i<r.length;i++){var o=r[i],a=n[i];if(o.filename!==a.filename||o.lineno!==a.lineno||o.colno!==a.colno||o.function!==a.function)return!1}return!0},e.prototype._getExceptionFromEvent=function(e){return e.exception&&e.exception.values&&e.exception.values[0]},e.prototype._isSameExceptionEvent=function(e,t){var n=this._getExceptionFromEvent(t),r=this._getExceptionFromEvent(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!this._isSameFingerprint(e,t)&&!!this._isSameStacktrace(e,t)))},e.prototype._isSameFingerprint=function(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(e){return!1}},e.id="Dedupe",e}();for(var r in t.Dedupe=n,e.Sentry=e.Sentry||{},e.Sentry.Integrations=e.Sentry.Integrations||{},t)Object.prototype.hasOwnProperty.call(t,r)&&(e.Sentry.Integrations[r]=t[r])}(window);
//# sourceMappingURL=dedupe.min.js.map

@@ -6,2 +6,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
/*! *****************************************************************************

@@ -82,7 +87,2 @@ Copyright (c) Microsoft Corporation. All rights reserved.

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -277,5 +277,9 @@ *

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=ember.js.map

@@ -1,2 +0,2 @@

!function(n){var e={};Object.defineProperty(e,"__esModule",{value:!0});var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)};var r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,e){return n.__proto__=e,n}:function(n,e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t]);return n});!function(n){function e(e){var t=this.constructor,o=n.call(this,e)||this;return o.message=e,o.name=t.prototype.constructor.name,r(o,t.prototype),o}(function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)})(e,n)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function c(n){var e=i();if(!("console"in e))return n();var t=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in e.console&&t[n].__sentry__&&(r[n]=t[n].__sentry_wrapped__,t[n]=t[n].__sentry_original__)});var o=n();return Object.keys(r).forEach(function(n){t[n]=r[n]}),o}var a=i(),s="Sentry Logger ",_=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.log(s+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.warn(s+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.error(s+"[Error]: "+n.join(" "))})},n}();a.__SENTRY__=a.__SENTRY__||{};var f,u=a.__SENTRY__.logger||(a.__SENTRY__.logger=new _);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(f||(f={}));var p=function(){function n(e){void 0===e&&(e={}),this.name=n.id,this._Ember=e.Ember||i().Ember}return n.prototype.setupOnce=function(e,t){var r=this;if(this._Ember){var o=this._Ember.onerror;this._Ember.onerror=function(e){if(t().getIntegration(n)&&t().captureException(e,{originalException:e}),"function"==typeof o)o.call(r._Ember,e);else if(r._Ember.testing)throw e},this._Ember.RSVP.on("error",function(e){t().getIntegration(n)&&t().withScope(function(n){e instanceof Error?(n.setExtra("context","Unhandled Promise error detected"),t().captureException(e,{originalException:e})):(n.setExtra("reason",e),t().captureMessage("Unhandled Promise error detected"))})})}else u.error("EmberIntegration is missing an Ember instance")},n.id="Ember",n}();e.Ember=p,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,e)}(window);
!function(n){var e={};Object.defineProperty(e,"__esModule",{value:!0});var r=function(n,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r])})(n,e)};var t=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,e){return n.__proto__=e,n}:function(n,e){for(var r in e)n.hasOwnProperty(r)||(n[r]=e[r]);return n});!function(n){function e(e){var r=this.constructor,o=n.call(this,e)||this;return o.message=e,o.name=r.prototype.constructor.name,t(o,r.prototype),o}(function(n,e){function t(){this.constructor=n}r(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)})(e,n)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function c(n){var e=i();if(!("console"in e))return n();var r=e.console,t={};["debug","info","warn","error","log","assert"].forEach(function(n){n in e.console&&r[n].__sentry__&&(t[n]=r[n].__sentry_wrapped__,r[n]=r[n].__sentry_original__)});var o=n();return Object.keys(t).forEach(function(n){r[n]=t[n]}),o}var a=i(),s="Sentry Logger ",_=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.log(s+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.warn(s+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.error(s+"[Error]: "+n.join(" "))})},n}();a.__SENTRY__=a.__SENTRY__||{};var f,u=a.__SENTRY__.logger||(a.__SENTRY__.logger=new _);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(f||(f={}));var p=function(){function n(e){void 0===e&&(e={}),this.name=n.id,this._Ember=e.Ember||i().Ember}return n.prototype.setupOnce=function(e,r){var t=this;if(this._Ember){var o=this._Ember.onerror;this._Ember.onerror=function(e){if(r().getIntegration(n)&&r().captureException(e,{originalException:e}),"function"==typeof o)o.call(t._Ember,e);else if(t._Ember.testing)throw e},this._Ember.RSVP.on("error",function(e){r().getIntegration(n)&&r().withScope(function(n){e instanceof Error?(n.setExtra("context","Unhandled Promise error detected"),r().captureException(e,{originalException:e})):(n.setExtra("reason",e),r().captureMessage("Unhandled Promise error detected"))})})}else u.error("EmberIntegration is missing an Ember instance")},n.id="Ember",n}();for(var l in e.Ember=p,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},e)Object.prototype.hasOwnProperty.call(e,l)&&(n.Sentry.Integrations[l]=e[l])}(window);
//# sourceMappingURL=ember.min.js.map

@@ -57,2 +57,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
var setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); // tslint:disable-line:no-unbound-method

@@ -115,2 +120,12 @@ /**

/**
* Checks whether given value's type is a string
* {@link isString}.
*
* @param wat A value to be checked.
* @returns A boolean representing the result.
*/
function isString(wat) {
return Object.prototype.toString.call(wat) === '[object String]';
}
/**
* Checks whether given value's is a primitive (undefined, null, number, boolean, string)

@@ -136,2 +151,24 @@ * {@link isPrimitive}.

/**
* Checks whether given value's type is an Event instance
* {@link isEvent}.
*
* @param wat A value to be checked.
* @returns A boolean representing the result.
*/
function isEvent(wat) {
// tslint:disable-next-line:strict-type-predicates
return typeof Event !== 'undefined' && wat instanceof Event;
}
/**
* Checks whether given value's type is an Element instance
* {@link isElement}.
*
* @param wat A value to be checked.
* @returns A boolean representing the result.
*/
function isElement(wat) {
// tslint:disable-next-line:strict-type-predicates
return typeof Element !== 'undefined' && wat instanceof Element;
}
/**
* Checks whether given value's type is a SyntheticEvent

@@ -149,7 +186,2 @@ * {@link isSyntheticEvent}.

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -202,2 +234,78 @@ *

}
/**
* Given a child DOM element, returns a query-selector statement describing that
* and its ancestors
* e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]
* @returns generated DOM path
*/
function htmlTreeAsString(elem) {
// try/catch both:
// - accessing event.target (see getsentry/raven-js#838, #768)
// - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly
// - can throw an exception in some circumstances.
try {
var currentElem = elem;
var MAX_TRAVERSE_HEIGHT = 5;
var MAX_OUTPUT_LEN = 80;
var out = [];
var height = 0;
var len = 0;
var separator = ' > ';
var sepLength = separator.length;
var nextStr = void 0;
while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {
nextStr = _htmlElementAsString(currentElem);
// bail out if
// - nextStr is the 'html' element
// - the length of the string that would be created exceeds MAX_OUTPUT_LEN
// (ignore this limit if we are on the first iteration)
if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) {
break;
}
out.push(nextStr);
len += nextStr.length;
currentElem = currentElem.parentNode;
}
return out.reverse().join(separator);
}
catch (_oO) {
return '<unknown>';
}
}
/**
* Returns a simple, query-selector representation of a DOM element
* e.g. [HTMLElement] => input#foo.btn[name=baz]
* @returns generated DOM path
*/
function _htmlElementAsString(elem) {
var out = [];
var className;
var classes;
var key;
var attr;
var i;
if (!elem || !elem.tagName) {
return '';
}
out.push(elem.tagName.toLowerCase());
if (elem.id) {
out.push("#" + elem.id);
}
className = elem.className;
if (className && isString(className)) {
classes = className.split(/\s+/);
for (i = 0; i < classes.length; i++) {
out.push("." + classes[i]);
}
}
var attrWhitelist = ['type', 'name', 'title', 'alt'];
for (i = 0; i < attrWhitelist.length; i++) {
key = attrWhitelist[i];
attr = elem.getAttribute(key);
if (attr) {
out.push("[" + key + "=\"" + attr + "\"]");
}
}
return out.join('');
}

@@ -320,23 +428,54 @@ // TODO: Implement different loggers for different environments

/**
* Transforms Error object into an object literal with all it's attributes
* Transforms any object into an object literal with all it's attributes
* attached to it.
*
* Based on: https://github.com/ftlabs/js-abbreviate/blob/fa709e5f139e7770a71827b1893f22418097fbda/index.js#L95-L106
*
* @param error An Error containing all relevant information
* @returns An object with all error properties
* @param value Initial source that we have to transform in order to be usable by the serializer
*/
function objectifyError(error) {
// These properties are implemented as magical getters and don't show up in `for-in` loop
var err = {
message: error.message,
name: error.name,
stack: error.stack,
};
for (var i in error) {
if (Object.prototype.hasOwnProperty.call(error, i)) {
err[i] = error[i];
function getWalkSource(value) {
if (isError(value)) {
var error = value;
var err = {
message: error.message,
name: error.name,
stack: error.stack,
};
for (var i in error) {
if (Object.prototype.hasOwnProperty.call(error, i)) {
err[i] = error[i];
}
}
return err;
}
return err;
if (isEvent(value)) {
var source = {};
source.type = value.type;
// Accessing event.target can throw (see getsentry/raven-js#838, #768)
try {
source.target = isElement(value.target)
? htmlTreeAsString(value.target)
: Object.prototype.toString.call(value.target);
}
catch (_oO) {
source.target = '<unknown>';
}
try {
source.currentTarget = isElement(value.currentTarget)
? htmlTreeAsString(value.currentTarget)
: Object.prototype.toString.call(value.currentTarget);
}
catch (_oO) {
source.currentTarget = '<unknown>';
}
// tslint:disable-next-line:strict-type-predicates
if (typeof CustomEvent !== 'undefined' && value instanceof CustomEvent) {
source.detail = value.detail;
}
for (var i in value) {
if (Object.prototype.hasOwnProperty.call(value, i)) {
source[i] = value[i];
}
}
return source;
}
return value;
}

@@ -368,2 +507,3 @@ /** Transforms any input value into a string form, either primitive value or a type of the input */

*/
// tslint:disable-next-line:cyclomatic-complexity
function normalizeValue(value, key) {

@@ -385,6 +525,2 @@ if (key === 'domain' && typeof value === 'object' && value._events) {

}
// tslint:disable-next-line:strict-type-predicates
if (typeof Event !== 'undefined' && value instanceof Event) {
return Object.getPrototypeOf(value) ? value.constructor.name : 'Event';
}
// React's SyntheticEvent thingy

@@ -394,3 +530,4 @@ if (isSyntheticEvent(value)) {

}
if (Number.isNaN(value)) {
// tslint:disable-next-line:no-tautology-expression
if (typeof value === 'number' && value !== value) {
return '[NaN]';

@@ -433,3 +570,3 @@ }

// Create source that we will use for next itterations, either objectified error object (Error type with extracted keys:value pairs) or the input itself
var source = (isError(value) ? objectifyError(value) : value);
var source = getWalkSource(value);
// Create an accumulator that will act as a parent for all future itterations of that branch

@@ -519,13 +656,15 @@ var acc = Array.isArray(value) ? [] : {};

ExtraErrorData.prototype.enhanceEventWithErrorData = function (event, hint) {
var _a;
if (!hint || !hint.originalException || !isError(hint.originalException)) {
return event;
}
var name = hint.originalException.name || hint.originalException.constructor.name;
var errorData = this._extractErrorData(hint.originalException);
if (errorData) {
var extra = __assign({}, event.extra);
var contexts = __assign({}, event.contexts);
var normalizedErrorData = normalize(errorData, this._options.depth);
if (isPlainObject(normalizedErrorData)) {
extra = __assign({}, event.extra, normalizedErrorData);
contexts = __assign({}, event.contexts, (_a = {}, _a[name] = __assign({}, normalizedErrorData), _a));
}
return __assign({}, event, { extra: extra });
return __assign({}, event, { contexts: contexts });
}

@@ -538,3 +677,3 @@ return event;

ExtraErrorData.prototype._extractErrorData = function (error) {
var e_1, _a, _b;
var e_1, _a;
var result = null;

@@ -544,3 +683,2 @@ // We are trying to enhance already existing event, so no harm done if it won't succeed

var nativeKeys_1 = ['name', 'message', 'stack', 'line', 'column', 'fileName', 'lineNumber', 'columnNumber'];
var name_1 = error.name || error.constructor.name;
var errorKeys = Object.getOwnPropertyNames(error).filter(function (key) { return nativeKeys_1.indexOf(key) === -1; });

@@ -567,5 +705,3 @@ if (errorKeys.length) {

}
result = (_b = {},
_b[name_1] = extraErrorInfo,
_b);
result = extraErrorInfo;
}

@@ -590,5 +726,9 @@ }

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=extraerrordata.js.map

@@ -1,2 +0,2 @@

!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};var r=function(){return(r=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};var o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var e in n)t.hasOwnProperty(e)||(t[e]=n[e]);return t});!function(t){function n(n){var e=this.constructor,r=t.call(this,n)||this;return r.message=n,r.name=e.prototype.constructor.name,o(r,e.prototype),r}(function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)})(n,t)}(Error);function i(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function a(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}var u={};function f(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:u}function s(t){var n=f();if(!("console"in n))return t();var e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){e[t]=r[t]}),o}var p=f(),l="Sentry Logger ",y=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&s(function(){p.console.log(l+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&s(function(){p.console.warn(l+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&s(function(){p.console.error(l+"[Error]: "+t.join(" "))})},t}();p.__SENTRY__=p.__SENTRY__||{};var _,h=p.__SENTRY__.logger||(p.__SENTRY__.logger=new y),v=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var n=0;n<this._inner.length;n++){if(this._inner[n]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var n=0;n<this._inner.length;n++)if(this._inner[n]===t){this._inner.splice(n,1);break}},t}();function d(t,n){return"domain"===n&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":"undefined"!=typeof Event&&t instanceof Event?Object.getPrototypeOf(t)?t.constructor.name:"Event":c(e=t)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":Number.isNaN(t)?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+(t.name||"<unknown-function-name>")+"]":t;var e}function b(t,n,e,r){if(void 0===e&&(e=1/0),void 0===r&&(r=new v),0===e)return function(t){var n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var e=d(t);return a(e)?e:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var o=d(n,t);if(a(o))return o;var c=i(n)?function(t){var n={message:t.message,name:t.name,stack:t.stack};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}(n):n,u=Array.isArray(n)?[]:{};if(r.memoize(n))return"[Circular ~]";for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(u[f]=b(f,c[f],e-1,r));return r.unmemoize(n),u}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(_||(_={}));var g=function(){function t(n){void 0===n&&(n={depth:3}),this._options=n,this.name=t.id}return t.prototype.setupOnce=function(n,e){n(function(n,r){var o=e().getIntegration(t);return o?o.enhanceEventWithErrorData(n,r):n})},t.prototype.enhanceEventWithErrorData=function(t,n){if(!n||!n.originalException||!i(n.originalException))return t;var e=this._extractErrorData(n.originalException);if(e){var o=r({},t.extra),a=function(t,n){try{return JSON.parse(JSON.stringify(t,function(t,e){return b(t,e,n)}))}catch(t){return"**non-serializable**"}}(e,this._options.depth);return c(a)&&(o=r({},t.extra,a)),r({},t,{extra:o})}return t},t.prototype._extractErrorData=function(t){var n,e,r,o=null;try{var a=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],c=t.name||t.constructor.name,u=Object.getOwnPropertyNames(t).filter(function(t){return-1===a.indexOf(t)});if(u.length){var f={};try{for(var s=function(t){var n="function"==typeof Symbol&&t[Symbol.iterator],e=0;return n?n.call(t):{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}(u),p=s.next();!p.done;p=s.next()){var l=p.value,y=t[l];i(y)&&(y=y.toString()),f[l]=y}}catch(t){n={error:t}}finally{try{p&&!p.done&&(e=s.return)&&e.call(s)}finally{if(n)throw n.error}}(r={})[c]=f,o=r}}catch(t){h.error("Unable to extract extra data from the Error object:",t)}return o},t.id="ExtraErrorData",t}();n.ExtraErrorData=g,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},Object.assign(t.Sentry.Integrations,n)}(window);
!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};var r=function(){return(r=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};var o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var e in n)t.hasOwnProperty(e)||(t[e]=n[e]);return t});!function(t){function n(n){var e=this.constructor,r=t.call(this,n)||this;return r.message=n,r.name=e.prototype.constructor.name,o(r,e.prototype),r}(function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)})(n,t)}(Error);function i(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function a(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(t){return"undefined"!=typeof Element&&t instanceof Element}var f={};function s(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function l(t){var n=s();if(!("console"in n))return t();var e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){e[t]=r[t]}),o}function p(t){try{for(var n=t,e=[],r=0,o=0,i=" > ".length,a=void 0;n&&r++<5&&!("html"===(a=y(n))||r>1&&o+e.length*i+a.length>=80);)e.push(a),o+=a.length,n=n.parentNode;return e.reverse().join(" > ")}catch(t){return"<unknown>"}}function y(t){var n,e,r,o,i,a,c=[];if(!t||!t.tagName)return"";if(c.push(t.tagName.toLowerCase()),t.id&&c.push("#"+t.id),(n=t.className)&&(a=n,"[object String]"===Object.prototype.toString.call(a)))for(e=n.split(/\s+/),i=0;i<e.length;i++)c.push("."+e[i]);var u=["type","name","title","alt"];for(i=0;i<u.length;i++)r=u[i],(o=t.getAttribute(r))&&c.push("["+r+'="'+o+'"]');return c.join("")}var h=s(),_="Sentry Logger ",g=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&l(function(){h.console.log(_+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&l(function(){h.console.warn(_+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&l(function(){h.console.error(_+"[Error]: "+t.join(" "))})},t}();h.__SENTRY__=h.__SENTRY__||{};var v,d=h.__SENTRY__.logger||(h.__SENTRY__.logger=new g),b=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var n=0;n<this._inner.length;n++){if(this._inner[n]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var n=0;n<this._inner.length;n++)if(this._inner[n]===t){this._inner.splice(n,1);break}},t}();function m(t){if(i(t)){var n=t,e={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}if(a=t,"undefined"!=typeof Event&&a instanceof Event){var o={};o.type=t.type;try{o.target=u(t.target)?p(t.target):Object.prototype.toString.call(t.target)}catch(t){o.target="<unknown>"}try{o.currentTarget=u(t.currentTarget)?p(t.currentTarget):Object.prototype.toString.call(t.currentTarget)}catch(t){o.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&t instanceof CustomEvent&&(o.detail=t.detail),t)Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o}var a;return t}function E(t,n){return"domain"===n&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":c(e=t)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+(t.name||"<unknown-function-name>")+"]":t;var e}function O(t,n,e,r){if(void 0===e&&(e=1/0),void 0===r&&(r=new b),0===e)return function(t){var n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var e=E(t);return a(e)?e:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var o=E(n,t);if(a(o))return o;var i=m(n),c=Array.isArray(n)?[]:{};if(r.memoize(n))return"[Circular ~]";for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(c[u]=O(u,i[u],e-1,r));return r.unmemoize(n),c}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(v||(v={}));var j=function(){function t(n){void 0===n&&(n={depth:3}),this._options=n,this.name=t.id}return t.prototype.setupOnce=function(n,e){n(function(n,r){var o=e().getIntegration(t);return o?o.enhanceEventWithErrorData(n,r):n})},t.prototype.enhanceEventWithErrorData=function(t,n){var e;if(!n||!n.originalException||!i(n.originalException))return t;var o=n.originalException.name||n.originalException.constructor.name,a=this._extractErrorData(n.originalException);if(a){var u=r({},t.contexts),f=function(t,n){try{return JSON.parse(JSON.stringify(t,function(t,e){return O(t,e,n)}))}catch(t){return"**non-serializable**"}}(a,this._options.depth);return c(f)&&(u=r({},t.contexts,((e={})[o]=r({},f),e))),r({},t,{contexts:u})}return t},t.prototype._extractErrorData=function(t){var n,e,r=null;try{var o=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],a=Object.getOwnPropertyNames(t).filter(function(t){return-1===o.indexOf(t)});if(a.length){var c={};try{for(var u=function(t){var n="function"==typeof Symbol&&t[Symbol.iterator],e=0;return n?n.call(t):{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}(a),f=u.next();!f.done;f=u.next()){var s=f.value,l=t[s];i(l)&&(l=l.toString()),c[s]=l}}catch(t){n={error:t}}finally{try{f&&!f.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}r=c}}catch(t){d.error("Unable to extract extra data from the Error object:",t)}return r},t.id="ExtraErrorData",t}();for(var w in n.ExtraErrorData=j,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},n)Object.prototype.hasOwnProperty.call(n,w)&&(t.Sentry.Integrations[w]=n[w])}(window);
//# sourceMappingURL=extraerrordata.min.js.map

@@ -46,2 +46,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
var setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); // tslint:disable-line:no-unbound-method

@@ -93,7 +98,2 @@ /**

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -214,2 +214,13 @@ *

/** SyncPromise internal states */
var States;
(function (States) {
/** Pending */
States["PENDING"] = "PENDING";
/** Resolved / OK */
States["RESOLVED"] = "RESOLVED";
/** Rejected / Error */
States["REJECTED"] = "REJECTED";
})(States || (States = {}));
/**

@@ -226,13 +237,2 @@ * Tells whether current environment supports ReportingObserver API

/** SyncPromise internal states */
var States;
(function (States) {
/** Pending */
States["PENDING"] = "PENDING";
/** Resolved / OK */
States["RESOLVED"] = "RESOLVED";
/** Rejected / Error */
States["REJECTED"] = "REJECTED";
})(States || (States = {}));
/** JSDoc */

@@ -339,5 +339,9 @@ var ReportTypes;

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=reportingobserver.js.map

@@ -1,2 +0,2 @@

!function(n){var t={};Object.defineProperty(t,"__esModule",{value:!0});var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)};var r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,t){return n.__proto__=t,n}:function(n,t){for(var e in t)n.hasOwnProperty(e)||(n[e]=t[e]);return n});!function(n){function t(t){var e=this.constructor,o=n.call(this,t)||this;return o.message=t,o.name=e.prototype.constructor.name,r(o,e.prototype),o}(function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(t,n)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function a(n){var t=i();if(!("console"in t))return n();var e=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&e[n].__sentry__&&(r[n]=e[n].__sentry_wrapped__,e[n]=e[n].__sentry_original__)});var o=n();return Object.keys(r).forEach(function(n){e[n]=r[n]}),o}var s=i(),c="Sentry Logger ",u=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&a(function(){s.console.log(c+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&a(function(){s.console.warn(c+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this._enabled&&a(function(){s.console.error(c+"[Error]: "+n.join(" "))})},n}();s.__SENTRY__=s.__SENTRY__||{};var f,p;s.__SENTRY__.logger||(s.__SENTRY__.logger=new u);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(f||(f={})),function(n){n.Crash="crash",n.Deprecation="deprecation",n.Intervention="intervention"}(p||(p={}));var _=function(){function n(t){void 0===t&&(t={types:[p.Crash,p.Deprecation,p.Intervention]}),this._options=t,this.name=n.id}return n.prototype.setupOnce=function(n,t){"ReportingObserver"in i()&&(this._getCurrentHub=t,new(i().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this._options.types}).observe())},n.prototype.handler=function(t){var e,r,o=this._getCurrentHub&&this._getCurrentHub();if(o&&o.getIntegration(n)){var i=function(n){o.withScope(function(t){t.setExtra("url",n.url);var e="ReportingObserver ["+n.type+"]",r="No details available";if(n.body){var i,a={};for(var s in n.body)a[s]=n.body[s];if(t.setExtra("body",a),n.type===p.Crash)r=[(i=n.body).crashId||"",i.reason||""].join(" ").trim()||r;else r=(i=n.body).message||r}o.captureMessage(e+": "+r)})};try{for(var a=function(n){var t="function"==typeof Symbol&&n[Symbol.iterator],e=0;return t?t.call(n):{next:function(){return n&&e>=n.length&&(n=void 0),{value:n&&n[e++],done:!n}}}}(t),s=a.next();!s.done;s=a.next()){i(s.value)}}catch(n){e={error:n}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}}},n.id="ReportingObserver",n}();t.ReportingObserver=_,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};var r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var e in n)t.hasOwnProperty(e)||(t[e]=n[e]);return t});!function(t){function n(n){var e=this.constructor,o=t.call(this,n)||this;return o.message=n,o.name=e.prototype.constructor.name,r(o,e.prototype),o}(function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)})(n,t)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function a(t){var n=i();if(!("console"in n))return t();var e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){e[t]=r[t]}),o}var s=i(),c="Sentry Logger ",u=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&a(function(){s.console.log(c+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&a(function(){s.console.warn(c+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&a(function(){s.console.error(c+"[Error]: "+t.join(" "))})},t}();s.__SENTRY__=s.__SENTRY__||{};var f,p;s.__SENTRY__.logger||(s.__SENTRY__.logger=new u);!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(f||(f={})),function(t){t.Crash="crash",t.Deprecation="deprecation",t.Intervention="intervention"}(p||(p={}));var _=function(){function t(n){void 0===n&&(n={types:[p.Crash,p.Deprecation,p.Intervention]}),this._options=n,this.name=t.id}return t.prototype.setupOnce=function(t,n){"ReportingObserver"in i()&&(this._getCurrentHub=n,new(i().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this._options.types}).observe())},t.prototype.handler=function(n){var e,r,o=this._getCurrentHub&&this._getCurrentHub();if(o&&o.getIntegration(t)){var i=function(t){o.withScope(function(n){n.setExtra("url",t.url);var e="ReportingObserver ["+t.type+"]",r="No details available";if(t.body){var i,a={};for(var s in t.body)a[s]=t.body[s];if(n.setExtra("body",a),t.type===p.Crash)r=[(i=t.body).crashId||"",i.reason||""].join(" ").trim()||r;else r=(i=t.body).message||r}o.captureMessage(e+": "+r)})};try{for(var a=function(t){var n="function"==typeof Symbol&&t[Symbol.iterator],e=0;return n?n.call(t):{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}(n),s=a.next();!s.done;s=a.next()){i(s.value)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}}},t.id="ReportingObserver",t}();for(var l in n.ReportingObserver=_,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},n)Object.prototype.hasOwnProperty.call(n,l)&&(t.Sentry.Integrations[l]=n[l])}(window);
//# sourceMappingURL=reportingobserver.min.js.map

@@ -6,2 +6,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
/*! *****************************************************************************

@@ -82,7 +87,2 @@ Copyright (c) Microsoft Corporation. All rights reserved.

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -406,5 +406,9 @@ *

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=rewriteframes.js.map

@@ -1,2 +0,2 @@

!function(t){var r={};Object.defineProperty(r,"__esModule",{value:!0});var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(t,r)};var n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,r){return t.__proto__=r,t}:function(t,r){for(var e in r)t.hasOwnProperty(e)||(t[e]=r[e]);return t});!function(t){function r(r){var e=this.constructor,o=t.call(this,r)||this;return o.message=r,o.name=e.prototype.constructor.name,n(o,e.prototype),o}(function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)})(r,t)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function a(t){var r=i();if(!("console"in r))return t();var e=r.console,n={};["debug","info","warn","error","log","assert"].forEach(function(t){t in r.console&&e[t].__sentry__&&(n[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(n).forEach(function(t){e[t]=n[t]}),o}var s=i(),c="Sentry Logger ",f=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._enabled&&a(function(){s.console.log(c+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._enabled&&a(function(){s.console.warn(c+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._enabled&&a(function(){s.console.error(c+"[Error]: "+t.join(" "))})},t}();s.__SENTRY__=s.__SENTRY__||{};s.__SENTRY__.logger||(s.__SENTRY__.logger=new f);var u,l=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;function _(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e="",n=!1,o=t.length-1;o>=-1&&!n;o--){var i=o>=0?t[o]:"/";i&&(e=i+"/"+e,n="/"===i.charAt(0))}return(n?"/":"")+(e=function(t,r){for(var e=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),e++):e&&(t.splice(n,1),e--)}if(r)for(;e--;e)t.unshift("..");return t}(e.split("/").filter(function(t){return!!t}),!n).join("/"))||"."}function p(t){for(var r=0;r<t.length&&""===t[r];r++);for(var e=t.length-1;e>=0&&""===t[e];e--);return r>e?[]:t.slice(r,e-r+1)}function h(t,r){var e,n,o=(e=t,n=l.exec(e),n?n.slice(1):[])[2];return r&&o.substr(-1*r.length)===r&&(o=o.substr(0,o.length-r.length)),o}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(u||(u={}));var g=function(){function t(r){var e=this;void 0===r&&(r={}),this.name=t.id,this._iteratee=function(t){if(t.filename&&t.filename.startsWith("/")){var r=e._root?function(t,r){t=_(t).substr(1),r=_(r).substr(1);for(var e=p(t.split("/")),n=p(r.split("/")),o=Math.min(e.length,n.length),i=o,a=0;a<o;a++)if(e[a]!==n[a]){i=a;break}var s=[];for(a=i;a<e.length;a++)s.push("..");return(s=s.concat(n.slice(i))).join("/")}(e._root,t.filename):h(t.filename);t.filename="app:///"+r}return t},r.root&&(this._root=r.root),r.iteratee&&(this._iteratee=r.iteratee)}return t.prototype.setupOnce=function(r,e){r(function(r){var n=e().getIntegration(t);return n?n.process(r):r})},t.prototype.process=function(t){var r=this._getFramesFromEvent(t);if(r)for(var e in r)r[e]=this._iteratee(r[e]);return t},t.prototype._getFramesFromEvent=function(t){var r=t.exception;if(r)try{return r.values[0].stacktrace.frames}catch(t){return}else if(t.stacktrace)return t.stacktrace.frames},t.id="RewriteFrames",t}();r.RewriteFrames=g,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},Object.assign(t.Sentry.Integrations,r)}(window);
!function(t){var r={};Object.defineProperty(r,"__esModule",{value:!0});var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(t,r)};var n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,r){return t.__proto__=r,t}:function(t,r){for(var e in r)t.hasOwnProperty(e)||(t[e]=r[e]);return t});!function(t){function r(r){var e=this.constructor,o=t.call(this,r)||this;return o.message=r,o.name=e.prototype.constructor.name,n(o,e.prototype),o}(function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)})(r,t)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function a(t){var r=i();if(!("console"in r))return t();var e=r.console,n={};["debug","info","warn","error","log","assert"].forEach(function(t){t in r.console&&e[t].__sentry__&&(n[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(n).forEach(function(t){e[t]=n[t]}),o}var s=i(),c="Sentry Logger ",f=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._enabled&&a(function(){s.console.log(c+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._enabled&&a(function(){s.console.warn(c+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._enabled&&a(function(){s.console.error(c+"[Error]: "+t.join(" "))})},t}();s.__SENTRY__=s.__SENTRY__||{};s.__SENTRY__.logger||(s.__SENTRY__.logger=new f);var u,l=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;function _(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e="",n=!1,o=t.length-1;o>=-1&&!n;o--){var i=o>=0?t[o]:"/";i&&(e=i+"/"+e,n="/"===i.charAt(0))}return(n?"/":"")+(e=function(t,r){for(var e=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),e++):e&&(t.splice(n,1),e--)}if(r)for(;e--;e)t.unshift("..");return t}(e.split("/").filter(function(t){return!!t}),!n).join("/"))||"."}function p(t){for(var r=0;r<t.length&&""===t[r];r++);for(var e=t.length-1;e>=0&&""===t[e];e--);return r>e?[]:t.slice(r,e-r+1)}function h(t,r){var e,n,o=(e=t,n=l.exec(e),n?n.slice(1):[])[2];return r&&o.substr(-1*r.length)===r&&(o=o.substr(0,o.length-r.length)),o}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(u||(u={}));var v=function(){function t(r){var e=this;void 0===r&&(r={}),this.name=t.id,this._iteratee=function(t){if(t.filename&&t.filename.startsWith("/")){var r=e._root?function(t,r){t=_(t).substr(1),r=_(r).substr(1);for(var e=p(t.split("/")),n=p(r.split("/")),o=Math.min(e.length,n.length),i=o,a=0;a<o;a++)if(e[a]!==n[a]){i=a;break}var s=[];for(a=i;a<e.length;a++)s.push("..");return(s=s.concat(n.slice(i))).join("/")}(e._root,t.filename):h(t.filename);t.filename="app:///"+r}return t},r.root&&(this._root=r.root),r.iteratee&&(this._iteratee=r.iteratee)}return t.prototype.setupOnce=function(r,e){r(function(r){var n=e().getIntegration(t);return n?n.process(r):r})},t.prototype.process=function(t){var r=this._getFramesFromEvent(t);if(r)for(var e in r)r[e]=this._iteratee(r[e]);return t},t.prototype._getFramesFromEvent=function(t){var r=t.exception;if(r)try{return r.values[0].stacktrace.frames}catch(t){return}else if(t.stacktrace)return t.stacktrace.frames},t.id="RewriteFrames",t}();for(var y in r.RewriteFrames=v,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},r)Object.prototype.hasOwnProperty.call(r,y)&&(t.Sentry.Integrations[y]=r[y])}(window);
//# sourceMappingURL=rewriteframes.min.js.map

@@ -74,5 +74,9 @@ (function (__window) {

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=sessiontiming.js.map

@@ -1,2 +0,2 @@

!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(){return(e=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}).apply(this,arguments)},r=function(){function t(){this.name=t.id,this._startTime=Date.now()}return t.prototype.setupOnce=function(n,e){n(function(n){var r=e().getIntegration(t);return r?r.process(n):n})},t.prototype.process=function(t){var n,r=Date.now();return e({},t,{extra:e({},t.extra,(n={},n["session:start"]=this._startTime,n["session:duration"]=r-this._startTime,n["session:end"]=r,n))})},t.id="SessionTiming",t}();n.SessionTiming=r,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},Object.assign(t.Sentry.Integrations,n)}(window);
!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(){return(e=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)},r=function(){function t(){this.name=t.id,this._startTime=Date.now()}return t.prototype.setupOnce=function(n,e){n(function(n){var r=e().getIntegration(t);return r?r.process(n):n})},t.prototype.process=function(t){var n,r=Date.now();return e({},t,{extra:e({},t.extra,(n={},n["session:start"]=this._startTime,n["session:duration"]=r-this._startTime,n["session:end"]=r,n))})},t.id="SessionTiming",t}();for(var o in n.SessionTiming=r,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},n)Object.prototype.hasOwnProperty.call(n,o)&&(t.Sentry.Integrations[o]=n[o])}(window);
//# sourceMappingURL=sessiontiming.min.js.map

@@ -69,2 +69,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
var setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); // tslint:disable-line:no-unbound-method

@@ -126,7 +131,2 @@ /**

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -246,2 +246,17 @@ *

/**
* Checks if the value matches a regex or includes the string
* @param value The string value to be checked against
* @param pattern Either a regex or a string that must be contained in value
*/
function isMatchingPattern(value, pattern) {
if (isRegExp(pattern)) {
return pattern.test(value);
}
if (typeof pattern === 'string') {
return value.indexOf(pattern) !== -1;
}
return false;
}
/**
* Wrap a given object method with a higher-order function

@@ -291,16 +306,12 @@ *

/**
* Checks if the value matches a regex or includes the string
* @param value The string value to be checked against
* @param pattern Either a regex or a string that must be contained in value
*/
function isMatchingPattern(value, pattern) {
if (isRegExp(pattern)) {
return pattern.test(value);
}
if (typeof pattern === 'string') {
return value.includes(pattern);
}
return false;
}
/** SyncPromise internal states */
var States;
(function (States) {
/** Pending */
States["PENDING"] = "PENDING";
/** Resolved / OK */
States["RESOLVED"] = "RESOLVED";
/** Rejected / Error */
States["REJECTED"] = "REJECTED";
})(States || (States = {}));

@@ -366,13 +377,2 @@ /**

/** SyncPromise internal states */
var States;
(function (States) {
/** Pending */
States["PENDING"] = "PENDING";
/** Resolved / OK */
States["RESOLVED"] = "RESOLVED";
/** Rejected / Error */
States["REJECTED"] = "REJECTED";
})(States || (States = {}));
/**

@@ -540,5 +540,9 @@ * Tracing Integration

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=tracing.js.map

@@ -1,2 +0,2 @@

!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};var r=function(){return(r=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};function o(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),a=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return a}var i=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var e in n)t.hasOwnProperty(e)||(t[e]=n[e]);return t});!function(t){function n(n){var e=this.constructor,r=t.call(this,n)||this;return r.message=n,r.name=e.prototype.constructor.name,i(r,e.prototype),r}(function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)})(n,t)}(Error);var a={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:a}function s(t){var n=c();if(!("console"in n))return t();var e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){e[t]=r[t]}),o}var u=c(),f="Sentry Logger ",p=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&s(function(){u.console.log(f+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&s(function(){u.console.warn(f+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&s(function(){u.console.error(f+"[Error]: "+t.join(" "))})},t}();u.__SENTRY__=u.__SENTRY__||{};var l,_=u.__SENTRY__.logger||(u.__SENTRY__.logger=new p);function h(t,n,e){if(n in t){var r=t[n],o=e(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})}catch(t){}t[n]=o}}function d(t,n){return e=n,"[object RegExp]"===Object.prototype.toString.call(e)?n.test(t):"string"==typeof n&&t.includes(n);var e}function y(){if(!function(){if(!("fetch"in c()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}())return!1;var t=function(t){return-1!==t.toString().indexOf("native")},n=c(),e=null,r=n.document;if(r){var o=r.createElement("iframe");o.hidden=!0;try{r.head.appendChild(o),o.contentWindow&&o.contentWindow.fetch&&(e=t(o.contentWindow.fetch)),r.head.removeChild(o)}catch(t){_.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}}return null===e&&(e=t(n.fetch)),e}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(l||(l={}));var g=function(){function t(n){if(void 0===n&&(n={}),this._options=n,this.name=t.id,!Array.isArray(n.tracingOrigins)||0===n.tracingOrigins.length){var e=["localhost",/^\//];_.warn("Sentry: You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),_.warn("Sentry: We added a reasonable default for you: "+e),n.tracingOrigins=e}}return t.prototype.setupOnce=function(n,e){!1!==this._options.traceXHR&&this._traceXHR(e),!1!==this._options.traceFetch&&this._traceFetch(e),!1!==this._options.autoStartOnDomReady&&(c().addEventListener("DOMContentLoaded",function(){t.startTrace(e(),c().location.href)}),c().document.onreadystatechange=function(){"complete"===document.readyState&&t.startTrace(e(),c().location.href)})},t.startTrace=function(t,n){t.configureScope(function(t){t.startSpan(),t.setTransaction(n)})},t.prototype._traceXHR=function(n){if("XMLHttpRequest"in c()){var e=XMLHttpRequest.prototype;h(e,"open",function(e){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=n().getIntegration(t);return i&&(i._xhrUrl=r[1]),e.apply(this,r)}}),h(e,"send",function(e){return function(){for(var r=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=n().getIntegration(t);if(a&&a._xhrUrl&&a._options.tracingOrigins){var c=a._xhrUrl,s=n().traceHeaders();a._options.tracingOrigins.some(function(t){return d(c,t)})&&this.setRequestHeader&&Object.keys(s).forEach(function(t){r.setRequestHeader(t,s[t])})}return e.apply(this,o)}})}},t.prototype._traceFetch=function(n){y()&&h(c(),"fetch",function(e){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=n().getIntegration(t);if(s&&s._options.tracingOrigins){var u=i[0],f=i[1]=i[1]||{},p=!1;s._options.tracingOrigins.forEach(function(t){p||(p=d(u,t))}),p&&(f.headers?Array.isArray(f.headers)?f.headers=function(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(o(arguments[n]));return t}(f.headers,Object.entries(n().traceHeaders())):f.headers=r({},f.headers,n().traceHeaders()):f.headers=n().traceHeaders())}return e.apply(c(),i)}})},t.id="Tracing",t}();n.Tracing=g,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},Object.assign(t.Sentry.Integrations,n)}(window);
!function(t){var e={};Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.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 a}var i=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t});!function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,i(r,n.prototype),r}(function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)})(e,t)}(Error);var a={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:a}function s(t){var e=c();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry__&&(r[t]=n[t].__sentry_wrapped__,n[t]=n[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),o}var f=c(),u="Sentry Logger ",p=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&s(function(){f.console.log(u+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&s(function(){f.console.warn(u+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&s(function(){f.console.error(u+"[Error]: "+t.join(" "))})},t}();f.__SENTRY__=f.__SENTRY__||{};var l,_=f.__SENTRY__.logger||(f.__SENTRY__.logger=new p);function h(t,e){return n=e,"[object RegExp]"===Object.prototype.toString.call(n)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e);var n}function d(t,e,n){if(e in t){var r=t[e],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})}catch(t){}t[e]=o}}function y(){if(!function(){if(!("fetch"in c()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}())return!1;var t=function(t){return-1!==t.toString().indexOf("native")},e=c(),n=null,r=e.document;if(r){var o=r.createElement("iframe");o.hidden=!0;try{r.head.appendChild(o),o.contentWindow&&o.contentWindow.fetch&&(n=t(o.contentWindow.fetch)),r.head.removeChild(o)}catch(t){_.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}}return null===n&&(n=t(e.fetch)),n}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(l||(l={}));var g=function(){function t(e){if(void 0===e&&(e={}),this._options=e,this.name=t.id,!Array.isArray(e.tracingOrigins)||0===e.tracingOrigins.length){var n=["localhost",/^\//];_.warn("Sentry: You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),_.warn("Sentry: We added a reasonable default for you: "+n),e.tracingOrigins=n}}return t.prototype.setupOnce=function(e,n){!1!==this._options.traceXHR&&this._traceXHR(n),!1!==this._options.traceFetch&&this._traceFetch(n),!1!==this._options.autoStartOnDomReady&&(c().addEventListener("DOMContentLoaded",function(){t.startTrace(n(),c().location.href)}),c().document.onreadystatechange=function(){"complete"===document.readyState&&t.startTrace(n(),c().location.href)})},t.startTrace=function(t,e){t.configureScope(function(t){t.startSpan(),t.setTransaction(e)})},t.prototype._traceXHR=function(e){if("XMLHttpRequest"in c()){var n=XMLHttpRequest.prototype;d(n,"open",function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=e().getIntegration(t);return i&&(i._xhrUrl=r[1]),n.apply(this,r)}}),d(n,"send",function(n){return function(){for(var r=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=e().getIntegration(t);if(a&&a._xhrUrl&&a._options.tracingOrigins){var c=a._xhrUrl,s=e().traceHeaders();a._options.tracingOrigins.some(function(t){return h(c,t)})&&this.setRequestHeader&&Object.keys(s).forEach(function(t){r.setRequestHeader(t,s[t])})}return n.apply(this,o)}})}},t.prototype._traceFetch=function(e){y()&&d(c(),"fetch",function(n){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=e().getIntegration(t);if(s&&s._options.tracingOrigins){var f=i[0],u=i[1]=i[1]||{},p=!1;s._options.tracingOrigins.forEach(function(t){p||(p=h(f,t))}),p&&(u.headers?Array.isArray(u.headers)?u.headers=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t}(u.headers,Object.entries(e().traceHeaders())):u.headers=r({},u.headers,e().traceHeaders()):u.headers=e().traceHeaders())}return n.apply(c(),i)}})},t.id="Tracing",t}();for(var v in e.Tracing=g,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},e)Object.prototype.hasOwnProperty.call(e,v)&&(t.Sentry.Integrations[v]=e[v])}(window);
//# sourceMappingURL=tracing.min.js.map

@@ -62,5 +62,9 @@ (function (__window) {

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=transaction.js.map

@@ -1,2 +0,2 @@

!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(n,e){n(function(n){var r=e().getIntegration(t);return r?r.process(n):n})},t.prototype.process=function(t){for(var n=this._getFramesFromEvent(t),e=n.length-1;e>=0;e--){var r=n[e];if(!0===r.in_app){t.transaction=this._getTransaction(r);break}}return t},t.prototype._getFramesFromEvent=function(t){var n=t.exception&&t.exception.values&&t.exception.values[0];return n&&n.stacktrace&&n.stacktrace.frames||[]},t.prototype._getTransaction=function(t){return t.module||t.function?(t.module||"?")+"/"+(t.function||"?"):"<unknown>"},t.id="Transaction",t}();n.Transaction=e,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},Object.assign(t.Sentry.Integrations,n)}(window);
!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(n,e){n(function(n){var r=e().getIntegration(t);return r?r.process(n):n})},t.prototype.process=function(t){for(var n=this._getFramesFromEvent(t),e=n.length-1;e>=0;e--){var r=n[e];if(!0===r.in_app){t.transaction=this._getTransaction(r);break}}return t},t.prototype._getFramesFromEvent=function(t){var n=t.exception&&t.exception.values&&t.exception.values[0];return n&&n.stacktrace&&n.stacktrace.frames||[]},t.prototype._getTransaction=function(t){return t.module||t.function?(t.module||"?")+"/"+(t.function||"?"):"<unknown>"},t.id="Transaction",t}();for(var r in n.Transaction=e,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},n)Object.prototype.hasOwnProperty.call(n,r)&&(t.Sentry.Integrations[r]=n[r])}(window);
//# sourceMappingURL=transaction.min.js.map

@@ -6,2 +6,7 @@ (function (__window) {

/**
* Consumes the promise and logs the error when it rejects.
* @param promise A promise to forget.
*/
/*! *****************************************************************************

@@ -92,7 +97,2 @@ Copyright (c) Microsoft Corporation. All rights reserved.

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -319,5 +319,9 @@ *

__window.Sentry.Integrations = __window.Sentry.Integrations || {};
Object.assign(__window.Sentry.Integrations, exports);
for (var key in exports) {
if (Object.prototype.hasOwnProperty.call(exports, key)) {
__window.Sentry.Integrations[key] = exports[key];
}
}
}(window));
//# sourceMappingURL=vue.js.map

@@ -1,2 +0,2 @@

!function(o){var t={};Object.defineProperty(t,"__esModule",{value:!0});var n=function(o,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var n in t)t.hasOwnProperty(n)&&(o[n]=t[n])})(o,t)};var e=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(o,t){return o.__proto__=t,o}:function(o,t){for(var n in t)o.hasOwnProperty(n)||(o[n]=t[n]);return o});!function(o){function t(t){var n=this.constructor,r=o.call(this,t)||this;return r.message=t,r.name=n.prototype.constructor.name,e(r,n.prototype),r}(function(o,t){function e(){this.constructor=o}n(o,t),o.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)})(t,o)}(Error);var r={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:r}function s(o){var t=i();if(!("console"in t))return o();var n=t.console,e={};["debug","info","warn","error","log","assert"].forEach(function(o){o in t.console&&n[o].__sentry__&&(e[o]=n[o].__sentry_wrapped__,n[o]=n[o].__sentry_original__)});var r=o();return Object.keys(e).forEach(function(o){n[o]=e[o]}),r}var c=i(),a="Sentry Logger ",_=function(){function o(){this._enabled=!1}return o.prototype.disable=function(){this._enabled=!1},o.prototype.enable=function(){this._enabled=!0},o.prototype.log=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];this._enabled&&s(function(){c.console.log(a+"[Log]: "+o.join(" "))})},o.prototype.warn=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];this._enabled&&s(function(){c.console.warn(a+"[Warn]: "+o.join(" "))})},o.prototype.error=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];this._enabled&&s(function(){c.console.error(a+"[Error]: "+o.join(" "))})},o}();c.__SENTRY__=c.__SENTRY__||{};var u,p=c.__SENTRY__.logger||(c.__SENTRY__.logger=new _);!function(o){o.PENDING="PENDING",o.RESOLVED="RESOLVED",o.REJECTED="REJECTED"}(u||(u={}));var f=function(){function o(t){void 0===t&&(t={}),this.name=o.id,this._attachProps=!0,this._logErrors=!1,this._Vue=t.Vue||i().Vue,void 0!==t.logErrors&&(this._logErrors=t.logErrors),!1===t.attachProps&&(this._attachProps=!1)}return o.prototype._formatComponentName=function(o){if(o.$root===o)return"root instance";var t=o._isVue?o.$options.name||o.$options._componentTag:o.name;return(t?"component <"+t+">":"anonymous component")+(o._isVue&&o.$options.__file?" at "+o.$options.__file:"")},o.prototype.setupOnce=function(t,n){var e=this;if(this._Vue&&this._Vue.config){var r=this._Vue.config.errorHandler;this._Vue.config.errorHandler=function(t,i,s){var c,a={};c=i,"[object Object]"===Object.prototype.toString.call(c)&&(a.componentName=e._formatComponentName(i),e._attachProps&&(a.propsData=i.$options.propsData)),void 0!==s&&(a.lifecycleHook=s),n().getIntegration(o)&&setTimeout(function(){n().withScope(function(o){o.setContext("vue",a),n().captureException(t)})}),"function"==typeof r&&r.call(e._Vue,t,i,s),e._logErrors&&(process&&process.env&&"production"!==process.env.NODE_ENV&&e._Vue.util.warn("Error in "+s+': "'+t.toString()+'"',i),console.error(t))}}else p.error("VueIntegration is missing a Vue instance")},o.id="Vue",o}();t.Vue=f,o.Sentry=o.Sentry||{},o.Sentry.Integrations=o.Sentry.Integrations||{},Object.assign(o.Sentry.Integrations,t)}(window);
!function(o){var t={};Object.defineProperty(t,"__esModule",{value:!0});var n=function(o,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var n in t)t.hasOwnProperty(n)&&(o[n]=t[n])})(o,t)};var r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(o,t){return o.__proto__=t,o}:function(o,t){for(var n in t)o.hasOwnProperty(n)||(o[n]=t[n]);return o});!function(o){function t(t){var n=this.constructor,e=o.call(this,t)||this;return e.message=t,e.name=n.prototype.constructor.name,r(e,n.prototype),e}(function(o,t){function r(){this.constructor=o}n(o,t),o.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(t,o)}(Error);var e={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e}function c(o){var t=i();if(!("console"in t))return o();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(o){o in t.console&&n[o].__sentry__&&(r[o]=n[o].__sentry_wrapped__,n[o]=n[o].__sentry_original__)});var e=o();return Object.keys(r).forEach(function(o){n[o]=r[o]}),e}var s=i(),a="Sentry Logger ",_=function(){function o(){this._enabled=!1}return o.prototype.disable=function(){this._enabled=!1},o.prototype.enable=function(){this._enabled=!0},o.prototype.log=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];this._enabled&&c(function(){s.console.log(a+"[Log]: "+o.join(" "))})},o.prototype.warn=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];this._enabled&&c(function(){s.console.warn(a+"[Warn]: "+o.join(" "))})},o.prototype.error=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];this._enabled&&c(function(){s.console.error(a+"[Error]: "+o.join(" "))})},o}();s.__SENTRY__=s.__SENTRY__||{};var p,u=s.__SENTRY__.logger||(s.__SENTRY__.logger=new _);!function(o){o.PENDING="PENDING",o.RESOLVED="RESOLVED",o.REJECTED="REJECTED"}(p||(p={}));var f=function(){function o(t){void 0===t&&(t={}),this.name=o.id,this._attachProps=!0,this._logErrors=!1,this._Vue=t.Vue||i().Vue,void 0!==t.logErrors&&(this._logErrors=t.logErrors),!1===t.attachProps&&(this._attachProps=!1)}return o.prototype._formatComponentName=function(o){if(o.$root===o)return"root instance";var t=o._isVue?o.$options.name||o.$options._componentTag:o.name;return(t?"component <"+t+">":"anonymous component")+(o._isVue&&o.$options.__file?" at "+o.$options.__file:"")},o.prototype.setupOnce=function(t,n){var r=this;if(this._Vue&&this._Vue.config){var e=this._Vue.config.errorHandler;this._Vue.config.errorHandler=function(t,i,c){var s,a={};s=i,"[object Object]"===Object.prototype.toString.call(s)&&(a.componentName=r._formatComponentName(i),r._attachProps&&(a.propsData=i.$options.propsData)),void 0!==c&&(a.lifecycleHook=c),n().getIntegration(o)&&setTimeout(function(){n().withScope(function(o){o.setContext("vue",a),n().captureException(t)})}),"function"==typeof e&&e.call(r._Vue,t,i,c),r._logErrors&&(process&&process.env&&"production"!==process.env.NODE_ENV&&r._Vue.util.warn("Error in "+c+': "'+t.toString()+'"',i),console.error(t))}}else u.error("VueIntegration is missing a Vue instance")},o.id="Vue",o}();for(var l in t.Vue=f,o.Sentry=o.Sentry||{},o.Sentry.Integrations=o.Sentry.Integrations||{},t)Object.prototype.hasOwnProperty.call(t,l)&&(o.Sentry.Integrations[l]=t[l])}(window);
//# sourceMappingURL=vue.min.js.map

@@ -33,13 +33,15 @@ Object.defineProperty(exports, "__esModule", { value: true });

ExtraErrorData.prototype.enhanceEventWithErrorData = function (event, hint) {
var _a;
if (!hint || !hint.originalException || !utils_1.isError(hint.originalException)) {
return event;
}
var name = hint.originalException.name || hint.originalException.constructor.name;
var errorData = this._extractErrorData(hint.originalException);
if (errorData) {
var extra = tslib_1.__assign({}, event.extra);
var contexts = tslib_1.__assign({}, event.contexts);
var normalizedErrorData = utils_1.normalize(errorData, this._options.depth);
if (utils_1.isPlainObject(normalizedErrorData)) {
extra = tslib_1.__assign({}, event.extra, normalizedErrorData);
contexts = tslib_1.__assign({}, event.contexts, (_a = {}, _a[name] = tslib_1.__assign({}, normalizedErrorData), _a));
}
return tslib_1.__assign({}, event, { extra: extra });
return tslib_1.__assign({}, event, { contexts: contexts });
}

@@ -52,3 +54,3 @@ return event;

ExtraErrorData.prototype._extractErrorData = function (error) {
var e_1, _a, _b;
var e_1, _a;
var result = null;

@@ -58,3 +60,2 @@ // We are trying to enhance already existing event, so no harm done if it won't succeed

var nativeKeys_1 = ['name', 'message', 'stack', 'line', 'column', 'fileName', 'lineNumber', 'columnNumber'];
var name_1 = error.name || error.constructor.name;
var errorKeys = Object.getOwnPropertyNames(error).filter(function (key) { return nativeKeys_1.indexOf(key) === -1; });

@@ -81,5 +82,3 @@ if (errorKeys.length) {

}
result = (_b = {},
_b[name_1] = extraErrorInfo,
_b);
result = extraErrorInfo;
}

@@ -86,0 +85,0 @@ }

@@ -32,13 +32,15 @@ import * as tslib_1 from "tslib";

ExtraErrorData.prototype.enhanceEventWithErrorData = function (event, hint) {
var _a;
if (!hint || !hint.originalException || !isError(hint.originalException)) {
return event;
}
var name = hint.originalException.name || hint.originalException.constructor.name;
var errorData = this._extractErrorData(hint.originalException);
if (errorData) {
var extra = tslib_1.__assign({}, event.extra);
var contexts = tslib_1.__assign({}, event.contexts);
var normalizedErrorData = normalize(errorData, this._options.depth);
if (isPlainObject(normalizedErrorData)) {
extra = tslib_1.__assign({}, event.extra, normalizedErrorData);
contexts = tslib_1.__assign({}, event.contexts, (_a = {}, _a[name] = tslib_1.__assign({}, normalizedErrorData), _a));
}
return tslib_1.__assign({}, event, { extra: extra });
return tslib_1.__assign({}, event, { contexts: contexts });
}

@@ -51,3 +53,3 @@ return event;

ExtraErrorData.prototype._extractErrorData = function (error) {
var e_1, _a, _b;
var e_1, _a;
var result = null;

@@ -57,3 +59,2 @@ // We are trying to enhance already existing event, so no harm done if it won't succeed

var nativeKeys_1 = ['name', 'message', 'stack', 'line', 'column', 'fileName', 'lineNumber', 'columnNumber'];
var name_1 = error.name || error.constructor.name;
var errorKeys = Object.getOwnPropertyNames(error).filter(function (key) { return nativeKeys_1.indexOf(key) === -1; });

@@ -80,5 +81,3 @@ if (errorKeys.length) {

}
result = (_b = {},
_b[name_1] = extraErrorInfo,
_b);
result = extraErrorInfo;
}

@@ -85,0 +84,0 @@ }

{
"name": "@sentry/integrations",
"version": "5.6.1",
"version": "5.7.0-beta.0",
"description": "Pluggable integrations that can be used to enchance JS SDKs",

@@ -19,4 +19,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/types": "5.6.1",
"@sentry/utils": "5.6.1",
"@sentry/types": "5.7.0-beta.0",
"@sentry/utils": "5.7.0-beta.0",
"tslib": "^1.9.3"

@@ -23,0 +23,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc