'use strict';(()=>{function ic(a){a=!1===(a=void 0===a?!0:a)?null:fg;return a||((a=(a=(a="undefined"!==typeof globalThis?globalThis:a)||"undefined"===typeof self?a:self)||"undefined"===typeof window?a:window)||"undefined"===typeof Sc.g||(a=Sc.g),fg=a),a}function re(a){function b(){}var c;if(gg)a=gg(a);else if(null==a)a={};else{if("object"!==(c=typeof a)&&c!==yc)throw new TypeError("Object prototype may only be an Object:"+a);a=(b.prototype=a,new b)}return a}function Sa(a,b){function c(){this.constructor= a}if(typeof b!==yc&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");hg(a,b);a.prototype=null===b?re(b):(c.prototype=b.prototype,new c)}function ig(a,b){for(var c=0,d=b.length,e=a.length;c{if(!Tc)return 1;var m=[];for(p=jc(p);p&&!se(p)&&!ue(m,p);){if(p===l)return 1;m.push(p);p=jc(p)}})(f,b)||xd("["+ve(a)+"] not in hierarchy of ["+ve(b)+"]"),null);a=(Gb(f,"_dynClass")?g=f._dynClass:(g="_dynCls$"+ve(a,"_")+"$"+we.n,we.n++,f._dynClass=g),sa._dfOpts);var h=!!a.useBaseInst,k=(h&&d&&void 0!==d.useBaseInst&&(h=!!d.useBaseInst),e=zc(), wd(b,function(l){!e[l]&&te(b,l,!1)&&(e[l]=b[l])}),e);c=(c(b,((l,p,m,r)=>{function u(x,J,z){var y,C=J[z];return C._isDynProxy&&r&&!1!==(y=x._dynInstFuncs||{})._dynInstChk&&(C=(y[J._dynClass]||{})[z]||C),function(){return C.apply(x,arguments)}}var q=zc(),n=(wd(m,function(x){q[x]=u(p,m,x)}),jc(l));for(l=[];n&&!se(n)&&!ue(l,n);)wd(n,function(x){!q[x]&&te(n,x,!Tc)&&(q[x]=u(p,n,x))}),l.push(n),n=jc(n);return q})(f,b,k,h)),!!Tc&&!!a.setInstFuncs);Ui(f,g,b,k,!1!==(c=c&&d?!!d.setInstFuncs:c))}function kg(a){if(a){if(xe)return xe(a); if(a=a.__proto__||a.prototype||a.constructor)return a}return null}function Ba(a){return void 0===a||"undefined"===typeof a}function fa(a){return null===a||Ba(a)}function Vi(a){return!fa(a)}function ye(a,b){return!(!a||!Hb.call(a,b))}function Ya(a){return!(!a||"object"!==typeof a)}function ua(a){return!(!a||typeof a!==yc)}function yd(a){return a=a&&za(a)?(a=(a=a.replace(Wi,function(b,c){return c.toUpperCase()})).replace(Xi,"_")).replace(Yi,function(b,c){return"_"+c}):a}function va(a,b){if(a)for(var c in a)Hb.call(a, c)&&b.call(a,c,a[c])}function Ac(a,b){var c=!1;if(a&&b&&!(c=a===b))if(Zi)a=a.startsWith(b);else a:{var d=!1;c=b?b.length:0;if(a&&c&&a.length>=c&&!(d=a===b)){for(d=0;dfunction(){var e=arguments,f=vg(d);f&&(f=f.listener)&&f[c]&&f[c].apply(f,e)})(Ke[b],a)}return Dd}function wg(a,b){var c,d="undefined"!==typeof console?console:Ma("console");d&&(c="log",ua(d[c=d[a]?a:c]))&&d[c](b)}function xg(a,b,c,d){void 0=== c&&(c=!1);this.messageId=a;this.message=(c?"AI: ":"AI (Internal): ")+a;c="";Wc()&&(c=Xc().stringify(d));a=(b?" message:"+(b?'"'+b.replace(/"/g,"")+'"':""):"")+(d?" props:"+(c?'"'+c.replace(/"/g,"")+'"':""):"");this.message+=a}function Ed(a,b){return(a||{}).logger||new Dc(b)}function Le(a){this.identifier="DiagnosticLogger";this.queue=[];var b,c,d,e,f=0,g={};sa(Le,this,function(h){function k(m,r){var u,q;d<=f||(q=!0,u="AITR_"+r.messageId,g[u]?q=!1:g[u]=!0,q&&(m<=c&&(h.queue.push(r),f++,l(1===m?"error": "warn",r)),f===d)&&(q=new Me(23,u="Internal events throttle limit per PageView reached for this app.",!1),h.queue.push(q),1===m?h.errorToConsole(u):h.warnToConsole(u)))}function l(m,r){var u=vg(a||{});u&&u.diagLog&&u.diagLog(m,r)}var p;b=ob((p=a||{}).loggingLevelConsole,0);c=ob(p.loggingLevelTelemetry,1);d=ob(p.maxMessageLimit,25);e=ob(p.enableDebug,ob(p.enableDebugExceptions,!1));h.consoleLoggingLevel=function(){return b};h.telemetryLoggingLevel=function(){return c};h.maxInternalMessageLimit=function(){return d}; h.enableDebugExceptions=function(){return e};h.throwInternal=function(m,r,u,q,n){r=new Me(r,u,n=void 0===n?!1:n,q);if(e)throw pa(r);u=1===m?"errorToConsole":"warnToConsole";Ba(r.message)?l("throw"+(1===m?"Critical":"Warning"),r):(n?(q=+r.messageId,!g[q]&&m<=b&&(h[u](r.message),g[q]=!0)):m<=b&&h[u](r.message),k(m,r))};h.warnToConsole=function(m){wg("warn",m);l("warning",m)};h.errorToConsole=function(m){wg("error",m);l("error",m)};h.resetInternalMessageCount=function(){f=0;g={}};h.logInternalMessage= k})}function ma(a,b,c,d,e,f){void 0===f&&(f=!1);(a||new Dc).throwInternal(b,c,d,e,f)}function Sb(a,b){(a||new Dc).warnToConsole(b)}function Tb(a,b,c){var d,e=this,f=!1;e.start=lb();e.name=a;e.isAsync=c;e.isChildEvt=function(){return!1};ua(b)&&(f=Oa(e,"payload",function(){return!d&&ua(b)&&(d=b(),b=null),d}));e.getCtx=function(g){return g?(g===Tb.ParentContextKey||g===Tb.ChildrenContextKey?e:e.ctx||{})[g]:null};e.setCtx=function(g,h){g&&(g===Tb.ParentContextKey?(e[g]||(e.isChildEvt=function(){return!0}), e[g]=h):g===Tb.ChildrenContextKey?e[g]=h:(e.ctx=e.ctx||{})[g]=h)};e.complete=function(){var g=0,h=e.getCtx(Tb.ChildrenContextKey);if(ta(h))for(var k=0;k a&&(a>>>=0);Gd=123456789+a&4294967295;Hd=987654321-a&4294967295;zg=!0}function Ag(){try{var a=2147483647&lb();yg((4294967296*Math.random()^a)+a)}catch(b){}}function kc(a){var b=0,c=Ma("crypto")||Ma("msCrypto");return 0===(b=c&&c.getRandomValues?c.getRandomValues(new Uint32Array(1))[0]&4294967295:b)&&Bd()&&(zg||Ag(),b=Bg()&4294967295),0===b&&(b=Math.floor(4294967296*Math.random()|0)),a||(b>>>=0),b}function Bg(a){var b=((Hd=36969*(65535&Hd)+(Hd>>16)&4294967295)<<16)+(65535&(Gd=18E3*(65535&Gd)+(Gd>> 16)&4294967295))>>>0&4294967295|0;return a||(b>>>=0),b}function Id(a){void 0===a&&(a=22);for(var b=kc()>>>0,c=0,d="";d.length>>=6,5===c&&(b=(kc()<<2&4294967295|3&b)>>>0,c=0);return d}function Cg(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType}function zb(a,b){return yd(a+hj++ +((void 0===b?0:b)?".2.8.16":"")+ij)}function Dg(a){var b={id:zb("_aiData-"+(a||"")+".2.8.16"),accept:Cg,get:function(c,d,e, f){var g=c[b.id];if(g)c=g[yd(d)];else{if(f){f=b;g=c[f.id];if(!g){g={};try{var h;if(!(h=!Cg(c)))a:{if(Eg)try{h=(Eg(c,f.id,{value:g,enumerable:!1,configurable:!0}),1);break a}catch(k){}h=void 0}h||(c[f.id]=g)}catch(k){}}g[yd(d)]=e}c=e}return c},kill:function(c,d){if(c&&c[d])try{delete c[d]}catch(e){}}};return b}function Fg(a,b){var c=Yc._ckMgr||Jd._ckMgr;return c||(c=Yc._ckMgr=Yc(a,b),Jd._ckMgr=c),c}function Gg(a,b){return!!(b&&a&&ta(a.ignoreCookies))&&-1!==a.ignoreCookies.indexOf(b)}function Ab(a, b){var c;return a?c=a.getCookieMgr():b&&(c=b.cookieCfg._ckMgr||Yc(b)),c||Fg(b,(a||{}).logger)}function Yc(a,b){Jb(d=(a=a||Jd).cookieCfg=a.cookieCfg||{},"domain",a.cookieDomain,Vi,fa);Jb(d,"path",a.cookiePath||"/",null,fa);fa(d.enabled)&&(c=void 0,Ba(a.isCookieUseDisabled)||(c=!a.isCookieUseDisabled),Ba(a.disableCookiesUsage)||(c=!a.disableCookiesUsage),d.enabled=c);var c,d,e=d,f=e.path||"/",g=e.domain,h=!1!==e.enabled,k=((a={isEnabled:function(){var l=h&&Oe(b),p=Jd._ckMgr;return l&&p&&k!==p?!p||p.isEnabled(): l}}).setEnabled=function(l){h=!1!==l},a.set=function(l,p,m,r,u){var q,n,x,J=!1;if(!(k&&!k.isEnabled()||(n=e,(x=l)&&n&&ta(n.blockedCookies)&&-1!==n.blockedCookies.indexOf(x))||Gg(n,x))){n={};-1!==(q=(x=Ha(p||"")).indexOf(";"))&&(x=Ha(p.substring(0,q)),n=Hg(p.substring(q+1)));Jb(n,"domain",r||g,qg,Ba);fa(m)||(p=Bd(),Ba(n.expires)&&0<(q=lb()+1E3*m)&&((r=new Date).setTime(q),Jb(n,"expires",Ig(r,p?"toGMTString":"toUTCString")||Ig(r,p?"toGMTString":"toUTCString")||"",qg)),p)||Jb(n,"max-age",""+m,null,Ba); if(p=(q=Ua())&&"https:"===q.protocol){Jb(n,"secure",null,null,Ba);if(null===Pe){q=(yb()||{}).userAgent;if(!(p=!za(q))){if(!(p=Ta(q,"CPU iPhone OS 12")||Ta(q,"iPad; CPU OS 12")||Ta(q,"Macintosh; Intel Mac OS X 10_14")&&Ta(q,"Version/")&&Ta(q,"Safari"))&&(p=Ta(q,"Macintosh; Intel Mac OS X 10_14"))&&(p=!1,q&&!(p="AppleWebKit/605.1.15 (KHTML, like Gecko)"===q)))if(jj)p=q.endsWith("AppleWebKit/605.1.15 (KHTML, like Gecko)");else a:{m=!1;p=40;r=q?q.length:0;if(p&&r&&p<=r&&!(m="AppleWebKit/605.1.15 (KHTML, like Gecko)"=== q)){m=r-1;for(--p;0<=p;p--){if(q[m]!="AppleWebKit/605.1.15 (KHTML, like Gecko)"[p]){p=!1;break a}m--}m=!0}p=m}p=!(p||Ta(q,"Chrome/5")||Ta(q,"Chrome/6")||Ta(q,"UnrealEngine")&&!Ta(q,"Chrome")||Ta(q,"UCBrowser/12")||Ta(q,"UCBrowser/11"))}q=!!p}else q=Pe;p=Pe=q}p&&Jb(n,"SameSite","None",null,Ba);Jb(n,"path",u||f,null,Ba);(e.setCookie||Jg)(l,Kg(x,n));J=!0}return J},a.get=function(l){var p="";return p=k&&!k.isEnabled()||Gg(e,l)?p:(e.getCookie||function(m){var r="",u;Zc&&(u=Zc.cookie||"",Lg!==u&&(Mg=Hg(u), Lg=u),r=Ha(Mg[m]||""));return r})(l)},a.del=function(l,p){return!k||k.isEnabled()?k.purge(l,p):!1},a.purge=function(l,p){var m,r=!1;return Oe(b)&&((m={}).path=p||"/",m.expires="Thu, 01 Jan 1970 00:00:01 GMT",p=m,Bd()||(p["max-age"]="0"),(e.delCookie||Jg)(l,Kg("",p)),r=!0),r},a);return k._ckMgr=k}function Oe(a){if(null===Kd){Kd=!1;try{Kd=void 0!==(Zc||{}).cookie}catch(b){ma(a,2,68,"Cannot access document.cookie - "+Pa(b),{exception:pa(b)})}}return Kd}function Hg(a){var b={};return a&&a.length&&X(Ha(a).split(";"), function(c){var d;(c=Ha(c||""))&&(-1===(d=c.indexOf("\x3d"))?b[c]=null:b[Ha(c.substring(0,d))]=Ha(c.substring(d+1)))}),b}function Ig(a,b){return ua(a[b])?a[b]():null}function Kg(a,b){var c=a||"";return va(b,function(d,e){c+="; "+d+(fa(e)?"":"\x3d"+e)}),c}function Jg(a,b){Zc&&(Zc.cookie=a+"\x3d"+b)}function Ng(a){return a&&a.replace?a.replace(/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,""):a}function Qe(a,b){b&&(c="",ta(b)?(c="",X(b,function(d){(d=Ng(d))&&("."!==d[0]&&(d="."+d),c+=d)})):c=Ng(b),c)&&("."!==c[0]&& (c="."+c),a=(a||"")+c);var c;b=kj.exec(a||"")||[];a={};return a.type=b[1],a.ns=(b[2]||"").replace(lj,".").replace(mj,"").split(".").sort().join("."),a}function Og(a,b,c){a=Ld.get(a,"events",{},void 0===c?!0:c);return a[b]||(a[b]=[])}function Pg(a,b,c,d){a&&b&&b.type&&(a.removeEventListener?a.removeEventListener(b.type,c,d):a.detachEvent&&a.detachEvent("on"+b.type,c))}function Qg(a,b,c,d){for(var e=b.length;e--;){var f=b[e];!f||c.ns&&c.ns!==f.evtName.ns||d&&!d(f)||(Pg(a,f.evtName,f.handler,f.capture), b.splice(e,1))}}function Lb(a,b){return b=b?Qe("xx",b=ta(b)?[a].concat(b):[a,b]).ns.split("."):a}function ab(a,b,c,d,e){void 0===e&&(e=!1);var f,g=!1;if(a)try{var h=Qe(b,d);var k=!1;a&&h&&h.type&&c&&(a.addEventListener?(a.addEventListener(h.type,c,e),k=!0):a.attachEvent&&(a.attachEvent("on"+h.type,c),k=!0));(g=k)&&Ld.accept(a)&&((f={guid:nj++,evtName:h}).handler=c,f.capture=e,Og(a,h.type).push(f))}catch(l){}return g}function lc(a,b,c,d,e){if(void 0===e&&(e=!1),a)try{var f=Qe(b,d),g=!1;var h=a;var k= function(m){return!((!f.ns||c)&&m.handler!==c)&&(g=!0)};(l=f).type?Qg(h,Og(h,l.type),l,k):(va(p=Ld.get(h,"events",{}),function(m,r){Qg(h,r,l,k)}),0===Ib(p).length&&Ld.kill(h,"events"));g||Pg(a,f,c,e)}catch(m){}var l,p}function Rg(a,b,c){var d=!1,e=Qa();return(e=(e&&(d=ab(e,a,b,c),d=ab(e.body,a,b,c)||d),Fa()))?ab(e,a,b,c)||d:d}function Ec(a,b,c,d){var e=!1;return b&&a&&0d;d++)c+=b[15&(a=kc())]+b[a>>4&15]+b[a>>8&15]+b[a>> 12&15]+b[a>>16&15]+b[a>>20&15]+b[a>>24&15]+b[a>>28&15];a=b[8+(3&kc())|0];return c.substr(0,8)+c.substr(9,4)+"4"+c.substr(13,3)+a+c.substr(16,3)+c.substr(19,12)}function oj(a,b){a=Fg(a,b);b=$c._canUseCookies;return null===ad&&(ad=[],bd=b,Oa($c,"_canUseCookies",function(){return bd},function(c){bd=c;X(ad,function(d){d.setEnabled(c)})})),-1===nb(ad,a)&&ad.push(a),Rb(b)&&a.setEnabled(b),Rb(bd)&&a.setEnabled(bd),a}function mb(a,b,c){return!(!a||a.length!==b||a===c||!a.match(/^[\da-f]*$/i))}function Yg(a, b,c,d){var e={};return e.version=mb(d,2,"ff")?d:"00",e.traceId=mb(a,32,"00000000000000000000000000000000")?a:gb(),e.spanId=mb(b,16,"0000000000000000")?b:gb().substr(0,16),e.traceFlags=0<=c&&255>=c?c:1,e}function Zg(a){var b;if(a){var c=a.traceFlags;for(c=(isNaN(c)||0>c||255c.length;)c="0"+c;mb(c,2)||(c="01");c=c.toLowerCase();var d=a.spanId;d=(mb(d,16)?d:"0000000000000000").toLowerCase();var e="".concat(("00"!==(b=a.version||"00")&&"ff"!==b?"00":b).toLowerCase(),"-");b=e.concat; a=a.traceId;a=mb(a,32)?a:"00000000000000000000000000000000";a=b.call(e,a.toLowerCase(),"-").concat(d,"-").concat(c)}else a="";return a}function mc(a){return pj.get(a,"state",{},!0)}function $g(a,b){for(var c,d=[],e=null,f=a.getNext();f;){var g=f.getPlugin();g&&(e&&ua(e.setNextPlugin)&&ua(g.processTelemetry)&&e.setNextPlugin(g),(ua(g.isInitialized)?g.isInitialized():(c=mc(g)).isInitialized)||d.push(g),e=g,f=f.getNext())}X(d,function(h){var k=a.core();h.initialize(a.getCfg(),k,b,a.getNext());c=mc(h); h.core||c.core||(c.core=k);c.isInitialized=!0;delete c.teardown})}function Te(a){return a.sort(function(b,c){var d,e=0;return c?(d=ua(c.processTelemetry),ua(b.processTelemetry)?e=d?b.priority-c.priority:1:d&&(e=-1)):e=b?1:-1,e})}function Ue(a,b,c,d){function e(k,l,p){var m,r,u;return void 0===l&&(l={}),void 0===p&&(p=0),(m=b&&(r=b.extensionConfig)&&k?r[k]:m)?Ya(l)&&0!==p&&(u=Fe(!0,l,m),b&&2===p&&va(l,function(q){var n;fa(u[q])&&!fa(n=b[q])&&(u[q]=n)}),m=u):m=l,m}var f=null,g=[],h=(null!==d&&(f=d? ((k,l,p)=>{for(;k;){if(k.getPlugin()===p)return k;k=k.getNext()}return Ub([p],l.config||{},l)})(a,c,d):a),{_next:function(){var k=f,l;f=k?k.getNext():null;k||(l=g)&&0d.priority&&Za("Channel has invalid priority - "+d.identifier)}),a.push({queue:Cc(b),chain:Ub(b,c.config,c)}))}function qj(a,b){function c(){return Mb(null,b.config,b,null)}function d(f,g,h,k){function l(){0===--p&&(k&&k(),k=null)}var p=f?f.length+1:1;0=a||32===a));if(a)return null;b.value=b.value.toString()}return b}function qb(a,b,c){var d;return void 0===c&&(c=!0),(a&&(d=a.get(b),c)&&d&&decodeURIComponent?decodeURIComponent(d):d)||""}function nc(a){void 0===a&&(a="D");var b=Se();return"B"===a?b="{"+b+"}":"P"===a?b="("+b+")":"N"===a&&(b=b.replace(/-/g,"")),b}function Na(a,b,c,d,e){var f={},g=!1,h=0,k=arguments.length,l=arguments;for("[object Boolean]"=== Object.prototype.toString.call(l[0])&&(g=l[0],h++);h=f||(d.latency=1);(e=d.ext=d.ext||{}).sdk=e.sdk||{};e.sdk.ver="1DS-Web-JS-3.2.14"; (e=d.baseData=d.baseData||{}).properties=e.properties||{};(e=e.properties).version=e.version||b.pluginVersionString||""}c.track(d)},function(){return{item:d}},!d.sync)}}),a}function $e(a){this.core=a;var b,c=nc(),d=gb(),e=null,f=!1,g=Ab(a);sa($e,this,function(h){h.getTraceId=function(){return a&&a.getTraceCtx&&a.getTraceCtx().getTraceId()||d};h.getLastPageViewId=function(){return c};h.initializeIds=function(){f?c=nc():f=!0};h.getMuidUserId=function(){var k=qb(g,"MUID");return k&&k.length?"t:"+k:k}; h.setAppUserId=function(k){if(e=null,k)for(var l=0;la)&&(a=0);a=Math.round(a);var b=""+a%1E3,c=""+Math.floor(a/1E3)%60,d=""+Math.floor(a/6E4)%60,e=""+Math.floor(a/36E5)%24;a=Math.floor(a/864E5);return(0e.length?"0"+e:e)+":"+(2>d.length?"0"+d:d)+":"+(2>c.length?"0"+c:c)+"."+(1===b.length?"00"+b:2===b.length?"0"+b:b)}function af(a){var b={};return va(a,function(c,d){b[c]=d;b[d]=c}),Be(b)}function $a(a){var b= {};return va(a,function(c,d){b[c]=d[1];b[d[0]]=d[1]}),Be(b)}function cd(a){try{if(fa(ic()))return null;var b=(new Date).toString(),c=Ma(a===Hc.LocalStorage?"localStorage":"sessionStorage");a=jh+b;var d=(c.setItem(a,b),c.getItem(a)!==b);if(c.removeItem(a),!d)return c}catch(e){}return null}function Ic(a){return Wb=a||void 0===Wb?!!cd(Hc.SessionStorage):Wb}function kh(a,b){var c=Ic()?cd(Hc.SessionStorage):null;if(null!==c)try{return c.getItem(b)}catch(d){Wb=!1,ma(a,2,2,"Browser failed read of session storage. "+ Pa(d),{exception:pa(d)})}return null}function bf(a,b,c){var d=b.length;a=lh(a,b);if(a.length!==d){d=0;for(b=a;void 0!==c[b];)d++,b=a.substring(0,147)+mh(d);a=b}return a}function lh(a,b){var c;return b&&150<(b=Ha(b.toString())).length&&(c=b.substring(0,150),ma(a,2,57,"name is too long. It has been truncated to 150 characters.",{name:b},!0)),c||b}function Va(a,b,c){var d;return void 0===c&&(c=1024),b&&(c=c||1024,(b=Ha(b)).toString().length>c)&&(d=b.toString().substring(0,c),ma(a,2,61,"string value is too long. It has been truncated to "+ c+" characters.",{value:b},!0)),d||b}function dd(a,b){return cf(a,b,2048,66)}function df(a,b){var c;return b&&32768c&&(e=b.substring(0,c),ma(a,2,d,"input is too long, it has been truncated to "+c+" characters.",{data:b},!0)),e||b}function mh(a){a="00"+a;return a.substr(a.length-3)}function Nb(a, b,c,d,e,f){c=Va(d,c)||"not_specified";(fa(a)||fa(b)||fa(c))&&Za("Input doesn't contain all required fields");var g;d="";var h=(a.iKey&&(d=a.iKey,delete a.iKey),(g={}).name=c,g.time=Uc(new Date),g.iKey=d,g.ext=f||{},g.tags=[],g.data={},g.baseType=b,g.baseData=a,g);return fa(e)||va(e,function(k,l){h.data[k]=l}),h}function Rd(){}function ef(a,b,c,d){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};this.ver=2;this.name=Va(a,b)||"not_specified";this.properties=Xb(a,c);this.measurements=Yb(a, d)}function ff(a,b,c,d,e){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};this.ver=2;this.message=df(a,b||"not_specified");this.properties=Xb(a,d);this.measurements=Yb(a,e);c&&(this.severityLevel=c)}function gf(a,b,c,d,e,f,g,h,k){this.aiDataContract={ver:1,metrics:1,properties:0};this.ver=2;var l=new zj;l.count=0{try{if(Ya(g))return"hasFullStack"in g&&"typeName"in g}catch(h){}})(b)?(this.typeName=b.typeName,this.message=b.message,this.stack=b.stack,this.parsedStack=b.parsedStack||[],this.hasFullStack=b.hasFullStack):(d=(e=b)&&e.evt,zd(e)||(e=e.error||d||e),this.typeName=Va(a,Sd(e))||"not_specified",this.message=df(a,ph(b||e,this.typeName))||"not_specified",d=b.stackDetails||rh(b),this.parsedStack=(g=>{if((g=g.obj)&&0< g.length){var h=[],k=0,l=0;X(g,function(q){q=q.toString();mf.regex.test(q)&&(q=new mf(q,k++),l+=q.sizeInBytes,h.push(q))});if(32768=e&&pf(a,function(f,g){f=f.cbks;var h=f[xh[e]];if(h){b.ctx=function(){return d[g]=d[g]||{}};try{h.apply(b.inst,c)}catch(l){h=b.err;try{var k=f[xh[2]];k&&(b.err=l,k.apply(b.inst,c))}catch(p){}finally{b.err=h}}}})}function Bj(a){return function(){function b(k,l){return pf(l,function(p){k.push(p)}),k}var c=arguments,d=a.h,e=((f={}).name=a.n,f.inst=this,f.ctx=null,f.set=function(k,l){(c=b([],c))[k]=l;g=b([e],c)},f),f=[],g=b([e],c);e.evt=Ma("event");qf(d,e,g,f,0);var h=a.f;if(h)try{e.rslt=h.apply(this, c)}catch(k){throw e.err=k,qf(d,e,g,f,3),k;}return qf(d,e,g,f,1),e.rslt}}function rf(a,b,c,d){var e=null;return a&&(ye(a,b)?e=a:c&&(e=rf(kg(a),b,d,!1))),e}function yh(a,b,c,d){var e=c&&c._aiHooks;a=(e||((c=Bj(e={i:0,n:b,f:c,h:[]}))._aiHooks=e,a[b]=c),{id:e.i,cbks:d,rm:function(){var f=this.id;pf(e.h,function(g,h){return g.id===f&&(e.h.splice(h,1),1)})}});return e.i++,e.h.push(a),a}function sf(a,b,c,d,e){if(void 0===d&&(d=!0),a&&b&&c)if(a=rf(a,b,d,e))if(d=a[b],typeof d===yc)return yh(a,b,d,c);return null} function Vd(a,b,c,d,e){return a&&b&&c&&(d=rf(a,b,d,e)||a)?yh(d,b,d[b],c):null}function tf(a,b,c,d){sa(tf,this,function(e){function f(p){k.push(p);(function r(){h=h||setTimeout(function(){h=null;var u=k.slice(0),q=!1;k=[];X(u,function(n){n()?q=!0:k.push(n)});0a[d]||36E5<=a[d])return!1;return!0}function uf(a){var b=Ed(a);sa(uf,this,function(c){c.populatePageViewPerformanceEvent=function(d){d.isValid=!1;var e;var f=(e=pb())&&e.getEntriesByType&&0{var k=null;try{k=(()=>{var l,p,m=null;try{if(Ic()&&(l=lb(),p=kh(a,"prevPageVisitData"))&&Wc()){(m=Xc().parse(p)).pageVisitTime=l-m.pageVisitStartTime;var r=Ic()?cd(Hc.SessionStorage):null;if(null!==r)try{r.removeItem("prevPageVisitData")}catch(u){Wb=!1,ma(a,2,6,"Browser failed removal of session storage item. "+Pa(u),{exception:pa(u)})}}}catch(u){Sb(a,"Stop page visit timer failed: "+pa(u)),m=null}return m})(),((l,p)=>{try{if(Ic()){null!=kh(a,"prevPageVisitData")&& Za("Cannot call startPageVisit consecutively without first calling stopPageVisit");var m=new Ej(l,p);var r=Xc().stringify(m);var u=Ic()?cd(Hc.SessionStorage):null;if(null!==u)try{u.setItem("prevPageVisitData",r)}catch(q){Wb=!1,ma(a,2,4,"Browser failed write to session storage. "+Pa(q),{exception:pa(q)})}}}catch(q){Sb(a,"Call to start failed: "+pa(q))}})(g,h)}catch(l){Sb(a,"Call to restart failed: "+pa(l)),k=null}return k})(d,e);f&&b(f.pageName,f.pageUrl,f.pageVisitTime)}catch(g){Sb(a,"Auto track page visit time failed, metric will not be collected: "+ pa(g))}};Oa(c,"_logger",function(){return a});Oa(c,"pageVisitTimeTrackingHandler",function(){return b})})}function fd(a,b){a&&a.dispatchEvent&&b&&a.dispatchEvent(b)}function Ch(a,b){return 6E4>(a=a||b)?6E4:a}function Dh(a){return(a=a||{}).sessionRenewalMs=Ch(a.sessionRenewalMs,18E5),a.sessionExpirationMs=Ch(a.sessionExpirationMs,864E5),a.disableExceptionTracking=Cb(a.disableExceptionTracking),a.autoTrackPageVisitTime=Cb(a.autoTrackPageVisitTime),a.overridePageViewDuration=Cb(a.overridePageViewDuration), a.enableUnhandledPromiseRejectionTracking=Cb(a.enableUnhandledPromiseRejectionTracking),(isNaN(a.samplingPercentage)||0>=a.samplingPercentage||100<=a.samplingPercentage)&&(a.samplingPercentage=100),a.isStorageUseDisabled=Cb(a.isStorageUseDisabled),a.isBrowserLinkTrackingEnabled=Cb(a.isBrowserLinkTrackingEnabled),a.enableAutoRouteTracking=Cb(a.enableAutoRouteTracking),a.namePrefix=a.namePrefix||"",a.enableDebug=Cb(a.enableDebug),a.disableFlushOnBeforeUnload=Cb(a.disableFlushOnBeforeUnload),a.disableFlushOnUnload= Cb(a.disableFlushOnUnload,a.disableFlushOnBeforeUnload),a}function Fj(a){Ba(a.isStorageUseDisabled)||(a.isStorageUseDisabled?Wb=!1:(cd(Hc.LocalStorage),Wb=Ic(!0)))}function gd(){var a,b,c,d,e,f,g,h,k,l,p,m,r,u,q,n,x,J=Eh.call(this)||this;J.identifier="ApplicationInsightsAnalytics";J.priority=180;J.autoRoutePVDelay=500;return sa(gd,J,function(z,y){function C(A,N,F,ea,ya){z.diagLog().throwInternal(A,N,F,ea,ya)}function Y(){f=e=d=c=b=a=null;0;var A=Ua(!(u=r=m=p=l=k=h=g=!1));q=A&&A.href||"";x=n=null} var D=y._addHook;Y();z.getCookieMgr=function(){return Ab(z.core)};z.processTelemetry=function(A,N){z.processNext(A,N)};z.trackEvent=function(A,N){try{var F=Nb(A,wf.dataType,wf.envelopeType,z.diagLog(),N);z.core.track(F)}catch(ea){C(2,39,"trackTrace failed, trace will not be collected: "+Pa(ea),{exception:pa(ea)})}};z.startTrackEvent=function(A){try{a.start(A)}catch(N){C(1,29,"startTrackEvent failed, event will not be collected: "+Pa(N),{exception:pa(N)})}};z.stopTrackEvent=function(A,N,F){try{a.stop(A, void 0,N,F)}catch(ea){C(1,30,"stopTrackEvent failed, event will not be collected: "+Pa(ea),{exception:pa(ea)})}};z.trackTrace=function(A,N){try{var F=Nb(A,xf.dataType,xf.envelopeType,z.diagLog(),N);z.core.track(F)}catch(ea){C(2,39,"trackTrace failed, trace will not be collected: "+Pa(ea),{exception:pa(ea)})}};z.trackMetric=function(A,N){try{var F=Nb(A,Fh.dataType,Fh.envelopeType,z.diagLog(),N);z.core.track(F)}catch(ea){C(1,36,"trackMetric failed, metric will not be collected: "+Pa(ea),{exception:pa(ea)})}}; z.trackPageView=function(A,N){try{A=A||{},c.trackPageView(A,rb(rb(rb({},A.properties),A.measurements),N)),z.config.autoTrackPageVisitTime&&e.trackPreviousPageVisit(A.name,A.uri)}catch(F){C(1,37,"trackPageView failed, page view will not be collected: "+Pa(F),{exception:pa(F)})}};z.sendPageViewInternal=function(A,N,F){var ea=Fa();ea=(ea&&(A.refUri=void 0===A.refUri?ea.referrer:A.refUri),Nb(A,Gh.dataType,Gh.envelopeType,z.diagLog(),N,F));z.core.track(ea);0};z.sendPageViewPerformanceInternal=function(A, N,F){A=Nb(A,Hh.dataType,Hh.envelopeType,z.diagLog(),N,F);z.core.track(A)};z.trackPageViewPerformance=function(A,N){A=A||{};try{d.populatePageViewPerformanceEvent(A),z.sendPageViewPerformanceInternal(A,N)}catch(F){C(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Pa(F),{exception:pa(F)})}};z.startTrackPage=function(A){try{var N;"string"!=typeof A&&(A=(N=Fa())&&N.title||"");b.start(A)}catch(F){C(1,31,"startTrackPage failed, page view may not be collected: "+Pa(F),{exception:pa(F)})}}; z.stopTrackPage=function(A,N,F,ea){try{var ya,Ca;"string"!=typeof A&&(A=(ya=Fa())&&ya.title||"");"string"!=typeof N&&(N=(Ca=Ua())&&Ca.href||"");b.stop(A,N,F,ea);z.config.autoTrackPageVisitTime&&e.trackPreviousPageVisit(A,N)}catch(V){C(1,32,"stopTrackPage failed, page view will not be collected: "+Pa(V),{exception:pa(V)})}};z.sendExceptionInternal=function(A,N,F){var ea=A&&(A.exception||A.error)||zd(A)&&A||{name:A&&typeof A,message:A||"not_specified"};A=A||{};ea=Nb((new $b(z.diagLog(),ea,A.properties|| N,A.measurements,A.severityLevel,A.id)).toInterface(),$b.dataType,$b.envelopeType,z.diagLog(),N,F);z.core.track(ea)};z.trackException=function(A,N){A&&!A.exception&&A.error&&(A.exception=A.error);try{z.sendExceptionInternal(A,N)}catch(F){C(1,35,"trackException failed, exception will not be collected: "+Pa(F),{exception:pa(F)})}};z._onerror=function(A){var N=A&&A.error,F=A&&A.evt;try{F||(Ia=Qa())&&(F=Ia.event);var ea,ya=A&&A.url||(Fa()||{}).URL,Ca=A.errorSrc||"window.onerror@"+ya+":"+(A.lineNumber|| 0)+":"+(A.columnNumber||0),V={errorSrc:Ca,url:ya,lineNumber:A.lineNumber||0,columnNumber:A.columnNumber||0,message:A.message},Ea=A.message;A.error||!za(Ea)||"Script error."!==Ea&&"Script error"!==Ea?(A.errorSrc||(A.errorSrc=Ca),z.trackException({exception:A,severityLevel:3},V)):(ea=$b.CreateAutoException("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",ya,A.lineNumber||0,A.columnNumber||0,N,F,null, Ca),ea=Nb(ea,$b.dataType,$b.envelopeType,z.diagLog(),V),z.core.track(ea))}catch(Ja){var Ia=N?N.name+", "+N.message:"null";C(1,11,"_onError threw exception while logging error, error will not be collected: "+Pa(Ja),{exception:pa(Ja),errorString:Ia})}};z.addTelemetryInitializer=function(A){if(z.core)return z.core.addTelemetryInitializer(A);(f=f||[]).push(A)};z.initialize=function(A,N,F,ea){if(!z.isInitialized()){fa(N)&&Za("Error initializing");y.initialize(A,N,F,ea);A.storagePrefix&&(F=A.storagePrefix, jh=F||"");try{x=Lb(zb(z.identifier),N.evtNamespace&&N.evtNamespace());f&&(X(f,function(B){N.addTelemetryInitializer(B)}),f=null);var ya,Ca,V,Ea,Ia,Ja,H,U,ca,na,la=(B=>{var L=Mb(null,B,z.core),M=z.identifier;B=Dh(B);var R=z.config=L.getExtCfg(M);return void 0!==B&&va(B,function(W,oa){R[W]=L.getConfig(M,W,oa);void 0===R[W]&&(R=oa)}),R})(A);function ra(){var B,L;n=(n&&(q=n),H&&H.href||"");k&&((B=(()=>{var M,R=null;return(R=z.core&&z.core.getTraceCtx?z.core.getTraceCtx(!1):R)||(M=z.core.getPlugin("AppInsightsPropertiesPlugin"))&& (M=M.plugin.context)&&(R=wh(M.telemetryTrace)),R})())&&(B.setTraceId(gb()),L="_unknown_",H&&H.pathname&&(L=H.pathname+(H.hash||"")),B.setName(Va(z.diagLog(),L))),setTimeout(function(M){z.trackPageView({refUri:M,properties:{duration:0}})}.bind(z,q),z.autoRoutePVDelay))}Fj(la);d=new Gj(z.core);c=new Hj(z,la.overridePageViewDuration,z.core,d);e=new Ij(z.diagLog(),function(B,L,M){z.trackMetric({name:"PageVisitTime",average:M,max:M,min:M,sampleCount:1},{PageName:B,PageUrl:L})});g=la.isBrowserLinkTrackingEnabled|| A.isBrowserLinkTrackingEnabled;!h&&g&&(ya=["/browserLinkSignalR/","/__browserLink/"],z.addTelemetryInitializer(function(B){if(g&&B.baseType===Xd.dataType&&(B=B.baseData))for(var L=0;Lx.v?n:x).v},e),h=!0)};r.resize=function(n){k||(n=Jh(function(){c&&c.captureContentUpdate({isAuto:!0,actionType:"R"})},null,n.resize,m),ab(Qa(),"resize",n,e),k=!0)};r.onUnload=function(){function n(){c&&c.capturePageUnload({isAuto:!0})}var x;l||(Sg(n,x= ((c||{}).core||{}).config.disablePageUnloadEvents,e),Re(n,x,e),l=!0)};r.teardown=function(n,x){lc(Qa(),null,null,e);lc(Fa(),null,null,e);Fc(["beforeunload","unload","pagehide"],null,e);Ug(null,e);q()};r._processClick=u})}function cb(a,b){this._config=a;this._traceLogger=b;this._contentBlobFieldNames=null;this._contentBlobFieldNames=!0===this._config.useShortNameForContentBlob?Ph.shortNames:Ph.longNames}function Mj(a){var b={useDefaultContentName:!0,useShortNameForContentBlob:!0,debounceMs:{scroll:600, resize:3E3},biBlobAttributeTag:"data-m",isLoggedIn:!1,shareAuthStatus:!1,cookiesToCollect:["MSFPC","ANON"],autoCapture:{pageView:!0,onLoad:!0,onUnload:!0,click:!0,scroll:!1,resize:!1,lineage:!1,jsError:!0,msTags:!0},callback:{pageName:null,pageActionPageTags:null,pageViewPageTags:null,contentUpdatePageTags:null,pageActionContentTags:null,signedinStatus:null},coreData:{referrerUri:bc?document.referrer:"",requestUri:"",pageName:"",pageType:"",product:"",market:"",pageTags:{}},autoPopulateParentIdAndParentName:!1, syncMuid:!1,muidDomain:"microsoft.com"},c=[];return va(b,function(d,e){Ya(e)&&c.push(d)}),yf(a),X(c,function(d,e){Ya(a[d])?yf(a[d]):delete a[d]}),Na(!0,b,a)}function $d(){var a,b,c,d,e,f,g,h,k,l,p,m,r=Qh.call(this)||this,u=(r.identifier="WebAnalyticsPlugin",!(r.version="3.2.14"));return sa($d,r,function(q,n){function x(){u=!(h={h:0,v:0});m=p=l=k=g=f=e=d=c=b=a=null}function J(y){p&&(y&&(m.pageView&&p.pageView(),m.onLoad)&&p.onLoad(),m.click&&p.click(),m.scroll&&p.scroll(g.debounceMs),m.resize&&p.resize(g.debounceMs), (m.onUnload||g.manualPageUnload)&&p.maxScroll(h),m.onUnload)&&p.onUnload()}function z(y){var C={};return void 0!==y.isManual&&(C.web={},C.web.isManual=void 0===y.isManual||y.isManual,delete y.isManual),C}x();q.updateCoreDataConfig=function(y){g.coreData=Na(!0,g.coreData,y)};q.refreshMetadata=function(){var y=l.getMetadata();a.metaTags=y;c.metaTags=y;b.metaTags=y;e.metaTags=y};q.initialize=function(y,C,Y){var D=C,A=(y.extensionConfig=y.extensionConfig||[],y.extensionConfig[q.identifier]=y.extensionConfig[q.identifier]|| {},q._config=g=Mj(y.extensionConfig[q.identifier]),m=g.autoCapture,D.getWParam);if(D.getWParam=function(){var N=0;return g.mscomCookies&&(N|=1),N|A()},y.extensionConfig[q.identifier].disableExceptionTracking=!m.jsError,n.initialize(y,C,Y),l=l||new Nj(g,q.diagLog()),p=p||new Oj(q,q.diagLog()),g.manageCv){for(y=0;yu.sessionExpirationMs();u=m-q.renewalDate>u.sessionRenewalMs();r||u?k():(!(r=c)||cc.cookieUpdateInterval< m-r)&&(q.renewalDate=m,l(q.getId(),q.acquisitionDate,q.renewalDate))};g.backup=function(){var m=g.automaticSession,r=(q=m.getId(),n=m.acquisitionDate,m=m.renewalDate,e),u=d(),q=[q,n,m].join("|"),n=Jf()?Kf(0):null;if(null!==n)try{n.setItem(u,q)}catch(x){id=!1,ma(r,1,504,"Browser failed write to local storage. "+x)}}})}function Lf(a,b){void 0===b&&(b=Mf);var c=null;if(a){a=a.split(",");for(var d=0;de.length)e=void 0;else{for(var g=!1,h=e.substring(0, 3).toString().toUpperCase(),k=0;k=e.length){g=!0;break}e=g}e&&(c?c+=","+a[d]:c=a[d])}}return c}function jd(a,b){var c=null,d=Mf.slice(0),e=Ab(b);sa(jd,this,function(f){var g;"object"===typeof document&&document&&(g=Fa().documentElement)&&(f.locale=g.lang);f.env=a.env||(h=>{var k,l={};if(k=Fa()){k=k&&k.querySelectorAll("meta");for(var p=0;p{if(ta(l))try{for(var p=0;p{for(var n=0;n{if(u)for(var q=0;qlb()||(delete a[c],!1)}})}function Yh(a){var b=2400;b=Math.floor(Math.random()*(3600-b))+b;b*=Math.pow(2,a);return Math.min(b,6E5)}function Tf(a,b,c,d){var e=!!d,f={};sa(Tf,this,function(g){function h(k,l,p,m,r,u,q){va(k,function(n,x){var J=null;if(x||aa(x)){var z,y=p,C=n,Y=r,D=l;if(e&&!m&&Ak.test(n)){var A=n.split("."),N=A.length;if(1=f&&(h=f<<5)),0<=g&&9>=g?(-1===h&&(h=0),h|=g):(f=Bk[Ze(e)]||-1,-1!==h&&-1!==f?h|=f:6===f&&(h=f))),h);if(-1{var Ra={};return za(Aa)&&X(Ha(Aa).split(/[\r\n]+/),function(Wa){var Xa,wa;Wa&&(-1!==(wa=Wa.indexOf(": "))?(Xa=Ha(Wa.substring(0,wa)).toLowerCase(),wa=Ha(Wa.substring(wa+1)),Ra[Xa]=wa):Ra[Ha(Wa)]=1)}),Ra})(ja.getAllResponseHeaders()): (ha=O(ha,ja,"time-delta-millis"),ha=O(ha,ja,"kill-duration"),O(ha,ja,"kill-duration-seconds"))}function S(ja,ha,Aa){try{ja[ha]=Aa}catch(Ra){}}var Z=v.urlString;G&&v.disableXhrSync&&(G=!1);var w="POST";var K=ka;var E=v.timeout;void 0===(ba=!0)&&(ba=!1);void 0===G&&(G=!1);var Q=new XMLHttpRequest;ba&&S(Q,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",ba);K&&S(Q,"withCredentials",K);Q.open(w,Z,!G);K&&S(Q,"withCredentials",K);!G&&E&&S(Q,"timeout",E);var ba,da=Q;va(v.headers,function(ja,ha){da.setRequestHeader(ja, ha)});da.onload=function(){var ja=$h(da);U(I,da.status,P(da),ja);T(ja)};da.onerror=function(){U(I,da.status,P(da),void 0)};da.ontimeout=function(){U(I,da.status,P(da),void 0)};da.send(v.data)}function U(v,I,G,O){try{v(I,G,O)}catch(P){ma(g,2,518,pa(P))}}function ca(v,I,G){G=200;var O=v._thePayload,P=v.urlString+(q?"\x26NoResponseBody\x3dtrue":"");try{var S,Z=yb();Z.sendBeacon(P,v.data)||(O?(S=[],X(O.batches,function(w){if(S&&w&&0{for(var S=0;Swa&&408!=wa&&429!=wa||501== wa||505==wa||0>=v.numEvents)&&(fi=!1);Pb=9E3+wa%1E3}fi&&(Pb=100,ge=v.retryCnt,0===v.sendType)&&(ge{try{hi&&f._backOffTransmission(),200===ec&&(hi||dc.isSync||f._clearBackOff(),(Ek=>{var ii;ea&&(ii=Bb(),X(Ek,function(ld){var ji;ld&&0{var w=Fk[Z];return aa(w)||(w="oth",9E3<=Z&&9999>=Z?w="rspFail":8E3<=Z&&8999>=Z?w="drop":1E3<=Z&&1999>=Z&&(w="send")),w})(I)])&&fb(k,function(){return"HttpManager:_sendBatchesNotification"},function(){qa(function(){try{P.call(d,v,I,S,G)}catch(Z){ma(g,1,74,"send request notification failed: "+Z)}},O||S,0)},function(){return{batches:L(v),reason:I,isSync:S,sendSync:O,sendType:G}},!(S=0!==G))}var ka=!0;V.initialize=function(v,I,G,O,P){n=v+n;Ca=!!Ba((P=P||{}).avoidOptions)|| !P.avoidOptions;l=(k=I).getCookieMgr();ea=!k.config.disableEventTimings;var S;v=!!k.config.enableCompoundKey;I=(g=(f=G).diagLog(),P.valueSanitizer);G=P.stringifyObjects;I=(Ba(P.enableCompoundKey)||(v=!!P.enableCompoundKey),p=P.xhrTimeout,m=!!P.disableXhrSync,r=!!P.disableFetchKeepAlive,q=!1!==P.addNoResponse,y=!sg(),F=new Gk(k,I,G,v),fa(P.useSendBeacon)||(y=!!P.useSendBeacon),O);G=P.alwaysUseXhrOverride?O:null;v=P.alwaysUseXhrOverride?O:null;var Z=[3,2];O||(Y=!1,(S=Ua())&&S.protocol&&"file:"===S.protocol.toLowerCase()&& (ka=!1),sg()?(S=[2,1],Z=[2,1,3]):S=[1,2,3],(O=Ea(S=bi(S,P.transports),!1))||Sb(g,"No available transport to send events"),I=Ea(S,!0));G=G||Ea(bi(Z,P.unloadTransports),!0);u=!Y&&(y&&(Lc=null===Lc?He()&&!!yb().sendBeacon:Lc)||!r&&ug(!0));(S={})[0]=O;S[1]=I||Ea([1,2,3],!0);S[2]=G||I||Ea([1],!0);S[3]=v||Ea([2,3],!0)||I||Ea([1],!0);h=S};V._getDbgPlgTargets=function(){return[h[0],x,F,h]};V.addQueryStringParameter=function(v,I){for(var G=0;G=e)):u++,1))):K=da;K&&ka("eventsDiscarded",[w],rc.QueueFull)}function U(w,K,E){w=W(w,K,E);return c.sendQueuedRequests(K,E),w}function ca(){0<=N&&W(N,0,f)&&c.sendQueuedRequests(0,f);0=E;E++)(Q=>{var ba=A[Q];ba&&ba.batches&&X(ba.batches,function(da){4===Q?w+=da.count():K+=da.count()})})(E);n=K;u=w}function W(w,K,E){var Q=!1,ba=0===K;return!ba||c.canSendRequest()?fb(V.core,function(){return"PostChannel._queueBatches"},function(){for(var da=[],ja=4;w<=ja;){var ha=A[ja];ha&&ha.batches&&0=K?K-1E3:0,!0!==E])}function G(w,K){v("eventsSent",w,K);ca()}function O(w,K){v("eventsDiscarded",w,8E3<=K&&8999>=K?K-8E3:rc.Unknown)}function P(w){v("eventsDiscarded",w,rc.NonRetryableStatus);ca()}function S(w,K){v("eventsDiscarded",w,rc.Unknown);ca()}function Z(){e=a&&a.disableAutoBatchFlushLimit? 0:Math.max(1500,x/6)}na();V._getDbgPlgTargets=function(){return[c]};V.initialize=function(w,K,E){fb(K,function(){return"PostChannel:initialize"},function(){var Q;Ea.initialize(w,K,E);try{K.addUnloadCb;g=Lb(zb(V.identifier),K.evtNamespace&&K.evtNamespace());var ba=V._getTelCtx(),da=(w.extensionConfig[V.identifier]=w.extensionConfig[V.identifier]||{},a=ba.getExtCfg(V.identifier),h=he(a.setTimeoutOverride,a.clearTimeoutOverride),F=!a.disableOptimizeObj&&!!Ma("chrome"),Q=K.getWParam,K.getWParam=function(){var ha= 0;return a.ignoreMc1Ms0CookieProcessing&&(ha|=2),ha|Q()},0=w;w++)(K=A[w])&&K.batches&&X(K.batches,function(Q){Q&&Q.count()>= e&&(E=!0)});M(!0,E)};V.pause=function(){ra();r=!0;c.pause()};V.resume=function(){r=!1;c.resume();ca()};V.addResponseHandler=function(w){c._responseHandlers.push(w)};V._loadTransmitProfiles=function(w){ra();qa();z="REAL_TIME";ca();va(w,function(K,E){var Q,ba=E.length;2<=ba&&(Q=2E[1]&&(E[0]=-1),0E[1]&&(Q=E[1]),E.push(Q),J[K]=E)})};V.flush=function(w,K,E){void 0===w&&(w=!0);r||(E=E||1,w?null==m?(ra(), W(1,0,E),m=la(function(){m=null;(function ja(ba,da){U(1,0,da);R();oa(function(){ba&&ba();0Y&&(Y++,ra(),ca())};V._clearBackOff=function(){Y&&(Y=0,ra(),ca())}; Oa(V,"_setTimeoutOverride",function(){return h.set},function(w){h=he(w,h.clear)});Oa(V,"_clearTimeoutOverride",function(){return h.clear},function(w){h=he(h.set,w)})}),k}function Ka(a,b){this._base="";this._currentElement=0;this._base64CharSet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";this._cv1Constants=new mi;this._cv2Constants=new mi;this._cvVersionAtLatestValidityCheck=2;this._traceLogger=Ed(b);this._cv1Constants.maxCorrelationVectorLength=63;this._cv1Constants.baseLength= 16;this._cv1Constants.validationPattern=new RegExp("^["+this._base64CharSet+"]{"+this._cv1Constants.baseLength.toString()+"}(.[0-9]+)*$");this._cv2Constants.maxCorrelationVectorLength=127;this._cv2Constants.baseLength=22;this._cv2Constants.validationPattern=new RegExp("^["+this._base64CharSet+"]{"+this._cv2Constants.baseLength.toString()+"}(.[0-9]+)*$");this._currentCvConstants=this._cv2Constants;this.init(a)}function md(a){var b=Xf.call(this)||this;return b.identifier="CorrelationVectorPlugin",b.priority= 159,b.version="3.2.14",b._cvInitialValue=a,b._cv=b._cvInitialValue?new ni(b._cvInitialValue):new ni,b}function Yf(a){var b=nc(),c=gb();sa(Yf,this,function(d){d.getTraceId=function(){return a&&a.getTraceCtx&&a.getTraceCtx().getTraceId()||c};d.getLastPageViewId=function(){return b}})}function fc(a){var b="ai."+a+".";return function(c){return b+c}}function oi(){return pi.call(this)||this}function qi(a,b,c){b=a[b];a=a[c];return b&&a?bb(b,a):0}function sc(a,b,c,d,e){return(c=qi(c,d,e))?gc(a,b,Vb(c)):0} function gc(a,b,c){var d=0;return a&&b&&c&&((a.ajaxPerf=a.ajaxPerf||{})[b]=c,d=1),d}function Zf(a,b,c,d){var e=c;this.perfMark=null;this.completed=!1;this.ajaxTotalDuration=this.callbackDuration=this.responseReceivingDuration=this.requestHeaders=this.requestHeadersSize=null;this.aborted=0;this.requestUrl=this.pageUrl=null;this.requestSize=0;this.endTime=this.callbackFinishedTime=this.responseFinishedTime=this.responseStartedTime=this.requestSentTime=this.status=this.method=null;this.xhrMonitoringState= new Kk;this.clientFailure=0;this.traceID=a;this.spanID=b;this.traceFlags=null==d?void 0:d.getTraceFlags();this.eventTraceCtx=d?((c={}).traceId=d.getTraceId(),c.spanId=d.getSpanId(),c.traceFlags=d.getTraceFlags(),c):null;sa(Zf,this,function(f){f.getAbsoluteUrl=function(){if(f.requestUrl){var g=f.requestUrl;g=(g=nf(g))?g.href:void 0}else g=null;return g};f.getPathName=function(){if(f.requestUrl){var g=f.method;var h=f.requestUrl;g=g?g.toUpperCase()+" "+h:h;g=dd(e,g)}else g=null;return g};f.CreateTrackItem= function(g,h,k){var l,p,m,r,u,q,n,x,J,z,y,C,Y;return f.ajaxTotalDuration=Math.round(1E3*bb(f.requestSentTime,f.responseFinishedTime))/1E3,0>f.ajaxTotalDuration?null:((l={id:"|"+f.traceID+"."+f.spanID,target:f.getAbsoluteUrl()}).name=f.getPathName(),l.type=g,l.startTime=null,l.duration=f.ajaxTotalDuration,l.success=200<=+f.status&&400>+f.status,l.responseCode=+f.status,l.properties={HttpMethod:f.method},l=(g=l).properties,f.aborted&&(l.aborted=!0),f.requestSentTime&&(g.startTime=new Date,g.startTime.setTime(f.requestSentTime)), p=g,r=f.perfTiming,u=p.properties||{},q=0,n="domainLookup",Y=(x="connect")+"End",J=(y="request")+(J="Start"),z=(C="response")+"End",r?(q=(q=(q=(q=(q=(q=(q|=sc(u,"End",r,"redirectStart","End"))|sc(u,n,r,"domainLookupStart","domainLookupEnd"))|sc(u,x,r,"connectStart",Y))|sc(u,y,r,J,"requestEnd"))|sc(u,C,r,"responseStart",z))|sc(u,"networkConnect",r,"startTime",Y))|sc(u,"sentRequest",r,J,z),n=(n=r[ri])||qi(r,"startTime",z)||0,q=(q|=gc(u,ri,n))|gc(u,"perfTotal",n),(x=r.serverTiming)&&(m={},X(x,function(D, A){A=yd(D.name||""+A);var N=m[A]||{};va(D,function(F,ea){!("name"!==F&&za(ea)||xb(ea))||!(ea=N[F]?N[F]+";"+ea:ea)&&za(ea)||(N[F]=ea)});m[A]=N}),q|=gc(u,"serverTiming",m)),q=(q=(q|=gc(u,"transferSize",r.transferSize))|gc(u,"encodedBodySize",r.encodedBodySize))|gc(u,"decodedBodySize",r.decodedBodySize)):f.perfMark&&(q|=gc(u,"missing",f.perfAttempts)),q&&(p.properties=u),h&&0{var ka,v=!1,I=(Je()&&(v=!(fa(I=XMLHttpRequest.prototype)||fa(I.open)||fa(I.send)||fa(I.abort))),fj());if(v=I&&9>I?!1:v)try{var G=new XMLHttpRequest,O={xh:[],i:((ka={})[ia]={},ka)},P=(G._ajaxData= O,XMLHttpRequest.prototype.open);XMLHttpRequest.prototype.open=P}catch(S){v=!1,nd(T,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:pa(S)})}return v})(F,C)||n||b||(V(XMLHttpRequest,"open",{ns:y,req:function(T,ia,ka,v){var I,G,O,P,S,Z,w;n||(T=T.inst,I=Nc(T,C),!Ea(T,ka)&&Ia(T,I,!0)&&(I&&I.xhrMonitoringState.openDone||(P=T,S=Ja(),Z=S&&S.getTraceId()||gb(),w=gb().substr(0,16),P=(P=P._ajaxData=P._ajaxData||{xh:[],i:{}}).i=P.i||{},(Z=P[C]=P[C]||new xi(Z,w,F.diagLog(), null==(P=F.core)?void 0:P.getTraceCtx())).traceFlags=S&&S.getTraceFlags(),Z.method=ia,Z.requestUrl=ka,Z.xhrMonitoringState.openDone=!0,Z.requestHeaders={},Z.async=v,Z.errorStatusText=f,I=Z),G=T,(O=I).xhrMonitoringState.stateChangeAttached=ab(G,"readystatechange",function(){function K(da,ja){ja=ja||{};ja.ajaxDiagnosticsMessage=je(Q,C);da&&(ja.exception=pa(da));Qb(F,14,"Failed to calculate the duration of the ajax call"+wi,ja)}try{G&&4===G.readyState&&Ia(G,O)&&((ba=Nc(Q=G,C)).responseFinishedTime=Ud(), ba.status=Q.status,U("xmlhttprequest",ba,function(){try{var da,ja=ba.CreateTrackItem("Ajax",e,function(){var Ra,Wa,Xa={statusText:Q.statusText,headerMap:null,correlationContext:(wa=>{try{var db,Pb=wa.getAllResponseHeaders();if(null!==Pb&&-1!==Oc(Pb.toLowerCase(),Da[8]))return db=wa.getResponseHeader(Da[0]),Pc.getCorrelationContext(db)}catch(Mc){Qb(F,18,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{ajaxDiagnosticsMessage:je(wa,C),exception:pa(Mc)})}})(Q), type:Q.responseType,responseText:(wa=>{try{var db=wa.responseType;if(""===db||"text"===db)return wa.responseText}catch(Pb){}return null})(Q),response:Q.response};return u&&(Ra=Q.getAllResponseHeaders())&&(Ra=Ha(Ra).split(/[\r\n]+/),Wa={},X(Ra,function(wa){wa=wa.split(": ");var db=wa.shift();wa=wa.join(": ");Ca(db)&&(Wa[db]=wa)}),Xa.headerMap=Wa),Xa}),ha=void 0;try{z&&(ha=z({status:Q.status,xhr:Q}))}catch(Ra){Qb(F,104,"Failed to add custom defined request context as configured call back may missing a null check.")}ja? (void 0!==ha&&(ja.properties=rb(rb({},ja.properties),ha)),da=ba.getPartAProps(),la(A,F.core,ba,ja,null,da)):K(null,{requestSentTime:ba.requestSentTime,responseFinishedTime:ba.responseFinishedTime})}finally{try{var Aa=(Q._ajaxData||{i:{}}).i||{};Aa[C]&&(Aa[C]=null)}catch(Ra){}}},function(da){K(da,null)}))}catch(da){var E=pa(da);E&&-1!==Oc(E.toLowerCase(),"c00c023f")||nd(F,16,"Failed to monitor XMLHttpRequest 'readystatechange' event handler"+Qc,{ajaxDiagnosticsMessage:je(G,C),exception:E})}var Q,ba}, y)))},hkErr:od(F,15,"Failed to monitor XMLHttpRequest.open"+Qc)}),V(XMLHttpRequest,"send",{ns:y,req:function(T,ia){var ka;n||Ia(T=T.inst,ka=Nc(T,C))&&!ka.xhrMonitoringState.sendDone&&(H("xhr",ka),ka.requestSentTime=Ud(),F.includeCorrelationHeaders(ka,void 0,void 0,T),ka.xhrMonitoringState.sendDone=!0)},hkErr:od(F,17,"Failed to monitor XMLHttpRequest"+Qc)}),V(XMLHttpRequest,"abort",{ns:y,req:function(T){n||Ia(T=T.inst,T=Nc(T,C))&&!T.xhrMonitoringState.abortDone&&(T.aborted=1,T.xhrMonitoringState.abortDone= !0)},hkErr:od(F,13,"Failed to monitor XMLHttpRequest.abort"+Qc)}),V(XMLHttpRequest,"setRequestHeader",{ns:y,req:function(T,ia,ka){var v;n||(T=T.inst,(v=Nc(T,C))&&Ia(T,v)&&(T&&(T=(T._ajaxData||{}).xh)&&T.push({n:ia,v:ka}),e)&&Ca(ia)&&v&&(v.requestHeaders[ia]=ka))},hkErr:od(F,71,"Failed to monitor XMLHttpRequest.setRequestHeader"+Qc)}),b=!0);if(M=L=(()=>{var T=ic();return!T||fa(T.Request)||fa(T.Request.prototype)||fa(T.fetch)?null:T.fetch})()){B=ic();var qa=L.polyfill;if(x||a)qa&&ra(sf(B,"fetch",{ns:y, req:function(T,ia,ka){Ea(null,ia,ka)}}));else{L=B;M={ns:y,req:function(T,ia,ka){var v,I;x||!a||Ea(null,ia,ka)||qa&&b||(v=T.ctx(),I=((G,O)=>{var P=Ja(),S=P&&P.getTraceId()||gb(),Z=gb().substr(0,16),w=((Z=new xi(S,Z,F.diagLog(),null==(S=F.core)?void 0:S.getTraceCtx())).traceFlags=P&&P.getTraceFlags(),Z.requestSentTime=Ud(),Z.errorStatusText=f,G instanceof Request?Z.requestUrl=G?G.url:"":Z.requestUrl=G,S="GET",O&&O.method?S=O.method:G&&G instanceof Request&&(S=G.method),Z.method=S,{});return e&&(new Headers((O? O.headers:0)||G instanceof Request&&G.headers||{})).forEach(function(K,E){Ca(E)&&(w[E]=K)}),Z.requestHeaders=w,H("fetch",Z),Z})(ia,ka),(ia=F.includeCorrelationHeaders(I,ia,ka))!==ka&&T.set(1,ia),v.data=I)},rsp:function(T,ia){var ka;x||(ka=T.ctx().data)&&(T.rslt=T.rslt.then(function(v){return na(0,(v||{}).status,ia,v,ka,function(){var I,G={statusText:(v||{}).statusText,headerMap:null,correlationContext:(O=>{if(O&&O.headers)try{var P=O.headers.get(Da[0]);return Pc.getCorrelationContext(P)}catch(S){Qb(F, 18,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{fetchDiagnosticsMessage:ca(O),exception:pa(S)})}})(v)};return u&&v&&(I={},v.headers.forEach(function(O,P){Ca(P)&&(I[P]=O)}),G.headerMap=I),G}),v}).catch(function(v){throw na(0,0,ia,null,ka,null,v.message||pa(v)),v;}))},hkErr:od(F,15,"Failed to monitor Window.fetch"+Qc)};if(null==ke)try{ke=!!(self&&self instanceof WorkerGlobalScope)}catch(T){ke=!1}ra(sf(L,"fetch",M,!0,ke));a=!0}M=qa}W= (M&&(B.fetch.polyfill=qa),M=F.core.getPlugin("AppInsightsPropertiesPlugin"))}W&&(h=M.plugin.context)};F._doTeardown=function(){ya()};F.trackDependencyData=function(B,L){la(A,F.core,null,B,L)};F.includeCorrelationHeaders=function(B,L,M,R){var W,oa,qa,T,ia,ka,v,I=F._currentWindowHost||c;return W=D,qa=F.core,oa=M,0{var d,e={},f=document.querySelectorAll("[data-tags]");for(d in Array.from(f)){var g,h=f[d].getAttribute("data-tags");h=JSON.parse(h);var k=Object.getOwnPropertyNames(h);for(g in k)k[g]in h&&(e[k[g]]=h[k[g]])}return e})(),a="AEM",b.client=a,b)},manageCv:!0,isLoggedIn:!!(window.msauth&&window.msauth.AuthTicket&&0>>0:0},random32:kc,mwcRandomSeed:function(a){a?yg(a):Ag()},mwcRandom32:Bg,generateW3CId:gb},pj=Dg("plugin"),ah=0;jb=(We.__ieDyn=1,We);Sa(Nd,dh=jb);Nd.__ieDyn=1;var dh,uj=Nd,tj={loggingLevelConsole:1};Xe.__ieDyn=1;eb=Xe;Ye.__ieDyn=1;var vj=Ye;Sa(Pd,fh=eb);Pd.__ieDyn=1;var fh;xa=Pd;var Bk=((t={})[0]=0,t[2]=6,t[1]=1,t[3]=7,t[4098]=6,t[4097]=1,t[4099]=7,t),bc=!!Fa(),Af=!!Qa(),Bb=Xg,gh;Sa(Qd,gh=xa);Qd.__ieDyn=1;eb=Qd;var hh=["c:","i:","w:"],yj={"microsoft.com":"c1.microsoft.com", "xbox.com":"c.xbox.com","live.com":"c.live.com","microsoftstore.com":"c.microsoftstore.com","msn.com":"c.msn.com","windows.com":"c.windows.com","office.com":"c.office.com"};$e.visitorId=function(){return qb(Ab(null),"MUID")};let Pj=$e,Qj=(ih.prototype._recordTimeSpan=function(a,b){var c=(new Date).getTime();if(b)return c-this._timers[a];this._timers[a]=c},ih);var Hc=af({LocalStorage:0,SessionStorage:1});af({AI:0,AI_AND_W3C:1,W3C:2});var Wb=void 0,jh="";t="/v2/track";(xa={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128, MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768}).sanitizeKeyAndAddUniqueness=bf;xa.sanitizeKey=lh;xa.sanitizeString=Va;xa.sanitizeUrl=dd;xa.sanitizeMessage=df;xa.sanitizeException=nh;xa.sanitizeProperties=Xb;xa.sanitizeMeasurements=Yb;xa.sanitizeId=oh;xa.sanitizeInput=cf;xa.padNumber=mh;xa.trim=Ha;Rd.create=Nb;ef.envelopeType="Microsoft.ApplicationInsights.{0}.Event";ef.dataType="EventData";var wf=ef;ff.envelopeType="Microsoft.ApplicationInsights.{0}.Message"; ff.dataType="MessageData";var xf=ff,zj=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0};this.kind=0},Fh=(gf.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",gf.dataType="MetricData",gf);hf.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview";hf.dataType="PageviewData";var Gh=hf;jf.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance";jf.dataType="PageviewPerformanceData";var Hh=jf;Ob.CreateAutoException=function(a,b,c,d,e,f,g,h){var k= Sd(e||f||a),l={};return l.message=ph(a,k),l.url=b,l.lineNumber=c,l.columnNumber=d,l.error=lf(e||f||a),l.evt=lf(f||a),l.typeName=k,l.stackDetails=rh(g||e||f),l.errorSrc=h,l};Ob.CreateFromInterface=function(a,b,c,d){var e=b.exceptions&&Bc(b.exceptions,function(f){return sh.CreateFromInterface(a,f)});return new Ob(a,rb(rb({},b),{exceptions:e}),c,d)};Ob.prototype.toInterface=function(){var a=this,b=a.exceptions,c=a.properties,d=a.measurements,e=a.severityLevel,f=a.problemGroup,g=a.id;a=a.isManual;b=b instanceof Array&&Bc(b,function(k){return k.toInterface()})||void 0;var h={ver:"4.0"};return h.exceptions=b,h.severityLevel=e,h.properties=c,h.measurements=d,h.problemGroup=f,h.id=g,h.isManual=a,h};Ob.CreateSimpleException=function(a,b,c,d,e,f){var g;return{exceptions:[((g={}).hasFullStack=!0,g.message=a,g.stack=e,g.typeName=b,g)]}};Ob.envelopeType="Microsoft.ApplicationInsights.{0}.Exception";Ob.dataType="ExceptionData";Ob.formatError=lf;var $b=Ob;Td.prototype.toInterface=function(){var a=this,b=a.parsedStack instanceof Array&&Bc(a.parsedStack,function(c){return c.toInterface()});return(a={id:a.id,outerId:a.outerId,typeName:a.typeName,message:a.message,hasFullStack:a.hasFullStack,stack:a.stack}).parsedStack=b||void 0,a};Td.CreateFromInterface=function(a,b){var c=b.parsedStack instanceof Array&&Bc(b.parsedStack,function(d){return mf.CreateFromInterface(d)})||b.parsedStack;return new Td(a,rb(rb({},b),{parsedStack:c}))};var sh=Td;Zb.CreateFromInterface=function(a){return new Zb(a,null)};Zb.prototype.toInterface=function(){return{level:this.level, method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}};Zb.regex=/^([\s]+at)?[\s]{0,50}([^@\()]+?)[\s]{0,50}(@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/;Zb.baseSize=58;var mf=Zb,Da=$a({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId\x3dcid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7, "appId"],requestContextHeaderLowerCase:[8,"request-context"]}),uh=Fa()||{},th=0,Aj=[null,null,null,null,null],Mk=["https://dc.services.visualstudio.com"+t,"https://breeze.aimon.applicationinsights.io"+t,"https://dc-int.services.visualstudio.com"+t],Pc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(a,b,c){if(!b||a&&a.disableCorrelationHeaders)return!1;if(a&&a.correlationHeaderExcludePatterns)for(var d=0;dc?"0"+c:c.toString())+":"+(10>a?"0"+a:a.toString())};t={WIN:/(windows|win32)/i,WINRT:/ arm;/i,WINPHONE:/windows\sphone\s\d+\.\d+/i,OSX:/(macintosh|mac os x)/i,IOS:/(ipad|iphone|ipod)(?=.*like mac os x)/i,LINUX:/(linux|joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk)/i,ANDROID:/android/i, CROS:/CrOS/i};var Xj={"5.1":"XP","6.0":"Vista","6.1":"7","6.2":"8","6.3":"8.1","10.0":"10"},Si=[{r:t.WINPHONE,os:"Windows Phone"},{r:t.WINRT,os:"Windows RT"},{r:t.WIN,os:"Windows"},{r:t.IOS,os:"iOS"},{r:t.ANDROID,os:"Android"},{r:t.LINUX,os:"Linux"},{r:t.CROS,os:"Chrome OS"},{s:"x11",os:"Unix"},{s:"blackberry",os:"BlackBerry"},{s:"symbian",os:"Symbian"},{s:"nokia",os:"Nokia"},{r:t.OSX,os:"Mac OS X"}],ck=function(a){if(a.populateOperatingSystemInfo){var b=yb()||{};var c=a.userAgent||b.userAgent||""; a=a.userAgentData||b.userAgentData||{};if(c){a:{b=c.toLowerCase();for(var d=0;d