@microsoft/applicationinsights-channel-js 3.0.2-nightly3.2305-07 → 3.0.2-nightly3.2305-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/es5/{applicationinsights-channel-js.3.0.2-nightly3.2305-07.js → applicationinsights-channel-js.3.0.2-nightly3.2305-11.cjs.js} +139 -82
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-channel-js.3.0.2-nightly3.2305-07.gbl.js → applicationinsights-channel-js.3.0.2-nightly3.2305-11.gbl.js} +141 -57
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.integrity.json +66 -0
- package/browser/es5/{applicationinsights-channel-js.3.0.2-nightly3.2305-07.cjs.js → applicationinsights-channel-js.3.0.2-nightly3.2305-11.js} +166 -55
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-11.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.cjs.js +138 -54
- package/browser/es5/applicationinsights-channel-js.3.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-channel-js.3.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.gbl.js +140 -56
- package/browser/es5/applicationinsights-channel-js.3.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-channel-js.3.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.js +140 -56
- package/browser/es5/applicationinsights-channel-js.3.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.min.js +2 -2
- package/browser/es5/applicationinsights-channel-js.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-channel-js.js +138 -54
- package/dist/es5/applicationinsights-channel-js.js.map +1 -1
- package/dist/es5/applicationinsights-channel-js.min.js +2 -2
- package/dist/es5/applicationinsights-channel-js.min.js.map +1 -1
- package/dist-es5/EnvelopeCreator.js +2 -2
- package/dist-es5/EnvelopeCreator.js.map +1 -1
- package/dist-es5/Interfaces.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/Offline.js +1 -1
- package/dist-es5/SendBuffer.js +1 -1
- package/dist-es5/Sender.js +2 -2
- package/dist-es5/Sender.js.map +1 -1
- package/dist-es5/Serializer.js +1 -1
- package/dist-es5/TelemetryProcessors/Sample.js +1 -1
- package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
- package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-channel-js.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-channel-js.d.ts +1 -1
- package/types/applicationinsights-channel-js.namespaced.d.ts +1 -1
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.cjs.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.integrity.json +0 -66
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.2-nightly3.2305-07.min.js.map +0 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Application Insights JavaScript SDK - Channel, 3.0.2-nightly3.2305-11
|
|
3
|
+
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
"use strict";var a="object",u="undefined",c="prototype",s=Object,D=s[c],k=undefined,A="",R="function",E="object",M="prototype",P="undefined",L="constructor",O="Symbol",z="_polyfill",e="indexOf",F="length",U="value",j="name",B="slice",m=Object,q=m[M],V=String,n=V[M],H=Math,t=Array,K=t[M];function X(e,n){try{n=e()}catch(t){}return n}function J(n){return function(e){return typeof e===n}}function $(e){return q.toString.call(e)}function W(e){return typeof e===P||e===P}function Y(e){return null===e||W(e)}function G(e){return!!e||e!==k}var h=J("string"),b=J(R);function ce(e){return!(!e&&Y(e)||!e||typeof e!==E)}var Z=t.isArray,se=J("number"),fe=J("boolean"),le=function(e){return!(!e||"[object Error]"!==$(e))};function de(e){return e&&b(e.then)}function ve(e){return!(!e||X(function(){return!(e&&0+e)},!e))}var pe=m.getOwnPropertyDescriptor;function p(e,n){return e&&q.hasOwnProperty.call(e,n)}var ge=m.hasOwn||function(e,n){return p(e,n)||!!pe(e,n)};function y(e,n,t){if(e&&ce(e))for(var r in e)if(ge(e,r)&&-1===n.call(t||e,r,e[r]))break}function he(e,t,r,n){var i={};return y(e,function(e,n){i[e]=t?n:e,i[n]=r?n:e}),n(i)}function me(e){throw new TypeError(e)}var ye=m.freeze,t=function(e){return e},be=m.assign;function we(e){return ce(e)&&null!==e||me("objKeys called on non-object"),m.keys(e)}function Ie(e){return ye&&y(e,function(e,n){(Z(n)||ce(n))&&ye(n)}),xe(e)}var _e,xe=ye||t,Se=m.getPrototypeOf||t,Ce=he({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12},0,0,Ie),Te=V,Ne="__tsUtils$gblCfg";function De(){var e;return(e=(e=(e=typeof globalThis!==P?globalThis:e)||typeof self===P?e:self)||typeof window===P?e:window)||typeof global===P?e:global}function ke(){var e;return _e||(e=De()||{},_e=e[Ne]=e[Ne]||{}),_e}function Q(e,n){var t=A;if(le(e))t="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'";else try{t=JSON.stringify(e,null,n?se(n)?n:4:k)}catch(r){t=" - "+Q(r,n)}return $(e)+": "+t}function Ae(r,i,o){return function(e){var n,t=e&&e[r]||i&&i[r];if(t||o)return n=arguments,(t||o).apply(e,t?K[B].call(n,1):n);me("'"+Te(r)+"' not defined for "+Q(e))}}var Re,Ee=H.max,Me=Ae(B,n),Pe=Ae("substr",n,function(e,n,t){return Y(e)&&me("'polyStrSubstr called with invalid "+Q(e)),t<0?A:((n=n||0)<0&&(n=Ee(n+e[F],0)),W(t)?Me(e,n):Me(e,n,n+t))}),Le={};function Oe(e){var n={description:Te(e),toString:function(){return O+"("+e+")"}};return n[z]=!0,n}var r,ze={e:"enumerable",c:"configurable",v:U,w:"writable",g:"get",s:"set"},Fe=m.defineProperty;function Ue(e,n,t){var r,i;Fe(e,n,(r=t,(i={})[ze.c]=!0,i[ze.e]=!0,r.l&&(i.get=function(){return r.l.v},(e=pe(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e})),y(r,function(e,n){i[ze[e]]=W(n)?i[ze[e]]:n}),i))}var je=function(){r=ke(),je=null};function Be(n){var t={};return je&&je(),t.b=r.lzy,Fe(t,"v",{configurable:!0,get:function(){var e=n();return r.lzy||(Fe(t,"v",{value:e}),t.b&&delete t.b),r.lzy&&t.b!==r.lzy&&(t.b=r.lzy),e}}),t}function qe(e,n){return Be(function(){return X(e,n)})}var Ve,He,Ke,Xe,Je,i,$e,Ge,We="window";function Ye(e){return qe(function(){return w(e)||k},k)}function Ze(e){return(Ve=!Ve||!1===e||r.lzy&&!Ve.b?qe(De,null):Ve).v}function w(e,n){n=Ze(n);return n&&n[e]?n[e]:e===We&&He?He.v:null}function Qe(){return(Ke=!Ke||r.lzy&&!Ke.b?Ye("document"):Ke).v}function en(){return(He=!He||r.lzy&&!He.b?Ye(We):He).v}function nn(){return(Xe=!Xe||r.lzy&&!Xe.b?Ye("navigator"):Xe).v}function tn(e){return qe(function(){return i.v?i[e]:k},k)}function rn(){var e=!i||r&&r.lzy&&!i.b;return e&&(i=Ye(O)),$e&&!e||($e=tn("for")),Ge&&!e||(Ge=tn("keyFor")),i.v}function on(e,n){var t=Ce[e];return i&&(!r.lzy||i.b)||rn(),i.v?i.v[t||e]:n?k:(t=Ce[e])?Le[t]=Le[t]||Oe(O+"."+t):void 0}function an(e,n){return i&&(!r.lzy||i.b)||rn(),i.v?i.v(e):n?null:Oe(e)}function un(e){return $e&&(!r.lzy||i.b)||rn(),($e.v||function(e){Re||(t=ke(),Re=t.gblSym=t.gblSym||{k:{},s:{}});var n,t=Re;return ge(t,e)||(n=Oe(e),t.k[e]=n,t.s[n]=Te(e)),t.k[e]})(e)}function cn(e){return e&&b(e.next)}function sn(e,n,t){var r;if(e&&(cn(e)||(e=e[r=on(3)]?e[r]():null),cn(e)))try{for(var i=0,o=e.next();!o.done&&-1!==n.call(t||e,o[U],i,e);)i++,o=e.next();e["return"]&&e["return"](o)}catch(a){e["throw"]&&e["throw"](a)}}function ee(e,n,t){if(e)for(var r=e[F]>>>0,i=0;i<r&&!(i in e&&-1===n.call(t||e,e[i],i,e));i++);}var fn=Ae(e,K),ln=Ae("map",K),dn=Ae(B,K),vn=function(e,n){try{e[M][j]=n}catch(t){}};function pn(){return(Date.now||function(){return(new Date).getTime()})()}var gn,hn,mn,yn=/^\s+|(?=\s)\s+$/g,bn=Ae("trim",n,function(e){return Y(e)&&me("strTrim called ["+Q(e)+"]"),e&&e.replace?e.replace(yn,A):e});function wn(e){if(!e||typeof e!==E)return!1;var n=!1;if(e!==(mn=mn||!en()||en())){hn||(gn=Function[M].toString,hn=gn.call(m));try{var t=Se(e),n=(n=!t)||(t=p(t,L)?t[L]:t)&&typeof t===R&&gn.call(t)===hn}catch(r){}}return n}var In=m.create||function(e){if(!e)return{};var n=typeof e;if(n===E||n===R)return t[M]=e,new t;function t(){}throw new TypeError("Prototype must be an Object or function: "+Q(e))},_n=Ae(e,n),xn="unref",Sn="hasRef",Cn="enabled";function Tn(){return n=this,e=k,t=dn(arguments),d=(l=Z(e))?e.length:0,v=(0<d?e[0]:l?k:e)||setTimeout,p=(1<d?e[1]:k)||clearTimeout,g=t[0],t[0]=function(){h.dn(),g.apply(n,arguments)},i=function(e){p.call(n,e)},a=!0,u=(r=function(e){if(e){if(e.refresh)return e.refresh(),e;p.call(n,e)}return v.apply(n,t)})(null),(l={cancel:f=function(){u&&i(u),u=null},refresh:s=function(){return u=r(u),a||c(),o},hasRef:function(){return u&&u[Sn]?u[Sn]():a},ref:function(){return a=!0,u&&u.ref&&u.ref(),o}})[xn]=c=function(){return a=!1,u&&u[xn]&&u[xn](),o},l[Cn]=!1,Fe(o=l,Cn,{get:function(){return!!u},set:function(e){!e&&u&&f(),e&&!u&&s()}}),(h={h:o,dn:function(){u=null}}).h;var n,e,t,r,i,o,a,u,c,s,f,l,d,v,p,g,h}(Ze()||{}).Symbol,(Ze()||{}).Reflect;var Nn="hasOwnProperty",Dn=be||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])D[Nn].call(n,i)&&(e[i]=n[i]);return e},kn=function(e,n){return(kn=s.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[Nn](t)&&(e[t]=n[t])})(e,n)};function An(e,n){function t(){this.constructor=e}"function"!=typeof n&&null!==n&&me("Class extends value "+n+" is not a constructor or null"),kn(e,n),e[c]=null===n?In(n):(t[c]=n[c],new t)}var Rn="constructor",En="prototype",Mn="function",Pn="_dynInstFuncs",Ln="_isDynProxy",On="_dynClass",zn="_dynInstChk",Fn=zn,Un="_dfOpts",jn="_unknown_",Bn="__proto__",qn="_dyn"+Bn,t="__dynProto$Gbl",Vn="_dynInstProto",Hn="useBaseInst",Kn="setInstFuncs",Xn=Object,Jn=Xn.getPrototypeOf,$n=Xn.getOwnPropertyNames,V=Ze(),Gn=V[t]||(V[t]={o:((H={})[Kn]=!0,H[Hn]=!0,H),n:1e3});function Wn(e){return e&&(e===Xn[En]||e===Array[En])}function Yn(e){return Wn(e)||e===Function[En]}function Zn(e){if(e){if(Jn)return Jn(e);var n=e[Bn]||e[En]||(e[Rn]?e[Rn][En]:null),t=e[qn]||n;p(e,qn)||(delete e[Vn],t=e[qn]=e[Vn]||e[qn],e[Vn]=n)}return t}function Qn(e,n){var t=[];if($n)t=$n(e);else for(var r in e)"string"==typeof r&&p(e,r)&&t.push(r);if(t&&0<t.length)for(var i=0;i<t.length;i++)n(t[i])}function et(e,n,t){return n!==Rn&&typeof e[n]===Mn&&(t||p(e,n))}function nt(e){me("DynamicProto: "+e)}function tt(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function rt(e,n){return p(e,En)?e.name||n||jn:((e||{})[Rn]||{}).name||n||jn}function it(e,r,n,t){p(e,En)||nt("theClass is an invalid class definition.");var i,o,a,u,c,s,f=e[En],l=(function(e){if(!Jn)return 1;for(var n=[],t=Zn(r);t&&!Yn(t)&&!tt(n,t);){if(t===e)return 1;n.push(t),t=Zn(t)}}(f)||nt("["+rt(e)+"] not in hierarchy of ["+rt(r)+"]"),null),e=(p(f,On)?l=f[On]:(l="_dynCls$"+rt(e,"_")+"$"+Gn.n,Gn.n++,f[On]=l),it[Un]),d=!!e[Hn],v=(d&&t&&t[Hn]!==undefined&&(d=!!t[Hn]),o={},Qn(i=r,function(e){!o[e]&&et(i,e,!1)&&(o[e]=i[e])}),o),d=(n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[Ln]&&o&&!1!==(r=e[Pn]||{})[Fn]&&(i=(r[n[On]]||{})[t]||i),function(){return i.apply(e,arguments)}}for(var i={},a=(Qn(t,function(e){i[e]=r(n,t,e)}),Zn(e)),u=[];a&&!Yn(a)&&!tt(u,a);)Qn(a,function(e){!i[e]&&et(a,e,!Jn)&&(i[e]=r(n,a,e))}),u.push(a),a=Zn(a);return i}(f,r,v,d)),!!Jn&&!!e[Kn]);a=f,n=l,u=r,c=v,e=!1!==(d=d&&t?!!t[Kn]:d),Wn(a)||(f=u[Pn]=u[Pn]||{},s=f[n]=f[n]||{},!1!==f[Fn]&&(f[Fn]=!!e),Qn(u,function(e){var t,r,i;et(u,e,!1)&&u[e]!==c[e]&&(s[e]=u[e],delete u[e],p(a,e)&&(!a[e]||a[e][Ln])||(a[e]=(t=a,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&p(t,On)){var o=e[Pn]||{};if((i=(o[t[On]]||{})[n])||nt("Missing ["+n+"] "+Mn),!i[zn]&&!1!==o[Fn]){for(var a=!p(e,n),u=Zn(e),c=[];a&&u&&!Yn(u)&&!tt(c,u);){var s=u[n];if(s){a=s===r;break}c.push(u),u=Zn(u)}try{a&&(e[n]=i),i[zn]=1}catch(f){o[Fn]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?Zn(t)[e]:n)!==Mn&&nt("["+e+"] is not a "+Mn),n)).apply(this,arguments)})[Ln]=1,i)))}))}it[Un]=Gn.o;var ot,e=function(e){return he(e,1,0,Ie)},at="toLowerCase",ut="blkVal",ne="length",ct="rdOnly",st="notify",ft="warnToConsole",lt="throwInternal",dt="setDf",vt="watch",pt="logger",gt="apply",I="push",ht="splice",mt="hdlr",yt="identifier",bt="isInitialized",wt="getPlugin",It="name",_t="time",xt="processNext",St="unload",Ct="createNew",Tt="teardown",Nt="messageId",Dt="message",kt="isAsync",At="diagLog",Rt="_doTeardown",Et="update",Mt="getNext",Pt="setNextPlugin",Lt="userAgent",Ot="split",zt="nodeType",Ft="replace",Ut="type",jt="handler",Bt="isChildEvt",qt="getCtx",Vt="setCtx",Ht="complete";function Kt(e,n){var t=function(e){n&&n({value:e,rejected:!1})};de(e)?e.then(t,function(e){n&&n({rejected:!0,reason:e})}):t(e)}var Xt,Jt,$t,Gt,Wt=["pending","resolving","resolved","rejected"],Yt="dispatchEvent",Zt="Promise";function Qt(e){return b(e)?e.toString():Q(e)}function er(n,t,e){var u,r=dn(arguments,3),c=0,s=!1,f=[],l=!1,i=null,o=(Jt=Jt||Ye(Zt+"RejectionEvent"),function(o,a){l=!0,i&&i.cancel(),i=null,h(),Qt(o),Qt(o);var e=n(function(r,i){f.push(function(){try{h(),Qt(u);var e=2===c?o:a,n=W(e)?u:b(e)?e(u):e;h(),Qt(n),de(n)?n.then(r,i):(e||3!==c?r:i)(n)}catch(t){i(t)}}),h(),f.length,s&&d()},r);return h(),e.toString(),e}),a=function(){return Wt[c]},d=function(){var e;0<f.length?(e=f.slice(),f=[],h(),e.length,l=!0,t(e),h(),i&&i.cancel(),i=null):h()},v=function(n,t){return function(e){if(c===t){if(2===n&&de(e))return c=1,h(),void e.then(v(2,1),v(3,1));c=n,s=!0,u=e,h(),a(),d(),l||3!==n||i||(i=Tn(p,10))}else h(),a()}},p=function(){var e,n,t,r,i;l||((Je=Je||qe(function(){return!(!process||!(process.versions||{}).node)},!1)).v?(h(),process.emit("unhandledRejection",u,g)):(t=en()||Ze(),h(),t=t,e="unhandledrejection",n=function(e){return Ue(e,"promise",{g:function(){return g}}),e.reason=u,e},i=!!Jt.v,r=Qe(),n(i=(Xt=Xt||qe(function(){var e;return!!(e=r&&r.createEvent?r.createEvent("Event"):e)&&e.initEvent},null)).v?r.createEvent("Event"):i?new Event(e):{}),Xt.v&&i.initEvent(e,!1,!0),i&&t[Yt]?t[Yt](i):(n=t["on"+e])?n(i):(t=w("console"))&&(t.error||t.log)(e,Q(i))))},g={then:o,"catch":function(e){return o(undefined,e)},"finally":function(n){var e=n,t=n;return b(n)&&(e=function(e){return n&&n(),e},t=function(e){throw n&&n(),e}),o(e,t)}},h=(Fe(g,"state",{get:a}),rn()&&(g[on(11)]="IPromise"),function(){return"IPromise "+a()+(s?" - "+Qt(u):"")}),m=(g.toString=h,b(e)||me(Zt+": executor is not a function - "+Qt(e)),v(3,0));try{h(),e.call(g,v(2,0),m)}catch(y){m(y)}return h(),g}function nr(e,n){return er(nr,(r=se(t=n)?t:0,function(e){Tn(function(){ee(e,function(e){try{e()}catch(n){}})},r)}),e,n);var t,r}function tr(e,n){var t=($t=$t||Ye(Zt)).v;if(!t)return nr(e);b(e)||me(Zt+": executor is not a function - "+Q(e));var r=0,t=new t(function(n,t){e(function(e){r=2,n(e)},function(e){r=3,t(e)})});return Fe(t,"state",{get:function(){return Wt[r]}}),t}function rr(e,n){return(Gt=Gt||Be(function(){return tr})).v.call(this,e,n)}var ir=undefined,te="",g="core",or="disabled",ar="extensionConfig",ur="processTelemetry",cr="priority",sr="getPerfMgr",fr="Not dynamic - ",lr=/-([a-z])/g,dr=/([^\w\d_$])/g,vr=/^(\d+[\w\d_$])/;function pr(e){return e&&h(e)?(e=(e=e[Ft](lr,function(e,n){return n.toUpperCase()}))[Ft](dr,"_"))[Ft](vr,function(e,n){return"_"+n}):e}function gr(e,n){return!(!e||!n)&&-1!==_n(e,n)}function hr(e){return e&&e.toISOString()||""}function re(e){return le(e)?e[It]:te}function mr(e,n,t,r,i){var o,a,u;e&&n&&t&&(!1===i&&!W(e[n])||(e[n]=(o=r,u=a=null,b(i=t)?a=i:u=i,function(){var e=arguments;if(u=a?a():u)return u[o][gt](u,e)})))}function yr(e){return e&&be?s(be({},e)):e}var br="console",wr="JSON",Ir="msie",_r="trident/",xr="XMLHttpRequest",Sr=null,Cr=null,Tr=null,Nr=null;function Dr(e,n){var t,r=!1;if(e){try{(r=n in e)||(t=e[c])&&(r=n in t)}catch(i){}if(!r)try{r=!W((new e)[n])}catch(i){}}return r}function kr(){return typeof JSON===a&&JSON||null!==w(wr)}function Ar(){return kr()?JSON||w(wr):null}function Rr(){return Nr=null===Nr?!!nn()&&!!nn().sendBeacon:Nr}function Er(e){var n=!1;try{var n=!!w("fetch"),t=w("Request");n&&e&&t&&(n=Dr(t,"keepalive"))}catch(r){}return n}function Mr(){return Tr=null===Tr&&(Tr=typeof XDomainRequest!==u)&&Pr()?Tr&&!Dr(w(xr),"withCredentials"):Tr}function Pr(){var e=!1;try{e=!!w(xr)}catch(n){}return e}var Lr=4294967296,Or=4294967295,zr=123456789,Fr=987654321,Ur=!1,jr=zr,Br=Fr;function qr(e){var n,t=0,r=w("crypto")||w("msCrypto");if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&Or:t)&&(!(r=nn())||r[Lt]===Cr&&null!==Sr||(r=((Cr=r[Lt])||te)[at](),Sr=gr(r,Ir)||gr(r,_r)),Sr)){if(!Ur)try{var i=2147483647&pn();(n=(Math.random()*Lr^i)+i)<0&&(n>>>=0),jr=zr+n&Or,Br=Fr-n&Or,Ur=!0}catch(o){}r=((Br=36969*(65535&Br)+(Br>>16)&Or)<<16)+(65535&(jr=18e3*(65535&jr)+(jr>>16)&Or))>>>0&Or|0,t=(r>>>=0)&Or}return 0===t&&(t=Math.floor(Lr*Math.random()|0)),e||(t>>>=0),t}var Vr="3.0.2-nightly3.2305-11",Hr="."+function(e){void 0===e&&(e=22);for(var n=qr()>>>0,t=0,r=te;r[ne]<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(qr()<<2&4294967295|3&n)>>>0,t=0);return r}(6),Kr=0;function Xr(e){return 1===e[zt]||9===e[zt]||!+e[zt]}function Jr(e,n){return pr(e+Kr+++((n=void 0!==n&&n)?"."+Vr:te)+Hr)}function $r(e){var o={id:Jr("_aiData-"+(e||te)+"."+Vr),accept:Xr,get:function(e,n,t,r){var i=e[o.id];return i?i[pr(n)]:(r&&((i=function(e,n){var t=n[e.id];if(!t){t={};try{Xr(n)&&Ue(n,e.id,{e:!1,v:t})}catch(r){}}return t}(o,e))[pr(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}};return o}function Gr(e){return e&&ce(e)&&(e.isVal||e.fb||ge(e,"v")||ge(e,"mrg")||ge(e,"ref")||e.set)}function Wr(e,n,t){var r,i=t.dfVal||G;if(n&&t.fb){var o=t.fb;Z(o)||(o=[o]);for(var a=0;a<o[ne];a++){var u=o[a],c=n[u];if(i(c)?r=c:e&&(i(c=e.cfg[u])&&(r=c),e.set(e.cfg,Te(u),c)),i(r))break}}return!i(r)&&i(t.v)?t.v:r}function Yr(t,e,n,r){var i,o,a,u,c,s,f=r,f=Gr(f)?(i=f.isVal,o=f.set,c=f[ct],l=f[ut],a=f.mrg,!(u=f.ref)&&W(u)&&(u=!!a),Wr(t,e,f)):r,r=(l&&t[ut](e,n),!0),l=e[n];!l&&Y(l)||(s=l,r=!1,i&&s!==f&&!i(s)&&(s=f,r=!0),o&&(r=(s=o(s,f,e))===f)),r?s=f&&function d(t,r,e){var i,n=e;return(n=e&&Gr(e)?Wr(t,r,e):n)&&(Gr(n)&&(n=d(t,r,n)),Z(n)?(i=[])[ne]=n[ne]:wn(n)&&(i={}),i&&(y(n,function(e,n){n&&Gr(n)&&(n=d(t,r,n)),i[e]=n}),n=i)),n}(t,e,f):(wn(s)||Z(f))&&a&&f&&(wn(f)||Z(f))&&y(f,function(e,n){Yr(t,s,e,n)}),t.set(e,n,s),u&&t.ref(e,n),c&&t[ct](e,n)}var Zr=un("[[ai_dynCfg_1]]"),Qr=un("[[ai_blkDynCfg_1]]"),ei=un("[[ai_frcDynCfg_1]]");function ni(e,n,t){var r=!1;return!t||e[n.blkVal]||(r=t[ei])||t[Qr]?r:wn(t)||Z(t)}function ti(e){me("InvalidAccess:"+e)}var ri=["push","pop","shift","unshift","splice"],ii=function(e,n,t,r){e&&e[lt](3,108,"".concat(t," [").concat(n,"] failed - ")+Q(r))};function oi(e,n){e=pe(e,n);return e&&e.get}function ai(i,o,a,u){var c={n:a,h:[],trk:function(e){e&&e.fn&&(-1===fn(c.h,e)&&c.h[I](e),i.trk(e,c))},clr:function(e){e=fn(c.h,e);-1!==e&&c.h[ht](e,1)}},s=!0,f=!1;function l(){s&&(f=f||ni(l,i,u),u&&!u[Zr]&&f&&(u=si(i,u,a,"Converting")),s=!1);var e=i.act;return e&&c.trk(e),u}l[i.prop]={chng:function(){i.add(c)}},Ue(o,c.n,{g:l,s:function(n){if(u!==n){l[i.ro]&&!i.upd&&ti("["+a+"] is read-only:"+Q(o)),s&&(f=f||ni(l,i,u),s=!1);var e,t=f&&l[i.rf];if(f)if(t){y(u,function(e){u[e]=n?n[e]:ir});try{y(n,function(e,n){ui(i,u,e,n)}),n=u}catch(r){ii((i.hdlr||{})[pt],a,"Assigning",r),f=!1}}else u&&u[Zr]&&y(u,function(e){var e=oi(u,e);e&&(e=e[i.prop])&&e.chng()});n!==u&&(e=n&&ni(l,i,n),!t&&e&&(n=si(i,n,a,"Converting")),u=n,f=e),i.add(c)}}})}function ui(e,n,t,r){var i;return n&&((i=oi(n,t))&&i[e.prop]?n[t]=r:ai(e,n,t,r)),n}function ci(e,n,t,r){if(n){var i=oi(n,t),o=i&&!!i[e.prop],a=r&&r[0],u=r&&r[1],r=r&&r[2];if(!o){if(r)try{var c=n;if(c&&(wn(c)||Z(c)))try{c[Qr]=!0}catch(s){}}catch(f){ii((e.hdlr||{})[pt],t,"Blocking",f)}try{ui(e,n,t,n[t]),i=oi(n,t)}catch(f){ii((e.hdlr||{})[pt],t,"State",f)}}a&&(i[e.rf]=a),u&&(i[e.ro]=u),r&&(i[e.blkVal]=!0)}return n}function si(t,r,e,n){try{y(r,function(e,n){ui(t,r,e,n)}),r[Zr]||(Fe(r,Zr,{get:function(){return t[mt]}}),i=t,a=e,Z(o=r)&&ee(ri,function(e){var r=o[e];o[e]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=r[gt](this,e);return si(i,o,a,"Patching"),t}}))}catch(u){ii((t.hdlr||{})[pt],e,n,u)}var i,o,a;return r}var fi="[[ai_",li="]]";function di(o){var a,e=an(fi+"get"+o.uid+li),n=an(fi+"ro"+o.uid+li),t=an(fi+"rf"+o.uid+li),r=an(fi+"blkVal"+o.uid+li),d=an(fi+"dtl"+o.uid+li),v=null,p=null;function g(n,e){var t=a.act;try{(a.act=n)&&n[d]&&(ee(n[d],function(e){e.clr(n)}),n[d]=[]),e({cfg:o.cfg,set:o.set.bind(o),setDf:o[dt].bind(o),ref:o.ref.bind(o),rdOnly:o[ct].bind(o)})}catch(i){var r=o[pt];throw r&&r[lt](1,107,Q(i)),i}finally{a.act=t||null}}function h(){if(v){var e,n,t,r,i,o,a,u,c=v,s=(v=null,p&&p.cancel(),p=null,[]);if(ee(c,function(n){if(n&&(n[d]&&(ee(n[d],function(e){e.clr(n)}),n[d]=null),n.fn))try{g(n,n.fn)}catch(e){s[I](e)}}),v)try{h()}catch(l){s[I](l)}function f(){this.constructor=e,this[j]="AggregationError"}if(0<s[ne])throw c="Watcher error(s): ",t=s,ot||(i=function(e,n){1<n[ne]&&(e.errors=n[1])},a=(o=Error)[M][j],r="AggregationError",n=o,(m.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(t,e){y(e,function(e,n){return t[e]=n})})(e=function(){var e=this;try{vn(o,r),(e=o.apply(e,arguments)||e)[j]=r,i(e,arguments)}finally{vn(o,a)}return e},n),f[M]=n[M],e[M]=new f,ot=e),u=c||"One or more errors occurred.",ee(t,function(e,n){u+="\n".concat(n," > ").concat(Q(e))}),new ot(u,t||[])}}return(e={prop:e,ro:n,rf:t})[ut]=r,e[mt]=o,e.add=function(e){if(e&&0<e.h[ne]){v=v||[],p=p||Tn(function(){p=null,h()},0);for(var n=0;n<e.h[ne];n++){var t=e.h[n];t&&-1===fn(v,t)&&v[I](t)}}},e[st]=h,e.use=g,e.trk=function(e,n){e&&(e=e[d]=e[d]||[],-1===fn(e,n)&&e[I](n))},a=e}function vi(i,n,e){var t,r=function(){if(n){var e=n[Zr]||n;if(e.cfg&&(e.cfg===n||e.cfg[Zr]===e))return e}return null}();if(r)return r;var o,r=Jr("dyncfg",!0),e=n&&!1!==e?n:function u(e){var t;return e&&(Z(e)?(t=[])[ne]=e[ne]:wn(e)&&(t={}),t)?(y(e,function(e,n){t[e]=u(n)}),t):e}(n),a=((t={uid:null,cfg:e})[pt]=i,t[st]=function(){o[st]()},t.set=function(e,n,t){try{e=ui(o,e,n,t)}catch(r){ii(i,n,"Setting value",r)}return e[n]},t[dt]=function(t,e){return e&&y(e,function(e,n){Yr(a,t,e,n)}),t},t[vt]=function(e){return t={fn:n=e,rm:function(){t.fn=null,n=null}},o.use(t,n),t;var n,t},t.ref=function(e,n){return ci(o,e,n,((e={})[0]=!0,e))[n]},t[ct]=function(e,n){return ci(o,e,n,((e={})[1]=!0,e))[n]},t[ut]=function(e,n){return ci(o,e,n,((e={})[2]=!0,e))[n]},t._block=function(t,r){o.use(null,function(e){var n=o.upd;try{W(r)||(o.upd=r),t(e)}finally{o.upd=n}})},t);return Ue(a,"uid",{c:!1,e:!1,w:!1,v:r}),si(o=di(a),e,"config","Creating"),a}function pi(e,n,t,r){t=vi(t,e||{},r);return n&&t[dt](t.cfg,n),t}function gi(e,n,t){var r,i,o=e[Zr]||e;return!o.cfg||o.cfg!==e&&o.cfg[Zr]!==o?(r=t,i=fr+Q(e),r?(r[ft](i),r[lt](2,108,i)):ti(i),pi(e,null,t)[vt](n)):o[vt](n)}function hi(e,n,t){return!e&&Y(e)?n:fe(e)?e:"true"===Te(e)[at]()}function mi(e,n,t){return{fb:t,isVal:e,v:n}}function yi(e,n){return{fb:n,set:hi,v:!!e}}var bi=null,wi="warnToConsole",Ii={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},_i=((n={})[0]=null,n[1]="errorToConsole",n[2]=wi,n[3]="debugToConsole",n);function xi(e){return e?'"'+e[Ft](/\"/g,te)+'"':te}function Si(e,n){var t,r=typeof console!==u?console:w(br);r&&(t="log",r[e]&&(t=e),b(r[t])&&r[t](n))}Ti.dataType="MessageData";var Ci=Ti;function Ti(e,n,t,r){void 0===t&&(t=!1),this[Nt]=e,this[Dt]=(t?"AI: ":"AI (Internal): ")+e;t=te,kr()&&(t=Ar().stringify(r)),e=(n?" message:"+xi(n):te)+(r?" props:"+xi(t):te);this[Dt]+=e}function Ni(e,n){return(e||{})[pt]||new Di(n)}ki.__ieDyn=1;var Di=ki;function ki(i){this.identifier="DiagnosticLogger",this.queue=[];var c,s,f,l,n,d=0,v={};it(ki,this,function(o){function a(e,n){var t,r;f<=d||(r=!0,t="AITR_"+n[Nt],v[t]?r=!1:v[t]=!0,r&&(e<=s&&(o.queue[I](n),d++,u(1===e?"error":"warn",n)),d===f&&(r=new Ci(23,t="Internal events throttle limit per PageView reached for this app.",!1),o.queue[I](r),1===e?o.errorToConsole(t):o[ft](t))))}function u(e,n){var t,r=(t=(t=bi)||!0===(i||{}).disableDbgExt?t:bi||(r=w("Microsoft"),bi=r?r.ApplicationInsights:bi))?t.ChromeDbgExt:null;r&&r[At]&&r[At](e,n)}n=gi(pi(i||{},Ii,o).cfg,function(e){e=e.cfg;c=e.loggingLevelConsole,s=e.loggingLevelTelemetry,f=e.maxMessageLimit,l=e.enableDebug}),o.consoleLoggingLevel=function(){return c},o[lt]=function(e,n,t,r,i){n=new Ci(n,t,i=void 0!==i&&i,r);if(l)throw Q(n);t=_i[e]||wi;W(n[Dt])?u("throw"+(1===e?"Critical":"Warning"),n):(i?(r=+n[Nt],!v[r]&&e<=c&&(o[t](n[Dt]),v[r]=!0)):e<=c&&o[t](n[Dt]),a(e,n))},o.debugToConsole=function(e){Si("debug",e),u("warning",e)},o[ft]=function(e){Si("warn",e),u("warning",e)},o.errorToConsole=function(e){Si("error",e),u("error",e)},o.resetInternalMessageCount=function(){d=0,v={}},o.logInternalMessage=a,o[St]=function(e){n&&n.rm(),n=null}})}function Ai(e){return e||new Di}function ie(e,n,t,r,i,o){void 0===o&&(o=!1),Ai(e)[lt](n,t,r,i,o)}function Ri(e,n){Ai(e)[ft](n)}var Ei="ParentContextKey",Mi="ChildrenContextKey",Pi=(Li.ParentContextKey="parent",Li.ChildrenContextKey="childEvts",Li);function Li(e,n,t){var r,i=this;i.start=pn(),i[It]=e,i[kt]=t,i[Bt]=function(){return!1},b(n)&&Ue(i,"payload",{g:function(){return!r&&b(n)&&(r=n(),n=null),r}}),i[qt]=function(e){return e?(e===Li[Ei]||e===Li[Mi]?i:i.ctx||{})[e]:null},i[Vt]=function(e,n){e&&(e===Li[Ei]?(i[e]||(i[Bt]=function(){return!0}),i[e]=n):e===Li[Mi]?i[e]=n:(i.ctx=i.ctx||{})[e]=n)},i[Ht]=function(){var e=0,n=i[qt](Li[Mi]);if(Z(n))for(var t=0;t<n[ne];t++){var r=n[t];r&&(e+=r[_t])}i[_t]=pn()-i.start,i.exTime=i[_t]-e,i[Ht]=function(){}}}var Oi="CoreUtils.doPerf";function zi(e,n,t,r,i){if(e)if(e=e[sr]?e[sr]():e){var o,a=void 0,u=e[qt](Oi);try{if(a=e.create(n(),r,i))return u&&a[Vt]&&(a[Vt](Pi[Ei],u),u[qt]&&u[Vt]&&((o=u[qt](Pi[Mi]))||(o=[],u[Vt](Pi[Mi],o)),o[I](a))),e[Vt](Oi,a),t(a)}catch(c){a&&a[Vt]&&a[Vt]("exception",c)}finally{a&&e.fire(a),e[Vt](Oi,u)}}t()}var Fi=$r("plugin");function Ui(e){return Fi.get(e,"state",{},!0)}var ji="TelemetryPluginChain",Bi="_hasRun",qi="_getTelCtx",Vi=0;function Hi(e,o,t,n){var r=null,i=[],a=(o=o||pi({},null,t[pt]),null!==n&&(r=n?function(e,n,t){for(;e;){if(e[wt]()===t)return e;e=e[Mt]()}return Xi([t],n.config||{},n)}(e,t,n):e),{_next:function(){var e,n=r;return r=n?n[Mt]():null,n||(e=i)&&0<e[ne]&&(ee(e,function(e){try{e.func.call(e.self,e.args)}catch(n){ie(t[pt],2,73,"Unexpected Exception during onComplete - "+Q(n))}}),i=[]),n},ctx:{core:function(){return t},diagLog:function(){return Ni(t,o.cfg)},getCfg:function(){return o.cfg},getExtCfg:function(e,n){var r=u(e,!0);return n&&y(n,function(e,n){var t;!Y(r[e])||!(t=o.cfg[e])&&Y(t)||(r[e]=t),Yr(o,r,e,n)}),o[dt](r,n)},getConfig:function(e,n,t){void 0===t&&(t=!1);var r,e=u(e,!1),i=o.cfg;return!e||!e[n]&&Y(e[n])?!i[n]&&Y(i[n])||(r=i[n]):r=e[n],r||!Y(r)?r:t},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(e){r=e},iterate:function(e){for(;n=a._next();){var n=n[wt]();n&&e(n)}},onComplete:function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e&&i[I]({func:e,self:W(n)?a.ctx:n,args:t})}}});function u(e,n){var t,r=null,i=o.cfg;return i&&e&&(t=i[ar],i[ar]=t=!t&&n?{}:t,(t=o.ref(i,ar))&&(r=t[e],t[e]=r=!r&&n?{}:r,r=o.ref(t,e))),r}return a}function Ki(e,n,t,r){var i=pi(n),o=Hi(e,i,t,r),a=o.ctx;return a[xt]=function(e){var n=o._next();return n&&n[ur](e,a),!n},a[Ct]=function(e,n){return Ki((e=Z(e=void 0===e?null:e)?Xi(e,i.cfg,t,n):e)||a[Mt](),i.cfg,t,n)},a}function Xi(e,n,t,r){var i,o=null,a=!r;return Z(e)&&0<e[ne]&&(i=null,ee(e,function(e){(a=!a&&r===e||a)&&e&&b(e[ur])&&(e=Ji(e,n,t),o=o||e,i&&i._setNext(e),i=e)})),r&&!o?Xi([r],n,t):o}function Ji(c,r,i){var s=null,o=b(c[ur]),a=b(c[Pt]),f=c?c[yt]+"-"+c[cr]+"-"+Vi++:"Unknown-0-"+Vi++,u={getPlugin:function(){return c},getNext:function(){return s},processTelemetry:function(t,e){var n;l(e=e||(n=(n=c&&b(c[qi])?c[qi]():n)||Ki(u,r,i)),function(e){if(!c||!o)return!1;var n=Ui(c);return!n[Tt]&&!n[or]&&(a&&c[Pt](s),c[ur](t,e),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||e[xt](t)},unload:function(r,i){l(r,function(){var e,n,t=!1;return c&&(e=Ui(c),n=c[g]||e[g],!c||n&&n!==r.core()||e[Tt]||(e[g]=null,e[Tt]=!0,e[bt]=!1,c[Tt]&&!0===c[Tt](r,i)&&(t=!0))),t},"unload",function(){},i[kt])||r[xt](i)},update:function(r,i){l(r,function(){var e,n,t=!1;return c&&(e=Ui(c),n=c[g]||e[g],!c||n&&n!==r.core()||e[Tt]||c[Et]&&!0===c[Et](r,i)&&(t=!0)),t},"update",function(){},!1)||r[xt](i)},_id:f,_setNext:function(e){s=e}};function l(t,r,i,e,n){var o=!1,a=c?c[yt]:ji,u=(u=t[Bi])||(t[Bi]={});return t.setNext(s),c&&zi(t[g](),function(){return a+":"+i},function(){u[f]=!0;try{var e=s?s._id:te;e&&(u[e]=!1),o=r(t)}catch(n){e=!s||u[s._id];e&&(o=!0),s&&e||ie(t[At](),1,73,"Plugin ["+a+"] failed during "+i+" - "+Q(n)+", run flags: "+Q(u))}},e,n),o}return xe(u)}function $i(){var n=[];return{add:function(e){e&&n[I](e)},run:function(t,r){ee(n,function(e){try{e(t,r)}catch(n){ie(t[At](),2,73,"Unexpected error calling unload handler - "+Q(n))}}),n=[]}}}function Gi(){var r=[];return{run:function(t){var e=r;r=[],ee(e,function(e){try{(e.rm||e.remove).call(e)}catch(n){ie(t,2,73,"Unloading:"+Q(n))}})},add:function(e){var n;e&&(n=r,!W(e=e)&&n&&(Z(e)?n.push.apply(n,e):cn(e)||null!==e&&G(e)&&b(e[on(3)])?sn(e,function(e){n.push(e)}):n.push(e)))}}}var Wi="getPlugin",Yi=((t={})[ar]={isVal:function(e){return!Y(e)},v:{}},t),V=(Zi.__ieDyn=1,Zi);function Zi(){var i,o,f,l,d,a=this;function n(e){var n,e=e=void 0===e?null:e;return e||(n=o||Ki(null,{},a[g]),e=f&&f[Wi]?n[Ct](null,f[Wi]):n[Ct](null,f)),e}function c(e,n,t){pi(e,Yi,Ni(n)),!t&&n&&(t=n.getProcessTelContext()[Mt]());var r=f;f&&f[Wi]&&(r=f[Wi]()),a[g]=n,o=Ki(t,e,n,r)}function v(){i=!1,a[g]=null,f=o=null,d=Gi(),l=$i()}v(),it(Zi,a,function(s){s.initialize=function(e,n,t,r){c(e,n,r),i=!0},s[Tt]=function(e,n){var t,r,i,o,a=s[g];if(a&&(!e||a===e[g]()))return r=!1,i=e||function c(e,t,n){var r=pi(t.config),i=Hi(e,r,t,n),o=i.ctx;return o[xt]=function(e){var n=i._next();return n&&n[St](o,e),!n},o[Ct]=function(e,n){return c((e=Z(e=void 0===e?null:e)?Xi(e,r.cfg,t,n):e)||o[Mt](),t,n)},o}(null,a,f&&f[Wi]?f[Wi]():f),o=n||((e={reason:0})[kt]=!1,e),s[Rt]&&!0===s[Rt](i,o,u)?t=!0:u(),t;function u(){r||(r=!0,l.run(i,n),d.run(i[At]()),!0===t&&i[xt](o),v())}},s[Et]=function(e,n){var t,r,i,o=s[g];if(o&&(!e||o===e[g]()))return r=!1,i=e||function u(e,t,n){var r=pi(t.config),i=Hi(e,r,t,n).ctx;return i[xt]=function(n){return i.iterate(function(e){b(e[Et])&&e[Et](i,n)})},i[Ct]=function(e,n){return u((e=Z(e=void 0===e?null:e)?Xi(e,r.cfg,t,n):e)||i[Mt](),t,n)},i}(null,o,f&&f[Wi]?f[Wi]():f),s._doUpdate&&!0===s._doUpdate(i,n||{reason:0},a)?t=!0:a(),t;function a(){r||(r=!0,c(i.getCfg(),i.core(),i[Mt]()))}},mr(s,"_addUnloadCb",function(){return l},"add"),mr(s,"_addHook",function(){return d},"add"),Ue(s,"_unloadHooks",{g:function(){return d}})}),a[At]=function(e){return n(e)[At]()},a[bt]=function(){return i},a.setInitialized=function(e){i=e},a[Pt]=function(e){f=e},a[xt]=function(e,n){n?n[xt](e):f&&b(f[ur])&&f[ur](e,null)},a._getTelCtx=n}var Qi="attachEvent",eo="addEventListener",no="detachEvent",to="removeEventListener",ro="events",io=(Jr("aiEvtPageHide"),Jr("aiEvtPageShow"),/\.[\.]+/g),oo=/[\.]+$/,ao=1,uo=$r("events"),co=/^([^.]*)(?:\.(.+)|)/;function so(e){return e&&e[Ft]?e[Ft](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,te):e}function fo(e,n){n&&(t=te,Z(n)?(t=te,ee(n,function(e){(e=so(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=so(n),t&&("."!==t[0]&&(t="."+t),e=(e||te)+t));var t,n=co.exec(e||te)||[],e={};return e[Ut]=n[1],e.ns=(n[2]||te).replace(io,".").replace(oo,te)[Ot](".").sort().join("."),e}function lo(e,n,t){e=uo.get(e,ro,{},t=void 0===t||t);return e[n]||(e[n]=[])}function vo(e,n,t,r){e&&n&&n[Ut]&&(e[to]?e[to](n[Ut],t,r):e[no]&&e[no]("on"+n[Ut],t))}function po(e,n,t,r){for(var i=n[ne];i--;){var o=n[i];!o||t.ns&&t.ns!==o.evtName.ns||r&&!r(o)||(vo(e,o.evtName,o[jt],o.capture),n[ht](i,1))}}function go(e,n){return n?fo("xx",Z(n)?[e].concat(n):[e,n]).ns[Ot]("."):e}function ho(e,n,t,r,i){void 0===i&&(i=!1);var o,a,u=!1;if(e)try{var c,s=fo(n,r),f=s,l=t,d=i,v=!1;(a=e)&&f&&f[Ut]&&l&&(a[eo]?(a[eo](f[Ut],l,d),v=!0):a[Qi]&&(a[Qi]("on"+f[Ut],l),v=!0)),(u=v)&&uo.accept(e)&&((o={guid:ao++,evtName:s})[jt]=t,o.capture=i,c=o,lo(e,s.type)[I](c))}catch(p){}return u}var mo,yo="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",bo="sampleRate",wo="ProcessLegacy",Io="http.method",H="https://dc.services.visualstudio.com",n="/v2/track",_o="not_specified",xo=(mo={},y({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]},function(e,n){mo[e]=n[1],mo[n[0]]=n[1]}),Ie(mo)),So="split",_="length",Co="toLowerCase",To="toString",No="removeItem",Do="name",ko="message",Ao="stringify",Ro="pathname",Eo="exceptions",f="parsedStack",Mo="properties",Po="measurements",Lo="sizeInBytes",Oo="typeName",zo="severityLevel",Fo="problemGroup",Uo="isManual",jo="CreateFromInterface",Bo="assembly",qo="hasFullStack",Vo="level",Ho="method",Ko="fileName",Xo="line",Jo="duration",$o="receivedResponse",Go="substring";function Wo(e,n,t){var r,i,o=n[_],a=(e=e,(n=n)&&150<(n=bn(n[To]()))[_]&&(i=n[Go](0,150),ie(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),i||n);if(a[_]!==o){for(var u=0,c=a;t[c]!==undefined;)u++,c=a[Go](0,147)+Pe(r="00"+u,r[_]-3);a=c}return a}function x(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=bn(n[To]()))[_]>t&&(r=n[Go](0,t),ie(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function Yo(e,n){return na(e,n,2048,66)}function Zo(e,n){var t;return n&&32768<n[_]&&(t=n[Go](0,32768),ie(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n}function Qo(r,e){var i;return e&&(i={},y(e,function(e,n){if(ce(n)&&kr())try{n=Ar()[Ao](n)}catch(t){ie(r,2,49,"custom property is not valid",{exception:t},!0)}n=x(r,n,8192),e=Wo(r,e,i),i[e]=n}),e=i),e}function ea(t,e){var r;return e&&(r={},y(e,function(e,n){e=Wo(t,e,r),r[e]=n}),e=r),e}function na(e,n,t,r){var i;return n&&(n=bn(n[To]()))[_]>t&&(i=n[Go](0,t),ie(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),i||n}var ta=Qe()||{},ra=0,ia=[null,null,null,null,null];var oa=[H+n,"https://breeze.aimon.applicationinsights.io"+n,"https://dc-int.services.visualstudio.com"+n];function aa(e){return-1!==fn(oa,e[Co]())}var ua=e({LocalStorage:0,SessionStorage:1}),ca=(e({AI:0,AI_AND_W3C:1,W3C:2}),undefined);function sa(e){try{if(Y(Ze()))return null;var n=(new Date)[To](),t=w(e===ua.LocalStorage?"localStorage":"sessionStorage"),r=(t.setItem(n,n),t.getItem(n)!==n);if(t[No](n),!r)return t}catch(i){}return null}function fa(){return la()?sa(ua.SessionStorage):null}function la(e){return ca=e||ca===undefined?!!sa(ua.SessionStorage):ca}function da(e,n){var t=fa();if(null!==t)try{return t.getItem(n)}catch(r){ca=!1,ie(e,2,2,"Browser failed read of session storage. "+re(r),{exception:Q(r)})}return null}function va(e,n,t){var r=fa();if(null!==r)try{return r.setItem(n,t),!0}catch(i){ca=!1,ie(e,2,4,"Browser failed write to session storage. "+re(i),{exception:Q(i)})}return!1}var pa=function(e,n,t){var r=this,i=this;i.ver=1,i.sampleRate=100,i.tags={},i[Do]=x(e,t)||_o,i.data=n,i.time=hr(new Date),i.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1}},ga=(ha.envelopeType="Microsoft.ApplicationInsights.{0}.Event",ha.dataType="EventData",ha);function ha(e,n,t,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0},this.ver=2,this[Do]=x(e,n)||_o,this[Mo]=Qo(e,t),this[Po]=ea(e,r)}var ma="error",l="stack",ya="stackDetails",ba="errorSrc",wa="message",Ia="description";function _a(e,n){var t=e;return t&&!h(t)&&(JSON&&JSON[Ao]?(t=JSON[Ao](e),!n||t&&"{}"!==t||(t=b(e[To])?e[To]():""+e)):t=e+" - (Missing JSON.stringify)"),t||""}function xa(e,n){var t=e;return e&&((t=t&&!h(t)&&(e[wa]||e[Ia])||t)&&!h(t)&&(t=_a(t,!0)),e.filename&&(t=t+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(n&&"String"!==n&&"Object"!==n&&"Error"!==n&&-1===_n(t||"",n)?n+": "+t:t)||""}function Sa(e){return e&&e.src&&h(e.src)&&e.obj&&Z(e.obj)}function Ca(e){var e=e||"",n=(e=h(e)?e:h(e[l])?e[l]:""+e)[So]("\n");return{src:e,obj:n}}function Ta(e){var n,t=null;if(e)try{e[l]?t=Ca(e[l]):e[ma]&&e[ma][l]?t=Ca(e[ma][l]):e.exception&&e.exception[l]?t=Ca(e.exception[l]):Sa(e)?t=e:Sa(e[ya])?t=e[ya]:window&&window.opera&&e[wa]?t=function(e){for(var n=[],t=e[So]("\n"),r=0;r<t[_];r++){var i=t[r];t[r+1]&&(i+="@"+t[r+1],r++),n.push(i)}return{src:e,obj:n}}(e[ko]):e.reason&&e.reason[l]?t=Ca(e.reason[l]):h(e)?t=Ca(e):(n=e[wa]||e[Ia]||"",h(e[ba])&&(n&&(n+="\n"),n+=" from "+e[ba]),n&&(t=Ca(n)))}catch(r){t=Ca(r)}return t||{src:"",obj:null}}function Na(e){var n="";if(e&&!(n=e.typeName||e[Do]||""))try{var t=/function (.{1,200})\(/.exec(e.constructor[To]()),n=t&&1<t[_]?t[1]:""}catch(r){}return n}function Da(e){if(e)try{var n,t;if(!h(e))return n=Na(e),(t=_a(e,!1))&&"{}"!==t||(e[ma]&&(n=Na(e=e[ma])),t=_a(e,!0)),0!==_n(t,n)&&"String"!==n?n+":"+t:t}catch(r){}return""+(e||"")}Aa.CreateAutoException=function(e,n,t,r,i,o,a,u){var c=Na(i||o||e),s={};return s[ko]=xa(e,c),s.url=n,s.lineNumber=t,s.columnNumber=r,s.error=Da(i||o||e),s.evt=Da(o||e),s[Oo]=c,s.stackDetails=Ta(a||i||o),s.errorSrc=u,s},Aa.CreateFromInterface=function(n,e,t,r){var i=e[Eo]&&ln(e[Eo],function(e){return Ra[jo](n,e)});return new Aa(n,Dn(Dn({},e),{exceptions:i}),t,r)},Aa.prototype.toInterface=function(){var e=this,n=e.exceptions,t=e.properties,r=e.measurements,i=e.severityLevel,o=e.problemGroup,a=e.id,e=e.isManual,n=n instanceof Array&&ln(n,function(e){return e.toInterface()})||undefined,u={ver:"4.0"};return u[Eo]=n,u.severityLevel=i,u.properties=t,u.measurements=r,u.problemGroup=o,u.id=a,u.isManual=e,u},Aa.CreateSimpleException=function(e,n,t,r,i,o){var a;return{exceptions:[((a={})[qo]=!0,a.message=e,a.stack=i,a.typeName=n,a)]}},Aa.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",Aa.dataType="ExceptionData",Aa.formatError=Da;var ka=Aa;function Aa(e,n,t,r,i,o){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,function(e){try{if(ce(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(n){}}(n)?(a[Eo]=n[Eo]||[],a[Mo]=n[Mo],a[Po]=n[Po],n[zo]&&(a[zo]=n[zo]),n.id&&(a.id=n.id),n[Fo]&&(a[Fo]=n[Fo]),Y(n[Uo])||(a[Uo]=n[Uo])):(a[Eo]=[new Ra(e,n,t=t||{})],a[Mo]=Qo(e,t),a[Po]=ea(e,r),i&&(a[zo]=i),o&&(a.id=o))}Ea.prototype.toInterface=function(){var e=this,n=e[f]instanceof Array&&ln(e[f],function(e){return e.toInterface()});return(e={id:e.id,outerId:e.outerId,typeName:e[Oo],message:e[ko],hasFullStack:e[qo],stack:e[l]})[f]=n||undefined,e},Ea.CreateFromInterface=function(e,n){var t=n[f]instanceof Array&&ln(n[f],function(e){return Ma[jo](e)})||n[f];return new Ea(e,Dn(Dn({},n),{parsedStack:t}))};var Ra=Ea;function Ea(n,e,t){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var s,r,i,o,a,u,c=this;!function(e){try{if(ce(e))return"hasFullStack"in e&&"typeName"in e}catch(n){}}(e)?(r=(a=e)&&a.evt,le(a)||(a=a[ma]||r||a),c[Oo]=x(n,Na(a))||_o,c[ko]=Zo(n,xa(e||a,c[Oo]))||_o,s=e[ya]||Ta(e),c[f]=function(){var e=s.obj;if(e&&0<e[_]){var n=[],t=0,r=0;if(ee(e,function(e){var e=e[To]();Ma.regex.test(e)&&(e=new Ma(e,t++),r+=e[Lo],n.push(e))}),32768<r)for(var i=0,o=n[_]-1,a=0,u=i,c=o;i<o;){if(32768<(a+=n[i][Lo]+n[o][Lo])){n.splice(u,c-u+1);break}u=i,c=o,i++,o--}}return n}(),Z(c[f])&&ln(c[f],function(e){return e[Bo]=x(n,e[Bo])}),c[l]=(r=n,u="",(a=s)&&(a.obj?ee(a.obj,function(e){u+=e+"\n"}):u=a.src||""),(a=u)&&32768<(o=""+a)[_]&&(i=o[Go](0,32768),ie(r,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:a},!0)),i||a),c.hasFullStack=Z(c.parsedStack)&&0<c.parsedStack[_],t&&(t[Oo]=t[Oo]||c[Oo])):(c[Oo]=e[Oo],c[ko]=e[ko],c[l]=e[l],c[f]=e[f]||[],c[qo]=e[qo])}Pa.CreateFromInterface=function(e){return new Pa(e,null)},Pa.prototype.toInterface=function(){var e=this;return{level:e[Vo],method:e[Ho],assembly:e[Bo],fileName:e[Ko],line:e[Xo]}},Pa.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,Pa.baseSize=58;var Ma=Pa;function Pa(e,n){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var t,r=this;r[Lo]=0,"string"==typeof e?(t=e,r[Vo]=n,r[Ho]="<no_method>",r[Bo]=bn(t),r[Ko]="",r[Xo]=0,(n=t.match(Pa.regex))&&5<=n[_]&&(r[Ho]=bn(n[2])||r[Ho],r[Ko]=bn(n[4]),r[Xo]=parseInt(n[5])||0)):(r[Vo]=e[Vo],r[Ho]=e[Ho],r[Bo]=e[Bo],r[Ko]=e[Ko],r[Xo]=e[Xo],r[Lo]=0),r.sizeInBytes+=r.method[_],r.sizeInBytes+=r.fileName[_],r.sizeInBytes+=r.assembly[_],r[Lo]+=Pa.baseSize,r.sizeInBytes+=r.level.toString()[_],r.sizeInBytes+=r.line.toString()[_]}var La=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},Oa=(za.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",za.dataType="MetricData",za);function za(e,n,t,r,i,o,a,u,c){this.aiDataContract={ver:1,metrics:1,properties:0},this.ver=2;var s=new La;s.count=0<r?r:undefined,s.max=isNaN(o)||null===o?undefined:o,s.min=isNaN(i)||null===i?undefined:i,s[Do]=x(e,n)||_o,s.value=t,s.stdDev=isNaN(a)||null===a?undefined:a,this.metrics=[s],this[Mo]=Qo(e,u),this[Po]=ea(e,c)}var Fa="";function Ua(e){var n=Fa+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,t=Fa+Math.floor(e/6e4)%60,r=Fa+Math.floor(e/36e5)%24,i=Math.floor(e/864e5),e=1===(e=Fa+e%1e3)[_]?"00"+e:2===e[_]?"0"+e:e,n=n[_]<2?"0"+n:n,t=t[_]<2?"0"+t:t,r=r[_]<2?"0"+r:r;return(0<i?i+".":Fa)+r+":"+t+":"+n+"."+e}Ba.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",Ba.dataType="PageviewData";var ja=Ba;function Ba(e,n,t,r,i,o,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var u=this;u.ver=2,u.id=a&&na(e,a,128,69)[To](),u.url=Yo(e,t),u[Do]=x(e,n)||_o,isNaN(r)||(u[Jo]=Ua(r)),u[Mo]=Qo(e,i),u[Po]=ea(e,o)}Va.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",Va.dataType="RemoteDependencyData";var qa=Va;function Va(e,n,t,r,i,o,a,u,c,s,f,l){void 0===c&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var d,v,p,g=this,t=(g.ver=2,g.id=n,g[Jo]=Ua(i),g.success=o,g.resultCode=a+"",g.type=x(e,c),n=e,i=u,c=a=o=r,a=(u=t)&&0<u[_]?(d=u,p=(t=ia)[v=ra],ta.createElement?t[v]||(p=t[v]=ta.createElement("a")):p={host:function(){e=null,d&&null!=(t=d.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<t[_]&&h(t[2])&&0<t[2][_]&&(e=t[2]||"",2<t[_]&&(n=(t[1]||"")[Co](),t=t[3]||"",e+=t="http"===n&&":80"===t||"https"===n&&":443"===t?"":t));var e,n=e||"";if(n){var t=n.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=t&&3<t[_]&&h(t[2])&&0<t[2][_])return t[2]+(t[3]||"")}return n}()},p.href=d,++v>=t[_]&&(v=0),ra=v,v=(t=p).host,a||(null!=t[Ro]?("/"!=((p=0===t.pathname[_]?"/":t[Ro])[0]||"")&&(p="/"+p),c=t[Ro],x(n,i?i+" "+p:p)):x(n,u))):v=o,{target:v,name:a,data:c});g.data=Yo(e,r)||t.data,g.target=x(e,t.target),s&&(g.target="".concat(g.target," | ").concat(s)),g[Do]=x(e,t[Do]),g[Mo]=Qo(e,f),g[Po]=ea(e,l)}Ka.envelopeType="Microsoft.ApplicationInsights.{0}.Message",Ka.dataType="MessageData";var Ha=Ka;function Ka(e,n,t,r,i){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var o=this;o.ver=2,o[ko]=Zo(e,n=n||_o),o[Mo]=Qo(e,r),o[Po]=ea(e,i),t&&(o[zo]=t)}Ja.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",Ja.dataType="PageviewPerformanceData";var Xa=Ja;function Ja(e,n,t,r,i,o,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var u=this;u.ver=2,u.url=Yo(e,t),u[Do]=x(e,n)||_o,u[Mo]=Qo(e,i),u[Po]=ea(e,o),a&&(u.domProcessing=a.domProcessing,u[Jo]=a[Jo],u.networkConnect=a.networkConnect,u.perfTotal=a.perfTotal,u[$o]=a[$o],u.sentRequest=a.sentRequest)}var $a=function(e,n){this.aiDataContract={baseType:1,baseData:1},this.baseType=e,this.baseData=n};function Ga(e){var n="ai."+e+".";return function(e){return n+e}}var Wa,Ya,t=Ga("application"),e=Ga("device"),o=Ga("location"),Za=Ga("operation"),Qa=Ga("session"),eu=Ga("user"),nu=Ga("cloud"),tu=Ga("internal"),ru=(Ya={applicationVersion:t("ver"),applicationBuild:t("build"),applicationTypeId:t("typeId"),applicationId:t("applicationId"),applicationLayer:t("layer"),deviceId:e("id"),deviceIp:e("ip"),deviceLanguage:e("language"),deviceLocale:e("locale"),deviceModel:e("model"),deviceFriendlyName:e("friendlyName"),deviceNetwork:e("network"),deviceNetworkName:e("networkName"),deviceOEMName:e("oemName"),deviceOS:e("os"),deviceOSVersion:e("osVersion"),deviceRoleInstance:e("roleInstance"),deviceRoleName:e("roleName"),deviceScreenResolution:e("screenResolution"),deviceType:e("type"),deviceMachineName:e("machineName"),deviceVMName:e("vmName"),deviceBrowser:e("browser"),deviceBrowserVersion:e("browserVersion"),locationIp:o("ip"),locationCountry:o("country"),locationProvince:o("province"),locationCity:o("city"),operationId:Za("id"),operationName:Za("name"),operationParentId:Za("parentId"),operationRootId:Za("rootId"),operationSyntheticSource:Za("syntheticSource"),operationCorrelationVector:Za("correlationVector"),sessionId:Qa("id"),sessionIsFirst:Qa("isFirst"),sessionIsNew:Qa("isNew"),userAccountAcquisitionDate:eu("accountAcquisitionDate"),userAccountId:eu("accountId"),userAgent:eu("userAgent"),userId:eu("id"),userStoreRegion:eu("storeRegion"),userAuthUserId:eu("authUserId"),userAnonymousUserAcquisitionDate:eu("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:eu("authUserAcquisitionDate"),cloudName:nu("name"),cloudRole:nu("role"),cloudRoleVer:nu("roleVer"),cloudRoleInstance:nu("roleInstance"),cloudEnvironment:nu("environment"),cloudLocation:nu("location"),cloudDeploymentUnit:nu("deploymentUnit"),internalNodeName:tu("nodeName"),internalSdkVersion:tu("sdkVersion"),internalAgentVersion:tu("agentVersion"),internalSnippet:tu("snippet"),internalSdkSrc:tu("sdkSrc")},An(iu,Wa=function(){var t=this;y(Ya,function(e,n){t[e]=n})}),iu);function iu(){return Wa.call(this)||this}var d=new ru,ou="duration",oe="tags",au="deviceType",v="data",uu="name",cu="traceID",ae="length",su="stringify",fu="measurements",lu="dataType",du="envelopeType",vu="toString",pu="onLine",gu="isOnline",hu="_get",mu="enqueue",yu="count",bu="eventsLimitInMem",wu="push",Iu="emitLineDelimitedJson",_u="clear",xu="batchPayloads",Su="createNew",Cu="markAsSent",Tu="clearSent",Nu="bufferOverride",Du="BUFFER_KEY",ku="SENT_BUFFER_KEY",Au="MAX_BUFFER_SIZE",Ru="triggerSend",ue="diagLog",Eu="_sender",Mu="customHeaders",Pu="maxBatchSizeInBytes",Lu="onunloadDisableBeacon",Ou="isBeaconApiDisabled",zu="enableSessionStorageBuffer",Fu="_buffer",Uu="instrumentationKey",ju="disableXhr",Bu="onunloadDisableFetch",qu="convertUndefined",Vu="maxBatchInterval",Hu="baseType",Ku="sampleRate",Xu="_onError",Ju="_onPartialSuccess",$u="_onSuccess",Gu="itemsAccepted",Wu="setRequestHeader",Yu="eventsSendRequest",Zu="getSamplingScore",Qu="baseType",S="baseData",C="properties",ec="true";function T(e,n,t){var r=ve;!(e=e)||e[n]===t||r&&!r(t)||(e[n]=t)}function nc(e,t,r){Y(e)||y(e,function(e,n){se(n)?r[e]=n:h(n)?t[e]=n:kr()&&(t[e]=Ar()[su](n))})}function tc(t,r){Y(t)||y(t,function(e,n){t[e]=n||r})}function rc(e,n,t,r){for(var r=new pa(e,r,n),n=(T(r,"sampleRate",t[bo]),(t[S]||{}).startTime&&(r.time=hr(t[S].startTime)),r.iKey=t.iKey,t.iKey.replace(/-/g,"")),n=(r[uu]=r[uu].replace("{0}",n),e),e=t,i=r,o=i[oe]=i[oe]||{},a=e.ext=e.ext||{},u=e[oe]=e[oe]||[],c=a.user,c=(c&&(T(o,d.userAuthUserId,c.authId),T(o,d.userId,c.id||c.localId)),a.app),c=(c&&T(o,d.sessionId,c.sesId),a.device),c=(c&&(T(o,d.deviceId,c.id||c.localId),T(o,d[au],c.deviceClass),T(o,d.deviceIp,c.ip),T(o,d.deviceModel,c.model),T(o,d[au],c[au])),e.ext.web),e=(c&&(T(o,d.deviceLanguage,c.browserLang),T(o,d.deviceBrowserVersion,c.browserVer),T(o,d.deviceBrowser,c.browser),T(e=(e=(e=i[v]=i[v]||{})[S]=e[S]||{})[C]=e[C]||{},"domain",c.domain),T(e,"isManual",c.isManual?ec:null),T(e,"screenRes",c.screenRes),T(e,"userConsent",c.userConsent?ec:null)),a.os),c=(e&&T(o,d.deviceOS,e[uu]),a.trace),s=(c&&(T(o,d.operationParentId,c.parentID),T(o,d.operationName,x(n,c[uu])),T(o,d.operationId,c[cu])),{}),f=u[ae]-1;0<=f;f--)y(u[f],function(e,n){s[e]=n}),u.splice(f,1);y(u,function(e,n){s[e]=n});e=Dn(Dn({},o),s);return e[d.internalSdkVersion]||(e[d.internalSdkVersion]="javascript:".concat(oc.Version)),i[oe]=yr(e),t[oe]=t[oe]||[],yr(r)}function ic(e,n){Y(n[S])&&ie(e,1,46,"telemetryItem.baseData cannot be null.")}var oc={Version:"3.0.2-nightly3.2305-11"};function ac(e,n,t){ic(e,n);var r={},i={},t=(n[Qu]!==ga[lu]&&(r.baseTypeSource=n[Qu]),n[Qu]===ga[lu]?(r=n[S][C]||{},i=n[S][fu]||{}):n[S]&&nc(n[S],r,i),nc(n[v],r,i),Y(t)||tc(r,t),n[S][uu]),t=new ga(e,t,r,i),r=new $a(ga[lu],t);return rc(e,ga[du],n,r)}function uc(e,n){var t,r,i=void 0;if(void 0===i&&(i=!1),e)try{var o=fo(null,n),a=!1,u=e,c=function(e){return!(!o.ns&&null!==e[jt])&&(a=!0)};(t=o)[Ut]?po(u,lo(u,t[Ut]),t,c):(y(r=uo.get(u,ro,{}),function(e,n){po(u,n,t,c)}),0===we(r)[ne]&&uo.kill(u,ro)),a||vo(e,o,null,i)}catch(s){}}cc.__ieDyn=1;t=cc;function cc(o,t){var a=[],r=!1;this[hu]=function(){return a},this._set=function(e){return a=e},it(cc,this,function(n){n[mu]=function(e){n[yu]()>=t[bu]?r||(ie(o,2,105,"Maximum in-memory buffer size reached: "+n[yu](),!0),r=!0):a[wu](e)},n[yu]=function(){return a[ae]},n.size=function(){for(var e=a[ae],n=0;n<a[ae];n++)e+=a[n][ae];return t[Iu]||(e+=2),e},n[_u]=function(){r=!(a=[])},n.getItems=function(){return a.slice(0)},n[xu]=function(e){return e&&0<e[ae]?t[Iu]?e.join("\n"):"["+e.join(",")+"]":null},n[Su]=function(e,n,t){var r=a.slice(0),i=new(t?vc:fc)(e=e||o,n=n||{});return ee(r,function(e){i[mu](e)}),i}})}An(lc,sc=t),lc.__ieDyn=1;var sc,fc=lc;function lc(e,n){e=sc.call(this,e,n)||this;return it(lc,e,function(e,n){e[Cu]=function(e){n[_u]()},e[Tu]=function(e){}}),e}An(N,dc=t),N.BUFFER_KEY="AI_buffer",N.SENT_BUFFER_KEY="AI_sentBuffer",N.MAX_BUFFER_SIZE=2e3;var dc,vc=N;function N(c,e){var n=dc.call(this,c,e)||this,o=!1,s=null==e?void 0:e.namePrefix,e=e[Nu]||{getItem:da,setItem:va},f=e.getItem,l=e.setItem;return it(N,n,function(a,n){var e=u(N[Du]),t=u(N[ku]),t=a._set(e.concat(t));function r(n,e){var t=[];return ee(e,function(e){b(e)||-1!==fn(n,e)||t[wu](e)}),t}function u(e){try{var n=f(c,e=s?s+"_"+e:e);if(n){var t=Ar().parse(n);if((t=h(t)?Ar().parse(t):t)&&Z(t))return t}}catch(r){ie(c,1,42," storage key: "+e+", "+re(r),{exception:Q(r)})}return[]}function i(e,n){try{var e=s?s+"_"+e:e,t=JSON[su](n);l(c,e,t)}catch(r){l(c,e,JSON[su]([])),ie(c,2,41," storage key: "+e+", "+re(r)+". Buffer cleared",{exception:Q(r)})}}t[ae]>N[Au]&&(t[ae]=N[Au]),i(N[ku],[]),i(N[Du],t),a[mu]=function(e){a[yu]()>=N[Au]?o||(ie(c,2,67,"Maximum buffer size reached: "+a[yu](),!0),o=!0):(n[mu](e),i(N.BUFFER_KEY,a[hu]()))},a[_u]=function(){n[_u](),i(N.BUFFER_KEY,a[hu]()),i(N[ku],[]),o=!1},a[Cu]=function(e){i(N[Du],a._set(r(e,a[hu]())));var n=u(N[ku]);n instanceof Array&&e instanceof Array&&((n=n.concat(e))[ae]>N[Au]&&(ie(c,1,67,"Sent buffer reached its maximum size: "+n[ae],!0),n[ae]=N[Au]),i(N[ku],n))},a[Tu]=function(e){e=r(e,u(N[ku]));i(N[ku],e)},a[Su]=function(e,n,t){t=!!t;var r=a[hu]().slice(0),i=u(N[ku]).slice(0),o=(e=e||c,n=n||{},a[_u](),new(t?N:fc)(e,n));return ee(r,function(e){o[mu](e)}),t&&o[Cu](i),o}}),n}gc.__ieDyn=1;var pc=gc;function gc(l){it(gc,this,function(e){function s(a,u){var e="__aiCircularRefCheck",c={};if(!a)return ie(l,1,48,"cannot serialize object because it is null or undefined",{name:u},!0),c;if(a[e])return ie(l,2,50,"Circular reference detected while serializing object",{name:u},!0),c;if(a.aiDataContract)return a[e]=!0,y(a.aiDataContract,function(e,n){var t=b(n)?1&n():1&n,r=b(n)?4&n():4&n,n=2&n,i=a[e]!==undefined,o=ce(a[e])&&null!==a[e];!t||i||n?r||(t=o?(n?f:s)(a[e],e):a[e])!==undefined&&(c[e]=t):ie(l,1,24,"Missing required field specification. The field is required but not present on source",{field:e,name:u})}),delete a[e],c;if("measurements"===u)c=t(a,"number",u);else if("properties"===u)c=t(a,"string",u);else if("tags"===u)c=t(a,"string",u);else if(Z(a))c=f(a,u);else{ie(l,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:u},!0);try{Ar()[su](a),c=a}catch(n){ie(l,1,48,n&&b(n[vu])?n[vu]():"Error serializing object",null,!0)}}return c}function f(e,n){if(e)if(Z(e))for(var t=[],r=0;r<e[ae];r++){var i=s(e[r],n+"["+r+"]");t[wu](i)}else ie(l,1,54,"This field was specified as an array in the contract but the item is not an array.\r\n",{name:n},!0);return t}function t(e,t,r){var i;return e&&(i={},y(e,function(e,n){"string"===t?n===undefined?i[e]="undefined":null===n?i[e]="null":n[vu]?i[e]=n[vu]():i[e]="invalid field: toString() is not defined.":"number"===t?n===undefined?i[e]="undefined":i[e]=null===n?"null":isNaN(n=parseFloat(n))?"NaN":n:(i[e]="invalid field: "+r+" is of unknown type.",ie(l,1,i[e],null,!0))})),i}e.serialize=function(e){e=s(e,"root");try{return Ar()[su](e)}catch(n){ie(l,1,48,n&&b(n[vu])?n[vu]():"Error serializing object",null,!0)}}})}mc.prototype.getHashCodeScore=function(e){return this.getHashCode(e)/mc.INT_MAX_VALUE*100},mc.prototype.getHashCode=function(e){if(""===e)return 0;for(;e[ae]<8;)e=e.concat(e);for(var n=5381,t=0;t<e[ae];++t)n=(n<<5)+n+e.charCodeAt(t),n&=n;return Math.abs(n)},mc.INT_MAX_VALUE=2147483647;var hc=mc;function mc(){}var yc=function(){var n=new hc,t=new ru;this[Zu]=function(e){return e[oe]&&e[oe][t.userId]?n.getHashCodeScore(e[oe][t.userId]):e.ext&&e.ext.user&&e.ext.user.id?n.getHashCodeScore(e.ext.user.id):e[oe]&&e[oe][t.operationId]?n.getHashCodeScore(e[oe][t.operationId]):e.ext&&e.ext.telemetryTrace&&e.ext.telemetryTrace[cu]?n.getHashCodeScore(e.ext.telemetryTrace[cu]):100*Math.random()}},bc=(wc.prototype.isSampledIn=function(e){var n=this[Ku];return null===n||n===undefined||100<=n||e.baseType===Oa[lu]||this.samplingScoreGenerator[Zu](e)<n},wc);function wc(e,n){this.INT_MAX_VALUE=2147483647;n=n||Ni(null);(100<e||e<0)&&(n.throwInternal(2,58,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:e},!0),e=100),this[Ku]=e,this.samplingScoreGenerator=new yc}var Ic=undefined;function _c(e){try{return e.responseText}catch(n){}return null}var xc=Ie(((e={endpointUrl:mi(ve,H+n)})[Iu]=yi(),e[Vu]=15e3,e[Pu]=102400,e.disableTelemetry=yi(),e[zu]=yi(!0),e.isRetryDisabled=yi(),e[Ou]=yi(!0),e[ju]=yi(),e[Bu]=yi(),e[Lu]=yi(),e[Uu]=Ic,e.namePrefix=Ic,e.samplingPercentage=mi(function(e){return!isNaN(e)&&0<e&&e<=100},100),e[Mu]=Ic,e[qu]=Ic,e[bu]=1e4,e[Nu]=!1,e));(o={})[ga.dataType]=ac,o[Ha.dataType]=function(e,n,t){ic(e,n);var r=n[S].message,i=n[S].severityLevel,o=n[S][C]||{},a=n[S][fu]||{},t=(nc(n[v],o,a),Y(t)||tc(o,t),new Ha(e,r,i,o,a)),r=new $a(Ha[lu],t);return rc(e,Ha[du],n,r)},o[ja.dataType]=function(e,n,t){ic(e,n);var r,i=n[S],i=(Y(i)||Y(i[C])||Y(i[C][ou])?Y(n[v])||Y(n[v][ou])||(r=n[v][ou],delete n[v][ou]):(r=i[C][ou],delete i[C][ou]),n[S]),o=(((n.ext||{}).trace||{})[cu]&&(o=n.ext.trace[cu]),i.id||o),a=i[uu],u=i.uri,c=i[C]||{},s=i[fu]||{},i=(Y(i.refUri)||(c.refUri=i.refUri),Y(i.pageType)||(c.pageType=i.pageType),Y(i.isLoggedIn)||(c.isLoggedIn=i.isLoggedIn[vu]()),Y(i[C])||y(i[C],function(e,n){c[e]=n}),nc(n[v],c,s),Y(t)||tc(c,t),new ja(e,a,u,r,c,s,o)),t=new $a(ja[lu],i);return rc(e,ja[du],n,t)},o[Xa.dataType]=function(e,n,t){ic(e,n);var r=n[S],i=r[uu],o=r.uri||r.url,a=r[C]||{},u=r[fu]||{},t=(nc(n[v],a,u),Y(t)||tc(a,t),new Xa(e,i,o,undefined,a,u,r)),i=new $a(Xa[lu],t);return rc(e,Xa[du],n,i)},o[ka.dataType]=function(e,n,t){ic(e,n);var r=n[S][fu]||{},i=n[S][C]||{},t=(nc(n[v],i,r),Y(t)||tc(i,t),n[S]),t=ka.CreateFromInterface(e,t,i,r),i=new $a(ka[lu],t);return rc(e,ka[du],n,i)},o[Oa.dataType]=function(e,n,t){ic(e,n);var r=n[S],i=r[C]||{},o=r[fu]||{},t=(nc(n[v],i,o),Y(t)||tc(i,t),new Oa(e,r[uu],r.average,r.sampleCount,r.min,r.max,r.stdDev,i,o)),r=new $a(Oa[lu],t);return rc(e,Oa[du],n,r)},o[qa.dataType]=function(e,n,t){ic(e,n);var r=n[S][fu]||{},i=n[S][C]||{},t=(nc(n[v],i,r),Y(t)||tc(i,t),n[S]);if(Y(t))return Ri(e,"Invalid input for dependency data"),null;var o=t[C]&&t[C][Io]?t[C][Io]:"GET",o=new qa(e,t.id,t.target,t[uu],t[ou],t.success,t.responseCode,o,t.type,t.correlationContext,i,r),t=new $a(qa[lu],o);return rc(e,qa[du],n,t)};var Sc,Cc=o,Za=(An(Tc,Sc=V),Tc.constructEnvelope=function(e,n,t,r){e=n===e.iKey||Y(n)?e:Dn(Dn({},e),{iKey:n});return(Cc[e.baseType]||ac)(t,e,r)},Tc);function Tc(){var S,C,T,t,N,D,k,A,R,E,M,P,L,O,z,F,U,j,B,q,V,H,K,X,J,$=Sc.call(this)||this,G=($.priority=1001,$.identifier="AppInsightsChannelPlugin",0);return it(Tc,$,function(d,r){function f(e){e=e?e[ae]:0;d[Fu].size()+e>O&&(E&&!E[gu]()||d[Ru](!0,null,10))}function v(e,n,t,r,i,o){var a=null;d._appId||(a=c(o))&&a.appId&&(d._appId=a.appId),(e<200||300<=e)&&0!==e?(301!==e&&307!==e&&308!==e||u(t))&&!q&&b(e)?(s(n),ie(d[ue](),2,40,". Response code "+e+". Will retry to send "+n[ae]+" items.")):d[Xu](n,i):E&&!E[gu]()?q||(s(n,10),ie(d[ue](),2,40,". Offline - Response Code: ".concat(e,". Offline status: ").concat(!E.isOnline(),". Will retry to send ").concat(n.length," items."))):(u(t),206===e?(a=a||c(o))&&!q?d[Ju](n,a):d[Xu](n,i):(S=0,d[$u](n,r)))}function u(e){return!(10<=D)&&!Y(e)&&""!==e&&e!==P&&(P=e,++D,1)}function n(e,n){R?R(e,!1):l(e)}function o(e){var n=nn(),t=d[Fu],r=P,i=d._buffer[xu](e),i=new Blob([i],{type:"text/plain;charset=UTF-8"}),r=n.sendBeacon(r,i);return r&&(t[Cu](e),d._onSuccess(e,e[ae])),r}function l(e,n){if(Z(e)&&0<e[ae]&&!o(e)){for(var t=[],r=0;r<e[ae];r++){var i=e[r];o([i])||t[wu](i)}0<t[ae]&&(A&&A(t,!0),ie(d[ue](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function p(n,e){var t,r,i,o=new XMLHttpRequest,a=P;try{o[yo]=!0}catch(u){}o.open("POST",a,e),o[Wu]("Content-type","application/json"),aa(a)&&o[Wu](xo[6],xo[7]),ee(we(k),function(e){o[Wu](e,k[e])}),o.onreadystatechange=function(){d._xhrReadyStateChange(o,n,n[ae]),4===o.readyState&&r&&r(!0)},o.onerror=function(e){d[Xu](n,w(o),e),i&&i(e)},e&&J&&(t=rr(function(e,n){r=e,i=n}));a=d._buffer[xu](n);return o.send(a),d._buffer[Cu](n),t}function g(e,n){if(Z(e)){for(var t=e[ae],r=0;r<e[ae];r++)t+=e[r][ae];G+t<=65e3?i(e,!1):Rr()?l(e):(A&&A(e,!0),ie(d[ue](),2,40,". Failed to send telemetry with Beacon API, retried with xhrSender."))}}function h(e,n){return i(e,!0)}function i(t,r){var e,i,o,n=P,a=d._buffer[xu](t),u=new Blob([a],{type:"application/json"}),c=new Headers,s=a[ae],a=!1,f=!1,n=(aa(n)&&c.append(xo[6],xo[7]),ee(we(k),function(e){c.append(e,k[e])}),(u={method:"POST",headers:c,body:u})[yo]=!0,r||(a=u.keepalive=!0,G+=s),new Request(n,u));try{n[yo]=!0}catch(l){}d._buffer[Cu](t),r&&J&&(e=rr(function(e,n){i=e,o=n}));try{Kt(fetch(n),function(e){var n;r||(G-=s,s=0),f||(f=!0,e.rejected?(d[Xu](t,e.reason&&e.reason.message),o&&o(e.reason)):(n=e.value).ok?Kt(n.text(),function(e){v(n.status,t,n.url,t[ae],n.statusText,e.value||""),i&&i(!0)}):(d[Xu](t,n.statusText),i&&i(!1)))})}catch(l){f||(d[Xu](t,Q(l)),o&&o(l))}return a&&!f&&(f=!0,d._onSuccess(t,t[ae]),i&&i(!0)),e}function c(e){try{if(e&&""!==e){var n=Ar().parse(e);if(n&&n.itemsReceived&&n.itemsReceived>=n[Gu]&&n.itemsReceived-n.itemsAccepted===n.errors[ae])return n}}catch(t){ie(d[ue](),1,43,"Cannot parse the response. "+re(t),{response:e})}return null}function s(e,n){if(void 0===n&&(n=1),e&&0!==e[ae]){var t=d[Fu];t[Tu](e),S++;for(var r=0,i=e;r<i.length;r++){var o=i[r];t[mu](o)}n=S<=1?10:(e=1+Math.floor((Math.pow(2,S)-1)/2*Math.random()*10),Math.max(Math.min(e*=n,3600),10)),e=pn()+1e3*n;C=e,m()}}function m(){var e;t||T||(e=C?Math.max(0,C-pn()):0,t=Tn(function(){t=null,d[Ru](!0,null,1)},Math.max(V,e)))}function y(){t&&t.cancel(),C=t=null}function b(e){return 401===e||403===e||408===e||429===e||500===e||502===e||503===e||504===e}function w(e,n){return e?"XMLHttpRequest,Status:"+e.status+",Response:"+_c(e)||e.response||"":n}function I(n,e){var t=d[Fu],r=en(),i=new XDomainRequest,r=(i.onload=function(){return d._xdrOnLoad(i,n)},i.onerror=function(e){return d[Xu](n,a(i),e)},r&&r.location&&r.location.protocol||"");if(P.lastIndexOf(r,0))return ie(d[ue](),2,40,". Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol."),void t[_u]();r=P.replace(/^(https?:)/,""),i.open("POST",r),r=t[xu](n);i.send(r),t[Cu](n)}function a(e,n){return e?"XDomainRequest,Response:"+_c(e)||"":n}function _(e,n){var t="getNotifyMgr",t=d.core[t]?d.core[t]():d.core._notificationManager;if(t&&t[Yu])try{t[Yu](e,n)}catch(r){ie(d[ue](),1,74,"send request notification failed: "+re(r),{exception:Q(r)})}}function x(){d[Eu]=null,d[Fu]=null,d._appId=null,d._sample=null,O=G=D=S=0,q=U=z=T=!(k={}),H=j=F=L=P=M=R=A=N=t=C=E=null,X=B=Ic,Ue(d,"_senderConfig",{g:function(){return function d(){var e=arguments,n=e[0]||{},t=e[ne],r=!1,i=1;for(0<t&&fe(n)&&(r=n,n=e[i]||{},i++),ce(n)||(n={});i<t;i++){var o,a,u,c,s=e[i],f=Z(s),l=ce(s);for(o in s)(f&&o in s||l&&ge(s,o))&&(a=s[o],u=void 0,r&&a&&((u=Z(a))||wn(a))&&(c=n[o],u?Z(c)||(c=[]):wn(c)||(c={}),a=d(r,c,a)),a!==undefined&&(n[o]=a))}return n}({},xc)}})}x(),d.pause=function(){y(),T=!0},d.resume=function(){T&&(T=!1,C=null,f(),m())},d.flush=function(e,n,t){if(void 0===e&&(e=!0),!T){y();try{return d[Ru](e,null,t||1)}catch(r){ie(d[ue](),1,22,"flush failed, telemetry will not be collected: "+re(r),{exception:Q(r)})}}},d.onunloadFlush=function(){if(!T)if(z)try{return d[Ru](!0,n,2)}catch(e){ie(d[ue](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+re(e),{exception:Q(e)})}else d.flush(!1)},d.addHeader=function(e,n){k[e]=n},d.initialize=function(e,u,n,t){d.isInitialized()&&ie(d[ue](),1,28,"Sender is already initialized"),r.initialize(e,u,n,t);var c=d.identifier,s=(N=new pc(u.logger),S=0,C=null,d[Eu]=null,D=0,d[ue]());M=go(Jr("Sender"),u.evtNamespace&&u.evtNamespace()),E=function(e){var n,t=Qe(),r=nn(),i=!1,o=!0,a=go(Jr("OfflineListener"),e);try{u(en())&&(i=!0),(i=!!(t&&(n=t.body||t).ononline&&u(n))||i)&&r&&!Y(r[pu])&&(o=r[pu])}catch(f){i=!1}function u(e){var n=!1;return e&&(n=ho(e,"online",c,a))&&ho(e,"offline",s,a),n}function c(){o=!0}function s(){o=!1}return{isOnline:function(){var e=!0;return i?e=o:r&&!Y(r[pu])&&(e=r[pu]),e},isListening:function(){return i},unload:function(){var e=en();e&&i&&(uc(e,a),t&&!W((e=t.body||t).ononline)&&uc(e,a),i=!1)}}}(M),d._addHook(gi(e,function(e){var e=e.cfg,n=Ki(null,e,u).getExtCfg(c,xc),t=(Ue(d,"_senderConfig",{g:function(){return n}}),L!==n.endpointUrl&&(P=L=n.endpointUrl),F&&F!==n[Mu]&&ee(F,function(e){delete k[e.header]}),O=n[Pu],z=(!1===n[Lu]||!1===n[Ou])&&Rr(),n[Nu]),r=!!n[zu]&&(!!t||la()),i=n.namePrefix,o=r!==H||r&&X!==i||r&&K!==t;if(d[Fu]){if(o)try{d._buffer=d._buffer[Su](s,n,r)}catch(a){ie(d[ue](),1,12,"failed to transfer telemetry to different buffer storage, telemetry will be lost: "+re(a),{exception:Q(a)})}f()}else d[Fu]=new(r?vc:fc)(s,n);X=i,H=r,K=t,d._sample=new bc(n.samplingPercentage,s),o=j=n[Uu],!Y(i=e.disableInstrumentationKeyValidation)&&i||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(o)||ie(s,1,100,"Invalid Instrumentation key "+j),F=n[Mu],!aa(P)&&F&&0<F[ae]?ee(F,function(e){$.addHeader(e.header,e.value)}):F=null,J=n.enableSendPromise;r=null;!n[ju]&&Mr()?r=I:!n[ju]&&Pr()&&(r=p),!r&&Er()&&(r=h),A=r||p,!n[Ou]&&Rr()&&(r=l),d[Eu]=r||p,R=!n[Bu]&&Er(!0)?g:Rr()?l:!n[ju]&&Mr()?I:!n[ju]&&Pr()?p:A,U=n.disableTelemetry,B=n[qu]||Ic,q=n.isRetryDisabled,V=n[Vu]}))},d.processTelemetry=function(e,n){var t=(n=d._getTelCtx(n))[ue]();try{if(U)return;if(!e)return void ie(t,1,7,"Cannot send empty telemetry");if(e.baseData&&!e[Hu])return void ie(t,1,70,"Cannot send telemetry without baseData and baseType");if(e[Hu]||(e[Hu]="EventData"),!d[Eu])return void ie(t,1,28,"Sender was not initialized");if(!d._sample.isSampledIn(e))return void ie(t,2,33,"Telemetry item was sampled out and not sent",{SampleRate:d._sample[Ku]});e[bo]=d._sample[Ku];var r=e.iKey||j,i=Tc.constructEnvelope(e,r,t,B);if(!i)return void ie(t,1,47,"Unable to create an AppInsights envelope");var o=!1;if(e[oe]&&e[oe][wo]&&(ee(e[oe][wo],function(e){try{e&&!1===e(i)&&(o=!0,Ri(t,"Telemetry processor check returns false"))}catch(n){ie(t,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+re(n),{exception:Q(n)},!0)}}),delete e[oe][wo]),o)return;var a=N.serialize(i),u=d[Fu];f(a),u[mu](a),m()}catch(c){ie(t,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+re(c),{exception:Q(c)})}d.processNext(e,n)},d._xhrReadyStateChange=function(e,n,t){4===e.readyState&&v(e.status,n,e.responseURL,t,w(e),_c(e)||e.response)},d[Ru]=function(e,n,t){var r;if(void 0===e&&(e=!0),!T)try{var i,o=d[Fu];U?o[_u]():0<o[yu]()&&(i=o.getItems(),_(t||0,e),r=n?n.call(d,i,e):d[Eu](i,e)),y()}catch(a){o=function(e){var n=((e=(e=void 0===e?null:e)?e:(n=nn()||{})?(n.userAgent||te)[at]():te)||te)[at]();if(gr(n,Ir))return e=Qe()||{},Math.max(parseInt(n[Ot](Ir)[1]),e.documentMode||0);if(gr(n,_r)){e=parseInt(n[Ot](_r)[1]);if(e)return e+4}return null}();(!o||9<o)&&ie(d[ue](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+re(a),{exception:Q(a)})}return r},d._doTeardown=function(e,n){var t;d.onunloadFlush(),(t=E)&&t[St]&&t[St](!1),x()},d[Xu]=function(e,n,t){ie(d[ue](),2,26,"Failed to send telemetry.",{message:n}),d._buffer[Tu](e)},d[Ju]=function(e,n){for(var t=[],r=[],i=0,o=n.errors.reverse();i<o.length;i++){var a=o[i],u=e.splice(a.index,1)[0];(b(a.statusCode)?r:t)[wu](u)}0<e[ae]&&d[$u](e,n[Gu]),0<t[ae]&&d[Xu](t,w(null,["partial success",n[Gu],"of",n.itemsReceived].join(" "))),0<r[ae]&&(s(r),ie(d[ue](),2,40,"Partial success. Delivered: "+e[ae]+", Failed: "+t[ae]+". Will retry to send "+r[ae]+" our of "+n.itemsReceived+" items"))},d[$u]=function(e,n){d._buffer[Tu](e)},d._xdrOnLoad=function(e,n){var t=_c(e);!e||t+""!="200"&&""!==t?(t=c(t))&&t.itemsReceived&&t.itemsReceived>t[Gu]&&!q?d[Ju](n,t):d[Xu](n,a(e)):(S=0,d[$u](n,0))}}),$}exports.Sender=Za;
|
|
6
|
+
//# sourceMappingURL=applicationinsights-channel-js.3.0.2-nightly3.2305-11.cjs.min.js.map
|