/*! Raygun4js - v3.1.3 - 2024-11-27 * https://github.com/MindscapeHQ/raygun4js * Copyright (c) 2024 MindscapeHQ; Licensed MIT */ !function r(i,a,o){function s(t,e){if(!a[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(u)return u(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=a[t]={exports:{}},i[t][0].call(n.exports,function(e){return s(i[t][1][e]||e)},n,n.exports,r,i,a,o)}return a[t].exports}for(var u="function"==typeof require&&require,e=0;en.value&&(n.value=r,n.entries=i,t())}var t,n=b("CLS",0),r=0,i=[],a=U("layout-shift",e);a&&(t=w(o,n,T,s.reportAllChanges),u(function(){e(a.takeRecords()),t(!0)}),m(function(){n=b("CLS",r=0),t=w(o,n,T,s.reportAllChanges),S(function(){return t()})}),setTimeout(t,0))}))}function s(e,t){f||(f=t,g=e,j=new Date,d(removeEventListener),l())}function l(){var t;0<=g&&gt.latency)&&(n?(n.entries.push(e),n.latency=Math.max(n.latency,e.duration)):(t={id:e.interactionId,latency:e.duration,entries:[e]},L[t.id]=t,N.push(t)),N.sort(function(e,t){return t.latency-e.latency}),N.splice(10).forEach(function(e){delete L[e.id]}))}function q(a,o){o=o||{},R(function(){var e;"interactionCount"in performance||(h=h||U("event",G,{type:"event",buffered:!0,durationThreshold:0}));function t(e){e.forEach(function(t){t.interactionId&&P(t),"first-input"!==t.entryType||N.some(function(e){return e.entries.some(function(e){return t.duration===e.duration&&t.startTime===e.startTime})})||P(t)}),e=Math.min(N.length-1,Math.floor(H()/50)),(e=N[e])&&e.latency!==n.value&&(n.value=e.latency,n.entries=e.entries,i())}var n=b("INP"),r=U("event",t,{durationThreshold:null!=(e=o.durationThreshold)?e:40}),i=w(a,n,O,o.reportAllChanges);r&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&r.observe({type:"first-input",buffered:!0}),u(function(){t(r.takeRecords()),n.value<0&&0performance.now()||(i.value=Math.max(e-v(),0),i.entries=[t],a(!0),m(function(){i=b("TTFB",0),(a=w(n,i,M,r.reportAllChanges))(!0)}))})}var f,g,j,p,h,V=-1,m=function(t){addEventListener("pageshow",function(e){e.persisted&&(V=e.timeStamp,t(e))},!0)},y=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},v=function(){var e=y();return e&&e.activationStart||0},b=function(e,t){var n=y(),r="navigate";return 0<=V?r="back-forward-cache":n&&(document.prerendering||0r[1]?"poor":e>r[0]?"needs-improvement":"good",t(n))}},S=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},r=-1,W=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},i=function(e){"hidden"===document.visibilityState&&-1>>0;if(0!=i){t=0|t;if(!(i<=t))for(n=Math.max(0<=t?t:i-Math.abs(t),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 d.location.origin||d.location.protocol+"//"+d.location.hostname+(d.location.port?":"+d.location.port:"")},resolveFullUrl:function(e){var t,n;return(e=e&&0===e.indexOf("//")?d.location.protocol+e:e)&&d.location.pathname&&-1===e.indexOf("://")?(t=this.getOrigin(),0!==e.indexOf("/")?((n=d.location.pathname.split("/")).pop(),t+n.join("/")+"/"+e):t+e):e},removeFromArray:function(e,t){for(var n=[],r=0;r","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function w(e,t){for(var n,r,i=0,a=t.length;in&&(e=e.exec(t[n]))?e.index:null}function f(e,t,n,r){t={url:t,line:n};if(t.url&&t.line){e.incomplete=!1,t.func||(t.func=v(t.url,t.line)),t.context||(t.context=b(t.url,t.line));n=/ '([^']+)' /.exec(r);if(n&&(t.column=p(n[1],t.url,t.line)),0]+)>|([^\)]+))\((.*)\) in (.*):\s*$/i,r=t?t.split("\n"):[],i=[],a=0,o=r.length;a|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,r=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|ionic|capacitor|app|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\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(E.Utilities.isReactNative())for(var u,c,l,d=/^(.*@)?.*\/[^\.]+(\.app|CodePush)\/?(.*)/,f=0;f