@microsoft/applicationinsights-common
Advanced tools
Comparing version
{ | ||
"name": "applicationinsights-common", | ||
"version": "2.7.4-nightly.2202-05", | ||
"version": "2.7.4-nightly.2202-07", | ||
"ext": { | ||
@@ -8,7 +8,7 @@ "@js": { | ||
"type": "text/javascript; charset=utf-8", | ||
"integrity": "sha256-9gpmjKvn6q3M4S6uJf65qe23L4VX6SCpsV0a15GcB08= sha384-6MD2OHctIJnlpx25lNORSXkfqiIi0WbCiZxLRtwR6ZtReoauoTdZLD0getTGAAEz sha512-vF6jSVMOhWXyHk38b65ZMsf9Y8N31Aam41JObL7+V1C9IbBwxy4Jo7HXxNSn9d66JCbc7Enc7kKKlyhve5ofXA==", | ||
"integrity": "sha256-az0UFHLnSzMsH8tT0VQl5FGnRtoGvJWJ1vQaIRy0dQE= sha384-7YPfOs7BFTnp+uxXOoSDiL+Y7KYU+dhnLmOFy68EZYmK3Tv+R83gtWJ4vm9okR69 sha512-fCZrOwwYo64/JjyI52WSmLhCGPfwKiNPGBoQ/U9GiUhLp0Y68EJXIxULF+dbC+34IHWRApr1qDArGOkIlbyFyw==", | ||
"hashes": { | ||
"sha256": "9gpmjKvn6q3M4S6uJf65qe23L4VX6SCpsV0a15GcB08=", | ||
"sha384": "6MD2OHctIJnlpx25lNORSXkfqiIi0WbCiZxLRtwR6ZtReoauoTdZLD0getTGAAEz", | ||
"sha512": "vF6jSVMOhWXyHk38b65ZMsf9Y8N31Aam41JObL7+V1C9IbBwxy4Jo7HXxNSn9d66JCbc7Enc7kKKlyhve5ofXA==" | ||
"sha256": "az0UFHLnSzMsH8tT0VQl5FGnRtoGvJWJ1vQaIRy0dQE=", | ||
"sha384": "7YPfOs7BFTnp+uxXOoSDiL+Y7KYU+dhnLmOFy68EZYmK3Tv+R83gtWJ4vm9okR69", | ||
"sha512": "fCZrOwwYo64/JjyI52WSmLhCGPfwKiNPGBoQ/U9GiUhLp0Y68EJXIxULF+dbC+34IHWRApr1qDArGOkIlbyFyw==" | ||
} | ||
@@ -19,7 +19,7 @@ }, | ||
"type": "text/javascript; charset=utf-8", | ||
"integrity": "sha256-tydM0O9JR47Hv0ugXwPjXEVqrs2yzSIvf5TzbY7gVUs= sha384-p5If69o0tCSvqvTuNpHo7Uk60KxjtaStsHAuD/xAepOV4YtitcSjeVEHeEEmeQI7 sha512-wc5YkspnW6fjthjW9iT9xdeF86aE0nC0xm6TZaL8vlHabLg86gyGwHhkacisb7r6fz1xOf0/XAIJ3EeCi6fdmw==", | ||
"integrity": "sha256-QqgGyLl4krXpMPEZvq6PWHEKfOxLcWAAMhCkPVr7OXY= sha384-JRCUUwqY41IPds5y+7P3q3I0EV7RBxXiiNP4r30YPVB8lnVpYeqlZsYJiR0pOsel sha512-keebE0TLRsQuMsUx25Op8IZ7reu58OUmUyvBThh2Iss3L+9khKxQ+l507TD9np+4W3kLYUOubcyyXOOBHCpmgA==", | ||
"hashes": { | ||
"sha256": "tydM0O9JR47Hv0ugXwPjXEVqrs2yzSIvf5TzbY7gVUs=", | ||
"sha384": "p5If69o0tCSvqvTuNpHo7Uk60KxjtaStsHAuD/xAepOV4YtitcSjeVEHeEEmeQI7", | ||
"sha512": "wc5YkspnW6fjthjW9iT9xdeF86aE0nC0xm6TZaL8vlHabLg86gyGwHhkacisb7r6fz1xOf0/XAIJ3EeCi6fdmw==" | ||
"sha256": "QqgGyLl4krXpMPEZvq6PWHEKfOxLcWAAMhCkPVr7OXY=", | ||
"sha384": "JRCUUwqY41IPds5y+7P3q3I0EV7RBxXiiNP4r30YPVB8lnVpYeqlZsYJiR0pOsel", | ||
"sha512": "keebE0TLRsQuMsUx25Op8IZ7reu58OUmUyvBThh2Iss3L+9khKxQ+l507TD9np+4W3kLYUOubcyyXOOBHCpmgA==" | ||
} | ||
@@ -26,0 +26,0 @@ } |
/*! | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
*/ | ||
var e=this,t=function(e){"use strict";var s="function",v="object",u="undefined",l="prototype",c="hasOwnProperty",d=Object,f=d[l],h=d.assign,S=d.create,t=d.defineProperty,y=f[c],I=null;function C(e){return void 0===e&&(e=!0),I&&e||(typeof globalThis!==u&&globalThis&&(I=globalThis),typeof self!==u&&self&&(I=self),typeof window!==u&&window&&(I=window),typeof global!==u&&global&&(I=global)),I}function x(e){throw new TypeError(e)}function N(e){if(S)return S(e);if(null==e)return{};var t=typeof e;function n(){}return t!==v&&t!==s&&x("Object prototype may only be an Object:"+e),n[l]=e,new n}(C()||{}).Symbol,(C()||{}).Reflect;var w=h||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])f[c].call(t,o)&&(e[o]=t[o]);return e},b=function(e,t){return(b=d.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[c](n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}typeof t!==s&&null!==t&&x("Class extends value "+t+" is not a constructor or null"),b(e,t),e[l]=null===t?N(t):(n[l]=t[l],new n)}var A={CRITICAL:1,1:"CRITICAL",WARNING:2,2:"WARNING"},i={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},T="attachEvent",E="addEventListener",k="toISOString",M="endsWith",D="indexOf",R="reduce",F="trim",L="keys",h="toString",P=t,t=String[l],O=t[F],U=t[M],B=Date[l][k],t=Array.isArray,z=f[h];function G(e){return e===undefined||typeof e===u}function p(e){return null===e||G(e)}function j(e){return!p(e)}function _(e){return!(!e||typeof e!==v)}function H(e){return!(!e||typeof e!==s)}function V(e,t,n,r){void 0===r&&(r=!1);var o=!1;if(!p(e))try{p(e[E])?p(e[T])||(e[T]("on"+t,n),o=!0):(e[E](t,n,r),o=!0)}catch(i){}return o}function W(e,t){if(e)for(var n in e)y.call(e,n)&&t.call(e,n,e[n])}function r(e,t){return!(!e||!t||!~e.indexOf(t))}function q(e){return!(!e||"[object Date]"!==z.call(e))}y[h].call(d);var K=t||function(e){return!(!e||"[object Array]"!==z.call(e))};function X(e){return!(!e||"[object Error]"!==z.call(e))}function a(e){return"string"==typeof e}function J(e){return"boolean"==typeof e}function Y(e){if(e){if(B)return e[k]();var t;return e&&e.getUTCFullYear?(t=function(e){e=""+e;return 1===e.length?"0"+e:e},e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"):void 0}}function Z(e,t,n){var r=e.length;try{for(var o=0;o<r&&!(o in e&&-1===t.call(n||e,e[o],o,e));o++);}catch(i){}}function Q(e,t,n){if(e){if(e[D])return e[D](t,n);var r=e.length,n=n||0;try{for(var o=Math.max(0<=n?n:r-Math.abs(n),0);o<r;o++)if(o in e&&e[o]===t)return o}catch(i){}}return-1}function $(e,t,n){if(e){if(e.map)return e.map(t,n);var r=e.length,o=n||e,i=Array(r);try{for(var a=0;a<r;a++)a in e&&(i[a]=t.call(o,e[a],e))}catch(s){}}return i}function ee(e,t,n){var r;if(e){if(e[R])return e[R](t,n);var o=e.length,i=0;if(3<=arguments.length)r=n;else{for(;i<o&&!(i in e);)i++;r=e[i++]}for(;i<o;)i in e&&(r=t(r,e[i],i,e)),i++}return r}function g(e){return e&&(O&&e[F]?e[F]():e.replace?e.replace(/^\s+|\s+$/g,""):e)}var te=!{toString:null}.propertyIsEnumerable("toString"),ne=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function re(e){var t=typeof e;if(t===s||t===v&&null!==e||x("objKeys called on non-object"),!te&&e[L])return e[L]();var n,r=[];for(n in e)e&&y.call(e,n)&&r.push(n);if(te)for(var o=ne.length,i=0;i<o;i++)e&&y.call(e,ne[i])&&r.push(ne[i]);return r}function oe(e,t,n,r){if(P)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),P(e,t,o),!0}catch(i){}return!1}function ie(){var e=Date;return e.now?e.now():(new e).getTime()}function ae(e){return X(e)?e.name:""}function se(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(e[t]=i=n)),i}function ue(e){return!!e}var le="window",ce="navigator",de="location",fe="JSON",pe="crypto",ge="msCrypto",me="msie",ve="trident/",he=null,Se=null,ye=null;function Ie(e){var t=C();return t&&t[e]?t[e]:e===le&&Ce()?window:null}function Ce(){return typeof window===v&&window}function xe(){return typeof document===v&&document?document:Ie("document")}function Ne(){return!(typeof navigator!==v||!navigator)}function we(){return Ne()?navigator:Ie(ce)}function be(){return Ie("performance")}function Ae(){return typeof JSON===v&&JSON||null!==Ie(fe)}function Te(){return Ae()?JSON||Ie(fe):null}function Ee(){var e=we();return!e||e.userAgent===Se&&null!==he||(e=((Se=e.userAgent)||"").toLowerCase(),he=r(e,me)||r(e,ve)),he}function ke(e){var t=Object[l].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Ae()&&(n=Te().stringify(e)),t+n}function Me(){return ye=null===ye?Ne()&&!!we().sendBeacon:ye}var De="toGMTString",Re="toUTCString",Fe="cookie",Le="expires",Pe="enabled",Oe="isCookieUseDisabled",Ue="disableCookiesUsage",Be="_ckMgr",ze="",Ge=null,je=null,_e=null,He=xe(),Ve={},We={};function qe(e){return!e||e.isEnabled()}function Ke(e,o){se(n=(e=e||We).cookieCfg=e.cookieCfg||{},"domain",e.cookieDomain,j,p),se(n,"path",e.cookiePath||"/",null,p),p(n[Pe])&&(t=void 0,G(e[Oe])||(t=!e[Oe]),G(e[Ue])||(t=!e[Ue]),n[Pe]=t);var t,n,l=n,c=l.path||"/",d=l.domain,r=!1!==l[Pe],f={isEnabled:function(){var e=r&&Xe(o),t=We[Be];return e&&t&&f!==t?qe(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,o){var i,a,s,u=!1;return qe(f)&&(i={},-1!=(s=(a=g(t||ze)).indexOf(";"))&&(a=g(t.substring(0,s)),i=Je(t.substring(1+s))),se(i,"domain",r||d,ue,G),p(n)||(s=Ee(),!G(i[Le])||0<(t=ie()+1e3*n)&&((r=new Date).setTime(t),se(i,Le,Ye(r,s?De:Re)||Ye(r,s?De:Re)||ze,ue)),s||se(i,"max-age",ze+n,null,G)),(t=typeof location===v&&location?location:Ie(de))&&"https:"===t.protocol&&(se(i,"secure",null,null,G),(je=null===je?!$e((we()||{}).userAgent):je)&&se(i,"SameSite","None",null,G)),se(i,"path",o||c,null,G),(l.setCookie||Qe)(e,Ze(a,i)),u=!0),u},get:function(e){var t=ze;return qe(f)?(l.getCookie||function(e){var t,n=ze;return He&&(t=He[Fe]||ze,_e!==t&&(Ve=Je(t),_e=t),n=g(Ve[e]||ze)),n})(e):t},del:function(e,t){return!!qe(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return Xe(o)&&((n={}).path=t||"/",n[Le]="Thu, 01 Jan 1970 00:00:01 GMT",t=n,Ee()||(t["max-age"]="0"),(l.delCookie||Qe)(e,Ze(ze,t)),r=!0),r}};return f[Be]=f}function Xe(e){if(null===Ge){Ge=!1;try{Ge=(He||{})[Fe]!==undefined}catch(t){e&&e.throwInternal(A.WARNING,i.CannotAccessCookie,"Cannot access document.cookie - "+ae(t),{exception:ke(t)})}}return Ge}function Je(e){var n={};return e&&e.length&&Z(g(e).split(";"),function(e){var t;(e=g(e||ze))&&(-1==(t=e.indexOf("="))?n[e]=null:n[g(e.substring(0,t))]=g(e.substring(1+t)))}),n}function Ye(e,t){return H(e[t])?e[t]():null}function Ze(e,t){var n=e||ze;return W(t,function(e,t){n+="; "+e+(p(t)?ze:"="+t)}),n}function Qe(e,t){He&&(He[Fe]=e+"="+t)}function $e(e){return!(!a(e)||!r(e,"CPU iPhone OS 12")&&!r(e,"iPad; CPU OS 12")&&!(r(e,"Macintosh; Intel Mac OS X 10_14")&&r(e,"Version/")&&r(e,"Safari"))&&(!r(e,"Macintosh; Intel Mac OS X 10_14")||!function(e,t){var n=!1;if(!e||(n=e===t))return n;if(U)return e[M](t);var r=e,o=t,n=!1,e=r?r.length:0;if(e&&40<=e&&!(n=r===o)){for(var i=e-1,a=39;0<=a;a--){if(r[i]!=o[a])return;i--}n=!0}return n}(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!r(e,"Chrome/5")&&!r(e,"Chrome/6")&&(!r(e,"UnrealEngine")||r(e,"Chrome"))&&!r(e,"UCBrowser/12")&&!r(e,"UCBrowser/11"))}var et=4294967296,tt=4294967295,nt=!1,rt=123456789,ot=987654321;function it(e){e<0&&(e>>>=0),rt=123456789+e&tt,ot=987654321-e&tt,nt=!0}function at(){try{var e=2147483647&ie();it((Math.random()*et^e)+e)}catch(t){}}function st(e){return 0<e?Math.floor(ut()/tt*(e+1))>>>0:0}function ut(e){var t=Ie(pe)||Ie(ge),t=t&&t.getRandomValues?t.getRandomValues(new Uint32Array(1))[0]&tt:Ee()?(nt||at(),lt()&tt):Math.floor(et*Math.random()|0);return e||(t>>>=0),t}function lt(e){var t=((ot=36969*(65535&ot)+(ot>>16)&tt)<<16)+(65535&(rt=18e3*(65535&rt)+(rt>>16)&tt))>>>0&tt|0;return e||(t>>>=0),t}var ct,dt=null;function ft(e){void 0===e&&(e=22);for(var t=ut()>>>0,n=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++n&&(t=(ut()<<2&4294967295|3&t)>>>0,n=0);return r}function pt(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=ut())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&ut())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var gt={_canUseCookies:undefined,isTypeof:function(e,t){return typeof e===t},isUndefined:G,isNullOrUndefined:p,hasOwnProperty:function(e,t){return!(!e||!y.call(e,t))},isFunction:H,isObject:_,isDate:q,isArray:K,isError:X,isString:a,isNumber:function(e){return"number"==typeof e},isBoolean:J,toISOString:Y,arrForEach:Z,arrIndexOf:Q,arrMap:$,arrReduce:ee,strTrim:g,objCreate:N,objKeys:re,objDefineAccessors:oe,addEventHandler:function(e,t){var n=!1,r=Ce()?window:Ie(le),r=(r&&(n=V(r,e,t),n=V(r.body,e,t)||n),xe());return r&&V(r,e,t)||n},dateNow:ie,isIE:Ee,disableCookies:ht,newGuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(mt,function(e){var t=0|st(15);return("x"===e?t:3&t|8).toString(16)})},perfNow:function(){var e=be();return e&&e.now?e.now():ie()},newId:ft,randomValue:st,random32:ut,mwcRandomSeed:function(e){e?it(e):at()},mwcRandom32:lt,generateW3CId:pt},mt=/[xy]/g;function vt(e,t){(n=Ke[Be]||We[Be])||(n=Ke[Be]=Ke(e,t),We[Be]=n);var n,e=n,t=gt._canUseCookies;return null===dt&&(dt=[],ct=t,oe(gt,"_canUseCookies",function(){return ct},function(t){ct=t,Z(dt,function(e){e.setEnabled(t)})})),-1===Q(dt,e)&&dt.push(e),J(t)&&e.setEnabled(t),J(ct)&&e.setEnabled(ct),e}function ht(){vt().setEnabled(!1)}var St={requestContextHeader:"Request-Context",requestContextTargetKey:"appId",requestContextAppIdFormat:"appId=cid-v1:",requestIdHeader:"Request-Id",traceParentHeader:"traceparent",traceStateHeader:"tracestate",sdkContextHeader:"Sdk-Context",sdkContextHeaderAppIdRequest:"appId",requestContextHeaderLowerCase:"request-context"};function yt(e,t,n){var r=t.length,o=It(e,t);if(o.length!==r){for(var i=0,a=o;n[a]!==undefined;)i++,a=o.substring(0,147)+Et(i);o=a}return o}function It(e,t){var n;return t&&150<(t=g(t.toString())).length&&(n=t.substring(0,150),e&&e.throwInternal(A.WARNING,i.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),n||t}function m(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=g(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(A.WARNING,i.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function Ct(e,t){return Tt(e,t,2048,i.UrlTooLong)}function xt(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(A.WARNING,i.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Nt(e,t){var n,r;return!t||32768<(r=""+t).length&&(n=r.substring(0,32768),e&&e.throwInternal(A.WARNING,i.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0)),n||t}function wt(r,e){var o;return e&&(o={},W(e,function(e,t){if(_(t)&&Ae())try{t=Te().stringify(t)}catch(n){r&&r.throwInternal(A.WARNING,i.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=m(r,t,8192),e=yt(r,e,o),o[e]=t}),e=o),e}function bt(n,e){var r;return e&&(r={},W(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function At(e,t){return t&&Tt(e,t,128,i.IdTooLong).toString()}function Tt(e,t,n,r){var o;return t&&(t=g(t)).length>n&&(o=t.substring(0,n),e&&e.throwInternal(A.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),o||t}function Et(e){e="00"+e;return e.substr(e.length-3)}h={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128,MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768,sanitizeKeyAndAddUniqueness:yt,sanitizeKey:It,sanitizeString:m,sanitizeUrl:Ct,sanitizeMessage:xt,sanitizeException:Nt,sanitizeProperties:wt,sanitizeMeasurements:bt,sanitizeId:At,sanitizeInput:Tt,padNumber:Et,trim:g};function kt(e){var t,n=null;return H(Event)?n=new Event(e):(t=xe())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Mt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function Dt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<o?o+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}function Rt(e,t){var n=null;return Z(e,function(e){if(e.identifier===t)return n=e,-1}),n}function Ft(e,t,n,r,o){return!o&&a(e)&&("Script error."===e||"Script error"===e)}var Lt,Pt="https://dc.services.visualstudio.com",Ot="not_specified",Ut="iKey",Bt=((t=Lt=Lt||{})[t.LocalStorage=0]="LocalStorage",t[t.SessionStorage=1]="SessionStorage",e.DistributedTracingModes=void 0,(t=e.DistributedTracingModes||(e.DistributedTracingModes={}))[t.AI=0]="AI",t[t.AI_AND_W3C=1]="AI_AND_W3C",t[t.W3C=2]="W3C",undefined),zt=undefined;function Gt(){return Vt()?jt(Lt.LocalStorage):null}function jt(e){try{if(p(C()))return null;var t=new Date,n=Ie(e===Lt.LocalStorage?"localStorage":"sessionStorage"),r=(n.setItem(t.toString(),t.toString()),n.getItem(t.toString())!==t.toString());if(n.removeItem(t.toString()),!r)return n}catch(o){}return null}function _t(){return Xt()?jt(Lt.SessionStorage):null}function Ht(){zt=Bt=!1}function Vt(){return Bt=Bt===undefined?!!jt(Lt.LocalStorage):Bt}function Wt(e,t){var n=Gt();if(null!==n)try{return n.getItem(t)}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadLocalStorage,"Browser failed read of local storage. "+ae(r),{exception:ke(r)})}return null}function qt(e,t,n){var r=Gt();if(null!==r)try{return r.setItem(t,n),!0}catch(o){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteLocalStorage,"Browser failed write to local storage. "+ae(o),{exception:ke(o)})}return!1}function Kt(e,t){var n=Gt();if(null!==n)try{return n.removeItem(t),!0}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromLocalStorage,"Browser failed removal of local storage item. "+ae(r),{exception:ke(r)})}return!1}function Xt(){return zt=zt===undefined?!!jt(Lt.SessionStorage):zt}function Jt(){var t=[];return Xt()&&W(Ie("sessionStorage"),function(e){t.push(e)}),t}function Yt(e,t){var n=_t();if(null!==n)try{return n.getItem(t)}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+ae(r),{exception:ke(r)})}return null}function Zt(e,t,n){var r=_t();if(null!==r)try{return r.setItem(t,n),!0}catch(o){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+ae(o),{exception:ke(o)})}return!1}function Qt(e,t){var n=_t();if(null!==n)try{return n.removeItem(t),!0}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+ae(r),{exception:ke(r)})}return!1}var $t=xe()||{},en=0,tn=[null,null,null,null,null];function nn(e){var t=en,n=tn,r=n[t];return $t.createElement?n[t]||(r=n[t]=$t.createElement("a")):r={host:sn(e,!0)},r.href=e,++t>=n.length&&(t=0),en=t,r}function rn(e){e=nn(e);return e?e.href:void 0}function on(e){e=nn(e);return e?e.pathname:void 0}function an(e,t){return e?e.toUpperCase()+" "+t:t}function sn(e,t){e=un(e,t)||"";if(e){t=e.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=t&&3<t.length&&a(t[2])&&0<t[2].length)return t[2]+(t[3]||"")}return e}function un(e,t){var n=null;return!e||null!=(e=e.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<e.length&&a(e[2])&&0<e[2].length&&(n=e[2]||"",t&&2<e.length&&(t=(e[1]||"").toLowerCase(),e=e[3]||"",n+=e="http"==t&&":80"===e||"https"==t&&":443"===e?"":e)),n}var ln=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function cn(e){return!!~ln.indexOf(e.toLowerCase())}var t={NotSpecified:Ot,createDomEvent:kt,disableStorage:Ht,isInternalApplicationInsightsEndpoint:cn,canUseLocalStorage:Vt,getStorage:Wt,setStorage:qt,removeStorage:Kt,canUseSessionStorage:Xt,getSessionStorageKeys:Jt,getSessionStorage:Yt,setSessionStorage:Zt,removeSessionStorage:Qt,disableCookies:ht,canUseCookies:function(e){return vt(null,e).isEnabled()},disallowsSameSiteNone:$e,setCookie:function(e,t,n,r){vt(null,e).set(t,n,null,r)},stringToBoolOrDefault:Mt,getCookie:function(e,t){return vt(null,e).get(t)},deleteCookie:function(e,t){return vt(null,e).del(t)},trim:g,newId:ft,random32:function(){return ut(!0)},generateW3CId:pt,isArray:K,isError:X,isDate:q,toISOStringForIE8:Y,getIEVersion:function(e){var t=((e=(e=void 0===e?null:e)?e:(t=we()||{})?(t.userAgent||"").toLowerCase():"")||"").toLowerCase();if(r(t,me))return e=xe()||{},Math.max(parseInt(t.split(me)[1]),e.documentMode||0);if(r(t,ve)){e=parseInt(t.split(ve)[1]);if(e)return e+4}return null},msToTimeSpan:Dt,isCrossOriginError:Ft,dump:ke,getExceptionName:ae,addEventHandler:V,IsBeaconApiSupported:Me,getExtension:Rt},dn={parseUrl:nn,getAbsoluteUrl:rn,getPathName:on,getCompleteUrl:an,parseHost:sn,parseFullHost:un},fn={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e.correlationHeaderExcludePatterns)for(var r=0;r<e.correlationHeaderExcludePatterns.length;r++)if(e.correlationHeaderExcludePatterns[r].test(t))return!1;var o=nn(t).host.toLowerCase();if(o&&(~o.indexOf(":443")||~o.indexOf(":80"))&&(o=(un(t,!0)||"").toLowerCase()),(!e||!e.enableCorsCorrelation)&&o&&o!==n)return!1;var i,n=e&&e.correlationHeaderDomains;if(n&&(Z(n,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a.length)return!0;for(r=0;r<a.length;r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o.length},getCorrelationContext:function(e){if(e){e=fn.getCorrelationContextValue(e,St.requestContextTargetKey);if(e&&e!==fn.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,t){if(e)for(var n=e.split(","),r=0;r<n.length;++r){var o=n[r].split("=");if(2===o.length&&o[0]===t)return o[1]}}};function pn(){var e=be();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return ie()}function gn(e,t){return 0===e||0===t||p(e)||p(t)?null:t-e}var mn={Now:pn,GetDuration:gn};function vn(e){if(!e)return{};var t,e=ee(e.split(";"),function(e,t){var n,t=t.split("=");return 2===t.length&&(n=t[0].toLowerCase(),t=t[1],e[n]=t),e},{});return 0<re(e).length&&(e.endpointsuffix&&(t=e.location?e.location+".":"",e.ingestionendpoint=e.ingestionendpoint||"https://"+t+"dc."+e.endpointsuffix),e.ingestionendpoint=e.ingestionendpoint||Pt),e}var hn,Sn={parse:vn},yn=function(){},In=(n(Cn,hn=yn),Cn);function Cn(){return hn.call(this)||this}n(wn,xn=function(){this.ver=1,this.sampleRate=100,this.tags={}});var xn,Nn=wn;function wn(e,t,n){var r=xn.call(this)||this;return r.name=m(e,n)||Ot,r.data=t,r.time=Y(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1},r}var bn,An=function(){this.ver=2,this.properties={},this.measurements={}},Tn=(n(En,bn=An),En.envelopeType="Microsoft.ApplicationInsights.{0}.Event",En.dataType="EventData",En);function En(e,t,n,r){var o=bn.call(this)||this;return o.aiDataContract={ver:1,name:1,properties:0,measurements:0},o.name=m(e,t)||Ot,o.properties=wt(e,n),o.measurements=bt(e,r),o}var kn="error",Mn="stack",Dn="stackDetails",Rn="errorSrc",Fn="message",Ln="description";function Pn(e,t){var n=e;return n&&!a(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=H(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function On(e,t){var n=e;return e&&((n=n&&!a(n)&&(e[Fn]||e[Ln])||n)&&!a(n)&&(n=Pn(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function Un(e){return e&&e.src&&a(e.src)&&e.obj&&K(e.obj)}function Bn(e){var e=e||"",t=(e=a(e)?e:a(e[Mn])?e[Mn]:""+e).split("\n");return{src:e,obj:t}}function zn(e){var t,n=null;if(e)try{e[Mn]?n=Bn(e[Mn]):e[kn]&&e[kn][Mn]?n=Bn(e[kn][Mn]):e.exception&&e.exception[Mn]?n=Bn(e.exception[Mn]):Un(e)?n=e:Un(e[Dn])?n=e[Dn]:window&&window.opera&&e[Fn]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var o=n[r];n[r+1]&&(o+="@"+n[r+1],r++),t.push(o)}return{src:e,obj:t}}(e.message):a(e)?n=Bn(e):(t=e[Fn]||e[Ln]||"",a(e[Rn])&&(t&&(t+="\n"),t+=" from "+e[Rn]),t&&(n=Bn(t)))}catch(r){n=Bn(r)}return n||{src:"",obj:null}}function Gn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function jn(e){if(e)try{var t,n;if(!a(e))return t=Gn(e),(n=Pn(e,!1))&&"{}"!==n||(e[kn]&&(t=Gn(e=e[kn])),n=Pn(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}catch(r){}return""+(e||"")}n(Vn,_n=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),Vn.CreateAutoException=function(e,t,n,r,o,i,a,s){var u=Gn(o||i||e);return{message:On(e,u),url:t,lineNumber:n,columnNumber:r,error:jn(o||i||e),evt:jn(i||e),typeName:u,stackDetails:zn(a||o||i),errorSrc:s}},Vn.CreateFromInterface=function(t,e,n,r){var o=e.exceptions&&$(e.exceptions,function(e){return qn.CreateFromInterface(t,e)});return new Vn(t,w(w({},e),{exceptions:o}),n,r)},Vn.prototype.toInterface=function(){var e=this,t=e.exceptions,n=e.properties,r=e.measurements,o=e.severityLevel,i=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:t instanceof Array&&$(t,function(e){return e.toInterface()})||undefined,severityLevel:o,properties:n,measurements:r,problemGroup:i,id:a,isManual:e}},Vn.CreateSimpleException=function(e,t,n,r,o,i){return{exceptions:[{hasFullStack:!0,message:e,stack:o,typeName:t}]}},Vn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",Vn.dataType="ExceptionData",Vn.formatError=jn;var _n,Hn=Vn;function Vn(e,t,n,r,o,i){var a=_n.call(this)||this;return a.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if(_(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(a.exceptions=t.exceptions,a.properties=t.properties,a.measurements=t.measurements,t.severityLevel&&(a.severityLevel=t.severityLevel),t.id&&(a.id=t.id),t.problemGroup&&(a.problemGroup=t.problemGroup),a.ver=2,p(t.isManual)||(a.isManual=t.isManual)):(a.exceptions=[new qn(e,t,n=n||{})],a.properties=wt(e,n),a.measurements=bt(e,r),o&&(a.severityLevel=o),i&&(a.id=i)),a}n(Kn,Wn=function(){this.hasFullStack=!0,this.parsedStack=[]}),Kn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&$(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Mn],parsedStack:e||undefined}},Kn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&$(t.parsedStack,function(e){return Yn.CreateFromInterface(e)})||t.parsedStack;return new Kn(e,w(w({},t),{parsedStack:n}))};var Wn,qn=Kn;function Kn(e,t,n){var r,l,o,i,a=Wn.call(this)||this;return a.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if(_(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(a.typeName=t.typeName,a.message=t.message,a[Mn]=t[Mn],a.parsedStack=t.parsedStack,a.hasFullStack=t.hasFullStack):(o=(r=t)&&r.evt,X(r)||(r=r[kn]||o||r),a.typeName=m(e,Gn(r))||Ot,a.message=xt(e,On(t||r,a.typeName))||Ot,l=t[Dn]||zn(t),a.parsedStack=function(){var e=l.obj;if(e&&0<e.length){var t=[],n=0,r=0;if(Z(e,function(e){var e=e.toString();Yn.regex.test(e)&&(e=new Yn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var o=0,i=t.length-1,a=0,s=o,u=i;o<i;){if(32768<(a+=t[o].sizeInBytes+t[i].sizeInBytes)){t.splice(s,u-s+1);break}s=o,u=i,o++,i--}}return t}(),a[Mn]=Nt(e,(i="",(o=l)&&(o.obj?Z(o.obj,function(e){i+=e+"\n"}):i=o.src||""),i)),a.hasFullStack=K(a.parsedStack)&&0<a.parsedStack.length,n&&(n.typeName=n.typeName||a.typeName)),a}n(Zn,Xn=function(){}),Zn.CreateFromInterface=function(e){return new Zn(e,null)},Zn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},Zn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,Zn.baseSize=58;var Xn,Jn,Yn=Zn;function Zn(e,t){var n,r=Xn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=g(n),r.fileName="",r.line=0,(t=n.match(Zn.regex))&&5<=t.length&&(r.method=g(t[2])||r.method,r.fileName=g(t[4]),r.line=parseInt(t[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=Zn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}Jn=0,n(er,Qn=function(){this.kind=Jn});var Qn,$n=er;function er(){var e=null!==Qn&&Qn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}n(rr,tr=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}}),rr.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",rr.dataType="MetricData";var tr,nr=rr;function rr(e,t,n,r,o,i,a,s,c){var u=tr.call(this)||this,l=(u.aiDataContract={ver:1,metrics:1,properties:0},new $n);return l.count=0<r?r:undefined,l.max=isNaN(i)||null===i?undefined:i,l.min=isNaN(o)||null===o?undefined:o,l.name=m(e,t)||Ot,l.value=n,l.stdDev=isNaN(a)||null===a?undefined:a,u.metrics=[l],u.properties=wt(e,s),u.measurements=bt(e,c),u}n(ir,or=An);var or,An=ir;function ir(){var e=or.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(ur,ar=An),ur.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",ur.dataType="PageviewData";var ar,sr=ur;function ur(e,t,n,r,o,i,a){var s=ar.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=At(e,a),s.url=Ct(e,n),s.name=m(e,t)||Ot,isNaN(r)||(s.duration=Dt(r)),s.properties=wt(e,o),s.measurements=bt(e,i),s}n(dr,lr=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),dr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",dr.dataType="RemoteDependencyData";var lr,cr=dr;function dr(e,t,n,c,r,o,i,a,s,d,f,p){void 0===s&&(s="Ajax");var u,g,l=lr.call(this)||this,n=(l.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0},l.id=t,l.duration=Dt(r),l.success=o,l.resultCode=i+"",l.type=m(e,s),t=e,r=a,s=i=o=c,i=(a=n)&&0<a.length?(g=(n=nn(a)).host,i||(null!=n.pathname?("/"!=((u=0===n.pathname.length?"/":n.pathname)[0]||"")&&(u="/"+u),s=n.pathname,m(t,r?r+" "+u:u)):m(t,a))):g=o,{target:g,name:i,data:s});return l.data=Ct(e,c)||n.data,l.target=m(e,n.target),d&&(l.target="".concat(l.target," | ").concat(d)),l.name=m(e,n.name),l.properties=wt(e,f),l.measurements=bt(e,p),l}n(mr,fr=function(){this.ver=2,this.properties={},this.measurements={}}),mr.envelopeType="Microsoft.ApplicationInsights.{0}.Message",mr.dataType="MessageData";var fr,pr,gr=mr;function mr(e,t,n,r,o){var i=fr.call(this)||this;return i.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},i.message=xt(e,t=t||Ot),i.properties=wt(e,r),i.measurements=bt(e,o),n&&(i.severityLevel=n),i}function vr(){var e=pr.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(vr,pr=An),n(yr,hr=vr),yr.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",yr.dataType="PageviewPerformanceData";var hr,Sr=yr;function yr(e,t,n,r,o,i,a){var s=hr.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=Ct(e,n),s.name=m(e,t)||Ot,s.properties=wt(e,o),s.measurements=bt(e,i),a&&(s.domProcessing=a.domProcessing,s.duration=a.duration,s.networkConnect=a.networkConnect,s.perfTotal=a.perfTotal,s.receivedResponse=a.receivedResponse,s.sentRequest=a.sentRequest),s}n(xr,Ir=In);var Ir,Cr=xr;function xr(e,t){var n=Ir.call(this)||this;return n.aiDataContract={baseType:1,baseData:1},n.baseType=e,n.baseData=t,n}e.SeverityLevel=void 0,(Nr=e.SeverityLevel||(e.SeverityLevel={}))[Nr.Verbose=0]="Verbose",Nr[Nr.Information=1]="Information",Nr[Nr.Warning=2]="Warning",Nr[Nr.Error=3]="Error",Nr[Nr.Critical=4]="Critical",wr.getConfig=function(e,t,n,r){return void 0===r&&(r=!1),n=(n&&e.extensionConfig&&e.extensionConfig[n]&&!p(e.extensionConfig[n][t])?e.extensionConfig[n]:e)[t],p(n)?r:n};var Nr=wr;function wr(){}function br(e){var t="ai."+e+".";return function(e){return t+e}}var Ar,Tr,Er=br("application"),o=br("device"),kr=br("location"),Mr=br("operation"),Dr=br("session"),Rr=br("user"),Fr=br("cloud"),Lr=br("internal"),Er=(Tr={applicationVersion:Er("ver"),applicationBuild:Er("build"),applicationTypeId:Er("typeId"),applicationId:Er("applicationId"),applicationLayer:Er("layer"),deviceId:o("id"),deviceIp:o("ip"),deviceLanguage:o("language"),deviceLocale:o("locale"),deviceModel:o("model"),deviceFriendlyName:o("friendlyName"),deviceNetwork:o("network"),deviceNetworkName:o("networkName"),deviceOEMName:o("oemName"),deviceOS:o("os"),deviceOSVersion:o("osVersion"),deviceRoleInstance:o("roleInstance"),deviceRoleName:o("roleName"),deviceScreenResolution:o("screenResolution"),deviceType:o("type"),deviceMachineName:o("machineName"),deviceVMName:o("vmName"),deviceBrowser:o("browser"),deviceBrowserVersion:o("browserVersion"),locationIp:kr("ip"),locationCountry:kr("country"),locationProvince:kr("province"),locationCity:kr("city"),operationId:Mr("id"),operationName:Mr("name"),operationParentId:Mr("parentId"),operationRootId:Mr("rootId"),operationSyntheticSource:Mr("syntheticSource"),operationCorrelationVector:Mr("correlationVector"),sessionId:Dr("id"),sessionIsFirst:Dr("isFirst"),sessionIsNew:Dr("isNew"),userAccountAcquisitionDate:Rr("accountAcquisitionDate"),userAccountId:Rr("accountId"),userAgent:Rr("userAgent"),userId:Rr("id"),userStoreRegion:Rr("storeRegion"),userAuthUserId:Rr("authUserId"),userAnonymousUserAcquisitionDate:Rr("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Rr("authUserAcquisitionDate"),cloudName:Fr("name"),cloudRole:Fr("role"),cloudRoleVer:Fr("roleVer"),cloudRoleInstance:Fr("roleInstance"),cloudEnvironment:Fr("environment"),cloudLocation:Fr("location"),cloudDeploymentUnit:Fr("deploymentUnit"),internalNodeName:Lr("nodeName"),internalSdkVersion:Lr("sdkVersion"),internalAgentVersion:Lr("agentVersion"),internalSnippet:Lr("snippet"),internalSdkSrc:Lr("sdkSrc")},n(Pr,Ar=function(){var n=this;W(Tr,function(e,t){n[e]=t})}),Pr);function Pr(){return Ar.call(this)||this}Or.create=function(e,t,n,r,o,i){if(n=m(r,n)||Ot,p(e)||p(t)||p(n))throw Error("Input doesn't contain all required fields");var r="",a=(e[Ut]&&(r=e[Ut],delete e[Ut]),{name:n,time:Y(new Date),iKey:r,ext:i||{},tags:[],data:{},baseType:t,baseData:e});return p(o)||W(o,function(e,t){a.data[e]=t}),a};o=Or;function Or(){}kr=new Er,e.AIBase=yn,e.AIData=In,e.AnalyticsPluginIdentifier="ApplicationInsightsAnalytics",e.BreezeChannelIdentifier="AppInsightsChannelPlugin",e.ConfigurationManager=Nr,e.ConnectionStringParser=Sn,e.ContextTagKeys=Er,e.CorrelationIdHelper=fn,e.CtxTagKeys=kr,e.DEFAULT_BREEZE_ENDPOINT=Pt,e.Data=Cr,e.DataSanitizer=h,e.DateTimeUtils=mn,e.DisabledPropertyName="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",e.Envelope=Nn,e.Event=Tn,e.Exception=Hn,e.Extensions={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},e.HttpMethod="http.method",e.Metric=nr,e.PageView=sr,e.PageViewData=An,e.PageViewPerformance=Sr,e.ProcessLegacy="ProcessLegacy",e.PropertiesPluginIdentifier="AppInsightsPropertiesPlugin",e.RemoteDependencyData=cr,e.RequestHeaders=St,e.SampleRate="sampleRate",e.TelemetryItemCreator=o,e.Trace=gr,e.UrlHelper=dn,e.Util=t,e.createDomEvent=kt,e.dataSanitizeException=Nt,e.dataSanitizeId=At,e.dataSanitizeInput=Tt,e.dataSanitizeKey=It,e.dataSanitizeKeyAndAddUniqueness=yt,e.dataSanitizeMeasurements=bt,e.dataSanitizeMessage=xt,e.dataSanitizeProperties=wt,e.dataSanitizeString=m,e.dataSanitizeUrl=Ct,e.dateTimeUtilsDuration=gn,e.dateTimeUtilsNow=pn,e.dsPadNumber=Et,e.getExtensionByName=Rt,e.isBeaconApiSupported=Me,e.isCrossOriginError=Ft,e.isInternalApplicationInsightsEndpoint=cn,e.msToTimeSpan=Dt,e.parseConnectionString=vn,e.strNotSpecified=Ot,e.stringToBoolOrDefault=Mt,e.urlGetAbsoluteUrl=rn,e.urlGetCompleteUrl=an,e.urlGetPathName=on,e.urlParseFullHost=un,e.urlParseHost=sn,e.urlParseUrl=nn,e.utlCanUseLocalStorage=Vt,e.utlCanUseSessionStorage=Xt,e.utlDisableStorage=Ht,e.utlGetLocalStorage=Wt,e.utlGetSessionStorage=Yt,e.utlGetSessionStorageKeys=Jt,e.utlRemoveSessionStorage=Qt,e.utlRemoveStorage=Kt,e.utlSetLocalStorage=qt,e.utlSetSessionStorage=Zt,Mr=e,Dr="__esModule",Rr={value:!0},Fr=Object.defineProperty;if(Fr)try{return void Fr(Mr,Dr,Rr)}catch(Ur){}typeof Rr.value!==undefined&&(Mr[Dr]=Rr.value)};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{})); | ||
var e=this,t=function(e){"use strict";var s="function",v="object",u="undefined",l="prototype",c="hasOwnProperty",d=Object,f=d[l],h=d.assign,S=d.create,t=d.defineProperty,y=f[c],I=null;function C(e){return void 0===e&&(e=!0),I&&e||(typeof globalThis!==u&&globalThis&&(I=globalThis),typeof self!==u&&self&&(I=self),typeof window!==u&&window&&(I=window),typeof global!==u&&global&&(I=global)),I}function x(e){throw new TypeError(e)}function N(e){if(S)return S(e);if(null==e)return{};var t=typeof e;function n(){}return t!==v&&t!==s&&x("Object prototype may only be an Object:"+e),n[l]=e,new n}(C()||{}).Symbol,(C()||{}).Reflect;var w=h||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])f[c].call(t,o)&&(e[o]=t[o]);return e},b=function(e,t){return(b=d.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[c](n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}typeof t!==s&&null!==t&&x("Class extends value "+t+" is not a constructor or null"),b(e,t),e[l]=null===t?N(t):(n[l]=t[l],new n)}var A={CRITICAL:1,1:"CRITICAL",WARNING:2,2:"WARNING"},i={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},T="attachEvent",E="addEventListener",k="toISOString",M="endsWith",D="indexOf",R="reduce",F="trim",h="toString",L=t,P=d.keys,t=String[l],O=t[F],U=t[M],B=Date[l][k],t=Array.isArray,z=f[h];function G(e){return e===undefined||typeof e===u}function p(e){return null===e||G(e)}function j(e){return!p(e)}function _(e){return!(!e||typeof e!==v)}function H(e){return!(!e||typeof e!==s)}function V(e,t,n,r){void 0===r&&(r=!1);var o=!1;if(!p(e))try{p(e[E])?p(e[T])||(e[T]("on"+t,n),o=!0):(e[E](t,n,r),o=!0)}catch(i){}return o}function W(e,t){if(e)for(var n in e)y.call(e,n)&&t.call(e,n,e[n])}function r(e,t){return!(!e||!t||!~e.indexOf(t))}function q(e){return!(!e||"[object Date]"!==z.call(e))}y[h].call(d);var K=t||function(e){return!(!e||"[object Array]"!==z.call(e))};function X(e){return!(!e||"[object Error]"!==z.call(e))}function a(e){return"string"==typeof e}function J(e){return"boolean"==typeof e}function Y(e){if(e){if(B)return e[k]();var t;return e&&e.getUTCFullYear?(t=function(e){e=""+e;return 1===e.length?"0"+e:e},e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"):void 0}}function Z(e,t,n){var r=e.length;try{for(var o=0;o<r&&!(o in e&&-1===t.call(n||e,e[o],o,e));o++);}catch(i){}}function Q(e,t,n){if(e){if(e[D])return e[D](t,n);var r=e.length,n=n||0;try{for(var o=Math.max(0<=n?n:r-Math.abs(n),0);o<r;o++)if(o in e&&e[o]===t)return o}catch(i){}}return-1}function $(e,t,n){if(e){if(e.map)return e.map(t,n);var r=e.length,o=n||e,i=Array(r);try{for(var a=0;a<r;a++)a in e&&(i[a]=t.call(o,e[a],e))}catch(s){}}return i}function ee(e,t,n){var r;if(e){if(e[R])return e[R](t,n);var o=e.length,i=0;if(3<=arguments.length)r=n;else{for(;i<o&&!(i in e);)i++;r=e[i++]}for(;i<o;)i in e&&(r=t(r,e[i],i,e)),i++}return r}function g(e){return e&&(O&&e[F]?e[F]():e.replace?e.replace(/^\s+|\s+$/g,""):e)}var te=!{toString:null}.propertyIsEnumerable("toString"),ne=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function re(e){var t=typeof e;if(t===s||t===v&&null!==e||x("objKeys called on non-object"),!te&&P)return P(e);var n,r=[];for(n in e)e&&y.call(e,n)&&r.push(n);if(te)for(var o=ne.length,i=0;i<o;i++)e&&y.call(e,ne[i])&&r.push(ne[i]);return r}function oe(e,t,n,r){if(L)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),L(e,t,o),!0}catch(i){}return!1}function ie(){var e=Date;return e.now?e.now():(new e).getTime()}function ae(e){return X(e)?e.name:""}function se(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(e[t]=i=n)),i}function ue(e){return!!e}var le="window",ce="navigator",de="location",fe="JSON",pe="crypto",ge="msCrypto",me="msie",ve="trident/",he=null,Se=null,ye=null;function Ie(e){var t=C();return t&&t[e]?t[e]:e===le&&Ce()?window:null}function Ce(){return typeof window===v&&window}function xe(){return typeof document===v&&document?document:Ie("document")}function Ne(){return!(typeof navigator!==v||!navigator)}function we(){return Ne()?navigator:Ie(ce)}function be(){return Ie("performance")}function Ae(){return typeof JSON===v&&JSON||null!==Ie(fe)}function Te(){return Ae()?JSON||Ie(fe):null}function Ee(){var e=we();return!e||e.userAgent===Se&&null!==he||(e=((Se=e.userAgent)||"").toLowerCase(),he=r(e,me)||r(e,ve)),he}function ke(e){var t=Object[l].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Ae()&&(n=Te().stringify(e)),t+n}function Me(){return ye=null===ye?Ne()&&!!we().sendBeacon:ye}var De="toGMTString",Re="toUTCString",Fe="cookie",Le="expires",Pe="enabled",Oe="isCookieUseDisabled",Ue="disableCookiesUsage",Be="_ckMgr",ze="",Ge=null,je=null,_e=null,He=xe(),Ve={},We={};function qe(e){return!e||e.isEnabled()}function Ke(e,o){se(n=(e=e||We).cookieCfg=e.cookieCfg||{},"domain",e.cookieDomain,j,p),se(n,"path",e.cookiePath||"/",null,p),p(n[Pe])&&(t=void 0,G(e[Oe])||(t=!e[Oe]),G(e[Ue])||(t=!e[Ue]),n[Pe]=t);var t,n,l=n,c=l.path||"/",d=l.domain,r=!1!==l[Pe],f={isEnabled:function(){var e=r&&Xe(o),t=We[Be];return e&&t&&f!==t?qe(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,o){var i,a,s,u=!1;return qe(f)&&(i={},-1!=(s=(a=g(t||ze)).indexOf(";"))&&(a=g(t.substring(0,s)),i=Je(t.substring(1+s))),se(i,"domain",r||d,ue,G),p(n)||(s=Ee(),!G(i[Le])||0<(t=ie()+1e3*n)&&((r=new Date).setTime(t),se(i,Le,Ye(r,s?De:Re)||Ye(r,s?De:Re)||ze,ue)),s||se(i,"max-age",ze+n,null,G)),(t=typeof location===v&&location?location:Ie(de))&&"https:"===t.protocol&&(se(i,"secure",null,null,G),(je=null===je?!$e((we()||{}).userAgent):je)&&se(i,"SameSite","None",null,G)),se(i,"path",o||c,null,G),(l.setCookie||Qe)(e,Ze(a,i)),u=!0),u},get:function(e){var t=ze;return qe(f)?(l.getCookie||function(e){var t,n=ze;return He&&(t=He[Fe]||ze,_e!==t&&(Ve=Je(t),_e=t),n=g(Ve[e]||ze)),n})(e):t},del:function(e,t){return!!qe(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return Xe(o)&&((n={}).path=t||"/",n[Le]="Thu, 01 Jan 1970 00:00:01 GMT",t=n,Ee()||(t["max-age"]="0"),(l.delCookie||Qe)(e,Ze(ze,t)),r=!0),r}};return f[Be]=f}function Xe(e){if(null===Ge){Ge=!1;try{Ge=(He||{})[Fe]!==undefined}catch(t){e&&e.throwInternal(A.WARNING,i.CannotAccessCookie,"Cannot access document.cookie - "+ae(t),{exception:ke(t)})}}return Ge}function Je(e){var n={};return e&&e.length&&Z(g(e).split(";"),function(e){var t;(e=g(e||ze))&&(-1==(t=e.indexOf("="))?n[e]=null:n[g(e.substring(0,t))]=g(e.substring(1+t)))}),n}function Ye(e,t){return H(e[t])?e[t]():null}function Ze(e,t){var n=e||ze;return W(t,function(e,t){n+="; "+e+(p(t)?ze:"="+t)}),n}function Qe(e,t){He&&(He[Fe]=e+"="+t)}function $e(e){return!(!a(e)||!r(e,"CPU iPhone OS 12")&&!r(e,"iPad; CPU OS 12")&&!(r(e,"Macintosh; Intel Mac OS X 10_14")&&r(e,"Version/")&&r(e,"Safari"))&&(!r(e,"Macintosh; Intel Mac OS X 10_14")||!function(e,t){var n=!1;if(!e||(n=e===t))return n;if(U)return e[M](t);var r=e,o=t,n=!1,e=r?r.length:0;if(e&&40<=e&&!(n=r===o)){for(var i=e-1,a=39;0<=a;a--){if(r[i]!=o[a])return;i--}n=!0}return n}(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!r(e,"Chrome/5")&&!r(e,"Chrome/6")&&(!r(e,"UnrealEngine")||r(e,"Chrome"))&&!r(e,"UCBrowser/12")&&!r(e,"UCBrowser/11"))}var et=4294967296,tt=4294967295,nt=!1,rt=123456789,ot=987654321;function it(e){e<0&&(e>>>=0),rt=123456789+e&tt,ot=987654321-e&tt,nt=!0}function at(){try{var e=2147483647&ie();it((Math.random()*et^e)+e)}catch(t){}}function st(e){return 0<e?Math.floor(ut()/tt*(e+1))>>>0:0}function ut(e){var t=Ie(pe)||Ie(ge),t=t&&t.getRandomValues?t.getRandomValues(new Uint32Array(1))[0]&tt:Ee()?(nt||at(),lt()&tt):Math.floor(et*Math.random()|0);return e||(t>>>=0),t}function lt(e){var t=((ot=36969*(65535&ot)+(ot>>16)&tt)<<16)+(65535&(rt=18e3*(65535&rt)+(rt>>16)&tt))>>>0&tt|0;return e||(t>>>=0),t}var ct,dt=null;function ft(e){void 0===e&&(e=22);for(var t=ut()>>>0,n=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++n&&(t=(ut()<<2&4294967295|3&t)>>>0,n=0);return r}function pt(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=ut())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&ut())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var gt={_canUseCookies:undefined,isTypeof:function(e,t){return typeof e===t},isUndefined:G,isNullOrUndefined:p,hasOwnProperty:function(e,t){return!(!e||!y.call(e,t))},isFunction:H,isObject:_,isDate:q,isArray:K,isError:X,isString:a,isNumber:function(e){return"number"==typeof e},isBoolean:J,toISOString:Y,arrForEach:Z,arrIndexOf:Q,arrMap:$,arrReduce:ee,strTrim:g,objCreate:N,objKeys:re,objDefineAccessors:oe,addEventHandler:function(e,t){var n=!1,r=Ce()?window:Ie(le),r=(r&&(n=V(r,e,t),n=V(r.body,e,t)||n),xe());return r&&V(r,e,t)||n},dateNow:ie,isIE:Ee,disableCookies:ht,newGuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(mt,function(e){var t=0|st(15);return("x"===e?t:3&t|8).toString(16)})},perfNow:function(){var e=be();return e&&e.now?e.now():ie()},newId:ft,randomValue:st,random32:ut,mwcRandomSeed:function(e){e?it(e):at()},mwcRandom32:lt,generateW3CId:pt},mt=/[xy]/g;function vt(e,t){(n=Ke[Be]||We[Be])||(n=Ke[Be]=Ke(e,t),We[Be]=n);var n,e=n,t=gt._canUseCookies;return null===dt&&(dt=[],ct=t,oe(gt,"_canUseCookies",function(){return ct},function(t){ct=t,Z(dt,function(e){e.setEnabled(t)})})),-1===Q(dt,e)&&dt.push(e),J(t)&&e.setEnabled(t),J(ct)&&e.setEnabled(ct),e}function ht(){vt().setEnabled(!1)}var St={requestContextHeader:"Request-Context",requestContextTargetKey:"appId",requestContextAppIdFormat:"appId=cid-v1:",requestIdHeader:"Request-Id",traceParentHeader:"traceparent",traceStateHeader:"tracestate",sdkContextHeader:"Sdk-Context",sdkContextHeaderAppIdRequest:"appId",requestContextHeaderLowerCase:"request-context"};function yt(e,t,n){var r=t.length,o=It(e,t);if(o.length!==r){for(var i=0,a=o;n[a]!==undefined;)i++,a=o.substring(0,147)+Et(i);o=a}return o}function It(e,t){var n;return t&&150<(t=g(t.toString())).length&&(n=t.substring(0,150),e&&e.throwInternal(A.WARNING,i.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),n||t}function m(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=g(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(A.WARNING,i.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function Ct(e,t){return Tt(e,t,2048,i.UrlTooLong)}function xt(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(A.WARNING,i.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Nt(e,t){var n,r;return!t||32768<(r=""+t).length&&(n=r.substring(0,32768),e&&e.throwInternal(A.WARNING,i.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0)),n||t}function wt(r,e){var o;return e&&(o={},W(e,function(e,t){if(_(t)&&Ae())try{t=Te().stringify(t)}catch(n){r&&r.throwInternal(A.WARNING,i.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=m(r,t,8192),e=yt(r,e,o),o[e]=t}),e=o),e}function bt(n,e){var r;return e&&(r={},W(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function At(e,t){return t&&Tt(e,t,128,i.IdTooLong).toString()}function Tt(e,t,n,r){var o;return t&&(t=g(t)).length>n&&(o=t.substring(0,n),e&&e.throwInternal(A.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),o||t}function Et(e){e="00"+e;return e.substr(e.length-3)}h={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128,MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768,sanitizeKeyAndAddUniqueness:yt,sanitizeKey:It,sanitizeString:m,sanitizeUrl:Ct,sanitizeMessage:xt,sanitizeException:Nt,sanitizeProperties:wt,sanitizeMeasurements:bt,sanitizeId:At,sanitizeInput:Tt,padNumber:Et,trim:g};function kt(e){var t,n=null;return H(Event)?n=new Event(e):(t=xe())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Mt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function Dt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<o?o+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}function Rt(e,t){var n=null;return Z(e,function(e){if(e.identifier===t)return n=e,-1}),n}function Ft(e,t,n,r,o){return!o&&a(e)&&("Script error."===e||"Script error"===e)}var Lt,Pt="https://dc.services.visualstudio.com",Ot="not_specified",Ut="iKey",Bt=((t=Lt=Lt||{})[t.LocalStorage=0]="LocalStorage",t[t.SessionStorage=1]="SessionStorage",e.DistributedTracingModes=void 0,(t=e.DistributedTracingModes||(e.DistributedTracingModes={}))[t.AI=0]="AI",t[t.AI_AND_W3C=1]="AI_AND_W3C",t[t.W3C=2]="W3C",undefined),zt=undefined;function Gt(){return Vt()?jt(Lt.LocalStorage):null}function jt(e){try{if(p(C()))return null;var t=new Date,n=Ie(e===Lt.LocalStorage?"localStorage":"sessionStorage"),r=(n.setItem(t.toString(),t.toString()),n.getItem(t.toString())!==t.toString());if(n.removeItem(t.toString()),!r)return n}catch(o){}return null}function _t(){return Xt()?jt(Lt.SessionStorage):null}function Ht(){zt=Bt=!1}function Vt(){return Bt=Bt===undefined?!!jt(Lt.LocalStorage):Bt}function Wt(e,t){var n=Gt();if(null!==n)try{return n.getItem(t)}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadLocalStorage,"Browser failed read of local storage. "+ae(r),{exception:ke(r)})}return null}function qt(e,t,n){var r=Gt();if(null!==r)try{return r.setItem(t,n),!0}catch(o){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteLocalStorage,"Browser failed write to local storage. "+ae(o),{exception:ke(o)})}return!1}function Kt(e,t){var n=Gt();if(null!==n)try{return n.removeItem(t),!0}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromLocalStorage,"Browser failed removal of local storage item. "+ae(r),{exception:ke(r)})}return!1}function Xt(){return zt=zt===undefined?!!jt(Lt.SessionStorage):zt}function Jt(){var t=[];return Xt()&&W(Ie("sessionStorage"),function(e){t.push(e)}),t}function Yt(e,t){var n=_t();if(null!==n)try{return n.getItem(t)}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+ae(r),{exception:ke(r)})}return null}function Zt(e,t,n){var r=_t();if(null!==r)try{return r.setItem(t,n),!0}catch(o){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+ae(o),{exception:ke(o)})}return!1}function Qt(e,t){var n=_t();if(null!==n)try{return n.removeItem(t),!0}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+ae(r),{exception:ke(r)})}return!1}var $t=xe()||{},en=0,tn=[null,null,null,null,null];function nn(e){var t=en,n=tn,r=n[t];return $t.createElement?n[t]||(r=n[t]=$t.createElement("a")):r={host:sn(e,!0)},r.href=e,++t>=n.length&&(t=0),en=t,r}function rn(e){e=nn(e);return e?e.href:void 0}function on(e){e=nn(e);return e?e.pathname:void 0}function an(e,t){return e?e.toUpperCase()+" "+t:t}function sn(e,t){e=un(e,t)||"";if(e){t=e.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=t&&3<t.length&&a(t[2])&&0<t[2].length)return t[2]+(t[3]||"")}return e}function un(e,t){var n=null;return!e||null!=(e=e.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<e.length&&a(e[2])&&0<e[2].length&&(n=e[2]||"",t&&2<e.length&&(t=(e[1]||"").toLowerCase(),e=e[3]||"",n+=e="http"==t&&":80"===e||"https"==t&&":443"===e?"":e)),n}var ln=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function cn(e){return!!~ln.indexOf(e.toLowerCase())}var t={NotSpecified:Ot,createDomEvent:kt,disableStorage:Ht,isInternalApplicationInsightsEndpoint:cn,canUseLocalStorage:Vt,getStorage:Wt,setStorage:qt,removeStorage:Kt,canUseSessionStorage:Xt,getSessionStorageKeys:Jt,getSessionStorage:Yt,setSessionStorage:Zt,removeSessionStorage:Qt,disableCookies:ht,canUseCookies:function(e){return vt(null,e).isEnabled()},disallowsSameSiteNone:$e,setCookie:function(e,t,n,r){vt(null,e).set(t,n,null,r)},stringToBoolOrDefault:Mt,getCookie:function(e,t){return vt(null,e).get(t)},deleteCookie:function(e,t){return vt(null,e).del(t)},trim:g,newId:ft,random32:function(){return ut(!0)},generateW3CId:pt,isArray:K,isError:X,isDate:q,toISOStringForIE8:Y,getIEVersion:function(e){var t=((e=(e=void 0===e?null:e)?e:(t=we()||{})?(t.userAgent||"").toLowerCase():"")||"").toLowerCase();if(r(t,me))return e=xe()||{},Math.max(parseInt(t.split(me)[1]),e.documentMode||0);if(r(t,ve)){e=parseInt(t.split(ve)[1]);if(e)return e+4}return null},msToTimeSpan:Dt,isCrossOriginError:Ft,dump:ke,getExceptionName:ae,addEventHandler:V,IsBeaconApiSupported:Me,getExtension:Rt},dn={parseUrl:nn,getAbsoluteUrl:rn,getPathName:on,getCompleteUrl:an,parseHost:sn,parseFullHost:un},fn={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e.correlationHeaderExcludePatterns)for(var r=0;r<e.correlationHeaderExcludePatterns.length;r++)if(e.correlationHeaderExcludePatterns[r].test(t))return!1;var o=nn(t).host.toLowerCase();if(o&&(~o.indexOf(":443")||~o.indexOf(":80"))&&(o=(un(t,!0)||"").toLowerCase()),(!e||!e.enableCorsCorrelation)&&o&&o!==n)return!1;var i,n=e&&e.correlationHeaderDomains;if(n&&(Z(n,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a.length)return!0;for(r=0;r<a.length;r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o.length},getCorrelationContext:function(e){if(e){e=fn.getCorrelationContextValue(e,St.requestContextTargetKey);if(e&&e!==fn.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,t){if(e)for(var n=e.split(","),r=0;r<n.length;++r){var o=n[r].split("=");if(2===o.length&&o[0]===t)return o[1]}}};function pn(){var e=be();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return ie()}function gn(e,t){return 0===e||0===t||p(e)||p(t)?null:t-e}var mn={Now:pn,GetDuration:gn};function vn(e){if(!e)return{};var t,e=ee(e.split(";"),function(e,t){var n,t=t.split("=");return 2===t.length&&(n=t[0].toLowerCase(),t=t[1],e[n]=t),e},{});return 0<re(e).length&&(e.endpointsuffix&&(t=e.location?e.location+".":"",e.ingestionendpoint=e.ingestionendpoint||"https://"+t+"dc."+e.endpointsuffix),e.ingestionendpoint=e.ingestionendpoint||Pt),e}var hn,Sn={parse:vn},yn=function(){},In=(n(Cn,hn=yn),Cn);function Cn(){return hn.call(this)||this}n(wn,xn=function(){this.ver=1,this.sampleRate=100,this.tags={}});var xn,Nn=wn;function wn(e,t,n){var r=xn.call(this)||this;return r.name=m(e,n)||Ot,r.data=t,r.time=Y(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1},r}var bn,An=function(){this.ver=2,this.properties={},this.measurements={}},Tn=(n(En,bn=An),En.envelopeType="Microsoft.ApplicationInsights.{0}.Event",En.dataType="EventData",En);function En(e,t,n,r){var o=bn.call(this)||this;return o.aiDataContract={ver:1,name:1,properties:0,measurements:0},o.name=m(e,t)||Ot,o.properties=wt(e,n),o.measurements=bt(e,r),o}var kn="error",Mn="stack",Dn="stackDetails",Rn="errorSrc",Fn="message",Ln="description";function Pn(e,t){var n=e;return n&&!a(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=H(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function On(e,t){var n=e;return e&&((n=n&&!a(n)&&(e[Fn]||e[Ln])||n)&&!a(n)&&(n=Pn(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function Un(e){return e&&e.src&&a(e.src)&&e.obj&&K(e.obj)}function Bn(e){var e=e||"",t=(e=a(e)?e:a(e[Mn])?e[Mn]:""+e).split("\n");return{src:e,obj:t}}function zn(e){var t,n=null;if(e)try{e[Mn]?n=Bn(e[Mn]):e[kn]&&e[kn][Mn]?n=Bn(e[kn][Mn]):e.exception&&e.exception[Mn]?n=Bn(e.exception[Mn]):Un(e)?n=e:Un(e[Dn])?n=e[Dn]:window&&window.opera&&e[Fn]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var o=n[r];n[r+1]&&(o+="@"+n[r+1],r++),t.push(o)}return{src:e,obj:t}}(e.message):a(e)?n=Bn(e):(t=e[Fn]||e[Ln]||"",a(e[Rn])&&(t&&(t+="\n"),t+=" from "+e[Rn]),t&&(n=Bn(t)))}catch(r){n=Bn(r)}return n||{src:"",obj:null}}function Gn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function jn(e){if(e)try{var t,n;if(!a(e))return t=Gn(e),(n=Pn(e,!1))&&"{}"!==n||(e[kn]&&(t=Gn(e=e[kn])),n=Pn(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}catch(r){}return""+(e||"")}n(Vn,_n=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),Vn.CreateAutoException=function(e,t,n,r,o,i,a,s){var u=Gn(o||i||e);return{message:On(e,u),url:t,lineNumber:n,columnNumber:r,error:jn(o||i||e),evt:jn(i||e),typeName:u,stackDetails:zn(a||o||i),errorSrc:s}},Vn.CreateFromInterface=function(t,e,n,r){var o=e.exceptions&&$(e.exceptions,function(e){return qn.CreateFromInterface(t,e)});return new Vn(t,w(w({},e),{exceptions:o}),n,r)},Vn.prototype.toInterface=function(){var e=this,t=e.exceptions,n=e.properties,r=e.measurements,o=e.severityLevel,i=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:t instanceof Array&&$(t,function(e){return e.toInterface()})||undefined,severityLevel:o,properties:n,measurements:r,problemGroup:i,id:a,isManual:e}},Vn.CreateSimpleException=function(e,t,n,r,o,i){return{exceptions:[{hasFullStack:!0,message:e,stack:o,typeName:t}]}},Vn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",Vn.dataType="ExceptionData",Vn.formatError=jn;var _n,Hn=Vn;function Vn(e,t,n,r,o,i){var a=_n.call(this)||this;return a.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if(_(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(a.exceptions=t.exceptions,a.properties=t.properties,a.measurements=t.measurements,t.severityLevel&&(a.severityLevel=t.severityLevel),t.id&&(a.id=t.id),t.problemGroup&&(a.problemGroup=t.problemGroup),a.ver=2,p(t.isManual)||(a.isManual=t.isManual)):(a.exceptions=[new qn(e,t,n=n||{})],a.properties=wt(e,n),a.measurements=bt(e,r),o&&(a.severityLevel=o),i&&(a.id=i)),a}n(Kn,Wn=function(){this.hasFullStack=!0,this.parsedStack=[]}),Kn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&$(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Mn],parsedStack:e||undefined}},Kn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&$(t.parsedStack,function(e){return Yn.CreateFromInterface(e)})||t.parsedStack;return new Kn(e,w(w({},t),{parsedStack:n}))};var Wn,qn=Kn;function Kn(e,t,n){var r,l,o,i,a=Wn.call(this)||this;return a.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if(_(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(a.typeName=t.typeName,a.message=t.message,a[Mn]=t[Mn],a.parsedStack=t.parsedStack,a.hasFullStack=t.hasFullStack):(o=(r=t)&&r.evt,X(r)||(r=r[kn]||o||r),a.typeName=m(e,Gn(r))||Ot,a.message=xt(e,On(t||r,a.typeName))||Ot,l=t[Dn]||zn(t),a.parsedStack=function(){var e=l.obj;if(e&&0<e.length){var t=[],n=0,r=0;if(Z(e,function(e){var e=e.toString();Yn.regex.test(e)&&(e=new Yn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var o=0,i=t.length-1,a=0,s=o,u=i;o<i;){if(32768<(a+=t[o].sizeInBytes+t[i].sizeInBytes)){t.splice(s,u-s+1);break}s=o,u=i,o++,i--}}return t}(),a[Mn]=Nt(e,(i="",(o=l)&&(o.obj?Z(o.obj,function(e){i+=e+"\n"}):i=o.src||""),i)),a.hasFullStack=K(a.parsedStack)&&0<a.parsedStack.length,n&&(n.typeName=n.typeName||a.typeName)),a}n(Zn,Xn=function(){}),Zn.CreateFromInterface=function(e){return new Zn(e,null)},Zn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},Zn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,Zn.baseSize=58;var Xn,Jn,Yn=Zn;function Zn(e,t){var n,r=Xn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=g(n),r.fileName="",r.line=0,(t=n.match(Zn.regex))&&5<=t.length&&(r.method=g(t[2])||r.method,r.fileName=g(t[4]),r.line=parseInt(t[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=Zn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}Jn=0,n(er,Qn=function(){this.kind=Jn});var Qn,$n=er;function er(){var e=null!==Qn&&Qn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}n(rr,tr=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}}),rr.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",rr.dataType="MetricData";var tr,nr=rr;function rr(e,t,n,r,o,i,a,s,c){var u=tr.call(this)||this,l=(u.aiDataContract={ver:1,metrics:1,properties:0},new $n);return l.count=0<r?r:undefined,l.max=isNaN(i)||null===i?undefined:i,l.min=isNaN(o)||null===o?undefined:o,l.name=m(e,t)||Ot,l.value=n,l.stdDev=isNaN(a)||null===a?undefined:a,u.metrics=[l],u.properties=wt(e,s),u.measurements=bt(e,c),u}n(ir,or=An);var or,An=ir;function ir(){var e=or.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(ur,ar=An),ur.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",ur.dataType="PageviewData";var ar,sr=ur;function ur(e,t,n,r,o,i,a){var s=ar.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=At(e,a),s.url=Ct(e,n),s.name=m(e,t)||Ot,isNaN(r)||(s.duration=Dt(r)),s.properties=wt(e,o),s.measurements=bt(e,i),s}n(dr,lr=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),dr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",dr.dataType="RemoteDependencyData";var lr,cr=dr;function dr(e,t,n,c,r,o,i,a,s,d,f,p){void 0===s&&(s="Ajax");var u,g,l=lr.call(this)||this,n=(l.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0},l.id=t,l.duration=Dt(r),l.success=o,l.resultCode=i+"",l.type=m(e,s),t=e,r=a,s=i=o=c,i=(a=n)&&0<a.length?(g=(n=nn(a)).host,i||(null!=n.pathname?("/"!=((u=0===n.pathname.length?"/":n.pathname)[0]||"")&&(u="/"+u),s=n.pathname,m(t,r?r+" "+u:u)):m(t,a))):g=o,{target:g,name:i,data:s});return l.data=Ct(e,c)||n.data,l.target=m(e,n.target),d&&(l.target="".concat(l.target," | ").concat(d)),l.name=m(e,n.name),l.properties=wt(e,f),l.measurements=bt(e,p),l}n(mr,fr=function(){this.ver=2,this.properties={},this.measurements={}}),mr.envelopeType="Microsoft.ApplicationInsights.{0}.Message",mr.dataType="MessageData";var fr,pr,gr=mr;function mr(e,t,n,r,o){var i=fr.call(this)||this;return i.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},i.message=xt(e,t=t||Ot),i.properties=wt(e,r),i.measurements=bt(e,o),n&&(i.severityLevel=n),i}function vr(){var e=pr.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(vr,pr=An),n(yr,hr=vr),yr.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",yr.dataType="PageviewPerformanceData";var hr,Sr=yr;function yr(e,t,n,r,o,i,a){var s=hr.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=Ct(e,n),s.name=m(e,t)||Ot,s.properties=wt(e,o),s.measurements=bt(e,i),a&&(s.domProcessing=a.domProcessing,s.duration=a.duration,s.networkConnect=a.networkConnect,s.perfTotal=a.perfTotal,s.receivedResponse=a.receivedResponse,s.sentRequest=a.sentRequest),s}n(xr,Ir=In);var Ir,Cr=xr;function xr(e,t){var n=Ir.call(this)||this;return n.aiDataContract={baseType:1,baseData:1},n.baseType=e,n.baseData=t,n}e.SeverityLevel=void 0,(Nr=e.SeverityLevel||(e.SeverityLevel={}))[Nr.Verbose=0]="Verbose",Nr[Nr.Information=1]="Information",Nr[Nr.Warning=2]="Warning",Nr[Nr.Error=3]="Error",Nr[Nr.Critical=4]="Critical",wr.getConfig=function(e,t,n,r){return void 0===r&&(r=!1),n=(n&&e.extensionConfig&&e.extensionConfig[n]&&!p(e.extensionConfig[n][t])?e.extensionConfig[n]:e)[t],p(n)?r:n};var Nr=wr;function wr(){}function br(e){var t="ai."+e+".";return function(e){return t+e}}var Ar,Tr,Er=br("application"),o=br("device"),kr=br("location"),Mr=br("operation"),Dr=br("session"),Rr=br("user"),Fr=br("cloud"),Lr=br("internal"),Er=(Tr={applicationVersion:Er("ver"),applicationBuild:Er("build"),applicationTypeId:Er("typeId"),applicationId:Er("applicationId"),applicationLayer:Er("layer"),deviceId:o("id"),deviceIp:o("ip"),deviceLanguage:o("language"),deviceLocale:o("locale"),deviceModel:o("model"),deviceFriendlyName:o("friendlyName"),deviceNetwork:o("network"),deviceNetworkName:o("networkName"),deviceOEMName:o("oemName"),deviceOS:o("os"),deviceOSVersion:o("osVersion"),deviceRoleInstance:o("roleInstance"),deviceRoleName:o("roleName"),deviceScreenResolution:o("screenResolution"),deviceType:o("type"),deviceMachineName:o("machineName"),deviceVMName:o("vmName"),deviceBrowser:o("browser"),deviceBrowserVersion:o("browserVersion"),locationIp:kr("ip"),locationCountry:kr("country"),locationProvince:kr("province"),locationCity:kr("city"),operationId:Mr("id"),operationName:Mr("name"),operationParentId:Mr("parentId"),operationRootId:Mr("rootId"),operationSyntheticSource:Mr("syntheticSource"),operationCorrelationVector:Mr("correlationVector"),sessionId:Dr("id"),sessionIsFirst:Dr("isFirst"),sessionIsNew:Dr("isNew"),userAccountAcquisitionDate:Rr("accountAcquisitionDate"),userAccountId:Rr("accountId"),userAgent:Rr("userAgent"),userId:Rr("id"),userStoreRegion:Rr("storeRegion"),userAuthUserId:Rr("authUserId"),userAnonymousUserAcquisitionDate:Rr("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Rr("authUserAcquisitionDate"),cloudName:Fr("name"),cloudRole:Fr("role"),cloudRoleVer:Fr("roleVer"),cloudRoleInstance:Fr("roleInstance"),cloudEnvironment:Fr("environment"),cloudLocation:Fr("location"),cloudDeploymentUnit:Fr("deploymentUnit"),internalNodeName:Lr("nodeName"),internalSdkVersion:Lr("sdkVersion"),internalAgentVersion:Lr("agentVersion"),internalSnippet:Lr("snippet"),internalSdkSrc:Lr("sdkSrc")},n(Pr,Ar=function(){var n=this;W(Tr,function(e,t){n[e]=t})}),Pr);function Pr(){return Ar.call(this)||this}Or.create=function(e,t,n,r,o,i){if(n=m(r,n)||Ot,p(e)||p(t)||p(n))throw Error("Input doesn't contain all required fields");var r="",a=(e[Ut]&&(r=e[Ut],delete e[Ut]),{name:n,time:Y(new Date),iKey:r,ext:i||{},tags:[],data:{},baseType:t,baseData:e});return p(o)||W(o,function(e,t){a.data[e]=t}),a};o=Or;function Or(){}kr=new Er,e.AIBase=yn,e.AIData=In,e.AnalyticsPluginIdentifier="ApplicationInsightsAnalytics",e.BreezeChannelIdentifier="AppInsightsChannelPlugin",e.ConfigurationManager=Nr,e.ConnectionStringParser=Sn,e.ContextTagKeys=Er,e.CorrelationIdHelper=fn,e.CtxTagKeys=kr,e.DEFAULT_BREEZE_ENDPOINT=Pt,e.Data=Cr,e.DataSanitizer=h,e.DateTimeUtils=mn,e.DisabledPropertyName="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",e.Envelope=Nn,e.Event=Tn,e.Exception=Hn,e.Extensions={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},e.HttpMethod="http.method",e.Metric=nr,e.PageView=sr,e.PageViewData=An,e.PageViewPerformance=Sr,e.ProcessLegacy="ProcessLegacy",e.PropertiesPluginIdentifier="AppInsightsPropertiesPlugin",e.RemoteDependencyData=cr,e.RequestHeaders=St,e.SampleRate="sampleRate",e.TelemetryItemCreator=o,e.Trace=gr,e.UrlHelper=dn,e.Util=t,e.createDomEvent=kt,e.dataSanitizeException=Nt,e.dataSanitizeId=At,e.dataSanitizeInput=Tt,e.dataSanitizeKey=It,e.dataSanitizeKeyAndAddUniqueness=yt,e.dataSanitizeMeasurements=bt,e.dataSanitizeMessage=xt,e.dataSanitizeProperties=wt,e.dataSanitizeString=m,e.dataSanitizeUrl=Ct,e.dateTimeUtilsDuration=gn,e.dateTimeUtilsNow=pn,e.dsPadNumber=Et,e.getExtensionByName=Rt,e.isBeaconApiSupported=Me,e.isCrossOriginError=Ft,e.isInternalApplicationInsightsEndpoint=cn,e.msToTimeSpan=Dt,e.parseConnectionString=vn,e.strNotSpecified=Ot,e.stringToBoolOrDefault=Mt,e.urlGetAbsoluteUrl=rn,e.urlGetCompleteUrl=an,e.urlGetPathName=on,e.urlParseFullHost=un,e.urlParseHost=sn,e.urlParseUrl=nn,e.utlCanUseLocalStorage=Vt,e.utlCanUseSessionStorage=Xt,e.utlDisableStorage=Ht,e.utlGetLocalStorage=Wt,e.utlGetSessionStorage=Yt,e.utlGetSessionStorageKeys=Jt,e.utlRemoveSessionStorage=Qt,e.utlRemoveStorage=Kt,e.utlSetLocalStorage=qt,e.utlSetSessionStorage=Zt,Mr=e,Dr="__esModule",Rr={value:!0},Fr=Object.defineProperty;if(Fr)try{return void Fr(Mr,Dr,Rr)}catch(Ur){}typeof Rr.value!==undefined&&(Mr[Dr]=Rr.value)};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{})); | ||
//# sourceMappingURL=applicationinsights-common.min.js.map |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/* | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-05 | ||
* Application Insights JavaScript SDK - Common, 2.7.4-nightly.2202-07 | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
*/ | ||
var e=this,t=function(e){"use strict";var s="function",v="object",u="undefined",l="prototype",c="hasOwnProperty",d=Object,f=d[l],h=d.assign,S=d.create,t=d.defineProperty,y=f[c],I=null;function C(e){return void 0===e&&(e=!0),I&&e||(typeof globalThis!==u&&globalThis&&(I=globalThis),typeof self!==u&&self&&(I=self),typeof window!==u&&window&&(I=window),typeof global!==u&&global&&(I=global)),I}function x(e){throw new TypeError(e)}function N(e){if(S)return S(e);if(null==e)return{};var t=typeof e;function n(){}return t!==v&&t!==s&&x("Object prototype may only be an Object:"+e),n[l]=e,new n}(C()||{}).Symbol,(C()||{}).Reflect;var w=h||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])f[c].call(t,o)&&(e[o]=t[o]);return e},b=function(e,t){return(b=d.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[c](n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}typeof t!==s&&null!==t&&x("Class extends value "+t+" is not a constructor or null"),b(e,t),e[l]=null===t?N(t):(n[l]=t[l],new n)}var A={CRITICAL:1,1:"CRITICAL",WARNING:2,2:"WARNING"},i={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},T="attachEvent",E="addEventListener",k="toISOString",M="endsWith",D="indexOf",R="reduce",F="trim",L="keys",h="toString",P=t,t=String[l],O=t[F],U=t[M],B=Date[l][k],t=Array.isArray,z=f[h];function G(e){return e===undefined||typeof e===u}function p(e){return null===e||G(e)}function j(e){return!p(e)}function _(e){return!(!e||typeof e!==v)}function H(e){return!(!e||typeof e!==s)}function V(e,t,n,r){void 0===r&&(r=!1);var o=!1;if(!p(e))try{p(e[E])?p(e[T])||(e[T]("on"+t,n),o=!0):(e[E](t,n,r),o=!0)}catch(i){}return o}function W(e,t){if(e)for(var n in e)y.call(e,n)&&t.call(e,n,e[n])}function r(e,t){return!(!e||!t||!~e.indexOf(t))}function q(e){return!(!e||"[object Date]"!==z.call(e))}y[h].call(d);var K=t||function(e){return!(!e||"[object Array]"!==z.call(e))};function X(e){return!(!e||"[object Error]"!==z.call(e))}function a(e){return"string"==typeof e}function J(e){return"boolean"==typeof e}function Y(e){if(e){if(B)return e[k]();var t;return e&&e.getUTCFullYear?(t=function(e){e=""+e;return 1===e.length?"0"+e:e},e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"):void 0}}function Z(e,t,n){var r=e.length;try{for(var o=0;o<r&&!(o in e&&-1===t.call(n||e,e[o],o,e));o++);}catch(i){}}function Q(e,t,n){if(e){if(e[D])return e[D](t,n);var r=e.length,n=n||0;try{for(var o=Math.max(0<=n?n:r-Math.abs(n),0);o<r;o++)if(o in e&&e[o]===t)return o}catch(i){}}return-1}function $(e,t,n){if(e){if(e.map)return e.map(t,n);var r=e.length,o=n||e,i=Array(r);try{for(var a=0;a<r;a++)a in e&&(i[a]=t.call(o,e[a],e))}catch(s){}}return i}function ee(e,t,n){var r;if(e){if(e[R])return e[R](t,n);var o=e.length,i=0;if(3<=arguments.length)r=n;else{for(;i<o&&!(i in e);)i++;r=e[i++]}for(;i<o;)i in e&&(r=t(r,e[i],i,e)),i++}return r}function g(e){return e&&(O&&e[F]?e[F]():e.replace?e.replace(/^\s+|\s+$/g,""):e)}var te=!{toString:null}.propertyIsEnumerable("toString"),ne=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function re(e){var t=typeof e;if(t===s||t===v&&null!==e||x("objKeys called on non-object"),!te&&e[L])return e[L]();var n,r=[];for(n in e)e&&y.call(e,n)&&r.push(n);if(te)for(var o=ne.length,i=0;i<o;i++)e&&y.call(e,ne[i])&&r.push(ne[i]);return r}function oe(e,t,n,r){if(P)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),P(e,t,o),!0}catch(i){}return!1}function ie(){var e=Date;return e.now?e.now():(new e).getTime()}function ae(e){return X(e)?e.name:""}function se(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(e[t]=i=n)),i}function ue(e){return!!e}var le="window",ce="navigator",de="location",fe="JSON",pe="crypto",ge="msCrypto",me="msie",ve="trident/",he=null,Se=null,ye=null;function Ie(e){var t=C();return t&&t[e]?t[e]:e===le&&Ce()?window:null}function Ce(){return typeof window===v&&window}function xe(){return typeof document===v&&document?document:Ie("document")}function Ne(){return!(typeof navigator!==v||!navigator)}function we(){return Ne()?navigator:Ie(ce)}function be(){return Ie("performance")}function Ae(){return typeof JSON===v&&JSON||null!==Ie(fe)}function Te(){return Ae()?JSON||Ie(fe):null}function Ee(){var e=we();return!e||e.userAgent===Se&&null!==he||(e=((Se=e.userAgent)||"").toLowerCase(),he=r(e,me)||r(e,ve)),he}function ke(e){var t=Object[l].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Ae()&&(n=Te().stringify(e)),t+n}function Me(){return ye=null===ye?Ne()&&!!we().sendBeacon:ye}var De="toGMTString",Re="toUTCString",Fe="cookie",Le="expires",Pe="enabled",Oe="isCookieUseDisabled",Ue="disableCookiesUsage",Be="_ckMgr",ze="",Ge=null,je=null,_e=null,He=xe(),Ve={},We={};function qe(e){return!e||e.isEnabled()}function Ke(e,o){se(n=(e=e||We).cookieCfg=e.cookieCfg||{},"domain",e.cookieDomain,j,p),se(n,"path",e.cookiePath||"/",null,p),p(n[Pe])&&(t=void 0,G(e[Oe])||(t=!e[Oe]),G(e[Ue])||(t=!e[Ue]),n[Pe]=t);var t,n,l=n,c=l.path||"/",d=l.domain,r=!1!==l[Pe],f={isEnabled:function(){var e=r&&Xe(o),t=We[Be];return e&&t&&f!==t?qe(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,o){var i,a,s,u=!1;return qe(f)&&(i={},-1!=(s=(a=g(t||ze)).indexOf(";"))&&(a=g(t.substring(0,s)),i=Je(t.substring(1+s))),se(i,"domain",r||d,ue,G),p(n)||(s=Ee(),!G(i[Le])||0<(t=ie()+1e3*n)&&((r=new Date).setTime(t),se(i,Le,Ye(r,s?De:Re)||Ye(r,s?De:Re)||ze,ue)),s||se(i,"max-age",ze+n,null,G)),(t=typeof location===v&&location?location:Ie(de))&&"https:"===t.protocol&&(se(i,"secure",null,null,G),(je=null===je?!$e((we()||{}).userAgent):je)&&se(i,"SameSite","None",null,G)),se(i,"path",o||c,null,G),(l.setCookie||Qe)(e,Ze(a,i)),u=!0),u},get:function(e){var t=ze;return qe(f)?(l.getCookie||function(e){var t,n=ze;return He&&(t=He[Fe]||ze,_e!==t&&(Ve=Je(t),_e=t),n=g(Ve[e]||ze)),n})(e):t},del:function(e,t){return!!qe(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return Xe(o)&&((n={}).path=t||"/",n[Le]="Thu, 01 Jan 1970 00:00:01 GMT",t=n,Ee()||(t["max-age"]="0"),(l.delCookie||Qe)(e,Ze(ze,t)),r=!0),r}};return f[Be]=f}function Xe(e){if(null===Ge){Ge=!1;try{Ge=(He||{})[Fe]!==undefined}catch(t){e&&e.throwInternal(A.WARNING,i.CannotAccessCookie,"Cannot access document.cookie - "+ae(t),{exception:ke(t)})}}return Ge}function Je(e){var n={};return e&&e.length&&Z(g(e).split(";"),function(e){var t;(e=g(e||ze))&&(-1==(t=e.indexOf("="))?n[e]=null:n[g(e.substring(0,t))]=g(e.substring(1+t)))}),n}function Ye(e,t){return H(e[t])?e[t]():null}function Ze(e,t){var n=e||ze;return W(t,function(e,t){n+="; "+e+(p(t)?ze:"="+t)}),n}function Qe(e,t){He&&(He[Fe]=e+"="+t)}function $e(e){return!(!a(e)||!r(e,"CPU iPhone OS 12")&&!r(e,"iPad; CPU OS 12")&&!(r(e,"Macintosh; Intel Mac OS X 10_14")&&r(e,"Version/")&&r(e,"Safari"))&&(!r(e,"Macintosh; Intel Mac OS X 10_14")||!function(e,t){var n=!1;if(!e||(n=e===t))return n;if(U)return e[M](t);var r=e,o=t,n=!1,e=r?r.length:0;if(e&&40<=e&&!(n=r===o)){for(var i=e-1,a=39;0<=a;a--){if(r[i]!=o[a])return;i--}n=!0}return n}(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!r(e,"Chrome/5")&&!r(e,"Chrome/6")&&(!r(e,"UnrealEngine")||r(e,"Chrome"))&&!r(e,"UCBrowser/12")&&!r(e,"UCBrowser/11"))}var et=4294967296,tt=4294967295,nt=!1,rt=123456789,ot=987654321;function it(e){e<0&&(e>>>=0),rt=123456789+e&tt,ot=987654321-e&tt,nt=!0}function at(){try{var e=2147483647&ie();it((Math.random()*et^e)+e)}catch(t){}}function st(e){return 0<e?Math.floor(ut()/tt*(e+1))>>>0:0}function ut(e){var t=Ie(pe)||Ie(ge),t=t&&t.getRandomValues?t.getRandomValues(new Uint32Array(1))[0]&tt:Ee()?(nt||at(),lt()&tt):Math.floor(et*Math.random()|0);return e||(t>>>=0),t}function lt(e){var t=((ot=36969*(65535&ot)+(ot>>16)&tt)<<16)+(65535&(rt=18e3*(65535&rt)+(rt>>16)&tt))>>>0&tt|0;return e||(t>>>=0),t}var ct,dt=null;function ft(e){void 0===e&&(e=22);for(var t=ut()>>>0,n=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++n&&(t=(ut()<<2&4294967295|3&t)>>>0,n=0);return r}function pt(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=ut())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&ut())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var gt={_canUseCookies:undefined,isTypeof:function(e,t){return typeof e===t},isUndefined:G,isNullOrUndefined:p,hasOwnProperty:function(e,t){return!(!e||!y.call(e,t))},isFunction:H,isObject:_,isDate:q,isArray:K,isError:X,isString:a,isNumber:function(e){return"number"==typeof e},isBoolean:J,toISOString:Y,arrForEach:Z,arrIndexOf:Q,arrMap:$,arrReduce:ee,strTrim:g,objCreate:N,objKeys:re,objDefineAccessors:oe,addEventHandler:function(e,t){var n=!1,r=Ce()?window:Ie(le),r=(r&&(n=V(r,e,t),n=V(r.body,e,t)||n),xe());return r&&V(r,e,t)||n},dateNow:ie,isIE:Ee,disableCookies:ht,newGuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(mt,function(e){var t=0|st(15);return("x"===e?t:3&t|8).toString(16)})},perfNow:function(){var e=be();return e&&e.now?e.now():ie()},newId:ft,randomValue:st,random32:ut,mwcRandomSeed:function(e){e?it(e):at()},mwcRandom32:lt,generateW3CId:pt},mt=/[xy]/g;function vt(e,t){(n=Ke[Be]||We[Be])||(n=Ke[Be]=Ke(e,t),We[Be]=n);var n,e=n,t=gt._canUseCookies;return null===dt&&(dt=[],ct=t,oe(gt,"_canUseCookies",function(){return ct},function(t){ct=t,Z(dt,function(e){e.setEnabled(t)})})),-1===Q(dt,e)&&dt.push(e),J(t)&&e.setEnabled(t),J(ct)&&e.setEnabled(ct),e}function ht(){vt().setEnabled(!1)}var St={requestContextHeader:"Request-Context",requestContextTargetKey:"appId",requestContextAppIdFormat:"appId=cid-v1:",requestIdHeader:"Request-Id",traceParentHeader:"traceparent",traceStateHeader:"tracestate",sdkContextHeader:"Sdk-Context",sdkContextHeaderAppIdRequest:"appId",requestContextHeaderLowerCase:"request-context"};function yt(e,t,n){var r=t.length,o=It(e,t);if(o.length!==r){for(var i=0,a=o;n[a]!==undefined;)i++,a=o.substring(0,147)+Et(i);o=a}return o}function It(e,t){var n;return t&&150<(t=g(t.toString())).length&&(n=t.substring(0,150),e&&e.throwInternal(A.WARNING,i.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),n||t}function m(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=g(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(A.WARNING,i.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function Ct(e,t){return Tt(e,t,2048,i.UrlTooLong)}function xt(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(A.WARNING,i.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Nt(e,t){var n,r;return!t||32768<(r=""+t).length&&(n=r.substring(0,32768),e&&e.throwInternal(A.WARNING,i.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0)),n||t}function wt(r,e){var o;return e&&(o={},W(e,function(e,t){if(_(t)&&Ae())try{t=Te().stringify(t)}catch(n){r&&r.throwInternal(A.WARNING,i.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=m(r,t,8192),e=yt(r,e,o),o[e]=t}),e=o),e}function bt(n,e){var r;return e&&(r={},W(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function At(e,t){return t&&Tt(e,t,128,i.IdTooLong).toString()}function Tt(e,t,n,r){var o;return t&&(t=g(t)).length>n&&(o=t.substring(0,n),e&&e.throwInternal(A.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),o||t}function Et(e){e="00"+e;return e.substr(e.length-3)}h={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128,MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768,sanitizeKeyAndAddUniqueness:yt,sanitizeKey:It,sanitizeString:m,sanitizeUrl:Ct,sanitizeMessage:xt,sanitizeException:Nt,sanitizeProperties:wt,sanitizeMeasurements:bt,sanitizeId:At,sanitizeInput:Tt,padNumber:Et,trim:g};function kt(e){var t,n=null;return H(Event)?n=new Event(e):(t=xe())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Mt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function Dt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<o?o+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}function Rt(e,t){var n=null;return Z(e,function(e){if(e.identifier===t)return n=e,-1}),n}function Ft(e,t,n,r,o){return!o&&a(e)&&("Script error."===e||"Script error"===e)}var Lt,Pt="https://dc.services.visualstudio.com",Ot="not_specified",Ut="iKey",Bt=((t=Lt=Lt||{})[t.LocalStorage=0]="LocalStorage",t[t.SessionStorage=1]="SessionStorage",e.DistributedTracingModes=void 0,(t=e.DistributedTracingModes||(e.DistributedTracingModes={}))[t.AI=0]="AI",t[t.AI_AND_W3C=1]="AI_AND_W3C",t[t.W3C=2]="W3C",undefined),zt=undefined;function Gt(){return Vt()?jt(Lt.LocalStorage):null}function jt(e){try{if(p(C()))return null;var t=new Date,n=Ie(e===Lt.LocalStorage?"localStorage":"sessionStorage"),r=(n.setItem(t.toString(),t.toString()),n.getItem(t.toString())!==t.toString());if(n.removeItem(t.toString()),!r)return n}catch(o){}return null}function _t(){return Xt()?jt(Lt.SessionStorage):null}function Ht(){zt=Bt=!1}function Vt(){return Bt=Bt===undefined?!!jt(Lt.LocalStorage):Bt}function Wt(e,t){var n=Gt();if(null!==n)try{return n.getItem(t)}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadLocalStorage,"Browser failed read of local storage. "+ae(r),{exception:ke(r)})}return null}function qt(e,t,n){var r=Gt();if(null!==r)try{return r.setItem(t,n),!0}catch(o){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteLocalStorage,"Browser failed write to local storage. "+ae(o),{exception:ke(o)})}return!1}function Kt(e,t){var n=Gt();if(null!==n)try{return n.removeItem(t),!0}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromLocalStorage,"Browser failed removal of local storage item. "+ae(r),{exception:ke(r)})}return!1}function Xt(){return zt=zt===undefined?!!jt(Lt.SessionStorage):zt}function Jt(){var t=[];return Xt()&&W(Ie("sessionStorage"),function(e){t.push(e)}),t}function Yt(e,t){var n=_t();if(null!==n)try{return n.getItem(t)}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+ae(r),{exception:ke(r)})}return null}function Zt(e,t,n){var r=_t();if(null!==r)try{return r.setItem(t,n),!0}catch(o){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+ae(o),{exception:ke(o)})}return!1}function Qt(e,t){var n=_t();if(null!==n)try{return n.removeItem(t),!0}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+ae(r),{exception:ke(r)})}return!1}var $t=xe()||{},en=0,tn=[null,null,null,null,null];function nn(e){var t=en,n=tn,r=n[t];return $t.createElement?n[t]||(r=n[t]=$t.createElement("a")):r={host:sn(e,!0)},r.href=e,++t>=n.length&&(t=0),en=t,r}function rn(e){e=nn(e);return e?e.href:void 0}function on(e){e=nn(e);return e?e.pathname:void 0}function an(e,t){return e?e.toUpperCase()+" "+t:t}function sn(e,t){e=un(e,t)||"";if(e){t=e.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=t&&3<t.length&&a(t[2])&&0<t[2].length)return t[2]+(t[3]||"")}return e}function un(e,t){var n=null;return!e||null!=(e=e.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<e.length&&a(e[2])&&0<e[2].length&&(n=e[2]||"",t&&2<e.length&&(t=(e[1]||"").toLowerCase(),e=e[3]||"",n+=e="http"==t&&":80"===e||"https"==t&&":443"===e?"":e)),n}var ln=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function cn(e){return!!~ln.indexOf(e.toLowerCase())}var t={NotSpecified:Ot,createDomEvent:kt,disableStorage:Ht,isInternalApplicationInsightsEndpoint:cn,canUseLocalStorage:Vt,getStorage:Wt,setStorage:qt,removeStorage:Kt,canUseSessionStorage:Xt,getSessionStorageKeys:Jt,getSessionStorage:Yt,setSessionStorage:Zt,removeSessionStorage:Qt,disableCookies:ht,canUseCookies:function(e){return vt(null,e).isEnabled()},disallowsSameSiteNone:$e,setCookie:function(e,t,n,r){vt(null,e).set(t,n,null,r)},stringToBoolOrDefault:Mt,getCookie:function(e,t){return vt(null,e).get(t)},deleteCookie:function(e,t){return vt(null,e).del(t)},trim:g,newId:ft,random32:function(){return ut(!0)},generateW3CId:pt,isArray:K,isError:X,isDate:q,toISOStringForIE8:Y,getIEVersion:function(e){var t=((e=(e=void 0===e?null:e)?e:(t=we()||{})?(t.userAgent||"").toLowerCase():"")||"").toLowerCase();if(r(t,me))return e=xe()||{},Math.max(parseInt(t.split(me)[1]),e.documentMode||0);if(r(t,ve)){e=parseInt(t.split(ve)[1]);if(e)return e+4}return null},msToTimeSpan:Dt,isCrossOriginError:Ft,dump:ke,getExceptionName:ae,addEventHandler:V,IsBeaconApiSupported:Me,getExtension:Rt},dn={parseUrl:nn,getAbsoluteUrl:rn,getPathName:on,getCompleteUrl:an,parseHost:sn,parseFullHost:un},fn={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e.correlationHeaderExcludePatterns)for(var r=0;r<e.correlationHeaderExcludePatterns.length;r++)if(e.correlationHeaderExcludePatterns[r].test(t))return!1;var o=nn(t).host.toLowerCase();if(o&&(~o.indexOf(":443")||~o.indexOf(":80"))&&(o=(un(t,!0)||"").toLowerCase()),(!e||!e.enableCorsCorrelation)&&o&&o!==n)return!1;var i,n=e&&e.correlationHeaderDomains;if(n&&(Z(n,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a.length)return!0;for(r=0;r<a.length;r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o.length},getCorrelationContext:function(e){if(e){e=fn.getCorrelationContextValue(e,St.requestContextTargetKey);if(e&&e!==fn.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,t){if(e)for(var n=e.split(","),r=0;r<n.length;++r){var o=n[r].split("=");if(2===o.length&&o[0]===t)return o[1]}}};function pn(){var e=be();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return ie()}function gn(e,t){return 0===e||0===t||p(e)||p(t)?null:t-e}var mn={Now:pn,GetDuration:gn};function vn(e){if(!e)return{};var t,e=ee(e.split(";"),function(e,t){var n,t=t.split("=");return 2===t.length&&(n=t[0].toLowerCase(),t=t[1],e[n]=t),e},{});return 0<re(e).length&&(e.endpointsuffix&&(t=e.location?e.location+".":"",e.ingestionendpoint=e.ingestionendpoint||"https://"+t+"dc."+e.endpointsuffix),e.ingestionendpoint=e.ingestionendpoint||Pt),e}var hn,Sn={parse:vn},yn=function(){},In=(n(Cn,hn=yn),Cn);function Cn(){return hn.call(this)||this}n(wn,xn=function(){this.ver=1,this.sampleRate=100,this.tags={}});var xn,Nn=wn;function wn(e,t,n){var r=xn.call(this)||this;return r.name=m(e,n)||Ot,r.data=t,r.time=Y(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1},r}var bn,An=function(){this.ver=2,this.properties={},this.measurements={}},Tn=(n(En,bn=An),En.envelopeType="Microsoft.ApplicationInsights.{0}.Event",En.dataType="EventData",En);function En(e,t,n,r){var o=bn.call(this)||this;return o.aiDataContract={ver:1,name:1,properties:0,measurements:0},o.name=m(e,t)||Ot,o.properties=wt(e,n),o.measurements=bt(e,r),o}var kn="error",Mn="stack",Dn="stackDetails",Rn="errorSrc",Fn="message",Ln="description";function Pn(e,t){var n=e;return n&&!a(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=H(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function On(e,t){var n=e;return e&&((n=n&&!a(n)&&(e[Fn]||e[Ln])||n)&&!a(n)&&(n=Pn(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function Un(e){return e&&e.src&&a(e.src)&&e.obj&&K(e.obj)}function Bn(e){var e=e||"",t=(e=a(e)?e:a(e[Mn])?e[Mn]:""+e).split("\n");return{src:e,obj:t}}function zn(e){var t,n=null;if(e)try{e[Mn]?n=Bn(e[Mn]):e[kn]&&e[kn][Mn]?n=Bn(e[kn][Mn]):e.exception&&e.exception[Mn]?n=Bn(e.exception[Mn]):Un(e)?n=e:Un(e[Dn])?n=e[Dn]:window&&window.opera&&e[Fn]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var o=n[r];n[r+1]&&(o+="@"+n[r+1],r++),t.push(o)}return{src:e,obj:t}}(e.message):a(e)?n=Bn(e):(t=e[Fn]||e[Ln]||"",a(e[Rn])&&(t&&(t+="\n"),t+=" from "+e[Rn]),t&&(n=Bn(t)))}catch(r){n=Bn(r)}return n||{src:"",obj:null}}function Gn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function jn(e){if(e)try{var t,n;if(!a(e))return t=Gn(e),(n=Pn(e,!1))&&"{}"!==n||(e[kn]&&(t=Gn(e=e[kn])),n=Pn(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}catch(r){}return""+(e||"")}n(Vn,_n=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),Vn.CreateAutoException=function(e,t,n,r,o,i,a,s){var u=Gn(o||i||e);return{message:On(e,u),url:t,lineNumber:n,columnNumber:r,error:jn(o||i||e),evt:jn(i||e),typeName:u,stackDetails:zn(a||o||i),errorSrc:s}},Vn.CreateFromInterface=function(t,e,n,r){var o=e.exceptions&&$(e.exceptions,function(e){return qn.CreateFromInterface(t,e)});return new Vn(t,w(w({},e),{exceptions:o}),n,r)},Vn.prototype.toInterface=function(){var e=this,t=e.exceptions,n=e.properties,r=e.measurements,o=e.severityLevel,i=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:t instanceof Array&&$(t,function(e){return e.toInterface()})||undefined,severityLevel:o,properties:n,measurements:r,problemGroup:i,id:a,isManual:e}},Vn.CreateSimpleException=function(e,t,n,r,o,i){return{exceptions:[{hasFullStack:!0,message:e,stack:o,typeName:t}]}},Vn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",Vn.dataType="ExceptionData",Vn.formatError=jn;var _n,Hn=Vn;function Vn(e,t,n,r,o,i){var a=_n.call(this)||this;return a.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if(_(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(a.exceptions=t.exceptions,a.properties=t.properties,a.measurements=t.measurements,t.severityLevel&&(a.severityLevel=t.severityLevel),t.id&&(a.id=t.id),t.problemGroup&&(a.problemGroup=t.problemGroup),a.ver=2,p(t.isManual)||(a.isManual=t.isManual)):(a.exceptions=[new qn(e,t,n=n||{})],a.properties=wt(e,n),a.measurements=bt(e,r),o&&(a.severityLevel=o),i&&(a.id=i)),a}n(Kn,Wn=function(){this.hasFullStack=!0,this.parsedStack=[]}),Kn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&$(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Mn],parsedStack:e||undefined}},Kn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&$(t.parsedStack,function(e){return Yn.CreateFromInterface(e)})||t.parsedStack;return new Kn(e,w(w({},t),{parsedStack:n}))};var Wn,qn=Kn;function Kn(e,t,n){var r,l,o,i,a=Wn.call(this)||this;return a.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if(_(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(a.typeName=t.typeName,a.message=t.message,a[Mn]=t[Mn],a.parsedStack=t.parsedStack,a.hasFullStack=t.hasFullStack):(o=(r=t)&&r.evt,X(r)||(r=r[kn]||o||r),a.typeName=m(e,Gn(r))||Ot,a.message=xt(e,On(t||r,a.typeName))||Ot,l=t[Dn]||zn(t),a.parsedStack=function(){var e=l.obj;if(e&&0<e.length){var t=[],n=0,r=0;if(Z(e,function(e){var e=e.toString();Yn.regex.test(e)&&(e=new Yn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var o=0,i=t.length-1,a=0,s=o,u=i;o<i;){if(32768<(a+=t[o].sizeInBytes+t[i].sizeInBytes)){t.splice(s,u-s+1);break}s=o,u=i,o++,i--}}return t}(),a[Mn]=Nt(e,(i="",(o=l)&&(o.obj?Z(o.obj,function(e){i+=e+"\n"}):i=o.src||""),i)),a.hasFullStack=K(a.parsedStack)&&0<a.parsedStack.length,n&&(n.typeName=n.typeName||a.typeName)),a}n(Zn,Xn=function(){}),Zn.CreateFromInterface=function(e){return new Zn(e,null)},Zn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},Zn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,Zn.baseSize=58;var Xn,Jn,Yn=Zn;function Zn(e,t){var n,r=Xn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=g(n),r.fileName="",r.line=0,(t=n.match(Zn.regex))&&5<=t.length&&(r.method=g(t[2])||r.method,r.fileName=g(t[4]),r.line=parseInt(t[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=Zn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}Jn=0,n(er,Qn=function(){this.kind=Jn});var Qn,$n=er;function er(){var e=null!==Qn&&Qn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}n(rr,tr=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}}),rr.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",rr.dataType="MetricData";var tr,nr=rr;function rr(e,t,n,r,o,i,a,s,c){var u=tr.call(this)||this,l=(u.aiDataContract={ver:1,metrics:1,properties:0},new $n);return l.count=0<r?r:undefined,l.max=isNaN(i)||null===i?undefined:i,l.min=isNaN(o)||null===o?undefined:o,l.name=m(e,t)||Ot,l.value=n,l.stdDev=isNaN(a)||null===a?undefined:a,u.metrics=[l],u.properties=wt(e,s),u.measurements=bt(e,c),u}n(ir,or=An);var or,An=ir;function ir(){var e=or.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(ur,ar=An),ur.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",ur.dataType="PageviewData";var ar,sr=ur;function ur(e,t,n,r,o,i,a){var s=ar.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=At(e,a),s.url=Ct(e,n),s.name=m(e,t)||Ot,isNaN(r)||(s.duration=Dt(r)),s.properties=wt(e,o),s.measurements=bt(e,i),s}n(dr,lr=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),dr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",dr.dataType="RemoteDependencyData";var lr,cr=dr;function dr(e,t,n,c,r,o,i,a,s,d,f,p){void 0===s&&(s="Ajax");var u,g,l=lr.call(this)||this,n=(l.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0},l.id=t,l.duration=Dt(r),l.success=o,l.resultCode=i+"",l.type=m(e,s),t=e,r=a,s=i=o=c,i=(a=n)&&0<a.length?(g=(n=nn(a)).host,i||(null!=n.pathname?("/"!=((u=0===n.pathname.length?"/":n.pathname)[0]||"")&&(u="/"+u),s=n.pathname,m(t,r?r+" "+u:u)):m(t,a))):g=o,{target:g,name:i,data:s});return l.data=Ct(e,c)||n.data,l.target=m(e,n.target),d&&(l.target="".concat(l.target," | ").concat(d)),l.name=m(e,n.name),l.properties=wt(e,f),l.measurements=bt(e,p),l}n(mr,fr=function(){this.ver=2,this.properties={},this.measurements={}}),mr.envelopeType="Microsoft.ApplicationInsights.{0}.Message",mr.dataType="MessageData";var fr,pr,gr=mr;function mr(e,t,n,r,o){var i=fr.call(this)||this;return i.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},i.message=xt(e,t=t||Ot),i.properties=wt(e,r),i.measurements=bt(e,o),n&&(i.severityLevel=n),i}function vr(){var e=pr.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(vr,pr=An),n(yr,hr=vr),yr.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",yr.dataType="PageviewPerformanceData";var hr,Sr=yr;function yr(e,t,n,r,o,i,a){var s=hr.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=Ct(e,n),s.name=m(e,t)||Ot,s.properties=wt(e,o),s.measurements=bt(e,i),a&&(s.domProcessing=a.domProcessing,s.duration=a.duration,s.networkConnect=a.networkConnect,s.perfTotal=a.perfTotal,s.receivedResponse=a.receivedResponse,s.sentRequest=a.sentRequest),s}n(xr,Ir=In);var Ir,Cr=xr;function xr(e,t){var n=Ir.call(this)||this;return n.aiDataContract={baseType:1,baseData:1},n.baseType=e,n.baseData=t,n}e.SeverityLevel=void 0,(Nr=e.SeverityLevel||(e.SeverityLevel={}))[Nr.Verbose=0]="Verbose",Nr[Nr.Information=1]="Information",Nr[Nr.Warning=2]="Warning",Nr[Nr.Error=3]="Error",Nr[Nr.Critical=4]="Critical",wr.getConfig=function(e,t,n,r){return void 0===r&&(r=!1),n=(n&&e.extensionConfig&&e.extensionConfig[n]&&!p(e.extensionConfig[n][t])?e.extensionConfig[n]:e)[t],p(n)?r:n};var Nr=wr;function wr(){}function br(e){var t="ai."+e+".";return function(e){return t+e}}var Ar,Tr,Er=br("application"),o=br("device"),kr=br("location"),Mr=br("operation"),Dr=br("session"),Rr=br("user"),Fr=br("cloud"),Lr=br("internal"),Er=(Tr={applicationVersion:Er("ver"),applicationBuild:Er("build"),applicationTypeId:Er("typeId"),applicationId:Er("applicationId"),applicationLayer:Er("layer"),deviceId:o("id"),deviceIp:o("ip"),deviceLanguage:o("language"),deviceLocale:o("locale"),deviceModel:o("model"),deviceFriendlyName:o("friendlyName"),deviceNetwork:o("network"),deviceNetworkName:o("networkName"),deviceOEMName:o("oemName"),deviceOS:o("os"),deviceOSVersion:o("osVersion"),deviceRoleInstance:o("roleInstance"),deviceRoleName:o("roleName"),deviceScreenResolution:o("screenResolution"),deviceType:o("type"),deviceMachineName:o("machineName"),deviceVMName:o("vmName"),deviceBrowser:o("browser"),deviceBrowserVersion:o("browserVersion"),locationIp:kr("ip"),locationCountry:kr("country"),locationProvince:kr("province"),locationCity:kr("city"),operationId:Mr("id"),operationName:Mr("name"),operationParentId:Mr("parentId"),operationRootId:Mr("rootId"),operationSyntheticSource:Mr("syntheticSource"),operationCorrelationVector:Mr("correlationVector"),sessionId:Dr("id"),sessionIsFirst:Dr("isFirst"),sessionIsNew:Dr("isNew"),userAccountAcquisitionDate:Rr("accountAcquisitionDate"),userAccountId:Rr("accountId"),userAgent:Rr("userAgent"),userId:Rr("id"),userStoreRegion:Rr("storeRegion"),userAuthUserId:Rr("authUserId"),userAnonymousUserAcquisitionDate:Rr("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Rr("authUserAcquisitionDate"),cloudName:Fr("name"),cloudRole:Fr("role"),cloudRoleVer:Fr("roleVer"),cloudRoleInstance:Fr("roleInstance"),cloudEnvironment:Fr("environment"),cloudLocation:Fr("location"),cloudDeploymentUnit:Fr("deploymentUnit"),internalNodeName:Lr("nodeName"),internalSdkVersion:Lr("sdkVersion"),internalAgentVersion:Lr("agentVersion"),internalSnippet:Lr("snippet"),internalSdkSrc:Lr("sdkSrc")},n(Pr,Ar=function(){var n=this;W(Tr,function(e,t){n[e]=t})}),Pr);function Pr(){return Ar.call(this)||this}Or.create=function(e,t,n,r,o,i){if(n=m(r,n)||Ot,p(e)||p(t)||p(n))throw Error("Input doesn't contain all required fields");var r="",a=(e[Ut]&&(r=e[Ut],delete e[Ut]),{name:n,time:Y(new Date),iKey:r,ext:i||{},tags:[],data:{},baseType:t,baseData:e});return p(o)||W(o,function(e,t){a.data[e]=t}),a};o=Or;function Or(){}kr=new Er,e.AIBase=yn,e.AIData=In,e.AnalyticsPluginIdentifier="ApplicationInsightsAnalytics",e.BreezeChannelIdentifier="AppInsightsChannelPlugin",e.ConfigurationManager=Nr,e.ConnectionStringParser=Sn,e.ContextTagKeys=Er,e.CorrelationIdHelper=fn,e.CtxTagKeys=kr,e.DEFAULT_BREEZE_ENDPOINT=Pt,e.Data=Cr,e.DataSanitizer=h,e.DateTimeUtils=mn,e.DisabledPropertyName="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",e.Envelope=Nn,e.Event=Tn,e.Exception=Hn,e.Extensions={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},e.HttpMethod="http.method",e.Metric=nr,e.PageView=sr,e.PageViewData=An,e.PageViewPerformance=Sr,e.ProcessLegacy="ProcessLegacy",e.PropertiesPluginIdentifier="AppInsightsPropertiesPlugin",e.RemoteDependencyData=cr,e.RequestHeaders=St,e.SampleRate="sampleRate",e.TelemetryItemCreator=o,e.Trace=gr,e.UrlHelper=dn,e.Util=t,e.createDomEvent=kt,e.dataSanitizeException=Nt,e.dataSanitizeId=At,e.dataSanitizeInput=Tt,e.dataSanitizeKey=It,e.dataSanitizeKeyAndAddUniqueness=yt,e.dataSanitizeMeasurements=bt,e.dataSanitizeMessage=xt,e.dataSanitizeProperties=wt,e.dataSanitizeString=m,e.dataSanitizeUrl=Ct,e.dateTimeUtilsDuration=gn,e.dateTimeUtilsNow=pn,e.dsPadNumber=Et,e.getExtensionByName=Rt,e.isBeaconApiSupported=Me,e.isCrossOriginError=Ft,e.isInternalApplicationInsightsEndpoint=cn,e.msToTimeSpan=Dt,e.parseConnectionString=vn,e.strNotSpecified=Ot,e.stringToBoolOrDefault=Mt,e.urlGetAbsoluteUrl=rn,e.urlGetCompleteUrl=an,e.urlGetPathName=on,e.urlParseFullHost=un,e.urlParseHost=sn,e.urlParseUrl=nn,e.utlCanUseLocalStorage=Vt,e.utlCanUseSessionStorage=Xt,e.utlDisableStorage=Ht,e.utlGetLocalStorage=Wt,e.utlGetSessionStorage=Yt,e.utlGetSessionStorageKeys=Jt,e.utlRemoveSessionStorage=Qt,e.utlRemoveStorage=Kt,e.utlSetLocalStorage=qt,e.utlSetSessionStorage=Zt,Mr=e,Dr="__esModule",Rr={value:!0},Fr=Object.defineProperty;if(Fr)try{return void Fr(Mr,Dr,Rr)}catch(Ur){}typeof Rr.value!==undefined&&(Mr[Dr]=Rr.value)};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{})); | ||
var e=this,t=function(e){"use strict";var s="function",v="object",u="undefined",l="prototype",c="hasOwnProperty",d=Object,f=d[l],h=d.assign,S=d.create,t=d.defineProperty,y=f[c],I=null;function C(e){return void 0===e&&(e=!0),I&&e||(typeof globalThis!==u&&globalThis&&(I=globalThis),typeof self!==u&&self&&(I=self),typeof window!==u&&window&&(I=window),typeof global!==u&&global&&(I=global)),I}function x(e){throw new TypeError(e)}function N(e){if(S)return S(e);if(null==e)return{};var t=typeof e;function n(){}return t!==v&&t!==s&&x("Object prototype may only be an Object:"+e),n[l]=e,new n}(C()||{}).Symbol,(C()||{}).Reflect;var w=h||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])f[c].call(t,o)&&(e[o]=t[o]);return e},b=function(e,t){return(b=d.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[c](n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}typeof t!==s&&null!==t&&x("Class extends value "+t+" is not a constructor or null"),b(e,t),e[l]=null===t?N(t):(n[l]=t[l],new n)}var A={CRITICAL:1,1:"CRITICAL",WARNING:2,2:"WARNING"},i={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},T="attachEvent",E="addEventListener",k="toISOString",M="endsWith",D="indexOf",R="reduce",F="trim",h="toString",L=t,P=d.keys,t=String[l],O=t[F],U=t[M],B=Date[l][k],t=Array.isArray,z=f[h];function G(e){return e===undefined||typeof e===u}function p(e){return null===e||G(e)}function j(e){return!p(e)}function _(e){return!(!e||typeof e!==v)}function H(e){return!(!e||typeof e!==s)}function V(e,t,n,r){void 0===r&&(r=!1);var o=!1;if(!p(e))try{p(e[E])?p(e[T])||(e[T]("on"+t,n),o=!0):(e[E](t,n,r),o=!0)}catch(i){}return o}function W(e,t){if(e)for(var n in e)y.call(e,n)&&t.call(e,n,e[n])}function r(e,t){return!(!e||!t||!~e.indexOf(t))}function q(e){return!(!e||"[object Date]"!==z.call(e))}y[h].call(d);var K=t||function(e){return!(!e||"[object Array]"!==z.call(e))};function X(e){return!(!e||"[object Error]"!==z.call(e))}function a(e){return"string"==typeof e}function J(e){return"boolean"==typeof e}function Y(e){if(e){if(B)return e[k]();var t;return e&&e.getUTCFullYear?(t=function(e){e=""+e;return 1===e.length?"0"+e:e},e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(""+(e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"):void 0}}function Z(e,t,n){var r=e.length;try{for(var o=0;o<r&&!(o in e&&-1===t.call(n||e,e[o],o,e));o++);}catch(i){}}function Q(e,t,n){if(e){if(e[D])return e[D](t,n);var r=e.length,n=n||0;try{for(var o=Math.max(0<=n?n:r-Math.abs(n),0);o<r;o++)if(o in e&&e[o]===t)return o}catch(i){}}return-1}function $(e,t,n){if(e){if(e.map)return e.map(t,n);var r=e.length,o=n||e,i=Array(r);try{for(var a=0;a<r;a++)a in e&&(i[a]=t.call(o,e[a],e))}catch(s){}}return i}function ee(e,t,n){var r;if(e){if(e[R])return e[R](t,n);var o=e.length,i=0;if(3<=arguments.length)r=n;else{for(;i<o&&!(i in e);)i++;r=e[i++]}for(;i<o;)i in e&&(r=t(r,e[i],i,e)),i++}return r}function g(e){return e&&(O&&e[F]?e[F]():e.replace?e.replace(/^\s+|\s+$/g,""):e)}var te=!{toString:null}.propertyIsEnumerable("toString"),ne=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function re(e){var t=typeof e;if(t===s||t===v&&null!==e||x("objKeys called on non-object"),!te&&P)return P(e);var n,r=[];for(n in e)e&&y.call(e,n)&&r.push(n);if(te)for(var o=ne.length,i=0;i<o;i++)e&&y.call(e,ne[i])&&r.push(ne[i]);return r}function oe(e,t,n,r){if(L)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),L(e,t,o),!0}catch(i){}return!1}function ie(){var e=Date;return e.now?e.now():(new e).getTime()}function ae(e){return X(e)?e.name:""}function se(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(e[t]=i=n)),i}function ue(e){return!!e}var le="window",ce="navigator",de="location",fe="JSON",pe="crypto",ge="msCrypto",me="msie",ve="trident/",he=null,Se=null,ye=null;function Ie(e){var t=C();return t&&t[e]?t[e]:e===le&&Ce()?window:null}function Ce(){return typeof window===v&&window}function xe(){return typeof document===v&&document?document:Ie("document")}function Ne(){return!(typeof navigator!==v||!navigator)}function we(){return Ne()?navigator:Ie(ce)}function be(){return Ie("performance")}function Ae(){return typeof JSON===v&&JSON||null!==Ie(fe)}function Te(){return Ae()?JSON||Ie(fe):null}function Ee(){var e=we();return!e||e.userAgent===Se&&null!==he||(e=((Se=e.userAgent)||"").toLowerCase(),he=r(e,me)||r(e,ve)),he}function ke(e){var t=Object[l].toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Ae()&&(n=Te().stringify(e)),t+n}function Me(){return ye=null===ye?Ne()&&!!we().sendBeacon:ye}var De="toGMTString",Re="toUTCString",Fe="cookie",Le="expires",Pe="enabled",Oe="isCookieUseDisabled",Ue="disableCookiesUsage",Be="_ckMgr",ze="",Ge=null,je=null,_e=null,He=xe(),Ve={},We={};function qe(e){return!e||e.isEnabled()}function Ke(e,o){se(n=(e=e||We).cookieCfg=e.cookieCfg||{},"domain",e.cookieDomain,j,p),se(n,"path",e.cookiePath||"/",null,p),p(n[Pe])&&(t=void 0,G(e[Oe])||(t=!e[Oe]),G(e[Ue])||(t=!e[Ue]),n[Pe]=t);var t,n,l=n,c=l.path||"/",d=l.domain,r=!1!==l[Pe],f={isEnabled:function(){var e=r&&Xe(o),t=We[Be];return e&&t&&f!==t?qe(t):e},setEnabled:function(e){r=!1!==e},set:function(e,t,n,r,o){var i,a,s,u=!1;return qe(f)&&(i={},-1!=(s=(a=g(t||ze)).indexOf(";"))&&(a=g(t.substring(0,s)),i=Je(t.substring(1+s))),se(i,"domain",r||d,ue,G),p(n)||(s=Ee(),!G(i[Le])||0<(t=ie()+1e3*n)&&((r=new Date).setTime(t),se(i,Le,Ye(r,s?De:Re)||Ye(r,s?De:Re)||ze,ue)),s||se(i,"max-age",ze+n,null,G)),(t=typeof location===v&&location?location:Ie(de))&&"https:"===t.protocol&&(se(i,"secure",null,null,G),(je=null===je?!$e((we()||{}).userAgent):je)&&se(i,"SameSite","None",null,G)),se(i,"path",o||c,null,G),(l.setCookie||Qe)(e,Ze(a,i)),u=!0),u},get:function(e){var t=ze;return qe(f)?(l.getCookie||function(e){var t,n=ze;return He&&(t=He[Fe]||ze,_e!==t&&(Ve=Je(t),_e=t),n=g(Ve[e]||ze)),n})(e):t},del:function(e,t){return!!qe(f)&&f.purge(e,t)},purge:function(e,t){var n,r=!1;return Xe(o)&&((n={}).path=t||"/",n[Le]="Thu, 01 Jan 1970 00:00:01 GMT",t=n,Ee()||(t["max-age"]="0"),(l.delCookie||Qe)(e,Ze(ze,t)),r=!0),r}};return f[Be]=f}function Xe(e){if(null===Ge){Ge=!1;try{Ge=(He||{})[Fe]!==undefined}catch(t){e&&e.throwInternal(A.WARNING,i.CannotAccessCookie,"Cannot access document.cookie - "+ae(t),{exception:ke(t)})}}return Ge}function Je(e){var n={};return e&&e.length&&Z(g(e).split(";"),function(e){var t;(e=g(e||ze))&&(-1==(t=e.indexOf("="))?n[e]=null:n[g(e.substring(0,t))]=g(e.substring(1+t)))}),n}function Ye(e,t){return H(e[t])?e[t]():null}function Ze(e,t){var n=e||ze;return W(t,function(e,t){n+="; "+e+(p(t)?ze:"="+t)}),n}function Qe(e,t){He&&(He[Fe]=e+"="+t)}function $e(e){return!(!a(e)||!r(e,"CPU iPhone OS 12")&&!r(e,"iPad; CPU OS 12")&&!(r(e,"Macintosh; Intel Mac OS X 10_14")&&r(e,"Version/")&&r(e,"Safari"))&&(!r(e,"Macintosh; Intel Mac OS X 10_14")||!function(e,t){var n=!1;if(!e||(n=e===t))return n;if(U)return e[M](t);var r=e,o=t,n=!1,e=r?r.length:0;if(e&&40<=e&&!(n=r===o)){for(var i=e-1,a=39;0<=a;a--){if(r[i]!=o[a])return;i--}n=!0}return n}(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!r(e,"Chrome/5")&&!r(e,"Chrome/6")&&(!r(e,"UnrealEngine")||r(e,"Chrome"))&&!r(e,"UCBrowser/12")&&!r(e,"UCBrowser/11"))}var et=4294967296,tt=4294967295,nt=!1,rt=123456789,ot=987654321;function it(e){e<0&&(e>>>=0),rt=123456789+e&tt,ot=987654321-e&tt,nt=!0}function at(){try{var e=2147483647&ie();it((Math.random()*et^e)+e)}catch(t){}}function st(e){return 0<e?Math.floor(ut()/tt*(e+1))>>>0:0}function ut(e){var t=Ie(pe)||Ie(ge),t=t&&t.getRandomValues?t.getRandomValues(new Uint32Array(1))[0]&tt:Ee()?(nt||at(),lt()&tt):Math.floor(et*Math.random()|0);return e||(t>>>=0),t}function lt(e){var t=((ot=36969*(65535&ot)+(ot>>16)&tt)<<16)+(65535&(rt=18e3*(65535&rt)+(rt>>16)&tt))>>>0&tt|0;return e||(t>>>=0),t}var ct,dt=null;function ft(e){void 0===e&&(e=22);for(var t=ut()>>>0,n=0,r="";r.length<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++n&&(t=(ut()<<2&4294967295|3&t)>>>0,n=0);return r}function pt(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=ut())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&ut())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var gt={_canUseCookies:undefined,isTypeof:function(e,t){return typeof e===t},isUndefined:G,isNullOrUndefined:p,hasOwnProperty:function(e,t){return!(!e||!y.call(e,t))},isFunction:H,isObject:_,isDate:q,isArray:K,isError:X,isString:a,isNumber:function(e){return"number"==typeof e},isBoolean:J,toISOString:Y,arrForEach:Z,arrIndexOf:Q,arrMap:$,arrReduce:ee,strTrim:g,objCreate:N,objKeys:re,objDefineAccessors:oe,addEventHandler:function(e,t){var n=!1,r=Ce()?window:Ie(le),r=(r&&(n=V(r,e,t),n=V(r.body,e,t)||n),xe());return r&&V(r,e,t)||n},dateNow:ie,isIE:Ee,disableCookies:ht,newGuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(mt,function(e){var t=0|st(15);return("x"===e?t:3&t|8).toString(16)})},perfNow:function(){var e=be();return e&&e.now?e.now():ie()},newId:ft,randomValue:st,random32:ut,mwcRandomSeed:function(e){e?it(e):at()},mwcRandom32:lt,generateW3CId:pt},mt=/[xy]/g;function vt(e,t){(n=Ke[Be]||We[Be])||(n=Ke[Be]=Ke(e,t),We[Be]=n);var n,e=n,t=gt._canUseCookies;return null===dt&&(dt=[],ct=t,oe(gt,"_canUseCookies",function(){return ct},function(t){ct=t,Z(dt,function(e){e.setEnabled(t)})})),-1===Q(dt,e)&&dt.push(e),J(t)&&e.setEnabled(t),J(ct)&&e.setEnabled(ct),e}function ht(){vt().setEnabled(!1)}var St={requestContextHeader:"Request-Context",requestContextTargetKey:"appId",requestContextAppIdFormat:"appId=cid-v1:",requestIdHeader:"Request-Id",traceParentHeader:"traceparent",traceStateHeader:"tracestate",sdkContextHeader:"Sdk-Context",sdkContextHeaderAppIdRequest:"appId",requestContextHeaderLowerCase:"request-context"};function yt(e,t,n){var r=t.length,o=It(e,t);if(o.length!==r){for(var i=0,a=o;n[a]!==undefined;)i++,a=o.substring(0,147)+Et(i);o=a}return o}function It(e,t){var n;return t&&150<(t=g(t.toString())).length&&(n=t.substring(0,150),e&&e.throwInternal(A.WARNING,i.NameTooLong,"name is too long. It has been truncated to 150 characters.",{name:t},!0)),n||t}function m(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=g(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(A.WARNING,i.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function Ct(e,t){return Tt(e,t,2048,i.UrlTooLong)}function xt(e,t){var n;return t&&32768<t.length&&(n=t.substring(0,32768),e&&e.throwInternal(A.WARNING,i.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function Nt(e,t){var n,r;return!t||32768<(r=""+t).length&&(n=r.substring(0,32768),e&&e.throwInternal(A.WARNING,i.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0)),n||t}function wt(r,e){var o;return e&&(o={},W(e,function(e,t){if(_(t)&&Ae())try{t=Te().stringify(t)}catch(n){r&&r.throwInternal(A.WARNING,i.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:n},!0)}t=m(r,t,8192),e=yt(r,e,o),o[e]=t}),e=o),e}function bt(n,e){var r;return e&&(r={},W(e,function(e,t){e=yt(n,e,r),r[e]=t}),e=r),e}function At(e,t){return t&&Tt(e,t,128,i.IdTooLong).toString()}function Tt(e,t,n,r){var o;return t&&(t=g(t)).length>n&&(o=t.substring(0,n),e&&e.throwInternal(A.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),o||t}function Et(e){e="00"+e;return e.substr(e.length-3)}h={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128,MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768,sanitizeKeyAndAddUniqueness:yt,sanitizeKey:It,sanitizeString:m,sanitizeUrl:Ct,sanitizeMessage:xt,sanitizeException:Nt,sanitizeProperties:wt,sanitizeMeasurements:bt,sanitizeId:At,sanitizeInput:Tt,padNumber:Et,trim:g};function kt(e){var t,n=null;return H(Event)?n=new Event(e):(t=xe())&&t.createEvent&&(n=t.createEvent("Event")).initEvent(e,!0,!0),n}function Mt(e,t){return void 0===t&&(t=!1),e===undefined||null===e?t:"true"==e.toString().toLowerCase()}function Dt(e){var t=""+Math.floor((e=Math.round(e=isNaN(e)||e<0?0:e))/1e3)%60,n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,o=Math.floor(e/864e5),e=1===(e=""+e%1e3).length?"00"+e:2===e.length?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n;return(0<o?o+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t+"."+e}function Rt(e,t){var n=null;return Z(e,function(e){if(e.identifier===t)return n=e,-1}),n}function Ft(e,t,n,r,o){return!o&&a(e)&&("Script error."===e||"Script error"===e)}var Lt,Pt="https://dc.services.visualstudio.com",Ot="not_specified",Ut="iKey",Bt=((t=Lt=Lt||{})[t.LocalStorage=0]="LocalStorage",t[t.SessionStorage=1]="SessionStorage",e.DistributedTracingModes=void 0,(t=e.DistributedTracingModes||(e.DistributedTracingModes={}))[t.AI=0]="AI",t[t.AI_AND_W3C=1]="AI_AND_W3C",t[t.W3C=2]="W3C",undefined),zt=undefined;function Gt(){return Vt()?jt(Lt.LocalStorage):null}function jt(e){try{if(p(C()))return null;var t=new Date,n=Ie(e===Lt.LocalStorage?"localStorage":"sessionStorage"),r=(n.setItem(t.toString(),t.toString()),n.getItem(t.toString())!==t.toString());if(n.removeItem(t.toString()),!r)return n}catch(o){}return null}function _t(){return Xt()?jt(Lt.SessionStorage):null}function Ht(){zt=Bt=!1}function Vt(){return Bt=Bt===undefined?!!jt(Lt.LocalStorage):Bt}function Wt(e,t){var n=Gt();if(null!==n)try{return n.getItem(t)}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadLocalStorage,"Browser failed read of local storage. "+ae(r),{exception:ke(r)})}return null}function qt(e,t,n){var r=Gt();if(null!==r)try{return r.setItem(t,n),!0}catch(o){Bt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteLocalStorage,"Browser failed write to local storage. "+ae(o),{exception:ke(o)})}return!1}function Kt(e,t){var n=Gt();if(null!==n)try{return n.removeItem(t),!0}catch(r){Bt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromLocalStorage,"Browser failed removal of local storage item. "+ae(r),{exception:ke(r)})}return!1}function Xt(){return zt=zt===undefined?!!jt(Lt.SessionStorage):zt}function Jt(){var t=[];return Xt()&&W(Ie("sessionStorage"),function(e){t.push(e)}),t}function Yt(e,t){var n=_t();if(null!==n)try{return n.getItem(t)}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+ae(r),{exception:ke(r)})}return null}function Zt(e,t,n){var r=_t();if(null!==r)try{return r.setItem(t,n),!0}catch(o){zt=!1,e.throwInternal(A.WARNING,i.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+ae(o),{exception:ke(o)})}return!1}function Qt(e,t){var n=_t();if(null!==n)try{return n.removeItem(t),!0}catch(r){zt=!1,e.throwInternal(A.WARNING,i.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+ae(r),{exception:ke(r)})}return!1}var $t=xe()||{},en=0,tn=[null,null,null,null,null];function nn(e){var t=en,n=tn,r=n[t];return $t.createElement?n[t]||(r=n[t]=$t.createElement("a")):r={host:sn(e,!0)},r.href=e,++t>=n.length&&(t=0),en=t,r}function rn(e){e=nn(e);return e?e.href:void 0}function on(e){e=nn(e);return e?e.pathname:void 0}function an(e,t){return e?e.toUpperCase()+" "+t:t}function sn(e,t){e=un(e,t)||"";if(e){t=e.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=t&&3<t.length&&a(t[2])&&0<t[2].length)return t[2]+(t[3]||"")}return e}function un(e,t){var n=null;return!e||null!=(e=e.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i))&&2<e.length&&a(e[2])&&0<e[2].length&&(n=e[2]||"",t&&2<e.length&&(t=(e[1]||"").toLowerCase(),e=e[3]||"",n+=e="http"==t&&":80"===e||"https"==t&&":443"===e?"":e)),n}var ln=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function cn(e){return!!~ln.indexOf(e.toLowerCase())}var t={NotSpecified:Ot,createDomEvent:kt,disableStorage:Ht,isInternalApplicationInsightsEndpoint:cn,canUseLocalStorage:Vt,getStorage:Wt,setStorage:qt,removeStorage:Kt,canUseSessionStorage:Xt,getSessionStorageKeys:Jt,getSessionStorage:Yt,setSessionStorage:Zt,removeSessionStorage:Qt,disableCookies:ht,canUseCookies:function(e){return vt(null,e).isEnabled()},disallowsSameSiteNone:$e,setCookie:function(e,t,n,r){vt(null,e).set(t,n,null,r)},stringToBoolOrDefault:Mt,getCookie:function(e,t){return vt(null,e).get(t)},deleteCookie:function(e,t){return vt(null,e).del(t)},trim:g,newId:ft,random32:function(){return ut(!0)},generateW3CId:pt,isArray:K,isError:X,isDate:q,toISOStringForIE8:Y,getIEVersion:function(e){var t=((e=(e=void 0===e?null:e)?e:(t=we()||{})?(t.userAgent||"").toLowerCase():"")||"").toLowerCase();if(r(t,me))return e=xe()||{},Math.max(parseInt(t.split(me)[1]),e.documentMode||0);if(r(t,ve)){e=parseInt(t.split(ve)[1]);if(e)return e+4}return null},msToTimeSpan:Dt,isCrossOriginError:Ft,dump:ke,getExceptionName:ae,addEventHandler:V,IsBeaconApiSupported:Me,getExtension:Rt},dn={parseUrl:nn,getAbsoluteUrl:rn,getPathName:on,getCompleteUrl:an,parseHost:sn,parseFullHost:un},fn={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e.correlationHeaderExcludePatterns)for(var r=0;r<e.correlationHeaderExcludePatterns.length;r++)if(e.correlationHeaderExcludePatterns[r].test(t))return!1;var o=nn(t).host.toLowerCase();if(o&&(~o.indexOf(":443")||~o.indexOf(":80"))&&(o=(un(t,!0)||"").toLowerCase()),(!e||!e.enableCorsCorrelation)&&o&&o!==n)return!1;var i,n=e&&e.correlationHeaderDomains;if(n&&(Z(n,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(o)}),!i))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a.length)return!0;for(r=0;r<a.length;r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1;return o&&0<o.length},getCorrelationContext:function(e){if(e){e=fn.getCorrelationContextValue(e,St.requestContextTargetKey);if(e&&e!==fn.correlationIdPrefix)return e}},getCorrelationContextValue:function(e,t){if(e)for(var n=e.split(","),r=0;r<n.length;++r){var o=n[r].split("=");if(2===o.length&&o[0]===t)return o[1]}}};function pn(){var e=be();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return ie()}function gn(e,t){return 0===e||0===t||p(e)||p(t)?null:t-e}var mn={Now:pn,GetDuration:gn};function vn(e){if(!e)return{};var t,e=ee(e.split(";"),function(e,t){var n,t=t.split("=");return 2===t.length&&(n=t[0].toLowerCase(),t=t[1],e[n]=t),e},{});return 0<re(e).length&&(e.endpointsuffix&&(t=e.location?e.location+".":"",e.ingestionendpoint=e.ingestionendpoint||"https://"+t+"dc."+e.endpointsuffix),e.ingestionendpoint=e.ingestionendpoint||Pt),e}var hn,Sn={parse:vn},yn=function(){},In=(n(Cn,hn=yn),Cn);function Cn(){return hn.call(this)||this}n(wn,xn=function(){this.ver=1,this.sampleRate=100,this.tags={}});var xn,Nn=wn;function wn(e,t,n){var r=xn.call(this)||this;return r.name=m(e,n)||Ot,r.data=t,r.time=Y(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1},r}var bn,An=function(){this.ver=2,this.properties={},this.measurements={}},Tn=(n(En,bn=An),En.envelopeType="Microsoft.ApplicationInsights.{0}.Event",En.dataType="EventData",En);function En(e,t,n,r){var o=bn.call(this)||this;return o.aiDataContract={ver:1,name:1,properties:0,measurements:0},o.name=m(e,t)||Ot,o.properties=wt(e,n),o.measurements=bt(e,r),o}var kn="error",Mn="stack",Dn="stackDetails",Rn="errorSrc",Fn="message",Ln="description";function Pn(e,t){var n=e;return n&&!a(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=H(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function On(e,t){var n=e;return e&&((n=n&&!a(n)&&(e[Fn]||e[Ln])||n)&&!a(n)&&(n=Pn(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(t&&"String"!==t&&"Object"!==t&&"Error"!==t&&!~(n||"").indexOf(t)?t+": "+n:n)||""}function Un(e){return e&&e.src&&a(e.src)&&e.obj&&K(e.obj)}function Bn(e){var e=e||"",t=(e=a(e)?e:a(e[Mn])?e[Mn]:""+e).split("\n");return{src:e,obj:t}}function zn(e){var t,n=null;if(e)try{e[Mn]?n=Bn(e[Mn]):e[kn]&&e[kn][Mn]?n=Bn(e[kn][Mn]):e.exception&&e.exception[Mn]?n=Bn(e.exception[Mn]):Un(e)?n=e:Un(e[Dn])?n=e[Dn]:window&&window.opera&&e[Fn]?n=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var o=n[r];n[r+1]&&(o+="@"+n[r+1],r++),t.push(o)}return{src:e,obj:t}}(e.message):a(e)?n=Bn(e):(t=e[Fn]||e[Ln]||"",a(e[Rn])&&(t&&(t+="\n"),t+=" from "+e[Rn]),t&&(n=Bn(t)))}catch(r){n=Bn(r)}return n||{src:"",obj:null}}function Gn(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString()),t=n&&1<n.length?n[1]:""}catch(r){}return t}function jn(e){if(e)try{var t,n;if(!a(e))return t=Gn(e),(n=Pn(e,!1))&&"{}"!==n||(e[kn]&&(t=Gn(e=e[kn])),n=Pn(e,!0)),n.indexOf(t)&&"String"!==t?t+":"+n:n}catch(r){}return""+(e||"")}n(Vn,_n=function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}}),Vn.CreateAutoException=function(e,t,n,r,o,i,a,s){var u=Gn(o||i||e);return{message:On(e,u),url:t,lineNumber:n,columnNumber:r,error:jn(o||i||e),evt:jn(i||e),typeName:u,stackDetails:zn(a||o||i),errorSrc:s}},Vn.CreateFromInterface=function(t,e,n,r){var o=e.exceptions&&$(e.exceptions,function(e){return qn.CreateFromInterface(t,e)});return new Vn(t,w(w({},e),{exceptions:o}),n,r)},Vn.prototype.toInterface=function(){var e=this,t=e.exceptions,n=e.properties,r=e.measurements,o=e.severityLevel,i=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:t instanceof Array&&$(t,function(e){return e.toInterface()})||undefined,severityLevel:o,properties:n,measurements:r,problemGroup:i,id:a,isManual:e}},Vn.CreateSimpleException=function(e,t,n,r,o,i){return{exceptions:[{hasFullStack:!0,message:e,stack:o,typeName:t}]}},Vn.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",Vn.dataType="ExceptionData",Vn.formatError=jn;var _n,Hn=Vn;function Vn(e,t,n,r,o,i){var a=_n.call(this)||this;return a.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},function(e){try{if(_(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}}(t)?(a.exceptions=t.exceptions,a.properties=t.properties,a.measurements=t.measurements,t.severityLevel&&(a.severityLevel=t.severityLevel),t.id&&(a.id=t.id),t.problemGroup&&(a.problemGroup=t.problemGroup),a.ver=2,p(t.isManual)||(a.isManual=t.isManual)):(a.exceptions=[new qn(e,t,n=n||{})],a.properties=wt(e,n),a.measurements=bt(e,r),o&&(a.severityLevel=o),i&&(a.id=i)),a}n(Kn,Wn=function(){this.hasFullStack=!0,this.parsedStack=[]}),Kn.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&$(this.parsedStack,function(e){return e.toInterface()});return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this[Mn],parsedStack:e||undefined}},Kn.CreateFromInterface=function(e,t){var n=t.parsedStack instanceof Array&&$(t.parsedStack,function(e){return Yn.CreateFromInterface(e)})||t.parsedStack;return new Kn(e,w(w({},t),{parsedStack:n}))};var Wn,qn=Kn;function Kn(e,t,n){var r,l,o,i,a=Wn.call(this)||this;return a.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if(_(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}}(t)?(a.typeName=t.typeName,a.message=t.message,a[Mn]=t[Mn],a.parsedStack=t.parsedStack,a.hasFullStack=t.hasFullStack):(o=(r=t)&&r.evt,X(r)||(r=r[kn]||o||r),a.typeName=m(e,Gn(r))||Ot,a.message=xt(e,On(t||r,a.typeName))||Ot,l=t[Dn]||zn(t),a.parsedStack=function(){var e=l.obj;if(e&&0<e.length){var t=[],n=0,r=0;if(Z(e,function(e){var e=e.toString();Yn.regex.test(e)&&(e=new Yn(e,n++),r+=e.sizeInBytes,t.push(e))}),32768<r)for(var o=0,i=t.length-1,a=0,s=o,u=i;o<i;){if(32768<(a+=t[o].sizeInBytes+t[i].sizeInBytes)){t.splice(s,u-s+1);break}s=o,u=i,o++,i--}}return t}(),a[Mn]=Nt(e,(i="",(o=l)&&(o.obj?Z(o.obj,function(e){i+=e+"\n"}):i=o.src||""),i)),a.hasFullStack=K(a.parsedStack)&&0<a.parsedStack.length,n&&(n.typeName=n.typeName||a.typeName)),a}n(Zn,Xn=function(){}),Zn.CreateFromInterface=function(e){return new Zn(e,null)},Zn.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},Zn.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,Zn.baseSize=58;var Xn,Jn,Yn=Zn;function Zn(e,t){var n,r=Xn.call(this)||this;return r.sizeInBytes=0,r.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof e?(n=e,r.level=t,r.method="<no_method>",r.assembly=g(n),r.fileName="",r.line=0,(t=n.match(Zn.regex))&&5<=t.length&&(r.method=g(t[2])||r.method,r.fileName=g(t[4]),r.line=parseInt(t[5])||0)):(r.level=e.level,r.method=e.method,r.assembly=e.assembly,r.fileName=e.fileName,r.line=e.line,r.sizeInBytes=0),r.sizeInBytes+=r.method.length,r.sizeInBytes+=r.fileName.length,r.sizeInBytes+=r.assembly.length,r.sizeInBytes+=Zn.baseSize,r.sizeInBytes+=r.level.toString().length,r.sizeInBytes+=r.line.toString().length,r}Jn=0,n(er,Qn=function(){this.kind=Jn});var Qn,$n=er;function er(){var e=null!==Qn&&Qn.apply(this,arguments)||this;return e.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},e}n(rr,tr=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}}),rr.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",rr.dataType="MetricData";var tr,nr=rr;function rr(e,t,n,r,o,i,a,s,c){var u=tr.call(this)||this,l=(u.aiDataContract={ver:1,metrics:1,properties:0},new $n);return l.count=0<r?r:undefined,l.max=isNaN(i)||null===i?undefined:i,l.min=isNaN(o)||null===o?undefined:o,l.name=m(e,t)||Ot,l.value=n,l.stdDev=isNaN(a)||null===a?undefined:a,u.metrics=[l],u.properties=wt(e,s),u.measurements=bt(e,c),u}n(ir,or=An);var or,An=ir;function ir(){var e=or.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(ur,ar=An),ur.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",ur.dataType="PageviewData";var ar,sr=ur;function ur(e,t,n,r,o,i,a){var s=ar.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=At(e,a),s.url=Ct(e,n),s.name=m(e,t)||Ot,isNaN(r)||(s.duration=Dt(r)),s.properties=wt(e,o),s.measurements=bt(e,i),s}n(dr,lr=function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}}),dr.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",dr.dataType="RemoteDependencyData";var lr,cr=dr;function dr(e,t,n,c,r,o,i,a,s,d,f,p){void 0===s&&(s="Ajax");var u,g,l=lr.call(this)||this,n=(l.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0},l.id=t,l.duration=Dt(r),l.success=o,l.resultCode=i+"",l.type=m(e,s),t=e,r=a,s=i=o=c,i=(a=n)&&0<a.length?(g=(n=nn(a)).host,i||(null!=n.pathname?("/"!=((u=0===n.pathname.length?"/":n.pathname)[0]||"")&&(u="/"+u),s=n.pathname,m(t,r?r+" "+u:u)):m(t,a))):g=o,{target:g,name:i,data:s});return l.data=Ct(e,c)||n.data,l.target=m(e,n.target),d&&(l.target="".concat(l.target," | ").concat(d)),l.name=m(e,n.name),l.properties=wt(e,f),l.measurements=bt(e,p),l}n(mr,fr=function(){this.ver=2,this.properties={},this.measurements={}}),mr.envelopeType="Microsoft.ApplicationInsights.{0}.Message",mr.dataType="MessageData";var fr,pr,gr=mr;function mr(e,t,n,r,o){var i=fr.call(this)||this;return i.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},i.message=xt(e,t=t||Ot),i.properties=wt(e,r),i.measurements=bt(e,o),n&&(i.severityLevel=n),i}function vr(){var e=pr.call(this)||this;return e.ver=2,e.properties={},e.measurements={},e}n(vr,pr=An),n(yr,hr=vr),yr.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",yr.dataType="PageviewPerformanceData";var hr,Sr=yr;function yr(e,t,n,r,o,i,a){var s=hr.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=Ct(e,n),s.name=m(e,t)||Ot,s.properties=wt(e,o),s.measurements=bt(e,i),a&&(s.domProcessing=a.domProcessing,s.duration=a.duration,s.networkConnect=a.networkConnect,s.perfTotal=a.perfTotal,s.receivedResponse=a.receivedResponse,s.sentRequest=a.sentRequest),s}n(xr,Ir=In);var Ir,Cr=xr;function xr(e,t){var n=Ir.call(this)||this;return n.aiDataContract={baseType:1,baseData:1},n.baseType=e,n.baseData=t,n}e.SeverityLevel=void 0,(Nr=e.SeverityLevel||(e.SeverityLevel={}))[Nr.Verbose=0]="Verbose",Nr[Nr.Information=1]="Information",Nr[Nr.Warning=2]="Warning",Nr[Nr.Error=3]="Error",Nr[Nr.Critical=4]="Critical",wr.getConfig=function(e,t,n,r){return void 0===r&&(r=!1),n=(n&&e.extensionConfig&&e.extensionConfig[n]&&!p(e.extensionConfig[n][t])?e.extensionConfig[n]:e)[t],p(n)?r:n};var Nr=wr;function wr(){}function br(e){var t="ai."+e+".";return function(e){return t+e}}var Ar,Tr,Er=br("application"),o=br("device"),kr=br("location"),Mr=br("operation"),Dr=br("session"),Rr=br("user"),Fr=br("cloud"),Lr=br("internal"),Er=(Tr={applicationVersion:Er("ver"),applicationBuild:Er("build"),applicationTypeId:Er("typeId"),applicationId:Er("applicationId"),applicationLayer:Er("layer"),deviceId:o("id"),deviceIp:o("ip"),deviceLanguage:o("language"),deviceLocale:o("locale"),deviceModel:o("model"),deviceFriendlyName:o("friendlyName"),deviceNetwork:o("network"),deviceNetworkName:o("networkName"),deviceOEMName:o("oemName"),deviceOS:o("os"),deviceOSVersion:o("osVersion"),deviceRoleInstance:o("roleInstance"),deviceRoleName:o("roleName"),deviceScreenResolution:o("screenResolution"),deviceType:o("type"),deviceMachineName:o("machineName"),deviceVMName:o("vmName"),deviceBrowser:o("browser"),deviceBrowserVersion:o("browserVersion"),locationIp:kr("ip"),locationCountry:kr("country"),locationProvince:kr("province"),locationCity:kr("city"),operationId:Mr("id"),operationName:Mr("name"),operationParentId:Mr("parentId"),operationRootId:Mr("rootId"),operationSyntheticSource:Mr("syntheticSource"),operationCorrelationVector:Mr("correlationVector"),sessionId:Dr("id"),sessionIsFirst:Dr("isFirst"),sessionIsNew:Dr("isNew"),userAccountAcquisitionDate:Rr("accountAcquisitionDate"),userAccountId:Rr("accountId"),userAgent:Rr("userAgent"),userId:Rr("id"),userStoreRegion:Rr("storeRegion"),userAuthUserId:Rr("authUserId"),userAnonymousUserAcquisitionDate:Rr("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Rr("authUserAcquisitionDate"),cloudName:Fr("name"),cloudRole:Fr("role"),cloudRoleVer:Fr("roleVer"),cloudRoleInstance:Fr("roleInstance"),cloudEnvironment:Fr("environment"),cloudLocation:Fr("location"),cloudDeploymentUnit:Fr("deploymentUnit"),internalNodeName:Lr("nodeName"),internalSdkVersion:Lr("sdkVersion"),internalAgentVersion:Lr("agentVersion"),internalSnippet:Lr("snippet"),internalSdkSrc:Lr("sdkSrc")},n(Pr,Ar=function(){var n=this;W(Tr,function(e,t){n[e]=t})}),Pr);function Pr(){return Ar.call(this)||this}Or.create=function(e,t,n,r,o,i){if(n=m(r,n)||Ot,p(e)||p(t)||p(n))throw Error("Input doesn't contain all required fields");var r="",a=(e[Ut]&&(r=e[Ut],delete e[Ut]),{name:n,time:Y(new Date),iKey:r,ext:i||{},tags:[],data:{},baseType:t,baseData:e});return p(o)||W(o,function(e,t){a.data[e]=t}),a};o=Or;function Or(){}kr=new Er,e.AIBase=yn,e.AIData=In,e.AnalyticsPluginIdentifier="ApplicationInsightsAnalytics",e.BreezeChannelIdentifier="AppInsightsChannelPlugin",e.ConfigurationManager=Nr,e.ConnectionStringParser=Sn,e.ContextTagKeys=Er,e.CorrelationIdHelper=fn,e.CtxTagKeys=kr,e.DEFAULT_BREEZE_ENDPOINT=Pt,e.Data=Cr,e.DataSanitizer=h,e.DateTimeUtils=mn,e.DisabledPropertyName="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",e.Envelope=Nn,e.Event=Tn,e.Exception=Hn,e.Extensions={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},e.HttpMethod="http.method",e.Metric=nr,e.PageView=sr,e.PageViewData=An,e.PageViewPerformance=Sr,e.ProcessLegacy="ProcessLegacy",e.PropertiesPluginIdentifier="AppInsightsPropertiesPlugin",e.RemoteDependencyData=cr,e.RequestHeaders=St,e.SampleRate="sampleRate",e.TelemetryItemCreator=o,e.Trace=gr,e.UrlHelper=dn,e.Util=t,e.createDomEvent=kt,e.dataSanitizeException=Nt,e.dataSanitizeId=At,e.dataSanitizeInput=Tt,e.dataSanitizeKey=It,e.dataSanitizeKeyAndAddUniqueness=yt,e.dataSanitizeMeasurements=bt,e.dataSanitizeMessage=xt,e.dataSanitizeProperties=wt,e.dataSanitizeString=m,e.dataSanitizeUrl=Ct,e.dateTimeUtilsDuration=gn,e.dateTimeUtilsNow=pn,e.dsPadNumber=Et,e.getExtensionByName=Rt,e.isBeaconApiSupported=Me,e.isCrossOriginError=Ft,e.isInternalApplicationInsightsEndpoint=cn,e.msToTimeSpan=Dt,e.parseConnectionString=vn,e.strNotSpecified=Ot,e.stringToBoolOrDefault=Mt,e.urlGetAbsoluteUrl=rn,e.urlGetCompleteUrl=an,e.urlGetPathName=on,e.urlParseFullHost=un,e.urlParseHost=sn,e.urlParseUrl=nn,e.utlCanUseLocalStorage=Vt,e.utlCanUseSessionStorage=Xt,e.utlDisableStorage=Ht,e.utlGetLocalStorage=Wt,e.utlGetSessionStorage=Yt,e.utlGetSessionStorageKeys=Jt,e.utlRemoveSessionStorage=Qt,e.utlRemoveStorage=Kt,e.utlSetLocalStorage=qt,e.utlSetSessionStorage=Zt,Mr=e,Dr="__esModule",Rr={value:!0},Fr=Object.defineProperty;if(Fr)try{return void Fr(Mr,Dr,Rr)}catch(Ur){}typeof Rr.value!==undefined&&(Mr[Dr]=Rr.value)};"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{})); | ||
//# sourceMappingURL=applicationinsights-common.min.js.map |
{ | ||
"name": "@microsoft/applicationinsights-common", | ||
"version": "2.7.4-nightly.2202-05", | ||
"version": "2.7.4-nightly.2202-07", | ||
"description": "Microsoft Application Insights Common JavaScript Library", | ||
@@ -50,3 +50,3 @@ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", | ||
"@microsoft/applicationinsights-shims": "2.0.1", | ||
"@microsoft/applicationinsights-core-js": "2.7.4-nightly.2202-05", | ||
"@microsoft/applicationinsights-core-js": "2.7.4-nightly.2202-07", | ||
"@microsoft/dynamicproto-js": "^1.1.4" | ||
@@ -53,0 +53,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2686706
0+ Added
- Removed
Updated