New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/applicationinsights-analytics-js

Package Overview
Dependencies
Maintainers
2
Versions
606
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/applicationinsights-analytics-js - npm Package Compare versions

Comparing version 2.7.2-nightly.2111-05 to 2.7.2-nightly.2111-06

18

browser/applicationinsights-analytics-js.integrity.json
{
"name": "applicationinsights-analytics-js",
"version": "2.7.2-nightly.2111-05",
"version": "2.7.2-nightly.2111-06",
"ext": {

@@ -8,7 +8,7 @@ "@js": {

"type": "text/javascript; charset=utf-8",
"integrity": "sha256-UpSlkMT238yIT5fqPmkmyIzVQ2KLPY0DEE8rrjZ2rAs= sha384-rhF8ycyLvujbhdrdYrf6g30fvTjze1oCoC1SUjiEzB1+IVrHHO7wMLpCcG6tk1UM sha512-a8w9DYpIOW0eORLjTPB8XpklZ8+HA0ovuoHgMTEU6iUsWkffhmzKnFSZO3v4iGz/3r9M1dx7byVvzRdP6khVBQ==",
"integrity": "sha256-tajSrUaueix1Brg+iLPNuLumcGpzFfanIZT4RqKQhJE= sha384-ESQRu+hIv5cffRXHT+sGqxgQuPD/fBUov5W2I6atmsZ0j5dz0WosrbDtxwNJqyuo sha512-ClfPr4aTLln0/SHIYgkYT+Xelc7+a8FQBUQ/qzJX8lIem6tSkesZqEK5XtjUpl5YU0Ld6XGlHeDCjga6qbg/LQ==",
"hashes": {
"sha256": "UpSlkMT238yIT5fqPmkmyIzVQ2KLPY0DEE8rrjZ2rAs=",
"sha384": "rhF8ycyLvujbhdrdYrf6g30fvTjze1oCoC1SUjiEzB1+IVrHHO7wMLpCcG6tk1UM",
"sha512": "a8w9DYpIOW0eORLjTPB8XpklZ8+HA0ovuoHgMTEU6iUsWkffhmzKnFSZO3v4iGz/3r9M1dx7byVvzRdP6khVBQ=="
"sha256": "tajSrUaueix1Brg+iLPNuLumcGpzFfanIZT4RqKQhJE=",
"sha384": "ESQRu+hIv5cffRXHT+sGqxgQuPD/fBUov5W2I6atmsZ0j5dz0WosrbDtxwNJqyuo",
"sha512": "ClfPr4aTLln0/SHIYgkYT+Xelc7+a8FQBUQ/qzJX8lIem6tSkesZqEK5XtjUpl5YU0Ld6XGlHeDCjga6qbg/LQ=="
}

@@ -19,7 +19,7 @@ },

"type": "text/javascript; charset=utf-8",
"integrity": "sha256-njeZb8bA8EdiBptIYjcvbBKO9kVgCV8ZpC7XJ+FgESE= sha384-/WjKG4z9KNkuO8MMeFSQRrdMn9/+juVvgNe2z2ARYpZSNMGrYPGtvjjq1Jp6ugxb sha512-P8YdUvNqhPvvc3y5elRpn+/1O/ACNyrv2IbZrCbvBa9znGGt8GpAvBZWzaZ3E1qCjx8COb9ZEqDf9e8vXrWfsw==",
"integrity": "sha256-3XaeWqy5/hQL30Fg4ghB8umnr6lfBrqfkMl07utmUo8= sha384-T6occdrbcq5fyYIvvvOHUMzCyv+mZcvwR/vIx7J7pY0xIZmEqPwNhc6cUwp1jx8Z sha512-j2IwO72gRDXbLUNNRyvpaY1hntWBD21poMbwdiA2+8YmBoBJXBRbhlAXTagpY2blpNOV97aMp15iRiuuyUSyBw==",
"hashes": {
"sha256": "njeZb8bA8EdiBptIYjcvbBKO9kVgCV8ZpC7XJ+FgESE=",
"sha384": "/WjKG4z9KNkuO8MMeFSQRrdMn9/+juVvgNe2z2ARYpZSNMGrYPGtvjjq1Jp6ugxb",
"sha512": "P8YdUvNqhPvvc3y5elRpn+/1O/ACNyrv2IbZrCbvBa9znGGt8GpAvBZWzaZ3E1qCjx8COb9ZEqDf9e8vXrWfsw=="
"sha256": "3XaeWqy5/hQL30Fg4ghB8umnr6lfBrqfkMl07utmUo8=",
"sha384": "T6occdrbcq5fyYIvvvOHUMzCyv+mZcvwR/vIx7J7pY0xIZmEqPwNhc6cUwp1jx8Z",
"sha512": "j2IwO72gRDXbLUNNRyvpaY1hntWBD21poMbwdiA2+8YmBoBJXBRbhlAXTagpY2blpNOV97aMp15iRiuuyUSyBw=="
}

@@ -26,0 +26,0 @@ }

/*!
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.
*/
var e=this,t=function(e){"use strict";var r="function",x="object",i="undefined",a="prototype",o="hasOwnProperty",n=Object,s=n[a],t=n.assign,c=n.create,l=n.defineProperty,u=s[o];function g(){return typeof globalThis!==i&&globalThis?globalThis:typeof self!==i&&self?self:typeof window!==i&&window?window:typeof global!==i&&global?global:null}function f(e){throw new TypeError(e)}(g()||{}).Symbol,(g()||{}).Reflect;var p=t||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])s[o].call(t,i)&&(e[i]=t[i]);return e},d=function(e,t){return(d=n.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[o](n)&&(e[n]=t[n])})(e,t)};function m(e,t){function n(){this.constructor=e}typeof t!==r&&null!==t&&f("Class extends value "+t+" is not a constructor or null"),d(e,t),e[a]=null===t?function(e){if(c)return c(e);if(null==e)return{};var t=typeof e;function n(){}return t!==x&&t!==r&&f("Object prototype may only be an Object:"+e),n[a]=e,new n}(t):(n[a]=t[a],new n)}var S,h="constructor",v="prototype",y="function",T="_dynInstFuncs",w="_isDynProxy",I="_dynClass",C="_dynInstChk",k=C,P="_dfOpts",b="_unknown_",N="__proto__",E="useBaseInst",L="setInstFuncs",A=Object,M=A.getPrototypeOf,R=0;function V(e,t){return e&&A[v].hasOwnProperty.call(e,t)}function _(e){return e&&(e===A[v]||e===Array[v])}function D(e){return _(e)||e===Function[v]}function F(e){if(e){if(M)return M(e);if(e=e[N]||e[v]||(e[h]?e[h][v]:null))return e}return null}function O(e,t){var n=[],r=A.getOwnPropertyNames;if(r)n=r(e);else for(var i in e)"string"==typeof i&&V(e,i)&&n.push(i);if(n&&0<n.length)for(var a=0;a<n.length;a++)t(n[a])}function B(e,t,n){return t!==h&&typeof e[t]===y&&(n||V(e,t))}function U(e){throw new TypeError("DynamicProto: "+e)}function z(e,t){for(var n=e.length-1;0<=n;n--)if(e[n]===t)return 1}function j(e,t){return V(e,v)?e.name||t||b:((e||{})[h]||{}).name||t||b}function W(e,r,t,n){V(e,v)||U("theClass is an invalid class definition.");var i=e[v];!function(e){if(M)for(var t=[],n=F(r);n&&!D(n)&&!z(t,n);){if(n===e)return 1;t.push(n),n=F(n)}}(i)&&U("["+j(e)+"] is not in class hierarchy of ["+j(r)+"]");var a=null;V(i,I)?a=i[I]:(a="_dynCls$"+j(e,"_")+"$"+R,R++,i[I]=a);var o=W[P],s=!!o[E];s&&n&&n[E]!==undefined&&(s=!!n[E]);var c,l,u,g,f,p,e=(l={},O(c=r,function(e){!l[e]&&B(c,e,!1)&&(l[e]=c[e])}),l);t(r,function(e,t,n,a){function r(e,t,n){var r,i=t[n];return i[w]&&a&&!1!==(r=e[T]||{})[k]&&(i=(r[t[I]]||{})[n]||i),function(){return i.apply(e,arguments)}}var i={};O(n,function(e){i[e]=r(t,n,e)});for(var o=F(e),s=[];o&&!D(o)&&!z(s,o);)O(o,function(e){!i[e]&&B(o,e,!M)&&(i[e]=r(t,o,e))}),s.push(o),o=F(o);return i}(i,r,e,s)),o=!!M&&!!o[L],u=i,a=a,g=r,f=e,n=!1!==(o=o&&n?!!n[L]:o),_(u)||(o=g[T]=g[T]||{},p=o[a]=o[a]||{},!1!==o[k]&&(o[k]=!!n),O(g,function(e){var n,r,i;B(g,e,!1)&&g[e]!==f[e]&&(p[e]=g[e],delete g[e],V(u,e)&&(!u[e]||u[e][w])||(u[e]=(n=u,r=e,(i=function(){var e,t;return(function(e,t,n,r){var i=null;if(e&&V(n,I)){var a=e[T]||{};if((i=(a[n[I]]||{})[t])||U("Missing ["+t+"] "+y),!i[C]&&!1!==a[k]){for(var o=!V(e,t),s=F(e),c=[];o&&s&&!D(s)&&!z(c,s);){var l=s[t];if(l){o=l===r;break}c.push(s),s=F(s)}try{o&&(e[t]=i),i[C]=1}catch(u){a[k]=!1}}}return i}(this,r,n,i)||(typeof(t=(t=n[e=r])===i?F(n)[e]:t)!==y&&U("["+e+"] is not a "+y),t)).apply(this,arguments)})[w]=1,i)))}))}W[P]={setInstFuncs:!0,useBaseInst:!0},(xn=S=S||{})[xn.CRITICAL=1]="CRITICAL",xn[xn.WARNING=2]="WARNING";var G={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},K=l;function q(e){return s.toString.call(e)}function J(e){return e===undefined||typeof e===i}function H(e){return null===e||J(e)}function X(e){return!H(e)}function $(e){return typeof e===x}function Z(e){return typeof e===r}function Q(e,t){if(e)for(var n in e)u.call(e,n)&&t.call(e,n,e[n])}function Y(e,t){return!(!e||!t||!~e.indexOf(t))}function ee(e){return"[object Array]"===q(e)}function te(e){return"[object Error]"===q(e)}function ne(e){return"string"==typeof e}function re(e,t,n){var r=e.length;try{for(var i=0;i<r&&!(i in e&&-1===t.call(n||e,e[i],i,e));i++);}catch(a){}}function ie(e,t,n){var r=e.length,i=n||e,a=Array(r);try{for(var o=0;o<r;o++)o in e&&(a[o]=t.call(i,e[o],e))}catch(s){}return a}function ae(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}function oe(){var e=Date;return e.now?e.now():(new e).getTime()}function se(e){return te(e)?e.name:""}function ce(e,t,n,r,i){var a=n;return e&&((a=e[t])===n||i&&!i(a)||r&&!r(n)||(e[t]=a=n)),a}function le(e){return!!e}var ue="window",ge="document",fe="location",pe="JSON",de="msie",me="trident/",he=null,ve=null,ye=!1;function Te(e){var t=g();return t&&t[e]?t[e]:e===ue&&we()?window:null}function we(){return typeof window===x&&window}function Ie(){return we()?window:Te(ue)}function Ce(){return typeof document===x&&document?document:Te(ge)}function xe(){return typeof navigator===x&&navigator?navigator:Te("navigator")}function Se(e){return e&&ye&&(e=Te("__mockLocation"))?e:typeof location===x&&location?location:Te(fe)}function ke(){return Te("performance")}function Pe(){return typeof JSON===x&&JSON||null!==Te(pe)}function be(){return Pe()?JSON||Te(pe):null}function Ne(){var e=xe();return!e||e.userAgent===ve&&null!==he||(e=((ve=e.userAgent)||"").toLowerCase(),he=Y(e,de)||Y(e,me)),he}function Ee(e){var t=Object[a].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Pe()&&(n=be().stringify(e)),t+n}function Le(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function Ae(e,t){var n,r=typeof console!==i?console:Te("console");r&&(n="log",Z(r[n=r[e]?e:n])&&r[n](t))}var Me=(Re.dataType="MessageData",Re);function Re(e,t,n,r){void 0===n&&(n=!1),this.messageId=e,this.message=(n?"AI: ":"AI (Internal): ")+e,e="",Pe()&&(e=be().stringify(r)),e=(t?" message:"+Le(t):"")+(r?" props:"+Le(e):""),this.message+=e}var Ve=function er(n){this.identifier="DiagnosticLogger",this.queue=[];var i=0,o={};W(er,this,function(a){function e(e,t){return H(e=n[e])?t:e}H(n)&&(n={}),a.consoleLoggingLevel=function(){return e("loggingLevelConsole",0)},a.telemetryLoggingLevel=function(){return e("loggingLevelTelemetry",1)},a.maxInternalMessageLimit=function(){return e("maxMessageLimit",25)},a.enableDebugExceptions=function(){return e("enableDebugExceptions",!1)},a.throwInternal=function(e,t,n,r,i){if(t=new Me(t,n,i=void 0!==i&&i,r),a.enableDebugExceptions())throw t;n=e===S.CRITICAL?"errorToConsole":"warnToConsole",J(t.message)||(r=a.consoleLoggingLevel(),i?(i=+t.messageId,!o[i]&&e<=r&&(a[n](t.message),o[i]=!0)):e<=r&&a[n](t.message),a.logInternalMessage(e,t))},a.warnToConsole=function(e){Ae("warn",e)},a.errorToConsole=function(e){Ae("error",e)},a.resetInternalMessageCount=function(){i=0,o={}},a.logInternalMessage=function(e,t){var n,r;i>=a.maxInternalMessageLimit()||(n=!0,r="AITR_"+t.messageId,o[r]?n=!1:o[r]=!0,n&&(e<=a.telemetryLoggingLevel()&&(a.queue.push(t),i++),i===a.maxInternalMessageLimit()&&(t=new Me(G.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),a.queue.push(t),a.warnToConsole(e))))}})},_e=(De.ParentContextKey="parent",De.ChildrenContextKey="childEvts",De);function De(e,i,t){var r,a=this,o=!1;a.start=oe(),a.name=e,a.isAsync=t,a.isChildEvt=function(){return!1},Z(i)&&(o=function(e){if(K)try{var t={enumerable:!0,configurable:!0,get:function(){return!r&&Z(i)&&(r=i(),i=null),r}};return K(e,"payload",t),!0}catch(n){}return!1}(a)),a.getCtx=function(e){return e?(e===De.ParentContextKey||e===De.ChildrenContextKey?a:a.ctx||{})[e]:null},a.setCtx=function(e,t){e&&(e===De.ParentContextKey?(a[e]||(a.isChildEvt=function(){return!0}),a[e]=t):e===De.ChildrenContextKey?a[e]=t:(a.ctx=a.ctx||{})[e]=t)},a.complete=function(){var e=0,t=a.getCtx(De.ChildrenContextKey);if(ee(t))for(var n=0;n<t.length;n++){var r=t[n];r&&(e+=r.time)}a.time=oe()-a.start,a.exTime=a.time-e,a.complete=function(){},!o&&Z(i)&&(a.payload=i())}}var Fe="CoreUtils.doPerf";function Oe(e,t,n,r,i){if(e){var a=e;if(a=Z(a.getPerfMgr)?a.getPerfMgr():a){var o,s=void 0,e=a.getCtx(Fe);try{if(s=a.create(t(),r,i))return e&&s.setCtx&&(s.setCtx(_e.ParentContextKey,e),e.getCtx&&e.setCtx&&((o=e.getCtx(_e.ChildrenContextKey))||(o=[],e.setCtx(_e.ChildrenContextKey,o)),o.push(s))),a.setCtx(Fe,s),n(s)}catch(c){s&&s.setCtx&&s.setCtx("exception",c)}finally{s&&a.fire(s),a.setCtx(Fe,e)}}}return n()}var Be=function(i,t){var a=this,o=null,s=Z(i.processTelemetry),c=Z(i.setNextPlugin);a._hasRun=!1,a.getPlugin=function(){return i},a.getNext=function(){return o},a.setNext=function(e){o=e},a.processTelemetry=function(n,r){r=r||t;var e=i?i.identifier:"TelemetryPluginChain";Oe(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&s){a._hasRun=!0;try{r.setNext(o),c&&i.setNextPlugin(o),o&&(o._hasRun=!1),i.processTelemetry(n,r)}catch(t){var e=o&&o._hasRun;o&&e||r.diagLog().throwInternal(S.CRITICAL,G.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+Ee(t)),o&&!e&&o.processTelemetry(n,r)}}else o&&(a._hasRun=!0,o.processTelemetry(n,r))},function(){return{item:n}},!n.sync)}};function Ue(e,t){var n=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var a=e[i];a&&Z(a.processTelemetry)&&(a=new Be(a,t),n.push(a),r&&r.setNext(a),r=a)}return 0<n.length?n[0]:null}var ze=function tr(e,i,n,t){var r,a,o,s,c=this,l=null;null!==t&&(e&&Z(e.getPlugin)?l=function(e,t,n){var r=[],i=!n;if(e)for(;e;){var a=e.getPlugin();!i&&a!==n||(i=!0,r.push(a)),e=e.getNext()}return i||r.push(n),Ue(r,t)}(e,c,t||e.getPlugin()):t?(r=c,o=e,s=!1,(a=t)&&e&&(o=[],re(e,function(e){!s&&e!==a||(s=!0,o.push(e))})),a&&!s&&(o=o||[]).push(a),l=Ue(o,r)):J(t)&&(l=Ue(e,c))),c.core=function(){return n},c.diagLog=function(){return(n||{}).logger||new Ve(i)},c.getCfg=function(){return i},c.getExtCfg=function(e,t){var n,r;return void 0===t&&(t={}),!i||(r=i.extensionConfig)&&e&&(n=r[e]),n||t},c.getConfig=function(e,t,n){var r;return void 0===n&&(n=!1),(e=c.getExtCfg(e,null))&&!H(e[t])?r=e[t]:i&&!H(i[t])&&(r=i[t]),H(r)?n:r},c.hasNext=function(){return null!=l},c.getNext=function(){return l},c.setNext=function(e){l=e},c.processNext=function(e){var t=l;t&&(l=t.getNext(),t.processTelemetry(e,c))},c.createNew=function(e,t){return new tr((e=void 0===e?null:e)||l,i,n,t)}},je="getPlugin",t=(We.prototype.initialize=function(e,t,n,r){this._baseTelInit(e,t,n,r)},We);function We(){var a=this,o=!1,s=null,c=null;a.core=null,a.diagLog=function(e){return a._getTelCtx(e).diagLog()},a.isInitialized=function(){return o},a.setInitialized=function(e){o=e},a.setNextPlugin=function(e){c=e},a.processNext=function(e,t){t?t.processNext(e):c&&Z(c.processTelemetry)&&c.processTelemetry(e,null)},a._getTelCtx=function(e){var t=e=void 0===e?null:e;return t||(e=s||new ze(null,{},a.core),t=c&&c[je]?e.createNew(null,c[je]):e.createNew(null,c)),t},a._baseTelInit=function(e,t,n,r){e&&ce(e,"extensionConfig",[],null,H),!r&&t&&(r=t.getProcessTelContext().getNext());var i=c;c&&c[je]&&(i=c[je]()),a.core=t,s=new ze(r,e,t,i),o=!0}}var Ge="toGMTString",Ke="toUTCString",qe="cookie",Je="expires",He="enabled",Xe="isCookieUseDisabled",$e="disableCookiesUsage",Ze="_ckMgr",Qe="",Ye=null,et=null,tt=null,nt=Ce(),rt={},it={};function at(e){return!e||e.isEnabled()}function ot(e,i){var t,n,l=(ce(n=(t=e||it).cookieCfg=t.cookieCfg||{},"domain",t.cookieDomain,X,H),ce(n,"path",t.cookiePath||"/",null,H),H(n[He])&&(e=void 0,J(t[Xe])||(e=!t[Xe]),J(t[$e])||(e=!t[$e]),n[He]=e),n),u=l.path||"/",g=l.domain,r=!1!==l[He],f={isEnabled:function(){var e=r&&st(i),t=it[Ze];return e&&t&&f!==t?at(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,i){var a,o,s,c=!1;return at(f)&&(a={},-1!=(s=(o=ae(t||Qe)).indexOf(";"))&&(o=ae(t.substring(0,s)),a=ct(t.substring(1+s))),ce(a,"domain",r||g,le,J),H(n)||(s=Ne(),!J(a[Je])||0<(t=oe()+1e3*n)&&((r=new Date).setTime(t),ce(a,Je,lt(r,s?Ge:Ke)||lt(r,s?Ge:Ke)||Qe,le)),s||ce(a,"max-age",Qe+n,null,J)),(n=Se())&&"https:"===n.protocol&&(ce(a,"secure",null,null,J),(et=null===et?!(ne(n=(xe()||{}).userAgent)&&(Y(n,"CPU iPhone OS 12")||Y(n,"iPad; CPU OS 12")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&Y(n,"Version/")&&Y(n,"Safari")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&function(e,t){if(e){var n=e.length;if(e===t)return 1;if(40<=n){for(var r=n-1,i=39;0<=i;i--){if(e[r]!=t[i])return;r--}return 1}}}(n,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Y(n,"Chrome/5")||Y(n,"Chrome/6")||Y(n,"UnrealEngine")&&!Y(n,"Chrome")||Y(n,"UCBrowser/12")||Y(n,"UCBrowser/11"))):et)&&ce(a,"SameSite","None",null,J)),ce(a,"path",i||u,null,J),(l.setCookie||gt)(e,ut(o,a)),c=!0),c},get:function(e){var t=Qe;return at(f)?(l.getCookie||function(e){var t,n=Qe;return nt&&(t=nt[qe]||Qe,tt!==t&&(rt=ct(t),tt=t),n=ae(rt[e]||Qe)),n})(e):t},del:function(e,t){return!!at(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return st(i)&&((n={}).path=t||"/",n[Je]="Thu, 01 Jan 1970 00:00:01 GMT",Ne()||(n["max-age"]="0"),(l.delCookie||gt)(e,ut(Qe,n)),r=!0),r}};return f[Ze]=f}function st(e){if(null===Ye){Ye=!1;try{Ye=(nt||{})[qe]!==undefined}catch(t){e&&e.throwInternal(S.WARNING,G.CannotAccessCookie,"Cannot access document.cookie - "+se(t),{exception:Ee(t)})}}return Ye}function ct(e){var n={};return e&&e.length&&re(ae(e).split(";"),function(e){var t;(e=ae(e||Qe))&&(-1==(t=e.indexOf("="))?n[e]=null:n[ae(e.substring(0,t))]=ae(e.substring(1+t)))}),n}function lt(e,t){return Z(e[t])?e[t]():null}function ut(e,t){var n=e||Qe;return Q(t,function(e,t){n+="; "+e+(H(t)?Qe:"="+t)}),n}function gt(e,t){nt&&(nt[qe]=e+"="+t)}var ft=4294967296,pt=4294967295,dt=!1,mt=123456789,ht=987654321;function vt(e){var t,n=(n=Te("crypto")||Te("msCrypto"))&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&pt:Ne()?(dt||function(){try{var e=2147483647&oe();(t=(Math.random()*ft^e)+e)<0&&(t>>>=0),mt=123456789+t&pt,ht=987654321-t&pt,dt=!0}catch(n){}var t}(),t=((ht=36969*(65535&ht)+(ht>>16)&pt)<<16)+(65535&(mt=18e3*(65535&mt)+(mt>>16)&pt))>>>0&pt|0,(t>>>=0)&pt):Math.floor(ft*Math.random()|0);return e||(n>>>=0),n}function yt(e,t,n){var r,i,a=t.length,o=(t&&150<(t=ae(t.toString())).length&&(r=t.substring(0,150),e&&e.throwInternal(S.WARNING,G.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),r||t);if(o.length!==a){for(var s=0,c=o;n[c]!==undefined;)s++,c=o.substring(0,147)+(i="00"+s).substr(i.length-3);o=c}return o}function Tt(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=ae(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(S.WARNING,G.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function wt(e,t){return St(e,t,2048,G.UrlTooLong)}function It(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(S.WARNING,G.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Ct(r,e){var i;return e&&(i={},Q(e,function(e,t){if($(t)&&Pe())try{t=be().stringify(t)}catch(n){r&&r.throwInternal(S.WARNING,G.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=Tt(r,t,8192),e=yt(r,e,i),i[e]=t}),e=i),e}function xt(n,e){var r;return e&&(r={},Q(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function St(e,t,n,r){var i;return t&&(t=ae(t)).length>n&&(i=t.substring(0,n),e&&e.throwInternal(S.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),i||t}function kt(e){var t,n=null;return Z(Event)?n=new Event(e):(t=Ce())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Pt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function bt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,i=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<i?i+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}var Nt,Et="not_specified",Lt="iKey";(xn=Nt=Nt||{})[xn.LocalStorage=0]="LocalStorage",xn[xn.SessionStorage=1]="SessionStorage",(l=Kt=Kt||{})[l.AI=0]="AI",l[l.AI_AND_W3C=1]="AI_AND_W3C",l[l.W3C=2]="W3C";var At=undefined;function Mt(e){try{if(H(g()))return null;var t=new Date,n=Te(e===Nt.LocalStorage?"localStorage":"sessionStorage");n.setItem(t.toString(),t.toString());var r=n.getItem(t.toString())!==t.toString();if(n.removeItem(t.toString()),!r)return n}catch(i){}return null}function Rt(){return Vt()?Mt(Nt.SessionStorage):null}function Vt(){return At=At===undefined?!!Mt(Nt.SessionStorage):At}function _t(e,t){var n=Rt();if(null!==n)try{return n.getItem(t)}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+se(r),{exception:Ee(r)})}return null}function Dt(e,t,n){var r=Rt();if(null!==r)try{return r.setItem(t,n),1}catch(i){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+se(i),{exception:Ee(i)})}}function Ft(e,t){var n=Rt();if(null!==n)try{return n.removeItem(t),1}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+se(r),{exception:Ee(r)})}}var Ot=Ce()||{},Bt=0,Ut=[null,null,null,null,null];function zt(e,t){return 0===e||0===t||H(e)||H(t)?null:t-e}var jt,Wt=(m(Gt,jt=xn=function(){this.ver=2,this.properties={},this.measurements={}}),Gt.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Gt.dataType="EventData",Gt);function Gt(e,t,n,r){var i=jt.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=Tt(e,t)||Et,i.properties=Ct(e,n),i.measurements=xt(e,r),i}var Kt=function(){},l=function(){this.hasFullStack=!0,this.parsedStack=[]},qt="error",Jt="stack",Ht="stackDetails",Xt="errorSrc",$t="message",Zt="description";function Qt(e,t){var n=e;return n&&!ne(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=Z(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function Yt(e,t){var n=e;return e&&((n=n&&!ne(n)&&(e[$t]||e[Zt])||n)&&!ne(n)&&(n=Qt(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function en(e){return e&&e.src&&ne(e.src)&&e.obj&&ee(e.obj)}function tn(e){var t=e||"",e=(t=ne(t)?t:ne(t[Jt])?t[Jt]:""+t).split("\n");return{src:t,obj:e}}function nn(e){var t,n=null;if(e)try{e[Jt]?n=tn(e[Jt]):e[qt]&&e[qt][Jt]?n=tn(e[qt][Jt]):e.exception&&e.exception[Jt]?n=tn(e.exception[Jt]):en(e)?n=e:en(e[Ht])?n=e[Ht]:window.opera&&e[$t]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var i=n[r];n[r+1]&&(i+="@"+n[r+1],r++),t.push(i)}return{src:e,obj:t}}(e.message):ne(e)?n=tn(e):(t=e[$t]||e[Zt]||"",ne(e[Xt])&&(t&&(t+="\n"),t+=" from "+e[Xt]),t&&(n=tn(t)))}catch(r){n=tn(r)}return n||{src:"",obj:null}}function rn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function an(e){if(e)try{if(!ne(e)){var t=rn(e),n=Qt(e,!1);return n&&"{}"!==n||(e[qt]&&(t=rn(e=e[qt])),n=Qt(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}}catch(r){}return""+(e||"")}var on,sn=(m(cn,on=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),cn.CreateAutoException=function(e,t,n,r,i,a,o,s){var c=rn(i||a||e);return{message:Yt(e,c),url:t,lineNumber:n,columnNumber:r,error:an(i||a||e),evt:an(a||e),typeName:c,stackDetails:nn(o||i||a),errorSrc:s}},cn.CreateFromInterface=function(t,e,n,r){var i=e.exceptions&&ie(e.exceptions,function(e){return un.CreateFromInterface(t,e)});return new cn(t,p(p({},e),{exceptions:i}),n,r)},cn.prototype.toInterface=function(){var e=this.exceptions,t=this.properties,n=this.measurements,r=this.severityLevel;this.ver;var i=this.problemGroup,a=this.id,o=this.isManual;return{ver:"4.0",exceptions:e instanceof Array&&ie(e,function(e){return e.toInterface()})||undefined,severityLevel:r,properties:t,measurements:n,problemGroup:i,id:a,isManual:o}},cn.CreateSimpleException=function(e,t,n,r,i,a){return{exceptions:[{hasFullStack:!0,message:e,stack:i,typeName:t}]}},cn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",cn.dataType="ExceptionData",cn.formatError=an,cn);function cn(e,t,n,r,i,a){var o=on.call(this)||this;return o.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if($(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(o.exceptions=t.exceptions,o.properties=t.properties,o.measurements=t.measurements,t.severityLevel&&(o.severityLevel=t.severityLevel),t.id&&(o.id=t.id),t.problemGroup&&(o.problemGroup=t.problemGroup),o.ver=2,H(t.isManual)||(o.isManual=t.isManual)):(o.exceptions=[new un(e,t,n=n||{})],o.properties=Ct(e,n),o.measurements=xt(e,r),i&&(o.severityLevel=i),a&&(o.id=a)),o}var ln,un=(m(gn,ln=l),gn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&ie(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Jt],parsedStack:e||undefined}},gn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&ie(t.parsedStack,function(e){return pn.CreateFromInterface(e)})||t.parsedStack;return new gn(e,p(p({},t),{parsedStack:n}))},gn);function gn(e,t,n){var r,l,i,a,o=ln.call(this)||this;return o.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if($(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(o.typeName=t.typeName,o.message=t.message,o[Jt]=t[Jt],o.parsedStack=t.parsedStack,o.hasFullStack=t.hasFullStack):(l=(r=t)&&r.evt,te(r)||(r=r[qt]||l||r),o.typeName=Tt(e,rn(r))||Et,o.message=It(e,Yt(t||r,o.typeName))||Et,l=t[Ht]||nn(t),o.parsedStack=function(e){if((e=l.obj)&&0<e.length){var t=[],n=0,r=0;if(re(e,function(e){e=e.toString(),pn.regex.test(e)&&(e=new pn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var i=0,a=t.length-1,o=0,s=i,c=a;i<a;){if(32768<(o+=t[i].sizeInBytes+t[a].sizeInBytes)){t.splice(s,c-s+1);break}s=i,c=a,i++,a--}}return t}(),o[Jt]=(r=e,a="",(e=l)&&(e.obj?re(e.obj,function(e){a+=e+"\n"}):a=e.src||""),!(l=a)||32768<(e=""+l).length&&(i=e.substring(0,32768),r&&r.throwInternal(S.WARNING,G.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:l},!0)),i||l),o.hasFullStack=ee(o.parsedStack)&&0<o.parsedStack.length,n&&(n.typeName=n.typeName||o.typeName)),o}var fn,pn=(m(dn,fn=Kt),dn.CreateFromInterface=function(e){return new dn(e,null)},dn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},dn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,dn.baseSize=58,dn);function dn(e,t){var n,r=fn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=ae(n),r.fileName="",r.line=0,(n=n.match(dn.regex))&&5<=n.length&&(r.method=ae(n[2])||r.method,r.fileName=ae(n[4]),r.line=parseInt(n[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=dn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}var mn,l=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}};(Kt=mn={})[Kt.Measurement=0]="Measurement",Kt[Kt.Aggregation=1]="Aggregation";var hn,vn=(m(yn,hn=function(){this.kind=mn.Measurement}),yn);function yn(){var e=null!==hn&&hn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}var Tn,wn=(m(In,Tn=l),In.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",In.dataType="MetricData",In);function In(e,t,n,r,i,a,o,s,c){var l=Tn.call(this)||this;l.aiDataContract={ver:1,metrics:1,properties:0};var u=new vn;return u.count=0<r?r:undefined,u.max=isNaN(a)||null===a?undefined:a,u.min=isNaN(i)||null===i?undefined:i,u.name=Tt(e,t)||Et,u.value=n,u.stdDev=isNaN(o)||null===o?undefined:o,l.metrics=[u],l.properties=Ct(e,s),l.measurements=xt(e,c),l}var Cn,xn=(m(Sn,Cn=xn),Sn);function Sn(){var e=Cn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var kn,Pn=(m(bn,kn=xn),bn.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",bn.dataType="PageviewData",bn);function bn(e,t,n,r,i,a,o){var s=kn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=o&&St(e,o,128,G.IdTooLong).toString(),s.url=wt(e,n),s.name=Tt(e,t)||Et,isNaN(r)||(s.duration=bt(r)),s.properties=Ct(e,i),s.measurements=xt(e,a),s}var Nn,En=(m(Ln,Nn=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),Ln.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Ln.dataType="RemoteDependencyData",Ln);function Ln(e,t,n,r,i,a,o,s,c,l,u,g){void 0===c&&(c="Ajax");var f=Nn.call(this)||this;f.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},f.id=t,f.duration=bt(i),f.success=a,f.resultCode=o+"",f.type=Tt(e,c);var p,d,m,h,v,y,T,w,I,C,o=(p=e,t=s,o=a=i=r,a=(c=n)&&0<c.length?(d=c,C=(I=Ut)[w=Bt],Ot.createElement?I[w]||(C=I[w]=Ot.createElement("a")):C={host:(y=!0,T=null,!(v=m=d)||null!=(v=v.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<v.length&&ne(v[2])&&0<v[2].length&&(T=v[2]||"",y&&2<v.length&&(y=(v[1]||"").toLowerCase(),v=v[3]||"",T+=v="http"==y&&":80"===v||"https"==y&&":443"===v?"":v)),(m=T||"")&&null!=(h=m.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i))&&3<h.length&&ne(h[2])&&0<h[2].length?h[2]+(h[3]||""):m)},C.href=d,++w>=I.length&&(w=0),Bt=w,C=(s=C).host,a||(null!=s.pathname?("/"!=((n=0===s.pathname.length?"/":s.pathname)[0]||"")&&(n="/"+n),o=s.pathname,Tt(p,t?t+" "+n:n)):Tt(p,c))):C=i,{target:C,name:a,data:o});return f.data=wt(e,r)||o.data,f.target=Tt(e,o.target),l&&(f.target=f.target+" | "+l),f.name=Tt(e,o.name),f.properties=Ct(e,u),f.measurements=xt(e,g),f}var An,Mn=(m(Rn,An=function(){this.ver=2,this.properties={},this.measurements={}}),Rn.envelopeType="Microsoft.ApplicationInsights.{0}.Message",Rn.dataType="MessageData",Rn);function Rn(e,t,n,r,i){var a=An.call(this)||this;return a.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},a.message=It(e,t=t||Et),a.properties=Ct(e,r),a.measurements=xt(e,i),n&&(a.severityLevel=n),a}var Vn,xn=(m(_n,Vn=xn),_n);function _n(){var e=Vn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var Dn,Fn,On=(m(Bn,Dn=xn),Bn.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",Bn.dataType="PageviewPerformanceData",Bn);function Bn(e,t,n,r,i,a,o){var s=Dn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=wt(e,n),s.name=Tt(e,t)||Et,s.properties=Ct(e,i),s.measurements=xt(e,a),o&&(s.domProcessing=o.domProcessing,s.duration=o.duration,s.networkConnect=o.networkConnect,s.perfTotal=o.perfTotal,s.receivedResponse=o.receivedResponse,s.sentRequest=o.sentRequest),s}(xn=Fn=Fn||{})[xn.Verbose=0]="Verbose",xn[xn.Information=1]="Information",xn[xn.Warning=2]="Warning",xn[xn.Error=3]="Error",xn[xn.Critical=4]="Critical";var Un=(zn.create=function(e,t,n,r,i,a){if(n=Tt(r,n)||Et,H(e)||H(t)||H(n))throw Error("Input doesn't contain all required fields");r="",e[Lt]&&(r=e[Lt],delete e[Lt]);var o={name:n,time:function(e){if("[object Date]"===q(e)){var t=function(e){return 1===(e=""+e).length?"0"+e:e};return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(new Date),iKey:r,ext:a||{},tags:[],data:{},baseType:t,baseData:e};return H(i)||Q(i,function(e,t){o.data[e]=t}),o},zn);function zn(){}var jn=function nr(d,m,t,h){W(nr,this,function(e){var u,n=null,g=[],f=!1;function p(){t&&re(t.getTransmissionControls(),function(e){re(e,function(e){return e.flush(!0)})})}t&&(u=t.logger),e.trackPageView=function(r,i){var a=r.name;!H(a)&&"string"==typeof a||(e=Ce(),a=r.name=e&&e.title||"");var e,o=r.uri;if(!H(o)&&"string"==typeof o||(e=Se(),o=r.uri=e&&e.href||""),!h.isPerformanceTimingSupported())return d.sendPageViewInternal(r,i),p(),void u.throwInternal(S.WARNING,G.NavigationTimingNotSupported,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var s,t,c=!1,l=h.getPerformanceTiming().navigationStart;0<l&&(s=zt(l,+new Date),h.shouldCollectDuration(s)||(s=undefined)),H(i)||H(i.duration)||(t=i.duration),!m&&isNaN(t)||(isNaN(t)&&((i=i||{}).duration=s),d.sendPageViewInternal(r,i),p(),c=!0),i=i||{},t=function(){var e,t=!1;try{h.isPerformanceTimingDataReady()?(t=!0,e={name:a,uri:o},h.populatePageViewPerformanceEvent(e),e.isValid||c?(c||(i.duration=e.durationMs,d.sendPageViewInternal(r,i)),f||(d.sendPageViewPerformanceInternal(e,i),f=!0)):(i.duration=s,d.sendPageViewInternal(r,i))):0<l&&6e4<zt(l,+new Date)&&(t=!0,c||(i.duration=6e4,d.sendPageViewInternal(r,i)))}catch(n){u.throwInternal(S.CRITICAL,G.TrackPVFailedCalc,"trackPageView failed on page load calculation: "+se(n),{exception:Ee(n)})}return t},g.push(t),n=n||setInterval(function(){var e=g.slice(0),t=!1;g=[],re(e,function(e){e()?t=!0:g.push(e)}),0===g.length&&(clearInterval(n),n=null),t&&p()},100)}})},Wn=(Gn.prototype.trackPreviousPageVisit=function(e,t){try{var n=this.restartPageVisitTimer(e,t);n&&this.pageVisitTimeTrackingHandler(n.pageName,n.pageUrl,n.pageVisitTime)}catch(r){this._logger.warnToConsole("Auto track page visit time failed, metric will not be collected: "+Ee(r))}},Gn.prototype.restartPageVisitTimer=function(e,t){try{var n=this.stopPageVisitTimer();return this.startPageVisitTimer(e,t),n}catch(r){return this._logger.warnToConsole("Call to restart failed: "+Ee(r)),null}},Gn.prototype.startPageVisitTimer=function(e,t){try{var n,r;Vt()&&(null!=_t(this._logger,this.prevPageVisitDataKeyName)&&function(){throw Error("Cannot call startPageVisit consecutively without first calling stopPageVisit")}(),n=new Kn(e,t),r=be().stringify(n),Dt(this._logger,this.prevPageVisitDataKeyName,r))}catch(i){this._logger.warnToConsole("Call to start failed: "+Ee(i))}},Gn.prototype.stopPageVisitTimer=function(){try{if(Vt()){var e=oe(),t=_t(this._logger,this.prevPageVisitDataKeyName);if(t&&Pe()){var n=be().parse(t);return n.pageVisitTime=e-n.pageVisitStartTime,Ft(this._logger,this.prevPageVisitDataKeyName),n}return null}return null}catch(r){return this._logger.warnToConsole("Stop page visit timer failed: "+Ee(r)),null}},Gn);function Gn(e,t){this.prevPageVisitDataKeyName="prevPageVisitData",this.pageVisitTimeTrackingHandler=t,this._logger=e}var Kn=function(e,t){this.pageVisitStartTime=oe(),this.pageName=e,this.pageUrl=t},qn=(Jn.prototype.populatePageViewPerformanceEvent=function(e){e.isValid=!1;var t=this.getPerformanceNavigationTiming(),n=this.getPerformanceTiming(),r=0,i=0,a=0,o=0;(t||n)&&(n=t?(r=t.duration,i=0===t.startTime?t.connectEnd:zt(t.startTime,t.connectEnd),a=zt(t.requestStart,t.responseStart),o=zt(t.responseStart,t.responseEnd),zt(t.responseEnd,t.loadEventEnd)):(r=zt(n.navigationStart,n.loadEventEnd),i=zt(n.navigationStart,n.connectEnd),a=zt(n.requestStart,n.responseStart),o=zt(n.responseStart,n.responseEnd),zt(n.responseEnd,n.loadEventEnd)),0===r?this._logger.throwInternal(S.WARNING,G.ErrorPVCalc,"error calculating page view performance.",{total:r,network:i,request:a,response:o,dom:n}):this.shouldCollectDuration(r,i,a,o,n)?r<Math.floor(i)+Math.floor(a)+Math.floor(o)+Math.floor(n)?this._logger.throwInternal(S.WARNING,G.ClientPerformanceMathError,"client performance math error.",{total:r,network:i,request:a,response:o,dom:n}):(e.durationMs=r,e.perfTotal=e.duration=bt(r),e.networkConnect=bt(i),e.sentRequest=bt(a),e.receivedResponse=bt(o),e.domProcessing=bt(n),e.isValid=!0):this._logger.throwInternal(S.WARNING,G.InvalidDurationValue,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:i,request:a,response:o,dom:n}))},Jn.prototype.getPerformanceTiming=function(){return this.isPerformanceTimingSupported()?ke().timing:null},Jn.prototype.getPerformanceNavigationTiming=function(){return this.isPerformanceNavigationTimingSupported()?ke().getEntriesByType("navigation")[0]:null},Jn.prototype.isPerformanceNavigationTimingSupported=function(){var e=ke();return e&&e.getEntriesByType&&0<e.getEntriesByType("navigation").length},Jn.prototype.isPerformanceTimingSupported=function(){var e=ke();return e&&e.timing},Jn.prototype.isPerformanceTimingDataReady=function(){var e=ke();return(e=e?e.timing:0)&&0<e.domainLookupStart&&0<e.navigationStart&&0<e.responseStart&&0<e.requestStart&&0<e.loadEventEnd&&0<e.responseEnd&&0<e.connectEnd&&0<e.domLoading},Jn.prototype.shouldCollectDuration=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=["googlebot","adsbot-google","apis-google","mediapartners-google"],r=(xe()||{}).userAgent,i=!1;if(r)for(var a=0;a<n.length;a++)i=i||!!~r.toLowerCase().indexOf(n[a]);if(i)return!1;for(a=0;a<e.length;a++)if(e[a]<0||e[a]>=this.MAX_DURATION_ALLOWED)return!1;return!0},Jn);function Jn(e){this.MAX_DURATION_ALLOWED=36e5,e&&(this._logger=e.logger)}var Hn="duration",Xn="event";function $n(e,t){e&&e.dispatchEvent&&t&&e.dispatchEvent(t)}var Zn,t=(m(Qn,Zn=t),Qn.getDefaultConfig=function(e){return(e=e||{}).sessionRenewalMs=18e5,e.sessionExpirationMs=864e5,e.disableExceptionTracking=Pt(e.disableExceptionTracking),e.autoTrackPageVisitTime=Pt(e.autoTrackPageVisitTime),e.overridePageViewDuration=Pt(e.overridePageViewDuration),e.enableUnhandledPromiseRejectionTracking=Pt(e.enableUnhandledPromiseRejectionTracking),(isNaN(e.samplingPercentage)||e.samplingPercentage<=0||100<=e.samplingPercentage)&&(e.samplingPercentage=100),e.isStorageUseDisabled=Pt(e.isStorageUseDisabled),e.isBrowserLinkTrackingEnabled=Pt(e.isBrowserLinkTrackingEnabled),e.enableAutoRouteTracking=Pt(e.enableAutoRouteTracking),e.namePrefix=e.namePrefix||"",e.enableDebug=Pt(e.enableDebug),e.disableFlushOnBeforeUnload=Pt(e.disableFlushOnBeforeUnload),e.disableFlushOnUnload=Pt(e.disableFlushOnUnload,e.disableFlushOnBeforeUnload),e},Qn.Version="2.7.2-nightly.2111-05",Qn);function Qn(){var v,y,T,w,I,C=Zn.call(this)||this;return C.identifier="ApplicationInsightsAnalytics",C.priority=180,C.autoRoutePVDelay=500,W(Qn,C,function(m,h){var e=Se(!0);w=e&&e.href||"",m.getCookieMgr=function(){return(e=m.core)?n=e.getCookieMgr():t&&(n=t.cookieCfg[Ze]||ot(t)),n||(r=t,t=(e||{}).logger,(e=ot[Ze]||it[Ze])||(e=ot[Ze]=ot(r,t),it[Ze]=e),n=e),n;var e,t,n,r},m.processTelemetry=function(a,o){Oe(m.core,function(){return m.identifier+":processTelemetry"},function(){var e=!1,t=m._telemetryInitializers.length;o=m._getTelCtx(o);for(var n=0;n<t;++n){var r=m._telemetryInitializers[n];if(r)try{if(!1===r.call(null,a)){e=!0;break}}catch(i){o.diagLog().throwInternal(S.CRITICAL,G.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+se(i),{exception:Ee(i)},!0)}}e||m.processNext(a,o)},function(){return{item:a}},!a.sync)},m.trackEvent=function(e,t){try{var n=Un.create(e,Wt.dataType,Wt.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.startTrackEvent=function(e){try{v.start(e)}catch(t){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackEventFailed,"startTrackEvent failed, event will not be collected: "+se(t),{exception:Ee(t)})}},m.stopTrackEvent=function(e,t,n){try{v.stop(e,undefined,t)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackEventFailed,"stopTrackEvent failed, event will not be collected: "+se(r),{exception:Ee(r)})}},m.trackTrace=function(e,t){try{var n=Un.create(e,Mn.dataType,Mn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.trackMetric=function(e,t){try{var n=Un.create(e,wn.dataType,wn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackMetricFailed,"trackMetric failed, metric will not be collected: "+se(r),{exception:Ee(r)})}},m.trackPageView=function(e,t){try{var n=e||{};m._pageViewManager.trackPageView(n,p(p(p({},n.properties),n.measurements),t)),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(n.name,n.uri)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageView failed, page view will not be collected: "+se(r),{exception:Ee(r)})}},m.sendPageViewInternal=function(e,t,n){var r=Ce();r&&(e.refUri=e.refUri===undefined?r.referrer:e.refUri),n=Un.create(e,Pn.dataType,Pn.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.sendPageViewPerformanceInternal=function(e,t,n){n=Un.create(e,On.dataType,On.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.trackPageViewPerformance=function(e,t){try{m._pageViewPerformanceManager.populatePageViewPerformanceEvent(e),m.sendPageViewPerformanceInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageViewPerformance failed, page view will not be collected: "+se(n),{exception:Ee(n)})}},m.startTrackPage=function(e){try{var t;"string"!=typeof e&&(e=(t=Ce())&&t.title||""),y.start(e)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackFailed,"startTrackPage failed, page view may not be collected: "+se(n),{exception:Ee(n)})}},m.stopTrackPage=function(e,t,n,r){try{var i,a;"string"!=typeof e&&(e=(i=Ce())&&i.title||""),"string"!=typeof t&&(t=(a=Se())&&a.href||""),y.stop(e,t,n,r),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(e,t)}catch(o){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackFailed,"stopTrackPage failed, page view will not be collected: "+se(o),{exception:Ee(o)})}},m.sendExceptionInternal=function(e,t,n){var r=e.exception||e.error||Error(Et),e=new sn(m.diagLog(),r,e.properties||t,e.measurements,e.severityLevel,e.id).toInterface(),n=Un.create(e,sn.dataType,sn.envelopeType,m.diagLog(),t,n);m.core.track(n)},m.trackException=function(e,t){try{m.sendExceptionInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackExceptionFailed,"trackException failed, exception will not be collected: "+se(n),{exception:Ee(n)})}},m._onerror=function(e){var t,n,r,i=e&&e.error,a=e&&e.evt;try{a||(t=Ie())&&(a=t[Xn]);var o=e&&e.url||(Ce()||{}).URL,s=e.errorSrc||"window.onerror@"+o+":"+(e.lineNumber||0)+":"+(e.columnNumber||0),c={errorSrc:s,url:o,lineNumber:e.lineNumber||0,columnNumber:e.columnNumber||0,message:e.message},l=e.message;e.url,e.lineNumber,e.columnNumber,e.error||!ne(l)||"Script error."!==l&&"Script error"!==l?(e.errorSrc||(e.errorSrc=s),m.trackException({exception:e,severityLevel:Fn.Error},c)):(n=sn.CreateAutoException("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",o,e.lineNumber||0,e.columnNumber||0,i,a,null,s),r=c,r=Un.create(n,sn.dataType,sn.envelopeType,m.diagLog(),r),m.core.track(r))}catch(u){i=i?i.name+", "+i.message:"null",m.diagLog().throwInternal(S.CRITICAL,G.ExceptionWhileLoggingError,"_onError threw exception while logging error, error will not be collected: "+se(u),{exception:Ee(u),errorString:i})}},m.addTelemetryInitializer=function(e){m._telemetryInitializers.push(e)},m.initialize=function(e,t,n,r){if(!m.isInitialized()){if(H(t))throw Error("Error initializing");h.initialize(e,t,n,r),m.setInitialized(!1);var i=m._getTelCtx(),a=m.identifier;m.config=i.getExtCfg(a),(t=Qn.getDefaultConfig(e))!==undefined&&Q(t,function(e,t){m.config[e]=i.getConfig(a,e,t),m.config[e]===undefined&&(m.config[e]=t)}),m.config.isStorageUseDisabled&&(At=!1),r={instrumentationKey:function(){return e.instrumentationKey},accountId:function(){return m.config.accountId||e.accountId},sessionRenewalMs:function(){return m.config.sessionRenewalMs||e.sessionRenewalMs},sessionExpirationMs:function(){return m.config.sessionExpirationMs||e.sessionExpirationMs},sampleRate:function(){return m.config.samplingPercentage||e.samplingPercentage},sdkExtension:function(){return m.config.sdkExtension||e.sdkExtension},isBrowserLinkTrackingEnabled:function(){return m.config.isBrowserLinkTrackingEnabled||e.isBrowserLinkTrackingEnabled},appId:function(){return m.config.appId||e.appId}},m._pageViewPerformanceManager=new qn(m.core),m._pageViewManager=new jn(C,m.config.overridePageViewDuration,m.core,m._pageViewPerformanceManager),m._pageVisitTimeManager=new Wn(m.diagLog(),function(e,t,n){m.trackMetric({name:"PageVisitTime",average:n,max:n,min:n,sampleCount:1},t={PageName:e,PageUrl:t})}),m._telemetryInitializers=m._telemetryInitializers||[],r.isBrowserLinkTrackingEnabled()||(d=["/browserLinkSignalR/","/__browserLink/"],m._telemetryInitializers.push(function(e){if(e.baseType===En.dataType){var t=e.baseData;if(t)for(var n=0;n<d.length;n++)if(t.target&&~t.target.indexOf(d[n]))return!1}return!0})),(v=new Yn(m.diagLog(),"trackEvent")).action=function(e,t,n,r){(r=r||{})[Hn]=n.toString(),m.trackEvent({name:e,properties:r})},(y=new Yn(m.diagLog(),"trackPageView")).action=function(e,t,n,r,i){(r=H(r)?{}:r)[Hn]=n.toString(),m.sendPageViewInternal({name:e,uri:t,properties:r,measurements:i},r)};var s,o,c,l,u,g=Ie(),t=typeof history===x&&history?history:Te("history"),f=Se(!0),p=C;!1===m.config.disableExceptionTracking&&!m.config.autoExceptionInstrumented&&g&&(s=g.onerror,g.onerror=function(e,t,n,r,i){var a=g[Xn],o=s&&s(e,t,n,r,i);return!0!==o&&p._onerror(sn.CreateAutoException(e,t,n,r,i,a)),o},m.config.autoExceptionInstrumented=!0),!1===m.config.disableExceptionTracking&&!0===m.config.enableUnhandledPromiseRejectionTracking&&!m.config.autoUnhandledPromiseInstrumented&&g&&(o=g[r="onunhandledrejection"],g[r]=function(e){var t=g[Xn],n=o&&o.call(g,e);return!0!==n&&p._onerror(sn.CreateAutoException(function(e){if(e&&e.reason){var t=e.reason;return!ne(t)&&Z(t.toString)?t.toString():Ee(t)}return e||""}(e),f?f.href:"",0,0,e,t)),n},m.config.autoUnhandledPromiseInstrumented=!0),!0===m.config.enableAutoRouteTracking&&t&&Z(t.pushState)&&Z(t.replaceState)&&g&&"undefined"!=typeof Event&&(c=C,re(n,function(e){"AppInsightsPropertiesPlugin"===e.identifier&&(T=e)}),t.pushState=(u=t.pushState,function(){var e=u.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"pushState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),t.replaceState=(l=t.replaceState,function(){var e=l.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"replaceState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),g.addEventListener&&(g.addEventListener(c.config.namePrefix+"popstate",function(){$n(g,kt(c.config.namePrefix+"locationchange"))}),g.addEventListener(c.config.namePrefix+"locationchange",function(){var e;T&&T.context&&T.context.telemetryTrace&&(T.context.telemetryTrace.traceID=function(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=vt())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&vt())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+i+n.substr(16,3)+n.substr(19,12)}(),e="_unknown_",f&&f.pathname&&(e=f.pathname+(f.hash||"")),T.context.telemetryTrace.name=Tt(c.diagLog(),e)),I&&(w=I),I=f&&f.href||"",setTimeout((function(e){c.trackPageView({refUri:e,properties:{duration:0}})}).bind(C,w),c.autoRoutePVDelay)}))),m.setInitialized(!0)}var d}}),C}var Yn=function(a,e){var o=this,s={};o.start=function(e){"undefined"!=typeof s[e]&&a.throwInternal(S.WARNING,G.StartCalledMoreThanOnce,"start was called more than once for this event without calling stop.",{name:e,key:e},!0),s[e]=+new Date},o.stop=function(e,t,n,r){var i=s[e];isNaN(i)?a.throwInternal(S.WARNING,G.StopCalledWithoutStart,"stop was called without a corresponding start.",{name:e,key:e},!0):(i=zt(i,+new Date),o.action(e,t,i,n,r)),delete s[e],s[e]=undefined}};e.ApplicationInsights=t,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch(i){}typeof n.value!==undefined&&(e[t]=n.value)}(e,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}));
var e=this,t=function(e){"use strict";var r="function",x="object",i="undefined",a="prototype",o="hasOwnProperty",n=Object,s=n[a],t=n.assign,c=n.create,l=n.defineProperty,u=s[o];function g(){return typeof globalThis!==i&&globalThis?globalThis:typeof self!==i&&self?self:typeof window!==i&&window?window:typeof global!==i&&global?global:null}function f(e){throw new TypeError(e)}(g()||{}).Symbol,(g()||{}).Reflect;var p=t||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])s[o].call(t,i)&&(e[i]=t[i]);return e},d=function(e,t){return(d=n.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[o](n)&&(e[n]=t[n])})(e,t)};function m(e,t){function n(){this.constructor=e}typeof t!==r&&null!==t&&f("Class extends value "+t+" is not a constructor or null"),d(e,t),e[a]=null===t?function(e){if(c)return c(e);if(null==e)return{};var t=typeof e;function n(){}return t!==x&&t!==r&&f("Object prototype may only be an Object:"+e),n[a]=e,new n}(t):(n[a]=t[a],new n)}var S,h="constructor",v="prototype",y="function",T="_dynInstFuncs",w="_isDynProxy",I="_dynClass",C="_dynInstChk",k=C,P="_dfOpts",b="_unknown_",N="__proto__",E="useBaseInst",L="setInstFuncs",A=Object,M=A.getPrototypeOf,R=0;function V(e,t){return e&&A[v].hasOwnProperty.call(e,t)}function _(e){return e&&(e===A[v]||e===Array[v])}function D(e){return _(e)||e===Function[v]}function F(e){if(e){if(M)return M(e);if(e=e[N]||e[v]||(e[h]?e[h][v]:null))return e}return null}function O(e,t){var n=[],r=A.getOwnPropertyNames;if(r)n=r(e);else for(var i in e)"string"==typeof i&&V(e,i)&&n.push(i);if(n&&0<n.length)for(var a=0;a<n.length;a++)t(n[a])}function B(e,t,n){return t!==h&&typeof e[t]===y&&(n||V(e,t))}function U(e){throw new TypeError("DynamicProto: "+e)}function z(e,t){for(var n=e.length-1;0<=n;n--)if(e[n]===t)return 1}function j(e,t){return V(e,v)?e.name||t||b:((e||{})[h]||{}).name||t||b}function W(e,r,t,n){V(e,v)||U("theClass is an invalid class definition.");var i=e[v];!function(e){if(M)for(var t=[],n=F(r);n&&!D(n)&&!z(t,n);){if(n===e)return 1;t.push(n),n=F(n)}}(i)&&U("["+j(e)+"] is not in class hierarchy of ["+j(r)+"]");var a=null;V(i,I)?a=i[I]:(a="_dynCls$"+j(e,"_")+"$"+R,R++,i[I]=a);var o=W[P],s=!!o[E];s&&n&&n[E]!==undefined&&(s=!!n[E]);var c,l,u,g,f,p,e=(l={},O(c=r,function(e){!l[e]&&B(c,e,!1)&&(l[e]=c[e])}),l);t(r,function(e,t,n,a){function r(e,t,n){var r,i=t[n];return i[w]&&a&&!1!==(r=e[T]||{})[k]&&(i=(r[t[I]]||{})[n]||i),function(){return i.apply(e,arguments)}}var i={};O(n,function(e){i[e]=r(t,n,e)});for(var o=F(e),s=[];o&&!D(o)&&!z(s,o);)O(o,function(e){!i[e]&&B(o,e,!M)&&(i[e]=r(t,o,e))}),s.push(o),o=F(o);return i}(i,r,e,s)),o=!!M&&!!o[L],u=i,a=a,g=r,f=e,n=!1!==(o=o&&n?!!n[L]:o),_(u)||(o=g[T]=g[T]||{},p=o[a]=o[a]||{},!1!==o[k]&&(o[k]=!!n),O(g,function(e){var n,r,i;B(g,e,!1)&&g[e]!==f[e]&&(p[e]=g[e],delete g[e],V(u,e)&&(!u[e]||u[e][w])||(u[e]=(n=u,r=e,(i=function(){var e,t;return(function(e,t,n,r){var i=null;if(e&&V(n,I)){var a=e[T]||{};if((i=(a[n[I]]||{})[t])||U("Missing ["+t+"] "+y),!i[C]&&!1!==a[k]){for(var o=!V(e,t),s=F(e),c=[];o&&s&&!D(s)&&!z(c,s);){var l=s[t];if(l){o=l===r;break}c.push(s),s=F(s)}try{o&&(e[t]=i),i[C]=1}catch(u){a[k]=!1}}}return i}(this,r,n,i)||(typeof(t=(t=n[e=r])===i?F(n)[e]:t)!==y&&U("["+e+"] is not a "+y),t)).apply(this,arguments)})[w]=1,i)))}))}W[P]={setInstFuncs:!0,useBaseInst:!0},(xn=S=S||{})[xn.CRITICAL=1]="CRITICAL",xn[xn.WARNING=2]="WARNING";var G={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},K=l;function q(e){return s.toString.call(e)}function J(e){return e===undefined||typeof e===i}function H(e){return null===e||J(e)}function X(e){return!H(e)}function $(e){return typeof e===x}function Z(e){return typeof e===r}function Q(e,t){if(e)for(var n in e)u.call(e,n)&&t.call(e,n,e[n])}function Y(e,t){return!(!e||!t||!~e.indexOf(t))}function ee(e){return"[object Array]"===q(e)}function te(e){return"[object Error]"===q(e)}function ne(e){return"string"==typeof e}function re(e,t,n){var r=e.length;try{for(var i=0;i<r&&!(i in e&&-1===t.call(n||e,e[i],i,e));i++);}catch(a){}}function ie(e,t,n){var r=e.length,i=n||e,a=Array(r);try{for(var o=0;o<r;o++)o in e&&(a[o]=t.call(i,e[o],e))}catch(s){}return a}function ae(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}function oe(){var e=Date;return e.now?e.now():(new e).getTime()}function se(e){return te(e)?e.name:""}function ce(e,t,n,r,i){var a=n;return e&&((a=e[t])===n||i&&!i(a)||r&&!r(n)||(e[t]=a=n)),a}function le(e){return!!e}var ue="window",ge="document",fe="location",pe="JSON",de="msie",me="trident/",he=null,ve=null,ye=!1;function Te(e){var t=g();return t&&t[e]?t[e]:e===ue&&we()?window:null}function we(){return typeof window===x&&window}function Ie(){return we()?window:Te(ue)}function Ce(){return typeof document===x&&document?document:Te(ge)}function xe(){return typeof navigator===x&&navigator?navigator:Te("navigator")}function Se(e){return e&&ye&&(e=Te("__mockLocation"))?e:typeof location===x&&location?location:Te(fe)}function ke(){return Te("performance")}function Pe(){return typeof JSON===x&&JSON||null!==Te(pe)}function be(){return Pe()?JSON||Te(pe):null}function Ne(){var e=xe();return!e||e.userAgent===ve&&null!==he||(e=((ve=e.userAgent)||"").toLowerCase(),he=Y(e,de)||Y(e,me)),he}function Ee(e){var t=Object[a].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Pe()&&(n=be().stringify(e)),t+n}function Le(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function Ae(e,t){var n,r=typeof console!==i?console:Te("console");r&&(n="log",Z(r[n=r[e]?e:n])&&r[n](t))}var Me=(Re.dataType="MessageData",Re);function Re(e,t,n,r){void 0===n&&(n=!1),this.messageId=e,this.message=(n?"AI: ":"AI (Internal): ")+e,e="",Pe()&&(e=be().stringify(r)),e=(t?" message:"+Le(t):"")+(r?" props:"+Le(e):""),this.message+=e}var Ve=function er(n){this.identifier="DiagnosticLogger",this.queue=[];var i=0,o={};W(er,this,function(a){function e(e,t){return H(e=n[e])?t:e}H(n)&&(n={}),a.consoleLoggingLevel=function(){return e("loggingLevelConsole",0)},a.telemetryLoggingLevel=function(){return e("loggingLevelTelemetry",1)},a.maxInternalMessageLimit=function(){return e("maxMessageLimit",25)},a.enableDebugExceptions=function(){return e("enableDebugExceptions",!1)},a.throwInternal=function(e,t,n,r,i){if(t=new Me(t,n,i=void 0!==i&&i,r),a.enableDebugExceptions())throw t;n=e===S.CRITICAL?"errorToConsole":"warnToConsole",J(t.message)||(r=a.consoleLoggingLevel(),i?(i=+t.messageId,!o[i]&&e<=r&&(a[n](t.message),o[i]=!0)):e<=r&&a[n](t.message),a.logInternalMessage(e,t))},a.warnToConsole=function(e){Ae("warn",e)},a.errorToConsole=function(e){Ae("error",e)},a.resetInternalMessageCount=function(){i=0,o={}},a.logInternalMessage=function(e,t){var n,r;i>=a.maxInternalMessageLimit()||(n=!0,r="AITR_"+t.messageId,o[r]?n=!1:o[r]=!0,n&&(e<=a.telemetryLoggingLevel()&&(a.queue.push(t),i++),i===a.maxInternalMessageLimit()&&(t=new Me(G.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),a.queue.push(t),a.warnToConsole(e))))}})},_e=(De.ParentContextKey="parent",De.ChildrenContextKey="childEvts",De);function De(e,i,t){var r,a=this,o=!1;a.start=oe(),a.name=e,a.isAsync=t,a.isChildEvt=function(){return!1},Z(i)&&(o=function(e){if(K)try{var t={enumerable:!0,configurable:!0,get:function(){return!r&&Z(i)&&(r=i(),i=null),r}};return K(e,"payload",t),!0}catch(n){}return!1}(a)),a.getCtx=function(e){return e?(e===De.ParentContextKey||e===De.ChildrenContextKey?a:a.ctx||{})[e]:null},a.setCtx=function(e,t){e&&(e===De.ParentContextKey?(a[e]||(a.isChildEvt=function(){return!0}),a[e]=t):e===De.ChildrenContextKey?a[e]=t:(a.ctx=a.ctx||{})[e]=t)},a.complete=function(){var e=0,t=a.getCtx(De.ChildrenContextKey);if(ee(t))for(var n=0;n<t.length;n++){var r=t[n];r&&(e+=r.time)}a.time=oe()-a.start,a.exTime=a.time-e,a.complete=function(){},!o&&Z(i)&&(a.payload=i())}}var Fe="CoreUtils.doPerf";function Oe(e,t,n,r,i){if(e){var a=e;if(a=Z(a.getPerfMgr)?a.getPerfMgr():a){var o,s=void 0,e=a.getCtx(Fe);try{if(s=a.create(t(),r,i))return e&&s.setCtx&&(s.setCtx(_e.ParentContextKey,e),e.getCtx&&e.setCtx&&((o=e.getCtx(_e.ChildrenContextKey))||(o=[],e.setCtx(_e.ChildrenContextKey,o)),o.push(s))),a.setCtx(Fe,s),n(s)}catch(c){s&&s.setCtx&&s.setCtx("exception",c)}finally{s&&a.fire(s),a.setCtx(Fe,e)}}}return n()}var Be=function(i,t){var a=this,o=null,s=Z(i.processTelemetry),c=Z(i.setNextPlugin);a._hasRun=!1,a.getPlugin=function(){return i},a.getNext=function(){return o},a.setNext=function(e){o=e},a.processTelemetry=function(n,r){r=r||t;var e=i?i.identifier:"TelemetryPluginChain";Oe(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&s){a._hasRun=!0;try{r.setNext(o),c&&i.setNextPlugin(o),o&&(o._hasRun=!1),i.processTelemetry(n,r)}catch(t){var e=o&&o._hasRun;o&&e||r.diagLog().throwInternal(S.CRITICAL,G.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+Ee(t)),o&&!e&&o.processTelemetry(n,r)}}else o&&(a._hasRun=!0,o.processTelemetry(n,r))},function(){return{item:n}},!n.sync)}};function Ue(e,t){var n=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var a=e[i];a&&Z(a.processTelemetry)&&(a=new Be(a,t),n.push(a),r&&r.setNext(a),r=a)}return 0<n.length?n[0]:null}var ze=function tr(e,i,n,t){var r,a,o,s,c=this,l=null;null!==t&&(e&&Z(e.getPlugin)?l=function(e,t,n){var r=[],i=!n;if(e)for(;e;){var a=e.getPlugin();!i&&a!==n||(i=!0,r.push(a)),e=e.getNext()}return i||r.push(n),Ue(r,t)}(e,c,t||e.getPlugin()):t?(r=c,o=e,s=!1,(a=t)&&e&&(o=[],re(e,function(e){!s&&e!==a||(s=!0,o.push(e))})),a&&!s&&(o=o||[]).push(a),l=Ue(o,r)):J(t)&&(l=Ue(e,c))),c.core=function(){return n},c.diagLog=function(){return(n||{}).logger||new Ve(i)},c.getCfg=function(){return i},c.getExtCfg=function(e,t){var n,r;return void 0===t&&(t={}),!i||(r=i.extensionConfig)&&e&&(n=r[e]),n||t},c.getConfig=function(e,t,n){var r;return void 0===n&&(n=!1),(e=c.getExtCfg(e,null))&&!H(e[t])?r=e[t]:i&&!H(i[t])&&(r=i[t]),H(r)?n:r},c.hasNext=function(){return null!=l},c.getNext=function(){return l},c.setNext=function(e){l=e},c.processNext=function(e){var t=l;t&&(l=t.getNext(),t.processTelemetry(e,c))},c.createNew=function(e,t){return new tr((e=void 0===e?null:e)||l,i,n,t)}},je="getPlugin",t=(We.prototype.initialize=function(e,t,n,r){this._baseTelInit(e,t,n,r)},We);function We(){var a=this,o=!1,s=null,c=null;a.core=null,a.diagLog=function(e){return a._getTelCtx(e).diagLog()},a.isInitialized=function(){return o},a.setInitialized=function(e){o=e},a.setNextPlugin=function(e){c=e},a.processNext=function(e,t){t?t.processNext(e):c&&Z(c.processTelemetry)&&c.processTelemetry(e,null)},a._getTelCtx=function(e){var t=e=void 0===e?null:e;return t||(e=s||new ze(null,{},a.core),t=c&&c[je]?e.createNew(null,c[je]):e.createNew(null,c)),t},a._baseTelInit=function(e,t,n,r){e&&ce(e,"extensionConfig",[],null,H),!r&&t&&(r=t.getProcessTelContext().getNext());var i=c;c&&c[je]&&(i=c[je]()),a.core=t,s=new ze(r,e,t,i),o=!0}}var Ge="toGMTString",Ke="toUTCString",qe="cookie",Je="expires",He="enabled",Xe="isCookieUseDisabled",$e="disableCookiesUsage",Ze="_ckMgr",Qe="",Ye=null,et=null,tt=null,nt=Ce(),rt={},it={};function at(e){return!e||e.isEnabled()}function ot(e,i){var t,n,l=(ce(n=(t=e||it).cookieCfg=t.cookieCfg||{},"domain",t.cookieDomain,X,H),ce(n,"path",t.cookiePath||"/",null,H),H(n[He])&&(e=void 0,J(t[Xe])||(e=!t[Xe]),J(t[$e])||(e=!t[$e]),n[He]=e),n),u=l.path||"/",g=l.domain,r=!1!==l[He],f={isEnabled:function(){var e=r&&st(i),t=it[Ze];return e&&t&&f!==t?at(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,i){var a,o,s,c=!1;return at(f)&&(a={},-1!=(s=(o=ae(t||Qe)).indexOf(";"))&&(o=ae(t.substring(0,s)),a=ct(t.substring(1+s))),ce(a,"domain",r||g,le,J),H(n)||(s=Ne(),!J(a[Je])||0<(t=oe()+1e3*n)&&((r=new Date).setTime(t),ce(a,Je,lt(r,s?Ge:Ke)||lt(r,s?Ge:Ke)||Qe,le)),s||ce(a,"max-age",Qe+n,null,J)),(n=Se())&&"https:"===n.protocol&&(ce(a,"secure",null,null,J),(et=null===et?!(ne(n=(xe()||{}).userAgent)&&(Y(n,"CPU iPhone OS 12")||Y(n,"iPad; CPU OS 12")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&Y(n,"Version/")&&Y(n,"Safari")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&function(e,t){if(e){var n=e.length;if(e===t)return 1;if(40<=n){for(var r=n-1,i=39;0<=i;i--){if(e[r]!=t[i])return;r--}return 1}}}(n,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Y(n,"Chrome/5")||Y(n,"Chrome/6")||Y(n,"UnrealEngine")&&!Y(n,"Chrome")||Y(n,"UCBrowser/12")||Y(n,"UCBrowser/11"))):et)&&ce(a,"SameSite","None",null,J)),ce(a,"path",i||u,null,J),(l.setCookie||gt)(e,ut(o,a)),c=!0),c},get:function(e){var t=Qe;return at(f)?(l.getCookie||function(e){var t,n=Qe;return nt&&(t=nt[qe]||Qe,tt!==t&&(rt=ct(t),tt=t),n=ae(rt[e]||Qe)),n})(e):t},del:function(e,t){return!!at(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return st(i)&&((n={}).path=t||"/",n[Je]="Thu, 01 Jan 1970 00:00:01 GMT",Ne()||(n["max-age"]="0"),(l.delCookie||gt)(e,ut(Qe,n)),r=!0),r}};return f[Ze]=f}function st(e){if(null===Ye){Ye=!1;try{Ye=(nt||{})[qe]!==undefined}catch(t){e&&e.throwInternal(S.WARNING,G.CannotAccessCookie,"Cannot access document.cookie - "+se(t),{exception:Ee(t)})}}return Ye}function ct(e){var n={};return e&&e.length&&re(ae(e).split(";"),function(e){var t;(e=ae(e||Qe))&&(-1==(t=e.indexOf("="))?n[e]=null:n[ae(e.substring(0,t))]=ae(e.substring(1+t)))}),n}function lt(e,t){return Z(e[t])?e[t]():null}function ut(e,t){var n=e||Qe;return Q(t,function(e,t){n+="; "+e+(H(t)?Qe:"="+t)}),n}function gt(e,t){nt&&(nt[qe]=e+"="+t)}var ft=4294967296,pt=4294967295,dt=!1,mt=123456789,ht=987654321;function vt(e){var t,n=(n=Te("crypto")||Te("msCrypto"))&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&pt:Ne()?(dt||function(){try{var e=2147483647&oe();(t=(Math.random()*ft^e)+e)<0&&(t>>>=0),mt=123456789+t&pt,ht=987654321-t&pt,dt=!0}catch(n){}var t}(),t=((ht=36969*(65535&ht)+(ht>>16)&pt)<<16)+(65535&(mt=18e3*(65535&mt)+(mt>>16)&pt))>>>0&pt|0,(t>>>=0)&pt):Math.floor(ft*Math.random()|0);return e||(n>>>=0),n}function yt(e,t,n){var r,i,a=t.length,o=(t&&150<(t=ae(t.toString())).length&&(r=t.substring(0,150),e&&e.throwInternal(S.WARNING,G.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),r||t);if(o.length!==a){for(var s=0,c=o;n[c]!==undefined;)s++,c=o.substring(0,147)+(i="00"+s).substr(i.length-3);o=c}return o}function Tt(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=ae(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(S.WARNING,G.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function wt(e,t){return St(e,t,2048,G.UrlTooLong)}function It(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(S.WARNING,G.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Ct(r,e){var i;return e&&(i={},Q(e,function(e,t){if($(t)&&Pe())try{t=be().stringify(t)}catch(n){r&&r.throwInternal(S.WARNING,G.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=Tt(r,t,8192),e=yt(r,e,i),i[e]=t}),e=i),e}function xt(n,e){var r;return e&&(r={},Q(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function St(e,t,n,r){var i;return t&&(t=ae(t)).length>n&&(i=t.substring(0,n),e&&e.throwInternal(S.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),i||t}function kt(e){var t,n=null;return Z(Event)?n=new Event(e):(t=Ce())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Pt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function bt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,i=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<i?i+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}var Nt,Et="not_specified",Lt="iKey";(xn=Nt=Nt||{})[xn.LocalStorage=0]="LocalStorage",xn[xn.SessionStorage=1]="SessionStorage",(l=Kt=Kt||{})[l.AI=0]="AI",l[l.AI_AND_W3C=1]="AI_AND_W3C",l[l.W3C=2]="W3C";var At=undefined;function Mt(e){try{if(H(g()))return null;var t=new Date,n=Te(e===Nt.LocalStorage?"localStorage":"sessionStorage");n.setItem(t.toString(),t.toString());var r=n.getItem(t.toString())!==t.toString();if(n.removeItem(t.toString()),!r)return n}catch(i){}return null}function Rt(){return Vt()?Mt(Nt.SessionStorage):null}function Vt(){return At=At===undefined?!!Mt(Nt.SessionStorage):At}function _t(e,t){var n=Rt();if(null!==n)try{return n.getItem(t)}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+se(r),{exception:Ee(r)})}return null}function Dt(e,t,n){var r=Rt();if(null!==r)try{return r.setItem(t,n),1}catch(i){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+se(i),{exception:Ee(i)})}}function Ft(e,t){var n=Rt();if(null!==n)try{return n.removeItem(t),1}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+se(r),{exception:Ee(r)})}}var Ot=Ce()||{},Bt=0,Ut=[null,null,null,null,null];function zt(e,t){return 0===e||0===t||H(e)||H(t)?null:t-e}var jt,Wt=(m(Gt,jt=xn=function(){this.ver=2,this.properties={},this.measurements={}}),Gt.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Gt.dataType="EventData",Gt);function Gt(e,t,n,r){var i=jt.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=Tt(e,t)||Et,i.properties=Ct(e,n),i.measurements=xt(e,r),i}var Kt=function(){},l=function(){this.hasFullStack=!0,this.parsedStack=[]},qt="error",Jt="stack",Ht="stackDetails",Xt="errorSrc",$t="message",Zt="description";function Qt(e,t){var n=e;return n&&!ne(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=Z(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function Yt(e,t){var n=e;return e&&((n=n&&!ne(n)&&(e[$t]||e[Zt])||n)&&!ne(n)&&(n=Qt(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function en(e){return e&&e.src&&ne(e.src)&&e.obj&&ee(e.obj)}function tn(e){var t=e||"",e=(t=ne(t)?t:ne(t[Jt])?t[Jt]:""+t).split("\n");return{src:t,obj:e}}function nn(e){var t,n=null;if(e)try{e[Jt]?n=tn(e[Jt]):e[qt]&&e[qt][Jt]?n=tn(e[qt][Jt]):e.exception&&e.exception[Jt]?n=tn(e.exception[Jt]):en(e)?n=e:en(e[Ht])?n=e[Ht]:window.opera&&e[$t]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var i=n[r];n[r+1]&&(i+="@"+n[r+1],r++),t.push(i)}return{src:e,obj:t}}(e.message):ne(e)?n=tn(e):(t=e[$t]||e[Zt]||"",ne(e[Xt])&&(t&&(t+="\n"),t+=" from "+e[Xt]),t&&(n=tn(t)))}catch(r){n=tn(r)}return n||{src:"",obj:null}}function rn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function an(e){if(e)try{if(!ne(e)){var t=rn(e),n=Qt(e,!1);return n&&"{}"!==n||(e[qt]&&(t=rn(e=e[qt])),n=Qt(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}}catch(r){}return""+(e||"")}var on,sn=(m(cn,on=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),cn.CreateAutoException=function(e,t,n,r,i,a,o,s){var c=rn(i||a||e);return{message:Yt(e,c),url:t,lineNumber:n,columnNumber:r,error:an(i||a||e),evt:an(a||e),typeName:c,stackDetails:nn(o||i||a),errorSrc:s}},cn.CreateFromInterface=function(t,e,n,r){var i=e.exceptions&&ie(e.exceptions,function(e){return un.CreateFromInterface(t,e)});return new cn(t,p(p({},e),{exceptions:i}),n,r)},cn.prototype.toInterface=function(){var e=this.exceptions,t=this.properties,n=this.measurements,r=this.severityLevel;this.ver;var i=this.problemGroup,a=this.id,o=this.isManual;return{ver:"4.0",exceptions:e instanceof Array&&ie(e,function(e){return e.toInterface()})||undefined,severityLevel:r,properties:t,measurements:n,problemGroup:i,id:a,isManual:o}},cn.CreateSimpleException=function(e,t,n,r,i,a){return{exceptions:[{hasFullStack:!0,message:e,stack:i,typeName:t}]}},cn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",cn.dataType="ExceptionData",cn.formatError=an,cn);function cn(e,t,n,r,i,a){var o=on.call(this)||this;return o.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if($(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(o.exceptions=t.exceptions,o.properties=t.properties,o.measurements=t.measurements,t.severityLevel&&(o.severityLevel=t.severityLevel),t.id&&(o.id=t.id),t.problemGroup&&(o.problemGroup=t.problemGroup),o.ver=2,H(t.isManual)||(o.isManual=t.isManual)):(o.exceptions=[new un(e,t,n=n||{})],o.properties=Ct(e,n),o.measurements=xt(e,r),i&&(o.severityLevel=i),a&&(o.id=a)),o}var ln,un=(m(gn,ln=l),gn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&ie(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Jt],parsedStack:e||undefined}},gn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&ie(t.parsedStack,function(e){return pn.CreateFromInterface(e)})||t.parsedStack;return new gn(e,p(p({},t),{parsedStack:n}))},gn);function gn(e,t,n){var r,l,i,a,o=ln.call(this)||this;return o.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if($(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(o.typeName=t.typeName,o.message=t.message,o[Jt]=t[Jt],o.parsedStack=t.parsedStack,o.hasFullStack=t.hasFullStack):(l=(r=t)&&r.evt,te(r)||(r=r[qt]||l||r),o.typeName=Tt(e,rn(r))||Et,o.message=It(e,Yt(t||r,o.typeName))||Et,l=t[Ht]||nn(t),o.parsedStack=function(e){if((e=l.obj)&&0<e.length){var t=[],n=0,r=0;if(re(e,function(e){e=e.toString(),pn.regex.test(e)&&(e=new pn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var i=0,a=t.length-1,o=0,s=i,c=a;i<a;){if(32768<(o+=t[i].sizeInBytes+t[a].sizeInBytes)){t.splice(s,c-s+1);break}s=i,c=a,i++,a--}}return t}(),o[Jt]=(r=e,a="",(e=l)&&(e.obj?re(e.obj,function(e){a+=e+"\n"}):a=e.src||""),!(l=a)||32768<(e=""+l).length&&(i=e.substring(0,32768),r&&r.throwInternal(S.WARNING,G.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:l},!0)),i||l),o.hasFullStack=ee(o.parsedStack)&&0<o.parsedStack.length,n&&(n.typeName=n.typeName||o.typeName)),o}var fn,pn=(m(dn,fn=Kt),dn.CreateFromInterface=function(e){return new dn(e,null)},dn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},dn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,dn.baseSize=58,dn);function dn(e,t){var n,r=fn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=ae(n),r.fileName="",r.line=0,(n=n.match(dn.regex))&&5<=n.length&&(r.method=ae(n[2])||r.method,r.fileName=ae(n[4]),r.line=parseInt(n[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=dn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}var mn,l=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}};(Kt=mn={})[Kt.Measurement=0]="Measurement",Kt[Kt.Aggregation=1]="Aggregation";var hn,vn=(m(yn,hn=function(){this.kind=mn.Measurement}),yn);function yn(){var e=null!==hn&&hn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}var Tn,wn=(m(In,Tn=l),In.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",In.dataType="MetricData",In);function In(e,t,n,r,i,a,o,s,c){var l=Tn.call(this)||this;l.aiDataContract={ver:1,metrics:1,properties:0};var u=new vn;return u.count=0<r?r:undefined,u.max=isNaN(a)||null===a?undefined:a,u.min=isNaN(i)||null===i?undefined:i,u.name=Tt(e,t)||Et,u.value=n,u.stdDev=isNaN(o)||null===o?undefined:o,l.metrics=[u],l.properties=Ct(e,s),l.measurements=xt(e,c),l}var Cn,xn=(m(Sn,Cn=xn),Sn);function Sn(){var e=Cn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var kn,Pn=(m(bn,kn=xn),bn.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",bn.dataType="PageviewData",bn);function bn(e,t,n,r,i,a,o){var s=kn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=o&&St(e,o,128,G.IdTooLong).toString(),s.url=wt(e,n),s.name=Tt(e,t)||Et,isNaN(r)||(s.duration=bt(r)),s.properties=Ct(e,i),s.measurements=xt(e,a),s}var Nn,En=(m(Ln,Nn=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),Ln.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Ln.dataType="RemoteDependencyData",Ln);function Ln(e,t,n,r,i,a,o,s,c,l,u,g){void 0===c&&(c="Ajax");var f=Nn.call(this)||this;f.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},f.id=t,f.duration=bt(i),f.success=a,f.resultCode=o+"",f.type=Tt(e,c);var p,d,m,h,v,y,T,w,I,C,o=(p=e,t=s,o=a=i=r,a=(c=n)&&0<c.length?(d=c,C=(I=Ut)[w=Bt],Ot.createElement?I[w]||(C=I[w]=Ot.createElement("a")):C={host:(y=!0,T=null,!(v=m=d)||null!=(v=v.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<v.length&&ne(v[2])&&0<v[2].length&&(T=v[2]||"",y&&2<v.length&&(y=(v[1]||"").toLowerCase(),v=v[3]||"",T+=v="http"==y&&":80"===v||"https"==y&&":443"===v?"":v)),(m=T||"")&&null!=(h=m.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i))&&3<h.length&&ne(h[2])&&0<h[2].length?h[2]+(h[3]||""):m)},C.href=d,++w>=I.length&&(w=0),Bt=w,C=(s=C).host,a||(null!=s.pathname?("/"!=((n=0===s.pathname.length?"/":s.pathname)[0]||"")&&(n="/"+n),o=s.pathname,Tt(p,t?t+" "+n:n)):Tt(p,c))):C=i,{target:C,name:a,data:o});return f.data=wt(e,r)||o.data,f.target=Tt(e,o.target),l&&(f.target=f.target+" | "+l),f.name=Tt(e,o.name),f.properties=Ct(e,u),f.measurements=xt(e,g),f}var An,Mn=(m(Rn,An=function(){this.ver=2,this.properties={},this.measurements={}}),Rn.envelopeType="Microsoft.ApplicationInsights.{0}.Message",Rn.dataType="MessageData",Rn);function Rn(e,t,n,r,i){var a=An.call(this)||this;return a.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},a.message=It(e,t=t||Et),a.properties=Ct(e,r),a.measurements=xt(e,i),n&&(a.severityLevel=n),a}var Vn,xn=(m(_n,Vn=xn),_n);function _n(){var e=Vn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var Dn,Fn,On=(m(Bn,Dn=xn),Bn.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",Bn.dataType="PageviewPerformanceData",Bn);function Bn(e,t,n,r,i,a,o){var s=Dn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=wt(e,n),s.name=Tt(e,t)||Et,s.properties=Ct(e,i),s.measurements=xt(e,a),o&&(s.domProcessing=o.domProcessing,s.duration=o.duration,s.networkConnect=o.networkConnect,s.perfTotal=o.perfTotal,s.receivedResponse=o.receivedResponse,s.sentRequest=o.sentRequest),s}(xn=Fn=Fn||{})[xn.Verbose=0]="Verbose",xn[xn.Information=1]="Information",xn[xn.Warning=2]="Warning",xn[xn.Error=3]="Error",xn[xn.Critical=4]="Critical";var Un=(zn.create=function(e,t,n,r,i,a){if(n=Tt(r,n)||Et,H(e)||H(t)||H(n))throw Error("Input doesn't contain all required fields");r="",e[Lt]&&(r=e[Lt],delete e[Lt]);var o={name:n,time:function(e){if("[object Date]"===q(e)){var t=function(e){return 1===(e=""+e).length?"0"+e:e};return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(new Date),iKey:r,ext:a||{},tags:[],data:{},baseType:t,baseData:e};return H(i)||Q(i,function(e,t){o.data[e]=t}),o},zn);function zn(){}var jn=function nr(d,m,t,h){W(nr,this,function(e){var u,n=null,g=[],f=!1;function p(){t&&re(t.getTransmissionControls(),function(e){re(e,function(e){return e.flush(!0)})})}t&&(u=t.logger),e.trackPageView=function(r,i){var a=r.name;!H(a)&&"string"==typeof a||(e=Ce(),a=r.name=e&&e.title||"");var e,o=r.uri;if(!H(o)&&"string"==typeof o||(e=Se(),o=r.uri=e&&e.href||""),!h.isPerformanceTimingSupported())return d.sendPageViewInternal(r,i),p(),void u.throwInternal(S.WARNING,G.NavigationTimingNotSupported,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var s,t,c=!1,l=h.getPerformanceTiming().navigationStart;0<l&&(s=zt(l,+new Date),h.shouldCollectDuration(s)||(s=undefined)),H(i)||H(i.duration)||(t=i.duration),!m&&isNaN(t)||(isNaN(t)&&((i=i||{}).duration=s),d.sendPageViewInternal(r,i),p(),c=!0),i=i||{},t=function(){var e,t=!1;try{h.isPerformanceTimingDataReady()?(t=!0,e={name:a,uri:o},h.populatePageViewPerformanceEvent(e),e.isValid||c?(c||(i.duration=e.durationMs,d.sendPageViewInternal(r,i)),f||(d.sendPageViewPerformanceInternal(e,i),f=!0)):(i.duration=s,d.sendPageViewInternal(r,i))):0<l&&6e4<zt(l,+new Date)&&(t=!0,c||(i.duration=6e4,d.sendPageViewInternal(r,i)))}catch(n){u.throwInternal(S.CRITICAL,G.TrackPVFailedCalc,"trackPageView failed on page load calculation: "+se(n),{exception:Ee(n)})}return t},g.push(t),n=n||setInterval(function(){var e=g.slice(0),t=!1;g=[],re(e,function(e){e()?t=!0:g.push(e)}),0===g.length&&(clearInterval(n),n=null),t&&p()},100)}})},Wn=(Gn.prototype.trackPreviousPageVisit=function(e,t){try{var n=this.restartPageVisitTimer(e,t);n&&this.pageVisitTimeTrackingHandler(n.pageName,n.pageUrl,n.pageVisitTime)}catch(r){this._logger.warnToConsole("Auto track page visit time failed, metric will not be collected: "+Ee(r))}},Gn.prototype.restartPageVisitTimer=function(e,t){try{var n=this.stopPageVisitTimer();return this.startPageVisitTimer(e,t),n}catch(r){return this._logger.warnToConsole("Call to restart failed: "+Ee(r)),null}},Gn.prototype.startPageVisitTimer=function(e,t){try{var n,r;Vt()&&(null!=_t(this._logger,this.prevPageVisitDataKeyName)&&function(){throw Error("Cannot call startPageVisit consecutively without first calling stopPageVisit")}(),n=new Kn(e,t),r=be().stringify(n),Dt(this._logger,this.prevPageVisitDataKeyName,r))}catch(i){this._logger.warnToConsole("Call to start failed: "+Ee(i))}},Gn.prototype.stopPageVisitTimer=function(){try{if(Vt()){var e=oe(),t=_t(this._logger,this.prevPageVisitDataKeyName);if(t&&Pe()){var n=be().parse(t);return n.pageVisitTime=e-n.pageVisitStartTime,Ft(this._logger,this.prevPageVisitDataKeyName),n}return null}return null}catch(r){return this._logger.warnToConsole("Stop page visit timer failed: "+Ee(r)),null}},Gn);function Gn(e,t){this.prevPageVisitDataKeyName="prevPageVisitData",this.pageVisitTimeTrackingHandler=t,this._logger=e}var Kn=function(e,t){this.pageVisitStartTime=oe(),this.pageName=e,this.pageUrl=t},qn=(Jn.prototype.populatePageViewPerformanceEvent=function(e){e.isValid=!1;var t=this.getPerformanceNavigationTiming(),n=this.getPerformanceTiming(),r=0,i=0,a=0,o=0;(t||n)&&(n=t?(r=t.duration,i=0===t.startTime?t.connectEnd:zt(t.startTime,t.connectEnd),a=zt(t.requestStart,t.responseStart),o=zt(t.responseStart,t.responseEnd),zt(t.responseEnd,t.loadEventEnd)):(r=zt(n.navigationStart,n.loadEventEnd),i=zt(n.navigationStart,n.connectEnd),a=zt(n.requestStart,n.responseStart),o=zt(n.responseStart,n.responseEnd),zt(n.responseEnd,n.loadEventEnd)),0===r?this._logger.throwInternal(S.WARNING,G.ErrorPVCalc,"error calculating page view performance.",{total:r,network:i,request:a,response:o,dom:n}):this.shouldCollectDuration(r,i,a,o,n)?r<Math.floor(i)+Math.floor(a)+Math.floor(o)+Math.floor(n)?this._logger.throwInternal(S.WARNING,G.ClientPerformanceMathError,"client performance math error.",{total:r,network:i,request:a,response:o,dom:n}):(e.durationMs=r,e.perfTotal=e.duration=bt(r),e.networkConnect=bt(i),e.sentRequest=bt(a),e.receivedResponse=bt(o),e.domProcessing=bt(n),e.isValid=!0):this._logger.throwInternal(S.WARNING,G.InvalidDurationValue,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:i,request:a,response:o,dom:n}))},Jn.prototype.getPerformanceTiming=function(){return this.isPerformanceTimingSupported()?ke().timing:null},Jn.prototype.getPerformanceNavigationTiming=function(){return this.isPerformanceNavigationTimingSupported()?ke().getEntriesByType("navigation")[0]:null},Jn.prototype.isPerformanceNavigationTimingSupported=function(){var e=ke();return e&&e.getEntriesByType&&0<e.getEntriesByType("navigation").length},Jn.prototype.isPerformanceTimingSupported=function(){var e=ke();return e&&e.timing},Jn.prototype.isPerformanceTimingDataReady=function(){var e=ke();return(e=e?e.timing:0)&&0<e.domainLookupStart&&0<e.navigationStart&&0<e.responseStart&&0<e.requestStart&&0<e.loadEventEnd&&0<e.responseEnd&&0<e.connectEnd&&0<e.domLoading},Jn.prototype.shouldCollectDuration=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=["googlebot","adsbot-google","apis-google","mediapartners-google"],r=(xe()||{}).userAgent,i=!1;if(r)for(var a=0;a<n.length;a++)i=i||!!~r.toLowerCase().indexOf(n[a]);if(i)return!1;for(a=0;a<e.length;a++)if(e[a]<0||e[a]>=this.MAX_DURATION_ALLOWED)return!1;return!0},Jn);function Jn(e){this.MAX_DURATION_ALLOWED=36e5,e&&(this._logger=e.logger)}var Hn="duration",Xn="event";function $n(e,t){e&&e.dispatchEvent&&t&&e.dispatchEvent(t)}var Zn,t=(m(Qn,Zn=t),Qn.getDefaultConfig=function(e){return(e=e||{}).sessionRenewalMs=18e5,e.sessionExpirationMs=864e5,e.disableExceptionTracking=Pt(e.disableExceptionTracking),e.autoTrackPageVisitTime=Pt(e.autoTrackPageVisitTime),e.overridePageViewDuration=Pt(e.overridePageViewDuration),e.enableUnhandledPromiseRejectionTracking=Pt(e.enableUnhandledPromiseRejectionTracking),(isNaN(e.samplingPercentage)||e.samplingPercentage<=0||100<=e.samplingPercentage)&&(e.samplingPercentage=100),e.isStorageUseDisabled=Pt(e.isStorageUseDisabled),e.isBrowserLinkTrackingEnabled=Pt(e.isBrowserLinkTrackingEnabled),e.enableAutoRouteTracking=Pt(e.enableAutoRouteTracking),e.namePrefix=e.namePrefix||"",e.enableDebug=Pt(e.enableDebug),e.disableFlushOnBeforeUnload=Pt(e.disableFlushOnBeforeUnload),e.disableFlushOnUnload=Pt(e.disableFlushOnUnload,e.disableFlushOnBeforeUnload),e},Qn.Version="2.7.2-nightly.2111-06",Qn);function Qn(){var v,y,T,w,I,C=Zn.call(this)||this;return C.identifier="ApplicationInsightsAnalytics",C.priority=180,C.autoRoutePVDelay=500,W(Qn,C,function(m,h){var e=Se(!0);w=e&&e.href||"",m.getCookieMgr=function(){return(e=m.core)?n=e.getCookieMgr():t&&(n=t.cookieCfg[Ze]||ot(t)),n||(r=t,t=(e||{}).logger,(e=ot[Ze]||it[Ze])||(e=ot[Ze]=ot(r,t),it[Ze]=e),n=e),n;var e,t,n,r},m.processTelemetry=function(a,o){Oe(m.core,function(){return m.identifier+":processTelemetry"},function(){var e=!1,t=m._telemetryInitializers.length;o=m._getTelCtx(o);for(var n=0;n<t;++n){var r=m._telemetryInitializers[n];if(r)try{if(!1===r.call(null,a)){e=!0;break}}catch(i){o.diagLog().throwInternal(S.CRITICAL,G.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+se(i),{exception:Ee(i)},!0)}}e||m.processNext(a,o)},function(){return{item:a}},!a.sync)},m.trackEvent=function(e,t){try{var n=Un.create(e,Wt.dataType,Wt.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.startTrackEvent=function(e){try{v.start(e)}catch(t){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackEventFailed,"startTrackEvent failed, event will not be collected: "+se(t),{exception:Ee(t)})}},m.stopTrackEvent=function(e,t,n){try{v.stop(e,undefined,t)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackEventFailed,"stopTrackEvent failed, event will not be collected: "+se(r),{exception:Ee(r)})}},m.trackTrace=function(e,t){try{var n=Un.create(e,Mn.dataType,Mn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.trackMetric=function(e,t){try{var n=Un.create(e,wn.dataType,wn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackMetricFailed,"trackMetric failed, metric will not be collected: "+se(r),{exception:Ee(r)})}},m.trackPageView=function(e,t){try{var n=e||{};m._pageViewManager.trackPageView(n,p(p(p({},n.properties),n.measurements),t)),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(n.name,n.uri)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageView failed, page view will not be collected: "+se(r),{exception:Ee(r)})}},m.sendPageViewInternal=function(e,t,n){var r=Ce();r&&(e.refUri=e.refUri===undefined?r.referrer:e.refUri),n=Un.create(e,Pn.dataType,Pn.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.sendPageViewPerformanceInternal=function(e,t,n){n=Un.create(e,On.dataType,On.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.trackPageViewPerformance=function(e,t){try{m._pageViewPerformanceManager.populatePageViewPerformanceEvent(e),m.sendPageViewPerformanceInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageViewPerformance failed, page view will not be collected: "+se(n),{exception:Ee(n)})}},m.startTrackPage=function(e){try{var t;"string"!=typeof e&&(e=(t=Ce())&&t.title||""),y.start(e)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackFailed,"startTrackPage failed, page view may not be collected: "+se(n),{exception:Ee(n)})}},m.stopTrackPage=function(e,t,n,r){try{var i,a;"string"!=typeof e&&(e=(i=Ce())&&i.title||""),"string"!=typeof t&&(t=(a=Se())&&a.href||""),y.stop(e,t,n,r),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(e,t)}catch(o){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackFailed,"stopTrackPage failed, page view will not be collected: "+se(o),{exception:Ee(o)})}},m.sendExceptionInternal=function(e,t,n){var r=e.exception||e.error||Error(Et),e=new sn(m.diagLog(),r,e.properties||t,e.measurements,e.severityLevel,e.id).toInterface(),n=Un.create(e,sn.dataType,sn.envelopeType,m.diagLog(),t,n);m.core.track(n)},m.trackException=function(e,t){try{m.sendExceptionInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackExceptionFailed,"trackException failed, exception will not be collected: "+se(n),{exception:Ee(n)})}},m._onerror=function(e){var t,n,r,i=e&&e.error,a=e&&e.evt;try{a||(t=Ie())&&(a=t[Xn]);var o=e&&e.url||(Ce()||{}).URL,s=e.errorSrc||"window.onerror@"+o+":"+(e.lineNumber||0)+":"+(e.columnNumber||0),c={errorSrc:s,url:o,lineNumber:e.lineNumber||0,columnNumber:e.columnNumber||0,message:e.message},l=e.message;e.url,e.lineNumber,e.columnNumber,e.error||!ne(l)||"Script error."!==l&&"Script error"!==l?(e.errorSrc||(e.errorSrc=s),m.trackException({exception:e,severityLevel:Fn.Error},c)):(n=sn.CreateAutoException("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",o,e.lineNumber||0,e.columnNumber||0,i,a,null,s),r=c,r=Un.create(n,sn.dataType,sn.envelopeType,m.diagLog(),r),m.core.track(r))}catch(u){i=i?i.name+", "+i.message:"null",m.diagLog().throwInternal(S.CRITICAL,G.ExceptionWhileLoggingError,"_onError threw exception while logging error, error will not be collected: "+se(u),{exception:Ee(u),errorString:i})}},m.addTelemetryInitializer=function(e){m._telemetryInitializers.push(e)},m.initialize=function(e,t,n,r){if(!m.isInitialized()){if(H(t))throw Error("Error initializing");h.initialize(e,t,n,r),m.setInitialized(!1);var i=m._getTelCtx(),a=m.identifier;m.config=i.getExtCfg(a),(t=Qn.getDefaultConfig(e))!==undefined&&Q(t,function(e,t){m.config[e]=i.getConfig(a,e,t),m.config[e]===undefined&&(m.config[e]=t)}),m.config.isStorageUseDisabled&&(At=!1),r={instrumentationKey:function(){return e.instrumentationKey},accountId:function(){return m.config.accountId||e.accountId},sessionRenewalMs:function(){return m.config.sessionRenewalMs||e.sessionRenewalMs},sessionExpirationMs:function(){return m.config.sessionExpirationMs||e.sessionExpirationMs},sampleRate:function(){return m.config.samplingPercentage||e.samplingPercentage},sdkExtension:function(){return m.config.sdkExtension||e.sdkExtension},isBrowserLinkTrackingEnabled:function(){return m.config.isBrowserLinkTrackingEnabled||e.isBrowserLinkTrackingEnabled},appId:function(){return m.config.appId||e.appId}},m._pageViewPerformanceManager=new qn(m.core),m._pageViewManager=new jn(C,m.config.overridePageViewDuration,m.core,m._pageViewPerformanceManager),m._pageVisitTimeManager=new Wn(m.diagLog(),function(e,t,n){m.trackMetric({name:"PageVisitTime",average:n,max:n,min:n,sampleCount:1},t={PageName:e,PageUrl:t})}),m._telemetryInitializers=m._telemetryInitializers||[],r.isBrowserLinkTrackingEnabled()||(d=["/browserLinkSignalR/","/__browserLink/"],m._telemetryInitializers.push(function(e){if(e.baseType===En.dataType){var t=e.baseData;if(t)for(var n=0;n<d.length;n++)if(t.target&&~t.target.indexOf(d[n]))return!1}return!0})),(v=new Yn(m.diagLog(),"trackEvent")).action=function(e,t,n,r){(r=r||{})[Hn]=n.toString(),m.trackEvent({name:e,properties:r})},(y=new Yn(m.diagLog(),"trackPageView")).action=function(e,t,n,r,i){(r=H(r)?{}:r)[Hn]=n.toString(),m.sendPageViewInternal({name:e,uri:t,properties:r,measurements:i},r)};var s,o,c,l,u,g=Ie(),t=typeof history===x&&history?history:Te("history"),f=Se(!0),p=C;!1===m.config.disableExceptionTracking&&!m.config.autoExceptionInstrumented&&g&&(s=g.onerror,g.onerror=function(e,t,n,r,i){var a=g[Xn],o=s&&s(e,t,n,r,i);return!0!==o&&p._onerror(sn.CreateAutoException(e,t,n,r,i,a)),o},m.config.autoExceptionInstrumented=!0),!1===m.config.disableExceptionTracking&&!0===m.config.enableUnhandledPromiseRejectionTracking&&!m.config.autoUnhandledPromiseInstrumented&&g&&(o=g[r="onunhandledrejection"],g[r]=function(e){var t=g[Xn],n=o&&o.call(g,e);return!0!==n&&p._onerror(sn.CreateAutoException(function(e){if(e&&e.reason){var t=e.reason;return!ne(t)&&Z(t.toString)?t.toString():Ee(t)}return e||""}(e),f?f.href:"",0,0,e,t)),n},m.config.autoUnhandledPromiseInstrumented=!0),!0===m.config.enableAutoRouteTracking&&t&&Z(t.pushState)&&Z(t.replaceState)&&g&&"undefined"!=typeof Event&&(c=C,re(n,function(e){"AppInsightsPropertiesPlugin"===e.identifier&&(T=e)}),t.pushState=(u=t.pushState,function(){var e=u.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"pushState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),t.replaceState=(l=t.replaceState,function(){var e=l.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"replaceState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),g.addEventListener&&(g.addEventListener(c.config.namePrefix+"popstate",function(){$n(g,kt(c.config.namePrefix+"locationchange"))}),g.addEventListener(c.config.namePrefix+"locationchange",function(){var e;T&&T.context&&T.context.telemetryTrace&&(T.context.telemetryTrace.traceID=function(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=vt())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&vt())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+i+n.substr(16,3)+n.substr(19,12)}(),e="_unknown_",f&&f.pathname&&(e=f.pathname+(f.hash||"")),T.context.telemetryTrace.name=Tt(c.diagLog(),e)),I&&(w=I),I=f&&f.href||"",setTimeout((function(e){c.trackPageView({refUri:e,properties:{duration:0}})}).bind(C,w),c.autoRoutePVDelay)}))),m.setInitialized(!0)}var d}}),C}var Yn=function(a,e){var o=this,s={};o.start=function(e){"undefined"!=typeof s[e]&&a.throwInternal(S.WARNING,G.StartCalledMoreThanOnce,"start was called more than once for this event without calling stop.",{name:e,key:e},!0),s[e]=+new Date},o.stop=function(e,t,n,r){var i=s[e];isNaN(i)?a.throwInternal(S.WARNING,G.StopCalledWithoutStart,"stop was called without a corresponding start.",{name:e,key:e},!0):(i=zt(i,+new Date),o.action(e,t,i,n,r)),delete s[e],s[e]=undefined}};e.ApplicationInsights=t,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch(i){}typeof n.value!==undefined&&(e[t]=n.value)}(e,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}));
//# sourceMappingURL=applicationinsights-analytics-js.min.js.map
/*
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ */

/*
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ */

/*
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -573,3 +573,3 @@ */

// Removed Stub for ApplicationInsights.prototype.initialize.
ApplicationInsights.Version = "2.7.2-nightly.2111-05"; // Not currently used anywhere
ApplicationInsights.Version = "2.7.2-nightly.2111-06"; // Not currently used anywhere
return ApplicationInsights;

@@ -576,0 +576,0 @@ }(BaseTelemetryPlugin));

/*
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ */

/*
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ */

/*
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ */

/*
* Microsoft Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Microsoft Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ *

/*!
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.
*/
var e=this,t=function(e){"use strict";var r="function",x="object",i="undefined",a="prototype",o="hasOwnProperty",n=Object,s=n[a],t=n.assign,c=n.create,l=n.defineProperty,u=s[o];function g(){return typeof globalThis!==i&&globalThis?globalThis:typeof self!==i&&self?self:typeof window!==i&&window?window:typeof global!==i&&global?global:null}function f(e){throw new TypeError(e)}(g()||{}).Symbol,(g()||{}).Reflect;var p=t||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])s[o].call(t,i)&&(e[i]=t[i]);return e},d=function(e,t){return(d=n.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[o](n)&&(e[n]=t[n])})(e,t)};function m(e,t){function n(){this.constructor=e}typeof t!==r&&null!==t&&f("Class extends value "+t+" is not a constructor or null"),d(e,t),e[a]=null===t?function(e){if(c)return c(e);if(null==e)return{};var t=typeof e;function n(){}return t!==x&&t!==r&&f("Object prototype may only be an Object:"+e),n[a]=e,new n}(t):(n[a]=t[a],new n)}var S,h="constructor",v="prototype",y="function",T="_dynInstFuncs",w="_isDynProxy",I="_dynClass",C="_dynInstChk",k=C,P="_dfOpts",b="_unknown_",N="__proto__",E="useBaseInst",L="setInstFuncs",A=Object,M=A.getPrototypeOf,R=0;function V(e,t){return e&&A[v].hasOwnProperty.call(e,t)}function _(e){return e&&(e===A[v]||e===Array[v])}function D(e){return _(e)||e===Function[v]}function F(e){if(e){if(M)return M(e);if(e=e[N]||e[v]||(e[h]?e[h][v]:null))return e}return null}function O(e,t){var n=[],r=A.getOwnPropertyNames;if(r)n=r(e);else for(var i in e)"string"==typeof i&&V(e,i)&&n.push(i);if(n&&0<n.length)for(var a=0;a<n.length;a++)t(n[a])}function B(e,t,n){return t!==h&&typeof e[t]===y&&(n||V(e,t))}function U(e){throw new TypeError("DynamicProto: "+e)}function z(e,t){for(var n=e.length-1;0<=n;n--)if(e[n]===t)return 1}function j(e,t){return V(e,v)?e.name||t||b:((e||{})[h]||{}).name||t||b}function W(e,r,t,n){V(e,v)||U("theClass is an invalid class definition.");var i=e[v];!function(e){if(M)for(var t=[],n=F(r);n&&!D(n)&&!z(t,n);){if(n===e)return 1;t.push(n),n=F(n)}}(i)&&U("["+j(e)+"] is not in class hierarchy of ["+j(r)+"]");var a=null;V(i,I)?a=i[I]:(a="_dynCls$"+j(e,"_")+"$"+R,R++,i[I]=a);var o=W[P],s=!!o[E];s&&n&&n[E]!==undefined&&(s=!!n[E]);var c,l,u,g,f,p,e=(l={},O(c=r,function(e){!l[e]&&B(c,e,!1)&&(l[e]=c[e])}),l);t(r,function(e,t,n,a){function r(e,t,n){var r,i=t[n];return i[w]&&a&&!1!==(r=e[T]||{})[k]&&(i=(r[t[I]]||{})[n]||i),function(){return i.apply(e,arguments)}}var i={};O(n,function(e){i[e]=r(t,n,e)});for(var o=F(e),s=[];o&&!D(o)&&!z(s,o);)O(o,function(e){!i[e]&&B(o,e,!M)&&(i[e]=r(t,o,e))}),s.push(o),o=F(o);return i}(i,r,e,s)),o=!!M&&!!o[L],u=i,a=a,g=r,f=e,n=!1!==(o=o&&n?!!n[L]:o),_(u)||(o=g[T]=g[T]||{},p=o[a]=o[a]||{},!1!==o[k]&&(o[k]=!!n),O(g,function(e){var n,r,i;B(g,e,!1)&&g[e]!==f[e]&&(p[e]=g[e],delete g[e],V(u,e)&&(!u[e]||u[e][w])||(u[e]=(n=u,r=e,(i=function(){var e,t;return(function(e,t,n,r){var i=null;if(e&&V(n,I)){var a=e[T]||{};if((i=(a[n[I]]||{})[t])||U("Missing ["+t+"] "+y),!i[C]&&!1!==a[k]){for(var o=!V(e,t),s=F(e),c=[];o&&s&&!D(s)&&!z(c,s);){var l=s[t];if(l){o=l===r;break}c.push(s),s=F(s)}try{o&&(e[t]=i),i[C]=1}catch(u){a[k]=!1}}}return i}(this,r,n,i)||(typeof(t=(t=n[e=r])===i?F(n)[e]:t)!==y&&U("["+e+"] is not a "+y),t)).apply(this,arguments)})[w]=1,i)))}))}W[P]={setInstFuncs:!0,useBaseInst:!0},(xn=S=S||{})[xn.CRITICAL=1]="CRITICAL",xn[xn.WARNING=2]="WARNING";var G={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},K=l;function q(e){return s.toString.call(e)}function J(e){return e===undefined||typeof e===i}function H(e){return null===e||J(e)}function X(e){return!H(e)}function $(e){return typeof e===x}function Z(e){return typeof e===r}function Q(e,t){if(e)for(var n in e)u.call(e,n)&&t.call(e,n,e[n])}function Y(e,t){return!(!e||!t||!~e.indexOf(t))}function ee(e){return"[object Array]"===q(e)}function te(e){return"[object Error]"===q(e)}function ne(e){return"string"==typeof e}function re(e,t,n){var r=e.length;try{for(var i=0;i<r&&!(i in e&&-1===t.call(n||e,e[i],i,e));i++);}catch(a){}}function ie(e,t,n){var r=e.length,i=n||e,a=Array(r);try{for(var o=0;o<r;o++)o in e&&(a[o]=t.call(i,e[o],e))}catch(s){}return a}function ae(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}function oe(){var e=Date;return e.now?e.now():(new e).getTime()}function se(e){return te(e)?e.name:""}function ce(e,t,n,r,i){var a=n;return e&&((a=e[t])===n||i&&!i(a)||r&&!r(n)||(e[t]=a=n)),a}function le(e){return!!e}var ue="window",ge="document",fe="location",pe="JSON",de="msie",me="trident/",he=null,ve=null,ye=!1;function Te(e){var t=g();return t&&t[e]?t[e]:e===ue&&we()?window:null}function we(){return typeof window===x&&window}function Ie(){return we()?window:Te(ue)}function Ce(){return typeof document===x&&document?document:Te(ge)}function xe(){return typeof navigator===x&&navigator?navigator:Te("navigator")}function Se(e){return e&&ye&&(e=Te("__mockLocation"))?e:typeof location===x&&location?location:Te(fe)}function ke(){return Te("performance")}function Pe(){return typeof JSON===x&&JSON||null!==Te(pe)}function be(){return Pe()?JSON||Te(pe):null}function Ne(){var e=xe();return!e||e.userAgent===ve&&null!==he||(e=((ve=e.userAgent)||"").toLowerCase(),he=Y(e,de)||Y(e,me)),he}function Ee(e){var t=Object[a].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Pe()&&(n=be().stringify(e)),t+n}function Le(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function Ae(e,t){var n,r=typeof console!==i?console:Te("console");r&&(n="log",Z(r[n=r[e]?e:n])&&r[n](t))}var Me=(Re.dataType="MessageData",Re);function Re(e,t,n,r){void 0===n&&(n=!1),this.messageId=e,this.message=(n?"AI: ":"AI (Internal): ")+e,e="",Pe()&&(e=be().stringify(r)),e=(t?" message:"+Le(t):"")+(r?" props:"+Le(e):""),this.message+=e}var Ve=function er(n){this.identifier="DiagnosticLogger",this.queue=[];var i=0,o={};W(er,this,function(a){function e(e,t){return H(e=n[e])?t:e}H(n)&&(n={}),a.consoleLoggingLevel=function(){return e("loggingLevelConsole",0)},a.telemetryLoggingLevel=function(){return e("loggingLevelTelemetry",1)},a.maxInternalMessageLimit=function(){return e("maxMessageLimit",25)},a.enableDebugExceptions=function(){return e("enableDebugExceptions",!1)},a.throwInternal=function(e,t,n,r,i){if(t=new Me(t,n,i=void 0!==i&&i,r),a.enableDebugExceptions())throw t;n=e===S.CRITICAL?"errorToConsole":"warnToConsole",J(t.message)||(r=a.consoleLoggingLevel(),i?(i=+t.messageId,!o[i]&&e<=r&&(a[n](t.message),o[i]=!0)):e<=r&&a[n](t.message),a.logInternalMessage(e,t))},a.warnToConsole=function(e){Ae("warn",e)},a.errorToConsole=function(e){Ae("error",e)},a.resetInternalMessageCount=function(){i=0,o={}},a.logInternalMessage=function(e,t){var n,r;i>=a.maxInternalMessageLimit()||(n=!0,r="AITR_"+t.messageId,o[r]?n=!1:o[r]=!0,n&&(e<=a.telemetryLoggingLevel()&&(a.queue.push(t),i++),i===a.maxInternalMessageLimit()&&(t=new Me(G.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),a.queue.push(t),a.warnToConsole(e))))}})},_e=(De.ParentContextKey="parent",De.ChildrenContextKey="childEvts",De);function De(e,i,t){var r,a=this,o=!1;a.start=oe(),a.name=e,a.isAsync=t,a.isChildEvt=function(){return!1},Z(i)&&(o=function(e){if(K)try{var t={enumerable:!0,configurable:!0,get:function(){return!r&&Z(i)&&(r=i(),i=null),r}};return K(e,"payload",t),!0}catch(n){}return!1}(a)),a.getCtx=function(e){return e?(e===De.ParentContextKey||e===De.ChildrenContextKey?a:a.ctx||{})[e]:null},a.setCtx=function(e,t){e&&(e===De.ParentContextKey?(a[e]||(a.isChildEvt=function(){return!0}),a[e]=t):e===De.ChildrenContextKey?a[e]=t:(a.ctx=a.ctx||{})[e]=t)},a.complete=function(){var e=0,t=a.getCtx(De.ChildrenContextKey);if(ee(t))for(var n=0;n<t.length;n++){var r=t[n];r&&(e+=r.time)}a.time=oe()-a.start,a.exTime=a.time-e,a.complete=function(){},!o&&Z(i)&&(a.payload=i())}}var Fe="CoreUtils.doPerf";function Oe(e,t,n,r,i){if(e){var a=e;if(a=Z(a.getPerfMgr)?a.getPerfMgr():a){var o,s=void 0,e=a.getCtx(Fe);try{if(s=a.create(t(),r,i))return e&&s.setCtx&&(s.setCtx(_e.ParentContextKey,e),e.getCtx&&e.setCtx&&((o=e.getCtx(_e.ChildrenContextKey))||(o=[],e.setCtx(_e.ChildrenContextKey,o)),o.push(s))),a.setCtx(Fe,s),n(s)}catch(c){s&&s.setCtx&&s.setCtx("exception",c)}finally{s&&a.fire(s),a.setCtx(Fe,e)}}}return n()}var Be=function(i,t){var a=this,o=null,s=Z(i.processTelemetry),c=Z(i.setNextPlugin);a._hasRun=!1,a.getPlugin=function(){return i},a.getNext=function(){return o},a.setNext=function(e){o=e},a.processTelemetry=function(n,r){r=r||t;var e=i?i.identifier:"TelemetryPluginChain";Oe(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&s){a._hasRun=!0;try{r.setNext(o),c&&i.setNextPlugin(o),o&&(o._hasRun=!1),i.processTelemetry(n,r)}catch(t){var e=o&&o._hasRun;o&&e||r.diagLog().throwInternal(S.CRITICAL,G.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+Ee(t)),o&&!e&&o.processTelemetry(n,r)}}else o&&(a._hasRun=!0,o.processTelemetry(n,r))},function(){return{item:n}},!n.sync)}};function Ue(e,t){var n=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var a=e[i];a&&Z(a.processTelemetry)&&(a=new Be(a,t),n.push(a),r&&r.setNext(a),r=a)}return 0<n.length?n[0]:null}var ze=function tr(e,i,n,t){var r,a,o,s,c=this,l=null;null!==t&&(e&&Z(e.getPlugin)?l=function(e,t,n){var r=[],i=!n;if(e)for(;e;){var a=e.getPlugin();!i&&a!==n||(i=!0,r.push(a)),e=e.getNext()}return i||r.push(n),Ue(r,t)}(e,c,t||e.getPlugin()):t?(r=c,o=e,s=!1,(a=t)&&e&&(o=[],re(e,function(e){!s&&e!==a||(s=!0,o.push(e))})),a&&!s&&(o=o||[]).push(a),l=Ue(o,r)):J(t)&&(l=Ue(e,c))),c.core=function(){return n},c.diagLog=function(){return(n||{}).logger||new Ve(i)},c.getCfg=function(){return i},c.getExtCfg=function(e,t){var n,r;return void 0===t&&(t={}),!i||(r=i.extensionConfig)&&e&&(n=r[e]),n||t},c.getConfig=function(e,t,n){var r;return void 0===n&&(n=!1),(e=c.getExtCfg(e,null))&&!H(e[t])?r=e[t]:i&&!H(i[t])&&(r=i[t]),H(r)?n:r},c.hasNext=function(){return null!=l},c.getNext=function(){return l},c.setNext=function(e){l=e},c.processNext=function(e){var t=l;t&&(l=t.getNext(),t.processTelemetry(e,c))},c.createNew=function(e,t){return new tr((e=void 0===e?null:e)||l,i,n,t)}},je="getPlugin",t=(We.prototype.initialize=function(e,t,n,r){this._baseTelInit(e,t,n,r)},We);function We(){var a=this,o=!1,s=null,c=null;a.core=null,a.diagLog=function(e){return a._getTelCtx(e).diagLog()},a.isInitialized=function(){return o},a.setInitialized=function(e){o=e},a.setNextPlugin=function(e){c=e},a.processNext=function(e,t){t?t.processNext(e):c&&Z(c.processTelemetry)&&c.processTelemetry(e,null)},a._getTelCtx=function(e){var t=e=void 0===e?null:e;return t||(e=s||new ze(null,{},a.core),t=c&&c[je]?e.createNew(null,c[je]):e.createNew(null,c)),t},a._baseTelInit=function(e,t,n,r){e&&ce(e,"extensionConfig",[],null,H),!r&&t&&(r=t.getProcessTelContext().getNext());var i=c;c&&c[je]&&(i=c[je]()),a.core=t,s=new ze(r,e,t,i),o=!0}}var Ge="toGMTString",Ke="toUTCString",qe="cookie",Je="expires",He="enabled",Xe="isCookieUseDisabled",$e="disableCookiesUsage",Ze="_ckMgr",Qe="",Ye=null,et=null,tt=null,nt=Ce(),rt={},it={};function at(e){return!e||e.isEnabled()}function ot(e,i){var t,n,l=(ce(n=(t=e||it).cookieCfg=t.cookieCfg||{},"domain",t.cookieDomain,X,H),ce(n,"path",t.cookiePath||"/",null,H),H(n[He])&&(e=void 0,J(t[Xe])||(e=!t[Xe]),J(t[$e])||(e=!t[$e]),n[He]=e),n),u=l.path||"/",g=l.domain,r=!1!==l[He],f={isEnabled:function(){var e=r&&st(i),t=it[Ze];return e&&t&&f!==t?at(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,i){var a,o,s,c=!1;return at(f)&&(a={},-1!=(s=(o=ae(t||Qe)).indexOf(";"))&&(o=ae(t.substring(0,s)),a=ct(t.substring(1+s))),ce(a,"domain",r||g,le,J),H(n)||(s=Ne(),!J(a[Je])||0<(t=oe()+1e3*n)&&((r=new Date).setTime(t),ce(a,Je,lt(r,s?Ge:Ke)||lt(r,s?Ge:Ke)||Qe,le)),s||ce(a,"max-age",Qe+n,null,J)),(n=Se())&&"https:"===n.protocol&&(ce(a,"secure",null,null,J),(et=null===et?!(ne(n=(xe()||{}).userAgent)&&(Y(n,"CPU iPhone OS 12")||Y(n,"iPad; CPU OS 12")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&Y(n,"Version/")&&Y(n,"Safari")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&function(e,t){if(e){var n=e.length;if(e===t)return 1;if(40<=n){for(var r=n-1,i=39;0<=i;i--){if(e[r]!=t[i])return;r--}return 1}}}(n,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Y(n,"Chrome/5")||Y(n,"Chrome/6")||Y(n,"UnrealEngine")&&!Y(n,"Chrome")||Y(n,"UCBrowser/12")||Y(n,"UCBrowser/11"))):et)&&ce(a,"SameSite","None",null,J)),ce(a,"path",i||u,null,J),(l.setCookie||gt)(e,ut(o,a)),c=!0),c},get:function(e){var t=Qe;return at(f)?(l.getCookie||function(e){var t,n=Qe;return nt&&(t=nt[qe]||Qe,tt!==t&&(rt=ct(t),tt=t),n=ae(rt[e]||Qe)),n})(e):t},del:function(e,t){return!!at(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return st(i)&&((n={}).path=t||"/",n[Je]="Thu, 01 Jan 1970 00:00:01 GMT",Ne()||(n["max-age"]="0"),(l.delCookie||gt)(e,ut(Qe,n)),r=!0),r}};return f[Ze]=f}function st(e){if(null===Ye){Ye=!1;try{Ye=(nt||{})[qe]!==undefined}catch(t){e&&e.throwInternal(S.WARNING,G.CannotAccessCookie,"Cannot access document.cookie - "+se(t),{exception:Ee(t)})}}return Ye}function ct(e){var n={};return e&&e.length&&re(ae(e).split(";"),function(e){var t;(e=ae(e||Qe))&&(-1==(t=e.indexOf("="))?n[e]=null:n[ae(e.substring(0,t))]=ae(e.substring(1+t)))}),n}function lt(e,t){return Z(e[t])?e[t]():null}function ut(e,t){var n=e||Qe;return Q(t,function(e,t){n+="; "+e+(H(t)?Qe:"="+t)}),n}function gt(e,t){nt&&(nt[qe]=e+"="+t)}var ft=4294967296,pt=4294967295,dt=!1,mt=123456789,ht=987654321;function vt(e){var t,n=(n=Te("crypto")||Te("msCrypto"))&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&pt:Ne()?(dt||function(){try{var e=2147483647&oe();(t=(Math.random()*ft^e)+e)<0&&(t>>>=0),mt=123456789+t&pt,ht=987654321-t&pt,dt=!0}catch(n){}var t}(),t=((ht=36969*(65535&ht)+(ht>>16)&pt)<<16)+(65535&(mt=18e3*(65535&mt)+(mt>>16)&pt))>>>0&pt|0,(t>>>=0)&pt):Math.floor(ft*Math.random()|0);return e||(n>>>=0),n}function yt(e,t,n){var r,i,a=t.length,o=(t&&150<(t=ae(t.toString())).length&&(r=t.substring(0,150),e&&e.throwInternal(S.WARNING,G.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),r||t);if(o.length!==a){for(var s=0,c=o;n[c]!==undefined;)s++,c=o.substring(0,147)+(i="00"+s).substr(i.length-3);o=c}return o}function Tt(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=ae(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(S.WARNING,G.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function wt(e,t){return St(e,t,2048,G.UrlTooLong)}function It(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(S.WARNING,G.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Ct(r,e){var i;return e&&(i={},Q(e,function(e,t){if($(t)&&Pe())try{t=be().stringify(t)}catch(n){r&&r.throwInternal(S.WARNING,G.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=Tt(r,t,8192),e=yt(r,e,i),i[e]=t}),e=i),e}function xt(n,e){var r;return e&&(r={},Q(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function St(e,t,n,r){var i;return t&&(t=ae(t)).length>n&&(i=t.substring(0,n),e&&e.throwInternal(S.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),i||t}function kt(e){var t,n=null;return Z(Event)?n=new Event(e):(t=Ce())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Pt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function bt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,i=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<i?i+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}var Nt,Et="not_specified",Lt="iKey";(xn=Nt=Nt||{})[xn.LocalStorage=0]="LocalStorage",xn[xn.SessionStorage=1]="SessionStorage",(l=Kt=Kt||{})[l.AI=0]="AI",l[l.AI_AND_W3C=1]="AI_AND_W3C",l[l.W3C=2]="W3C";var At=undefined;function Mt(e){try{if(H(g()))return null;var t=new Date,n=Te(e===Nt.LocalStorage?"localStorage":"sessionStorage");n.setItem(t.toString(),t.toString());var r=n.getItem(t.toString())!==t.toString();if(n.removeItem(t.toString()),!r)return n}catch(i){}return null}function Rt(){return Vt()?Mt(Nt.SessionStorage):null}function Vt(){return At=At===undefined?!!Mt(Nt.SessionStorage):At}function _t(e,t){var n=Rt();if(null!==n)try{return n.getItem(t)}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+se(r),{exception:Ee(r)})}return null}function Dt(e,t,n){var r=Rt();if(null!==r)try{return r.setItem(t,n),1}catch(i){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+se(i),{exception:Ee(i)})}}function Ft(e,t){var n=Rt();if(null!==n)try{return n.removeItem(t),1}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+se(r),{exception:Ee(r)})}}var Ot=Ce()||{},Bt=0,Ut=[null,null,null,null,null];function zt(e,t){return 0===e||0===t||H(e)||H(t)?null:t-e}var jt,Wt=(m(Gt,jt=xn=function(){this.ver=2,this.properties={},this.measurements={}}),Gt.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Gt.dataType="EventData",Gt);function Gt(e,t,n,r){var i=jt.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=Tt(e,t)||Et,i.properties=Ct(e,n),i.measurements=xt(e,r),i}var Kt=function(){},l=function(){this.hasFullStack=!0,this.parsedStack=[]},qt="error",Jt="stack",Ht="stackDetails",Xt="errorSrc",$t="message",Zt="description";function Qt(e,t){var n=e;return n&&!ne(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=Z(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function Yt(e,t){var n=e;return e&&((n=n&&!ne(n)&&(e[$t]||e[Zt])||n)&&!ne(n)&&(n=Qt(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function en(e){return e&&e.src&&ne(e.src)&&e.obj&&ee(e.obj)}function tn(e){var t=e||"",e=(t=ne(t)?t:ne(t[Jt])?t[Jt]:""+t).split("\n");return{src:t,obj:e}}function nn(e){var t,n=null;if(e)try{e[Jt]?n=tn(e[Jt]):e[qt]&&e[qt][Jt]?n=tn(e[qt][Jt]):e.exception&&e.exception[Jt]?n=tn(e.exception[Jt]):en(e)?n=e:en(e[Ht])?n=e[Ht]:window.opera&&e[$t]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var i=n[r];n[r+1]&&(i+="@"+n[r+1],r++),t.push(i)}return{src:e,obj:t}}(e.message):ne(e)?n=tn(e):(t=e[$t]||e[Zt]||"",ne(e[Xt])&&(t&&(t+="\n"),t+=" from "+e[Xt]),t&&(n=tn(t)))}catch(r){n=tn(r)}return n||{src:"",obj:null}}function rn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function an(e){if(e)try{if(!ne(e)){var t=rn(e),n=Qt(e,!1);return n&&"{}"!==n||(e[qt]&&(t=rn(e=e[qt])),n=Qt(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}}catch(r){}return""+(e||"")}var on,sn=(m(cn,on=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),cn.CreateAutoException=function(e,t,n,r,i,a,o,s){var c=rn(i||a||e);return{message:Yt(e,c),url:t,lineNumber:n,columnNumber:r,error:an(i||a||e),evt:an(a||e),typeName:c,stackDetails:nn(o||i||a),errorSrc:s}},cn.CreateFromInterface=function(t,e,n,r){var i=e.exceptions&&ie(e.exceptions,function(e){return un.CreateFromInterface(t,e)});return new cn(t,p(p({},e),{exceptions:i}),n,r)},cn.prototype.toInterface=function(){var e=this.exceptions,t=this.properties,n=this.measurements,r=this.severityLevel;this.ver;var i=this.problemGroup,a=this.id,o=this.isManual;return{ver:"4.0",exceptions:e instanceof Array&&ie(e,function(e){return e.toInterface()})||undefined,severityLevel:r,properties:t,measurements:n,problemGroup:i,id:a,isManual:o}},cn.CreateSimpleException=function(e,t,n,r,i,a){return{exceptions:[{hasFullStack:!0,message:e,stack:i,typeName:t}]}},cn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",cn.dataType="ExceptionData",cn.formatError=an,cn);function cn(e,t,n,r,i,a){var o=on.call(this)||this;return o.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if($(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(o.exceptions=t.exceptions,o.properties=t.properties,o.measurements=t.measurements,t.severityLevel&&(o.severityLevel=t.severityLevel),t.id&&(o.id=t.id),t.problemGroup&&(o.problemGroup=t.problemGroup),o.ver=2,H(t.isManual)||(o.isManual=t.isManual)):(o.exceptions=[new un(e,t,n=n||{})],o.properties=Ct(e,n),o.measurements=xt(e,r),i&&(o.severityLevel=i),a&&(o.id=a)),o}var ln,un=(m(gn,ln=l),gn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&ie(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Jt],parsedStack:e||undefined}},gn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&ie(t.parsedStack,function(e){return pn.CreateFromInterface(e)})||t.parsedStack;return new gn(e,p(p({},t),{parsedStack:n}))},gn);function gn(e,t,n){var r,l,i,a,o=ln.call(this)||this;return o.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if($(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(o.typeName=t.typeName,o.message=t.message,o[Jt]=t[Jt],o.parsedStack=t.parsedStack,o.hasFullStack=t.hasFullStack):(l=(r=t)&&r.evt,te(r)||(r=r[qt]||l||r),o.typeName=Tt(e,rn(r))||Et,o.message=It(e,Yt(t||r,o.typeName))||Et,l=t[Ht]||nn(t),o.parsedStack=function(e){if((e=l.obj)&&0<e.length){var t=[],n=0,r=0;if(re(e,function(e){e=e.toString(),pn.regex.test(e)&&(e=new pn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var i=0,a=t.length-1,o=0,s=i,c=a;i<a;){if(32768<(o+=t[i].sizeInBytes+t[a].sizeInBytes)){t.splice(s,c-s+1);break}s=i,c=a,i++,a--}}return t}(),o[Jt]=(r=e,a="",(e=l)&&(e.obj?re(e.obj,function(e){a+=e+"\n"}):a=e.src||""),!(l=a)||32768<(e=""+l).length&&(i=e.substring(0,32768),r&&r.throwInternal(S.WARNING,G.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:l},!0)),i||l),o.hasFullStack=ee(o.parsedStack)&&0<o.parsedStack.length,n&&(n.typeName=n.typeName||o.typeName)),o}var fn,pn=(m(dn,fn=Kt),dn.CreateFromInterface=function(e){return new dn(e,null)},dn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},dn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,dn.baseSize=58,dn);function dn(e,t){var n,r=fn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=ae(n),r.fileName="",r.line=0,(n=n.match(dn.regex))&&5<=n.length&&(r.method=ae(n[2])||r.method,r.fileName=ae(n[4]),r.line=parseInt(n[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=dn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}var mn,l=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}};(Kt=mn={})[Kt.Measurement=0]="Measurement",Kt[Kt.Aggregation=1]="Aggregation";var hn,vn=(m(yn,hn=function(){this.kind=mn.Measurement}),yn);function yn(){var e=null!==hn&&hn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}var Tn,wn=(m(In,Tn=l),In.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",In.dataType="MetricData",In);function In(e,t,n,r,i,a,o,s,c){var l=Tn.call(this)||this;l.aiDataContract={ver:1,metrics:1,properties:0};var u=new vn;return u.count=0<r?r:undefined,u.max=isNaN(a)||null===a?undefined:a,u.min=isNaN(i)||null===i?undefined:i,u.name=Tt(e,t)||Et,u.value=n,u.stdDev=isNaN(o)||null===o?undefined:o,l.metrics=[u],l.properties=Ct(e,s),l.measurements=xt(e,c),l}var Cn,xn=(m(Sn,Cn=xn),Sn);function Sn(){var e=Cn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var kn,Pn=(m(bn,kn=xn),bn.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",bn.dataType="PageviewData",bn);function bn(e,t,n,r,i,a,o){var s=kn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=o&&St(e,o,128,G.IdTooLong).toString(),s.url=wt(e,n),s.name=Tt(e,t)||Et,isNaN(r)||(s.duration=bt(r)),s.properties=Ct(e,i),s.measurements=xt(e,a),s}var Nn,En=(m(Ln,Nn=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),Ln.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Ln.dataType="RemoteDependencyData",Ln);function Ln(e,t,n,r,i,a,o,s,c,l,u,g){void 0===c&&(c="Ajax");var f=Nn.call(this)||this;f.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},f.id=t,f.duration=bt(i),f.success=a,f.resultCode=o+"",f.type=Tt(e,c);var p,d,m,h,v,y,T,w,I,C,o=(p=e,t=s,o=a=i=r,a=(c=n)&&0<c.length?(d=c,C=(I=Ut)[w=Bt],Ot.createElement?I[w]||(C=I[w]=Ot.createElement("a")):C={host:(y=!0,T=null,!(v=m=d)||null!=(v=v.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<v.length&&ne(v[2])&&0<v[2].length&&(T=v[2]||"",y&&2<v.length&&(y=(v[1]||"").toLowerCase(),v=v[3]||"",T+=v="http"==y&&":80"===v||"https"==y&&":443"===v?"":v)),(m=T||"")&&null!=(h=m.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i))&&3<h.length&&ne(h[2])&&0<h[2].length?h[2]+(h[3]||""):m)},C.href=d,++w>=I.length&&(w=0),Bt=w,C=(s=C).host,a||(null!=s.pathname?("/"!=((n=0===s.pathname.length?"/":s.pathname)[0]||"")&&(n="/"+n),o=s.pathname,Tt(p,t?t+" "+n:n)):Tt(p,c))):C=i,{target:C,name:a,data:o});return f.data=wt(e,r)||o.data,f.target=Tt(e,o.target),l&&(f.target=f.target+" | "+l),f.name=Tt(e,o.name),f.properties=Ct(e,u),f.measurements=xt(e,g),f}var An,Mn=(m(Rn,An=function(){this.ver=2,this.properties={},this.measurements={}}),Rn.envelopeType="Microsoft.ApplicationInsights.{0}.Message",Rn.dataType="MessageData",Rn);function Rn(e,t,n,r,i){var a=An.call(this)||this;return a.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},a.message=It(e,t=t||Et),a.properties=Ct(e,r),a.measurements=xt(e,i),n&&(a.severityLevel=n),a}var Vn,xn=(m(_n,Vn=xn),_n);function _n(){var e=Vn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var Dn,Fn,On=(m(Bn,Dn=xn),Bn.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",Bn.dataType="PageviewPerformanceData",Bn);function Bn(e,t,n,r,i,a,o){var s=Dn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=wt(e,n),s.name=Tt(e,t)||Et,s.properties=Ct(e,i),s.measurements=xt(e,a),o&&(s.domProcessing=o.domProcessing,s.duration=o.duration,s.networkConnect=o.networkConnect,s.perfTotal=o.perfTotal,s.receivedResponse=o.receivedResponse,s.sentRequest=o.sentRequest),s}(xn=Fn=Fn||{})[xn.Verbose=0]="Verbose",xn[xn.Information=1]="Information",xn[xn.Warning=2]="Warning",xn[xn.Error=3]="Error",xn[xn.Critical=4]="Critical";var Un=(zn.create=function(e,t,n,r,i,a){if(n=Tt(r,n)||Et,H(e)||H(t)||H(n))throw Error("Input doesn't contain all required fields");r="",e[Lt]&&(r=e[Lt],delete e[Lt]);var o={name:n,time:function(e){if("[object Date]"===q(e)){var t=function(e){return 1===(e=""+e).length?"0"+e:e};return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(new Date),iKey:r,ext:a||{},tags:[],data:{},baseType:t,baseData:e};return H(i)||Q(i,function(e,t){o.data[e]=t}),o},zn);function zn(){}var jn=function nr(d,m,t,h){W(nr,this,function(e){var u,n=null,g=[],f=!1;function p(){t&&re(t.getTransmissionControls(),function(e){re(e,function(e){return e.flush(!0)})})}t&&(u=t.logger),e.trackPageView=function(r,i){var a=r.name;!H(a)&&"string"==typeof a||(e=Ce(),a=r.name=e&&e.title||"");var e,o=r.uri;if(!H(o)&&"string"==typeof o||(e=Se(),o=r.uri=e&&e.href||""),!h.isPerformanceTimingSupported())return d.sendPageViewInternal(r,i),p(),void u.throwInternal(S.WARNING,G.NavigationTimingNotSupported,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var s,t,c=!1,l=h.getPerformanceTiming().navigationStart;0<l&&(s=zt(l,+new Date),h.shouldCollectDuration(s)||(s=undefined)),H(i)||H(i.duration)||(t=i.duration),!m&&isNaN(t)||(isNaN(t)&&((i=i||{}).duration=s),d.sendPageViewInternal(r,i),p(),c=!0),i=i||{},t=function(){var e,t=!1;try{h.isPerformanceTimingDataReady()?(t=!0,e={name:a,uri:o},h.populatePageViewPerformanceEvent(e),e.isValid||c?(c||(i.duration=e.durationMs,d.sendPageViewInternal(r,i)),f||(d.sendPageViewPerformanceInternal(e,i),f=!0)):(i.duration=s,d.sendPageViewInternal(r,i))):0<l&&6e4<zt(l,+new Date)&&(t=!0,c||(i.duration=6e4,d.sendPageViewInternal(r,i)))}catch(n){u.throwInternal(S.CRITICAL,G.TrackPVFailedCalc,"trackPageView failed on page load calculation: "+se(n),{exception:Ee(n)})}return t},g.push(t),n=n||setInterval(function(){var e=g.slice(0),t=!1;g=[],re(e,function(e){e()?t=!0:g.push(e)}),0===g.length&&(clearInterval(n),n=null),t&&p()},100)}})},Wn=(Gn.prototype.trackPreviousPageVisit=function(e,t){try{var n=this.restartPageVisitTimer(e,t);n&&this.pageVisitTimeTrackingHandler(n.pageName,n.pageUrl,n.pageVisitTime)}catch(r){this._logger.warnToConsole("Auto track page visit time failed, metric will not be collected: "+Ee(r))}},Gn.prototype.restartPageVisitTimer=function(e,t){try{var n=this.stopPageVisitTimer();return this.startPageVisitTimer(e,t),n}catch(r){return this._logger.warnToConsole("Call to restart failed: "+Ee(r)),null}},Gn.prototype.startPageVisitTimer=function(e,t){try{var n,r;Vt()&&(null!=_t(this._logger,this.prevPageVisitDataKeyName)&&function(){throw Error("Cannot call startPageVisit consecutively without first calling stopPageVisit")}(),n=new Kn(e,t),r=be().stringify(n),Dt(this._logger,this.prevPageVisitDataKeyName,r))}catch(i){this._logger.warnToConsole("Call to start failed: "+Ee(i))}},Gn.prototype.stopPageVisitTimer=function(){try{if(Vt()){var e=oe(),t=_t(this._logger,this.prevPageVisitDataKeyName);if(t&&Pe()){var n=be().parse(t);return n.pageVisitTime=e-n.pageVisitStartTime,Ft(this._logger,this.prevPageVisitDataKeyName),n}return null}return null}catch(r){return this._logger.warnToConsole("Stop page visit timer failed: "+Ee(r)),null}},Gn);function Gn(e,t){this.prevPageVisitDataKeyName="prevPageVisitData",this.pageVisitTimeTrackingHandler=t,this._logger=e}var Kn=function(e,t){this.pageVisitStartTime=oe(),this.pageName=e,this.pageUrl=t},qn=(Jn.prototype.populatePageViewPerformanceEvent=function(e){e.isValid=!1;var t=this.getPerformanceNavigationTiming(),n=this.getPerformanceTiming(),r=0,i=0,a=0,o=0;(t||n)&&(n=t?(r=t.duration,i=0===t.startTime?t.connectEnd:zt(t.startTime,t.connectEnd),a=zt(t.requestStart,t.responseStart),o=zt(t.responseStart,t.responseEnd),zt(t.responseEnd,t.loadEventEnd)):(r=zt(n.navigationStart,n.loadEventEnd),i=zt(n.navigationStart,n.connectEnd),a=zt(n.requestStart,n.responseStart),o=zt(n.responseStart,n.responseEnd),zt(n.responseEnd,n.loadEventEnd)),0===r?this._logger.throwInternal(S.WARNING,G.ErrorPVCalc,"error calculating page view performance.",{total:r,network:i,request:a,response:o,dom:n}):this.shouldCollectDuration(r,i,a,o,n)?r<Math.floor(i)+Math.floor(a)+Math.floor(o)+Math.floor(n)?this._logger.throwInternal(S.WARNING,G.ClientPerformanceMathError,"client performance math error.",{total:r,network:i,request:a,response:o,dom:n}):(e.durationMs=r,e.perfTotal=e.duration=bt(r),e.networkConnect=bt(i),e.sentRequest=bt(a),e.receivedResponse=bt(o),e.domProcessing=bt(n),e.isValid=!0):this._logger.throwInternal(S.WARNING,G.InvalidDurationValue,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:i,request:a,response:o,dom:n}))},Jn.prototype.getPerformanceTiming=function(){return this.isPerformanceTimingSupported()?ke().timing:null},Jn.prototype.getPerformanceNavigationTiming=function(){return this.isPerformanceNavigationTimingSupported()?ke().getEntriesByType("navigation")[0]:null},Jn.prototype.isPerformanceNavigationTimingSupported=function(){var e=ke();return e&&e.getEntriesByType&&0<e.getEntriesByType("navigation").length},Jn.prototype.isPerformanceTimingSupported=function(){var e=ke();return e&&e.timing},Jn.prototype.isPerformanceTimingDataReady=function(){var e=ke();return(e=e?e.timing:0)&&0<e.domainLookupStart&&0<e.navigationStart&&0<e.responseStart&&0<e.requestStart&&0<e.loadEventEnd&&0<e.responseEnd&&0<e.connectEnd&&0<e.domLoading},Jn.prototype.shouldCollectDuration=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=["googlebot","adsbot-google","apis-google","mediapartners-google"],r=(xe()||{}).userAgent,i=!1;if(r)for(var a=0;a<n.length;a++)i=i||!!~r.toLowerCase().indexOf(n[a]);if(i)return!1;for(a=0;a<e.length;a++)if(e[a]<0||e[a]>=this.MAX_DURATION_ALLOWED)return!1;return!0},Jn);function Jn(e){this.MAX_DURATION_ALLOWED=36e5,e&&(this._logger=e.logger)}var Hn="duration",Xn="event";function $n(e,t){e&&e.dispatchEvent&&t&&e.dispatchEvent(t)}var Zn,t=(m(Qn,Zn=t),Qn.getDefaultConfig=function(e){return(e=e||{}).sessionRenewalMs=18e5,e.sessionExpirationMs=864e5,e.disableExceptionTracking=Pt(e.disableExceptionTracking),e.autoTrackPageVisitTime=Pt(e.autoTrackPageVisitTime),e.overridePageViewDuration=Pt(e.overridePageViewDuration),e.enableUnhandledPromiseRejectionTracking=Pt(e.enableUnhandledPromiseRejectionTracking),(isNaN(e.samplingPercentage)||e.samplingPercentage<=0||100<=e.samplingPercentage)&&(e.samplingPercentage=100),e.isStorageUseDisabled=Pt(e.isStorageUseDisabled),e.isBrowserLinkTrackingEnabled=Pt(e.isBrowserLinkTrackingEnabled),e.enableAutoRouteTracking=Pt(e.enableAutoRouteTracking),e.namePrefix=e.namePrefix||"",e.enableDebug=Pt(e.enableDebug),e.disableFlushOnBeforeUnload=Pt(e.disableFlushOnBeforeUnload),e.disableFlushOnUnload=Pt(e.disableFlushOnUnload,e.disableFlushOnBeforeUnload),e},Qn.Version="2.7.2-nightly.2111-05",Qn);function Qn(){var v,y,T,w,I,C=Zn.call(this)||this;return C.identifier="ApplicationInsightsAnalytics",C.priority=180,C.autoRoutePVDelay=500,W(Qn,C,function(m,h){var e=Se(!0);w=e&&e.href||"",m.getCookieMgr=function(){return(e=m.core)?n=e.getCookieMgr():t&&(n=t.cookieCfg[Ze]||ot(t)),n||(r=t,t=(e||{}).logger,(e=ot[Ze]||it[Ze])||(e=ot[Ze]=ot(r,t),it[Ze]=e),n=e),n;var e,t,n,r},m.processTelemetry=function(a,o){Oe(m.core,function(){return m.identifier+":processTelemetry"},function(){var e=!1,t=m._telemetryInitializers.length;o=m._getTelCtx(o);for(var n=0;n<t;++n){var r=m._telemetryInitializers[n];if(r)try{if(!1===r.call(null,a)){e=!0;break}}catch(i){o.diagLog().throwInternal(S.CRITICAL,G.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+se(i),{exception:Ee(i)},!0)}}e||m.processNext(a,o)},function(){return{item:a}},!a.sync)},m.trackEvent=function(e,t){try{var n=Un.create(e,Wt.dataType,Wt.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.startTrackEvent=function(e){try{v.start(e)}catch(t){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackEventFailed,"startTrackEvent failed, event will not be collected: "+se(t),{exception:Ee(t)})}},m.stopTrackEvent=function(e,t,n){try{v.stop(e,undefined,t)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackEventFailed,"stopTrackEvent failed, event will not be collected: "+se(r),{exception:Ee(r)})}},m.trackTrace=function(e,t){try{var n=Un.create(e,Mn.dataType,Mn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.trackMetric=function(e,t){try{var n=Un.create(e,wn.dataType,wn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackMetricFailed,"trackMetric failed, metric will not be collected: "+se(r),{exception:Ee(r)})}},m.trackPageView=function(e,t){try{var n=e||{};m._pageViewManager.trackPageView(n,p(p(p({},n.properties),n.measurements),t)),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(n.name,n.uri)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageView failed, page view will not be collected: "+se(r),{exception:Ee(r)})}},m.sendPageViewInternal=function(e,t,n){var r=Ce();r&&(e.refUri=e.refUri===undefined?r.referrer:e.refUri),n=Un.create(e,Pn.dataType,Pn.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.sendPageViewPerformanceInternal=function(e,t,n){n=Un.create(e,On.dataType,On.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.trackPageViewPerformance=function(e,t){try{m._pageViewPerformanceManager.populatePageViewPerformanceEvent(e),m.sendPageViewPerformanceInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageViewPerformance failed, page view will not be collected: "+se(n),{exception:Ee(n)})}},m.startTrackPage=function(e){try{var t;"string"!=typeof e&&(e=(t=Ce())&&t.title||""),y.start(e)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackFailed,"startTrackPage failed, page view may not be collected: "+se(n),{exception:Ee(n)})}},m.stopTrackPage=function(e,t,n,r){try{var i,a;"string"!=typeof e&&(e=(i=Ce())&&i.title||""),"string"!=typeof t&&(t=(a=Se())&&a.href||""),y.stop(e,t,n,r),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(e,t)}catch(o){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackFailed,"stopTrackPage failed, page view will not be collected: "+se(o),{exception:Ee(o)})}},m.sendExceptionInternal=function(e,t,n){var r=e.exception||e.error||Error(Et),e=new sn(m.diagLog(),r,e.properties||t,e.measurements,e.severityLevel,e.id).toInterface(),n=Un.create(e,sn.dataType,sn.envelopeType,m.diagLog(),t,n);m.core.track(n)},m.trackException=function(e,t){try{m.sendExceptionInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackExceptionFailed,"trackException failed, exception will not be collected: "+se(n),{exception:Ee(n)})}},m._onerror=function(e){var t,n,r,i=e&&e.error,a=e&&e.evt;try{a||(t=Ie())&&(a=t[Xn]);var o=e&&e.url||(Ce()||{}).URL,s=e.errorSrc||"window.onerror@"+o+":"+(e.lineNumber||0)+":"+(e.columnNumber||0),c={errorSrc:s,url:o,lineNumber:e.lineNumber||0,columnNumber:e.columnNumber||0,message:e.message},l=e.message;e.url,e.lineNumber,e.columnNumber,e.error||!ne(l)||"Script error."!==l&&"Script error"!==l?(e.errorSrc||(e.errorSrc=s),m.trackException({exception:e,severityLevel:Fn.Error},c)):(n=sn.CreateAutoException("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",o,e.lineNumber||0,e.columnNumber||0,i,a,null,s),r=c,r=Un.create(n,sn.dataType,sn.envelopeType,m.diagLog(),r),m.core.track(r))}catch(u){i=i?i.name+", "+i.message:"null",m.diagLog().throwInternal(S.CRITICAL,G.ExceptionWhileLoggingError,"_onError threw exception while logging error, error will not be collected: "+se(u),{exception:Ee(u),errorString:i})}},m.addTelemetryInitializer=function(e){m._telemetryInitializers.push(e)},m.initialize=function(e,t,n,r){if(!m.isInitialized()){if(H(t))throw Error("Error initializing");h.initialize(e,t,n,r),m.setInitialized(!1);var i=m._getTelCtx(),a=m.identifier;m.config=i.getExtCfg(a),(t=Qn.getDefaultConfig(e))!==undefined&&Q(t,function(e,t){m.config[e]=i.getConfig(a,e,t),m.config[e]===undefined&&(m.config[e]=t)}),m.config.isStorageUseDisabled&&(At=!1),r={instrumentationKey:function(){return e.instrumentationKey},accountId:function(){return m.config.accountId||e.accountId},sessionRenewalMs:function(){return m.config.sessionRenewalMs||e.sessionRenewalMs},sessionExpirationMs:function(){return m.config.sessionExpirationMs||e.sessionExpirationMs},sampleRate:function(){return m.config.samplingPercentage||e.samplingPercentage},sdkExtension:function(){return m.config.sdkExtension||e.sdkExtension},isBrowserLinkTrackingEnabled:function(){return m.config.isBrowserLinkTrackingEnabled||e.isBrowserLinkTrackingEnabled},appId:function(){return m.config.appId||e.appId}},m._pageViewPerformanceManager=new qn(m.core),m._pageViewManager=new jn(C,m.config.overridePageViewDuration,m.core,m._pageViewPerformanceManager),m._pageVisitTimeManager=new Wn(m.diagLog(),function(e,t,n){m.trackMetric({name:"PageVisitTime",average:n,max:n,min:n,sampleCount:1},t={PageName:e,PageUrl:t})}),m._telemetryInitializers=m._telemetryInitializers||[],r.isBrowserLinkTrackingEnabled()||(d=["/browserLinkSignalR/","/__browserLink/"],m._telemetryInitializers.push(function(e){if(e.baseType===En.dataType){var t=e.baseData;if(t)for(var n=0;n<d.length;n++)if(t.target&&~t.target.indexOf(d[n]))return!1}return!0})),(v=new Yn(m.diagLog(),"trackEvent")).action=function(e,t,n,r){(r=r||{})[Hn]=n.toString(),m.trackEvent({name:e,properties:r})},(y=new Yn(m.diagLog(),"trackPageView")).action=function(e,t,n,r,i){(r=H(r)?{}:r)[Hn]=n.toString(),m.sendPageViewInternal({name:e,uri:t,properties:r,measurements:i},r)};var s,o,c,l,u,g=Ie(),t=typeof history===x&&history?history:Te("history"),f=Se(!0),p=C;!1===m.config.disableExceptionTracking&&!m.config.autoExceptionInstrumented&&g&&(s=g.onerror,g.onerror=function(e,t,n,r,i){var a=g[Xn],o=s&&s(e,t,n,r,i);return!0!==o&&p._onerror(sn.CreateAutoException(e,t,n,r,i,a)),o},m.config.autoExceptionInstrumented=!0),!1===m.config.disableExceptionTracking&&!0===m.config.enableUnhandledPromiseRejectionTracking&&!m.config.autoUnhandledPromiseInstrumented&&g&&(o=g[r="onunhandledrejection"],g[r]=function(e){var t=g[Xn],n=o&&o.call(g,e);return!0!==n&&p._onerror(sn.CreateAutoException(function(e){if(e&&e.reason){var t=e.reason;return!ne(t)&&Z(t.toString)?t.toString():Ee(t)}return e||""}(e),f?f.href:"",0,0,e,t)),n},m.config.autoUnhandledPromiseInstrumented=!0),!0===m.config.enableAutoRouteTracking&&t&&Z(t.pushState)&&Z(t.replaceState)&&g&&"undefined"!=typeof Event&&(c=C,re(n,function(e){"AppInsightsPropertiesPlugin"===e.identifier&&(T=e)}),t.pushState=(u=t.pushState,function(){var e=u.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"pushState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),t.replaceState=(l=t.replaceState,function(){var e=l.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"replaceState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),g.addEventListener&&(g.addEventListener(c.config.namePrefix+"popstate",function(){$n(g,kt(c.config.namePrefix+"locationchange"))}),g.addEventListener(c.config.namePrefix+"locationchange",function(){var e;T&&T.context&&T.context.telemetryTrace&&(T.context.telemetryTrace.traceID=function(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=vt())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&vt())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+i+n.substr(16,3)+n.substr(19,12)}(),e="_unknown_",f&&f.pathname&&(e=f.pathname+(f.hash||"")),T.context.telemetryTrace.name=Tt(c.diagLog(),e)),I&&(w=I),I=f&&f.href||"",setTimeout((function(e){c.trackPageView({refUri:e,properties:{duration:0}})}).bind(C,w),c.autoRoutePVDelay)}))),m.setInitialized(!0)}var d}}),C}var Yn=function(a,e){var o=this,s={};o.start=function(e){"undefined"!=typeof s[e]&&a.throwInternal(S.WARNING,G.StartCalledMoreThanOnce,"start was called more than once for this event without calling stop.",{name:e,key:e},!0),s[e]=+new Date},o.stop=function(e,t,n,r){var i=s[e];isNaN(i)?a.throwInternal(S.WARNING,G.StopCalledWithoutStart,"stop was called without a corresponding start.",{name:e,key:e},!0):(i=zt(i,+new Date),o.action(e,t,i,n,r)),delete s[e],s[e]=undefined}};e.ApplicationInsights=t,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch(i){}typeof n.value!==undefined&&(e[t]=n.value)}(e,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}));
var e=this,t=function(e){"use strict";var r="function",x="object",i="undefined",a="prototype",o="hasOwnProperty",n=Object,s=n[a],t=n.assign,c=n.create,l=n.defineProperty,u=s[o];function g(){return typeof globalThis!==i&&globalThis?globalThis:typeof self!==i&&self?self:typeof window!==i&&window?window:typeof global!==i&&global?global:null}function f(e){throw new TypeError(e)}(g()||{}).Symbol,(g()||{}).Reflect;var p=t||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])s[o].call(t,i)&&(e[i]=t[i]);return e},d=function(e,t){return(d=n.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[o](n)&&(e[n]=t[n])})(e,t)};function m(e,t){function n(){this.constructor=e}typeof t!==r&&null!==t&&f("Class extends value "+t+" is not a constructor or null"),d(e,t),e[a]=null===t?function(e){if(c)return c(e);if(null==e)return{};var t=typeof e;function n(){}return t!==x&&t!==r&&f("Object prototype may only be an Object:"+e),n[a]=e,new n}(t):(n[a]=t[a],new n)}var S,h="constructor",v="prototype",y="function",T="_dynInstFuncs",w="_isDynProxy",I="_dynClass",C="_dynInstChk",k=C,P="_dfOpts",b="_unknown_",N="__proto__",E="useBaseInst",L="setInstFuncs",A=Object,M=A.getPrototypeOf,R=0;function V(e,t){return e&&A[v].hasOwnProperty.call(e,t)}function _(e){return e&&(e===A[v]||e===Array[v])}function D(e){return _(e)||e===Function[v]}function F(e){if(e){if(M)return M(e);if(e=e[N]||e[v]||(e[h]?e[h][v]:null))return e}return null}function O(e,t){var n=[],r=A.getOwnPropertyNames;if(r)n=r(e);else for(var i in e)"string"==typeof i&&V(e,i)&&n.push(i);if(n&&0<n.length)for(var a=0;a<n.length;a++)t(n[a])}function B(e,t,n){return t!==h&&typeof e[t]===y&&(n||V(e,t))}function U(e){throw new TypeError("DynamicProto: "+e)}function z(e,t){for(var n=e.length-1;0<=n;n--)if(e[n]===t)return 1}function j(e,t){return V(e,v)?e.name||t||b:((e||{})[h]||{}).name||t||b}function W(e,r,t,n){V(e,v)||U("theClass is an invalid class definition.");var i=e[v];!function(e){if(M)for(var t=[],n=F(r);n&&!D(n)&&!z(t,n);){if(n===e)return 1;t.push(n),n=F(n)}}(i)&&U("["+j(e)+"] is not in class hierarchy of ["+j(r)+"]");var a=null;V(i,I)?a=i[I]:(a="_dynCls$"+j(e,"_")+"$"+R,R++,i[I]=a);var o=W[P],s=!!o[E];s&&n&&n[E]!==undefined&&(s=!!n[E]);var c,l,u,g,f,p,e=(l={},O(c=r,function(e){!l[e]&&B(c,e,!1)&&(l[e]=c[e])}),l);t(r,function(e,t,n,a){function r(e,t,n){var r,i=t[n];return i[w]&&a&&!1!==(r=e[T]||{})[k]&&(i=(r[t[I]]||{})[n]||i),function(){return i.apply(e,arguments)}}var i={};O(n,function(e){i[e]=r(t,n,e)});for(var o=F(e),s=[];o&&!D(o)&&!z(s,o);)O(o,function(e){!i[e]&&B(o,e,!M)&&(i[e]=r(t,o,e))}),s.push(o),o=F(o);return i}(i,r,e,s)),o=!!M&&!!o[L],u=i,a=a,g=r,f=e,n=!1!==(o=o&&n?!!n[L]:o),_(u)||(o=g[T]=g[T]||{},p=o[a]=o[a]||{},!1!==o[k]&&(o[k]=!!n),O(g,function(e){var n,r,i;B(g,e,!1)&&g[e]!==f[e]&&(p[e]=g[e],delete g[e],V(u,e)&&(!u[e]||u[e][w])||(u[e]=(n=u,r=e,(i=function(){var e,t;return(function(e,t,n,r){var i=null;if(e&&V(n,I)){var a=e[T]||{};if((i=(a[n[I]]||{})[t])||U("Missing ["+t+"] "+y),!i[C]&&!1!==a[k]){for(var o=!V(e,t),s=F(e),c=[];o&&s&&!D(s)&&!z(c,s);){var l=s[t];if(l){o=l===r;break}c.push(s),s=F(s)}try{o&&(e[t]=i),i[C]=1}catch(u){a[k]=!1}}}return i}(this,r,n,i)||(typeof(t=(t=n[e=r])===i?F(n)[e]:t)!==y&&U("["+e+"] is not a "+y),t)).apply(this,arguments)})[w]=1,i)))}))}W[P]={setInstFuncs:!0,useBaseInst:!0},(xn=S=S||{})[xn.CRITICAL=1]="CRITICAL",xn[xn.WARNING=2]="WARNING";var G={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},K=l;function q(e){return s.toString.call(e)}function J(e){return e===undefined||typeof e===i}function H(e){return null===e||J(e)}function X(e){return!H(e)}function $(e){return typeof e===x}function Z(e){return typeof e===r}function Q(e,t){if(e)for(var n in e)u.call(e,n)&&t.call(e,n,e[n])}function Y(e,t){return!(!e||!t||!~e.indexOf(t))}function ee(e){return"[object Array]"===q(e)}function te(e){return"[object Error]"===q(e)}function ne(e){return"string"==typeof e}function re(e,t,n){var r=e.length;try{for(var i=0;i<r&&!(i in e&&-1===t.call(n||e,e[i],i,e));i++);}catch(a){}}function ie(e,t,n){var r=e.length,i=n||e,a=Array(r);try{for(var o=0;o<r;o++)o in e&&(a[o]=t.call(i,e[o],e))}catch(s){}return a}function ae(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}function oe(){var e=Date;return e.now?e.now():(new e).getTime()}function se(e){return te(e)?e.name:""}function ce(e,t,n,r,i){var a=n;return e&&((a=e[t])===n||i&&!i(a)||r&&!r(n)||(e[t]=a=n)),a}function le(e){return!!e}var ue="window",ge="document",fe="location",pe="JSON",de="msie",me="trident/",he=null,ve=null,ye=!1;function Te(e){var t=g();return t&&t[e]?t[e]:e===ue&&we()?window:null}function we(){return typeof window===x&&window}function Ie(){return we()?window:Te(ue)}function Ce(){return typeof document===x&&document?document:Te(ge)}function xe(){return typeof navigator===x&&navigator?navigator:Te("navigator")}function Se(e){return e&&ye&&(e=Te("__mockLocation"))?e:typeof location===x&&location?location:Te(fe)}function ke(){return Te("performance")}function Pe(){return typeof JSON===x&&JSON||null!==Te(pe)}function be(){return Pe()?JSON||Te(pe):null}function Ne(){var e=xe();return!e||e.userAgent===ve&&null!==he||(e=((ve=e.userAgent)||"").toLowerCase(),he=Y(e,de)||Y(e,me)),he}function Ee(e){var t=Object[a].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Pe()&&(n=be().stringify(e)),t+n}function Le(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function Ae(e,t){var n,r=typeof console!==i?console:Te("console");r&&(n="log",Z(r[n=r[e]?e:n])&&r[n](t))}var Me=(Re.dataType="MessageData",Re);function Re(e,t,n,r){void 0===n&&(n=!1),this.messageId=e,this.message=(n?"AI: ":"AI (Internal): ")+e,e="",Pe()&&(e=be().stringify(r)),e=(t?" message:"+Le(t):"")+(r?" props:"+Le(e):""),this.message+=e}var Ve=function er(n){this.identifier="DiagnosticLogger",this.queue=[];var i=0,o={};W(er,this,function(a){function e(e,t){return H(e=n[e])?t:e}H(n)&&(n={}),a.consoleLoggingLevel=function(){return e("loggingLevelConsole",0)},a.telemetryLoggingLevel=function(){return e("loggingLevelTelemetry",1)},a.maxInternalMessageLimit=function(){return e("maxMessageLimit",25)},a.enableDebugExceptions=function(){return e("enableDebugExceptions",!1)},a.throwInternal=function(e,t,n,r,i){if(t=new Me(t,n,i=void 0!==i&&i,r),a.enableDebugExceptions())throw t;n=e===S.CRITICAL?"errorToConsole":"warnToConsole",J(t.message)||(r=a.consoleLoggingLevel(),i?(i=+t.messageId,!o[i]&&e<=r&&(a[n](t.message),o[i]=!0)):e<=r&&a[n](t.message),a.logInternalMessage(e,t))},a.warnToConsole=function(e){Ae("warn",e)},a.errorToConsole=function(e){Ae("error",e)},a.resetInternalMessageCount=function(){i=0,o={}},a.logInternalMessage=function(e,t){var n,r;i>=a.maxInternalMessageLimit()||(n=!0,r="AITR_"+t.messageId,o[r]?n=!1:o[r]=!0,n&&(e<=a.telemetryLoggingLevel()&&(a.queue.push(t),i++),i===a.maxInternalMessageLimit()&&(t=new Me(G.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),a.queue.push(t),a.warnToConsole(e))))}})},_e=(De.ParentContextKey="parent",De.ChildrenContextKey="childEvts",De);function De(e,i,t){var r,a=this,o=!1;a.start=oe(),a.name=e,a.isAsync=t,a.isChildEvt=function(){return!1},Z(i)&&(o=function(e){if(K)try{var t={enumerable:!0,configurable:!0,get:function(){return!r&&Z(i)&&(r=i(),i=null),r}};return K(e,"payload",t),!0}catch(n){}return!1}(a)),a.getCtx=function(e){return e?(e===De.ParentContextKey||e===De.ChildrenContextKey?a:a.ctx||{})[e]:null},a.setCtx=function(e,t){e&&(e===De.ParentContextKey?(a[e]||(a.isChildEvt=function(){return!0}),a[e]=t):e===De.ChildrenContextKey?a[e]=t:(a.ctx=a.ctx||{})[e]=t)},a.complete=function(){var e=0,t=a.getCtx(De.ChildrenContextKey);if(ee(t))for(var n=0;n<t.length;n++){var r=t[n];r&&(e+=r.time)}a.time=oe()-a.start,a.exTime=a.time-e,a.complete=function(){},!o&&Z(i)&&(a.payload=i())}}var Fe="CoreUtils.doPerf";function Oe(e,t,n,r,i){if(e){var a=e;if(a=Z(a.getPerfMgr)?a.getPerfMgr():a){var o,s=void 0,e=a.getCtx(Fe);try{if(s=a.create(t(),r,i))return e&&s.setCtx&&(s.setCtx(_e.ParentContextKey,e),e.getCtx&&e.setCtx&&((o=e.getCtx(_e.ChildrenContextKey))||(o=[],e.setCtx(_e.ChildrenContextKey,o)),o.push(s))),a.setCtx(Fe,s),n(s)}catch(c){s&&s.setCtx&&s.setCtx("exception",c)}finally{s&&a.fire(s),a.setCtx(Fe,e)}}}return n()}var Be=function(i,t){var a=this,o=null,s=Z(i.processTelemetry),c=Z(i.setNextPlugin);a._hasRun=!1,a.getPlugin=function(){return i},a.getNext=function(){return o},a.setNext=function(e){o=e},a.processTelemetry=function(n,r){r=r||t;var e=i?i.identifier:"TelemetryPluginChain";Oe(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&s){a._hasRun=!0;try{r.setNext(o),c&&i.setNextPlugin(o),o&&(o._hasRun=!1),i.processTelemetry(n,r)}catch(t){var e=o&&o._hasRun;o&&e||r.diagLog().throwInternal(S.CRITICAL,G.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+Ee(t)),o&&!e&&o.processTelemetry(n,r)}}else o&&(a._hasRun=!0,o.processTelemetry(n,r))},function(){return{item:n}},!n.sync)}};function Ue(e,t){var n=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var a=e[i];a&&Z(a.processTelemetry)&&(a=new Be(a,t),n.push(a),r&&r.setNext(a),r=a)}return 0<n.length?n[0]:null}var ze=function tr(e,i,n,t){var r,a,o,s,c=this,l=null;null!==t&&(e&&Z(e.getPlugin)?l=function(e,t,n){var r=[],i=!n;if(e)for(;e;){var a=e.getPlugin();!i&&a!==n||(i=!0,r.push(a)),e=e.getNext()}return i||r.push(n),Ue(r,t)}(e,c,t||e.getPlugin()):t?(r=c,o=e,s=!1,(a=t)&&e&&(o=[],re(e,function(e){!s&&e!==a||(s=!0,o.push(e))})),a&&!s&&(o=o||[]).push(a),l=Ue(o,r)):J(t)&&(l=Ue(e,c))),c.core=function(){return n},c.diagLog=function(){return(n||{}).logger||new Ve(i)},c.getCfg=function(){return i},c.getExtCfg=function(e,t){var n,r;return void 0===t&&(t={}),!i||(r=i.extensionConfig)&&e&&(n=r[e]),n||t},c.getConfig=function(e,t,n){var r;return void 0===n&&(n=!1),(e=c.getExtCfg(e,null))&&!H(e[t])?r=e[t]:i&&!H(i[t])&&(r=i[t]),H(r)?n:r},c.hasNext=function(){return null!=l},c.getNext=function(){return l},c.setNext=function(e){l=e},c.processNext=function(e){var t=l;t&&(l=t.getNext(),t.processTelemetry(e,c))},c.createNew=function(e,t){return new tr((e=void 0===e?null:e)||l,i,n,t)}},je="getPlugin",t=(We.prototype.initialize=function(e,t,n,r){this._baseTelInit(e,t,n,r)},We);function We(){var a=this,o=!1,s=null,c=null;a.core=null,a.diagLog=function(e){return a._getTelCtx(e).diagLog()},a.isInitialized=function(){return o},a.setInitialized=function(e){o=e},a.setNextPlugin=function(e){c=e},a.processNext=function(e,t){t?t.processNext(e):c&&Z(c.processTelemetry)&&c.processTelemetry(e,null)},a._getTelCtx=function(e){var t=e=void 0===e?null:e;return t||(e=s||new ze(null,{},a.core),t=c&&c[je]?e.createNew(null,c[je]):e.createNew(null,c)),t},a._baseTelInit=function(e,t,n,r){e&&ce(e,"extensionConfig",[],null,H),!r&&t&&(r=t.getProcessTelContext().getNext());var i=c;c&&c[je]&&(i=c[je]()),a.core=t,s=new ze(r,e,t,i),o=!0}}var Ge="toGMTString",Ke="toUTCString",qe="cookie",Je="expires",He="enabled",Xe="isCookieUseDisabled",$e="disableCookiesUsage",Ze="_ckMgr",Qe="",Ye=null,et=null,tt=null,nt=Ce(),rt={},it={};function at(e){return!e||e.isEnabled()}function ot(e,i){var t,n,l=(ce(n=(t=e||it).cookieCfg=t.cookieCfg||{},"domain",t.cookieDomain,X,H),ce(n,"path",t.cookiePath||"/",null,H),H(n[He])&&(e=void 0,J(t[Xe])||(e=!t[Xe]),J(t[$e])||(e=!t[$e]),n[He]=e),n),u=l.path||"/",g=l.domain,r=!1!==l[He],f={isEnabled:function(){var e=r&&st(i),t=it[Ze];return e&&t&&f!==t?at(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,i){var a,o,s,c=!1;return at(f)&&(a={},-1!=(s=(o=ae(t||Qe)).indexOf(";"))&&(o=ae(t.substring(0,s)),a=ct(t.substring(1+s))),ce(a,"domain",r||g,le,J),H(n)||(s=Ne(),!J(a[Je])||0<(t=oe()+1e3*n)&&((r=new Date).setTime(t),ce(a,Je,lt(r,s?Ge:Ke)||lt(r,s?Ge:Ke)||Qe,le)),s||ce(a,"max-age",Qe+n,null,J)),(n=Se())&&"https:"===n.protocol&&(ce(a,"secure",null,null,J),(et=null===et?!(ne(n=(xe()||{}).userAgent)&&(Y(n,"CPU iPhone OS 12")||Y(n,"iPad; CPU OS 12")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&Y(n,"Version/")&&Y(n,"Safari")||Y(n,"Macintosh; Intel Mac OS X 10_14")&&function(e,t){if(e){var n=e.length;if(e===t)return 1;if(40<=n){for(var r=n-1,i=39;0<=i;i--){if(e[r]!=t[i])return;r--}return 1}}}(n,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Y(n,"Chrome/5")||Y(n,"Chrome/6")||Y(n,"UnrealEngine")&&!Y(n,"Chrome")||Y(n,"UCBrowser/12")||Y(n,"UCBrowser/11"))):et)&&ce(a,"SameSite","None",null,J)),ce(a,"path",i||u,null,J),(l.setCookie||gt)(e,ut(o,a)),c=!0),c},get:function(e){var t=Qe;return at(f)?(l.getCookie||function(e){var t,n=Qe;return nt&&(t=nt[qe]||Qe,tt!==t&&(rt=ct(t),tt=t),n=ae(rt[e]||Qe)),n})(e):t},del:function(e,t){return!!at(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return st(i)&&((n={}).path=t||"/",n[Je]="Thu, 01 Jan 1970 00:00:01 GMT",Ne()||(n["max-age"]="0"),(l.delCookie||gt)(e,ut(Qe,n)),r=!0),r}};return f[Ze]=f}function st(e){if(null===Ye){Ye=!1;try{Ye=(nt||{})[qe]!==undefined}catch(t){e&&e.throwInternal(S.WARNING,G.CannotAccessCookie,"Cannot access document.cookie - "+se(t),{exception:Ee(t)})}}return Ye}function ct(e){var n={};return e&&e.length&&re(ae(e).split(";"),function(e){var t;(e=ae(e||Qe))&&(-1==(t=e.indexOf("="))?n[e]=null:n[ae(e.substring(0,t))]=ae(e.substring(1+t)))}),n}function lt(e,t){return Z(e[t])?e[t]():null}function ut(e,t){var n=e||Qe;return Q(t,function(e,t){n+="; "+e+(H(t)?Qe:"="+t)}),n}function gt(e,t){nt&&(nt[qe]=e+"="+t)}var ft=4294967296,pt=4294967295,dt=!1,mt=123456789,ht=987654321;function vt(e){var t,n=(n=Te("crypto")||Te("msCrypto"))&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&pt:Ne()?(dt||function(){try{var e=2147483647&oe();(t=(Math.random()*ft^e)+e)<0&&(t>>>=0),mt=123456789+t&pt,ht=987654321-t&pt,dt=!0}catch(n){}var t}(),t=((ht=36969*(65535&ht)+(ht>>16)&pt)<<16)+(65535&(mt=18e3*(65535&mt)+(mt>>16)&pt))>>>0&pt|0,(t>>>=0)&pt):Math.floor(ft*Math.random()|0);return e||(n>>>=0),n}function yt(e,t,n){var r,i,a=t.length,o=(t&&150<(t=ae(t.toString())).length&&(r=t.substring(0,150),e&&e.throwInternal(S.WARNING,G.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),r||t);if(o.length!==a){for(var s=0,c=o;n[c]!==undefined;)s++,c=o.substring(0,147)+(i="00"+s).substr(i.length-3);o=c}return o}function Tt(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=ae(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(S.WARNING,G.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function wt(e,t){return St(e,t,2048,G.UrlTooLong)}function It(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(S.WARNING,G.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Ct(r,e){var i;return e&&(i={},Q(e,function(e,t){if($(t)&&Pe())try{t=be().stringify(t)}catch(n){r&&r.throwInternal(S.WARNING,G.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=Tt(r,t,8192),e=yt(r,e,i),i[e]=t}),e=i),e}function xt(n,e){var r;return e&&(r={},Q(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function St(e,t,n,r){var i;return t&&(t=ae(t)).length>n&&(i=t.substring(0,n),e&&e.throwInternal(S.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),i||t}function kt(e){var t,n=null;return Z(Event)?n=new Event(e):(t=Ce())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Pt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function bt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,i=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<i?i+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}var Nt,Et="not_specified",Lt="iKey";(xn=Nt=Nt||{})[xn.LocalStorage=0]="LocalStorage",xn[xn.SessionStorage=1]="SessionStorage",(l=Kt=Kt||{})[l.AI=0]="AI",l[l.AI_AND_W3C=1]="AI_AND_W3C",l[l.W3C=2]="W3C";var At=undefined;function Mt(e){try{if(H(g()))return null;var t=new Date,n=Te(e===Nt.LocalStorage?"localStorage":"sessionStorage");n.setItem(t.toString(),t.toString());var r=n.getItem(t.toString())!==t.toString();if(n.removeItem(t.toString()),!r)return n}catch(i){}return null}function Rt(){return Vt()?Mt(Nt.SessionStorage):null}function Vt(){return At=At===undefined?!!Mt(Nt.SessionStorage):At}function _t(e,t){var n=Rt();if(null!==n)try{return n.getItem(t)}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+se(r),{exception:Ee(r)})}return null}function Dt(e,t,n){var r=Rt();if(null!==r)try{return r.setItem(t,n),1}catch(i){At=!1,e.throwInternal(S.WARNING,G.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+se(i),{exception:Ee(i)})}}function Ft(e,t){var n=Rt();if(null!==n)try{return n.removeItem(t),1}catch(r){At=!1,e.throwInternal(S.WARNING,G.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+se(r),{exception:Ee(r)})}}var Ot=Ce()||{},Bt=0,Ut=[null,null,null,null,null];function zt(e,t){return 0===e||0===t||H(e)||H(t)?null:t-e}var jt,Wt=(m(Gt,jt=xn=function(){this.ver=2,this.properties={},this.measurements={}}),Gt.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Gt.dataType="EventData",Gt);function Gt(e,t,n,r){var i=jt.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=Tt(e,t)||Et,i.properties=Ct(e,n),i.measurements=xt(e,r),i}var Kt=function(){},l=function(){this.hasFullStack=!0,this.parsedStack=[]},qt="error",Jt="stack",Ht="stackDetails",Xt="errorSrc",$t="message",Zt="description";function Qt(e,t){var n=e;return n&&!ne(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=Z(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function Yt(e,t){var n=e;return e&&((n=n&&!ne(n)&&(e[$t]||e[Zt])||n)&&!ne(n)&&(n=Qt(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function en(e){return e&&e.src&&ne(e.src)&&e.obj&&ee(e.obj)}function tn(e){var t=e||"",e=(t=ne(t)?t:ne(t[Jt])?t[Jt]:""+t).split("\n");return{src:t,obj:e}}function nn(e){var t,n=null;if(e)try{e[Jt]?n=tn(e[Jt]):e[qt]&&e[qt][Jt]?n=tn(e[qt][Jt]):e.exception&&e.exception[Jt]?n=tn(e.exception[Jt]):en(e)?n=e:en(e[Ht])?n=e[Ht]:window.opera&&e[$t]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var i=n[r];n[r+1]&&(i+="@"+n[r+1],r++),t.push(i)}return{src:e,obj:t}}(e.message):ne(e)?n=tn(e):(t=e[$t]||e[Zt]||"",ne(e[Xt])&&(t&&(t+="\n"),t+=" from "+e[Xt]),t&&(n=tn(t)))}catch(r){n=tn(r)}return n||{src:"",obj:null}}function rn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function an(e){if(e)try{if(!ne(e)){var t=rn(e),n=Qt(e,!1);return n&&"{}"!==n||(e[qt]&&(t=rn(e=e[qt])),n=Qt(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}}catch(r){}return""+(e||"")}var on,sn=(m(cn,on=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),cn.CreateAutoException=function(e,t,n,r,i,a,o,s){var c=rn(i||a||e);return{message:Yt(e,c),url:t,lineNumber:n,columnNumber:r,error:an(i||a||e),evt:an(a||e),typeName:c,stackDetails:nn(o||i||a),errorSrc:s}},cn.CreateFromInterface=function(t,e,n,r){var i=e.exceptions&&ie(e.exceptions,function(e){return un.CreateFromInterface(t,e)});return new cn(t,p(p({},e),{exceptions:i}),n,r)},cn.prototype.toInterface=function(){var e=this.exceptions,t=this.properties,n=this.measurements,r=this.severityLevel;this.ver;var i=this.problemGroup,a=this.id,o=this.isManual;return{ver:"4.0",exceptions:e instanceof Array&&ie(e,function(e){return e.toInterface()})||undefined,severityLevel:r,properties:t,measurements:n,problemGroup:i,id:a,isManual:o}},cn.CreateSimpleException=function(e,t,n,r,i,a){return{exceptions:[{hasFullStack:!0,message:e,stack:i,typeName:t}]}},cn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",cn.dataType="ExceptionData",cn.formatError=an,cn);function cn(e,t,n,r,i,a){var o=on.call(this)||this;return o.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if($(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(o.exceptions=t.exceptions,o.properties=t.properties,o.measurements=t.measurements,t.severityLevel&&(o.severityLevel=t.severityLevel),t.id&&(o.id=t.id),t.problemGroup&&(o.problemGroup=t.problemGroup),o.ver=2,H(t.isManual)||(o.isManual=t.isManual)):(o.exceptions=[new un(e,t,n=n||{})],o.properties=Ct(e,n),o.measurements=xt(e,r),i&&(o.severityLevel=i),a&&(o.id=a)),o}var ln,un=(m(gn,ln=l),gn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&ie(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Jt],parsedStack:e||undefined}},gn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&ie(t.parsedStack,function(e){return pn.CreateFromInterface(e)})||t.parsedStack;return new gn(e,p(p({},t),{parsedStack:n}))},gn);function gn(e,t,n){var r,l,i,a,o=ln.call(this)||this;return o.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if($(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(o.typeName=t.typeName,o.message=t.message,o[Jt]=t[Jt],o.parsedStack=t.parsedStack,o.hasFullStack=t.hasFullStack):(l=(r=t)&&r.evt,te(r)||(r=r[qt]||l||r),o.typeName=Tt(e,rn(r))||Et,o.message=It(e,Yt(t||r,o.typeName))||Et,l=t[Ht]||nn(t),o.parsedStack=function(e){if((e=l.obj)&&0<e.length){var t=[],n=0,r=0;if(re(e,function(e){e=e.toString(),pn.regex.test(e)&&(e=new pn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var i=0,a=t.length-1,o=0,s=i,c=a;i<a;){if(32768<(o+=t[i].sizeInBytes+t[a].sizeInBytes)){t.splice(s,c-s+1);break}s=i,c=a,i++,a--}}return t}(),o[Jt]=(r=e,a="",(e=l)&&(e.obj?re(e.obj,function(e){a+=e+"\n"}):a=e.src||""),!(l=a)||32768<(e=""+l).length&&(i=e.substring(0,32768),r&&r.throwInternal(S.WARNING,G.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:l},!0)),i||l),o.hasFullStack=ee(o.parsedStack)&&0<o.parsedStack.length,n&&(n.typeName=n.typeName||o.typeName)),o}var fn,pn=(m(dn,fn=Kt),dn.CreateFromInterface=function(e){return new dn(e,null)},dn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},dn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,dn.baseSize=58,dn);function dn(e,t){var n,r=fn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=ae(n),r.fileName="",r.line=0,(n=n.match(dn.regex))&&5<=n.length&&(r.method=ae(n[2])||r.method,r.fileName=ae(n[4]),r.line=parseInt(n[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=dn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}var mn,l=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}};(Kt=mn={})[Kt.Measurement=0]="Measurement",Kt[Kt.Aggregation=1]="Aggregation";var hn,vn=(m(yn,hn=function(){this.kind=mn.Measurement}),yn);function yn(){var e=null!==hn&&hn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}var Tn,wn=(m(In,Tn=l),In.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",In.dataType="MetricData",In);function In(e,t,n,r,i,a,o,s,c){var l=Tn.call(this)||this;l.aiDataContract={ver:1,metrics:1,properties:0};var u=new vn;return u.count=0<r?r:undefined,u.max=isNaN(a)||null===a?undefined:a,u.min=isNaN(i)||null===i?undefined:i,u.name=Tt(e,t)||Et,u.value=n,u.stdDev=isNaN(o)||null===o?undefined:o,l.metrics=[u],l.properties=Ct(e,s),l.measurements=xt(e,c),l}var Cn,xn=(m(Sn,Cn=xn),Sn);function Sn(){var e=Cn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var kn,Pn=(m(bn,kn=xn),bn.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",bn.dataType="PageviewData",bn);function bn(e,t,n,r,i,a,o){var s=kn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=o&&St(e,o,128,G.IdTooLong).toString(),s.url=wt(e,n),s.name=Tt(e,t)||Et,isNaN(r)||(s.duration=bt(r)),s.properties=Ct(e,i),s.measurements=xt(e,a),s}var Nn,En=(m(Ln,Nn=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),Ln.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Ln.dataType="RemoteDependencyData",Ln);function Ln(e,t,n,r,i,a,o,s,c,l,u,g){void 0===c&&(c="Ajax");var f=Nn.call(this)||this;f.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},f.id=t,f.duration=bt(i),f.success=a,f.resultCode=o+"",f.type=Tt(e,c);var p,d,m,h,v,y,T,w,I,C,o=(p=e,t=s,o=a=i=r,a=(c=n)&&0<c.length?(d=c,C=(I=Ut)[w=Bt],Ot.createElement?I[w]||(C=I[w]=Ot.createElement("a")):C={host:(y=!0,T=null,!(v=m=d)||null!=(v=v.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<v.length&&ne(v[2])&&0<v[2].length&&(T=v[2]||"",y&&2<v.length&&(y=(v[1]||"").toLowerCase(),v=v[3]||"",T+=v="http"==y&&":80"===v||"https"==y&&":443"===v?"":v)),(m=T||"")&&null!=(h=m.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i))&&3<h.length&&ne(h[2])&&0<h[2].length?h[2]+(h[3]||""):m)},C.href=d,++w>=I.length&&(w=0),Bt=w,C=(s=C).host,a||(null!=s.pathname?("/"!=((n=0===s.pathname.length?"/":s.pathname)[0]||"")&&(n="/"+n),o=s.pathname,Tt(p,t?t+" "+n:n)):Tt(p,c))):C=i,{target:C,name:a,data:o});return f.data=wt(e,r)||o.data,f.target=Tt(e,o.target),l&&(f.target=f.target+" | "+l),f.name=Tt(e,o.name),f.properties=Ct(e,u),f.measurements=xt(e,g),f}var An,Mn=(m(Rn,An=function(){this.ver=2,this.properties={},this.measurements={}}),Rn.envelopeType="Microsoft.ApplicationInsights.{0}.Message",Rn.dataType="MessageData",Rn);function Rn(e,t,n,r,i){var a=An.call(this)||this;return a.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},a.message=It(e,t=t||Et),a.properties=Ct(e,r),a.measurements=xt(e,i),n&&(a.severityLevel=n),a}var Vn,xn=(m(_n,Vn=xn),_n);function _n(){var e=Vn.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}var Dn,Fn,On=(m(Bn,Dn=xn),Bn.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",Bn.dataType="PageviewPerformanceData",Bn);function Bn(e,t,n,r,i,a,o){var s=Dn.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=wt(e,n),s.name=Tt(e,t)||Et,s.properties=Ct(e,i),s.measurements=xt(e,a),o&&(s.domProcessing=o.domProcessing,s.duration=o.duration,s.networkConnect=o.networkConnect,s.perfTotal=o.perfTotal,s.receivedResponse=o.receivedResponse,s.sentRequest=o.sentRequest),s}(xn=Fn=Fn||{})[xn.Verbose=0]="Verbose",xn[xn.Information=1]="Information",xn[xn.Warning=2]="Warning",xn[xn.Error=3]="Error",xn[xn.Critical=4]="Critical";var Un=(zn.create=function(e,t,n,r,i,a){if(n=Tt(r,n)||Et,H(e)||H(t)||H(n))throw Error("Input doesn't contain all required fields");r="",e[Lt]&&(r=e[Lt],delete e[Lt]);var o={name:n,time:function(e){if("[object Date]"===q(e)){var t=function(e){return 1===(e=""+e).length?"0"+e:e};return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(new Date),iKey:r,ext:a||{},tags:[],data:{},baseType:t,baseData:e};return H(i)||Q(i,function(e,t){o.data[e]=t}),o},zn);function zn(){}var jn=function nr(d,m,t,h){W(nr,this,function(e){var u,n=null,g=[],f=!1;function p(){t&&re(t.getTransmissionControls(),function(e){re(e,function(e){return e.flush(!0)})})}t&&(u=t.logger),e.trackPageView=function(r,i){var a=r.name;!H(a)&&"string"==typeof a||(e=Ce(),a=r.name=e&&e.title||"");var e,o=r.uri;if(!H(o)&&"string"==typeof o||(e=Se(),o=r.uri=e&&e.href||""),!h.isPerformanceTimingSupported())return d.sendPageViewInternal(r,i),p(),void u.throwInternal(S.WARNING,G.NavigationTimingNotSupported,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var s,t,c=!1,l=h.getPerformanceTiming().navigationStart;0<l&&(s=zt(l,+new Date),h.shouldCollectDuration(s)||(s=undefined)),H(i)||H(i.duration)||(t=i.duration),!m&&isNaN(t)||(isNaN(t)&&((i=i||{}).duration=s),d.sendPageViewInternal(r,i),p(),c=!0),i=i||{},t=function(){var e,t=!1;try{h.isPerformanceTimingDataReady()?(t=!0,e={name:a,uri:o},h.populatePageViewPerformanceEvent(e),e.isValid||c?(c||(i.duration=e.durationMs,d.sendPageViewInternal(r,i)),f||(d.sendPageViewPerformanceInternal(e,i),f=!0)):(i.duration=s,d.sendPageViewInternal(r,i))):0<l&&6e4<zt(l,+new Date)&&(t=!0,c||(i.duration=6e4,d.sendPageViewInternal(r,i)))}catch(n){u.throwInternal(S.CRITICAL,G.TrackPVFailedCalc,"trackPageView failed on page load calculation: "+se(n),{exception:Ee(n)})}return t},g.push(t),n=n||setInterval(function(){var e=g.slice(0),t=!1;g=[],re(e,function(e){e()?t=!0:g.push(e)}),0===g.length&&(clearInterval(n),n=null),t&&p()},100)}})},Wn=(Gn.prototype.trackPreviousPageVisit=function(e,t){try{var n=this.restartPageVisitTimer(e,t);n&&this.pageVisitTimeTrackingHandler(n.pageName,n.pageUrl,n.pageVisitTime)}catch(r){this._logger.warnToConsole("Auto track page visit time failed, metric will not be collected: "+Ee(r))}},Gn.prototype.restartPageVisitTimer=function(e,t){try{var n=this.stopPageVisitTimer();return this.startPageVisitTimer(e,t),n}catch(r){return this._logger.warnToConsole("Call to restart failed: "+Ee(r)),null}},Gn.prototype.startPageVisitTimer=function(e,t){try{var n,r;Vt()&&(null!=_t(this._logger,this.prevPageVisitDataKeyName)&&function(){throw Error("Cannot call startPageVisit consecutively without first calling stopPageVisit")}(),n=new Kn(e,t),r=be().stringify(n),Dt(this._logger,this.prevPageVisitDataKeyName,r))}catch(i){this._logger.warnToConsole("Call to start failed: "+Ee(i))}},Gn.prototype.stopPageVisitTimer=function(){try{if(Vt()){var e=oe(),t=_t(this._logger,this.prevPageVisitDataKeyName);if(t&&Pe()){var n=be().parse(t);return n.pageVisitTime=e-n.pageVisitStartTime,Ft(this._logger,this.prevPageVisitDataKeyName),n}return null}return null}catch(r){return this._logger.warnToConsole("Stop page visit timer failed: "+Ee(r)),null}},Gn);function Gn(e,t){this.prevPageVisitDataKeyName="prevPageVisitData",this.pageVisitTimeTrackingHandler=t,this._logger=e}var Kn=function(e,t){this.pageVisitStartTime=oe(),this.pageName=e,this.pageUrl=t},qn=(Jn.prototype.populatePageViewPerformanceEvent=function(e){e.isValid=!1;var t=this.getPerformanceNavigationTiming(),n=this.getPerformanceTiming(),r=0,i=0,a=0,o=0;(t||n)&&(n=t?(r=t.duration,i=0===t.startTime?t.connectEnd:zt(t.startTime,t.connectEnd),a=zt(t.requestStart,t.responseStart),o=zt(t.responseStart,t.responseEnd),zt(t.responseEnd,t.loadEventEnd)):(r=zt(n.navigationStart,n.loadEventEnd),i=zt(n.navigationStart,n.connectEnd),a=zt(n.requestStart,n.responseStart),o=zt(n.responseStart,n.responseEnd),zt(n.responseEnd,n.loadEventEnd)),0===r?this._logger.throwInternal(S.WARNING,G.ErrorPVCalc,"error calculating page view performance.",{total:r,network:i,request:a,response:o,dom:n}):this.shouldCollectDuration(r,i,a,o,n)?r<Math.floor(i)+Math.floor(a)+Math.floor(o)+Math.floor(n)?this._logger.throwInternal(S.WARNING,G.ClientPerformanceMathError,"client performance math error.",{total:r,network:i,request:a,response:o,dom:n}):(e.durationMs=r,e.perfTotal=e.duration=bt(r),e.networkConnect=bt(i),e.sentRequest=bt(a),e.receivedResponse=bt(o),e.domProcessing=bt(n),e.isValid=!0):this._logger.throwInternal(S.WARNING,G.InvalidDurationValue,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:i,request:a,response:o,dom:n}))},Jn.prototype.getPerformanceTiming=function(){return this.isPerformanceTimingSupported()?ke().timing:null},Jn.prototype.getPerformanceNavigationTiming=function(){return this.isPerformanceNavigationTimingSupported()?ke().getEntriesByType("navigation")[0]:null},Jn.prototype.isPerformanceNavigationTimingSupported=function(){var e=ke();return e&&e.getEntriesByType&&0<e.getEntriesByType("navigation").length},Jn.prototype.isPerformanceTimingSupported=function(){var e=ke();return e&&e.timing},Jn.prototype.isPerformanceTimingDataReady=function(){var e=ke();return(e=e?e.timing:0)&&0<e.domainLookupStart&&0<e.navigationStart&&0<e.responseStart&&0<e.requestStart&&0<e.loadEventEnd&&0<e.responseEnd&&0<e.connectEnd&&0<e.domLoading},Jn.prototype.shouldCollectDuration=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=["googlebot","adsbot-google","apis-google","mediapartners-google"],r=(xe()||{}).userAgent,i=!1;if(r)for(var a=0;a<n.length;a++)i=i||!!~r.toLowerCase().indexOf(n[a]);if(i)return!1;for(a=0;a<e.length;a++)if(e[a]<0||e[a]>=this.MAX_DURATION_ALLOWED)return!1;return!0},Jn);function Jn(e){this.MAX_DURATION_ALLOWED=36e5,e&&(this._logger=e.logger)}var Hn="duration",Xn="event";function $n(e,t){e&&e.dispatchEvent&&t&&e.dispatchEvent(t)}var Zn,t=(m(Qn,Zn=t),Qn.getDefaultConfig=function(e){return(e=e||{}).sessionRenewalMs=18e5,e.sessionExpirationMs=864e5,e.disableExceptionTracking=Pt(e.disableExceptionTracking),e.autoTrackPageVisitTime=Pt(e.autoTrackPageVisitTime),e.overridePageViewDuration=Pt(e.overridePageViewDuration),e.enableUnhandledPromiseRejectionTracking=Pt(e.enableUnhandledPromiseRejectionTracking),(isNaN(e.samplingPercentage)||e.samplingPercentage<=0||100<=e.samplingPercentage)&&(e.samplingPercentage=100),e.isStorageUseDisabled=Pt(e.isStorageUseDisabled),e.isBrowserLinkTrackingEnabled=Pt(e.isBrowserLinkTrackingEnabled),e.enableAutoRouteTracking=Pt(e.enableAutoRouteTracking),e.namePrefix=e.namePrefix||"",e.enableDebug=Pt(e.enableDebug),e.disableFlushOnBeforeUnload=Pt(e.disableFlushOnBeforeUnload),e.disableFlushOnUnload=Pt(e.disableFlushOnUnload,e.disableFlushOnBeforeUnload),e},Qn.Version="2.7.2-nightly.2111-06",Qn);function Qn(){var v,y,T,w,I,C=Zn.call(this)||this;return C.identifier="ApplicationInsightsAnalytics",C.priority=180,C.autoRoutePVDelay=500,W(Qn,C,function(m,h){var e=Se(!0);w=e&&e.href||"",m.getCookieMgr=function(){return(e=m.core)?n=e.getCookieMgr():t&&(n=t.cookieCfg[Ze]||ot(t)),n||(r=t,t=(e||{}).logger,(e=ot[Ze]||it[Ze])||(e=ot[Ze]=ot(r,t),it[Ze]=e),n=e),n;var e,t,n,r},m.processTelemetry=function(a,o){Oe(m.core,function(){return m.identifier+":processTelemetry"},function(){var e=!1,t=m._telemetryInitializers.length;o=m._getTelCtx(o);for(var n=0;n<t;++n){var r=m._telemetryInitializers[n];if(r)try{if(!1===r.call(null,a)){e=!0;break}}catch(i){o.diagLog().throwInternal(S.CRITICAL,G.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+se(i),{exception:Ee(i)},!0)}}e||m.processNext(a,o)},function(){return{item:a}},!a.sync)},m.trackEvent=function(e,t){try{var n=Un.create(e,Wt.dataType,Wt.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.startTrackEvent=function(e){try{v.start(e)}catch(t){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackEventFailed,"startTrackEvent failed, event will not be collected: "+se(t),{exception:Ee(t)})}},m.stopTrackEvent=function(e,t,n){try{v.stop(e,undefined,t)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackEventFailed,"stopTrackEvent failed, event will not be collected: "+se(r),{exception:Ee(r)})}},m.trackTrace=function(e,t){try{var n=Un.create(e,Mn.dataType,Mn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.WARNING,G.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+se(r),{exception:Ee(r)})}},m.trackMetric=function(e,t){try{var n=Un.create(e,wn.dataType,wn.envelopeType,m.diagLog(),t);m.core.track(n)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackMetricFailed,"trackMetric failed, metric will not be collected: "+se(r),{exception:Ee(r)})}},m.trackPageView=function(e,t){try{var n=e||{};m._pageViewManager.trackPageView(n,p(p(p({},n.properties),n.measurements),t)),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(n.name,n.uri)}catch(r){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageView failed, page view will not be collected: "+se(r),{exception:Ee(r)})}},m.sendPageViewInternal=function(e,t,n){var r=Ce();r&&(e.refUri=e.refUri===undefined?r.referrer:e.refUri),n=Un.create(e,Pn.dataType,Pn.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.sendPageViewPerformanceInternal=function(e,t,n){n=Un.create(e,On.dataType,On.envelopeType,m.diagLog(),t,n),m.core.track(n)},m.trackPageViewPerformance=function(e,t){try{m._pageViewPerformanceManager.populatePageViewPerformanceEvent(e),m.sendPageViewPerformanceInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackPVFailed,"trackPageViewPerformance failed, page view will not be collected: "+se(n),{exception:Ee(n)})}},m.startTrackPage=function(e){try{var t;"string"!=typeof e&&(e=(t=Ce())&&t.title||""),y.start(e)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.StartTrackFailed,"startTrackPage failed, page view may not be collected: "+se(n),{exception:Ee(n)})}},m.stopTrackPage=function(e,t,n,r){try{var i,a;"string"!=typeof e&&(e=(i=Ce())&&i.title||""),"string"!=typeof t&&(t=(a=Se())&&a.href||""),y.stop(e,t,n,r),m.config.autoTrackPageVisitTime&&m._pageVisitTimeManager.trackPreviousPageVisit(e,t)}catch(o){m.diagLog().throwInternal(S.CRITICAL,G.StopTrackFailed,"stopTrackPage failed, page view will not be collected: "+se(o),{exception:Ee(o)})}},m.sendExceptionInternal=function(e,t,n){var r=e.exception||e.error||Error(Et),e=new sn(m.diagLog(),r,e.properties||t,e.measurements,e.severityLevel,e.id).toInterface(),n=Un.create(e,sn.dataType,sn.envelopeType,m.diagLog(),t,n);m.core.track(n)},m.trackException=function(e,t){try{m.sendExceptionInternal(e,t)}catch(n){m.diagLog().throwInternal(S.CRITICAL,G.TrackExceptionFailed,"trackException failed, exception will not be collected: "+se(n),{exception:Ee(n)})}},m._onerror=function(e){var t,n,r,i=e&&e.error,a=e&&e.evt;try{a||(t=Ie())&&(a=t[Xn]);var o=e&&e.url||(Ce()||{}).URL,s=e.errorSrc||"window.onerror@"+o+":"+(e.lineNumber||0)+":"+(e.columnNumber||0),c={errorSrc:s,url:o,lineNumber:e.lineNumber||0,columnNumber:e.columnNumber||0,message:e.message},l=e.message;e.url,e.lineNumber,e.columnNumber,e.error||!ne(l)||"Script error."!==l&&"Script error"!==l?(e.errorSrc||(e.errorSrc=s),m.trackException({exception:e,severityLevel:Fn.Error},c)):(n=sn.CreateAutoException("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",o,e.lineNumber||0,e.columnNumber||0,i,a,null,s),r=c,r=Un.create(n,sn.dataType,sn.envelopeType,m.diagLog(),r),m.core.track(r))}catch(u){i=i?i.name+", "+i.message:"null",m.diagLog().throwInternal(S.CRITICAL,G.ExceptionWhileLoggingError,"_onError threw exception while logging error, error will not be collected: "+se(u),{exception:Ee(u),errorString:i})}},m.addTelemetryInitializer=function(e){m._telemetryInitializers.push(e)},m.initialize=function(e,t,n,r){if(!m.isInitialized()){if(H(t))throw Error("Error initializing");h.initialize(e,t,n,r),m.setInitialized(!1);var i=m._getTelCtx(),a=m.identifier;m.config=i.getExtCfg(a),(t=Qn.getDefaultConfig(e))!==undefined&&Q(t,function(e,t){m.config[e]=i.getConfig(a,e,t),m.config[e]===undefined&&(m.config[e]=t)}),m.config.isStorageUseDisabled&&(At=!1),r={instrumentationKey:function(){return e.instrumentationKey},accountId:function(){return m.config.accountId||e.accountId},sessionRenewalMs:function(){return m.config.sessionRenewalMs||e.sessionRenewalMs},sessionExpirationMs:function(){return m.config.sessionExpirationMs||e.sessionExpirationMs},sampleRate:function(){return m.config.samplingPercentage||e.samplingPercentage},sdkExtension:function(){return m.config.sdkExtension||e.sdkExtension},isBrowserLinkTrackingEnabled:function(){return m.config.isBrowserLinkTrackingEnabled||e.isBrowserLinkTrackingEnabled},appId:function(){return m.config.appId||e.appId}},m._pageViewPerformanceManager=new qn(m.core),m._pageViewManager=new jn(C,m.config.overridePageViewDuration,m.core,m._pageViewPerformanceManager),m._pageVisitTimeManager=new Wn(m.diagLog(),function(e,t,n){m.trackMetric({name:"PageVisitTime",average:n,max:n,min:n,sampleCount:1},t={PageName:e,PageUrl:t})}),m._telemetryInitializers=m._telemetryInitializers||[],r.isBrowserLinkTrackingEnabled()||(d=["/browserLinkSignalR/","/__browserLink/"],m._telemetryInitializers.push(function(e){if(e.baseType===En.dataType){var t=e.baseData;if(t)for(var n=0;n<d.length;n++)if(t.target&&~t.target.indexOf(d[n]))return!1}return!0})),(v=new Yn(m.diagLog(),"trackEvent")).action=function(e,t,n,r){(r=r||{})[Hn]=n.toString(),m.trackEvent({name:e,properties:r})},(y=new Yn(m.diagLog(),"trackPageView")).action=function(e,t,n,r,i){(r=H(r)?{}:r)[Hn]=n.toString(),m.sendPageViewInternal({name:e,uri:t,properties:r,measurements:i},r)};var s,o,c,l,u,g=Ie(),t=typeof history===x&&history?history:Te("history"),f=Se(!0),p=C;!1===m.config.disableExceptionTracking&&!m.config.autoExceptionInstrumented&&g&&(s=g.onerror,g.onerror=function(e,t,n,r,i){var a=g[Xn],o=s&&s(e,t,n,r,i);return!0!==o&&p._onerror(sn.CreateAutoException(e,t,n,r,i,a)),o},m.config.autoExceptionInstrumented=!0),!1===m.config.disableExceptionTracking&&!0===m.config.enableUnhandledPromiseRejectionTracking&&!m.config.autoUnhandledPromiseInstrumented&&g&&(o=g[r="onunhandledrejection"],g[r]=function(e){var t=g[Xn],n=o&&o.call(g,e);return!0!==n&&p._onerror(sn.CreateAutoException(function(e){if(e&&e.reason){var t=e.reason;return!ne(t)&&Z(t.toString)?t.toString():Ee(t)}return e||""}(e),f?f.href:"",0,0,e,t)),n},m.config.autoUnhandledPromiseInstrumented=!0),!0===m.config.enableAutoRouteTracking&&t&&Z(t.pushState)&&Z(t.replaceState)&&g&&"undefined"!=typeof Event&&(c=C,re(n,function(e){"AppInsightsPropertiesPlugin"===e.identifier&&(T=e)}),t.pushState=(u=t.pushState,function(){var e=u.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"pushState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),t.replaceState=(l=t.replaceState,function(){var e=l.apply(this,arguments);return $n(g,kt(c.config.namePrefix+"replaceState")),$n(g,kt(c.config.namePrefix+"locationchange")),e}),g.addEventListener&&(g.addEventListener(c.config.namePrefix+"popstate",function(){$n(g,kt(c.config.namePrefix+"locationchange"))}),g.addEventListener(c.config.namePrefix+"locationchange",function(){var e;T&&T.context&&T.context.telemetryTrace&&(T.context.telemetryTrace.traceID=function(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=vt())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&vt())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+i+n.substr(16,3)+n.substr(19,12)}(),e="_unknown_",f&&f.pathname&&(e=f.pathname+(f.hash||"")),T.context.telemetryTrace.name=Tt(c.diagLog(),e)),I&&(w=I),I=f&&f.href||"",setTimeout((function(e){c.trackPageView({refUri:e,properties:{duration:0}})}).bind(C,w),c.autoRoutePVDelay)}))),m.setInitialized(!0)}var d}}),C}var Yn=function(a,e){var o=this,s={};o.start=function(e){"undefined"!=typeof s[e]&&a.throwInternal(S.WARNING,G.StartCalledMoreThanOnce,"start was called more than once for this event without calling stop.",{name:e,key:e},!0),s[e]=+new Date},o.stop=function(e,t,n,r){var i=s[e];isNaN(i)?a.throwInternal(S.WARNING,G.StopCalledWithoutStart,"stop was called without a corresponding start.",{name:e,key:e},!0):(i=zt(i,+new Date),o.action(e,t,i,n,r)),delete s[e],s[e]=undefined}};e.ApplicationInsights=t,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch(i){}typeof n.value!==undefined&&(e[t]=n.value)}(e,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}));
//# sourceMappingURL=applicationinsights-analytics-js.min.js.map
/*
* Microsoft Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-05
* Microsoft Application Insights JavaScript SDK - Web Analytics, 2.7.2-nightly.2111-06
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ *

{
"name": "@microsoft/applicationinsights-analytics-js",
"version": "2.7.2-nightly.2111-05",
"version": "2.7.2-nightly.2111-06",
"description": "Microsoft Application Insights JavaScript SDK - Web Analytics",

@@ -29,4 +29,4 @@ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",

"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/applicationinsights-properties-js": "2.7.2-nightly.2111-05",
"@microsoft/applicationinsights-channel-js": "2.7.2-nightly.2111-05",
"@microsoft/applicationinsights-properties-js": "2.7.2-nightly.2111-06",
"@microsoft/applicationinsights-channel-js": "2.7.2-nightly.2111-06",
"@microsoft/api-extractor": "^7.18.1",

@@ -57,4 +57,4 @@ "typescript": "^4.3.4",

"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.2-nightly.2111-05",
"@microsoft/applicationinsights-common": "2.7.2-nightly.2111-05"
"@microsoft/applicationinsights-core-js": "2.7.2-nightly.2111-06",
"@microsoft/applicationinsights-common": "2.7.2-nightly.2111-06"
},

@@ -61,0 +61,0 @@ "license": "MIT",

@@ -57,3 +57,3 @@ /**

export class ApplicationInsights extends BaseTelemetryPlugin implements IAppInsights, IAppInsightsInternal {
public static Version = "2.7.2-nightly.2111-05"; // Not currently used anywhere
public static Version = "2.7.2-nightly.2111-06"; // Not currently used anywhere

@@ -60,0 +60,0 @@ public static getDefaultConfig(config?: IConfig): IConfig {

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 not supported yet

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc