Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/1ds-core-js

Package Overview
Dependencies
Maintainers
4
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/1ds-core-js - npm Package Compare versions

Comparing version 3.1.8 to 3.1.9

bundle/ms.core-3.1.9.gbl.js

4

bundle/ms.core.gbl.min.js
/*!
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.
* (Microsoft Internal Only)
*/
!function(c){"use strict";var a="function",u="object",n="undefined",f="prototype",o="hasOwnProperty",t=Object,l=t[f],r=t.assign,i=t.create,e=t.defineProperty,s=l[o];function g(){return typeof globalThis!==n&&globalThis?globalThis:typeof self!==n&&self?self:typeof window!==n&&window?window:typeof global!==n&&global?global:null}function d(e){throw new TypeError(e)}function v(e){if(i)return i(e);if(null==e)return{};var n=typeof e;function t(){}return n!==u&&n!==a&&d("Object prototype may only be an Object:"+e),t[f]=e,new t}(g()||{}).Symbol,(g()||{}).Reflect;var p=r||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])l[o].call(n,i)&&(e[i]=n[i]);return e},h=function(e,n){return(h=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[o](t)&&(e[t]=n[t])})(e,n)};function m(e,n){function t(){this.constructor=e}typeof n!==a&&null!==n&&d("Class extends value "+n+" is not a constructor or null"),h(e,n),e[f]=null===n?v(n):(t[f]=n[f],new t)}function y(e,n){for(var t=0,r=n.length,i=e.length;t<r;t++,i++)e[i]=n[t];return e}var C={Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5},S="constructor",x="prototype",I="function",b="_dynInstFuncs",T="_isDynProxy",w="_dynClass",P="_dynInstChk",E=P,N="_dfOpts",A="_unknown_",L="__proto__",k="useBaseInst",M="setInstFuncs",F=Object,O=F.getPrototypeOf,R=0;function D(e,n){return e&&F[x].hasOwnProperty.call(e,n)}function _(e){return e&&(e===F[x]||e===Array[x])}function j(e){return _(e)||e===Function[x]}function U(e){if(e){if(O)return O(e);if(e=e[L]||e[x]||(e[S]?e[S][x]:null))return e}return null}function V(e,n){var t=[],r=F.getOwnPropertyNames;if(r)t=r(e);else for(var i in e)"string"==typeof i&&D(e,i)&&t.push(i);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function z(e,n,t){return n!==S&&typeof e[n]===I&&(t||D(e,n))}function B(e){throw new TypeError("DynamicProto: "+e)}function K(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function H(e,n){return D(e,x)?e.name||n||A:((e||{})[S]||{}).name||n||A}function q(e,r,n,t){D(e,x)||B("theClass is an invalid class definition.");var i=e[x];!function(e){if(O)for(var n=[],t=U(r);t&&!j(t)&&!K(n,t);){if(t===e)return 1;n.push(t),t=U(t)}}(i)&&B("["+H(e)+"] is not in class hierarchy of ["+H(r)+"]");var o=null;D(i,w)?o=i[w]:(o="_dynCls$"+H(e,"_")+"$"+R,R++,i[w]=o);var a=q[N],u=!!a[k];u&&t&&t[k]!==undefined&&(u=!!t[k]);var l,s,c,f,g,d,e=(s={},V(l=r,function(e){!s[e]&&z(l,e,!1)&&(s[e]=l[e])}),s);n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[T]&&o&&!1!==(r=e[b]||{})[E]&&(i=(r[n[w]]||{})[t]||i),function(){return i.apply(e,arguments)}}var i={};V(t,function(e){i[e]=r(n,t,e)});for(var a=U(e),u=[];a&&!j(a)&&!K(u,a);)V(a,function(e){!i[e]&&z(a,e,!O)&&(i[e]=r(n,a,e))}),u.push(a),a=U(a);return i}(i,r,e,u)),a=!!O&&!!a[M],c=i,o=o,f=r,g=e,t=!1!==(a=a&&t?!!t[M]:a),_(c)||(a=f[b]=f[b]||{},d=a[o]=a[o]||{},!1!==a[E]&&(a[E]=!!t),V(f,function(e){var t,r,i;z(f,e,!1)&&f[e]!==g[e]&&(d[e]=f[e],delete f[e],D(c,e)&&(!c[e]||c[e][T])||(c[e]=(t=c,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&D(t,w)){var o=e[b]||{};if((i=(o[t[w]]||{})[n])||B("Missing ["+n+"] "+I),!i[P]&&!1!==o[E]){for(var a=!D(e,n),u=U(e),l=[];a&&u&&!j(u)&&!K(l,u);){var s=u[n];if(s){a=s===r;break}l.push(u),u=U(u)}try{a&&(e[n]=i),i[P]=1}catch(c){o[E]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?U(t)[e]:n)!==I&&B("["+e+"] is not a "+I),n)).apply(this,arguments)})[T]=1,i)))}))}q[N]={setInstFuncs:!0,useBaseInst:!0},c.LoggingSeverity=void 0,(Sr=c.LoggingSeverity||(c.LoggingSeverity={}))[Sr.CRITICAL=1]="CRITICAL",Sr[Sr.WARNING=2]="WARNING";var W={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},G="attachEvent",J="addEventListener",X="detachEvent",Q="removeEventListener",Z=e;function $(e){return l.toString.call(e)}function Y(e,n){return typeof e===n}function ee(e){return e===undefined||typeof e===n}function ne(e){return null===e||ee(e)}function te(e){return!ne(e)}function re(e,n){return e&&s.call(e,n)}function ie(e){return typeof e===u}function oe(e){return typeof e===a}function ae(e,n,t,r){void 0===r&&(r=!1);var i=!1;if(!ne(e))try{ne(e[J])?ne(e[G])||(e[G]("on"+n,t),i=!0):(e[J](n,t,r),i=!0)}catch(o){}return i}function ue(e,n,t,r){if(void 0===r&&(r=!1),!ne(e))try{ne(e[Q])?ne(e[X])||e[X]("on"+n,t):e[Q](n,t,r)}catch(i){}}function le(e,n){if(e)for(var t in e)s.call(e,t)&&n.call(e,t,e[t])}function se(e,n){if(e&&n){var t=n.length,r=e.length;if(e===n)return!0;if(t<=r){for(var i=r-1,o=t-1;0<=o;o--){if(e[i]!=n[o])return!1;i--}return!0}}return!1}function ce(e,n){return!(!e||!n||!~e.indexOf(n))}function fe(e){return"[object Date]"===$(e)}function ge(e){return"[object Array]"===$(e)}function de(e){return"[object Error]"===$(e)}function ve(e){return"string"==typeof e}function pe(e){return"number"==typeof e}function he(e){return"boolean"==typeof e}function me(e){if(fe(e)){var n=function(e){return 1===(e=""+e).length?"0"+e:e};return 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"}}function ye(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 Ce(e,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 Se(e,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(u){}return o}function xe(e,n,t){var r,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}function Ie(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}var be=!{toString:null}.propertyIsEnumerable("toString"),Te=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function we(e){var n=typeof e;n===a||n===u&&null!==e||d("objKeys called on non-object");var t,r=[];for(t in e)e&&s.call(e,t)&&r.push(t);if(be)for(var i=Te.length,o=0;o<i;o++)e&&s.call(e,Te[o])&&r.push(Te[o]);return r}function Pe(e,n,t,r){if(Z)try{var i={enumerable:!0,configurable:!0};return t&&(i.get=t),r&&(i.set=r),Z(e,n,i),!0}catch(o){}return!1}function Ee(){var e=Date;return e.now?e.now():(new e).getTime()}function Ne(e){return de(e)?e.name:""}function Ae(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 Le(e,n,t){var r;return e?!(r=e[n])&&ne(r)&&(r=ee(t)?{}:t,e[n]=r):r=ee(t)?{}:t,r}function ke(e){return!e}function Me(e){return!!e}function Fe(e){throw Error(e)}var Oe="window",Re="navigator",De="location",_e="performance",je="JSON",Ue="crypto",Ve="msCrypto",ze="msie",Be="trident/",Ke=null,He=null,qe=!1,We=null,Ge=null;function Je(e,n){var t,r=!1;if(e){try{(r=n in e)||(t=e[f])&&(r=n in t)}catch(i){}if(!r)try{r=!ee((new e)[n])}catch(i){}}return r}function Xe(e){var n=g();return n&&n[e]?n[e]:e===Oe&&Qe()?window:null}function Qe(){return!(typeof window!==u||!window)}function Ze(){return Qe()?window:Xe(Oe)}function $e(){return!(typeof document!==u||!document)}function Ye(){return $e()?document:Xe("document")}function en(){return!(typeof navigator!==u||!navigator)}function nn(){return en()?navigator:Xe(Re)}function tn(){return!(typeof history!==u||!history)}function rn(e){return e&&qe&&(e=Xe("__mockLocation"))?e:typeof location===u&&location?location:Xe(De)}function on(){return typeof console!==n?console:Xe("console")}function an(){return Xe(_e)}function un(){return!!(typeof JSON===u&&JSON||null!==Xe(je))}function ln(){return un()?JSON||Xe(je):null}function sn(){return Xe(Ue)}function cn(){return Xe(Ve)}function fn(){var e=nn();return!(!e||!e.product)&&"ReactNative"===e.product}function gn(){var e=nn();return!e||e.userAgent===He&&null!==Ke||(e=((He=e.userAgent)||"").toLowerCase(),Ke=ce(e,ze)||ce(e,Be)),Ke}function dn(e){var n=Object[f].toString.call(e),t="";return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":un()&&(t=ln().stringify(e)),n+t}function vn(){return Ge=null===Ge?en()&&!!nn().sendBeacon:Ge}function pn(){return We=null===We&&(We=typeof XDomainRequest!==undefined)&&hn()?We&&!Je(Xe("XMLHttpRequest"),"withCredentials"):We}function hn(){var e=!1;try{e=!!Xe("XMLHttpRequest")}catch(n){}return e}function mn(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function yn(e,n){var t,r=on();r&&(t="log",oe(r[t=r[e]?e:t])&&r[t](n))}var Cn=(Sn.dataType="MessageData",Sn);function Sn(e,n,t,r){void 0===t&&(t=!1),this.messageId=e,this.message=(t?"AI: ":"AI (Internal): ")+e,e="",un()&&(e=ln().stringify(r)),e=(n?" message:"+mn(n):"")+(r?" props:"+mn(e):""),this.message+=e}function xn(e,n){return(e||{}).logger||new In(n)}var In=function jr(t){this.identifier="DiagnosticLogger",this.queue=[];var i=0,a={};q(jr,this,function(o){function e(e,n){return ne(e=t[e])?n:e}ne(t)&&(t={}),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){if(n=new Cn(n,t,i=void 0!==i&&i,r),o.enableDebugExceptions())throw n;t=e===c.LoggingSeverity.CRITICAL?"errorToConsole":"warnToConsole",ee(n.message)||(r=o.consoleLoggingLevel(),i?(i=+n.messageId,!a[i]&&e<=r&&(o[t](n.message),a[i]=!0)):e<=r&&o[t](n.message),o.logInternalMessage(e,n))},o.warnToConsole=function(e){yn("warn",e)},o.errorToConsole=function(e){yn("error",e)},o.resetInternalMessageCount=function(){i=0,a={}},o.logInternalMessage=function(e,n){var t,r;i>=o.maxInternalMessageLimit()||(t=!0,r="AITR_"+n.messageId,a[r]?t=!1:a[r]=!0,t&&(e<=o.telemetryLoggingLevel()&&(o.queue.push(n),i++),i===o.maxInternalMessageLimit()&&(n=new Cn(W.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),o.queue.push(n),o.warnToConsole(e))))}})},bn=(Tn.ParentContextKey="parent",Tn.ChildrenContextKey="childEvts",Tn);function Tn(e,i,n){var t,o=this,a=!1;o.start=Ee(),o.name=e,o.isAsync=n,o.isChildEvt=function(){return!1},oe(i)&&(a=Pe(o,"payload",function(){return!t&&oe(i)&&(t=i(),i=null),t})),o.getCtx=function(e){return e?(e===Tn.ParentContextKey||e===Tn.ChildrenContextKey?o:o.ctx||{})[e]:null},o.setCtx=function(e,n){e&&(e===Tn.ParentContextKey?(o[e]||(o.isChildEvt=function(){return!0}),o[e]=n):e===Tn.ChildrenContextKey?o[e]=n:(o.ctx=o.ctx||{})[e]=n)},o.complete=function(){var e=0,n=o.getCtx(Tn.ChildrenContextKey);if(ge(n))for(var t=0;t<n.length;t++){var r=n[t];r&&(e+=r.time)}o.time=Ee()-o.start,o.exTime=o.time-e,o.complete=function(){},!a&&oe(i)&&(o.payload=i())}}var wn=function Ur(n){this.ctx={},q(Ur,this,function(t){t.create=function(e,n,t){return new bn(e,n,t)},t.fire=function(e){e&&(e.complete(),n&&oe(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 En(e,n,t,r,i){if(e){var o=e;if(o=oe(o.getPerfMgr)?o.getPerfMgr():o){var a,u=void 0,e=o.getCtx(Pn);try{if(u=o.create(n(),r,i))return e&&u.setCtx&&(u.setCtx(bn.ParentContextKey,e),e.getCtx&&e.setCtx&&((a=e.getCtx(bn.ChildrenContextKey))||(a=[],e.setCtx(bn.ChildrenContextKey,a)),a.push(u))),o.setCtx(Pn,u),t(u)}catch(l){u&&u.setCtx&&u.setCtx("exception",l)}finally{u&&o.fire(u),o.setCtx(Pn,e)}}}return t()}var Nn=function(i,n){var o=this,a=null,u=oe(i.processTelemetry),l=oe(i.setNextPlugin);o._hasRun=!1,o.getPlugin=function(){return i},o.getNext=function(){return a},o.setNext=function(e){a=e},o.processTelemetry=function(t,r){r=r||n;var e=i?i.identifier:"TelemetryPluginChain";En(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&u){o._hasRun=!0;try{r.setNext(a),l&&i.setNextPlugin(a),a&&(a._hasRun=!1),i.processTelemetry(t,r)}catch(n){var e=a&&a._hasRun;a&&e||r.diagLog().throwInternal(c.LoggingSeverity.CRITICAL,W.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+dn(n)),a&&!e&&a.processTelemetry(t,r)}}else a&&(o._hasRun=!0,a.processTelemetry(t,r))},function(){return{item:t}},!t.sync)}};function An(e,n){var t=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var o=e[i];o&&oe(o.processTelemetry)&&(o=new Nn(o,n),t.push(o),r&&r.setNext(o),r=o)}return 0<t.length?t[0]:null}var Ln=function Vr(e,i,t,n){var r,o,a,u,l=this,s=null;null!==n&&(e&&oe(e.getPlugin)?s=function(e,n,t){var r=[],i=!t;if(e)for(;e;){var o=e.getPlugin();!i&&o!==t||(i=!0,r.push(o)),e=e.getNext()}return i||r.push(t),An(r,n)}(e,l,n||e.getPlugin()):n?(r=l,a=e,u=!1,(o=n)&&e&&(a=[],ye(e,function(e){!u&&e!==o||(u=!0,a.push(e))})),o&&!u&&(a=a||[]).push(o),s=An(a,r)):ee(n)&&(s=An(e,l))),l.core=function(){return t},l.diagLog=function(){return xn(t,i)},l.getCfg=function(){return i},l.getExtCfg=function(e,n){var t,r;return void 0===n&&(n={}),!i||(r=i.extensionConfig)&&e&&(t=r[e]),t||n},l.getConfig=function(e,n,t){var r;return void 0===t&&(t=!1),(e=l.getExtCfg(e,null))&&!ne(e[n])?r=e[n]:i&&!ne(i[n])&&(r=i[n]),ne(r)?t:r},l.hasNext=function(){return null!=s},l.getNext=function(){return s},l.setNext=function(e){s=e},l.processNext=function(e){var n=s;n&&(s=n.getNext(),n.processTelemetry(e,l))},l.createNew=function(e,n){return new Vr((e=void 0===e?null:e)||s,i,t,n)}},kn="extensionConfig",Mn="getPlugin",Fn=(On.prototype.initialize=function(e,n,t,r){this._baseTelInit(e,n,t,r)},On);function On(){var o=this,a=!1,u=null,l=null;o.core=null,o.diagLog=function(e){return o._getTelCtx(e).diagLog()},o.isInitialized=function(){return a},o.setInitialized=function(e){a=e},o.setNextPlugin=function(e){l=e},o.processNext=function(e,n){n?n.processNext(e):l&&oe(l.processTelemetry)&&l.processTelemetry(e,null)},o._getTelCtx=function(e){var n=e=void 0===e?null:e;return n||(e=u||new Ln(null,{},o.core),n=l&&l[Mn]?e.createNew(null,l[Mn]):e.createNew(null,l)),n},o._baseTelInit=function(e,n,t,r){e&&Ae(e,kn,[],null,ne),!r&&n&&(r=n.getProcessTelContext().getNext());var i=l;l&&l[Mn]&&(i=l[Mn]()),o.core=n,u=new Ln(r,e,n,i),a=!0}}var Rn="processTelemetry",Dn="priority",_n="setNextPlugin",jn="isInitialized";function Un(n,t){for(var e=[],r=null,i=n.getNext();i;){var o=i.getPlugin();o&&(r&&oe(r[_n])&&oe(o[Rn])&&r[_n](o),oe(o[jn])&&o[jn]()||e.push(o),r=o,i=i.getNext())}ye(e,function(e){e.initialize(n.getCfg(),n.core(),t,n.getNext())})}function Vn(e){return e.sort(function(e,n){var t=0,r=oe(n[Rn]);return oe(e[Rn])?t=r?e[Dn]-n[Dn]:1:r&&(t=-1),t})}var zn,Bn=(m(Kn,zn=Fn),Kn._staticInit=(Pe(Pr=Kn.prototype,"ChannelControls",Pr.getChannelControls),void Pe(Pr,"channelQueue",Pr.getChannelControls)),Kn);function Kn(){var l,r=zn.call(this)||this;function s(e){e&&0<e.length&&(ye(e=e.sort(function(e,n){return e.priority-n.priority}),function(e){e.priority<500&&Fe("Channel has invalid priority"+e.identifier)}),l.push(e))}return r.identifier="ChannelControllerPlugin",r.priority=500,q(Kn,r,function(a,u){a.setNextPlugin=function(e){},a.processTelemetry=function(n,t){l&&ye(l,function(e){0<e.length&&r._getTelCtx(t).createNew(e).processNext(n)})},a.getChannelControls=function(){return l},a.initialize=function(n,t,r){var e,i,o;a.isInitialized()||(u.initialize(n,t,r),e=(n||{}).channels,i=r,l=[],e&&ye(e,s),i&&(o=[],ye(i,function(e){500<e.priority&&o.push(e)}),s(o)),ye(l,function(e){return Un(new Ln(e,n,t),r)}))}}),r}var Hn="toGMTString",qn="toUTCString",Wn="cookie",Gn="expires",Jn="enabled",Xn="isCookieUseDisabled",Qn="disableCookiesUsage",Zn="_ckMgr",$n="",Yn=null,et=null,nt=null,tt=Ye(),rt={},it={};function ot(e){return!e||e.isEnabled()}function at(e,n){var t,r;return e?t=e.getCookieMgr():n&&(t=n.cookieCfg[Zn]||ut(n)),t||(r=n,n=(e||{}).logger,(e=ut[Zn]||it[Zn])||(e=ut[Zn]=ut(r,n),it[Zn]=e),t=e),t}function ut(e,i){var n,t,s=(Ae(t=(n=e||it).cookieCfg=n.cookieCfg||{},"domain",n.cookieDomain,te,ne),Ae(t,"path",n.cookiePath||"/",null,ne),ne(t[Jn])&&(e=void 0,ee(n[Xn])||(e=!n[Xn]),ee(n[Qn])||(e=!n[Qn]),t[Jn]=e),t),c=s.path||"/",f=s.domain,r=!1!==s[Jn],g={isEnabled:function(){var e=r&&lt(i),n=it[Zn];return e&&n&&g!==n?ot(n):e},setEnabled:function(e){r=!1!==e},set:function(e,n,t,r,i){var o,a,u,l=!1;return ot(g)&&(o={},-1!=(u=(a=Ie(n||$n)).indexOf(";"))&&(a=Ie(n.substring(0,u)),o=st(n.substring(1+u))),Ae(o,"domain",r||f,Me,ee),ne(t)||(u=gn(),!ee(o[Gn])||0<(n=Ee()+1e3*t)&&((r=new Date).setTime(n),Ae(o,Gn,ct(r,u?Hn:qn)||ct(r,u?Hn:qn)||$n,Me)),u||Ae(o,"max-age",$n+t,null,ee)),(t=rn())&&"https:"===t.protocol&&(Ae(o,"secure",null,null,ee),(et=null===et?!dt((nn()||{}).userAgent):et)&&Ae(o,"SameSite","None",null,ee)),Ae(o,"path",i||c,null,ee),(s.setCookie||gt)(e,ft(a,o)),l=!0),l},get:function(e){var n=$n;return ot(g)?(s.getCookie||function(e){var n,t=$n;return tt&&(n=tt[Wn]||$n,nt!==n&&(rt=st(n),nt=n),t=Ie(rt[e]||$n)),t})(e):n},del:function(e,n){return!!ot(g)&&g.purge(e,n)},purge:function(e,n){var t,r=!1;return lt(i)&&((t={}).path=n||"/",t[Gn]="Thu, 01 Jan 1970 00:00:01 GMT",gn()||(t["max-age"]="0"),(s.delCookie||gt)(e,ft($n,t)),r=!0),r}};return g[Zn]=g}function lt(e){if(null===Yn){Yn=!1;try{Yn=(tt||{})[Wn]!==undefined}catch(n){e&&e.throwInternal(c.LoggingSeverity.WARNING,W.CannotAccessCookie,"Cannot access document.cookie - "+Ne(n),{exception:dn(n)})}}return Yn}function st(e){var t={};return e&&e.length&&ye(Ie(e).split(";"),function(e){var n;(e=Ie(e||$n))&&(-1==(n=e.indexOf("="))?t[e]=null:t[Ie(e.substring(0,n))]=Ie(e.substring(1+n)))}),t}function ct(e,n){return oe(e[n])?e[n]():null}function ft(e,n){var t=e||$n;return le(n,function(e,n){t+="; "+e+(ne(n)?$n:"="+n)}),t}function gt(e,n){tt&&(tt[Wn]=e+"="+n)}function dt(e){return!(!ve(e)||!ce(e,"CPU iPhone OS 12")&&!ce(e,"iPad; CPU OS 12")&&!(ce(e,"Macintosh; Intel Mac OS X 10_14")&&ce(e,"Version/")&&ce(e,"Safari"))&&(!ce(e,"Macintosh; Intel Mac OS X 10_14")||!se(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!ce(e,"Chrome/5")&&!ce(e,"Chrome/6")&&(!ce(e,"UnrealEngine")||ce(e,"Chrome"))&&!ce(e,"UCBrowser/12")&&!ce(e,"UCBrowser/11"))}var vt="_notificationManager";function pt(e,n){return new wn(n)}var ht,mt=function zr(){var n,u,l,t,r,s=!1;q(zr,this,function(a){a._extensions=[],u=new Bn,a.logger=new In({loggingLevelConsole:c.LoggingSeverity.CRITICAL}),n=[],a.isInitialized=function(){return s},a.initialize=function(e,n,r,t){a.isInitialized()&&Fe("Core should not be initialized more than once"),e&&!ne(e.instrumentationKey)||Fe("Please provide instrumentation key"),l=t,a[vt]=t,a.config=e||{},a.config.enablePerfMgr&&Ae(a.config,"createPerfMgr",pt),e.extensions=ne(e.extensions)?[]:e.extensions,Le(e,kn).NotificationManager=t,r&&(a.logger=r),(t=[]).push.apply(t,y(y([],n),e.extensions));var t=Vn(t),i=[],o={};ye(t,function(e){(ne(e)||ne(e.initialize))&&Fe("Extensions must provide callback to initialize");var n=e.priority,t=e.identifier;e&&n&&(ne(o[n])?o[n]=t:r.warnToConsole("Two extensions have same priority #"+n+" - "+o[n]+", "+t)),(!n||n<u.priority)&&i.push(e)}),t.push(u),i.push(u),t=Vn(t),a._extensions=t,Un(new Ln([u],e,a),t),Un(new Ln(i,e,a),t),a._extensions=i,0===a.getTransmissionControls().length&&Fe("No channels available"),s=!0,a.releaseQueue()},a.getTransmissionControls=function(){return u.getChannelControls()},a.track=function(e){Ae(e,"iKey",a.config.instrumentationKey,null,ke),Ae(e,"time",me(new Date),null,ke),Ae(e,"ver","4.0",null,ne),a.isInitialized()?a.getProcessTelContext().processNext(e):n.push(e)},a.getProcessTelContext=function(){var e=a._extensions,n=e;return e&&0!==e.length||(n=[u]),new Ln(n,a.config,a)},a.getNotifyMgr=function(){return l||(l=v({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,n){},eventsSendRequest:function(e,n){}}),a[vt]=l),l},a.getCookieMgr=function(){return r=r||ut(a.config,a.logger)},a.setCookieMgr=function(e){r=e},a.getPerfMgr=function(){return t||a.config&&a.config.enablePerfMgr&&oe(a.config.createPerfMgr)&&(t=a.config.createPerfMgr(a,a.getNotifyMgr())),t||null},a.setPerfMgr=function(e){t=e},a.eventCnt=function(){return n.length},a.releaseQueue=function(){0<n.length&&(ye(n,function(e){a.getProcessTelContext().processNext(e)}),n=[])}})},yt=function Br(e){this.listeners=[];var n=!!(e||{}).perfEvtsSendAll;q(Br,this,function(i){i.addNotificationListener=function(e){i.listeners.push(e)},i.removeNotificationListener=function(e){for(var n=Ce(i.listeners,e);-1<n;)i.listeners.splice(n,1),n=Ce(i.listeners,e)},i.eventsSent=function(n){ye(i.listeners,function(e){e&&e.eventsSent&&setTimeout(function(){return e.eventsSent(n)},0)})},i.eventsDiscarded=function(n,t){ye(i.listeners,function(e){e&&e.eventsDiscarded&&setTimeout(function(){return e.eventsDiscarded(n,t)},0)})},i.eventsSendRequest=function(t,r){ye(i.listeners,function(e){if(e&&e.eventsSendRequest)if(r)setTimeout(function(){return e.eventsSendRequest(t,r)},0);else try{e.eventsSendRequest(t,r)}catch(n){}})},i.perfEvent=function(t){t&&(!n&&t.isChildEvt()||ye(i.listeners,function(e){if(e&&e.perfEvent)if(t.isAsync)setTimeout(function(){return e.perfEvent(t)},0);else try{e.perfEvent(t)}catch(n){}}))}})},Ct=(m(St,ht=mt),St);function St(){var e=ht.call(this)||this,r=0;return q(St,e,function(t,i){function n(e){var n=t.getNotifyMgr();n&&n.eventsDiscarded([e],C.InvalidEvent)}t.initialize=function(e,n,t,r){i.initialize(e,n,t||new In(e),r||new yt(e))},t.track=function(e){En(t.getPerfMgr(),function(){return"AppInsightsCore:track"},function(){null===e&&(n(e),Fe("Invalid telemetry item")),function(){if(ne(e.name))throw n(e),Error("telemetry name required")}(),i.track(e)},function(){return{item:e}},!e.sync)},t.addNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.addNotificationListener(e)},t.removeNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.removeNotificationListener(e)},t.pollInternalLogs=function(n){var e=t.config.diagnosticLogInterval;return e&&0<e||(e=1e4),r&&t.stopPollingInternalLogs(),r=setInterval(function(){var e=t.logger?t.logger.queue:[];ye(e,function(e){e={name:n||"InternalMessageId: "+e.messageId,iKey:t.config.instrumentationKey,time:me(new Date),baseType:Cn.dataType,baseData:{message:e.message}},t.track(e)}),e.length=0},e)},t.stopPollingInternalLogs=function(){r&&(clearInterval(r),r=0)}}),e}var xt=4294967296,It=4294967295,bt=!1,Tt=123456789,wt=987654321;function Pt(e){e<0&&(e>>>=0),Tt=123456789+e&It,wt=987654321-e&It,bt=!0}function Et(){try{var e=2147483647&Ee();Pt((Math.random()*xt^e)+e)}catch(n){}}function Nt(e){return 0<e?Math.floor(At()/It*(e+1))>>>0:0}function At(e){var n=(n=sn()||cn())&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&It:gn()?(bt||Et(),Lt()&It):Math.floor(xt*Math.random()|0);return e||(n>>>=0),n}function Lt(e){var n=((wt=36969*(65535&wt)+(wt>>16)&It)<<16)+(65535&(Tt=18e3*(65535&Tt)+(Tt>>16)&It))>>>0&It|0;return e||(n>>>=0),n}var kt="visibilitychange",Mt="pagehide",Ft="pageshow";function Ot(e,n){var t=!1,r=Ze();return r&&(t=ae(r,e,n),t=ae(r.body,e,n)||t),(r=Ye())&&ae(r,e,n)||t}function Rt(e,n,t){var r,i=!1;return n&&e&&ge(e)&&(r=[],ye(e,function(e){ve(e)&&(t&&-1!==Ce(t,e)?r.push(e):i=Ot(e,n)||i)}),!i&&0<r.length&&(i=Rt(r,n))),i}function Dt(e,n){return Rt(["beforeunload","unload","pagehide"],e,n)}function _t(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(zt,function(e){var n=0|Nt(15);return("x"===e?n:3&n|8).toString(16)})}function jt(){var e=an();return e&&e.now?e.now():Ee()}function Ut(e){void 0===e&&(e=22);for(var n=At()>>>0,t=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(At()<<2&4294967295|3&n)>>>0,t=0);return r}function Vt(){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=At())]+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&At())|0];return t.substr(0,8)+t.substr(9,4)+"4"+t.substr(13,3)+i+t.substr(16,3)+t.substr(19,12)}var zt=/[xy]/g,Bt={Attach:ae,AttachEvent:ae,Detach:ue,DetachEvent:ue},Kt={NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32},Ht={Normal:1,CostDeferred:2,RealTime:3,Immediate:4},qt={Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9},Wt=p(p({},W),{AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}),Gt="3.1.8",Jt="1DS-Web-JS-"+Gt,Xt="withCredentials",Qt=((Dr={})[0]=qt.Unspecified,Dr[2]=qt.Double,Dr[1]=qt.String,Dr[3]=qt.Bool,Dr[4098]=qt.Double,Dr[4097]=qt.String,Dr[4099]=qt.Bool,Dr),Zt=null,$t=!!Ye(),Yt=!!Ze();function er(e){return!(""===e||ne(e))}function nr(e){if(e){var n=e.indexOf("-");if(-1<n)return e.substring(0,n)}return""}function tr(){return Zt=null===Zt?!(ee(Uint8Array)||!ee(e=nn())&&e.userAgent&&(~(e=e.userAgent.toLowerCase()).indexOf("safari")||~e.indexOf("firefox"))&&!~e.indexOf("chrome")||fn()):Zt;var e}function rr(e){return!!(e&&pe(e)&&Ht.Normal<=e&&e<=Ht.Immediate)}function ir(e,n,t){if(!n&&!er(n)||"string"!=typeof e)return null;if("string"==(e=typeof n)||"number"==e||"boolean"==e||ge(n))n={value:n};else if("object"!=e||n.hasOwnProperty("value")){if(ne(n.value)||""===n.value||!ve(n.value)&&!pe(n.value)&&!he(n.value)&&!ge(n.value))return null}else n={value:t?JSON.stringify(n):n};if(ge(n.value)&&!pr(n.value))return null;if(!ne(n.kind)){if(ge(n.value)||!vr(n.kind))return null;n.value=n.value.toString()}return n}function or(e,n,t){var r=-1;return ee(e)||(0<n&&(32===n?r=8192:n<=13&&(r=n<<5)),0<=t&&t<=9?(-1===r&&(r=0),r|=t):(e=Qt[mr(e)]||-1,-1!==r&&-1!==e?r|=e:e===qt.Double&&(r=e))),r}function ar(){at(null).setEnabled(!1)}function ur(e,n,t){lt(null)&&at(null).set(e,n,86400*t,null,"/")}function lr(e){lt(null)&&at(null).del(e)}function sr(e){return lt(null)?cr(at(null),e):""}function cr(e,n,t){var r;return void 0===t&&(t=!0),e&&(r=e.get(n),t&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function fr(e){void 0===e&&(e="D");var n=_t();return"B"===e?n="{"+n+"}":"P"===e?n="("+n+")":"N"===e&&(n=n.replace(/-/g,"")),n}function gr(e,n,t,r,i){var o={},a=!1,u=0,l=arguments.length,s=Object[f],c=arguments;for("[object Boolean]"===s.toString.call(c[0])&&(a=c[0],u++);u<l;u++)le(c[u],function(t,e){a&&e&&ie(e)?ge(e)?(o[t]=o[t]||[],ye(e,function(e,n){e&&ie(e)?o[t][n]=gr(!0,o[t][n],e):o[t][n]=e})):o[t]=gr(!0,o[t],e):o[t]=e});return o}var dr=jt;function vr(e){return e===Kt.NotSet||e>Kt.NotSet&&e<=Kt.Pii_IPV4AddressLegacy||e===Kt.CustomerContent_GenericContent}function pr(e){return 0<e.length}function hr(e,n){e.timings=e.timings||{},e.timings.processTelemetryStart=e.timings.processTelemetryStart||{},e.timings.processTelemetryStart[n]=dr()}function mr(e){var n,t=0;return null!==e&&e!==undefined&&("string"==(n=typeof e)?t=1:"number"==n?t=2:"boolean"==n?t=3:n===u&&(t=4,ge(e)?(t=4096,0<e.length&&(t|=mr(e[0]))):re(e,"value")&&(t=8192|mr(e.value)))),t}var yr,Cr={Version:Gt,FullVersionString:Jt,strUndefined:n,strObject:u,Undefined:n,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,objKeys:we,toISOString:me,isReactNative:fn,isString:ve,isNumber:pe,isBoolean:he,isFunction:oe,isArray:ge,isObject:ie,strTrim:Ie,isDocumentObjectAvailable:$t,isWindowObjectAvailable:Yt,isValueAssigned:er,getTenantId:nr,isBeaconsSupported:vn,isUint8ArrayAvailable:tr,isLatency:rr,sanitizeProperty:ir,getISOString:me,useXDomainRequest:pn,getCommonSchemaMetaData:or,cookieAvailable:lt,disallowsSameSiteNone:dt,setCookie:ur,deleteCookie:lr,getCookie:sr,createGuid:fr,extend:gr,getTime:dr,isValueKind:vr,isArrayValid:pr,objDefineAccessors:Pe,addPageUnloadEventListener:Dt,setProcessTelemetryTimings:hr,addEventHandler:Ot,getFieldValueType:mr,strEndsWith:se,objForEachKey:le},Sr={_canUseCookies:undefined,isTypeof:Y,isUndefined:ee,isNullOrUndefined:ne,hasOwnProperty:re,isFunction:oe,isObject:ie,isDate:fe,isArray:ge,isError:de,isString:ve,isNumber:pe,isBoolean:he,toISOString:me,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,strTrim:Ie,objCreate:v,objKeys:we,objDefineAccessors:Pe,addEventHandler:Ot,dateNow:Ee,isIE:gn,disableCookies:ar,newGuid:_t,perfNow:jt,newId:Ut,randomValue:Nt,random32:At,mwcRandomSeed:function(e){e?Pt(e):Et()},mwcRandom32:Lt,generateW3CId:Vt},xr="version",Ir="properties";function br(){var e=yr.call(this)||this;return e.pluginVersionStringArr=[],e.pluginVersionString="",q(br,e,function(u,l){u.logger&&u.logger.queue||(u.logger=new In({loggingLevelConsole:c.LoggingSeverity.CRITICAL})),u.initialize=function(r,i,o,a){En(u,function(){return"AppInsightsCore.initialize"},function(){if(r){if(r.endpointUrl||(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),(e=r.propertyStorageOverride)&&(!e.getProperty||!e.setProperty))throw Error("Invalid property storage override passed.");r.channels&&ye(r.channels,function(e){e&&ye(e,function(e){e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))})})}u.getWParam=function(){return"undefined"!=typeof document?0:-1},i&&ye(i,function(e){e&&e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))}),u.pluginVersionString=u.pluginVersionStringArr.join(";");try{l.initialize(r,i,o,a),u.pollInternalLogs("InternalLog")}catch(t){var e,n=u.logger;~(e=dn(t)).indexOf("channels")&&(e+="\n - Channels must be provided through config.channels only!"),n.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"SDK Initialization Failed - no telemetry will be sent: "+e)}},function(){return{config:r,extensions:i,logger:o,notificationManager:a}})},u.track=function(t){En(u,function(){return"AppInsightsCore.track"},function(){var e,n=t;n&&(n.timings=n.timings||{},n.timings.trackStart=dr(),rr(n.latency)||(n.latency=Ht.Normal),(e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt,(e=n.baseData=n.baseData||{})[Ir]||(e[Ir]={}),(e=e[Ir])[xr]||(e[xr]=""),""!==u.pluginVersionString&&(e[xr]=u.pluginVersionString)),l.track(n)},function(){return{item:t}},!t.sync)}}),e}var Tr,e=(m(br,yr=Ct),br);function wr(){var e=Tr.call(this)||this;return q(wr,e,function(o,a){o.initialize=function(e,n,t,r){e&&!e.endpointUrl&&(e.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),o.getWParam=function(){return $t?0:-1};try{a.initialize(e,n,t,r)}catch(i){o.logger.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"Initialization Failed: "+dn(i)+"\n - Note: Channels must be provided through config.channels only")}},o.track=function(e){var n=e;n&&((e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt),a.track(n)}}),e}var Pr=(m(wr,Tr=mt),wr),Er=oe;function Nr(n){var a=0,u=null,e=[];function i(t,r,i,o){e.push(function(){var e;try{(e=1===a?Er(t)?t(u):u:Er(r)?r(u):u)instanceof Nr?e.then(i,o):(2!==a||Er(r)?i:o)(e)}catch(n){return void o(n)}}),0!==a&&l()}function l(){var r;0<e.length&&(r=e.slice(),e=[],setTimeout(function(){for(var e=0,n=r.length;e<n;++e)try{r[e]()}catch(t){}},0))}function t(e){0===a&&(u=e,a=1,l())}function r(e){0===a&&(u=e,a=2,l())}q(Nr,this,function(n){n.then=function(t,r){return new Nr(function(e,n){i(t,r,e,n)})},n["catch"]=function(e){return n.then(null,e)}}),function(){if(!Er(n))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{n(t,r)}catch(e){r(e)}}()}var Ar=(Nr.resolve=function(r){return r instanceof Nr?r:r&&Er(r.then)?new Nr(function(e,n){try{r.then(e,n)}catch(t){n(t)}}):new Nr(function(e){e(r)})},Nr.reject=function(t){return new Nr(function(e,n){n(t)})},Nr.all=function(u){if(u&&u.length)return new Nr(function(r,e){try{for(var i=[],o=0,n=0;n<u.length;n++){var t=u[n];t&&Er(t.then)?(o++,t.then(function(n,t){return function(e){n[t]=e,0==--o&&r(i)}}(i,n),e)):i[n]=t}0===o&&setTimeout(function(){r(i)},0)}catch(a){e(a)}})},Nr.race=function(i){return new Nr(function(n,t){if(i&&i.length)try{for(var r=0;r<i.length;r++)!function(){var e=i[r];e&&Er(e.then)?e.then(n,t):setTimeout(function(){n(e)},0)}()}catch(e){t(e)}})},Nr),Lr=0,kr=[],Mr=[],Fr=[];function Or(){return(new Date).getTime()}function Rr(e,n){var h=0,m=(e||"<unnamed>")+"."+Lr;function y(e){var n=g();n&&n.QUnit&&console&&console.log("ESPromiseScheduler["+m+"] "+e)}function C(e){n&&n.warnToConsole("ESPromiseScheduler["+m+"] "+e)}Lr++,q(Rr,this,function(e){var d=null,v=0;function p(e,n){for(var t=0;t<e.length;t++)if(e[t].id===n)return e.splice(t,1)[0];return null}e.scheduleEvent=function(t,e,u){var i=m+"."+v;v++,e&&(i+="-("+e+")");var o,a,n,r=i+"{"+h+"}";return h++,(e={evt:null,tm:Or(),id:r,isRunning:!1,isAborted:!1}).evt=d?(o=e,a=d,n=new Ar(function(n,t){var e=Or()-a.tm,r=a.id;y("["+i+"] is waiting for ["+r+":"+e+" ms] to complete before starting -- ["+Mr.length+"] waiting and ["+kr.length+"] running"),o.abort=function(e){o.abort=null,p(Mr,i),o.isAborted=!0,t(Error(e))},a.evt.then(function(e){p(Mr,i),g(o).then(n,t)},function(e){p(Mr,i),g(o).then(n,t)})}),Mr.push(o),n):g(e),(d=e).evt._schId=r,e.evt;function l(e){for(var n=Or(),t=n-6e5,r=e.length,i=0;i<r;){var o,a=e[i];a&&a.tm<t?(o=null,a.abort?(o="Aborting ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",a.abort(o)):o="Removing ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",C(o),e.splice(i,1),r--):i++}}function s(e,n){var t,r=!1,i=p(kr,e);i||(i=p(Fr,e),r=!0),i?(i.to&&(clearTimeout(i.to),i.to=null),t=Or()-i.tm,n?r?C("Timed out event ["+e+"] finally complete -- "+t+" ms"):y("Promise ["+e+"] Complete -- "+t+" ms"):(Fr.push(i),C("Event ["+e+"] Timed out and removed -- "+t+" ms"))):y("Failed to remove ["+e+"] from running queue"),d&&d.id===e&&(d=null),l(kr),l(Mr),l(Fr)}function c(n,t){return function(e){return s(n,!0),t&&t(e),e}}function f(r,o){var a=r.id;return new Ar(function(n,t){y("Event ["+a+"] Starting -- waited for "+(r.wTm||"--")+" ms"),r.isRunning=!0,r.abort=function(e){r.abort=null,r.isAborted=!0,s(a,!1),t(Error(e))};var e=o(a);e instanceof Ar?(u&&(r.to=setTimeout(function(){s(a,!1),t(Error("Timed out after ["+u+"] ms"))},u)),function i(n,e,t,r){e.then(function(e){return e instanceof Ar?(y("Event ["+n+"] returned a promise -- waiting"),i(n,e,t,r),e):c(n,t)(e)},c(n,r))}(a,e,function(e){y("Event ["+a+"] Resolving after "+(Or()-r.tm)+" ms"),n(e)},t)):(y("Promise ["+a+"] Auto completed as the start action did not return a promise"),n())})}function g(e){var n=Or();return e.wTm=n-e.tm,e.tm=n,e.isAborted?Ar.reject(Error("["+i+"] was aborted")):(kr.push(e),f(e,t))}}})}var p=(Rr.incomplete=function(){return kr},Rr.waitingToStart=function(){return Mr},Rr),Dr=(_r.getFieldType=mr,_r);function _r(e){var l=this,o={},a=[],u=[];function s(e,n){var t=o[e];if(!(i=t?t[n]:i)&&null!==i){if(ve(e)&&ve(n))if(0<u.length){for(var r=0;r<u.length;r++)if(u[r].handleField(e,n)){i={canHandle:!0,fieldHandler:u[r]};break}}else 0===a.length&&(i={canHandle:!0});if(!i&&null!==i)for(var i=null,r=0;r<a.length;r++)if(a[r].handleField(e,n)){i={canHandle:!0,handler:a[r],fieldHandler:null};break}(t=t||(o[e]={}))[n]=i}return i}function c(e,n,t,r,i,o){if(e.handler)return e.handler.property(n,t,i,o);if(!ne(i.kind)){if(4096==(4096&r)||!vr(i.kind))return null;i.value=i.value.toString()}return function u(r,i,o,e,n){var t,a;return n&&r&&(t=r.getSanitizer(i,o,e,n.kind,n.propertyType))&&(4===e?(a={},le(n.value,function(e,n){var t;er(n)&&(t=f(0,0,n),(t=u(r,i+"."+o,e,mr(n),t))&&(a[e]=t.value))}),n.value=a):n=t.call(l,e={path:i,name:o,type:e,prop:n,sanitizer:l})),n}(e.fieldHandler,n,t,r,i)}function f(e,n,t){return er(t)?{value:t}:null}e&&u.push(e),l.addSanitizer=function(e){e&&(a.push(e),o={})},l.addFieldSanitizer=function(e){e&&(u.push(e),o={})},l.handleField=function(e,n){return!!(n=s(e,n))&&n.canHandle},l.value=function(e,n,t,r){var i=s(e,n);if(i&&i.canHandle){if(!i||!i.canHandle)return null;if(i.handler)return i.handler.value(e,n,t,r);if(!ve(n)||ne(t)||""===t)return null;var o=null,a=mr(t);if(8192==(8192&a)){var u=-8193&a;if(!er((o=t).value)||1!=u&&2!=u&&3!=u&&4096!=(4096&u))return null}else 1===a||2===a||3===a||4096==(4096&a)?o=f(0,0,t):4===a&&(o=f(0,0,r?JSON.stringify(t):t));if(o)return c(i,e,n,a,o,r)}return null},l.property=function(e,n,t,r){var i=s(e,n);if(!i||!i.canHandle)return null;if(!ve(n)||ne(t)||!er(t.value))return null;var o=mr(t.value);return 0===o?null:c(i,e,n,o,t,r)}}c.AppInsightsCore=e,c.BaseCore=Pr,c.BaseTelemetryPlugin=Fn,c.CoreUtils=Sr,c.DiagnosticLogger=In,c.ESPromise=Ar,c.ESPromiseScheduler=p,c.EventHelper=Bt,c.EventLatency=Ht,c.EventPersistence={Normal:1,Critical:2},c.EventPropertyType=qt,c.EventsDiscardedReason=C,c.FullVersionString=Jt,c.InternalAppInsightsCore=Ct,c.InternalBaseCore=mt,c.MinChannelPriorty=100,c.NotificationManager=yt,c.PerfEvent=bn,c.PerfManager=wn,c.ProcessTelemetryContext=Ln,c.TraceLevel={NONE:0,ERROR:1,WARNING:2,INFORMATION:3},c.Undefined=n,c.Utils=Cr,c.ValueKind=Kt,c.ValueSanitizer=Dr,c.Version=Gt,c._ExtendedInternalMessageId=Wt,c._InternalLogMessage=Cn,c._InternalMessageId=W,c.addEventHandler=Ot,c.addEventListeners=Rt,c.addPageHideEventListener=function Kr(t,e){var n=!1;return e&&-1!==Ce(e,Mt)||(n=Ot(Mt,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"hidden"===n.visibilityState&&t(e)})||n)&&e?Kr(t):n},c.addPageShowEventListener=function Hr(t,e){var n=!1;return e&&-1!==Ce(e,Ft)||(n=Ot(Ft,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"visible"===n.visibilityState&&t(e)})||n)&&e?Hr(t):n},c.addPageUnloadEventListener=Dt,c.areCookiesSupported=lt,c.arrForEach=ye,c.arrIndexOf=Ce,c.arrMap=Se,c.arrReduce=xe,c.attachEvent=ae,c.cookieAvailable=lt,c.createCookieMgr=ut,c.createGuid=fr,c.dateNow=Ee,c.deleteCookie=lr,c.detachEvent=ue,c.disableCookies=ar,c.disallowsSameSiteNone=dt,c.doPerf=En,c.dumpObj=dn,c.extend=gr,c.generateW3CId=Vt,c.getCommonSchemaMetaData=or,c.getConsole=on,c.getCookie=sr,c.getCookieValue=cr,c.getCrypto=sn,c.getDocument=Ye,c.getExceptionName=Ne,c.getFieldValueType=mr,c.getGlobal=g,c.getGlobalInst=Xe,c.getHistory=function(){return tn()?history:Xe("history")},c.getIEVersion=function(e){var n;return ce(e=((e=(e=void 0===e?null:e)?e:(n=nn()||{})?(n.userAgent||"").toLowerCase():"")||"").toLowerCase(),ze)?parseInt(e.split(ze)[1]):ce(e,Be)&&(e=parseInt(e.split(Be)[1]))?e+4:null},c.getISOString=me,c.getJSON=ln,c.getLocation=rn,c.getMsCrypto=cn,c.getNavigator=nn,c.getPerformance=an,c.getSetValue=Le,c.getTenantId=nr,c.getTime=dr,c.getWindow=Ze,c.hasDocument=$e,c.hasHistory=tn,c.hasJSON=un,c.hasNavigator=en,c.hasOwnProperty=re,c.hasWindow=Qe,c.isArray=ge,c.isArrayValid=pr,c.isBeaconsSupported=vn,c.isBoolean=he,c.isChromium=function(){return!!Xe("chrome")},c.isDate=fe,c.isDocumentObjectAvailable=$t,c.isError=de,c.isFetchSupported=function(e){var n=!1;try{var n=!!Xe("fetch"),t=Xe("Request");n&&e&&t&&(n=Je(t,"keepalive"))}catch(r){}return n},c.isFunction=oe,c.isIE=gn,c.isLatency=rr,c.isNotTruthy=ke,c.isNullOrUndefined=ne,c.isNumber=pe,c.isObject=ie,c.isReactNative=fn,c.isString=ve,c.isTruthy=Me,c.isTypeof=Y,c.isUint8ArrayAvailable=tr,c.isUndefined=ee,c.isValueAssigned=er,c.isValueKind=vr,c.isWindowObjectAvailable=Yt,c.isXhrSupported=hn,c.newGuid=_t,c.newId=Ut,c.normalizeJsName=function(e){var n=e,t=/([^\w\d_$])/g;return t.test(e)?e.replace(t,"_"):n},c.objCreate=v,c.objDefineAccessors=Pe,c.objForEachKey=le,c.objKeys=we,c.openXhr=function(e,n,t,r,i){function o(e,n,t){try{e[n]=t}catch(r){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var a=new XMLHttpRequest;return r&&o(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),t&&o(a,Xt,t),a.open(e,n,!i),t&&o(a,Xt,t),a},c.optimizeObject=function(e){return e&&t(r?r({},e):e)},c.perfNow=jt,c.proxyAssign=function(r,i,o){if(r&&i&&r!==i&&ie(r)&&ie(i))for(var e in i)!function(n){var e,t;ve(n)&&(oe(e=i[n])?o&&!o(n,!0,i,r)||(r[n]=(t=n,function(){return i[t].apply(i,arguments)})):o&&!o(n,!1,i,r)||(re(r,n)&&delete r[n],Pe(r,n,function(){return i[n]},function(e){i[n]=e})||(r[n]=e)))}(e);return r},c.random32=At,c.randomValue=Nt,c.safeGetCookieMgr=at,c.safeGetLogger=xn,c.sanitizeProperty=ir,c.setCookie=ur,c.setEnableEnvMocks=function(e){qe=e},c.setProcessTelemetryTimings=hr,c.setValue=Ae,c.strContains=ce,c.strEndsWith=se,c.strExtensionConfig=kn,c.strFunction=a,c.strIKey="iKey",c.strObject=u,c.strPrototype=f,c.strStartsWith=function(e,n){var t=!1;if(e&&n){var r=n.length;if(e===n)return!0;if(e.length>=r){for(var i=0;i<r;i++)if(e[i]!==n[i])return!1;t=!0}}return t},c.strTrim=Ie,c.strUndefined=n,c.throwError=Fe,c.toISOString=me,c.useXDomainRequest=pn,function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(i){}typeof t.value!==undefined&&(e[n]=t.value)}(c,"__esModule",{value:!0})}(this.oneDS=this.oneDS||{});
!function(c){"use strict";var a="function",u="object",n="undefined",f="prototype",o="hasOwnProperty",t=Object,l=t[f],r=t.assign,i=t.create,e=t.defineProperty,s=l[o];function g(){return typeof globalThis!==n&&globalThis?globalThis:typeof self!==n&&self?self:typeof window!==n&&window?window:typeof global!==n&&global?global:null}function d(e){throw new TypeError(e)}function v(e){if(i)return i(e);if(null==e)return{};var n=typeof e;function t(){}return n!==u&&n!==a&&d("Object prototype may only be an Object:"+e),t[f]=e,new t}(g()||{}).Symbol,(g()||{}).Reflect;var p=r||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])l[o].call(n,i)&&(e[i]=n[i]);return e},h=function(e,n){return(h=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[o](t)&&(e[t]=n[t])})(e,n)};function m(e,n){function t(){this.constructor=e}typeof n!==a&&null!==n&&d("Class extends value "+n+" is not a constructor or null"),h(e,n),e[f]=null===n?v(n):(t[f]=n[f],new t)}function y(e,n){for(var t=0,r=n.length,i=e.length;t<r;t++,i++)e[i]=n[t];return e}var C={Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5},S="constructor",x="prototype",I="function",b="_dynInstFuncs",T="_isDynProxy",w="_dynClass",P="_dynInstChk",E=P,N="_dfOpts",A="_unknown_",L="__proto__",k="useBaseInst",M="setInstFuncs",F=Object,O=F.getPrototypeOf,R=0;function D(e,n){return e&&F[x].hasOwnProperty.call(e,n)}function _(e){return e&&(e===F[x]||e===Array[x])}function j(e){return _(e)||e===Function[x]}function U(e){if(e){if(O)return O(e);if(e=e[L]||e[x]||(e[S]?e[S][x]:null))return e}return null}function V(e,n){var t=[],r=F.getOwnPropertyNames;if(r)t=r(e);else for(var i in e)"string"==typeof i&&D(e,i)&&t.push(i);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function z(e,n,t){return n!==S&&typeof e[n]===I&&(t||D(e,n))}function B(e){throw new TypeError("DynamicProto: "+e)}function K(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function H(e,n){return D(e,x)?e.name||n||A:((e||{})[S]||{}).name||n||A}function q(e,r,n,t){D(e,x)||B("theClass is an invalid class definition.");var i=e[x];!function(e){if(O)for(var n=[],t=U(r);t&&!j(t)&&!K(n,t);){if(t===e)return 1;n.push(t),t=U(t)}}(i)&&B("["+H(e)+"] is not in class hierarchy of ["+H(r)+"]");var o=null;D(i,w)?o=i[w]:(o="_dynCls$"+H(e,"_")+"$"+R,R++,i[w]=o);var a=q[N],u=!!a[k];u&&t&&t[k]!==undefined&&(u=!!t[k]);var l,s,c,f,g,d,e=(s={},V(l=r,function(e){!s[e]&&z(l,e,!1)&&(s[e]=l[e])}),s);n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[T]&&o&&!1!==(r=e[b]||{})[E]&&(i=(r[n[w]]||{})[t]||i),function(){return i.apply(e,arguments)}}var i={};V(t,function(e){i[e]=r(n,t,e)});for(var a=U(e),u=[];a&&!j(a)&&!K(u,a);)V(a,function(e){!i[e]&&z(a,e,!O)&&(i[e]=r(n,a,e))}),u.push(a),a=U(a);return i}(i,r,e,u)),a=!!O&&!!a[M],c=i,o=o,f=r,g=e,t=!1!==(a=a&&t?!!t[M]:a),_(c)||(a=f[b]=f[b]||{},d=a[o]=a[o]||{},!1!==a[E]&&(a[E]=!!t),V(f,function(e){var t,r,i;z(f,e,!1)&&f[e]!==g[e]&&(d[e]=f[e],delete f[e],D(c,e)&&(!c[e]||c[e][T])||(c[e]=(t=c,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&D(t,w)){var o=e[b]||{};if((i=(o[t[w]]||{})[n])||B("Missing ["+n+"] "+I),!i[P]&&!1!==o[E]){for(var a=!D(e,n),u=U(e),l=[];a&&u&&!j(u)&&!K(l,u);){var s=u[n];if(s){a=s===r;break}l.push(u),u=U(u)}try{a&&(e[n]=i),i[P]=1}catch(c){o[E]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?U(t)[e]:n)!==I&&B("["+e+"] is not a "+I),n)).apply(this,arguments)})[T]=1,i)))}))}q[N]={setInstFuncs:!0,useBaseInst:!0},c.LoggingSeverity=void 0,(Sr=c.LoggingSeverity||(c.LoggingSeverity={}))[Sr.CRITICAL=1]="CRITICAL",Sr[Sr.WARNING=2]="WARNING";var W={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},G="attachEvent",J="addEventListener",X="detachEvent",Q="removeEventListener",Z=e;function $(e){return l.toString.call(e)}function Y(e,n){return typeof e===n}function ee(e){return e===undefined||typeof e===n}function ne(e){return null===e||ee(e)}function te(e){return!ne(e)}function re(e,n){return e&&s.call(e,n)}function ie(e){return typeof e===u}function oe(e){return typeof e===a}function ae(e,n,t,r){void 0===r&&(r=!1);var i=!1;if(!ne(e))try{ne(e[J])?ne(e[G])||(e[G]("on"+n,t),i=!0):(e[J](n,t,r),i=!0)}catch(o){}return i}function ue(e,n,t,r){if(void 0===r&&(r=!1),!ne(e))try{ne(e[Q])?ne(e[X])||e[X]("on"+n,t):e[Q](n,t,r)}catch(i){}}function le(e,n){if(e)for(var t in e)s.call(e,t)&&n.call(e,t,e[t])}function se(e,n){if(e&&n){var t=n.length,r=e.length;if(e===n)return!0;if(t<=r){for(var i=r-1,o=t-1;0<=o;o--){if(e[i]!=n[o])return!1;i--}return!0}}return!1}function ce(e,n){return!(!e||!n||!~e.indexOf(n))}function fe(e){return"[object Date]"===$(e)}function ge(e){return"[object Array]"===$(e)}function de(e){return"[object Error]"===$(e)}function ve(e){return"string"==typeof e}function pe(e){return"number"==typeof e}function he(e){return"boolean"==typeof e}function me(e){if(fe(e)){var n=function(e){return 1===(e=""+e).length?"0"+e:e};return 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"}}function ye(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 Ce(e,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 Se(e,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(u){}return o}function xe(e,n,t){var r,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}function Ie(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}var be=!{toString:null}.propertyIsEnumerable("toString"),Te=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function we(e){var n=typeof e;n===a||n===u&&null!==e||d("objKeys called on non-object");var t,r=[];for(t in e)e&&s.call(e,t)&&r.push(t);if(be)for(var i=Te.length,o=0;o<i;o++)e&&s.call(e,Te[o])&&r.push(Te[o]);return r}function Pe(e,n,t,r){if(Z)try{var i={enumerable:!0,configurable:!0};return t&&(i.get=t),r&&(i.set=r),Z(e,n,i),!0}catch(o){}return!1}function Ee(){var e=Date;return e.now?e.now():(new e).getTime()}function Ne(e){return de(e)?e.name:""}function Ae(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 Le(e,n,t){var r;return e?!(r=e[n])&&ne(r)&&(r=ee(t)?{}:t,e[n]=r):r=ee(t)?{}:t,r}function ke(e){return!e}function Me(e){return!!e}function Fe(e){throw Error(e)}var Oe="window",Re="navigator",De="location",_e="performance",je="JSON",Ue="crypto",Ve="msCrypto",ze="msie",Be="trident/",Ke=null,He=null,qe=!1,We=null,Ge=null;function Je(e,n){var t,r=!1;if(e){try{(r=n in e)||(t=e[f])&&(r=n in t)}catch(i){}if(!r)try{r=!ee((new e)[n])}catch(i){}}return r}function Xe(e){var n=g();return n&&n[e]?n[e]:e===Oe&&Qe()?window:null}function Qe(){return!(typeof window!==u||!window)}function Ze(){return Qe()?window:Xe(Oe)}function $e(){return!(typeof document!==u||!document)}function Ye(){return $e()?document:Xe("document")}function en(){return!(typeof navigator!==u||!navigator)}function nn(){return en()?navigator:Xe(Re)}function tn(){return!(typeof history!==u||!history)}function rn(e){return e&&qe&&(e=Xe("__mockLocation"))?e:typeof location===u&&location?location:Xe(De)}function on(){return typeof console!==n?console:Xe("console")}function an(){return Xe(_e)}function un(){return!!(typeof JSON===u&&JSON||null!==Xe(je))}function ln(){return un()?JSON||Xe(je):null}function sn(){return Xe(Ue)}function cn(){return Xe(Ve)}function fn(){var e=nn();return!(!e||!e.product)&&"ReactNative"===e.product}function gn(){var e=nn();return!e||e.userAgent===He&&null!==Ke||(e=((He=e.userAgent)||"").toLowerCase(),Ke=ce(e,ze)||ce(e,Be)),Ke}function dn(e){var n=Object[f].toString.call(e),t="";return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":un()&&(t=ln().stringify(e)),n+t}function vn(){return Ge=null===Ge?en()&&!!nn().sendBeacon:Ge}function pn(){return We=null===We&&(We=typeof XDomainRequest!==undefined)&&hn()?We&&!Je(Xe("XMLHttpRequest"),"withCredentials"):We}function hn(){var e=!1;try{e=!!Xe("XMLHttpRequest")}catch(n){}return e}function mn(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function yn(e,n){var t,r=on();r&&(t="log",oe(r[t=r[e]?e:t])&&r[t](n))}var Cn=(Sn.dataType="MessageData",Sn);function Sn(e,n,t,r){void 0===t&&(t=!1),this.messageId=e,this.message=(t?"AI: ":"AI (Internal): ")+e,e="",un()&&(e=ln().stringify(r)),e=(n?" message:"+mn(n):"")+(r?" props:"+mn(e):""),this.message+=e}function xn(e,n){return(e||{}).logger||new In(n)}var In=function jr(t){this.identifier="DiagnosticLogger",this.queue=[];var i=0,a={};q(jr,this,function(o){function e(e,n){return ne(e=t[e])?n:e}ne(t)&&(t={}),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){if(n=new Cn(n,t,i=void 0!==i&&i,r),o.enableDebugExceptions())throw n;t=e===c.LoggingSeverity.CRITICAL?"errorToConsole":"warnToConsole",ee(n.message)||(r=o.consoleLoggingLevel(),i?(i=+n.messageId,!a[i]&&e<=r&&(o[t](n.message),a[i]=!0)):e<=r&&o[t](n.message),o.logInternalMessage(e,n))},o.warnToConsole=function(e){yn("warn",e)},o.errorToConsole=function(e){yn("error",e)},o.resetInternalMessageCount=function(){i=0,a={}},o.logInternalMessage=function(e,n){var t,r;i>=o.maxInternalMessageLimit()||(t=!0,r="AITR_"+n.messageId,a[r]?t=!1:a[r]=!0,t&&(e<=o.telemetryLoggingLevel()&&(o.queue.push(n),i++),i===o.maxInternalMessageLimit()&&(n=new Cn(W.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),o.queue.push(n),o.warnToConsole(e))))}})},bn=(Tn.ParentContextKey="parent",Tn.ChildrenContextKey="childEvts",Tn);function Tn(e,i,n){var t,o=this,a=!1;o.start=Ee(),o.name=e,o.isAsync=n,o.isChildEvt=function(){return!1},oe(i)&&(a=Pe(o,"payload",function(){return!t&&oe(i)&&(t=i(),i=null),t})),o.getCtx=function(e){return e?(e===Tn.ParentContextKey||e===Tn.ChildrenContextKey?o:o.ctx||{})[e]:null},o.setCtx=function(e,n){e&&(e===Tn.ParentContextKey?(o[e]||(o.isChildEvt=function(){return!0}),o[e]=n):e===Tn.ChildrenContextKey?o[e]=n:(o.ctx=o.ctx||{})[e]=n)},o.complete=function(){var e=0,n=o.getCtx(Tn.ChildrenContextKey);if(ge(n))for(var t=0;t<n.length;t++){var r=n[t];r&&(e+=r.time)}o.time=Ee()-o.start,o.exTime=o.time-e,o.complete=function(){},!a&&oe(i)&&(o.payload=i())}}var wn=function Ur(n){this.ctx={},q(Ur,this,function(t){t.create=function(e,n,t){return new bn(e,n,t)},t.fire=function(e){e&&(e.complete(),n&&oe(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 En(e,n,t,r,i){if(e){var o=e;if(o=oe(o.getPerfMgr)?o.getPerfMgr():o){var a,u=void 0,e=o.getCtx(Pn);try{if(u=o.create(n(),r,i))return e&&u.setCtx&&(u.setCtx(bn.ParentContextKey,e),e.getCtx&&e.setCtx&&((a=e.getCtx(bn.ChildrenContextKey))||(a=[],e.setCtx(bn.ChildrenContextKey,a)),a.push(u))),o.setCtx(Pn,u),t(u)}catch(l){u&&u.setCtx&&u.setCtx("exception",l)}finally{u&&o.fire(u),o.setCtx(Pn,e)}}}return t()}var Nn=function(i,n){var o=this,a=null,u=oe(i.processTelemetry),l=oe(i.setNextPlugin);o._hasRun=!1,o.getPlugin=function(){return i},o.getNext=function(){return a},o.setNext=function(e){a=e},o.processTelemetry=function(t,r){r=r||n;var e=i?i.identifier:"TelemetryPluginChain";En(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&u){o._hasRun=!0;try{r.setNext(a),l&&i.setNextPlugin(a),a&&(a._hasRun=!1),i.processTelemetry(t,r)}catch(n){var e=a&&a._hasRun;a&&e||r.diagLog().throwInternal(c.LoggingSeverity.CRITICAL,W.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+dn(n)),a&&!e&&a.processTelemetry(t,r)}}else a&&(o._hasRun=!0,a.processTelemetry(t,r))},function(){return{item:t}},!t.sync)}};function An(e,n){var t=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var o=e[i];o&&oe(o.processTelemetry)&&(o=new Nn(o,n),t.push(o),r&&r.setNext(o),r=o)}return 0<t.length?t[0]:null}var Ln=function Vr(e,i,t,n){var r,o,a,u,l=this,s=null;null!==n&&(e&&oe(e.getPlugin)?s=function(e,n,t){var r=[],i=!t;if(e)for(;e;){var o=e.getPlugin();!i&&o!==t||(i=!0,r.push(o)),e=e.getNext()}return i||r.push(t),An(r,n)}(e,l,n||e.getPlugin()):n?(r=l,a=e,u=!1,(o=n)&&e&&(a=[],ye(e,function(e){!u&&e!==o||(u=!0,a.push(e))})),o&&!u&&(a=a||[]).push(o),s=An(a,r)):ee(n)&&(s=An(e,l))),l.core=function(){return t},l.diagLog=function(){return xn(t,i)},l.getCfg=function(){return i},l.getExtCfg=function(e,n){var t,r;return void 0===n&&(n={}),!i||(r=i.extensionConfig)&&e&&(t=r[e]),t||n},l.getConfig=function(e,n,t){var r;return void 0===t&&(t=!1),(e=l.getExtCfg(e,null))&&!ne(e[n])?r=e[n]:i&&!ne(i[n])&&(r=i[n]),ne(r)?t:r},l.hasNext=function(){return null!=s},l.getNext=function(){return s},l.setNext=function(e){s=e},l.processNext=function(e){var n=s;n&&(s=n.getNext(),n.processTelemetry(e,l))},l.createNew=function(e,n){return new Vr((e=void 0===e?null:e)||s,i,t,n)}},kn="extensionConfig",Mn="getPlugin",Fn=(On.prototype.initialize=function(e,n,t,r){this._baseTelInit(e,n,t,r)},On);function On(){var o=this,a=!1,u=null,l=null;o.core=null,o.diagLog=function(e){return o._getTelCtx(e).diagLog()},o.isInitialized=function(){return a},o.setInitialized=function(e){a=e},o.setNextPlugin=function(e){l=e},o.processNext=function(e,n){n?n.processNext(e):l&&oe(l.processTelemetry)&&l.processTelemetry(e,null)},o._getTelCtx=function(e){var n=e=void 0===e?null:e;return n||(e=u||new Ln(null,{},o.core),n=l&&l[Mn]?e.createNew(null,l[Mn]):e.createNew(null,l)),n},o._baseTelInit=function(e,n,t,r){e&&Ae(e,kn,[],null,ne),!r&&n&&(r=n.getProcessTelContext().getNext());var i=l;l&&l[Mn]&&(i=l[Mn]()),o.core=n,u=new Ln(r,e,n,i),a=!0}}var Rn="processTelemetry",Dn="priority",_n="setNextPlugin",jn="isInitialized";function Un(n,t){for(var e=[],r=null,i=n.getNext();i;){var o=i.getPlugin();o&&(r&&oe(r[_n])&&oe(o[Rn])&&r[_n](o),oe(o[jn])&&o[jn]()||e.push(o),r=o,i=i.getNext())}ye(e,function(e){e.initialize(n.getCfg(),n.core(),t,n.getNext())})}function Vn(e){return e.sort(function(e,n){var t=0,r=oe(n[Rn]);return oe(e[Rn])?t=r?e[Dn]-n[Dn]:1:r&&(t=-1),t})}var zn,Bn=(m(Kn,zn=Fn),Kn._staticInit=(Pe(Pr=Kn.prototype,"ChannelControls",Pr.getChannelControls),void Pe(Pr,"channelQueue",Pr.getChannelControls)),Kn);function Kn(){var l,r=zn.call(this)||this;function s(e){e&&0<e.length&&(ye(e=e.sort(function(e,n){return e.priority-n.priority}),function(e){e.priority<500&&Fe("Channel has invalid priority"+e.identifier)}),l.push(e))}return r.identifier="ChannelControllerPlugin",r.priority=500,q(Kn,r,function(a,u){a.setNextPlugin=function(e){},a.processTelemetry=function(n,t){l&&ye(l,function(e){0<e.length&&r._getTelCtx(t).createNew(e).processNext(n)})},a.getChannelControls=function(){return l},a.initialize=function(n,t,r){var e,i,o;a.isInitialized()||(u.initialize(n,t,r),e=(n||{}).channels,i=r,l=[],e&&ye(e,s),i&&(o=[],ye(i,function(e){500<e.priority&&o.push(e)}),s(o)),ye(l,function(e){return Un(new Ln(e,n,t),r)}))}}),r}var Hn="toGMTString",qn="toUTCString",Wn="cookie",Gn="expires",Jn="enabled",Xn="isCookieUseDisabled",Qn="disableCookiesUsage",Zn="_ckMgr",$n="",Yn=null,et=null,nt=null,tt=Ye(),rt={},it={};function ot(e){return!e||e.isEnabled()}function at(e,n){var t,r;return e?t=e.getCookieMgr():n&&(t=n.cookieCfg[Zn]||ut(n)),t||(r=n,n=(e||{}).logger,(e=ut[Zn]||it[Zn])||(e=ut[Zn]=ut(r,n),it[Zn]=e),t=e),t}function ut(e,i){var n,t,s=(Ae(t=(n=e||it).cookieCfg=n.cookieCfg||{},"domain",n.cookieDomain,te,ne),Ae(t,"path",n.cookiePath||"/",null,ne),ne(t[Jn])&&(e=void 0,ee(n[Xn])||(e=!n[Xn]),ee(n[Qn])||(e=!n[Qn]),t[Jn]=e),t),c=s.path||"/",f=s.domain,r=!1!==s[Jn],g={isEnabled:function(){var e=r&&lt(i),n=it[Zn];return e&&n&&g!==n?ot(n):e},setEnabled:function(e){r=!1!==e},set:function(e,n,t,r,i){var o,a,u,l=!1;return ot(g)&&(o={},-1!=(u=(a=Ie(n||$n)).indexOf(";"))&&(a=Ie(n.substring(0,u)),o=st(n.substring(1+u))),Ae(o,"domain",r||f,Me,ee),ne(t)||(u=gn(),!ee(o[Gn])||0<(n=Ee()+1e3*t)&&((r=new Date).setTime(n),Ae(o,Gn,ct(r,u?Hn:qn)||ct(r,u?Hn:qn)||$n,Me)),u||Ae(o,"max-age",$n+t,null,ee)),(t=rn())&&"https:"===t.protocol&&(Ae(o,"secure",null,null,ee),(et=null===et?!dt((nn()||{}).userAgent):et)&&Ae(o,"SameSite","None",null,ee)),Ae(o,"path",i||c,null,ee),(s.setCookie||gt)(e,ft(a,o)),l=!0),l},get:function(e){var n=$n;return ot(g)?(s.getCookie||function(e){var n,t=$n;return tt&&(n=tt[Wn]||$n,nt!==n&&(rt=st(n),nt=n),t=Ie(rt[e]||$n)),t})(e):n},del:function(e,n){return!!ot(g)&&g.purge(e,n)},purge:function(e,n){var t,r=!1;return lt(i)&&((t={}).path=n||"/",t[Gn]="Thu, 01 Jan 1970 00:00:01 GMT",gn()||(t["max-age"]="0"),(s.delCookie||gt)(e,ft($n,t)),r=!0),r}};return g[Zn]=g}function lt(e){if(null===Yn){Yn=!1;try{Yn=(tt||{})[Wn]!==undefined}catch(n){e&&e.throwInternal(c.LoggingSeverity.WARNING,W.CannotAccessCookie,"Cannot access document.cookie - "+Ne(n),{exception:dn(n)})}}return Yn}function st(e){var t={};return e&&e.length&&ye(Ie(e).split(";"),function(e){var n;(e=Ie(e||$n))&&(-1==(n=e.indexOf("="))?t[e]=null:t[Ie(e.substring(0,n))]=Ie(e.substring(1+n)))}),t}function ct(e,n){return oe(e[n])?e[n]():null}function ft(e,n){var t=e||$n;return le(n,function(e,n){t+="; "+e+(ne(n)?$n:"="+n)}),t}function gt(e,n){tt&&(tt[Wn]=e+"="+n)}function dt(e){return!(!ve(e)||!ce(e,"CPU iPhone OS 12")&&!ce(e,"iPad; CPU OS 12")&&!(ce(e,"Macintosh; Intel Mac OS X 10_14")&&ce(e,"Version/")&&ce(e,"Safari"))&&(!ce(e,"Macintosh; Intel Mac OS X 10_14")||!se(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!ce(e,"Chrome/5")&&!ce(e,"Chrome/6")&&(!ce(e,"UnrealEngine")||ce(e,"Chrome"))&&!ce(e,"UCBrowser/12")&&!ce(e,"UCBrowser/11"))}var vt="_notificationManager";function pt(e,n){return new wn(n)}var ht,mt=function zr(){var n,u,l,t,r,s=!1;q(zr,this,function(a){a._extensions=[],u=new Bn,a.logger=new In({loggingLevelConsole:c.LoggingSeverity.CRITICAL}),n=[],a.isInitialized=function(){return s},a.initialize=function(e,n,r,t){a.isInitialized()&&Fe("Core should not be initialized more than once"),e&&!ne(e.instrumentationKey)||Fe("Please provide instrumentation key"),l=t,a[vt]=t,a.config=e||{},a.config.enablePerfMgr&&Ae(a.config,"createPerfMgr",pt),e.extensions=ne(e.extensions)?[]:e.extensions,Le(e,kn).NotificationManager=t,r&&(a.logger=r),(t=[]).push.apply(t,y(y([],n),e.extensions));var t=Vn(t),i=[],o={};ye(t,function(e){(ne(e)||ne(e.initialize))&&Fe("Extensions must provide callback to initialize");var n=e.priority,t=e.identifier;e&&n&&(ne(o[n])?o[n]=t:r.warnToConsole("Two extensions have same priority #"+n+" - "+o[n]+", "+t)),(!n||n<u.priority)&&i.push(e)}),t.push(u),i.push(u),t=Vn(t),a._extensions=t,Un(new Ln([u],e,a),t),Un(new Ln(i,e,a),t),a._extensions=i,0===a.getTransmissionControls().length&&Fe("No channels available"),s=!0,a.releaseQueue()},a.getTransmissionControls=function(){return u.getChannelControls()},a.track=function(e){Ae(e,"iKey",a.config.instrumentationKey,null,ke),Ae(e,"time",me(new Date),null,ke),Ae(e,"ver","4.0",null,ne),a.isInitialized()?a.getProcessTelContext().processNext(e):n.push(e)},a.getProcessTelContext=function(){var e=a._extensions,n=e;return e&&0!==e.length||(n=[u]),new Ln(n,a.config,a)},a.getNotifyMgr=function(){return l||(l=v({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,n){},eventsSendRequest:function(e,n){}}),a[vt]=l),l},a.getCookieMgr=function(){return r=r||ut(a.config,a.logger)},a.setCookieMgr=function(e){r=e},a.getPerfMgr=function(){return t||a.config&&a.config.enablePerfMgr&&oe(a.config.createPerfMgr)&&(t=a.config.createPerfMgr(a,a.getNotifyMgr())),t||null},a.setPerfMgr=function(e){t=e},a.eventCnt=function(){return n.length},a.releaseQueue=function(){0<n.length&&(ye(n,function(e){a.getProcessTelContext().processNext(e)}),n=[])}})},yt=function Br(e){this.listeners=[];var n=!!(e||{}).perfEvtsSendAll;q(Br,this,function(i){i.addNotificationListener=function(e){i.listeners.push(e)},i.removeNotificationListener=function(e){for(var n=Ce(i.listeners,e);-1<n;)i.listeners.splice(n,1),n=Ce(i.listeners,e)},i.eventsSent=function(n){ye(i.listeners,function(e){e&&e.eventsSent&&setTimeout(function(){return e.eventsSent(n)},0)})},i.eventsDiscarded=function(n,t){ye(i.listeners,function(e){e&&e.eventsDiscarded&&setTimeout(function(){return e.eventsDiscarded(n,t)},0)})},i.eventsSendRequest=function(t,r){ye(i.listeners,function(e){if(e&&e.eventsSendRequest)if(r)setTimeout(function(){return e.eventsSendRequest(t,r)},0);else try{e.eventsSendRequest(t,r)}catch(n){}})},i.perfEvent=function(t){t&&(!n&&t.isChildEvt()||ye(i.listeners,function(e){if(e&&e.perfEvent)if(t.isAsync)setTimeout(function(){return e.perfEvent(t)},0);else try{e.perfEvent(t)}catch(n){}}))}})},Ct=(m(St,ht=mt),St);function St(){var e=ht.call(this)||this,r=0;return q(St,e,function(t,i){function n(e){var n=t.getNotifyMgr();n&&n.eventsDiscarded([e],C.InvalidEvent)}t.initialize=function(e,n,t,r){i.initialize(e,n,t||new In(e),r||new yt(e))},t.track=function(e){En(t.getPerfMgr(),function(){return"AppInsightsCore:track"},function(){null===e&&(n(e),Fe("Invalid telemetry item")),function(){if(ne(e.name))throw n(e),Error("telemetry name required")}(),i.track(e)},function(){return{item:e}},!e.sync)},t.addNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.addNotificationListener(e)},t.removeNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.removeNotificationListener(e)},t.pollInternalLogs=function(n){var e=t.config.diagnosticLogInterval;return e&&0<e||(e=1e4),r&&t.stopPollingInternalLogs(),r=setInterval(function(){var e=t.logger?t.logger.queue:[];ye(e,function(e){e={name:n||"InternalMessageId: "+e.messageId,iKey:t.config.instrumentationKey,time:me(new Date),baseType:Cn.dataType,baseData:{message:e.message}},t.track(e)}),e.length=0},e)},t.stopPollingInternalLogs=function(){r&&(clearInterval(r),r=0)}}),e}var xt=4294967296,It=4294967295,bt=!1,Tt=123456789,wt=987654321;function Pt(e){e<0&&(e>>>=0),Tt=123456789+e&It,wt=987654321-e&It,bt=!0}function Et(){try{var e=2147483647&Ee();Pt((Math.random()*xt^e)+e)}catch(n){}}function Nt(e){return 0<e?Math.floor(At()/It*(e+1))>>>0:0}function At(e){var n=(n=sn()||cn())&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&It:gn()?(bt||Et(),Lt()&It):Math.floor(xt*Math.random()|0);return e||(n>>>=0),n}function Lt(e){var n=((wt=36969*(65535&wt)+(wt>>16)&It)<<16)+(65535&(Tt=18e3*(65535&Tt)+(Tt>>16)&It))>>>0&It|0;return e||(n>>>=0),n}var kt="visibilitychange",Mt="pagehide",Ft="pageshow";function Ot(e,n){var t=!1,r=Ze();return r&&(t=ae(r,e,n),t=ae(r.body,e,n)||t),(r=Ye())&&ae(r,e,n)||t}function Rt(e,n,t){var r,i=!1;return n&&e&&ge(e)&&(r=[],ye(e,function(e){ve(e)&&(t&&-1!==Ce(t,e)?r.push(e):i=Ot(e,n)||i)}),!i&&0<r.length&&(i=Rt(r,n))),i}function Dt(e,n){return Rt(["beforeunload","unload","pagehide"],e,n)}function _t(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(zt,function(e){var n=0|Nt(15);return("x"===e?n:3&n|8).toString(16)})}function jt(){var e=an();return e&&e.now?e.now():Ee()}function Ut(e){void 0===e&&(e=22);for(var n=At()>>>0,t=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(At()<<2&4294967295|3&n)>>>0,t=0);return r}function Vt(){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=At())]+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&At())|0];return t.substr(0,8)+t.substr(9,4)+"4"+t.substr(13,3)+i+t.substr(16,3)+t.substr(19,12)}var zt=/[xy]/g,Bt={Attach:ae,AttachEvent:ae,Detach:ue,DetachEvent:ue},Kt={NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32},Ht={Normal:1,CostDeferred:2,RealTime:3,Immediate:4},qt={Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9},Wt=p(p({},W),{AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}),Gt="3.1.9",Jt="1DS-Web-JS-"+Gt,Xt="withCredentials",Qt=((Dr={})[0]=qt.Unspecified,Dr[2]=qt.Double,Dr[1]=qt.String,Dr[3]=qt.Bool,Dr[4098]=qt.Double,Dr[4097]=qt.String,Dr[4099]=qt.Bool,Dr),Zt=null,$t=!!Ye(),Yt=!!Ze();function er(e){return!(""===e||ne(e))}function nr(e){if(e){var n=e.indexOf("-");if(-1<n)return e.substring(0,n)}return""}function tr(){return Zt=null===Zt?!(ee(Uint8Array)||!ee(e=nn())&&e.userAgent&&(~(e=e.userAgent.toLowerCase()).indexOf("safari")||~e.indexOf("firefox"))&&!~e.indexOf("chrome")||fn()):Zt;var e}function rr(e){return!!(e&&pe(e)&&Ht.Normal<=e&&e<=Ht.Immediate)}function ir(e,n,t){if(!n&&!er(n)||"string"!=typeof e)return null;if("string"==(e=typeof n)||"number"==e||"boolean"==e||ge(n))n={value:n};else if("object"!=e||n.hasOwnProperty("value")){if(ne(n.value)||""===n.value||!ve(n.value)&&!pe(n.value)&&!he(n.value)&&!ge(n.value))return null}else n={value:t?JSON.stringify(n):n};if(ge(n.value)&&!pr(n.value))return null;if(!ne(n.kind)){if(ge(n.value)||!vr(n.kind))return null;n.value=n.value.toString()}return n}function or(e,n,t){var r=-1;return ee(e)||(0<n&&(32===n?r=8192:n<=13&&(r=n<<5)),0<=t&&t<=9?(-1===r&&(r=0),r|=t):(e=Qt[mr(e)]||-1,-1!==r&&-1!==e?r|=e:e===qt.Double&&(r=e))),r}function ar(){at(null).setEnabled(!1)}function ur(e,n,t){lt(null)&&at(null).set(e,n,86400*t,null,"/")}function lr(e){lt(null)&&at(null).del(e)}function sr(e){return lt(null)?cr(at(null),e):""}function cr(e,n,t){var r;return void 0===t&&(t=!0),e&&(r=e.get(n),t&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function fr(e){void 0===e&&(e="D");var n=_t();return"B"===e?n="{"+n+"}":"P"===e?n="("+n+")":"N"===e&&(n=n.replace(/-/g,"")),n}function gr(e,n,t,r,i){var o={},a=!1,u=0,l=arguments.length,s=Object[f],c=arguments;for("[object Boolean]"===s.toString.call(c[0])&&(a=c[0],u++);u<l;u++)le(c[u],function(t,e){a&&e&&ie(e)?ge(e)?(o[t]=o[t]||[],ye(e,function(e,n){e&&ie(e)?o[t][n]=gr(!0,o[t][n],e):o[t][n]=e})):o[t]=gr(!0,o[t],e):o[t]=e});return o}var dr=jt;function vr(e){return e===Kt.NotSet||e>Kt.NotSet&&e<=Kt.Pii_IPV4AddressLegacy||e===Kt.CustomerContent_GenericContent}function pr(e){return 0<e.length}function hr(e,n){e.timings=e.timings||{},e.timings.processTelemetryStart=e.timings.processTelemetryStart||{},e.timings.processTelemetryStart[n]=dr()}function mr(e){var n,t=0;return null!==e&&e!==undefined&&("string"==(n=typeof e)?t=1:"number"==n?t=2:"boolean"==n?t=3:n===u&&(t=4,ge(e)?(t=4096,0<e.length&&(t|=mr(e[0]))):re(e,"value")&&(t=8192|mr(e.value)))),t}var yr,Cr={Version:Gt,FullVersionString:Jt,strUndefined:n,strObject:u,Undefined:n,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,objKeys:we,toISOString:me,isReactNative:fn,isString:ve,isNumber:pe,isBoolean:he,isFunction:oe,isArray:ge,isObject:ie,strTrim:Ie,isDocumentObjectAvailable:$t,isWindowObjectAvailable:Yt,isValueAssigned:er,getTenantId:nr,isBeaconsSupported:vn,isUint8ArrayAvailable:tr,isLatency:rr,sanitizeProperty:ir,getISOString:me,useXDomainRequest:pn,getCommonSchemaMetaData:or,cookieAvailable:lt,disallowsSameSiteNone:dt,setCookie:ur,deleteCookie:lr,getCookie:sr,createGuid:fr,extend:gr,getTime:dr,isValueKind:vr,isArrayValid:pr,objDefineAccessors:Pe,addPageUnloadEventListener:Dt,setProcessTelemetryTimings:hr,addEventHandler:Ot,getFieldValueType:mr,strEndsWith:se,objForEachKey:le},Sr={_canUseCookies:undefined,isTypeof:Y,isUndefined:ee,isNullOrUndefined:ne,hasOwnProperty:re,isFunction:oe,isObject:ie,isDate:fe,isArray:ge,isError:de,isString:ve,isNumber:pe,isBoolean:he,toISOString:me,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,strTrim:Ie,objCreate:v,objKeys:we,objDefineAccessors:Pe,addEventHandler:Ot,dateNow:Ee,isIE:gn,disableCookies:ar,newGuid:_t,perfNow:jt,newId:Ut,randomValue:Nt,random32:At,mwcRandomSeed:function(e){e?Pt(e):Et()},mwcRandom32:Lt,generateW3CId:Vt},xr="version",Ir="properties";function br(){var e=yr.call(this)||this;return e.pluginVersionStringArr=[],e.pluginVersionString="",q(br,e,function(u,l){u.logger&&u.logger.queue||(u.logger=new In({loggingLevelConsole:c.LoggingSeverity.CRITICAL})),u.initialize=function(r,i,o,a){En(u,function(){return"AppInsightsCore.initialize"},function(){if(r){if(r.endpointUrl||(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),(e=r.propertyStorageOverride)&&(!e.getProperty||!e.setProperty))throw Error("Invalid property storage override passed.");r.channels&&ye(r.channels,function(e){e&&ye(e,function(e){e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))})})}u.getWParam=function(){return"undefined"!=typeof document?0:-1},i&&ye(i,function(e){e&&e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))}),u.pluginVersionString=u.pluginVersionStringArr.join(";");try{l.initialize(r,i,o,a),u.pollInternalLogs("InternalLog")}catch(t){var e,n=u.logger;~(e=dn(t)).indexOf("channels")&&(e+="\n - Channels must be provided through config.channels only!"),n.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"SDK Initialization Failed - no telemetry will be sent: "+e)}},function(){return{config:r,extensions:i,logger:o,notificationManager:a}})},u.track=function(t){En(u,function(){return"AppInsightsCore.track"},function(){var e,n=t;n&&(n.timings=n.timings||{},n.timings.trackStart=dr(),rr(n.latency)||(n.latency=Ht.Normal),(e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt,(e=n.baseData=n.baseData||{})[Ir]||(e[Ir]={}),(e=e[Ir])[xr]||(e[xr]=""),""!==u.pluginVersionString&&(e[xr]=u.pluginVersionString)),l.track(n)},function(){return{item:t}},!t.sync)}}),e}var Tr,e=(m(br,yr=Ct),br);function wr(){var e=Tr.call(this)||this;return q(wr,e,function(o,a){o.initialize=function(e,n,t,r){e&&!e.endpointUrl&&(e.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),o.getWParam=function(){return $t?0:-1};try{a.initialize(e,n,t,r)}catch(i){o.logger.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"Initialization Failed: "+dn(i)+"\n - Note: Channels must be provided through config.channels only")}},o.track=function(e){var n=e;n&&((e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt),a.track(n)}}),e}var Pr=(m(wr,Tr=mt),wr),Er=oe;function Nr(n){var a=0,u=null,e=[];function i(t,r,i,o){e.push(function(){var e;try{(e=1===a?Er(t)?t(u):u:Er(r)?r(u):u)instanceof Nr?e.then(i,o):(2!==a||Er(r)?i:o)(e)}catch(n){return void o(n)}}),0!==a&&l()}function l(){var r;0<e.length&&(r=e.slice(),e=[],setTimeout(function(){for(var e=0,n=r.length;e<n;++e)try{r[e]()}catch(t){}},0))}function t(e){0===a&&(u=e,a=1,l())}function r(e){0===a&&(u=e,a=2,l())}q(Nr,this,function(n){n.then=function(t,r){return new Nr(function(e,n){i(t,r,e,n)})},n["catch"]=function(e){return n.then(null,e)}}),function(){if(!Er(n))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{n(t,r)}catch(e){r(e)}}()}var Ar=(Nr.resolve=function(r){return r instanceof Nr?r:r&&Er(r.then)?new Nr(function(e,n){try{r.then(e,n)}catch(t){n(t)}}):new Nr(function(e){e(r)})},Nr.reject=function(t){return new Nr(function(e,n){n(t)})},Nr.all=function(u){if(u&&u.length)return new Nr(function(r,e){try{for(var i=[],o=0,n=0;n<u.length;n++){var t=u[n];t&&Er(t.then)?(o++,t.then(function(n,t){return function(e){n[t]=e,0==--o&&r(i)}}(i,n),e)):i[n]=t}0===o&&setTimeout(function(){r(i)},0)}catch(a){e(a)}})},Nr.race=function(i){return new Nr(function(n,t){if(i&&i.length)try{for(var r=0;r<i.length;r++)!function(){var e=i[r];e&&Er(e.then)?e.then(n,t):setTimeout(function(){n(e)},0)}()}catch(e){t(e)}})},Nr),Lr=0,kr=[],Mr=[],Fr=[];function Or(){return(new Date).getTime()}function Rr(e,n){var h=0,m=(e||"<unnamed>")+"."+Lr;function y(e){var n=g();n&&n.QUnit&&console&&console.log("ESPromiseScheduler["+m+"] "+e)}function C(e){n&&n.warnToConsole("ESPromiseScheduler["+m+"] "+e)}Lr++,q(Rr,this,function(e){var d=null,v=0;function p(e,n){for(var t=0;t<e.length;t++)if(e[t].id===n)return e.splice(t,1)[0];return null}e.scheduleEvent=function(t,e,u){var i=m+"."+v;v++,e&&(i+="-("+e+")");var o,a,n,r=i+"{"+h+"}";return h++,(e={evt:null,tm:Or(),id:r,isRunning:!1,isAborted:!1}).evt=d?(o=e,a=d,n=new Ar(function(n,t){var e=Or()-a.tm,r=a.id;y("["+i+"] is waiting for ["+r+":"+e+" ms] to complete before starting -- ["+Mr.length+"] waiting and ["+kr.length+"] running"),o.abort=function(e){o.abort=null,p(Mr,i),o.isAborted=!0,t(Error(e))},a.evt.then(function(e){p(Mr,i),g(o).then(n,t)},function(e){p(Mr,i),g(o).then(n,t)})}),Mr.push(o),n):g(e),(d=e).evt._schId=r,e.evt;function l(e){for(var n=Or(),t=n-6e5,r=e.length,i=0;i<r;){var o,a=e[i];a&&a.tm<t?(o=null,a.abort?(o="Aborting ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",a.abort(o)):o="Removing ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",C(o),e.splice(i,1),r--):i++}}function s(e,n){var t,r=!1,i=p(kr,e);i||(i=p(Fr,e),r=!0),i?(i.to&&(clearTimeout(i.to),i.to=null),t=Or()-i.tm,n?r?C("Timed out event ["+e+"] finally complete -- "+t+" ms"):y("Promise ["+e+"] Complete -- "+t+" ms"):(Fr.push(i),C("Event ["+e+"] Timed out and removed -- "+t+" ms"))):y("Failed to remove ["+e+"] from running queue"),d&&d.id===e&&(d=null),l(kr),l(Mr),l(Fr)}function c(n,t){return function(e){return s(n,!0),t&&t(e),e}}function f(r,o){var a=r.id;return new Ar(function(n,t){y("Event ["+a+"] Starting -- waited for "+(r.wTm||"--")+" ms"),r.isRunning=!0,r.abort=function(e){r.abort=null,r.isAborted=!0,s(a,!1),t(Error(e))};var e=o(a);e instanceof Ar?(u&&(r.to=setTimeout(function(){s(a,!1),t(Error("Timed out after ["+u+"] ms"))},u)),function i(n,e,t,r){e.then(function(e){return e instanceof Ar?(y("Event ["+n+"] returned a promise -- waiting"),i(n,e,t,r),e):c(n,t)(e)},c(n,r))}(a,e,function(e){y("Event ["+a+"] Resolving after "+(Or()-r.tm)+" ms"),n(e)},t)):(y("Promise ["+a+"] Auto completed as the start action did not return a promise"),n())})}function g(e){var n=Or();return e.wTm=n-e.tm,e.tm=n,e.isAborted?Ar.reject(Error("["+i+"] was aborted")):(kr.push(e),f(e,t))}}})}var p=(Rr.incomplete=function(){return kr},Rr.waitingToStart=function(){return Mr},Rr),Dr=(_r.getFieldType=mr,_r);function _r(e){var l=this,o={},a=[],u=[];function s(e,n){var t=o[e];if(!(i=t?t[n]:i)&&null!==i){if(ve(e)&&ve(n))if(0<u.length){for(var r=0;r<u.length;r++)if(u[r].handleField(e,n)){i={canHandle:!0,fieldHandler:u[r]};break}}else 0===a.length&&(i={canHandle:!0});if(!i&&null!==i)for(var i=null,r=0;r<a.length;r++)if(a[r].handleField(e,n)){i={canHandle:!0,handler:a[r],fieldHandler:null};break}(t=t||(o[e]={}))[n]=i}return i}function c(e,n,t,r,i,o){if(e.handler)return e.handler.property(n,t,i,o);if(!ne(i.kind)){if(4096==(4096&r)||!vr(i.kind))return null;i.value=i.value.toString()}return function u(r,i,o,e,n){var t,a;return n&&r&&(t=r.getSanitizer(i,o,e,n.kind,n.propertyType))&&(4===e?(a={},le(n.value,function(e,n){var t;er(n)&&(t=f(0,0,n),(t=u(r,i+"."+o,e,mr(n),t))&&(a[e]=t.value))}),n.value=a):n=t.call(l,e={path:i,name:o,type:e,prop:n,sanitizer:l})),n}(e.fieldHandler,n,t,r,i)}function f(e,n,t){return er(t)?{value:t}:null}e&&u.push(e),l.addSanitizer=function(e){e&&(a.push(e),o={})},l.addFieldSanitizer=function(e){e&&(u.push(e),o={})},l.handleField=function(e,n){return!!(n=s(e,n))&&n.canHandle},l.value=function(e,n,t,r){var i=s(e,n);if(i&&i.canHandle){if(!i||!i.canHandle)return null;if(i.handler)return i.handler.value(e,n,t,r);if(!ve(n)||ne(t)||""===t)return null;var o=null,a=mr(t);if(8192==(8192&a)){var u=-8193&a;if(!er((o=t).value)||1!=u&&2!=u&&3!=u&&4096!=(4096&u))return null}else 1===a||2===a||3===a||4096==(4096&a)?o=f(0,0,t):4===a&&(o=f(0,0,r?JSON.stringify(t):t));if(o)return c(i,e,n,a,o,r)}return null},l.property=function(e,n,t,r){var i=s(e,n);if(!i||!i.canHandle)return null;if(!ve(n)||ne(t)||!er(t.value))return null;var o=mr(t.value);return 0===o?null:c(i,e,n,o,t,r)}}c.AppInsightsCore=e,c.BaseCore=Pr,c.BaseTelemetryPlugin=Fn,c.CoreUtils=Sr,c.DiagnosticLogger=In,c.ESPromise=Ar,c.ESPromiseScheduler=p,c.EventHelper=Bt,c.EventLatency=Ht,c.EventPersistence={Normal:1,Critical:2},c.EventPropertyType=qt,c.EventsDiscardedReason=C,c.FullVersionString=Jt,c.InternalAppInsightsCore=Ct,c.InternalBaseCore=mt,c.MinChannelPriorty=100,c.NotificationManager=yt,c.PerfEvent=bn,c.PerfManager=wn,c.ProcessTelemetryContext=Ln,c.TraceLevel={NONE:0,ERROR:1,WARNING:2,INFORMATION:3},c.Undefined=n,c.Utils=Cr,c.ValueKind=Kt,c.ValueSanitizer=Dr,c.Version=Gt,c._ExtendedInternalMessageId=Wt,c._InternalLogMessage=Cn,c._InternalMessageId=W,c.addEventHandler=Ot,c.addEventListeners=Rt,c.addPageHideEventListener=function Kr(t,e){var n=!1;return e&&-1!==Ce(e,Mt)||(n=Ot(Mt,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"hidden"===n.visibilityState&&t(e)})||n)&&e?Kr(t):n},c.addPageShowEventListener=function Hr(t,e){var n=!1;return e&&-1!==Ce(e,Ft)||(n=Ot(Ft,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"visible"===n.visibilityState&&t(e)})||n)&&e?Hr(t):n},c.addPageUnloadEventListener=Dt,c.areCookiesSupported=lt,c.arrForEach=ye,c.arrIndexOf=Ce,c.arrMap=Se,c.arrReduce=xe,c.attachEvent=ae,c.cookieAvailable=lt,c.createCookieMgr=ut,c.createGuid=fr,c.dateNow=Ee,c.deleteCookie=lr,c.detachEvent=ue,c.disableCookies=ar,c.disallowsSameSiteNone=dt,c.doPerf=En,c.dumpObj=dn,c.extend=gr,c.generateW3CId=Vt,c.getCommonSchemaMetaData=or,c.getConsole=on,c.getCookie=sr,c.getCookieValue=cr,c.getCrypto=sn,c.getDocument=Ye,c.getExceptionName=Ne,c.getFieldValueType=mr,c.getGlobal=g,c.getGlobalInst=Xe,c.getHistory=function(){return tn()?history:Xe("history")},c.getIEVersion=function(e){var n;return ce(e=((e=(e=void 0===e?null:e)?e:(n=nn()||{})?(n.userAgent||"").toLowerCase():"")||"").toLowerCase(),ze)?parseInt(e.split(ze)[1]):ce(e,Be)&&(e=parseInt(e.split(Be)[1]))?e+4:null},c.getISOString=me,c.getJSON=ln,c.getLocation=rn,c.getMsCrypto=cn,c.getNavigator=nn,c.getPerformance=an,c.getSetValue=Le,c.getTenantId=nr,c.getTime=dr,c.getWindow=Ze,c.hasDocument=$e,c.hasHistory=tn,c.hasJSON=un,c.hasNavigator=en,c.hasOwnProperty=re,c.hasWindow=Qe,c.isArray=ge,c.isArrayValid=pr,c.isBeaconsSupported=vn,c.isBoolean=he,c.isChromium=function(){return!!Xe("chrome")},c.isDate=fe,c.isDocumentObjectAvailable=$t,c.isError=de,c.isFetchSupported=function(e){var n=!1;try{var n=!!Xe("fetch"),t=Xe("Request");n&&e&&t&&(n=Je(t,"keepalive"))}catch(r){}return n},c.isFunction=oe,c.isIE=gn,c.isLatency=rr,c.isNotTruthy=ke,c.isNullOrUndefined=ne,c.isNumber=pe,c.isObject=ie,c.isReactNative=fn,c.isString=ve,c.isTruthy=Me,c.isTypeof=Y,c.isUint8ArrayAvailable=tr,c.isUndefined=ee,c.isValueAssigned=er,c.isValueKind=vr,c.isWindowObjectAvailable=Yt,c.isXhrSupported=hn,c.newGuid=_t,c.newId=Ut,c.normalizeJsName=function(e){var n=e,t=/([^\w\d_$])/g;return t.test(e)?e.replace(t,"_"):n},c.objCreate=v,c.objDefineAccessors=Pe,c.objForEachKey=le,c.objKeys=we,c.openXhr=function(e,n,t,r,i){function o(e,n,t){try{e[n]=t}catch(r){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var a=new XMLHttpRequest;return r&&o(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),t&&o(a,Xt,t),a.open(e,n,!i),t&&o(a,Xt,t),a},c.optimizeObject=function(e){return e&&t(r?r({},e):e)},c.perfNow=jt,c.proxyAssign=function(r,i,o){if(r&&i&&r!==i&&ie(r)&&ie(i))for(var e in i)!function(n){var e,t;ve(n)&&(oe(e=i[n])?o&&!o(n,!0,i,r)||(r[n]=(t=n,function(){return i[t].apply(i,arguments)})):o&&!o(n,!1,i,r)||(re(r,n)&&delete r[n],Pe(r,n,function(){return i[n]},function(e){i[n]=e})||(r[n]=e)))}(e);return r},c.random32=At,c.randomValue=Nt,c.safeGetCookieMgr=at,c.safeGetLogger=xn,c.sanitizeProperty=ir,c.setCookie=ur,c.setEnableEnvMocks=function(e){qe=e},c.setProcessTelemetryTimings=hr,c.setValue=Ae,c.strContains=ce,c.strEndsWith=se,c.strExtensionConfig=kn,c.strFunction=a,c.strIKey="iKey",c.strObject=u,c.strPrototype=f,c.strStartsWith=function(e,n){var t=!1;if(e&&n){var r=n.length;if(e===n)return!0;if(e.length>=r){for(var i=0;i<r;i++)if(e[i]!==n[i])return!1;t=!0}}return t},c.strTrim=Ie,c.strUndefined=n,c.throwError=Fe,c.toISOString=me,c.useXDomainRequest=pn,function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(i){}typeof t.value!==undefined&&(e[n]=t.value)}(c,"__esModule",{value:!0})}(this.oneDS=this.oneDS||{});
//# sourceMappingURL=ms.core.gbl.min.js.map
{
"name": "ms.core",
"version": "3.1.8",
"version": "3.1.9",
"ext": {

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

"type": "text/javascript; charset=utf-8",
"integrity": "sha256-DeCAZq5WGheZFJfXsDzF9vpQiUr6D0MTt1z+4R/mblg= sha384-msVgDU2SobcXjX2bdhYezu5SzXQc9KcHpqiSc0CZAZnAKY9pJUXNkcsKuarO64sT sha512-cpGrtC/CsD83zkb5z2rUONHQmw+XWKj5D9RCbK+5/CC8tyzKBhJTuq9wogEbjHBi0N/UYAFqVeLZ6M4xF3WVNQ==",
"integrity": "sha256-uj5oqJerzmsvhZyADaU3lkYsw3p6vnwZX8x0mVpmxCQ= sha384-ZrNPbtjq4hN//AvlaNKaxJJrtldh5nfl2f2lGA98rNREez7RMqOb6CqZLgB1kEm5 sha512-RuZMSeTfY2J4ST2Gz+2Fjtul/RRdUjN3ahOeS9ht1a+MLmBAKzysEWFTHflJuOa+my9lW5PAX8/i3J7ICSlP8w==",
"hashes": {
"sha256": "DeCAZq5WGheZFJfXsDzF9vpQiUr6D0MTt1z+4R/mblg=",
"sha384": "msVgDU2SobcXjX2bdhYezu5SzXQc9KcHpqiSc0CZAZnAKY9pJUXNkcsKuarO64sT",
"sha512": "cpGrtC/CsD83zkb5z2rUONHQmw+XWKj5D9RCbK+5/CC8tyzKBhJTuq9wogEbjHBi0N/UYAFqVeLZ6M4xF3WVNQ=="
"sha256": "uj5oqJerzmsvhZyADaU3lkYsw3p6vnwZX8x0mVpmxCQ=",
"sha384": "ZrNPbtjq4hN//AvlaNKaxJJrtldh5nfl2f2lGA98rNREez7RMqOb6CqZLgB1kEm5",
"sha512": "RuZMSeTfY2J4ST2Gz+2Fjtul/RRdUjN3ahOeS9ht1a+MLmBAKzysEWFTHflJuOa+my9lW5PAX8/i3J7ICSlP8w=="
}

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

"type": "text/javascript; charset=utf-8",
"integrity": "sha256-YzX+SDl398SVCPI6Z3tdR/k+sJ44dmXG+emSNbrSycI= sha384-MtEhMcWraHnuusK//g+AkwoYhQ+j4sTtUtmABrgX7bNShfMe+U+AWR4IG+kU0vFZ sha512-NN3XgWAJlJAQvzo2YyVki23jOFXKk6yf7gFicc2JJaPhjkimNLA3COIbQ5aLFY1OJ2Zt20D/e4yaeC5mxT0Irg==",
"integrity": "sha256-TI82KbabQaLmmhcCiYVL3Uqt2L9+omgUsVpaJVci5O4= sha384-idQGSM+K7DHJqNI1BHstFqdUFAWJ7bGqFUVJIZxno7n7GvIz6rsNhNO8f9Lf0rx4 sha512-d8th2bZISjVbHgI09CWcF7sDsVtwHULHBT9Fqh7XkoHYMvzr7lIxgg6fqaE3Uw0giSys7asOLnr9+rQTXqYHoA==",
"hashes": {
"sha256": "YzX+SDl398SVCPI6Z3tdR/k+sJ44dmXG+emSNbrSycI=",
"sha384": "MtEhMcWraHnuusK//g+AkwoYhQ+j4sTtUtmABrgX7bNShfMe+U+AWR4IG+kU0vFZ",
"sha512": "NN3XgWAJlJAQvzo2YyVki23jOFXKk6yf7gFicc2JJaPhjkimNLA3COIbQ5aLFY1OJ2Zt20D/e4yaeC5mxT0Irg=="
"sha256": "TI82KbabQaLmmhcCiYVL3Uqt2L9+omgUsVpaJVci5O4=",
"sha384": "idQGSM+K7DHJqNI1BHstFqdUFAWJ7bGqFUVJIZxno7n7GvIz6rsNhNO8f9Lf0rx4",
"sha512": "d8th2bZISjVbHgI09CWcF7sDsVtwHULHBT9Fqh7XkoHYMvzr7lIxgg6fqaE3Uw0giSys7asOLnr9+rQTXqYHoA=="
}

@@ -30,7 +30,7 @@ },

"type": "text/javascript; charset=utf-8",
"integrity": "sha256-JSCaIyv2y7+2HAqonyPs1gKpHutKlXOmQZ++RqsD3ng= sha384-qEtxsO7+6wdPnEnI2IXbLSn20lvjQ5blCmhJUMEk3dQwrHcFNTkSnm0EXYp/Szx0 sha512-nOThh3BOMRt36cQO9PCEn+l1h67+Uoyek3Gst1eYTYTvoVuVKYpfyDjNUkVOwO/gpjg3Y5Ex3krrhKPg5k//yQ==",
"integrity": "sha256-refTwOXOmHI0H8rM8PY++HVgY4LrCLBzVHc2PasgJII= sha384-GJGDcJ7dgYnPZq6GhRWQZMTZYIqEApCV09Y1afJ6zvCUepk629ubPoeouXyQzSZ+ sha512-X4xVyqF5gTYS61e1R0JsQmhXOPrJlN3TTUiznTn+YJ+oiD0+uLWPNjkT43Yeb+irDRAhVtEmVIBhXsnYuS69YQ==",
"hashes": {
"sha256": "JSCaIyv2y7+2HAqonyPs1gKpHutKlXOmQZ++RqsD3ng=",
"sha384": "qEtxsO7+6wdPnEnI2IXbLSn20lvjQ5blCmhJUMEk3dQwrHcFNTkSnm0EXYp/Szx0",
"sha512": "nOThh3BOMRt36cQO9PCEn+l1h67+Uoyek3Gst1eYTYTvoVuVKYpfyDjNUkVOwO/gpjg3Y5Ex3krrhKPg5k//yQ=="
"sha256": "refTwOXOmHI0H8rM8PY++HVgY4LrCLBzVHc2PasgJII=",
"sha384": "GJGDcJ7dgYnPZq6GhRWQZMTZYIqEApCV09Y1afJ6zvCUepk629ubPoeouXyQzSZ+",
"sha512": "X4xVyqF5gTYS61e1R0JsQmhXOPrJlN3TTUiznTn+YJ+oiD0+uLWPNjkT43Yeb+irDRAhVtEmVIBhXsnYuS69YQ=="
}

@@ -41,7 +41,7 @@ },

"type": "text/javascript; charset=utf-8",
"integrity": "sha256-6Tieo2JO9wwMfXPv2yFLh5/AEwn1qiSiS8fsmTsgcKc= sha384-nDS5TVoZ+JYn1DHuv3DeZTDDnvconpCHgPAPvSB4AYYqILMb2NvlPdyKEnRzrS0Q sha512-oaaPcN6gy5MMe8ccu0B7uOQeevByKRbgU0MeU3EpciE9P16IMa7GjD+bUQjPXefHQX/vkoz4/N4vDyNQLUVgeA==",
"integrity": "sha256-Xz81e2H9gDVYQ70SZhjI6+rxQkSd8XpCvNyrDk9GN0A= sha384-Lvfjb7yGqSOuDnbHYVzopTYXYZD0LPOpjsVGBJwHxRH7x4//ni5yHMGFoOWpin7D sha512-ARtcsQOt9pNEGaaV93z7FxqaAVC9bpHWQdUJQ3i0gDMDAbsC6MarkQx7P8sIpomyb3tK8rXBc0F1GE0Lvlq6Tg==",
"hashes": {
"sha256": "6Tieo2JO9wwMfXPv2yFLh5/AEwn1qiSiS8fsmTsgcKc=",
"sha384": "nDS5TVoZ+JYn1DHuv3DeZTDDnvconpCHgPAPvSB4AYYqILMb2NvlPdyKEnRzrS0Q",
"sha512": "oaaPcN6gy5MMe8ccu0B7uOQeevByKRbgU0MeU3EpciE9P16IMa7GjD+bUQjPXefHQX/vkoz4/N4vDyNQLUVgeA=="
"sha256": "Xz81e2H9gDVYQ70SZhjI6+rxQkSd8XpCvNyrDk9GN0A=",
"sha384": "Lvfjb7yGqSOuDnbHYVzopTYXYZD0LPOpjsVGBJwHxRH7x4//ni5yHMGFoOWpin7D",
"sha512": "ARtcsQOt9pNEGaaV93z7FxqaAVC9bpHWQdUJQ3i0gDMDAbsC6MarkQx7P8sIpomyb3tK8rXBc0F1GE0Lvlq6Tg=="
}

