/*! * Microsoft Application Insights JavaScript SDK - Shim functions, 3.0.1 * Copyright (c) Microsoft and contributors. All rights reserved. */ var n=this,e=function(n){"use strict";var l="function",r="prototype",o="default",u=Object,a=u[r],i=undefined,f="prototype",e="undefined",t=Object,s=t[f];function c(n){return s.toString.call(n)}function _(n,e){return n&&s.hasOwnProperty.call(n,e)}function p(n){throw new TypeError(n)}var d,y=t.assign,g="__tsUtils$gblCfg";function v(){var n;return(n=(n=(n=typeof globalThis!==e?globalThis:n)||typeof self===e?n:self)||typeof window===e?n:window)||typeof global===e?n:global}function b(n,e){var t="";if(n&&"[object Error]"===c(n))t="{ stack: '"+n.stack+"', message: '"+n.message+"', name: '"+n.name+"'";else try{t=JSON.stringify(n,null,e?"number"==typeof e?e:4:i)}catch(r){t=" - "+b(r,e)}return c(n)+": "+t}var h,m,O=t.defineProperty,w=function(){var n;d||(n=v()||{},d=n[g]=n[g]||{}),h=d,w=null};function x(n){return(m=!m||!1===n||h.lzy&&!m.b?(r=v,e=function(){var n=r,e=null;try{e=n()}catch(t){}return e},t={},w&&w(),t.b=h.lzy,O(t,"v",{configurable:!0,get:function(){var n=e();return h.lzy||(O(t,"v",{value:n}),t.b&&delete t.b),h.lzy&&t.b!==h.lzy&&(t.b=h.lzy),n}}),t):m).v;var r,e,t}var k=t.create||function(n){if(!n)return{};var e=typeof n;if("object"==e||"function"==e)return t[f]=n,new t;function t(){}throw new TypeError("Prototype must be an Object or function: "+b(n))},F=(x()||{}).Symbol,j=(x()||{}).Reflect,S=!!j,P="decorate",T="metadata",A="getOwnPropertySymbols",M="iterator",z="hasOwnProperty",B=y||function(n){for(var e,t=1,r=arguments.length;t=n.length?void 0:n)&&n[r++],done:!n}}}:void p(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n.getGlobal=x,n.strDefault=o,n.strShimFunction=l,n.strShimObject="object",n.strShimPrototype=r,n.strShimUndefined="undefined",n.throwTypeError=p};"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((n="undefined"!=typeof globalThis?globalThis:n||self).Microsoft=n.Microsoft||{},n.Microsoft.ApplicationInsights=n.Microsoft.ApplicationInsights||{},n.Microsoft.ApplicationInsights.Shims={}));