@microsoft/applicationinsights-dependencies-js
Advanced tools
Comparing version 2.8.19-nightly.2404-09 to 2.8.19-nightly.2404-10
{ | ||
"name": "applicationinsights-dependencies-js", | ||
"version": "2.8.19-nightly.2404-09", | ||
"version": "2.8.19-nightly.2404-10", | ||
"ext": { | ||
@@ -8,7 +8,7 @@ "@js": { | ||
"type": "text/javascript; charset=utf-8", | ||
"integrity": "sha256-Y8T9fBae8KBcLJ7C6bLEWI5s9R2L1UgXoJqv4Ty6Mwc= sha384-gTLkRh4n5K/cqiPmQ1kzi/5YxO0PewDv9Xso56m0QlNPDQhyBqjiq0J3opGKuHms sha512-3IBQND03Svxc6M6PObi5eZbRnLH8oMzu8cksj6gDfSgjjmrju5+/7BnVzNgFrEt9lfX9vzlJKf7vvL/k4HC01g==", | ||
"integrity": "sha256-et/hPRpu6VGiWKd5yo3nweNDiTEeEKWtIdfdf34QVJY= sha384-BY4AK3HS+Bw+qyftqJsuzqdnSe1jKYu8xyKJhgsN+7NTTQygyHlTWxr+H0BejjN+ sha512-zFe1Ut6wKx12W9m83Uw0tD9DShLnryiyKE/lIv46TaUiRS6DSpPXEmmWDWFtv5R4DVCgoDz41dQYYk/LaHCahQ==", | ||
"hashes": { | ||
"sha256": "Y8T9fBae8KBcLJ7C6bLEWI5s9R2L1UgXoJqv4Ty6Mwc=", | ||
"sha384": "gTLkRh4n5K/cqiPmQ1kzi/5YxO0PewDv9Xso56m0QlNPDQhyBqjiq0J3opGKuHms", | ||
"sha512": "3IBQND03Svxc6M6PObi5eZbRnLH8oMzu8cksj6gDfSgjjmrju5+/7BnVzNgFrEt9lfX9vzlJKf7vvL/k4HC01g==" | ||
"sha256": "et/hPRpu6VGiWKd5yo3nweNDiTEeEKWtIdfdf34QVJY=", | ||
"sha384": "BY4AK3HS+Bw+qyftqJsuzqdnSe1jKYu8xyKJhgsN+7NTTQygyHlTWxr+H0BejjN+", | ||
"sha512": "zFe1Ut6wKx12W9m83Uw0tD9DShLnryiyKE/lIv46TaUiRS6DSpPXEmmWDWFtv5R4DVCgoDz41dQYYk/LaHCahQ==" | ||
} | ||
@@ -19,7 +19,7 @@ }, | ||
"type": "text/javascript; charset=utf-8", | ||
"integrity": "sha256-o5KlDT8pfBF4rYEcmCquX8wQNZgyuuktU3Z7MtaSoJ4= sha384-/Z2XvcJ/rYLCxS2tjdjgTSQ94RkSf3gDXdD6kJ1ehf7/Sev40KPld3sAk9DB09vE sha512-MFYOeQSHDJz7lRcI52Vxs4E+FlkakREhQ2BQpFnRrkexSFtmoZZUBq46vuEeFnSALV/XWBoTncl+TXbU/MAeHw==", | ||
"integrity": "sha256-5D3+WTd13owaetUKwiw5XiH0ty+k9mg4e7zmTeaT/HM= sha384-oLOm6nGoL/usZbjQMzpTGONy/oRScfCTZndPCUrU+Fc7ivs/ldCkGCKBbJgN0bVf sha512-99RiQD5jLwA3TXl+54hW48YuF4ljdoFzqBVYsjGr18g9Nvln5o7ggq19D+eeXCs8NwFqnYr4TCDhNx9U2kR6Pw==", | ||
"hashes": { | ||
"sha256": "o5KlDT8pfBF4rYEcmCquX8wQNZgyuuktU3Z7MtaSoJ4=", | ||
"sha384": "/Z2XvcJ/rYLCxS2tjdjgTSQ94RkSf3gDXdD6kJ1ehf7/Sev40KPld3sAk9DB09vE", | ||
"sha512": "MFYOeQSHDJz7lRcI52Vxs4E+FlkakREhQ2BQpFnRrkexSFtmoZZUBq46vuEeFnSALV/XWBoTncl+TXbU/MAeHw==" | ||
"sha256": "5D3+WTd13owaetUKwiw5XiH0ty+k9mg4e7zmTeaT/HM=", | ||
"sha384": "oLOm6nGoL/usZbjQMzpTGONy/oRScfCTZndPCUrU+Fc7ivs/ldCkGCKBbJgN0bVf", | ||
"sha512": "99RiQD5jLwA3TXl+54hW48YuF4ljdoFzqBVYsjGr18g9Nvln5o7ggq19D+eeXCs8NwFqnYr4TCDhNx9U2kR6Pw==" | ||
} | ||
@@ -26,0 +26,0 @@ } |
/*! | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* 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,o={},e="__ms$mod__",i={},a=i[""]={},u="undefined",c="Microsoft",s=t=(t=t[c]=t[c]||{})[c="ApplicationInsights"]=t[c]||{},l=t,c=s[e]=s[e]||{},f=c.v=c.v||[],t=l[e]=l[e]||{},d=t.v=t.v||[];for(r in(t.o=t.o||[]).push(i),n(o),o)s[r]=o[r],f[r]=u,l[r]=o[r],d[r]=u,(a.n=a.n||[]).push(r)}}(this,function(a){"use strict";!function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(o){}typeof t.value!==undefined&&(e[n]=t.value)}(a,"__esModule",{value:!0});var u="function",X="object",c="undefined",K="prototype",l="hasOwnProperty",t=Object,f=t[K],e=t.assign,T=t.create,n=t.defineProperty,b=f[l],C=null;function fe(e){e=!1===(e=void 0===e||e)?null:C;return e||((e=(e=(e=typeof globalThis!==c?globalThis:e)||typeof self===c?e:self)||typeof window===c?e:window)||typeof global===c||(e=global),C=e),e}function I(e){throw new TypeError(e)}(fe()||{}).Symbol,(fe()||{}).Reflect;var de=e||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])f[l].call(n,o)&&(e[o]=n[o]);return e},w=function(e,n){return(w=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[l](t)&&(e[t]=n[t])})(e,n)};function _(e,n){function t(){this.constructor=e}typeof n!==u&&null!==n&&I("Class extends value "+n+" is not a constructor or null"),w(e,n),e[K]=null===n?function(e){if(T)return T(e);if(null==e)return{};var n=typeof e;function t(){}return n!==X&&n!==u&&I("Object prototype may only be an Object:"+e),t[K]=e,new t}(n):(t[K]=n[K],new t)}var e="undefined",M="constructor",v="prototype",D="function",A="_dynInstFuncs",k="_isDynProxy",q="_dynClass",S="_dynInstChk",E=S,H="_dfOpts",N="_unknown_",P="__proto__",R="_dyn"+P,r="__dynProto$Gbl",j="_dynInstProto",L="useBaseInst",F="setInstFuncs",U=Object,O=U.getPrototypeOf,z=U.getOwnPropertyNames,e=(i=(i=(i=(i=typeof globalThis!=e?globalThis:i)||typeof self==e?i:self)||typeof window==e?i:window)||typeof global==e?i:global)||{},V=e[r]||(e[r]={o:((i={})[F]=!0,i[L]=!0,i),n:1e3});function g(e,n){return e&&U[v].hasOwnProperty.call(e,n)}function pe(e){return e&&(e===U[v]||e===Array[v])}function ve(e){return pe(e)||e===Function[v]}function ge(e){if(e){if(O)return O(e);var n=e[P]||e[v]||(e[M]?e[M][v]:null),t=e[R]||n;g(e,R)||(delete e[j],t=e[R]=e[j]||e[R],e[j]=n)}return t}function he(e,n){var t=[];if(z)t=z(e);else for(var r in e)"string"==typeof r&&g(e,r)&&t.push(r);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function ye(e,n,t){return n!==M&&typeof e[n]===D&&(t||g(e,n))&&n!==P&&n!==v}function me(e){throw new TypeError("DynamicProto: "+e)}function xe(){return Object.create&&(e=Object.create)?e(null):{};var e}function Te(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function be(e,n){return g(e,v)?e.name||n||N:((e||{})[M]||{}).name||n||N}function Ce(e,r,n,t){g(e,v)||me("theClass is an invalid class definition.");var o,i,a,u,c,s,l=e[v],f=(function(e){if(!O)return 1;for(var n=[],t=ge(r);t&&!ve(t)&&!Te(n,t);){if(t===e)return 1;n.push(t),t=ge(t)}}(l)||me("["+be(e)+"] not in hierarchy of ["+be(r)+"]"),null),e=(g(l,q)?f=l[q]:(f="_dynCls$"+be(e,"_")+"$"+V.n,V.n++,l[q]=f),Ce[H]),d=!!e[L],p=(d&&t&&t[L]!==undefined&&(d=!!t[L]),o=r,i=xe(),he(o,function(e){!i[e]&&ye(o,e,!1)&&(i[e]=o[e])}),i),d=(n(r,function(e,n,t,i){function r(e,n,t){var r,o=n[t];return o[k]&&i&&!1!==(r=e[A]||{})[E]&&(o=(r[n[q]]||{})[t]||o),function(){return o.apply(e,arguments)}}for(var o=xe(),a=(he(t,function(e){o[e]=r(n,t,e)}),ge(e)),u=[];a&&!ve(a)&&!Te(u,a);)he(a,function(e){!o[e]&&ye(a,e,!O)&&(o[e]=r(n,a,e))}),u.push(a),a=ge(a);return o}(l,r,p,d)),!!O&&!!e[F]);a=l,n=f,u=r,c=p,e=!1!==(d=d&&t?!!t[F]:d),pe(a)||pe(l=u[A]=u[A]||xe())||(s=l[n]=l[n]||xe(),!1!==l[E]&&(l[E]=!!e),pe(s)||he(u,function(e){var t,r,o;ye(u,e,!1)&&u[e]!==c[e]&&(s[e]=u[e],delete u[e],g(a,e)&&(!a[e]||a[e][k])||(a[e]=(t=a,r=e,(o=function(){var e,n;return(function(e,n,t,r){var o=null;if(e&&g(t,q)){var i=e[A]||xe();if((o=(i[t[q]]||xe())[n])||me("Missing ["+n+"] "+D),!o[S]&&!1!==i[E]){for(var a=!g(e,n),u=ge(e),c=[];a&&u&&!ve(u)&&!Te(c,u);){var s=u[n];if(s){a=s===r;break}c.push(u),u=ge(u)}try{a&&(e[n]=o),o[S]=1}catch(l){i[E]=!1}}}return o}(this,r,t,o)||(typeof(n=(n=t[e=r])===o?ge(t)[e]:n)!==D&&me("["+e+"] is not a "+D),n)).apply(this,arguments)})[k]=1,o)))}))}Ce[H]=V.o;var Ie="name",we="identifier",G="push",_e="isInitialized",Me="config",De="logger",W="length",Ae="time",h="processNext",ke="getPlugin",qe="splice",Se="teardown",Ee="messageId",He="message",Ne="isAsync",Pe="_doTeardown",Re="update",je="getNext",Le="diagLog",Fe="setNextPlugin",Ue="createNew",Oe="userAgent",ze="split",Ve="substr",Xe="nodeType",Ke="apply",o="replace",Ge="enableDebugExceptions",We="toLowerCase",p="call",$e="type",Be="isChildEvt",Je="getCtx",s="setCtx",Ye="complete",Ze="traceId",Qe="traceFlags",en="version",d="",y="core",nn="disabled",tn="extensionConfig",rn="processTelemetry",on="priority",an="errorToConsole",un="warnToConsole",cn="getPerfMgr",sn="toISOString",ln="indexOf",fn="trim",r="toString",dn="constructor",pn=n,vn=t.freeze,gn=(t.seal,t.keys),e=String[K],hn=e[fn],yn=(e.endsWith,e.startsWith,Date[K][sn]),i=Array.isArray,mn=f[r],xn=b[r],Tn=xn[p](t),bn=/-([a-z])/g,Cn=/([^\w\d_$])/g,In=/^(\d+[\w\d_$])/,wn=Object.getPrototypeOf;function _n(e){if(e){if(wn)return wn(e);e=e.__proto__||e[K]||e[dn];if(e)return e}return null}function Mn(e){return e===undefined||typeof e===c}function $(e){return null===e||Mn(e)}function Dn(e){return!(!e||typeof e!==X)}function B(e){return!(!e||typeof e!==u)}function An(e){var n=e;return e&&qn(e)?(n=(n=e[o](bn,function(e,n){return n.toUpperCase()}))[o](Cn,"_"))[o](In,function(e,n){return"_"+n}):n}function J(e,n){if(e)for(var t in e)b[p](e,t)&&n[p](e,t,e[t])}function kn(e,n){return!(!e||!n||!~e.indexOf(n))}var Y=i||function(e){return!(!e||"[object Array]"!==mn[p](e))};function qn(e){return"string"==typeof e}function Sn(e){return e&&"object"==typeof e&&(!(e=(wn||_n)(e))||typeof(e=e[dn]&&b[p](e,dn)?e[dn]:e)===u&&xn[p](e)===Tn)}function Z(e,n,t){var r=e[W];try{for(var o=0;o<r&&!(o in e&&-1===n[p](t||e,e[o],o,e));o++);}catch(i){}}function En(e){return e&&(hn&&e[fn]?e[fn]():e[o]?e[o](/^\s+|(?=\s)\s+$/g,d):e)}var Hn=!{toString:null}.propertyIsEnumerable("toString"),Nn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function Pn(e){var n=typeof e;if(n===u||n===X&&null!==e||I("objKeys called on non-object"),!Hn&&gn)return gn(e);var t,r=[];for(t in e)e&&b[p](e,t)&&r[G](t);if(Hn)for(var o=Nn[W],i=0;i<o;i++)e&&b[p](e,Nn[i])&&r[G](Nn[i]);return r}function Rn(e){return vn&&J(e,function(e,n){(Y(n)||Dn(n))&&vn(n)}),jn(e)}var jn=vn||function(e){return e};function Ln(){var e=Date;return e.now?e.now():(new e).getTime()}function Fn(e,n){return $(e)?n:e}var Un="window",On="documentMode",zn="console",Vn="performance",Xn="JSON",Kn="crypto",Gn="msCrypto",Wn="msie",$n="trident/",Bn="XMLHttpRequest",Jn=null,Yn=null;function Q(e){var n=fe();return n&&n[e]?n[e]:e===Un&&typeof window===X&&window?window:null}function Zn(){return typeof document===X&&document?document:Q("document")}function Qn(){return typeof navigator===X&&navigator?navigator:Q("navigator")}function et(){return Q(Vn)}function nt(){return typeof JSON===X&&JSON||null!==Q(Xn)}function tt(){return nt()?JSON||Q(Xn):null}function ee(e){var n=Object[K].toString[p](e),t=d;return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[Ie]+"'":nt()&&(t=tt().stringify(e)),n+t}var rt=null;function ot(e){return e?'"'+e[o](/\"/g,d)+'"':d}function it(e,n){var t,r=typeof console!==c?console:Q(zn);r&&(t="log",B(r[t=r[e]?e:t])&&r[t](n))}ut.dataType="MessageData";var at=ut;function ut(e,n,t,r){void 0===t&&(t=!1),this[Ee]=e,this[He]=(t?"AI: ":"AI (Internal): ")+e;t=d,nt()&&(t=tt().stringify(r)),e=(n?" message:"+ot(n):d)+(r?" props:"+ot(t):d);this[He]+=e}st.__ieDyn=1;var ct=st;function st(o){this.identifier="DiagnosticLogger",this.queue=[];var c,s,l,f,d=0,p={};Ce(st,this,function(i){var e;function a(e,n){var t,r;l<=d||(r=!0,t="AITR_"+n[Ee],p[t]?r=!1:p[t]=!0,r&&(e<=s&&(i.queue[G](n),d++,u(1===e?"error":"warn",n)),d===l&&(r=new at(23,t="Internal events throttle limit per PageView reached for this app.",!1),i.queue[G](r),1===e?i[an](t):i[un](t))))}function u(e,n){var t,r=(t=(t=rt)||!0===(o||{}).disableDbgExt?t:rt||(r=Q("Microsoft"),rt=r?r.ApplicationInsights:rt))?t.ChromeDbgExt:null;r&&r[Le]&&r[Le](e,n)}c=Fn((e=o||{}).loggingLevelConsole,0),s=Fn(e.loggingLevelTelemetry,1),l=Fn(e.maxMessageLimit,25),f=Fn(e.enableDebug,Fn(e[Ge],!1)),i.consoleLoggingLevel=function(){return c},i.telemetryLoggingLevel=function(){return s},i.maxInternalMessageLimit=function(){return l},i[Ge]=function(){return f},i.throwInternal=function(e,n,t,r,o){n=new at(n,t,o=void 0!==o&&o,r);if(f)throw ee(n);t=1===e?an:un;Mn(n[He])?u("throw"+(1===e?"Critical":"Warning"),n):(o?(r=+n[Ee],!p[r]&&e<=c&&(i[t](n[He]),p[r]=!0)):e<=c&&i[t](n[He]),a(e,n))},i[un]=function(e){it("warn",e),u("warning",e)},i[an]=function(e){it("error",e),u("error",e)},i.resetInternalMessageCount=function(){d=0,p={}},i.logInternalMessage=a})}function m(e,n,t,r,o,i){void 0===i&&(i=!1),(e||new ct).throwInternal(n,t,r,o,i)}var lt="ParentContextKey",ft="ChildrenContextKey",dt=(pt.ParentContextKey="parent",pt.ChildrenContextKey="childEvts",pt);function pt(e,o,n){var r,i=this,a=!1;i.start=Ln(),i[Ie]=e,i[Ne]=n,i[Be]=function(){return!1},B(o)&&(a=function(e){if(pn)try{var n={enumerable:!0,configurable:!0,get:function(){return!r&&B(o)&&(r=o(),o=null),r}};return pn(e,"payload",n),!0}catch(t){}return!1}(i)),i[Je]=function(e){return e?(e===pt[lt]||e===pt[ft]?i:i.ctx||{})[e]:null},i[s]=function(e,n){e&&(e===pt[lt]?(i[e]||(i[Be]=function(){return!0}),i[e]=n):e===pt[ft]?i[e]=n:(i.ctx=i.ctx||{})[e]=n)},i[Ye]=function(){var e=0,n=i[Je](pt[ft]);if(Y(n))for(var t=0;t<n[W];t++){var r=n[t];r&&(e+=r[Ae])}i[Ae]=Ln()-i.start,i.exTime=i[Ae]-e,i[Ye]=function(){},!a&&B(o)&&(i.payload=o())}}var vt="CoreUtils.doPerf";function gt(e,n,t,r,o){if(e)if(e=e[cn]?e[cn]():e){var i,a=void 0,u=e[Je](vt);try{if(a=e.create(n(),r,o))return u&&a[s]&&(a[s](dt[lt],u),u[Je]&&u[s]&&((i=u[Je](dt[ft]))||(i=[],u[s](dt[ft],i)),i[G](a))),e[s](vt,a),t(a)}catch(c){a&&a[s]&&a[s]("exception",c)}finally{a&&e.fire(a),e[s](vt,u)}}t()}var ht=4294967296,yt=4294967295,mt=!1,xt=123456789,Tt=987654321;function bt(e){var n,t=0,r=Q(Kn)||Q(Gn);if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&yt:t)&&(!(r=Qn())||r[Oe]===Yn&&null!==Jn||(r=((Yn=r[Oe])||d)[We](),Jn=kn(r,Wn)||kn(r,$n)),Jn)){if(!mt)try{var o=2147483647&Ln();(n=(Math.random()*ht^o)+o)<0&&(n>>>=0),xt=123456789+n&yt,Tt=987654321-n&yt,mt=!0}catch(i){}r=((Tt=36969*(65535&Tt)+(Tt>>16)&yt)<<16)+(65535&(xt=18e3*(65535&xt)+(xt>>16)&yt))>>>0&yt|0,t=(r>>>=0)&yt}return 0===t&&(t=Math.floor(ht*Math.random()|0)),e||(t>>>=0),t}var Ct=n,It="2.8.19-nightly.2404-09",wt="."+function(e){void 0===e&&(e=22);for(var n=bt()>>>0,t=0,r=d;r[W]<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(bt()<<2&4294967295|3&n)>>>0,t=0);return r}(6),_t=0;function Mt(e){return 1===e[Xe]||9===e[Xe]||!+e[Xe]}function Dt(e,n){return An(e+_t+++((n=void 0!==n&&n)?"."+It:d)+wt)}function At(e){var i={id:Dt("_aiData-"+(e||d)+"."+It),accept:Mt,get:function(e,n,t,r){var o=e[i.id];return o?o[An(n)]:(r&&((o=function(e,n){var t=n[e.id];if(!t){t={};try{Mt(n)&&!function(e,n,t){if(Ct)try{return Ct(e,n,{value:t,enumerable:!1,configurable:!0}),1}catch(r){}}(n,e.id,t)&&(n[e.id]=t)}catch(r){}}return t}(i,e))[An(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}};return i}var kt="attachEvent",qt="addEventListener",St=(Dt("aiEvtPageHide"),Dt("aiEvtPageShow"),/\.[\.]+/g),Et=/[\.]+$/,Ht=1,Nt=At("events"),Pt=/^([^.]*)(?:\.(.+)|)/;function Rt(e){return e&&e[o]?e[o](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,d):e}function jt(e,n){n&&(t=d,Y(n)?(t=d,Z(n,function(e){(e=Rt(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=Rt(n),t&&("."!==t[0]&&(t="."+t),e=(e||d)+t));var t,n=Pt.exec(e||d)||[],e={};return e[$e]=n[1],e.ns=(n[2]||d).replace(St,".").replace(Et,d)[ze](".").sort().join("."),e}function Lt(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=d,r=0;r<4;r++)t+=n[15&(e=bt())]+n[e>>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 o=n[8+(3&bt())|0];return t[Ve](0,8)+t[Ve](9,4)+"4"+t[Ve](13,3)+o+t[Ve](16,3)+t[Ve](19,12)}var Ft="00",Ut="ff",Ot="00000000000000000000000000000000",zt="0000000000000000";function Vt(e,n,t){return e&&e[W]===n&&e!==t&&e.match(/^[\da-f]*$/i)}function Xt(e,n,t){return Vt(e,n)?e:t}function Kt(e,n,t,r){var o={};return o[en]=Vt(r,2,Ut)?r:Ft,o[Ze]=Gt(e)?e:Lt(),o.spanId=Wt(n)?n:Lt()[Ve](0,16),o.traceFlags=0<=t&&t<=255?t:1,o}function Gt(e){return Vt(e,32,Ot)}function Wt(e){return Vt(e,16,zt)}function $t(e){var n,t;return e?(Vt(n=function(e){for(var n=(e=isNaN(e)||e<0||255<e?1:e).toString(16);n[W]<2;)n="0"+n;return n}(e[Qe]),2)||(n="01"),t=e[en]||Ft,"".concat((t="00"!==t&&"ff"!==t?Ft:t).toLowerCase(),"-").concat(Xt(e.traceId,32,Ot).toLowerCase(),"-").concat(Xt(e.spanId,16,zt).toLowerCase(),"-").concat(n.toLowerCase())):""}var Bt=At("plugin");function Jt(e){return Bt.get(e,"state",{},!0)}var Yt="TelemetryPluginChain",Zt="_hasRun",Qt="_getTelCtx",er=0;function nr(e,a,t,n){var r=null,o=[],i=(null!==n&&(r=n?function(e,n,t){for(;e;){if(e[ke]()===t)return e;e=e[je]()}return rr([t],n[Me]||{},n)}(e,t,n):e),{_next:function(){var e,n=r;return r=n?n[je]():null,n||(e=o)&&0<e[W]&&(Z(e,function(e){try{e.func[p](e.self,e.args)}catch(n){m(t[De],2,73,"Unexpected Exception during onComplete - "+ee(n))}}),o=[]),n},ctx:{core:function(){return t},diagLog:function(){return(t||{})[De]||new ct(a)},getCfg:function(){return a},getExtCfg:u,getConfig:function(e,n,t){void 0===t&&(t=!1);var r,e=u(e,null);return e&&!$(e[n])?r=e[n]:a&&!$(a[n])&&(r=a[n]),$(r)?t:r},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(e){r=e},iterate:function(e){for(;n=i._next();){var n=n[ke]();n&&e(n)}},onComplete:function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e&&o[G]({func:e,self:Mn(n)?i.ctx:n,args:t})}}});function u(e,n,t){var r,o,i;return void 0===n&&(n={}),void 0===t&&(t=0),(r=a&&(o=a[tn])&&e?o[e]:r)?Dn(n)&&0!==t&&(i=function d(){var e=arguments,n=e[0]||{},t=e[W],r=!1,o=1;for(0<t&&"boolean"==typeof n&&(r=n,n=e[o]||{},o++),Dn(n)||(n={});o<t;o++){var i,a,u,c,s=e[o],l=Y(s),f=Dn(s);for(i in s)(l&&i in s||f&&b[p](s,i))&&(a=s[i],u=void 0,r&&a&&((u=Y(a))||Sn(a))&&(c=n[i],u?Y(c)||(c=[]):Sn(c)||(c={}),a=d(r,c,a)),a!==undefined&&(n[i]=a))}return n}(!0,n,r),a&&2===t&&J(n,function(e){var n;$(i[e])&&!$(n=a[e])&&(i[e]=n)}),r=i):r=n,r}return i}function tr(e,t,r,n){var o=nr(e,t,r,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n[rn](e,i),!n},i[Ue]=function(e,n){return tr((e=Y(e=void 0===e?null:e)?rr(e,t,r,n):e)||i[je](),t,r,n)},i}function rr(e,n,t,r){var o,i=null,a=!r;return Y(e)&&0<e[W]&&(o=null,Z(e,function(e){(a=!a&&r===e||a)&&e&&B(e[rn])&&(e=or(e,n,t),i=i||e,o&&o._setNext(e),o=e)})),r&&!i?rr([r],n,t):i}function or(c,r,o){var s=null,i=B(c[rn]),a=B(c[Fe]),l=c?c[we]+"-"+c[on]+"-"+er++:"Unknown-0-"+er++,u={getPlugin:function(){return c},getNext:function(){return s},processTelemetry:function(t,e){var n;f(e=e||(n=(n=c&&B(c[Qt])?c[Qt]():n)||tr(u,r,o)),function(e){if(!c||!i)return!1;var n=Jt(c);return!n[Se]&&!n[nn]&&(a&&c[Fe](s),c[rn](t,e),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||e[h](t)},unload:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Jt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Se]||(e[y]=null,e[Se]=!0,e[_e]=!1,c[Se]&&!0===c[Se](r,o)&&(t=!0))),t},"unload",function(){},o[Ne])||r[h](o)},update:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Jt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Se]||c[Re]&&!0===c[Re](r,o)&&(t=!0)),t},"update",function(){},!1)||r[h](o)},_id:l,_setNext:function(e){s=e}};function f(t,r,o,e,n){var i=!1,a=c?c[we]:Yt,u=(u=t[Zt])||(t[Zt]={});return t.setNext(s),c&>(t[y](),function(){return a+":"+o},function(){u[l]=!0;try{var e=s?s._id:d;e&&(u[e]=!1),i=r(t)}catch(n){e=!s||u[s._id];e&&(i=!0),s&&e||m(t[Le](),1,73,"Plugin ["+a+"] failed during "+o+" - "+ee(n)+", run flags: "+ee(u))}},e,n),i}return jn(u)}function ir(){var n=[];return{add:function(e){e&&n[G](e)},run:function(t,r){Z(n,function(e){try{e(t,r)}catch(n){m(t[Le](),2,73,"Unexpected error calling unload handler - "+ee(n))}}),n=[]}}}var ar="getPlugin",e=(ur.__ieDyn=1,ur);function ur(){var i,a,l,f,d,u=this;function n(e){var n,e=e=void 0===e?null:e;return e||(n=a||tr(null,{},u[y]),e=l&&l[ar]?n[Ue](null,l[ar]):n[Ue](null,l)),e}function c(e,n,t){e&&(r=o=[],e&&(r=e[tn])!==o&&$(r)&&(e[tn]=r=o)),!t&&n&&(t=n.getProcessTelContext()[je]());var r,o=l;l&&l[ar]&&(o=l[ar]()),u[y]=n,a=tr(t,e,n,o)}function p(){i=!1,u[y]=null,l=a=null,d=[],f=ir()}p(),Ce(ur,u,function(s){var e,n,t,r,o;s.initialize=function(e,n,t,r){c(e,n,r),i=!0},s[Se]=function(e,n){var t,r,o,i,a=s[y];if(a&&(!e||a===e[y]()))return r=!1,o=e||function c(e,t,n){var r=t[Me]||{},o=nr(e,r,t,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n.unload(i,e),!n},i[Ue]=function(e,n){return c((e=Y(e=void 0===e?null:e)?rr(e,r,t,n):e)||i[je](),t,n)},i}(null,a,l&&l[ar]?l[ar]():l),i=n||((e={reason:0})[Ne]=!1,e),s[Pe]&&!0===s[Pe](o,i,u)?t=!0:u(),t;function u(){var e;r||(r=!0,f.run(o,n),e=d,d=[],Z(e,function(e){e.rm()}),!0===t&&o[h](i),p())}},s[Re]=function(e,n){var t,r,o,i=s[y];if(i&&(!e||i===e[y]()))return r=!1,o=e||function u(e,t,n){var r=t[Me]||{},o=nr(e,r,t,n).ctx;return o[h]=function(n){return o.iterate(function(e){B(e[Re])&&e[Re](o,n)})},o[Ue]=function(e,n){return u((e=Y(e=void 0===e?null:e)?rr(e,r,t,n):e)||o[je](),t,n)},o}(null,i,l&&l[ar]?l[ar]():l),s._doUpdate&&!0===s._doUpdate(o,n||{reason:0},a)?t=!0:a(),t;function a(){r||(r=!0,c(o.getCfg(),o.core(),o[je]()))}},s._addHook=function(e){e&&(Y(e)?d=d.concat(e):d[G](e))},t="_addUnloadCb",n=function(){return f},(e=s)&&n&&(e[t]=(o=r=null,B(t=n)?r=t:o=t,function(){var e=arguments;if(o=r?r():o)return o.add[Ke](o,e)}))}),u[Le]=function(e){return n(e)[Le]()},u[_e]=function(){return i},u.setInitialized=function(e){i=e},u[Fe]=function(e){l=e},u[h]=function(e,n){n?n[h](e):l&&B(l[rn])&&l[rn](e,null)},u._getTelCtx=n}var cr="_aiHooks",sr=["req","rsp","hkErr","fnErr"];function lr(e,n){if(e)for(var t=0;t<e[W]&&!n(e[t],t);t++);}function fr(e,a,u,c,s){0<=s&&s<=2&&lr(e,function(e,n){var e=e.cbks,t=e[sr[s]];if(t){a.ctx=function(){return c[n]=c[n]||{}};try{t[Ke](a.inst,u)}catch(o){t=a.err;try{var r=e.hkErr;r&&(a.err=o,r[Ke](a.inst,u))}catch(i){}finally{a.err=t}}}})}function dr(c){return function(){var t=arguments,e=c.h,r=((n={})[Ie]=c.n,n.inst=this,n.ctx=null,n.set=function(e,n){(t=i([],t))[e]=n,o=i([r],t)},n),n=[],o=i([r],t);function i(n,e){return lr(e,function(e){n[G](e)}),n}r.evt=Q("event"),fr(e,r,o,n,0);var a=c.f;if(a)try{r.rslt=a[Ke](this,t)}catch(u){throw r.err=u,fr(e,r,o,n,3),u}return fr(e,r,o,n,1),r.rslt}}function pr(e,n,t,r,o){if(void 0===r&&(r=!0),e&&n&&t){e=function a(e,n,t,r){var o=null;return e&&(b[p](e,n)?o=e:t&&(o=a(_n(e),n,r,!1))),o}(e,n,r,o);if(e){r=e[n];if(typeof r===u)return o=e,e=n,n=t,(i=r&&r[cr])||((t=dr(i={i:0,n:e,f:r,h:[]}))[cr]=i,o[e]=t),r={id:i.i,cbks:n,rm:function(){var t=this.id;lr(i.h,function(e,n){return e.id===t&&(i.h[qe](n,1),1)})}},i.i++,i.h[G](r),r}}var i;return null}var vr="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r="/v2/track",gr="not_specified",hr="iKey",x="length",yr="toLowerCase",mr="toString",xr="name",Tr="pathname",br="correlationHeaderExcludePatterns",Cr="indexOf",Ir="substring",wr="";function _r(e){var n=wr+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,t=wr+Math.floor(e/6e4)%60,r=wr+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=wr+e%1e3)[x]?"00"+e:2===e[x]?"0"+e:e,n=n[x]<2?"0"+n:n,t=t[x]<2?"0"+t:t,r=r[x]<2?"0"+r:r;return(0<o?o+".":wr)+r+":"+t+":"+n+"."+e}Mr={},J({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]},function(e,n){Mr[e]=n[1],Mr[n[0]]=n[1]});var Mr,ne=Rn(Mr);function Dr(e,n,t){var r=n[x],o=Ar(e,n);if(o[x]!==r){for(var i=0,a=o;t[a]!==undefined;)i++,a=o[Ir](0,147)+Nr(i);o=a}return o}function Ar(e,n){var t;return n&&150<(n=En(n[mr]()))[x]&&(t=n[Ir](0,150),m(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),t||n}function kr(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=En(n)).toString()[x]>t&&(r=n[mr]()[Ir](0,t),m(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function qr(e,n){return Hr(e,n,2048,66)}function Sr(r,e){var o;return e&&(o={},J(e,function(e,n){if(Dn(n)&&nt())try{n=tt().stringify(n)}catch(t){m(r,2,49,"custom property is not valid",{exception:t},!0)}n=kr(r,n,8192),e=Dr(r,e,o),o[e]=n}),e=o),e}function Er(t,e){var r;return e&&(r={},J(e,function(e,n){e=Dr(t,e,r),r[e]=n}),e=r),e}function Hr(e,n,t,r){var o;return n&&(n=En(n))[x]>t&&(o=n[Ir](0,t),m(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),o||n}function Nr(e){e="00"+e;return e.substr(e[x]-3)}(i={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=Dr,i.sanitizeKey=Ar,i.sanitizeString=kr,i.sanitizeUrl=qr,i.sanitizeMessage=function(e,n){var t;return n&&32768<n[x]&&(t=n[Ir](0,32768),m(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n},i.sanitizeException=function(e,n){var t,r;return n&&32768<(r=""+n)[x]&&(t=r[Ir](0,32768),m(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),t||n},i.sanitizeProperties=Sr,i.sanitizeMeasurements=Er,i.sanitizeId=function(e,n){return n&&Hr(e,n,128,69)[mr]()},i.sanitizeInput=Hr,i.padNumber=Nr,i.trim=En;var Pr=Zn()||{},Rr=0,jr=[null,null,null,null,null];function Lr(t){var e=Rr,n=jr,r=n[e];return Pr.createElement?n[e]||(r=n[e]=Pr.createElement("a")):r={host:function(){var e=Fr(t,!0)||"";if(e){var n=e.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=n&&3<n[x]&&qn(n[2])&&0<n[2][x])return n[2]+(n[3]||"")}return e}()},r.href=t,++e>=n[x]&&(e=0),Rr=e,r}function Fr(e,n){var t=null;return e&&null!=(e=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<e[x]&&qn(e[2])&&0<e[2][x]&&(t=e[2]||"",n&&2<e[x]&&(n=(e[1]||"")[yr](),e=e[3]||"",t+=e="http"===n&&":80"===e||"https"===n&&":443"===e?"":e)),t}var Ur=["https://dc.services.visualstudio.com"+r,"https://breeze.aimon.applicationinsights.io"+r,"https://dc-int.services.visualstudio.com"+r],Or={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,n,t){if(!n||e&&e.disableCorrelationHeaders)return!1;if(e&&e[br])for(var r=0;r<e.correlationHeaderExcludePatterns[x];r++)if(e[br][r].test(n))return!1;var o=Lr(n).host[yr]();if(!o||-1===o[Cr](":443")&&-1===o[Cr](":80")||(o=(Fr(n,!0)||"")[yr]()),(!e||!e.enableCorsCorrelation)&&o&&o!==t)return!1;var i,t=e&&e.correlationHeaderDomains;if(t&&(Z(t,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a[x])return!0;for(r=0;r<a[x];r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o[x]},getCorrelationContext:function(e){if(e){e=Or.getCorrelationContextValue(e,ne[1]);if(e&&e!==Or.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,n){if(e)for(var t=e.split(","),r=0;r<t[x];++r){var o=t[r].split("=");if(2===o[x]&&o[0]===n)return o[1]}}};function zr(){var e=et();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return Ln()}function Vr(e,n){return 0===e||0===n||$(e)||$(n)?null:n-e}Kr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Kr.dataType="RemoteDependencyData";var Xr=Kr;function Kr(e,n,t,r,o,i,a,u,c,s,l,f){void 0===c&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var d,p,v=this,t=(v.ver=2,v.id=n,v.duration=_r(o),v.success=i,v.resultCode=a+"",v.type=kr(e,c),n=e,o=u,c=a=i=r,a=(u=t)&&0<u[x]?(p=(t=Lr(u)).host,a||(null!=t[Tr]?("/"!=((d=0===t.pathname[x]?"/":t[Tr])[0]||"")&&(d="/"+d),c=t[Tr],kr(n,o?o+" "+d:d)):kr(n,u))):p=i,{target:p,name:a,data:c});v.data=qr(e,r)||t.data,v.target=kr(e,t.target),s&&(v.target="".concat(v.target," | ").concat(s)),v[xr]=kr(e,t[xr]),v.properties=Sr(e,l),v.measurements=Er(e,f)}function Gr(e){var n="ai."+e+".";return function(e){return n+e}}var Wr,$r,n=Gr("application"),i=Gr("device"),r=Gr("location"),Br=Gr("operation"),Jr=Gr("session"),Yr=Gr("user"),Zr=Gr("cloud"),Qr=Gr("internal");function eo(){return Wr.call(this)||this}$r={applicationVersion:n("ver"),applicationBuild:n("build"),applicationTypeId:n("typeId"),applicationId:n("applicationId"),applicationLayer:n("layer"),deviceId:i("id"),deviceIp:i("ip"),deviceLanguage:i("language"),deviceLocale:i("locale"),deviceModel:i("model"),deviceFriendlyName:i("friendlyName"),deviceNetwork:i("network"),deviceNetworkName:i("networkName"),deviceOEMName:i("oemName"),deviceOS:i("os"),deviceOSVersion:i("osVersion"),deviceRoleInstance:i("roleInstance"),deviceRoleName:i("roleName"),deviceScreenResolution:i("screenResolution"),deviceType:i("type"),deviceMachineName:i("machineName"),deviceVMName:i("vmName"),deviceBrowser:i("browser"),deviceBrowserVersion:i("browserVersion"),locationIp:r("ip"),locationCountry:r("country"),locationProvince:r("province"),locationCity:r("city"),operationId:Br("id"),operationName:Br("name"),operationParentId:Br("parentId"),operationRootId:Br("rootId"),operationSyntheticSource:Br("syntheticSource"),operationCorrelationVector:Br("correlationVector"),sessionId:Jr("id"),sessionIsFirst:Jr("isFirst"),sessionIsNew:Jr("isNew"),userAccountAcquisitionDate:Yr("accountAcquisitionDate"),userAccountId:Yr("accountId"),userAgent:Yr("userAgent"),userId:Yr("id"),userStoreRegion:Yr("storeRegion"),userAuthUserId:Yr("authUserId"),userAnonymousUserAcquisitionDate:Yr("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Yr("authUserAcquisitionDate"),cloudName:Zr("name"),cloudRole:Zr("role"),cloudRoleVer:Zr("roleVer"),cloudRoleInstance:Zr("roleInstance"),cloudEnvironment:Zr("environment"),cloudLocation:Zr("location"),cloudDeploymentUnit:Zr("deploymentUnit"),internalNodeName:Qr("nodeName"),internalSdkVersion:Qr("sdkVersion"),internalAgentVersion:Qr("agentVersion"),internalSnippet:Qr("snippet"),internalSdkSrc:Qr("sdkSrc")},_(eo,Wr=function(){var t=this;J($r,function(e,n){t[e]=n})}),new eo;var no="duration",to="properties",te="requestUrl",ro="inst",re="length",oe="traceID",oo="spanID",ie="traceFlags",io="context",ao="aborted",uo="traceId",co="spanId",ae="core",so="includeCorrelationHeaders",lo="canIncludeCorrelationHeader",fo="getAbsoluteUrl",po="headers",ue="requestHeaders",vo="appId",go="setRequestHeader",ho="trackDependencyDataInternal",yo="distributedTracingMode",mo="startTime",xo="toLowerCase",ce="status",To="statusText",bo="headerMap",Co="openDone",Io="sendDone",wo="requestSentTime",_o="abortDone",Mo="getTraceId",Do="getTraceFlags",Ao="method",ko="errorStatusText",qo="stateChangeAttached",So="responseFinishedTime",Eo="CreateTrackItem",Ho="response",No="getAllResponseHeaders",Po="getPartAProps",Ro="getCorrelationContext",jo="perfMark",Lo="name",Fo="perfTiming",Uo="ajaxTotalDuration",Oo="eventTraceCtx";function zo(e,n,t){n=e[n],t=e[t];return n&&t?Vr(n,t):0}function Vo(e,n,t,r,o){t=zo(t,r,o);return t?Xo(e,n,_r(t)):0}function Xo(e,n,t){var r="ajaxPerf",o=0;return e&&n&&t&&((e[r]=e[r]||{})[n]=t,o=1),o}var Ko=function(){var e=this;e[Co]=!1,e.setRequestHeaderDone=!1,e[Io]=!1,e[_o]=!1,e[qo]=!1},Go=(Wo.__ieDyn=1,Wo);function Wo(e,n,t,r){var o=this,i=t;o[jo]=null,o.completed=!1,o.requestHeadersSize=null,o[ue]=null,o.responseReceivingDuration=null,o.callbackDuration=null,o[Uo]=null,o[ao]=0,o.pageUrl=null,o[te]=null,o.requestSize=0,o[Ao]=null,o[ce]=null,o[wo]=null,o.responseStartedTime=null,o[So]=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new Ko,o.clientFailure=0,o[oe]=e,o[oo]=n,o[ie]=null==r?void 0:r.getTraceFlags(),o[Oo]=r?((t={})[uo]=r[Mo](),t[co]=r.getSpanId(),t[ie]=r[Do](),t):null,Ce(Wo,o,function(m){m.getAbsoluteUrl=function(){return m[te]?(e=Lr(m[te]))?e.href:void 0:null;var e},m.getPathName=function(){return m[te]?qr(i,(e=m[Ao],n=m[te],e?e.toUpperCase()+" "+n:n)):null;var e,n},m[Eo]=function(e,n,t){if(m.ajaxTotalDuration=Math.round(1e3*Vr(m.requestSentTime,m.responseFinishedTime))/1e3,m[Uo]<0)return null;(y={id:"|"+m[oe]+"."+m[oo],target:m[fo]()})[Lo]=m.getPathName(),y.type=e,y[mo]=null,y.duration=m[Uo],y.success=200<=+m[ce]&&+m[ce]<400,y.responseCode=+m[ce],y[to]={HttpMethod:m[Ao]};var r,o,i,a,u,c,s,l,f,d,p,v,g,h,e=y,y=e[to];return m[ao]&&(y[ao]=!0),m[wo]&&(e[mo]=new Date,e[mo].setTime(m[wo])),a=(r=m)[Fo],u=(o=e)[to]||{},c=0,v="startTime",h="connectEnd",s="requestStart",g="responseEnd",l="transferSize",f="encodedBodySize",d="decodedBodySize",p="serverTiming",a?(c=(c=(c=(c=(c=(c=(c|=Vo(u,"End",a,"redirectStart","End"))|Vo(u,"domainLookup",a,"domainLookupStart","domainLookupEnd"))|Vo(u,"connect",a,"connectStart",h))|Vo(u,"request",a,s,"requestEnd"))|Vo(u,"response",a,"responseStart",g))|Vo(u,"networkConnect",a,v,h))|Vo(u,"sentRequest",a,s,g),h=a[no]||zo(a,v,g)||0,c=(c|=Xo(u,no,h))|Xo(u,"perfTotal",h),(s=a[p])&&(i={},Z(s,function(e,n){var n=An(e.name||""+n),t=i[n]||{};J(e,function(e,n){!("name"!==e&&qn(n)||"number"==typeof n)||!(n=t[e]?t[e]+";"+n:n)&&qn(n)||(t[e]=n)}),i[n]=t}),c|=Xo(u,p,i)),c=(c=(c|=Xo(u,l,a[l]))|Xo(u,f,a[f]))|Xo(u,d,a[d])):r[jo]&&(c|=Xo(u,"missing",r.perfAttempts)),c&&(o[to]=u),n&&0<Pn(m.requestHeaders)[re]&&(y[ue]=m[ue]),t&&(v=t())&&((g=v.correlationContext)&&(e.correlationContext=g),v[bo]&&0<Pn(v.headerMap)[re]&&(y.responseHeaders=v[bo]),m[ko]&&(400<=m[ce]?(""!==(h=v.type)&&"text"!==h||(y.responseText=v.responseText?v[To]+" - "+v.responseText:v[To]),"json"===h&&(y.responseText=v.response?v[To]+" - "+JSON.stringify(v[Ho]):v[To])):0===m[ce]&&(y.responseText=v[To]||""))),e},m[Po]=function(){var e,n=null,t=m[Oo];return t&&(t[uo]||t[co])&&(e=(n={}).trace=((e={})[oe]=t[uo],e.parentID=t[co],e),$(t[ie])||(e[ie]=t[ie])),n}})}var $o="ai.ajxmn.",Bo="diagLog",Jo="_ajaxData",Yo="fetch",Zo="Failed to monitor XMLHttpRequest",n=", monitoring data for this ajax call ",Qo=n+"may be incorrect.",ei=n+"won't be sent.",ni="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",ti="Failed to add custom defined request context as configured call back may missing a null check.",ri="Failed to calculate the duration of the ",oi=0,ii=null;function ai(e,n){var t,r=!1,o=(function(){var e=!1;try{e=!!Q(Bn)}catch(n){}return e}()&&(r=!($(o=XMLHttpRequest[K])||$(o.open)||$(o.send)||$(o.abort))),function(e){var n=((e=(e=void 0===e?null:e)?e:(n=Qn()||{})?(n[Oe]||d)[We]():d)||d)[We]();if(kn(n,Wn))return e=Zn()||{},Math.max(parseInt(n[ze](Wn)[1]),e[On]||0);if(kn(n,$n)){e=parseInt(n[ze]($n)[1]);if(e)return e+4}return null}());if(r=!(o&&o<9)&&r)try{var i=new XMLHttpRequest,a={xh:[],i:((t={})[n]={},t)},u=(i[Jo]=a,XMLHttpRequest[K].open);XMLHttpRequest[K].open=u}catch(c){r=!1,li(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:ee(c)})}return r}var ui=function(e,n){return e&&n&&e[Jo]?(e[Jo].i||{})[n]:null},ci=function(e,n){var t=!1;return e&&(e=(e[Jo]||{}).xh)&&Z(e,function(e){if(e.n===n)return t=!0,-1}),t};function si(e,n){var t="";try{var r=ui(e,n);r&&r[te]&&(t+="(url: '"+r[te]+"')")}catch(o){}return t}function li(e,n,t,r,o){m(e[Bo](),1,n,t,r,o)}function se(e,n,t,r,o){m(e[Bo](),2,n,t,r,o)}function fi(n,t,r){return function(e){li(n,t,r,{ajaxDiagnosticsMessage:si(e[ro],n._ajaxDataId),exception:ee(e.err)})}}function di(e,n){return e&&n?e.indexOf(n):-1}function pi(t,e,n){var r={id:e,fn:n};return t.push(r),{remove:function(){Z(t,function(e,n){if(e.id===r.id)return t.splice(n,1),-1})}}}function vi(r,e,o,i){var a=!0;return Z(e,function(e,n){try{!1===e.fn.call(null,o)&&(a=!1)}catch(t){m(r&&r.logger,1,64,"Dependency "+i+" [#"+n+"] failed: "+((e=t)&&"[object Error]"===mn[p](e)?e[Ie]:d),{exception:ee(t)},!0)}}),a}var gi,i="*.blob.core.",hi=Rn([i+"windows.net",i+"chinacloudapi.cn",i+"cloudapi.de",i+"usgovcloudapi.net"]),yi=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function mi(){return{maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:undefined,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:hi,correlationHeaderDomains:undefined,correlationHeaderExcludePatterns:undefined,appId:undefined,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"],addRequestContext:undefined,addIntEndpoints:!0}}function xi(){var n=mi();return J(n,function(e){n[e]=undefined}),n}function le(){var C,I,w,_,M,D,r,A,k,q,S,E,H,N,P,R,j,L,F,U,O,n,z,V,e=gi.call(this)||this;return e.identifier=le.identifier,e.priority=120,Ce(le,e,function(p,a){var u=a._addHook;function e(){var e=typeof location===X&&location?location:Q("location");I=C=!1,w=e&&e.host&&e.host[xo](),_=le.getEmptyConfig(),N=E=q=k=D=M=!1,j=R=!(P={}),U=F=L=S=A=null,n=H=r=0,z=[],V=[],O=Dt("ajaxData"),p._ajaxDataId=O}function f(n){var t=!0;return(n||_.ignoreHeaders)&&Z(_.ignoreHeaders,function(e){if(e[xo]()===n[xo]())return t=!1,-1}),t}function c(e,n,t){u(e?pr(e[K],n,t,!1):null)}function d(e,n,t){var r=!1,o=((qn(n)?n:(n||{}).url||"")||"")[xo]();if(Z(L,function(e){var n=e;qn(e)&&(n=RegExp(e)),r=r||n.test(o)}),r)return r;var i=di(o,"?"),a=di(o,"#");return-1!==(i=-1===i||-1!==a&&a<i?a:i)&&(o=o.substring(0,i)),$(e)?$(n)||(r="object"==typeof n&&!0===n[vr]||!!t&&!0===t[vr]):r=!0===e[vr]||!0===o[vr],(r=!(r||!o||-1===function(e,n){if(e){if(e[ln])return e[ln](n,void 0);var t=e[W];try{for(var r=0;r<t;r++)if(r in e&&e[r]===n)return r}catch(o){}}return-1}(Ur,o[yr]()))||r)?P[o]||(P[o]=1):P[o]&&(r=!0),r}function s(e,n,t){var r=!0;return $(e)||(r=!0===t||!$(n)),I&&r}function v(){var e,n,t=null;return!(t=p[ae]&&p[ae].getTraceCtx?p[ae].getTraceCtx(!1):t)&&A&&A.telemetryTrace&&(e=A.telemetryTrace,n=e||{},t={getName:function(){return n[xr]},setName:function(e){n[xr]=e},getTraceId:function(){return n.traceID},setTraceId:function(e){Gt(e)&&(n.traceID=e)},getSpanId:function(){return n.parentID},setSpanId:function(e){Wt(e)&&(n.parentID=e)},getTraceFlags:function(){return n.traceFlags},setTraceFlags:function(e){n.traceFlags=e}}),t}function g(t,r){r.xhrMonitoringState[qo]=function(e,n,t,r){void 0===r&&(r=!1);var o,i,a,u,c,s=!1;if(e)try{var l,f=jt("readystatechange",t),d=f,p=n,v=r,g=!1;(c=e)&&d&&d[$e]&&p&&(c[qt]?(c[qt](d[$e],p,v),g=!0):c[kt]&&(c[kt]("on"+d[$e],p),g=!0)),(s=g)&&Nt.accept(e)&&((o={guid:Ht++,evtName:f}).handler=n,o.capture=r,l=o,i=f.type,((u=Nt.get(e,"events",{},a=void 0===a||a))[i]||(u[i]=[]))[G](l))}catch(h){}return s}(t,function(){try{t&&4===t.readyState&&s(t,r)&&((u=ui(a=t,O))[So]=zr(),u[ce]=a[ce],y("xmlhttprequest",u,function(){try{var e,n=u[Eo]("Ajax",M,function(){var e,t,n={statusText:a[To],headerMap:null,correlationContext:l(a),type:a.responseType,responseText:function(e){try{var n=e.responseType;if(""===n||"text"===n)return e.responseText}catch(t){}return null}(a),response:a[Ho]};return N&&(e=a[No]())&&(e=En(e).split(/[\r\n]+/),t={},Z(e,function(e){var e=e.split(": "),n=e.shift(),e=e.join(": ");f(n)&&(t[n]=e)}),n[bo]=t),n}),t=void 0;try{F&&(t=F({status:a[ce],xhr:a}))}catch(o){se(p,104,ti)}n?(t!==undefined&&(n[to]=de(de({},n.properties),t)),e=u[Po](),b(V,p[ae],u,n,null,e)):i(null,{requestSentTime:u[wo],responseFinishedTime:u[So]})}finally{try{var r=(a[Jo]||{i:{}}).i||{};r[O]&&(r[O]=null)}catch(o){}}},function(e){i(e,null)}))}catch(n){var e=ee(n);e&&-1!==di(e[xo](),"c00c023f")||li(p,16,Zo+" 'readystatechange' event handler"+Qo,{ajaxDiagnosticsMessage:si(t,O),exception:e})}function i(e,n){n=n||{};n.ajaxDiagnosticsMessage=si(a,O),e&&(n.exception=ee(e)),se(p,14,ri+"ajax call"+ei,n)}var a,u},U)}function l(e){try{var n,t=e[No]();if(null!==t&&-1!==di(t[xo](),ne[8]))return n=e.getResponseHeader(ne[0]),Or[Ro](n)}catch(r){se(p,18,ni,{ajaxDiagnosticsMessage:si(e,O),exception:ee(r)})}}function h(e,n){var t;n[te]&&S&&E&&(t=et())&&B(t.mark)&&(e=S+e+"#"+ ++oi,t.mark(e),(e=t.getEntriesByName(e))&&1===e[re]&&(n[jo]=e[0]))}function y(i,a,u,c){var s=a[jo],l=et(),f=_.maxAjaxPerfLookupAttempts,d=_.ajaxPerfLookupDelay,p=a[te],v=0;!function g(){try{if(l&&s){v++;for(var e=null,n=l.getEntries(),t=n[re]-1;0<=t;t--){var r=n[t];if(r){if("resource"===r.entryType)r.initiatorType!==i||-1===di(r[Lo],p)&&-1===di(p,r[Lo])||(e=r);else if("mark"===r.entryType&&r[Lo]===s[Lo]){a[Fo]=e;break}if(r[mo]<s[mo]-1e3)break}}}!s||a[Fo]||f<=v||!1===a["async"]?(s&&B(l.clearMarks)&&l.clearMarks(s[Lo]),a.perfAttempts=v,u()):setTimeout(g,d)}catch(o){c(o)}}()}function m(e){var n="";try{$(e)||(qn(e)?n+="(url: '".concat(e,"')"):n+="(url: '".concat(e.url,"')"))}catch(t){li(p,15,"Failed to grab failed fetch diagnostics message",{exception:ee(t)})}return n}function x(e,r,o,i,a,u){function c(e,n,t){t=t||{};t.fetchDiagnosticsMessage=m(o),n&&(t.exception=ee(n)),se(p,e,ri+"fetch call"+ei,t)}a&&(a[So]=zr(),a[ce]=r,y(Yo,a,function(){var e,n=a[Eo]("Fetch",M,u);try{F&&(e=F({status:r,request:o,response:i}))}catch(t){se(p,104,ti)}n?(e!==undefined&&(n[to]=de(de({},n.properties),e)),e=a[Po](),b(V,p[ae],a,n,null,e)):c(14,null,{requestSentTime:a[wo],responseFinishedTime:a[So]})},function(e){c(18,e,null)}))}function T(e){if(e&&e[po])try{var n=e[po].get(ne[0]);return Or[Ro](n)}catch(t){se(p,18,ni,{fetchDiagnosticsMessage:m(e),exception:ee(t)})}}function b(e,n,t,r,o,i){var a=!0;(a=0<e[re]?vi(n,e,{item:r,properties:o,sysProperties:i,context:t?t[io]:null,aborted:!!t&&!!t[ao]},"initializer"):a)&&p[ho](r,o,i)}e(),p.initialize=function(e,n,t,r){var o,l,i;p.isInitialized()||(a.initialize(e,n,t,r),t=Dt("ajax"),i=(r=n&&n.evtNamespace&&n.evtNamespace())?jt("xx",i=Y(r)?[t].concat(r):[t,r]).ns[ze]("."):t,U=i,o=tr(null,n=e,p[ae]),_=xi(),J(mi(),function(e,n){_[e]=o.getConfig(le.identifier,e,n)}),r=_[yo],M=_.enableRequestHeaderTracking,D=_.enableAjaxErrorStatusText,E=_.enableAjaxPerfTracking,H=_.maxAjaxCallsPerView,N=_.enableResponseHeaderTracking,L=[].concat(_.excludeRequestFromAutoTrackingPatterns||[],!1!==_.addIntEndpoints?yi:[]),F=_.addRequestContext,q=0===r||1===r,k=1===r||2===r,E&&(t=n.instrumentationKey||"unkwn",S=5<t[re]?$o+t.substring(t[re]-5)+".":$o+t+"."),R=!!_.disableAjaxTracking,j=!!_.disableFetchTracking,!ai(p,O)||R||I||(c(XMLHttpRequest,"open",{ns:U,req:function(e,n,t,r){var o,i,a,u,c;R||(e=e[ro],o=ui(e,O),!d(e,t)&&s(e,o,!0)&&(o&&o.xhrMonitoringState[Co]||(u=e,n=n,t=t,r=r,c=(i=v())&&i[Mo]()||Lt(),a=Lt().substr(0,16),(c=(u=(u=u[Jo]=u[Jo]||{xh:[],i:{}}).i=u.i||{})[O]=u[O]||new Go(c,a,p[Bo](),null==(u=p.core)?void 0:u.getTraceCtx()))[ie]=i&&i[Do](),c[Ao]=n,c[te]=t,c.xhrMonitoringState[Co]=!0,c[ue]={},c["async"]=r,c[ko]=D,o=c),g(e,o)))},hkErr:fi(p,15,Zo+".open"+Qo)}),c(XMLHttpRequest,"send",{ns:U,req:function(e,n){var t;R||s(e=e[ro],t=ui(e,O))&&!t.xhrMonitoringState[Io]&&(h("xhr",t),t[wo]=zr(),p[so](t,undefined,undefined,e),t.xhrMonitoringState[Io]=!0)},hkErr:fi(p,17,Zo+Qo)}),c(XMLHttpRequest,"abort",{ns:U,req:function(e){R||s(e=e[ro],e=ui(e,O))&&!e.xhrMonitoringState[_o]&&(e[ao]=1,e.xhrMonitoringState[_o]=!0)},hkErr:fi(p,13,Zo+".abort"+Qo)}),c(XMLHttpRequest,"setRequestHeader",{ns:U,req:function(e,n,t){var r;R||(e=e[ro],(r=ui(e,O))&&s(e,r)&&(e&&(e=(e[Jo]||{}).xh)&&e.push({n:n,v:t}),M&&f(n)&&r&&(r[ue][n]=t)))},hkErr:fi(p,71,Zo+".setRequestHeader"+Qo)}),I=!0),(e=!(i=fe())||$(i.Request)||$(i.Request[K])||$(i[Yo])?null:i[Yo])&&(r=fe(),l=e.polyfill,j||C?l&&u(pr(r,Yo,{ns:U,req:function(e,n,t){d(null,n,t)}})):(u(pr(r,Yo,{ns:U,req:function(e,n,t){var r,o,i,a,u,c,s;j||!C||d(null,n,t)||l&&I||(r=e.ctx(),o=n,i=t,c=(a=v())&&a[Mo]()||Lt(),u=Lt().substr(0,16),(u=new Go(c,u,p[Bo](),null==(c=p.core)?void 0:c.getTraceCtx()))[ie]=a&&a[Do](),u[wo]=zr(),u[ko]=D,o instanceof Request?u[te]=o?o.url:"":u[te]=o,c="GET",i&&i[Ao]?c=i[Ao]:o&&o instanceof Request&&(c=o[Ao]),u[Ao]=c,s={},M&&new Headers((i?i[po]:0)||o instanceof Request&&o[po]||{}).forEach(function(e,n){f(n)&&(s[n]=e)}),u[ue]=s,h(Yo,u),a=u,(c=p[so](a,n,t))!==t&&e.set(1,c),r.data=a)},rsp:function(e,t){var r;j||(r=e.ctx().data)&&(e.rslt=e.rslt.then(function(n){return x(0,(n||{})[ce],t,n,r,function(){var t,e={statusText:(n||{})[To],headerMap:null,correlationContext:T(n)};return N&&n&&(t={},n.headers.forEach(function(e,n){f(n)&&(t[n]=e)}),e[bo]=t),e}),n})["catch"](function(e){throw x(0,0,t,null,r,null,e.message||ee(e)),e}))},hkErr:fi(p,15,"Failed to monitor Window.fetch"+Qo)},!0,function(){if(null==ii)try{ii=!!(self&&self instanceof WorkerGlobalScope)}catch(e){ii=!1}return ii}())),C=!0),l&&(r[Yo].polyfill=l)),(n=p[ae].getPlugin("AppInsightsPropertiesPlugin"))&&(A=n.plugin[io]))},p._doTeardown=function(){e()},p.trackDependencyData=function(e,n){b(V,p[ae],null,e,n)},p[so]=function(e,n,t,r){var o,i,a,u,c=p._currentWindowHost||w,s=z,l=p[ae],f=e,d=t;return 0<s[re]&&(vi(l,s,s={core:l,xhr:r,input:n,init:d,traceId:f[oe],spanId:f[oo],traceFlags:f[ie],context:f[io]||{},aborted:!!f[ao]},"listener"),f[oe]=s[uo],f[oo]=s[co],f[ie]=s[ie],f[io]=s[io]),n||""===n?(Or[lo](_,e[fo](),c)&&(t=t||{},l=new Headers(t[po]||n instanceof Request&&n[po]||{}),q&&(o="|"+e[oe]+"."+e[oo],l.set(ne[3],o),M&&(e[ue][ne[3]]=o)),(i=_[vo]||A&&A[vo]())&&(l.set(ne[0],ne[2]+i),M&&(e[ue][ne[0]]=ne[2]+i)),k&&($(a=e[ie])&&(a=1),u=$t(Kt(e[oe],e[oo],a)),l.set(ne[4],u),M&&(e[ue][ne[4]]=u)),t[po]=l),t):r?(Or[lo](_,e[fo](),c)&&(q&&(ci(r,ne[3])?se(p,71,"Unable to set ["+ne[3]+"] as it has already been set by another instance"):(o="|"+e[oe]+"."+e[oo],r[go](ne[3],o),M&&(e[ue][ne[3]]=o))),(i=_[vo]||A&&A[vo]())&&(ci(r,ne[0])?se(p,71,"Unable to set ["+ne[0]+"] as it has already been set by another instance"):(r[go](ne[0],ne[2]+i),M&&(e[ue][ne[0]]=ne[2]+i))),k&&($(a=e[ie])&&(a=1),ci(r,ne[4])?se(p,71,"Unable to set ["+ne[4]+"] as it has already been set by another instance"):(u=$t(Kt(e[oe],e[oo],a)),r[go](ne[4],u),M&&(e[ue][ne[4]]=u)))),r):undefined},p[ho]=function(e,n,t){-1===H||r<H?(2!==_[yo]&&1!==_[yo]||"string"!=typeof e.id||"."===e.id[e.id[re]-1]||(e.id+="."),$(e[mo])&&(e[mo]=new Date),e=function(e,n,t,r,o,i){var a;if(t=kr(r,t)||gr,$(e)||$(n)||$(t))throw Error("Input doesn't contain all required fields");var r="",u=(e[hr]&&(r=e[hr],delete e[hr]),(a={})[xr]=t,a.time=function(e){if(e){if(yn)return e[sn]();var n;return e&&e.getUTCFullYear?(n=function(e){e=""+e;return 1===e[W]?"0"+e:e},e.getUTCFullYear()+"-"+n(1+e.getUTCMonth())+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"):void 0}}(new Date),a.iKey=r,a.ext=i||{},a.tags=[],a.data={},a.baseType=n,a.baseData=e,a);return $(o)||J(o,function(e,n){u.data[e]=n}),u}(e,Xr.dataType,Xr.envelopeType,p[Bo](),n,t),p[ae].track(e)):r===H&&li(p,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0),++r},p.addDependencyListener=function(e){return pi(z,n++,e)},p.addDependencyInitializer=function(e){return pi(V,n++,e)}}),e}_(le,gi=e),le.prototype.processTelemetry=function(e,n){this.processNext(e,n)},le.prototype.addDependencyInitializer=function(e){return null},le.identifier="AjaxDependencyPlugin",le.getDefaultConfig=mi,le.getEmptyConfig=xi,a.AjaxPlugin=le,a.DfltAjaxCorrelationHeaderExDomains=hi,a.ajaxRecord=Go}); | ||
!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,o={},e="__ms$mod__",i={},a=i[""]={},u="undefined",c="Microsoft",s=t=(t=t[c]=t[c]||{})[c="ApplicationInsights"]=t[c]||{},l=t,c=s[e]=s[e]||{},f=c.v=c.v||[],t=l[e]=l[e]||{},d=t.v=t.v||[];for(r in(t.o=t.o||[]).push(i),n(o),o)s[r]=o[r],f[r]=u,l[r]=o[r],d[r]=u,(a.n=a.n||[]).push(r)}}(this,function(a){"use strict";!function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(o){}typeof t.value!==undefined&&(e[n]=t.value)}(a,"__esModule",{value:!0});var u="function",X="object",c="undefined",K="prototype",l="hasOwnProperty",t=Object,f=t[K],e=t.assign,T=t.create,n=t.defineProperty,b=f[l],C=null;function fe(e){e=!1===(e=void 0===e||e)?null:C;return e||((e=(e=(e=typeof globalThis!==c?globalThis:e)||typeof self===c?e:self)||typeof window===c?e:window)||typeof global===c||(e=global),C=e),e}function I(e){throw new TypeError(e)}(fe()||{}).Symbol,(fe()||{}).Reflect;var de=e||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])f[l].call(n,o)&&(e[o]=n[o]);return e},w=function(e,n){return(w=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[l](t)&&(e[t]=n[t])})(e,n)};function _(e,n){function t(){this.constructor=e}typeof n!==u&&null!==n&&I("Class extends value "+n+" is not a constructor or null"),w(e,n),e[K]=null===n?function(e){if(T)return T(e);if(null==e)return{};var n=typeof e;function t(){}return n!==X&&n!==u&&I("Object prototype may only be an Object:"+e),t[K]=e,new t}(n):(t[K]=n[K],new t)}var e="undefined",M="constructor",v="prototype",D="function",A="_dynInstFuncs",k="_isDynProxy",q="_dynClass",S="_dynInstChk",E=S,H="_dfOpts",N="_unknown_",P="__proto__",R="_dyn"+P,r="__dynProto$Gbl",j="_dynInstProto",L="useBaseInst",F="setInstFuncs",U=Object,O=U.getPrototypeOf,z=U.getOwnPropertyNames,e=(i=(i=(i=(i=typeof globalThis!=e?globalThis:i)||typeof self==e?i:self)||typeof window==e?i:window)||typeof global==e?i:global)||{},V=e[r]||(e[r]={o:((i={})[F]=!0,i[L]=!0,i),n:1e3});function g(e,n){return e&&U[v].hasOwnProperty.call(e,n)}function pe(e){return e&&(e===U[v]||e===Array[v])}function ve(e){return pe(e)||e===Function[v]}function ge(e){if(e){if(O)return O(e);var n=e[P]||e[v]||(e[M]?e[M][v]:null),t=e[R]||n;g(e,R)||(delete e[j],t=e[R]=e[j]||e[R],e[j]=n)}return t}function he(e,n){var t=[];if(z)t=z(e);else for(var r in e)"string"==typeof r&&g(e,r)&&t.push(r);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function ye(e,n,t){return n!==M&&typeof e[n]===D&&(t||g(e,n))&&n!==P&&n!==v}function me(e){throw new TypeError("DynamicProto: "+e)}function xe(){return Object.create&&(e=Object.create)?e(null):{};var e}function Te(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function be(e,n){return g(e,v)?e.name||n||N:((e||{})[M]||{}).name||n||N}function Ce(e,r,n,t){g(e,v)||me("theClass is an invalid class definition.");var o,i,a,u,c,s,l=e[v],f=(function(e){if(!O)return 1;for(var n=[],t=ge(r);t&&!ve(t)&&!Te(n,t);){if(t===e)return 1;n.push(t),t=ge(t)}}(l)||me("["+be(e)+"] not in hierarchy of ["+be(r)+"]"),null),e=(g(l,q)?f=l[q]:(f="_dynCls$"+be(e,"_")+"$"+V.n,V.n++,l[q]=f),Ce[H]),d=!!e[L],p=(d&&t&&t[L]!==undefined&&(d=!!t[L]),o=r,i=xe(),he(o,function(e){!i[e]&&ye(o,e,!1)&&(i[e]=o[e])}),i),d=(n(r,function(e,n,t,i){function r(e,n,t){var r,o=n[t];return o[k]&&i&&!1!==(r=e[A]||{})[E]&&(o=(r[n[q]]||{})[t]||o),function(){return o.apply(e,arguments)}}for(var o=xe(),a=(he(t,function(e){o[e]=r(n,t,e)}),ge(e)),u=[];a&&!ve(a)&&!Te(u,a);)he(a,function(e){!o[e]&&ye(a,e,!O)&&(o[e]=r(n,a,e))}),u.push(a),a=ge(a);return o}(l,r,p,d)),!!O&&!!e[F]);a=l,n=f,u=r,c=p,e=!1!==(d=d&&t?!!t[F]:d),pe(a)||pe(l=u[A]=u[A]||xe())||(s=l[n]=l[n]||xe(),!1!==l[E]&&(l[E]=!!e),pe(s)||he(u,function(e){var t,r,o;ye(u,e,!1)&&u[e]!==c[e]&&(s[e]=u[e],delete u[e],g(a,e)&&(!a[e]||a[e][k])||(a[e]=(t=a,r=e,(o=function(){var e,n;return(function(e,n,t,r){var o=null;if(e&&g(t,q)){var i=e[A]||xe();if((o=(i[t[q]]||xe())[n])||me("Missing ["+n+"] "+D),!o[S]&&!1!==i[E]){for(var a=!g(e,n),u=ge(e),c=[];a&&u&&!ve(u)&&!Te(c,u);){var s=u[n];if(s){a=s===r;break}c.push(u),u=ge(u)}try{a&&(e[n]=o),o[S]=1}catch(l){i[E]=!1}}}return o}(this,r,t,o)||(typeof(n=(n=t[e=r])===o?ge(t)[e]:n)!==D&&me("["+e+"] is not a "+D),n)).apply(this,arguments)})[k]=1,o)))}))}Ce[H]=V.o;var Ie="name",we="identifier",G="push",_e="isInitialized",Me="config",De="logger",W="length",Ae="time",h="processNext",ke="getPlugin",qe="splice",Se="teardown",Ee="messageId",He="message",Ne="isAsync",Pe="_doTeardown",Re="update",je="getNext",Le="diagLog",Fe="setNextPlugin",Ue="createNew",Oe="userAgent",ze="split",Ve="substr",Xe="nodeType",Ke="apply",o="replace",Ge="enableDebugExceptions",We="toLowerCase",p="call",$e="type",Be="isChildEvt",Je="getCtx",s="setCtx",Ye="complete",Ze="traceId",Qe="traceFlags",en="version",d="",y="core",nn="disabled",tn="extensionConfig",rn="processTelemetry",on="priority",an="errorToConsole",un="warnToConsole",cn="getPerfMgr",sn="toISOString",ln="indexOf",fn="trim",r="toString",dn="constructor",pn=n,vn=t.freeze,gn=(t.seal,t.keys),e=String[K],hn=e[fn],yn=(e.endsWith,e.startsWith,Date[K][sn]),i=Array.isArray,mn=f[r],xn=b[r],Tn=xn[p](t),bn=/-([a-z])/g,Cn=/([^\w\d_$])/g,In=/^(\d+[\w\d_$])/,wn=Object.getPrototypeOf;function _n(e){if(e){if(wn)return wn(e);e=e.__proto__||e[K]||e[dn];if(e)return e}return null}function Mn(e){return e===undefined||typeof e===c}function $(e){return null===e||Mn(e)}function Dn(e){return!(!e||typeof e!==X)}function B(e){return!(!e||typeof e!==u)}function An(e){var n=e;return e&&qn(e)?(n=(n=e[o](bn,function(e,n){return n.toUpperCase()}))[o](Cn,"_"))[o](In,function(e,n){return"_"+n}):n}function J(e,n){if(e)for(var t in e)b[p](e,t)&&n[p](e,t,e[t])}function kn(e,n){return!(!e||!n||!~e.indexOf(n))}var Y=i||function(e){return!(!e||"[object Array]"!==mn[p](e))};function qn(e){return"string"==typeof e}function Sn(e){return e&&"object"==typeof e&&(!(e=(wn||_n)(e))||typeof(e=e[dn]&&b[p](e,dn)?e[dn]:e)===u&&xn[p](e)===Tn)}function Z(e,n,t){var r=e[W];try{for(var o=0;o<r&&!(o in e&&-1===n[p](t||e,e[o],o,e));o++);}catch(i){}}function En(e){return e&&(hn&&e[fn]?e[fn]():e[o]?e[o](/^\s+|(?=\s)\s+$/g,d):e)}var Hn=!{toString:null}.propertyIsEnumerable("toString"),Nn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function Pn(e){var n=typeof e;if(n===u||n===X&&null!==e||I("objKeys called on non-object"),!Hn&&gn)return gn(e);var t,r=[];for(t in e)e&&b[p](e,t)&&r[G](t);if(Hn)for(var o=Nn[W],i=0;i<o;i++)e&&b[p](e,Nn[i])&&r[G](Nn[i]);return r}function Rn(e){return vn&&J(e,function(e,n){(Y(n)||Dn(n))&&vn(n)}),jn(e)}var jn=vn||function(e){return e};function Ln(){var e=Date;return e.now?e.now():(new e).getTime()}function Fn(e,n){return $(e)?n:e}var Un="window",On="documentMode",zn="console",Vn="performance",Xn="JSON",Kn="crypto",Gn="msCrypto",Wn="msie",$n="trident/",Bn="XMLHttpRequest",Jn=null,Yn=null;function Q(e){var n=fe();return n&&n[e]?n[e]:e===Un&&typeof window===X&&window?window:null}function Zn(){return typeof document===X&&document?document:Q("document")}function Qn(){return typeof navigator===X&&navigator?navigator:Q("navigator")}function et(){return Q(Vn)}function nt(){return typeof JSON===X&&JSON||null!==Q(Xn)}function tt(){return nt()?JSON||Q(Xn):null}function ee(e){var n=Object[K].toString[p](e),t=d;return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[Ie]+"'":nt()&&(t=tt().stringify(e)),n+t}var rt=null;function ot(e){return e?'"'+e[o](/\"/g,d)+'"':d}function it(e,n){var t,r=typeof console!==c?console:Q(zn);r&&(t="log",B(r[t=r[e]?e:t])&&r[t](n))}ut.dataType="MessageData";var at=ut;function ut(e,n,t,r){void 0===t&&(t=!1),this[Ee]=e,this[He]=(t?"AI: ":"AI (Internal): ")+e;t=d,nt()&&(t=tt().stringify(r)),e=(n?" message:"+ot(n):d)+(r?" props:"+ot(t):d);this[He]+=e}st.__ieDyn=1;var ct=st;function st(o){this.identifier="DiagnosticLogger",this.queue=[];var c,s,l,f,d=0,p={};Ce(st,this,function(i){var e;function a(e,n){var t,r;l<=d||(r=!0,t="AITR_"+n[Ee],p[t]?r=!1:p[t]=!0,r&&(e<=s&&(i.queue[G](n),d++,u(1===e?"error":"warn",n)),d===l&&(r=new at(23,t="Internal events throttle limit per PageView reached for this app.",!1),i.queue[G](r),1===e?i[an](t):i[un](t))))}function u(e,n){var t,r=(t=(t=rt)||!0===(o||{}).disableDbgExt?t:rt||(r=Q("Microsoft"),rt=r?r.ApplicationInsights:rt))?t.ChromeDbgExt:null;r&&r[Le]&&r[Le](e,n)}c=Fn((e=o||{}).loggingLevelConsole,0),s=Fn(e.loggingLevelTelemetry,1),l=Fn(e.maxMessageLimit,25),f=Fn(e.enableDebug,Fn(e[Ge],!1)),i.consoleLoggingLevel=function(){return c},i.telemetryLoggingLevel=function(){return s},i.maxInternalMessageLimit=function(){return l},i[Ge]=function(){return f},i.throwInternal=function(e,n,t,r,o){n=new at(n,t,o=void 0!==o&&o,r);if(f)throw ee(n);t=1===e?an:un;Mn(n[He])?u("throw"+(1===e?"Critical":"Warning"),n):(o?(r=+n[Ee],!p[r]&&e<=c&&(i[t](n[He]),p[r]=!0)):e<=c&&i[t](n[He]),a(e,n))},i[un]=function(e){it("warn",e),u("warning",e)},i[an]=function(e){it("error",e),u("error",e)},i.resetInternalMessageCount=function(){d=0,p={}},i.logInternalMessage=a})}function m(e,n,t,r,o,i){void 0===i&&(i=!1),(e||new ct).throwInternal(n,t,r,o,i)}var lt="ParentContextKey",ft="ChildrenContextKey",dt=(pt.ParentContextKey="parent",pt.ChildrenContextKey="childEvts",pt);function pt(e,o,n){var r,i=this,a=!1;i.start=Ln(),i[Ie]=e,i[Ne]=n,i[Be]=function(){return!1},B(o)&&(a=function(e){if(pn)try{var n={enumerable:!0,configurable:!0,get:function(){return!r&&B(o)&&(r=o(),o=null),r}};return pn(e,"payload",n),!0}catch(t){}return!1}(i)),i[Je]=function(e){return e?(e===pt[lt]||e===pt[ft]?i:i.ctx||{})[e]:null},i[s]=function(e,n){e&&(e===pt[lt]?(i[e]||(i[Be]=function(){return!0}),i[e]=n):e===pt[ft]?i[e]=n:(i.ctx=i.ctx||{})[e]=n)},i[Ye]=function(){var e=0,n=i[Je](pt[ft]);if(Y(n))for(var t=0;t<n[W];t++){var r=n[t];r&&(e+=r[Ae])}i[Ae]=Ln()-i.start,i.exTime=i[Ae]-e,i[Ye]=function(){},!a&&B(o)&&(i.payload=o())}}var vt="CoreUtils.doPerf";function gt(e,n,t,r,o){if(e)if(e=e[cn]?e[cn]():e){var i,a=void 0,u=e[Je](vt);try{if(a=e.create(n(),r,o))return u&&a[s]&&(a[s](dt[lt],u),u[Je]&&u[s]&&((i=u[Je](dt[ft]))||(i=[],u[s](dt[ft],i)),i[G](a))),e[s](vt,a),t(a)}catch(c){a&&a[s]&&a[s]("exception",c)}finally{a&&e.fire(a),e[s](vt,u)}}t()}var ht=4294967296,yt=4294967295,mt=!1,xt=123456789,Tt=987654321;function bt(e){var n,t=0,r=Q(Kn)||Q(Gn);if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&yt:t)&&(!(r=Qn())||r[Oe]===Yn&&null!==Jn||(r=((Yn=r[Oe])||d)[We](),Jn=kn(r,Wn)||kn(r,$n)),Jn)){if(!mt)try{var o=2147483647&Ln();(n=(Math.random()*ht^o)+o)<0&&(n>>>=0),xt=123456789+n&yt,Tt=987654321-n&yt,mt=!0}catch(i){}r=((Tt=36969*(65535&Tt)+(Tt>>16)&yt)<<16)+(65535&(xt=18e3*(65535&xt)+(xt>>16)&yt))>>>0&yt|0,t=(r>>>=0)&yt}return 0===t&&(t=Math.floor(ht*Math.random()|0)),e||(t>>>=0),t}var Ct=n,It="2.8.19-nightly.2404-10",wt="."+function(e){void 0===e&&(e=22);for(var n=bt()>>>0,t=0,r=d;r[W]<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(bt()<<2&4294967295|3&n)>>>0,t=0);return r}(6),_t=0;function Mt(e){return 1===e[Xe]||9===e[Xe]||!+e[Xe]}function Dt(e,n){return An(e+_t+++((n=void 0!==n&&n)?"."+It:d)+wt)}function At(e){var i={id:Dt("_aiData-"+(e||d)+"."+It),accept:Mt,get:function(e,n,t,r){var o=e[i.id];return o?o[An(n)]:(r&&((o=function(e,n){var t=n[e.id];if(!t){t={};try{Mt(n)&&!function(e,n,t){if(Ct)try{return Ct(e,n,{value:t,enumerable:!1,configurable:!0}),1}catch(r){}}(n,e.id,t)&&(n[e.id]=t)}catch(r){}}return t}(i,e))[An(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}};return i}var kt="attachEvent",qt="addEventListener",St=(Dt("aiEvtPageHide"),Dt("aiEvtPageShow"),/\.[\.]+/g),Et=/[\.]+$/,Ht=1,Nt=At("events"),Pt=/^([^.]*)(?:\.(.+)|)/;function Rt(e){return e&&e[o]?e[o](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,d):e}function jt(e,n){n&&(t=d,Y(n)?(t=d,Z(n,function(e){(e=Rt(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=Rt(n),t&&("."!==t[0]&&(t="."+t),e=(e||d)+t));var t,n=Pt.exec(e||d)||[],e={};return e[$e]=n[1],e.ns=(n[2]||d).replace(St,".").replace(Et,d)[ze](".").sort().join("."),e}function Lt(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=d,r=0;r<4;r++)t+=n[15&(e=bt())]+n[e>>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 o=n[8+(3&bt())|0];return t[Ve](0,8)+t[Ve](9,4)+"4"+t[Ve](13,3)+o+t[Ve](16,3)+t[Ve](19,12)}var Ft="00",Ut="ff",Ot="00000000000000000000000000000000",zt="0000000000000000";function Vt(e,n,t){return e&&e[W]===n&&e!==t&&e.match(/^[\da-f]*$/i)}function Xt(e,n,t){return Vt(e,n)?e:t}function Kt(e,n,t,r){var o={};return o[en]=Vt(r,2,Ut)?r:Ft,o[Ze]=Gt(e)?e:Lt(),o.spanId=Wt(n)?n:Lt()[Ve](0,16),o.traceFlags=0<=t&&t<=255?t:1,o}function Gt(e){return Vt(e,32,Ot)}function Wt(e){return Vt(e,16,zt)}function $t(e){var n,t;return e?(Vt(n=function(e){for(var n=(e=isNaN(e)||e<0||255<e?1:e).toString(16);n[W]<2;)n="0"+n;return n}(e[Qe]),2)||(n="01"),t=e[en]||Ft,"".concat((t="00"!==t&&"ff"!==t?Ft:t).toLowerCase(),"-").concat(Xt(e.traceId,32,Ot).toLowerCase(),"-").concat(Xt(e.spanId,16,zt).toLowerCase(),"-").concat(n.toLowerCase())):""}var Bt=At("plugin");function Jt(e){return Bt.get(e,"state",{},!0)}var Yt="TelemetryPluginChain",Zt="_hasRun",Qt="_getTelCtx",er=0;function nr(e,a,t,n){var r=null,o=[],i=(null!==n&&(r=n?function(e,n,t){for(;e;){if(e[ke]()===t)return e;e=e[je]()}return rr([t],n[Me]||{},n)}(e,t,n):e),{_next:function(){var e,n=r;return r=n?n[je]():null,n||(e=o)&&0<e[W]&&(Z(e,function(e){try{e.func[p](e.self,e.args)}catch(n){m(t[De],2,73,"Unexpected Exception during onComplete - "+ee(n))}}),o=[]),n},ctx:{core:function(){return t},diagLog:function(){return(t||{})[De]||new ct(a)},getCfg:function(){return a},getExtCfg:u,getConfig:function(e,n,t){void 0===t&&(t=!1);var r,e=u(e,null);return e&&!$(e[n])?r=e[n]:a&&!$(a[n])&&(r=a[n]),$(r)?t:r},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(e){r=e},iterate:function(e){for(;n=i._next();){var n=n[ke]();n&&e(n)}},onComplete:function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e&&o[G]({func:e,self:Mn(n)?i.ctx:n,args:t})}}});function u(e,n,t){var r,o,i;return void 0===n&&(n={}),void 0===t&&(t=0),(r=a&&(o=a[tn])&&e?o[e]:r)?Dn(n)&&0!==t&&(i=function d(){var e=arguments,n=e[0]||{},t=e[W],r=!1,o=1;for(0<t&&"boolean"==typeof n&&(r=n,n=e[o]||{},o++),Dn(n)||(n={});o<t;o++){var i,a,u,c,s=e[o],l=Y(s),f=Dn(s);for(i in s)(l&&i in s||f&&b[p](s,i))&&(a=s[i],u=void 0,r&&a&&((u=Y(a))||Sn(a))&&(c=n[i],u?Y(c)||(c=[]):Sn(c)||(c={}),a=d(r,c,a)),a!==undefined&&(n[i]=a))}return n}(!0,n,r),a&&2===t&&J(n,function(e){var n;$(i[e])&&!$(n=a[e])&&(i[e]=n)}),r=i):r=n,r}return i}function tr(e,t,r,n){var o=nr(e,t,r,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n[rn](e,i),!n},i[Ue]=function(e,n){return tr((e=Y(e=void 0===e?null:e)?rr(e,t,r,n):e)||i[je](),t,r,n)},i}function rr(e,n,t,r){var o,i=null,a=!r;return Y(e)&&0<e[W]&&(o=null,Z(e,function(e){(a=!a&&r===e||a)&&e&&B(e[rn])&&(e=or(e,n,t),i=i||e,o&&o._setNext(e),o=e)})),r&&!i?rr([r],n,t):i}function or(c,r,o){var s=null,i=B(c[rn]),a=B(c[Fe]),l=c?c[we]+"-"+c[on]+"-"+er++:"Unknown-0-"+er++,u={getPlugin:function(){return c},getNext:function(){return s},processTelemetry:function(t,e){var n;f(e=e||(n=(n=c&&B(c[Qt])?c[Qt]():n)||tr(u,r,o)),function(e){if(!c||!i)return!1;var n=Jt(c);return!n[Se]&&!n[nn]&&(a&&c[Fe](s),c[rn](t,e),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||e[h](t)},unload:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Jt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Se]||(e[y]=null,e[Se]=!0,e[_e]=!1,c[Se]&&!0===c[Se](r,o)&&(t=!0))),t},"unload",function(){},o[Ne])||r[h](o)},update:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Jt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Se]||c[Re]&&!0===c[Re](r,o)&&(t=!0)),t},"update",function(){},!1)||r[h](o)},_id:l,_setNext:function(e){s=e}};function f(t,r,o,e,n){var i=!1,a=c?c[we]:Yt,u=(u=t[Zt])||(t[Zt]={});return t.setNext(s),c&>(t[y](),function(){return a+":"+o},function(){u[l]=!0;try{var e=s?s._id:d;e&&(u[e]=!1),i=r(t)}catch(n){e=!s||u[s._id];e&&(i=!0),s&&e||m(t[Le](),1,73,"Plugin ["+a+"] failed during "+o+" - "+ee(n)+", run flags: "+ee(u))}},e,n),i}return jn(u)}function ir(){var n=[];return{add:function(e){e&&n[G](e)},run:function(t,r){Z(n,function(e){try{e(t,r)}catch(n){m(t[Le](),2,73,"Unexpected error calling unload handler - "+ee(n))}}),n=[]}}}var ar="getPlugin",e=(ur.__ieDyn=1,ur);function ur(){var i,a,l,f,d,u=this;function n(e){var n,e=e=void 0===e?null:e;return e||(n=a||tr(null,{},u[y]),e=l&&l[ar]?n[Ue](null,l[ar]):n[Ue](null,l)),e}function c(e,n,t){e&&(r=o=[],e&&(r=e[tn])!==o&&$(r)&&(e[tn]=r=o)),!t&&n&&(t=n.getProcessTelContext()[je]());var r,o=l;l&&l[ar]&&(o=l[ar]()),u[y]=n,a=tr(t,e,n,o)}function p(){i=!1,u[y]=null,l=a=null,d=[],f=ir()}p(),Ce(ur,u,function(s){var e,n,t,r,o;s.initialize=function(e,n,t,r){c(e,n,r),i=!0},s[Se]=function(e,n){var t,r,o,i,a=s[y];if(a&&(!e||a===e[y]()))return r=!1,o=e||function c(e,t,n){var r=t[Me]||{},o=nr(e,r,t,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n.unload(i,e),!n},i[Ue]=function(e,n){return c((e=Y(e=void 0===e?null:e)?rr(e,r,t,n):e)||i[je](),t,n)},i}(null,a,l&&l[ar]?l[ar]():l),i=n||((e={reason:0})[Ne]=!1,e),s[Pe]&&!0===s[Pe](o,i,u)?t=!0:u(),t;function u(){var e;r||(r=!0,f.run(o,n),e=d,d=[],Z(e,function(e){e.rm()}),!0===t&&o[h](i),p())}},s[Re]=function(e,n){var t,r,o,i=s[y];if(i&&(!e||i===e[y]()))return r=!1,o=e||function u(e,t,n){var r=t[Me]||{},o=nr(e,r,t,n).ctx;return o[h]=function(n){return o.iterate(function(e){B(e[Re])&&e[Re](o,n)})},o[Ue]=function(e,n){return u((e=Y(e=void 0===e?null:e)?rr(e,r,t,n):e)||o[je](),t,n)},o}(null,i,l&&l[ar]?l[ar]():l),s._doUpdate&&!0===s._doUpdate(o,n||{reason:0},a)?t=!0:a(),t;function a(){r||(r=!0,c(o.getCfg(),o.core(),o[je]()))}},s._addHook=function(e){e&&(Y(e)?d=d.concat(e):d[G](e))},t="_addUnloadCb",n=function(){return f},(e=s)&&n&&(e[t]=(o=r=null,B(t=n)?r=t:o=t,function(){var e=arguments;if(o=r?r():o)return o.add[Ke](o,e)}))}),u[Le]=function(e){return n(e)[Le]()},u[_e]=function(){return i},u.setInitialized=function(e){i=e},u[Fe]=function(e){l=e},u[h]=function(e,n){n?n[h](e):l&&B(l[rn])&&l[rn](e,null)},u._getTelCtx=n}var cr="_aiHooks",sr=["req","rsp","hkErr","fnErr"];function lr(e,n){if(e)for(var t=0;t<e[W]&&!n(e[t],t);t++);}function fr(e,a,u,c,s){0<=s&&s<=2&&lr(e,function(e,n){var e=e.cbks,t=e[sr[s]];if(t){a.ctx=function(){return c[n]=c[n]||{}};try{t[Ke](a.inst,u)}catch(o){t=a.err;try{var r=e.hkErr;r&&(a.err=o,r[Ke](a.inst,u))}catch(i){}finally{a.err=t}}}})}function dr(c){return function(){var t=arguments,e=c.h,r=((n={})[Ie]=c.n,n.inst=this,n.ctx=null,n.set=function(e,n){(t=i([],t))[e]=n,o=i([r],t)},n),n=[],o=i([r],t);function i(n,e){return lr(e,function(e){n[G](e)}),n}r.evt=Q("event"),fr(e,r,o,n,0);var a=c.f;if(a)try{r.rslt=a[Ke](this,t)}catch(u){throw r.err=u,fr(e,r,o,n,3),u}return fr(e,r,o,n,1),r.rslt}}function pr(e,n,t,r,o){if(void 0===r&&(r=!0),e&&n&&t){e=function a(e,n,t,r){var o=null;return e&&(b[p](e,n)?o=e:t&&(o=a(_n(e),n,r,!1))),o}(e,n,r,o);if(e){r=e[n];if(typeof r===u)return o=e,e=n,n=t,(i=r&&r[cr])||((t=dr(i={i:0,n:e,f:r,h:[]}))[cr]=i,o[e]=t),r={id:i.i,cbks:n,rm:function(){var t=this.id;lr(i.h,function(e,n){return e.id===t&&(i.h[qe](n,1),1)})}},i.i++,i.h[G](r),r}}var i;return null}var vr="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r="/v2/track",gr="not_specified",hr="iKey",x="length",yr="toLowerCase",mr="toString",xr="name",Tr="pathname",br="correlationHeaderExcludePatterns",Cr="indexOf",Ir="substring",wr="";function _r(e){var n=wr+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,t=wr+Math.floor(e/6e4)%60,r=wr+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=wr+e%1e3)[x]?"00"+e:2===e[x]?"0"+e:e,n=n[x]<2?"0"+n:n,t=t[x]<2?"0"+t:t,r=r[x]<2?"0"+r:r;return(0<o?o+".":wr)+r+":"+t+":"+n+"."+e}Mr={},J({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]},function(e,n){Mr[e]=n[1],Mr[n[0]]=n[1]});var Mr,ne=Rn(Mr);function Dr(e,n,t){var r=n[x],o=Ar(e,n);if(o[x]!==r){for(var i=0,a=o;t[a]!==undefined;)i++,a=o[Ir](0,147)+Nr(i);o=a}return o}function Ar(e,n){var t;return n&&150<(n=En(n[mr]()))[x]&&(t=n[Ir](0,150),m(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),t||n}function kr(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=En(n)).toString()[x]>t&&(r=n[mr]()[Ir](0,t),m(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function qr(e,n){return Hr(e,n,2048,66)}function Sr(r,e){var o;return e&&(o={},J(e,function(e,n){if(Dn(n)&&nt())try{n=tt().stringify(n)}catch(t){m(r,2,49,"custom property is not valid",{exception:t},!0)}n=kr(r,n,8192),e=Dr(r,e,o),o[e]=n}),e=o),e}function Er(t,e){var r;return e&&(r={},J(e,function(e,n){e=Dr(t,e,r),r[e]=n}),e=r),e}function Hr(e,n,t,r){var o;return n&&(n=En(n))[x]>t&&(o=n[Ir](0,t),m(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),o||n}function Nr(e){e="00"+e;return e.substr(e[x]-3)}(i={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=Dr,i.sanitizeKey=Ar,i.sanitizeString=kr,i.sanitizeUrl=qr,i.sanitizeMessage=function(e,n){var t;return n&&32768<n[x]&&(t=n[Ir](0,32768),m(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n},i.sanitizeException=function(e,n){var t,r;return n&&32768<(r=""+n)[x]&&(t=r[Ir](0,32768),m(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),t||n},i.sanitizeProperties=Sr,i.sanitizeMeasurements=Er,i.sanitizeId=function(e,n){return n&&Hr(e,n,128,69)[mr]()},i.sanitizeInput=Hr,i.padNumber=Nr,i.trim=En;var Pr=Zn()||{},Rr=0,jr=[null,null,null,null,null];function Lr(t){var e=Rr,n=jr,r=n[e];return Pr.createElement?n[e]||(r=n[e]=Pr.createElement("a")):r={host:function(){var e=Fr(t,!0)||"";if(e){var n=e.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=n&&3<n[x]&&qn(n[2])&&0<n[2][x])return n[2]+(n[3]||"")}return e}()},r.href=t,++e>=n[x]&&(e=0),Rr=e,r}function Fr(e,n){var t=null;return e&&null!=(e=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<e[x]&&qn(e[2])&&0<e[2][x]&&(t=e[2]||"",n&&2<e[x]&&(n=(e[1]||"")[yr](),e=e[3]||"",t+=e="http"===n&&":80"===e||"https"===n&&":443"===e?"":e)),t}var Ur=["https://dc.services.visualstudio.com"+r,"https://breeze.aimon.applicationinsights.io"+r,"https://dc-int.services.visualstudio.com"+r],Or={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,n,t){if(!n||e&&e.disableCorrelationHeaders)return!1;if(e&&e[br])for(var r=0;r<e.correlationHeaderExcludePatterns[x];r++)if(e[br][r].test(n))return!1;var o=Lr(n).host[yr]();if(!o||-1===o[Cr](":443")&&-1===o[Cr](":80")||(o=(Fr(n,!0)||"")[yr]()),(!e||!e.enableCorsCorrelation)&&o&&o!==t)return!1;var i,t=e&&e.correlationHeaderDomains;if(t&&(Z(t,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a[x])return!0;for(r=0;r<a[x];r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o[x]},getCorrelationContext:function(e){if(e){e=Or.getCorrelationContextValue(e,ne[1]);if(e&&e!==Or.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,n){if(e)for(var t=e.split(","),r=0;r<t[x];++r){var o=t[r].split("=");if(2===o[x]&&o[0]===n)return o[1]}}};function zr(){var e=et();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return Ln()}function Vr(e,n){return 0===e||0===n||$(e)||$(n)?null:n-e}Kr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Kr.dataType="RemoteDependencyData";var Xr=Kr;function Kr(e,n,t,r,o,i,a,u,c,s,l,f){void 0===c&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var d,p,v=this,t=(v.ver=2,v.id=n,v.duration=_r(o),v.success=i,v.resultCode=a+"",v.type=kr(e,c),n=e,o=u,c=a=i=r,a=(u=t)&&0<u[x]?(p=(t=Lr(u)).host,a||(null!=t[Tr]?("/"!=((d=0===t.pathname[x]?"/":t[Tr])[0]||"")&&(d="/"+d),c=t[Tr],kr(n,o?o+" "+d:d)):kr(n,u))):p=i,{target:p,name:a,data:c});v.data=qr(e,r)||t.data,v.target=kr(e,t.target),s&&(v.target="".concat(v.target," | ").concat(s)),v[xr]=kr(e,t[xr]),v.properties=Sr(e,l),v.measurements=Er(e,f)}function Gr(e){var n="ai."+e+".";return function(e){return n+e}}var Wr,$r,n=Gr("application"),i=Gr("device"),r=Gr("location"),Br=Gr("operation"),Jr=Gr("session"),Yr=Gr("user"),Zr=Gr("cloud"),Qr=Gr("internal");function eo(){return Wr.call(this)||this}$r={applicationVersion:n("ver"),applicationBuild:n("build"),applicationTypeId:n("typeId"),applicationId:n("applicationId"),applicationLayer:n("layer"),deviceId:i("id"),deviceIp:i("ip"),deviceLanguage:i("language"),deviceLocale:i("locale"),deviceModel:i("model"),deviceFriendlyName:i("friendlyName"),deviceNetwork:i("network"),deviceNetworkName:i("networkName"),deviceOEMName:i("oemName"),deviceOS:i("os"),deviceOSVersion:i("osVersion"),deviceRoleInstance:i("roleInstance"),deviceRoleName:i("roleName"),deviceScreenResolution:i("screenResolution"),deviceType:i("type"),deviceMachineName:i("machineName"),deviceVMName:i("vmName"),deviceBrowser:i("browser"),deviceBrowserVersion:i("browserVersion"),locationIp:r("ip"),locationCountry:r("country"),locationProvince:r("province"),locationCity:r("city"),operationId:Br("id"),operationName:Br("name"),operationParentId:Br("parentId"),operationRootId:Br("rootId"),operationSyntheticSource:Br("syntheticSource"),operationCorrelationVector:Br("correlationVector"),sessionId:Jr("id"),sessionIsFirst:Jr("isFirst"),sessionIsNew:Jr("isNew"),userAccountAcquisitionDate:Yr("accountAcquisitionDate"),userAccountId:Yr("accountId"),userAgent:Yr("userAgent"),userId:Yr("id"),userStoreRegion:Yr("storeRegion"),userAuthUserId:Yr("authUserId"),userAnonymousUserAcquisitionDate:Yr("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Yr("authUserAcquisitionDate"),cloudName:Zr("name"),cloudRole:Zr("role"),cloudRoleVer:Zr("roleVer"),cloudRoleInstance:Zr("roleInstance"),cloudEnvironment:Zr("environment"),cloudLocation:Zr("location"),cloudDeploymentUnit:Zr("deploymentUnit"),internalNodeName:Qr("nodeName"),internalSdkVersion:Qr("sdkVersion"),internalAgentVersion:Qr("agentVersion"),internalSnippet:Qr("snippet"),internalSdkSrc:Qr("sdkSrc")},_(eo,Wr=function(){var t=this;J($r,function(e,n){t[e]=n})}),new eo;var no="duration",to="properties",te="requestUrl",ro="inst",re="length",oe="traceID",oo="spanID",ie="traceFlags",io="context",ao="aborted",uo="traceId",co="spanId",ae="core",so="includeCorrelationHeaders",lo="canIncludeCorrelationHeader",fo="getAbsoluteUrl",po="headers",ue="requestHeaders",vo="appId",go="setRequestHeader",ho="trackDependencyDataInternal",yo="distributedTracingMode",mo="startTime",xo="toLowerCase",ce="status",To="statusText",bo="headerMap",Co="openDone",Io="sendDone",wo="requestSentTime",_o="abortDone",Mo="getTraceId",Do="getTraceFlags",Ao="method",ko="errorStatusText",qo="stateChangeAttached",So="responseFinishedTime",Eo="CreateTrackItem",Ho="response",No="getAllResponseHeaders",Po="getPartAProps",Ro="getCorrelationContext",jo="perfMark",Lo="name",Fo="perfTiming",Uo="ajaxTotalDuration",Oo="eventTraceCtx";function zo(e,n,t){n=e[n],t=e[t];return n&&t?Vr(n,t):0}function Vo(e,n,t,r,o){t=zo(t,r,o);return t?Xo(e,n,_r(t)):0}function Xo(e,n,t){var r="ajaxPerf",o=0;return e&&n&&t&&((e[r]=e[r]||{})[n]=t,o=1),o}var Ko=function(){var e=this;e[Co]=!1,e.setRequestHeaderDone=!1,e[Io]=!1,e[_o]=!1,e[qo]=!1},Go=(Wo.__ieDyn=1,Wo);function Wo(e,n,t,r){var o=this,i=t;o[jo]=null,o.completed=!1,o.requestHeadersSize=null,o[ue]=null,o.responseReceivingDuration=null,o.callbackDuration=null,o[Uo]=null,o[ao]=0,o.pageUrl=null,o[te]=null,o.requestSize=0,o[Ao]=null,o[ce]=null,o[wo]=null,o.responseStartedTime=null,o[So]=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new Ko,o.clientFailure=0,o[oe]=e,o[oo]=n,o[ie]=null==r?void 0:r.getTraceFlags(),o[Oo]=r?((t={})[uo]=r[Mo](),t[co]=r.getSpanId(),t[ie]=r[Do](),t):null,Ce(Wo,o,function(m){m.getAbsoluteUrl=function(){return m[te]?(e=Lr(m[te]))?e.href:void 0:null;var e},m.getPathName=function(){return m[te]?qr(i,(e=m[Ao],n=m[te],e?e.toUpperCase()+" "+n:n)):null;var e,n},m[Eo]=function(e,n,t){if(m.ajaxTotalDuration=Math.round(1e3*Vr(m.requestSentTime,m.responseFinishedTime))/1e3,m[Uo]<0)return null;(y={id:"|"+m[oe]+"."+m[oo],target:m[fo]()})[Lo]=m.getPathName(),y.type=e,y[mo]=null,y.duration=m[Uo],y.success=200<=+m[ce]&&+m[ce]<400,y.responseCode=+m[ce],y[to]={HttpMethod:m[Ao]};var r,o,i,a,u,c,s,l,f,d,p,v,g,h,e=y,y=e[to];return m[ao]&&(y[ao]=!0),m[wo]&&(e[mo]=new Date,e[mo].setTime(m[wo])),a=(r=m)[Fo],u=(o=e)[to]||{},c=0,v="startTime",h="connectEnd",s="requestStart",g="responseEnd",l="transferSize",f="encodedBodySize",d="decodedBodySize",p="serverTiming",a?(c=(c=(c=(c=(c=(c=(c|=Vo(u,"End",a,"redirectStart","End"))|Vo(u,"domainLookup",a,"domainLookupStart","domainLookupEnd"))|Vo(u,"connect",a,"connectStart",h))|Vo(u,"request",a,s,"requestEnd"))|Vo(u,"response",a,"responseStart",g))|Vo(u,"networkConnect",a,v,h))|Vo(u,"sentRequest",a,s,g),h=a[no]||zo(a,v,g)||0,c=(c|=Xo(u,no,h))|Xo(u,"perfTotal",h),(s=a[p])&&(i={},Z(s,function(e,n){var n=An(e.name||""+n),t=i[n]||{};J(e,function(e,n){!("name"!==e&&qn(n)||"number"==typeof n)||!(n=t[e]?t[e]+";"+n:n)&&qn(n)||(t[e]=n)}),i[n]=t}),c|=Xo(u,p,i)),c=(c=(c|=Xo(u,l,a[l]))|Xo(u,f,a[f]))|Xo(u,d,a[d])):r[jo]&&(c|=Xo(u,"missing",r.perfAttempts)),c&&(o[to]=u),n&&0<Pn(m.requestHeaders)[re]&&(y[ue]=m[ue]),t&&(v=t())&&((g=v.correlationContext)&&(e.correlationContext=g),v[bo]&&0<Pn(v.headerMap)[re]&&(y.responseHeaders=v[bo]),m[ko]&&(400<=m[ce]?(""!==(h=v.type)&&"text"!==h||(y.responseText=v.responseText?v[To]+" - "+v.responseText:v[To]),"json"===h&&(y.responseText=v.response?v[To]+" - "+JSON.stringify(v[Ho]):v[To])):0===m[ce]&&(y.responseText=v[To]||""))),e},m[Po]=function(){var e,n=null,t=m[Oo];return t&&(t[uo]||t[co])&&(e=(n={}).trace=((e={})[oe]=t[uo],e.parentID=t[co],e),$(t[ie])||(e[ie]=t[ie])),n}})}var $o="ai.ajxmn.",Bo="diagLog",Jo="_ajaxData",Yo="fetch",Zo="Failed to monitor XMLHttpRequest",n=", monitoring data for this ajax call ",Qo=n+"may be incorrect.",ei=n+"won't be sent.",ni="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",ti="Failed to add custom defined request context as configured call back may missing a null check.",ri="Failed to calculate the duration of the ",oi=0,ii=null;function ai(e,n){var t,r=!1,o=(function(){var e=!1;try{e=!!Q(Bn)}catch(n){}return e}()&&(r=!($(o=XMLHttpRequest[K])||$(o.open)||$(o.send)||$(o.abort))),function(e){var n=((e=(e=void 0===e?null:e)?e:(n=Qn()||{})?(n[Oe]||d)[We]():d)||d)[We]();if(kn(n,Wn))return e=Zn()||{},Math.max(parseInt(n[ze](Wn)[1]),e[On]||0);if(kn(n,$n)){e=parseInt(n[ze]($n)[1]);if(e)return e+4}return null}());if(r=!(o&&o<9)&&r)try{var i=new XMLHttpRequest,a={xh:[],i:((t={})[n]={},t)},u=(i[Jo]=a,XMLHttpRequest[K].open);XMLHttpRequest[K].open=u}catch(c){r=!1,li(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:ee(c)})}return r}var ui=function(e,n){return e&&n&&e[Jo]?(e[Jo].i||{})[n]:null},ci=function(e,n){var t=!1;return e&&(e=(e[Jo]||{}).xh)&&Z(e,function(e){if(e.n===n)return t=!0,-1}),t};function si(e,n){var t="";try{var r=ui(e,n);r&&r[te]&&(t+="(url: '"+r[te]+"')")}catch(o){}return t}function li(e,n,t,r,o){m(e[Bo](),1,n,t,r,o)}function se(e,n,t,r,o){m(e[Bo](),2,n,t,r,o)}function fi(n,t,r){return function(e){li(n,t,r,{ajaxDiagnosticsMessage:si(e[ro],n._ajaxDataId),exception:ee(e.err)})}}function di(e,n){return e&&n?e.indexOf(n):-1}function pi(t,e,n){var r={id:e,fn:n};return t.push(r),{remove:function(){Z(t,function(e,n){if(e.id===r.id)return t.splice(n,1),-1})}}}function vi(r,e,o,i){var a=!0;return Z(e,function(e,n){try{!1===e.fn.call(null,o)&&(a=!1)}catch(t){m(r&&r.logger,1,64,"Dependency "+i+" [#"+n+"] failed: "+((e=t)&&"[object Error]"===mn[p](e)?e[Ie]:d),{exception:ee(t)},!0)}}),a}var gi,i="*.blob.core.",hi=Rn([i+"windows.net",i+"chinacloudapi.cn",i+"cloudapi.de",i+"usgovcloudapi.net"]),yi=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function mi(){return{maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:undefined,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:hi,correlationHeaderDomains:undefined,correlationHeaderExcludePatterns:undefined,appId:undefined,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"],addRequestContext:undefined,addIntEndpoints:!0}}function xi(){var n=mi();return J(n,function(e){n[e]=undefined}),n}function le(){var C,I,w,_,M,D,r,A,k,q,S,E,H,N,P,R,j,L,F,U,O,n,z,V,e=gi.call(this)||this;return e.identifier=le.identifier,e.priority=120,Ce(le,e,function(p,a){var u=a._addHook;function e(){var e=typeof location===X&&location?location:Q("location");I=C=!1,w=e&&e.host&&e.host[xo](),_=le.getEmptyConfig(),N=E=q=k=D=M=!1,j=R=!(P={}),U=F=L=S=A=null,n=H=r=0,z=[],V=[],O=Dt("ajaxData"),p._ajaxDataId=O}function f(n){var t=!0;return(n||_.ignoreHeaders)&&Z(_.ignoreHeaders,function(e){if(e[xo]()===n[xo]())return t=!1,-1}),t}function c(e,n,t){u(e?pr(e[K],n,t,!1):null)}function d(e,n,t){var r=!1,o=((qn(n)?n:(n||{}).url||"")||"")[xo]();if(Z(L,function(e){var n=e;qn(e)&&(n=RegExp(e)),r=r||n.test(o)}),r)return r;var i=di(o,"?"),a=di(o,"#");return-1!==(i=-1===i||-1!==a&&a<i?a:i)&&(o=o.substring(0,i)),$(e)?$(n)||(r="object"==typeof n&&!0===n[vr]||!!t&&!0===t[vr]):r=!0===e[vr]||!0===o[vr],(r=!(r||!o||-1===function(e,n){if(e){if(e[ln])return e[ln](n,void 0);var t=e[W];try{for(var r=0;r<t;r++)if(r in e&&e[r]===n)return r}catch(o){}}return-1}(Ur,o[yr]()))||r)?P[o]||(P[o]=1):P[o]&&(r=!0),r}function s(e,n,t){var r=!0;return $(e)||(r=!0===t||!$(n)),I&&r}function v(){var e,n,t=null;return!(t=p[ae]&&p[ae].getTraceCtx?p[ae].getTraceCtx(!1):t)&&A&&A.telemetryTrace&&(e=A.telemetryTrace,n=e||{},t={getName:function(){return n[xr]},setName:function(e){n[xr]=e},getTraceId:function(){return n.traceID},setTraceId:function(e){Gt(e)&&(n.traceID=e)},getSpanId:function(){return n.parentID},setSpanId:function(e){Wt(e)&&(n.parentID=e)},getTraceFlags:function(){return n.traceFlags},setTraceFlags:function(e){n.traceFlags=e}}),t}function g(t,r){r.xhrMonitoringState[qo]=function(e,n,t,r){void 0===r&&(r=!1);var o,i,a,u,c,s=!1;if(e)try{var l,f=jt("readystatechange",t),d=f,p=n,v=r,g=!1;(c=e)&&d&&d[$e]&&p&&(c[qt]?(c[qt](d[$e],p,v),g=!0):c[kt]&&(c[kt]("on"+d[$e],p),g=!0)),(s=g)&&Nt.accept(e)&&((o={guid:Ht++,evtName:f}).handler=n,o.capture=r,l=o,i=f.type,((u=Nt.get(e,"events",{},a=void 0===a||a))[i]||(u[i]=[]))[G](l))}catch(h){}return s}(t,function(){try{t&&4===t.readyState&&s(t,r)&&((u=ui(a=t,O))[So]=zr(),u[ce]=a[ce],y("xmlhttprequest",u,function(){try{var e,n=u[Eo]("Ajax",M,function(){var e,t,n={statusText:a[To],headerMap:null,correlationContext:l(a),type:a.responseType,responseText:function(e){try{var n=e.responseType;if(""===n||"text"===n)return e.responseText}catch(t){}return null}(a),response:a[Ho]};return N&&(e=a[No]())&&(e=En(e).split(/[\r\n]+/),t={},Z(e,function(e){var e=e.split(": "),n=e.shift(),e=e.join(": ");f(n)&&(t[n]=e)}),n[bo]=t),n}),t=void 0;try{F&&(t=F({status:a[ce],xhr:a}))}catch(o){se(p,104,ti)}n?(t!==undefined&&(n[to]=de(de({},n.properties),t)),e=u[Po](),b(V,p[ae],u,n,null,e)):i(null,{requestSentTime:u[wo],responseFinishedTime:u[So]})}finally{try{var r=(a[Jo]||{i:{}}).i||{};r[O]&&(r[O]=null)}catch(o){}}},function(e){i(e,null)}))}catch(n){var e=ee(n);e&&-1!==di(e[xo](),"c00c023f")||li(p,16,Zo+" 'readystatechange' event handler"+Qo,{ajaxDiagnosticsMessage:si(t,O),exception:e})}function i(e,n){n=n||{};n.ajaxDiagnosticsMessage=si(a,O),e&&(n.exception=ee(e)),se(p,14,ri+"ajax call"+ei,n)}var a,u},U)}function l(e){try{var n,t=e[No]();if(null!==t&&-1!==di(t[xo](),ne[8]))return n=e.getResponseHeader(ne[0]),Or[Ro](n)}catch(r){se(p,18,ni,{ajaxDiagnosticsMessage:si(e,O),exception:ee(r)})}}function h(e,n){var t;n[te]&&S&&E&&(t=et())&&B(t.mark)&&(e=S+e+"#"+ ++oi,t.mark(e),(e=t.getEntriesByName(e))&&1===e[re]&&(n[jo]=e[0]))}function y(i,a,u,c){var s=a[jo],l=et(),f=_.maxAjaxPerfLookupAttempts,d=_.ajaxPerfLookupDelay,p=a[te],v=0;!function g(){try{if(l&&s){v++;for(var e=null,n=l.getEntries(),t=n[re]-1;0<=t;t--){var r=n[t];if(r){if("resource"===r.entryType)r.initiatorType!==i||-1===di(r[Lo],p)&&-1===di(p,r[Lo])||(e=r);else if("mark"===r.entryType&&r[Lo]===s[Lo]){a[Fo]=e;break}if(r[mo]<s[mo]-1e3)break}}}!s||a[Fo]||f<=v||!1===a["async"]?(s&&B(l.clearMarks)&&l.clearMarks(s[Lo]),a.perfAttempts=v,u()):setTimeout(g,d)}catch(o){c(o)}}()}function m(e){var n="";try{$(e)||(qn(e)?n+="(url: '".concat(e,"')"):n+="(url: '".concat(e.url,"')"))}catch(t){li(p,15,"Failed to grab failed fetch diagnostics message",{exception:ee(t)})}return n}function x(e,r,o,i,a,u){function c(e,n,t){t=t||{};t.fetchDiagnosticsMessage=m(o),n&&(t.exception=ee(n)),se(p,e,ri+"fetch call"+ei,t)}a&&(a[So]=zr(),a[ce]=r,y(Yo,a,function(){var e,n=a[Eo]("Fetch",M,u);try{F&&(e=F({status:r,request:o,response:i}))}catch(t){se(p,104,ti)}n?(e!==undefined&&(n[to]=de(de({},n.properties),e)),e=a[Po](),b(V,p[ae],a,n,null,e)):c(14,null,{requestSentTime:a[wo],responseFinishedTime:a[So]})},function(e){c(18,e,null)}))}function T(e){if(e&&e[po])try{var n=e[po].get(ne[0]);return Or[Ro](n)}catch(t){se(p,18,ni,{fetchDiagnosticsMessage:m(e),exception:ee(t)})}}function b(e,n,t,r,o,i){var a=!0;(a=0<e[re]?vi(n,e,{item:r,properties:o,sysProperties:i,context:t?t[io]:null,aborted:!!t&&!!t[ao]},"initializer"):a)&&p[ho](r,o,i)}e(),p.initialize=function(e,n,t,r){var o,l,i;p.isInitialized()||(a.initialize(e,n,t,r),t=Dt("ajax"),i=(r=n&&n.evtNamespace&&n.evtNamespace())?jt("xx",i=Y(r)?[t].concat(r):[t,r]).ns[ze]("."):t,U=i,o=tr(null,n=e,p[ae]),_=xi(),J(mi(),function(e,n){_[e]=o.getConfig(le.identifier,e,n)}),r=_[yo],M=_.enableRequestHeaderTracking,D=_.enableAjaxErrorStatusText,E=_.enableAjaxPerfTracking,H=_.maxAjaxCallsPerView,N=_.enableResponseHeaderTracking,L=[].concat(_.excludeRequestFromAutoTrackingPatterns||[],!1!==_.addIntEndpoints?yi:[]),F=_.addRequestContext,q=0===r||1===r,k=1===r||2===r,E&&(t=n.instrumentationKey||"unkwn",S=5<t[re]?$o+t.substring(t[re]-5)+".":$o+t+"."),R=!!_.disableAjaxTracking,j=!!_.disableFetchTracking,!ai(p,O)||R||I||(c(XMLHttpRequest,"open",{ns:U,req:function(e,n,t,r){var o,i,a,u,c;R||(e=e[ro],o=ui(e,O),!d(e,t)&&s(e,o,!0)&&(o&&o.xhrMonitoringState[Co]||(u=e,n=n,t=t,r=r,c=(i=v())&&i[Mo]()||Lt(),a=Lt().substr(0,16),(c=(u=(u=u[Jo]=u[Jo]||{xh:[],i:{}}).i=u.i||{})[O]=u[O]||new Go(c,a,p[Bo](),null==(u=p.core)?void 0:u.getTraceCtx()))[ie]=i&&i[Do](),c[Ao]=n,c[te]=t,c.xhrMonitoringState[Co]=!0,c[ue]={},c["async"]=r,c[ko]=D,o=c),g(e,o)))},hkErr:fi(p,15,Zo+".open"+Qo)}),c(XMLHttpRequest,"send",{ns:U,req:function(e,n){var t;R||s(e=e[ro],t=ui(e,O))&&!t.xhrMonitoringState[Io]&&(h("xhr",t),t[wo]=zr(),p[so](t,undefined,undefined,e),t.xhrMonitoringState[Io]=!0)},hkErr:fi(p,17,Zo+Qo)}),c(XMLHttpRequest,"abort",{ns:U,req:function(e){R||s(e=e[ro],e=ui(e,O))&&!e.xhrMonitoringState[_o]&&(e[ao]=1,e.xhrMonitoringState[_o]=!0)},hkErr:fi(p,13,Zo+".abort"+Qo)}),c(XMLHttpRequest,"setRequestHeader",{ns:U,req:function(e,n,t){var r;R||(e=e[ro],(r=ui(e,O))&&s(e,r)&&(e&&(e=(e[Jo]||{}).xh)&&e.push({n:n,v:t}),M&&f(n)&&r&&(r[ue][n]=t)))},hkErr:fi(p,71,Zo+".setRequestHeader"+Qo)}),I=!0),(e=!(i=fe())||$(i.Request)||$(i.Request[K])||$(i[Yo])?null:i[Yo])&&(r=fe(),l=e.polyfill,j||C?l&&u(pr(r,Yo,{ns:U,req:function(e,n,t){d(null,n,t)}})):(u(pr(r,Yo,{ns:U,req:function(e,n,t){var r,o,i,a,u,c,s;j||!C||d(null,n,t)||l&&I||(r=e.ctx(),o=n,i=t,c=(a=v())&&a[Mo]()||Lt(),u=Lt().substr(0,16),(u=new Go(c,u,p[Bo](),null==(c=p.core)?void 0:c.getTraceCtx()))[ie]=a&&a[Do](),u[wo]=zr(),u[ko]=D,o instanceof Request?u[te]=o?o.url:"":u[te]=o,c="GET",i&&i[Ao]?c=i[Ao]:o&&o instanceof Request&&(c=o[Ao]),u[Ao]=c,s={},M&&new Headers((i?i[po]:0)||o instanceof Request&&o[po]||{}).forEach(function(e,n){f(n)&&(s[n]=e)}),u[ue]=s,h(Yo,u),a=u,(c=p[so](a,n,t))!==t&&e.set(1,c),r.data=a)},rsp:function(e,t){var r;j||(r=e.ctx().data)&&(e.rslt=e.rslt.then(function(n){return x(0,(n||{})[ce],t,n,r,function(){var t,e={statusText:(n||{})[To],headerMap:null,correlationContext:T(n)};return N&&n&&(t={},n.headers.forEach(function(e,n){f(n)&&(t[n]=e)}),e[bo]=t),e}),n})["catch"](function(e){throw x(0,0,t,null,r,null,e.message||ee(e)),e}))},hkErr:fi(p,15,"Failed to monitor Window.fetch"+Qo)},!0,function(){if(null==ii)try{ii=!!(self&&self instanceof WorkerGlobalScope)}catch(e){ii=!1}return ii}())),C=!0),l&&(r[Yo].polyfill=l)),(n=p[ae].getPlugin("AppInsightsPropertiesPlugin"))&&(A=n.plugin[io]))},p._doTeardown=function(){e()},p.trackDependencyData=function(e,n){b(V,p[ae],null,e,n)},p[so]=function(e,n,t,r){var o,i,a,u,c=p._currentWindowHost||w,s=z,l=p[ae],f=e,d=t;return 0<s[re]&&(vi(l,s,s={core:l,xhr:r,input:n,init:d,traceId:f[oe],spanId:f[oo],traceFlags:f[ie],context:f[io]||{},aborted:!!f[ao]},"listener"),f[oe]=s[uo],f[oo]=s[co],f[ie]=s[ie],f[io]=s[io]),n||""===n?(Or[lo](_,e[fo](),c)&&(t=t||{},l=new Headers(t[po]||n instanceof Request&&n[po]||{}),q&&(o="|"+e[oe]+"."+e[oo],l.set(ne[3],o),M&&(e[ue][ne[3]]=o)),(i=_[vo]||A&&A[vo]())&&(l.set(ne[0],ne[2]+i),M&&(e[ue][ne[0]]=ne[2]+i)),k&&($(a=e[ie])&&(a=1),u=$t(Kt(e[oe],e[oo],a)),l.set(ne[4],u),M&&(e[ue][ne[4]]=u)),t[po]=l),t):r?(Or[lo](_,e[fo](),c)&&(q&&(ci(r,ne[3])?se(p,71,"Unable to set ["+ne[3]+"] as it has already been set by another instance"):(o="|"+e[oe]+"."+e[oo],r[go](ne[3],o),M&&(e[ue][ne[3]]=o))),(i=_[vo]||A&&A[vo]())&&(ci(r,ne[0])?se(p,71,"Unable to set ["+ne[0]+"] as it has already been set by another instance"):(r[go](ne[0],ne[2]+i),M&&(e[ue][ne[0]]=ne[2]+i))),k&&($(a=e[ie])&&(a=1),ci(r,ne[4])?se(p,71,"Unable to set ["+ne[4]+"] as it has already been set by another instance"):(u=$t(Kt(e[oe],e[oo],a)),r[go](ne[4],u),M&&(e[ue][ne[4]]=u)))),r):undefined},p[ho]=function(e,n,t){-1===H||r<H?(2!==_[yo]&&1!==_[yo]||"string"!=typeof e.id||"."===e.id[e.id[re]-1]||(e.id+="."),$(e[mo])&&(e[mo]=new Date),e=function(e,n,t,r,o,i){var a;if(t=kr(r,t)||gr,$(e)||$(n)||$(t))throw Error("Input doesn't contain all required fields");var r="",u=(e[hr]&&(r=e[hr],delete e[hr]),(a={})[xr]=t,a.time=function(e){if(e){if(yn)return e[sn]();var n;return e&&e.getUTCFullYear?(n=function(e){e=""+e;return 1===e[W]?"0"+e:e},e.getUTCFullYear()+"-"+n(1+e.getUTCMonth())+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"):void 0}}(new Date),a.iKey=r,a.ext=i||{},a.tags=[],a.data={},a.baseType=n,a.baseData=e,a);return $(o)||J(o,function(e,n){u.data[e]=n}),u}(e,Xr.dataType,Xr.envelopeType,p[Bo](),n,t),p[ae].track(e)):r===H&&li(p,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0),++r},p.addDependencyListener=function(e){return pi(z,n++,e)},p.addDependencyInitializer=function(e){return pi(V,n++,e)}}),e}_(le,gi=e),le.prototype.processTelemetry=function(e,n){this.processNext(e,n)},le.prototype.addDependencyInitializer=function(e){return null},le.identifier="AjaxDependencyPlugin",le.getDefaultConfig=mi,le.getEmptyConfig=xi,a.AjaxPlugin=le,a.DfltAjaxCorrelationHeaderExDomains=hi,a.ajaxRecord=Go}); | ||
//# sourceMappingURL=applicationinsights-dependencies-js.min.js.map |
/* | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Microsoft Application Insights XHR dependencies plugin, 2.8.19-nightly.2404-09 | ||
* Microsoft Application Insights XHR dependencies plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-09 | ||
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
*/ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}))}(this,function(u){"use strict";var c="function",le="object",l="undefined",X="prototype",f="hasOwnProperty",t=Object,T=t[X],e=t.assign,b=t.create,n=t.defineProperty,C=T[f],I=null;function fe(e){e=!1===(e=void 0===e||e)?null:I;return e||((e=(e=(e=typeof globalThis!==l?globalThis:e)||typeof self===l?e:self)||typeof window===l?e:window)||typeof global===l||(e=global),I=e),e}function w(e){throw new TypeError(e)}(fe()||{}).Symbol,(fe()||{}).Reflect;var de=e||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])T[f].call(n,o)&&(e[o]=n[o]);return e},_=function(e,n){return(_=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[f](t)&&(e[t]=n[t])})(e,n)};function M(e,n){function t(){this.constructor=e}typeof n!==c&&null!==n&&w("Class extends value "+n+" is not a constructor or null"),_(e,n),e[X]=null===n?function(e){if(b)return b(e);if(null==e)return{};var n=typeof e;function t(){}return n!==le&&n!==c&&w("Object prototype may only be an Object:"+e),t[X]=e,new t}(n):(t[X]=n[X],new t)}var e="undefined",A="constructor",v="prototype",D="function",k="_dynInstFuncs",q="_isDynProxy",S="_dynClass",E="_dynInstChk",H=E,N="_dfOpts",P="_unknown_",R="__proto__",j="_dyn"+R,r="__dynProto$Gbl",L="_dynInstProto",F="useBaseInst",U="setInstFuncs",O=Object,z=O.getPrototypeOf,V=O.getOwnPropertyNames,e=(o=(o=(o=(o=typeof globalThis!=e?globalThis:o)||typeof self==e?o:self)||typeof window==e?o:window)||typeof global==e?o:global)||{},pe=e[r]||(e[r]={o:((o={})[U]=!0,o[F]=!0,o),n:1e3});function g(e,n){return e&&O[v].hasOwnProperty.call(e,n)}function ve(e){return e&&(e===O[v]||e===Array[v])}function ge(e){return ve(e)||e===Function[v]}function he(e){if(e){if(z)return z(e);var n=e[R]||e[v]||(e[A]?e[A][v]:null),t=e[j]||n;g(e,j)||(delete e[L],t=e[j]=e[L]||e[j],e[L]=n)}return t}function ye(e,n){var t=[];if(V)t=V(e);else for(var r in e)"string"==typeof r&&g(e,r)&&t.push(r);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function me(e,n,t){return n!==A&&typeof e[n]===D&&(t||g(e,n))&&n!==R&&n!==v}function xe(e){throw new TypeError("DynamicProto: "+e)}function Te(){return Object.create&&(e=Object.create)?e(null):{};var e}function be(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function Ce(e,n){return g(e,v)?e.name||n||P:((e||{})[A]||{}).name||n||P}function Ie(e,r,n,t){g(e,v)||xe("theClass is an invalid class definition.");var o,i,a,u,c,s,l=e[v],f=(function(e){if(!z)return 1;for(var n=[],t=he(r);t&&!ge(t)&&!be(n,t);){if(t===e)return 1;n.push(t),t=he(t)}}(l)||xe("["+Ce(e)+"] not in hierarchy of ["+Ce(r)+"]"),null),e=(g(l,S)?f=l[S]:(f="_dynCls$"+Ce(e,"_")+"$"+pe.n,pe.n++,l[S]=f),Ie[N]),d=!!e[F],p=(d&&t&&t[F]!==undefined&&(d=!!t[F]),o=r,i=Te(),ye(o,function(e){!i[e]&&me(o,e,!1)&&(i[e]=o[e])}),i),d=(n(r,function(e,n,t,i){function r(e,n,t){var r,o=n[t];return o[q]&&i&&!1!==(r=e[k]||{})[H]&&(o=(r[n[S]]||{})[t]||o),function(){return o.apply(e,arguments)}}for(var o=Te(),a=(ye(t,function(e){o[e]=r(n,t,e)}),he(e)),u=[];a&&!ge(a)&&!be(u,a);)ye(a,function(e){!o[e]&&me(a,e,!z)&&(o[e]=r(n,a,e))}),u.push(a),a=he(a);return o}(l,r,p,d)),!!z&&!!e[U]);a=l,n=f,u=r,c=p,e=!1!==(d=d&&t?!!t[U]:d),ve(a)||ve(l=u[k]=u[k]||Te())||(s=l[n]=l[n]||Te(),!1!==l[H]&&(l[H]=!!e),ve(s)||ye(u,function(e){var t,r,o;me(u,e,!1)&&u[e]!==c[e]&&(s[e]=u[e],delete u[e],g(a,e)&&(!a[e]||a[e][q])||(a[e]=(t=a,r=e,(o=function(){var e,n;return(function(e,n,t,r){var o=null;if(e&&g(t,S)){var i=e[k]||Te();if((o=(i[t[S]]||Te())[n])||xe("Missing ["+n+"] "+D),!o[E]&&!1!==i[H]){for(var a=!g(e,n),u=he(e),c=[];a&&u&&!ge(u)&&!be(c,u);){var s=u[n];if(s){a=s===r;break}c.push(u),u=he(u)}try{a&&(e[n]=o),o[E]=1}catch(l){i[H]=!1}}}return o}(this,r,t,o)||(typeof(n=(n=t[e=r])===o?he(t)[e]:n)!==D&&xe("["+e+"] is not a "+D),n)).apply(this,arguments)})[q]=1,o)))}))}Ie[N]=pe.o;var we="name",_e="identifier",K="push",Me="isInitialized",Ae="config",De="logger",G="length",ke="time",h="processNext",qe="getPlugin",Se="splice",Ee="teardown",He="messageId",Ne="message",Pe="isAsync",Re="_doTeardown",je="update",Le="getNext",Fe="diagLog",Ue="setNextPlugin",Oe="createNew",ze="userAgent",Ve="split",Xe="substr",Ke="nodeType",Ge="apply",We="replace",Be="enableDebugExceptions",$e="toLowerCase",p="call",Je="type",Ye="isChildEvt",Ze="getCtx",s="setCtx",Qe="complete",en="traceId",nn="traceFlags",tn="version",d="",y="core",rn="disabled",on="extensionConfig",an="processTelemetry",un="priority",cn="errorToConsole",sn="warnToConsole",ln="getPerfMgr",fn="toISOString",dn="indexOf",pn="trim",r="toString",vn="constructor",gn=n,hn=t.freeze,yn=(t.seal,t.keys),e=String[X],mn=e[pn],xn=(e.endsWith,e.startsWith,Date[X][fn]),o=Array.isArray,Tn=T[r],bn=C[r],Cn=bn[p](t),In=/-([a-z])/g,wn=/([^\w\d_$])/g,_n=/^(\d+[\w\d_$])/,Mn=Object.getPrototypeOf;function An(e){if(e){if(Mn)return Mn(e);e=e.__proto__||e[X]||e[vn];if(e)return e}return null}function Dn(e){return e===undefined||typeof e===l}function W(e){return null===e||Dn(e)}function kn(e){return!(!e||typeof e!==le)}function B(e){return!(!e||typeof e!==c)}function qn(e){var n=e;return e&&En(e)?(n=(n=e[We](In,function(e,n){return n.toUpperCase()}))[We](wn,"_"))[We](_n,function(e,n){return"_"+n}):n}function $(e,n){if(e)for(var t in e)C[p](e,t)&&n[p](e,t,e[t])}function Sn(e,n){return!(!e||!n||!~e.indexOf(n))}var J=o||function(e){return!(!e||"[object Array]"!==Tn[p](e))};function En(e){return"string"==typeof e}function Hn(e){return e&&"object"==typeof e&&(!(e=(Mn||An)(e))||typeof(e=e[vn]&&C[p](e,vn)?e[vn]:e)===c&&bn[p](e)===Cn)}function Y(e,n,t){var r=e[G];try{for(var o=0;o<r&&!(o in e&&-1===n[p](t||e,e[o],o,e));o++);}catch(i){}}function Nn(e){return e&&(mn&&e[pn]?e[pn]():e[We]?e[We](/^\s+|(?=\s)\s+$/g,d):e)}var Pn=!{toString:null}.propertyIsEnumerable("toString"),Rn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function jn(e){var n=typeof e;if(n===c||n===le&&null!==e||w("objKeys called on non-object"),!Pn&&yn)return yn(e);var t,r=[];for(t in e)e&&C[p](e,t)&&r[K](t);if(Pn)for(var o=Rn[G],i=0;i<o;i++)e&&C[p](e,Rn[i])&&r[K](Rn[i]);return r}function Ln(e){return hn&&$(e,function(e,n){(J(n)||kn(n))&&hn(n)}),Fn(e)}var Fn=hn||function(e){return e};function Un(){var e=Date;return e.now?e.now():(new e).getTime()}function On(e,n){return W(e)?n:e}var zn="window",Vn="documentMode",Xn="console",Kn="performance",Gn="JSON",Wn="crypto",Bn="msCrypto",$n="msie",Jn="trident/",Yn="XMLHttpRequest",Zn=null,Qn=null;function Z(e){var n=fe();return n&&n[e]?n[e]:e===zn&&typeof window===le&&window?window:null}function et(){return typeof document===le&&document?document:Z("document")}function nt(){return typeof navigator===le&&navigator?navigator:Z("navigator")}function tt(){return Z(Kn)}function rt(){return typeof JSON===le&&JSON||null!==Z(Gn)}function ot(){return rt()?JSON||Z(Gn):null}function Q(e){var n=Object[X].toString[p](e),t=d;return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[we]+"'":rt()&&(t=ot().stringify(e)),n+t}var it=null;function at(e){return e?'"'+e[We](/\"/g,d)+'"':d}function ut(e,n){var t,r=typeof console!==l?console:Z(Xn);r&&(t="log",B(r[t=r[e]?e:t])&&r[t](n))}st.dataType="MessageData";var ct=st;function st(e,n,t,r){void 0===t&&(t=!1),this[He]=e,this[Ne]=(t?"AI: ":"AI (Internal): ")+e;t=d,rt()&&(t=ot().stringify(r)),e=(n?" message:"+at(n):d)+(r?" props:"+at(t):d);this[Ne]+=e}ft.__ieDyn=1;var lt=ft;function ft(o){this.identifier="DiagnosticLogger",this.queue=[];var c,s,l,f,d=0,p={};Ie(ft,this,function(i){var e;function a(e,n){var t,r;l<=d||(r=!0,t="AITR_"+n[He],p[t]?r=!1:p[t]=!0,r&&(e<=s&&(i.queue[K](n),d++,u(1===e?"error":"warn",n)),d===l&&(r=new ct(23,t="Internal events throttle limit per PageView reached for this app.",!1),i.queue[K](r),1===e?i[cn](t):i[sn](t))))}function u(e,n){var t,r=(t=(t=it)||!0===(o||{}).disableDbgExt?t:it||(r=Z("Microsoft"),it=r?r.ApplicationInsights:it))?t.ChromeDbgExt:null;r&&r[Fe]&&r[Fe](e,n)}c=On((e=o||{}).loggingLevelConsole,0),s=On(e.loggingLevelTelemetry,1),l=On(e.maxMessageLimit,25),f=On(e.enableDebug,On(e[Be],!1)),i.consoleLoggingLevel=function(){return c},i.telemetryLoggingLevel=function(){return s},i.maxInternalMessageLimit=function(){return l},i[Be]=function(){return f},i.throwInternal=function(e,n,t,r,o){n=new ct(n,t,o=void 0!==o&&o,r);if(f)throw Q(n);t=1===e?cn:sn;Dn(n[Ne])?u("throw"+(1===e?"Critical":"Warning"),n):(o?(r=+n[He],!p[r]&&e<=c&&(i[t](n[Ne]),p[r]=!0)):e<=c&&i[t](n[Ne]),a(e,n))},i[sn]=function(e){ut("warn",e),u("warning",e)},i[cn]=function(e){ut("error",e),u("error",e)},i.resetInternalMessageCount=function(){d=0,p={}},i.logInternalMessage=a})}function m(e,n,t,r,o,i){void 0===i&&(i=!1),(e||new lt).throwInternal(n,t,r,o,i)}var dt="ParentContextKey",pt="ChildrenContextKey",vt=(gt.ParentContextKey="parent",gt.ChildrenContextKey="childEvts",gt);function gt(e,o,n){var r,i=this,a=!1;i.start=Un(),i[we]=e,i[Pe]=n,i[Ye]=function(){return!1},B(o)&&(a=function(e){if(gn)try{var n={enumerable:!0,configurable:!0,get:function(){return!r&&B(o)&&(r=o(),o=null),r}};return gn(e,"payload",n),!0}catch(t){}return!1}(i)),i[Ze]=function(e){return e?(e===gt[dt]||e===gt[pt]?i:i.ctx||{})[e]:null},i[s]=function(e,n){e&&(e===gt[dt]?(i[e]||(i[Ye]=function(){return!0}),i[e]=n):e===gt[pt]?i[e]=n:(i.ctx=i.ctx||{})[e]=n)},i[Qe]=function(){var e=0,n=i[Ze](gt[pt]);if(J(n))for(var t=0;t<n[G];t++){var r=n[t];r&&(e+=r[ke])}i[ke]=Un()-i.start,i.exTime=i[ke]-e,i[Qe]=function(){},!a&&B(o)&&(i.payload=o())}}var ht="CoreUtils.doPerf";function yt(e,n,t,r,o){if(e)if(e=e[ln]?e[ln]():e){var i,a=void 0,u=e[Ze](ht);try{if(a=e.create(n(),r,o))return u&&a[s]&&(a[s](vt[dt],u),u[Ze]&&u[s]&&((i=u[Ze](vt[pt]))||(i=[],u[s](vt[pt],i)),i[K](a))),e[s](ht,a),t(a)}catch(c){a&&a[s]&&a[s]("exception",c)}finally{a&&e.fire(a),e[s](ht,u)}}t()}var mt=4294967296,xt=4294967295,Tt=!1,bt=123456789,Ct=987654321;function It(e){var n,t=0,r=Z(Wn)||Z(Bn);if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&xt:t)&&(!(r=nt())||r[ze]===Qn&&null!==Zn||(r=((Qn=r[ze])||d)[$e](),Zn=Sn(r,$n)||Sn(r,Jn)),Zn)){if(!Tt)try{var o=2147483647&Un();(n=(Math.random()*mt^o)+o)<0&&(n>>>=0),bt=123456789+n&xt,Ct=987654321-n&xt,Tt=!0}catch(i){}r=((Ct=36969*(65535&Ct)+(Ct>>16)&xt)<<16)+(65535&(bt=18e3*(65535&bt)+(bt>>16)&xt))>>>0&xt|0,t=(r>>>=0)&xt}return 0===t&&(t=Math.floor(mt*Math.random()|0)),e||(t>>>=0),t}var wt=n,_t="2.8.19-nightly.2404-09",Mt="."+function(e){void 0===e&&(e=22);for(var n=It()>>>0,t=0,r=d;r[G]<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(It()<<2&4294967295|3&n)>>>0,t=0);return r}(6),At=0;function Dt(e){return 1===e[Ke]||9===e[Ke]||!+e[Ke]}function kt(e,n){return qn(e+At+++((n=void 0!==n&&n)?"."+_t:d)+Mt)}function qt(e){var i={id:kt("_aiData-"+(e||d)+"."+_t),accept:Dt,get:function(e,n,t,r){var o=e[i.id];return o?o[qn(n)]:(r&&((o=function(e,n){var t=n[e.id];if(!t){t={};try{Dt(n)&&!function(e,n,t){if(wt)try{return wt(e,n,{value:t,enumerable:!1,configurable:!0}),1}catch(r){}}(n,e.id,t)&&(n[e.id]=t)}catch(r){}}return t}(i,e))[qn(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}};return i}var St="attachEvent",Et="addEventListener",Ht=(kt("aiEvtPageHide"),kt("aiEvtPageShow"),/\.[\.]+/g),Nt=/[\.]+$/,Pt=1,Rt=qt("events"),jt=/^([^.]*)(?:\.(.+)|)/;function Lt(e){return e&&e[We]?e[We](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,d):e}function Ft(e,n){n&&(t=d,J(n)?(t=d,Y(n,function(e){(e=Lt(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=Lt(n),t&&("."!==t[0]&&(t="."+t),e=(e||d)+t));var t,n=jt.exec(e||d)||[],e={};return e[Je]=n[1],e.ns=(n[2]||d).replace(Ht,".").replace(Nt,d)[Ve](".").sort().join("."),e}function Ut(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=d,r=0;r<4;r++)t+=n[15&(e=It())]+n[e>>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 o=n[8+(3&It())|0];return t[Xe](0,8)+t[Xe](9,4)+"4"+t[Xe](13,3)+o+t[Xe](16,3)+t[Xe](19,12)}var Ot="00",zt="ff",Vt="00000000000000000000000000000000",Xt="0000000000000000";function Kt(e,n,t){return e&&e[G]===n&&e!==t&&e.match(/^[\da-f]*$/i)}function Gt(e,n,t){return Kt(e,n)?e:t}function Wt(e,n,t,r){var o={};return o[tn]=Kt(r,2,zt)?r:Ot,o[en]=Bt(e)?e:Ut(),o.spanId=$t(n)?n:Ut()[Xe](0,16),o.traceFlags=0<=t&&t<=255?t:1,o}function Bt(e){return Kt(e,32,Vt)}function $t(e){return Kt(e,16,Xt)}function Jt(e){var n,t;return e?(Kt(n=function(e){for(var n=(e=isNaN(e)||e<0||255<e?1:e).toString(16);n[G]<2;)n="0"+n;return n}(e[nn]),2)||(n="01"),t=e[tn]||Ot,"".concat((t="00"!==t&&"ff"!==t?Ot:t).toLowerCase(),"-").concat(Gt(e.traceId,32,Vt).toLowerCase(),"-").concat(Gt(e.spanId,16,Xt).toLowerCase(),"-").concat(n.toLowerCase())):""}var Yt=qt("plugin");function Zt(e){return Yt.get(e,"state",{},!0)}var Qt="TelemetryPluginChain",er="_hasRun",nr="_getTelCtx",tr=0;function rr(e,a,t,n){var r=null,o=[],i=(null!==n&&(r=n?function(e,n,t){for(;e;){if(e[qe]()===t)return e;e=e[Le]()}return ir([t],n[Ae]||{},n)}(e,t,n):e),{_next:function(){var e,n=r;return r=n?n[Le]():null,n||(e=o)&&0<e[G]&&(Y(e,function(e){try{e.func[p](e.self,e.args)}catch(n){m(t[De],2,73,"Unexpected Exception during onComplete - "+Q(n))}}),o=[]),n},ctx:{core:function(){return t},diagLog:function(){return(t||{})[De]||new lt(a)},getCfg:function(){return a},getExtCfg:u,getConfig:function(e,n,t){void 0===t&&(t=!1);var r,e=u(e,null);return e&&!W(e[n])?r=e[n]:a&&!W(a[n])&&(r=a[n]),W(r)?t:r},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(e){r=e},iterate:function(e){for(;n=i._next();){var n=n[qe]();n&&e(n)}},onComplete:function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e&&o[K]({func:e,self:Dn(n)?i.ctx:n,args:t})}}});function u(e,n,t){var r,o,i;return void 0===n&&(n={}),void 0===t&&(t=0),(r=a&&(o=a[on])&&e?o[e]:r)?kn(n)&&0!==t&&(i=function d(){var e=arguments,n=e[0]||{},t=e[G],r=!1,o=1;for(0<t&&"boolean"==typeof n&&(r=n,n=e[o]||{},o++),kn(n)||(n={});o<t;o++){var i,a,u,c,s=e[o],l=J(s),f=kn(s);for(i in s)(l&&i in s||f&&C[p](s,i))&&(a=s[i],u=void 0,r&&a&&((u=J(a))||Hn(a))&&(c=n[i],u?J(c)||(c=[]):Hn(c)||(c={}),a=d(r,c,a)),a!==undefined&&(n[i]=a))}return n}(!0,n,r),a&&2===t&&$(n,function(e){var n;W(i[e])&&!W(n=a[e])&&(i[e]=n)}),r=i):r=n,r}return i}function or(e,t,r,n){var o=rr(e,t,r,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n[an](e,i),!n},i[Oe]=function(e,n){return or((e=J(e=void 0===e?null:e)?ir(e,t,r,n):e)||i[Le](),t,r,n)},i}function ir(e,n,t,r){var o,i=null,a=!r;return J(e)&&0<e[G]&&(o=null,Y(e,function(e){(a=!a&&r===e||a)&&e&&B(e[an])&&(e=ar(e,n,t),i=i||e,o&&o._setNext(e),o=e)})),r&&!i?ir([r],n,t):i}function ar(c,r,o){var s=null,i=B(c[an]),a=B(c[Ue]),l=c?c[_e]+"-"+c[un]+"-"+tr++:"Unknown-0-"+tr++,u={getPlugin:function(){return c},getNext:function(){return s},processTelemetry:function(t,e){var n;f(e=e||(n=(n=c&&B(c[nr])?c[nr]():n)||or(u,r,o)),function(e){if(!c||!i)return!1;var n=Zt(c);return!n[Ee]&&!n[rn]&&(a&&c[Ue](s),c[an](t,e),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||e[h](t)},unload:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Zt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Ee]||(e[y]=null,e[Ee]=!0,e[Me]=!1,c[Ee]&&!0===c[Ee](r,o)&&(t=!0))),t},"unload",function(){},o[Pe])||r[h](o)},update:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Zt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Ee]||c[je]&&!0===c[je](r,o)&&(t=!0)),t},"update",function(){},!1)||r[h](o)},_id:l,_setNext:function(e){s=e}};function f(t,r,o,e,n){var i=!1,a=c?c[_e]:Qt,u=(u=t[er])||(t[er]={});return t.setNext(s),c&&yt(t[y](),function(){return a+":"+o},function(){u[l]=!0;try{var e=s?s._id:d;e&&(u[e]=!1),i=r(t)}catch(n){e=!s||u[s._id];e&&(i=!0),s&&e||m(t[Fe](),1,73,"Plugin ["+a+"] failed during "+o+" - "+Q(n)+", run flags: "+Q(u))}},e,n),i}return Fn(u)}function ur(){var n=[];return{add:function(e){e&&n[K](e)},run:function(t,r){Y(n,function(e){try{e(t,r)}catch(n){m(t[Fe](),2,73,"Unexpected error calling unload handler - "+Q(n))}}),n=[]}}}var cr="getPlugin",e=(sr.__ieDyn=1,sr);function sr(){var i,a,l,f,d,u=this;function n(e){var n,e=e=void 0===e?null:e;return e||(n=a||or(null,{},u[y]),e=l&&l[cr]?n[Oe](null,l[cr]):n[Oe](null,l)),e}function c(e,n,t){e&&(r=o=[],e&&(r=e[on])!==o&&W(r)&&(e[on]=r=o)),!t&&n&&(t=n.getProcessTelContext()[Le]());var r,o=l;l&&l[cr]&&(o=l[cr]()),u[y]=n,a=or(t,e,n,o)}function p(){i=!1,u[y]=null,l=a=null,d=[],f=ur()}p(),Ie(sr,u,function(s){var e,n,t,r,o;s.initialize=function(e,n,t,r){c(e,n,r),i=!0},s[Ee]=function(e,n){var t,r,o,i,a=s[y];if(a&&(!e||a===e[y]()))return r=!1,o=e||function c(e,t,n){var r=t[Ae]||{},o=rr(e,r,t,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n.unload(i,e),!n},i[Oe]=function(e,n){return c((e=J(e=void 0===e?null:e)?ir(e,r,t,n):e)||i[Le](),t,n)},i}(null,a,l&&l[cr]?l[cr]():l),i=n||((e={reason:0})[Pe]=!1,e),s[Re]&&!0===s[Re](o,i,u)?t=!0:u(),t;function u(){var e;r||(r=!0,f.run(o,n),e=d,d=[],Y(e,function(e){e.rm()}),!0===t&&o[h](i),p())}},s[je]=function(e,n){var t,r,o,i=s[y];if(i&&(!e||i===e[y]()))return r=!1,o=e||function u(e,t,n){var r=t[Ae]||{},o=rr(e,r,t,n).ctx;return o[h]=function(n){return o.iterate(function(e){B(e[je])&&e[je](o,n)})},o[Oe]=function(e,n){return u((e=J(e=void 0===e?null:e)?ir(e,r,t,n):e)||o[Le](),t,n)},o}(null,i,l&&l[cr]?l[cr]():l),s._doUpdate&&!0===s._doUpdate(o,n||{reason:0},a)?t=!0:a(),t;function a(){r||(r=!0,c(o.getCfg(),o.core(),o[Le]()))}},s._addHook=function(e){e&&(J(e)?d=d.concat(e):d[K](e))},t="_addUnloadCb",n=function(){return f},(e=s)&&n&&(e[t]=(o=r=null,B(t=n)?r=t:o=t,function(){var e=arguments;if(o=r?r():o)return o.add[Ge](o,e)}))}),u[Fe]=function(e){return n(e)[Fe]()},u[Me]=function(){return i},u.setInitialized=function(e){i=e},u[Ue]=function(e){l=e},u[h]=function(e,n){n?n[h](e):l&&B(l[an])&&l[an](e,null)},u._getTelCtx=n}var lr="_aiHooks",fr=["req","rsp","hkErr","fnErr"];function dr(e,n){if(e)for(var t=0;t<e[G]&&!n(e[t],t);t++);}function pr(e,a,u,c,s){0<=s&&s<=2&&dr(e,function(e,n){var e=e.cbks,t=e[fr[s]];if(t){a.ctx=function(){return c[n]=c[n]||{}};try{t[Ge](a.inst,u)}catch(o){t=a.err;try{var r=e.hkErr;r&&(a.err=o,r[Ge](a.inst,u))}catch(i){}finally{a.err=t}}}})}function vr(c){return function(){var t=arguments,e=c.h,r=((n={})[we]=c.n,n.inst=this,n.ctx=null,n.set=function(e,n){(t=i([],t))[e]=n,o=i([r],t)},n),n=[],o=i([r],t);function i(n,e){return dr(e,function(e){n[K](e)}),n}r.evt=Z("event"),pr(e,r,o,n,0);var a=c.f;if(a)try{r.rslt=a[Ge](this,t)}catch(u){throw r.err=u,pr(e,r,o,n,3),u}return pr(e,r,o,n,1),r.rslt}}function gr(e,n,t,r,o){if(void 0===r&&(r=!0),e&&n&&t){e=function a(e,n,t,r){var o=null;return e&&(C[p](e,n)?o=e:t&&(o=a(An(e),n,r,!1))),o}(e,n,r,o);if(e){r=e[n];if(typeof r===c)return o=e,e=n,n=t,(i=r&&r[lr])||((t=vr(i={i:0,n:e,f:r,h:[]}))[lr]=i,o[e]=t),r={id:i.i,cbks:n,rm:function(){var t=this.id;dr(i.h,function(e,n){return e.id===t&&(i.h[Se](n,1),1)})}},i.i++,i.h[K](r),r}}var i;return null}var hr="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r="/v2/track",yr="not_specified",mr="iKey",x="length",xr="toLowerCase",Tr="toString",br="name",Cr="pathname",Ir="correlationHeaderExcludePatterns",wr="indexOf",_r="substring",Mr="";function Ar(e){var n=Mr+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,t=Mr+Math.floor(e/6e4)%60,r=Mr+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=Mr+e%1e3)[x]?"00"+e:2===e[x]?"0"+e:e,n=n[x]<2?"0"+n:n,t=t[x]<2?"0"+t:t,r=r[x]<2?"0"+r:r;return(0<o?o+".":Mr)+r+":"+t+":"+n+"."+e}Dr={},$({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]},function(e,n){Dr[e]=n[1],Dr[n[0]]=n[1]});var Dr,ee=Ln(Dr);function kr(e,n,t){var r=n[x],o=qr(e,n);if(o[x]!==r){for(var i=0,a=o;t[a]!==undefined;)i++,a=o[_r](0,147)+Rr(i);o=a}return o}function qr(e,n){var t;return n&&150<(n=Nn(n[Tr]()))[x]&&(t=n[_r](0,150),m(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),t||n}function Sr(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=Nn(n)).toString()[x]>t&&(r=n[Tr]()[_r](0,t),m(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function Er(e,n){return Pr(e,n,2048,66)}function Hr(r,e){var o;return e&&(o={},$(e,function(e,n){if(kn(n)&&rt())try{n=ot().stringify(n)}catch(t){m(r,2,49,"custom property is not valid",{exception:t},!0)}n=Sr(r,n,8192),e=kr(r,e,o),o[e]=n}),e=o),e}function Nr(t,e){var r;return e&&(r={},$(e,function(e,n){e=kr(t,e,r),r[e]=n}),e=r),e}function Pr(e,n,t,r){var o;return n&&(n=Nn(n))[x]>t&&(o=n[_r](0,t),m(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),o||n}function Rr(e){e="00"+e;return e.substr(e[x]-3)}(o={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=kr,o.sanitizeKey=qr,o.sanitizeString=Sr,o.sanitizeUrl=Er,o.sanitizeMessage=function(e,n){var t;return n&&32768<n[x]&&(t=n[_r](0,32768),m(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n},o.sanitizeException=function(e,n){var t,r;return n&&32768<(r=""+n)[x]&&(t=r[_r](0,32768),m(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),t||n},o.sanitizeProperties=Hr,o.sanitizeMeasurements=Nr,o.sanitizeId=function(e,n){return n&&Pr(e,n,128,69)[Tr]()},o.sanitizeInput=Pr,o.padNumber=Rr,o.trim=Nn;var jr=et()||{},Lr=0,Fr=[null,null,null,null,null];function Ur(t){var e=Lr,n=Fr,r=n[e];return jr.createElement?n[e]||(r=n[e]=jr.createElement("a")):r={host:function(){var e=Or(t,!0)||"";if(e){var n=e.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=n&&3<n[x]&&En(n[2])&&0<n[2][x])return n[2]+(n[3]||"")}return e}()},r.href=t,++e>=n[x]&&(e=0),Lr=e,r}function Or(e,n){var t=null;return e&&null!=(e=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<e[x]&&En(e[2])&&0<e[2][x]&&(t=e[2]||"",n&&2<e[x]&&(n=(e[1]||"")[xr](),e=e[3]||"",t+=e="http"===n&&":80"===e||"https"===n&&":443"===e?"":e)),t}var zr=["https://dc.services.visualstudio.com"+r,"https://breeze.aimon.applicationinsights.io"+r,"https://dc-int.services.visualstudio.com"+r],Vr={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,n,t){if(!n||e&&e.disableCorrelationHeaders)return!1;if(e&&e[Ir])for(var r=0;r<e.correlationHeaderExcludePatterns[x];r++)if(e[Ir][r].test(n))return!1;var o=Ur(n).host[xr]();if(!o||-1===o[wr](":443")&&-1===o[wr](":80")||(o=(Or(n,!0)||"")[xr]()),(!e||!e.enableCorsCorrelation)&&o&&o!==t)return!1;var i,t=e&&e.correlationHeaderDomains;if(t&&(Y(t,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a[x])return!0;for(r=0;r<a[x];r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o[x]},getCorrelationContext:function(e){if(e){e=Vr.getCorrelationContextValue(e,ee[1]);if(e&&e!==Vr.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,n){if(e)for(var t=e.split(","),r=0;r<t[x];++r){var o=t[r].split("=");if(2===o[x]&&o[0]===n)return o[1]}}};function Xr(){var e=tt();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return Un()}function Kr(e,n){return 0===e||0===n||W(e)||W(n)?null:n-e}Wr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Wr.dataType="RemoteDependencyData";var Gr=Wr;function Wr(e,n,t,r,o,i,a,u,c,s,l,f){void 0===c&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var d,p,v=this,t=(v.ver=2,v.id=n,v.duration=Ar(o),v.success=i,v.resultCode=a+"",v.type=Sr(e,c),n=e,o=u,c=a=i=r,a=(u=t)&&0<u[x]?(p=(t=Ur(u)).host,a||(null!=t[Cr]?("/"!=((d=0===t.pathname[x]?"/":t[Cr])[0]||"")&&(d="/"+d),c=t[Cr],Sr(n,o?o+" "+d:d)):Sr(n,u))):p=i,{target:p,name:a,data:c});v.data=Er(e,r)||t.data,v.target=Sr(e,t.target),s&&(v.target="".concat(v.target," | ").concat(s)),v[br]=Sr(e,t[br]),v.properties=Hr(e,l),v.measurements=Nr(e,f)}function Br(e){var n="ai."+e+".";return function(e){return n+e}}var $r,Jr,n=Br("application"),o=Br("device"),r=Br("location"),i=Br("operation"),Yr=Br("session"),a=Br("user"),Zr=Br("cloud"),Qr=Br("internal");function eo(){return $r.call(this)||this}Jr={applicationVersion:n("ver"),applicationBuild:n("build"),applicationTypeId:n("typeId"),applicationId:n("applicationId"),applicationLayer:n("layer"),deviceId:o("id"),deviceIp:o("ip"),deviceLanguage:o("language"),deviceLocale:o("locale"),deviceModel:o("model"),deviceFriendlyName:o("friendlyName"),deviceNetwork:o("network"),deviceNetworkName:o("networkName"),deviceOEMName:o("oemName"),deviceOS:o("os"),deviceOSVersion:o("osVersion"),deviceRoleInstance:o("roleInstance"),deviceRoleName:o("roleName"),deviceScreenResolution:o("screenResolution"),deviceType:o("type"),deviceMachineName:o("machineName"),deviceVMName:o("vmName"),deviceBrowser:o("browser"),deviceBrowserVersion:o("browserVersion"),locationIp:r("ip"),locationCountry:r("country"),locationProvince:r("province"),locationCity:r("city"),operationId:i("id"),operationName:i("name"),operationParentId:i("parentId"),operationRootId:i("rootId"),operationSyntheticSource:i("syntheticSource"),operationCorrelationVector:i("correlationVector"),sessionId:Yr("id"),sessionIsFirst:Yr("isFirst"),sessionIsNew:Yr("isNew"),userAccountAcquisitionDate:a("accountAcquisitionDate"),userAccountId:a("accountId"),userAgent:a("userAgent"),userId:a("id"),userStoreRegion:a("storeRegion"),userAuthUserId:a("authUserId"),userAnonymousUserAcquisitionDate:a("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:a("authUserAcquisitionDate"),cloudName:Zr("name"),cloudRole:Zr("role"),cloudRoleVer:Zr("roleVer"),cloudRoleInstance:Zr("roleInstance"),cloudEnvironment:Zr("environment"),cloudLocation:Zr("location"),cloudDeploymentUnit:Zr("deploymentUnit"),internalNodeName:Qr("nodeName"),internalSdkVersion:Qr("sdkVersion"),internalAgentVersion:Qr("agentVersion"),internalSnippet:Qr("snippet"),internalSdkSrc:Qr("sdkSrc")},M(eo,$r=function(){var t=this;$(Jr,function(e,n){t[e]=n})}),new eo;var no="duration",to="properties",ne="requestUrl",ro="inst",te="length",re="traceID",oo="spanID",oe="traceFlags",io="context",ao="aborted",uo="traceId",co="spanId",ie="core",so="includeCorrelationHeaders",lo="canIncludeCorrelationHeader",fo="getAbsoluteUrl",po="headers",ae="requestHeaders",vo="appId",go="setRequestHeader",ho="trackDependencyDataInternal",yo="distributedTracingMode",mo="startTime",xo="toLowerCase",ue="status",To="statusText",bo="headerMap",Co="openDone",Io="sendDone",wo="requestSentTime",_o="abortDone",Mo="getTraceId",Ao="getTraceFlags",Do="method",ko="errorStatusText",qo="stateChangeAttached",So="responseFinishedTime",Eo="CreateTrackItem",Ho="response",No="getAllResponseHeaders",Po="getPartAProps",Ro="getCorrelationContext",jo="perfMark",Lo="name",Fo="perfTiming",Uo="ajaxTotalDuration",Oo="eventTraceCtx";function zo(e,n,t){n=e[n],t=e[t];return n&&t?Kr(n,t):0}function Vo(e,n,t,r,o){t=zo(t,r,o);return t?Xo(e,n,Ar(t)):0}function Xo(e,n,t){var r="ajaxPerf",o=0;return e&&n&&t&&((e[r]=e[r]||{})[n]=t,o=1),o}var Ko=function(){var e=this;e[Co]=!1,e.setRequestHeaderDone=!1,e[Io]=!1,e[_o]=!1,e[qo]=!1},Go=(Wo.__ieDyn=1,Wo);function Wo(e,n,t,r){var o=this,i=t;o[jo]=null,o.completed=!1,o.requestHeadersSize=null,o[ae]=null,o.responseReceivingDuration=null,o.callbackDuration=null,o[Uo]=null,o[ao]=0,o.pageUrl=null,o[ne]=null,o.requestSize=0,o[Do]=null,o[ue]=null,o[wo]=null,o.responseStartedTime=null,o[So]=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new Ko,o.clientFailure=0,o[re]=e,o[oo]=n,o[oe]=null==r?void 0:r.getTraceFlags(),o[Oo]=r?((t={})[uo]=r[Mo](),t[co]=r.getSpanId(),t[oe]=r[Ao](),t):null,Ie(Wo,o,function(m){m.getAbsoluteUrl=function(){return m[ne]?(e=Ur(m[ne]))?e.href:void 0:null;var e},m.getPathName=function(){return m[ne]?Er(i,(e=m[Do],n=m[ne],e?e.toUpperCase()+" "+n:n)):null;var e,n},m[Eo]=function(e,n,t){if(m.ajaxTotalDuration=Math.round(1e3*Kr(m.requestSentTime,m.responseFinishedTime))/1e3,m[Uo]<0)return null;(y={id:"|"+m[re]+"."+m[oo],target:m[fo]()})[Lo]=m.getPathName(),y.type=e,y[mo]=null,y.duration=m[Uo],y.success=200<=+m[ue]&&+m[ue]<400,y.responseCode=+m[ue],y[to]={HttpMethod:m[Do]};var r,o,i,a,u,c,s,l,f,d,p,v,g,h,e=y,y=e[to];return m[ao]&&(y[ao]=!0),m[wo]&&(e[mo]=new Date,e[mo].setTime(m[wo])),a=(r=m)[Fo],u=(o=e)[to]||{},c=0,v="startTime",h="connectEnd",s="requestStart",g="responseEnd",l="transferSize",f="encodedBodySize",d="decodedBodySize",p="serverTiming",a?(c=(c=(c=(c=(c=(c=(c|=Vo(u,"End",a,"redirectStart","End"))|Vo(u,"domainLookup",a,"domainLookupStart","domainLookupEnd"))|Vo(u,"connect",a,"connectStart",h))|Vo(u,"request",a,s,"requestEnd"))|Vo(u,"response",a,"responseStart",g))|Vo(u,"networkConnect",a,v,h))|Vo(u,"sentRequest",a,s,g),h=a[no]||zo(a,v,g)||0,c=(c|=Xo(u,no,h))|Xo(u,"perfTotal",h),(s=a[p])&&(i={},Y(s,function(e,n){var n=qn(e.name||""+n),t=i[n]||{};$(e,function(e,n){!("name"!==e&&En(n)||"number"==typeof n)||!(n=t[e]?t[e]+";"+n:n)&&En(n)||(t[e]=n)}),i[n]=t}),c|=Xo(u,p,i)),c=(c=(c|=Xo(u,l,a[l]))|Xo(u,f,a[f]))|Xo(u,d,a[d])):r[jo]&&(c|=Xo(u,"missing",r.perfAttempts)),c&&(o[to]=u),n&&0<jn(m.requestHeaders)[te]&&(y[ae]=m[ae]),t&&(v=t())&&((g=v.correlationContext)&&(e.correlationContext=g),v[bo]&&0<jn(v.headerMap)[te]&&(y.responseHeaders=v[bo]),m[ko]&&(400<=m[ue]?(""!==(h=v.type)&&"text"!==h||(y.responseText=v.responseText?v[To]+" - "+v.responseText:v[To]),"json"===h&&(y.responseText=v.response?v[To]+" - "+JSON.stringify(v[Ho]):v[To])):0===m[ue]&&(y.responseText=v[To]||""))),e},m[Po]=function(){var e,n=null,t=m[Oo];return t&&(t[uo]||t[co])&&(e=(n={}).trace=((e={})[re]=t[uo],e.parentID=t[co],e),W(t[oe])||(e[oe]=t[oe])),n}})}var Bo="ai.ajxmn.",$o="diagLog",Jo="_ajaxData",Yo="fetch",Zo="Failed to monitor XMLHttpRequest",n=", monitoring data for this ajax call ",Qo=n+"may be incorrect.",ei=n+"won't be sent.",ni="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",ti="Failed to add custom defined request context as configured call back may missing a null check.",ri="Failed to calculate the duration of the ",oi=0,ii=null;function ai(e,n){var t,r=!1,o=(function(){var e=!1;try{e=!!Z(Yn)}catch(n){}return e}()&&(r=!(W(o=XMLHttpRequest[X])||W(o.open)||W(o.send)||W(o.abort))),function(e){var n=((e=(e=void 0===e?null:e)?e:(n=nt()||{})?(n[ze]||d)[$e]():d)||d)[$e]();if(Sn(n,$n))return e=et()||{},Math.max(parseInt(n[Ve]($n)[1]),e[Vn]||0);if(Sn(n,Jn)){e=parseInt(n[Ve](Jn)[1]);if(e)return e+4}return null}());if(r=!(o&&o<9)&&r)try{var i=new XMLHttpRequest,a={xh:[],i:((t={})[n]={},t)},u=(i[Jo]=a,XMLHttpRequest[X].open);XMLHttpRequest[X].open=u}catch(c){r=!1,li(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:Q(c)})}return r}var ui=function(e,n){return e&&n&&e[Jo]?(e[Jo].i||{})[n]:null},ci=function(e,n){var t=!1;return e&&(e=(e[Jo]||{}).xh)&&Y(e,function(e){if(e.n===n)return t=!0,-1}),t};function si(e,n){var t="";try{var r=ui(e,n);r&&r[ne]&&(t+="(url: '"+r[ne]+"')")}catch(o){}return t}function li(e,n,t,r,o){m(e[$o](),1,n,t,r,o)}function ce(e,n,t,r,o){m(e[$o](),2,n,t,r,o)}function fi(n,t,r){return function(e){li(n,t,r,{ajaxDiagnosticsMessage:si(e[ro],n._ajaxDataId),exception:Q(e.err)})}}function di(e,n){return e&&n?e.indexOf(n):-1}function pi(t,e,n){var r={id:e,fn:n};return t.push(r),{remove:function(){Y(t,function(e,n){if(e.id===r.id)return t.splice(n,1),-1})}}}function vi(r,e,o,i){var a=!0;return Y(e,function(e,n){try{!1===e.fn.call(null,o)&&(a=!1)}catch(t){m(r&&r.logger,1,64,"Dependency "+i+" [#"+n+"] failed: "+((e=t)&&"[object Error]"===Tn[p](e)?e[we]:d),{exception:Q(t)},!0)}}),a}var gi,o="*.blob.core.",hi=Ln([o+"windows.net",o+"chinacloudapi.cn",o+"cloudapi.de",o+"usgovcloudapi.net"]),yi=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function mi(){return{maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:undefined,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:hi,correlationHeaderDomains:undefined,correlationHeaderExcludePatterns:undefined,appId:undefined,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"],addRequestContext:undefined,addIntEndpoints:!0}}function xi(){var n=mi();return $(n,function(e){n[e]=undefined}),n}function se(){var C,I,w,_,M,A,r,D,k,q,S,E,H,N,P,R,j,L,F,U,O,n,z,V,e=gi.call(this)||this;return e.identifier=se.identifier,e.priority=120,Ie(se,e,function(p,a){var u=a._addHook;function e(){var e=typeof location===le&&location?location:Z("location");I=C=!1,w=e&&e.host&&e.host[xo](),_=se.getEmptyConfig(),N=E=q=k=A=M=!1,j=R=!(P={}),U=F=L=S=D=null,n=H=r=0,z=[],V=[],O=kt("ajaxData"),p._ajaxDataId=O}function f(n){var t=!0;return(n||_.ignoreHeaders)&&Y(_.ignoreHeaders,function(e){if(e[xo]()===n[xo]())return t=!1,-1}),t}function c(e,n,t){u(e?gr(e[X],n,t,!1):null)}function d(e,n,t){var r=!1,o=((En(n)?n:(n||{}).url||"")||"")[xo]();if(Y(L,function(e){var n=e;En(e)&&(n=RegExp(e)),r=r||n.test(o)}),r)return r;var i=di(o,"?"),a=di(o,"#");return-1!==(i=-1===i||-1!==a&&a<i?a:i)&&(o=o.substring(0,i)),W(e)?W(n)||(r="object"==typeof n&&!0===n[hr]||!!t&&!0===t[hr]):r=!0===e[hr]||!0===o[hr],(r=!(r||!o||-1===function(e,n){if(e){if(e[dn])return e[dn](n,void 0);var t=e[G];try{for(var r=0;r<t;r++)if(r in e&&e[r]===n)return r}catch(o){}}return-1}(zr,o[xr]()))||r)?P[o]||(P[o]=1):P[o]&&(r=!0),r}function s(e,n,t){var r=!0;return W(e)||(r=!0===t||!W(n)),I&&r}function v(){var e,n,t=null;return!(t=p[ie]&&p[ie].getTraceCtx?p[ie].getTraceCtx(!1):t)&&D&&D.telemetryTrace&&(e=D.telemetryTrace,n=e||{},t={getName:function(){return n[br]},setName:function(e){n[br]=e},getTraceId:function(){return n.traceID},setTraceId:function(e){Bt(e)&&(n.traceID=e)},getSpanId:function(){return n.parentID},setSpanId:function(e){$t(e)&&(n.parentID=e)},getTraceFlags:function(){return n.traceFlags},setTraceFlags:function(e){n.traceFlags=e}}),t}function g(t,r){r.xhrMonitoringState[qo]=function(e,n,t,r){void 0===r&&(r=!1);var o,i,a,u,c,s=!1;if(e)try{var l,f=Ft("readystatechange",t),d=f,p=n,v=r,g=!1;(c=e)&&d&&d[Je]&&p&&(c[Et]?(c[Et](d[Je],p,v),g=!0):c[St]&&(c[St]("on"+d[Je],p),g=!0)),(s=g)&&Rt.accept(e)&&((o={guid:Pt++,evtName:f}).handler=n,o.capture=r,l=o,i=f.type,((u=Rt.get(e,"events",{},a=void 0===a||a))[i]||(u[i]=[]))[K](l))}catch(h){}return s}(t,function(){try{t&&4===t.readyState&&s(t,r)&&((u=ui(a=t,O))[So]=Xr(),u[ue]=a[ue],y("xmlhttprequest",u,function(){try{var e,n=u[Eo]("Ajax",M,function(){var e,t,n={statusText:a[To],headerMap:null,correlationContext:l(a),type:a.responseType,responseText:function(e){try{var n=e.responseType;if(""===n||"text"===n)return e.responseText}catch(t){}return null}(a),response:a[Ho]};return N&&(e=a[No]())&&(e=Nn(e).split(/[\r\n]+/),t={},Y(e,function(e){var e=e.split(": "),n=e.shift(),e=e.join(": ");f(n)&&(t[n]=e)}),n[bo]=t),n}),t=void 0;try{F&&(t=F({status:a[ue],xhr:a}))}catch(o){ce(p,104,ti)}n?(t!==undefined&&(n[to]=de(de({},n.properties),t)),e=u[Po](),b(V,p[ie],u,n,null,e)):i(null,{requestSentTime:u[wo],responseFinishedTime:u[So]})}finally{try{var r=(a[Jo]||{i:{}}).i||{};r[O]&&(r[O]=null)}catch(o){}}},function(e){i(e,null)}))}catch(n){var e=Q(n);e&&-1!==di(e[xo](),"c00c023f")||li(p,16,Zo+" 'readystatechange' event handler"+Qo,{ajaxDiagnosticsMessage:si(t,O),exception:e})}function i(e,n){n=n||{};n.ajaxDiagnosticsMessage=si(a,O),e&&(n.exception=Q(e)),ce(p,14,ri+"ajax call"+ei,n)}var a,u},U)}function l(e){try{var n,t=e[No]();if(null!==t&&-1!==di(t[xo](),ee[8]))return n=e.getResponseHeader(ee[0]),Vr[Ro](n)}catch(r){ce(p,18,ni,{ajaxDiagnosticsMessage:si(e,O),exception:Q(r)})}}function h(e,n){var t;n[ne]&&S&&E&&(t=tt())&&B(t.mark)&&(e=S+e+"#"+ ++oi,t.mark(e),(e=t.getEntriesByName(e))&&1===e[te]&&(n[jo]=e[0]))}function y(i,a,u,c){var s=a[jo],l=tt(),f=_.maxAjaxPerfLookupAttempts,d=_.ajaxPerfLookupDelay,p=a[ne],v=0;!function g(){try{if(l&&s){v++;for(var e=null,n=l.getEntries(),t=n[te]-1;0<=t;t--){var r=n[t];if(r){if("resource"===r.entryType)r.initiatorType!==i||-1===di(r[Lo],p)&&-1===di(p,r[Lo])||(e=r);else if("mark"===r.entryType&&r[Lo]===s[Lo]){a[Fo]=e;break}if(r[mo]<s[mo]-1e3)break}}}!s||a[Fo]||f<=v||!1===a["async"]?(s&&B(l.clearMarks)&&l.clearMarks(s[Lo]),a.perfAttempts=v,u()):setTimeout(g,d)}catch(o){c(o)}}()}function m(e){var n="";try{W(e)||(En(e)?n+="(url: '".concat(e,"')"):n+="(url: '".concat(e.url,"')"))}catch(t){li(p,15,"Failed to grab failed fetch diagnostics message",{exception:Q(t)})}return n}function x(e,r,o,i,a,u){function c(e,n,t){t=t||{};t.fetchDiagnosticsMessage=m(o),n&&(t.exception=Q(n)),ce(p,e,ri+"fetch call"+ei,t)}a&&(a[So]=Xr(),a[ue]=r,y(Yo,a,function(){var e,n=a[Eo]("Fetch",M,u);try{F&&(e=F({status:r,request:o,response:i}))}catch(t){ce(p,104,ti)}n?(e!==undefined&&(n[to]=de(de({},n.properties),e)),e=a[Po](),b(V,p[ie],a,n,null,e)):c(14,null,{requestSentTime:a[wo],responseFinishedTime:a[So]})},function(e){c(18,e,null)}))}function T(e){if(e&&e[po])try{var n=e[po].get(ee[0]);return Vr[Ro](n)}catch(t){ce(p,18,ni,{fetchDiagnosticsMessage:m(e),exception:Q(t)})}}function b(e,n,t,r,o,i){var a=!0;(a=0<e[te]?vi(n,e,{item:r,properties:o,sysProperties:i,context:t?t[io]:null,aborted:!!t&&!!t[ao]},"initializer"):a)&&p[ho](r,o,i)}e(),p.initialize=function(e,n,t,r){var o,l,i;p.isInitialized()||(a.initialize(e,n,t,r),t=kt("ajax"),i=(r=n&&n.evtNamespace&&n.evtNamespace())?Ft("xx",i=J(r)?[t].concat(r):[t,r]).ns[Ve]("."):t,U=i,o=or(null,n=e,p[ie]),_=xi(),$(mi(),function(e,n){_[e]=o.getConfig(se.identifier,e,n)}),r=_[yo],M=_.enableRequestHeaderTracking,A=_.enableAjaxErrorStatusText,E=_.enableAjaxPerfTracking,H=_.maxAjaxCallsPerView,N=_.enableResponseHeaderTracking,L=[].concat(_.excludeRequestFromAutoTrackingPatterns||[],!1!==_.addIntEndpoints?yi:[]),F=_.addRequestContext,q=0===r||1===r,k=1===r||2===r,E&&(t=n.instrumentationKey||"unkwn",S=5<t[te]?Bo+t.substring(t[te]-5)+".":Bo+t+"."),R=!!_.disableAjaxTracking,j=!!_.disableFetchTracking,!ai(p,O)||R||I||(c(XMLHttpRequest,"open",{ns:U,req:function(e,n,t,r){var o,i,a,u,c;R||(e=e[ro],o=ui(e,O),!d(e,t)&&s(e,o,!0)&&(o&&o.xhrMonitoringState[Co]||(u=e,n=n,t=t,r=r,c=(i=v())&&i[Mo]()||Ut(),a=Ut().substr(0,16),(c=(u=(u=u[Jo]=u[Jo]||{xh:[],i:{}}).i=u.i||{})[O]=u[O]||new Go(c,a,p[$o](),null==(u=p.core)?void 0:u.getTraceCtx()))[oe]=i&&i[Ao](),c[Do]=n,c[ne]=t,c.xhrMonitoringState[Co]=!0,c[ae]={},c["async"]=r,c[ko]=A,o=c),g(e,o)))},hkErr:fi(p,15,Zo+".open"+Qo)}),c(XMLHttpRequest,"send",{ns:U,req:function(e,n){var t;R||s(e=e[ro],t=ui(e,O))&&!t.xhrMonitoringState[Io]&&(h("xhr",t),t[wo]=Xr(),p[so](t,undefined,undefined,e),t.xhrMonitoringState[Io]=!0)},hkErr:fi(p,17,Zo+Qo)}),c(XMLHttpRequest,"abort",{ns:U,req:function(e){R||s(e=e[ro],e=ui(e,O))&&!e.xhrMonitoringState[_o]&&(e[ao]=1,e.xhrMonitoringState[_o]=!0)},hkErr:fi(p,13,Zo+".abort"+Qo)}),c(XMLHttpRequest,"setRequestHeader",{ns:U,req:function(e,n,t){var r;R||(e=e[ro],(r=ui(e,O))&&s(e,r)&&(e&&(e=(e[Jo]||{}).xh)&&e.push({n:n,v:t}),M&&f(n)&&r&&(r[ae][n]=t)))},hkErr:fi(p,71,Zo+".setRequestHeader"+Qo)}),I=!0),(e=!(i=fe())||W(i.Request)||W(i.Request[X])||W(i[Yo])?null:i[Yo])&&(r=fe(),l=e.polyfill,j||C?l&&u(gr(r,Yo,{ns:U,req:function(e,n,t){d(null,n,t)}})):(u(gr(r,Yo,{ns:U,req:function(e,n,t){var r,o,i,a,u,c,s;j||!C||d(null,n,t)||l&&I||(r=e.ctx(),o=n,i=t,c=(a=v())&&a[Mo]()||Ut(),u=Ut().substr(0,16),(u=new Go(c,u,p[$o](),null==(c=p.core)?void 0:c.getTraceCtx()))[oe]=a&&a[Ao](),u[wo]=Xr(),u[ko]=A,o instanceof Request?u[ne]=o?o.url:"":u[ne]=o,c="GET",i&&i[Do]?c=i[Do]:o&&o instanceof Request&&(c=o[Do]),u[Do]=c,s={},M&&new Headers((i?i[po]:0)||o instanceof Request&&o[po]||{}).forEach(function(e,n){f(n)&&(s[n]=e)}),u[ae]=s,h(Yo,u),a=u,(c=p[so](a,n,t))!==t&&e.set(1,c),r.data=a)},rsp:function(e,t){var r;j||(r=e.ctx().data)&&(e.rslt=e.rslt.then(function(n){return x(0,(n||{})[ue],t,n,r,function(){var t,e={statusText:(n||{})[To],headerMap:null,correlationContext:T(n)};return N&&n&&(t={},n.headers.forEach(function(e,n){f(n)&&(t[n]=e)}),e[bo]=t),e}),n})["catch"](function(e){throw x(0,0,t,null,r,null,e.message||Q(e)),e}))},hkErr:fi(p,15,"Failed to monitor Window.fetch"+Qo)},!0,function(){if(null==ii)try{ii=!!(self&&self instanceof WorkerGlobalScope)}catch(e){ii=!1}return ii}())),C=!0),l&&(r[Yo].polyfill=l)),(n=p[ie].getPlugin("AppInsightsPropertiesPlugin"))&&(D=n.plugin[io]))},p._doTeardown=function(){e()},p.trackDependencyData=function(e,n){b(V,p[ie],null,e,n)},p[so]=function(e,n,t,r){var o,i,a,u,c=p._currentWindowHost||w,s=z,l=p[ie],f=e,d=t;return 0<s[te]&&(vi(l,s,s={core:l,xhr:r,input:n,init:d,traceId:f[re],spanId:f[oo],traceFlags:f[oe],context:f[io]||{},aborted:!!f[ao]},"listener"),f[re]=s[uo],f[oo]=s[co],f[oe]=s[oe],f[io]=s[io]),n||""===n?(Vr[lo](_,e[fo](),c)&&(t=t||{},l=new Headers(t[po]||n instanceof Request&&n[po]||{}),q&&(o="|"+e[re]+"."+e[oo],l.set(ee[3],o),M&&(e[ae][ee[3]]=o)),(i=_[vo]||D&&D[vo]())&&(l.set(ee[0],ee[2]+i),M&&(e[ae][ee[0]]=ee[2]+i)),k&&(W(a=e[oe])&&(a=1),u=Jt(Wt(e[re],e[oo],a)),l.set(ee[4],u),M&&(e[ae][ee[4]]=u)),t[po]=l),t):r?(Vr[lo](_,e[fo](),c)&&(q&&(ci(r,ee[3])?ce(p,71,"Unable to set ["+ee[3]+"] as it has already been set by another instance"):(o="|"+e[re]+"."+e[oo],r[go](ee[3],o),M&&(e[ae][ee[3]]=o))),(i=_[vo]||D&&D[vo]())&&(ci(r,ee[0])?ce(p,71,"Unable to set ["+ee[0]+"] as it has already been set by another instance"):(r[go](ee[0],ee[2]+i),M&&(e[ae][ee[0]]=ee[2]+i))),k&&(W(a=e[oe])&&(a=1),ci(r,ee[4])?ce(p,71,"Unable to set ["+ee[4]+"] as it has already been set by another instance"):(u=Jt(Wt(e[re],e[oo],a)),r[go](ee[4],u),M&&(e[ae][ee[4]]=u)))),r):undefined},p[ho]=function(e,n,t){-1===H||r<H?(2!==_[yo]&&1!==_[yo]||"string"!=typeof e.id||"."===e.id[e.id[te]-1]||(e.id+="."),W(e[mo])&&(e[mo]=new Date),e=function(e,n,t,r,o,i){var a;if(t=Sr(r,t)||yr,W(e)||W(n)||W(t))throw Error("Input doesn't contain all required fields");var r="",u=(e[mr]&&(r=e[mr],delete e[mr]),(a={})[br]=t,a.time=function(e){if(e){if(xn)return e[fn]();var n;return e&&e.getUTCFullYear?(n=function(e){e=""+e;return 1===e[G]?"0"+e:e},e.getUTCFullYear()+"-"+n(1+e.getUTCMonth())+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"):void 0}}(new Date),a.iKey=r,a.ext=i||{},a.tags=[],a.data={},a.baseType=n,a.baseData=e,a);return W(o)||$(o,function(e,n){u.data[e]=n}),u}(e,Gr.dataType,Gr.envelopeType,p[$o](),n,t),p[ie].track(e)):r===H&&li(p,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0),++r},p.addDependencyListener=function(e){return pi(z,n++,e)},p.addDependencyInitializer=function(e){return pi(V,n++,e)}}),e}M(se,gi=e),se.prototype.processTelemetry=function(e,n){this.processNext(e,n)},se.prototype.addDependencyInitializer=function(e){return null},se.identifier="AjaxDependencyPlugin",se.getDefaultConfig=mi,se.getEmptyConfig=xi,u.AjaxPlugin=se,u.DfltAjaxCorrelationHeaderExDomains=hi,u.ajaxRecord=Go;r=u,i="__esModule",Yr={value:!0},a=Object.defineProperty;if(a)try{return void a(r,i,Yr)}catch(Ti){}typeof Yr.value!==undefined&&(r[i]=Yr.value)}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}))}(this,function(u){"use strict";var c="function",le="object",l="undefined",X="prototype",f="hasOwnProperty",t=Object,T=t[X],e=t.assign,b=t.create,n=t.defineProperty,C=T[f],I=null;function fe(e){e=!1===(e=void 0===e||e)?null:I;return e||((e=(e=(e=typeof globalThis!==l?globalThis:e)||typeof self===l?e:self)||typeof window===l?e:window)||typeof global===l||(e=global),I=e),e}function w(e){throw new TypeError(e)}(fe()||{}).Symbol,(fe()||{}).Reflect;var de=e||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])T[f].call(n,o)&&(e[o]=n[o]);return e},_=function(e,n){return(_=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[f](t)&&(e[t]=n[t])})(e,n)};function M(e,n){function t(){this.constructor=e}typeof n!==c&&null!==n&&w("Class extends value "+n+" is not a constructor or null"),_(e,n),e[X]=null===n?function(e){if(b)return b(e);if(null==e)return{};var n=typeof e;function t(){}return n!==le&&n!==c&&w("Object prototype may only be an Object:"+e),t[X]=e,new t}(n):(t[X]=n[X],new t)}var e="undefined",A="constructor",v="prototype",D="function",k="_dynInstFuncs",q="_isDynProxy",S="_dynClass",E="_dynInstChk",H=E,N="_dfOpts",P="_unknown_",R="__proto__",j="_dyn"+R,r="__dynProto$Gbl",L="_dynInstProto",F="useBaseInst",U="setInstFuncs",O=Object,z=O.getPrototypeOf,V=O.getOwnPropertyNames,e=(o=(o=(o=(o=typeof globalThis!=e?globalThis:o)||typeof self==e?o:self)||typeof window==e?o:window)||typeof global==e?o:global)||{},pe=e[r]||(e[r]={o:((o={})[U]=!0,o[F]=!0,o),n:1e3});function g(e,n){return e&&O[v].hasOwnProperty.call(e,n)}function ve(e){return e&&(e===O[v]||e===Array[v])}function ge(e){return ve(e)||e===Function[v]}function he(e){if(e){if(z)return z(e);var n=e[R]||e[v]||(e[A]?e[A][v]:null),t=e[j]||n;g(e,j)||(delete e[L],t=e[j]=e[L]||e[j],e[L]=n)}return t}function ye(e,n){var t=[];if(V)t=V(e);else for(var r in e)"string"==typeof r&&g(e,r)&&t.push(r);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function me(e,n,t){return n!==A&&typeof e[n]===D&&(t||g(e,n))&&n!==R&&n!==v}function xe(e){throw new TypeError("DynamicProto: "+e)}function Te(){return Object.create&&(e=Object.create)?e(null):{};var e}function be(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function Ce(e,n){return g(e,v)?e.name||n||P:((e||{})[A]||{}).name||n||P}function Ie(e,r,n,t){g(e,v)||xe("theClass is an invalid class definition.");var o,i,a,u,c,s,l=e[v],f=(function(e){if(!z)return 1;for(var n=[],t=he(r);t&&!ge(t)&&!be(n,t);){if(t===e)return 1;n.push(t),t=he(t)}}(l)||xe("["+Ce(e)+"] not in hierarchy of ["+Ce(r)+"]"),null),e=(g(l,S)?f=l[S]:(f="_dynCls$"+Ce(e,"_")+"$"+pe.n,pe.n++,l[S]=f),Ie[N]),d=!!e[F],p=(d&&t&&t[F]!==undefined&&(d=!!t[F]),o=r,i=Te(),ye(o,function(e){!i[e]&&me(o,e,!1)&&(i[e]=o[e])}),i),d=(n(r,function(e,n,t,i){function r(e,n,t){var r,o=n[t];return o[q]&&i&&!1!==(r=e[k]||{})[H]&&(o=(r[n[S]]||{})[t]||o),function(){return o.apply(e,arguments)}}for(var o=Te(),a=(ye(t,function(e){o[e]=r(n,t,e)}),he(e)),u=[];a&&!ge(a)&&!be(u,a);)ye(a,function(e){!o[e]&&me(a,e,!z)&&(o[e]=r(n,a,e))}),u.push(a),a=he(a);return o}(l,r,p,d)),!!z&&!!e[U]);a=l,n=f,u=r,c=p,e=!1!==(d=d&&t?!!t[U]:d),ve(a)||ve(l=u[k]=u[k]||Te())||(s=l[n]=l[n]||Te(),!1!==l[H]&&(l[H]=!!e),ve(s)||ye(u,function(e){var t,r,o;me(u,e,!1)&&u[e]!==c[e]&&(s[e]=u[e],delete u[e],g(a,e)&&(!a[e]||a[e][q])||(a[e]=(t=a,r=e,(o=function(){var e,n;return(function(e,n,t,r){var o=null;if(e&&g(t,S)){var i=e[k]||Te();if((o=(i[t[S]]||Te())[n])||xe("Missing ["+n+"] "+D),!o[E]&&!1!==i[H]){for(var a=!g(e,n),u=he(e),c=[];a&&u&&!ge(u)&&!be(c,u);){var s=u[n];if(s){a=s===r;break}c.push(u),u=he(u)}try{a&&(e[n]=o),o[E]=1}catch(l){i[H]=!1}}}return o}(this,r,t,o)||(typeof(n=(n=t[e=r])===o?he(t)[e]:n)!==D&&xe("["+e+"] is not a "+D),n)).apply(this,arguments)})[q]=1,o)))}))}Ie[N]=pe.o;var we="name",_e="identifier",K="push",Me="isInitialized",Ae="config",De="logger",G="length",ke="time",h="processNext",qe="getPlugin",Se="splice",Ee="teardown",He="messageId",Ne="message",Pe="isAsync",Re="_doTeardown",je="update",Le="getNext",Fe="diagLog",Ue="setNextPlugin",Oe="createNew",ze="userAgent",Ve="split",Xe="substr",Ke="nodeType",Ge="apply",We="replace",Be="enableDebugExceptions",$e="toLowerCase",p="call",Je="type",Ye="isChildEvt",Ze="getCtx",s="setCtx",Qe="complete",en="traceId",nn="traceFlags",tn="version",d="",y="core",rn="disabled",on="extensionConfig",an="processTelemetry",un="priority",cn="errorToConsole",sn="warnToConsole",ln="getPerfMgr",fn="toISOString",dn="indexOf",pn="trim",r="toString",vn="constructor",gn=n,hn=t.freeze,yn=(t.seal,t.keys),e=String[X],mn=e[pn],xn=(e.endsWith,e.startsWith,Date[X][fn]),o=Array.isArray,Tn=T[r],bn=C[r],Cn=bn[p](t),In=/-([a-z])/g,wn=/([^\w\d_$])/g,_n=/^(\d+[\w\d_$])/,Mn=Object.getPrototypeOf;function An(e){if(e){if(Mn)return Mn(e);e=e.__proto__||e[X]||e[vn];if(e)return e}return null}function Dn(e){return e===undefined||typeof e===l}function W(e){return null===e||Dn(e)}function kn(e){return!(!e||typeof e!==le)}function B(e){return!(!e||typeof e!==c)}function qn(e){var n=e;return e&&En(e)?(n=(n=e[We](In,function(e,n){return n.toUpperCase()}))[We](wn,"_"))[We](_n,function(e,n){return"_"+n}):n}function $(e,n){if(e)for(var t in e)C[p](e,t)&&n[p](e,t,e[t])}function Sn(e,n){return!(!e||!n||!~e.indexOf(n))}var J=o||function(e){return!(!e||"[object Array]"!==Tn[p](e))};function En(e){return"string"==typeof e}function Hn(e){return e&&"object"==typeof e&&(!(e=(Mn||An)(e))||typeof(e=e[vn]&&C[p](e,vn)?e[vn]:e)===c&&bn[p](e)===Cn)}function Y(e,n,t){var r=e[G];try{for(var o=0;o<r&&!(o in e&&-1===n[p](t||e,e[o],o,e));o++);}catch(i){}}function Nn(e){return e&&(mn&&e[pn]?e[pn]():e[We]?e[We](/^\s+|(?=\s)\s+$/g,d):e)}var Pn=!{toString:null}.propertyIsEnumerable("toString"),Rn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function jn(e){var n=typeof e;if(n===c||n===le&&null!==e||w("objKeys called on non-object"),!Pn&&yn)return yn(e);var t,r=[];for(t in e)e&&C[p](e,t)&&r[K](t);if(Pn)for(var o=Rn[G],i=0;i<o;i++)e&&C[p](e,Rn[i])&&r[K](Rn[i]);return r}function Ln(e){return hn&&$(e,function(e,n){(J(n)||kn(n))&&hn(n)}),Fn(e)}var Fn=hn||function(e){return e};function Un(){var e=Date;return e.now?e.now():(new e).getTime()}function On(e,n){return W(e)?n:e}var zn="window",Vn="documentMode",Xn="console",Kn="performance",Gn="JSON",Wn="crypto",Bn="msCrypto",$n="msie",Jn="trident/",Yn="XMLHttpRequest",Zn=null,Qn=null;function Z(e){var n=fe();return n&&n[e]?n[e]:e===zn&&typeof window===le&&window?window:null}function et(){return typeof document===le&&document?document:Z("document")}function nt(){return typeof navigator===le&&navigator?navigator:Z("navigator")}function tt(){return Z(Kn)}function rt(){return typeof JSON===le&&JSON||null!==Z(Gn)}function ot(){return rt()?JSON||Z(Gn):null}function Q(e){var n=Object[X].toString[p](e),t=d;return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[we]+"'":rt()&&(t=ot().stringify(e)),n+t}var it=null;function at(e){return e?'"'+e[We](/\"/g,d)+'"':d}function ut(e,n){var t,r=typeof console!==l?console:Z(Xn);r&&(t="log",B(r[t=r[e]?e:t])&&r[t](n))}st.dataType="MessageData";var ct=st;function st(e,n,t,r){void 0===t&&(t=!1),this[He]=e,this[Ne]=(t?"AI: ":"AI (Internal): ")+e;t=d,rt()&&(t=ot().stringify(r)),e=(n?" message:"+at(n):d)+(r?" props:"+at(t):d);this[Ne]+=e}ft.__ieDyn=1;var lt=ft;function ft(o){this.identifier="DiagnosticLogger",this.queue=[];var c,s,l,f,d=0,p={};Ie(ft,this,function(i){var e;function a(e,n){var t,r;l<=d||(r=!0,t="AITR_"+n[He],p[t]?r=!1:p[t]=!0,r&&(e<=s&&(i.queue[K](n),d++,u(1===e?"error":"warn",n)),d===l&&(r=new ct(23,t="Internal events throttle limit per PageView reached for this app.",!1),i.queue[K](r),1===e?i[cn](t):i[sn](t))))}function u(e,n){var t,r=(t=(t=it)||!0===(o||{}).disableDbgExt?t:it||(r=Z("Microsoft"),it=r?r.ApplicationInsights:it))?t.ChromeDbgExt:null;r&&r[Fe]&&r[Fe](e,n)}c=On((e=o||{}).loggingLevelConsole,0),s=On(e.loggingLevelTelemetry,1),l=On(e.maxMessageLimit,25),f=On(e.enableDebug,On(e[Be],!1)),i.consoleLoggingLevel=function(){return c},i.telemetryLoggingLevel=function(){return s},i.maxInternalMessageLimit=function(){return l},i[Be]=function(){return f},i.throwInternal=function(e,n,t,r,o){n=new ct(n,t,o=void 0!==o&&o,r);if(f)throw Q(n);t=1===e?cn:sn;Dn(n[Ne])?u("throw"+(1===e?"Critical":"Warning"),n):(o?(r=+n[He],!p[r]&&e<=c&&(i[t](n[Ne]),p[r]=!0)):e<=c&&i[t](n[Ne]),a(e,n))},i[sn]=function(e){ut("warn",e),u("warning",e)},i[cn]=function(e){ut("error",e),u("error",e)},i.resetInternalMessageCount=function(){d=0,p={}},i.logInternalMessage=a})}function m(e,n,t,r,o,i){void 0===i&&(i=!1),(e||new lt).throwInternal(n,t,r,o,i)}var dt="ParentContextKey",pt="ChildrenContextKey",vt=(gt.ParentContextKey="parent",gt.ChildrenContextKey="childEvts",gt);function gt(e,o,n){var r,i=this,a=!1;i.start=Un(),i[we]=e,i[Pe]=n,i[Ye]=function(){return!1},B(o)&&(a=function(e){if(gn)try{var n={enumerable:!0,configurable:!0,get:function(){return!r&&B(o)&&(r=o(),o=null),r}};return gn(e,"payload",n),!0}catch(t){}return!1}(i)),i[Ze]=function(e){return e?(e===gt[dt]||e===gt[pt]?i:i.ctx||{})[e]:null},i[s]=function(e,n){e&&(e===gt[dt]?(i[e]||(i[Ye]=function(){return!0}),i[e]=n):e===gt[pt]?i[e]=n:(i.ctx=i.ctx||{})[e]=n)},i[Qe]=function(){var e=0,n=i[Ze](gt[pt]);if(J(n))for(var t=0;t<n[G];t++){var r=n[t];r&&(e+=r[ke])}i[ke]=Un()-i.start,i.exTime=i[ke]-e,i[Qe]=function(){},!a&&B(o)&&(i.payload=o())}}var ht="CoreUtils.doPerf";function yt(e,n,t,r,o){if(e)if(e=e[ln]?e[ln]():e){var i,a=void 0,u=e[Ze](ht);try{if(a=e.create(n(),r,o))return u&&a[s]&&(a[s](vt[dt],u),u[Ze]&&u[s]&&((i=u[Ze](vt[pt]))||(i=[],u[s](vt[pt],i)),i[K](a))),e[s](ht,a),t(a)}catch(c){a&&a[s]&&a[s]("exception",c)}finally{a&&e.fire(a),e[s](ht,u)}}t()}var mt=4294967296,xt=4294967295,Tt=!1,bt=123456789,Ct=987654321;function It(e){var n,t=0,r=Z(Wn)||Z(Bn);if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&xt:t)&&(!(r=nt())||r[ze]===Qn&&null!==Zn||(r=((Qn=r[ze])||d)[$e](),Zn=Sn(r,$n)||Sn(r,Jn)),Zn)){if(!Tt)try{var o=2147483647&Un();(n=(Math.random()*mt^o)+o)<0&&(n>>>=0),bt=123456789+n&xt,Ct=987654321-n&xt,Tt=!0}catch(i){}r=((Ct=36969*(65535&Ct)+(Ct>>16)&xt)<<16)+(65535&(bt=18e3*(65535&bt)+(bt>>16)&xt))>>>0&xt|0,t=(r>>>=0)&xt}return 0===t&&(t=Math.floor(mt*Math.random()|0)),e||(t>>>=0),t}var wt=n,_t="2.8.19-nightly.2404-10",Mt="."+function(e){void 0===e&&(e=22);for(var n=It()>>>0,t=0,r=d;r[G]<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(It()<<2&4294967295|3&n)>>>0,t=0);return r}(6),At=0;function Dt(e){return 1===e[Ke]||9===e[Ke]||!+e[Ke]}function kt(e,n){return qn(e+At+++((n=void 0!==n&&n)?"."+_t:d)+Mt)}function qt(e){var i={id:kt("_aiData-"+(e||d)+"."+_t),accept:Dt,get:function(e,n,t,r){var o=e[i.id];return o?o[qn(n)]:(r&&((o=function(e,n){var t=n[e.id];if(!t){t={};try{Dt(n)&&!function(e,n,t){if(wt)try{return wt(e,n,{value:t,enumerable:!1,configurable:!0}),1}catch(r){}}(n,e.id,t)&&(n[e.id]=t)}catch(r){}}return t}(i,e))[qn(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}};return i}var St="attachEvent",Et="addEventListener",Ht=(kt("aiEvtPageHide"),kt("aiEvtPageShow"),/\.[\.]+/g),Nt=/[\.]+$/,Pt=1,Rt=qt("events"),jt=/^([^.]*)(?:\.(.+)|)/;function Lt(e){return e&&e[We]?e[We](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,d):e}function Ft(e,n){n&&(t=d,J(n)?(t=d,Y(n,function(e){(e=Lt(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=Lt(n),t&&("."!==t[0]&&(t="."+t),e=(e||d)+t));var t,n=jt.exec(e||d)||[],e={};return e[Je]=n[1],e.ns=(n[2]||d).replace(Ht,".").replace(Nt,d)[Ve](".").sort().join("."),e}function Ut(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=d,r=0;r<4;r++)t+=n[15&(e=It())]+n[e>>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 o=n[8+(3&It())|0];return t[Xe](0,8)+t[Xe](9,4)+"4"+t[Xe](13,3)+o+t[Xe](16,3)+t[Xe](19,12)}var Ot="00",zt="ff",Vt="00000000000000000000000000000000",Xt="0000000000000000";function Kt(e,n,t){return e&&e[G]===n&&e!==t&&e.match(/^[\da-f]*$/i)}function Gt(e,n,t){return Kt(e,n)?e:t}function Wt(e,n,t,r){var o={};return o[tn]=Kt(r,2,zt)?r:Ot,o[en]=Bt(e)?e:Ut(),o.spanId=$t(n)?n:Ut()[Xe](0,16),o.traceFlags=0<=t&&t<=255?t:1,o}function Bt(e){return Kt(e,32,Vt)}function $t(e){return Kt(e,16,Xt)}function Jt(e){var n,t;return e?(Kt(n=function(e){for(var n=(e=isNaN(e)||e<0||255<e?1:e).toString(16);n[G]<2;)n="0"+n;return n}(e[nn]),2)||(n="01"),t=e[tn]||Ot,"".concat((t="00"!==t&&"ff"!==t?Ot:t).toLowerCase(),"-").concat(Gt(e.traceId,32,Vt).toLowerCase(),"-").concat(Gt(e.spanId,16,Xt).toLowerCase(),"-").concat(n.toLowerCase())):""}var Yt=qt("plugin");function Zt(e){return Yt.get(e,"state",{},!0)}var Qt="TelemetryPluginChain",er="_hasRun",nr="_getTelCtx",tr=0;function rr(e,a,t,n){var r=null,o=[],i=(null!==n&&(r=n?function(e,n,t){for(;e;){if(e[qe]()===t)return e;e=e[Le]()}return ir([t],n[Ae]||{},n)}(e,t,n):e),{_next:function(){var e,n=r;return r=n?n[Le]():null,n||(e=o)&&0<e[G]&&(Y(e,function(e){try{e.func[p](e.self,e.args)}catch(n){m(t[De],2,73,"Unexpected Exception during onComplete - "+Q(n))}}),o=[]),n},ctx:{core:function(){return t},diagLog:function(){return(t||{})[De]||new lt(a)},getCfg:function(){return a},getExtCfg:u,getConfig:function(e,n,t){void 0===t&&(t=!1);var r,e=u(e,null);return e&&!W(e[n])?r=e[n]:a&&!W(a[n])&&(r=a[n]),W(r)?t:r},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(e){r=e},iterate:function(e){for(;n=i._next();){var n=n[qe]();n&&e(n)}},onComplete:function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e&&o[K]({func:e,self:Dn(n)?i.ctx:n,args:t})}}});function u(e,n,t){var r,o,i;return void 0===n&&(n={}),void 0===t&&(t=0),(r=a&&(o=a[on])&&e?o[e]:r)?kn(n)&&0!==t&&(i=function d(){var e=arguments,n=e[0]||{},t=e[G],r=!1,o=1;for(0<t&&"boolean"==typeof n&&(r=n,n=e[o]||{},o++),kn(n)||(n={});o<t;o++){var i,a,u,c,s=e[o],l=J(s),f=kn(s);for(i in s)(l&&i in s||f&&C[p](s,i))&&(a=s[i],u=void 0,r&&a&&((u=J(a))||Hn(a))&&(c=n[i],u?J(c)||(c=[]):Hn(c)||(c={}),a=d(r,c,a)),a!==undefined&&(n[i]=a))}return n}(!0,n,r),a&&2===t&&$(n,function(e){var n;W(i[e])&&!W(n=a[e])&&(i[e]=n)}),r=i):r=n,r}return i}function or(e,t,r,n){var o=rr(e,t,r,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n[an](e,i),!n},i[Oe]=function(e,n){return or((e=J(e=void 0===e?null:e)?ir(e,t,r,n):e)||i[Le](),t,r,n)},i}function ir(e,n,t,r){var o,i=null,a=!r;return J(e)&&0<e[G]&&(o=null,Y(e,function(e){(a=!a&&r===e||a)&&e&&B(e[an])&&(e=ar(e,n,t),i=i||e,o&&o._setNext(e),o=e)})),r&&!i?ir([r],n,t):i}function ar(c,r,o){var s=null,i=B(c[an]),a=B(c[Ue]),l=c?c[_e]+"-"+c[un]+"-"+tr++:"Unknown-0-"+tr++,u={getPlugin:function(){return c},getNext:function(){return s},processTelemetry:function(t,e){var n;f(e=e||(n=(n=c&&B(c[nr])?c[nr]():n)||or(u,r,o)),function(e){if(!c||!i)return!1;var n=Zt(c);return!n[Ee]&&!n[rn]&&(a&&c[Ue](s),c[an](t,e),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||e[h](t)},unload:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Zt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Ee]||(e[y]=null,e[Ee]=!0,e[Me]=!1,c[Ee]&&!0===c[Ee](r,o)&&(t=!0))),t},"unload",function(){},o[Pe])||r[h](o)},update:function(r,o){f(r,function(){var e,n,t=!1;return c&&(e=Zt(c),n=c[y]||e[y],!c||n&&n!==r.core()||e[Ee]||c[je]&&!0===c[je](r,o)&&(t=!0)),t},"update",function(){},!1)||r[h](o)},_id:l,_setNext:function(e){s=e}};function f(t,r,o,e,n){var i=!1,a=c?c[_e]:Qt,u=(u=t[er])||(t[er]={});return t.setNext(s),c&&yt(t[y](),function(){return a+":"+o},function(){u[l]=!0;try{var e=s?s._id:d;e&&(u[e]=!1),i=r(t)}catch(n){e=!s||u[s._id];e&&(i=!0),s&&e||m(t[Fe](),1,73,"Plugin ["+a+"] failed during "+o+" - "+Q(n)+", run flags: "+Q(u))}},e,n),i}return Fn(u)}function ur(){var n=[];return{add:function(e){e&&n[K](e)},run:function(t,r){Y(n,function(e){try{e(t,r)}catch(n){m(t[Fe](),2,73,"Unexpected error calling unload handler - "+Q(n))}}),n=[]}}}var cr="getPlugin",e=(sr.__ieDyn=1,sr);function sr(){var i,a,l,f,d,u=this;function n(e){var n,e=e=void 0===e?null:e;return e||(n=a||or(null,{},u[y]),e=l&&l[cr]?n[Oe](null,l[cr]):n[Oe](null,l)),e}function c(e,n,t){e&&(r=o=[],e&&(r=e[on])!==o&&W(r)&&(e[on]=r=o)),!t&&n&&(t=n.getProcessTelContext()[Le]());var r,o=l;l&&l[cr]&&(o=l[cr]()),u[y]=n,a=or(t,e,n,o)}function p(){i=!1,u[y]=null,l=a=null,d=[],f=ur()}p(),Ie(sr,u,function(s){var e,n,t,r,o;s.initialize=function(e,n,t,r){c(e,n,r),i=!0},s[Ee]=function(e,n){var t,r,o,i,a=s[y];if(a&&(!e||a===e[y]()))return r=!1,o=e||function c(e,t,n){var r=t[Ae]||{},o=rr(e,r,t,n),i=o.ctx;return i[h]=function(e){var n=o._next();return n&&n.unload(i,e),!n},i[Oe]=function(e,n){return c((e=J(e=void 0===e?null:e)?ir(e,r,t,n):e)||i[Le](),t,n)},i}(null,a,l&&l[cr]?l[cr]():l),i=n||((e={reason:0})[Pe]=!1,e),s[Re]&&!0===s[Re](o,i,u)?t=!0:u(),t;function u(){var e;r||(r=!0,f.run(o,n),e=d,d=[],Y(e,function(e){e.rm()}),!0===t&&o[h](i),p())}},s[je]=function(e,n){var t,r,o,i=s[y];if(i&&(!e||i===e[y]()))return r=!1,o=e||function u(e,t,n){var r=t[Ae]||{},o=rr(e,r,t,n).ctx;return o[h]=function(n){return o.iterate(function(e){B(e[je])&&e[je](o,n)})},o[Oe]=function(e,n){return u((e=J(e=void 0===e?null:e)?ir(e,r,t,n):e)||o[Le](),t,n)},o}(null,i,l&&l[cr]?l[cr]():l),s._doUpdate&&!0===s._doUpdate(o,n||{reason:0},a)?t=!0:a(),t;function a(){r||(r=!0,c(o.getCfg(),o.core(),o[Le]()))}},s._addHook=function(e){e&&(J(e)?d=d.concat(e):d[K](e))},t="_addUnloadCb",n=function(){return f},(e=s)&&n&&(e[t]=(o=r=null,B(t=n)?r=t:o=t,function(){var e=arguments;if(o=r?r():o)return o.add[Ge](o,e)}))}),u[Fe]=function(e){return n(e)[Fe]()},u[Me]=function(){return i},u.setInitialized=function(e){i=e},u[Ue]=function(e){l=e},u[h]=function(e,n){n?n[h](e):l&&B(l[an])&&l[an](e,null)},u._getTelCtx=n}var lr="_aiHooks",fr=["req","rsp","hkErr","fnErr"];function dr(e,n){if(e)for(var t=0;t<e[G]&&!n(e[t],t);t++);}function pr(e,a,u,c,s){0<=s&&s<=2&&dr(e,function(e,n){var e=e.cbks,t=e[fr[s]];if(t){a.ctx=function(){return c[n]=c[n]||{}};try{t[Ge](a.inst,u)}catch(o){t=a.err;try{var r=e.hkErr;r&&(a.err=o,r[Ge](a.inst,u))}catch(i){}finally{a.err=t}}}})}function vr(c){return function(){var t=arguments,e=c.h,r=((n={})[we]=c.n,n.inst=this,n.ctx=null,n.set=function(e,n){(t=i([],t))[e]=n,o=i([r],t)},n),n=[],o=i([r],t);function i(n,e){return dr(e,function(e){n[K](e)}),n}r.evt=Z("event"),pr(e,r,o,n,0);var a=c.f;if(a)try{r.rslt=a[Ge](this,t)}catch(u){throw r.err=u,pr(e,r,o,n,3),u}return pr(e,r,o,n,1),r.rslt}}function gr(e,n,t,r,o){if(void 0===r&&(r=!0),e&&n&&t){e=function a(e,n,t,r){var o=null;return e&&(C[p](e,n)?o=e:t&&(o=a(An(e),n,r,!1))),o}(e,n,r,o);if(e){r=e[n];if(typeof r===c)return o=e,e=n,n=t,(i=r&&r[lr])||((t=vr(i={i:0,n:e,f:r,h:[]}))[lr]=i,o[e]=t),r={id:i.i,cbks:n,rm:function(){var t=this.id;dr(i.h,function(e,n){return e.id===t&&(i.h[Se](n,1),1)})}},i.i++,i.h[K](r),r}}var i;return null}var hr="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r="/v2/track",yr="not_specified",mr="iKey",x="length",xr="toLowerCase",Tr="toString",br="name",Cr="pathname",Ir="correlationHeaderExcludePatterns",wr="indexOf",_r="substring",Mr="";function Ar(e){var n=Mr+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,t=Mr+Math.floor(e/6e4)%60,r=Mr+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=Mr+e%1e3)[x]?"00"+e:2===e[x]?"0"+e:e,n=n[x]<2?"0"+n:n,t=t[x]<2?"0"+t:t,r=r[x]<2?"0"+r:r;return(0<o?o+".":Mr)+r+":"+t+":"+n+"."+e}Dr={},$({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]},function(e,n){Dr[e]=n[1],Dr[n[0]]=n[1]});var Dr,ee=Ln(Dr);function kr(e,n,t){var r=n[x],o=qr(e,n);if(o[x]!==r){for(var i=0,a=o;t[a]!==undefined;)i++,a=o[_r](0,147)+Rr(i);o=a}return o}function qr(e,n){var t;return n&&150<(n=Nn(n[Tr]()))[x]&&(t=n[_r](0,150),m(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),t||n}function Sr(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=Nn(n)).toString()[x]>t&&(r=n[Tr]()[_r](0,t),m(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function Er(e,n){return Pr(e,n,2048,66)}function Hr(r,e){var o;return e&&(o={},$(e,function(e,n){if(kn(n)&&rt())try{n=ot().stringify(n)}catch(t){m(r,2,49,"custom property is not valid",{exception:t},!0)}n=Sr(r,n,8192),e=kr(r,e,o),o[e]=n}),e=o),e}function Nr(t,e){var r;return e&&(r={},$(e,function(e,n){e=kr(t,e,r),r[e]=n}),e=r),e}function Pr(e,n,t,r){var o;return n&&(n=Nn(n))[x]>t&&(o=n[_r](0,t),m(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),o||n}function Rr(e){e="00"+e;return e.substr(e[x]-3)}(o={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=kr,o.sanitizeKey=qr,o.sanitizeString=Sr,o.sanitizeUrl=Er,o.sanitizeMessage=function(e,n){var t;return n&&32768<n[x]&&(t=n[_r](0,32768),m(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n},o.sanitizeException=function(e,n){var t,r;return n&&32768<(r=""+n)[x]&&(t=r[_r](0,32768),m(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),t||n},o.sanitizeProperties=Hr,o.sanitizeMeasurements=Nr,o.sanitizeId=function(e,n){return n&&Pr(e,n,128,69)[Tr]()},o.sanitizeInput=Pr,o.padNumber=Rr,o.trim=Nn;var jr=et()||{},Lr=0,Fr=[null,null,null,null,null];function Ur(t){var e=Lr,n=Fr,r=n[e];return jr.createElement?n[e]||(r=n[e]=jr.createElement("a")):r={host:function(){var e=Or(t,!0)||"";if(e){var n=e.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=n&&3<n[x]&&En(n[2])&&0<n[2][x])return n[2]+(n[3]||"")}return e}()},r.href=t,++e>=n[x]&&(e=0),Lr=e,r}function Or(e,n){var t=null;return e&&null!=(e=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<e[x]&&En(e[2])&&0<e[2][x]&&(t=e[2]||"",n&&2<e[x]&&(n=(e[1]||"")[xr](),e=e[3]||"",t+=e="http"===n&&":80"===e||"https"===n&&":443"===e?"":e)),t}var zr=["https://dc.services.visualstudio.com"+r,"https://breeze.aimon.applicationinsights.io"+r,"https://dc-int.services.visualstudio.com"+r],Vr={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,n,t){if(!n||e&&e.disableCorrelationHeaders)return!1;if(e&&e[Ir])for(var r=0;r<e.correlationHeaderExcludePatterns[x];r++)if(e[Ir][r].test(n))return!1;var o=Ur(n).host[xr]();if(!o||-1===o[wr](":443")&&-1===o[wr](":80")||(o=(Or(n,!0)||"")[xr]()),(!e||!e.enableCorsCorrelation)&&o&&o!==t)return!1;var i,t=e&&e.correlationHeaderDomains;if(t&&(Y(t,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a[x])return!0;for(r=0;r<a[x];r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o[x]},getCorrelationContext:function(e){if(e){e=Vr.getCorrelationContextValue(e,ee[1]);if(e&&e!==Vr.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,n){if(e)for(var t=e.split(","),r=0;r<t[x];++r){var o=t[r].split("=");if(2===o[x]&&o[0]===n)return o[1]}}};function Xr(){var e=tt();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return Un()}function Kr(e,n){return 0===e||0===n||W(e)||W(n)?null:n-e}Wr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Wr.dataType="RemoteDependencyData";var Gr=Wr;function Wr(e,n,t,r,o,i,a,u,c,s,l,f){void 0===c&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var d,p,v=this,t=(v.ver=2,v.id=n,v.duration=Ar(o),v.success=i,v.resultCode=a+"",v.type=Sr(e,c),n=e,o=u,c=a=i=r,a=(u=t)&&0<u[x]?(p=(t=Ur(u)).host,a||(null!=t[Cr]?("/"!=((d=0===t.pathname[x]?"/":t[Cr])[0]||"")&&(d="/"+d),c=t[Cr],Sr(n,o?o+" "+d:d)):Sr(n,u))):p=i,{target:p,name:a,data:c});v.data=Er(e,r)||t.data,v.target=Sr(e,t.target),s&&(v.target="".concat(v.target," | ").concat(s)),v[br]=Sr(e,t[br]),v.properties=Hr(e,l),v.measurements=Nr(e,f)}function Br(e){var n="ai."+e+".";return function(e){return n+e}}var $r,Jr,n=Br("application"),o=Br("device"),r=Br("location"),i=Br("operation"),Yr=Br("session"),a=Br("user"),Zr=Br("cloud"),Qr=Br("internal");function eo(){return $r.call(this)||this}Jr={applicationVersion:n("ver"),applicationBuild:n("build"),applicationTypeId:n("typeId"),applicationId:n("applicationId"),applicationLayer:n("layer"),deviceId:o("id"),deviceIp:o("ip"),deviceLanguage:o("language"),deviceLocale:o("locale"),deviceModel:o("model"),deviceFriendlyName:o("friendlyName"),deviceNetwork:o("network"),deviceNetworkName:o("networkName"),deviceOEMName:o("oemName"),deviceOS:o("os"),deviceOSVersion:o("osVersion"),deviceRoleInstance:o("roleInstance"),deviceRoleName:o("roleName"),deviceScreenResolution:o("screenResolution"),deviceType:o("type"),deviceMachineName:o("machineName"),deviceVMName:o("vmName"),deviceBrowser:o("browser"),deviceBrowserVersion:o("browserVersion"),locationIp:r("ip"),locationCountry:r("country"),locationProvince:r("province"),locationCity:r("city"),operationId:i("id"),operationName:i("name"),operationParentId:i("parentId"),operationRootId:i("rootId"),operationSyntheticSource:i("syntheticSource"),operationCorrelationVector:i("correlationVector"),sessionId:Yr("id"),sessionIsFirst:Yr("isFirst"),sessionIsNew:Yr("isNew"),userAccountAcquisitionDate:a("accountAcquisitionDate"),userAccountId:a("accountId"),userAgent:a("userAgent"),userId:a("id"),userStoreRegion:a("storeRegion"),userAuthUserId:a("authUserId"),userAnonymousUserAcquisitionDate:a("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:a("authUserAcquisitionDate"),cloudName:Zr("name"),cloudRole:Zr("role"),cloudRoleVer:Zr("roleVer"),cloudRoleInstance:Zr("roleInstance"),cloudEnvironment:Zr("environment"),cloudLocation:Zr("location"),cloudDeploymentUnit:Zr("deploymentUnit"),internalNodeName:Qr("nodeName"),internalSdkVersion:Qr("sdkVersion"),internalAgentVersion:Qr("agentVersion"),internalSnippet:Qr("snippet"),internalSdkSrc:Qr("sdkSrc")},M(eo,$r=function(){var t=this;$(Jr,function(e,n){t[e]=n})}),new eo;var no="duration",to="properties",ne="requestUrl",ro="inst",te="length",re="traceID",oo="spanID",oe="traceFlags",io="context",ao="aborted",uo="traceId",co="spanId",ie="core",so="includeCorrelationHeaders",lo="canIncludeCorrelationHeader",fo="getAbsoluteUrl",po="headers",ae="requestHeaders",vo="appId",go="setRequestHeader",ho="trackDependencyDataInternal",yo="distributedTracingMode",mo="startTime",xo="toLowerCase",ue="status",To="statusText",bo="headerMap",Co="openDone",Io="sendDone",wo="requestSentTime",_o="abortDone",Mo="getTraceId",Ao="getTraceFlags",Do="method",ko="errorStatusText",qo="stateChangeAttached",So="responseFinishedTime",Eo="CreateTrackItem",Ho="response",No="getAllResponseHeaders",Po="getPartAProps",Ro="getCorrelationContext",jo="perfMark",Lo="name",Fo="perfTiming",Uo="ajaxTotalDuration",Oo="eventTraceCtx";function zo(e,n,t){n=e[n],t=e[t];return n&&t?Kr(n,t):0}function Vo(e,n,t,r,o){t=zo(t,r,o);return t?Xo(e,n,Ar(t)):0}function Xo(e,n,t){var r="ajaxPerf",o=0;return e&&n&&t&&((e[r]=e[r]||{})[n]=t,o=1),o}var Ko=function(){var e=this;e[Co]=!1,e.setRequestHeaderDone=!1,e[Io]=!1,e[_o]=!1,e[qo]=!1},Go=(Wo.__ieDyn=1,Wo);function Wo(e,n,t,r){var o=this,i=t;o[jo]=null,o.completed=!1,o.requestHeadersSize=null,o[ae]=null,o.responseReceivingDuration=null,o.callbackDuration=null,o[Uo]=null,o[ao]=0,o.pageUrl=null,o[ne]=null,o.requestSize=0,o[Do]=null,o[ue]=null,o[wo]=null,o.responseStartedTime=null,o[So]=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new Ko,o.clientFailure=0,o[re]=e,o[oo]=n,o[oe]=null==r?void 0:r.getTraceFlags(),o[Oo]=r?((t={})[uo]=r[Mo](),t[co]=r.getSpanId(),t[oe]=r[Ao](),t):null,Ie(Wo,o,function(m){m.getAbsoluteUrl=function(){return m[ne]?(e=Ur(m[ne]))?e.href:void 0:null;var e},m.getPathName=function(){return m[ne]?Er(i,(e=m[Do],n=m[ne],e?e.toUpperCase()+" "+n:n)):null;var e,n},m[Eo]=function(e,n,t){if(m.ajaxTotalDuration=Math.round(1e3*Kr(m.requestSentTime,m.responseFinishedTime))/1e3,m[Uo]<0)return null;(y={id:"|"+m[re]+"."+m[oo],target:m[fo]()})[Lo]=m.getPathName(),y.type=e,y[mo]=null,y.duration=m[Uo],y.success=200<=+m[ue]&&+m[ue]<400,y.responseCode=+m[ue],y[to]={HttpMethod:m[Do]};var r,o,i,a,u,c,s,l,f,d,p,v,g,h,e=y,y=e[to];return m[ao]&&(y[ao]=!0),m[wo]&&(e[mo]=new Date,e[mo].setTime(m[wo])),a=(r=m)[Fo],u=(o=e)[to]||{},c=0,v="startTime",h="connectEnd",s="requestStart",g="responseEnd",l="transferSize",f="encodedBodySize",d="decodedBodySize",p="serverTiming",a?(c=(c=(c=(c=(c=(c=(c|=Vo(u,"End",a,"redirectStart","End"))|Vo(u,"domainLookup",a,"domainLookupStart","domainLookupEnd"))|Vo(u,"connect",a,"connectStart",h))|Vo(u,"request",a,s,"requestEnd"))|Vo(u,"response",a,"responseStart",g))|Vo(u,"networkConnect",a,v,h))|Vo(u,"sentRequest",a,s,g),h=a[no]||zo(a,v,g)||0,c=(c|=Xo(u,no,h))|Xo(u,"perfTotal",h),(s=a[p])&&(i={},Y(s,function(e,n){var n=qn(e.name||""+n),t=i[n]||{};$(e,function(e,n){!("name"!==e&&En(n)||"number"==typeof n)||!(n=t[e]?t[e]+";"+n:n)&&En(n)||(t[e]=n)}),i[n]=t}),c|=Xo(u,p,i)),c=(c=(c|=Xo(u,l,a[l]))|Xo(u,f,a[f]))|Xo(u,d,a[d])):r[jo]&&(c|=Xo(u,"missing",r.perfAttempts)),c&&(o[to]=u),n&&0<jn(m.requestHeaders)[te]&&(y[ae]=m[ae]),t&&(v=t())&&((g=v.correlationContext)&&(e.correlationContext=g),v[bo]&&0<jn(v.headerMap)[te]&&(y.responseHeaders=v[bo]),m[ko]&&(400<=m[ue]?(""!==(h=v.type)&&"text"!==h||(y.responseText=v.responseText?v[To]+" - "+v.responseText:v[To]),"json"===h&&(y.responseText=v.response?v[To]+" - "+JSON.stringify(v[Ho]):v[To])):0===m[ue]&&(y.responseText=v[To]||""))),e},m[Po]=function(){var e,n=null,t=m[Oo];return t&&(t[uo]||t[co])&&(e=(n={}).trace=((e={})[re]=t[uo],e.parentID=t[co],e),W(t[oe])||(e[oe]=t[oe])),n}})}var Bo="ai.ajxmn.",$o="diagLog",Jo="_ajaxData",Yo="fetch",Zo="Failed to monitor XMLHttpRequest",n=", monitoring data for this ajax call ",Qo=n+"may be incorrect.",ei=n+"won't be sent.",ni="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",ti="Failed to add custom defined request context as configured call back may missing a null check.",ri="Failed to calculate the duration of the ",oi=0,ii=null;function ai(e,n){var t,r=!1,o=(function(){var e=!1;try{e=!!Z(Yn)}catch(n){}return e}()&&(r=!(W(o=XMLHttpRequest[X])||W(o.open)||W(o.send)||W(o.abort))),function(e){var n=((e=(e=void 0===e?null:e)?e:(n=nt()||{})?(n[ze]||d)[$e]():d)||d)[$e]();if(Sn(n,$n))return e=et()||{},Math.max(parseInt(n[Ve]($n)[1]),e[Vn]||0);if(Sn(n,Jn)){e=parseInt(n[Ve](Jn)[1]);if(e)return e+4}return null}());if(r=!(o&&o<9)&&r)try{var i=new XMLHttpRequest,a={xh:[],i:((t={})[n]={},t)},u=(i[Jo]=a,XMLHttpRequest[X].open);XMLHttpRequest[X].open=u}catch(c){r=!1,li(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:Q(c)})}return r}var ui=function(e,n){return e&&n&&e[Jo]?(e[Jo].i||{})[n]:null},ci=function(e,n){var t=!1;return e&&(e=(e[Jo]||{}).xh)&&Y(e,function(e){if(e.n===n)return t=!0,-1}),t};function si(e,n){var t="";try{var r=ui(e,n);r&&r[ne]&&(t+="(url: '"+r[ne]+"')")}catch(o){}return t}function li(e,n,t,r,o){m(e[$o](),1,n,t,r,o)}function ce(e,n,t,r,o){m(e[$o](),2,n,t,r,o)}function fi(n,t,r){return function(e){li(n,t,r,{ajaxDiagnosticsMessage:si(e[ro],n._ajaxDataId),exception:Q(e.err)})}}function di(e,n){return e&&n?e.indexOf(n):-1}function pi(t,e,n){var r={id:e,fn:n};return t.push(r),{remove:function(){Y(t,function(e,n){if(e.id===r.id)return t.splice(n,1),-1})}}}function vi(r,e,o,i){var a=!0;return Y(e,function(e,n){try{!1===e.fn.call(null,o)&&(a=!1)}catch(t){m(r&&r.logger,1,64,"Dependency "+i+" [#"+n+"] failed: "+((e=t)&&"[object Error]"===Tn[p](e)?e[we]:d),{exception:Q(t)},!0)}}),a}var gi,o="*.blob.core.",hi=Ln([o+"windows.net",o+"chinacloudapi.cn",o+"cloudapi.de",o+"usgovcloudapi.net"]),yi=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function mi(){return{maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:undefined,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:hi,correlationHeaderDomains:undefined,correlationHeaderExcludePatterns:undefined,appId:undefined,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"],addRequestContext:undefined,addIntEndpoints:!0}}function xi(){var n=mi();return $(n,function(e){n[e]=undefined}),n}function se(){var C,I,w,_,M,A,r,D,k,q,S,E,H,N,P,R,j,L,F,U,O,n,z,V,e=gi.call(this)||this;return e.identifier=se.identifier,e.priority=120,Ie(se,e,function(p,a){var u=a._addHook;function e(){var e=typeof location===le&&location?location:Z("location");I=C=!1,w=e&&e.host&&e.host[xo](),_=se.getEmptyConfig(),N=E=q=k=A=M=!1,j=R=!(P={}),U=F=L=S=D=null,n=H=r=0,z=[],V=[],O=kt("ajaxData"),p._ajaxDataId=O}function f(n){var t=!0;return(n||_.ignoreHeaders)&&Y(_.ignoreHeaders,function(e){if(e[xo]()===n[xo]())return t=!1,-1}),t}function c(e,n,t){u(e?gr(e[X],n,t,!1):null)}function d(e,n,t){var r=!1,o=((En(n)?n:(n||{}).url||"")||"")[xo]();if(Y(L,function(e){var n=e;En(e)&&(n=RegExp(e)),r=r||n.test(o)}),r)return r;var i=di(o,"?"),a=di(o,"#");return-1!==(i=-1===i||-1!==a&&a<i?a:i)&&(o=o.substring(0,i)),W(e)?W(n)||(r="object"==typeof n&&!0===n[hr]||!!t&&!0===t[hr]):r=!0===e[hr]||!0===o[hr],(r=!(r||!o||-1===function(e,n){if(e){if(e[dn])return e[dn](n,void 0);var t=e[G];try{for(var r=0;r<t;r++)if(r in e&&e[r]===n)return r}catch(o){}}return-1}(zr,o[xr]()))||r)?P[o]||(P[o]=1):P[o]&&(r=!0),r}function s(e,n,t){var r=!0;return W(e)||(r=!0===t||!W(n)),I&&r}function v(){var e,n,t=null;return!(t=p[ie]&&p[ie].getTraceCtx?p[ie].getTraceCtx(!1):t)&&D&&D.telemetryTrace&&(e=D.telemetryTrace,n=e||{},t={getName:function(){return n[br]},setName:function(e){n[br]=e},getTraceId:function(){return n.traceID},setTraceId:function(e){Bt(e)&&(n.traceID=e)},getSpanId:function(){return n.parentID},setSpanId:function(e){$t(e)&&(n.parentID=e)},getTraceFlags:function(){return n.traceFlags},setTraceFlags:function(e){n.traceFlags=e}}),t}function g(t,r){r.xhrMonitoringState[qo]=function(e,n,t,r){void 0===r&&(r=!1);var o,i,a,u,c,s=!1;if(e)try{var l,f=Ft("readystatechange",t),d=f,p=n,v=r,g=!1;(c=e)&&d&&d[Je]&&p&&(c[Et]?(c[Et](d[Je],p,v),g=!0):c[St]&&(c[St]("on"+d[Je],p),g=!0)),(s=g)&&Rt.accept(e)&&((o={guid:Pt++,evtName:f}).handler=n,o.capture=r,l=o,i=f.type,((u=Rt.get(e,"events",{},a=void 0===a||a))[i]||(u[i]=[]))[K](l))}catch(h){}return s}(t,function(){try{t&&4===t.readyState&&s(t,r)&&((u=ui(a=t,O))[So]=Xr(),u[ue]=a[ue],y("xmlhttprequest",u,function(){try{var e,n=u[Eo]("Ajax",M,function(){var e,t,n={statusText:a[To],headerMap:null,correlationContext:l(a),type:a.responseType,responseText:function(e){try{var n=e.responseType;if(""===n||"text"===n)return e.responseText}catch(t){}return null}(a),response:a[Ho]};return N&&(e=a[No]())&&(e=Nn(e).split(/[\r\n]+/),t={},Y(e,function(e){var e=e.split(": "),n=e.shift(),e=e.join(": ");f(n)&&(t[n]=e)}),n[bo]=t),n}),t=void 0;try{F&&(t=F({status:a[ue],xhr:a}))}catch(o){ce(p,104,ti)}n?(t!==undefined&&(n[to]=de(de({},n.properties),t)),e=u[Po](),b(V,p[ie],u,n,null,e)):i(null,{requestSentTime:u[wo],responseFinishedTime:u[So]})}finally{try{var r=(a[Jo]||{i:{}}).i||{};r[O]&&(r[O]=null)}catch(o){}}},function(e){i(e,null)}))}catch(n){var e=Q(n);e&&-1!==di(e[xo](),"c00c023f")||li(p,16,Zo+" 'readystatechange' event handler"+Qo,{ajaxDiagnosticsMessage:si(t,O),exception:e})}function i(e,n){n=n||{};n.ajaxDiagnosticsMessage=si(a,O),e&&(n.exception=Q(e)),ce(p,14,ri+"ajax call"+ei,n)}var a,u},U)}function l(e){try{var n,t=e[No]();if(null!==t&&-1!==di(t[xo](),ee[8]))return n=e.getResponseHeader(ee[0]),Vr[Ro](n)}catch(r){ce(p,18,ni,{ajaxDiagnosticsMessage:si(e,O),exception:Q(r)})}}function h(e,n){var t;n[ne]&&S&&E&&(t=tt())&&B(t.mark)&&(e=S+e+"#"+ ++oi,t.mark(e),(e=t.getEntriesByName(e))&&1===e[te]&&(n[jo]=e[0]))}function y(i,a,u,c){var s=a[jo],l=tt(),f=_.maxAjaxPerfLookupAttempts,d=_.ajaxPerfLookupDelay,p=a[ne],v=0;!function g(){try{if(l&&s){v++;for(var e=null,n=l.getEntries(),t=n[te]-1;0<=t;t--){var r=n[t];if(r){if("resource"===r.entryType)r.initiatorType!==i||-1===di(r[Lo],p)&&-1===di(p,r[Lo])||(e=r);else if("mark"===r.entryType&&r[Lo]===s[Lo]){a[Fo]=e;break}if(r[mo]<s[mo]-1e3)break}}}!s||a[Fo]||f<=v||!1===a["async"]?(s&&B(l.clearMarks)&&l.clearMarks(s[Lo]),a.perfAttempts=v,u()):setTimeout(g,d)}catch(o){c(o)}}()}function m(e){var n="";try{W(e)||(En(e)?n+="(url: '".concat(e,"')"):n+="(url: '".concat(e.url,"')"))}catch(t){li(p,15,"Failed to grab failed fetch diagnostics message",{exception:Q(t)})}return n}function x(e,r,o,i,a,u){function c(e,n,t){t=t||{};t.fetchDiagnosticsMessage=m(o),n&&(t.exception=Q(n)),ce(p,e,ri+"fetch call"+ei,t)}a&&(a[So]=Xr(),a[ue]=r,y(Yo,a,function(){var e,n=a[Eo]("Fetch",M,u);try{F&&(e=F({status:r,request:o,response:i}))}catch(t){ce(p,104,ti)}n?(e!==undefined&&(n[to]=de(de({},n.properties),e)),e=a[Po](),b(V,p[ie],a,n,null,e)):c(14,null,{requestSentTime:a[wo],responseFinishedTime:a[So]})},function(e){c(18,e,null)}))}function T(e){if(e&&e[po])try{var n=e[po].get(ee[0]);return Vr[Ro](n)}catch(t){ce(p,18,ni,{fetchDiagnosticsMessage:m(e),exception:Q(t)})}}function b(e,n,t,r,o,i){var a=!0;(a=0<e[te]?vi(n,e,{item:r,properties:o,sysProperties:i,context:t?t[io]:null,aborted:!!t&&!!t[ao]},"initializer"):a)&&p[ho](r,o,i)}e(),p.initialize=function(e,n,t,r){var o,l,i;p.isInitialized()||(a.initialize(e,n,t,r),t=kt("ajax"),i=(r=n&&n.evtNamespace&&n.evtNamespace())?Ft("xx",i=J(r)?[t].concat(r):[t,r]).ns[Ve]("."):t,U=i,o=or(null,n=e,p[ie]),_=xi(),$(mi(),function(e,n){_[e]=o.getConfig(se.identifier,e,n)}),r=_[yo],M=_.enableRequestHeaderTracking,A=_.enableAjaxErrorStatusText,E=_.enableAjaxPerfTracking,H=_.maxAjaxCallsPerView,N=_.enableResponseHeaderTracking,L=[].concat(_.excludeRequestFromAutoTrackingPatterns||[],!1!==_.addIntEndpoints?yi:[]),F=_.addRequestContext,q=0===r||1===r,k=1===r||2===r,E&&(t=n.instrumentationKey||"unkwn",S=5<t[te]?Bo+t.substring(t[te]-5)+".":Bo+t+"."),R=!!_.disableAjaxTracking,j=!!_.disableFetchTracking,!ai(p,O)||R||I||(c(XMLHttpRequest,"open",{ns:U,req:function(e,n,t,r){var o,i,a,u,c;R||(e=e[ro],o=ui(e,O),!d(e,t)&&s(e,o,!0)&&(o&&o.xhrMonitoringState[Co]||(u=e,n=n,t=t,r=r,c=(i=v())&&i[Mo]()||Ut(),a=Ut().substr(0,16),(c=(u=(u=u[Jo]=u[Jo]||{xh:[],i:{}}).i=u.i||{})[O]=u[O]||new Go(c,a,p[$o](),null==(u=p.core)?void 0:u.getTraceCtx()))[oe]=i&&i[Ao](),c[Do]=n,c[ne]=t,c.xhrMonitoringState[Co]=!0,c[ae]={},c["async"]=r,c[ko]=A,o=c),g(e,o)))},hkErr:fi(p,15,Zo+".open"+Qo)}),c(XMLHttpRequest,"send",{ns:U,req:function(e,n){var t;R||s(e=e[ro],t=ui(e,O))&&!t.xhrMonitoringState[Io]&&(h("xhr",t),t[wo]=Xr(),p[so](t,undefined,undefined,e),t.xhrMonitoringState[Io]=!0)},hkErr:fi(p,17,Zo+Qo)}),c(XMLHttpRequest,"abort",{ns:U,req:function(e){R||s(e=e[ro],e=ui(e,O))&&!e.xhrMonitoringState[_o]&&(e[ao]=1,e.xhrMonitoringState[_o]=!0)},hkErr:fi(p,13,Zo+".abort"+Qo)}),c(XMLHttpRequest,"setRequestHeader",{ns:U,req:function(e,n,t){var r;R||(e=e[ro],(r=ui(e,O))&&s(e,r)&&(e&&(e=(e[Jo]||{}).xh)&&e.push({n:n,v:t}),M&&f(n)&&r&&(r[ae][n]=t)))},hkErr:fi(p,71,Zo+".setRequestHeader"+Qo)}),I=!0),(e=!(i=fe())||W(i.Request)||W(i.Request[X])||W(i[Yo])?null:i[Yo])&&(r=fe(),l=e.polyfill,j||C?l&&u(gr(r,Yo,{ns:U,req:function(e,n,t){d(null,n,t)}})):(u(gr(r,Yo,{ns:U,req:function(e,n,t){var r,o,i,a,u,c,s;j||!C||d(null,n,t)||l&&I||(r=e.ctx(),o=n,i=t,c=(a=v())&&a[Mo]()||Ut(),u=Ut().substr(0,16),(u=new Go(c,u,p[$o](),null==(c=p.core)?void 0:c.getTraceCtx()))[oe]=a&&a[Ao](),u[wo]=Xr(),u[ko]=A,o instanceof Request?u[ne]=o?o.url:"":u[ne]=o,c="GET",i&&i[Do]?c=i[Do]:o&&o instanceof Request&&(c=o[Do]),u[Do]=c,s={},M&&new Headers((i?i[po]:0)||o instanceof Request&&o[po]||{}).forEach(function(e,n){f(n)&&(s[n]=e)}),u[ae]=s,h(Yo,u),a=u,(c=p[so](a,n,t))!==t&&e.set(1,c),r.data=a)},rsp:function(e,t){var r;j||(r=e.ctx().data)&&(e.rslt=e.rslt.then(function(n){return x(0,(n||{})[ue],t,n,r,function(){var t,e={statusText:(n||{})[To],headerMap:null,correlationContext:T(n)};return N&&n&&(t={},n.headers.forEach(function(e,n){f(n)&&(t[n]=e)}),e[bo]=t),e}),n})["catch"](function(e){throw x(0,0,t,null,r,null,e.message||Q(e)),e}))},hkErr:fi(p,15,"Failed to monitor Window.fetch"+Qo)},!0,function(){if(null==ii)try{ii=!!(self&&self instanceof WorkerGlobalScope)}catch(e){ii=!1}return ii}())),C=!0),l&&(r[Yo].polyfill=l)),(n=p[ie].getPlugin("AppInsightsPropertiesPlugin"))&&(D=n.plugin[io]))},p._doTeardown=function(){e()},p.trackDependencyData=function(e,n){b(V,p[ie],null,e,n)},p[so]=function(e,n,t,r){var o,i,a,u,c=p._currentWindowHost||w,s=z,l=p[ie],f=e,d=t;return 0<s[te]&&(vi(l,s,s={core:l,xhr:r,input:n,init:d,traceId:f[re],spanId:f[oo],traceFlags:f[oe],context:f[io]||{},aborted:!!f[ao]},"listener"),f[re]=s[uo],f[oo]=s[co],f[oe]=s[oe],f[io]=s[io]),n||""===n?(Vr[lo](_,e[fo](),c)&&(t=t||{},l=new Headers(t[po]||n instanceof Request&&n[po]||{}),q&&(o="|"+e[re]+"."+e[oo],l.set(ee[3],o),M&&(e[ae][ee[3]]=o)),(i=_[vo]||D&&D[vo]())&&(l.set(ee[0],ee[2]+i),M&&(e[ae][ee[0]]=ee[2]+i)),k&&(W(a=e[oe])&&(a=1),u=Jt(Wt(e[re],e[oo],a)),l.set(ee[4],u),M&&(e[ae][ee[4]]=u)),t[po]=l),t):r?(Vr[lo](_,e[fo](),c)&&(q&&(ci(r,ee[3])?ce(p,71,"Unable to set ["+ee[3]+"] as it has already been set by another instance"):(o="|"+e[re]+"."+e[oo],r[go](ee[3],o),M&&(e[ae][ee[3]]=o))),(i=_[vo]||D&&D[vo]())&&(ci(r,ee[0])?ce(p,71,"Unable to set ["+ee[0]+"] as it has already been set by another instance"):(r[go](ee[0],ee[2]+i),M&&(e[ae][ee[0]]=ee[2]+i))),k&&(W(a=e[oe])&&(a=1),ci(r,ee[4])?ce(p,71,"Unable to set ["+ee[4]+"] as it has already been set by another instance"):(u=Jt(Wt(e[re],e[oo],a)),r[go](ee[4],u),M&&(e[ae][ee[4]]=u)))),r):undefined},p[ho]=function(e,n,t){-1===H||r<H?(2!==_[yo]&&1!==_[yo]||"string"!=typeof e.id||"."===e.id[e.id[te]-1]||(e.id+="."),W(e[mo])&&(e[mo]=new Date),e=function(e,n,t,r,o,i){var a;if(t=Sr(r,t)||yr,W(e)||W(n)||W(t))throw Error("Input doesn't contain all required fields");var r="",u=(e[mr]&&(r=e[mr],delete e[mr]),(a={})[br]=t,a.time=function(e){if(e){if(xn)return e[fn]();var n;return e&&e.getUTCFullYear?(n=function(e){e=""+e;return 1===e[G]?"0"+e:e},e.getUTCFullYear()+"-"+n(1+e.getUTCMonth())+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"):void 0}}(new Date),a.iKey=r,a.ext=i||{},a.tags=[],a.data={},a.baseType=n,a.baseData=e,a);return W(o)||$(o,function(e,n){u.data[e]=n}),u}(e,Gr.dataType,Gr.envelopeType,p[$o](),n,t),p[ie].track(e)):r===H&&li(p,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0),++r},p.addDependencyListener=function(e){return pi(z,n++,e)},p.addDependencyInitializer=function(e){return pi(V,n++,e)}}),e}M(se,gi=e),se.prototype.processTelemetry=function(e,n){this.processNext(e,n)},se.prototype.addDependencyInitializer=function(e){return null},se.identifier="AjaxDependencyPlugin",se.getDefaultConfig=mi,se.getEmptyConfig=xi,u.AjaxPlugin=se,u.DfltAjaxCorrelationHeaderExDomains=hi,u.ajaxRecord=Go;r=u,i="__esModule",Yr={value:!0},a=Object.defineProperty;if(a)try{return void a(r,i,Yr)}catch(Ti){}typeof Yr.value!==undefined&&(r[i]=Yr.value)}); | ||
//# sourceMappingURL=applicationinsights-dependencies-js.min.js.map |
/* | ||
* Microsoft Application Insights XHR dependencies plugin, 2.8.19-nightly.2404-09 | ||
* Microsoft Application Insights XHR dependencies plugin, 2.8.19-nightly.2404-10 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
{ | ||
"name": "@microsoft/applicationinsights-dependencies-js", | ||
"version": "2.8.19-nightly.2404-09", | ||
"version": "2.8.19-nightly.2404-10", | ||
"description": "Microsoft Application Insights XHR dependencies plugin", | ||
@@ -58,4 +58,4 @@ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", | ||
"@microsoft/applicationinsights-shims": "2.0.2", | ||
"@microsoft/applicationinsights-core-js": "2.8.19-nightly.2404-09", | ||
"@microsoft/applicationinsights-common": "2.8.19-nightly.2404-09" | ||
"@microsoft/applicationinsights-core-js": "2.8.19-nightly.2404-10", | ||
"@microsoft/applicationinsights-common": "2.8.19-nightly.2404-10" | ||
}, | ||
@@ -62,0 +62,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
+ Added@microsoft/applicationinsights-common@2.8.19-nightly.2404-10(transitive)
+ Added@microsoft/applicationinsights-core-js@2.8.19-nightly.2404-10(transitive)
- Removed@microsoft/applicationinsights-common@2.8.19-nightly.2404-09(transitive)
- Removed@microsoft/applicationinsights-core-js@2.8.19-nightly.2404-09(transitive)
Updated@microsoft/applicationinsights-common@2.8.19-nightly.2404-10
Updated@microsoft/applicationinsights-core-js@2.8.19-nightly.2404-10