31 lines
97 KiB
JavaScript
31 lines
97 KiB
JavaScript
|
(window.findifyJsonp=window.findifyJsonp||[]).push([[2],{"1Hxs":function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){r=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.__sentry__?this.__sentry_original__:this;return r.apply(n,t)}},t.id="FunctionToString",t}();e.FunctionToString=o},"9EIM":function(t,e,n){"use strict";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={}))},"9mya":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=n("NBgs"),a=n("MoD/"),s=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){if(e=o.getCurrentHub().getIntegration(t)){try{if(e.shouldDropEvent(n,e.previousEvent))return[2,null]}catch(t){return[2,e.previousEvent=n]}return[2,e.previousEvent=n]}return[2,n]})})})},t.prototype.shouldDropEvent=function(t,e){return!(!e||(this.isSameMessageEvent(t,e)?(i.logger.warn("Event dropped due to being a duplicate of previous event (same message).\nEvent: "+a.getEventDescription(t)),0):!this.isSameExceptionEvent(t,e)||(i.logger.warn("Event dropped due to being a duplicate of previous event (same exception).\nEvent: "+a.getEventDescription(t)),0)))},t.prototype.isSameMessageEvent=function(t,e){var n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!this.isSameFingerprint(t,e)||!this.isSameStacktrace(t,e))},t.prototype.getFramesFromEvent=function(t){var e=t.exception;if(!e)return t.stacktrace?t.stacktrace.frames:void 0;try{return e.values[0].stacktrace.frames}catch(t){return}},t.prototype.isSameStacktrace=function(t,e){var n=this.getFramesFromEvent(t),r=this.getFramesFromEvent(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0},t.prototype.getExceptionFromEvent=function(t){return t.exception&&t.exception.values&&t.exception.values[0]},t.prototype.isSameExceptionEvent=function(t,e){var n=this.getExceptionFromEvent(e),r=this.getExceptionFromEvent(t);return!!(n&&r&&n.type===r.type&&n.value===r.value&&this.isSameFingerprint(t,e)&&this.isSameStacktrace(t,e))},t.prototype.isSameFingerprint=function(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(t){return!1}},t.id="Dedupe",t}();e.Dedupe=s},Bux2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("uRv/");e.addBreadcrumb=r.addBreadcrumb,e.captureException=r.captureException,e.captureEvent=r.captureEvent,e.captureMessage=r.captureMessage,e.configureScope=r.configureScope,e.withScope=r.withScope;var o=n("rFKW");e.addGlobalEventProcessor=o.addGlobalEventProcessor,e.getCurrentHub=o.getCurrentHub,e.Hub=o.Hub,e.getHubFromCarrier=o.getHubFromCarrier,e.Scope=o.Scope;var i=n("rc12");e.API=i.API;var a=n("CPqQ");e.BaseClient=a.BaseClient;var s=n("ddDu");e.BaseBackend=s.BaseBackend;var u=n("Z+B
|
||
|
/*! *****************************************************************************
|
||
|
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.
|
||
|
***************************************************************************** */
|
||
|
var r=function(t,e){return(r=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)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=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 a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}return n}function s(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,s)}u((r=r.apply(t,e||[])).next())})}function f(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}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,s])}}}function p(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function d(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}}}}function h(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}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function g(t){return this instanceof g?(this.v=t,this):new g(t)}function y(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(e){return new Promise(function(n,r){i.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{(n=o[t](e)).value instanceof g?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(t){l(i[0][3],t)}var n}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function m(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:g(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function _(t){if(
|
||
|
/**
|
||
|
* 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 rt=w(),ot={wrap:function(){return function(){}},report:!1,collectWindowErrors:!1,computeStackTrace:!1,remoteFetching:!1,linesOfContext:!1,extendToAsynchronousCallbacks:!1},it=[].slice,at="?",st=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function ut(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ct(){return"undefined"==typeof document||null==document.location?"":document.location.href}ot.wrap=function(t){return function(){try{return t.apply(this,arguments)}catch(t){throw ot.report(t),t}}},ot.report=function(){var t,e,n,r,i=[],a=null,s=null;function u(t,e,n){var r=null;if(!e||ot.collectWindowErrors){for(var o in i)if(ut(i,o))try{i[o](t,e,n)}catch(t){r=t}if(r)throw r}}function c(e,n,r,i,a){var c=null;if(a=h(a)?a.error:a,e=h(e)?e.message:e,s)ot.computeStackTrace.augmentStackTraceWithInitialElement(s,n,r,e),f();else if(a&&d(a))(c=ot.computeStackTrace(a)).mechanism="onerror",u(c,!0,a);else{var l,p={url:n,line:r,column:i},v=e;if("[object String]"==={}.toString.call(e)){var g=e.match(st);g&&(l=g[1],v=g[2])}p.func=ot.computeStackTrace.guessFunctionName(p.url,p.line),p.context=ot.computeStackTrace.gatherContext(p.url,p.line),u(c={name:l,message:v,mode:"onerror",mechanism:"onerror",stack:[o.__assign({},p,{url:p.url||ct()})]},!0,null)}return!!t&&t.apply(this,arguments)}function l(t){var e=t&&(t.detail?t.detail.reason:t.reason)||t,n=ot.computeStackTrace(e);n.mechanism="onunhandledrejection",u(n,!0,e)}function f(){var t=s,e=a;s=null,a=null,u(t,!1,e)}function p(t){if(s){if(a===t)return;f()}var e=ot.computeStackTrace(t);throw s=e,a=t,setTimeout(function(){a===t&&f()},e.incomplete?2e3:0),t}return p.subscribe=function(t){i.push(t)},p.unsubscribe=function(o){for(var a=i.length-1;a>=0;--a)i[a]===o&&i.splice(a,1);0===i.length&&(e&&(rt.onerror=t,e=!1),r&&(rt.onunhandledrejection=n,r=!1))},p.installGlobalHandler=function(){!0!==e&&(t=rt.onerror,rt.onerror=c,e=!0)},p.installGlobalUnhandledRejectionHandler=function(){!0!==r&&(n=rt.onunhandledrejection,rt.onunhandledrejection=l,r=!0)},p}(),ot.computeStackTrace=function(){var t=!1,e={};function n(t){if("string"!=typeof t)return[];if(!ut(e,t)){var n="",r="";try{r=rt.document.domain}catch(t){}var o=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);o&&o[2]===r&&(n=function(t){if(!ot.remoteFetching)return"";try{var e=function(){try{return new rt.XMLHttpRequest}catch(t){return new rt.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)/,a="",s=n(t);if(!s.length)return at;for(var u=0;u<10;++u)if(a=s[e-u]+a,!y(a)){if(r=i.exec(a))return r[1];if(r=o.exec(a))return r[1]}return at}function o(t,e){var r=n(t);if(!r.length)return null;var o=[],i=Math.floor(ot.linesOfContext/2),a=i+ot.linesOfContext%2,s=Math.max(0,e-i-1),u=Math.min(r.length,e+a-1);e-=1;for(var c=s;c<u;++c)y(r[c])||o.push(r[c]);return o.length>0?o:null}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function a(t){return i(t).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function s(t,e){for(var r,o,i=0,a=e.length;i<a;++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 u(t,e,r){var o,a=n(e),s=new RegExp("\\b"+i(t)+"\\b");return r-=1,a&&a.length>r&&(o=s.exec(a[r]))?o.index:null}function c(t){if(!y(rt&&rt.document)){for(var e,n,r,o,u=[ct()],c=rt.document.getElementsByTagName("script"),l=""+t,f=0;f<c.length;++f){var p=c[f];p.src&&u.push(p.src)}if(r=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)){var d=r[1]?"\\s+"+r[1]:"",h=r[2].split(",").join("\\s*,\\s*");e=i(r[3]).replace(/;$/,";?"),n=new RegExp("function"+d+"\\s*\\(\\s*"+h+"\\s*\\)\\s*{\\s*"+e+"\\s*}")}else n=new RegExp(i(l).rep
|
||
|
//# sourceMappingURL=vendors~sentry.js.map
|