UNPKG

cluedin-widget

Version:
28 lines (26 loc) 99.7 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{1713:function(t,e,n){"use strict";(function(t,r){Object.defineProperty(e,"__esModule",{value:!0});var o=n(1876),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)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */function u(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=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 s(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function a(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,a)}s((r=r.apply(t,e||[])).next())})}function c(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.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 u}function f(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var p="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function h(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function d(t,e){return t(e={exports:{}},e.exports),e.exports}var v=d(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(e.Severity||(e.Severity={})),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}}}(e.Severity||(e.Severity={})),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(e.Status||(e.Status={})),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}}(e.Status||(e.Status={}))});h(v);var y=v.Severity,g=v.Status,b=d(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isError=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},e.isErrorEvent=function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},e.isDOMError=function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},e.isDOMException=function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.isPlainObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isNaN=function(t){return t!=t}});h(b);var m=b.isError,_=b.isErrorEvent,w=b.isDOMError,E=b.isDOMException,x=b.isUndefined,S=b.isFunction,k=b.isString,O=(b.isArray,b.isPlainObject),j=(b.isRegExp,b.isNaN,d(function(t,e){function n(){return"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}function o(){return n()?p:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}}function i(t){var e,n,r,o,i,u=[];if(!t||!t.tagName)return"";if(u.push(t.tagName.toLowerCase()),t.id&&u.push("#"+t.id),(e=t.className)&&b.isString(e))for(n=e.split(/\s+/),i=0;i<n.length;i++)u.push("."+n[i]);var a=["type","name","title","alt"];for(i=0;i<a.length;i++)r=a[i],(o=t.getAttribute(r))&&u.push("["+r+'="'+o+'"]');return u.join("")}Object.defineProperty(e,"__esModule",{value:!0}),e.isNodeEnv=n,e.getGlobalObject=o,e.uuid4=function(){var t=o(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})},e.htmlTreeAsString=function(t){for(var e,n=t,r=[],o=0,u=0,a=" > ".length;n&&o++<5&&!("html"===(e=i(n))||o>1&&u+r.length*a+e.length>=80);)r.push(e),u+=e.length,n=n.parentNode;return r.reverse().join(" > ")},e.htmlElementAsString=i,e.parseUrl=function(t){if(!t)return{};var e=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}},e.getEventDescription=function(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}}));h(j);j.isNodeEnv;var T=j.getGlobalObject,M=(j.uuid4,j.htmlTreeAsString),P=(j.htmlElementAsString,j.parseUrl),C=j.getEventDescription,F=d(function(t,e){function n(){if(!("fetch"in j.getGlobalObject()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}Object.defineProperty(e,"__esModule",{value:!0}),e.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch(t){return!1}},e.supportsDOMError=function(){try{return new DOMError(""),!0}catch(t){return!1}},e.supportsDOMException=function(){try{return new DOMException(""),!0}catch(t){return!1}},e.supportsFetch=n,e.supportsNativeFetch=function(){return!!n()&&-1!==j.getGlobalObject().fetch.toString().indexOf("native")},e.supportsBeacon=function(){var t=j.getGlobalObject();return"navigator"in t&&"sendBeacon"in t.navigator},e.supportsReportingObserver=function(){return"ReportingObserver"in j.getGlobalObject()},e.supportsReferrerPolicy=function(){if(!n())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(t){return!1}},e.supportsHistory=function(){var t=j.getGlobalObject(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}});h(F);F.supportsErrorEvent,F.supportsDOMError,F.supportsDOMException;var I=F.supportsFetch,R=F.supportsNativeFetch,D=F.supportsBeacon,N=F.supportsReportingObserver,A=F.supportsReferrerPolicy,B=F.supportsHistory,U=d(function(t,e){var n=p&&p.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var r="[NaN]",o="[undefined]";function i(){var t=[],e=[];return function(n,i){var u=i;if(b.isNaN(i)?u=r:b.isUndefined(i)&&(u=o),t.length>0){var a=t.indexOf(this);-1!==a?(t.splice(a+1),e.splice(a,1/0,n)):(t.push(this),e.push(n)),-1!==t.indexOf(u)&&(u=function(n,r){return t[0]===r?"[Circular ~]":"[Circular ~."+e.slice(0,t.indexOf(r)).join(".")+"]"}.call(this,n,u))}else t.push(u);return u instanceof Error?function(t){var e={message:t.message,name:t.name,stack:t.stack};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(u):u}}function u(t,e){return e===r?NaN:e!==o?e:void 0}function a(t){return JSON.stringify(t,i())}function s(t){return JSON.parse(t,u)}e.serialize=a,e.deserialize=s,e.clone=function(t){return s(a(t))},e.fill=function(t,e,n){if(e in t&&!t[e].__sentry__){var r=t[e],o=n(r);o.__sentry__=!0,o.__sentry_original__=r,o.__sentry_wrapped__=o,t[e]=o}},e.urlEncode=function(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")};var c=3,l=51200,f=40;function h(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function d(t){if("string"==typeof t)return t.length<=40?t:t.substr(0,39)+"…";if("number"==typeof t||"boolean"==typeof t||void 0===t)return t;if(b.isNaN(t))return"[NaN]";if(b.isUndefined(t))return"[undefined]";var e=Object.prototype.toString.call(t);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";if("[object Function]"===e){var n=t.name;return n?"[Function: "+n+"]":"[Function]"}return t}function v(t,e){if(0===e)return d(t);if(b.isPlainObject(t)){var n={},r=t;return Object.keys(r).forEach(function(t){n[t]=v(r[t],e-1)}),n}return Array.isArray(t)?t.map(function(t){return v(t,e-1)}):d(t)}e.serializeObject=v,e.limitObjectDepthToSize=function t(e,n,r){void 0===n&&(n=c),void 0===r&&(r=l);var o=v(e,n);return h(a(o))>r?t(e,n-1):o},e.serializeKeysToEventMessage=function(t,e){if(void 0===e&&(e=f),!t.length)return"[object has no keys]";if(t[0].length>=e)return t[0];for(var n=t.length;n>0;n--){var r=t.slice(0,n).join(", ");if(!(r.length>e))return n===t.length?r:r+"…"}return""},e.assign=function(t){for(var e,r,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];if(null==t)throw new TypeError("Cannot convert undefined or null to object");var u=Object(t);try{for(var a=n(o),s=a.next();!s.done;s=a.next()){var c=s.value;if(null!==c)for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return u}});h(U);var H=U.serialize,L=U.deserialize,G=(U.clone,U.fill),$=(U.urlEncode,U.serializeObject),q=U.limitObjectDepthToSize,z=U.serializeKeysToEventMessage,V=(U.assign,d(function(t,e){var n=p&&p.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0}),e.truncate=function(t,e){return void 0===e&&(e=0),0!==e&&b.isString(t)?t.length<=e?t:t.substr(0,e)+"…":t},e.snipLine=function(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i<r&&(n+=" {snip}"),n},e.safeJoin=function(t,e){var r,o;if(!Array.isArray(t))return"";var i=[];try{for(var u=n(t),a=u.next();!a.done;a=u.next()){var s=a.value;try{i.push(String(s))}catch(t){i.push("[value cannot be serialized]")}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return i.join(e)},e.includes=function(t,e){return!(e.length>t.length)&&-1!==t.indexOf(e)}}));h(V);V.truncate,V.snipLine;var W=V.safeJoin,X=V.includes;function J(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function K(t,e,n,r,o,i){return J((u=J(J(e,t),J(r,i)))<<(a=o)|u>>>32-a,n);var u,a}function Y(t,e,n,r,o,i,u){return K(e&n|~e&r,t,e,o,i,u)}function Z(t,e,n,r,o,i,u){return K(e&r|n&~r,t,e,o,i,u)}function Q(t,e,n,r,o,i,u){return K(e^n^r,t,e,o,i,u)}function tt(t,e,n,r,o,i,u){return K(n^(e|~r),t,e,o,i,u)}function et(t,e){var n,r,o,i,u;t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;var a=1732584193,s=-271733879,c=-1732584194,l=271733878;for(n=0;n<t.length;n+=16)r=a,o=s,i=c,u=l,a=Y(a,s,c,l,t[n],7,-680876936),l=Y(l,a,s,c,t[n+1],12,-389564586),c=Y(c,l,a,s,t[n+2],17,606105819),s=Y(s,c,l,a,t[n+3],22,-1044525330),a=Y(a,s,c,l,t[n+4],7,-176418897),l=Y(l,a,s,c,t[n+5],12,1200080426),c=Y(c,l,a,s,t[n+6],17,-1473231341),s=Y(s,c,l,a,t[n+7],22,-45705983),a=Y(a,s,c,l,t[n+8],7,1770035416),l=Y(l,a,s,c,t[n+9],12,-1958414417),c=Y(c,l,a,s,t[n+10],17,-42063),s=Y(s,c,l,a,t[n+11],22,-1990404162),a=Y(a,s,c,l,t[n+12],7,1804603682),l=Y(l,a,s,c,t[n+13],12,-40341101),c=Y(c,l,a,s,t[n+14],17,-1502002290),a=Z(a,s=Y(s,c,l,a,t[n+15],22,1236535329),c,l,t[n+1],5,-165796510),l=Z(l,a,s,c,t[n+6],9,-1069501632),c=Z(c,l,a,s,t[n+11],14,643717713),s=Z(s,c,l,a,t[n],20,-373897302),a=Z(a,s,c,l,t[n+5],5,-701558691),l=Z(l,a,s,c,t[n+10],9,38016083),c=Z(c,l,a,s,t[n+15],14,-660478335),s=Z(s,c,l,a,t[n+4],20,-405537848),a=Z(a,s,c,l,t[n+9],5,568446438),l=Z(l,a,s,c,t[n+14],9,-1019803690),c=Z(c,l,a,s,t[n+3],14,-187363961),s=Z(s,c,l,a,t[n+8],20,1163531501),a=Z(a,s,c,l,t[n+13],5,-1444681467),l=Z(l,a,s,c,t[n+2],9,-51403784),c=Z(c,l,a,s,t[n+7],14,1735328473),a=Q(a,s=Z(s,c,l,a,t[n+12],20,-1926607734),c,l,t[n+5],4,-378558),l=Q(l,a,s,c,t[n+8],11,-2022574463),c=Q(c,l,a,s,t[n+11],16,1839030562),s=Q(s,c,l,a,t[n+14],23,-35309556),a=Q(a,s,c,l,t[n+1],4,-1530992060),l=Q(l,a,s,c,t[n+4],11,1272893353),c=Q(c,l,a,s,t[n+7],16,-155497632),s=Q(s,c,l,a,t[n+10],23,-1094730640),a=Q(a,s,c,l,t[n+13],4,681279174),l=Q(l,a,s,c,t[n],11,-358537222),c=Q(c,l,a,s,t[n+3],16,-722521979),s=Q(s,c,l,a,t[n+6],23,76029189),a=Q(a,s,c,l,t[n+9],4,-640364487),l=Q(l,a,s,c,t[n+12],11,-421815835),c=Q(c,l,a,s,t[n+15],16,530742520),a=tt(a,s=Q(s,c,l,a,t[n+2],23,-995338651),c,l,t[n],6,-198630844),l=tt(l,a,s,c,t[n+7],10,1126891415),c=tt(c,l,a,s,t[n+14],15,-1416354905),s=tt(s,c,l,a,t[n+5],21,-57434055),a=tt(a,s,c,l,t[n+12],6,1700485571),l=tt(l,a,s,c,t[n+3],10,-1894986606),c=tt(c,l,a,s,t[n+10],15,-1051523),s=tt(s,c,l,a,t[n+1],21,-2054922799),a=tt(a,s,c,l,t[n+8],6,1873313359),l=tt(l,a,s,c,t[n+15],10,-30611744),c=tt(c,l,a,s,t[n+6],15,-1560198380),s=tt(s,c,l,a,t[n+13],21,1309151649),a=tt(a,s,c,l,t[n+4],6,-145523070),l=tt(l,a,s,c,t[n+11],10,-1120210379),c=tt(c,l,a,s,t[n+2],15,718787259),s=tt(s,c,l,a,t[n+9],21,-343485551),a=J(a,r),s=J(s,o),c=J(c,i),l=J(l,u);return[a,s,c,l]}function nt(t){var e,n="",r=32*t.length;for(e=0;e<r;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n}function rt(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e<n.length;e+=1)n[e]=0;var r=8*t.length;for(e=0;e<r;e+=8)n[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return n}function ot(t){var e,n,r="";for(n=0;n<t.length;n+=1)e=t.charCodeAt(n),r+="0123456789abcdef".charAt(e>>>4&15)+"0123456789abcdef".charAt(15&e);return r}function it(t){return unescape(encodeURIComponent(t))}function ut(t){return function(t){return nt(et(rt(t),8*t.length))}(it(t))}function at(t,e){return function(t,e){var n,r,o=rt(t),i=[],u=[];for(i[15]=u[15]=void 0,o.length>16&&(o=et(o,8*t.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],u[n]=1549556828^o[n];return r=et(i.concat(rt(e)),512+8*e.length),nt(et(u.concat(r),640))}(it(t),it(e))}function st(t,e,n){return e?n?at(e,t):ot(at(e,t)):n?ut(t):ot(ut(t))} /** * TraceKit - Cross brower stack traces * * This was originally forked from github.com/occ/TraceKit, but has since been * largely modified and is now maintained as part of Sentry JS SDK. * * NOTE: Last merge with upstream repository * Jul 11,2018 - #f03357c * * https://github.com/csnover/TraceKit * @license MIT * @namespace TraceKit */var ct=T(),lt={wrap:function(){return function(){}},report:!1,collectWindowErrors:!1,computeStackTrace:!1,remoteFetching:!1,linesOfContext:!1,extendToAsynchronousCallbacks:!1},ft=[].slice,pt="?",ht=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function dt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function vt(){return"undefined"==typeof document||null==document.location?"":document.location.href}lt.wrap=function(t){return function(){try{return t.apply(this,arguments)}catch(t){throw lt.report(t),t}}},lt.report=function(){var t,e,n,r,o=[],i=null,u=null;function s(t,e,n){var r=null;if(!e||lt.collectWindowErrors){for(var i in o)if(dt(o,i))try{o[i](t,e,n)}catch(t){r=t}if(r)throw r}}function c(e,n,r,o,i){var c=null;if(i=_(i)?i.error:i,e=_(e)?e.message:e,u)lt.computeStackTrace.augmentStackTraceWithInitialElement(u,n,r,e),f();else if(i&&m(i))(c=lt.computeStackTrace(i)).mechanism="onerror",s(c,!0,i);else{var l,p={url:n,line:r,column:o},h=e;if("[object String]"==={}.toString.call(e)){var d=e.match(ht);d&&(l=d[1],h=d[2])}p.func=lt.computeStackTrace.guessFunctionName(p.url,p.line),p.context=lt.computeStackTrace.gatherContext(p.url,p.line),s(c={name:l,message:h,mode:"onerror",mechanism:"onerror",stack:[a({},p,{url:p.url||vt()})]},!0,null)}return!!t&&t.apply(this,arguments)}function l(t){var e=t&&(t.detail?t.detail.reason:t.reason)||t,n=lt.computeStackTrace(e);n.mechanism="onunhandledrejection",s(n,!0,e)}function f(){var t=u,e=i;u=null,i=null,s(t,!1,e)}function p(t){if(u){if(i===t)return;f()}var e=lt.computeStackTrace(t);throw u=e,i=t,setTimeout(function(){i===t&&f()},e.incomplete?2e3:0),t}return p.subscribe=function(t){o.push(t)},p.unsubscribe=function(i){for(var u=o.length-1;u>=0;--u)o[u]===i&&o.splice(u,1);0===o.length&&(e&&(ct.onerror=t,e=!1),r&&(ct.onerror=n,r=!1))},p.installGlobalHandler=function(){!0!==e&&(t=ct.onerror,ct.onerror=c,e=!0)},p.installGlobalUnhandledRejectionHandler=function(){!0!==r&&(n=ct.onunhandledrejection,ct.onunhandledrejection=l,r=!0)},p}(),lt.computeStackTrace=function(){var t=!1,e={};function n(t){if("string"!=typeof t)return[];if(!dt(e,t)){var n="",r="";try{r=ct.document.domain}catch(t){}var o=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);o&&o[2]===r&&(n=function(t){if(!lt.remoteFetching)return"";try{var e=function(){try{return new ct.XMLHttpRequest}catch(t){return new ct.ActiveXObject("Microsoft.XMLHTTP")}}();return e.open("GET",t,!1),e.send(""),e.responseText}catch(t){return""}}(t)),e[t]=n?n.split("\n"):[]}return e[t]}function r(t,e){var r,o=/function ([^(]*)\(([^)]*)\)/,i=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,u="",a=n(t);if(!a.length)return pt;for(var s=0;s<10;++s)if(u=a[e-s]+u,!x(u)){if(r=i.exec(u))return r[1];if(r=o.exec(u))return r[1]}return pt}function o(t,e){var r=n(t);if(!r.length)return null;var o=[],i=Math.floor(lt.linesOfContext/2),u=i+lt.linesOfContext%2,a=Math.max(0,e-i-1),s=Math.min(r.length,e+u-1);e-=1;for(var c=a;c<s;++c)x(r[c])||o.push(r[c]);return o.length>0?o:null}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function u(t){return i(t).replace("<","(?:<|&lt;)").replace(">","(?:>|&gt;)").replace("&","(?:&|&amp;)").replace('"','(?:"|&quot;)').replace(/\s+/g,"\\s+")}function a(t,e){for(var r,o,i=0,u=e.length;i<u;++i)if((r=n(e[i])).length&&(r=r.join("\n"),o=t.exec(r)))return{url:e[i],line:r.substring(0,o.index).split("\n").length,column:o.index-r.lastIndexOf("\n",o.index)-1};return null}function s(t,e,r){var o,u=n(e),a=new RegExp("\\b"+i(t)+"\\b");return r-=1,u&&u.length>r&&(o=a.exec(u[r]))?o.index:null}function c(t){if(!x(ct&&ct.document)){for(var e,n,r,o,s=[vt()],c=ct.document.getElementsByTagName("script"),l=""+t,f=0;f<c.length;++f){var p=c[f];p.src&&s.push(p.src)}if(r=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)){var h=r[1]?"\\s+"+r[1]:"",d=r[2].split(",").join("\\s*,\\s*");e=i(r[3]).replace(/;$/,";?"),n=new RegExp("function"+h+"\\s*\\(\\s*"+d+"\\s*\\)\\s*{\\s*"+e+"\\s*}")}else n=new RegExp(i(l).replace(/\s+/g,"\\s+"));if(o=a(n,s))return o;if(r=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)){var v=r[1];if(e=u(r[2]),o=a(n=new RegExp("on"+v+"=[\\'\"]\\s*"+e+"\\s*[\\'\"]","i"),s[0]))return o;if(o=a(n=new RegExp(e),s))return o}return null}}function l(t){if(!t.stack)return null;for(var e,n,i,u=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=t.stack.split("\n"),h=[],d=/^(.*) is undefined$/.exec(t.message),v=0,y=p.length;v<y;++v){if(n=u.exec(p[v])){var g=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=f.exec(n[2]))&&(n[2]=e[1]),i={url:g?null:n[2],func:n[1]||pt,args:g?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=c.exec(p[v]))i={url:n[2],func:n[1]||pt,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=a.exec(p[v])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(e=l.exec(n[3]))?n[3]=e[1]:0!==v||n[5]||x(t.columnNumber)||(h[0].column=t.columnNumber+1),i={url:n[3],func:n[1]||pt,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!i.func&&i.line&&(i.func=r(i.url,i.line)),lt.remoteFetching&&i.url&&"blob:"===i.url.substr(0,5)){var b=new XMLHttpRequest;if(b.open("GET",i.url,!1),b.send(""),200===b.status){var m=b.responseText||"",_=(m=m.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(_){var w=_[1];"~"===w.charAt(0)&&(w=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+w.slice(1)),i.url=w.slice(0,-4)}}}i.context=i.line?o(i.url,i.line):null,h.push(i)}return h.length?(h[0]&&h[0].line&&!h[0].column&&d&&(h[0].column=s(d[1],h[0].url,h[0].line)),{mode:"stack",name:t.name,message:t.message,stack:h}):null}function f(t,e,n,i){var u={url:e,line:n};if(u.url&&u.line){t.incomplete=!1,u.func||(u.func=r(u.url,u.line)),u.context||(u.context=o(u.url,u.line));var a=/ '([^']+)' /.exec(i);if(a&&(u.column=s(a[1],u.url,u.line)),t.stack.length>0&&t.stack[0].url===u.url){if(t.stack[0].line===u.line)return!1;if(!t.stack[0].line&&t.stack[0].func===u.func)return t.stack[0].line=u.line,t.stack[0].context=u.context,!1}return t.stack.unshift(u),t.partial=!0,!0}return t.incomplete=!0,!1}function p(t,e){for(var n,o,i,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,a=[],l={},d=!1,v=p.caller;v&&!d;v=v.caller)if(v!==h&&v!==lt.report){if(o={url:null,func:pt,args:[],line:null,column:null},v.name?o.func=v.name:(n=u.exec(v.toString()))&&(o.func=n[1]),void 0===o.func)try{o.func=n.input.substring(0,n.input.indexOf("{"))}catch(t){}if(i=c(v)){o.url=i.url,o.line=i.line,o.func===pt&&(o.func=r(o.url,o.line));var y=/ '([^']+)' /.exec(t.message||t.description);y&&(o.column=s(y[1],i.url,i.line))}l[""+v]?d=!0:l[""+v]=!0,a.push(o)}e&&a.splice(0,e);var g={mode:"callers",name:t.name,message:t.message,stack:a};return f(g,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),g}function h(e,i){var s=null;i=null==i?0:+i;try{if(s=function(t){var e=t.stacktrace;if(e){for(var n,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,u=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,a=e.split("\n"),s=[],c=0;c<a.length;c+=2){var l=null;if((n=i.exec(a[c]))?l={url:n[2],line:+n[1],column:null,func:n[3],args:[]}:(n=u.exec(a[c]))&&(l={url:n[6],line:+n[1],column:+n[2],func:n[3]||n[4],args:n[5]?n[5].split(","):[]}),l){if(!l.func&&l.line&&(l.func=r(l.url,l.line)),l.line)try{l.context=o(l.url,l.line)}catch(t){}l.context||(l.context=[a[c+1]]),s.push(l)}}return s.length?{mode:"stacktrace",name:t.name,message:t.message,stack:s}:null}}(e))return s}catch(e){if(t)throw e}try{if(s=l(e))return s}catch(e){if(t)throw e}try{if(s=function(t){var e=t.message.split("\n");if(e.length<4)return null;var i,s=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,c=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,l=/^\s*Line (\d+) of function script\s*$/i,f=[],p=ct&&ct.document&&ct.document.getElementsByTagName("script"),h=[];for(var d in p)dt(p,d)&&!p[d].src&&h.push(p[d]);for(var v=2;v<e.length;v+=2){var y=null;if(i=s.exec(e[v]))y={url:i[2],func:i[3],args:[],line:+i[1],column:null};else if(i=c.exec(e[v])){y={url:i[3],func:i[4],args:[],line:+i[1],column:null};var g=+i[1],b=h[i[2]-1];if(b){var m=n(y.url);if(m){var _=(m=m.join("\n")).indexOf(b.innerText);_>=0&&(y.line=g+m.substring(0,_).split("\n").length)}}}else if(i=l.exec(e[v])){var w=vt().replace(/#.*$/,""),E=a(new RegExp(u(e[v+1])),[w]);y={url:w,func:"",args:[],line:E?E.line:i[1],column:null}}if(y){y.func||(y.func=r(y.url,y.line));var x=o(y.url,y.line),S=x?x[Math.floor(x.length/2)]:null;x&&S.replace(/^\s*/,"")===e[v+1].replace(/^\s*/,"")?y.context=x:y.context=[e[v+1]],f.push(y)}}return f.length?{mode:"multiline",name:t.name,message:e[0],stack:f}:null}(e))return s}catch(e){if(t)throw e}try{if(s=p(e,i+1))return s}catch(e){if(t)throw e}return{name:e.name,message:e.message,mode:"failed"}}return h.augmentStackTraceWithInitialElement=f,h.computeStackTraceFromStackProp=l,h.guessFunctionName=r,h.gatherContext=o,h.ofCaller=function(t){t=1+(null==t?0:+t);try{throw new Error}catch(e){return h(e,t+1)}},h.getSource=n,h}(),lt.extendToAsynchronousCallbacks=function(){var t=function(t){var e=ct[t];ct[t]=function(){var t=ft.call(arguments),n=t[0];return"function"==typeof n&&(t[0]=lt.wrap(n)),e.apply?e.apply(this,t):e(t[0],t[1])}};t("setTimeout"),t("setInterval")},lt.remoteFetching=!1,lt.collectWindowErrors=!0,lt.linesOfContext=11;var yt=lt.report.subscribe,gt=lt.report.installGlobalHandler,bt=lt.report.installGlobalUnhandledRejectionHandler,mt=lt.computeStackTrace,_t=50;function wt(t){var e={stacktrace:{frames:xt(t.stack)},type:t.name,value:t.message};return void 0===e.type&&""===e.value&&(e.value="Unrecoverable error caught"),e}function Et(t){return{exception:{values:[wt(t)]}}}function xt(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"";return(X(n,"captureMessage")||X(n,"captureException"))&&(e=e.slice(1)),e.map(function(t){return{colno:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:t.line}}).slice(0,_t).reverse()}var St,kt,Ot=function(){function t(t){this.options=t,this.url=new o.API(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.captureEvent=function(t){return s(this,void 0,void 0,function(){return c(this,function(t){throw new o.SentryError("Transport Class has to implement `captureEvent` method")})})},t}(),jt=T(),Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.captureEvent=function(t){return s(this,void 0,void 0,function(){var e,n;return c(this,function(r){switch(r.label){case 0:return e={body:H(t),method:"POST",referrerPolicy:A()?"origin":""},[4,jt.fetch(this.url,e)];case 1:return n=r.sent(),[2,{status:g.fromHttpCode(n.status)}]}})})},e}(Ot),Mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.captureEvent=function(t){return s(this,void 0,void 0,function(){var e=this;return c(this,function(n){return[2,new Promise(function(n,r){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&n({status:g.fromHttpCode(o.status)}),r(o))},o.open("POST",e.url),o.send(H(t))})]})})},e}(Ot),Pt=T(),Ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.captureEvent=function(t){return s(this,void 0,void 0,function(){var e;return c(this,function(n){return e=H(t),[2,{status:Pt.navigator.sendBeacon(this.url,e)?g.Success:g.Failed}]})})},e}(Ot),Ft=Object.freeze({BaseTransport:Ot,FetchTransport:Tt,XHRTransport:Mt,BeaconTransport:Ct}),It=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.install=function(){if(!this.options.dsn)throw new o.SentryError("Invariant exception: install() must not be called when disabled");return Error.stackTraceLimit=50,!0},e.prototype.eventFromException=function(t,e){return s(this,void 0,void 0,function(){var n,r,o,i;return c(this,function(u){switch(u.label){case 0:return _(t)&&t.error?(t=(i=t).error,n=Et(mt(t)),[3,7]):[3,1];case 1:return w(t)||E(t)?(r=(i=t).name||(w(i)?"DOMError":"DOMException"),o=i.message?r+": "+i.message:r,[4,this.eventFromMessage(o,void 0,e)]):[3,3];case 2:return n=u.sent(),[3,7];case 3:return m(t)?(n=Et(mt(t)),[3,7]):[3,4];case 4:return O(t)&&e&&e.syntheticException?(n=function(t,e){var n=Object.keys(t).sort(),r={extra:{__serialized__:q(t)},fingerprint:[st(n.join(""))],message:"Non-Error exception captured with keys: "+z(n)};if(e){var o=xt(mt(e).stack);r.stacktrace={frames:o}}return r}(i=t,e.syntheticException),[3,7]):[3,5];case 5:return i=t,[4,this.eventFromMessage(i,void 0,e)];case 6:n=u.sent(),u.label=7;case 7:return[2,n=a({},n,{event_id:e&&e.event_id,exception:a({},n.exception,{mechanism:{handled:!0,type:"generic"}})})]}})})},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=y.Info),s(this,void 0,void 0,function(){var r,o,i;return c(this,function(u){return r={event_id:n&&n.event_id,fingerprint:[t],level:e,message:t},this.options.attachStacktrace&&n&&n.syntheticException&&(o=mt(n.syntheticException),i=xt(o.stack),r.stacktrace={frames:i}),[2,r]})})},e.prototype.sendEvent=function(t){return s(this,void 0,void 0,function(){var e;return c(this,function(n){return this.options.dsn?(this.transport||(e=this.options.transportOptions?this.options.transportOptions:{dsn:this.options.dsn},this.options.transport?this.transport=new this.options.transport({dsn:this.options.dsn}):D()?this.transport=new Ct(e):I()?this.transport=new Tt(e):this.transport=new Mt(e)),[2,this.transport.captureEvent(t)]):(o.logger.warn("Event has been skipped because no Dsn is configured."),[2,{status:g.Skipped,reason:"Event has been skipped because no Dsn is configured."}])})})},e}(o.BaseBackend),Rt="sentry.javascript.browser",Dt=function(t){function e(e){return t.call(this,It,e)||this}return u(e,t),e.prototype.prepareEvent=function(e,n,r){return s(this,void 0,void 0,function(){return c(this,function(o){return e.platform=e.platform||"javascript",e.sdk=a({},e.sdk,{name:Rt,packages:f(e.sdk&&e.sdk.packages||[],[{name:"npm:@sentry/browser",version:"4.1.1"}]),version:"4.1.1"}),[2,t.prototype.prepareEvent.call(this,e,n,r)]})})},e.prototype.showReportDialog=function(t){void 0===t&&(t={});var e=T().document;if(e){var n=t.dsn||this.getDsn();if(!t.eventId)throw new o.SentryError("Missing `eventId` option in showReportDialog call");if(!n)throw new o.SentryError("Missing `Dsn` option in showReportDialog call");var r=e.createElement("script");r.async=!0,r.src=new o.API(n).getReportDialogEndpoint(t),(e.head||e.body).appendChild(r)}},e}(o.BaseClient),Nt=1e3,At=0;function Bt(t,e,n){if(void 0===e&&(e={}),!S(t))return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var r=function(){var r=this;n&&S(n)&&n.apply(this,arguments);var i=Array.prototype.slice.call(arguments);try{var u=i.map(function(t){return Bt(t,e)});return t.handleEvent?t.handleEvent.apply(this,u):t.apply(this,u)}catch(t){throw At+=1,setTimeout(function(){At-=1}),o.withScope(function(n){return s(r,void 0,void 0,function(){var r=this;return c(this,function(u){return n.addEventProcessor(function(t){return s(r,void 0,void 0,function(){var n;return c(this,function(r){return n=a({},t),e.mechanism&&(n.exception=n.exception||{},n.exception.mechanism=e.mechanism),n.extra=a({},n.extra,{arguments:$(i,2)}),[2,n]})})}),o.getCurrentHub().captureException(t,{originalException:t}),[2]})})}),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}catch(t){}return r.prototype=t.prototype,t.__sentry_wrapped__=r,r.__sentry__=!0,r.__sentry_original__=t,r}function Ut(t){return function(e){if(St=void 0,kt!==e){var n;kt=e;try{n=M(e.target)}catch(t){n="<unknown>"}o.getCurrentHub().addBreadcrumb({category:"ui."+t,message:n},{event:e,name:t})}}}function Ht(){return function(t){var e;try{e=t.target}catch(t){return}var n=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(St||Ut("input")(t),clearTimeout(St),St=setTimeout(function(){St=void 0},Nt))}}var Lt,Gt=function(){function t(t){this.name="GlobalHandlers",this.options=a({onerror:!0,onunhandledrejection:!0},t)}return t.prototype.install=function(){var t=this;yt(function(e,n,r){At>0||o.getCurrentHub().captureEvent(t.eventFromGlobalHandler(e),{originalException:r,data:{stack:e}})}),this.options.onerror&&(o.logger.log("Global Handler attached: onerror"),gt()),this.options.onunhandledrejection&&(o.logger.log("Global Handler attached: onunhandledrejection"),bt())},t.prototype.eventFromGlobalHandler=function(t){var e=Et(t);return a({},e,{exception:a({},e.exception,{mechanism:{data:{mode:t.mode},handled:!1,type:t.mechanism}})})},t}(),$t=function(){function t(){this.ignoreOnError=0,this.name="TryCatch"}return t.prototype.wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=Bt(r,{mechanism:{data:{function:t.name||"<anonymous>"},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype.wrapRAF=function(t){return function(e){return t(Bt(e,{mechanism:{data:{function:"requestAnimationFrame",handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}}))}},t.prototype.wrapEventTarget=function(t){var e=T(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(G(n,"addEventListener",function(e){return function(n,r,o){try{r.handleEvent=Bt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:r&&r.name||"<anonymous>",target:t},handled:!0,type:"instrument"}})}catch(t){}var i,u,a;return"EventTarget"!==t&&"Node"!==t||(u=Ut("click"),a=Ht(),i=function(t){if(t){var e;try{e=t.type}catch(t){return}return"click"===e?u(t):"keypress"===e?a(t):void 0}}),e.call(this,n,Bt(r,{mechanism:{data:{function:"addEventListener",handler:r&&r.name||"<anonymous>",target:t},handled:!0,type:"instrument"}},i),o)}}),G(n,"removeEventListener",function(t){return function(e,n,r){var o=n;try{o=o&&(o.__sentry_wrapped__||o)}catch(t){}return t.call(this,e,o,r)}}))},t.prototype.install=function(){this.ignoreOnError=this.ignoreOnError;var t=T();G(t,"setTimeout",this.wrapTimeFunction.bind(this)),G(t,"setInterval",this.wrapTimeFunction.bind(this)),G(t,"requestAnimationFrame",this.wrapRAF.bind(this)),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"].forEach(this.wrapEventTarget.bind(this))},t}(),qt=T();function zt(t){try{var e=L(t);o.getCurrentHub().addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||y.fromString("error"),message:C(e)},{event:e})}catch(t){o.logger.error("Error while adding sentry type breadcrumb")}}var Vt,Wt=function(){function t(t){this.name="Breadcrumbs",this.options=a({beacon:!0,console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return t.prototype.instrumentBeacon=function(t){D()&&G(qt.navigator,"sendBeacon",function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n[0],u=n[1],a=e.apply(this,n);if(t.filterUrl&&X(i,t.filterUrl))return zt(u),a;var s={category:"beacon",data:u,type:"http"};return a||(s.level=y.Error),o.getCurrentHub().addBreadcrumb(s,{input:n,result:a}),a}})},t.prototype.instrumentConsole=function(){"console"in qt&&["debug","info","warn","error","log"].forEach(function(t){t in qt.console&&G(qt.console,t,function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={category:"console",data:{extra:{arguments:n.slice(1)},logger:"console"},level:y.fromString(t),message:W(n," ")};"assert"===t&&!1===n[0]&&(i.message="Assertion failed: "+(W(n.slice(1)," ")||"console.assert"),i.data.extra.arguments=n.slice(1)),o.getCurrentHub().addBreadcrumb(i,{input:n,level:t}),e&&e.apply(qt.console,n)}})})},t.prototype.instrumentDOM=function(){"document"in qt&&(qt.document.addEventListener("click",Ut("click"),!1),qt.document.addEventListener("keypress",Ht(),!1))},t.prototype.instrumentFetch=function(t){R()&&G(qt,"fetch",function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,u=n[0],a="GET";if("string"==typeof u?i=u:"Request"in qt&&u instanceof Request?(i=u.url,u.method&&(a=u.method)):i=String(u),n[1]&&n[1].method&&(a=n[1].method),t.filterUrl&&X(i,t.filterUrl))return"POST"===a&&n[1]&&n[1].body&&zt(n[1].body),e.apply(qt,n);var s={method:a,url:i};return e.apply(qt,n).then(function(t){return s.status_code=t.status,o.getCurrentHub().addBreadcrumb({category:"fetch",data:s,type:"http"},{input:n,response:t}),t}).catch(function(t){throw o.getCurrentHub().addBreadcrumb({category:"fetch",data:s,level:y.Error,type:"http"},{error:t,input:n}),t})}})},t.prototype.instrumentHistory=function(){var t=this;if(B()){var e=function(t,e){var n=P(qt.location.href),r=P(e),i=P(t);i.path||(i=n),Lt=e,n.protocol===r.protocol&&n.host===r.host&&(e=r.relative),n.protocol===i.protocol&&n.host===i.host&&(t=i.relative),o.getCurrentHub().addBreadcrumb({category:"navigation",data:{from:t,to:e}})},n=qt.onpopstate;qt.onpopstate=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=qt.location.href;if(e(Lt,i),n)return n.apply(t,r)},G(qt.history,"pushState",r),G(qt.history,"replaceState",r)}function r(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=n.length>2?n[2]:void 0;return o&&e(Lt,String(o)),t.apply(this,n)}}},t.prototype.instrumentXHR=function(t){if("XMLHttpRequest"in qt){var e=XMLHttpRequest.prototype;G(e,"open",function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=n[1];return this.__sentry_xhr__={method:n[0],url:n[1]},k(o)&&t.filterUrl&&X(o,t.filterUrl)&&(this.__sentry_own_request__=!0),e.apply(this,n)}}),G(e,"send",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this;function i(){if(4===r.readyState){if(r.__sentry_own_request__)return;try{r.__sentry_xhr__&&(r.__sentry_xhr__.status_code=r.status)}catch(t){}o.getCurrentHub().addBreadcrumb({category:"xhr",data:r.__sentry_xhr__,type:"http"},{xhr:r})}}return r.__sentry_own_request__&&zt(e[0]),["onload","onerror","onprogress"].forEach(function(t){!function(t,e){t in e&&S(e[t])&&G(e,t,function(e){return Bt(e,{mechanism:{data:{function:t,handler:e&&e.name||"<anonymous>"},handled:!0,type:"instrument"}})})}(t,r)}),"onreadystatechange"in r&&S(r.onreadystatechange)?G(r,"onreadystatechange",function(t){return Bt(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}},i)}):r.onreadystatechange=i,t.apply(this,e)}})}},t.prototype.install=function(t){void 0===t&&(t={});var e=t.dsn&&new o.API(t.dsn).getStoreEndpoint();this.options.console&&this.instrumentConsole(),this.options.dom&&this.instrumentDOM(),this.options.xhr&&this.instrumentXHR({filterUrl:e}),this.options.fetch&&this.instrumentFetch({filterUrl:e}),this.options.beacon&&this.instrumentBeacon({filterUrl:e}),this.options.history&&this.instrumentHistory()},t}(),Xt="cause",Jt=5,Kt=function(){function t(t){void 0===t&&(t={}),this.name="LinkedErrors",this.key=t.key||Xt,this.limit=t.limit||Jt}return t.prototype.install=function(){var t=this;o.configureScope(function(e){return e.addEventProcessor(t.handler.bind(t))})},t.prototype.handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&e.originalException instanceof Error))return t;var n=this.walkErrorTree(e.originalException,this.key);return t.exception.values=f(t.exception.values,n),t},t.prototype.walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!(t[e]instanceof Error)||n.length>=this.limit)return n;var r=wt(mt(t[e]));return this.walkErrorTree(t[e],e,f(n,[r]))},t}();!function(t){t.Crash="crash",t.Deprecation="deprecation",t.Intervention="intervention"}(Vt||(Vt={}));var Yt=function(){function t(t){void 0===t&&(t={types:[Vt.Crash,Vt.Deprecation,Vt.Intervention]}),this.options=t,this.name="ReportingObserver"}return t.prototype.install=function(){N()&&new(T().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this.options.types}).observe()},t.prototype.handler=function(t){var e,n,r=function(t){o.withScope(function(e){e.setExtra("url",t.url);var n="ReportingObserver ["+t.type+"]",r="No details available";if(t.body){var i,u={};for(var a in t.body)u[a]=t.body[a];if(e.setExtra("body",u),t.type===Vt.Crash)r=[(i=t.body).crashId||"",i.reason||""].join(" ").trim()||r;else r=(i=t.body).message||r}o.captureMessage(n+": "+r)})};try{for(var i=function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}(t),u=i.next();!u.done;u=i.next()){r(u.value)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t}(),Zt=T(),Qt=function(){function t(){this.name="UserAgent"}return t.prototype.install=function(){var t=this;o.configureScope(function(e){e.addEventProcessor(function(e){return s(t,void 0,void 0,function(){var t;return c(this,function(n){return Zt.navigator&&Zt.location?((t=e.request||{}).url=t.url||Zt.location.href,t.headers=t.headers||{},t.headers["User-Agent"]=Zt.navigator.userAgent,[2,a({},e,{request:t})]):[2,e]})})})})},t}(),te=function(){function t(t){void 0===t&&(t={}),this.name="Ember",this.Ember=t.Ember||T().Ember}return t.prototype.install=function(){var t=this;if(this.Ember){var e=this.Ember.onerror;this.Ember.onerror=function(n){o.withScope(function(e){t.addIntegrationToSdkInfo(e),o.getCurrentHub().captureException(n,{originalException:n})}),"function"==typeof e&&e.call(t.Ember,n)},this.Ember.RSVP.on("error",function(e){var n=o.getCurrentHub().pushScope();e instanceof Error?(n.setExtra("context","Unhandled Promise error detected"),t.addIntegrationToSdkInfo(n),o.getCurrentHub().captureException(e,{originalException:e})):(n.setExtra("reason",e),t.addIntegrationToSdkInfo(n),o.captureMessage("Unhandled Promise error detected")),o.getCurrentHub().popScope()})}},t.prototype.addIntegrationToSdkInfo=function(t){var e=this;t.addEventProcessor(function(t){return s(e,void 0,void 0,function(){var e;return c(this,function(n){return t.sdk&&(e=t.sdk.integrations||[],t.sdk=a({},t.sdk,{integrations:f(e,["ember"])})),[2,t]})})})},t}(),ee=function(){function t(t){void 0===t&&(t={}),this.name="Vue",this.Vue=t.Vue||T().Vue}return t.prototype.formatComponentName=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return(e?"component <"+e+">":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")},t.prototype.install=function(){var t=this;if(this.Vue&&this.Vue.config){var e=this.Vue.config.errorHandler;this.Vue.config.errorHandler=function(n,r,i){var u={};O(r)&&(u.componentName=t.formatComponentName(r),u.propsData=r.$options.propsData),x(i)||(u.lifecycleHook=i),o.withScope(function(e){Object.keys(u).forEach(function(t){e.setExtra(t,u[t])}),e.addEventProcessor(function(e){return s(t,void 0,void 0,function(){var t;return c(this,function(n){return e.sdk&&(t=e.sdk.integrations||[],e.sdk=a({},e.sdk,{integrations:f(t,["vue"])})),[2,e]})})}),o.getCurrentHub().captureException(n,{originalException:n})}),"function"==typeof e&&e.call(t.Vue,n,r,i)}}},t}(),ne=Object.freeze({GlobalHandlers:Gt,TryCatch:$t,Breadcrumbs:Wt,LinkedErrors:Kt,ReportingObserver:Yt,UserAgent:Qt,Ember:te,Vue:ee}),re=[new o.Integrations.Dedupe,new o.Integrations.InboundFilters,new o.Integrations.FunctionToString,new $t,new Wt,new Gt,new Yt,new Kt,new Qt];var oe=a({},o.Integrations,ne);e.addBreadcrumb=o.addBreadcrumb,e.captureException=o.captureException,e.captureEvent=o.captureEvent,e.captureMessage=o.captureMessage,e.configureScope=o.configureScope,e.withScope=o.withScope,e.getHubFromCarrier=o.getHubFromCarrier,e.getCurrentHub=o.getCurrentHub,e.Hub=o.Hub,e.Scope=o.Scope,e.Integrations=oe,e.Transports=Ft,e.Severity=y,e.Status=g,e.BrowserBackend=It,e.BrowserClient=Dt,e.defaultIntegrations=re,e.forceLoad=function(){},e.init=function(t){o.initAndBind(Dt,t,re)},e.lastEventId=function(){return o.getCurrentHub().lastEventId()},e.onLoad=function(t){t()},e.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=o.getCurrentHub().lastEventId()),o.getCurrentHub().getClient().showReportDialog(t)},e.SDK_NAME=Rt,e.SDK_VERSION="4.1.1"}).call(this,n(93),n(459))},1746:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1748).getGlobalObject(),o=new(function(){function t(){this.console=r.console,this.disabled=!0}return t.prototype.disable=function(){this.disabled=!0},t.prototype.enable=function(){this.disabled=!1},t.prototype.log=function(t){this.disabled||this.console.log("Sentry Logger [Log]: "+t)},t.prototype.warn=function(t){this.disabled||this.console.warn("Sentry Logger [Warn]: "+t)},t.prototype.error=function(t){this.disabled||this.console.error("Sentry Logger [Error]: "+t)},t}());e.logger=o},1748:function(t,e,n){"use strict";(function(t,r){Object.defineProperty(e,"__esModule",{value:!0});var o=n(1749);function i(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function u(){return i()?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}}function a(t){var e,n,r,i,u,a=[];if(!t||!t.tagName)return"";if(a.push(t.tagName.toLowerCase()),t.id&&a.push("#"+t.id),(e=t.className)&&o.isString(e))for(n=e.split(/\s+/),u=0;u<n.length;u++)a.push("."+n[u]);var s=["type","name","title","alt"];for(u=0;u<s.length;u++)r=s[u],(i=t.getAttribute(r))&&a.push("["+r+'="'+i+'"]');return a.join("")}e.isNodeEnv=i,e.getGlobalObject=u,e.uuid4=function(){var t=u(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})},e.htmlTreeAsString=function(t){for(var e,n=t,r=[],o=0,i=0,u=" > ".length;n&&o++<5&&!("html"===(e=a(n))||o>1&&i+r.length*u+e.length>=80);)r.push(e),i+=e.length,n=n.parentNode;return r.reverse().join(" > ")},e.htmlElementAsString=a,e.parseUrl=function(t){if(!t)return{};var e=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}},e.getEventDescription=function(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}}).call(this,n(459),n(93))},1749:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isError=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},e.isErrorEvent=function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},e.isDOMError=function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},e.isDOMException=function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.isPlainObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isNaN=function(t){return t!=t}},1761:function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.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 u},o=this&&this.__spread||function(){for(var t=[],