/*! * Application Insights JavaScript SDK - Web, 2.8.18 * Copyright (c) Microsoft and contributors. All rights reserved. */ !function(e,n){var t="undefined";if("object"==typeof exports&&typeof module!=t)n(exports);else if("function"==typeof define&&define.amd)define(["exports"],n);else{var r,t=typeof globalThis!=t?globalThis:e||self,i={},e="__ms$mod__",o={},a=o.esm_ai_2_8_18={},u="2.8.18",c="Microsoft",s=(s=t=t[c]=t[c]||{})[c="ApplicationInsights2"]=s[c]||{},l=(l=t)[c="ApplicationInsights"]=l[c]||{},t=s[e]=s[e]||{},f=t.v=t.v||[],c=l[e]=l[e]||{},d=c.v=c.v||[];for(r in(c.o=c.o||[]).push(o),n(i),i)s[r]=i[r],f[r]=u,l[r]=i[r],d[r]=u,(a.n=a.n||[]).push(r)}}(this,function(e){"use strict";!function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(i){}typeof t.value!==undefined&&(e[n]=t.value)}(e,"__esModule",{value:!0});var a="function",u="object",ne="undefined",te="prototype",c="hasOwnProperty",l=Object,x=l[te],b=l.assign,I=l.create,w=l.defineProperty,T=x[c],C=null;function re(e){e=!1===(e=void 0===e||e)?null:C;return e||((e=(e=(e=typeof globalThis!==ne?globalThis:e)||typeof self===ne?e:self)||typeof window===ne?e:window)||typeof global===ne||(e=global),C=e),e}function S(e){throw new TypeError(e)}function j(e){if(I)return I(e);if(null==e)return{};var n=typeof e;function t(){}return n!==u&&n!==a&&S("Object prototype may only be an Object:"+e),t[te]=e,new t}(re()||{}).Symbol,(re()||{}).Reflect;var ie=b||function(e){for(var n,t=1,r=arguments.length;t>>=0),Gr=123456789+e&Xr,Jr=987654321-e&Xr,Wr=!0}function Qr(){try{var e=2147483647&et();$r((Math.random()*Kr^e)+e)}catch(n){}}function Yr(e){return 0>>0:0}function Zr(e){var n=0,t=Y(Gt)||Y(Jt);return 0===(n=t&&t.getRandomValues?t.getRandomValues(new Uint32Array(1))[0]&Xr:n)&&mr()&&(Wr||Qr(),n=ei()&Xr),0===n&&(n=Math.floor(Kr*Math.random()|0)),e||(n>>>=0),n}function ei(e){var n=((Jr=36969*(65535&Jr)+(Jr>>16)&Xr)<<16)+(65535&(Gr=18e3*(65535&Gr)+(Gr>>16)&Xr))>>>0&Xr|0;return e||(n>>>=0),n}function ni(e){void 0===e&&(e=22);for(var n=Zr()>>>0,t=0,r=p;r[R]>>=6,5==++t&&(n=(Zr()<<2&4294967295|3&n)>>>0,t=0);return r}var ti=w,ri="."+ni(6),ii=0;function oi(e){return 1===e[Ue]||9===e[Ue]||!+e[Ue]}function ai(e,n){return Un(e+ii+++((n=void 0!==n&&n)?".2.8.18":p)+ri)}function ui(e){var o={id:ai("_aiData-"+(e||p)+".2.8.18"),accept:oi,get:function(e,n,t,r){var i=e[o.id];return i?i[Un(n)]:(r&&((i=function(e,n){var t=n[e.id];if(!t){t={};try{oi(n)&&!function(e,n,t){if(ti)try{return ti(e,n,{value:t,enumerable:!1,configurable:!0}),1}catch(r){}}(n,e.id,t)&&(n[e.id]=t)}catch(r){}}return t}(o,e))[Un(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}};return o}var ci="toGMTString",si="toUTCString",li="cookie",fi="expires",di="enabled",pi="isCookieUseDisabled",vi="disableCookiesUsage",gi="_ckMgr",mi=null,hi=null,yi=null,xi=cr(),bi={},Ii={};function wi(e,n){var t=ki[gi]||Ii[gi];return t||(t=ki[gi]=ki(e,n),Ii[gi]=t),t}function Ti(e){return!e||e.isEnabled()}function Ci(e,n){return n&&e&&q(e.ignoreCookies)&&-1!==e.ignoreCookies[Pe](n)}function Si(e,n){var t;return e?t=e.getCookieMgr():n&&(t=n[De][gi]||ki(n)),t||wi(n,(e||{})[pe])}function ki(e,i){v(t=(e=e||Ii)[De]=e[De]||{},"domain",e.cookieDomain,An,X),v(t,"path",e.cookiePath||"/",null,X),X(t[di])&&(n=void 0,K(e[pi])||(n=!e[pi]),K(e[vi])||(n=!e[vi]),t[di]=n);var n,t,s=t,l=s.path||"/",f=s.domain,r=!1!==s[di],d=((e={isEnabled:function(){var e=r&&_i(i),n=Ii[gi];return e&&n&&d!==n?Ti(n):e}})[Re]=function(e){r=!1!==e},e.set=function(e,n,t,r,i){var o,a,u,c=!1;return!Ti(d)||(a=s,(u=e)&&a&&q(a.blockedCookies)&&-1!==a.blockedCookies[Pe](u)||Ci(a,u))||(a={},-1!==(o=(u=V(n||p))[Pe](";"))&&(u=V(n[Ne](0,o)),a=Ei(n[Ne](o+1))),v(a,"domain",r||f,tt,K),X(t)||(o=mr(),K(a[fi])&&0<(n=et()+1e3*t)&&((r=new Date).setTime(n),v(a,fi,Di(r,o?ci:si)||Di(r,o?ci:si)||p,tt)),o||v(a,"max-age",p+t,null,K)),(n=dr())&&"https:"===n.protocol&&(v(a,"secure",null,null,K),(hi=null===hi?!Mi((lr()||{})[Me]):hi)&&v(a,"SameSite","None",null,K)),v(a,"path",i||l,null,K),(s.setCookie||Ni)(e,Pi(u,a)),c=!0),c},e.get=function(e){var n=p;return Ti(d)&&!Ci(s,e)?(s.getCookie||function(e){var n,t=p;return xi&&(n=xi[li]||p,yi!==n&&(bi=Ei(n),yi=n),t=V(bi[e]||p)),t})(e):n},e.del=function(e,n){return!!Ti(d)&&d.purge(e,n)},e.purge=function(e,n){var t,r=!1;return _i(i)&&((t={}).path=n||"/",t[fi]="Thu, 01 Jan 1970 00:00:01 GMT",n=t,mr()||(n["max-age"]="0"),(s.delCookie||Ni)(e,Pi(p,n)),r=!0),r},e);return d[gi]=d}function _i(e){if(null===mi){mi=!1;try{mi=(xi||{})[li]!==undefined}catch(n){H(e,2,68,"Cannot access document.cookie - "+Q(n),{exception:Z(n)})}}return mi}function Ei(e){var t={};return e&&e[R]&&$(V(e)[Ae](";"),function(e){var n;(e=V(e||p))&&(-1===(n=e[Pe]("="))?t[e]=null:t[V(e[Ne](0,n))]=V(e[Ne](n+1)))}),t}function Di(e,n){return W(e[n])?e[n]():null}function Pi(e,n){var t=e||p;return G(n,function(e,n){t+="; "+e+(X(n)?p:"="+n)}),t}function Ni(e,n){xi&&(xi[li]=e+"="+n)}function Mi(e){return!(!J(e)||!Fn(e,"CPU iPhone OS 12")&&!Fn(e,"iPad; CPU OS 12")&&!(Fn(e,"Macintosh; Intel Mac OS X 10_14")&&Fn(e,"Version/")&&Fn(e,"Safari"))&&(!Fn(e,"Macintosh; Intel Mac OS X 10_14")||!qn(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!Fn(e,"Chrome/5")&&!Fn(e,"Chrome/6")&&(!Fn(e,"UnrealEngine")||Fn(e,"Chrome"))&&!Fn(e,"UCBrowser/12")&&!Fn(e,"UCBrowser/11"))}var Ai="on",Ri="attachEvent",Li="addEventListener",Ui="detachEvent",qi="removeEventListener",Fi="events",Hi="visibilitychange",Oi="pagehide",zi="beforeunload",ji=ai("aiEvtPageHide"),Vi=(ai("aiEvtPageShow"),/\.[\.]+/g),Bi=/[\.]+$/,Ki=1,Xi=ui("events"),Wi=/^([^.]*)(?:\.(.+)|)/;function Gi(e){return e&&e[Fe]?e[Fe](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,p):e}function Ji(e,n){n&&(t=p,q(n)?(t=p,$(n,function(e){(e=Gi(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=Gi(n),t&&("."!==t[0]&&(t="."+t),e=(e||p)+t));var t,n=Wi.exec(e||p)||[],e={};return e[Ve]=n[1],e.ns=(n[2]||p).replace(Vi,".").replace(Bi,p)[Ae](".").sort().join("."),e}function $i(e,n,t){e=Xi.get(e,Fi,{},t=void 0===t||t);return e[n]||(e[n]=[])}function Qi(e,n,t,r){e&&n&&n[Ve]&&(e[qi]?e[qi](n[Ve],t,r):e[Ui]&&e[Ui](Ai+n[Ve],t))}function Yi(e,n,t,r){for(var i=n[R];i--;){var o=n[i];!o||t.ns&&t.ns!==o.evtName.ns||r&&!r(o)||(Qi(e,o.evtName,o[Be],o.capture),n[Te](i,1))}}function Zi(e,n){return n?Ji("xx",q(n)?[e].concat(n):[e,n]).ns[Ae]("."):e}function eo(e,n,t,r,i){void 0===i&&(i=!1);var o,a,u=!1;if(e)try{var c,s=Ji(n,r),l=s,f=t,d=i,p=!1;(a=e)&&l&&l[Ve]&&f&&(a[Li]?(a[Li](l[Ve],f,d),p=!0):a[Ri]&&(a[Ri](Ai+l[Ve],f),p=!0)),(u=p)&&Xi.accept(e)&&((o={guid:Ki++,evtName:s})[Be]=t,o.capture=i,c=o,$i(e,s.type)[A](c))}catch(v){}return u}function no(e,n,t,r,i){if(void 0===i&&(i=!1),e)try{var o=Ji(n,r),a=!1,u=e,c=function(e){return!((!o.ns||t)&&e[Be]!==t)&&(a=!0)};(s=o)[Ve]?Yi(u,$i(u,s[Ve]),s,c):(G(l=Xi.get(u,Fi,{}),function(e,n){Yi(u,n,s,c)}),0===$n(l)[R]&&Xi.kill(u,Fi)),a||Qi(e,o,t,i)}catch(f){}var s,l}function to(e,n,t){var r=!1,i=ar(),i=(i&&(r=eo(i,e,n,t),r=eo(i.body,e,n,t)||r),cr());return i&&eo(i,e,n,t)||r}function ro(e,n,t){var r=ar(),r=(r&&(no(r,e,n,t),no(r.body,e,n,t)),cr());r&&no(r,e,n,t)}function io(e,n,t,r){var i=!1;return n&&e&&0>4&15]+n[e>>8&15]+n[e>>12&15]+n[e>>16&15]+n[e>>20&15]+n[e>>24&15]+n[e>>28&15];var i=n[8+(3&Zr())|0];return t[Le](0,8)+t[Le](9,4)+"4"+t[Le](13,3)+i+t[Le](16,3)+t[Le](19,12)}var fo={_canUseCookies:undefined,isTypeof:function(e,n){return typeof e===n},isUndefined:K,isNullOrUndefined:X,hasOwnProperty:Rn,isFunction:W,isObject:Ln,isDate:Hn,isArray:q,isError:On,isString:J,isNumber:zn,isBoolean:jn,toISOString:Bn,arrForEach:$,arrIndexOf:Kn,arrMap:Xn,arrReduce:Wn,strTrim:V,objCreate:j,objKeys:$n,objDefineAccessors:Qn,addEventHandler:to,dateNow:et,isIE:mr,disableCookies:vo,newGuid:so,perfNow:function(){var e=pr();return e&&e.now?e.now():et()},newId:ni,randomValue:Yr,random32:Zr,mwcRandomSeed:function(e){e?$r(e):Qr()},mwcRandom32:ei,generateW3CId:lo};function po(e,n){e=wi(e,n),n=fo._canUseCookies;return null===co&&(co=[],uo=n,Qn(fo,"_canUseCookies",function(){return uo},function(n){uo=n,$(co,function(e){e[Re](n)})})),-1===Kn(co,e)&&co[A](e),jn(n)&&e[Re](n),jn(uo)&&e[Re](uo),e}function vo(){po()[Re](!1)}var go=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})(-[^\s]{1,64})?$/i,mo="00",ho="ff",yo="00000000000000000000000000000000",xo="0000000000000000";function bo(e,n,t){return e&&e[R]===n&&e!==t&&e.match(/^[\da-f]*$/i)}function Io(e,n,t){return bo(e,n)?e:t}function wo(e,n,t,r){var i={};return i[Ye]=bo(r,2,ho)?r:mo,i[$e]=Co(e)?e:lo(),i.spanId=So(n)?n:lo()[Le](0,16),i.traceFlags=0<=t&&t<=255?t:1,i}function To(e,n){if(!e)return null;if(!(e=q(e)?e[0]||"":e)||!J(e)||8192n?n:0]);var t=go.exec(V(e));return t&&t[1]!==ho&&t[2]!==yo&&t[3]!==xo?((n={version:(t[1]||p)[ze](),traceId:(t[2]||p)[ze](),spanId:(t[3]||p)[ze]()})[Qe]=parseInt(t[4],16),n):null}function Co(e){return bo(e,32,yo)}function So(e){return bo(e,16,xo)}function ko(e){var n,t;return e?(bo(n=function(e){for(var n=(e=isNaN(e)||e<0||255zo&&t[A](e)}),Vo(u,t,n)),u)),T?(-1!==(c=Kn(d,T))&&d[Te](c,1),-1!==(c=Kn(w,T))&&w[Te](c,1),T._setQueue(S)):(s=S,l=g,f=!1,T={identifier:"ChannelControllerPlugin",priority:zo,initialize:function(n,t,r,e){f=!0,$(s,function(e){e&&0t&&(r=n[Ha]()[du](0,t),H(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function Lu(e,n){return zu(e,n,2048,66)}function Uu(e,n){var t;return n&&32768t&&(i=n[du](0,t),H(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),i||n}function ju(e){e="00"+e;return e.substr(e[g]-3)}(r={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128,MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768}).sanitizeKeyAndAddUniqueness=Au,r.sanitizeKey=Ru,r.sanitizeString=ee,r.sanitizeUrl=Lu,r.sanitizeMessage=Uu,r.sanitizeException=qu,r.sanitizeProperties=Fu,r.sanitizeMeasurements=Hu,r.sanitizeId=Ou,r.sanitizeInput=zu,r.padNumber=ju,r.trim=V;var pa=r,Vu=cr()||{},Bu=0,Ku=[null,null,null,null,null];function Xu(e){var n=Bu,t=Ku,r=t[n];return Vu.createElement?t[n]||(r=t[n]=Vu.createElement("a")):r={host:Ju(e,!0)},r.href=e,++n>=t[g]&&(n=0),Bu=n,r}function Wu(e){e=Xu(e);return e?e.href:void 0}function Gu(e,n){return e?e.toUpperCase()+" "+n:n}function Ju(e,n){e=$u(e,n)||"";if(e){n=e.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=n&&3",r[iu]=V(t),r[ou]="",r[su]=0,(n=t.match(Sc.regex))&&5<=n[g]&&(r[cu]=V(n[2])||r[cu],r[ou]=V(n[4]),r[su]=parseInt(n[5])||0)):(r[uu]=e[uu],r[cu]=e[cu],r[iu]=e[iu],r[ou]=e[ou],r[su]=e[su],r[Ya]=0),r.sizeInBytes+=r.method[g],r.sizeInBytes+=r.fileName[g],r.sizeInBytes+=r.assembly[g],r[Ya]+=Sc.baseSize,r.sizeInBytes+=r.level.toString()[g],r.sizeInBytes+=r.line.toString()[g]}var kc=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},_c=(Ec.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",Ec.dataType="MetricData",Ec);function Ec(e,n,t,r,i,o,a,u,c){this.aiDataContract={ver:1,metrics:1,properties:0},this.ver=2;var s=new kc;s.count=0=Cd)return!1;return!0}Nd.__ieDyn=1;var Pd=Nd;function Nd(e){var c=Mr(e);m(Nd,this,function(u){u[$f]=function(e){e.isValid=!1;var n=(n=pr())&&n.getEntriesByType&&0=r[ip]()?o||(H(t,2,105,"Maximum in-memory buffer size reached: "+n[rp](),!0),o=!0):i[op](e)},n[rp]=function(){return i[O]},n.size=function(){for(var e=i[O],n=0;ny[vp]&&(r[O]=y[vp]),a(y[pp],[]),a(y[dp],r),t[tp]=function(e){t[rp]()>=y[vp]?s||(H(u,2,67,"Maximum buffer size reached: "+t[rp](),!0),s=!0):(n[tp](e),a(y[dp],t._get()))},t[up]=function(){n[up](),a(y[dp],t._get()),a(y[pp],[]),s=!1},t[sp]=function(e){a(y[dp],t._set(i(e,t._get())));var n=o(y[pp]);n instanceof Array&&e instanceof Array&&((n=n.concat(e))[O]>y[vp]&&(H(u,1,67,"Sent buffer reached its maximum size: "+n[O],!0),n[O]=y[vp]),a(y[pp],n))},t[lp]=function(e){e=i(e,o(y[pp]));a(y[pp],e)}}),e}uv.__ieDyn=1;var av=uv;function uv(f){m(uv,this,function(e){function s(a,u){var e="__aiCircularRefCheck",c={};if(!a)return H(f,1,48,"cannot serialize object because it is null or undefined",{name:u},!0),c;if(a[e])return H(f,2,50,"Circular reference detected while serializing object",{name:u},!0),c;if(a.aiDataContract)return a[e]=!0,G(a.aiDataContract,function(e,n){var t=W(n)?1&n():1&n,r=W(n)?4&n():4&n,n=2&n,i=a[e]!==undefined,o=Ln(a[e])&&null!==a[e];!t||i||n?r||(t=o?(n?l:s)(a[e],e):a[e])!==undefined&&(c[e]=t):H(f,1,24,"Missing required field specification. The field is required but not present on source",{field:e,name:u})}),delete a[e],c;if("measurements"===u)c=t(a,"number",u);else if("properties"===u)c=t(a,"string",u);else if("tags"===u)c=t(a,"string",u);else if(q(a))c=l(a,u);else{H(f,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:u},!0);try{gr()[Jd](a),c=a}catch(n){H(f,1,48,n&&W(n[Zd])?n[Zd]():"Error serializing object",null,!0)}}return c}function l(e,n){if(e)if(q(e))for(var t=[],r=0;r=n[qp]&&n.itemsReceived-n.itemsAccepted===n.errors[O])return n}}catch(t){H(l[yp](),1,43,"Cannot parse the response. "+Q(t),{response:e})}return null}function g(e,n){if(void 0===n&&(n=1),e&&0!==e[O]){var t=l[Tp];t[lp](e),T++;for(var r=0,i=e;rl._senderConfig[mp]()&&l[hp](!0,null,10),m())},l.flush=function(e,n,t){if(void 0===e&&(e=!0),!S){h();try{l[hp](e,null,t||1)}catch(r){H(l[yp](),1,22,"flush failed, telemetry will not be collected: "+Q(r),{exception:Z(r)})}}},l.onunloadFlush=function(){if(!S)if(!1!==l._senderConfig[xp]()&&!1!==l[z][bp]()||!yr())l.flush();else try{l[hp](!0,n,2)}catch(e){H(l[yp](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Q(e),{exception:Z(e)})}},l.addHeader=function(e,n){E[e]=n},l.initialize=function(e,n,t,r){l.isInitialized()&&H(l[yp](),1,28,"Sender is already initialized"),a.initialize(e,n,t,r);var i=l._getTelCtx(),o=l.identifier,t=(k=new av(n.logger),T=0,C=null,l[Ip]=null,_=0,l[yp]()),r=(M=Zi(ai("Sender"),n.evtNamespace&&n.evtNamespace()),N=function(e){var n,t=cr(),r=lr(),i=!1,o=!0,a=Zi(ai("OfflineListener"),e);try{u(ar())&&(i=!0),(i=!!(t&&(n=t.body||t).ononline&&u(n))||i)&&r&&!X(r[ep])&&(o=r[ep])}catch(l){i=!1}function u(e){var n=!1;return e&&(n=eo(e,"online",c,a))&&eo(e,"offline",s,a),n}function c(){o=!0}function s(){o=!1}return{isOnline:function(){var e=!0;return i?e=o:r&&!X(r[ep])&&(e=r[ep]),e},isListening:function(){return i},unload:function(){var e=ar();e&&i&&(Zp(e,a),t&&!K((e=t.body||t).ononline)&&Zp(e,a),i=!1)}}}(M),G(vv(),function(n,t){l[z][n]=function(){var e=i.getConfig(o,n,t());return e||"endpointUrl"!==n?e:t()}}),A=l[z].retryCodes(),e.storagePrefix&&Cu(e.storagePrefix),l[z][wp]()&&!(!l._senderConfig[fp]()&&!Du())),n=(l[Tp]=new(r?ov:tv)(t,l[z]),l._sample=new fv(l[z][Cp](),t),!X(e[jp])&&e[jp]||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(e[Sp])||H(t,1,100,"Invalid Instrumentation key "+e[Sp]),!Yu(l._senderConfig.endpointUrl())&&l._senderConfig.customHeaders()&&0l[z][mp]()&&(N&&!N[np]()||l[hp](!0,null,10)),c[tp](u),m()}catch(s){H(t,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Q(s),{exception:Z(s)})}l.processNext(e,n)},l._xhrReadyStateChange=function(e,n,t){4===e.readyState&&s(e.status,n,e.responseURL,t,x(e),pv(e)||e.response)},l[hp]=function(e,n,t){if(void 0===e&&(e=!0),!S)try{var r,i=l[Tp];l[z][Pp]()?i[up]():0t[qp]&&!l[z][Fp]()?l[Lp](n,t):l[Rp](n,I(e)):(T=0,l[Up](n,0))}}),R}var xv=function(){},bv=function(){this.id="browser",this.deviceClass="Browser"},Iv="sessionManager",wv="update",Tv="isUserCookieSet",Cv="isNewUser",Sv="getTraceCtx",kv="telemetryTrace",_v="applySessionContext",Ev="applyApplicationContext",Dv="applyDeviceContext",Pv="applyOperationContext",Nv="applyUserContext",Mv="applyOperatingSystemContxt",Av="applyLocationContext",Rv="applyInternalContext",Lv="accountId",Uv="sdkExtension",qv="getSessionId",Fv="namePrefix",Hv="sessionCookiePostfix",Ov="userCookiePostfix",zv="idLength",jv="getNewId",Vv="length",Bv="automaticSession",Kv="authenticatedId",Xv="sessionExpirationMs",Wv="sessionRenewalMs",Gv="config",Jv="acquisitionDate",$v="renewalDate",Qv="cookieDomain",Yv="join",Zv="cookieSeparator",eg="authUserCookieName",ng=function(e){this.sdkVersion=(e[Uv]&&e[Uv]()?e[Uv]()+"_":"")+"javascript:2.8.18"},tg=function(){},rg=function(){},ig=(og.acquisitionSpan=864e5,og.renewalSpan=18e5,og.cookieUpdateInterval=6e4,og);function og(n,e){var l,f,d=Mr(e),p=Si(e);m(og,this,function(u){W((n=n||{})[Xv])||(n[Xv]=function(){return og.acquisitionSpan}),W(n[Wv])||(n[Wv]=function(){return og.renewalSpan}),u[Gv]=n;var e=u.config[Hv]&&u[Gv][Hv]()?u.config[Hv]():u.config[Fv]&&u[Gv][Fv]()?u[Gv][Fv]():"";function c(e,n){var t=!1,r=", session will be reset",i=n.split("|");if(2<=i[Vv])try{var o=+i[1]||0,a=+i[2]||0;isNaN(o)||o<=0?H(d,2,27,"AI session acquisition date is 0"+r):isNaN(a)||a<=0?H(d,2,27,"AI session renewal date is 0"+r):i[0]&&(e.id=i[0],e[Jv]=o,e[$v]=a,t=!0)}catch(u){H(d,1,9,"Error parsing ai_session value ["+(n||"")+"]"+r+" - "+Q(u),{exception:Z(u)})}return t}function s(e,n){var t=e[Jv],r=(e[$v]=n,u[Gv]),i=r[Wv](),o=t+r[Xv]()-n,e=[e.id,t,n],t=o")+" - "+n)}try{typeof window!==ne?(Dg=(_g=window).appInsightsSDK||"appInsights",typeof JSON!==ne?_g[Dg]!==undefined&&(2<=(Eg=_g[Dg]||{version:2})[hf]&&_g[Dg].initialize||Eg[hf]===undefined)&&ga.getAppInsights(Eg,Eg[hf]):Ng(Dg,"Missing JSON - you must supply a JSON polyfill!")):Ng(Dg,"Missing window")}catch(Ag){Ng(Dg,Ag.message)}e.AnalyticsPluginIdentifier=Qc,e.ApplicationInsights=bg,e.BreezeChannelIdentifier=$c,e.CoreUtils=fo,e.DEFAULT_BREEZE_ENDPOINT=Na,e.DisabledPropertyName=_a,e.DistributedTracingModes=va,e.LoggingSeverity=ha,e.PerfEvent=Hr,e.PerfManager=zr,e.PropertiesPluginIdentifier=Jc,e.RequestHeaders=B,e.SeverityLevel=n,e.Telemetry=Vc,e.Util=la,e.addEventHandler=to,e.doPerf=Br,e.eventOff=no,e.eventOn=eo,e.findMetaTag=Tr,e.findW3cTraceParent=function(e){var n,t;return To(Tr("traceparent"),e)||To(n=(t=pr())?wr((0<(t=t.getEntriesByType("navigation")||[])[R]?t[0]:{}).serverTiming,"traceparent").description:n,e)},e.generateW3CId=lo,e.isBeaconsSupported=yr,e.mergeEvtNamespace=Zi,e.newGuid=so,e.newId=ni,e.random32=Zr,e.randomValue=Yr,e.removeEventHandler=ro}); //# sourceMappingURL=ai.2.8.18.min.js.map