/*! Raygun4js - v2.22.3 - 2021-05-03 * https://github.com/MindscapeHQ/raygun4js * Copyright (c) 2021 MindscapeHQ; Licensed MIT */ function raygunCoreWebVitalFactory(t){function e(){this.cleanWebVitalData=function(e){var t=e;return t.value&&t.value.toFixed&&(t.value=t.value.toFixed(3)),t}}var n=null;return e.prototype.attach=function(e){n=e,void 0!==t&&t.webVitals&&(t.webVitals.getLCP&&t.webVitals.getLCP(this.handler),t.webVitals.getFID&&t.webVitals.getFID(this.handler),t.webVitals.getCLS&&t.webVitals.getCLS(this.handler))},e.prototype.handler=function(e){e.value&&e.value.toFixed&&(e.value=e.value.toFixed(3));var t={url:e.name,timing:{t:"w",du:e.value}};n(t)},new e}!function(w){var p,s,t,r,u,c,i,a,f={},e=w.TraceKit,o=[].slice,h="?";function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){return void 0===e}function d(e,t){var n=null;if(!t||f.collectWindowErrors){for(var i in r)if(S(r,i))try{r[i].apply(null,[e].concat(o.call(arguments,2)))}catch(e){n=e}if(n)throw n}}function n(e,t,n,i,r){var a,o=null;return r?o=f.computeStackTrace(r):c?(f.computeStackTrace.augmentStackTraceWithInitialElement(c,t,n,e),o=c,u=c=null):((a={url:t,line:n,column:i}).func=f.computeStackTrace.guessFunctionName(a.url,a.line),a.context=f.computeStackTrace.gatherContext(a.url,a.line),o={mode:"onerror",message:e,url:document.location.href,stack:[a],useragent:navigator.userAgent}),d(o,"from window.onerror"),!!s&&s.apply(this,arguments)}function g(e){var t;if("undefined"!=typeof document&&(t=o.call(arguments,1)),c){if(u===e)return;var n=c;d.apply(u=c=null,[n,null].concat(t))}var i=f.computeStackTrace(e);if(c=i,u=e,w.setTimeout(function(){u===e&&d.apply(u=c=null,[i,null].concat(t))},i.incomplete?2e3:0),!p.Utilities.isReactNative())throw e}function U(e){var t,n;return S(a,e)||(t="",e=e||"",n="undefined"!=typeof document?document.domain:w.location.hostname,e.indexOf&&-1!==e.indexOf(n)&&(t="string"!=typeof e?[]:""),a[e]=t?t.split("\n"):[]),a[e]}function k(e,t){var n,i=/function ([^(]*)\(([^)]*)\)/,r=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,a="",o=U(e);if(!o.length)return h;for(var s=0;s<10;++s)if(!l(a=o[t-s]+a)){if(n=r.exec(a))return n[1];if(n=i.exec(a))return n[1]}return h}function R(e,t){var n=U(e);if(!n.length)return null;var i=[],r=Math.floor(f.linesOfContext/2),a=r+f.linesOfContext%2,o=Math.max(0,t-r-1),s=Math.min(n.length,t+a-1);--t;for(var u=o;u","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function x(e,t){for(var n,i,r=0,a=t.length;rn&&(i=a.exec(r[n]))?i.index:null}function b(e,t,n,i){var r={url:t,line:n};if(r.url&&r.line){e.incomplete=!1,r.func||(r.func=k(r.url,r.line)),r.context||(r.context=R(r.url,r.line));var a=/ '([^']+)' /.exec(i);if(a&&(r.column=v(a[1],r.url,r.line)),0]+)>|([^\)]+))\((.*)\) in (.*):\s*$/i,r=n?n.split("\n"):[],a=[],o=0,s=r.length;o|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|ionic|app|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=e.stack.split("\n"),o=[],s=/^(.*) is undefined$/.exec(e.message);if(p.Utilities.isReactNative())for(var u,c,l,d=/^(.*@)?.*\/[^\.]+(\.app|CodePush)\/?(.*)/,f=0;f>>0;if(0==r)return-1;var a=0|t;if(r<=a)return-1;for(n=Math.max(0<=a?a:r-Math.abs(a),0);n>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1t?e.slice(0,t-"(...)".length)+"(...)":e},getOrigin:function(){return p.location.origin?p.location.origin:p.location.protocol+"//"+p.location.hostname+(p.location.port?":"+p.location.port:"")},resolveFullUrl:function(e){if(e&&0===e.indexOf("//")&&(e=p.location.protocol+e),e&&p.location.pathname&&-1===e.indexOf("://")){var t=this.getOrigin();if(0===e.indexOf("/"))return t+e;var n=p.location.pathname.split("/");return n.pop(),t+n.join("/")+"/"+e}return e},removeFromArray:function(e,t){for(var n=[],i=0;i