/*! * Microsoft Application Insights JavaScript SDK - Shim functions, 2.0.2 * Copyright (c) Microsoft and contributors. All rights reserved. */ var e=this,n=function(e){"use strict";var l="function",r="object",n="undefined",o="prototype",i="hasOwnProperty",a="default",u=Object,f=u[o],s=u.assign,c=u.create,_=u.defineProperty,p=f[i],t=null;function d(e){e=!1===(e=void 0===e||e)?null:t;return e||((e=(e=(e=typeof globalThis!=n?globalThis:e)||typeof self==n?e:self)||typeof window==n?e:window)||typeof global==n||(e=global),t=e),e}function y(e){throw new TypeError(e)}function g(e){if(c)return c(e);if(null==e)return{};var n=typeof e;function t(){}return n!==r&&n!==l&&y("Object prototype may only be an Object:"+e),t[o]=e,new t}var v=(d()||{}).Symbol,b=(d()||{}).Reflect,h=!!b,m="decorate",O="metadata",w="getOwnPropertySymbols",j="iterator",F=s||function(e){for(var n,t=1,r=arguments.length;t=e.length?void 0:e)&&e[r++],done:!e}}}:void y(n?"Object is not iterable.":"Symbol.iterator is not defined.")},e.getGlobal=d,e.objCreateFn=g,e.strDefault=a,e.strShimFunction=l,e.strShimHasOwnProperty=i,e.strShimObject=r,e.strShimPrototype=o,e.strShimUndefined=n,e.throwTypeError=y;var A="__esModule",M={value:!0},T=Object.defineProperty;if(T)try{return void T(e,A,M)}catch(B){}typeof M.value!==undefined&&(e[A]=M.value)};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{},e.Microsoft.ApplicationInsights.Shims={}));