GT2/GT2-Android/node_modules/raven-js/dist/plugins/angular.min.js

3 lines
5.4 KiB
JavaScript
Raw Normal View History

/*! Raven.js 3.22.2 (1b6187b) | github.com/getsentry/raven-js */
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):(a.Raven=a.Raven||{},a.Raven.Plugins=a.Raven.Plugins||{},a.Raven.Plugins.Angular=b())}(this,function(){"use strict";function a(b){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(b)}function b(b){return"object"===a(b)&&null!==b}function c(a){switch({}.toString.call(a)){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return a instanceof Error}}function d(a){return k()&&"[object ErrorEvent]"==={}.toString.call(a)}function e(a){return void 0===a}function f(a){return"function"==typeof a}function g(a){return"[object Object]"===Object.prototype.toString.call(a)}function h(a){return"[object String]"===Object.prototype.toString.call(a)}function i(a){return"[object Array]"===Object.prototype.toString.call(a)}function j(a){if(!g(a))return!1;for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}function k(){try{return new ErrorEvent(""),!0}catch(a){return!1}}function l(){if(!("fetch"in H))return!1;try{return new Headers,new Request(""),new Response,!0}catch(a){return!1}}function m(a){function b(b,c){var d=a(b)||b;return c?c(d)||d:d}return b}function n(a,b){var c,d;if(e(a.length))for(c in a)r(a,c)&&b.call(null,c,a[c]);else if(d=a.length)for(c=0;c<d;c++)b.call(null,c,a[c])}function o(a,b){return b?(n(b,function(b,c){a[b]=c}),a):a}function p(a){return!!Object.isFrozen&&Object.isFrozen(a)}function q(a,b){return!b||a.length<=b?a:a.substr(0,b)+"…"}function r(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function s(a){for(var b,c=[],d=0,e=a.length;d<e;d++)b=a[d],h(b)?c.push(b.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):b&&b.source&&c.push(b.source);return new RegExp(c.join("|"),"i")}function t(a){var b=[];return n(a,function(a,c){b.push(encodeURIComponent(a)+"="+encodeURIComponent(c))}),b.join("&")}function u(a){if("string"!=typeof a)return{};var b=a.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/),c=b[6]||"",d=b[8]||"";return{protocol:b[2],host:b[4],path:b[5],relative:b[5]+c+d}}function v(){var a=H.crypto||H.msCrypto;if(!e(a)&&a.getRandomValues){var b=new Uint16Array(8);a.getRandomValues(b),b[3]=4095&b[3]|16384,b[4]=16383&b[4]|32768;var c=function(a){for(var b=a.toString(16);b.length<4;)b="0"+b;return b};return c(b[0])+c(b[1])+c(b[2])+c(b[3])+c(b[4])+c(b[5])+c(b[6])+c(b[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0,c="x"===a?b:3&b|8;return c.toString(16)})}function w(a){for(var b,c=5,d=80,e=[],f=0,g=0,h=" > ",i=h.length;a&&f++<c&&(b=x(a),!("html"===b||f>1&&g+e.length*i+b.length>=d));)e.push(b),g+=b.length,a=a.parentNode;return e.reverse().join(h)}function x(a){var b,c,d,e,f,g=[];if(!a||!a.tagName)return"";if(g.push(a.tagName.toLowerCase()),a.id&&g.push("#"+a.id),b=a.className,b&&h(b))for(c=b.split(/\s+/),f=0;f<c.length;f++)g.push("."+c[f]);var i=["type","name","title","alt"];for(f=0;f<i.length;f++)d=i[f],e=a.getAttribute(d),e&&g.push("["+d+'="'+e+'"]');return g.join("")}function y(a,b){return!!(!!a^!!b)}function z(a,b){return e(a)&&e(b)}function A(a,b){return!y(a,b)&&(a=a.values[0],b=b.values[0],a.type===b.type&&a.value===b.value&&(!z(a.stacktrace,b.stacktrace)&&B(a.stacktrace,b.stacktrace)))}function B(a,b){if(y(a,b))return!1;var c=a.frames,d=b.frames;if(c.length!==d.length)return!1;for(var e,f,g=0;g<c.length;g++)if(e=c[g],f=d[g],e.filename!==f.filename||e.lineno!==f.lineno||e.colno!==f.colno||e["function"]!==f["function"])return!1;return!0}function C(a,b,c,d){var e=a[b];a[b]=c(e),a[b].a=!0,a[b].b=e,d&&d.push([a,b,e])}function D(a,b){if(!i(a))return"";for(var c=[],d=0;d<a.length;d++)try{c.push(String(a[d]))}catch(e){c.push("[value cannot be serialized]")}return c.join(b)}function E(a,b){function c(){this.$get=["$window",function(b){return a}]}function d(a){a.decorator("$exceptionHandler",["Raven
//# sourceMappingURL=angular.min.js.map