0},o.obfuscateString=function(t){if(!t||”string”!=typeof t)return t;for(var e=s(this.sharedContext.agentIdentifier),n=t,r=0;r=0;–r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;–e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if(“throw”===r.type){var o=r.arg;E(n)}return o}}throw new Error(“illegal catch attempt”)},delegateYield:function(t,e,n){return this.delegate={iterator:_(t),resultName:e,nextLoc:n},”next”===this.method&&(this.arg=void 0),d}},t}function d(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}var l=0;function v(t){var e;(e=f().mark((function e(){var n,r;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l++){e.next=2;break}return e.abrupt(“return”);case 2:return e.prev=2,e.next=5,o.e(552).then(o.bind(o,5552));case 5:return n=e.sent,r=n.aggregator,e.next=9,r(t);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(2),console.error(“Failed to successfully load all aggregators. Aborting…n”,e.t0),s.ee.abort();case 15:case”end”:return e.stop()}}),e,null,[[2,11]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(t){d(i,r,o,a,c,”next”,t)}function c(t){d(i,r,o,a,c,”throw”,t)}a(void 0)}))})()}var p=o(8539),h=o.n(p),g=o(1424),y=o(1220),m=o(441),b=o(7361),w=o(357),x=o(6959);var O=o(1476),E=o(5955),j={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},_={};var P=!1;var A=o(6972),k=o(1793),L=o(5023);function S(t,e){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},S(t,e)}var T,C,I,R=function(t){var e,n;function r(e){var n;return n=t.call(this,e)||this,(0,k.v)(e),(0,A.B)(e,”firstbyte”,(0,x.yf)()),c((function(){return n.measureWindowLoaded()})),u((function(){return n.measureDomContentLoaded()})),n}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,S(e,n);var o=r.prototype;return o.measureWindowLoaded=function(){var t=(0,x.zO)();(0,A.B)(this.agentIdentifier,”onload”,t+(0,x.os)()),(0,b.p)(“timing”,[“load”,t],void 0,void 0,this.ee)},o.measureDomContentLoaded=function(){(0,A.B)(this.agentIdentifier,”domContent”,(0,x.zO)()+(0,x.os)())},r}(L.W);void 0!==document.hidden?(T=”hidden”,C=”visibilitychange”,I=”visibilityState”):void 0!==document.msHidden?(T=”msHidden”,C=”msvisibilitychange”):void 0!==document.webkitHidden&&(T=”webkitHidden”,C=”webkitvisibilitychange”,I=”webkitVisibilityState”);var M=o(2085);function N(t,e){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},N(t,e)}var D=function(t){var n,r;function o(n){var r,o;if((r=t.call(this,n)||this).pageHiddenTime=”hidden”===document.visibilityState?-1:1/0,r.performanceObserver,r.lcpPerformanceObserver,r.clsPerformanceObserver,r.fiRecorded=!1,!r.isEnabled())return function(t){if(void 0===t)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return t}(r);if(“PerformanceObserver”in window&&”function”==typeof window.PerformanceObserver){r.performanceObserver=new PerformanceObserver((function(){var t;return(t=r).perfObserver.apply(t,arguments)}));try{r.performanceObserver.observe({entryTypes:[“paint”]})}catch(t){}r.lcpPerformanceObserver=new PerformanceObserver((function(){var t;return(t=r).lcpObserver.apply(t,arguments)}));try{r.lcpPerformanceObserver.observe({entryTypes:[“largest-contentful-paint”]})}catch(t){}r.clsPerformanceObserver=new PerformanceObserver((function(){var t;return(t=r).clsObserver.apply(t,arguments)}));try{r.clsPerformanceObserver.observe({type:”layout-shift”,buffered:!0})}catch(t){}}if(“addEventListener”in document){r.fiRecorded=!1;[“click”,”keydown”,”mousedown”,”pointerdown”,”touchstart”].forEach((function(t){document.addEventListener(t,(function(){var t;return(t=r).captureInteraction.apply(t,arguments)}),(0,e.m)(!1))}))}return o=function(){var t;return(t=r).captureVisibilityChange.apply(t,arguments)},”addEventListener”in document&&C&&document.addEventListener(C,(function(){I&&document[I]?o(document[I]):document[T]?o(“hidden”):o(“visible”)}),(0,e.m)(!1)),r}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,N(n,r);var i=o.prototype;return i.isEnabled=function(){return!1!==(0,O.Mt)(this.agentIdentifier,”page_view_timing.enabled”)},i.perfObserver=function(t,e){var n=this;t.getEntries().forEach((function(t){“first-paint”===t.name?(0,b.p)(“timing”,[“fp”,Math.floor(t.startTime)],void 0,void 0,n.ee):”first-contentful-paint”===t.name&&(0,b.p)(“timing”,[“fcp”,Math.floor(t.startTime)],void 0,void 0,n.ee)}))},i.lcpObserver=function(t,e){var n=t.getEntries();if(n.length>0){var r=n[n.length-1];if(this.pageHiddenTime0&&this.recordSupportability(“Generic/Obfuscate/Detected”),e.length>0&&!(0,K.Ng)(e)&&this.recordSupportability(“Generic/Obfuscate/Invalid”)},r}(L.W),tt=o(847);new Promise((function(e,n){if(P)e(P);else{var r=(0,g.gG)();try{(0,m.L)(t.Z,r.info),(0,O.Dg)(t.Z,r.init),function(t,e){if(!t)throw new Error(“All loader-config objects require an agent identifier!”);_[t]=new E.I(e,j),(0,g.Qy)(t,_[t],”loader_config”)}(t.Z,r.loader_config),(0,y.s)(t.Z,{}),function(t){var e=(0,g.fP)(),n=s.ee.get(t),r=n.get(“tracer”),o=”api-“,i=”api-ixn-“;function a(){}(0,w.D)([“setErrorHandler”,”finished”,”addToTrace”,”inlineHit”,”addRelease”],(function(t,n){e[n]=u(o,n,!0,”api”)})),e.addPageAction=u(o,”addPageAction”,!0),e.setCurrentRouteName=u(o,”routeName”,!0),e.setPageViewName=function(e,n){if(“string”==typeof e)return”/”!==e.charAt(0)&&(e=”/”+e),(0,y.O)(t).customTransaction=(n||”http://custom.transaction”)+e,u(o,”setPageViewName”,!0,”api”)()},e.setCustomAttribute=function(e,n){var r,i=(0,m.C)(t);return(0,m.L)(t,Object.assign({},i,{jsAttributes:Object.assign({},i.jsAttributes,(r={},r[e]=n,r))})),u(o,”setCustomAttribute”,!0,”api”)()},e.interaction=function(){return(new a).get()};var c=a.prototype={createTracer:function(t,e){var o={},i=this,a=”function”==typeof e;return(0,b.p)(“api-ixn-tracer”,[(0,x.zO)(),t,o],i,void 0,n),function(){if(r.emit((a?””:”no-“)+”fn-start”,[(0,x.zO)(),i,a],o),a)try{return e.apply(this,arguments)}catch(t){throw r.emit(“fn-err”,[arguments,this,”string”==typeof t?new Error(t):t],o),t}finally{r.emit(“fn-end”,[(0,x.zO)()],o)}}}};function u(t,e,r,o){return function(){return(0,b.p)(“record-supportability”,[“API/”+e+”/called”],void 0,void 0,n),(0,b.p)(t+e,[(0,x.zO)()].concat(h()(arguments)),r?null:this,o,n),r?void 0:this}}(0,w.D)(“actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get”.split(“,”),(function(t,e){c[e]=u(i,e)})),e.noticeError=function(t,e){“string”==typeof t&&(t=new Error(t)),(0,b.p)(“record-supportability”,[“API/noticeError/called”],void 0,void 0,n),(0,b.p)(“err”,[t,(0,x.zO)(),!1,e],void 0,void 0,n)}}(t.Z),e(P=!0)}catch(t){n(t)}}})).then((function(){var e,n,r,o=(0,tt.K)(t.Z);o.page_view_event&&new R(t.Z),o.page_view_timing&&new D(t.Z),o.metrics&&new $(t.Z),e=”lite”,n?setTimeout((function(){return v(e)}),r||1e3):c((function(){return v(e)}))}))}(),i}()}));]]> Source

Leave a Reply