@microsoft/applicationinsights-teechannel-js 3.0.2-nightly3.2305-04 → 3.0.2-nightly3.2305-09

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.
Files changed (38) hide show
  1. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.cjs.js → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.cjs.js} +3 -3
  2. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.cjs.js.map → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.cjs.js.map} +1 -1
  3. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.cjs.min.js → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.cjs.min.js} +3 -3
  4. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.cjs.min.js.map → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.cjs.min.js.map} +1 -1
  5. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.gbl.js → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.gbl.js} +5 -5
  6. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.gbl.js.map → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.gbl.js.map} +1 -1
  7. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.gbl.min.js → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.gbl.min.js} +3 -3
  8. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.gbl.min.js.map → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.gbl.min.js.map} +1 -1
  9. package/browser/es5/applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.js → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.js} +5 -5
  11. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.js.map → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.js.map} +1 -1
  12. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.min.js → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.min.js} +3 -3
  13. package/browser/es5/{applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.min.js.map → applicationinsights-teechannel-js.3.0.2-nightly3.2305-09.min.js.map} +1 -1
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +2 -2
  15. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +4 -4
  19. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-teechannel-js.3.js +4 -4
  23. package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
  24. package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
  25. package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
  26. package/dist/es5/applicationinsights-teechannel-js.js +2 -2
  27. package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
  28. package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
  29. package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
  30. package/dist-es5/ChannelController.js +1 -1
  31. package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
  32. package/dist-es5/TeeChannel.js +1 -1
  33. package/dist-es5/__DynamicConstants.js +1 -1
  34. package/dist-es5/applicationinsights-teechannel-js.js +1 -1
  35. package/package.json +3 -3
  36. package/types/applicationinsights-teechannel-js.d.ts +1 -1
  37. package/types/applicationinsights-teechannel-js.namespaced.d.ts +1 -1
  38. package/browser/es5/applicationinsights-teechannel-js.3.0.2-nightly3.2305-04.integrity.json +0 -66
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Tee Channel, 3.0.2-nightly3.2305-04
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.0.2-nightly3.2305-09
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
- var n=this,t=function(c){"use strict";var f="object",l="undefined",s="prototype",q=Object,y=undefined,V="",F="function",J="object",_="prototype",t="undefined",$="constructor",K="Symbol",H="_polyfill",n="indexOf",Q="length",W="value",B="name",G="slice",m=Object,X=m[_],r=String,Y=r[_],e=Array,Z=e[_];function nn(t){return function(n){return typeof n===t}}function tn(n){return X.toString.call(n)}function b(n){return typeof n===t||n===t}function g(n){return null===n||b(n)}function rn(n){return!!n||n!==y}var en=nn("string"),w=nn(F);function un(n){return(n||!g(n))&&n&&typeof n===J}var x=e.isArray,on=nn("number"),cn=nn("boolean"),fn=function(n){return!(!n||"[object Error]"!==tn(n))};function an(n){return n&&w(n.then)}var ln=m.getOwnPropertyDescriptor;function d(n,t){return n&&X.hasOwnProperty.call(n,t)}var sn=m.hasOwn||function(n,t){return d(n,t)||!!ln(n,t)};function C(n,t,r){if(n&&un(n))for(var e in n)if(sn(n,e)&&-1===t.call(r||n,e,n[e]))break}function vn(n){throw new TypeError(n)}var gn=m.freeze,e=function(n){return n};function dn(n){return gn&&C(n,function(n,t){(x(t)||un(t))&&gn(t)}),hn(n)}var hn=gn||e,pn=m.getPrototypeOf||e,e=dn,yn={};C({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},function(n,t){yn[n]=n,yn[t]=n});var _n,mn,bn=e(yn),wn=r,xn="__tsUtils$gblCfg";function Cn(){var n;return(n=(n=(n=typeof globalThis!==t?globalThis:n)||typeof self===t?n:self)||typeof window===t?n:window)||typeof global===t?n:global}function Tn(){var n;return _n||(n=Cn()||{},_n=n[xn]=n[xn]||{}),_n}function T(n,t){var r=V;if(fn(n))r="{ stack: '"+n.stack+"', message: '"+n.message+"', name: '"+n.name+"'";else try{r=JSON.stringify(n,null,t?on(t)?t:4:y)}catch(e){r=" - "+T(e,t)}return tn(n)+": "+r}function Pn(e,u,o){return function(n){var t,r=n&&n[e]||u&&u[e];if(r||o)return t=arguments,(r||o).apply(n,r?Z[G].call(t,1):t);vn("'"+wn(e)+"' not defined for "+T(n))}}var In={};function En(n){var t={description:wn(n),toString:function(){return K+"("+n+")"}};return t[H]=!0,t}var P,kn={e:"enumerable",c:"configurable",v:W,w:"writable",g:"get",s:"set"},I=m.defineProperty;function On(n,t,r){var e,u;I(n,t,(e=r,(u={})[kn.c]=!0,u[kn.e]=!0,e.l&&(u.get=function(){return e.l.v},(n=ln(e.l,"v"))&&n.set&&(u.set=function(n){e.l.v=n})),C(e,function(n,t){u[kn[n]]=b(t)?u[kn[n]]:t}),u))}var Nn=function(){P=Tn(),Nn=null};function zn(t){var r={};return Nn&&Nn(),r.b=P.lzy,I(r,"v",{configurable:!0,get:function(){var n=t();return P.lzy||(I(r,"v",{value:n}),r.b&&delete r.b),P.lzy&&r.b!==P.lzy&&(r.b=P.lzy),n}}),r}function An(e,u){return zn(function(){var n=e,t=u;try{t=n()}catch(r){}return t})}var Dn,Sn,Mn,Ln,jn,u,Un,Rn,qn="window";function Vn(n){return An(function(){return E(n)||y},y)}function Fn(n){return(Dn=!Dn||!1===n||P.lzy&&!Dn.b?An(Cn,null):Dn).v}function E(n,t){t=Fn(t);return t&&t[n]?t[n]:n===qn&&Sn?Sn.v:null}function Jn(){return(Sn=!Sn||P.lzy&&!Sn.b?Vn(qn):Sn).v}function $n(n){return An(function(){return u.v?u[n]:y},y)}function Kn(){var n=!u||P&&P.lzy&&!u.b;return n&&(u=Vn(K)),Un&&!n||(Un=$n("for")),Rn&&!n||(Rn=$n("keyFor")),u.v}function Hn(n,t){var r=bn[n];return u&&(!P.lzy||u.b)||Kn(),u.v?u.v[r||n]:t?y:(r=bn[n])?In[r]=In[r]||En(K+"."+r):void 0}function Qn(n,t){return u&&(!P.lzy||u.b)||Kn(),u.v?u.v(n):t?null:En(n)}function Wn(n){return Un&&(!P.lzy||u.b)||Kn(),(Un.v||function(n){mn||(r=Tn(),mn=r.gblSym=r.gblSym||{k:{},s:{}});var t,r=mn;return sn(r,n)||(t=En(n),r.k[n]=t,r.s[t]=wn(n)),r.k[n]})(n)}function Bn(n){return n&&w(n.next)}function Gn(n,t,r){var e;if(n&&(Bn(n)||(n=n[e=Hn(3)]?n[e]():null),Bn(n)))try{for(var u=0,o=n.next();!o.done&&-1!==t.call(r||n,o[W],u,n);)u++,o=n.next();n["return"]&&n["return"](o)}catch(i){n["throw"]&&n["throw"](i)}}function k(n,t,r){if(n)for(var e=n[Q]>>>0,u=0;u<e&&!(u in n&&-1===t.call(r||n,n[u],u,n));u++);}var Xn,Yn,Zn,nt=Pn(n,Z),tt=Pn(G,Z),rt=function(n,t){try{n[_][B]=t}catch(r){}};function et(){return(Date.now||function(){return(new Date).getTime()})()}function ut(n){if(!n||typeof n!==J)return!1;var t=!1;if(n!==(Zn=Zn||!Jn()||Jn())){Yn||(Xn=Function[_].toString,Yn=Xn.call(m));try{var r=pn(n),t=(t=!r)||(r=d(r,$)?r[$]:r)&&typeof r==F&&Xn.call(r)===Yn}catch(e){}}return t}var ot=Pn(n,Y),it="unref",ct="enabled";function ft(){return t=this,n=y,r=tt(arguments),v=(s=x(n))?n.length:0,g=(0<v?n[0]:s?y:n)||setTimeout,d=(1<v?n[1]:y)||clearTimeout,h=r[0],r[0]=function(){p.dn(),h.apply(t,arguments)},u=function(n){d.call(t,n)},i=!0,c=(e=function(n){if(n){if(n.refresh)return n.refresh(),n;d.call(t,n)}return g.apply(t,r)})(null),(s={cancel:l=function(){c&&u(c),c=null},refresh:a=function(){return c=e(c),i||f(),o},hasRef:function(){return c&&c.hasRef?c.hasRef():i},ref:function(){return i=!0,c&&c.ref&&c.ref(),o}})[it]=f=function(){return i=!1,c&&c[it]&&c[it](),o},s[ct]=!1,I(o=s,ct,{get:function(){return!!c},set:function(n){!n&&c&&l(),n&&!c&&a()}}),(p={h:o,dn:function(){c=null}}).h;var t,n,r,e,u,o,i,c,f,a,l,s,v,g,d,h,p}(Fn()||{}).Symbol,(Fn()||{}).Reflect;var at=function(n,t){return(at=q.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)},lt="constructor",h="prototype",st="function",vt="_dynInstFuncs",gt="_isDynProxy",dt="_dynClass",ht="_dynInstChk",pt=ht,yt="_dfOpts",_t="_unknown_",mt="__proto__",bt="_dyn"+mt,e="__dynProto$Gbl",wt="_dynInstProto",xt="useBaseInst",Ct="setInstFuncs",Tt=Object,Pt=Tt.getPrototypeOf,It=Tt.getOwnPropertyNames,r=Fn(),Et=r[e]||(r[e]={o:((n={})[Ct]=!0,n[xt]=!0,n),n:1e3});function kt(n){return n&&(n===Tt[h]||n===Array[h])}function Ot(n){return kt(n)||n===Function[h]}function p(n){if(n){if(Pt)return Pt(n);var t=n[mt]||n[h]||(n[lt]?n[lt][h]:null),r=n[bt]||t;d(n,bt)||(delete n[wt],r=n[bt]=n[wt]||n[bt],n[wt]=t)}return r}function Nt(n,t){var r=[];if(It)r=It(n);else for(var e in n)"string"==typeof e&&d(n,e)&&r.push(e);if(r&&0<r.length)for(var u=0;u<r.length;u++)t(r[u])}function zt(n,t,r){return t!==lt&&typeof n[t]===st&&(r||d(n,t))}function At(n){vn("DynamicProto: "+n)}function Dt(n,t){for(var r=n.length-1;0<=r;r--)if(n[r]===t)return 1}function St(n,t){return d(n,h)?n.name||t||_t:((n||{})[lt]||{}).name||t||_t}function Mt(n,e,t,r){d(n,h)||At("theClass is an invalid class definition.");var u,o,i,c,f,a,l=n[h],s=(function(n){if(!Pt)return 1;for(var t=[],r=p(e);r&&!Ot(r)&&!Dt(t,r);){if(r===n)return 1;t.push(r),r=p(r)}}(l)||At("["+St(n)+"] not in hierarchy of ["+St(e)+"]"),null),n=(d(l,dt)?s=l[dt]:(s="_dynCls$"+St(n,"_")+"$"+Et.n,Et.n++,l[dt]=s),Mt[yt]),v=!!n[xt],g=(v&&r&&r[xt]!==undefined&&(v=!!r[xt]),o={},Nt(u=e,function(n){!o[n]&&zt(u,n,!1)&&(o[n]=u[n])}),o),v=(t(e,function(n,t,r,o){function e(n,t,r){var e,u=t[r];return u[gt]&&o&&!1!==(e=n[vt]||{})[pt]&&(u=(e[t[dt]]||{})[r]||u),function(){return u.apply(n,arguments)}}for(var u={},i=(Nt(r,function(n){u[n]=e(t,r,n)}),p(n)),c=[];i&&!Ot(i)&&!Dt(c,i);)Nt(i,function(n){!u[n]&&zt(i,n,!Pt)&&(u[n]=e(t,i,n))}),c.push(i),i=p(i);return u}(l,e,g,v)),!!Pt&&!!n[Ct]);i=l,t=s,c=e,f=g,n=!1!==(v=v&&r?!!r[Ct]:v),kt(i)||(l=c[vt]=c[vt]||{},a=l[t]=l[t]||{},!1!==l[pt]&&(l[pt]=!!n),Nt(c,function(n){var r,e,u;zt(c,n,!1)&&c[n]!==f[n]&&(a[n]=c[n],delete c[n],d(i,n)&&(!i[n]||i[n][gt])||(i[n]=(r=i,e=n,(u=function(){var n,t;return(function(n,t,r,e){var u=null;if(n&&d(r,dt)){var o=n[vt]||{};if((u=(o[r[dt]]||{})[t])||At("Missing ["+t+"] "+st),!u[ht]&&!1!==o[pt]){for(var i=!d(n,t),c=p(n),f=[];i&&c&&!Ot(c)&&!Dt(f,c);){var a=c[t];if(a){i=a===e;break}f.push(c),c=p(c)}try{i&&(n[t]=u),u[ht]=1}catch(l){o[pt]=!1}}}return u}(this,e,r,u)||(typeof(t=(t=r[n=e])===u?p(r)[n]:t)!==st&&At("["+n+"] is not a "+st),t)).apply(this,arguments)})[gt]=1,u)))}))}Mt[yt]=Et.o;var Lt,jt="toLowerCase",O="length",Ut="rdOnly",Rt="notify",qt="throwInternal",Vt="setDf",Ft="watch",Jt="logger",$t="apply",N="push",Kt="splice",Ht="initialize",Qt="identifier",Wt="isInitialized",Bt="getPlugin",Gt="time",z="processNext",Xt="createNew",A="teardown",Yt="messageId",Zt="message",nr="isAsync",D="diagLog",tr="_doTeardown",rr="update",S="getNext",er="setNextPlugin",ur="userAgent",or="nodeType",ir="replace",cr="isChildEvt",fr="getCtx",a="setCtx",ar="complete";var lr,sr,vr,gr,dr=["pending","resolving","resolved","rejected"],hr="dispatchEvent",pr="Promise";function yr(n){return w(n)?n.toString():T(n)}function _r(t,r,n){var c,e=tt(arguments,3),f=0,a=!1,l=[],s=!1,u=null,o=(sr=sr||Vn(pr+"RejectionEvent"),function(o,i){s=!0,u&&u.cancel(),u=null,p(),yr(o),yr(o);var n=t(function(e,u){l.push(function(){try{p(),yr(c);var n=2===f?o:i,t=b(n)?c:w(n)?n(c):n;p(),yr(t),an(t)?t.then(e,u):(n||3!==f?e:u)(t)}catch(r){u(r)}}),p(),l.length,a&&v()},e);return p(),n.toString(),n}),i=function(){return dr[f]},v=function(){var n;0<l.length?(n=l.slice(),l=[],p(),n.length,s=!0,r(n),p(),u&&u.cancel(),u=null):p()},g=function(t,r){return function(n){if(f===r){if(2===t&&an(n))return f=1,p(),void n.then(g(2,1),g(3,1));f=t,a=!0,c=n,p(),v(),s||3!==t||u||(u=ft(d,10))}else p()}},d=function(){var n,t,r,e,u;s||((jn=jn||An(function(){return!(!process||!(process.versions||{}).node)},!1)).v?(p(),process.emit("unhandledRejection",c,h)):(r=Jn()||Fn(),p(),r=r,n="unhandledrejection",t=function(n){return On(n,"promise",{g:function(){return h}}),n.reason=c,n},u=!!sr.v,e=(Mn=!Mn||P.lzy&&!Mn.b?Vn("document"):Mn).v,t(u=(lr=lr||An(function(){var n;return!!(n=e&&e.createEvent?e.createEvent("Event"):n)&&n.initEvent},null)).v?e.createEvent("Event"):u?new Event(n):{}),lr.v&&u.initEvent(n,!1,!0),u&&r[hr]?r[hr](u):(t=r["on"+n])?t(u):(r=E("console"))&&(r.error||r.log)(n,T(u))))},h={then:o,"catch":function(n){return o(undefined,n)},"finally":function(t){var n=t,r=t;return w(t)&&(n=function(n){return t&&t(),n},r=function(n){throw t&&t(),n}),o(n,r)}},p=(I(h,"state",{get:i}),Kn()&&(h[Hn(11)]="IPromise"),function(){return"IPromise "+i()+(a?" - "+yr(c):"")}),y=(h.toString=p,w(n)||vn(pr+": executor is not a function - "+yr(n)),g(3,0));try{p(),n.call(h,g(2,0),y)}catch(_){y(_)}return p(),h}function mr(n,t){return _r(mr,(e=on(r=t)?r:0,function(n){ft(function(){k(n,function(n){try{n()}catch(t){}})},e)}),n,t);var r,e}function br(n,t){var r=(vr=vr||Vn(pr)).v;if(!r)return mr(n);w(n)||vn(pr+": executor is not a function - "+T(n));var e=0,r=new r(function(t,r){n(function(n){e=2,t(n)},function(n){e=3,r(n)})});return I(r,"state",{get:function(){return dr[e]}}),r}var wr=undefined,v="",M="core",xr="disabled",Cr="extensionConfig",L="processTelemetry",Tr="priority",Pr="errorToConsole",Ir="warnToConsole",Er="getPerfMgr",kr="Not dynamic - ",Or=/-([a-z])/g,Nr=/([^\w\d_$])/g,zr=/^(\d+[\w\d_$])/;function Ar(n){return n&&en(n)?(n=(n=n[ir](Or,function(n,t){return t.toUpperCase()}))[ir](Nr,"_"))[ir](zr,function(n,t){return"_"+t}):n}function Dr(n,t){return!(!n||!t)&&-1!==ot(n,t)}function Sr(n,t,r,e,u){var o,i,c;n&&t&&r&&(!1===u&&!b(n[t])||(n[t]=(o=e,c=i=null,w(u=r)?i=u:c=u,function(){var n=arguments;if(c=i?i():c)return c[o][$t](c,n)})))}var Mr="console",Lr="JSON",jr=null,Ur=null;function Rr(){return typeof JSON===f&&JSON||null!==E(Lr)}var qr=4294967296,i=4294967295,Vr=123456789,Fr=987654321,Jr=!1,$r=Vr,Kr=Fr;function Hr(n){var t,r=0,e=E("crypto")||E("msCrypto");if(0===(r=e&&e.getRandomValues?e.getRandomValues(new Uint32Array(1))[0]&i:r)&&(!(e=(Ln=!Ln||P.lzy&&!Ln.b?Vn("navigator"):Ln).v)||e[ur]===Ur&&null!==jr||(e=((Ur=e[ur])||v)[jt](),jr=Dr(e,"msie")||Dr(e,"trident/")),jr)){if(!Jr)try{var u=2147483647&et();(t=(Math.random()*qr^u)+u)<0&&(t>>>=0),$r=Vr+t&i,Kr=Fr-t&i,Jr=!0}catch(o){}e=((Kr=36969*(65535&Kr)+(Kr>>16)&i)<<16)+(65535&($r=18e3*(65535&$r)+($r>>16)&i))>>>0&i|0,r=(e>>>=0)&i}return 0===r&&(r=Math.floor(qr*Math.random()|0)),n||(r>>>=0),r}var Qr="3.0.2-nightly3.2305-04",Wr="."+function(n){void 0===n&&(n=22);for(var t=Hr()>>>0,r=0,e=v;e[O]<n;)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++r&&(t=(Hr()<<2&4294967295|3&t)>>>0,r=0);return e}(6),Br=0;function Gr(n){return 1===n[or]||9===n[or]||!+n[or]}function Xr(n,t){return Ar(n+Br+++((t=void 0!==t&&t)?"."+Qr:v)+Wr)}function Yr(n){return n&&un(n)&&(n.isVal||n.fb||sn(n,"v")||sn(n,"mrg")||sn(n,"ref")||n.set)}function Zr(n,t,r){var e,u=r.dfVal||rn;if(t&&r.fb){var o=r.fb;x(o)||(o=[o]);for(var i=0;i<o[O];i++){var c=o[i],f=t[c];if(u(f)?e=f:n&&(u(f=n.cfg[c])&&(e=f),n.set(n.cfg,wn(c),f)),u(e))break}}return!u(e)&&u(r.v)?r.v:e}function ne(r,n,t,e){var u,o,i,c,f,a,l=e,l=Yr(l)?(u=l.isVal,o=l.set,f=l[Ut],i=l.mrg,!(c=l.ref)&&b(c)&&(c=!!i),Zr(r,n,l)):e,e=!0,s=n[t];!s&&g(s)||(a=s,e=!1,u&&a!==l&&!u(a)&&(a=l,e=!0),o&&(e=(a=o(a,l,n))===l)),e?a=l&&function v(r,e,n){var u,t=n;return(t=n&&Yr(n)?Zr(r,e,n):t)&&(Yr(t)&&(t=v(r,e,t)),x(t)?(u=[])[O]=t[O]:ut(t)&&(u={}),u&&(C(t,function(n,t){t&&Yr(t)&&(t=v(r,e,t)),u[n]=t}),t=u)),t}(r,n,l):(ut(a)||x(l))&&i&&l&&(ut(l)||x(l))&&C(l,function(n,t){ne(r,a,n,t)}),r.set(n,t,a),c&&r.ref(n,t),f&&r[Ut](n,t)}var j=Wn("[[ai_dynCfg_1]]"),te=Wn("[[ai_blkDynCfg_1]]"),re=Wn("[[ai_frcDynCfg_1]]");function ee(n){var t=!1;return!n||(t=n[re])||n[te]?t:ut(n)||x(n)}function ue(n){vn("InvalidAccess:"+n)}var oe=["push","pop","shift","unshift","splice"];function ie(n,t){n=ln(n,t);return n&&n.get}function ce(n,t,r,e,u,o){var i,c,f,a,l,s,v,g;return t&&((i=ie(t,r))&&i[n.prop]?t[r]=e:(f=t,l=e,s={n:a=r,h:[],trk:function(n){n&&n.fn&&(-1===nt(s.h,n)&&s.h[N](n),c.trk(n,s))},clr:function(n){n=nt(s.h,n);-1!==n&&s.h[Kt](n,1)}},g=!(v=!0),d[(c=n).prop]={chng:function(){c.add(s)}},On(f,s.n,{g:d,s:function(t){var n,r;l!==t&&(d[c.ro]&&!c.upd&&ue("["+a+"] is read-only:"+T(f)),v&&(g=g||ee(l),v=!1),n=g&&d[c.rf],g&&(n?(C(l,function(n){l[n]=t?t[n]:wr}),C(t,function(n,t){ce(c,l,n,t)}),t=l):l&&l[j]&&C(l,function(n){var n=ie(l,n);n&&(n=n[c.prop])&&n.chng()})),t!==l&&(r=t&&ee(t),!n&&r&&fe(c,t),l=t,g=r),c.add(s))}}),(u||o)&&(i=ie(t,r))),u&&(i[n.rf]=u),o&&(i[n.ro]=o)),t;function d(){v&&(g=g||ee(l),l&&!l[j]&&g&&(l=fe(c,l)),v=!1);var n=c.act;return n&&s.trk(n),l}}function fe(r,e){var u,o;return C(e,function(n,t){ce(r,e,n,t)}),e[j]||(I(e,j,{get:function(){return r.hdlr}}),u=r,x(o=e)&&k(oe,function(n){var e=o[n];o[n]=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var r=e[$t](this,n);return fe(u,o),r}})),e}var ae="[[ai_";function le(o){var i,n=Qn(ae+"get"+o.uid+"]]"),t=Qn(ae+"ro"+o.uid+"]]"),r=Qn(ae+"rf"+o.uid+"]]"),v=Qn(ae+"dtl"+o.uid+"]]"),g=null,d=null;function h(t,n){var r=i.act;try{(i.act=t)&&t[v]&&(k(t[v],function(n){n.clr(t)}),t[v]=[]),n({cfg:o.cfg,set:o.set.bind(o),setDf:o[Vt].bind(o),ref:o.ref.bind(o),rdOnly:o[Ut].bind(o)})}catch(u){var e=o[Jt];throw e&&e[qt](1,107,T(u)),u}finally{i.act=r||null}}function p(){if(g){var n,t,r,e,u,o,i,c,f=g,a=(g=null,d&&d.cancel(),d=null,[]);if(k(f,function(t){if(t&&(t[v]&&(k(t[v],function(n){n.clr(t)}),t[v]=null),t.fn))try{h(t,t.fn)}catch(n){a[N](n)}}),g)try{p()}catch(s){a[N](s)}function l(){this.constructor=n,this[B]="AggregationError"}if(0<a[O])throw f="Watcher error(s): ",r=a,Lt||(u=function(n,t){1<t[O]&&(n.errors=t[1])},i=(o=Error)[_][B],e="AggregationError",t=o,(m.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(r,n){C(n,function(n,t){return r[n]=t})})(n=function(){var n=this;try{rt(o,e),(n=o.apply(n,arguments)||n)[B]=e,u(n,arguments)}finally{rt(o,i)}return n},t),l[_]=t[_],n[_]=new l,Lt=n),c=f||"One or more errors occurred.",k(r,function(n,t){c+="\n".concat(t," > ").concat(T(n))}),new Lt(c,r||[])}}return(n={prop:n,ro:t,rf:r,hdlr:o,add:function(n){if(n&&0<n.h[O]){g=g||[],d=d||ft(function(){d=null,p()},0);for(var t=0;t<n.h[O];t++){var r=n.h[t];r&&-1===nt(g,r)&&g[N](r)}}}})[Rt]=p,n.use=h,n.trk=function(n,t){n&&(n=n[v]=n[v]||[],-1===nt(n,t)&&n[N](t))},i=n}function se(n,t,r){var e,u=function(){if(t){var n=t[j]||t;if(n.cfg&&(n.cfg===t||n.cfg[j]===n))return n}return null}();if(u)return u;var o,u=Xr("dyncfg",!0),r=t&&!1!==r?t:function c(n){var r;return n&&(x(n)?(r=[])[O]=n[O]:ut(n)&&(r={}),r)?(C(n,function(n,t){r[n]=c(t)}),r):n}(t),i=((e={uid:null,cfg:r})[Jt]=n,e[Rt]=function(){o[Rt]()},e.set=function(n,t,r){return ce(o,n,t,r)[t]},e[Vt]=function(r,n){return n&&C(n,function(n,t){ne(i,r,n,t)}),r},e[Ft]=function(n){return r={fn:t=n,rm:function(){r.fn=null,t=null}},o.use(r,t),r;var t,r},e.ref=function(n,t){return ce(o,n,t,n[t],!0)[t]},e[Ut]=function(n,t){return ce(o,n,t,n[t],!1,!0)[t]},e._block=function(r,e){o.use(null,function(n){var t=o.upd;try{b(e)||(o.upd=e),r(n)}finally{o.upd=t}})},e);return On(i,"uid",{c:!1,e:!1,w:!1,v:u}),fe(o=le(i),r),i}function U(n,t,r,e){r=se(r,n||{},e);return t&&r[Vt](r.cfg,t),r}function ve(n,t,r){var e,u,o=n[j]||n;return!o.cfg||o.cfg!==n&&o.cfg[j]!==o?(e=r,u=kr+T(n),e?(e[Ir](u),e[qt](2,108,u)):ue(u),U(n,null,r)[Ft](t)):o[Ft](t)}var ge=null,de={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1};function he(n){return n?'"'+n[ir](/\"/g,v)+'"':v}function pe(n,t){var r,e=typeof console!==l?console:E(Mr);e&&(r="log",e[n]&&(r=n),w(e[r])&&e[r](t))}_e.dataType="MessageData";var ye=_e;function _e(n,t,r,e){void 0===r&&(r=!1),this[Yt]=n,this[Zt]=(r?"AI: ":"AI (Internal): ")+n;r=v,Rr()&&(r=(Rr()?JSON||E(Lr):null).stringify(e)),n=(t?" message:"+he(t):v)+(e?" props:"+he(r):v);this[Zt]+=n}function me(n,t){return(n||{})[Jt]||new be(t)}we.__ieDyn=1;var be=we;function we(u){this.identifier="DiagnosticLogger",this.queue=[];var f,a,l,s,t,v=0,g={};Mt(we,this,function(o){function i(n,t){var r,e;l<=v||(e=!0,r="AITR_"+t[Yt],g[r]?e=!1:g[r]=!0,e&&(n<=a&&(o.queue[N](t),v++,c(1===n?"error":"warn",t)),v===l&&(e=new ye(23,r="Internal events throttle limit per PageView reached for this app.",!1),o.queue[N](e),1===n?o[Pr](r):o[Ir](r))))}function c(n,t){var r,e=(r=(r=ge)||!0===(u||{}).disableDbgExt?r:ge||(e=E("Microsoft"),ge=e?e.ApplicationInsights:ge))?r.ChromeDbgExt:null;e&&e[D]&&e[D](n,t)}t=ve(U(u||{},de,o).cfg,function(n){n=n.cfg;f=n.loggingLevelConsole,a=n.loggingLevelTelemetry,l=n.maxMessageLimit,s=n.enableDebug}),o.consoleLoggingLevel=function(){return f},o[qt]=function(n,t,r,e,u){t=new ye(t,r,u=void 0!==u&&u,e);if(s)throw T(t);r=1===n?Pr:Ir;b(t[Zt])?c("throw"+(1===n?"Critical":"Warning"),t):(u?(e=+t[Yt],!g[e]&&n<=f&&(o[r](t[Zt]),g[e]=!0)):n<=f&&o[r](t[Zt]),i(n,t))},o[Ir]=function(n){pe("warn",n),c("warning",n)},o[Pr]=function(n){pe("error",n),c("error",n)},o.resetInternalMessageCount=function(){v=0,g={}},o.logInternalMessage=i,o.unload=function(n){t&&t.rm(),t=null}})}function xe(n,t,r,e,u,o){void 0===o&&(o=!1),(n||new be)[qt](t,r,e,u,o)}var Ce="ParentContextKey",Te="ChildrenContextKey",Pe=(o.ParentContextKey="parent",o.ChildrenContextKey="childEvts",o);function o(n,t,r){var e,u=this;u.start=et(),u.name=n,u[nr]=r,u[cr]=function(){return!1},w(t)&&On(u,"payload",{g:function(){return!e&&w(t)&&(e=t(),t=null),e}}),u[fr]=function(n){return n?(n===o[Ce]||n===o[Te]?u:u.ctx||{})[n]:null},u[a]=function(n,t){n&&(n===o[Ce]?(u[n]||(u[cr]=function(){return!0}),u[n]=t):n===o[Te]?u[n]=t:(u.ctx=u.ctx||{})[n]=t)},u[ar]=function(){var n=0,t=u[fr](o[Te]);if(x(t))for(var r=0;r<t[O];r++){var e=t[r];e&&(n+=e[Gt])}u[Gt]=et()-u.start,u.exTime=u[Gt]-n,u[ar]=function(){}}}var Ie="CoreUtils.doPerf";function Ee(n,t,r,e,u){if(n)if(n=n[Er]?n[Er]():n){var o,i=void 0,c=n[fr](Ie);try{if(i=n.create(t(),e,u))return c&&i[a]&&(i[a](Pe[Ce],c),c[fr]&&c[a]&&((o=c[fr](Pe[Te]))||(o=[],c[a](Pe[Te],o)),o[N](i))),n[a](Ie,i),r(i)}catch(f){i&&i[a]&&i[a]("exception",f)}finally{i&&n.fire(i),n[a](Ie,c)}}r()}var ke,Oe=ke={id:Xr("_aiData-plugin."+Qr),accept:Gr,get:function(n,t,r,e){var u=n[ke.id];return u?u[Ar(t)]:(e&&((u=function(n,t){var r=t[n.id];if(!r){r={};try{Gr(t)&&On(t,n.id,{e:!1,v:r})}catch(e){}}return r}(ke,n))[Ar(t)]=r),r)},kill:function(n,t){if(n&&n[t])try{delete n[t]}catch(r){}}};function Ne(n){return Oe.get(n,"state",{},!0)}var ze="TelemetryPluginChain",Ae="_hasRun",De="_getTelCtx",Se=0;function Me(n,o,r,t){var e=null,u=[],i=(o=o||U({},null,r[Jt]),null!==t&&(e=t?function(n,t,r){for(;n;){if(n[Bt]()===r)return n;n=n[S]()}return je([r],t.config||{},t)}(n,r,t):n),{_next:function(){var n,t=e;return e=t?t[S]():null,t||(n=u)&&0<n[O]&&(k(n,function(n){try{n.func.call(n.self,n.args)}catch(t){xe(r[Jt],2,73,"Unexpected Exception during onComplete - "+T(t))}}),u=[]),t},ctx:{core:function(){return r},diagLog:function(){return me(r,o.cfg)},getCfg:function(){return o.cfg},getExtCfg:function(n,t){var e=c(n,!0);return t&&C(t,function(n,t){var r;!g(e[n])||!(r=o.cfg[n])&&g(r)||(e[n]=r),ne(o,e,n,t)}),o[Vt](e,t)},getConfig:function(n,t,r){void 0===r&&(r=!1);var e,n=c(n,!1),u=o.cfg;return!n||!n[t]&&g(n[t])?!u[t]&&g(u[t])||(e=u[t]):e=n[t],e||!g(e)?e:r},hasNext:function(){return!!e},getNext:function(){return e},setNext:function(n){e=n},iterate:function(n){for(;t=i._next();){var t=t[Bt]();t&&n(t)}},onComplete:function(n,t){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];n&&u[N]({func:n,self:b(t)?i.ctx:t,args:r})}}});function c(n,t){var r,e=null,u=o.cfg;return u&&n&&(r=u[Cr],u[Cr]=r=!r&&t?{}:r,(r=o.ref(u,Cr))&&(e=r[n],r[n]=e=!e&&t?{}:e,e=o.ref(r,n))),e}return i}function Le(n,t,r,e){var u=U(t),o=Me(n,u,r,e),i=o.ctx;return i[z]=function(n){var t=o._next();return t&&t[L](n,i),!t},i[Xt]=function(n,t){return Le((n=x(n=void 0===n?null:n)?je(n,u.cfg,r,t):n)||i[S](),u.cfg,r,t)},i}function je(n,t,r,e){var u,o=null,i=!e;return x(n)&&0<n[O]&&(u=null,k(n,function(n){(i=!i&&e===n||i)&&n&&w(n[L])&&(n=Ue(n,t,r),o=o||n,u&&u._setNext(n),u=n)})),e&&!o?je([e],t,r):o}function Ue(f,e,u){var a=null,o=w(f[L]),i=w(f[er]),l=f?f[Qt]+"-"+f[Tr]+"-"+Se++:"Unknown-0-"+Se++,c={getPlugin:function(){return f},getNext:function(){return a},processTelemetry:function(r,n){var t;s(n=n||(t=(t=f&&w(f[De])?f[De]():t)||Le(c,e,u)),function(n){if(!f||!o)return!1;var t=Ne(f);return!t[A]&&!t[xr]&&(i&&f[er](a),f[L](r,n),!0)},"processTelemetry",function(){return{item:r}},!r.sync)||n[z](r)},unload:function(e,u){s(e,function(){var n,t,r=!1;return f&&(n=Ne(f),t=f[M]||n[M],!f||t&&t!==e.core()||n[A]||(n[M]=null,n[A]=!0,n[Wt]=!1,f[A]&&!0===f[A](e,u)&&(r=!0))),r},"unload",function(){},u[nr])||e[z](u)},update:function(e,u){s(e,function(){var n,t,r=!1;return f&&(n=Ne(f),t=f[M]||n[M],!f||t&&t!==e.core()||n[A]||f[rr]&&!0===f[rr](e,u)&&(r=!0)),r},"update",function(){},!1)||e[z](u)},_id:l,_setNext:function(n){a=n}};function s(r,e,u,n,t){var o=!1,i=f?f[Qt]:ze,c=(c=r[Ae])||(r[Ae]={});return r.setNext(a),f&&Ee(r[M](),function(){return i+":"+u},function(){c[l]=!0;try{var n=a?a._id:v;n&&(c[n]=!1),o=e(r)}catch(t){n=!a||c[a._id];n&&(o=!0),a&&n||xe(r[D](),1,73,"Plugin ["+i+"] failed during "+u+" - "+T(t)+", run flags: "+T(c))}},n,t),o}return hn(c)}function Re(){var t=[];return{add:function(n){n&&t[N](n)},run:function(r,e){k(t,function(n){try{n(r,e)}catch(t){xe(r[D](),2,73,"Unexpected error calling unload handler - "+T(t))}}),t=[]}}}function qe(){var e=[];return{run:function(r){var n=e;e=[],k(n,function(n){try{(n.rm||n.remove).call(n)}catch(t){xe(r,2,73,"Unloading:"+T(t))}})},add:function(n){var t;n&&(t=e,!b(n=n)&&t&&(x(n)?t.push.apply(t,n):Bn(n)||null!==n&&rn(n)&&w(n[Hn(3)])?Gn(n,function(n){t.push(n)}):t.push(n)))}}}var R="getPlugin",Ve=((Y={})[Cr]={isVal:function(n){return!g(n)},v:{}},Y),e=(Fe.__ieDyn=1,Fe);function Fe(){var u,o,l,s,v,i=this;function t(n){var t,n=n=void 0===n?null:n;return n||(t=o||Le(null,{},i[M]),n=l&&l[R]?t[Xt](null,l[R]):t[Xt](null,l)),n}function f(n,t,r){U(n,Ve,me(t)),!r&&t&&(r=t.getProcessTelContext()[S]());var e=l;l&&l[R]&&(e=l[R]()),i[M]=t,o=Le(r,n,t,e)}function g(){u=!1,i[M]=null,l=o=null,v=qe(),s=Re()}g(),Mt(Fe,i,function(a){a[Ht]=function(n,t,r,e){f(n,t,e),u=!0},a[A]=function(n,t){var r,e,u,o,i=a[M];if(i&&(!n||i===n[M]()))return e=!1,u=n||function f(n,r,t){var e=U(r.config),u=Me(n,e,r,t),o=u.ctx;return o[z]=function(n){var t=u._next();return t&&t.unload(o,n),!t},o[Xt]=function(n,t){return f((n=x(n=void 0===n?null:n)?je(n,e.cfg,r,t):n)||o[S](),r,t)},o}(null,i,l&&l[R]?l[R]():l),o=t||((n={reason:0})[nr]=!1,n),a[tr]&&!0===a[tr](u,o,c)?r=!0:c(),r;function c(){e||(e=!0,s.run(u,t),v.run(u[D]()),!0===r&&u[z](o),g())}},a[rr]=function(n,t){var r,e,u,o=a[M];if(o&&(!n||o===n[M]()))return e=!1,u=n||function c(n,r,t){var e=U(r.config),u=Me(n,e,r,t).ctx;return u[z]=function(t){return u.iterate(function(n){w(n[rr])&&n[rr](u,t)})},u[Xt]=function(n,t){return c((n=x(n=void 0===n?null:n)?je(n,e.cfg,r,t):n)||u[S](),r,t)},u}(null,o,l&&l[R]?l[R]():l),a._doUpdate&&!0===a._doUpdate(u,t||{reason:0},i)?r=!0:i(),r;function i(){e||(e=!0,f(u.getCfg(),u.core(),u[S]()))}},Sr(a,"_addUnloadCb",function(){return s},"add"),Sr(a,"_addHook",function(){return v},"add"),On(a,"_unloadHooks",{g:function(){return v}})}),i[D]=function(n){return t(n)[D]()},i[Wt]=function(){return u},i.setInitialized=function(n){u=n},i[er]=function(n){l=n},i[z]=function(n,t){t?t[z](n):l&&w(l[L])&&l[L](n,null)},i._getTelCtx=t}var Je="length",$e="queue",Ke="processNext",He="identifier",Qe="teardown",We="priority",Be="ignoreCoreChannels",Ge="teeChannels",Xe=500;function Ye(n){return Le(null,n.config,n,null)}function Ze(n,t,r,e){var u=n?n[Je]+1:1;function o(){0==--u&&(e&&e(),e=null)}0<u&&k(n,function(n){n&&0<n.queue[Je]?((n=t.createNew(n[$e])).onComplete(o),r(n)):u--}),o()}var nu,tu,ru="Channel has invalid priority - ",eu=dn(((r={})[Ge]=null,r[Be]={fb:void 0,set:function(n,t,r){return!n&&g(n)?t:cn(n)?n:"true"===wn(n)[jt]()},v:!1},r));function uu(n,t,r,e){var u;t&&x(t)&&0<t[Je]&&(t=t.sort(function(n,t){return n[We]-t[We]}),u=[],k(t,function(n){var t;if(n[We]<Xe)throw t=ru+n[He],Error(t);n!==e&&u.push(n)}),n.push(((t={})[$e]=hn(u),t)))}function ou(){this.constructor=tu}function iu(){var c,f,n=nu.call(this)||this;return n.identifier="TeeChannelController",n.priority=999,Mt(iu,n,function(i,n){var t,r,e,a,l;a=[],l=null,f=!(c={init:function(n,t){a=n,l=t},getQueues:function(){return a},processTelemetry:function(t,n){Ze(a,n||Ye(l),function(n){n[Ke](t)},function(){n[Ke](t)})},update:function(n,t){var r=t||{reason:0};return Ze(a,n,function(n){n[Ke](r)},function(){n[Ke](r)}),!0},pause:function(){Ze(a,Ye(l),function(n){n.iterate(function(n){n.pause&&n.pause()})},null)},resume:function(){Ze(a,Ye(l),function(n){n.iterate(function(n){n.resume&&n.resume()})},null)},teardown:function(n,t,r){var e=t||{reason:0,isAsync:!1};return Ze(a,n,function(n){n[Ke](e)},function(){n[Ke](e),r&&r()}),!0},getChannel:function(t){var r=null;return a&&0<a[Je]&&k(a,function(n){if(n&&0<n.queue[Je]&&(k(n[$e],function(n){if(n[He]===t)return r=n,-1}),r))return-1}),r},flush:function(r,t,e,u){var o=1,n=!1,i=null,c=!0;function f(){o--,n&&0===o&&(i&&i.cancel(),i=null,t&&t(n),t=null)}return u=u||5e3,r&&!t&&(c=function(){return(gr=gr||zn(function(){return br})).v.call(this,function(n){t=n},void 0)}()),Ze(a,Ye(l),function(n){n.iterate(function(n){var t;n.flush&&(o++,t=!1,n.flush(r,function(){t=!0,f()},e)||t||(r&&null==i?i=ft(function(){i=null,f()},u):f()))})},function(){n=!0,f()}),c}}),i.initialize=function(n,t,r,e){var u,o;f||(f=!0,(u=i)._addHook(ve((o=t).config,function(a){var r,e,l=Le(null,a.cfg,o),n=l.getExtCfg(u[He],eu),n=(r=u,e=[],(n=n)&&(!n[Be]&&o.config.channels&&k(o.config.channels,function(n,t){0<t&&uu(e,n,0,r)}),n[Ge]&&k(n[Ge],function(n){return uu(e,n,0,r)})),e);k(n,function(n){if(n&&0<n.queue[Je]){for(var r=l.createNew(n[$e]),e=a.cfg.extensions,t=[],u=null,o=r[S]();o;){var i,c,f=o[Bt]();f&&(u&&u[er]&&f[L]&&u[er](f),c=!!(i=Ne(f))[Wt],(c=f[Wt]?f[Wt]():c)||t[N](f),u=f,o=o[S]())}k(t,function(n){var t=r[M]();n[Ht](r.getCfg(),t,e,r[S]()),i=Ne(n),n[M]||i[M]||(i[M]=t),i[Wt]=!0,delete i[A]})}}),c.init(n,o)})))},i.getTeeChannels=function(){var t=[],n=c.getQueues();return n&&k(n,function(n){t.push(n[$e])}),hn(t)},i.isInitialized=function(){return f},i[Qe]=function(n,t){return c[Qe](n,t,function(){f=!1})},r=c,e=["processTelemetry","update","pause","resume","getChannel","flush"],(t=i)&&r&&un(t)&&x(e)&&k(e,function(n){en(n)&&Sr(t,n,r,n,void 0)})}),n}n=nu=e,at(tu=iu,n),tu[s]=(ou[s]=n[s],new ou),iu.__ieDyn=1,c.TeeChannel=iu};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((n="undefined"!=typeof globalThis?globalThis:n||self).Microsoft=n.Microsoft||{},n.Microsoft.ApplicationInsights=n.Microsoft.ApplicationInsights||{}));
5
+ var n=this,t=function(c){"use strict";var f="object",l="undefined",s="prototype",q=Object,y=undefined,V="",F="function",J="object",_="prototype",t="undefined",$="constructor",K="Symbol",H="_polyfill",n="indexOf",Q="length",W="value",B="name",G="slice",m=Object,X=m[_],r=String,Y=r[_],e=Array,Z=e[_];function nn(t){return function(n){return typeof n===t}}function tn(n){return X.toString.call(n)}function b(n){return typeof n===t||n===t}function g(n){return null===n||b(n)}function rn(n){return!!n||n!==y}var en=nn("string"),w=nn(F);function un(n){return(n||!g(n))&&n&&typeof n===J}var x=e.isArray,on=nn("number"),cn=nn("boolean"),fn=function(n){return!(!n||"[object Error]"!==tn(n))};function an(n){return n&&w(n.then)}var ln=m.getOwnPropertyDescriptor;function d(n,t){return n&&X.hasOwnProperty.call(n,t)}var sn=m.hasOwn||function(n,t){return d(n,t)||!!ln(n,t)};function C(n,t,r){if(n&&un(n))for(var e in n)if(sn(n,e)&&-1===t.call(r||n,e,n[e]))break}function vn(n){throw new TypeError(n)}var gn=m.freeze,e=function(n){return n};function dn(n){return gn&&C(n,function(n,t){(x(t)||un(t))&&gn(t)}),hn(n)}var hn=gn||e,pn=m.getPrototypeOf||e,e=dn,yn={};C({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},function(n,t){yn[n]=n,yn[t]=n});var _n,mn,bn=e(yn),wn=r,xn="__tsUtils$gblCfg";function Cn(){var n;return(n=(n=(n=typeof globalThis!==t?globalThis:n)||typeof self===t?n:self)||typeof window===t?n:window)||typeof global===t?n:global}function Tn(){var n;return _n||(n=Cn()||{},_n=n[xn]=n[xn]||{}),_n}function T(n,t){var r=V;if(fn(n))r="{ stack: '"+n.stack+"', message: '"+n.message+"', name: '"+n.name+"'";else try{r=JSON.stringify(n,null,t?on(t)?t:4:y)}catch(e){r=" - "+T(e,t)}return tn(n)+": "+r}function Pn(e,u,o){return function(n){var t,r=n&&n[e]||u&&u[e];if(r||o)return t=arguments,(r||o).apply(n,r?Z[G].call(t,1):t);vn("'"+wn(e)+"' not defined for "+T(n))}}var In={};function En(n){var t={description:wn(n),toString:function(){return K+"("+n+")"}};return t[H]=!0,t}var P,kn={e:"enumerable",c:"configurable",v:W,w:"writable",g:"get",s:"set"},I=m.defineProperty;function On(n,t,r){var e,u;I(n,t,(e=r,(u={})[kn.c]=!0,u[kn.e]=!0,e.l&&(u.get=function(){return e.l.v},(n=ln(e.l,"v"))&&n.set&&(u.set=function(n){e.l.v=n})),C(e,function(n,t){u[kn[n]]=b(t)?u[kn[n]]:t}),u))}var Nn=function(){P=Tn(),Nn=null};function zn(t){var r={};return Nn&&Nn(),r.b=P.lzy,I(r,"v",{configurable:!0,get:function(){var n=t();return P.lzy||(I(r,"v",{value:n}),r.b&&delete r.b),P.lzy&&r.b!==P.lzy&&(r.b=P.lzy),n}}),r}function An(e,u){return zn(function(){var n=e,t=u;try{t=n()}catch(r){}return t})}var Dn,Sn,Mn,Ln,jn,u,Un,Rn,qn="window";function Vn(n){return An(function(){return E(n)||y},y)}function Fn(n){return(Dn=!Dn||!1===n||P.lzy&&!Dn.b?An(Cn,null):Dn).v}function E(n,t){t=Fn(t);return t&&t[n]?t[n]:n===qn&&Sn?Sn.v:null}function Jn(){return(Sn=!Sn||P.lzy&&!Sn.b?Vn(qn):Sn).v}function $n(n){return An(function(){return u.v?u[n]:y},y)}function Kn(){var n=!u||P&&P.lzy&&!u.b;return n&&(u=Vn(K)),Un&&!n||(Un=$n("for")),Rn&&!n||(Rn=$n("keyFor")),u.v}function Hn(n,t){var r=bn[n];return u&&(!P.lzy||u.b)||Kn(),u.v?u.v[r||n]:t?y:(r=bn[n])?In[r]=In[r]||En(K+"."+r):void 0}function Qn(n,t){return u&&(!P.lzy||u.b)||Kn(),u.v?u.v(n):t?null:En(n)}function Wn(n){return Un&&(!P.lzy||u.b)||Kn(),(Un.v||function(n){mn||(r=Tn(),mn=r.gblSym=r.gblSym||{k:{},s:{}});var t,r=mn;return sn(r,n)||(t=En(n),r.k[n]=t,r.s[t]=wn(n)),r.k[n]})(n)}function Bn(n){return n&&w(n.next)}function Gn(n,t,r){var e;if(n&&(Bn(n)||(n=n[e=Hn(3)]?n[e]():null),Bn(n)))try{for(var u=0,o=n.next();!o.done&&-1!==t.call(r||n,o[W],u,n);)u++,o=n.next();n["return"]&&n["return"](o)}catch(i){n["throw"]&&n["throw"](i)}}function k(n,t,r){if(n)for(var e=n[Q]>>>0,u=0;u<e&&!(u in n&&-1===t.call(r||n,n[u],u,n));u++);}var Xn,Yn,Zn,nt=Pn(n,Z),tt=Pn(G,Z),rt=function(n,t){try{n[_][B]=t}catch(r){}};function et(){return(Date.now||function(){return(new Date).getTime()})()}function ut(n){if(!n||typeof n!==J)return!1;var t=!1;if(n!==(Zn=Zn||!Jn()||Jn())){Yn||(Xn=Function[_].toString,Yn=Xn.call(m));try{var r=pn(n),t=(t=!r)||(r=d(r,$)?r[$]:r)&&typeof r==F&&Xn.call(r)===Yn}catch(e){}}return t}var ot=Pn(n,Y),it="unref",ct="enabled";function ft(){return t=this,n=y,r=tt(arguments),v=(s=x(n))?n.length:0,g=(0<v?n[0]:s?y:n)||setTimeout,d=(1<v?n[1]:y)||clearTimeout,h=r[0],r[0]=function(){p.dn(),h.apply(t,arguments)},u=function(n){d.call(t,n)},i=!0,c=(e=function(n){if(n){if(n.refresh)return n.refresh(),n;d.call(t,n)}return g.apply(t,r)})(null),(s={cancel:l=function(){c&&u(c),c=null},refresh:a=function(){return c=e(c),i||f(),o},hasRef:function(){return c&&c.hasRef?c.hasRef():i},ref:function(){return i=!0,c&&c.ref&&c.ref(),o}})[it]=f=function(){return i=!1,c&&c[it]&&c[it](),o},s[ct]=!1,I(o=s,ct,{get:function(){return!!c},set:function(n){!n&&c&&l(),n&&!c&&a()}}),(p={h:o,dn:function(){c=null}}).h;var t,n,r,e,u,o,i,c,f,a,l,s,v,g,d,h,p}(Fn()||{}).Symbol,(Fn()||{}).Reflect;var at=function(n,t){return(at=q.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)},lt="constructor",h="prototype",st="function",vt="_dynInstFuncs",gt="_isDynProxy",dt="_dynClass",ht="_dynInstChk",pt=ht,yt="_dfOpts",_t="_unknown_",mt="__proto__",bt="_dyn"+mt,e="__dynProto$Gbl",wt="_dynInstProto",xt="useBaseInst",Ct="setInstFuncs",Tt=Object,Pt=Tt.getPrototypeOf,It=Tt.getOwnPropertyNames,r=Fn(),Et=r[e]||(r[e]={o:((n={})[Ct]=!0,n[xt]=!0,n),n:1e3});function kt(n){return n&&(n===Tt[h]||n===Array[h])}function Ot(n){return kt(n)||n===Function[h]}function p(n){if(n){if(Pt)return Pt(n);var t=n[mt]||n[h]||(n[lt]?n[lt][h]:null),r=n[bt]||t;d(n,bt)||(delete n[wt],r=n[bt]=n[wt]||n[bt],n[wt]=t)}return r}function Nt(n,t){var r=[];if(It)r=It(n);else for(var e in n)"string"==typeof e&&d(n,e)&&r.push(e);if(r&&0<r.length)for(var u=0;u<r.length;u++)t(r[u])}function zt(n,t,r){return t!==lt&&typeof n[t]===st&&(r||d(n,t))}function At(n){vn("DynamicProto: "+n)}function Dt(n,t){for(var r=n.length-1;0<=r;r--)if(n[r]===t)return 1}function St(n,t){return d(n,h)?n.name||t||_t:((n||{})[lt]||{}).name||t||_t}function Mt(n,e,t,r){d(n,h)||At("theClass is an invalid class definition.");var u,o,i,c,f,a,l=n[h],s=(function(n){if(!Pt)return 1;for(var t=[],r=p(e);r&&!Ot(r)&&!Dt(t,r);){if(r===n)return 1;t.push(r),r=p(r)}}(l)||At("["+St(n)+"] not in hierarchy of ["+St(e)+"]"),null),n=(d(l,dt)?s=l[dt]:(s="_dynCls$"+St(n,"_")+"$"+Et.n,Et.n++,l[dt]=s),Mt[yt]),v=!!n[xt],g=(v&&r&&r[xt]!==undefined&&(v=!!r[xt]),o={},Nt(u=e,function(n){!o[n]&&zt(u,n,!1)&&(o[n]=u[n])}),o),v=(t(e,function(n,t,r,o){function e(n,t,r){var e,u=t[r];return u[gt]&&o&&!1!==(e=n[vt]||{})[pt]&&(u=(e[t[dt]]||{})[r]||u),function(){return u.apply(n,arguments)}}for(var u={},i=(Nt(r,function(n){u[n]=e(t,r,n)}),p(n)),c=[];i&&!Ot(i)&&!Dt(c,i);)Nt(i,function(n){!u[n]&&zt(i,n,!Pt)&&(u[n]=e(t,i,n))}),c.push(i),i=p(i);return u}(l,e,g,v)),!!Pt&&!!n[Ct]);i=l,t=s,c=e,f=g,n=!1!==(v=v&&r?!!r[Ct]:v),kt(i)||(l=c[vt]=c[vt]||{},a=l[t]=l[t]||{},!1!==l[pt]&&(l[pt]=!!n),Nt(c,function(n){var r,e,u;zt(c,n,!1)&&c[n]!==f[n]&&(a[n]=c[n],delete c[n],d(i,n)&&(!i[n]||i[n][gt])||(i[n]=(r=i,e=n,(u=function(){var n,t;return(function(n,t,r,e){var u=null;if(n&&d(r,dt)){var o=n[vt]||{};if((u=(o[r[dt]]||{})[t])||At("Missing ["+t+"] "+st),!u[ht]&&!1!==o[pt]){for(var i=!d(n,t),c=p(n),f=[];i&&c&&!Ot(c)&&!Dt(f,c);){var a=c[t];if(a){i=a===e;break}f.push(c),c=p(c)}try{i&&(n[t]=u),u[ht]=1}catch(l){o[pt]=!1}}}return u}(this,e,r,u)||(typeof(t=(t=r[n=e])===u?p(r)[n]:t)!==st&&At("["+n+"] is not a "+st),t)).apply(this,arguments)})[gt]=1,u)))}))}Mt[yt]=Et.o;var Lt,jt="toLowerCase",O="length",Ut="rdOnly",Rt="notify",qt="throwInternal",Vt="setDf",Ft="watch",Jt="logger",$t="apply",N="push",Kt="splice",Ht="initialize",Qt="identifier",Wt="isInitialized",Bt="getPlugin",Gt="time",z="processNext",Xt="createNew",A="teardown",Yt="messageId",Zt="message",nr="isAsync",D="diagLog",tr="_doTeardown",rr="update",S="getNext",er="setNextPlugin",ur="userAgent",or="nodeType",ir="replace",cr="isChildEvt",fr="getCtx",a="setCtx",ar="complete";var lr,sr,vr,gr,dr=["pending","resolving","resolved","rejected"],hr="dispatchEvent",pr="Promise";function yr(n){return w(n)?n.toString():T(n)}function _r(t,r,n){var c,e=tt(arguments,3),f=0,a=!1,l=[],s=!1,u=null,o=(sr=sr||Vn(pr+"RejectionEvent"),function(o,i){s=!0,u&&u.cancel(),u=null,p(),yr(o),yr(o);var n=t(function(e,u){l.push(function(){try{p(),yr(c);var n=2===f?o:i,t=b(n)?c:w(n)?n(c):n;p(),yr(t),an(t)?t.then(e,u):(n||3!==f?e:u)(t)}catch(r){u(r)}}),p(),l.length,a&&v()},e);return p(),n.toString(),n}),i=function(){return dr[f]},v=function(){var n;0<l.length?(n=l.slice(),l=[],p(),n.length,s=!0,r(n),p(),u&&u.cancel(),u=null):p()},g=function(t,r){return function(n){if(f===r){if(2===t&&an(n))return f=1,p(),void n.then(g(2,1),g(3,1));f=t,a=!0,c=n,p(),v(),s||3!==t||u||(u=ft(d,10))}else p()}},d=function(){var n,t,r,e,u;s||((jn=jn||An(function(){return!(!process||!(process.versions||{}).node)},!1)).v?(p(),process.emit("unhandledRejection",c,h)):(r=Jn()||Fn(),p(),r=r,n="unhandledrejection",t=function(n){return On(n,"promise",{g:function(){return h}}),n.reason=c,n},u=!!sr.v,e=(Mn=!Mn||P.lzy&&!Mn.b?Vn("document"):Mn).v,t(u=(lr=lr||An(function(){var n;return!!(n=e&&e.createEvent?e.createEvent("Event"):n)&&n.initEvent},null)).v?e.createEvent("Event"):u?new Event(n):{}),lr.v&&u.initEvent(n,!1,!0),u&&r[hr]?r[hr](u):(t=r["on"+n])?t(u):(r=E("console"))&&(r.error||r.log)(n,T(u))))},h={then:o,"catch":function(n){return o(undefined,n)},"finally":function(t){var n=t,r=t;return w(t)&&(n=function(n){return t&&t(),n},r=function(n){throw t&&t(),n}),o(n,r)}},p=(I(h,"state",{get:i}),Kn()&&(h[Hn(11)]="IPromise"),function(){return"IPromise "+i()+(a?" - "+yr(c):"")}),y=(h.toString=p,w(n)||vn(pr+": executor is not a function - "+yr(n)),g(3,0));try{p(),n.call(h,g(2,0),y)}catch(_){y(_)}return p(),h}function mr(n,t){return _r(mr,(e=on(r=t)?r:0,function(n){ft(function(){k(n,function(n){try{n()}catch(t){}})},e)}),n,t);var r,e}function br(n,t){var r=(vr=vr||Vn(pr)).v;if(!r)return mr(n);w(n)||vn(pr+": executor is not a function - "+T(n));var e=0,r=new r(function(t,r){n(function(n){e=2,t(n)},function(n){e=3,r(n)})});return I(r,"state",{get:function(){return dr[e]}}),r}var wr=undefined,v="",M="core",xr="disabled",Cr="extensionConfig",L="processTelemetry",Tr="priority",Pr="errorToConsole",Ir="warnToConsole",Er="getPerfMgr",kr="Not dynamic - ",Or=/-([a-z])/g,Nr=/([^\w\d_$])/g,zr=/^(\d+[\w\d_$])/;function Ar(n){return n&&en(n)?(n=(n=n[ir](Or,function(n,t){return t.toUpperCase()}))[ir](Nr,"_"))[ir](zr,function(n,t){return"_"+t}):n}function Dr(n,t){return!(!n||!t)&&-1!==ot(n,t)}function Sr(n,t,r,e,u){var o,i,c;n&&t&&r&&(!1===u&&!b(n[t])||(n[t]=(o=e,c=i=null,w(u=r)?i=u:c=u,function(){var n=arguments;if(c=i?i():c)return c[o][$t](c,n)})))}var Mr="console",Lr="JSON",jr=null,Ur=null;function Rr(){return typeof JSON===f&&JSON||null!==E(Lr)}var qr=4294967296,i=4294967295,Vr=123456789,Fr=987654321,Jr=!1,$r=Vr,Kr=Fr;function Hr(n){var t,r=0,e=E("crypto")||E("msCrypto");if(0===(r=e&&e.getRandomValues?e.getRandomValues(new Uint32Array(1))[0]&i:r)&&(!(e=(Ln=!Ln||P.lzy&&!Ln.b?Vn("navigator"):Ln).v)||e[ur]===Ur&&null!==jr||(e=((Ur=e[ur])||v)[jt](),jr=Dr(e,"msie")||Dr(e,"trident/")),jr)){if(!Jr)try{var u=2147483647&et();(t=(Math.random()*qr^u)+u)<0&&(t>>>=0),$r=Vr+t&i,Kr=Fr-t&i,Jr=!0}catch(o){}e=((Kr=36969*(65535&Kr)+(Kr>>16)&i)<<16)+(65535&($r=18e3*(65535&$r)+($r>>16)&i))>>>0&i|0,r=(e>>>=0)&i}return 0===r&&(r=Math.floor(qr*Math.random()|0)),n||(r>>>=0),r}var Qr="3.0.2-nightly3.2305-09",Wr="."+function(n){void 0===n&&(n=22);for(var t=Hr()>>>0,r=0,e=v;e[O]<n;)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++r&&(t=(Hr()<<2&4294967295|3&t)>>>0,r=0);return e}(6),Br=0;function Gr(n){return 1===n[or]||9===n[or]||!+n[or]}function Xr(n,t){return Ar(n+Br+++((t=void 0!==t&&t)?"."+Qr:v)+Wr)}function Yr(n){return n&&un(n)&&(n.isVal||n.fb||sn(n,"v")||sn(n,"mrg")||sn(n,"ref")||n.set)}function Zr(n,t,r){var e,u=r.dfVal||rn;if(t&&r.fb){var o=r.fb;x(o)||(o=[o]);for(var i=0;i<o[O];i++){var c=o[i],f=t[c];if(u(f)?e=f:n&&(u(f=n.cfg[c])&&(e=f),n.set(n.cfg,wn(c),f)),u(e))break}}return!u(e)&&u(r.v)?r.v:e}function ne(r,n,t,e){var u,o,i,c,f,a,l=e,l=Yr(l)?(u=l.isVal,o=l.set,f=l[Ut],i=l.mrg,!(c=l.ref)&&b(c)&&(c=!!i),Zr(r,n,l)):e,e=!0,s=n[t];!s&&g(s)||(a=s,e=!1,u&&a!==l&&!u(a)&&(a=l,e=!0),o&&(e=(a=o(a,l,n))===l)),e?a=l&&function v(r,e,n){var u,t=n;return(t=n&&Yr(n)?Zr(r,e,n):t)&&(Yr(t)&&(t=v(r,e,t)),x(t)?(u=[])[O]=t[O]:ut(t)&&(u={}),u&&(C(t,function(n,t){t&&Yr(t)&&(t=v(r,e,t)),u[n]=t}),t=u)),t}(r,n,l):(ut(a)||x(l))&&i&&l&&(ut(l)||x(l))&&C(l,function(n,t){ne(r,a,n,t)}),r.set(n,t,a),c&&r.ref(n,t),f&&r[Ut](n,t)}var j=Wn("[[ai_dynCfg_1]]"),te=Wn("[[ai_blkDynCfg_1]]"),re=Wn("[[ai_frcDynCfg_1]]");function ee(n){var t=!1;return!n||(t=n[re])||n[te]?t:ut(n)||x(n)}function ue(n){vn("InvalidAccess:"+n)}var oe=["push","pop","shift","unshift","splice"];function ie(n,t){n=ln(n,t);return n&&n.get}function ce(n,t,r,e,u,o){var i,c,f,a,l,s,v,g;return t&&((i=ie(t,r))&&i[n.prop]?t[r]=e:(f=t,l=e,s={n:a=r,h:[],trk:function(n){n&&n.fn&&(-1===nt(s.h,n)&&s.h[N](n),c.trk(n,s))},clr:function(n){n=nt(s.h,n);-1!==n&&s.h[Kt](n,1)}},g=!(v=!0),d[(c=n).prop]={chng:function(){c.add(s)}},On(f,s.n,{g:d,s:function(t){var n,r;l!==t&&(d[c.ro]&&!c.upd&&ue("["+a+"] is read-only:"+T(f)),v&&(g=g||ee(l),v=!1),n=g&&d[c.rf],g&&(n?(C(l,function(n){l[n]=t?t[n]:wr}),C(t,function(n,t){ce(c,l,n,t)}),t=l):l&&l[j]&&C(l,function(n){var n=ie(l,n);n&&(n=n[c.prop])&&n.chng()})),t!==l&&(r=t&&ee(t),!n&&r&&fe(c,t),l=t,g=r),c.add(s))}}),(u||o)&&(i=ie(t,r))),u&&(i[n.rf]=u),o&&(i[n.ro]=o)),t;function d(){v&&(g=g||ee(l),l&&!l[j]&&g&&(l=fe(c,l)),v=!1);var n=c.act;return n&&s.trk(n),l}}function fe(r,e){var u,o;return C(e,function(n,t){ce(r,e,n,t)}),e[j]||(I(e,j,{get:function(){return r.hdlr}}),u=r,x(o=e)&&k(oe,function(n){var e=o[n];o[n]=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var r=e[$t](this,n);return fe(u,o),r}})),e}var ae="[[ai_";function le(o){var i,n=Qn(ae+"get"+o.uid+"]]"),t=Qn(ae+"ro"+o.uid+"]]"),r=Qn(ae+"rf"+o.uid+"]]"),v=Qn(ae+"dtl"+o.uid+"]]"),g=null,d=null;function h(t,n){var r=i.act;try{(i.act=t)&&t[v]&&(k(t[v],function(n){n.clr(t)}),t[v]=[]),n({cfg:o.cfg,set:o.set.bind(o),setDf:o[Vt].bind(o),ref:o.ref.bind(o),rdOnly:o[Ut].bind(o)})}catch(u){var e=o[Jt];throw e&&e[qt](1,107,T(u)),u}finally{i.act=r||null}}function p(){if(g){var n,t,r,e,u,o,i,c,f=g,a=(g=null,d&&d.cancel(),d=null,[]);if(k(f,function(t){if(t&&(t[v]&&(k(t[v],function(n){n.clr(t)}),t[v]=null),t.fn))try{h(t,t.fn)}catch(n){a[N](n)}}),g)try{p()}catch(s){a[N](s)}function l(){this.constructor=n,this[B]="AggregationError"}if(0<a[O])throw f="Watcher error(s): ",r=a,Lt||(u=function(n,t){1<t[O]&&(n.errors=t[1])},i=(o=Error)[_][B],e="AggregationError",t=o,(m.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(r,n){C(n,function(n,t){return r[n]=t})})(n=function(){var n=this;try{rt(o,e),(n=o.apply(n,arguments)||n)[B]=e,u(n,arguments)}finally{rt(o,i)}return n},t),l[_]=t[_],n[_]=new l,Lt=n),c=f||"One or more errors occurred.",k(r,function(n,t){c+="\n".concat(t," > ").concat(T(n))}),new Lt(c,r||[])}}return(n={prop:n,ro:t,rf:r,hdlr:o,add:function(n){if(n&&0<n.h[O]){g=g||[],d=d||ft(function(){d=null,p()},0);for(var t=0;t<n.h[O];t++){var r=n.h[t];r&&-1===nt(g,r)&&g[N](r)}}}})[Rt]=p,n.use=h,n.trk=function(n,t){n&&(n=n[v]=n[v]||[],-1===nt(n,t)&&n[N](t))},i=n}function se(n,t,r){var e,u=function(){if(t){var n=t[j]||t;if(n.cfg&&(n.cfg===t||n.cfg[j]===n))return n}return null}();if(u)return u;var o,u=Xr("dyncfg",!0),r=t&&!1!==r?t:function c(n){var r;return n&&(x(n)?(r=[])[O]=n[O]:ut(n)&&(r={}),r)?(C(n,function(n,t){r[n]=c(t)}),r):n}(t),i=((e={uid:null,cfg:r})[Jt]=n,e[Rt]=function(){o[Rt]()},e.set=function(n,t,r){return ce(o,n,t,r)[t]},e[Vt]=function(r,n){return n&&C(n,function(n,t){ne(i,r,n,t)}),r},e[Ft]=function(n){return r={fn:t=n,rm:function(){r.fn=null,t=null}},o.use(r,t),r;var t,r},e.ref=function(n,t){return ce(o,n,t,n[t],!0)[t]},e[Ut]=function(n,t){return ce(o,n,t,n[t],!1,!0)[t]},e._block=function(r,e){o.use(null,function(n){var t=o.upd;try{b(e)||(o.upd=e),r(n)}finally{o.upd=t}})},e);return On(i,"uid",{c:!1,e:!1,w:!1,v:u}),fe(o=le(i),r),i}function U(n,t,r,e){r=se(r,n||{},e);return t&&r[Vt](r.cfg,t),r}function ve(n,t,r){var e,u,o=n[j]||n;return!o.cfg||o.cfg!==n&&o.cfg[j]!==o?(e=r,u=kr+T(n),e?(e[Ir](u),e[qt](2,108,u)):ue(u),U(n,null,r)[Ft](t)):o[Ft](t)}var ge=null,de={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1};function he(n){return n?'"'+n[ir](/\"/g,v)+'"':v}function pe(n,t){var r,e=typeof console!==l?console:E(Mr);e&&(r="log",e[n]&&(r=n),w(e[r])&&e[r](t))}_e.dataType="MessageData";var ye=_e;function _e(n,t,r,e){void 0===r&&(r=!1),this[Yt]=n,this[Zt]=(r?"AI: ":"AI (Internal): ")+n;r=v,Rr()&&(r=(Rr()?JSON||E(Lr):null).stringify(e)),n=(t?" message:"+he(t):v)+(e?" props:"+he(r):v);this[Zt]+=n}function me(n,t){return(n||{})[Jt]||new be(t)}we.__ieDyn=1;var be=we;function we(u){this.identifier="DiagnosticLogger",this.queue=[];var f,a,l,s,t,v=0,g={};Mt(we,this,function(o){function i(n,t){var r,e;l<=v||(e=!0,r="AITR_"+t[Yt],g[r]?e=!1:g[r]=!0,e&&(n<=a&&(o.queue[N](t),v++,c(1===n?"error":"warn",t)),v===l&&(e=new ye(23,r="Internal events throttle limit per PageView reached for this app.",!1),o.queue[N](e),1===n?o[Pr](r):o[Ir](r))))}function c(n,t){var r,e=(r=(r=ge)||!0===(u||{}).disableDbgExt?r:ge||(e=E("Microsoft"),ge=e?e.ApplicationInsights:ge))?r.ChromeDbgExt:null;e&&e[D]&&e[D](n,t)}t=ve(U(u||{},de,o).cfg,function(n){n=n.cfg;f=n.loggingLevelConsole,a=n.loggingLevelTelemetry,l=n.maxMessageLimit,s=n.enableDebug}),o.consoleLoggingLevel=function(){return f},o[qt]=function(n,t,r,e,u){t=new ye(t,r,u=void 0!==u&&u,e);if(s)throw T(t);r=1===n?Pr:Ir;b(t[Zt])?c("throw"+(1===n?"Critical":"Warning"),t):(u?(e=+t[Yt],!g[e]&&n<=f&&(o[r](t[Zt]),g[e]=!0)):n<=f&&o[r](t[Zt]),i(n,t))},o[Ir]=function(n){pe("warn",n),c("warning",n)},o[Pr]=function(n){pe("error",n),c("error",n)},o.resetInternalMessageCount=function(){v=0,g={}},o.logInternalMessage=i,o.unload=function(n){t&&t.rm(),t=null}})}function xe(n,t,r,e,u,o){void 0===o&&(o=!1),(n||new be)[qt](t,r,e,u,o)}var Ce="ParentContextKey",Te="ChildrenContextKey",Pe=(o.ParentContextKey="parent",o.ChildrenContextKey="childEvts",o);function o(n,t,r){var e,u=this;u.start=et(),u.name=n,u[nr]=r,u[cr]=function(){return!1},w(t)&&On(u,"payload",{g:function(){return!e&&w(t)&&(e=t(),t=null),e}}),u[fr]=function(n){return n?(n===o[Ce]||n===o[Te]?u:u.ctx||{})[n]:null},u[a]=function(n,t){n&&(n===o[Ce]?(u[n]||(u[cr]=function(){return!0}),u[n]=t):n===o[Te]?u[n]=t:(u.ctx=u.ctx||{})[n]=t)},u[ar]=function(){var n=0,t=u[fr](o[Te]);if(x(t))for(var r=0;r<t[O];r++){var e=t[r];e&&(n+=e[Gt])}u[Gt]=et()-u.start,u.exTime=u[Gt]-n,u[ar]=function(){}}}var Ie="CoreUtils.doPerf";function Ee(n,t,r,e,u){if(n)if(n=n[Er]?n[Er]():n){var o,i=void 0,c=n[fr](Ie);try{if(i=n.create(t(),e,u))return c&&i[a]&&(i[a](Pe[Ce],c),c[fr]&&c[a]&&((o=c[fr](Pe[Te]))||(o=[],c[a](Pe[Te],o)),o[N](i))),n[a](Ie,i),r(i)}catch(f){i&&i[a]&&i[a]("exception",f)}finally{i&&n.fire(i),n[a](Ie,c)}}r()}var ke,Oe=ke={id:Xr("_aiData-plugin."+Qr),accept:Gr,get:function(n,t,r,e){var u=n[ke.id];return u?u[Ar(t)]:(e&&((u=function(n,t){var r=t[n.id];if(!r){r={};try{Gr(t)&&On(t,n.id,{e:!1,v:r})}catch(e){}}return r}(ke,n))[Ar(t)]=r),r)},kill:function(n,t){if(n&&n[t])try{delete n[t]}catch(r){}}};function Ne(n){return Oe.get(n,"state",{},!0)}var ze="TelemetryPluginChain",Ae="_hasRun",De="_getTelCtx",Se=0;function Me(n,o,r,t){var e=null,u=[],i=(o=o||U({},null,r[Jt]),null!==t&&(e=t?function(n,t,r){for(;n;){if(n[Bt]()===r)return n;n=n[S]()}return je([r],t.config||{},t)}(n,r,t):n),{_next:function(){var n,t=e;return e=t?t[S]():null,t||(n=u)&&0<n[O]&&(k(n,function(n){try{n.func.call(n.self,n.args)}catch(t){xe(r[Jt],2,73,"Unexpected Exception during onComplete - "+T(t))}}),u=[]),t},ctx:{core:function(){return r},diagLog:function(){return me(r,o.cfg)},getCfg:function(){return o.cfg},getExtCfg:function(n,t){var e=c(n,!0);return t&&C(t,function(n,t){var r;!g(e[n])||!(r=o.cfg[n])&&g(r)||(e[n]=r),ne(o,e,n,t)}),o[Vt](e,t)},getConfig:function(n,t,r){void 0===r&&(r=!1);var e,n=c(n,!1),u=o.cfg;return!n||!n[t]&&g(n[t])?!u[t]&&g(u[t])||(e=u[t]):e=n[t],e||!g(e)?e:r},hasNext:function(){return!!e},getNext:function(){return e},setNext:function(n){e=n},iterate:function(n){for(;t=i._next();){var t=t[Bt]();t&&n(t)}},onComplete:function(n,t){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];n&&u[N]({func:n,self:b(t)?i.ctx:t,args:r})}}});function c(n,t){var r,e=null,u=o.cfg;return u&&n&&(r=u[Cr],u[Cr]=r=!r&&t?{}:r,(r=o.ref(u,Cr))&&(e=r[n],r[n]=e=!e&&t?{}:e,e=o.ref(r,n))),e}return i}function Le(n,t,r,e){var u=U(t),o=Me(n,u,r,e),i=o.ctx;return i[z]=function(n){var t=o._next();return t&&t[L](n,i),!t},i[Xt]=function(n,t){return Le((n=x(n=void 0===n?null:n)?je(n,u.cfg,r,t):n)||i[S](),u.cfg,r,t)},i}function je(n,t,r,e){var u,o=null,i=!e;return x(n)&&0<n[O]&&(u=null,k(n,function(n){(i=!i&&e===n||i)&&n&&w(n[L])&&(n=Ue(n,t,r),o=o||n,u&&u._setNext(n),u=n)})),e&&!o?je([e],t,r):o}function Ue(f,e,u){var a=null,o=w(f[L]),i=w(f[er]),l=f?f[Qt]+"-"+f[Tr]+"-"+Se++:"Unknown-0-"+Se++,c={getPlugin:function(){return f},getNext:function(){return a},processTelemetry:function(r,n){var t;s(n=n||(t=(t=f&&w(f[De])?f[De]():t)||Le(c,e,u)),function(n){if(!f||!o)return!1;var t=Ne(f);return!t[A]&&!t[xr]&&(i&&f[er](a),f[L](r,n),!0)},"processTelemetry",function(){return{item:r}},!r.sync)||n[z](r)},unload:function(e,u){s(e,function(){var n,t,r=!1;return f&&(n=Ne(f),t=f[M]||n[M],!f||t&&t!==e.core()||n[A]||(n[M]=null,n[A]=!0,n[Wt]=!1,f[A]&&!0===f[A](e,u)&&(r=!0))),r},"unload",function(){},u[nr])||e[z](u)},update:function(e,u){s(e,function(){var n,t,r=!1;return f&&(n=Ne(f),t=f[M]||n[M],!f||t&&t!==e.core()||n[A]||f[rr]&&!0===f[rr](e,u)&&(r=!0)),r},"update",function(){},!1)||e[z](u)},_id:l,_setNext:function(n){a=n}};function s(r,e,u,n,t){var o=!1,i=f?f[Qt]:ze,c=(c=r[Ae])||(r[Ae]={});return r.setNext(a),f&&Ee(r[M](),function(){return i+":"+u},function(){c[l]=!0;try{var n=a?a._id:v;n&&(c[n]=!1),o=e(r)}catch(t){n=!a||c[a._id];n&&(o=!0),a&&n||xe(r[D](),1,73,"Plugin ["+i+"] failed during "+u+" - "+T(t)+", run flags: "+T(c))}},n,t),o}return hn(c)}function Re(){var t=[];return{add:function(n){n&&t[N](n)},run:function(r,e){k(t,function(n){try{n(r,e)}catch(t){xe(r[D](),2,73,"Unexpected error calling unload handler - "+T(t))}}),t=[]}}}function qe(){var e=[];return{run:function(r){var n=e;e=[],k(n,function(n){try{(n.rm||n.remove).call(n)}catch(t){xe(r,2,73,"Unloading:"+T(t))}})},add:function(n){var t;n&&(t=e,!b(n=n)&&t&&(x(n)?t.push.apply(t,n):Bn(n)||null!==n&&rn(n)&&w(n[Hn(3)])?Gn(n,function(n){t.push(n)}):t.push(n)))}}}var R="getPlugin",Ve=((Y={})[Cr]={isVal:function(n){return!g(n)},v:{}},Y),e=(Fe.__ieDyn=1,Fe);function Fe(){var u,o,l,s,v,i=this;function t(n){var t,n=n=void 0===n?null:n;return n||(t=o||Le(null,{},i[M]),n=l&&l[R]?t[Xt](null,l[R]):t[Xt](null,l)),n}function f(n,t,r){U(n,Ve,me(t)),!r&&t&&(r=t.getProcessTelContext()[S]());var e=l;l&&l[R]&&(e=l[R]()),i[M]=t,o=Le(r,n,t,e)}function g(){u=!1,i[M]=null,l=o=null,v=qe(),s=Re()}g(),Mt(Fe,i,function(a){a[Ht]=function(n,t,r,e){f(n,t,e),u=!0},a[A]=function(n,t){var r,e,u,o,i=a[M];if(i&&(!n||i===n[M]()))return e=!1,u=n||function f(n,r,t){var e=U(r.config),u=Me(n,e,r,t),o=u.ctx;return o[z]=function(n){var t=u._next();return t&&t.unload(o,n),!t},o[Xt]=function(n,t){return f((n=x(n=void 0===n?null:n)?je(n,e.cfg,r,t):n)||o[S](),r,t)},o}(null,i,l&&l[R]?l[R]():l),o=t||((n={reason:0})[nr]=!1,n),a[tr]&&!0===a[tr](u,o,c)?r=!0:c(),r;function c(){e||(e=!0,s.run(u,t),v.run(u[D]()),!0===r&&u[z](o),g())}},a[rr]=function(n,t){var r,e,u,o=a[M];if(o&&(!n||o===n[M]()))return e=!1,u=n||function c(n,r,t){var e=U(r.config),u=Me(n,e,r,t).ctx;return u[z]=function(t){return u.iterate(function(n){w(n[rr])&&n[rr](u,t)})},u[Xt]=function(n,t){return c((n=x(n=void 0===n?null:n)?je(n,e.cfg,r,t):n)||u[S](),r,t)},u}(null,o,l&&l[R]?l[R]():l),a._doUpdate&&!0===a._doUpdate(u,t||{reason:0},i)?r=!0:i(),r;function i(){e||(e=!0,f(u.getCfg(),u.core(),u[S]()))}},Sr(a,"_addUnloadCb",function(){return s},"add"),Sr(a,"_addHook",function(){return v},"add"),On(a,"_unloadHooks",{g:function(){return v}})}),i[D]=function(n){return t(n)[D]()},i[Wt]=function(){return u},i.setInitialized=function(n){u=n},i[er]=function(n){l=n},i[z]=function(n,t){t?t[z](n):l&&w(l[L])&&l[L](n,null)},i._getTelCtx=t}var Je="length",$e="queue",Ke="processNext",He="identifier",Qe="teardown",We="priority",Be="ignoreCoreChannels",Ge="teeChannels",Xe=500;function Ye(n){return Le(null,n.config,n,null)}function Ze(n,t,r,e){var u=n?n[Je]+1:1;function o(){0==--u&&(e&&e(),e=null)}0<u&&k(n,function(n){n&&0<n.queue[Je]?((n=t.createNew(n[$e])).onComplete(o),r(n)):u--}),o()}var nu,tu,ru="Channel has invalid priority - ",eu=dn(((r={})[Ge]=null,r[Be]={fb:void 0,set:function(n,t,r){return!n&&g(n)?t:cn(n)?n:"true"===wn(n)[jt]()},v:!1},r));function uu(n,t,r,e){var u;t&&x(t)&&0<t[Je]&&(t=t.sort(function(n,t){return n[We]-t[We]}),u=[],k(t,function(n){var t;if(n[We]<Xe)throw t=ru+n[He],Error(t);n!==e&&u.push(n)}),n.push(((t={})[$e]=hn(u),t)))}function ou(){this.constructor=tu}function iu(){var c,f,n=nu.call(this)||this;return n.identifier="TeeChannelController",n.priority=999,Mt(iu,n,function(i,n){var t,r,e,a,l;a=[],l=null,f=!(c={init:function(n,t){a=n,l=t},getQueues:function(){return a},processTelemetry:function(t,n){Ze(a,n||Ye(l),function(n){n[Ke](t)},function(){n[Ke](t)})},update:function(n,t){var r=t||{reason:0};return Ze(a,n,function(n){n[Ke](r)},function(){n[Ke](r)}),!0},pause:function(){Ze(a,Ye(l),function(n){n.iterate(function(n){n.pause&&n.pause()})},null)},resume:function(){Ze(a,Ye(l),function(n){n.iterate(function(n){n.resume&&n.resume()})},null)},teardown:function(n,t,r){var e=t||{reason:0,isAsync:!1};return Ze(a,n,function(n){n[Ke](e)},function(){n[Ke](e),r&&r()}),!0},getChannel:function(t){var r=null;return a&&0<a[Je]&&k(a,function(n){if(n&&0<n.queue[Je]&&(k(n[$e],function(n){if(n[He]===t)return r=n,-1}),r))return-1}),r},flush:function(r,t,e,u){var o=1,n=!1,i=null,c=!0;function f(){o--,n&&0===o&&(i&&i.cancel(),i=null,t&&t(n),t=null)}return u=u||5e3,r&&!t&&(c=function(){return(gr=gr||zn(function(){return br})).v.call(this,function(n){t=n},void 0)}()),Ze(a,Ye(l),function(n){n.iterate(function(n){var t;n.flush&&(o++,t=!1,n.flush(r,function(){t=!0,f()},e)||t||(r&&null==i?i=ft(function(){i=null,f()},u):f()))})},function(){n=!0,f()}),c}}),i.initialize=function(n,t,r,e){var u,o;f||(f=!0,(u=i)._addHook(ve((o=t).config,function(a){var r,e,l=Le(null,a.cfg,o),n=l.getExtCfg(u[He],eu),n=(r=u,e=[],(n=n)&&(!n[Be]&&o.config.channels&&k(o.config.channels,function(n,t){0<t&&uu(e,n,0,r)}),n[Ge]&&k(n[Ge],function(n){return uu(e,n,0,r)})),e);k(n,function(n){if(n&&0<n.queue[Je]){for(var r=l.createNew(n[$e]),e=a.cfg.extensions,t=[],u=null,o=r[S]();o;){var i,c,f=o[Bt]();f&&(u&&u[er]&&f[L]&&u[er](f),c=!!(i=Ne(f))[Wt],(c=f[Wt]?f[Wt]():c)||t[N](f),u=f,o=o[S]())}k(t,function(n){var t=r[M]();n[Ht](r.getCfg(),t,e,r[S]()),i=Ne(n),n[M]||i[M]||(i[M]=t),i[Wt]=!0,delete i[A]})}}),c.init(n,o)})))},i.getTeeChannels=function(){var t=[],n=c.getQueues();return n&&k(n,function(n){t.push(n[$e])}),hn(t)},i.isInitialized=function(){return f},i[Qe]=function(n,t){return c[Qe](n,t,function(){f=!1})},r=c,e=["processTelemetry","update","pause","resume","getChannel","flush"],(t=i)&&r&&un(t)&&x(e)&&k(e,function(n){en(n)&&Sr(t,n,r,n,void 0)})}),n}n=nu=e,at(tu=iu,n),tu[s]=(ou[s]=n[s],new ou),iu.__ieDyn=1,c.TeeChannel=iu};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((n="undefined"!=typeof globalThis?globalThis:n||self).Microsoft=n.Microsoft||{},n.Microsoft.ApplicationInsights=n.Microsoft.ApplicationInsights||{}));
6
6
  //# sourceMappingURL=applicationinsights-teechannel-js.min.js.map