@@ -48,0 +48,0 @@ }

/*!
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.
* (Microsoft Internal Only)
*/
var e=this,n=function(c){"use strict";var a="function",u="object",n="undefined",f="prototype",o="hasOwnProperty",t=Object,l=t[f],r=t.assign,i=t.create,e=t.defineProperty,s=l[o];function g(){return typeof globalThis!==n&&globalThis?globalThis:typeof self!==n&&self?self:typeof window!==n&&window?window:typeof global!==n&&global?global:null}function d(e){throw new TypeError(e)}function v(e){if(i)return i(e);if(null==e)return{};var n=typeof e;function t(){}return n!==u&&n!==a&&d("Object prototype may only be an Object:"+e),t[f]=e,new t}(g()||{}).Symbol,(g()||{}).Reflect;var p=r||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])l[o].call(n,i)&&(e[i]=n[i]);return e},h=function(e,n){return(h=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[o](t)&&(e[t]=n[t])})(e,n)};function m(e,n){function t(){this.constructor=e}typeof n!==a&&null!==n&&d("Class extends value "+n+" is not a constructor or null"),h(e,n),e[f]=null===n?v(n):(t[f]=n[f],new t)}function y(e,n){for(var t=0,r=n.length,i=e.length;t<r;t++,i++)e[i]=n[t];return e}var C={Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5},S="constructor",x="prototype",b="function",I="_dynInstFuncs",T="_isDynProxy",w="_dynClass",P="_dynInstChk",E=P,N="_dfOpts",A="_unknown_",L="__proto__",k="useBaseInst",M="setInstFuncs",F=Object,O=F.getPrototypeOf,R=0;function D(e,n){return e&&F[x].hasOwnProperty.call(e,n)}function _(e){return e&&(e===F[x]||e===Array[x])}function j(e){return _(e)||e===Function[x]}function U(e){if(e){if(O)return O(e);if(e=e[L]||e[x]||(e[S]?e[S][x]:null))return e}return null}function V(e,n){var t=[],r=F.getOwnPropertyNames;if(r)t=r(e);else for(var i in e)"string"==typeof i&&D(e,i)&&t.push(i);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function z(e,n,t){return n!==S&&typeof e[n]===b&&(t||D(e,n))}function B(e){throw new TypeError("DynamicProto: "+e)}function K(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function H(e,n){return D(e,x)?e.name||n||A:((e||{})[S]||{}).name||n||A}function q(e,r,n,t){D(e,x)||B("theClass is an invalid class definition.");var i=e[x];!function(e){if(O)for(var n=[],t=U(r);t&&!j(t)&&!K(n,t);){if(t===e)return 1;n.push(t),t=U(t)}}(i)&&B("["+H(e)+"] is not in class hierarchy of ["+H(r)+"]");var o=null;D(i,w)?o=i[w]:(o="_dynCls$"+H(e,"_")+"$"+R,R++,i[w]=o);var a=q[N],u=!!a[k];u&&t&&t[k]!==undefined&&(u=!!t[k]);var l,s,c,f,g,d,e=(s={},V(l=r,function(e){!s[e]&&z(l,e,!1)&&(s[e]=l[e])}),s);n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[T]&&o&&!1!==(r=e[I]||{})[E]&&(i=(r[n[w]]||{})[t]||i),function(){return i.apply(e,arguments)}}var i={};V(t,function(e){i[e]=r(n,t,e)});for(var a=U(e),u=[];a&&!j(a)&&!K(u,a);)V(a,function(e){!i[e]&&z(a,e,!O)&&(i[e]=r(n,a,e))}),u.push(a),a=U(a);return i}(i,r,e,u)),a=!!O&&!!a[M],c=i,o=o,f=r,g=e,t=!1!==(a=a&&t?!!t[M]:a),_(c)||(a=f[I]=f[I]||{},d=a[o]=a[o]||{},!1!==a[E]&&(a[E]=!!t),V(f,function(e){var t,r,i;z(f,e,!1)&&f[e]!==g[e]&&(d[e]=f[e],delete f[e],D(c,e)&&(!c[e]||c[e][T])||(c[e]=(t=c,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&D(t,w)){var o=e[I]||{};if((i=(o[t[w]]||{})[n])||B("Missing ["+n+"] "+b),!i[P]&&!1!==o[E]){for(var a=!D(e,n),u=U(e),l=[];a&&u&&!j(u)&&!K(l,u);){var s=u[n];if(s){a=s===r;break}l.push(u),u=U(u)}try{a&&(e[n]=i),i[P]=1}catch(c){o[E]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?U(t)[e]:n)!==b&&B("["+e+"] is not a "+b),n)).apply(this,arguments)})[T]=1,i)))}))}q[N]={setInstFuncs:!0,useBaseInst:!0},c.LoggingSeverity=void 0,(Sr=c.LoggingSeverity||(c.LoggingSeverity={}))[Sr.CRITICAL=1]="CRITICAL",Sr[Sr.WARNING=2]="WARNING";var W={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},G="attachEvent",J="addEventListener",X="detachEvent",Q="removeEventListener",Z=e;function $(e){return l.toString.call(e)}function Y(e,n){return typeof e===n}function ee(e){return e===undefined||typeof e===n}function ne(e){return null===e||ee(e)}function te(e){return!ne(e)}function re(e,n){return e&&s.call(e,n)}function ie(e){return typeof e===u}function oe(e){return typeof e===a}function ae(e,n,t,r){void 0===r&&(r=!1);var i=!1;if(!ne(e))try{ne(e[J])?ne(e[G])||(e[G]("on"+n,t),i=!0):(e[J](n,t,r),i=!0)}catch(o){}return i}function ue(e,n,t,r){if(void 0===r&&(r=!1),!ne(e))try{ne(e[Q])?ne(e[X])||e[X]("on"+n,t):e[Q](n,t,r)}catch(i){}}function le(e,n){if(e)for(var t in e)s.call(e,t)&&n.call(e,t,e[t])}function se(e,n){if(e&&n){var t=n.length,r=e.length;if(e===n)return!0;if(t<=r){for(var i=r-1,o=t-1;0<=o;o--){if(e[i]!=n[o])return!1;i--}return!0}}return!1}function ce(e,n){return!(!e||!n||!~e.indexOf(n))}function fe(e){return"[object Date]"===$(e)}function ge(e){return"[object Array]"===$(e)}function de(e){return"[object Error]"===$(e)}function ve(e){return"string"==typeof e}function pe(e){return"number"==typeof e}function he(e){return"boolean"==typeof e}function me(e){if(fe(e)){var n=function(e){return 1===(e=""+e).length?"0"+e:e};return 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"}}function ye(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 Ce(e,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 Se(e,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(u){}return o}function xe(e,n,t){var r,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}function be(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}var Ie=!{toString:null}.propertyIsEnumerable("toString"),Te=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function we(e){var n=typeof e;n===a||n===u&&null!==e||d("objKeys called on non-object");var t,r=[];for(t in e)e&&s.call(e,t)&&r.push(t);if(Ie)for(var i=Te.length,o=0;o<i;o++)e&&s.call(e,Te[o])&&r.push(Te[o]);return r}function Pe(e,n,t,r){if(Z)try{var i={enumerable:!0,configurable:!0};return t&&(i.get=t),r&&(i.set=r),Z(e,n,i),!0}catch(o){}return!1}function Ee(){var e=Date;return e.now?e.now():(new e).getTime()}function Ne(e){return de(e)?e.name:""}function Ae(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 Le(e,n,t){var r;return e?!(r=e[n])&&ne(r)&&(r=ee(t)?{}:t,e[n]=r):r=ee(t)?{}:t,r}function ke(e){return!e}function Me(e){return!!e}function Fe(e){throw Error(e)}var Oe="window",Re="navigator",De="location",_e="performance",je="JSON",Ue="crypto",Ve="msCrypto",ze="msie",Be="trident/",Ke=null,He=null,qe=!1,We=null,Ge=null;function Je(e,n){var t,r=!1;if(e){try{(r=n in e)||(t=e[f])&&(r=n in t)}catch(i){}if(!r)try{r=!ee((new e)[n])}catch(i){}}return r}function Xe(e){var n=g();return n&&n[e]?n[e]:e===Oe&&Qe()?window:null}function Qe(){return!(typeof window!==u||!window)}function Ze(){return Qe()?window:Xe(Oe)}function $e(){return!(typeof document!==u||!document)}function Ye(){return $e()?document:Xe("document")}function en(){return!(typeof navigator!==u||!navigator)}function nn(){return en()?navigator:Xe(Re)}function tn(){return!(typeof history!==u||!history)}function rn(e){return e&&qe&&(e=Xe("__mockLocation"))?e:typeof location===u&&location?location:Xe(De)}function on(){return typeof console!==n?console:Xe("console")}function an(){return Xe(_e)}function un(){return!!(typeof JSON===u&&JSON||null!==Xe(je))}function ln(){return un()?JSON||Xe(je):null}function sn(){return Xe(Ue)}function cn(){return Xe(Ve)}function fn(){var e=nn();return!(!e||!e.product)&&"ReactNative"===e.product}function gn(){var e=nn();return!e||e.userAgent===He&&null!==Ke||(e=((He=e.userAgent)||"").toLowerCase(),Ke=ce(e,ze)||ce(e,Be)),Ke}function dn(e){var n=Object[f].toString.call(e),t="";return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":un()&&(t=ln().stringify(e)),n+t}function vn(){return Ge=null===Ge?en()&&!!nn().sendBeacon:Ge}function pn(){return We=null===We&&(We=typeof XDomainRequest!==undefined)&&hn()?We&&!Je(Xe("XMLHttpRequest"),"withCredentials"):We}function hn(){var e=!1;try{e=!!Xe("XMLHttpRequest")}catch(n){}return e}function mn(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function yn(e,n){var t,r=on();r&&(t="log",oe(r[t=r[e]?e:t])&&r[t](n))}var Cn=(Sn.dataType="MessageData",Sn);function Sn(e,n,t,r){void 0===t&&(t=!1),this.messageId=e,this.message=(t?"AI: ":"AI (Internal): ")+e,e="",un()&&(e=ln().stringify(r)),e=(n?" message:"+mn(n):"")+(r?" props:"+mn(e):""),this.message+=e}function xn(e,n){return(e||{}).logger||new bn(n)}var bn=function jr(t){this.identifier="DiagnosticLogger",this.queue=[];var i=0,a={};q(jr,this,function(o){function e(e,n){return ne(e=t[e])?n:e}ne(t)&&(t={}),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){if(n=new Cn(n,t,i=void 0!==i&&i,r),o.enableDebugExceptions())throw n;t=e===c.LoggingSeverity.CRITICAL?"errorToConsole":"warnToConsole",ee(n.message)||(r=o.consoleLoggingLevel(),i?(i=+n.messageId,!a[i]&&e<=r&&(o[t](n.message),a[i]=!0)):e<=r&&o[t](n.message),o.logInternalMessage(e,n))},o.warnToConsole=function(e){yn("warn",e)},o.errorToConsole=function(e){yn("error",e)},o.resetInternalMessageCount=function(){i=0,a={}},o.logInternalMessage=function(e,n){var t,r;i>=o.maxInternalMessageLimit()||(t=!0,r="AITR_"+n.messageId,a[r]?t=!1:a[r]=!0,t&&(e<=o.telemetryLoggingLevel()&&(o.queue.push(n),i++),i===o.maxInternalMessageLimit()&&(n=new Cn(W.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),o.queue.push(n),o.warnToConsole(e))))}})},In=(Tn.ParentContextKey="parent",Tn.ChildrenContextKey="childEvts",Tn);function Tn(e,i,n){var t,o=this,a=!1;o.start=Ee(),o.name=e,o.isAsync=n,o.isChildEvt=function(){return!1},oe(i)&&(a=Pe(o,"payload",function(){return!t&&oe(i)&&(t=i(),i=null),t})),o.getCtx=function(e){return e?(e===Tn.ParentContextKey||e===Tn.ChildrenContextKey?o:o.ctx||{})[e]:null},o.setCtx=function(e,n){e&&(e===Tn.ParentContextKey?(o[e]||(o.isChildEvt=function(){return!0}),o[e]=n):e===Tn.ChildrenContextKey?o[e]=n:(o.ctx=o.ctx||{})[e]=n)},o.complete=function(){var e=0,n=o.getCtx(Tn.ChildrenContextKey);if(ge(n))for(var t=0;t<n.length;t++){var r=n[t];r&&(e+=r.time)}o.time=Ee()-o.start,o.exTime=o.time-e,o.complete=function(){},!a&&oe(i)&&(o.payload=i())}}var wn=function Ur(n){this.ctx={},q(Ur,this,function(t){t.create=function(e,n,t){return new In(e,n,t)},t.fire=function(e){e&&(e.complete(),n&&oe(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 En(e,n,t,r,i){if(e){var o=e;if(o=oe(o.getPerfMgr)?o.getPerfMgr():o){var a,u=void 0,e=o.getCtx(Pn);try{if(u=o.create(n(),r,i))return e&&u.setCtx&&(u.setCtx(In.ParentContextKey,e),e.getCtx&&e.setCtx&&((a=e.getCtx(In.ChildrenContextKey))||(a=[],e.setCtx(In.ChildrenContextKey,a)),a.push(u))),o.setCtx(Pn,u),t(u)}catch(l){u&&u.setCtx&&u.setCtx("exception",l)}finally{u&&o.fire(u),o.setCtx(Pn,e)}}}return t()}var Nn=function(i,n){var o=this,a=null,u=oe(i.processTelemetry),l=oe(i.setNextPlugin);o._hasRun=!1,o.getPlugin=function(){return i},o.getNext=function(){return a},o.setNext=function(e){a=e},o.processTelemetry=function(t,r){r=r||n;var e=i?i.identifier:"TelemetryPluginChain";En(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&u){o._hasRun=!0;try{r.setNext(a),l&&i.setNextPlugin(a),a&&(a._hasRun=!1),i.processTelemetry(t,r)}catch(n){var e=a&&a._hasRun;a&&e||r.diagLog().throwInternal(c.LoggingSeverity.CRITICAL,W.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+dn(n)),a&&!e&&a.processTelemetry(t,r)}}else a&&(o._hasRun=!0,a.processTelemetry(t,r))},function(){return{item:t}},!t.sync)}};function An(e,n){var t=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var o=e[i];o&&oe(o.processTelemetry)&&(o=new Nn(o,n),t.push(o),r&&r.setNext(o),r=o)}return 0<t.length?t[0]:null}var Ln=function Vr(e,i,t,n){var r,o,a,u,l=this,s=null;null!==n&&(e&&oe(e.getPlugin)?s=function(e,n,t){var r=[],i=!t;if(e)for(;e;){var o=e.getPlugin();!i&&o!==t||(i=!0,r.push(o)),e=e.getNext()}return i||r.push(t),An(r,n)}(e,l,n||e.getPlugin()):n?(r=l,a=e,u=!1,(o=n)&&e&&(a=[],ye(e,function(e){!u&&e!==o||(u=!0,a.push(e))})),o&&!u&&(a=a||[]).push(o),s=An(a,r)):ee(n)&&(s=An(e,l))),l.core=function(){return t},l.diagLog=function(){return xn(t,i)},l.getCfg=function(){return i},l.getExtCfg=function(e,n){var t,r;return void 0===n&&(n={}),!i||(r=i.extensionConfig)&&e&&(t=r[e]),t||n},l.getConfig=function(e,n,t){var r;return void 0===t&&(t=!1),(e=l.getExtCfg(e,null))&&!ne(e[n])?r=e[n]:i&&!ne(i[n])&&(r=i[n]),ne(r)?t:r},l.hasNext=function(){return null!=s},l.getNext=function(){return s},l.setNext=function(e){s=e},l.processNext=function(e){var n=s;n&&(s=n.getNext(),n.processTelemetry(e,l))},l.createNew=function(e,n){return new Vr((e=void 0===e?null:e)||s,i,t,n)}},kn="extensionConfig",Mn="getPlugin",Fn=(On.prototype.initialize=function(e,n,t,r){this._baseTelInit(e,n,t,r)},On);function On(){var o=this,a=!1,u=null,l=null;o.core=null,o.diagLog=function(e){return o._getTelCtx(e).diagLog()},o.isInitialized=function(){return a},o.setInitialized=function(e){a=e},o.setNextPlugin=function(e){l=e},o.processNext=function(e,n){n?n.processNext(e):l&&oe(l.processTelemetry)&&l.processTelemetry(e,null)},o._getTelCtx=function(e){var n=e=void 0===e?null:e;return n||(e=u||new Ln(null,{},o.core),n=l&&l[Mn]?e.createNew(null,l[Mn]):e.createNew(null,l)),n},o._baseTelInit=function(e,n,t,r){e&&Ae(e,kn,[],null,ne),!r&&n&&(r=n.getProcessTelContext().getNext());var i=l;l&&l[Mn]&&(i=l[Mn]()),o.core=n,u=new Ln(r,e,n,i),a=!0}}var Rn="processTelemetry",Dn="priority",_n="setNextPlugin",jn="isInitialized";function Un(n,t){for(var e=[],r=null,i=n.getNext();i;){var o=i.getPlugin();o&&(r&&oe(r[_n])&&oe(o[Rn])&&r[_n](o),oe(o[jn])&&o[jn]()||e.push(o),r=o,i=i.getNext())}ye(e,function(e){e.initialize(n.getCfg(),n.core(),t,n.getNext())})}function Vn(e){return e.sort(function(e,n){var t=0,r=oe(n[Rn]);return oe(e[Rn])?t=r?e[Dn]-n[Dn]:1:r&&(t=-1),t})}var zn,Bn=(m(Kn,zn=Fn),Kn._staticInit=(Pe(Pr=Kn.prototype,"ChannelControls",Pr.getChannelControls),void Pe(Pr,"channelQueue",Pr.getChannelControls)),Kn);function Kn(){var l,r=zn.call(this)||this;function s(e){e&&0<e.length&&(ye(e=e.sort(function(e,n){return e.priority-n.priority}),function(e){e.priority<500&&Fe("Channel has invalid priority"+e.identifier)}),l.push(e))}return r.identifier="ChannelControllerPlugin",r.priority=500,q(Kn,r,function(a,u){a.setNextPlugin=function(e){},a.processTelemetry=function(n,t){l&&ye(l,function(e){0<e.length&&r._getTelCtx(t).createNew(e).processNext(n)})},a.getChannelControls=function(){return l},a.initialize=function(n,t,r){var e,i,o;a.isInitialized()||(u.initialize(n,t,r),e=(n||{}).channels,i=r,l=[],e&&ye(e,s),i&&(o=[],ye(i,function(e){500<e.priority&&o.push(e)}),s(o)),ye(l,function(e){return Un(new Ln(e,n,t),r)}))}}),r}var Hn="toGMTString",qn="toUTCString",Wn="cookie",Gn="expires",Jn="enabled",Xn="isCookieUseDisabled",Qn="disableCookiesUsage",Zn="_ckMgr",$n="",Yn=null,et=null,nt=null,tt=Ye(),rt={},it={};function ot(e){return!e||e.isEnabled()}function at(e,n){var t,r;return e?t=e.getCookieMgr():n&&(t=n.cookieCfg[Zn]||ut(n)),t||(r=n,n=(e||{}).logger,(e=ut[Zn]||it[Zn])||(e=ut[Zn]=ut(r,n),it[Zn]=e),t=e),t}function ut(e,i){var n,t,s=(Ae(t=(n=e||it).cookieCfg=n.cookieCfg||{},"domain",n.cookieDomain,te,ne),Ae(t,"path",n.cookiePath||"/",null,ne),ne(t[Jn])&&(e=void 0,ee(n[Xn])||(e=!n[Xn]),ee(n[Qn])||(e=!n[Qn]),t[Jn]=e),t),c=s.path||"/",f=s.domain,r=!1!==s[Jn],g={isEnabled:function(){var e=r&&lt(i),n=it[Zn];return e&&n&&g!==n?ot(n):e},setEnabled:function(e){r=!1!==e},set:function(e,n,t,r,i){var o,a,u,l=!1;return ot(g)&&(o={},-1!=(u=(a=be(n||$n)).indexOf(";"))&&(a=be(n.substring(0,u)),o=st(n.substring(1+u))),Ae(o,"domain",r||f,Me,ee),ne(t)||(u=gn(),!ee(o[Gn])||0<(n=Ee()+1e3*t)&&((r=new Date).setTime(n),Ae(o,Gn,ct(r,u?Hn:qn)||ct(r,u?Hn:qn)||$n,Me)),u||Ae(o,"max-age",$n+t,null,ee)),(t=rn())&&"https:"===t.protocol&&(Ae(o,"secure",null,null,ee),(et=null===et?!dt((nn()||{}).userAgent):et)&&Ae(o,"SameSite","None",null,ee)),Ae(o,"path",i||c,null,ee),(s.setCookie||gt)(e,ft(a,o)),l=!0),l},get:function(e){var n=$n;return ot(g)?(s.getCookie||function(e){var n,t=$n;return tt&&(n=tt[Wn]||$n,nt!==n&&(rt=st(n),nt=n),t=be(rt[e]||$n)),t})(e):n},del:function(e,n){return!!ot(g)&&g.purge(e,n)},purge:function(e,n){var t,r=!1;return lt(i)&&((t={}).path=n||"/",t[Gn]="Thu, 01 Jan 1970 00:00:01 GMT",gn()||(t["max-age"]="0"),(s.delCookie||gt)(e,ft($n,t)),r=!0),r}};return g[Zn]=g}function lt(e){if(null===Yn){Yn=!1;try{Yn=(tt||{})[Wn]!==undefined}catch(n){e&&e.throwInternal(c.LoggingSeverity.WARNING,W.CannotAccessCookie,"Cannot access document.cookie - "+Ne(n),{exception:dn(n)})}}return Yn}function st(e){var t={};return e&&e.length&&ye(be(e).split(";"),function(e){var n;(e=be(e||$n))&&(-1==(n=e.indexOf("="))?t[e]=null:t[be(e.substring(0,n))]=be(e.substring(1+n)))}),t}function ct(e,n){return oe(e[n])?e[n]():null}function ft(e,n){var t=e||$n;return le(n,function(e,n){t+="; "+e+(ne(n)?$n:"="+n)}),t}function gt(e,n){tt&&(tt[Wn]=e+"="+n)}function dt(e){return!(!ve(e)||!ce(e,"CPU iPhone OS 12")&&!ce(e,"iPad; CPU OS 12")&&!(ce(e,"Macintosh; Intel Mac OS X 10_14")&&ce(e,"Version/")&&ce(e,"Safari"))&&(!ce(e,"Macintosh; Intel Mac OS X 10_14")||!se(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!ce(e,"Chrome/5")&&!ce(e,"Chrome/6")&&(!ce(e,"UnrealEngine")||ce(e,"Chrome"))&&!ce(e,"UCBrowser/12")&&!ce(e,"UCBrowser/11"))}var vt="_notificationManager";function pt(e,n){return new wn(n)}var ht,mt=function zr(){var n,u,l,t,r,s=!1;q(zr,this,function(a){a._extensions=[],u=new Bn,a.logger=new bn({loggingLevelConsole:c.LoggingSeverity.CRITICAL}),n=[],a.isInitialized=function(){return s},a.initialize=function(e,n,r,t){a.isInitialized()&&Fe("Core should not be initialized more than once"),e&&!ne(e.instrumentationKey)||Fe("Please provide instrumentation key"),l=t,a[vt]=t,a.config=e||{},a.config.enablePerfMgr&&Ae(a.config,"createPerfMgr",pt),e.extensions=ne(e.extensions)?[]:e.extensions,Le(e,kn).NotificationManager=t,r&&(a.logger=r),(t=[]).push.apply(t,y(y([],n),e.extensions));var t=Vn(t),i=[],o={};ye(t,function(e){(ne(e)||ne(e.initialize))&&Fe("Extensions must provide callback to initialize");var n=e.priority,t=e.identifier;e&&n&&(ne(o[n])?o[n]=t:r.warnToConsole("Two extensions have same priority #"+n+" - "+o[n]+", "+t)),(!n||n<u.priority)&&i.push(e)}),t.push(u),i.push(u),t=Vn(t),a._extensions=t,Un(new Ln([u],e,a),t),Un(new Ln(i,e,a),t),a._extensions=i,0===a.getTransmissionControls().length&&Fe("No channels available"),s=!0,a.releaseQueue()},a.getTransmissionControls=function(){return u.getChannelControls()},a.track=function(e){Ae(e,"iKey",a.config.instrumentationKey,null,ke),Ae(e,"time",me(new Date),null,ke),Ae(e,"ver","4.0",null,ne),a.isInitialized()?a.getProcessTelContext().processNext(e):n.push(e)},a.getProcessTelContext=function(){var e=a._extensions,n=e;return e&&0!==e.length||(n=[u]),new Ln(n,a.config,a)},a.getNotifyMgr=function(){return l||(l=v({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,n){},eventsSendRequest:function(e,n){}}),a[vt]=l),l},a.getCookieMgr=function(){return r=r||ut(a.config,a.logger)},a.setCookieMgr=function(e){r=e},a.getPerfMgr=function(){return t||a.config&&a.config.enablePerfMgr&&oe(a.config.createPerfMgr)&&(t=a.config.createPerfMgr(a,a.getNotifyMgr())),t||null},a.setPerfMgr=function(e){t=e},a.eventCnt=function(){return n.length},a.releaseQueue=function(){0<n.length&&(ye(n,function(e){a.getProcessTelContext().processNext(e)}),n=[])}})},yt=function Br(e){this.listeners=[];var n=!!(e||{}).perfEvtsSendAll;q(Br,this,function(i){i.addNotificationListener=function(e){i.listeners.push(e)},i.removeNotificationListener=function(e){for(var n=Ce(i.listeners,e);-1<n;)i.listeners.splice(n,1),n=Ce(i.listeners,e)},i.eventsSent=function(n){ye(i.listeners,function(e){e&&e.eventsSent&&setTimeout(function(){return e.eventsSent(n)},0)})},i.eventsDiscarded=function(n,t){ye(i.listeners,function(e){e&&e.eventsDiscarded&&setTimeout(function(){return e.eventsDiscarded(n,t)},0)})},i.eventsSendRequest=function(t,r){ye(i.listeners,function(e){if(e&&e.eventsSendRequest)if(r)setTimeout(function(){return e.eventsSendRequest(t,r)},0);else try{e.eventsSendRequest(t,r)}catch(n){}})},i.perfEvent=function(t){t&&(!n&&t.isChildEvt()||ye(i.listeners,function(e){if(e&&e.perfEvent)if(t.isAsync)setTimeout(function(){return e.perfEvent(t)},0);else try{e.perfEvent(t)}catch(n){}}))}})},Ct=(m(St,ht=mt),St);function St(){var e=ht.call(this)||this,r=0;return q(St,e,function(t,i){function n(e){var n=t.getNotifyMgr();n&&n.eventsDiscarded([e],C.InvalidEvent)}t.initialize=function(e,n,t,r){i.initialize(e,n,t||new bn(e),r||new yt(e))},t.track=function(e){En(t.getPerfMgr(),function(){return"AppInsightsCore:track"},function(){null===e&&(n(e),Fe("Invalid telemetry item")),function(){if(ne(e.name))throw n(e),Error("telemetry name required")}(),i.track(e)},function(){return{item:e}},!e.sync)},t.addNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.addNotificationListener(e)},t.removeNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.removeNotificationListener(e)},t.pollInternalLogs=function(n){var e=t.config.diagnosticLogInterval;return e&&0<e||(e=1e4),r&&t.stopPollingInternalLogs(),r=setInterval(function(){var e=t.logger?t.logger.queue:[];ye(e,function(e){e={name:n||"InternalMessageId: "+e.messageId,iKey:t.config.instrumentationKey,time:me(new Date),baseType:Cn.dataType,baseData:{message:e.message}},t.track(e)}),e.length=0},e)},t.stopPollingInternalLogs=function(){r&&(clearInterval(r),r=0)}}),e}var xt=4294967296,bt=4294967295,It=!1,Tt=123456789,wt=987654321;function Pt(e){e<0&&(e>>>=0),Tt=123456789+e&bt,wt=987654321-e&bt,It=!0}function Et(){try{var e=2147483647&Ee();Pt((Math.random()*xt^e)+e)}catch(n){}}function Nt(e){return 0<e?Math.floor(At()/bt*(e+1))>>>0:0}function At(e){var n=(n=sn()||cn())&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&bt:gn()?(It||Et(),Lt()&bt):Math.floor(xt*Math.random()|0);return e||(n>>>=0),n}function Lt(e){var n=((wt=36969*(65535&wt)+(wt>>16)&bt)<<16)+(65535&(Tt=18e3*(65535&Tt)+(Tt>>16)&bt))>>>0&bt|0;return e||(n>>>=0),n}var kt="visibilitychange",Mt="pagehide",Ft="pageshow";function Ot(e,n){var t=!1,r=Ze();return r&&(t=ae(r,e,n),t=ae(r.body,e,n)||t),(r=Ye())&&ae(r,e,n)||t}function Rt(e,n,t){var r,i=!1;return n&&e&&ge(e)&&(r=[],ye(e,function(e){ve(e)&&(t&&-1!==Ce(t,e)?r.push(e):i=Ot(e,n)||i)}),!i&&0<r.length&&(i=Rt(r,n))),i}function Dt(e,n){return Rt(["beforeunload","unload","pagehide"],e,n)}function _t(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(zt,function(e){var n=0|Nt(15);return("x"===e?n:3&n|8).toString(16)})}function jt(){var e=an();return e&&e.now?e.now():Ee()}function Ut(e){void 0===e&&(e=22);for(var n=At()>>>0,t=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(At()<<2&4294967295|3&n)>>>0,t=0);return r}function Vt(){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=At())]+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&At())|0];return t.substr(0,8)+t.substr(9,4)+"4"+t.substr(13,3)+i+t.substr(16,3)+t.substr(19,12)}var zt=/[xy]/g,Bt={Attach:ae,AttachEvent:ae,Detach:ue,DetachEvent:ue},Kt={NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32},Ht={Normal:1,CostDeferred:2,RealTime:3,Immediate:4},qt={Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9},Wt=p(p({},W),{AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}),Gt="3.1.8",Jt="1DS-Web-JS-"+Gt,Xt="withCredentials",Qt=((Dr={})[0]=qt.Unspecified,Dr[2]=qt.Double,Dr[1]=qt.String,Dr[3]=qt.Bool,Dr[4098]=qt.Double,Dr[4097]=qt.String,Dr[4099]=qt.Bool,Dr),Zt=null,$t=!!Ye(),Yt=!!Ze();function er(e){return!(""===e||ne(e))}function nr(e){if(e){var n=e.indexOf("-");if(-1<n)return e.substring(0,n)}return""}function tr(){return Zt=null===Zt?!(ee(Uint8Array)||!ee(e=nn())&&e.userAgent&&(~(e=e.userAgent.toLowerCase()).indexOf("safari")||~e.indexOf("firefox"))&&!~e.indexOf("chrome")||fn()):Zt;var e}function rr(e){return!!(e&&pe(e)&&Ht.Normal<=e&&e<=Ht.Immediate)}function ir(e,n,t){if(!n&&!er(n)||"string"!=typeof e)return null;if("string"==(e=typeof n)||"number"==e||"boolean"==e||ge(n))n={value:n};else if("object"!=e||n.hasOwnProperty("value")){if(ne(n.value)||""===n.value||!ve(n.value)&&!pe(n.value)&&!he(n.value)&&!ge(n.value))return null}else n={value:t?JSON.stringify(n):n};if(ge(n.value)&&!pr(n.value))return null;if(!ne(n.kind)){if(ge(n.value)||!vr(n.kind))return null;n.value=n.value.toString()}return n}function or(e,n,t){var r=-1;return ee(e)||(0<n&&(32===n?r=8192:n<=13&&(r=n<<5)),0<=t&&t<=9?(-1===r&&(r=0),r|=t):(e=Qt[mr(e)]||-1,-1!==r&&-1!==e?r|=e:e===qt.Double&&(r=e))),r}function ar(){at(null).setEnabled(!1)}function ur(e,n,t){lt(null)&&at(null).set(e,n,86400*t,null,"/")}function lr(e){lt(null)&&at(null).del(e)}function sr(e){return lt(null)?cr(at(null),e):""}function cr(e,n,t){var r;return void 0===t&&(t=!0),e&&(r=e.get(n),t&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function fr(e){void 0===e&&(e="D");var n=_t();return"B"===e?n="{"+n+"}":"P"===e?n="("+n+")":"N"===e&&(n=n.replace(/-/g,"")),n}function gr(e,n,t,r,i){var o={},a=!1,u=0,l=arguments.length,s=Object[f],c=arguments;for("[object Boolean]"===s.toString.call(c[0])&&(a=c[0],u++);u<l;u++)le(c[u],function(t,e){a&&e&&ie(e)?ge(e)?(o[t]=o[t]||[],ye(e,function(e,n){e&&ie(e)?o[t][n]=gr(!0,o[t][n],e):o[t][n]=e})):o[t]=gr(!0,o[t],e):o[t]=e});return o}var dr=jt;function vr(e){return e===Kt.NotSet||e>Kt.NotSet&&e<=Kt.Pii_IPV4AddressLegacy||e===Kt.CustomerContent_GenericContent}function pr(e){return 0<e.length}function hr(e,n){e.timings=e.timings||{},e.timings.processTelemetryStart=e.timings.processTelemetryStart||{},e.timings.processTelemetryStart[n]=dr()}function mr(e){var n,t=0;return null!==e&&e!==undefined&&("string"==(n=typeof e)?t=1:"number"==n?t=2:"boolean"==n?t=3:n===u&&(t=4,ge(e)?(t=4096,0<e.length&&(t|=mr(e[0]))):re(e,"value")&&(t=8192|mr(e.value)))),t}var yr,Cr={Version:Gt,FullVersionString:Jt,strUndefined:n,strObject:u,Undefined:n,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,objKeys:we,toISOString:me,isReactNative:fn,isString:ve,isNumber:pe,isBoolean:he,isFunction:oe,isArray:ge,isObject:ie,strTrim:be,isDocumentObjectAvailable:$t,isWindowObjectAvailable:Yt,isValueAssigned:er,getTenantId:nr,isBeaconsSupported:vn,isUint8ArrayAvailable:tr,isLatency:rr,sanitizeProperty:ir,getISOString:me,useXDomainRequest:pn,getCommonSchemaMetaData:or,cookieAvailable:lt,disallowsSameSiteNone:dt,setCookie:ur,deleteCookie:lr,getCookie:sr,createGuid:fr,extend:gr,getTime:dr,isValueKind:vr,isArrayValid:pr,objDefineAccessors:Pe,addPageUnloadEventListener:Dt,setProcessTelemetryTimings:hr,addEventHandler:Ot,getFieldValueType:mr,strEndsWith:se,objForEachKey:le},Sr={_canUseCookies:undefined,isTypeof:Y,isUndefined:ee,isNullOrUndefined:ne,hasOwnProperty:re,isFunction:oe,isObject:ie,isDate:fe,isArray:ge,isError:de,isString:ve,isNumber:pe,isBoolean:he,toISOString:me,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,strTrim:be,objCreate:v,objKeys:we,objDefineAccessors:Pe,addEventHandler:Ot,dateNow:Ee,isIE:gn,disableCookies:ar,newGuid:_t,perfNow:jt,newId:Ut,randomValue:Nt,random32:At,mwcRandomSeed:function(e){e?Pt(e):Et()},mwcRandom32:Lt,generateW3CId:Vt},xr="version",br="properties";function Ir(){var e=yr.call(this)||this;return e.pluginVersionStringArr=[],e.pluginVersionString="",q(Ir,e,function(u,l){u.logger&&u.logger.queue||(u.logger=new bn({loggingLevelConsole:c.LoggingSeverity.CRITICAL})),u.initialize=function(r,i,o,a){En(u,function(){return"AppInsightsCore.initialize"},function(){if(r){if(r.endpointUrl||(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),(e=r.propertyStorageOverride)&&(!e.getProperty||!e.setProperty))throw Error("Invalid property storage override passed.");r.channels&&ye(r.channels,function(e){e&&ye(e,function(e){e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))})})}u.getWParam=function(){return"undefined"!=typeof document?0:-1},i&&ye(i,function(e){e&&e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))}),u.pluginVersionString=u.pluginVersionStringArr.join(";");try{l.initialize(r,i,o,a),u.pollInternalLogs("InternalLog")}catch(t){var e,n=u.logger;~(e=dn(t)).indexOf("channels")&&(e+="\n - Channels must be provided through config.channels only!"),n.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"SDK Initialization Failed - no telemetry will be sent: "+e)}},function(){return{config:r,extensions:i,logger:o,notificationManager:a}})},u.track=function(t){En(u,function(){return"AppInsightsCore.track"},function(){var e,n=t;n&&(n.timings=n.timings||{},n.timings.trackStart=dr(),rr(n.latency)||(n.latency=Ht.Normal),(e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt,(e=n.baseData=n.baseData||{})[br]||(e[br]={}),(e=e[br])[xr]||(e[xr]=""),""!==u.pluginVersionString&&(e[xr]=u.pluginVersionString)),l.track(n)},function(){return{item:t}},!t.sync)}}),e}var Tr,e=(m(Ir,yr=Ct),Ir);function wr(){var e=Tr.call(this)||this;return q(wr,e,function(o,a){o.initialize=function(e,n,t,r){e&&!e.endpointUrl&&(e.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),o.getWParam=function(){return $t?0:-1};try{a.initialize(e,n,t,r)}catch(i){o.logger.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"Initialization Failed: "+dn(i)+"\n - Note: Channels must be provided through config.channels only")}},o.track=function(e){var n=e;n&&((e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt),a.track(n)}}),e}var Pr=(m(wr,Tr=mt),wr),Er=oe;function Nr(n){var a=0,u=null,e=[];function i(t,r,i,o){e.push(function(){var e;try{(e=1===a?Er(t)?t(u):u:Er(r)?r(u):u)instanceof Nr?e.then(i,o):(2!==a||Er(r)?i:o)(e)}catch(n){return void o(n)}}),0!==a&&l()}function l(){var r;0<e.length&&(r=e.slice(),e=[],setTimeout(function(){for(var e=0,n=r.length;e<n;++e)try{r[e]()}catch(t){}},0))}function t(e){0===a&&(u=e,a=1,l())}function r(e){0===a&&(u=e,a=2,l())}q(Nr,this,function(n){n.then=function(t,r){return new Nr(function(e,n){i(t,r,e,n)})},n["catch"]=function(e){return n.then(null,e)}}),function(){if(!Er(n))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{n(t,r)}catch(e){r(e)}}()}var Ar=(Nr.resolve=function(r){return r instanceof Nr?r:r&&Er(r.then)?new Nr(function(e,n){try{r.then(e,n)}catch(t){n(t)}}):new Nr(function(e){e(r)})},Nr.reject=function(t){return new Nr(function(e,n){n(t)})},Nr.all=function(u){if(u&&u.length)return new Nr(function(r,e){try{for(var i=[],o=0,n=0;n<u.length;n++){var t=u[n];t&&Er(t.then)?(o++,t.then(function(n,t){return function(e){n[t]=e,0==--o&&r(i)}}(i,n),e)):i[n]=t}0===o&&setTimeout(function(){r(i)},0)}catch(a){e(a)}})},Nr.race=function(i){return new Nr(function(n,t){if(i&&i.length)try{for(var r=0;r<i.length;r++)!function(){var e=i[r];e&&Er(e.then)?e.then(n,t):setTimeout(function(){n(e)},0)}()}catch(e){t(e)}})},Nr),Lr=0,kr=[],Mr=[],Fr=[];function Or(){return(new Date).getTime()}function Rr(e,n){var h=0,m=(e||"<unnamed>")+"."+Lr;function y(e){var n=g();n&&n.QUnit&&console&&console.log("ESPromiseScheduler["+m+"] "+e)}function C(e){n&&n.warnToConsole("ESPromiseScheduler["+m+"] "+e)}Lr++,q(Rr,this,function(e){var d=null,v=0;function p(e,n){for(var t=0;t<e.length;t++)if(e[t].id===n)return e.splice(t,1)[0];return null}e.scheduleEvent=function(t,e,u){var i=m+"."+v;v++,e&&(i+="-("+e+")");var o,a,n,r=i+"{"+h+"}";return h++,(e={evt:null,tm:Or(),id:r,isRunning:!1,isAborted:!1}).evt=d?(o=e,a=d,n=new Ar(function(n,t){var e=Or()-a.tm,r=a.id;y("["+i+"] is waiting for ["+r+":"+e+" ms] to complete before starting -- ["+Mr.length+"] waiting and ["+kr.length+"] running"),o.abort=function(e){o.abort=null,p(Mr,i),o.isAborted=!0,t(Error(e))},a.evt.then(function(e){p(Mr,i),g(o).then(n,t)},function(e){p(Mr,i),g(o).then(n,t)})}),Mr.push(o),n):g(e),(d=e).evt._schId=r,e.evt;function l(e){for(var n=Or(),t=n-6e5,r=e.length,i=0;i<r;){var o,a=e[i];a&&a.tm<t?(o=null,a.abort?(o="Aborting ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",a.abort(o)):o="Removing ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",C(o),e.splice(i,1),r--):i++}}function s(e,n){var t,r=!1,i=p(kr,e);i||(i=p(Fr,e),r=!0),i?(i.to&&(clearTimeout(i.to),i.to=null),t=Or()-i.tm,n?r?C("Timed out event ["+e+"] finally complete -- "+t+" ms"):y("Promise ["+e+"] Complete -- "+t+" ms"):(Fr.push(i),C("Event ["+e+"] Timed out and removed -- "+t+" ms"))):y("Failed to remove ["+e+"] from running queue"),d&&d.id===e&&(d=null),l(kr),l(Mr),l(Fr)}function c(n,t){return function(e){return s(n,!0),t&&t(e),e}}function f(r,o){var a=r.id;return new Ar(function(n,t){y("Event ["+a+"] Starting -- waited for "+(r.wTm||"--")+" ms"),r.isRunning=!0,r.abort=function(e){r.abort=null,r.isAborted=!0,s(a,!1),t(Error(e))};var e=o(a);e instanceof Ar?(u&&(r.to=setTimeout(function(){s(a,!1),t(Error("Timed out after ["+u+"] ms"))},u)),function i(n,e,t,r){e.then(function(e){return e instanceof Ar?(y("Event ["+n+"] returned a promise -- waiting"),i(n,e,t,r),e):c(n,t)(e)},c(n,r))}(a,e,function(e){y("Event ["+a+"] Resolving after "+(Or()-r.tm)+" ms"),n(e)},t)):(y("Promise ["+a+"] Auto completed as the start action did not return a promise"),n())})}function g(e){var n=Or();return e.wTm=n-e.tm,e.tm=n,e.isAborted?Ar.reject(Error("["+i+"] was aborted")):(kr.push(e),f(e,t))}}})}var p=(Rr.incomplete=function(){return kr},Rr.waitingToStart=function(){return Mr},Rr),Dr=(_r.getFieldType=mr,_r);function _r(e){var l=this,o={},a=[],u=[];function s(e,n){var t=o[e];if(!(i=t?t[n]:i)&&null!==i){if(ve(e)&&ve(n))if(0<u.length){for(var r=0;r<u.length;r++)if(u[r].handleField(e,n)){i={canHandle:!0,fieldHandler:u[r]};break}}else 0===a.length&&(i={canHandle:!0});if(!i&&null!==i)for(var i=null,r=0;r<a.length;r++)if(a[r].handleField(e,n)){i={canHandle:!0,handler:a[r],fieldHandler:null};break}(t=t||(o[e]={}))[n]=i}return i}function c(e,n,t,r,i,o){if(e.handler)return e.handler.property(n,t,i,o);if(!ne(i.kind)){if(4096==(4096&r)||!vr(i.kind))return null;i.value=i.value.toString()}return function u(r,i,o,e,n){var t,a;return n&&r&&(t=r.getSanitizer(i,o,e,n.kind,n.propertyType))&&(4===e?(a={},le(n.value,function(e,n){var t;er(n)&&(t=f(0,0,n),(t=u(r,i+"."+o,e,mr(n),t))&&(a[e]=t.value))}),n.value=a):n=t.call(l,e={path:i,name:o,type:e,prop:n,sanitizer:l})),n}(e.fieldHandler,n,t,r,i)}function f(e,n,t){return er(t)?{value:t}:null}e&&u.push(e),l.addSanitizer=function(e){e&&(a.push(e),o={})},l.addFieldSanitizer=function(e){e&&(u.push(e),o={})},l.handleField=function(e,n){return!!(n=s(e,n))&&n.canHandle},l.value=function(e,n,t,r){var i=s(e,n);if(i&&i.canHandle){if(!i||!i.canHandle)return null;if(i.handler)return i.handler.value(e,n,t,r);if(!ve(n)||ne(t)||""===t)return null;var o=null,a=mr(t);if(8192==(8192&a)){var u=-8193&a;if(!er((o=t).value)||1!=u&&2!=u&&3!=u&&4096!=(4096&u))return null}else 1===a||2===a||3===a||4096==(4096&a)?o=f(0,0,t):4===a&&(o=f(0,0,r?JSON.stringify(t):t));if(o)return c(i,e,n,a,o,r)}return null},l.property=function(e,n,t,r){var i=s(e,n);if(!i||!i.canHandle)return null;if(!ve(n)||ne(t)||!er(t.value))return null;var o=mr(t.value);return 0===o?null:c(i,e,n,o,t,r)}}c.AppInsightsCore=e,c.BaseCore=Pr,c.BaseTelemetryPlugin=Fn,c.CoreUtils=Sr,c.DiagnosticLogger=bn,c.ESPromise=Ar,c.ESPromiseScheduler=p,c.EventHelper=Bt,c.EventLatency=Ht,c.EventPersistence={Normal:1,Critical:2},c.EventPropertyType=qt,c.EventsDiscardedReason=C,c.FullVersionString=Jt,c.InternalAppInsightsCore=Ct,c.InternalBaseCore=mt,c.MinChannelPriorty=100,c.NotificationManager=yt,c.PerfEvent=In,c.PerfManager=wn,c.ProcessTelemetryContext=Ln,c.TraceLevel={NONE:0,ERROR:1,WARNING:2,INFORMATION:3},c.Undefined=n,c.Utils=Cr,c.ValueKind=Kt,c.ValueSanitizer=Dr,c.Version=Gt,c._ExtendedInternalMessageId=Wt,c._InternalLogMessage=Cn,c._InternalMessageId=W,c.addEventHandler=Ot,c.addEventListeners=Rt,c.addPageHideEventListener=function Kr(t,e){var n=!1;return e&&-1!==Ce(e,Mt)||(n=Ot(Mt,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"hidden"===n.visibilityState&&t(e)})||n)&&e?Kr(t):n},c.addPageShowEventListener=function Hr(t,e){var n=!1;return e&&-1!==Ce(e,Ft)||(n=Ot(Ft,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"visible"===n.visibilityState&&t(e)})||n)&&e?Hr(t):n},c.addPageUnloadEventListener=Dt,c.areCookiesSupported=lt,c.arrForEach=ye,c.arrIndexOf=Ce,c.arrMap=Se,c.arrReduce=xe,c.attachEvent=ae,c.cookieAvailable=lt,c.createCookieMgr=ut,c.createGuid=fr,c.dateNow=Ee,c.deleteCookie=lr,c.detachEvent=ue,c.disableCookies=ar,c.disallowsSameSiteNone=dt,c.doPerf=En,c.dumpObj=dn,c.extend=gr,c.generateW3CId=Vt,c.getCommonSchemaMetaData=or,c.getConsole=on,c.getCookie=sr,c.getCookieValue=cr,c.getCrypto=sn,c.getDocument=Ye,c.getExceptionName=Ne,c.getFieldValueType=mr,c.getGlobal=g,c.getGlobalInst=Xe,c.getHistory=function(){return tn()?history:Xe("history")},c.getIEVersion=function(e){var n;return ce(e=((e=(e=void 0===e?null:e)?e:(n=nn()||{})?(n.userAgent||"").toLowerCase():"")||"").toLowerCase(),ze)?parseInt(e.split(ze)[1]):ce(e,Be)&&(e=parseInt(e.split(Be)[1]))?e+4:null},c.getISOString=me,c.getJSON=ln,c.getLocation=rn,c.getMsCrypto=cn,c.getNavigator=nn,c.getPerformance=an,c.getSetValue=Le,c.getTenantId=nr,c.getTime=dr,c.getWindow=Ze,c.hasDocument=$e,c.hasHistory=tn,c.hasJSON=un,c.hasNavigator=en,c.hasOwnProperty=re,c.hasWindow=Qe,c.isArray=ge,c.isArrayValid=pr,c.isBeaconsSupported=vn,c.isBoolean=he,c.isChromium=function(){return!!Xe("chrome")},c.isDate=fe,c.isDocumentObjectAvailable=$t,c.isError=de,c.isFetchSupported=function(e){var n=!1;try{var n=!!Xe("fetch"),t=Xe("Request");n&&e&&t&&(n=Je(t,"keepalive"))}catch(r){}return n},c.isFunction=oe,c.isIE=gn,c.isLatency=rr,c.isNotTruthy=ke,c.isNullOrUndefined=ne,c.isNumber=pe,c.isObject=ie,c.isReactNative=fn,c.isString=ve,c.isTruthy=Me,c.isTypeof=Y,c.isUint8ArrayAvailable=tr,c.isUndefined=ee,c.isValueAssigned=er,c.isValueKind=vr,c.isWindowObjectAvailable=Yt,c.isXhrSupported=hn,c.newGuid=_t,c.newId=Ut,c.normalizeJsName=function(e){var n=e,t=/([^\w\d_$])/g;return t.test(e)?e.replace(t,"_"):n},c.objCreate=v,c.objDefineAccessors=Pe,c.objForEachKey=le,c.objKeys=we,c.openXhr=function(e,n,t,r,i){function o(e,n,t){try{e[n]=t}catch(r){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var a=new XMLHttpRequest;return r&&o(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),t&&o(a,Xt,t),a.open(e,n,!i),t&&o(a,Xt,t),a},c.optimizeObject=function(e){return e&&t(r?r({},e):e)},c.perfNow=jt,c.proxyAssign=function(r,i,o){if(r&&i&&r!==i&&ie(r)&&ie(i))for(var e in i)!function(n){var e,t;ve(n)&&(oe(e=i[n])?o&&!o(n,!0,i,r)||(r[n]=(t=n,function(){return i[t].apply(i,arguments)})):o&&!o(n,!1,i,r)||(re(r,n)&&delete r[n],Pe(r,n,function(){return i[n]},function(e){i[n]=e})||(r[n]=e)))}(e);return r},c.random32=At,c.randomValue=Nt,c.safeGetCookieMgr=at,c.safeGetLogger=xn,c.sanitizeProperty=ir,c.setCookie=ur,c.setEnableEnvMocks=function(e){qe=e},c.setProcessTelemetryTimings=hr,c.setValue=Ae,c.strContains=ce,c.strEndsWith=se,c.strExtensionConfig=kn,c.strFunction=a,c.strIKey="iKey",c.strObject=u,c.strPrototype=f,c.strStartsWith=function(e,n){var t=!1;if(e&&n){var r=n.length;if(e===n)return!0;if(e.length>=r){for(var i=0;i<r;i++)if(e[i]!==n[i])return!1;t=!0}}return t},c.strTrim=be,c.strUndefined=n,c.throwError=Fe,c.toISOString=me,c.useXDomainRequest=pn,function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(i){}typeof t.value!==undefined&&(e[n]=t.value)}(c,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).oneDS=e.oneDS||{});
var e=this,n=function(c){"use strict";var a="function",u="object",n="undefined",f="prototype",o="hasOwnProperty",t=Object,l=t[f],r=t.assign,i=t.create,e=t.defineProperty,s=l[o];function g(){return typeof globalThis!==n&&globalThis?globalThis:typeof self!==n&&self?self:typeof window!==n&&window?window:typeof global!==n&&global?global:null}function d(e){throw new TypeError(e)}function v(e){if(i)return i(e);if(null==e)return{};var n=typeof e;function t(){}return n!==u&&n!==a&&d("Object prototype may only be an Object:"+e),t[f]=e,new t}(g()||{}).Symbol,(g()||{}).Reflect;var p=r||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])l[o].call(n,i)&&(e[i]=n[i]);return e},h=function(e,n){return(h=t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[o](t)&&(e[t]=n[t])})(e,n)};function m(e,n){function t(){this.constructor=e}typeof n!==a&&null!==n&&d("Class extends value "+n+" is not a constructor or null"),h(e,n),e[f]=null===n?v(n):(t[f]=n[f],new t)}function y(e,n){for(var t=0,r=n.length,i=e.length;t<r;t++,i++)e[i]=n[t];return e}var C={Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5},S="constructor",x="prototype",b="function",I="_dynInstFuncs",T="_isDynProxy",w="_dynClass",P="_dynInstChk",E=P,N="_dfOpts",A="_unknown_",L="__proto__",k="useBaseInst",M="setInstFuncs",F=Object,O=F.getPrototypeOf,R=0;function D(e,n){return e&&F[x].hasOwnProperty.call(e,n)}function _(e){return e&&(e===F[x]||e===Array[x])}function j(e){return _(e)||e===Function[x]}function U(e){if(e){if(O)return O(e);if(e=e[L]||e[x]||(e[S]?e[S][x]:null))return e}return null}function V(e,n){var t=[],r=F.getOwnPropertyNames;if(r)t=r(e);else for(var i in e)"string"==typeof i&&D(e,i)&&t.push(i);if(t&&0<t.length)for(var o=0;o<t.length;o++)n(t[o])}function z(e,n,t){return n!==S&&typeof e[n]===b&&(t||D(e,n))}function B(e){throw new TypeError("DynamicProto: "+e)}function K(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function H(e,n){return D(e,x)?e.name||n||A:((e||{})[S]||{}).name||n||A}function q(e,r,n,t){D(e,x)||B("theClass is an invalid class definition.");var i=e[x];!function(e){if(O)for(var n=[],t=U(r);t&&!j(t)&&!K(n,t);){if(t===e)return 1;n.push(t),t=U(t)}}(i)&&B("["+H(e)+"] is not in class hierarchy of ["+H(r)+"]");var o=null;D(i,w)?o=i[w]:(o="_dynCls$"+H(e,"_")+"$"+R,R++,i[w]=o);var a=q[N],u=!!a[k];u&&t&&t[k]!==undefined&&(u=!!t[k]);var l,s,c,f,g,d,e=(s={},V(l=r,function(e){!s[e]&&z(l,e,!1)&&(s[e]=l[e])}),s);n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[T]&&o&&!1!==(r=e[I]||{})[E]&&(i=(r[n[w]]||{})[t]||i),function(){return i.apply(e,arguments)}}var i={};V(t,function(e){i[e]=r(n,t,e)});for(var a=U(e),u=[];a&&!j(a)&&!K(u,a);)V(a,function(e){!i[e]&&z(a,e,!O)&&(i[e]=r(n,a,e))}),u.push(a),a=U(a);return i}(i,r,e,u)),a=!!O&&!!a[M],c=i,o=o,f=r,g=e,t=!1!==(a=a&&t?!!t[M]:a),_(c)||(a=f[I]=f[I]||{},d=a[o]=a[o]||{},!1!==a[E]&&(a[E]=!!t),V(f,function(e){var t,r,i;z(f,e,!1)&&f[e]!==g[e]&&(d[e]=f[e],delete f[e],D(c,e)&&(!c[e]||c[e][T])||(c[e]=(t=c,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&D(t,w)){var o=e[I]||{};if((i=(o[t[w]]||{})[n])||B("Missing ["+n+"] "+b),!i[P]&&!1!==o[E]){for(var a=!D(e,n),u=U(e),l=[];a&&u&&!j(u)&&!K(l,u);){var s=u[n];if(s){a=s===r;break}l.push(u),u=U(u)}try{a&&(e[n]=i),i[P]=1}catch(c){o[E]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?U(t)[e]:n)!==b&&B("["+e+"] is not a "+b),n)).apply(this,arguments)})[T]=1,i)))}))}q[N]={setInstFuncs:!0,useBaseInst:!0},c.LoggingSeverity=void 0,(Sr=c.LoggingSeverity||(c.LoggingSeverity={}))[Sr.CRITICAL=1]="CRITICAL",Sr[Sr.WARNING=2]="WARNING";var W={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},G="attachEvent",J="addEventListener",X="detachEvent",Q="removeEventListener",Z=e;function $(e){return l.toString.call(e)}function Y(e,n){return typeof e===n}function ee(e){return e===undefined||typeof e===n}function ne(e){return null===e||ee(e)}function te(e){return!ne(e)}function re(e,n){return e&&s.call(e,n)}function ie(e){return typeof e===u}function oe(e){return typeof e===a}function ae(e,n,t,r){void 0===r&&(r=!1);var i=!1;if(!ne(e))try{ne(e[J])?ne(e[G])||(e[G]("on"+n,t),i=!0):(e[J](n,t,r),i=!0)}catch(o){}return i}function ue(e,n,t,r){if(void 0===r&&(r=!1),!ne(e))try{ne(e[Q])?ne(e[X])||e[X]("on"+n,t):e[Q](n,t,r)}catch(i){}}function le(e,n){if(e)for(var t in e)s.call(e,t)&&n.call(e,t,e[t])}function se(e,n){if(e&&n){var t=n.length,r=e.length;if(e===n)return!0;if(t<=r){for(var i=r-1,o=t-1;0<=o;o--){if(e[i]!=n[o])return!1;i--}return!0}}return!1}function ce(e,n){return!(!e||!n||!~e.indexOf(n))}function fe(e){return"[object Date]"===$(e)}function ge(e){return"[object Array]"===$(e)}function de(e){return"[object Error]"===$(e)}function ve(e){return"string"==typeof e}function pe(e){return"number"==typeof e}function he(e){return"boolean"==typeof e}function me(e){if(fe(e)){var n=function(e){return 1===(e=""+e).length?"0"+e:e};return 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"}}function ye(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 Ce(e,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 Se(e,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(u){}return o}function xe(e,n,t){var r,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}function be(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}var Ie=!{toString:null}.propertyIsEnumerable("toString"),Te=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function we(e){var n=typeof e;n===a||n===u&&null!==e||d("objKeys called on non-object");var t,r=[];for(t in e)e&&s.call(e,t)&&r.push(t);if(Ie)for(var i=Te.length,o=0;o<i;o++)e&&s.call(e,Te[o])&&r.push(Te[o]);return r}function Pe(e,n,t,r){if(Z)try{var i={enumerable:!0,configurable:!0};return t&&(i.get=t),r&&(i.set=r),Z(e,n,i),!0}catch(o){}return!1}function Ee(){var e=Date;return e.now?e.now():(new e).getTime()}function Ne(e){return de(e)?e.name:""}function Ae(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 Le(e,n,t){var r;return e?!(r=e[n])&&ne(r)&&(r=ee(t)?{}:t,e[n]=r):r=ee(t)?{}:t,r}function ke(e){return!e}function Me(e){return!!e}function Fe(e){throw Error(e)}var Oe="window",Re="navigator",De="location",_e="performance",je="JSON",Ue="crypto",Ve="msCrypto",ze="msie",Be="trident/",Ke=null,He=null,qe=!1,We=null,Ge=null;function Je(e,n){var t,r=!1;if(e){try{(r=n in e)||(t=e[f])&&(r=n in t)}catch(i){}if(!r)try{r=!ee((new e)[n])}catch(i){}}return r}function Xe(e){var n=g();return n&&n[e]?n[e]:e===Oe&&Qe()?window:null}function Qe(){return!(typeof window!==u||!window)}function Ze(){return Qe()?window:Xe(Oe)}function $e(){return!(typeof document!==u||!document)}function Ye(){return $e()?document:Xe("document")}function en(){return!(typeof navigator!==u||!navigator)}function nn(){return en()?navigator:Xe(Re)}function tn(){return!(typeof history!==u||!history)}function rn(e){return e&&qe&&(e=Xe("__mockLocation"))?e:typeof location===u&&location?location:Xe(De)}function on(){return typeof console!==n?console:Xe("console")}function an(){return Xe(_e)}function un(){return!!(typeof JSON===u&&JSON||null!==Xe(je))}function ln(){return un()?JSON||Xe(je):null}function sn(){return Xe(Ue)}function cn(){return Xe(Ve)}function fn(){var e=nn();return!(!e||!e.product)&&"ReactNative"===e.product}function gn(){var e=nn();return!e||e.userAgent===He&&null!==Ke||(e=((He=e.userAgent)||"").toLowerCase(),Ke=ce(e,ze)||ce(e,Be)),Ke}function dn(e){var n=Object[f].toString.call(e),t="";return"[object Error]"===n?t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":un()&&(t=ln().stringify(e)),n+t}function vn(){return Ge=null===Ge?en()&&!!nn().sendBeacon:Ge}function pn(){return We=null===We&&(We=typeof XDomainRequest!==undefined)&&hn()?We&&!Je(Xe("XMLHttpRequest"),"withCredentials"):We}function hn(){var e=!1;try{e=!!Xe("XMLHttpRequest")}catch(n){}return e}function mn(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function yn(e,n){var t,r=on();r&&(t="log",oe(r[t=r[e]?e:t])&&r[t](n))}var Cn=(Sn.dataType="MessageData",Sn);function Sn(e,n,t,r){void 0===t&&(t=!1),this.messageId=e,this.message=(t?"AI: ":"AI (Internal): ")+e,e="",un()&&(e=ln().stringify(r)),e=(n?" message:"+mn(n):"")+(r?" props:"+mn(e):""),this.message+=e}function xn(e,n){return(e||{}).logger||new bn(n)}var bn=function jr(t){this.identifier="DiagnosticLogger",this.queue=[];var i=0,a={};q(jr,this,function(o){function e(e,n){return ne(e=t[e])?n:e}ne(t)&&(t={}),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){if(n=new Cn(n,t,i=void 0!==i&&i,r),o.enableDebugExceptions())throw n;t=e===c.LoggingSeverity.CRITICAL?"errorToConsole":"warnToConsole",ee(n.message)||(r=o.consoleLoggingLevel(),i?(i=+n.messageId,!a[i]&&e<=r&&(o[t](n.message),a[i]=!0)):e<=r&&o[t](n.message),o.logInternalMessage(e,n))},o.warnToConsole=function(e){yn("warn",e)},o.errorToConsole=function(e){yn("error",e)},o.resetInternalMessageCount=function(){i=0,a={}},o.logInternalMessage=function(e,n){var t,r;i>=o.maxInternalMessageLimit()||(t=!0,r="AITR_"+n.messageId,a[r]?t=!1:a[r]=!0,t&&(e<=o.telemetryLoggingLevel()&&(o.queue.push(n),i++),i===o.maxInternalMessageLimit()&&(n=new Cn(W.MessageLimitPerPVExceeded,e="Internal events throttle limit per PageView reached for this app.",!1),o.queue.push(n),o.warnToConsole(e))))}})},In=(Tn.ParentContextKey="parent",Tn.ChildrenContextKey="childEvts",Tn);function Tn(e,i,n){var t,o=this,a=!1;o.start=Ee(),o.name=e,o.isAsync=n,o.isChildEvt=function(){return!1},oe(i)&&(a=Pe(o,"payload",function(){return!t&&oe(i)&&(t=i(),i=null),t})),o.getCtx=function(e){return e?(e===Tn.ParentContextKey||e===Tn.ChildrenContextKey?o:o.ctx||{})[e]:null},o.setCtx=function(e,n){e&&(e===Tn.ParentContextKey?(o[e]||(o.isChildEvt=function(){return!0}),o[e]=n):e===Tn.ChildrenContextKey?o[e]=n:(o.ctx=o.ctx||{})[e]=n)},o.complete=function(){var e=0,n=o.getCtx(Tn.ChildrenContextKey);if(ge(n))for(var t=0;t<n.length;t++){var r=n[t];r&&(e+=r.time)}o.time=Ee()-o.start,o.exTime=o.time-e,o.complete=function(){},!a&&oe(i)&&(o.payload=i())}}var wn=function Ur(n){this.ctx={},q(Ur,this,function(t){t.create=function(e,n,t){return new In(e,n,t)},t.fire=function(e){e&&(e.complete(),n&&oe(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 En(e,n,t,r,i){if(e){var o=e;if(o=oe(o.getPerfMgr)?o.getPerfMgr():o){var a,u=void 0,e=o.getCtx(Pn);try{if(u=o.create(n(),r,i))return e&&u.setCtx&&(u.setCtx(In.ParentContextKey,e),e.getCtx&&e.setCtx&&((a=e.getCtx(In.ChildrenContextKey))||(a=[],e.setCtx(In.ChildrenContextKey,a)),a.push(u))),o.setCtx(Pn,u),t(u)}catch(l){u&&u.setCtx&&u.setCtx("exception",l)}finally{u&&o.fire(u),o.setCtx(Pn,e)}}}return t()}var Nn=function(i,n){var o=this,a=null,u=oe(i.processTelemetry),l=oe(i.setNextPlugin);o._hasRun=!1,o.getPlugin=function(){return i},o.getNext=function(){return a},o.setNext=function(e){a=e},o.processTelemetry=function(t,r){r=r||n;var e=i?i.identifier:"TelemetryPluginChain";En(r?r.core():null,function(){return e+":processTelemetry"},function(){if(i&&u){o._hasRun=!0;try{r.setNext(a),l&&i.setNextPlugin(a),a&&(a._hasRun=!1),i.processTelemetry(t,r)}catch(n){var e=a&&a._hasRun;a&&e||r.diagLog().throwInternal(c.LoggingSeverity.CRITICAL,W.PluginException,"Plugin ["+i.identifier+"] failed during processTelemetry - "+dn(n)),a&&!e&&a.processTelemetry(t,r)}}else a&&(o._hasRun=!0,a.processTelemetry(t,r))},function(){return{item:t}},!t.sync)}};function An(e,n){var t=[];if(e&&0<e.length)for(var r=null,i=0;i<e.length;i++){var o=e[i];o&&oe(o.processTelemetry)&&(o=new Nn(o,n),t.push(o),r&&r.setNext(o),r=o)}return 0<t.length?t[0]:null}var Ln=function Vr(e,i,t,n){var r,o,a,u,l=this,s=null;null!==n&&(e&&oe(e.getPlugin)?s=function(e,n,t){var r=[],i=!t;if(e)for(;e;){var o=e.getPlugin();!i&&o!==t||(i=!0,r.push(o)),e=e.getNext()}return i||r.push(t),An(r,n)}(e,l,n||e.getPlugin()):n?(r=l,a=e,u=!1,(o=n)&&e&&(a=[],ye(e,function(e){!u&&e!==o||(u=!0,a.push(e))})),o&&!u&&(a=a||[]).push(o),s=An(a,r)):ee(n)&&(s=An(e,l))),l.core=function(){return t},l.diagLog=function(){return xn(t,i)},l.getCfg=function(){return i},l.getExtCfg=function(e,n){var t,r;return void 0===n&&(n={}),!i||(r=i.extensionConfig)&&e&&(t=r[e]),t||n},l.getConfig=function(e,n,t){var r;return void 0===t&&(t=!1),(e=l.getExtCfg(e,null))&&!ne(e[n])?r=e[n]:i&&!ne(i[n])&&(r=i[n]),ne(r)?t:r},l.hasNext=function(){return null!=s},l.getNext=function(){return s},l.setNext=function(e){s=e},l.processNext=function(e){var n=s;n&&(s=n.getNext(),n.processTelemetry(e,l))},l.createNew=function(e,n){return new Vr((e=void 0===e?null:e)||s,i,t,n)}},kn="extensionConfig",Mn="getPlugin",Fn=(On.prototype.initialize=function(e,n,t,r){this._baseTelInit(e,n,t,r)},On);function On(){var o=this,a=!1,u=null,l=null;o.core=null,o.diagLog=function(e){return o._getTelCtx(e).diagLog()},o.isInitialized=function(){return a},o.setInitialized=function(e){a=e},o.setNextPlugin=function(e){l=e},o.processNext=function(e,n){n?n.processNext(e):l&&oe(l.processTelemetry)&&l.processTelemetry(e,null)},o._getTelCtx=function(e){var n=e=void 0===e?null:e;return n||(e=u||new Ln(null,{},o.core),n=l&&l[Mn]?e.createNew(null,l[Mn]):e.createNew(null,l)),n},o._baseTelInit=function(e,n,t,r){e&&Ae(e,kn,[],null,ne),!r&&n&&(r=n.getProcessTelContext().getNext());var i=l;l&&l[Mn]&&(i=l[Mn]()),o.core=n,u=new Ln(r,e,n,i),a=!0}}var Rn="processTelemetry",Dn="priority",_n="setNextPlugin",jn="isInitialized";function Un(n,t){for(var e=[],r=null,i=n.getNext();i;){var o=i.getPlugin();o&&(r&&oe(r[_n])&&oe(o[Rn])&&r[_n](o),oe(o[jn])&&o[jn]()||e.push(o),r=o,i=i.getNext())}ye(e,function(e){e.initialize(n.getCfg(),n.core(),t,n.getNext())})}function Vn(e){return e.sort(function(e,n){var t=0,r=oe(n[Rn]);return oe(e[Rn])?t=r?e[Dn]-n[Dn]:1:r&&(t=-1),t})}var zn,Bn=(m(Kn,zn=Fn),Kn._staticInit=(Pe(Pr=Kn.prototype,"ChannelControls",Pr.getChannelControls),void Pe(Pr,"channelQueue",Pr.getChannelControls)),Kn);function Kn(){var l,r=zn.call(this)||this;function s(e){e&&0<e.length&&(ye(e=e.sort(function(e,n){return e.priority-n.priority}),function(e){e.priority<500&&Fe("Channel has invalid priority"+e.identifier)}),l.push(e))}return r.identifier="ChannelControllerPlugin",r.priority=500,q(Kn,r,function(a,u){a.setNextPlugin=function(e){},a.processTelemetry=function(n,t){l&&ye(l,function(e){0<e.length&&r._getTelCtx(t).createNew(e).processNext(n)})},a.getChannelControls=function(){return l},a.initialize=function(n,t,r){var e,i,o;a.isInitialized()||(u.initialize(n,t,r),e=(n||{}).channels,i=r,l=[],e&&ye(e,s),i&&(o=[],ye(i,function(e){500<e.priority&&o.push(e)}),s(o)),ye(l,function(e){return Un(new Ln(e,n,t),r)}))}}),r}var Hn="toGMTString",qn="toUTCString",Wn="cookie",Gn="expires",Jn="enabled",Xn="isCookieUseDisabled",Qn="disableCookiesUsage",Zn="_ckMgr",$n="",Yn=null,et=null,nt=null,tt=Ye(),rt={},it={};function ot(e){return!e||e.isEnabled()}function at(e,n){var t,r;return e?t=e.getCookieMgr():n&&(t=n.cookieCfg[Zn]||ut(n)),t||(r=n,n=(e||{}).logger,(e=ut[Zn]||it[Zn])||(e=ut[Zn]=ut(r,n),it[Zn]=e),t=e),t}function ut(e,i){var n,t,s=(Ae(t=(n=e||it).cookieCfg=n.cookieCfg||{},"domain",n.cookieDomain,te,ne),Ae(t,"path",n.cookiePath||"/",null,ne),ne(t[Jn])&&(e=void 0,ee(n[Xn])||(e=!n[Xn]),ee(n[Qn])||(e=!n[Qn]),t[Jn]=e),t),c=s.path||"/",f=s.domain,r=!1!==s[Jn],g={isEnabled:function(){var e=r&&lt(i),n=it[Zn];return e&&n&&g!==n?ot(n):e},setEnabled:function(e){r=!1!==e},set:function(e,n,t,r,i){var o,a,u,l=!1;return ot(g)&&(o={},-1!=(u=(a=be(n||$n)).indexOf(";"))&&(a=be(n.substring(0,u)),o=st(n.substring(1+u))),Ae(o,"domain",r||f,Me,ee),ne(t)||(u=gn(),!ee(o[Gn])||0<(n=Ee()+1e3*t)&&((r=new Date).setTime(n),Ae(o,Gn,ct(r,u?Hn:qn)||ct(r,u?Hn:qn)||$n,Me)),u||Ae(o,"max-age",$n+t,null,ee)),(t=rn())&&"https:"===t.protocol&&(Ae(o,"secure",null,null,ee),(et=null===et?!dt((nn()||{}).userAgent):et)&&Ae(o,"SameSite","None",null,ee)),Ae(o,"path",i||c,null,ee),(s.setCookie||gt)(e,ft(a,o)),l=!0),l},get:function(e){var n=$n;return ot(g)?(s.getCookie||function(e){var n,t=$n;return tt&&(n=tt[Wn]||$n,nt!==n&&(rt=st(n),nt=n),t=be(rt[e]||$n)),t})(e):n},del:function(e,n){return!!ot(g)&&g.purge(e,n)},purge:function(e,n){var t,r=!1;return lt(i)&&((t={}).path=n||"/",t[Gn]="Thu, 01 Jan 1970 00:00:01 GMT",gn()||(t["max-age"]="0"),(s.delCookie||gt)(e,ft($n,t)),r=!0),r}};return g[Zn]=g}function lt(e){if(null===Yn){Yn=!1;try{Yn=(tt||{})[Wn]!==undefined}catch(n){e&&e.throwInternal(c.LoggingSeverity.WARNING,W.CannotAccessCookie,"Cannot access document.cookie - "+Ne(n),{exception:dn(n)})}}return Yn}function st(e){var t={};return e&&e.length&&ye(be(e).split(";"),function(e){var n;(e=be(e||$n))&&(-1==(n=e.indexOf("="))?t[e]=null:t[be(e.substring(0,n))]=be(e.substring(1+n)))}),t}function ct(e,n){return oe(e[n])?e[n]():null}function ft(e,n){var t=e||$n;return le(n,function(e,n){t+="; "+e+(ne(n)?$n:"="+n)}),t}function gt(e,n){tt&&(tt[Wn]=e+"="+n)}function dt(e){return!(!ve(e)||!ce(e,"CPU iPhone OS 12")&&!ce(e,"iPad; CPU OS 12")&&!(ce(e,"Macintosh; Intel Mac OS X 10_14")&&ce(e,"Version/")&&ce(e,"Safari"))&&(!ce(e,"Macintosh; Intel Mac OS X 10_14")||!se(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!ce(e,"Chrome/5")&&!ce(e,"Chrome/6")&&(!ce(e,"UnrealEngine")||ce(e,"Chrome"))&&!ce(e,"UCBrowser/12")&&!ce(e,"UCBrowser/11"))}var vt="_notificationManager";function pt(e,n){return new wn(n)}var ht,mt=function zr(){var n,u,l,t,r,s=!1;q(zr,this,function(a){a._extensions=[],u=new Bn,a.logger=new bn({loggingLevelConsole:c.LoggingSeverity.CRITICAL}),n=[],a.isInitialized=function(){return s},a.initialize=function(e,n,r,t){a.isInitialized()&&Fe("Core should not be initialized more than once"),e&&!ne(e.instrumentationKey)||Fe("Please provide instrumentation key"),l=t,a[vt]=t,a.config=e||{},a.config.enablePerfMgr&&Ae(a.config,"createPerfMgr",pt),e.extensions=ne(e.extensions)?[]:e.extensions,Le(e,kn).NotificationManager=t,r&&(a.logger=r),(t=[]).push.apply(t,y(y([],n),e.extensions));var t=Vn(t),i=[],o={};ye(t,function(e){(ne(e)||ne(e.initialize))&&Fe("Extensions must provide callback to initialize");var n=e.priority,t=e.identifier;e&&n&&(ne(o[n])?o[n]=t:r.warnToConsole("Two extensions have same priority #"+n+" - "+o[n]+", "+t)),(!n||n<u.priority)&&i.push(e)}),t.push(u),i.push(u),t=Vn(t),a._extensions=t,Un(new Ln([u],e,a),t),Un(new Ln(i,e,a),t),a._extensions=i,0===a.getTransmissionControls().length&&Fe("No channels available"),s=!0,a.releaseQueue()},a.getTransmissionControls=function(){return u.getChannelControls()},a.track=function(e){Ae(e,"iKey",a.config.instrumentationKey,null,ke),Ae(e,"time",me(new Date),null,ke),Ae(e,"ver","4.0",null,ne),a.isInitialized()?a.getProcessTelContext().processNext(e):n.push(e)},a.getProcessTelContext=function(){var e=a._extensions,n=e;return e&&0!==e.length||(n=[u]),new Ln(n,a.config,a)},a.getNotifyMgr=function(){return l||(l=v({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,n){},eventsSendRequest:function(e,n){}}),a[vt]=l),l},a.getCookieMgr=function(){return r=r||ut(a.config,a.logger)},a.setCookieMgr=function(e){r=e},a.getPerfMgr=function(){return t||a.config&&a.config.enablePerfMgr&&oe(a.config.createPerfMgr)&&(t=a.config.createPerfMgr(a,a.getNotifyMgr())),t||null},a.setPerfMgr=function(e){t=e},a.eventCnt=function(){return n.length},a.releaseQueue=function(){0<n.length&&(ye(n,function(e){a.getProcessTelContext().processNext(e)}),n=[])}})},yt=function Br(e){this.listeners=[];var n=!!(e||{}).perfEvtsSendAll;q(Br,this,function(i){i.addNotificationListener=function(e){i.listeners.push(e)},i.removeNotificationListener=function(e){for(var n=Ce(i.listeners,e);-1<n;)i.listeners.splice(n,1),n=Ce(i.listeners,e)},i.eventsSent=function(n){ye(i.listeners,function(e){e&&e.eventsSent&&setTimeout(function(){return e.eventsSent(n)},0)})},i.eventsDiscarded=function(n,t){ye(i.listeners,function(e){e&&e.eventsDiscarded&&setTimeout(function(){return e.eventsDiscarded(n,t)},0)})},i.eventsSendRequest=function(t,r){ye(i.listeners,function(e){if(e&&e.eventsSendRequest)if(r)setTimeout(function(){return e.eventsSendRequest(t,r)},0);else try{e.eventsSendRequest(t,r)}catch(n){}})},i.perfEvent=function(t){t&&(!n&&t.isChildEvt()||ye(i.listeners,function(e){if(e&&e.perfEvent)if(t.isAsync)setTimeout(function(){return e.perfEvent(t)},0);else try{e.perfEvent(t)}catch(n){}}))}})},Ct=(m(St,ht=mt),St);function St(){var e=ht.call(this)||this,r=0;return q(St,e,function(t,i){function n(e){var n=t.getNotifyMgr();n&&n.eventsDiscarded([e],C.InvalidEvent)}t.initialize=function(e,n,t,r){i.initialize(e,n,t||new bn(e),r||new yt(e))},t.track=function(e){En(t.getPerfMgr(),function(){return"AppInsightsCore:track"},function(){null===e&&(n(e),Fe("Invalid telemetry item")),function(){if(ne(e.name))throw n(e),Error("telemetry name required")}(),i.track(e)},function(){return{item:e}},!e.sync)},t.addNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.addNotificationListener(e)},t.removeNotificationListener=function(e){var n=t.getNotifyMgr();n&&n.removeNotificationListener(e)},t.pollInternalLogs=function(n){var e=t.config.diagnosticLogInterval;return e&&0<e||(e=1e4),r&&t.stopPollingInternalLogs(),r=setInterval(function(){var e=t.logger?t.logger.queue:[];ye(e,function(e){e={name:n||"InternalMessageId: "+e.messageId,iKey:t.config.instrumentationKey,time:me(new Date),baseType:Cn.dataType,baseData:{message:e.message}},t.track(e)}),e.length=0},e)},t.stopPollingInternalLogs=function(){r&&(clearInterval(r),r=0)}}),e}var xt=4294967296,bt=4294967295,It=!1,Tt=123456789,wt=987654321;function Pt(e){e<0&&(e>>>=0),Tt=123456789+e&bt,wt=987654321-e&bt,It=!0}function Et(){try{var e=2147483647&Ee();Pt((Math.random()*xt^e)+e)}catch(n){}}function Nt(e){return 0<e?Math.floor(At()/bt*(e+1))>>>0:0}function At(e){var n=(n=sn()||cn())&&n.getRandomValues?n.getRandomValues(new Uint32Array(1))[0]&bt:gn()?(It||Et(),Lt()&bt):Math.floor(xt*Math.random()|0);return e||(n>>>=0),n}function Lt(e){var n=((wt=36969*(65535&wt)+(wt>>16)&bt)<<16)+(65535&(Tt=18e3*(65535&Tt)+(Tt>>16)&bt))>>>0&bt|0;return e||(n>>>=0),n}var kt="visibilitychange",Mt="pagehide",Ft="pageshow";function Ot(e,n){var t=!1,r=Ze();return r&&(t=ae(r,e,n),t=ae(r.body,e,n)||t),(r=Ye())&&ae(r,e,n)||t}function Rt(e,n,t){var r,i=!1;return n&&e&&ge(e)&&(r=[],ye(e,function(e){ve(e)&&(t&&-1!==Ce(t,e)?r.push(e):i=Ot(e,n)||i)}),!i&&0<r.length&&(i=Rt(r,n))),i}function Dt(e,n){return Rt(["beforeunload","unload","pagehide"],e,n)}function _t(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(zt,function(e){var n=0|Nt(15);return("x"===e?n:3&n|8).toString(16)})}function jt(){var e=an();return e&&e.now?e.now():Ee()}function Ut(e){void 0===e&&(e=22);for(var n=At()>>>0,t=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(At()<<2&4294967295|3&n)>>>0,t=0);return r}function Vt(){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=At())]+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&At())|0];return t.substr(0,8)+t.substr(9,4)+"4"+t.substr(13,3)+i+t.substr(16,3)+t.substr(19,12)}var zt=/[xy]/g,Bt={Attach:ae,AttachEvent:ae,Detach:ue,DetachEvent:ue},Kt={NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32},Ht={Normal:1,CostDeferred:2,RealTime:3,Immediate:4},qt={Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9},Wt=p(p({},W),{AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}),Gt="3.1.9",Jt="1DS-Web-JS-"+Gt,Xt="withCredentials",Qt=((Dr={})[0]=qt.Unspecified,Dr[2]=qt.Double,Dr[1]=qt.String,Dr[3]=qt.Bool,Dr[4098]=qt.Double,Dr[4097]=qt.String,Dr[4099]=qt.Bool,Dr),Zt=null,$t=!!Ye(),Yt=!!Ze();function er(e){return!(""===e||ne(e))}function nr(e){if(e){var n=e.indexOf("-");if(-1<n)return e.substring(0,n)}return""}function tr(){return Zt=null===Zt?!(ee(Uint8Array)||!ee(e=nn())&&e.userAgent&&(~(e=e.userAgent.toLowerCase()).indexOf("safari")||~e.indexOf("firefox"))&&!~e.indexOf("chrome")||fn()):Zt;var e}function rr(e){return!!(e&&pe(e)&&Ht.Normal<=e&&e<=Ht.Immediate)}function ir(e,n,t){if(!n&&!er(n)||"string"!=typeof e)return null;if("string"==(e=typeof n)||"number"==e||"boolean"==e||ge(n))n={value:n};else if("object"!=e||n.hasOwnProperty("value")){if(ne(n.value)||""===n.value||!ve(n.value)&&!pe(n.value)&&!he(n.value)&&!ge(n.value))return null}else n={value:t?JSON.stringify(n):n};if(ge(n.value)&&!pr(n.value))return null;if(!ne(n.kind)){if(ge(n.value)||!vr(n.kind))return null;n.value=n.value.toString()}return n}function or(e,n,t){var r=-1;return ee(e)||(0<n&&(32===n?r=8192:n<=13&&(r=n<<5)),0<=t&&t<=9?(-1===r&&(r=0),r|=t):(e=Qt[mr(e)]||-1,-1!==r&&-1!==e?r|=e:e===qt.Double&&(r=e))),r}function ar(){at(null).setEnabled(!1)}function ur(e,n,t){lt(null)&&at(null).set(e,n,86400*t,null,"/")}function lr(e){lt(null)&&at(null).del(e)}function sr(e){return lt(null)?cr(at(null),e):""}function cr(e,n,t){var r;return void 0===t&&(t=!0),e&&(r=e.get(n),t&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function fr(e){void 0===e&&(e="D");var n=_t();return"B"===e?n="{"+n+"}":"P"===e?n="("+n+")":"N"===e&&(n=n.replace(/-/g,"")),n}function gr(e,n,t,r,i){var o={},a=!1,u=0,l=arguments.length,s=Object[f],c=arguments;for("[object Boolean]"===s.toString.call(c[0])&&(a=c[0],u++);u<l;u++)le(c[u],function(t,e){a&&e&&ie(e)?ge(e)?(o[t]=o[t]||[],ye(e,function(e,n){e&&ie(e)?o[t][n]=gr(!0,o[t][n],e):o[t][n]=e})):o[t]=gr(!0,o[t],e):o[t]=e});return o}var dr=jt;function vr(e){return e===Kt.NotSet||e>Kt.NotSet&&e<=Kt.Pii_IPV4AddressLegacy||e===Kt.CustomerContent_GenericContent}function pr(e){return 0<e.length}function hr(e,n){e.timings=e.timings||{},e.timings.processTelemetryStart=e.timings.processTelemetryStart||{},e.timings.processTelemetryStart[n]=dr()}function mr(e){var n,t=0;return null!==e&&e!==undefined&&("string"==(n=typeof e)?t=1:"number"==n?t=2:"boolean"==n?t=3:n===u&&(t=4,ge(e)?(t=4096,0<e.length&&(t|=mr(e[0]))):re(e,"value")&&(t=8192|mr(e.value)))),t}var yr,Cr={Version:Gt,FullVersionString:Jt,strUndefined:n,strObject:u,Undefined:n,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,objKeys:we,toISOString:me,isReactNative:fn,isString:ve,isNumber:pe,isBoolean:he,isFunction:oe,isArray:ge,isObject:ie,strTrim:be,isDocumentObjectAvailable:$t,isWindowObjectAvailable:Yt,isValueAssigned:er,getTenantId:nr,isBeaconsSupported:vn,isUint8ArrayAvailable:tr,isLatency:rr,sanitizeProperty:ir,getISOString:me,useXDomainRequest:pn,getCommonSchemaMetaData:or,cookieAvailable:lt,disallowsSameSiteNone:dt,setCookie:ur,deleteCookie:lr,getCookie:sr,createGuid:fr,extend:gr,getTime:dr,isValueKind:vr,isArrayValid:pr,objDefineAccessors:Pe,addPageUnloadEventListener:Dt,setProcessTelemetryTimings:hr,addEventHandler:Ot,getFieldValueType:mr,strEndsWith:se,objForEachKey:le},Sr={_canUseCookies:undefined,isTypeof:Y,isUndefined:ee,isNullOrUndefined:ne,hasOwnProperty:re,isFunction:oe,isObject:ie,isDate:fe,isArray:ge,isError:de,isString:ve,isNumber:pe,isBoolean:he,toISOString:me,arrForEach:ye,arrIndexOf:Ce,arrMap:Se,arrReduce:xe,strTrim:be,objCreate:v,objKeys:we,objDefineAccessors:Pe,addEventHandler:Ot,dateNow:Ee,isIE:gn,disableCookies:ar,newGuid:_t,perfNow:jt,newId:Ut,randomValue:Nt,random32:At,mwcRandomSeed:function(e){e?Pt(e):Et()},mwcRandom32:Lt,generateW3CId:Vt},xr="version",br="properties";function Ir(){var e=yr.call(this)||this;return e.pluginVersionStringArr=[],e.pluginVersionString="",q(Ir,e,function(u,l){u.logger&&u.logger.queue||(u.logger=new bn({loggingLevelConsole:c.LoggingSeverity.CRITICAL})),u.initialize=function(r,i,o,a){En(u,function(){return"AppInsightsCore.initialize"},function(){if(r){if(r.endpointUrl||(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),(e=r.propertyStorageOverride)&&(!e.getProperty||!e.setProperty))throw Error("Invalid property storage override passed.");r.channels&&ye(r.channels,function(e){e&&ye(e,function(e){e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))})})}u.getWParam=function(){return"undefined"!=typeof document?0:-1},i&&ye(i,function(e){e&&e.identifier&&e.version&&(e=e.identifier+"="+e.version,u.pluginVersionStringArr.push(e))}),u.pluginVersionString=u.pluginVersionStringArr.join(";");try{l.initialize(r,i,o,a),u.pollInternalLogs("InternalLog")}catch(t){var e,n=u.logger;~(e=dn(t)).indexOf("channels")&&(e+="\n - Channels must be provided through config.channels only!"),n.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"SDK Initialization Failed - no telemetry will be sent: "+e)}},function(){return{config:r,extensions:i,logger:o,notificationManager:a}})},u.track=function(t){En(u,function(){return"AppInsightsCore.track"},function(){var e,n=t;n&&(n.timings=n.timings||{},n.timings.trackStart=dr(),rr(n.latency)||(n.latency=Ht.Normal),(e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt,(e=n.baseData=n.baseData||{})[br]||(e[br]={}),(e=e[br])[xr]||(e[xr]=""),""!==u.pluginVersionString&&(e[xr]=u.pluginVersionString)),l.track(n)},function(){return{item:t}},!t.sync)}}),e}var Tr,e=(m(Ir,yr=Ct),Ir);function wr(){var e=Tr.call(this)||this;return q(wr,e,function(o,a){o.initialize=function(e,n,t,r){e&&!e.endpointUrl&&(e.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),o.getWParam=function(){return $t?0:-1};try{a.initialize(e,n,t,r)}catch(i){o.logger.throwInternal(c.LoggingSeverity.CRITICAL,Wt.FailedToInitializeSDK,"Initialization Failed: "+dn(i)+"\n - Note: Channels must be provided through config.channels only")}},o.track=function(e){var n=e;n&&((e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=Jt),a.track(n)}}),e}var Pr=(m(wr,Tr=mt),wr),Er=oe;function Nr(n){var a=0,u=null,e=[];function i(t,r,i,o){e.push(function(){var e;try{(e=1===a?Er(t)?t(u):u:Er(r)?r(u):u)instanceof Nr?e.then(i,o):(2!==a||Er(r)?i:o)(e)}catch(n){return void o(n)}}),0!==a&&l()}function l(){var r;0<e.length&&(r=e.slice(),e=[],setTimeout(function(){for(var e=0,n=r.length;e<n;++e)try{r[e]()}catch(t){}},0))}function t(e){0===a&&(u=e,a=1,l())}function r(e){0===a&&(u=e,a=2,l())}q(Nr,this,function(n){n.then=function(t,r){return new Nr(function(e,n){i(t,r,e,n)})},n["catch"]=function(e){return n.then(null,e)}}),function(){if(!Er(n))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{n(t,r)}catch(e){r(e)}}()}var Ar=(Nr.resolve=function(r){return r instanceof Nr?r:r&&Er(r.then)?new Nr(function(e,n){try{r.then(e,n)}catch(t){n(t)}}):new Nr(function(e){e(r)})},Nr.reject=function(t){return new Nr(function(e,n){n(t)})},Nr.all=function(u){if(u&&u.length)return new Nr(function(r,e){try{for(var i=[],o=0,n=0;n<u.length;n++){var t=u[n];t&&Er(t.then)?(o++,t.then(function(n,t){return function(e){n[t]=e,0==--o&&r(i)}}(i,n),e)):i[n]=t}0===o&&setTimeout(function(){r(i)},0)}catch(a){e(a)}})},Nr.race=function(i){return new Nr(function(n,t){if(i&&i.length)try{for(var r=0;r<i.length;r++)!function(){var e=i[r];e&&Er(e.then)?e.then(n,t):setTimeout(function(){n(e)},0)}()}catch(e){t(e)}})},Nr),Lr=0,kr=[],Mr=[],Fr=[];function Or(){return(new Date).getTime()}function Rr(e,n){var h=0,m=(e||"<unnamed>")+"."+Lr;function y(e){var n=g();n&&n.QUnit&&console&&console.log("ESPromiseScheduler["+m+"] "+e)}function C(e){n&&n.warnToConsole("ESPromiseScheduler["+m+"] "+e)}Lr++,q(Rr,this,function(e){var d=null,v=0;function p(e,n){for(var t=0;t<e.length;t++)if(e[t].id===n)return e.splice(t,1)[0];return null}e.scheduleEvent=function(t,e,u){var i=m+"."+v;v++,e&&(i+="-("+e+")");var o,a,n,r=i+"{"+h+"}";return h++,(e={evt:null,tm:Or(),id:r,isRunning:!1,isAborted:!1}).evt=d?(o=e,a=d,n=new Ar(function(n,t){var e=Or()-a.tm,r=a.id;y("["+i+"] is waiting for ["+r+":"+e+" ms] to complete before starting -- ["+Mr.length+"] waiting and ["+kr.length+"] running"),o.abort=function(e){o.abort=null,p(Mr,i),o.isAborted=!0,t(Error(e))},a.evt.then(function(e){p(Mr,i),g(o).then(n,t)},function(e){p(Mr,i),g(o).then(n,t)})}),Mr.push(o),n):g(e),(d=e).evt._schId=r,e.evt;function l(e){for(var n=Or(),t=n-6e5,r=e.length,i=0;i<r;){var o,a=e[i];a&&a.tm<t?(o=null,a.abort?(o="Aborting ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",a.abort(o)):o="Removing ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",C(o),e.splice(i,1),r--):i++}}function s(e,n){var t,r=!1,i=p(kr,e);i||(i=p(Fr,e),r=!0),i?(i.to&&(clearTimeout(i.to),i.to=null),t=Or()-i.tm,n?r?C("Timed out event ["+e+"] finally complete -- "+t+" ms"):y("Promise ["+e+"] Complete -- "+t+" ms"):(Fr.push(i),C("Event ["+e+"] Timed out and removed -- "+t+" ms"))):y("Failed to remove ["+e+"] from running queue"),d&&d.id===e&&(d=null),l(kr),l(Mr),l(Fr)}function c(n,t){return function(e){return s(n,!0),t&&t(e),e}}function f(r,o){var a=r.id;return new Ar(function(n,t){y("Event ["+a+"] Starting -- waited for "+(r.wTm||"--")+" ms"),r.isRunning=!0,r.abort=function(e){r.abort=null,r.isAborted=!0,s(a,!1),t(Error(e))};var e=o(a);e instanceof Ar?(u&&(r.to=setTimeout(function(){s(a,!1),t(Error("Timed out after ["+u+"] ms"))},u)),function i(n,e,t,r){e.then(function(e){return e instanceof Ar?(y("Event ["+n+"] returned a promise -- waiting"),i(n,e,t,r),e):c(n,t)(e)},c(n,r))}(a,e,function(e){y("Event ["+a+"] Resolving after "+(Or()-r.tm)+" ms"),n(e)},t)):(y("Promise ["+a+"] Auto completed as the start action did not return a promise"),n())})}function g(e){var n=Or();return e.wTm=n-e.tm,e.tm=n,e.isAborted?Ar.reject(Error("["+i+"] was aborted")):(kr.push(e),f(e,t))}}})}var p=(Rr.incomplete=function(){return kr},Rr.waitingToStart=function(){return Mr},Rr),Dr=(_r.getFieldType=mr,_r);function _r(e){var l=this,o={},a=[],u=[];function s(e,n){var t=o[e];if(!(i=t?t[n]:i)&&null!==i){if(ve(e)&&ve(n))if(0<u.length){for(var r=0;r<u.length;r++)if(u[r].handleField(e,n)){i={canHandle:!0,fieldHandler:u[r]};break}}else 0===a.length&&(i={canHandle:!0});if(!i&&null!==i)for(var i=null,r=0;r<a.length;r++)if(a[r].handleField(e,n)){i={canHandle:!0,handler:a[r],fieldHandler:null};break}(t=t||(o[e]={}))[n]=i}return i}function c(e,n,t,r,i,o){if(e.handler)return e.handler.property(n,t,i,o);if(!ne(i.kind)){if(4096==(4096&r)||!vr(i.kind))return null;i.value=i.value.toString()}return function u(r,i,o,e,n){var t,a;return n&&r&&(t=r.getSanitizer(i,o,e,n.kind,n.propertyType))&&(4===e?(a={},le(n.value,function(e,n){var t;er(n)&&(t=f(0,0,n),(t=u(r,i+"."+o,e,mr(n),t))&&(a[e]=t.value))}),n.value=a):n=t.call(l,e={path:i,name:o,type:e,prop:n,sanitizer:l})),n}(e.fieldHandler,n,t,r,i)}function f(e,n,t){return er(t)?{value:t}:null}e&&u.push(e),l.addSanitizer=function(e){e&&(a.push(e),o={})},l.addFieldSanitizer=function(e){e&&(u.push(e),o={})},l.handleField=function(e,n){return!!(n=s(e,n))&&n.canHandle},l.value=function(e,n,t,r){var i=s(e,n);if(i&&i.canHandle){if(!i||!i.canHandle)return null;if(i.handler)return i.handler.value(e,n,t,r);if(!ve(n)||ne(t)||""===t)return null;var o=null,a=mr(t);if(8192==(8192&a)){var u=-8193&a;if(!er((o=t).value)||1!=u&&2!=u&&3!=u&&4096!=(4096&u))return null}else 1===a||2===a||3===a||4096==(4096&a)?o=f(0,0,t):4===a&&(o=f(0,0,r?JSON.stringify(t):t));if(o)return c(i,e,n,a,o,r)}return null},l.property=function(e,n,t,r){var i=s(e,n);if(!i||!i.canHandle)return null;if(!ve(n)||ne(t)||!er(t.value))return null;var o=mr(t.value);return 0===o?null:c(i,e,n,o,t,r)}}c.AppInsightsCore=e,c.BaseCore=Pr,c.BaseTelemetryPlugin=Fn,c.CoreUtils=Sr,c.DiagnosticLogger=bn,c.ESPromise=Ar,c.ESPromiseScheduler=p,c.EventHelper=Bt,c.EventLatency=Ht,c.EventPersistence={Normal:1,Critical:2},c.EventPropertyType=qt,c.EventsDiscardedReason=C,c.FullVersionString=Jt,c.InternalAppInsightsCore=Ct,c.InternalBaseCore=mt,c.MinChannelPriorty=100,c.NotificationManager=yt,c.PerfEvent=In,c.PerfManager=wn,c.ProcessTelemetryContext=Ln,c.TraceLevel={NONE:0,ERROR:1,WARNING:2,INFORMATION:3},c.Undefined=n,c.Utils=Cr,c.ValueKind=Kt,c.ValueSanitizer=Dr,c.Version=Gt,c._ExtendedInternalMessageId=Wt,c._InternalLogMessage=Cn,c._InternalMessageId=W,c.addEventHandler=Ot,c.addEventListeners=Rt,c.addPageHideEventListener=function Kr(t,e){var n=!1;return e&&-1!==Ce(e,Mt)||(n=Ot(Mt,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"hidden"===n.visibilityState&&t(e)})||n)&&e?Kr(t):n},c.addPageShowEventListener=function Hr(t,e){var n=!1;return e&&-1!==Ce(e,Ft)||(n=Ot(Ft,t)),!(n=(!e||-1===Ce(e,kt))&&Ot(kt,function(e){var n=Ye();t&&n&&"visible"===n.visibilityState&&t(e)})||n)&&e?Hr(t):n},c.addPageUnloadEventListener=Dt,c.areCookiesSupported=lt,c.arrForEach=ye,c.arrIndexOf=Ce,c.arrMap=Se,c.arrReduce=xe,c.attachEvent=ae,c.cookieAvailable=lt,c.createCookieMgr=ut,c.createGuid=fr,c.dateNow=Ee,c.deleteCookie=lr,c.detachEvent=ue,c.disableCookies=ar,c.disallowsSameSiteNone=dt,c.doPerf=En,c.dumpObj=dn,c.extend=gr,c.generateW3CId=Vt,c.getCommonSchemaMetaData=or,c.getConsole=on,c.getCookie=sr,c.getCookieValue=cr,c.getCrypto=sn,c.getDocument=Ye,c.getExceptionName=Ne,c.getFieldValueType=mr,c.getGlobal=g,c.getGlobalInst=Xe,c.getHistory=function(){return tn()?history:Xe("history")},c.getIEVersion=function(e){var n;return ce(e=((e=(e=void 0===e?null:e)?e:(n=nn()||{})?(n.userAgent||"").toLowerCase():"")||"").toLowerCase(),ze)?parseInt(e.split(ze)[1]):ce(e,Be)&&(e=parseInt(e.split(Be)[1]))?e+4:null},c.getISOString=me,c.getJSON=ln,c.getLocation=rn,c.getMsCrypto=cn,c.getNavigator=nn,c.getPerformance=an,c.getSetValue=Le,c.getTenantId=nr,c.getTime=dr,c.getWindow=Ze,c.hasDocument=$e,c.hasHistory=tn,c.hasJSON=un,c.hasNavigator=en,c.hasOwnProperty=re,c.hasWindow=Qe,c.isArray=ge,c.isArrayValid=pr,c.isBeaconsSupported=vn,c.isBoolean=he,c.isChromium=function(){return!!Xe("chrome")},c.isDate=fe,c.isDocumentObjectAvailable=$t,c.isError=de,c.isFetchSupported=function(e){var n=!1;try{var n=!!Xe("fetch"),t=Xe("Request");n&&e&&t&&(n=Je(t,"keepalive"))}catch(r){}return n},c.isFunction=oe,c.isIE=gn,c.isLatency=rr,c.isNotTruthy=ke,c.isNullOrUndefined=ne,c.isNumber=pe,c.isObject=ie,c.isReactNative=fn,c.isString=ve,c.isTruthy=Me,c.isTypeof=Y,c.isUint8ArrayAvailable=tr,c.isUndefined=ee,c.isValueAssigned=er,c.isValueKind=vr,c.isWindowObjectAvailable=Yt,c.isXhrSupported=hn,c.newGuid=_t,c.newId=Ut,c.normalizeJsName=function(e){var n=e,t=/([^\w\d_$])/g;return t.test(e)?e.replace(t,"_"):n},c.objCreate=v,c.objDefineAccessors=Pe,c.objForEachKey=le,c.objKeys=we,c.openXhr=function(e,n,t,r,i){function o(e,n,t){try{e[n]=t}catch(r){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var a=new XMLHttpRequest;return r&&o(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),t&&o(a,Xt,t),a.open(e,n,!i),t&&o(a,Xt,t),a},c.optimizeObject=function(e){return e&&t(r?r({},e):e)},c.perfNow=jt,c.proxyAssign=function(r,i,o){if(r&&i&&r!==i&&ie(r)&&ie(i))for(var e in i)!function(n){var e,t;ve(n)&&(oe(e=i[n])?o&&!o(n,!0,i,r)||(r[n]=(t=n,function(){return i[t].apply(i,arguments)})):o&&!o(n,!1,i,r)||(re(r,n)&&delete r[n],Pe(r,n,function(){return i[n]},function(e){i[n]=e})||(r[n]=e)))}(e);return r},c.random32=At,c.randomValue=Nt,c.safeGetCookieMgr=at,c.safeGetLogger=xn,c.sanitizeProperty=ir,c.setCookie=ur,c.setEnableEnvMocks=function(e){qe=e},c.setProcessTelemetryTimings=hr,c.setValue=Ae,c.strContains=ce,c.strEndsWith=se,c.strExtensionConfig=kn,c.strFunction=a,c.strIKey="iKey",c.strObject=u,c.strPrototype=f,c.strStartsWith=function(e,n){var t=!1;if(e&&n){var r=n.length;if(e===n)return!0;if(e.length>=r){for(var i=0;i<r;i++)if(e[i]!==n[i])return!1;t=!0}}return t},c.strTrim=be,c.strUndefined=n,c.throwError=Fe,c.toISOString=me,c.useXDomainRequest=pn,function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(i){}typeof t.value!==undefined&&(e[n]=t.value)}(c,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).oneDS=e.oneDS||{});
//# sourceMappingURL=ms.core.min.js.map
/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

import { IEventProperty } from "./DataModels";
import { GuidStyle, FieldValueSanitizerType, EventLatency } from "./Enums";
import { ITelemetryItem, objForEachKey, isNumber, isReactNative, isString, isBoolean, isArray, isObject, perfNow, addEventHandler, uaDisallowsSameSiteNone, objDefineAccessors, toISOString, strTrim, isFunction, objKeys, arrReduce, arrMap, arrIndexOf, arrForEach, areCookiesSupported, ICookieMgr, ICoreUtils, strEndsWith, useXDomainRequest, isBeaconsSupported, addPageUnloadEventListener } from "@microsoft/applicationinsights-core-js";
export declare const Version = "3.1.8";
export declare const Version = "3.1.9";
export declare const FullVersionString: string;

@@ -6,0 +6,0 @@ /**

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -16,3 +16,3 @@ * (Microsoft Internal Only)

import { getDocument, getNavigator, getWindow, getGlobalInst, objForEachKey, isUndefined, isNullOrUndefined, isNumber, isReactNative, isString, isBoolean, isArray, newGuid, isObject, perfNow, hasOwnProperty, addEventHandler, uaDisallowsSameSiteNone, strPrototype, objDefineAccessors, toISOString, strTrim, isFunction, objKeys, arrReduce, arrMap, arrIndexOf, arrForEach, strUndefined, strObject, areCookiesSupported, safeGetCookieMgr, generateW3CId, mwcRandom32, mwcRandomSeed, random32, randomValue, newId, isIE, dateNow, isError, isDate, isTypeof, strEndsWith, useXDomainRequest, isBeaconsSupported, addPageUnloadEventListener, } from "@microsoft/applicationinsights-core-js";
export var Version = '3.1.8';
export var Version = '3.1.9';
export var FullVersionString = "1DS-Web-JS-" + Version;

@@ -19,0 +19,0 @@ // Defining here so we don't need to take (import) the ApplicationInsights Common module

/*
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -4,0 +4,0 @@ * (Microsoft Internal Only)

/*!
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -64,3 +64,3 @@ * (Microsoft Internal Only)

var _a;
var Version = '3.1.8';
var Version = '3.1.9';
var FullVersionString = "1DS-Web-JS-" + Version;

@@ -67,0 +67,0 @@ var strDisabledPropertyName = "Microsoft_ApplicationInsights_BypassAjaxInstrumentation";

/*!
* 1DS JS SDK Core, 3.1.8
* 1DS JS SDK Core, 3.1.9
* Copyright (c) Microsoft and contributors. All rights reserved.
* (Microsoft Internal Only)
*/
var e=this,n=function(e,r,f,n){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}var o=t(n),i={NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32},a={Normal:1,CostDeferred:2,RealTime:3,Immediate:4},s={Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9},u=r.__assignFn(r.__assignFn({},f._InternalMessageId),{AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}),l="3.1.8",d="1DS-Web-JS-"+l,c="withCredentials",g=((ee={})[0]=s.Unspecified,ee[2]=s.Double,ee[1]=s.String,ee[3]=s.Bool,ee[4098]=s.Double,ee[4097]=s.String,ee[4099]=s.Bool,ee),p=null,m=!!f.getDocument(),v=!!f.getWindow();function h(e){return!(""===e||f.isNullOrUndefined(e))}function S(e){if(e){var n=e.indexOf("-");if(-1<n)return e.substring(0,n)}return""}function y(){return p=null===p?!(f.isUndefined(Uint8Array)||(e=f.getNavigator(),!f.isUndefined(e)&&e.userAgent&&(~(e=e.userAgent.toLowerCase()).indexOf("safari")||~e.indexOf("firefox"))&&!~e.indexOf("chrome"))||f.isReactNative()):p;var e}function b(e){return!!(e&&f.isNumber(e)&&a.Normal<=e&&e<=a.Immediate)}function C(e,n,t){if(!n&&!h(n)||"string"!=typeof e)return null;if("string"==(e=typeof n)||"number"==e||"boolean"==e||f.isArray(n))n={value:n};else if("object"!=e||n.hasOwnProperty("value")){if(f.isNullOrUndefined(n.value)||""===n.value||!f.isString(n.value)&&!f.isNumber(n.value)&&!f.isBoolean(n.value)&&!f.isArray(n.value))return null}else n={value:t?JSON.stringify(n):n};if(f.isArray(n.value)&&!D(n.value))return null;if(!f.isNullOrUndefined(n.kind)){if(f.isArray(n.value)||!F(n.kind))return null;n.value=n.value.toString()}return n}function I(e,n,t){var r=-1;return f.isUndefined(e)||(0<n&&(32===n?r=8192:n<=13&&(r=n<<5)),0<=t&&t<=9?(-1===r&&(r=0),r|=t):(e=g[U(e)]||-1,-1!==r&&-1!==e?r|=e:e===s.Double&&(r=e))),r}function E(){f.safeGetCookieMgr(null).setEnabled(!1)}function P(e,n,t){f.areCookiesSupported(null)&&f.safeGetCookieMgr(null).set(e,n,86400*t,null,"/")}function w(e){f.areCookiesSupported(null)&&f.safeGetCookieMgr(null).del(e)}function O(e){return f.areCookiesSupported(null)?N(f.safeGetCookieMgr(null),e):""}function N(e,n,t){var r;return void 0===t&&(t=!0),e&&(r=e.get(n),t&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function A(e){void 0===e&&(e="D");var n=f.newGuid();return"B"===e?n="{"+n+"}":"P"===e?n="("+n+")":"N"===e&&(n=n.replace(/-/g,"")),n}function T(e,n,t,r,i){var o={},a=!1,s=0,l=arguments.length,u=Object[f.strPrototype],d=arguments;for("[object Boolean]"===u.toString.call(d[0])&&(a=d[0],s++);s<l;s++)f.objForEachKey(d[s],function(t,e){a&&e&&f.isObject(e)?f.isArray(e)?(o[t]=o[t]||[],f.arrForEach(e,function(e,n){e&&f.isObject(e)?o[t][n]=T(!0,o[t][n],e):o[t][n]=e})):o[t]=T(!0,o[t],e):o[t]=e});return o}var j=f.perfNow;function F(e){return e===i.NotSet||e>i.NotSet&&e<=i.Pii_IPV4AddressLegacy||e===i.CustomerContent_GenericContent}function D(e){return 0<e.length}function k(e,n){e.timings=e.timings||{},e.timings.processTelemetryStart=e.timings.processTelemetryStart||{},e.timings.processTelemetryStart[n]=j()}function U(e){var n,t=0;return null!==e&&e!==undefined&&("string"==(n=typeof e)?t=1:"number"==n?t=2:"boolean"==n?t=3:n===r.strShimObject&&(t=4,f.isArray(e)?(t=4096,0<e.length&&(t|=U(e[0]))):f.hasOwnProperty(e,"value")&&(t=8192|U(e.value)))),t}var L,R={Version:l,FullVersionString:d,strUndefined:f.strUndefined,strObject:f.strObject,Undefined:f.strUndefined,arrForEach:f.arrForEach,arrIndexOf:f.arrIndexOf,arrMap:f.arrMap,arrReduce:f.arrReduce,objKeys:f.objKeys,toISOString:f.toISOString,isReactNative:f.isReactNative,isString:f.isString,isNumber:f.isNumber,isBoolean:f.isBoolean,isFunction:f.isFunction,isArray:f.isArray,isObject:f.isObject,strTrim:f.strTrim,isDocumentObjectAvailable:m,isWindowObjectAvailable:v,isValueAssigned:h,getTenantId:S,isBeaconsSupported:f.isBeaconsSupported,isUint8ArrayAvailable:y,isLatency:b,sanitizeProperty:C,getISOString:f.toISOString,useXDomainRequest:f.useXDomainRequest,getCommonSchemaMetaData:I,cookieAvailable:f.areCookiesSupported,disallowsSameSiteNone:f.uaDisallowsSameSiteNone,setCookie:P,deleteCookie:w,getCookie:O,createGuid:A,extend:T,getTime:j,isValueKind:F,isArrayValid:D,objDefineAccessors:f.objDefineAccessors,addPageUnloadEventListener:f.addPageUnloadEventListener,setProcessTelemetryTimings:k,addEventHandler:f.addEventHandler,getFieldValueType:U,strEndsWith:f.strEndsWith,objForEachKey:f.objForEachKey},V={_canUseCookies:undefined,isTypeof:f.isTypeof,isUndefined:f.isUndefined,isNullOrUndefined:f.isNullOrUndefined,hasOwnProperty:f.hasOwnProperty,isFunction:f.isFunction,isObject:f.isObject,isDate:f.isDate,isArray:f.isArray,isError:f.isError,isString:f.isString,isNumber:f.isNumber,isBoolean:f.isBoolean,toISOString:f.toISOString,arrForEach:f.arrForEach,arrIndexOf:f.arrIndexOf,arrMap:f.arrMap,arrReduce:f.arrReduce,strTrim:f.strTrim,objCreate:r.objCreateFn,objKeys:f.objKeys,objDefineAccessors:f.objDefineAccessors,addEventHandler:f.addEventHandler,dateNow:f.dateNow,isIE:f.isIE,disableCookies:E,newGuid:f.newGuid,perfNow:f.perfNow,newId:f.newId,randomValue:f.randomValue,random32:f.random32,mwcRandomSeed:f.mwcRandomSeed,mwcRandom32:f.mwcRandom32,generateW3CId:f.generateW3CId},M="version",x="properties",_=(L=f.AppInsightsCore,r.__extendsFn(B,L),B);function B(){var e=L.call(this)||this;return e.pluginVersionStringArr=[],e.pluginVersionString="",o(B,e,function(s,l){s.logger&&s.logger.queue||(s.logger=new f.DiagnosticLogger({loggingLevelConsole:f.LoggingSeverity.CRITICAL})),s.initialize=function(r,i,o,a){f.doPerf(s,function(){return"AppInsightsCore.initialize"},function(){if(r){if(r.endpointUrl||(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),(e=r.propertyStorageOverride)&&(!e.getProperty||!e.setProperty))throw Error("Invalid property storage override passed.");r.channels&&f.arrForEach(r.channels,function(e){e&&f.arrForEach(e,function(e){e.identifier&&e.version&&(e=e.identifier+"="+e.version,s.pluginVersionStringArr.push(e))})})}s.getWParam=function(){return"undefined"!=typeof document?0:-1},i&&f.arrForEach(i,function(e){e&&e.identifier&&e.version&&(e=e.identifier+"="+e.version,s.pluginVersionStringArr.push(e))}),s.pluginVersionString=s.pluginVersionStringArr.join(";");try{l.initialize(r,i,o,a),s.pollInternalLogs("InternalLog")}catch(t){var e,n=s.logger;~(e=f.dumpObj(t)).indexOf("channels")&&(e+="\n - Channels must be provided through config.channels only!"),n.throwInternal(f.LoggingSeverity.CRITICAL,u.FailedToInitializeSDK,"SDK Initialization Failed - no telemetry will be sent: "+e)}},function(){return{config:r,extensions:i,logger:o,notificationManager:a}})},s.track=function(t){f.doPerf(s,function(){return"AppInsightsCore.track"},function(){var e,n=t;n&&(n.timings=n.timings||{},n.timings.trackStart=j(),b(n.latency)||(n.latency=a.Normal),(e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=d,(e=n.baseData=n.baseData||{})[x]||(e[x]={}),(e=e[x])[M]||(e[M]=""),""!==s.pluginVersionString&&(e[M]=s.pluginVersionString)),l.track(n)},function(){return{item:t}},!t.sync)}}),e}var G,H=(G=f.BaseCore,r.__extendsFn(z,G),z);function z(){var e=G.call(this)||this;return o(z,e,function(o,a){o.initialize=function(e,n,t,r){e&&!e.endpointUrl&&(e.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),o.getWParam=function(){return m?0:-1};try{a.initialize(e,n,t,r)}catch(i){o.logger.throwInternal(f.LoggingSeverity.CRITICAL,u.FailedToInitializeSDK,"Initialization Failed: "+f.dumpObj(i)+"\n - Note: Channels must be provided through config.channels only")}},o.track=function(e){var n=e;n&&((e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=d),a.track(n)}}),e}var K=f.isFunction,W=(q.resolve=function(r){return r instanceof q?r:r&&K(r.then)?new q(function(e,n){try{r.then(e,n)}catch(t){n(t)}}):new q(function(e){e(r)})},q.reject=function(t){return new q(function(e,n){n(t)})},q.all=function(s){if(s&&s.length)return new q(function(r,e){try{for(var i=[],o=0,n=0;n<s.length;n++){var t=s[n];t&&K(t.then)?(o++,t.then(function(n,t){return function(e){n[t]=e,0==--o&&r(i)}}(i,n),e)):i[n]=t}0===o&&setTimeout(function(){r(i)},0)}catch(a){e(a)}})},q.race=function(i){return new q(function(n,t){if(i&&i.length)try{for(var r=0;r<i.length;r++)!function(){var e=i[r];e&&K(e.then)?e.then(n,t):setTimeout(function(){n(e)},0)}()}catch(e){t(e)}})},q);function q(n){var a=0,s=null,e=[];function i(t,r,i,o){e.push(function(){var e;try{(e=1===a?K(t)?t(s):s:K(r)?r(s):s)instanceof q?e.then(i,o):(2!==a||K(r)?i:o)(e)}catch(n){return void o(n)}}),0!==a&&l()}function l(){var r;0<e.length&&(r=e.slice(),e=[],setTimeout(function(){for(var e=0,n=r.length;e<n;++e)try{r[e]()}catch(t){}},0))}function t(e){0===a&&(s=e,a=1,l())}function r(e){0===a&&(s=e,a=2,l())}o(q,this,function(n){n.then=function(t,r){return new q(function(e,n){i(t,r,e,n)})},n["catch"]=function(e){return n.then(null,e)}}),function(){if(!K(n))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{n(t,r)}catch(e){r(e)}}()}var J=0,X=[],Q=[],Z=[];function Y(){return(new Date).getTime()}function $(e,n){var v=0,h=(e||"<unnamed>")+"."+J;function S(e){var n=f.getGlobal();n&&n.QUnit&&console&&console.log("ESPromiseScheduler["+h+"] "+e)}function y(e){n&&n.warnToConsole("ESPromiseScheduler["+h+"] "+e)}J++,o($,this,function(e){var g=null,p=0;function m(e,n){for(var t=0;t<e.length;t++)if(e[t].id===n)return e.splice(t,1)[0];return null}e.scheduleEvent=function(t,e,s){var i=h+"."+p;p++,e&&(i+="-("+e+")");var o,a,n,r=i+"{"+v+"}";return v++,(e={evt:null,tm:Y(),id:r,isRunning:!1,isAborted:!1}).evt=g?(o=e,a=g,n=new W(function(n,t){var e=Y()-a.tm,r=a.id;S("["+i+"] is waiting for ["+r+":"+e+" ms] to complete before starting -- ["+Q.length+"] waiting and ["+X.length+"] running"),o.abort=function(e){o.abort=null,m(Q,i),o.isAborted=!0,t(Error(e))},a.evt.then(function(e){m(Q,i),f(o).then(n,t)},function(e){m(Q,i),f(o).then(n,t)})}),Q.push(o),n):f(e),(g=e).evt._schId=r,e.evt;function l(e){for(var n=Y(),t=n-6e5,r=e.length,i=0;i<r;){var o,a=e[i];a&&a.tm<t?(o=null,a.abort?(o="Aborting ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",a.abort(o)):o="Removing ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",y(o),e.splice(i,1),r--):i++}}function u(e,n){var t,r=!1,i=m(X,e);i||(i=m(Z,e),r=!0),i?(i.to&&(clearTimeout(i.to),i.to=null),t=Y()-i.tm,n?r?y("Timed out event ["+e+"] finally complete -- "+t+" ms"):S("Promise ["+e+"] Complete -- "+t+" ms"):(Z.push(i),y("Event ["+e+"] Timed out and removed -- "+t+" ms"))):S("Failed to remove ["+e+"] from running queue"),g&&g.id===e&&(g=null),l(X),l(Q),l(Z)}function d(n,t){return function(e){return u(n,!0),t&&t(e),e}}function c(r,o){var a=r.id;return new W(function(n,t){S("Event ["+a+"] Starting -- waited for "+(r.wTm||"--")+" ms"),r.isRunning=!0,r.abort=function(e){r.abort=null,r.isAborted=!0,u(a,!1),t(Error(e))};var e=o(a);e instanceof W?(s&&(r.to=setTimeout(function(){u(a,!1),t(Error("Timed out after ["+s+"] ms"))},s)),function i(n,e,t,r){e.then(function(e){return e instanceof W?(S("Event ["+n+"] returned a promise -- waiting"),i(n,e,t,r),e):d(n,t)(e)},d(n,r))}(a,e,function(e){S("Event ["+a+"] Resolving after "+(Y()-r.tm)+" ms"),n(e)},t)):(S("Promise ["+a+"] Auto completed as the start action did not return a promise"),n())})}function f(e){var n=Y();return e.wTm=n-e.tm,e.tm=n,e.isAborted?W.reject(Error("["+i+"] was aborted")):(X.push(e),c(e,t))}}})}$.incomplete=function(){return X},$.waitingToStart=function(){return Q},n=$;var ee=(ne.getFieldType=U,ne);function ne(e){var u=this,o={},a=[],s=[];function l(e,n){var t=o[e];if(!(i=t?t[n]:i)&&null!==i){if(f.isString(e)&&f.isString(n))if(0<s.length){for(var r=0;r<s.length;r++)if(s[r].handleField(e,n)){i={canHandle:!0,fieldHandler:s[r]};break}}else 0===a.length&&(i={canHandle:!0});if(!i&&null!==i)for(var i=null,r=0;r<a.length;r++)if(a[r].handleField(e,n)){i={canHandle:!0,handler:a[r],fieldHandler:null};break}(t=t||(o[e]={}))[n]=i}return i}function d(e,n,t,r,i,o){if(e.handler)return e.handler.property(n,t,i,o);if(!f.isNullOrUndefined(i.kind)){if(4096==(4096&r)||!F(i.kind))return null;i.value=i.value.toString()}return function l(i,o,a,e,n){var t,s,r;return n&&i&&(t=i.getSanitizer(o,a,e,n.kind,n.propertyType))&&(4===e?(s={},r=n.value,f.objForEachKey(r,function(e,n){var t,r=o+"."+a;h(n)&&(t=c(0,0,n),(t=l(i,r,e,U(n),t))&&(s[e]=t.value))}),n.value=s):n=t.call(u,e={path:o,name:a,type:e,prop:n,sanitizer:u})),n}(e.fieldHandler,n,t,r,i)}function c(e,n,t){return h(t)?{value:t}:null}e&&s.push(e),u.addSanitizer=function(e){e&&(a.push(e),o={})},u.addFieldSanitizer=function(e){e&&(s.push(e),o={})},u.handleField=function(e,n){return!!(n=l(e,n))&&n.canHandle},u.value=function(e,n,t,r){var i=l(e,n);if(i&&i.canHandle){if(!i||!i.canHandle)return null;if(i.handler)return i.handler.value(e,n,t,r);if(!f.isString(n)||f.isNullOrUndefined(t)||""===t)return null;var o=null,a=U(t);if(8192==(8192&a)){var s=-8193&a;if(!h((o=t).value)||1!=s&&2!=s&&3!=s&&4096!=(4096&s))return null}else 1===a||2===a||3===a||4096==(4096&a)?o=c(0,0,t):4===a&&(o=c(0,0,r?JSON.stringify(t):t));if(o)return d(i,e,n,a,o,r)}return null},u.property=function(e,n,t,r){var i=l(e,n);if(!i||!i.canHandle)return null;if(!f.isString(n)||f.isNullOrUndefined(t)||!h(t.value))return null;var o=U(t.value);return 0===o?null:d(i,e,n,o,t,r)}}e.BaseTelemetryPlugin=f.BaseTelemetryPlugin,e.DiagnosticLogger=f.DiagnosticLogger,e.EventHelper=f.EventHelper,e.EventsDiscardedReason=f.EventsDiscardedReason,e.InternalAppInsightsCore=f.AppInsightsCore,e.InternalBaseCore=f.BaseCore,e.LoggingSeverity=f.LoggingSeverity,e.MinChannelPriorty=f.MinChannelPriorty,e.NotificationManager=f.NotificationManager,e.PerfEvent=f.PerfEvent,e.PerfManager=f.PerfManager,e.ProcessTelemetryContext=f.ProcessTelemetryContext,e.Undefined=f.strUndefined,e._InternalLogMessage=f._InternalLogMessage,e._InternalMessageId=f._InternalMessageId,e.addEventHandler=f.addEventHandler,e.addEventListeners=f.addEventListeners,e.addPageHideEventListener=f.addPageHideEventListener,e.addPageShowEventListener=f.addPageShowEventListener,e.addPageUnloadEventListener=f.addPageUnloadEventListener,e.areCookiesSupported=f.areCookiesSupported,e.arrForEach=f.arrForEach,e.arrIndexOf=f.arrIndexOf,e.arrMap=f.arrMap,e.arrReduce=f.arrReduce,e.attachEvent=f.attachEvent,e.cookieAvailable=f.areCookiesSupported,e.createCookieMgr=f.createCookieMgr,e.dateNow=f.dateNow,e.detachEvent=f.detachEvent,e.disallowsSameSiteNone=f.uaDisallowsSameSiteNone,e.doPerf=f.doPerf,e.dumpObj=f.dumpObj,e.generateW3CId=f.generateW3CId,e.getConsole=f.getConsole,e.getCrypto=f.getCrypto,e.getDocument=f.getDocument,e.getExceptionName=f.getExceptionName,e.getGlobal=f.getGlobal,e.getGlobalInst=f.getGlobalInst,e.getHistory=f.getHistory,e.getIEVersion=f.getIEVersion,e.getISOString=f.toISOString,e.getJSON=f.getJSON,e.getLocation=f.getLocation,e.getMsCrypto=f.getMsCrypto,e.getNavigator=f.getNavigator,e.getPerformance=f.getPerformance,e.getSetValue=f.getSetValue,e.getWindow=f.getWindow,e.hasDocument=f.hasDocument,e.hasHistory=f.hasHistory,e.hasJSON=f.hasJSON,e.hasNavigator=f.hasNavigator,e.hasOwnProperty=f.hasOwnProperty,e.hasWindow=f.hasWindow,e.isArray=f.isArray,e.isBeaconsSupported=f.isBeaconsSupported,e.isBoolean=f.isBoolean,e.isDate=f.isDate,e.isError=f.isError,e.isFetchSupported=f.isFetchSupported,e.isFunction=f.isFunction,e.isIE=f.isIE,e.isNotTruthy=f.isNotTruthy,e.isNullOrUndefined=f.isNullOrUndefined,e.isNumber=f.isNumber,e.isObject=f.isObject,e.isReactNative=f.isReactNative,e.isString=f.isString,e.isTruthy=f.isTruthy,e.isTypeof=f.isTypeof,e.isUndefined=f.isUndefined,e.isXhrSupported=f.isXhrSupported,e.newGuid=f.newGuid,e.newId=f.newId,e.normalizeJsName=f.normalizeJsName,e.objCreate=f.objCreate,e.objDefineAccessors=f.objDefineAccessors,e.objForEachKey=f.objForEachKey,e.objKeys=f.objKeys,e.optimizeObject=f.optimizeObject,e.perfNow=f.perfNow,e.proxyAssign=f.proxyAssign,e.random32=f.random32,e.randomValue=f.randomValue,e.safeGetCookieMgr=f.safeGetCookieMgr,e.safeGetLogger=f.safeGetLogger,e.setEnableEnvMocks=f.setEnableEnvMocks,e.setValue=f.setValue,e.strContains=f.strContains,e.strEndsWith=f.strEndsWith,e.strExtensionConfig=f.strExtensionConfig,e.strFunction=f.strFunction,e.strIKey=f.strIKey,e.strObject=f.strObject,e.strPrototype=f.strPrototype,e.strStartsWith=f.strStartsWith,e.strTrim=f.strTrim,e.strUndefined=f.strUndefined,e.throwError=f.throwError,e.toISOString=f.toISOString,e.useXDomainRequest=f.useXDomainRequest,e.AppInsightsCore=_,e.BaseCore=H,e.CoreUtils=V,e.ESPromise=W,e.ESPromiseScheduler=n,e.EventLatency=a,e.EventPersistence={Normal:1,Critical:2},e.EventPropertyType=s,e.FullVersionString=d,e.TraceLevel={NONE:0,ERROR:1,WARNING:2,INFORMATION:3},e.Utils=R,e.ValueKind=i,e.ValueSanitizer=ee,e.Version=l,e._ExtendedInternalMessageId=u,e.createGuid=A,e.deleteCookie=w,e.disableCookies=E,e.extend=T,e.getCommonSchemaMetaData=I,e.getCookie=O,e.getCookieValue=N,e.getFieldValueType=U,e.getTenantId=S,e.getTime=j,e.isArrayValid=D,e.isChromium=function(){return!!f.getGlobalInst("chrome")},e.isDocumentObjectAvailable=m,e.isLatency=b,e.isUint8ArrayAvailable=y,e.isValueAssigned=h,e.isValueKind=F,e.isWindowObjectAvailable=v,e.openXhr=function(e,n,t,r,i){function o(e,n,t){try{e[n]=t}catch(r){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var a=new XMLHttpRequest;return r&&o(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),t&&o(a,c,t),a.open(e,n,!i),t&&o(a,c,t),a},e.sanitizeProperty=C,e.setCookie=P,e.setProcessTelemetryTimings=k,function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(i){}typeof t.value!==undefined&&(e[n]=t.value)}(e,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@microsoft/applicationinsights-shims"),require("@microsoft/applicationinsights-core-js"),require("@microsoft/dynamicproto-js")):"function"==typeof define&&define.amd?define(["exports","@microsoft/applicationinsights-shims","@microsoft/applicationinsights-core-js","@microsoft/dynamicproto-js"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).oneDS=e.oneDS||{},e.applicationinsightsShims,e.applicationinsightsCoreJs,e.dynamicProto);
var e=this,n=function(e,r,f,n){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}var o=t(n),i={NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32},a={Normal:1,CostDeferred:2,RealTime:3,Immediate:4},s={Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9},u=r.__assignFn(r.__assignFn({},f._InternalMessageId),{AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}),l="3.1.9",d="1DS-Web-JS-"+l,c="withCredentials",g=((ee={})[0]=s.Unspecified,ee[2]=s.Double,ee[1]=s.String,ee[3]=s.Bool,ee[4098]=s.Double,ee[4097]=s.String,ee[4099]=s.Bool,ee),p=null,m=!!f.getDocument(),v=!!f.getWindow();function h(e){return!(""===e||f.isNullOrUndefined(e))}function S(e){if(e){var n=e.indexOf("-");if(-1<n)return e.substring(0,n)}return""}function y(){return p=null===p?!(f.isUndefined(Uint8Array)||(e=f.getNavigator(),!f.isUndefined(e)&&e.userAgent&&(~(e=e.userAgent.toLowerCase()).indexOf("safari")||~e.indexOf("firefox"))&&!~e.indexOf("chrome"))||f.isReactNative()):p;var e}function b(e){return!!(e&&f.isNumber(e)&&a.Normal<=e&&e<=a.Immediate)}function C(e,n,t){if(!n&&!h(n)||"string"!=typeof e)return null;if("string"==(e=typeof n)||"number"==e||"boolean"==e||f.isArray(n))n={value:n};else if("object"!=e||n.hasOwnProperty("value")){if(f.isNullOrUndefined(n.value)||""===n.value||!f.isString(n.value)&&!f.isNumber(n.value)&&!f.isBoolean(n.value)&&!f.isArray(n.value))return null}else n={value:t?JSON.stringify(n):n};if(f.isArray(n.value)&&!D(n.value))return null;if(!f.isNullOrUndefined(n.kind)){if(f.isArray(n.value)||!F(n.kind))return null;n.value=n.value.toString()}return n}function I(e,n,t){var r=-1;return f.isUndefined(e)||(0<n&&(32===n?r=8192:n<=13&&(r=n<<5)),0<=t&&t<=9?(-1===r&&(r=0),r|=t):(e=g[U(e)]||-1,-1!==r&&-1!==e?r|=e:e===s.Double&&(r=e))),r}function E(){f.safeGetCookieMgr(null).setEnabled(!1)}function P(e,n,t){f.areCookiesSupported(null)&&f.safeGetCookieMgr(null).set(e,n,86400*t,null,"/")}function w(e){f.areCookiesSupported(null)&&f.safeGetCookieMgr(null).del(e)}function O(e){return f.areCookiesSupported(null)?N(f.safeGetCookieMgr(null),e):""}function N(e,n,t){var r;return void 0===t&&(t=!0),e&&(r=e.get(n),t&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function A(e){void 0===e&&(e="D");var n=f.newGuid();return"B"===e?n="{"+n+"}":"P"===e?n="("+n+")":"N"===e&&(n=n.replace(/-/g,"")),n}function T(e,n,t,r,i){var o={},a=!1,s=0,l=arguments.length,u=Object[f.strPrototype],d=arguments;for("[object Boolean]"===u.toString.call(d[0])&&(a=d[0],s++);s<l;s++)f.objForEachKey(d[s],function(t,e){a&&e&&f.isObject(e)?f.isArray(e)?(o[t]=o[t]||[],f.arrForEach(e,function(e,n){e&&f.isObject(e)?o[t][n]=T(!0,o[t][n],e):o[t][n]=e})):o[t]=T(!0,o[t],e):o[t]=e});return o}var j=f.perfNow;function F(e){return e===i.NotSet||e>i.NotSet&&e<=i.Pii_IPV4AddressLegacy||e===i.CustomerContent_GenericContent}function D(e){return 0<e.length}function k(e,n){e.timings=e.timings||{},e.timings.processTelemetryStart=e.timings.processTelemetryStart||{},e.timings.processTelemetryStart[n]=j()}function U(e){var n,t=0;return null!==e&&e!==undefined&&("string"==(n=typeof e)?t=1:"number"==n?t=2:"boolean"==n?t=3:n===r.strShimObject&&(t=4,f.isArray(e)?(t=4096,0<e.length&&(t|=U(e[0]))):f.hasOwnProperty(e,"value")&&(t=8192|U(e.value)))),t}var L,R={Version:l,FullVersionString:d,strUndefined:f.strUndefined,strObject:f.strObject,Undefined:f.strUndefined,arrForEach:f.arrForEach,arrIndexOf:f.arrIndexOf,arrMap:f.arrMap,arrReduce:f.arrReduce,objKeys:f.objKeys,toISOString:f.toISOString,isReactNative:f.isReactNative,isString:f.isString,isNumber:f.isNumber,isBoolean:f.isBoolean,isFunction:f.isFunction,isArray:f.isArray,isObject:f.isObject,strTrim:f.strTrim,isDocumentObjectAvailable:m,isWindowObjectAvailable:v,isValueAssigned:h,getTenantId:S,isBeaconsSupported:f.isBeaconsSupported,isUint8ArrayAvailable:y,isLatency:b,sanitizeProperty:C,getISOString:f.toISOString,useXDomainRequest:f.useXDomainRequest,getCommonSchemaMetaData:I,cookieAvailable:f.areCookiesSupported,disallowsSameSiteNone:f.uaDisallowsSameSiteNone,setCookie:P,deleteCookie:w,getCookie:O,createGuid:A,extend:T,getTime:j,isValueKind:F,isArrayValid:D,objDefineAccessors:f.objDefineAccessors,addPageUnloadEventListener:f.addPageUnloadEventListener,setProcessTelemetryTimings:k,addEventHandler:f.addEventHandler,getFieldValueType:U,strEndsWith:f.strEndsWith,objForEachKey:f.objForEachKey},V={_canUseCookies:undefined,isTypeof:f.isTypeof,isUndefined:f.isUndefined,isNullOrUndefined:f.isNullOrUndefined,hasOwnProperty:f.hasOwnProperty,isFunction:f.isFunction,isObject:f.isObject,isDate:f.isDate,isArray:f.isArray,isError:f.isError,isString:f.isString,isNumber:f.isNumber,isBoolean:f.isBoolean,toISOString:f.toISOString,arrForEach:f.arrForEach,arrIndexOf:f.arrIndexOf,arrMap:f.arrMap,arrReduce:f.arrReduce,strTrim:f.strTrim,objCreate:r.objCreateFn,objKeys:f.objKeys,objDefineAccessors:f.objDefineAccessors,addEventHandler:f.addEventHandler,dateNow:f.dateNow,isIE:f.isIE,disableCookies:E,newGuid:f.newGuid,perfNow:f.perfNow,newId:f.newId,randomValue:f.randomValue,random32:f.random32,mwcRandomSeed:f.mwcRandomSeed,mwcRandom32:f.mwcRandom32,generateW3CId:f.generateW3CId},M="version",x="properties",_=(L=f.AppInsightsCore,r.__extendsFn(B,L),B);function B(){var e=L.call(this)||this;return e.pluginVersionStringArr=[],e.pluginVersionString="",o(B,e,function(s,l){s.logger&&s.logger.queue||(s.logger=new f.DiagnosticLogger({loggingLevelConsole:f.LoggingSeverity.CRITICAL})),s.initialize=function(r,i,o,a){f.doPerf(s,function(){return"AppInsightsCore.initialize"},function(){if(r){if(r.endpointUrl||(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),(e=r.propertyStorageOverride)&&(!e.getProperty||!e.setProperty))throw Error("Invalid property storage override passed.");r.channels&&f.arrForEach(r.channels,function(e){e&&f.arrForEach(e,function(e){e.identifier&&e.version&&(e=e.identifier+"="+e.version,s.pluginVersionStringArr.push(e))})})}s.getWParam=function(){return"undefined"!=typeof document?0:-1},i&&f.arrForEach(i,function(e){e&&e.identifier&&e.version&&(e=e.identifier+"="+e.version,s.pluginVersionStringArr.push(e))}),s.pluginVersionString=s.pluginVersionStringArr.join(";");try{l.initialize(r,i,o,a),s.pollInternalLogs("InternalLog")}catch(t){var e,n=s.logger;~(e=f.dumpObj(t)).indexOf("channels")&&(e+="\n - Channels must be provided through config.channels only!"),n.throwInternal(f.LoggingSeverity.CRITICAL,u.FailedToInitializeSDK,"SDK Initialization Failed - no telemetry will be sent: "+e)}},function(){return{config:r,extensions:i,logger:o,notificationManager:a}})},s.track=function(t){f.doPerf(s,function(){return"AppInsightsCore.track"},function(){var e,n=t;n&&(n.timings=n.timings||{},n.timings.trackStart=j(),b(n.latency)||(n.latency=a.Normal),(e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=d,(e=n.baseData=n.baseData||{})[x]||(e[x]={}),(e=e[x])[M]||(e[M]=""),""!==s.pluginVersionString&&(e[M]=s.pluginVersionString)),l.track(n)},function(){return{item:t}},!t.sync)}}),e}var G,H=(G=f.BaseCore,r.__extendsFn(z,G),z);function z(){var e=G.call(this)||this;return o(z,e,function(o,a){o.initialize=function(e,n,t,r){e&&!e.endpointUrl&&(e.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),o.getWParam=function(){return m?0:-1};try{a.initialize(e,n,t,r)}catch(i){o.logger.throwInternal(f.LoggingSeverity.CRITICAL,u.FailedToInitializeSDK,"Initialization Failed: "+f.dumpObj(i)+"\n - Note: Channels must be provided through config.channels only")}},o.track=function(e){var n=e;n&&((e=n.ext=n.ext||{}).sdk=e.sdk||{},e.sdk.ver=d),a.track(n)}}),e}var K=f.isFunction,W=(q.resolve=function(r){return r instanceof q?r:r&&K(r.then)?new q(function(e,n){try{r.then(e,n)}catch(t){n(t)}}):new q(function(e){e(r)})},q.reject=function(t){return new q(function(e,n){n(t)})},q.all=function(s){if(s&&s.length)return new q(function(r,e){try{for(var i=[],o=0,n=0;n<s.length;n++){var t=s[n];t&&K(t.then)?(o++,t.then(function(n,t){return function(e){n[t]=e,0==--o&&r(i)}}(i,n),e)):i[n]=t}0===o&&setTimeout(function(){r(i)},0)}catch(a){e(a)}})},q.race=function(i){return new q(function(n,t){if(i&&i.length)try{for(var r=0;r<i.length;r++)!function(){var e=i[r];e&&K(e.then)?e.then(n,t):setTimeout(function(){n(e)},0)}()}catch(e){t(e)}})},q);function q(n){var a=0,s=null,e=[];function i(t,r,i,o){e.push(function(){var e;try{(e=1===a?K(t)?t(s):s:K(r)?r(s):s)instanceof q?e.then(i,o):(2!==a||K(r)?i:o)(e)}catch(n){return void o(n)}}),0!==a&&l()}function l(){var r;0<e.length&&(r=e.slice(),e=[],setTimeout(function(){for(var e=0,n=r.length;e<n;++e)try{r[e]()}catch(t){}},0))}function t(e){0===a&&(s=e,a=1,l())}function r(e){0===a&&(s=e,a=2,l())}o(q,this,function(n){n.then=function(t,r){return new q(function(e,n){i(t,r,e,n)})},n["catch"]=function(e){return n.then(null,e)}}),function(){if(!K(n))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{n(t,r)}catch(e){r(e)}}()}var J=0,X=[],Q=[],Z=[];function Y(){return(new Date).getTime()}function $(e,n){var v=0,h=(e||"<unnamed>")+"."+J;function S(e){var n=f.getGlobal();n&&n.QUnit&&console&&console.log("ESPromiseScheduler["+h+"] "+e)}function y(e){n&&n.warnToConsole("ESPromiseScheduler["+h+"] "+e)}J++,o($,this,function(e){var g=null,p=0;function m(e,n){for(var t=0;t<e.length;t++)if(e[t].id===n)return e.splice(t,1)[0];return null}e.scheduleEvent=function(t,e,s){var i=h+"."+p;p++,e&&(i+="-("+e+")");var o,a,n,r=i+"{"+v+"}";return v++,(e={evt:null,tm:Y(),id:r,isRunning:!1,isAborted:!1}).evt=g?(o=e,a=g,n=new W(function(n,t){var e=Y()-a.tm,r=a.id;S("["+i+"] is waiting for ["+r+":"+e+" ms] to complete before starting -- ["+Q.length+"] waiting and ["+X.length+"] running"),o.abort=function(e){o.abort=null,m(Q,i),o.isAborted=!0,t(Error(e))},a.evt.then(function(e){m(Q,i),f(o).then(n,t)},function(e){m(Q,i),f(o).then(n,t)})}),Q.push(o),n):f(e),(g=e).evt._schId=r,e.evt;function l(e){for(var n=Y(),t=n-6e5,r=e.length,i=0;i<r;){var o,a=e[i];a&&a.tm<t?(o=null,a.abort?(o="Aborting ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",a.abort(o)):o="Removing ["+a.id+"] due to Excessive runtime ("+(n-a.tm)+" ms)",y(o),e.splice(i,1),r--):i++}}function u(e,n){var t,r=!1,i=m(X,e);i||(i=m(Z,e),r=!0),i?(i.to&&(clearTimeout(i.to),i.to=null),t=Y()-i.tm,n?r?y("Timed out event ["+e+"] finally complete -- "+t+" ms"):S("Promise ["+e+"] Complete -- "+t+" ms"):(Z.push(i),y("Event ["+e+"] Timed out and removed -- "+t+" ms"))):S("Failed to remove ["+e+"] from running queue"),g&&g.id===e&&(g=null),l(X),l(Q),l(Z)}function d(n,t){return function(e){return u(n,!0),t&&t(e),e}}function c(r,o){var a=r.id;return new W(function(n,t){S("Event ["+a+"] Starting -- waited for "+(r.wTm||"--")+" ms"),r.isRunning=!0,r.abort=function(e){r.abort=null,r.isAborted=!0,u(a,!1),t(Error(e))};var e=o(a);e instanceof W?(s&&(r.to=setTimeout(function(){u(a,!1),t(Error("Timed out after ["+s+"] ms"))},s)),function i(n,e,t,r){e.then(function(e){return e instanceof W?(S("Event ["+n+"] returned a promise -- waiting"),i(n,e,t,r),e):d(n,t)(e)},d(n,r))}(a,e,function(e){S("Event ["+a+"] Resolving after "+(Y()-r.tm)+" ms"),n(e)},t)):(S("Promise ["+a+"] Auto completed as the start action did not return a promise"),n())})}function f(e){var n=Y();return e.wTm=n-e.tm,e.tm=n,e.isAborted?W.reject(Error("["+i+"] was aborted")):(X.push(e),c(e,t))}}})}$.incomplete=function(){return X},$.waitingToStart=function(){return Q},n=$;var ee=(ne.getFieldType=U,ne);function ne(e){var u=this,o={},a=[],s=[];function l(e,n){var t=o[e];if(!(i=t?t[n]:i)&&null!==i){if(f.isString(e)&&f.isString(n))if(0<s.length){for(var r=0;r<s.length;r++)if(s[r].handleField(e,n)){i={canHandle:!0,fieldHandler:s[r]};break}}else 0===a.length&&(i={canHandle:!0});if(!i&&null!==i)for(var i=null,r=0;r<a.length;r++)if(a[r].handleField(e,n)){i={canHandle:!0,handler:a[r],fieldHandler:null};break}(t=t||(o[e]={}))[n]=i}return i}function d(e,n,t,r,i,o){if(e.handler)return e.handler.property(n,t,i,o);if(!f.isNullOrUndefined(i.kind)){if(4096==(4096&r)||!F(i.kind))return null;i.value=i.value.toString()}return function l(i,o,a,e,n){var t,s,r;return n&&i&&(t=i.getSanitizer(o,a,e,n.kind,n.propertyType))&&(4===e?(s={},r=n.value,f.objForEachKey(r,function(e,n){var t,r=o+"."+a;h(n)&&(t=c(0,0,n),(t=l(i,r,e,U(n),t))&&(s[e]=t.value))}),n.value=s):n=t.call(u,e={path:o,name:a,type:e,prop:n,sanitizer:u})),n}(e.fieldHandler,n,t,r,i)}function c(e,n,t){return h(t)?{value:t}:null}e&&s.push(e),u.addSanitizer=function(e){e&&(a.push(e),o={})},u.addFieldSanitizer=function(e){e&&(s.push(e),o={})},u.handleField=function(e,n){return!!(n=l(e,n))&&n.canHandle},u.value=function(e,n,t,r){var i=l(e,n);if(i&&i.canHandle){if(!i||!i.canHandle)return null;if(i.handler)return i.handler.value(e,n,t,r);if(!f.isString(n)||f.isNullOrUndefined(t)||""===t)return null;var o=null,a=U(t);if(8192==(8192&a)){var s=-8193&a;if(!h((o=t).value)||1!=s&&2!=s&&3!=s&&4096!=(4096&s))return null}else 1===a||2===a||3===a||4096==(4096&a)?o=c(0,0,t):4===a&&(o=c(0,0,r?JSON.stringify(t):t));if(o)return d(i,e,n,a,o,r)}return null},u.property=function(e,n,t,r){var i=l(e,n);if(!i||!i.canHandle)return null;if(!f.isString(n)||f.isNullOrUndefined(t)||!h(t.value))return null;var o=U(t.value);return 0===o?null:d(i,e,n,o,t,r)}}e.BaseTelemetryPlugin=f.BaseTelemetryPlugin,e.DiagnosticLogger=f.DiagnosticLogger,e.EventHelper=f.EventHelper,e.EventsDiscardedReason=f.EventsDiscardedReason,e.InternalAppInsightsCore=f.AppInsightsCore,e.InternalBaseCore=f.BaseCore,e.LoggingSeverity=f.LoggingSeverity,e.MinChannelPriorty=f.MinChannelPriorty,e.NotificationManager=f.NotificationManager,e.PerfEvent=f.PerfEvent,e.PerfManager=f.PerfManager,e.ProcessTelemetryContext=f.ProcessTelemetryContext,e.Undefined=f.strUndefined,e._InternalLogMessage=f._InternalLogMessage,e._InternalMessageId=f._InternalMessageId,e.addEventHandler=f.addEventHandler,e.addEventListeners=f.addEventListeners,e.addPageHideEventListener=f.addPageHideEventListener,e.addPageShowEventListener=f.addPageShowEventListener,e.addPageUnloadEventListener=f.addPageUnloadEventListener,e.areCookiesSupported=f.areCookiesSupported,e.arrForEach=f.arrForEach,e.arrIndexOf=f.arrIndexOf,e.arrMap=f.arrMap,e.arrReduce=f.arrReduce,e.attachEvent=f.attachEvent,e.cookieAvailable=f.areCookiesSupported,e.createCookieMgr=f.createCookieMgr,e.dateNow=f.dateNow,e.detachEvent=f.detachEvent,e.disallowsSameSiteNone=f.uaDisallowsSameSiteNone,e.doPerf=f.doPerf,e.dumpObj=f.dumpObj,e.generateW3CId=f.generateW3CId,e.getConsole=f.getConsole,e.getCrypto=f.getCrypto,e.getDocument=f.getDocument,e.getExceptionName=f.getExceptionName,e.getGlobal=f.getGlobal,e.getGlobalInst=f.getGlobalInst,e.getHistory=f.getHistory,e.getIEVersion=f.getIEVersion,e.getISOString=f.toISOString,e.getJSON=f.getJSON,e.getLocation=f.getLocation,e.getMsCrypto=f.getMsCrypto,e.getNavigator=f.getNavigator,e.getPerformance=f.getPerformance,e.getSetValue=f.getSetValue,e.getWindow=f.getWindow,e.hasDocument=f.hasDocument,e.hasHistory=f.hasHistory,e.hasJSON=f.hasJSON,e.hasNavigator=f.hasNavigator,e.hasOwnProperty=f.hasOwnProperty,e.hasWindow=f.hasWindow,e.isArray=f.isArray,e.isBeaconsSupported=f.isBeaconsSupported,e.isBoolean=f.isBoolean,e.isDate=f.isDate,e.isError=f.isError,e.isFetchSupported=f.isFetchSupported,e.isFunction=f.isFunction,e.isIE=f.isIE,e.isNotTruthy=f.isNotTruthy,e.isNullOrUndefined=f.isNullOrUndefined,e.isNumber=f.isNumber,e.isObject=f.isObject,e.isReactNative=f.isReactNative,e.isString=f.isString,e.isTruthy=f.isTruthy,e.isTypeof=f.isTypeof,e.isUndefined=f.isUndefined,e.isXhrSupported=f.isXhrSupported,e.newGuid=f.newGuid,e.newId=f.newId,e.normalizeJsName=f.normalizeJsName,e.objCreate=f.objCreate,e.objDefineAccessors=f.objDefineAccessors,e.objForEachKey=f.objForEachKey,e.objKeys=f.objKeys,e.optimizeObject=f.optimizeObject,e.perfNow=f.perfNow,e.proxyAssign=f.proxyAssign,e.random32=f.random32,e.randomValue=f.randomValue,e.safeGetCookieMgr=f.safeGetCookieMgr,e.safeGetLogger=f.safeGetLogger,e.setEnableEnvMocks=f.setEnableEnvMocks,e.setValue=f.setValue,e.strContains=f.strContains,e.strEndsWith=f.strEndsWith,e.strExtensionConfig=f.strExtensionConfig,e.strFunction=f.strFunction,e.strIKey=f.strIKey,e.strObject=f.strObject,e.strPrototype=f.strPrototype,e.strStartsWith=f.strStartsWith,e.strTrim=f.strTrim,e.strUndefined=f.strUndefined,e.throwError=f.throwError,e.toISOString=f.toISOString,e.useXDomainRequest=f.useXDomainRequest,e.AppInsightsCore=_,e.BaseCore=H,e.CoreUtils=V,e.ESPromise=W,e.ESPromiseScheduler=n,e.EventLatency=a,e.EventPersistence={Normal:1,Critical:2},e.EventPropertyType=s,e.FullVersionString=d,e.TraceLevel={NONE:0,ERROR:1,WARNING:2,INFORMATION:3},e.Utils=R,e.ValueKind=i,e.ValueSanitizer=ee,e.Version=l,e._ExtendedInternalMessageId=u,e.createGuid=A,e.deleteCookie=w,e.disableCookies=E,e.extend=T,e.getCommonSchemaMetaData=I,e.getCookie=O,e.getCookieValue=N,e.getFieldValueType=U,e.getTenantId=S,e.getTime=j,e.isArrayValid=D,e.isChromium=function(){return!!f.getGlobalInst("chrome")},e.isDocumentObjectAvailable=m,e.isLatency=b,e.isUint8ArrayAvailable=y,e.isValueAssigned=h,e.isValueKind=F,e.isWindowObjectAvailable=v,e.openXhr=function(e,n,t,r,i){function o(e,n,t){try{e[n]=t}catch(r){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var a=new XMLHttpRequest;return r&&o(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),t&&o(a,c,t),a.open(e,n,!i),t&&o(a,c,t),a},e.sanitizeProperty=C,e.setCookie=P,e.setProcessTelemetryTimings=k,function(e,n,t){var r=Object.defineProperty;if(r)try{return r(e,n,t)}catch(i){}typeof t.value!==undefined&&(e[n]=t.value)}(e,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@microsoft/applicationinsights-shims"),require("@microsoft/applicationinsights-core-js"),require("@microsoft/dynamicproto-js")):"function"==typeof define&&define.amd?define(["exports","@microsoft/applicationinsights-shims","@microsoft/applicationinsights-core-js","@microsoft/dynamicproto-js"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).oneDS=e.oneDS||{},e.applicationinsightsShims,e.applicationinsightsCoreJs,e.dynamicProto);
//# sourceMappingURL=ms.core.min.js.map
{
"name": "@microsoft/1ds-core-js",
"version": "3.1.8",
"version": "3.1.9",
"description": "Microsoft Application Insights JavaScript SDK - 1ds-core-js extensions",

@@ -5,0 +5,0 @@ "author": "Microsoft Application Insights Team",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc