@microsoft/applicationinsights-web-basic 2.8.0-beta.2202-07 → 2.8.0-beta.2203-03

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Application Insights JavaScript Web SDK - Basic, 2.8.0-beta.2202-07
2
+ * Application Insights JavaScript Web SDK - Basic, 2.8.0-beta.2203-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
- var e=this,n=function(t){"use strict";var a="function",g="object",i="undefined",o="prototype",s="hasOwnProperty",r=Object,u=r[o],l=r.assign,h=r.create,m=r.defineProperty,v=u[s],y=null;function I(e){return void 0===e&&(e=!0),y&&e||(typeof globalThis!==i&&globalThis&&(y=globalThis),typeof self!==i&&self&&(y=self),typeof window!==i&&window&&(y=window),typeof global!==i&&global&&(y=global)),y}function C(e){throw new TypeError(e)}function R(e){if(h)return h(e);if(null==e)return{};var n=typeof e;function t(){}return n!==g&&n!==a&&C("Object prototype may only be an Object:"+e),t[o]=e,new t}(I()||{}).Symbol,(I()||{}).Reflect;var S=l||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])u[s].call(n,i)&&(e[i]=n[i]);return e},x=function(e,n){return(x=r.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[s](t)&&(e[t]=n[t])})(e,n)};function e(e,n){function t(){this.constructor=e}typeof n!==a&&null!==n&&C("Class extends value "+n+" is not a constructor or null"),x(e,n),e[o]=null===n?R(n):(t[o]=n[o],new t)}function L(e,n){for(var t=0,r=n.length,i=e.length;t<r;t++,i++)e[i]=n[t];return e}var T="constructor",b="prototype",w="function",N="_dynInstFuncs",_="_isDynProxy",A="_dynClass",E="_dynInstChk",F=E,B="_dfOpts",O="_unknown_",U="__proto__",z="useBaseInst",j="setInstFuncs",K=Object,q=K.getPrototypeOf,V=0;function W(e,n){return e&&K[b].hasOwnProperty.call(e,n)}function G(e){return e&&(e===K[b]||e===Array[b])}function H(e){return G(e)||e===Function[b]}function X(e){if(e){if(q)return q(e);e=e[U]||e[b]||(e[T]?e[T][b]:null);if(e)return e}return null}function Y(e,n){var t=[],r=K.getOwnPropertyNames;if(r)t=r(e);else for(var i in e)"string"==typeof i&&W(e,i)&&t.push(i);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function J(e,n,t){return n!==T&&typeof e[n]===w&&(t||W(e,n))}function Z(e){throw new TypeError("DynamicProto: "+e)}function Q(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function $(e,n){return W(e,b)?e.name||n||O:((e||{})[T]||{}).name||n||O}function ee(e,r,n,t){W(e,b)||Z("theClass is an invalid class definition.");var c,i,o,a,f,d,s=e[b],u=(function(e){if(q)for(var n=[],t=X(r);t&&!H(t)&&!Q(n,t);){if(t===e)return 1;n.push(t),t=X(t)}}(s)||Z("["+$(e)+"] is not in class hierarchy of ["+$(r)+"]"),null),e=(W(s,A)?u=s[A]:(u="_dynCls$"+$(e,"_")+"$"+V,V++,s[A]=u),ee[B]),l=!!e[z],g=(l&&t&&t[z]!==undefined&&(l=!!t[z]),i={},Y(c=r,function(e){!i[e]&&J(c,e,!1)&&(i[e]=c[e])}),i),l=(n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[_]&&o&&!1!==(r=e[N]||{})[F]&&(i=(r[n[A]]||{})[t]||i),function(){return i.apply(e,arguments)}}for(var i={},a=(Y(t,function(e){i[e]=r(n,t,e)}),X(e)),s=[];a&&!H(a)&&!Q(s,a);)Y(a,function(e){!i[e]&&J(a,e,!q)&&(i[e]=r(n,a,e))}),s.push(a),a=X(a);return i}(s,r,g,l)),!!q&&!!e[j]);o=s,n=u,a=r,f=g,e=!1!==(l=l&&t?!!t[j]:l),G(o)||(s=a[N]=a[N]||{},d=s[n]=s[n]||{},!1!==s[F]&&(s[F]=!!e),Y(a,function(e){var t,r,i;J(a,e,!1)&&a[e]!==f[e]&&(d[e]=a[e],delete a[e],W(o,e)&&(!o[e]||o[e][_])||(o[e]=(t=o,r=e,(i=function(){var e,n;return(function(e,n,t,c){var r=null;if(e&&W(t,A)){var i=e[N]||{};if((r=(i[t[A]]||{})[n])||Z("Missing ["+n+"] "+w),!r[E]&&!1!==i[F]){for(var o=!W(e,n),a=X(e),s=[];o&&a&&!H(a)&&!Q(s,a);){var u=a[n];if(u){o=u===c;break}s.push(a),a=X(a)}try{o&&(e[n]=r),r[E]=1}catch(l){i[F]=!1}}}return r}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?X(t)[e]:n)!==w&&Z("["+e+"] is not a "+w),n)).apply(this,arguments)})[_]=1,i)))}))}ee[B]={setInstFuncs:!0,useBaseInst:!0},(se=M=M||{})[se.CRITICAL=1]="CRITICAL",se[se.WARNING=2]="WARNING";var M,k={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},ne="attachEvent",te="addEventListener",re="toISOString",ie="endsWith",oe="indexOf",ae="trim",se="toString",ue="constructor",le=m,m=r.freeze,ce=(r.seal,r.keys),n=String[o],fe=n[ae],de=n[ie],ge=(n.startsWith,Date[o][re]),n=Array.isArray,pe=u[se],he=v[se],me=he.call(r),ve=Object.getPrototypeOf;function ye(e){return e===undefined||typeof e===i}function P(e){return null===e||ye(e)}function Ie(e){return!P(e)}function Ce(e){return!(!e||typeof e!==g)}function p(e){return!(!e||typeof e!==a)}function Se(e,n,t,r){void 0===r&&(r=!1);var i=!1;if(!P(e))try{P(e[te])?P(e[ne])||(e[ne]("on"+n,t),i=!0):(e[te](n,t,r),i=!0)}catch(o){}return i}function xe(e,n){if(e)for(var t in e)v.call(e,t)&&n.call(e,t,e[t])}function Te(e,n){return!(!e||!n||!~e.indexOf(n))}var be=n||function(e){return!(!e||"[object Array]"!==pe.call(e))};function we(e){return!(!e||"[object Error]"!==pe.call(e))}function Ne(e){return"string"==typeof e}function _e(e){return"number"==typeof e}function Ae(e){return"boolean"==typeof e}function Re(e){return e&&"object"==typeof e&&(!(e=(ve||function(e){if(e){if(ve)return ve(e);e=e.__proto__||e[o]||e[ue];if(e)return e}return null})(e))||typeof(e=e[ue]&&v.call(e,ue)?e[ue]:e)===a&&he.call(e)===me)}function Le(e){if(e){if(ge)return e[re]();var n;return e&&e.getUTCFullYear?(n=function(e){e=""+e;return 1===e.length?"0"+e:e},e.getUTCFullYear()+"-"+n(1+e.getUTCMonth())+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"):void 0}}function D(e,n,t){var r=e.length;try{for(var i=0;i<r&&!(i in e&&-1===n.call(t||e,e[i],i,e));i++);}catch(o){}}function Ee(e,n,t){if(e){if(e[oe])return e[oe](n,t);var r=e.length,t=t||0;try{for(var i=Math.max(0<=t?t:r-Math.abs(t),0);i<r;i++)if(i in e&&e[i]===n)return i}catch(o){}}return-1}function Fe(e,n,t){if(e){if(e.map)return e.map(n,t);var r=e.length,i=t||e,o=Array(r);try{for(var a=0;a<r;a++)a in e&&(o[a]=n.call(i,e[a],e))}catch(s){}}return o}function Me(e){return e&&(fe&&e[ae]?e[ae]():e.replace?e.replace(/^\s+|\s+$/g,""):e)}var ke=!{toString:null}.propertyIsEnumerable("toString"),Pe=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function De(e){var n=typeof e;if(n===a||n===g&&null!==e||C("objKeys called on non-object"),!ke&&ce)return ce(e);var t,r=[];for(t in e)e&&v.call(e,t)&&r.push(t);if(ke)for(var i=Pe.length,o=0;o<i;o++)e&&v.call(e,Pe[o])&&r.push(Pe[o]);return r}function Be(e,n,t,r){if(le)try{var i={enumerable:!0,configurable:!0};return t&&(i.get=t),r&&(i.set=r),le(e,n,i),!0}catch(o){}return!1}var Oe=m||function(e){return e};function Ue(){var e=Date;return e.now?e.now():(new e).getTime()}function ze(e){return we(e)?e.name:""}function je(e,n,t,r,i){var o=t;return e&&((o=e[n])===t||i&&!i(o)||r&&!r(t)||(e[n]=o=t)),o}function Ke(e){return!e}function qe(e){return!!e}function Ve(e){throw Error(e)}function We(e){return e&&l?r(l({},e)):e}var Ge="window",He="navigator",Xe="location",Ye="console",Je="JSON",Ze="crypto",Qe="msCrypto",$e="msie",en="trident/",nn="XMLHttpRequest",tn=null,rn=null,on=null,an=null;function sn(e,n){var t,r=!1;if(e){try{(r=n in e)||(t=e[o])&&(r=n in t)}catch(i){}if(!r)try{r=!ye((new e)[n])}catch(i){}}return r}function un(e){var n=I();return n&&n[e]?n[e]:e===Ge&&ln()?window:null}function ln(){return typeof window===g&&window}function cn(){return ln()?window:un(Ge)}function fn(){return typeof document===g&&document?document:un("document")}function dn(){return!(typeof navigator!==g||!navigator)}function gn(){return dn()?navigator:un(He)}function pn(){return typeof JSON===g&&JSON||null!==un(Je)}function hn(){return pn()?JSON||un(Je):null}function mn(){var e=gn();return!e||e.userAgent===rn&&null!==tn||(e=((rn=e.userAgent)||"").toLowerCase(),tn=Te(e,$e)||Te(e,en)),tn}function vn(e){var n=Object[o].toString.call(e),t="";return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":pn()&&(t=hn().stringify(e)),n+t}function yn(){return an=null===an?dn()&&!!gn().sendBeacon:an}function In(e){var n=!1;try{var n=!!un("fetch"),t=un("Request");n&&e&&t&&(n=sn(t,"keepalive"))}catch(r){}return n}function Cn(){return on=null===on&&(on=typeof XDomainRequest!==i)&&Sn()?on&&!sn(un(nn),"withCredentials"):on}function Sn(){var e=!1;try{e=!!un(nn)}catch(n){}return e}var xn,Tn=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],bn=null;function wn(e){var n=bn;return(n=n||!0===e.disableDbgExt?n:bn||(e=un("Microsoft"),bn=e?e.ApplicationInsights:bn))?n.ChromeDbgExt:null}function Nn(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function _n(e,n){var t,r=typeof console!==i?console:un(Ye);r&&(t="log",p(r[t=r[e]?e:t])&&r[t](n))}Rn.dataType="MessageData";var An=Rn;function Rn(e,n,t,r){void 0===t&&(t=!1),this.messageId=e,this.message=(t?"AI: ":"AI (Internal): ")+e;t="",pn()&&(t=hn().stringify(r)),e=(n?" message:"+Nn(n):"")+(r?" props:"+Nn(t):"");this.message+=e}function Ln(e,n){return(e||{}).logger||new En(n)}var En=function fo(r){this.identifier="DiagnosticLogger",this.queue=[];var i=0,s={};ee(fo,this,function(o){function e(e,n){e=r[e];return P(e)?n:e}function a(e,n){var t=wn(r);t&&t.diagLog&&t.diagLog(e,n)}P(r)&&(r={}),o.consoleLoggingLevel=function(){return e("loggingLevelConsole",0)},o.telemetryLoggingLevel=function(){return e("loggingLevelTelemetry",1)},o.maxInternalMessageLimit=function(){return e("maxMessageLimit",25)},o.enableDebugExceptions=function(){return e("enableDebugExceptions",!1)},o.throwInternal=function(e,n,t,r,i){n=new An(n,t,i=void 0!==i&&i,r);if(o.enableDebugExceptions())throw n;t=e===M.CRITICAL?"errorToConsole":"warnToConsole";ye(n.message)?a("throw"+(e===M.CRITICAL?"Critical":"Warning"),n):(r=o.consoleLoggingLevel(),i?(i=+n.messageId,!s[i]&&e<=r&&(o[t](n.message),s[i]=!0)):e<=r&&o[t](n.message),o.logInternalMessage(e,n))},o.warnToConsole=function(e){_n("warn",e),a("warning",e)},o.errorToConsole=function(e){_n("error",e),a("error",e)},o.resetInternalMessageCount=function(){i=0,s={}},o.logInternalMessage=function(e,n){var t,r;i>=o.maxInternalMessageLimit()||(r=!0,t="AITR_"+n.messageId,s[t]?r=!1:s[t]=!0,r&&(e<=o.telemetryLoggingLevel()&&(o.queue.push(n),i++,a(e===M.CRITICAL?"error":"warn",n)),i===o.maxInternalMessageLimit()&&(r=new An(k.MessageLimitPerPVExceeded,t="Internal events throttle limit per PageView reached for this app.",!1),o.queue.push(r),e===M.CRITICAL?o.errorToConsole(t):o.warnToConsole(t))))}})},Fn=(Mn.ParentContextKey="parent",Mn.ChildrenContextKey="childEvts",Mn);function Mn(e,i,n){var t,o=this,a=!1;o.start=Ue(),o.name=e,o.isAsync=n,o.isChildEvt=function(){return!1},p(i)&&(a=Be(o,"payload",function(){return!t&&p(i)&&(t=i(),i=null),t})),o.getCtx=function(e){return e?(e===Mn.ParentContextKey||e===Mn.ChildrenContextKey?o:o.ctx||{})[e]:null},o.setCtx=function(e,n){e&&(e===Mn.ParentContextKey?(o[e]||(o.isChildEvt=function(){return!0}),o[e]=n):e===Mn.ChildrenContextKey?o[e]=n:(o.ctx=o.ctx||{})[e]=n)},o.complete=function(){var e=0,n=o.getCtx(Mn.ChildrenContextKey);if(be(n))for(var t=0;t<n.length;t++){var r=n[t];r&&(e+=r.time)}o.time=Ue()-o.start,o.exTime=o.time-e,o.complete=function(){},!a&&p(i)&&(o.payload=i())}}var kn=function go(n){this.ctx={},ee(go,this,function(t){t.create=function(e,n,t){return new Fn(e,n,t)},t.fire=function(e){e&&(e.complete(),n&&p(n.perfEvent)&&n.perfEvent(e))},t.setCtx=function(e,n){e&&((t.ctx=t.ctx||{})[e]=n)},t.getCtx=function(e){return(t.ctx||{})[e]}})},Pn="CoreUtils.doPerf";function Dn(e,n,t,r,i){if(e)if(e=p(e.getPerfMgr)?e.getPerfMgr():e){var o,a=void 0,s=e.getCtx(Pn);try{if(a=e.create(n(),r,i))return s&&a.setCtx&&(a.setCtx(Fn.ParentContextKey,s),s.getCtx&&s.setCtx&&((o=s.getCtx(Fn.ChildrenContextKey))||(o=[],s.setCtx(Fn.ChildrenContextKey,o)),o.push(a))),e.setCtx(Pn,a),t(a)}catch(u){a&&a.setCtx&&a.setCtx("exception",u)}finally{a&&e.fire(a),e.setCtx(Pn,s)}}return t()}var Bn="TelemetryPluginChain",On="_hasRun",Un="_getTelCtx",zn=0;function jn(e,a,t,n){var r=null,i=null,r=n?function(e,n,t,r){for(;e;){if(e.getPlugin()===r)return e;e=e.getNext()}return Kn([r],n,t)}(e,a,t,n):e,o={core:function(){return t},diagLog:function(){return Ln(t,a)},getCfg:function(){return a},getExtCfg:s,getConfig:function(e,n,t){void 0===t&&(t=!1);var r,e=s(e,null);return e&&!P(e[n])?r=e[n]:a&&!P(a[n])&&(r=a[n]),P(r)?t:r},hasNext:function(){return null!=r},getNext:function(){return r},setNext:function(e){r=e},processNext:function(n){u(function(e){e.processTelemetry(n,o)})},iterate:function(n){for(;r;)u(function(e){e=e.getPlugin();e&&n(e)})},createNew:function(e,n){return jn((e=be(e=void 0===e?null:e)?Kn(e,a,t,n):e)||r,a,t,n)},onComplete:function(e){i=e}};function s(e,n,t){var r,i,o;return void 0===n&&(n={}),void 0===t&&(t=0),!a||(i=a.extensionConfig)&&e&&(r=i[e]),r?Ce(n)&&0!==t&&(o=function d(){var e=arguments,n=e[0]||{},t=e.length,r=!1,i=1;for(0<t&&Ae(n)&&(r=n,n=e[i]||{},i++),Ce(n)||(n={});i<t;i++){var o,a,s,u,l=e[i],c=be(l),f=Ce(l);for(o in l)(c&&o in l||f&&v.call(l,o))&&(a=l[o],s=void 0,r&&a&&((s=be(a))||Re(a))&&(u=n[o],s?be(u)||(u=[]):Re(u)||(u={}),a=d(r,u,a)),a!==undefined&&(n[o]=a))}return n}(!0,n,r),a&&2===t&&xe(n,function(e){var n;P(o[e])&&(P(n=a[e])||(o[e]=n))})):r=n,r}function u(e){var n=r;n?(r=n.getNext(),e(n)):i&&(i(),i=null)}return o}function Kn(e,n,t,r){var i,o=null,a=!r;return be(e)&&0<e.length&&(i=null,D(e,function(e){(a=!a&&r===e||a)&&e&&p(e.processTelemetry)&&(e=qn(e,n,t),o=o||e,i&&i._setNext(e),i=e)})),r&&!o?Kn([r],n,t):o}function qn(u,l,c){var f=null,t=p(u.processTelemetry),r=p(u.setNextPlugin),d=u?u.identifier+"-"+u.priority+"-"+zn++:"Unknown-0-"+zn++,g={getPlugin:function(){return u},getNext:function(){return f},processTelemetry:function(n,e){i(e,function(e){return!!t&&(r&&u.setNextPlugin(f),u.processTelemetry(n,e),!0)},function(e){f.processTelemetry(n,e)},"processTelemetry",function(){return{item:n}},!n.sync)},_id:d,_setNext:function(e){f=e}};function i(r,i,o,a,e,n){r=(r=r||(u&&p(u[Un])?u[Un]():r))||jn(g,l,c);var t=u?u.identifier:Bn,s=(s=r[On])||(r[On]={});Dn(r.core(),function(){return t+":"+a},function(){var e=!(s[d]=!0);if(r.setNext(f),u)try{var n=f?f._id:"";n&&(s[n]=!1),e=i(r)}catch(t){n=!f||s[f._id];n&&(e=!0),f&&n||r.diagLog().throwInternal(M.CRITICAL,k.PluginException,"Plugin ["+u.identifier+"] failed during "+a+" - "+vn(t)+", run flags: "+vn(s))}f&&!e&&o(r)},e,n)}return Oe(g)}var Vn="processTelemetry",Wn="priority",Gn="setNextPlugin",Hn="isInitialized";function Xn(n,t){for(var e=[],r=null,i=n.getNext();i;){var o=i.getPlugin();o&&(r&&p(r[Gn])&&p(o[Vn])&&r[Gn](o),p(o[Hn])&&o[Hn]()||e.push(o),r=o,i=i.getNext())}D(e,function(e){e.initialize(n.getCfg(),n.core(),t,n.getNext())})}function Yn(e){return e.sort(function(e,n){var t=0,r=p(n[Vn]);return p(e[Vn])?t=r?e[Wn]-n[Wn]:1:r&&(t=-1),t})}var Jn="toGMTString",Zn="toUTCString",Qn="cookie",$n="expires",et="enabled",nt="isCookieUseDisabled",tt="disableCookiesUsage",rt="_ckMgr",it="",ot=null,at=null,st=null,ut=fn(),lt={},ct={};function ft(e){return!e||e.isEnabled()}function dt(e,i){je(t=(e=e||ct).cookieCfg=e.cookieCfg||{},"domain",e.cookieDomain,Ie,P),je(t,"path",e.cookiePath||"/",null,P),P(t[et])&&(n=void 0,ye(e[nt])||(n=!e[nt]),ye(e[tt])||(n=!e[tt]),t[et]=n);var n,t,l=t,c=l.path||"/",f=l.domain,r=!1!==l[et],d={isEnabled:function(){var e=r&&gt(i),n=ct[rt];return e&&n&&d!==n?ft(n):e},setEnabled:function(e){r=!1!==e},set:function(e,n,t,r,i){var o,a,s,u=!1;return ft(d)&&(o={},-1!=(s=(a=Me(n||it)).indexOf(";"))&&(a=Me(n.substring(0,s)),o=pt(n.substring(1+s))),je(o,"domain",r||f,qe,ye),P(t)||(s=mn(),!ye(o[$n])||0<(n=Ue()+1e3*t)&&((r=new Date).setTime(n),je(o,$n,ht(r,s?Jn:Zn)||ht(r,s?Jn:Zn)||it,qe)),s||je(o,"max-age",it+t,null,ye)),(n=typeof location===g&&location?location:un(Xe))&&"https:"===n.protocol&&(je(o,"secure",null,null,ye),(at=null===at?!(Ne(r=(gn()||{}).userAgent)&&(Te(r,"CPU iPhone OS 12")||Te(r,"iPad; CPU OS 12")||Te(r,"Macintosh; Intel Mac OS X 10_14")&&Te(r,"Version/")&&Te(r,"Safari")||Te(r,"Macintosh; Intel Mac OS X 10_14")&&function(e,n){var t=!1;if(!e||(t=e===n))return t;if(de)return e[ie](n);var r=e,i=n,t=!1,e=r?r.length:0;if(e&&40<=e&&!(t=r===i)){for(var o=e-1,a=39;0<=a;a--){if(r[o]!=i[a])return;o--}t=!0}return t}(r,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Te(r,"Chrome/5")||Te(r,"Chrome/6")||Te(r,"UnrealEngine")&&!Te(r,"Chrome")||Te(r,"UCBrowser/12")||Te(r,"UCBrowser/11"))):at)&&je(o,"SameSite","None",null,ye)),je(o,"path",i||c,null,ye),(l.setCookie||vt)(e,mt(a,o)),u=!0),u},get:function(e){var n=it;return ft(d)?(l.getCookie||function(e){var n,t=it;return ut&&(n=ut[Qn]||it,st!==n&&(lt=pt(n),st=n),t=Me(lt[e]||it)),t})(e):n},del:function(e,n){return!!ft(d)&&d.purge(e,n)},purge:function(e,n){var t,r=!1;return gt(i)&&((t={}).path=n||"/",t[$n]="Thu, 01 Jan 1970 00:00:01 GMT",n=t,mn()||(n["max-age"]="0"),(l.delCookie||vt)(e,mt(it,n)),r=!0),r}};return d[rt]=d}function gt(e){if(null===ot){ot=!1;try{ot=(ut||{})[Qn]!==undefined}catch(n){e&&e.throwInternal(M.WARNING,k.CannotAccessCookie,"Cannot access document.cookie - "+ze(n),{exception:vn(n)})}}return ot}function pt(e){var t={};return e&&e.length&&D(Me(e).split(";"),function(e){var n;(e=Me(e||it))&&(-1==(n=e.indexOf("="))?t[e]=null:t[Me(e.substring(0,n))]=Me(e.substring(1+n)))}),t}function ht(e,n){return p(e[n])?e[n]():null}function mt(e,n){var t=e||it;return xe(n,function(e,n){t+="; "+e+(P(n)?it:"="+n)}),t}function vt(e,n){ut&&(ut[Qn]=e+"="+n)}var yt="extensionConfig",It=500,Ct="Channel has invalid priority - ";function St(e,n,t,r){n&&be(n)&&0<n.length&&(D(n=n.sort(function(e,n){return e.priority-n.priority}),function(e){e.priority<It&&Ve(Ct+e.identifier)}),e.push({queue:Oe(n),chain:Kn(n,t,r)}))}var xt,Tt="getPlugin",se=function po(){var o,a,s,n,u=this;function t(e){var n,e=e=void 0===e?null:e;return e||(n=a||jn(null,{},u.core),e=s&&s[Tt]?n.createNew(null,s[Tt]):n.createNew(null,s)),e}o=!1,u.core=null,s=a=null,n=[],ee(po,u,function(e){e.initialize=function(e,n,t,r){e&&je(e,yt,[],null,P),!r&&n&&(r=n.getProcessTelContext().getNext());var i=s;s&&s[Tt]&&(i=s[Tt]()),u.core=n,a=jn(r,e,n,i),o=!0},e._addHook=function(e){e&&(be(e)?n=n.concat(e):n.push(e))}}),u.diagLog=function(e){return t(e).diagLog()},u.isInitialized=function(){return o},u.setInitialized=function(e){o=e},u.setNextPlugin=function(e){s=e},u.processNext=function(e,n){n?n.processNext(e):s&&p(s.processTelemetry)&&s.processTelemetry(e,null)},u._getTelCtx=t},bt=(e(wt,xt=se),wt);function wt(){var n,u,e=xt.call(this)||this;function r(){n=0,u=[]}return e.identifier="TelemetryInitializerPlugin",e.priority=199,r(),ee(wt,e,function(s,t){s.addTelemetryInitializer=function(e){var t={id:n++,fn:e};return u.push(t),{remove:function(){D(u,function(e,n){if(e.id===t.id)return u.splice(n,1),-1})}}},s.processTelemetry=function(e,n){for(var t=!1,r=u.length,i=0;i<r;++i){var o=u[i];if(o)try{if(!1===o.fn.call(null,e)){t=!0;break}}catch(a){n.diagLog().throwInternal(M.CRITICAL,k.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+ze(a),{exception:vn(a)},!0)}}t||s.processNext(e,n)},s.unload=function(e,n){t.unload(e,n),r()}}),e}var Nt="_notificationManager";function _t(e,n){return new kn(n)}var At="eventsSent",Rt="eventsDiscarded",Lt="eventsSendRequest",Et="perfEvent";function Ft(e,t,r,i){D(e,function(e){if(e&&e[t])if(r)setTimeout(function(){return i(e)},0);else try{i(e)}catch(n){}})}var Mt,kt=function ho(e){this.listeners=[];var t=!!(e||{}).perfEvtsSendAll;ee(ho,this,function(r){r.addNotificationListener=function(e){r.listeners.push(e)},r.removeNotificationListener=function(e){for(var n=Ee(r.listeners,e);-1<n;)r.listeners.splice(n,1),n=Ee(r.listeners,e)},r.eventsSent=function(n){Ft(r.listeners,At,!0,function(e){e[At](n)})},r.eventsDiscarded=function(n,t){Ft(r.listeners,Rt,!0,function(e){e[Rt](n,t)})},r.eventsSendRequest=function(n,t){Ft(r.listeners,Lt,t,function(e){e[Lt](n,t)})},r.perfEvent=function(n){n&&(!t&&n.isChildEvt()||Ft(r.listeners,Et,!1,function(e){n.isAsync?setTimeout(function(){return e[Et](n)},0):e[Et](n)}))}})},Pt=(e(Dt,Mt=function mo(){var C,t,S,r,x,u,T,_,b,w,A,l,c,N,i=0;ee(mo,this,function(I){var o,a,e,s;function n(){var e=I.logger?I.logger.queue:[];e&&(D(e,function(e){e={name:c||"InternalMessageId: "+e.messageId,iKey:I.config.instrumentationKey,time:Le(new Date),baseType:An.dataType,baseData:{message:e.message}};I.track(e)}),e.length=0)}C=!1,I.logger=new En({loggingLevelConsole:M.CRITICAL}),I.config=null,I._extensions=[],l=new bt,t=[],c=A=_=b=T=u=x=r=S=null,I.isInitialized=function(){return C},I.initialize=function(e,c,n,t){I.isInitialized()&&Ve("Core should not be initialized more than once"),e&&!P(e.instrumentationKey)||Ve("Please provide instrumentation key"),S=t,I[Nt]=t,I.config=e||{};var r,o,f,d,g,p,h,i,m,v,a,y,s,u=e,u=(!0===u.disableDbgExt&&N&&(S.removeNotificationListener(N),N=null),S&&!N&&!0!==u.disableDbgExt&&(N=function(e){if(!xn){xn={};for(var n=0;n<Tn.length;n++)xn[Tn[n]]=function(n,t){return function(){var e=wn(t);!e||(e=e.listener)&&e[n]&&e[n].apply(e,arguments)}}(Tn[n],e)}return xn}(u),S.addNotificationListener(N)),e);function l(n,t,r){var i;o&&0<o.length?(i=o.length,D(o,function(e){e&&0<e.queue.length?(e=e.chain,(e=(n||jn(null,f.config,f,null)).createNew(e)).onComplete(function(){0==--i&&(r&&r(),r=null)}),t(e)):i--}),0===i&&r&&r()):r&&r()}!u.enablePerfMgr&&x&&(x=null),u.enablePerfMgr&&je(I.config,"createPerfMgr",_t),e.extensions=P(e.extensions)?[]:e.extensions,e?!(r=e[yt])&&P(r)&&(r=ye(a)?{}:a,e[yt]=r):r=ye(a)?{}:a,r.NotificationManager=t,n&&(I.logger=n),(_=[]).push.apply(_,L(L([],c),e.extensions)),w=(e||{}).channels,u=e,m=I.logger,v=It,y=[],s={},D(a=_,function(e){(P(e)||P(e.initialize))&&Ve("Plugins must provide initialize method");var n=e.priority,t=e.identifier;e&&n&&(P(s[n])?s[n]=t:m.warnToConsole("Two extensions have same priority #"+n+" - "+s[n]+", "+t)),(!n||n<v)&&y.push(e)}),b=(r={all:a,core:y}).core,T=null,A=Oe((n=t=r.all,g=u,p=I,i=[],w&&D(w,function(e){return St(i,e,g,p)}),n&&(h=[],D(n,function(e){e.priority>It&&h.push(e)}),St(i,h,g,p)),i)),o=A,f=I,d=!1,w={identifier:"ChannelControllerPlugin",priority:It,initialize:function(n,t,r,e){d=!0,D(o,function(e){e&&0<e.queue.length&&Xn(jn(e.chain,n,t),r)})},isInitialized:function(){return d},processTelemetry:function(n,e){l(e,function(e){e.processNext(n)},function(){e.processNext(n)})},pause:function(){l(null,function(e){e.iterate(function(e){e.pause&&e.pause()})})},resume:function(){l(null,function(e){e.iterate(function(e){e.resume&&e.resume()})})},teardown:function(){l(null,function(e){e.iterate(function(e){e.teardown&&e.teardown()})})},flush:function(n,t,r,i){var e=!1,o=0,a=null;function s(){e&&0===o&&(a&&(clearTimeout(a),a=null),t&&t(e),t=null)}i=i||5e3,o=1,l(null,function(e){e.iterate(function(e){e.flush&&(o++,e.flush(n,function(){o--,s()},r)||null==a&&(a=setTimeout(function(){a=null,t&&t(!1),t=null},i)))})},function(){o--,e=!0,s()})}},t.push(w),b.push(w),I._extensions=Yn(t),w.initialize(u,I,t),Xn(I.getProcessTelContext(),t),I._extensions=Oe(Yn(b||[])).slice(),0===I.getTransmissionControls().length&&Ve("No channels available"),C=!0,I.releaseQueue()},I.getTransmissionControls=function(){var n=[];return D(A,function(e){n.push(e.queue)}),Oe(n)},I.track=function(e){je(e,"iKey",I.config.instrumentationKey,null,Ke),je(e,"time",Le(new Date),null,Ke),je(e,"ver","4.0",null,P),I.isInitialized()?I.getProcessTelContext().processNext(e):t.push(e)},I.getProcessTelContext=function(){return jn((T||((e=(b||[]).slice()).push(l),T=Kn(Yn(e),I.config,I)),T),I.config,I);var e},I.getNotifyMgr=function(){return S||(S=R({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,n){},eventsSendRequest:function(e,n){}}),I[Nt]=S),S},I.addNotificationListener=function(e){S&&S.addNotificationListener(e)},I.removeNotificationListener=function(e){S&&S.removeNotificationListener(e)},I.getCookieMgr=function(){return u=u||dt(I.config,I.logger)},I.setCookieMgr=function(e){u=e},I.getPerfMgr=function(){return r||x||I.config&&I.config.enablePerfMgr&&p(I.config.createPerfMgr)&&(x=I.config.createPerfMgr(I,I.getNotifyMgr())),r||x||null},I.setPerfMgr=function(e){r=e},I.eventCnt=function(){return t.length},I.releaseQueue=function(){var e;C&&0<t.length&&(e=t,t=[],D(e,function(e){I.getProcessTelContext().processNext(e)}))},I.pollInternalLogs=function(e){c=e;e=I.config.diagnosticLogInterval;return e&&0<e||(e=1e4),i&&clearInterval(i),i=setInterval(function(){n()},e)},I.stopPollingInternalLogs=function(){i&&(clearInterval(i),i=0,n())},a=function(){return l},e=["addTelemetryInitializer"],void 0===s&&(s=!0),(o=I)&&a&&Ce(o)&&be(e)&&D(e,function(e){var n,t,r,i;Ne(e)&&(void 0===(n=s)&&(n=!0),o&&e&&a&&(n||ye(o[e]))&&(o[e]=(t=e,i=r=null,p(n=a)?r=n:i=n,function(){var e=arguments;if(i=r?r():i)return i[t].apply(i,e)})))}),I.getPlugin=function(n){var t=null;return D(I._extensions,function(e){if(e.identifier===n)return t=e,-1}),t?{plugin:t}:null}})}),Dt);function Dt(){var e=Mt.call(this)||this;return ee(Dt,e,function(t,i){function n(e){var n=t.getNotifyMgr();n&&n.eventsDiscarded([e],2)}t.initialize=function(e,n,t,r){i.initialize(e,n,t||new En(e),r||new kt(e))},t.track=function(e){Dn(t.getPerfMgr(),function(){return"AppInsightsCore:track"},function(){if(null===e&&(n(e),Ve("Invalid telemetry item")),P(e.name))throw n(e),Error("telemetry name required");i.track(e)},function(){return{item:e}},!e.sync)}}),e}var Bt=4294967296,Ot=4294967295,Ut=!1,zt=123456789,jt=987654321;function Kt(e){e<0&&(e>>>=0),zt=123456789+e&Ot,jt=987654321-e&Ot,Ut=!0}function qt(){try{var e=2147483647&Ue();Kt((Math.random()*Bt^e)+e)}catch(n){}}function Vt(e){return 0<e?Math.floor(Wt()/Ot*(e+1))>>>0:0}function Wt(e){var n=0,t=un(Ze)||un(Qe);return 0===(n=t&&t.getRandomValues?t.getRandomValues(new Uint32Array(1))[0]&Ot:n)&&mn()&&(Ut||qt(),n=Gt()&Ot),0===n&&(n=Math.floor(Bt*Math.random()|0)),e||(n>>>=0),n}function Gt(e){var n=((jt=36969*(65535&jt)+(jt>>16)&Ot)<<16)+(65535&(zt=18e3*(65535&zt)+(zt>>16)&Ot))>>>0&Ot|0;return e||(n>>>=0),n}var Ht,Xt=null,Yt={_canUseCookies:undefined,isTypeof:function(e,n){return typeof e===n},isUndefined:ye,isNullOrUndefined:P,hasOwnProperty:function(e,n){return!(!e||!v.call(e,n))},isFunction:p,isObject:Ce,isDate:function(e){return!(!e||"[object Date]"!==pe.call(e))},isArray:be,isError:we,isString:Ne,isNumber:_e,isBoolean:Ae,toISOString:Le,arrForEach:D,arrIndexOf:Ee,arrMap:Fe,arrReduce:function(e,n,t){var r;if(e){if(e.reduce)return e.reduce(n,t);var i=e.length,o=0;if(3<=arguments.length)r=t;else{for(;o<i&&!(o in e);)o++;r=e[o++]}for(;o<i;)o in e&&(r=n(r,e[o],o,e)),o++}return r},strTrim:Me,objCreate:R,objKeys:De,objDefineAccessors:Be,addEventHandler:function(e,n){var t=!1,r=cn(),r=(r&&(t=Se(r,e,n),t=Se(r.body,e,n)||t),fn());return r&&Se(r,e,n)||t},dateNow:Ue,isIE:mn,disableCookies:function(){var e,n;(e=dt[rt]||ct[rt])||(e=dt[rt]=dt(void 0,void 0),ct[rt]=e),e=e,n=Yt._canUseCookies,null===Xt&&(Xt=[],Ht=n,Be(Yt,"_canUseCookies",function(){return Ht},function(n){Ht=n,D(Xt,function(e){e.setEnabled(n)})})),-1===Ee(Xt,e)&&Xt.push(e),Ae(n)&&e.setEnabled(n),Ae(Ht)&&e.setEnabled(Ht),e.setEnabled(!1)},newGuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(Jt,function(e){var n=0|Vt(15);return("x"===e?n:3&n|8).toString(16)})},perfNow:function(){var e=un("performance");return e&&e.now?e.now():Ue()},newId:function(e){void 0===e&&(e=22);for(var n=Wt()>>>0,t=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(Wt()<<2&4294967295|3&n)>>>0,t=0);return r},randomValue:Vt,random32:Wt,mwcRandomSeed:function(e){e?Kt(e):qt()},mwcRandom32:Gt,generateW3CId:function(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t="",r=0;r<4;r++)t+=n[15&(e=Wt())]+n[e>>4&15]+n[e>>8&15]+n[e>>12&15]+n[e>>16&15]+n[e>>20&15]+n[e>>24&15]+n[e>>28&15];var i=n[8+(3&Wt())|0];return t.substr(0,8)+t.substr(9,4)+"4"+t.substr(13,3)+i+t.substr(16,3)+t.substr(19,12)}},Jt=/[xy]/g;function Zt(e,n,t){var r,i,o=n.length,a=(e=e,(n=n)&&150<(n=Me(n.toString())).length&&(i=n.substring(0,150),e&&e.throwInternal(M.WARNING,k.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),i||n);if(a.length!==o){for(var s=0,u=a;t[u]!==undefined;)s++,u=a.substring(0,147)+(r=void 0,(r="00"+s).substr(r.length-3));a=u}return a}function Qt(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=Me(n)).toString().length>t&&(r=n.toString().substring(0,t),e&&e.throwInternal(M.WARNING,k.StringValueTooLong,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function $t(e,n){return rr(e,n,2048,k.UrlTooLong)}function er(e,n){var t;return n&&32768<n.length&&(t=n.substring(0,32768),e&&e.throwInternal(M.WARNING,k.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n}function nr(r,e){var i;return e&&(i={},xe(e,function(e,n){if(Ce(n)&&pn())try{n=hn().stringify(n)}catch(t){r&&r.throwInternal(M.WARNING,k.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:t},!0)}n=Qt(r,n,8192),e=Zt(r,e,i),i[e]=n}),e=i),e}function tr(t,e){var r;return e&&(r={},xe(e,function(e,n){e=Zt(t,e,r),r[e]=n}),e=r),e}function rr(e,n,t,r){var i;return n&&(n=Me(n)).length>t&&(i=n.substring(0,t),e&&e.throwInternal(M.WARNING,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),i||n}function ir(e){var n=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,t=""+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,n=n.length<2?"0"+n:n,t=t.length<2?"0"+t:t;return(0<i?i+".":"")+(r=r.length<2?"0"+r:r)+":"+t+":"+n+"."+e}var or,ar="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",sr="sampleRate",ur="ProcessLegacy",lr="http.method",cr="not_specified",fr=((n=or=or||{})[n.LocalStorage=0]="LocalStorage",n[n.SessionStorage=1]="SessionStorage",undefined);function dr(e){try{if(P(I()))return null;var n=new Date,t=un(e===or.LocalStorage?"localStorage":"sessionStorage"),r=(t.setItem(n.toString(),n.toString()),t.getItem(n.toString())!==n.toString());if(t.removeItem(n.toString()),!r)return t}catch(i){}return null}function gr(){return pr()?dr(or.SessionStorage):null}function pr(){return fr=fr===undefined?!!dr(or.SessionStorage):fr}function hr(e,n){var t=gr();if(null!==t)try{return t.getItem(n)}catch(r){fr=!1,e.throwInternal(M.WARNING,k.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+ze(r),{exception:vn(r)})}return null}function mr(e,n,t){var r=gr();if(null!==r)try{return r.setItem(n,t),1}catch(i){fr=!1,e.throwInternal(M.WARNING,k.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+ze(i),{exception:vn(i)})}}var vr=fn()||{},yr=0,Ir=[null,null,null,null,null];var Cr=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function Sr(e){return~Cr.indexOf(e.toLowerCase())}e(Tr,xr=function(){});var xr,m=Tr;function Tr(){return xr.call(this)||this}e(Nr,br=function(){this.ver=1,this.sampleRate=100,this.tags={}});var br,wr=Nr;function Nr(e,n,t){var r=br.call(this)||this;return r.name=Qt(e,t)||cr,r.data=n,r.time=Le(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1},r}var _r,n=function(){this.ver=2,this.properties={},this.measurements={}},Ar=(e(Rr,_r=n),Rr.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Rr.dataType="EventData",Rr);function Rr(e,n,t,r){var i=_r.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=Qt(e,n)||cr,i.properties=nr(e,t),i.measurements=tr(e,r),i}var Lr="error",Er="stack",Fr="stackDetails",Mr="errorSrc",kr="message",Pr="description";function Dr(e,n){var t=e;return t&&!Ne(t)&&(JSON&&JSON.stringify?(t=JSON.stringify(e),!n||t&&"{}"!==t||(t=p(e.toString)?e.toString():""+e)):t=e+" - (Missing JSON.stringify)"),t||""}function Br(e,n){var t=e;return e&&((t=t&&!Ne(t)&&(e[kr]||e[Pr])||t)&&!Ne(t)&&(t=Dr(t,!0)),e.filename&&(t=t+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(n&&"String"!==n&&"Object"!==n&&"Error"!==n&&!~(t||"").indexOf(n)?n+": "+t:t)||""}function Or(e){return e&&e.src&&Ne(e.src)&&e.obj&&be(e.obj)}function Ur(e){var e=e||"",n=(e=Ne(e)?e:Ne(e[Er])?e[Er]:""+e).split("\n");return{src:e,obj:n}}function zr(e){var n,t=null;if(e)try{e[Er]?t=Ur(e[Er]):e[Lr]&&e[Lr][Er]?t=Ur(e[Lr][Er]):e.exception&&e.exception[Er]?t=Ur(e.exception[Er]):Or(e)?t=e:Or(e[Fr])?t=e[Fr]:window&&window.opera&&e[kr]?t=function(e){for(var n=[],t=e.split("\n"),r=0;r<t.length;r++){var i=t[r];t[r+1]&&(i+="@"+t[r+1],r++),n.push(i)}return{src:e,obj:n}}(e.message):Ne(e)?t=Ur(e):(n=e[kr]||e[Pr]||"",Ne(e[Mr])&&(n&&(n+="\n"),n+=" from "+e[Mr]),n&&(t=Ur(n)))}catch(r){t=Ur(r)}return t||{src:"",obj:null}}function jr(e){var n="";if(e&&!(n=e.typeName||e.name||""))try{var t=/function (.{1,200})\(/.exec(e.constructor.toString()),n=t&&1<t.length?t[1]:""}catch(r){}return n}function Kr(e){if(e)try{var n,t;if(!Ne(e))return n=jr(e),(t=Dr(e,!1))&&"{}"!==t||(e[Lr]&&(n=jr(e=e[Lr])),t=Dr(e,!0)),t.indexOf(n)&&"String"!==n?n+":"+t:t}catch(r){}return""+(e||"")}e(Wr,qr=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),Wr.CreateAutoException=function(e,n,t,r,i,o,a,s){var u=jr(i||o||e);return{message:Br(e,u),url:n,lineNumber:t,columnNumber:r,error:Kr(i||o||e),evt:Kr(o||e),typeName:u,stackDetails:zr(a||i||o),errorSrc:s}},Wr.CreateFromInterface=function(n,e,t,r){var i=e.exceptions&&Fe(e.exceptions,function(e){return Hr.CreateFromInterface(n,e)});return new Wr(n,S(S({},e),{exceptions:i}),t,r)},Wr.prototype.toInterface=function(){var e=this,n=e.exceptions,t=e.properties,r=e.measurements,i=e.severityLevel,o=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:n instanceof Array&&Fe(n,function(e){return e.toInterface()})||undefined,severityLevel:i,properties:t,measurements:r,problemGroup:o,id:a,isManual:e}},Wr.CreateSimpleException=function(e,n,t,r,i,o){return{exceptions:[{hasFullStack:!0,message:e,stack:i,typeName:n}]}},Wr.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",Wr.dataType="ExceptionData",Wr.formatError=Kr;var qr,Vr=Wr;function Wr(e,n,t,r,i,o){var a=qr.call(this)||this;return a.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if(Ce(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(n){}}(n)?(a.exceptions=n.exceptions,a.properties=n.properties,a.measurements=n.measurements,n.severityLevel&&(a.severityLevel=n.severityLevel),n.id&&(a.id=n.id),n.problemGroup&&(a.problemGroup=n.problemGroup),a.ver=2,P(n.isManual)||(a.isManual=n.isManual)):(a.exceptions=[new Hr(e,n,t=t||{})],a.properties=nr(e,t),a.measurements=tr(e,r),i&&(a.severityLevel=i),o&&(a.id=o)),a}e(Xr,Gr=function(){this.hasFullStack=!0,this.parsedStack=[]}),Xr.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&Fe(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[Er],parsedStack:e||undefined}},Xr.CreateFromInterface=function(e,n){var t=n.parsedStack instanceof Array&&Fe(n.parsedStack,function(e){return Zr.CreateFromInterface(e)})||n.parsedStack;return new Xr(e,S(S({},n),{parsedStack:t}))};var Gr,Hr=Xr;function Xr(e,n,t){var l,r,i,o,a,s=Gr.call(this)||this;return s.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if(Ce(e))return"hasFullStack"in e&&"typeName"in e}catch(n){}}(n)?(s.typeName=n.typeName,s.message=n.message,s[Er]=n[Er],s.parsedStack=n.parsedStack,s.hasFullStack=n.hasFullStack):(r=(o=n)&&o.evt,we(o)||(o=o[Lr]||r||o),s.typeName=Qt(e,jr(o))||cr,s.message=er(e,Br(n||o,s.typeName))||cr,l=n[Fr]||zr(n),s.parsedStack=function(){var e=l.obj;if(e&&0<e.length){var n=[],t=0,r=0;if(D(e,function(e){var e=e.toString();Zr.regex.test(e)&&(e=new Zr(e,t++),r+=e.sizeInBytes,n.push(e))}),32768<r)for(var i=0,o=n.length-1,a=0,s=i,u=o;i<o;){if(32768<(a+=n[i].sizeInBytes+n[o].sizeInBytes)){n.splice(s,u-s+1);break}s=i,u=o,i++,o--}}return n}(),s[Er]=(r=e,a="",(o=l)&&(o.obj?D(o.obj,function(e){a+=e+"\n"}):a=o.src||""),!(n=a)||32768<(e=""+n).length&&(i=e.substring(0,32768),r&&r.throwInternal(M.WARNING,k.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),i||n),s.hasFullStack=be(s.parsedStack)&&0<s.parsedStack.length,t&&(t.typeName=t.typeName||s.typeName)),s}e(Qr,Yr=function(){}),Qr.CreateFromInterface=function(e){return new Qr(e,null)},Qr.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},Qr.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,Qr.baseSize=58;var Yr,Jr,Zr=Qr;function Qr(e,n){var t,r=Yr.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(t=e,r.level=n,r.method="<no_method>",r.assembly=Me(t),r.fileName="",r.line=0,(n=t.match(Qr.regex))&&5<=n.length&&(r.method=Me(n[2])||r.method,r.fileName=Me(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+=Qr.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}Jr=0,e(ni,$r=function(){this.kind=Jr});var $r,ei=ni;function ni(){var e=null!==$r&&$r.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}e(ii,ti=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}}),ii.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",ii.dataType="MetricData";var ti,ri=ii;function ii(e,n,t,r,i,o,a,s,c){var u=ti.call(this)||this,l=(u.aiDataContract={ver:1,metrics:1,properties:0},new ei);return l.count=0<r?r:undefined,l.max=isNaN(o)||null===o?undefined:o,l.min=isNaN(i)||null===i?undefined:i,l.name=Qt(e,n)||cr,l.value=t,l.stdDev=isNaN(a)||null===a?undefined:a,u.metrics=[l],u.properties=nr(e,s),u.measurements=tr(e,c),u}e(ai,oi=n);var oi,n=ai;function ai(){var e=oi.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}e(li,si=n),li.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",li.dataType="PageviewData";var si,ui=li;function li(e,n,t,r,i,o,a){var s=si.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=a&&rr(e,a,128,k.IdTooLong).toString(),s.url=$t(e,t),s.name=Qt(e,n)||cr,isNaN(r)||(s.duration=ir(r)),s.properties=nr(e,i),s.measurements=tr(e,o),s}e(di,ci=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),di.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",di.dataType="RemoteDependencyData";var ci,fi=di;function di(e,n,t,c,r,f,i,o,a,d,g,p){void 0===a&&(a="Ajax");var h,s,u,l=ci.call(this)||this,t=(l.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},l.id=n,l.duration=ir(r),l.success=f,l.resultCode=i+"",l.type=Qt(e,a),n=e,r=o,a=i=f=c,i=(o=t)&&0<o.length?(h=o,u=(t=Ir)[s=yr],vr.createElement?t[s]||(u=t[s]=vr.createElement("a")):u={host:function(){e=null,!h||null!=(t=h.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<t.length&&Ne(t[2])&&0<t[2].length&&(e=t[2]||"",2<t.length&&(n=(t[1]||"").toLowerCase(),t=t[3]||"",e+=t="http"==n&&":80"===t||"https"==n&&":443"===t?"":t));var e,n=e||"";if(n){var t=n.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=t&&3<t.length&&Ne(t[2])&&0<t[2].length)return t[2]+(t[3]||"")}return n}()},u.href=h,++s>=t.length&&(s=0),yr=s,s=(t=u).host,i||(null!=t.pathname?("/"!=((u=0===t.pathname.length?"/":t.pathname)[0]||"")&&(u="/"+u),a=t.pathname,Qt(n,r?r+" "+u:u)):Qt(n,o))):s=f,{target:s,name:i,data:a});return l.data=$t(e,c)||t.data,l.target=Qt(e,t.target),d&&(l.target="".concat(l.target," | ").concat(d)),l.name=Qt(e,t.name),l.properties=nr(e,g),l.measurements=tr(e,p),l}e(mi,gi=function(){this.ver=2,this.properties={},this.measurements={}}),mi.envelopeType="Microsoft.ApplicationInsights.{0}.Message",mi.dataType="MessageData";var gi,pi,hi=mi;function mi(e,n,t,r,i){var o=gi.call(this)||this;return o.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},o.message=er(e,n=n||cr),o.properties=nr(e,r),o.measurements=tr(e,i),t&&(o.severityLevel=t),o}function vi(){var e=pi.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}e(vi,pi=n),e(Ci,yi=vi),Ci.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",Ci.dataType="PageviewPerformanceData";var yi,Ii=Ci;function Ci(e,n,t,r,i,o,a){var s=yi.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=$t(e,t),s.name=Qt(e,n)||cr,s.properties=nr(e,i),s.measurements=tr(e,o),a&&(s.domProcessing=a.domProcessing,s.duration=a.duration,s.networkConnect=a.networkConnect,s.perfTotal=a.perfTotal,s.receivedResponse=a.receivedResponse,s.sentRequest=a.sentRequest),s}e(Ti,Si=m);var Si,xi=Ti;function Ti(e,n){var t=Si.call(this)||this;return t.aiDataContract={baseType:1,baseData:1},t.baseType=e,t.baseData=n,t}function bi(e){var n="ai."+e+".";return function(e){return n+e}}t.SeverityLevel=void 0,(n=t.SeverityLevel||(t.SeverityLevel={}))[n.Verbose=0]="Verbose",n[n.Information=1]="Information",n[n.Warning=2]="Warning",n[n.Error=3]="Error",n[n.Critical=4]="Critical";var wi,Ni,m=bi("application"),n=bi("device"),_i=bi("location"),Ai=bi("operation"),Ri=bi("session"),Li=bi("user"),Ei=bi("cloud"),Fi=bi("internal"),Mi=(Ni={applicationVersion:m("ver"),applicationBuild:m("build"),applicationTypeId:m("typeId"),applicationId:m("applicationId"),applicationLayer:m("layer"),deviceId:n("id"),deviceIp:n("ip"),deviceLanguage:n("language"),deviceLocale:n("locale"),deviceModel:n("model"),deviceFriendlyName:n("friendlyName"),deviceNetwork:n("network"),deviceNetworkName:n("networkName"),deviceOEMName:n("oemName"),deviceOS:n("os"),deviceOSVersion:n("osVersion"),deviceRoleInstance:n("roleInstance"),deviceRoleName:n("roleName"),deviceScreenResolution:n("screenResolution"),deviceType:n("type"),deviceMachineName:n("machineName"),deviceVMName:n("vmName"),deviceBrowser:n("browser"),deviceBrowserVersion:n("browserVersion"),locationIp:_i("ip"),locationCountry:_i("country"),locationProvince:_i("province"),locationCity:_i("city"),operationId:Ai("id"),operationName:Ai("name"),operationParentId:Ai("parentId"),operationRootId:Ai("rootId"),operationSyntheticSource:Ai("syntheticSource"),operationCorrelationVector:Ai("correlationVector"),sessionId:Ri("id"),sessionIsFirst:Ri("isFirst"),sessionIsNew:Ri("isNew"),userAccountAcquisitionDate:Li("accountAcquisitionDate"),userAccountId:Li("accountId"),userAgent:Li("userAgent"),userId:Li("id"),userStoreRegion:Li("storeRegion"),userAuthUserId:Li("authUserId"),userAnonymousUserAcquisitionDate:Li("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Li("authUserAcquisitionDate"),cloudName:Ei("name"),cloudRole:Ei("role"),cloudRoleVer:Ei("roleVer"),cloudRoleInstance:Ei("roleInstance"),cloudEnvironment:Ei("environment"),cloudLocation:Ei("location"),cloudDeploymentUnit:Ei("deploymentUnit"),internalNodeName:Fi("nodeName"),internalSdkVersion:Fi("sdkVersion"),internalAgentVersion:Fi("agentVersion"),internalSnippet:Fi("snippet"),internalSdkSrc:Fi("sdkSrc")},e(ki,wi=function(){var t=this;xe(Ni,function(e,n){t[e]=n})}),ki);function ki(){return wi.call(this)||this}var Pi,Di=new Mi,m=function vo(t,r){var i=[],o=!1;this._get=function(){return i},this._set=function(e){return i=e},ee(vo,this,function(n){n.enqueue=function(e){n.count()>=r.eventsLimitInMem()?o||(t.throwInternal(M.WARNING,k.InMemoryStorageBufferFull,"Maximum in-memory buffer size reached: "+n.count(),!0),o=!0):i.push(e)},n.count=function(){return i.length},n.size=function(){for(var e=i.length,n=0;n<i.length;n++)e+=i[n].length;return r.emitLineDelimitedJson()||(e+=2),e},n.clear=function(){o=!(i=[])},n.getItems=function(){return i.slice(0)},n.batchPayloads=function(e){return e&&0<e.length?r.emitLineDelimitedJson()?e.join("\n"):"["+e.join(",")+"]":null}})},Bi=(e(Oi,Pi=m),Oi);function Oi(e,n){e=Pi.call(this,e,n)||this;return ee(Oi,e,function(e,n){e.markAsSent=function(e){n.clear()},e.clearSent=function(e){}}),e}e(c,Ui=m),c.BUFFER_KEY="AI_buffer",c.SENT_BUFFER_KEY="AI_sentBuffer",c.MAX_BUFFER_SIZE=2e3;var Ui,zi=c;function c(s,u){var e=Ui.call(this,s,u)||this,l=!1;return ee(c,e,function(t,n){var e=o(c.BUFFER_KEY),r=o(c.SENT_BUFFER_KEY),r=t._set(e.concat(r));function i(n,e){var t=[];return D(e,function(e){p(e)||-1!==Ee(n,e)||t.push(e)}),t}function o(e){try{var e=u.namePrefix&&u.namePrefix()?u.namePrefix()+"_"+e:e,n=hr(s,e);if(n){var t=hn().parse(n);if((t=Ne(t)?hn().parse(t):t)&&be(t))return t}}catch(r){s.throwInternal(M.CRITICAL,k.FailedToRestoreStorageBuffer," storage key: "+e+", "+ze(r),{exception:vn(r)})}return[]}function a(e,n){try{var e=u.namePrefix&&u.namePrefix()?u.namePrefix()+"_"+e:e,t=JSON.stringify(n);mr(s,e,t)}catch(r){mr(s,e,JSON.stringify([])),s.throwInternal(M.WARNING,k.FailedToSetStorageBuffer," storage key: "+e+", "+ze(r)+". Buffer cleared",{exception:vn(r)})}}r.length>c.MAX_BUFFER_SIZE&&(r.length=c.MAX_BUFFER_SIZE),a(c.SENT_BUFFER_KEY,[]),a(c.BUFFER_KEY,r),t.enqueue=function(e){t.count()>=c.MAX_BUFFER_SIZE?l||(s.throwInternal(M.WARNING,k.SessionStorageBufferFull,"Maximum buffer size reached: "+t.count(),!0),l=!0):(n.enqueue(e),a(c.BUFFER_KEY,t._get()))},t.clear=function(){n.clear(),a(c.BUFFER_KEY,t._get()),a(c.SENT_BUFFER_KEY,[]),l=!1},t.markAsSent=function(e){a(c.BUFFER_KEY,t._set(i(e,t._get())));var n=o(c.SENT_BUFFER_KEY);n instanceof Array&&e instanceof Array&&((n=n.concat(e)).length>c.MAX_BUFFER_SIZE&&(s.throwInternal(M.CRITICAL,k.SessionStorageBufferFull,"Sent buffer reached its maximum size: "+n.length,!0),n.length=c.MAX_BUFFER_SIZE),a(c.SENT_BUFFER_KEY,n))},t.clearSent=function(e){e=i(e,o(c.SENT_BUFFER_KEY));a(c.SENT_BUFFER_KEY,e)}}),e}var ji="baseType",f="baseData",Ki="properties",qi="true";function d(e,n,t){return je(e,n,t,qe)}function Vi(e,t,r){P(e)||xe(e,function(e,n){_e(n)?r[e]=n:Ne(n)?t[e]=n:pn()&&(t[e]=hn().stringify(n))})}function Wi(t,r){P(t)||xe(t,function(e,n){t[e]=n||r})}function Gi(e,n,t,r){for(var r=new wr(e,r,n),n=(d(r,"sampleRate",t[sr]),(t[f]||{}).startTime&&(r.time=Le(t[f].startTime)),r.iKey=t.iKey,t.iKey.replace(/-/g,"")),n=(r.name=r.name.replace("{0}",n),e),e=t,i=r,o=i.tags=i.tags||{},a=e.ext=e.ext||{},s=e.tags=e.tags||[],u=a.user,u=(u&&(d(o,Di.userAuthUserId,u.authId),d(o,Di.userId,u.id||u.localId)),a.app),u=(u&&d(o,Di.sessionId,u.sesId),a.device),u=(u&&(d(o,Di.deviceId,u.id||u.localId),d(o,Di.deviceType,u.deviceClass),d(o,Di.deviceIp,u.ip),d(o,Di.deviceModel,u.model),d(o,Di.deviceType,u.deviceType)),e.ext.web),e=(u&&(d(o,Di.deviceLanguage,u.browserLang),d(o,Di.deviceBrowserVersion,u.browserVer),d(o,Di.deviceBrowser,u.browser),d(e=(e=(e=i.data=i.data||{})[f]=e[f]||{})[Ki]=e[Ki]||{},"domain",u.domain),d(e,"isManual",u.isManual?qi:null),d(e,"screenRes",u.screenRes),d(e,"userConsent",u.userConsent?qi:null)),a.os),u=(e&&d(o,Di.deviceOS,e.name),a.trace),c=(u&&(d(o,Di.operationParentId,u.parentID),d(o,Di.operationName,Qt(n,u.name)),d(o,Di.operationId,u.traceID)),{}),l=s.length-1;0<=l;l--)xe(s[l],function(e,n){c[e]=n}),s.splice(l,1);xe(s,function(e,n){c[e]=n});e=S(S({},o),c);return e[Di.internalSdkVersion]||(e[Di.internalSdkVersion]="javascript:".concat(Xi.Version)),i.tags=We(e),t.tags=t.tags||[],We(r)}function Hi(e,n){P(n[f])&&e.throwInternal(M.CRITICAL,k.TelemetryEnvelopeInvalid,"telemetryItem.baseData cannot be null.")}var Xi={Version:"2.8.0-beta.2202-07"};function Yi(e,n,t){Hi(e,n);var r={},i={},t=(n[ji]!==Ar.dataType&&(r.baseTypeSource=n[ji]),n[ji]===Ar.dataType?(r=n[f][Ki]||{},i=n[f].measurements||{}):n[f]&&Vi(n[f],r,i),Vi(n.data,r,i),P(t)||Wi(r,t),n[f].name),t=new Ar(e,t,r,i),r=new xi(Ar.dataType,t);return Gi(e,Ar.envelopeType,n,r)}var Ji=function yo(f){ee(yo,this,function(e){function l(a,s){var e="__aiCircularRefCheck",u={};if(!a)return f.throwInternal(M.CRITICAL,k.CannotSerializeObject,"cannot serialize object because it is null or undefined",{name:s},!0),u;if(a[e])return f.throwInternal(M.WARNING,k.CircularReferenceDetected,"Circular reference detected while serializing object",{name:s},!0),u;if(a.aiDataContract)return a[e]=!0,xe(a.aiDataContract,function(e,n){var t=p(n)?1&n():1&n,r=p(n)?4&n():4&n,n=2&n,i=a[e]!==undefined,o=Ce(a[e])&&null!==a[e];!t||i||n?r||(t=o?(n?c:l)(a[e],e):a[e])!==undefined&&(u[e]=t):f.throwInternal(M.CRITICAL,k.MissingRequiredFieldSpecification,"Missing required field specification. The field is required but not present on source",{field:e,name:s})}),delete a[e],u;if("measurements"===s)u=t(a,"number",s);else if("properties"===s)u=t(a,"string",s);else if("tags"===s)u=t(a,"string",s);else if(be(a))u=c(a,s);else{f.throwInternal(M.WARNING,k.CannotSerializeObjectNonSerializable,"Attempting to serialize an object which does not implement ISerializable",{name:s},!0);try{hn().stringify(a),u=a}catch(n){f.throwInternal(M.CRITICAL,k.CannotSerializeObject,n&&p(n.toString)?n.toString():"Error serializing object",null,!0)}}return u}function c(e,n){if(e)if(be(e))for(var t=[],r=0;r<e.length;r++){var i=l(e[r],n+"["+r+"]");t.push(i)}else f.throwInternal(M.CRITICAL,k.ItemNotInArray,"This field was specified as an array in the contract but the item is not an array.\r\n",{name:n},!0);return t}function t(e,t,r){var i;return e&&(i={},xe(e,function(e,n){"string"===t?n===undefined?i[e]="undefined":null===n?i[e]="null":n.toString?i[e]=n.toString():i[e]="invalid field: toString() is not defined.":"number"===t?n===undefined?i[e]="undefined":i[e]=null===n?"null":isNaN(n=parseFloat(n))?"NaN":n:(i[e]="invalid field: "+r+" is of unknown type.",f.throwInternal(M.CRITICAL,i[e],null,!0))})),i}e.serialize=function(e){e=l(e,"root");try{return hn().stringify(e)}catch(n){f.throwInternal(M.CRITICAL,k.CannotSerializeObject,n&&p(n.toString)?n.toString():"Error serializing object",null,!0)}}})};function Zi(){var a=cn(),s=fn(),u=!1,l=!0;ee(Zi,this,function(e){try{var n,t;a&&Se(a,"online",r)&&(Se(a,"offline",i),u=!0),s&&(ye((n=s.body||s).ononline)||(n.ononline=r,n.onoffline=i,u=!0)),!u||(t=gn())&&!P(t.onLine)&&(l=t.onLine)}catch(o){u=!1}function r(){l=!0}function i(){l=!1}e.isListening=u,e.isOnline=function(){var e=!0,n=gn();return u?e=l:n&&!P(n.onLine)&&(e=n.onLine),e},e.isOffline=function(){return!e.isOnline()}})}var Qi=Zi.Offline=new Zi,$i=(eo.prototype.getHashCodeScore=function(e){return this.getHashCode(e)/eo.INT_MAX_VALUE*100},eo.prototype.getHashCode=function(e){if(""===e)return 0;for(;e.length<8;)e=e.concat(e);for(var n=5381,t=0;t<e.length;++t)n=(n<<5)+n+e.charCodeAt(t),n&=n;return Math.abs(n)},eo.INT_MAX_VALUE=2147483647,eo);function eo(){}var no=function(){var n=new $i,t=new Mi;this.getSamplingScore=function(e){return e.tags&&e.tags[t.userId]?n.getHashCodeScore(e.tags[t.userId]):e.ext&&e.ext.user&&e.ext.user.id?n.getHashCodeScore(e.ext.user.id):e.tags&&e.tags[t.operationId]?n.getHashCodeScore(e.tags[t.operationId]):e.ext&&e.ext.telemetryTrace&&e.ext.telemetryTrace.traceID?n.getHashCodeScore(e.ext.telemetryTrace.traceID):100*Math.random()}},to=(ro.prototype.isSampledIn=function(e){var n=this.sampleRate;return null===n||n===undefined||100<=n||e.baseType===ri.dataType||this.samplingScoreGenerator.getSamplingScore(e)<n},ro);function ro(e,n){this.INT_MAX_VALUE=2147483647;n=n||Ln(null);(100<e||e<0)&&(n.throwInternal(M.WARNING,k.SampleRateOutOfRange,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:e},!0),e=100),this.sampleRate=e,this.samplingScoreGenerator=new no}function io(e){try{return e.responseText}catch(n){}return null}function oo(){return{endpointUrl:function(){return"https://dc.services.visualstudio.com/v2/track"},emitLineDelimitedJson:function(){return!1},maxBatchInterval:function(){return 15e3},maxBatchSizeInBytes:function(){return 102400},disableTelemetry:function(){return!1},enableSessionStorageBuffer:function(){return!0},isRetryDisabled:function(){return!1},isBeaconApiDisabled:function(){return!0},disableXhr:function(){return!1},onunloadDisableFetch:function(){return!1},onunloadDisableBeacon:function(){return!1},instrumentationKey:function(){return undefined},namePrefix:function(){return undefined},samplingPercentage:function(){return 100},customHeaders:function(){return undefined},convertUndefined:function(){return undefined},eventsLimitInMem:function(){return 1e4}}}(n={})[Ar.dataType]=Yi,n[hi.dataType]=function(e,n,t){Hi(e,n);var r=n[f].message,i=n[f].severityLevel,o=n[f][Ki]||{},a=n[f].measurements||{},t=(Vi(n.data,o,a),P(t)||Wi(o,t),new hi(e,r,i,o,a)),r=new xi(hi.dataType,t);return Gi(e,hi.envelopeType,n,r)},n[ui.dataType]=function(e,n,t){Hi(e,n);var r,i="duration",o=n[f],i=(P(o)||P(o[Ki])||P(o[Ki][i])?P(n.data)||P(n.data[i])||(r=n.data[i],delete n.data[i]):(r=o[Ki][i],delete o[Ki][i]),n[f]),o=(((n.ext||{}).trace||{}).traceID&&(a=n.ext.trace.traceID),i.id||a),a=i.name,s=i.uri,u=i[Ki]||{},l=i.measurements||{},i=(P(i.refUri)||(u.refUri=i.refUri),P(i.pageType)||(u.pageType=i.pageType),P(i.isLoggedIn)||(u.isLoggedIn=i.isLoggedIn.toString()),P(i[Ki])||xe(i[Ki],function(e,n){u[e]=n}),Vi(n.data,u,l),P(t)||Wi(u,t),new ui(e,a,s,r,u,l,o)),t=new xi(ui.dataType,i);return Gi(e,ui.envelopeType,n,t)},n[Ii.dataType]=function(e,n,t){Hi(e,n);var r=n[f],i=r.name,o=r.uri||r.url,a=r[Ki]||{},s=r.measurements||{},t=(Vi(n.data,a,s),P(t)||Wi(a,t),new Ii(e,i,o,undefined,a,s,r)),i=new xi(Ii.dataType,t);return Gi(e,Ii.envelopeType,n,i)},n[Vr.dataType]=function(e,n,t){Hi(e,n);var r=n[f].measurements||{},i=n[f][Ki]||{},t=(Vi(n.data,i,r),P(t)||Wi(i,t),n[f]),t=Vr.CreateFromInterface(e,t,i,r),i=new xi(Vr.dataType,t);return Gi(e,Vr.envelopeType,n,i)},n[ri.dataType]=function(e,n,t){Hi(e,n);var r=n[f],i=r[Ki]||{},o=r.measurements||{},t=(Vi(n.data,i,o),P(t)||Wi(i,t),new ri(e,r.name,r.average,r.sampleCount,r.min,r.max,r.stdDev,i,o)),r=new xi(ri.dataType,t);return Gi(e,ri.envelopeType,n,r)},n[fi.dataType]=function(e,n,t){Hi(e,n);var r=n[f].measurements||{},i=n[f][Ki]||{},t=(Vi(n.data,i,r),P(t)||Wi(i,t),n[f]);if(P(t))return e.warnToConsole("Invalid input for dependency data"),null;var o=t[Ki]&&t[Ki][lr]?t[Ki][lr]:"GET",o=new fi(e,t.id,t.target,t.name,t.duration,t.success,t.responseCode,o,t.type,t.correlationContext,i,r),t=new xi(fi.dataType,o);return Gi(e,fi.envelopeType,n,t)};var ao,so=n,uo=(e(lo,ao=se),lo.constructEnvelope=function(e,n,t,r){e=n===e.iKey||P(n)?e:S(S({},e),{iKey:n});return(so[e.baseType]||Yi)(t,e,r)},lo);function lo(){var T,b,t,F,w,N,_,A=ao.call(this)||this,R=(A.priority=1001,!(A.identifier="AppInsightsChannelPlugin")),L={},E=0;return A._senderConfig=oo(),ee(lo,A,function(l,m){function c(e,n,t,r,i,o){var a=null;l._appId||(a=f(o))&&a.appId&&(l._appId=a.appId),(e<200||300<=e)&&0!==e?(301!==e&&307!==e&&308!==e||s(t))&&!l._senderConfig.isRetryDisabled()&&I(e)?(d(n),l.diagLog().throwInternal(M.WARNING,k.TransmissionFailed,". Response code "+e+". Will retry to send "+n.length+" items.")):l._onError(n,i):Qi.isOffline()?l._senderConfig.isRetryDisabled()||(d(n,10),l.diagLog().throwInternal(M.WARNING,k.TransmissionFailed,". Offline - Response Code: ".concat(e,". Offline status: ").concat(Qi.isOffline(),". Will retry to send ").concat(n.length," items."))):(s(t),206===e?(a=a||f(o))&&!l._senderConfig.isRetryDisabled()?l._onPartialSuccess(n,a):l._onError(n,i):(T=0,l._onSuccess(n,r)))}function s(e){return!(10<=w)&&!P(e)&&""!==e&&e!==l._senderConfig.endpointUrl()&&(l._senderConfig.endpointUrl=function(){return e},++w,1)}function n(e,n){_?_(e,!1):a(e)}function o(e){var n=gn(),t=l._buffer,r=l._senderConfig.endpointUrl(),i=l._buffer.batchPayloads(e),i=new Blob([i],{type:"text/plain;charset=UTF-8"}),r=n.sendBeacon(r,i);return r&&(t.markAsSent(e),l._onSuccess(e,e.length)),r}function a(e,n){if(be(e)&&0<e.length&&!o(e)){for(var t=[],r=0;r<e.length;r++){var i=e[r];o([i])||t.push(i)}0<t.length&&(N(t,!0),l.diagLog().throwInternal(M.WARNING,k.TransmissionFailed,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function u(n,e){var t=new XMLHttpRequest,r=l._senderConfig.endpointUrl();try{t[ar]=!0}catch(i){}t.open("POST",r,e),t.setRequestHeader("Content-type","application/json"),Sr(r)&&t.setRequestHeader("Sdk-Context","appId"),D(De(L),function(e){t.setRequestHeader(e,L[e])}),t.onreadystatechange=function(){return l._xhrReadyStateChange(t,n,n.length)},t.onerror=function(e){return l._onError(n,h(t),e)};e=l._buffer.batchPayloads(n);t.send(e),l._buffer.markAsSent(n)}function v(e,n){if(be(e)){for(var t=e.length,r=0;r<e.length;r++)t+=e[r].length;E+t<=65e3?i(e,!1):yn()?a(e):(N&&N(e,!0),l.diagLog().throwInternal(M.WARNING,k.TransmissionFailed,". Failed to send telemetry with Beacon API, retried with xhrSender."))}}function y(e,n){i(e,!0)}function i(t,r){var e=l._senderConfig.endpointUrl(),n=l._buffer.batchPayloads(t),i=new Blob([n],{type:"application/json"}),o=new Headers,a=n.length,n=!1,s=!1,e=(Sr(e)&&o.append("Sdk-Context","appId"),D(De(L),function(e){o.append(e,L[e])}),(i={method:"POST",headers:o,body:i})[ar]=!0,r||(n=i.keepalive=!0,E+=a),new Request(e,i));try{e[ar]=!0}catch(u){}l._buffer.markAsSent(t);try{fetch(e).then(function(n){r||(E-=a,a=0),s||(s=!0,n.ok?n.text().then(function(e){c(n.status,t,n.url,t.length,n.statusText,e)}):l._onError(t,n.statusText))})["catch"](function(e){r||(E-=a,a=0),s||(s=!0,l._onError(t,e.message))})}catch(u){s||l._onError(t,vn(u))}n&&!s&&(s=!0,l._onSuccess(t,t.length))}function f(e){try{if(e&&""!==e){var n=hn().parse(e);if(n&&n.itemsReceived&&n.itemsReceived>=n.itemsAccepted&&n.itemsReceived-n.itemsAccepted===n.errors.length)return n}}catch(t){l.diagLog().throwInternal(M.CRITICAL,k.InvalidBackendResponse,"Cannot parse the response. "+ze(t),{response:e})}return null}function d(e,n){if(void 0===n&&(n=1),e&&0!==e.length){var t=l._buffer;t.clearSent(e),T++;for(var r=0,i=e;r<i.length;r++){var o=i[r];t.enqueue(o)}n=T<=1?10:(e=1+Math.floor((Math.pow(2,T)-1)/2*Math.random()*10),Math.max(Math.min(e*=n,3600),10)),e=Ue()+1e3*n;b=e,g()}}function g(){var e;t||R||(e=b?Math.max(0,b-Ue()):0,e=Math.max(l._senderConfig.maxBatchInterval(),e),t=setTimeout(function(){t=null,l.triggerSend(!0,null,1)},e))}function p(){clearTimeout(t),b=t=null}function I(e){return 408===e||429===e||500===e||503===e}function h(e,n){return e?"XMLHttpRequest,Status:"+e.status+",Response:"+io(e)||e.response||"":n}function C(n,e){var t=l._buffer,r=cn(),i=new XDomainRequest,r=(i.onload=function(){return l._xdrOnLoad(i,n)},i.onerror=function(e){return l._onError(n,S(i),e)},r&&r.location&&r.location.protocol||"");if(l._senderConfig.endpointUrl().lastIndexOf(r,0))return l.diagLog().throwInternal(M.WARNING,k.TransmissionFailed,". Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol."),void t.clear();r=l._senderConfig.endpointUrl().replace(/^(https?:)/,""),i.open("POST",r),r=t.batchPayloads(n);i.send(r),t.markAsSent(n)}function S(e,n){return e?"XDomainRequest,Response:"+io(e)||"":n}function x(e,n){var t="getNotifyMgr",t=l.core[t]?l.core[t]():l.core._notificationManager;if(t&&t.eventsSendRequest)try{t.eventsSendRequest(e,n)}catch(r){l.diagLog().throwInternal(M.CRITICAL,k.NotificationException,"send request notification failed: "+ze(r),{exception:vn(r)})}}l.pause=function(){p(),R=!0},l.resume=function(){R&&(R=!1,b=null,l._buffer.size()>l._senderConfig.maxBatchSizeInBytes()&&l.triggerSend(!0,null,10),g())},l.flush=function(e,n,t){if(void 0===e&&(e=!0),!R){p();try{l.triggerSend(e,null,t||1)}catch(r){l.diagLog().throwInternal(M.CRITICAL,k.FlushFailed,"flush failed, telemetry will not be collected: "+ze(r),{exception:vn(r)})}}},l.onunloadFlush=function(){if(!R)if(!1!==l._senderConfig.onunloadDisableBeacon()&&!1!==l._senderConfig.isBeaconApiDisabled()||!yn())l.flush();else try{l.triggerSend(!0,n,2)}catch(e){l.diagLog().throwInternal(M.CRITICAL,k.FailedToSendQueuedTelemetry,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+ze(e),{exception:vn(e)})}},l.teardown=function(){Ve("Method not implemented.")},l.addHeader=function(e,n){L[e]=n},l.initialize=function(e,n,t,r){m.initialize(e,n,t,r);var i=l._getTelCtx(),o=l.identifier,t=(F=new Ji(n.logger),b=null,T=0,l._sender=null,w=0,l.diagLog()),r=(xe(oo(),function(e,n){l._senderConfig[e]=function(){return i.getConfig(o,e,n())}}),l._buffer=new(l._senderConfig.enableSessionStorageBuffer()&&pr()?zi:Bi)(t,l._senderConfig),l._sample=new to(l._senderConfig.samplingPercentage(),t),!P(e.disableInstrumentationKeyValidation)&&e.disableInstrumentationKeyValidation||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(e.instrumentationKey)||t.throwInternal(M.CRITICAL,k.InvalidInstrumentationKey,"Invalid Instrumentation key "+e.instrumentationKey),!Sr(l._senderConfig.endpointUrl())&&l._senderConfig.customHeaders()&&0<l._senderConfig.customHeaders().length&&D(l._senderConfig.customHeaders(),function(e){A.addHeader(e.header,e.value)}),l._senderConfig),n=null;!r.disableXhr()&&Cn()?n=C:!r.disableXhr()&&Sn()&&(n=u),!n&&In()&&(n=y),N=n||u,!r.isBeaconApiDisabled()&&yn()&&(n=a),l._sender=n||u,_=!r.onunloadDisableFetch()&&In(!0)?v:yn()?a:!r.disableXhr()&&Cn()?C:!r.disableXhr()&&Sn()?u:N},l.processTelemetry=function(e,t){t=l._getTelCtx(t);try{if(l._senderConfig.disableTelemetry())return;if(!e)return void t.diagLog().throwInternal(M.CRITICAL,k.CannotSendEmptyTelemetry,"Cannot send empty telemetry");if(e.baseData&&!e.baseType)return void t.diagLog().throwInternal(M.CRITICAL,k.InvalidEvent,"Cannot send telemetry without baseData and baseType");if(e.baseType||(e.baseType="EventData"),!l._sender)return void t.diagLog().throwInternal(M.CRITICAL,k.SenderNotInitialized,"Sender was not initialized");if(!l._sample.isSampledIn(e))return void t.diagLog().throwInternal(M.WARNING,k.TelemetrySampledAndNotSent,"Telemetry item was sampled out and not sent",{SampleRate:l._sample.sampleRate});e[sr]=l._sample.sampleRate;var n=l._senderConfig.convertUndefined()||undefined,r=e.iKey||l._senderConfig.instrumentationKey(),i=lo.constructEnvelope(e,r,t.diagLog(),n);if(!i)return void t.diagLog().throwInternal(M.CRITICAL,k.CreateEnvelopeError,"Unable to create an AppInsights envelope");var o=!1;if(e.tags&&e.tags[ur]&&(D(e.tags[ur],function(e){try{e&&!1===e(i)&&(o=!0,t.diagLog().warnToConsole("Telemetry processor check returns false"))}catch(n){t.diagLog().throwInternal(M.CRITICAL,k.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+ze(n),{exception:vn(n)},!0)}}),delete e.tags[ur]),o)return;var a=F.serialize(i),s=l._buffer;s.size()+a.length>l._senderConfig.maxBatchSizeInBytes()&&l.triggerSend(!0,null,10),s.enqueue(a),g()}catch(u){t.diagLog().throwInternal(M.WARNING,k.FailedAddingTelemetryToBuffer,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+ze(u),{exception:vn(u)})}l.processNext(e,t)},l._xhrReadyStateChange=function(e,n,t){4===e.readyState&&c(e.status,n,e.responseURL,t,h(e),io(e)||e.response)},l.triggerSend=function(e,n,t){if(void 0===e&&(e=!0),!R)try{var r,i=l._buffer;l._senderConfig.disableTelemetry()?i.clear():0<i.count()&&(r=i.getItems(),x(t||0,e),n?n.call(A,r,e):l._sender(r,e)),p()}catch(o){i=function(e){var n=((e=(e=void 0===e?null:e)?e:(n=gn()||{})?(n.userAgent||"").toLowerCase():"")||"").toLowerCase();if(Te(n,$e))return e=fn()||{},Math.max(parseInt(n.split($e)[1]),e.documentMode||0);if(Te(n,en)){e=parseInt(n.split(en)[1]);if(e)return e+4}return null}();(!i||9<i)&&l.diagLog().throwInternal(M.CRITICAL,k.TransmissionFailed,"Telemetry transmission failed, some telemetry will be lost: "+ze(o),{exception:vn(o)})}},l._onError=function(e,n,t){l.diagLog().throwInternal(M.WARNING,k.OnError,"Failed to send telemetry.",{message:n}),l._buffer.clearSent(e)},l._onPartialSuccess=function(e,n){for(var t=[],r=[],i=0,o=n.errors.reverse();i<o.length;i++){var a=o[i],s=e.splice(a.index,1)[0];(I(a.statusCode)?r:t).push(s)}0<e.length&&l._onSuccess(e,n.itemsAccepted),0<t.length&&l._onError(t,h(null,["partial success",n.itemsAccepted,"of",n.itemsReceived].join(" "))),0<r.length&&(d(r),l.diagLog().throwInternal(M.WARNING,k.TransmissionFailed,"Partial success. Delivered: "+e.length+", Failed: "+t.length+". Will retry to send "+r.length+" our of "+n.itemsReceived+" items"))},l._onSuccess=function(e,n){l._buffer.clearSent(e)},l._xdrOnLoad=function(e,n){var t=io(e);!e||t+""!="200"&&""!==t?(t=f(t))&&t.itemsReceived&&t.itemsReceived>t.itemsAccepted&&!l._senderConfig.isRetryDisabled()?l._onPartialSuccess(n,t):l._onError(n,S(e)):(T=0,l._onSuccess(n,0))}}),A}co.prototype.initialize=function(){this.core=new Pt;var e=[],n=new uo;e.push(n),this.core.initialize(this.config,e),n.initialize(this.config,this.core,e),this.pollInternalLogs()},co.prototype.track=function(e){this.core.track(e)},co.prototype.flush=function(n){void 0===n&&(n=!0),D(this.core.getTransmissionControls(),function(e){D(e,function(e){n?e.flush():e.triggerSend(n,null,1)})})},co.prototype.pollInternalLogs=function(){this.core.pollInternalLogs()},co.prototype.stopPollingInternalLogs=function(){this.core.stopPollingInternalLogs()},co.prototype.getSKUDefaults=function(){this.config.diagnosticLogInterval=this.config.diagnosticLogInterval&&0<this.config.diagnosticLogInterval?this.config.diagnosticLogInterval:1e4};_i=co;function co(e){(P(e)||P(e.instrumentationKey))&&Ve("Invalid input configuration"),this.config=e,this.getSKUDefaults(),this.initialize()}t.AppInsightsCore=Pt,t.ApplicationInsights=_i,t.CoreUtils=Yt,t.Sender=uo;Ai=t,Ri="__esModule",Li={value:!0},Ei=Object.defineProperty;if(Ei)try{return void Ei(Ai,Ri,Li)}catch(Io){}typeof Li.value!==undefined&&(Ai[Ri]=Li.value)};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}));
5
+ var e=this,n=function(C){"use strict";var S="function",x="object",T="undefined",o="prototype",b="hasOwnProperty",t=Object,w=t[o],_=t.assign,N=t.create,e=t.defineProperty,A=w[b],E=null;function R(e){return void 0===e&&(e=!0),E&&e||(typeof globalThis!==T&&globalThis&&(E=globalThis),typeof self!==T&&self&&(E=self),typeof window!==T&&window&&(E=window),typeof global!==T&&global&&(E=global)),E}function L(e){throw new TypeError(e)}function X(e){if(N)return N(e);if(null==e)return{};var n=typeof e;function t(){}return n!==x&&n!==S&&L("Object prototype may only be an Object:"+e),t[o]=e,new t}(R()||{}).Symbol,(R()||{}).Reflect;var Y=_||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])w[b].call(n,i)&&(e[i]=n[i]);return e},J=function(e,n){return(J=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[b](t)&&(e[t]=n[t])})(e,n)};function n(e,n){function t(){this.constructor=e}typeof n!==S&&null!==n&&L("Class extends value "+n+" is not a constructor or null"),J(e,n),e[o]=null===n?X(n):(t[o]=n[o],new t)}function Z(e,n){for(var t=0,r=n.length,i=e.length;t<r;t++,i++)e[i]=n[t];return e}var $="constructor",p="prototype",Q="function",ee="_dynInstFuncs",ne="_isDynProxy",te="_dynClass",re="_dynInstChk",ie=re,oe="_dfOpts",ae="_unknown_",se="__proto__",ue="useBaseInst",ce="setInstFuncs",le=Object,fe=le.getPrototypeOf,de=0;function ge(e,n){return e&&le[p].hasOwnProperty.call(e,n)}function pe(e){return e&&(e===le[p]||e===Array[p])}function he(e){return pe(e)||e===Function[p]}function ve(e){if(e){if(fe)return fe(e);e=e[se]||e[p]||(e[$]?e[$][p]:null);if(e)return e}return null}function me(e,n){var t=[],r=le.getOwnPropertyNames;if(r)t=r(e);else for(var i in e)"string"==typeof i&&ge(e,i)&&t.push(i);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function ye(e,n,t){return n!==$&&typeof e[n]===Q&&(t||ge(e,n))}function Ie(e){throw new TypeError("DynamicProto: "+e)}function Ce(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function Se(e,n){return ge(e,p)?e.name||n||ae:((e||{})[$]||{}).name||n||ae}function v(e,r,n,t){ge(e,p)||Ie("theClass is an invalid class definition.");var i,o,a,s,u,c,l=e[p],f=(function(e){if(fe)for(var n=[],t=ve(r);t&&!he(t)&&!Ce(n,t);){if(t===e)return 1;n.push(t),t=ve(t)}}(l)||Ie("["+Se(e)+"] is not in class hierarchy of ["+Se(r)+"]"),null),e=(ge(l,te)?f=l[te]:(f="_dynCls$"+Se(e,"_")+"$"+de,de++,l[te]=f),v[oe]),d=!!e[ue],g=(d&&t&&t[ue]!==undefined&&(d=!!t[ue]),o={},me(i=r,function(e){!o[e]&&ye(i,e,!1)&&(o[e]=i[e])}),o),d=(n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[ne]&&o&&!1!==(r=e[ee]||{})[ie]&&(i=(r[n[te]]||{})[t]||i),function(){return i.apply(e,arguments)}}for(var i={},a=(me(t,function(e){i[e]=r(n,t,e)}),ve(e)),s=[];a&&!he(a)&&!Ce(s,a);)me(a,function(e){!i[e]&&ye(a,e,!fe)&&(i[e]=r(n,a,e))}),s.push(a),a=ve(a);return i}(l,r,g,d)),!!fe&&!!e[ce]);a=l,n=f,s=r,u=g,e=!1!==(d=d&&t?!!t[ce]:d),pe(a)||(l=s[ee]=s[ee]||{},c=l[n]=l[n]||{},!1!==l[ie]&&(l[ie]=!!e),me(s,function(e){var t,r,i;ye(s,e,!1)&&s[e]!==u[e]&&(c[e]=s[e],delete s[e],ge(a,e)&&(!a[e]||a[e][ne])||(a[e]=(t=a,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&ge(t,te)){var o=e[ee]||{};if((i=(o[t[te]]||{})[n])||Ie("Missing ["+n+"] "+Q),!i[re]&&!1!==o[ie]){for(var a=!ge(e,n),s=ve(e),u=[];a&&s&&!he(s)&&!Ce(u,s);){var c=s[n];if(c){a=c===r;break}u.push(s),s=ve(s)}try{a&&(e[n]=i),i[re]=1}catch(l){o[ie]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?ve(t)[e]:n)!==Q&&Ie("["+e+"] is not a "+Q),n)).apply(this,arguments)})[ne]=1,i)))}))}v[oe]={setInstFuncs:!0,useBaseInst:!0};var M="",xe="processTelemetry",Te="priority",be="setNextPlugin",we="isInitialized",_e="teardown",Ne="core",Ae="disabled",Ee="_doTeardown",Re="processNext",Le="resume",Fe="pause",Me="NotificationListener",ke="add"+Me,De="remove"+Me,Pe="eventsSent",Be="eventsDiscarded",Ue="eventsSendRequest",Oe="perfEvent",ze="toISOString",je="endsWith",Ke="indexOf",qe="trim",Me="toString",Ve="constructor",We=e,r=t.freeze,Ge=(t.seal,t.keys),i=String[o],He=i[qe],Xe=i[je],Ye=(i.startsWith,Date[o][ze]),i=Array.isArray,Je=w[Me],Ze=A[Me],$e=Ze.call(t),Qe=/-([a-z])/g,en=/([^\w\d_$])/g,nn=/^(\d+[\w\d_$])/,tn=Object.getPrototypeOf;function F(e){return e===undefined||typeof e===T}function k(e){return null===e||F(e)}function rn(e){return!k(e)}function D(e){return!(!e||typeof e!==x)}function P(e){return!(!e||typeof e!==S)}function on(e){var n=e;return e&&z(e)?(n=(n=e.replace(Qe,function(e,n){return n.toUpperCase()})).replace(en,"_")).replace(nn,function(e,n){return"_"+n}):n}function B(e,n){if(e)for(var t in e)A.call(e,t)&&n.call(e,t,e[t])}function U(e,n){return!(!e||!n||!~e.indexOf(n))}var O=i||function(e){return!(!e||"[object Array]"!==Je.call(e))};function an(e){return!(!e||"[object Error]"!==Je.call(e))}function z(e){return"string"==typeof e}function sn(e){return"number"==typeof e}function un(e){return"boolean"==typeof e}function cn(e){return e&&"object"==typeof e&&(!(e=(tn||function(e){if(e){if(tn)return tn(e);e=e.__proto__||e[o]||e[Ve];if(e)return e}return null})(e))||typeof(e=e[Ve]&&A.call(e,Ve)?e[Ve]:e)===S&&Ze.call(e)===$e)}function ln(e){if(e){if(Ye)return e[ze]();var n;return e&&e.getUTCFullYear?(n=function(e){e=""+e;return 1===e.length?"0"+e:e},e.getUTCFullYear()+"-"+n(1+e.getUTCMonth())+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"):void 0}}function j(e,n,t){var r=e.length;try{for(var i=0;i<r&&!(i in e&&-1===n.call(t||e,e[i],i,e));i++);}catch(o){}}function fn(e,n,t){if(e){if(e[Ke])return e[Ke](n,t);var r=e.length,t=t||0;try{for(var i=Math.max(0<=t?t:r-Math.abs(t),0);i<r;i++)if(i in e&&e[i]===n)return i}catch(o){}}return-1}function dn(e,n,t){if(e){if(e.map)return e.map(n,t);var r=e.length,i=t||e,o=Array(r);try{for(var a=0;a<r;a++)a in e&&(o[a]=n.call(i,e[a],e))}catch(s){}}return o}function g(e){return e&&(He&&e[qe]?e[qe]():e.replace?e.replace(/^\s+|\s+$/g,""):e)}var gn=!{toString:null}.propertyIsEnumerable("toString"),pn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function hn(e){var n=typeof e;if(n===S||n===x&&null!==e||L("objKeys called on non-object"),!gn&&Ge)return Ge(e);var t,r=[];for(t in e)e&&A.call(e,t)&&r.push(t);if(gn)for(var i=pn.length,o=0;o<i;o++)e&&A.call(e,pn[o])&&r.push(pn[o]);return r}function vn(e,n,t,r){if(We)try{var i={enumerable:!0,configurable:!0};return t&&(i.get=t),r&&(i.set=r),We(e,n,i),!0}catch(o){}return!1}var mn=r||function(e){return e};function yn(){var e=Date;return e.now?e.now():(new e).getTime()}function K(e){return an(e)?e.name:M}function q(e,n,t,r,i){var o=t;!e||(o=e[n])===t||i&&!i(o)||r&&!r(t)||(e[n]=o=t)}function In(e){return!e}function Cn(e){return!!e}function V(e){throw Error(e)}function Sn(e,n,t,r,i){var o,a,s;void 0===i&&(i=!0),e&&n&&t&&(i||F(e[n]))&&(e[n]=(o=r,s=a=null,P(i=t)?a=i:s=i,function(){var e=arguments;if(s=a?a():s)return s[o].apply(s,e)}))}function xn(e){var t={};return B(e,function(e,n){t[e]=n,F(t[n])||V("["+n+"] exists for "+e),t[n]=e}),mn(t)}function Tn(e){return e&&_?t(_({},e)):e}var bn="window",wn="navigator",_n="location",Nn="console",An="JSON",En="crypto",Rn="msCrypto",Ln="msie",Fn="trident/",Mn="XMLHttpRequest",kn=null,Dn=null,Pn=null,Bn=null;function Un(e,n){var t,r=!1;if(e){try{(r=n in e)||(t=e[o])&&(r=n in t)}catch(i){}if(!r)try{r=!F((new e)[n])}catch(i){}}return r}function h(e){var n=R();return n&&n[e]?n[e]:e===bn&&On()?window:null}function On(){return typeof window===x&&window}function zn(){return On()?window:h(bn)}function jn(){return typeof document===x&&document?document:h("document")}function Kn(){return!(typeof navigator!==x||!navigator)}function qn(){return Kn()?navigator:h(wn)}function Vn(){return typeof JSON===x&&JSON||null!==h(An)}function Wn(){return Vn()?JSON||h(An):null}function Gn(){var e=qn();return!e||e.userAgent===Dn&&null!==kn||(e=((Dn=e.userAgent)||M).toLowerCase(),kn=U(e,Ln)||U(e,Fn)),kn}function W(e){var n=Object[o].toString.call(e),t=M;return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Vn()&&(t=Wn().stringify(e)),n+t}function Hn(){return Bn=null===Bn?Kn()&&!!qn().sendBeacon:Bn}function Xn(e){var n=!1;try{var n=!!h("fetch"),t=h("Request");n&&e&&t&&(n=Un(t,"keepalive"))}catch(r){}return n}function Yn(){return Pn=null===Pn&&(Pn=typeof XDomainRequest!==T)&&Jn()?Pn&&!Un(h(Mn),"withCredentials"):Pn}function Jn(){var e=!1;try{e=!!h(Mn)}catch(n){}return e}var Zn,$n=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],Qn=null;function et(e){var n=Qn;return(n=n||!0===e.disableDbgExt?n:Qn||(e=h("Microsoft"),Qn=e?e.ApplicationInsights:Qn))?n.ChromeDbgExt:null}function nt(e){return e?'"'+e.replace(/\"/g,M)+'"':M}function tt(e,n){var t,r=typeof console!==T?console:h(Nn);r&&(t="log",P(r[t=r[e]?e:t])&&r[t](n))}it.dataType="MessageData";var rt=it;function it(e,n,t,r){void 0===t&&(t=!1),this.messageId=e,this.message=(t?"AI: ":"AI (Internal): ")+e;t=M,Vn()&&(t=Wn().stringify(r)),e=(n?" message:"+nt(n):M)+(r?" props:"+nt(t):M);this.message+=e}function ot(e,n){return(e||{}).logger||new at(n)}var at=function Zo(r){this.identifier="DiagnosticLogger",this.queue=[];var i=0,s={};v(Zo,this,function(o){function e(e,n){e=r[e];return k(e)?n:e}function a(e,n){var t=et(r);t&&t.diagLog&&t.diagLog(e,n)}k(r)&&(r={}),o.consoleLoggingLevel=function(){return e("loggingLevelConsole",0)},o.telemetryLoggingLevel=function(){return e("loggingLevelTelemetry",1)},o.maxInternalMessageLimit=function(){return e("maxMessageLimit",25)},o.enableDebugExceptions=function(){return e("enableDebugExceptions",!1)},o.throwInternal=function(e,n,t,r,i){n=new rt(n,t,i=void 0!==i&&i,r);if(o.enableDebugExceptions())throw n;t=1===e?"errorToConsole":"warnToConsole";F(n.message)?a("throw"+(1===e?"Critical":"Warning"),n):(r=o.consoleLoggingLevel(),i?(i=+n.messageId,!s[i]&&e<=r&&(o[t](n.message),s[i]=!0)):e<=r&&o[t](n.message),o.logInternalMessage(e,n))},o.warnToConsole=function(e){tt("warn",e),a("warning",e)},o.errorToConsole=function(e){tt("error",e),a("error",e)},o.resetInternalMessageCount=function(){i=0,s={}},o.logInternalMessage=function(e,n){var t,r;i>=o.maxInternalMessageLimit()||(r=!0,t="AITR_"+n.messageId,s[t]?r=!1:s[t]=!0,r&&(e<=o.telemetryLoggingLevel()&&(o.queue.push(n),i++,a(1===e?"error":"warn",n)),i===o.maxInternalMessageLimit()&&(r=new rt(23,t="Internal events throttle limit per PageView reached for this app.",!1),o.queue.push(r),1===e?o.errorToConsole(t):o.warnToConsole(t))))}})},st=(ut.ParentContextKey="parent",ut.ChildrenContextKey="childEvts",ut);function ut(e,i,n){var t,o=this,a=!1;o.start=yn(),o.name=e,o.isAsync=n,o.isChildEvt=function(){return!1},P(i)&&(a=vn(o,"payload",function(){return!t&&P(i)&&(t=i(),i=null),t})),o.getCtx=function(e){return e?(e===ut.ParentContextKey||e===ut.ChildrenContextKey?o:o.ctx||{})[e]:null},o.setCtx=function(e,n){e&&(e===ut.ParentContextKey?(o[e]||(o.isChildEvt=function(){return!0}),o[e]=n):e===ut.ChildrenContextKey?o[e]=n:(o.ctx=o.ctx||{})[e]=n)},o.complete=function(){var e=0,n=o.getCtx(ut.ChildrenContextKey);if(O(n))for(var t=0;t<n.length;t++){var r=n[t];r&&(e+=r.time)}o.time=yn()-o.start,o.exTime=o.time-e,o.complete=function(){},!a&&P(i)&&(o.payload=i())}}var ct=function $o(n){this.ctx={},v($o,this,function(t){t.create=function(e,n,t){return new st(e,n,t)},t.fire=function(e){e&&(e.complete(),n&&P(n.perfEvent)&&n.perfEvent(e))},t.setCtx=function(e,n){e&&((t.ctx=t.ctx||{})[e]=n)},t.getCtx=function(e){return(t.ctx||{})[e]}})},lt="CoreUtils.doPerf";function ft(e,n,t,r,i){if(e)if(e=P(e.getPerfMgr)?e.getPerfMgr():e){var o,a=void 0,s=e.getCtx(lt);try{if(a=e.create(n(),r,i))return s&&a.setCtx&&(a.setCtx(st.ParentContextKey,s),s.getCtx&&s.setCtx&&((o=s.getCtx(st.ChildrenContextKey))||(o=[],s.setCtx(st.ChildrenContextKey,o)),o.push(a))),e.setCtx(lt,a),t(a)}catch(u){a&&a.setCtx&&a.setCtx("exception",u)}finally{a&&e.fire(a),e.setCtx(lt,s)}}t()}var dt=4294967296,gt=4294967295,pt=!1,ht=123456789,vt=987654321;function mt(e){e<0&&(e>>>=0),ht=123456789+e&gt,vt=987654321-e&gt,pt=!0}function yt(){try{var e=2147483647&yn();mt((Math.random()*dt^e)+e)}catch(n){}}function It(e){return 0<e?Math.floor(Ct()/gt*(e+1))>>>0:0}function Ct(e){var n=0,t=h(En)||h(Rn);return 0===(n=t&&t.getRandomValues?t.getRandomValues(new Uint32Array(1))[0]&gt:n)&&Gn()&&(pt||yt(),n=St()&gt),0===n&&(n=Math.floor(dt*Math.random()|0)),e||(n>>>=0),n}function St(e){var n=((vt=36969*(65535&vt)+(vt>>16)&gt)<<16)+(65535&(ht=18e3*(65535&ht)+(ht>>16)&gt))>>>0&gt|0;return e||(n>>>=0),n}function xt(e){void 0===e&&(e=22);for(var n=Ct()>>>0,t=0,r=M;r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(Ct()<<2&4294967295|3&n)>>>0,t=0);return r}var Tt=e,bt="2.7.3",wt="."+xt(6),_t=0;function Nt(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function At(e,n){return on(e+_t+++((n=void 0!==n&&n)?"."+bt:"")+wt)}function Et(e){var o={id:At("_aiData-"+(e||"")+"."+bt),accept:Nt,get:function(e,n,t,r){var i=e[o.id];return i?i[on(n)]:(r&&((i=function(e,n){var t=n[e.id];if(!t){t={};try{Nt(n)&&!function(e,n,t){if(Tt)try{return Tt(e,n,{value:t,enumerable:!1,configurable:!0}),1}catch(r){}}(n,e.id,t)&&(n[e.id]=t)}catch(r){}}return t}(o,e))[on(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}};return o}var Rt=Et("plugin");function Lt(e){return Rt.get(e,"state",{},!0)}function Ft(t,r){for(var i,e=[],n=null,o=t.getNext();o;){var a=o.getPlugin();a&&(n&&P(n[be])&&P(a[xe])&&n[be](a),(P(a[we])?a[we]():(i=Lt(a))[we])||e.push(a),n=a,o=o.getNext())}j(e,function(e){var n=t.core();e.initialize(t.getCfg(),n,r,t.getNext()),i=Lt(e),e[Ne]||i[Ne]||(i[Ne]=n),i[we]=!0,delete i[_e]})}function Mt(e){return e.sort(function(e,n){var t=0,r=P(n[xe]);return P(e[xe])?t=r?e[Te]-n[Te]:1:r&&(t=-1),t})}var kt="TelemetryPluginChain",Dt="_hasRun",Pt="_getTelCtx",Bt=0;function Ut(e,a,t,n){var r=null,i=[],o=(null!==n&&(r=n?function(e,n,t,r){for(;e;){if(e.getPlugin()===r)return e;e=e.getNext()}return jt([r],n,t)}(e,a,t,n):e),{_next:function(){var e,n=r;return r=n?n.getNext():null,n||(e=i)&&0<e.length&&(j(e,function(e){try{e.func.call(e.self,e.args)}catch(n){t.logger.throwInternal(2,73,"Unexpected Exception during onComplete - "+W(n))}}),i=[]),n},ctx:{core:function(){return t},diagLog:function(){return ot(t,a)},getCfg:function(){return a},getExtCfg:s,getConfig:function(e,n,t){void 0===t&&(t=!1);var r,e=s(e,null);return e&&!k(e[n])?r=e[n]:a&&!k(a[n])&&(r=a[n]),k(r)?t:r},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(e){r=e},iterate:function(e){for(;n=o._next();){var n=n.getPlugin();n&&e(n)}},onComplete:function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e&&i.push({func:e,self:F(n)?o.ctx:n,args:t})}}});function s(e,n,t){var r,i,o;return void 0===n&&(n={}),void 0===t&&(t=0),(r=a&&(i=a.extensionConfig)&&e?i[e]:r)?D(n)&&0!==t&&(o=function d(){var e=arguments,n=e[0]||{},t=e.length,r=!1,i=1;for(0<t&&un(n)&&(r=n,n=e[i]||{},i++),D(n)||(n={});i<t;i++){var o,a,s,u,c=e[i],l=O(c),f=D(c);for(o in c)(l&&o in c||f&&A.call(c,o))&&(a=c[o],s=void 0,r&&a&&((s=O(a))||cn(a))&&(u=n[o],s?O(u)||(u=[]):cn(u)||(u={}),a=d(r,u,a)),a!==undefined&&(n[o]=a))}return n}(!0,n,r),a&&2===t&&B(n,function(e){var n;k(o[e])&&!k(n=a[e])&&(o[e]=n)})):r=n,r}return o}function Ot(e,t,r,n){var i=Ut(e,t,r,n),o=i.ctx;return o.processNext=function(e){var n=i._next();return n&&n.processTelemetry(e,o),!n},o.createNew=function(e,n){return Ot((e=O(e=void 0===e?null:e)?jt(e,t,r,n):e)||o.getNext(),t,r,n)},o}function zt(e,t,r,n){var i=Ut(e,t,r,n),o=i.ctx;return o.processNext=function(e){var n=i._next();return n&&n.unload(o,e),!n},o.createNew=function(e,n){return zt((e=O(e=void 0===e?null:e)?jt(e,t,r,n):e)||o.getNext(),t,r,n)},o}function jt(e,n,t,r){var i,o=null,a=!r;return O(e)&&0<e.length&&(i=null,j(e,function(e){(a=!a&&r===e||a)&&e&&P(e.processTelemetry)&&(e=Kt(e,n,t),o=o||e,i&&i._setNext(e),i=e)})),r&&!o?jt([r],n,t):o}function Kt(u,r,i){var c=null,o=P(u.processTelemetry),a=P(u.setNextPlugin),l=u?u.identifier+"-"+u.priority+"-"+Bt++:"Unknown-0-"+Bt++,s={getPlugin:function(){return u},getNext:function(){return c},processTelemetry:function(t,e){var n;f(e=e||(n=(n=u&&P(u[Pt])?u[Pt]():n)||Ot(s,r,i)),function(e){if(!u||!o)return!1;var n=Lt(u);return!n[_e]&&!n[Ae]&&(a&&u.setNextPlugin(c),u.processTelemetry(t,e),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||e.processNext(t)},unload:function(r,i){f(r,function(){var e,n,t=!1;return u&&(e=Lt(u),n=u[Ne]||e.core,!u||n&&n!==r[Ne]()||e[_e]||(e[Ne]=null,e[_e]=!0,e[we]=!1,u[_e]&&!0===u[_e](r,i)&&(t=!0))),t},"unload",function(){},i.isAsync)||r.processNext(i)},_id:l,_setNext:function(e){c=e}};function f(t,r,i,e,n){var o=!1,a=u?u.identifier:kt,s=(s=t[Dt])||(t[Dt]={});return t.setNext(c),u&&ft(t[Ne](),function(){return a+":"+i},function(){s[l]=!0;try{var e=c?c._id:M;e&&(s[e]=!1),o=r(t)}catch(n){e=!c||s[c._id];e&&(o=!0),c&&e||t.diagLog().throwInternal(1,73,"Plugin ["+u.identifier+"] failed during "+i+" - "+W(n)+", run flags: "+W(s))}},e,n),o}return mn(s)}var qt="toGMTString",Vt="toUTCString",Wt="cookie",Gt="expires",Ht="enabled",Xt="isCookieUseDisabled",Yt="disableCookiesUsage",Jt="_ckMgr",Zt=null,$t=null,Qt=null,er=jn(),nr={},tr={};function rr(e){return!e||e.isEnabled()}function ir(e,i){q(t=(e=e||tr).cookieCfg=e.cookieCfg||{},"domain",e.cookieDomain,rn,k),q(t,"path",e.cookiePath||"/",null,k),k(t[Ht])&&(n=void 0,F(e[Xt])||(n=!e[Xt]),F(e[Yt])||(n=!e[Yt]),t[Ht]=n);var n,t,c=t,l=c.path||"/",f=c.domain,r=!1!==c[Ht],d={isEnabled:function(){var e=r&&or(i),n=tr[Jt];return e&&n&&d!==n?rr(n):e},setEnabled:function(e){r=!1!==e},set:function(e,n,t,r,i){var o,a,s,u=!1;return rr(d)&&(o={},-1!=(s=(a=g(n||M)).indexOf(";"))&&(a=g(n.substring(0,s)),o=ar(n.substring(1+s))),q(o,"domain",r||f,Cn,F),k(t)||(s=Gn(),F(o[Gt])&&0<(n=yn()+1e3*t)&&((r=new Date).setTime(n),q(o,Gt,sr(r,s?qt:Vt)||sr(r,s?qt:Vt)||M,Cn)),s||q(o,"max-age",M+t,null,F)),(n=typeof location===x&&location?location:h(_n))&&"https:"===n.protocol&&(q(o,"secure",null,null,F),($t=null===$t?!(z(r=(qn()||{}).userAgent)&&(U(r,"CPU iPhone OS 12")||U(r,"iPad; CPU OS 12")||U(r,"Macintosh; Intel Mac OS X 10_14")&&U(r,"Version/")&&U(r,"Safari")||U(r,"Macintosh; Intel Mac OS X 10_14")&&function(e,n){var t=!1;if(!e||(t=e===n))return t;if(Xe)return e[je](n);var r=e,i=n,t=!1,e=r?r.length:0;if(e&&40<=e&&!(t=r===i)){for(var o=e-1,a=39;0<=a;a--){if(r[o]!=i[a])return;o--}t=!0}return t}(r,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||U(r,"Chrome/5")||U(r,"Chrome/6")||U(r,"UnrealEngine")&&!U(r,"Chrome")||U(r,"UCBrowser/12")||U(r,"UCBrowser/11"))):$t)&&q(o,"SameSite","None",null,F)),q(o,"path",i||l,null,F),(c.setCookie||cr)(e,ur(a,o)),u=!0),u},get:function(e){var n=M;return rr(d)?(c.getCookie||function(e){var n,t=M;return er&&(n=er[Wt]||M,Qt!==n&&(nr=ar(n),Qt=n),t=g(nr[e]||M)),t})(e):n},del:function(e,n){return!!rr(d)&&d.purge(e,n)},purge:function(e,n){var t,r=!1;return or(i)&&((t={}).path=n||"/",t[Gt]="Thu, 01 Jan 1970 00:00:01 GMT",n=t,Gn()||(n["max-age"]="0"),(c.delCookie||cr)(e,ur(M,n)),r=!0),r}};return d[Jt]=d}function or(e){if(null===Zt){Zt=!1;try{Zt=(er||{})[Wt]!==undefined}catch(n){e&&e.throwInternal(2,68,"Cannot access document.cookie - "+K(n),{exception:W(n)})}}return Zt}function ar(e){var t={};return e&&e.length&&j(g(e).split(";"),function(e){var n;(e=g(e||M))&&(-1==(n=e.indexOf("="))?t[e]=null:t[g(e.substring(0,n))]=g(e.substring(1+n)))}),t}function sr(e,n){return P(e[n])?e[n]():null}function ur(e,n){var t=e||M;return B(n,function(e,n){t+="; "+e+(k(n)?M:"="+n)}),t}function cr(e,n){er&&(er[Wt]=e+"="+n)}var lr="extensionConfig",fr=500,dr="Channel has invalid priority - ";function gr(e,n,t,r){n&&O(n)&&0<n.length&&(j(n=n.sort(function(e,n){return e.priority-n.priority}),function(e){e.priority<fr&&V(dr+e.identifier)}),e.push({queue:mn(n),chain:jt(n,t,r)}))}function pr(){var n=[];return{add:function(e){e&&n.push(e)},run:function(t,r){j(n,function(e){try{e(t,r)}catch(n){t.diagLog().throwInternal(2,73,"Unexpected error calling unload handler - "+W(n))}}),n=[]}}}var hr,vr="getPlugin",Me=function Qo(){var o,a,u,c,l,f=this;function n(e){var n,e=e=void 0===e?null:e;return e||(n=a||Ot(null,{},f.core),e=u&&u[vr]?n.createNew(null,u[vr]):n.createNew(null,u)),e}function d(){o=!1,f.core=null,u=a=null,l=[],c=pr()}d(),v(Qo,f,function(s){s.initialize=function(e,n,t,r){e&&q(e,lr,[],null,k),!r&&n&&(r=n.getProcessTelContext().getNext());var i=u;u&&u[vr]&&(i=u[vr]()),f.core=n,a=Ot(r,e,n,i),o=!0},s.teardown=function(e,n){var t,r,i,o;if(s.core&&(!e||s.core===e.core()))return r=!1,i=e||zt(null,{},s.core,u&&u[vr]?u[vr]():u),o=n||{reason:0,isAsync:!1},s[Ee]&&!0===s[Ee](i,o,a)?t=!0:a(),t;function a(){r||(r=!0,c.run(i,n),j(l,function(e){e.rm()}),l=[],!0===t&&i.processNext(o),d())}},s._addHook=function(e){e&&(O(e)?l=l.concat(e):l.push(e))},Sn(s,"_addUnloadCb",function(){return c},"add")}),f.diagLog=function(e){return n(e).diagLog()},f[we]=function(){return o},f.setInitialized=function(e){o=e},f[be]=function(e){u=e},f.processNext=function(e,n){n?n.processNext(e):u&&P(u.processTelemetry)&&u.processTelemetry(e,null)},f._getTelCtx=n},mr=(n(yr,hr=Me),yr);function yr(){var n,u,e=hr.call(this)||this;function t(){n=0,u=[]}return e.identifier="TelemetryInitializerPlugin",e.priority=199,t(),v(yr,e,function(s,e){s.addTelemetryInitializer=function(e){var t={id:n++,fn:e};return u.push(t),{remove:function(){j(u,function(e,n){if(e.id===t.id)return u.splice(n,1),-1})}}},s.processTelemetry=function(e,n){for(var t=!1,r=u.length,i=0;i<r;++i){var o=u[i];if(o)try{if(!1===o.fn.call(null,e)){t=!0;break}}catch(a){n.diagLog().throwInternal(1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+K(a),{exception:W(a)},!0)}}t||s.processNext(e,n)},s[Ee]=function(){t()}}),e}var Ir="Plugins must provide initialize method",Cr="_notificationManager",Sr="SDK is still unloading...";function xr(e,n){return new ct(n)}function Tr(n,e){var t=!1;return j(e,function(e){if(e===n)return t=!0,-1}),t}function br(e,t,r,i){j(e,function(e){if(e&&e[t])if(r)setTimeout(function(){return i(e)},0);else try{i(e)}catch(n){}})}var wr,_r=function ea(e){this.listeners=[];var t=!!(e||{}).perfEvtsSendAll;v(ea,this,function(r){r[ke]=function(e){r.listeners.push(e)},r[De]=function(e){for(var n=fn(r.listeners,e);-1<n;)r.listeners.splice(n,1),n=fn(r.listeners,e)},r[Pe]=function(n){br(r.listeners,Pe,!0,function(e){e[Pe](n)})},r[Be]=function(n,t){br(r.listeners,Be,!0,function(e){e[Be](n,t)})},r[Ue]=function(n,t){br(r.listeners,Ue,t,function(e){e[Ue](n,t)})},r[Oe]=function(n){!n||!t&&n.isChildEvt()||br(r.listeners,Oe,!1,function(e){n.isAsync?setTimeout(function(){return e[Oe](n)},0):e[Oe](n)})}})},Nr=(n(Ar,wr=function na(){var d,o,g,p,h,y,I,C,S,x,T,b,w,_,N,A,E,R,L=0;v(na,this,function(v){var n,t,e,r;function a(){d=!1,v.logger=new at({loggingLevelConsole:1}),v.config=null,v._extensions=[],_=new mr,w=!(o=[]),A=At("AIBaseCore",!(N=b=T=x=C=S=I=y=h=p=g=null)),E=pr()}function m(){return Ot(c(),v.config,v)}function s(e){r=v.logger,i=fr,o=[],a={},j(g=C,function(e){(k(e)||k(e.initialize))&&V(Ir);var n=e.priority,t=e.identifier;e&&n&&(k(a[n])?a[n]=t:r.warnToConsole("Two extensions have same priority #"+n+" - "+a[n]+", "+t)),(!n||n<i)&&o.push(e)});var r,i,o,a,n,t,s,u,c,l,f,d,g={all:g,core:o},g=(S=g.core,I=null,g.all);function p(){return Ot(null,l.config,l,null)}function h(e,n,t,r){var i=e?e.length+1:1;function o(){0==--i&&(r&&r(),r=null)}0<i&&j(e,function(e){e&&0<e.queue.length?(e=e.chain,(e=n.createNew(e)).onComplete(o),t(e)):i--}),o()}b=mn((f=g,n=e,t=v,u=[],T&&j(T,function(e){return gr(u,e,n,t)}),f&&(s=[],j(f,function(e){e.priority>fr&&s.push(e)}),gr(u,s,n,t)),u)),x?(-1!=(f=g.indexOf(x))&&g.splice(f,1),-1!=(f=S.indexOf(x))&&S.splice(f,1),x._setQueue(b)):(c=b,l=v,d=!1,(f={identifier:"ChannelControllerPlugin",priority:fr,initialize:function(n,t,r,e){d=!0,j(c,function(e){e&&0<e.queue.length&&Ft(Ot(e.chain,n,t),r)})},isInitialized:function(){return d},processTelemetry:function(n,e){h(c,e||p(),function(e){e[Re](n)},function(){e[Re](n)})}})[Fe]=function(){h(c,p(),function(e){e.iterate(function(e){e[Fe]&&e[Fe]()})},null)},f[Le]=function(){h(c,p(),function(e){e.iterate(function(e){e[Le]&&e[Le]()})},null)},f[_e]=function(e,n){var t=n||{reason:0,isAsync:!1};return h(c,e,function(e){e[Re](t)},function(){e[Re](t),d=!1}),!0},f.getChannel=function(n){var t=null;return c&&0<c.length&&j(c,function(e){if(e&&0<e.queue.length&&(j(e.queue,function(e){if(e.identifier===n)return t=e,-1}),t))return-1}),t},f.flush=function(t,e,r,i){var o=1,n=!1,a=null;function s(){o--,n&&0===o&&(a&&(clearTimeout(a),a=null),e&&e(n),e=null)}i=i||5e3,h(c,p(),function(e){e.iterate(function(e){var n;e.flush&&(o++,n=!1,e.flush(t,function(){n=!0,s()},r)||n||(t&&null==a?a=setTimeout(function(){a=null,s()},i):s()))})},function(){n=!0,s()})},f._setQueue=function(e){c=e},x=f),g.push(x),S.push(x),v._extensions=Mt(g),x.initialize(e,v,g),Ft(m(),g),v._extensions=mn(Mt(S||[])).slice()}function u(n){var t=null;return j(v._extensions,function(e){if(e.identifier===n&&e!==x&&e!==_)return t=e,-1}),(t=!t&&x?x.getChannel(n):t)?{plugin:t,setEnabled:function(e){Lt(t)[Ae]=!e},isEnabled:function(){var e=Lt(t);return!e[_e]&&!e[Ae]},remove:function(e,n){l([t],{reason:1,isAsync:e=void 0===e||e},function(e){e&&s(v.config),n&&n(e)})}}:null}function c(){var e;return I||(~(e=(S||[]).slice()).indexOf(_)||e.push(_),I=jt(Mt(e),v.config,v)),I}function l(o,e,n){var t;o&&0<o.length?((t=zt(jt(o,v.config,v),v.config,v)).onComplete(function(){var r=!1,t=[],i=(j(C,function(e,n){Tr(e,o)?r=!0:t.push(e)}),C=t,[]);T&&(j(T,function(e,n){var t=[];j(e,function(e){Tr(e,o)?r=!0:t.push(e)}),i.push(t)}),T=i),n&&n(r)}),t.processNext(e)):n(!1)}function i(){var e=v.logger?v.logger.queue:[];e&&(j(e,function(e){e={name:N||"InternalMessageId: "+e.messageId,iKey:v.config.instrumentationKey,time:ln(new Date),baseType:rt.dataType,baseData:{message:e.message}};v.track(e)}),e.length=0)}function f(e){var n=v.logger;n?n.throwInternal(2,73,e):V(e)}a(),v.isInitialized=function(){return d},v.initialize=function(e,n,t,r){w&&V(Sr),v.isInitialized()&&V("Core should not be initialized more than once"),e&&!k(e.instrumentationKey)||V("Please provide instrumentation key"),g=r,v[Cr]=r,v.config=e||{};var i,o,r=e,r=(!0===r.disableDbgExt&&R&&(g[De](R),R=null),g&&!R&&!0!==r.disableDbgExt&&(R=function(e){if(!Zn){Zn={};for(var n=0;n<$n.length;n++)Zn[$n[n]]=function(n,t){return function(){var e=et(t);e&&(e=e.listener)&&e[n]&&e[n].apply(e,arguments)}}($n[n],e)}return Zn}(r),g[ke](R)),e);!r.enablePerfMgr&&h&&(h=null),r.enablePerfMgr&&q(v.config,"createPerfMgr",xr),e.extensions=k(e.extensions)?[]:e.extensions,e?!(o=e[lr])&&k(o)&&(o=F(i)?{}:i,e[lr]=o):o=F(i)?{}:i,o.NotificationManager=g,t&&(v.logger=t),(C=[]).push.apply(C,Z(Z([],n),e.extensions)),T=(e||{}).channels,s(e),0===v.getTransmissionControls().length&&V("No channels available"),d=!0,v.releaseQueue()},v.getTransmissionControls=function(){var n=[];return j(b,function(e){n.push(e.queue)}),mn(n)},v.track=function(e){q(e,"iKey",v.config.instrumentationKey,null,In),q(e,"time",ln(new Date),null,In),q(e,"ver","4.0",null,k),!w&&v.isInitialized()?m().processNext(e):o.push(e)},v.getProcessTelContext=m,v.getNotifyMgr=function(){var e;return g||(g=X(((e={})[ke]=function(e){},e[De]=function(e){},e[Pe]=function(e){},e[Be]=function(e,n){},e[Ue]=function(e,n){},e)),v[Cr]=g),g},v[ke]=function(e){g&&g[ke](e)},v[De]=function(e){g&&g[De](e)},v.getCookieMgr=function(){return y=y||ir(v.config,v.logger)},v.setCookieMgr=function(e){y=e},v.getPerfMgr=function(){return p||h||v.config&&v.config.enablePerfMgr&&P(v.config.createPerfMgr)&&(h=v.config.createPerfMgr(v,v.getNotifyMgr())),p||h||null},v.setPerfMgr=function(e){p=e},v.eventCnt=function(){return o.length},v.releaseQueue=function(){var e;d&&0<o.length&&(e=o,o=[],j(e,function(e){m().processNext(e)}))},v.pollInternalLogs=function(e){N=e;e=v.config.diagnosticLogInterval;return e&&0<e||(e=1e4),L&&clearInterval(L),L=setInterval(function(){i()},e)},v.stopPollingInternalLogs=function(){L&&(clearInterval(L),L=0,i())},t=function(){return _},e=["addTelemetryInitializer"],void 0===r&&(r=!0),(n=v)&&t&&D(n)&&O(e)&&j(e,function(e){z(e)&&Sn(n,e,t,e,r)}),v.unload=function(e,n,t){d||V("SDK is not initialized"),w&&V(Sr);var r={reason:50,isAsync:e=void 0===e||e,flushComplete:!1},i=zt(c(),v.config,v);function o(e){r.flushComplete=e,w=!0,E.run(i,r),v.stopPollingInternalLogs(),i.processNext(r)}i.onComplete(function(){a(),n&&n(r)},v),x?x.flush(e,o,6,t):o(!0)},v.getPlugin=u,v.addPlugin=function(e,n,t,r){if(void 0===t&&(t=!0),e)return(i=u(e.identifier))&&!n?(r&&r(!1),void f("Plugin ["+e.identifier+"] is already loaded!")):void(i?l([i.plugin],{reason:2,isAsync:t},function(e){e?o():r&&r(!1)}):o());var i;function o(){C.push(e),s(v.config),r&&r(!0)}r&&r(!1),f(Ir)},v.evtNamespace=function(){return A},Sn(v,"addUnloadCb",function(){return E},"add")})}),Ar);function Ar(){var e=wr.call(this)||this;return v(Ar,e,function(t,i){function n(e){var n=t.getNotifyMgr();n&&n.eventsDiscarded([e],2)}t.initialize=function(e,n,t,r){i.initialize(e,n,t||new at(e),r||new _r(e))},t.track=function(e){ft(t.getPerfMgr(),function(){return"AppInsightsCore:track"},function(){if(null===e&&(n(e),V("Invalid telemetry item")),k(e.name))throw n(e),Error("telemetry name required");i.track(e)},function(){return{item:e}},!e.sync)}}),e}var Er="on",Rr="attachEvent",Lr="addEventListener",Fr="events",Mr=(At("aiEvtPageHide"),At("aiEvtPageShow"),1),kr=Et("events"),Dr=/^([^.]*)(?:\.(.+)|)/;function Pr(e){return e&&e.replace?e.replace(/^\s*\.*|\.*\s*$/g,""):e}function Br(e,n,t,r,i){void 0===i&&(i=!1);var o,a,s,u,c,l,f,d,g=!1;if(e)try{c=n,(l=r)&&(f="",O(l)?(f="",j(l,function(e){(e=Pr(e))&&("."!==e[0]&&(e="."+e),f+=e)})):f=Pr(l),f&&(c=(c||"")+(f="."!==f[0]?"."+f:f)));var p,h={type:(d=Dr.exec(c)||[])[1],ns:(d[2]||"").split(".").sort().join(".")},v=h,m=t,y=i,I=!1;(u=e)&&v&&v.type&&m&&(u[Lr]?(u[Lr](v.type,m,y),I=!0):u[Rr]&&(u[Rr](Er+v.type,m),I=!0)),(g=I)&&kr.accept(e)&&(p={guid:Mr++,evtName:h,handler:t,capture:i},o=h.type,((s=kr.get(e,Fr,{},a=void 0===a||a))[o]||(s[o]=[])).push(p))}catch(C){}return g}function Ur(e,n,t,r){return Br(e,n,t,null,r=void 0!==r&&r)}var Or,zr=null,jr={_canUseCookies:undefined,isTypeof:function(e,n){return typeof e===n},isUndefined:F,isNullOrUndefined:k,hasOwnProperty:function(e,n){return!(!e||!A.call(e,n))},isFunction:P,isObject:D,isDate:function(e){return!(!e||"[object Date]"!==Je.call(e))},isArray:O,isError:an,isString:z,isNumber:sn,isBoolean:un,toISOString:ln,arrForEach:j,arrIndexOf:fn,arrMap:dn,arrReduce:function(e,n,t){var r;if(e){if(e.reduce)return e.reduce(n,t);var i=e.length,o=0;if(3<=arguments.length)r=t;else{for(;o<i&&!(o in e);)o++;r=e[o++]}for(;o<i;)o in e&&(r=n(r,e[o],o,e)),o++}return r},strTrim:g,objCreate:X,objKeys:hn,objDefineAccessors:vn,addEventHandler:function(e,n,t){var r=!1,i=zn(),i=(i&&(r=Br(i,e,n,t),r=Br(i.body,e,n,t)||r),jn());return i&&Br(i,e,n,t)||r},dateNow:yn,isIE:Gn,disableCookies:function(){var e,n;(e=ir[Jt]||tr[Jt])||(e=ir[Jt]=ir(void 0,void 0),tr[Jt]=e),e=e,n=jr._canUseCookies,null===zr&&(zr=[],Or=n,vn(jr,"_canUseCookies",function(){return Or},function(n){Or=n,j(zr,function(e){e.setEnabled(n)})})),-1===fn(zr,e)&&zr.push(e),un(n)&&e.setEnabled(n),un(Or)&&e.setEnabled(Or),e.setEnabled(!1)},newGuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(Kr,function(e){var n=0|It(15);return("x"===e?n:3&n|8).toString(16)})},perfNow:function(){var e=h("performance");return e&&e.now?e.now():yn()},newId:xt,randomValue:It,random32:Ct,mwcRandomSeed:function(e){e?mt(e):yt()},mwcRandom32:St,generateW3CId:function(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=M,r=0;r<4;r++)t+=n[15&(e=Ct())]+n[e>>4&15]+n[e>>8&15]+n[e>>12&15]+n[e>>16&15]+n[e>>20&15]+n[e>>24&15]+n[e>>28&15];var i=n[8+(3&Ct())|0];return t.substr(0,8)+t.substr(9,4)+"4"+t.substr(13,3)+i+t.substr(16,3)+t.substr(19,12)}},Kr=/[xy]/g,G=xn({CRITICAL:1,WARNING:2}),H=xn({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});function qr(e,n,t){var r,i,o=n.length,a=(e=e,(n=n)&&150<(n=g(n.toString())).length&&(i=n.substring(0,150),e&&e.throwInternal(2,H.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),i||n);if(a.length!==o){for(var s=0,u=a;t[u]!==undefined;)s++,u=a.substring(0,147)+(r=void 0,(r="00"+s).substr(r.length-3));a=u}return a}function m(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=g(n)).toString().length>t&&(r=n.toString().substring(0,t),e&&e.throwInternal(2,H.StringValueTooLong,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function Vr(e,n){return Xr(e,n,2048,H.UrlTooLong)}function Wr(e,n){var t;return n&&32768<n.length&&(t=n.substring(0,32768),e&&e.throwInternal(2,H.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n}function Gr(r,e){var i;return e&&(i={},B(e,function(e,n){if(D(n)&&Vn())try{n=Wn().stringify(n)}catch(t){r&&r.throwInternal(2,H.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:t},!0)}n=m(r,n,8192),e=qr(r,e,i),i[e]=n}),e=i),e}function Hr(t,e){var r;return e&&(r={},B(e,function(e,n){e=qr(t,e,r),r[e]=n}),e=r),e}function Xr(e,n,t,r){var i;return n&&(n=g(n)).length>t&&(i=n.substring(0,t),e&&e.throwInternal(2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),i||n}var Yr="";function Jr(e){var n=Yr+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,t=Yr+Math.floor(e/6e4)%60,r=Yr+Math.floor(e/36e5)%24,i=Math.floor(e/864e5),e=1===(e=Yr+e%1e3).length?"00"+e:2===e.length?"0"+e:e,n=n.length<2?"0"+n:n,t=t.length<2?"0"+t:t,r=r.length<2?"0"+r:r;return(0<i?i+".":Yr)+r+":"+t+":"+n+"."+e}var Zr="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",$r="sampleRate",Qr="ProcessLegacy",ei="http.method",ni="not_specified",ti=xn({LocalStorage:0,SessionStorage:1}),ri=(xn({AI:0,AI_AND_W3C:1,W3C:2}),undefined);function ii(e){try{if(k(R()))return null;var n=new Date,t=h(e===ti.LocalStorage?"localStorage":"sessionStorage"),r=(t.setItem(n.toString(),n.toString()),t.getItem(n.toString())!==n.toString());if(t.removeItem(n.toString()),!r)return t}catch(i){}return null}function oi(){return ai()?ii(ti.SessionStorage):null}function ai(){return ri=ri===undefined?!!ii(ti.SessionStorage):ri}function si(e,n){var t=oi();if(null!==t)try{return t.getItem(n)}catch(r){ri=!1,e.throwInternal(2,H.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+K(r),{exception:W(r)})}return null}function ui(e,n,t){var r=oi();if(null!==r)try{r.setItem(n,t)}catch(i){ri=!1,e.throwInternal(2,H.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+K(i),{exception:W(i)})}}var ci=jn()||{},li=0,fi=[null,null,null,null,null];var di=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function gi(e){return~di.indexOf(e.toLowerCase())}n(hi,pi=function(){});var pi,i=hi;function hi(){return pi.call(this)||this}n(yi,vi=function(){this.ver=1,this.sampleRate=100,this.tags={}});var vi,mi=yi;function yi(e,n,t){var r=vi.call(this)||this;return r.name=m(e,t)||ni,r.data=n,r.time=ln(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1},r}var Ii,r=function(){this.ver=2,this.properties={},this.measurements={}},Ci=(n(Si,Ii=r),Si.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Si.dataType="EventData",Si);function Si(e,n,t,r){var i=Ii.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=m(e,n)||ni,i.properties=Gr(e,t),i.measurements=Hr(e,r),i}var xi="error",u="stack",Ti="stackDetails",bi="errorSrc",wi="message",_i="description";function Ni(e,n){var t=e;return t&&!z(t)&&(JSON&&JSON.stringify?(t=JSON.stringify(e),!n||t&&"{}"!==t||(t=P(e.toString)?e.toString():""+e)):t=e+" - (Missing JSON.stringify)"),t||""}function Ai(e,n){var t=e;return e&&((t=t&&!z(t)&&(e[wi]||e[_i])||t)&&!z(t)&&(t=Ni(t,!0)),e.filename&&(t=t+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(n&&"String"!==n&&"Object"!==n&&"Error"!==n&&!~(t||"").indexOf(n)?n+": "+t:t)||""}function Ei(e){return e&&e.src&&z(e.src)&&e.obj&&O(e.obj)}function Ri(e){var e=e||"",n=(e=z(e)?e:z(e[u])?e[u]:""+e).split("\n");return{src:e,obj:n}}function Li(e){var n,t=null;if(e)try{e[u]?t=Ri(e[u]):e[xi]&&e[xi][u]?t=Ri(e[xi][u]):e.exception&&e.exception[u]?t=Ri(e.exception[u]):Ei(e)?t=e:Ei(e[Ti])?t=e[Ti]:window&&window.opera&&e[wi]?t=function(e){for(var n=[],t=e.split("\n"),r=0;r<t.length;r++){var i=t[r];t[r+1]&&(i+="@"+t[r+1],r++),n.push(i)}return{src:e,obj:n}}(e.message):z(e)?t=Ri(e):(n=e[wi]||e[_i]||"",z(e[bi])&&(n&&(n+="\n"),n+=" from "+e[bi]),n&&(t=Ri(n)))}catch(r){t=Ri(r)}return t||{src:"",obj:null}}function Fi(e){var n="";if(e&&!(n=e.typeName||e.name||""))try{var t=/function (.{1,200})\(/.exec(e.constructor.toString()),n=t&&1<t.length?t[1]:""}catch(r){}return n}function Mi(e){if(e)try{var n,t;if(!z(e))return n=Fi(e),(t=Ni(e,!1))&&"{}"!==t||(e[xi]&&(n=Fi(e=e[xi])),t=Ni(e,!0)),t.indexOf(n)&&"String"!==n?n+":"+t:t}catch(r){}return""+(e||"")}n(a,ki=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),a.CreateAutoException=function(e,n,t,r,i,o,a,s){var u=Fi(i||o||e);return{message:Ai(e,u),url:n,lineNumber:t,columnNumber:r,error:Mi(i||o||e),evt:Mi(o||e),typeName:u,stackDetails:Li(a||i||o),errorSrc:s}},a.CreateFromInterface=function(n,e,t,r){var i=e.exceptions&&dn(e.exceptions,function(e){return Bi.CreateFromInterface(n,e)});return new a(n,Y(Y({},e),{exceptions:i}),t,r)},a.prototype.toInterface=function(){var e=this,n=e.exceptions,t=e.properties,r=e.measurements,i=e.severityLevel,o=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:n instanceof Array&&dn(n,function(e){return e.toInterface()})||undefined,severityLevel:i,properties:t,measurements:r,problemGroup:o,id:a,isManual:e}},a.CreateSimpleException=function(e,n,t,r,i,o){return{exceptions:[{hasFullStack:!0,message:e,stack:i,typeName:n}]}},a.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",a.dataType="ExceptionData",a.formatError=Mi;var ki,Di=a;function a(e,n,t,r,i,o){var a=ki.call(this)||this;return a.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if(D(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(n){}}(n)?(a.exceptions=n.exceptions,a.properties=n.properties,a.measurements=n.measurements,n.severityLevel&&(a.severityLevel=n.severityLevel),n.id&&(a.id=n.id),n.problemGroup&&(a.problemGroup=n.problemGroup),a.ver=2,k(n.isManual)||(a.isManual=n.isManual)):(a.exceptions=[new Bi(e,n,t=t||{})],a.properties=Gr(e,t),a.measurements=Hr(e,r),i&&(a.severityLevel=i),o&&(a.id=o)),a}n(Ui,Pi=function(){this.hasFullStack=!0,this.parsedStack=[]}),Ui.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&dn(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[u],parsedStack:e||undefined}},Ui.CreateFromInterface=function(e,n){var t=n.parsedStack instanceof Array&&dn(n.parsedStack,function(e){return ji.CreateFromInterface(e)})||n.parsedStack;return new Ui(e,Y(Y({},n),{parsedStack:t}))};var Pi,Bi=Ui;function Ui(e,n,t){var c,r,i,o,a,s=Pi.call(this)||this;return s.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if(D(e))return"hasFullStack"in e&&"typeName"in e}catch(n){}}(n)?(s.typeName=n.typeName,s.message=n.message,s[u]=n[u],s.parsedStack=n.parsedStack,s.hasFullStack=n.hasFullStack):(r=(o=n)&&o.evt,an(o)||(o=o[xi]||r||o),s.typeName=m(e,Fi(o))||ni,s.message=Wr(e,Ai(n||o,s.typeName))||ni,c=n[Ti]||Li(n),s.parsedStack=function(){var e=c.obj;if(e&&0<e.length){var n=[],t=0,r=0;if(j(e,function(e){var e=e.toString();ji.regex.test(e)&&(e=new ji(e,t++),r+=e.sizeInBytes,n.push(e))}),32768<r)for(var i=0,o=n.length-1,a=0,s=i,u=o;i<o;){if(32768<(a+=n[i].sizeInBytes+n[o].sizeInBytes)){n.splice(s,u-s+1);break}s=i,u=o,i++,o--}}return n}(),s[u]=(r=e,a="",(o=c)&&(o.obj?j(o.obj,function(e){a+=e+"\n"}):a=o.src||""),(n=a)&&32768<(e=""+n).length&&(i=e.substring(0,32768),r&&r.throwInternal(2,H.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),i||n),s.hasFullStack=O(s.parsedStack)&&0<s.parsedStack.length,t&&(t.typeName=t.typeName||s.typeName)),s}n(Ki,Oi=function(){}),Ki.CreateFromInterface=function(e){return new Ki(e,null)},Ki.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},Ki.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,Ki.baseSize=58;var Oi,zi,ji=Ki;function Ki(e,n){var t,r=Oi.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(t=e,r.level=n,r.method="<no_method>",r.assembly=g(t),r.fileName="",r.line=0,(n=t.match(Ki.regex))&&5<=n.length&&(r.method=g(n[2])||r.method,r.fileName=g(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+=Ki.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}zi=0,n(Wi,qi=function(){this.kind=zi});var qi,Vi=Wi;function Wi(){var e=null!==qi&&qi.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}n(Xi,Gi=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}}),Xi.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",Xi.dataType="MetricData";var Gi,Hi=Xi;function Xi(e,n,t,r,i,o,a,s,u){var c=Gi.call(this)||this,l=(c.aiDataContract={ver:1,metrics:1,properties:0},new Vi);return l.count=0<r?r:undefined,l.max=isNaN(o)||null===o?undefined:o,l.min=isNaN(i)||null===i?undefined:i,l.name=m(e,n)||ni,l.value=t,l.stdDev=isNaN(a)||null===a?undefined:a,c.metrics=[l],c.properties=Gr(e,s),c.measurements=Hr(e,u),c}n(Ji,Yi=r);var Yi,e=Ji;function Ji(){var e=Yi.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(Qi,Zi=e),Qi.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",Qi.dataType="PageviewData";var Zi,$i=Qi;function Qi(e,n,t,r,i,o,a){var s=Zi.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=a&&Xr(e,a,128,H.IdTooLong).toString(),s.url=Vr(e,t),s.name=m(e,n)||ni,isNaN(r)||(s.duration=Jr(r)),s.properties=Gr(e,i),s.measurements=Hr(e,o),s}n(to,eo=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),to.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",to.dataType="RemoteDependencyData";var eo,no=to;function to(e,n,t,r,i,o,a,s,u,c,l,f){void 0===u&&(u="Ajax");var d,g,p,h=eo.call(this)||this,t=(h.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},h.id=n,h.duration=Jr(i),h.success=o,h.resultCode=a+"",h.type=m(e,u),n=e,i=s,u=a=o=r,a=(s=t)&&0<s.length?(d=s,p=(t=fi)[g=li],ci.createElement?t[g]||(p=t[g]=ci.createElement("a")):p={host:function(){e=null,d&&null!=(t=d.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<t.length&&z(t[2])&&0<t[2].length&&(e=t[2]||"",2<t.length&&(n=(t[1]||"").toLowerCase(),t=t[3]||"",e+=t="http"==n&&":80"===t||"https"==n&&":443"===t?"":t));var e,n=e||"";if(n){var t=n.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=t&&3<t.length&&z(t[2])&&0<t[2].length)return t[2]+(t[3]||"")}return n}()},p.href=d,++g>=t.length&&(g=0),li=g,g=(t=p).host,a||(null!=t.pathname?("/"!=((p=0===t.pathname.length?"/":t.pathname)[0]||"")&&(p="/"+p),u=t.pathname,m(n,i?i+" "+p:p)):m(n,s))):g=o,{target:g,name:a,data:u});return h.data=Vr(e,r)||t.data,h.target=m(e,t.target),c&&(h.target="".concat(h.target," | ").concat(c)),h.name=m(e,t.name),h.properties=Gr(e,l),h.measurements=Hr(e,f),h}n(ao,ro=function(){this.ver=2,this.properties={},this.measurements={}}),ao.envelopeType="Microsoft.ApplicationInsights.{0}.Message",ao.dataType="MessageData";var ro,io,oo=ao;function ao(e,n,t,r,i){var o=ro.call(this)||this;return o.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},o.message=Wr(e,n=n||ni),o.properties=Gr(e,r),o.measurements=Hr(e,i),t&&(o.severityLevel=t),o}function so(){var e=io.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(so,io=e),n(lo,uo=so),lo.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",lo.dataType="PageviewPerformanceData";var uo,co=lo;function lo(e,n,t,r,i,o,a){var s=uo.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=Vr(e,t),s.name=m(e,n)||ni,s.properties=Gr(e,i),s.measurements=Hr(e,o),a&&(s.domProcessing=a.domProcessing,s.duration=a.duration,s.networkConnect=a.networkConnect,s.perfTotal=a.perfTotal,s.receivedResponse=a.receivedResponse,s.sentRequest=a.sentRequest),s}n(po,fo=i);var fo,go=po;function po(e,n){var t=fo.call(this)||this;return t.aiDataContract={baseType:1,baseData:1},t.baseType=e,t.baseData=n,t}function ho(e){var n="ai."+e+".";return function(e){return n+e}}C.SeverityLevel=void 0,(r=C.SeverityLevel||(C.SeverityLevel={}))[r.Verbose=0]="Verbose",r[r.Information=1]="Information",r[r.Warning=2]="Warning",r[r.Error=3]="Error",r[r.Critical=4]="Critical";var vo,mo,e=ho("application"),i=ho("device"),r=ho("location"),yo=ho("operation"),Io=ho("session"),s=ho("user"),c=ho("cloud"),Co=ho("internal"),So=(mo={applicationVersion:e("ver"),applicationBuild:e("build"),applicationTypeId:e("typeId"),applicationId:e("applicationId"),applicationLayer:e("layer"),deviceId:i("id"),deviceIp:i("ip"),deviceLanguage:i("language"),deviceLocale:i("locale"),deviceModel:i("model"),deviceFriendlyName:i("friendlyName"),deviceNetwork:i("network"),deviceNetworkName:i("networkName"),deviceOEMName:i("oemName"),deviceOS:i("os"),deviceOSVersion:i("osVersion"),deviceRoleInstance:i("roleInstance"),deviceRoleName:i("roleName"),deviceScreenResolution:i("screenResolution"),deviceType:i("type"),deviceMachineName:i("machineName"),deviceVMName:i("vmName"),deviceBrowser:i("browser"),deviceBrowserVersion:i("browserVersion"),locationIp:r("ip"),locationCountry:r("country"),locationProvince:r("province"),locationCity:r("city"),operationId:yo("id"),operationName:yo("name"),operationParentId:yo("parentId"),operationRootId:yo("rootId"),operationSyntheticSource:yo("syntheticSource"),operationCorrelationVector:yo("correlationVector"),sessionId:Io("id"),sessionIsFirst:Io("isFirst"),sessionIsNew:Io("isNew"),userAccountAcquisitionDate:s("accountAcquisitionDate"),userAccountId:s("accountId"),userAgent:s("userAgent"),userId:s("id"),userStoreRegion:s("storeRegion"),userAuthUserId:s("authUserId"),userAnonymousUserAcquisitionDate:s("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:s("authUserAcquisitionDate"),cloudName:c("name"),cloudRole:c("role"),cloudRoleVer:c("roleVer"),cloudRoleInstance:c("roleInstance"),cloudEnvironment:c("environment"),cloudLocation:c("location"),cloudDeploymentUnit:c("deploymentUnit"),internalNodeName:Co("nodeName"),internalSdkVersion:Co("sdkVersion"),internalAgentVersion:Co("agentVersion"),internalSnippet:Co("snippet"),internalSdkSrc:Co("sdkSrc")},n(xo,vo=function(){var t=this;B(mo,function(e,n){t[e]=n})}),xo);function xo(){return vo.call(this)||this}var To,f=new So,e=function ta(t,r){var i=[],o=!1;this._get=function(){return i},this._set=function(e){return i=e},v(ta,this,function(n){n.enqueue=function(e){n.count()>=r.eventsLimitInMem()?o||(t.throwInternal(G.WARNING,H.InMemoryStorageBufferFull,"Maximum in-memory buffer size reached: "+n.count(),!0),o=!0):i.push(e)},n.count=function(){return i.length},n.size=function(){for(var e=i.length,n=0;n<i.length;n++)e+=i[n].length;return r.emitLineDelimitedJson()||(e+=2),e},n.clear=function(){o=!(i=[])},n.getItems=function(){return i.slice(0)},n.batchPayloads=function(e){return e&&0<e.length?r.emitLineDelimitedJson()?e.join("\n"):"["+e.join(",")+"]":null}})},bo=(n(wo,To=e),wo);function wo(e,n){e=To.call(this,e,n)||this;return v(wo,e,function(e,n){e.markAsSent=function(e){n.clear()},e.clearSent=function(e){}}),e}n(l,_o=e),l.BUFFER_KEY="AI_buffer",l.SENT_BUFFER_KEY="AI_sentBuffer",l.MAX_BUFFER_SIZE=2e3;var _o,No=l;function l(s,u){var e=_o.call(this,s,u)||this,c=!1;return v(l,e,function(t,n){var e=o(l.BUFFER_KEY),r=o(l.SENT_BUFFER_KEY),r=t._set(e.concat(r));function i(n,e){var t=[];return j(e,function(e){P(e)||-1!==fn(n,e)||t.push(e)}),t}function o(e){try{var e=u.namePrefix&&u.namePrefix()?u.namePrefix()+"_"+e:e,n=si(s,e);if(n){var t=Wn().parse(n);if((t=z(t)?Wn().parse(t):t)&&O(t))return t}}catch(r){s.throwInternal(G.CRITICAL,H.FailedToRestoreStorageBuffer," storage key: "+e+", "+K(r),{exception:W(r)})}return[]}function a(e,n){try{var e=u.namePrefix&&u.namePrefix()?u.namePrefix()+"_"+e:e,t=JSON.stringify(n);ui(s,e,t)}catch(r){ui(s,e,JSON.stringify([])),s.throwInternal(G.WARNING,H.FailedToSetStorageBuffer," storage key: "+e+", "+K(r)+". Buffer cleared",{exception:W(r)})}}r.length>l.MAX_BUFFER_SIZE&&(r.length=l.MAX_BUFFER_SIZE),a(l.SENT_BUFFER_KEY,[]),a(l.BUFFER_KEY,r),t.enqueue=function(e){t.count()>=l.MAX_BUFFER_SIZE?c||(s.throwInternal(G.WARNING,H.SessionStorageBufferFull,"Maximum buffer size reached: "+t.count(),!0),c=!0):(n.enqueue(e),a(l.BUFFER_KEY,t._get()))},t.clear=function(){n.clear(),a(l.BUFFER_KEY,t._get()),a(l.SENT_BUFFER_KEY,[]),c=!1},t.markAsSent=function(e){a(l.BUFFER_KEY,t._set(i(e,t._get())));var n=o(l.SENT_BUFFER_KEY);n instanceof Array&&e instanceof Array&&((n=n.concat(e)).length>l.MAX_BUFFER_SIZE&&(s.throwInternal(G.CRITICAL,H.SessionStorageBufferFull,"Sent buffer reached its maximum size: "+n.length,!0),n.length=l.MAX_BUFFER_SIZE),a(l.SENT_BUFFER_KEY,n))},t.clearSent=function(e){e=i(e,o(l.SENT_BUFFER_KEY));a(l.SENT_BUFFER_KEY,e)}}),e}var Ao="baseType",d="baseData",y="properties",Eo="true";function I(e,n,t){q(e,n,t,Cn)}function Ro(e,t,r){k(e)||B(e,function(e,n){sn(n)?r[e]=n:z(n)?t[e]=n:Vn()&&(t[e]=Wn().stringify(n))})}function Lo(t,r){k(t)||B(t,function(e,n){t[e]=n||r})}function Fo(e,n,t,r){for(var r=new mi(e,r,n),n=(I(r,"sampleRate",t[$r]),(t[d]||{}).startTime&&(r.time=ln(t[d].startTime)),r.iKey=t.iKey,t.iKey.replace(/-/g,"")),n=(r.name=r.name.replace("{0}",n),e),e=t,i=r,o=i.tags=i.tags||{},a=e.ext=e.ext||{},s=e.tags=e.tags||[],u=a.user,u=(u&&(I(o,f.userAuthUserId,u.authId),I(o,f.userId,u.id||u.localId)),a.app),u=(u&&I(o,f.sessionId,u.sesId),a.device),u=(u&&(I(o,f.deviceId,u.id||u.localId),I(o,f.deviceType,u.deviceClass),I(o,f.deviceIp,u.ip),I(o,f.deviceModel,u.model),I(o,f.deviceType,u.deviceType)),e.ext.web),e=(u&&(I(o,f.deviceLanguage,u.browserLang),I(o,f.deviceBrowserVersion,u.browserVer),I(o,f.deviceBrowser,u.browser),I(e=(e=(e=i.data=i.data||{})[d]=e[d]||{})[y]=e[y]||{},"domain",u.domain),I(e,"isManual",u.isManual?Eo:null),I(e,"screenRes",u.screenRes),I(e,"userConsent",u.userConsent?Eo:null)),a.os),u=(e&&I(o,f.deviceOS,e.name),a.trace),c=(u&&(I(o,f.operationParentId,u.parentID),I(o,f.operationName,m(n,u.name)),I(o,f.operationId,u.traceID)),{}),l=s.length-1;0<=l;l--)B(s[l],function(e,n){c[e]=n}),s.splice(l,1);B(s,function(e,n){c[e]=n});e=Y(Y({},o),c);return e[f.internalSdkVersion]||(e[f.internalSdkVersion]="javascript:".concat(ko.Version)),i.tags=Tn(e),t.tags=t.tags||[],Tn(r)}function Mo(e,n){k(n[d])&&e.throwInternal(G.CRITICAL,H.TelemetryEnvelopeInvalid,"telemetryItem.baseData cannot be null.")}var ko={Version:"2.8.0-beta.2203-03"};function Do(e,n,t){Mo(e,n);var r={},i={},t=(n[Ao]!==Ci.dataType&&(r.baseTypeSource=n[Ao]),n[Ao]===Ci.dataType?(r=n[d][y]||{},i=n[d].measurements||{}):n[d]&&Ro(n[d],r,i),Ro(n.data,r,i),k(t)||Lo(r,t),n[d].name),t=new Ci(e,t,r,i),r=new go(Ci.dataType,t);return Fo(e,Ci.envelopeType,n,r)}var Po=function ra(f){v(ra,this,function(e){function c(a,s){var e="__aiCircularRefCheck",u={};if(!a)return f.throwInternal(G.CRITICAL,H.CannotSerializeObject,"cannot serialize object because it is null or undefined",{name:s},!0),u;if(a[e])return f.throwInternal(G.WARNING,H.CircularReferenceDetected,"Circular reference detected while serializing object",{name:s},!0),u;if(a.aiDataContract)return a[e]=!0,B(a.aiDataContract,function(e,n){var t=P(n)?1&n():1&n,r=P(n)?4&n():4&n,n=2&n,i=a[e]!==undefined,o=D(a[e])&&null!==a[e];!t||i||n?r||(t=o?(n?l:c)(a[e],e):a[e])!==undefined&&(u[e]=t):f.throwInternal(G.CRITICAL,H.MissingRequiredFieldSpecification,"Missing required field specification. The field is required but not present on source",{field:e,name:s})}),delete a[e],u;if("measurements"===s)u=t(a,"number",s);else if("properties"===s)u=t(a,"string",s);else if("tags"===s)u=t(a,"string",s);else if(O(a))u=l(a,s);else{f.throwInternal(G.WARNING,H.CannotSerializeObjectNonSerializable,"Attempting to serialize an object which does not implement ISerializable",{name:s},!0);try{Wn().stringify(a),u=a}catch(n){f.throwInternal(G.CRITICAL,H.CannotSerializeObject,n&&P(n.toString)?n.toString():"Error serializing object",null,!0)}}return u}function l(e,n){if(e)if(O(e))for(var t=[],r=0;r<e.length;r++){var i=c(e[r],n+"["+r+"]");t.push(i)}else f.throwInternal(G.CRITICAL,H.ItemNotInArray,"This field was specified as an array in the contract but the item is not an array.\r\n",{name:n},!0);return t}function t(e,t,r){var i;return e&&(i={},B(e,function(e,n){"string"===t?n===undefined?i[e]="undefined":null===n?i[e]="null":n.toString?i[e]=n.toString():i[e]="invalid field: toString() is not defined.":"number"===t?n===undefined?i[e]="undefined":i[e]=null===n?"null":isNaN(n=parseFloat(n))?"NaN":n:(i[e]="invalid field: "+r+" is of unknown type.",f.throwInternal(G.CRITICAL,i[e],null,!0))})),i}e.serialize=function(e){e=c(e,"root");try{return Wn().stringify(e)}catch(n){f.throwInternal(G.CRITICAL,H.CannotSerializeObject,n&&P(n.toString)?n.toString():"Error serializing object",null,!0)}}})};function Bo(){var a=zn(),s=jn(),u=!1,c=!0;v(Bo,this,function(e){try{var n,t;a&&Ur(a,"online",r)&&(Ur(a,"offline",i),u=!0),s&&!F((n=s.body||s).ononline)&&(n.ononline=r,n.onoffline=i,u=!0),u&&(t=qn())&&!k(t.onLine)&&(c=t.onLine)}catch(o){u=!1}function r(){c=!0}function i(){c=!1}e.isListening=u,e.isOnline=function(){var e=!0,n=qn();return u?e=c:n&&!k(n.onLine)&&(e=n.onLine),e},e.isOffline=function(){return!e.isOnline()}})}var Uo=Bo.Offline=new Bo,Oo=(zo.prototype.getHashCodeScore=function(e){return this.getHashCode(e)/zo.INT_MAX_VALUE*100},zo.prototype.getHashCode=function(e){if(""===e)return 0;for(;e.length<8;)e=e.concat(e);for(var n=5381,t=0;t<e.length;++t)n=(n<<5)+n+e.charCodeAt(t),n&=n;return Math.abs(n)},zo.INT_MAX_VALUE=2147483647,zo);function zo(){}var jo=function(){var n=new Oo,t=new So;this.getSamplingScore=function(e){return e.tags&&e.tags[t.userId]?n.getHashCodeScore(e.tags[t.userId]):e.ext&&e.ext.user&&e.ext.user.id?n.getHashCodeScore(e.ext.user.id):e.tags&&e.tags[t.operationId]?n.getHashCodeScore(e.tags[t.operationId]):e.ext&&e.ext.telemetryTrace&&e.ext.telemetryTrace.traceID?n.getHashCodeScore(e.ext.telemetryTrace.traceID):100*Math.random()}},Ko=(qo.prototype.isSampledIn=function(e){var n=this.sampleRate;return null===n||n===undefined||100<=n||e.baseType===Hi.dataType||this.samplingScoreGenerator.getSamplingScore(e)<n},qo);function qo(e,n){this.INT_MAX_VALUE=2147483647;n=n||ot(null);(100<e||e<0)&&(n.throwInternal(G.WARNING,H.SampleRateOutOfRange,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:e},!0),e=100),this.sampleRate=e,this.samplingScoreGenerator=new jo}function Vo(e){try{return e.responseText}catch(n){}return null}function Wo(){return{endpointUrl:function(){return"https://dc.services.visualstudio.com/v2/track"},emitLineDelimitedJson:function(){return!1},maxBatchInterval:function(){return 15e3},maxBatchSizeInBytes:function(){return 102400},disableTelemetry:function(){return!1},enableSessionStorageBuffer:function(){return!0},isRetryDisabled:function(){return!1},isBeaconApiDisabled:function(){return!0},disableXhr:function(){return!1},onunloadDisableFetch:function(){return!1},onunloadDisableBeacon:function(){return!1},instrumentationKey:function(){return undefined},namePrefix:function(){return undefined},samplingPercentage:function(){return 100},customHeaders:function(){return undefined},convertUndefined:function(){return undefined},eventsLimitInMem:function(){return 1e4}}}(i={})[Ci.dataType]=Do,i[oo.dataType]=function(e,n,t){Mo(e,n);var r=n[d].message,i=n[d].severityLevel,o=n[d][y]||{},a=n[d].measurements||{},t=(Ro(n.data,o,a),k(t)||Lo(o,t),new oo(e,r,i,o,a)),r=new go(oo.dataType,t);return Fo(e,oo.envelopeType,n,r)},i[$i.dataType]=function(e,n,t){Mo(e,n);var r,i="duration",o=n[d],i=(k(o)||k(o[y])||k(o[y][i])?k(n.data)||k(n.data[i])||(r=n.data[i],delete n.data[i]):(r=o[y][i],delete o[y][i]),n[d]),o=(((n.ext||{}).trace||{}).traceID&&(a=n.ext.trace.traceID),i.id||a),a=i.name,s=i.uri,u=i[y]||{},c=i.measurements||{},i=(k(i.refUri)||(u.refUri=i.refUri),k(i.pageType)||(u.pageType=i.pageType),k(i.isLoggedIn)||(u.isLoggedIn=i.isLoggedIn.toString()),k(i[y])||B(i[y],function(e,n){u[e]=n}),Ro(n.data,u,c),k(t)||Lo(u,t),new $i(e,a,s,r,u,c,o)),t=new go($i.dataType,i);return Fo(e,$i.envelopeType,n,t)},i[co.dataType]=function(e,n,t){Mo(e,n);var r=n[d],i=r.name,o=r.uri||r.url,a=r[y]||{},s=r.measurements||{},t=(Ro(n.data,a,s),k(t)||Lo(a,t),new co(e,i,o,undefined,a,s,r)),i=new go(co.dataType,t);return Fo(e,co.envelopeType,n,i)},i[Di.dataType]=function(e,n,t){Mo(e,n);var r=n[d].measurements||{},i=n[d][y]||{},t=(Ro(n.data,i,r),k(t)||Lo(i,t),n[d]),t=Di.CreateFromInterface(e,t,i,r),i=new go(Di.dataType,t);return Fo(e,Di.envelopeType,n,i)},i[Hi.dataType]=function(e,n,t){Mo(e,n);var r=n[d],i=r[y]||{},o=r.measurements||{},t=(Ro(n.data,i,o),k(t)||Lo(i,t),new Hi(e,r.name,r.average,r.sampleCount,r.min,r.max,r.stdDev,i,o)),r=new go(Hi.dataType,t);return Fo(e,Hi.envelopeType,n,r)},i[no.dataType]=function(e,n,t){Mo(e,n);var r=n[d].measurements||{},i=n[d][y]||{},t=(Ro(n.data,i,r),k(t)||Lo(i,t),n[d]);if(k(t))return e.warnToConsole("Invalid input for dependency data"),null;var o=t[y]&&t[y][ei]?t[y][ei]:"GET",o=new no(e,t.id,t.target,t.name,t.duration,t.success,t.responseCode,o,t.type,t.correlationContext,i,r),t=new go(no.dataType,o);return Fo(e,no.envelopeType,n,t)};var Go,Ho=i,Xo=(n(Yo,Go=Me),Yo.constructEnvelope=function(e,n,t,r){e=n===e.iKey||k(n)?e:Y(Y({},e),{iKey:n});return(Ho[e.baseType]||Do)(t,e,r)},Yo);function Yo(){var T,b,t,w,_,N,A,E=Go.call(this)||this,R=(E.priority=1001,!(E.identifier="AppInsightsChannelPlugin")),L={},F=0;return E._senderConfig=Wo(),v(Yo,E,function(c,a){function l(e,n,t,r,i,o){var a=null;c._appId||(a=p(o))&&a.appId&&(c._appId=a.appId),(e<200||300<=e)&&0!==e?(301!==e&&307!==e&&308!==e||s(t))&&!c._senderConfig.isRetryDisabled()&&y(e)?(h(n),c.diagLog().throwInternal(G.WARNING,H.TransmissionFailed,". Response code "+e+". Will retry to send "+n.length+" items.")):c._onError(n,i):Uo.isOffline()?c._senderConfig.isRetryDisabled()||(h(n,10),c.diagLog().throwInternal(G.WARNING,H.TransmissionFailed,". Offline - Response Code: ".concat(e,". Offline status: ").concat(Uo.isOffline(),". Will retry to send ").concat(n.length," items."))):(s(t),206===e?(a=a||p(o))&&!c._senderConfig.isRetryDisabled()?c._onPartialSuccess(n,a):c._onError(n,i):(T=0,c._onSuccess(n,r)))}function s(e){return!(10<=_)&&!k(e)&&""!==e&&e!==c._senderConfig.endpointUrl()&&(c._senderConfig.endpointUrl=function(){return e},++_,1)}function n(e,n){A?A(e,!1):u(e)}function o(e){var n=qn(),t=c._buffer,r=c._senderConfig.endpointUrl(),i=c._buffer.batchPayloads(e),i=new Blob([i],{type:"text/plain;charset=UTF-8"}),r=n.sendBeacon(r,i);return r&&(t.markAsSent(e),c._onSuccess(e,e.length)),r}function u(e,n){if(O(e)&&0<e.length&&!o(e)){for(var t=[],r=0;r<e.length;r++){var i=e[r];o([i])||t.push(i)}0<t.length&&(N(t,!0),c.diagLog().throwInternal(G.WARNING,H.TransmissionFailed,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function f(n,e){var t=new XMLHttpRequest,r=c._senderConfig.endpointUrl();try{t[Zr]=!0}catch(i){}t.open("POST",r,e),t.setRequestHeader("Content-type","application/json"),gi(r)&&t.setRequestHeader("Sdk-Context","appId"),j(hn(L),function(e){t.setRequestHeader(e,L[e])}),t.onreadystatechange=function(){return c._xhrReadyStateChange(t,n,n.length)},t.onerror=function(e){return c._onError(n,I(t),e)};e=c._buffer.batchPayloads(n);t.send(e),c._buffer.markAsSent(n)}function d(e,n){if(O(e)){for(var t=e.length,r=0;r<e.length;r++)t+=e[r].length;F+t<=65e3?i(e,!1):Hn()?u(e):(N&&N(e,!0),c.diagLog().throwInternal(G.WARNING,H.TransmissionFailed,". Failed to send telemetry with Beacon API, retried with xhrSender."))}}function g(e,n){i(e,!0)}function i(t,r){var e=c._senderConfig.endpointUrl(),n=c._buffer.batchPayloads(t),i=new Blob([n],{type:"application/json"}),o=new Headers,a=n.length,n=!1,s=!1,e=(gi(e)&&o.append("Sdk-Context","appId"),j(hn(L),function(e){o.append(e,L[e])}),(i={method:"POST",headers:o,body:i})[Zr]=!0,r||(n=i.keepalive=!0,F+=a),new Request(e,i));try{e[Zr]=!0}catch(u){}c._buffer.markAsSent(t);try{fetch(e).then(function(n){r||(F-=a,a=0),s||(s=!0,n.ok?n.text().then(function(e){l(n.status,t,n.url,t.length,n.statusText,e)}):c._onError(t,n.statusText))})["catch"](function(e){r||(F-=a,a=0),s||(s=!0,c._onError(t,e.message))})}catch(u){s||c._onError(t,W(u))}n&&!s&&(s=!0,c._onSuccess(t,t.length))}function p(e){try{if(e&&""!==e){var n=Wn().parse(e);if(n&&n.itemsReceived&&n.itemsReceived>=n.itemsAccepted&&n.itemsReceived-n.itemsAccepted===n.errors.length)return n}}catch(t){c.diagLog().throwInternal(G.CRITICAL,H.InvalidBackendResponse,"Cannot parse the response. "+K(t),{response:e})}return null}function h(e,n){if(void 0===n&&(n=1),e&&0!==e.length){var t=c._buffer;t.clearSent(e),T++;for(var r=0,i=e;r<i.length;r++){var o=i[r];t.enqueue(o)}n=T<=1?10:(e=1+Math.floor((Math.pow(2,T)-1)/2*Math.random()*10),Math.max(Math.min(e*=n,3600),10)),e=yn()+1e3*n;b=e,v()}}function v(){var e;t||R||(e=b?Math.max(0,b-yn()):0,e=Math.max(c._senderConfig.maxBatchInterval(),e),t=setTimeout(function(){t=null,c.triggerSend(!0,null,1)},e))}function m(){clearTimeout(t),b=t=null}function y(e){return 408===e||429===e||500===e||503===e}function I(e,n){return e?"XMLHttpRequest,Status:"+e.status+",Response:"+Vo(e)||e.response||"":n}function C(n,e){var t=c._buffer,r=zn(),i=new XDomainRequest,r=(i.onload=function(){return c._xdrOnLoad(i,n)},i.onerror=function(e){return c._onError(n,S(i),e)},r&&r.location&&r.location.protocol||"");if(c._senderConfig.endpointUrl().lastIndexOf(r,0))return c.diagLog().throwInternal(G.WARNING,H.TransmissionFailed,". Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol."),void t.clear();r=c._senderConfig.endpointUrl().replace(/^(https?:)/,""),i.open("POST",r),r=t.batchPayloads(n);i.send(r),t.markAsSent(n)}function S(e,n){return e?"XDomainRequest,Response:"+Vo(e)||"":n}function x(e,n){var t="getNotifyMgr",t=c.core[t]?c.core[t]():c.core._notificationManager;if(t&&t.eventsSendRequest)try{t.eventsSendRequest(e,n)}catch(r){c.diagLog().throwInternal(G.CRITICAL,H.NotificationException,"send request notification failed: "+K(r),{exception:W(r)})}}c.pause=function(){m(),R=!0},c.resume=function(){R&&(R=!1,b=null,c._buffer.size()>c._senderConfig.maxBatchSizeInBytes()&&c.triggerSend(!0,null,10),v())},c.flush=function(e,n,t){if(void 0===e&&(e=!0),!R){m();try{c.triggerSend(e,null,t||1)}catch(r){c.diagLog().throwInternal(G.CRITICAL,H.FlushFailed,"flush failed, telemetry will not be collected: "+K(r),{exception:W(r)})}}},c.onunloadFlush=function(){if(!R)if(!1!==c._senderConfig.onunloadDisableBeacon()&&!1!==c._senderConfig.isBeaconApiDisabled()||!Hn())c.flush();else try{c.triggerSend(!0,n,2)}catch(e){c.diagLog().throwInternal(G.CRITICAL,H.FailedToSendQueuedTelemetry,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+K(e),{exception:W(e)})}},c.teardown=function(){V("Method not implemented.")},c.addHeader=function(e,n){L[e]=n},c.initialize=function(e,n,t,r){a.initialize(e,n,t,r);var i=c._getTelCtx(),o=c.identifier,t=(w=new Po(n.logger),b=null,T=0,c._sender=null,_=0,c.diagLog()),r=(B(Wo(),function(e,n){c._senderConfig[e]=function(){return i.getConfig(o,e,n())}}),c._buffer=new(c._senderConfig.enableSessionStorageBuffer()&&ai()?No:bo)(t,c._senderConfig),c._sample=new Ko(c._senderConfig.samplingPercentage(),t),!k(e.disableInstrumentationKeyValidation)&&e.disableInstrumentationKeyValidation||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(e.instrumentationKey)||t.throwInternal(G.CRITICAL,H.InvalidInstrumentationKey,"Invalid Instrumentation key "+e.instrumentationKey),!gi(c._senderConfig.endpointUrl())&&c._senderConfig.customHeaders()&&0<c._senderConfig.customHeaders().length&&j(c._senderConfig.customHeaders(),function(e){E.addHeader(e.header,e.value)}),c._senderConfig),n=null;!r.disableXhr()&&Yn()?n=C:!r.disableXhr()&&Jn()&&(n=f),!n&&Xn()&&(n=g),N=n||f,!r.isBeaconApiDisabled()&&Hn()&&(n=u),c._sender=n||f,A=!r.onunloadDisableFetch()&&Xn(!0)?d:Hn()?u:!r.disableXhr()&&Yn()?C:!r.disableXhr()&&Jn()?f:N},c.processTelemetry=function(e,t){t=c._getTelCtx(t);try{if(c._senderConfig.disableTelemetry())return;if(!e)return void t.diagLog().throwInternal(G.CRITICAL,H.CannotSendEmptyTelemetry,"Cannot send empty telemetry");if(e.baseData&&!e.baseType)return void t.diagLog().throwInternal(G.CRITICAL,H.InvalidEvent,"Cannot send telemetry without baseData and baseType");if(e.baseType||(e.baseType="EventData"),!c._sender)return void t.diagLog().throwInternal(G.CRITICAL,H.SenderNotInitialized,"Sender was not initialized");if(!c._sample.isSampledIn(e))return void t.diagLog().throwInternal(G.WARNING,H.TelemetrySampledAndNotSent,"Telemetry item was sampled out and not sent",{SampleRate:c._sample.sampleRate});e[$r]=c._sample.sampleRate;var n=c._senderConfig.convertUndefined()||undefined,r=e.iKey||c._senderConfig.instrumentationKey(),i=Yo.constructEnvelope(e,r,t.diagLog(),n);if(!i)return void t.diagLog().throwInternal(G.CRITICAL,H.CreateEnvelopeError,"Unable to create an AppInsights envelope");var o=!1;if(e.tags&&e.tags[Qr]&&(j(e.tags[Qr],function(e){try{e&&!1===e(i)&&(o=!0,t.diagLog().warnToConsole("Telemetry processor check returns false"))}catch(n){t.diagLog().throwInternal(G.CRITICAL,H.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+K(n),{exception:W(n)},!0)}}),delete e.tags[Qr]),o)return;var a=w.serialize(i),s=c._buffer;s.size()+a.length>c._senderConfig.maxBatchSizeInBytes()&&c.triggerSend(!0,null,10),s.enqueue(a),v()}catch(u){t.diagLog().throwInternal(G.WARNING,H.FailedAddingTelemetryToBuffer,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+K(u),{exception:W(u)})}c.processNext(e,t)},c._xhrReadyStateChange=function(e,n,t){4===e.readyState&&l(e.status,n,e.responseURL,t,I(e),Vo(e)||e.response)},c.triggerSend=function(e,n,t){if(void 0===e&&(e=!0),!R)try{var r,i=c._buffer;c._senderConfig.disableTelemetry()?i.clear():0<i.count()&&(r=i.getItems(),x(t||0,e),n?n.call(E,r,e):c._sender(r,e)),m()}catch(o){i=function(e){var n=((e=(e=void 0===e?null:e)?e:(n=qn()||{})?(n.userAgent||M).toLowerCase():M)||M).toLowerCase();if(U(n,Ln))return e=jn()||{},Math.max(parseInt(n.split(Ln)[1]),e.documentMode||0);if(U(n,Fn)){e=parseInt(n.split(Fn)[1]);if(e)return e+4}return null}();(!i||9<i)&&c.diagLog().throwInternal(G.CRITICAL,H.TransmissionFailed,"Telemetry transmission failed, some telemetry will be lost: "+K(o),{exception:W(o)})}},c._onError=function(e,n,t){c.diagLog().throwInternal(G.WARNING,H.OnError,"Failed to send telemetry.",{message:n}),c._buffer.clearSent(e)},c._onPartialSuccess=function(e,n){for(var t=[],r=[],i=0,o=n.errors.reverse();i<o.length;i++){var a=o[i],s=e.splice(a.index,1)[0];(y(a.statusCode)?r:t).push(s)}0<e.length&&c._onSuccess(e,n.itemsAccepted),0<t.length&&c._onError(t,I(null,["partial success",n.itemsAccepted,"of",n.itemsReceived].join(" "))),0<r.length&&(h(r),c.diagLog().throwInternal(G.WARNING,H.TransmissionFailed,"Partial success. Delivered: "+e.length+", Failed: "+t.length+". Will retry to send "+r.length+" our of "+n.itemsReceived+" items"))},c._onSuccess=function(e,n){c._buffer.clearSent(e)},c._xdrOnLoad=function(e,n){var t=Vo(e);!e||t+""!="200"&&""!==t?(t=p(t))&&t.itemsReceived&&t.itemsReceived>t.itemsAccepted&&!c._senderConfig.isRetryDisabled()?c._onPartialSuccess(n,t):c._onError(n,S(e)):(T=0,c._onSuccess(n,0))}}),E}Jo.prototype.initialize=function(){this.core=new Nr;var e=[],n=new Xo;e.push(n),this.core.initialize(this.config,e),n.initialize(this.config,this.core,e),this.pollInternalLogs()},Jo.prototype.track=function(e){this.core.track(e)},Jo.prototype.flush=function(n){void 0===n&&(n=!0),j(this.core.getTransmissionControls(),function(e){j(e,function(e){n?e.flush():e.triggerSend(n,null,1)})})},Jo.prototype.pollInternalLogs=function(){this.core.pollInternalLogs()},Jo.prototype.stopPollingInternalLogs=function(){this.core.stopPollingInternalLogs()},Jo.prototype.getSKUDefaults=function(){this.config.diagnosticLogInterval=this.config.diagnosticLogInterval&&0<this.config.diagnosticLogInterval?this.config.diagnosticLogInterval:1e4};r=Jo;function Jo(e){(k(e)||k(e.instrumentationKey))&&V("Invalid input configuration"),this.config=e,this.getSKUDefaults(),this.initialize()}C.AppInsightsCore=Nr,C.ApplicationInsights=r,C.CoreUtils=jr,C.Sender=Xo;yo=C,Io="__esModule",s={value:!0},c=Object.defineProperty;if(c)try{return void c(yo,Io,s)}catch(ia){}typeof s.value!==undefined&&(yo[Io]=s.value)};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}));
6
6
  //# sourceMappingURL=aib.2.min.js.map