@microsoft/applicationinsights-common 3.0.0-beta.2303-11 → 3.0.0-nightly3.2304-28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/es5/applicationinsights-common.cjs.js +3965 -0
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-common.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -0
- package/browser/es5/applicationinsights-common.gbl.js +3969 -0
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-common.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-common.integrity.json +66 -0
- package/browser/{applicationinsights-common.js → es5/applicationinsights-common.js} +194 -167
- package/browser/es5/applicationinsights-common.js.map +1 -0
- package/browser/es5/applicationinsights-common.min.js +6 -0
- package/browser/es5/applicationinsights-common.min.js.map +1 -0
- package/dist/{applicationinsights-common.js → es5/applicationinsights-common.js} +194 -167
- package/dist/es5/applicationinsights-common.js.map +1 -0
- package/dist/es5/applicationinsights-common.min.js +6 -0
- package/dist/es5/applicationinsights-common.min.js.map +1 -0
- package/{dist-esm → dist-es5}/ConnectionStringParser.js +1 -1
- package/{dist-esm → dist-es5}/Constants.js +1 -1
- package/{dist-esm → dist-es5}/DomHelperFuncs.js +1 -1
- package/{dist-esm → dist-es5}/Enums.js +1 -1
- package/{dist-esm → dist-es5}/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +6 -0
- package/dist-es5/Interfaces/Context/IApplication.js +8 -0
- package/dist-es5/Interfaces/Context/IDevice.js +8 -0
- package/dist-es5/Interfaces/Context/IInternal.js +8 -0
- package/dist-es5/Interfaces/Context/ILocation.js +8 -0
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +8 -0
- package/dist-es5/Interfaces/Context/ISample.js +8 -0
- package/dist-es5/Interfaces/Context/ISession.js +8 -0
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +8 -0
- package/dist-es5/Interfaces/Context/IUser.js +8 -0
- package/dist-es5/Interfaces/Context/IWeb.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/{dist-esm → dist-es5}/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +8 -0
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +8 -0
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +8 -0
- package/dist-es5/Interfaces/Contracts/IBase.js +8 -0
- package/dist-es5/Interfaces/Contracts/IData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +6 -0
- package/dist-es5/Interfaces/Contracts/IDomain.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +8 -0
- package/dist-es5/Interfaces/Contracts/IMessageData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IMetricData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/Contracts/RequestData.js +1 -1
- package/{dist-esm → dist-es5}/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +8 -0
- package/dist-es5/Interfaces/IDependencyTelemetry.js +8 -0
- package/dist-es5/Interfaces/IEventTelemetry.js +6 -0
- package/dist-es5/Interfaces/IExceptionTelemetry.js +8 -0
- package/dist-es5/Interfaces/IMetricTelemetry.js +6 -0
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +6 -0
- package/dist-es5/Interfaces/IPageViewTelemetry.js +6 -0
- package/dist-es5/Interfaces/IPartC.js +8 -0
- package/dist-es5/Interfaces/IPropertiesPlugin.js +8 -0
- package/dist-es5/Interfaces/IRequestContext.js +6 -0
- package/dist-es5/Interfaces/ITelemetryContext.js +8 -0
- package/dist-es5/Interfaces/IThrottleMgr.js +6 -0
- package/dist-es5/Interfaces/ITraceTelemetry.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +8 -0
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +8 -0
- package/{dist-esm → dist-es5}/RequestResponseHeaders.js +1 -1
- package/{dist-esm → dist-es5}/StorageHelperFuncs.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Common/Data.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Common/DataPoint.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Common/DataSanitizer.js +3 -2
- package/dist-es5/Telemetry/Common/DataSanitizer.js.map +1 -0
- package/{dist-esm → dist-es5}/Telemetry/Common/Envelope.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Event.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Exception.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Metric.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/PageView.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/PageViewPerformance.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/RemoteDependencyData.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Trace.js +1 -1
- package/{dist-esm → dist-es5}/TelemetryItemCreator.js +1 -1
- package/{dist-esm → dist-es5}/ThrottleMgr.js +1 -1
- package/{dist-esm → dist-es5}/UrlHelperFuncs.js +1 -1
- package/{dist-esm → dist-es5}/Util.js +1 -1
- package/{dist-esm → dist-es5}/__DynamicConstants.js +1 -1
- package/{dist-esm → dist-es5}/applicationinsights-common.js +1 -1
- package/package.json +18 -17
- package/tsconfig.json +4 -3
- package/types/applicationinsights-common.d.ts +2561 -58
- package/{dist/applicationinsights-common.d.ts → types/applicationinsights-common.namespaced.d.ts} +1 -1
- package/browser/applicationinsights-common.integrity.json +0 -26
- package/browser/applicationinsights-common.js.map +0 -1
- package/browser/applicationinsights-common.min.js +0 -6
- package/browser/applicationinsights-common.min.js.map +0 -1
- package/dist/applicationinsights-common.api.json +0 -19540
- package/dist/applicationinsights-common.api.md +0 -1224
- package/dist/applicationinsights-common.js.map +0 -1
- package/dist/applicationinsights-common.min.js +0 -6
- package/dist/applicationinsights-common.min.js.map +0 -1
- package/dist/applicationinsights-common.rollup.d.ts +0 -2562
- package/dist-esm/Interfaces/ConnectionString.js +0 -6
- package/dist-esm/Interfaces/Context/IApplication.js +0 -8
- package/dist-esm/Interfaces/Context/IDevice.js +0 -8
- package/dist-esm/Interfaces/Context/IInternal.js +0 -8
- package/dist-esm/Interfaces/Context/ILocation.js +0 -8
- package/dist-esm/Interfaces/Context/IOperatingSystem.js +0 -8
- package/dist-esm/Interfaces/Context/ISample.js +0 -8
- package/dist-esm/Interfaces/Context/ISession.js +0 -8
- package/dist-esm/Interfaces/Context/ITelemetryTrace.js +0 -8
- package/dist-esm/Interfaces/Context/IUser.js +0 -8
- package/dist-esm/Interfaces/Context/IWeb.js +0 -8
- package/dist-esm/Interfaces/Contracts/DataPointType.js +0 -8
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +0 -8
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +0 -8
- package/dist-esm/Interfaces/Contracts/IBase.js +0 -8
- package/dist-esm/Interfaces/Contracts/IData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +0 -6
- package/dist-esm/Interfaces/Contracts/IDomain.js +0 -8
- package/dist-esm/Interfaces/Contracts/IEventData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +0 -8
- package/dist-esm/Interfaces/Contracts/IMessageData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IMetricData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +0 -8
- package/dist-esm/Interfaces/IAppInsights.js +0 -8
- package/dist-esm/Interfaces/ICorrelationConfig.js +0 -8
- package/dist-esm/Interfaces/IDependencyTelemetry.js +0 -8
- package/dist-esm/Interfaces/IEventTelemetry.js +0 -6
- package/dist-esm/Interfaces/IExceptionTelemetry.js +0 -8
- package/dist-esm/Interfaces/IMetricTelemetry.js +0 -6
- package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +0 -6
- package/dist-esm/Interfaces/IPageViewTelemetry.js +0 -6
- package/dist-esm/Interfaces/IPartC.js +0 -8
- package/dist-esm/Interfaces/IPropertiesPlugin.js +0 -8
- package/dist-esm/Interfaces/IRequestContext.js +0 -6
- package/dist-esm/Interfaces/ITelemetryContext.js +0 -8
- package/dist-esm/Interfaces/IThrottleMgr.js +0 -6
- package/dist-esm/Interfaces/ITraceTelemetry.js +0 -8
- package/dist-esm/Interfaces/Telemetry/IEnvelope.js +0 -8
- package/dist-esm/Interfaces/Telemetry/ISerializable.js +0 -8
- package/dist-esm/Telemetry/Common/DataSanitizer.js.map +0 -1
- package/src/ConnectionStringParser.ts +0 -47
- package/src/Constants.ts +0 -18
- package/src/DomHelperFuncs.ts +0 -19
- package/src/Enums.ts +0 -65
- package/src/HelperFuncs.ts +0 -54
- package/src/Interfaces/ConnectionString.ts +0 -3
- package/src/Interfaces/Context/IApplication.ts +0 -14
- package/src/Interfaces/Context/IDevice.ts +0 -28
- package/src/Interfaces/Context/IInternal.ts +0 -29
- package/src/Interfaces/Context/ILocation.ts +0 -9
- package/src/Interfaces/Context/IOperatingSystem.ts +0 -7
- package/src/Interfaces/Context/ISample.ts +0 -13
- package/src/Interfaces/Context/ISession.ts +0 -22
- package/src/Interfaces/Context/ITelemetryTrace.ts +0 -33
- package/src/Interfaces/Context/IUser.ts +0 -50
- package/src/Interfaces/Context/IWeb.ts +0 -39
- package/src/Interfaces/Contracts/AvailabilityData.ts +0 -57
- package/src/Interfaces/Contracts/ContextTagKeys.ts +0 -299
- package/src/Interfaces/Contracts/DataPointType.ts +0 -10
- package/src/Interfaces/Contracts/DependencyKind.ts +0 -11
- package/src/Interfaces/Contracts/DependencySourceType.ts +0 -11
- package/src/Interfaces/Contracts/IBase.ts +0 -13
- package/src/Interfaces/Contracts/IData.ts +0 -19
- package/src/Interfaces/Contracts/IDataPoint.ts +0 -44
- package/src/Interfaces/Contracts/IDomain.ts +0 -8
- package/src/Interfaces/Contracts/IEnvelope.ts +0 -50
- package/src/Interfaces/Contracts/IEventData.ts +0 -30
- package/src/Interfaces/Contracts/IExceptionData.ts +0 -37
- package/src/Interfaces/Contracts/IExceptionDetails.ts +0 -45
- package/src/Interfaces/Contracts/IMessageData.ts +0 -36
- package/src/Interfaces/Contracts/IMetricData.ts +0 -31
- package/src/Interfaces/Contracts/IPageViewData.ts +0 -26
- package/src/Interfaces/Contracts/IPageViewPerfData.ts +0 -35
- package/src/Interfaces/Contracts/IRemoteDependencyData.ts +0 -65
- package/src/Interfaces/Contracts/IStackFrame.ts +0 -33
- package/src/Interfaces/Contracts/RequestData.ts +0 -50
- package/src/Interfaces/Contracts/SeverityLevel.ts +0 -28
- package/src/Interfaces/IAppInsights.ts +0 -31
- package/src/Interfaces/IConfig.ts +0 -396
- package/src/Interfaces/ICorrelationConfig.ts +0 -71
- package/src/Interfaces/IDependencyTelemetry.ts +0 -22
- package/src/Interfaces/IEventTelemetry.ts +0 -20
- package/src/Interfaces/IExceptionTelemetry.ts +0 -143
- package/src/Interfaces/IMetricTelemetry.ts +0 -56
- package/src/Interfaces/IPageViewPerformanceTelemetry.ts +0 -61
- package/src/Interfaces/IPageViewTelemetry.ts +0 -65
- package/src/Interfaces/IPartC.ts +0 -18
- package/src/Interfaces/IPropertiesPlugin.ts +0 -8
- package/src/Interfaces/IRequestContext.ts +0 -6
- package/src/Interfaces/ITelemetryContext.ts +0 -69
- package/src/Interfaces/IThrottleMgr.ts +0 -111
- package/src/Interfaces/ITraceTelemetry.ts +0 -28
- package/src/Interfaces/PartAExtensions.ts +0 -14
- package/src/Interfaces/Telemetry/IEnvelope.ts +0 -47
- package/src/Interfaces/Telemetry/ISerializable.ts +0 -11
- package/src/RequestResponseHeaders.ts +0 -96
- package/src/StorageHelperFuncs.ts +0 -223
- package/src/Telemetry/Common/Data.ts +0 -35
- package/src/Telemetry/Common/DataPoint.ts +0 -58
- package/src/Telemetry/Common/DataSanitizer.ts +0 -197
- package/src/Telemetry/Common/Envelope.ts +0 -81
- package/src/Telemetry/Event.ts +0 -52
- package/src/Telemetry/Exception.ts +0 -681
- package/src/Telemetry/Metric.ts +0 -61
- package/src/Telemetry/PageView.ts +0 -79
- package/src/Telemetry/PageViewPerformance.ts +0 -113
- package/src/Telemetry/RemoteDependencyData.ts +0 -122
- package/src/Telemetry/Trace.ts +0 -64
- package/src/TelemetryItemCreator.ts +0 -75
- package/src/ThrottleMgr.ts +0 -345
- package/src/UrlHelperFuncs.ts +0 -101
- package/src/Util.ts +0 -221
- package/src/__DynamicConstants.ts +0 -50
- package/src/applicationinsights-common.ts +0 -76
- package/types/ConnectionStringParser.d.ts +0 -5
- package/types/Constants.d.ts +0 -15
- package/types/DomHelperFuncs.d.ts +0 -1
- package/types/Enums.d.ts +0 -49
- package/types/HelperFuncs.d.ts +0 -8
- package/types/Interfaces/ConnectionString.d.ts +0 -4
- package/types/Interfaces/Context/IApplication.d.ts +0 -10
- package/types/Interfaces/Context/IDevice.d.ts +0 -22
- package/types/Interfaces/Context/IInternal.d.ts +0 -23
- package/types/Interfaces/Context/ILocation.d.ts +0 -6
- package/types/Interfaces/Context/IOperatingSystem.d.ts +0 -3
- package/types/Interfaces/Context/ISample.d.ts +0 -8
- package/types/Interfaces/Context/ISession.d.ts +0 -17
- package/types/Interfaces/Context/ITelemetryTrace.d.ts +0 -25
- package/types/Interfaces/Context/IUser.d.ts +0 -39
- package/types/Interfaces/Context/IWeb.d.ts +0 -30
- package/types/Interfaces/Contracts/AvailabilityData.d.ts +0 -0
- package/types/Interfaces/Contracts/ContextTagKeys.d.ts +0 -175
- package/types/Interfaces/Contracts/DataPointType.d.ts +0 -7
- package/types/Interfaces/Contracts/DependencyKind.d.ts +0 -8
- package/types/Interfaces/Contracts/DependencySourceType.d.ts +0 -8
- package/types/Interfaces/Contracts/IBase.d.ts +0 -9
- package/types/Interfaces/Contracts/IData.d.ts +0 -14
- package/types/Interfaces/Contracts/IDataPoint.d.ts +0 -34
- package/types/Interfaces/Contracts/IDomain.d.ts +0 -5
- package/types/Interfaces/Contracts/IEnvelope.d.ts +0 -0
- package/types/Interfaces/Contracts/IEventData.d.ts +0 -22
- package/types/Interfaces/Contracts/IExceptionData.d.ts +0 -28
- package/types/Interfaces/Contracts/IExceptionDetails.d.ts +0 -34
- package/types/Interfaces/Contracts/IMessageData.d.ts +0 -27
- package/types/Interfaces/Contracts/IMetricData.d.ts +0 -23
- package/types/Interfaces/Contracts/IPageViewData.d.ts +0 -18
- package/types/Interfaces/Contracts/IPageViewPerfData.d.ts +0 -26
- package/types/Interfaces/Contracts/IRemoteDependencyData.d.ts +0 -50
- package/types/Interfaces/Contracts/IStackFrame.d.ts +0 -25
- package/types/Interfaces/Contracts/RequestData.d.ts +0 -0
- package/types/Interfaces/Contracts/SeverityLevel.d.ts +0 -15
- package/types/Interfaces/IAppInsights.d.ts +0 -37
- package/types/Interfaces/IConfig.d.ts +0 -323
- package/types/Interfaces/ICorrelationConfig.d.ts +0 -59
- package/types/Interfaces/IDependencyTelemetry.d.ts +0 -17
- package/types/Interfaces/IEventTelemetry.d.ts +0 -15
- package/types/Interfaces/IExceptionTelemetry.d.ts +0 -123
- package/types/Interfaces/IMetricTelemetry.d.ts +0 -46
- package/types/Interfaces/IPageViewPerformanceTelemetry.d.ts +0 -55
- package/types/Interfaces/IPageViewTelemetry.d.ts +0 -52
- package/types/Interfaces/IPartC.d.ts +0 -18
- package/types/Interfaces/IPropertiesPlugin.d.ts +0 -4
- package/types/Interfaces/IRequestContext.d.ts +0 -6
- package/types/Interfaces/ITelemetryContext.d.ts +0 -55
- package/types/Interfaces/IThrottleMgr.d.ts +0 -96
- package/types/Interfaces/ITraceTelemetry.d.ts +0 -22
- package/types/Interfaces/PartAExtensions.d.ts +0 -12
- package/types/Interfaces/Telemetry/IEnvelope.d.ts +0 -37
- package/types/Interfaces/Telemetry/ISerializable.d.ts +0 -8
- package/types/RequestResponseHeaders.d.ts +0 -68
- package/types/StorageHelperFuncs.d.ts +0 -23
- package/types/Telemetry/Common/Data.d.ts +0 -24
- package/types/Telemetry/Common/DataPoint.d.ts +0 -46
- package/types/Telemetry/Common/DataSanitizer.d.ts +0 -42
- package/types/Telemetry/Common/Envelope.d.ts +0 -45
- package/types/Telemetry/Event.d.ts +0 -34
- package/types/Telemetry/Exception.d.ts +0 -150
- package/types/Telemetry/Metric.d.ts +0 -36
- package/types/Telemetry/PageView.d.ts +0 -53
- package/types/Telemetry/PageViewPerformance.d.ts +0 -78
- package/types/Telemetry/RemoteDependencyData.d.ts +0 -79
- package/types/Telemetry/Trace.d.ts +0 -41
- package/types/TelemetryItemCreator.d.ts +0 -27
- package/types/ThrottleMgr.d.ts +0 -13
- package/types/UrlHelperFuncs.d.ts +0 -6
- package/types/Util.d.ts +0 -36
- package/types/__DynamicConstants.d.ts +0 -38
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm → dist-es5}/ConnectionStringParser.js.map +0 -0
- /package/{dist-esm → dist-es5}/Constants.js.map +0 -0
- /package/{dist-esm → dist-es5}/DomHelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Enums.js.map +0 -0
- /package/{dist-esm → dist-es5}/HelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ConnectionString.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IApplication.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IDevice.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IInternal.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ILocation.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IOperatingSystem.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ISample.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ISession.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ITelemetryTrace.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IUser.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IWeb.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/AvailabilityData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/ContextTagKeys.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/DataPointType.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/DependencyKind.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/DependencySourceType.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IBase.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IDataPoint.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IDomain.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IEnvelope.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IEventData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IExceptionData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IExceptionDetails.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IMessageData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IMetricData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IPageViewData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IPageViewPerfData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IRemoteDependencyData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IStackFrame.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/RequestData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/SeverityLevel.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IAppInsights.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IConfig.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ICorrelationConfig.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IDependencyTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IEventTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IExceptionTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IMetricTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPageViewPerformanceTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPageViewTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPartC.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPropertiesPlugin.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IRequestContext.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ITelemetryContext.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IThrottleMgr.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ITraceTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/PartAExtensions.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Telemetry/IEnvelope.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Telemetry/ISerializable.js.map +0 -0
- /package/{dist-esm → dist-es5}/RequestResponseHeaders.js.map +0 -0
- /package/{dist-esm → dist-es5}/StorageHelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Common/Data.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Common/DataPoint.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Common/Envelope.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Event.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Exception.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Metric.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/PageView.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/PageViewPerformance.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/RemoteDependencyData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Trace.js.map +0 -0
- /package/{dist-esm → dist-es5}/TelemetryItemCreator.js.map +0 -0
- /package/{dist-esm → dist-es5}/ThrottleMgr.js.map +0 -0
- /package/{dist-esm → dist-es5}/UrlHelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Util.js.map +0 -0
- /package/{dist-esm → dist-es5}/__DynamicConstants.js.map +0 -0
- /package/{dist-esm → dist-es5}/applicationinsights-common.js.map +0 -0
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.0.0-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.0.0-nightly3.2304-28
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
7
7
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
8
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Microsoft = global.Microsoft || {}, global.Microsoft.
|
|
8
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Microsoft = global.Microsoft || {}, global.Microsoft.ApplicationInsights3 = global.Microsoft.ApplicationInsights3 || {})));
|
|
9
9
|
})(this, (function (exports) { 'use strict';
|
|
10
10
|
|
|
11
|
-
/*!
|
|
12
|
-
* NevWare21 - ts-utils, 0.8.1
|
|
13
|
-
* https://github.com/nevware21/ts-utils
|
|
14
|
-
* Copyright (c) NevWare21 and contributors. All rights reserved.
|
|
15
|
-
* Licensed under the MIT license.
|
|
16
|
-
*/
|
|
17
11
|
var UNDEF_VALUE = undefined;
|
|
18
12
|
var EMPTY = "";
|
|
19
13
|
var FUNCTION = "function";
|
|
@@ -21,9 +15,8 @@
|
|
|
21
15
|
var OBJECT = "object";
|
|
22
16
|
var PROTOTYPE = "prototype";
|
|
23
17
|
var STRING = "string";
|
|
24
|
-
var UNDEFINED
|
|
18
|
+
var UNDEFINED = "undefined";
|
|
25
19
|
var CONSTRUCTOR = "constructor";
|
|
26
|
-
var HAS_OWN_PROPERTY = "hasOwnProperty";
|
|
27
20
|
var SYMBOL = "Symbol";
|
|
28
21
|
var POLYFILL_TAG = "_polyfill";
|
|
29
22
|
var INDEX_OF = "indexOf";
|
|
@@ -31,12 +24,15 @@
|
|
|
31
24
|
var DONE = "done";
|
|
32
25
|
var VALUE = "value";
|
|
33
26
|
var NAME = "name";
|
|
27
|
+
var SLICE = "slice";
|
|
34
28
|
var ObjClass$1 = Object;
|
|
35
29
|
var ObjProto$1 = ObjClass$1[PROTOTYPE];
|
|
36
30
|
var StrCls = String;
|
|
31
|
+
var StrProto = StrCls[PROTOTYPE];
|
|
37
32
|
var MathCls = Math;
|
|
38
33
|
var ArrCls = Array;
|
|
39
34
|
var ArrProto = ArrCls[PROTOTYPE];
|
|
35
|
+
|
|
40
36
|
function _safeGet(cb, defValue) {
|
|
41
37
|
var result = defValue;
|
|
42
38
|
try {
|
|
@@ -46,6 +42,7 @@
|
|
|
46
42
|
}
|
|
47
43
|
return result;
|
|
48
44
|
}
|
|
45
|
+
|
|
49
46
|
function _createIs(theType) {
|
|
50
47
|
return function (value) {
|
|
51
48
|
return typeof value === theType;
|
|
@@ -61,11 +58,14 @@
|
|
|
61
58
|
return ObjProto$1.toString.call(value);
|
|
62
59
|
}
|
|
63
60
|
function isUndefined(value) {
|
|
64
|
-
return typeof value === UNDEFINED
|
|
61
|
+
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
65
62
|
}
|
|
66
63
|
function isNullOrUndefined(value) {
|
|
67
64
|
return value === null || isUndefined(value);
|
|
68
65
|
}
|
|
66
|
+
function isStrictNullOrUndefined(value) {
|
|
67
|
+
return value === null || !isDefined(value);
|
|
68
|
+
}
|
|
69
69
|
function isDefined(arg) {
|
|
70
70
|
return !!arg || arg !== UNDEF_VALUE;
|
|
71
71
|
}
|
|
@@ -80,14 +80,18 @@
|
|
|
80
80
|
var isArray = ArrCls.isArray;
|
|
81
81
|
var isNumber = _createIs(NUMBER);
|
|
82
82
|
var isError = _createObjIs("Error");
|
|
83
|
+
|
|
83
84
|
var objGetOwnPropertyDescriptor = ObjClass$1.getOwnPropertyDescriptor;
|
|
85
|
+
|
|
84
86
|
function objHasOwnProperty(obj, prop) {
|
|
85
|
-
return obj && ObjProto$1
|
|
87
|
+
return obj && ObjProto$1.hasOwnProperty.call(obj, prop);
|
|
86
88
|
}
|
|
89
|
+
|
|
87
90
|
var objHasOwn = ObjClass$1["hasOwn"] || polyObjHasOwn;
|
|
88
91
|
function polyObjHasOwn(obj, prop) {
|
|
89
92
|
return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
|
|
90
93
|
}
|
|
94
|
+
|
|
91
95
|
function objForEachKey(theObject, callbackfn, thisArg) {
|
|
92
96
|
if (theObject && isObject(theObject)) {
|
|
93
97
|
for (var prop in theObject) {
|
|
@@ -99,6 +103,7 @@
|
|
|
99
103
|
}
|
|
100
104
|
}
|
|
101
105
|
}
|
|
106
|
+
|
|
102
107
|
function _createKeyValueMap(values, keyType, valueType, completeFn) {
|
|
103
108
|
var theMap = {};
|
|
104
109
|
objForEachKey(values, function (key, value) {
|
|
@@ -107,17 +112,20 @@
|
|
|
107
112
|
});
|
|
108
113
|
return completeFn(theMap);
|
|
109
114
|
}
|
|
115
|
+
|
|
110
116
|
function throwError(message) {
|
|
111
117
|
throw new Error(message);
|
|
112
118
|
}
|
|
113
|
-
function throwTypeError
|
|
119
|
+
function throwTypeError(message) {
|
|
114
120
|
throw new TypeError(message);
|
|
115
121
|
}
|
|
122
|
+
|
|
116
123
|
var _objFreeze = ObjClass$1["freeze"];
|
|
117
124
|
var _doNothing = function (value) { return value; };
|
|
125
|
+
var objAssign = ObjClass$1["assign"];
|
|
118
126
|
function objKeys(value) {
|
|
119
127
|
if (!isObject(value) || value === null) {
|
|
120
|
-
throwTypeError
|
|
128
|
+
throwTypeError("objKeys called on non-object");
|
|
121
129
|
}
|
|
122
130
|
return ObjClass$1.keys(value);
|
|
123
131
|
}
|
|
@@ -133,6 +141,7 @@
|
|
|
133
141
|
}
|
|
134
142
|
var objFreeze = _objFreeze || _doNothing;
|
|
135
143
|
var objGetPrototypeOf = ObjClass$1["getPrototypeOf"] || _doNothing;
|
|
144
|
+
|
|
136
145
|
function createEnum(values) {
|
|
137
146
|
return _createKeyValueMap(values, 1 , 0 , objDeepFreeze);
|
|
138
147
|
}
|
|
@@ -150,7 +159,8 @@
|
|
|
150
159
|
function createTypeMap(values) {
|
|
151
160
|
return createSimpleMap(values);
|
|
152
161
|
}
|
|
153
|
-
|
|
162
|
+
|
|
163
|
+
var _wellKnownSymbolMap = createEnumKeyMap({
|
|
154
164
|
asyncIterator: 0 ,
|
|
155
165
|
hasInstance: 1 ,
|
|
156
166
|
isConcatSpreadable: 2 ,
|
|
@@ -165,21 +175,23 @@
|
|
|
165
175
|
toStringTag: 11 ,
|
|
166
176
|
unscopables: 12
|
|
167
177
|
});
|
|
178
|
+
|
|
168
179
|
var asString = StrCls;
|
|
180
|
+
|
|
169
181
|
var GLOBAL_CONFIG_KEY = "__tsUtils$gblCfg";
|
|
170
182
|
var _globalCfg;
|
|
171
183
|
function _getGlobalValue() {
|
|
172
184
|
var result;
|
|
173
|
-
if (typeof globalThis !== UNDEFINED
|
|
185
|
+
if (typeof globalThis !== UNDEFINED) {
|
|
174
186
|
result = globalThis;
|
|
175
187
|
}
|
|
176
|
-
if (!result && typeof self !== UNDEFINED
|
|
188
|
+
if (!result && typeof self !== UNDEFINED) {
|
|
177
189
|
result = self;
|
|
178
190
|
}
|
|
179
|
-
if (!result && typeof window !== UNDEFINED
|
|
191
|
+
if (!result && typeof window !== UNDEFINED) {
|
|
180
192
|
result = window;
|
|
181
193
|
}
|
|
182
|
-
if (!result && typeof global !== UNDEFINED
|
|
194
|
+
if (!result && typeof global !== UNDEFINED) {
|
|
183
195
|
result = global;
|
|
184
196
|
}
|
|
185
197
|
return result;
|
|
@@ -191,8 +203,9 @@
|
|
|
191
203
|
}
|
|
192
204
|
return _globalCfg;
|
|
193
205
|
}
|
|
206
|
+
|
|
194
207
|
function dumpObj(object, format) {
|
|
195
|
-
var propertyValueDump =
|
|
208
|
+
var propertyValueDump = EMPTY;
|
|
196
209
|
if (isError(object)) {
|
|
197
210
|
propertyValueDump = "{ stack: '" + object.stack + "', message: '" + object.message + "', name: '" + object.name + "'";
|
|
198
211
|
}
|
|
@@ -206,35 +219,27 @@
|
|
|
206
219
|
}
|
|
207
220
|
return objToString(object) + ": " + propertyValueDump;
|
|
208
221
|
}
|
|
209
|
-
|
|
210
|
-
var theArgs = [];
|
|
211
|
-
for (var lp = startAt; lp < args[LENGTH]; lp++) {
|
|
212
|
-
theArgs[lp - startAt] = args[lp];
|
|
213
|
-
}
|
|
214
|
-
return theArgs;
|
|
215
|
-
}
|
|
222
|
+
|
|
216
223
|
function _unwrapFunction(funcName, target, polyFunc) {
|
|
217
224
|
return function (thisArg) {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
if (polyFunc) {
|
|
224
|
-
return polyFunc.apply(thisArg, arguments);
|
|
225
|
-
}
|
|
225
|
+
var theFunc = (thisArg && thisArg[funcName]) || (target && target[funcName]);
|
|
226
|
+
if (theFunc || polyFunc) {
|
|
227
|
+
var theArgs = arguments;
|
|
228
|
+
return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrProto[SLICE].call(theArgs, 1) : theArgs);
|
|
226
229
|
}
|
|
227
|
-
throwTypeError
|
|
230
|
+
throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
|
|
228
231
|
};
|
|
229
232
|
}
|
|
233
|
+
|
|
230
234
|
var mathMax = MathCls.max;
|
|
231
|
-
|
|
232
|
-
var
|
|
233
|
-
|
|
234
|
-
var
|
|
235
|
+
|
|
236
|
+
var strSlice = _unwrapFunction(SLICE, StrProto);
|
|
237
|
+
|
|
238
|
+
var strSubstring = _unwrapFunction("substring", StrProto);
|
|
239
|
+
var strSubstr = _unwrapFunction("substr", StrProto, polyStrSubstr);
|
|
235
240
|
function polyStrSubstr(value, start, length) {
|
|
236
241
|
if (isNullOrUndefined(value)) {
|
|
237
|
-
throwTypeError
|
|
242
|
+
throwTypeError("'polyStrSubstr called with invalid " + dumpObj(value));
|
|
238
243
|
}
|
|
239
244
|
if (length < 0) {
|
|
240
245
|
return EMPTY;
|
|
@@ -251,6 +256,7 @@
|
|
|
251
256
|
function strLeft(value, count) {
|
|
252
257
|
return strSubstring(value, 0, count);
|
|
253
258
|
}
|
|
259
|
+
|
|
254
260
|
var _polySymbols;
|
|
255
261
|
function _globalSymbolRegistry() {
|
|
256
262
|
if (!_polySymbols) {
|
|
@@ -259,6 +265,7 @@
|
|
|
259
265
|
}
|
|
260
266
|
return _polySymbols;
|
|
261
267
|
}
|
|
268
|
+
var _wellKnownSymbolCache = {};
|
|
262
269
|
function polyNewSymbol(description) {
|
|
263
270
|
var theSymbol = {
|
|
264
271
|
description: asString(description),
|
|
@@ -276,6 +283,15 @@
|
|
|
276
283
|
}
|
|
277
284
|
return registry.k[key];
|
|
278
285
|
}
|
|
286
|
+
function polyGetKnownSymbol(name) {
|
|
287
|
+
var result;
|
|
288
|
+
var knownName = _wellKnownSymbolMap[name];
|
|
289
|
+
if (knownName) {
|
|
290
|
+
result = _wellKnownSymbolCache[knownName] = _wellKnownSymbolCache[knownName] || polyNewSymbol(SYMBOL + "." + knownName);
|
|
291
|
+
}
|
|
292
|
+
return result;
|
|
293
|
+
}
|
|
294
|
+
|
|
279
295
|
var propMap = {
|
|
280
296
|
e: "enumerable",
|
|
281
297
|
c: "configurable",
|
|
@@ -288,6 +304,15 @@
|
|
|
288
304
|
var prop = {};
|
|
289
305
|
prop[propMap["c"]] = true;
|
|
290
306
|
prop[propMap["e"]] = true;
|
|
307
|
+
if (value.l) {
|
|
308
|
+
prop.get = function () { return value.l.v; };
|
|
309
|
+
var desc = objGetOwnPropertyDescriptor(value.l, "v");
|
|
310
|
+
if (desc && desc.set) {
|
|
311
|
+
prop.set = function (newValue) {
|
|
312
|
+
value.l.v = newValue;
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
}
|
|
291
316
|
objForEachKey(value, function (key, value) {
|
|
292
317
|
prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
|
|
293
318
|
});
|
|
@@ -297,6 +322,7 @@
|
|
|
297
322
|
function objDefine(target, key, propDesc) {
|
|
298
323
|
return objDefineProp(target, key, _createProp(propDesc));
|
|
299
324
|
}
|
|
325
|
+
|
|
300
326
|
var _globalLazyTestHooks;
|
|
301
327
|
var _fetchLazyTestHooks = function () {
|
|
302
328
|
_globalLazyTestHooks = _getGlobalConfig();
|
|
@@ -306,11 +332,14 @@
|
|
|
306
332
|
var lazyValue = {};
|
|
307
333
|
_fetchLazyTestHooks && _fetchLazyTestHooks();
|
|
308
334
|
lazyValue.b = _globalLazyTestHooks.lzy;
|
|
309
|
-
|
|
310
|
-
|
|
335
|
+
objDefineProp(lazyValue, "v", {
|
|
336
|
+
configurable: true,
|
|
337
|
+
get: function () {
|
|
311
338
|
var result = cb();
|
|
312
339
|
if (!_globalLazyTestHooks.lzy) {
|
|
313
|
-
|
|
340
|
+
objDefineProp(lazyValue, "v", {
|
|
341
|
+
value: result
|
|
342
|
+
});
|
|
314
343
|
if (lazyValue.b) {
|
|
315
344
|
delete lazyValue.b;
|
|
316
345
|
}
|
|
@@ -323,25 +352,25 @@
|
|
|
323
352
|
});
|
|
324
353
|
return lazyValue;
|
|
325
354
|
}
|
|
355
|
+
|
|
326
356
|
function _lazySafeGet(cb, defValue) {
|
|
327
357
|
return getLazy(function () { return _safeGet(cb, defValue); });
|
|
328
358
|
}
|
|
329
|
-
|
|
330
|
-
var NAVIGATOR = "navigator";
|
|
359
|
+
|
|
331
360
|
var WINDOW = "window";
|
|
332
|
-
var _cachedGlobal
|
|
361
|
+
var _cachedGlobal;
|
|
333
362
|
var _cachedWindow;
|
|
334
363
|
var _cachedDocument;
|
|
335
364
|
var _cachedNavigator;
|
|
336
365
|
function _lazySafeGetInst(name) {
|
|
337
366
|
return _lazySafeGet(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
|
|
338
367
|
}
|
|
339
|
-
function getGlobal
|
|
340
|
-
(!_cachedGlobal
|
|
341
|
-
return _cachedGlobal
|
|
368
|
+
function getGlobal(useCached) {
|
|
369
|
+
(!_cachedGlobal || useCached === false || (_globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = _lazySafeGet(_getGlobalValue, null));
|
|
370
|
+
return _cachedGlobal.v;
|
|
342
371
|
}
|
|
343
372
|
function getInst(name, useCached) {
|
|
344
|
-
var gbl = getGlobal
|
|
373
|
+
var gbl = getGlobal(useCached);
|
|
345
374
|
if (gbl && gbl[name]) {
|
|
346
375
|
return gbl[name];
|
|
347
376
|
}
|
|
@@ -351,7 +380,7 @@
|
|
|
351
380
|
return null;
|
|
352
381
|
}
|
|
353
382
|
function getDocument() {
|
|
354
|
-
(!_cachedDocument || (_globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = _lazySafeGetInst(
|
|
383
|
+
(!_cachedDocument || (_globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = _lazySafeGetInst("document"));
|
|
355
384
|
return _cachedDocument.v;
|
|
356
385
|
}
|
|
357
386
|
function hasWindow() {
|
|
@@ -365,9 +394,10 @@
|
|
|
365
394
|
return !!getNavigator();
|
|
366
395
|
}
|
|
367
396
|
function getNavigator() {
|
|
368
|
-
(!_cachedNavigator || (_globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = _lazySafeGetInst(
|
|
397
|
+
(!_cachedNavigator || (_globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = _lazySafeGetInst("navigator"));
|
|
369
398
|
return _cachedNavigator.v;
|
|
370
399
|
}
|
|
400
|
+
|
|
371
401
|
var _symbol;
|
|
372
402
|
var _symbolFor;
|
|
373
403
|
var _symbolKeyFor;
|
|
@@ -383,6 +413,11 @@
|
|
|
383
413
|
(!_symbolKeyFor || resetCache) && (_symbolKeyFor = _getSymbolValue("keyFor"));
|
|
384
414
|
return _symbol.v;
|
|
385
415
|
}
|
|
416
|
+
function getKnownSymbol(name, noPoly) {
|
|
417
|
+
var knownName = _wellKnownSymbolMap[name];
|
|
418
|
+
(!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
419
|
+
return _symbol.v ? _symbol.v[knownName || name] : (!noPoly ? polyGetKnownSymbol(name) : UNDEF_VALUE);
|
|
420
|
+
}
|
|
386
421
|
function newSymbol(description, noPoly) {
|
|
387
422
|
(!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
388
423
|
return _symbol.v ? _symbol.v(description) : (!noPoly ? polyNewSymbol(description) : null);
|
|
@@ -391,20 +426,49 @@
|
|
|
391
426
|
(!_symbolFor || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
392
427
|
return (_symbolFor.v || polySymbolFor)(key);
|
|
393
428
|
}
|
|
429
|
+
|
|
394
430
|
function isIterator(value) {
|
|
395
431
|
return !!value && isFunction(value.next);
|
|
396
432
|
}
|
|
433
|
+
function isIterable(value) {
|
|
434
|
+
return !isStrictNullOrUndefined(value) && isFunction(value[getKnownSymbol(3 )]);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
function iterForOf(iter, callbackfn, thisArg) {
|
|
438
|
+
if (iter) {
|
|
439
|
+
if (!isIterator(iter)) {
|
|
440
|
+
var itSymbol = getKnownSymbol(3 );
|
|
441
|
+
iter = iter[itSymbol] ? iter[itSymbol]() : null;
|
|
442
|
+
}
|
|
443
|
+
if (isIterator(iter)) {
|
|
444
|
+
try {
|
|
445
|
+
var count = 0;
|
|
446
|
+
var value = iter.next();
|
|
447
|
+
while (!value[DONE]) {
|
|
448
|
+
if (callbackfn.call(thisArg || iter, value[VALUE], count, iter) === -1) {
|
|
449
|
+
break;
|
|
450
|
+
}
|
|
451
|
+
count++;
|
|
452
|
+
value = iter.next();
|
|
453
|
+
}
|
|
454
|
+
iter.return && iter.return(value);
|
|
455
|
+
}
|
|
456
|
+
catch (e) {
|
|
457
|
+
iter.throw && iter.throw(e);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
397
463
|
function arrAppend(target, elms) {
|
|
398
464
|
if (!isUndefined(elms) && target) {
|
|
399
465
|
if (isArray(elms)) {
|
|
400
466
|
target.push.apply(target, elms);
|
|
401
467
|
}
|
|
402
|
-
else if (isIterator(elms)) {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
value = elms.next();
|
|
407
|
-
}
|
|
468
|
+
else if (isIterator(elms) || isIterable(elms)) {
|
|
469
|
+
iterForOf(elms, function (elm) {
|
|
470
|
+
target.push(elm);
|
|
471
|
+
});
|
|
408
472
|
}
|
|
409
473
|
else {
|
|
410
474
|
target.push(elms);
|
|
@@ -412,6 +476,7 @@
|
|
|
412
476
|
}
|
|
413
477
|
return target;
|
|
414
478
|
}
|
|
479
|
+
|
|
415
480
|
function arrForEach(theArray, callbackfn, thisArg) {
|
|
416
481
|
if (theArray) {
|
|
417
482
|
var len = theArray[LENGTH] >>> 0;
|
|
@@ -424,9 +489,15 @@
|
|
|
424
489
|
}
|
|
425
490
|
}
|
|
426
491
|
}
|
|
492
|
+
|
|
427
493
|
var arrIndexOf = _unwrapFunction(INDEX_OF, ArrProto);
|
|
494
|
+
|
|
428
495
|
var arrMap = _unwrapFunction("map", ArrProto);
|
|
496
|
+
|
|
429
497
|
var arrReduce = _unwrapFunction("reduce", ArrProto);
|
|
498
|
+
|
|
499
|
+
var arrSlice = _unwrapFunction(SLICE, ArrProto);
|
|
500
|
+
|
|
430
501
|
function objSetPrototypeOf(obj, proto) {
|
|
431
502
|
var fn = ObjClass$1["setPrototypeOf"] ||
|
|
432
503
|
({ __proto__: [] } instanceof Array && function (d, b) {
|
|
@@ -437,6 +508,7 @@
|
|
|
437
508
|
};
|
|
438
509
|
return fn(obj, proto);
|
|
439
510
|
}
|
|
511
|
+
|
|
440
512
|
function _createCustomError(name, d, baseClass) {
|
|
441
513
|
objSetPrototypeOf(d, baseClass);
|
|
442
514
|
function __() {
|
|
@@ -472,12 +544,29 @@
|
|
|
472
544
|
}, baseClass);
|
|
473
545
|
return customError;
|
|
474
546
|
}
|
|
547
|
+
|
|
475
548
|
function utcNow() {
|
|
476
549
|
return (Date.now || polyUtcNow)();
|
|
477
550
|
}
|
|
478
551
|
function polyUtcNow() {
|
|
479
552
|
return new Date().getTime();
|
|
480
553
|
}
|
|
554
|
+
|
|
555
|
+
function _createTrimFn(exp) {
|
|
556
|
+
return function _doTrim(value) {
|
|
557
|
+
if (isNullOrUndefined(value)) {
|
|
558
|
+
throwTypeError("strTrim called [" + dumpObj(value) + "]");
|
|
559
|
+
}
|
|
560
|
+
if (value && value.replace) {
|
|
561
|
+
value = value.replace(exp, EMPTY);
|
|
562
|
+
}
|
|
563
|
+
return value;
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
var polyStrTrim = _createTrimFn(/^\s+|(?=\s)\s+$/g);
|
|
567
|
+
|
|
568
|
+
var strTrim = _unwrapFunction("trim", StrProto, polyStrTrim);
|
|
569
|
+
|
|
481
570
|
var _fnToString;
|
|
482
571
|
var _objCtrFnString;
|
|
483
572
|
var _gblWindow;
|
|
@@ -509,26 +598,30 @@
|
|
|
509
598
|
}
|
|
510
599
|
return result;
|
|
511
600
|
}
|
|
601
|
+
|
|
512
602
|
var _perf;
|
|
513
603
|
function getPerformance() {
|
|
514
604
|
(!_perf || (_globalLazyTestHooks.lzy && !_perf.b)) && (_perf = _lazySafeGetInst("performance"));
|
|
515
605
|
return _perf.v;
|
|
516
606
|
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
}
|
|
607
|
+
|
|
608
|
+
var _objCreate = ObjClass$1["create"];
|
|
609
|
+
var objCreate = _objCreate || polyObjCreate;
|
|
610
|
+
function polyObjCreate(obj) {
|
|
611
|
+
if (!obj) {
|
|
612
|
+
return {};
|
|
613
|
+
}
|
|
614
|
+
var type = typeof obj;
|
|
615
|
+
if (type !== OBJECT && type !== FUNCTION) {
|
|
616
|
+
throw new TypeError("Prototype must be an Object or function: " + dumpObj(obj));
|
|
617
|
+
}
|
|
618
|
+
function tempFunc() { }
|
|
619
|
+
tempFunc[PROTOTYPE] = obj;
|
|
620
|
+
return new tempFunc();
|
|
528
621
|
}
|
|
529
|
-
|
|
530
|
-
var
|
|
531
|
-
|
|
622
|
+
|
|
623
|
+
var strIndexOf = _unwrapFunction(INDEX_OF, StrProto);
|
|
624
|
+
|
|
532
625
|
var REF = "ref";
|
|
533
626
|
var UNREF = "un" + REF;
|
|
534
627
|
var HAS_REF = "hasRef";
|
|
@@ -589,6 +682,7 @@
|
|
|
589
682
|
}
|
|
590
683
|
};
|
|
591
684
|
}
|
|
685
|
+
|
|
592
686
|
function _createTimeoutWith(self, startTimer, overrideFn, theArgs) {
|
|
593
687
|
var isArr = isArray(overrideFn);
|
|
594
688
|
var len = isArr ? overrideFn.length : 0;
|
|
@@ -614,7 +708,7 @@
|
|
|
614
708
|
return handler.h;
|
|
615
709
|
}
|
|
616
710
|
function scheduleTimeout(callback, timeout) {
|
|
617
|
-
return _createTimeoutWith(this, true, UNDEF_VALUE,
|
|
711
|
+
return _createTimeoutWith(this, true, UNDEF_VALUE, arrSlice(arguments));
|
|
618
712
|
}
|
|
619
713
|
|
|
620
714
|
var createEnumStyle = createEnum;
|
|
@@ -658,74 +752,31 @@
|
|
|
658
752
|
arrForEach(sourceErrors, function (srcError, idx) {
|
|
659
753
|
theMessage += "\n".concat(idx, " > ").concat(dumpObj(srcError));
|
|
660
754
|
});
|
|
661
|
-
throw new aggregationErrorType(
|
|
755
|
+
throw new aggregationErrorType(theMessage, sourceErrors || []);
|
|
662
756
|
}
|
|
663
757
|
|
|
664
758
|
var strShimFunction = "function";
|
|
665
759
|
var strShimObject = "object";
|
|
666
760
|
var strShimUndefined = "undefined";
|
|
667
761
|
var strShimPrototype = "prototype";
|
|
668
|
-
var strShimHasOwnProperty = "hasOwnProperty";
|
|
669
762
|
var ObjClass = Object;
|
|
670
763
|
var ObjProto = ObjClass[strShimPrototype];
|
|
671
|
-
var ObjAssign = ObjClass["assign"];
|
|
672
|
-
var ObjCreate = ObjClass["create"];
|
|
673
|
-
|
|
674
|
-
var _cachedGlobal = null;
|
|
675
|
-
function getGlobal(useCached) {
|
|
676
|
-
if (useCached === void 0) { useCached = true; }
|
|
677
|
-
var result = useCached === false ? null : _cachedGlobal;
|
|
678
|
-
if (!result) {
|
|
679
|
-
if (typeof globalThis !== strShimUndefined) {
|
|
680
|
-
result = globalThis;
|
|
681
|
-
}
|
|
682
|
-
if (!result && typeof self !== strShimUndefined) {
|
|
683
|
-
result = self;
|
|
684
|
-
}
|
|
685
|
-
if (!result && typeof window !== strShimUndefined) {
|
|
686
|
-
result = window;
|
|
687
|
-
}
|
|
688
|
-
if (!result && typeof global !== strShimUndefined) {
|
|
689
|
-
result = global;
|
|
690
|
-
}
|
|
691
|
-
_cachedGlobal = result;
|
|
692
|
-
}
|
|
693
|
-
return result;
|
|
694
|
-
}
|
|
695
|
-
function throwTypeError(message) {
|
|
696
|
-
throw new TypeError(message);
|
|
697
|
-
}
|
|
698
|
-
function objCreateFn(obj) {
|
|
699
|
-
var func = ObjCreate;
|
|
700
|
-
if (func) {
|
|
701
|
-
return func(obj);
|
|
702
|
-
}
|
|
703
|
-
if (obj == null) {
|
|
704
|
-
return {};
|
|
705
|
-
}
|
|
706
|
-
var type = typeof obj;
|
|
707
|
-
if (type !== strShimObject && type !== strShimFunction) {
|
|
708
|
-
throwTypeError("Object prototype may only be an Object:" + obj);
|
|
709
|
-
}
|
|
710
|
-
function tmpFunc() { }
|
|
711
|
-
tmpFunc[strShimPrototype] = obj;
|
|
712
|
-
return new tmpFunc();
|
|
713
|
-
}
|
|
714
764
|
|
|
715
765
|
(getGlobal() || {})["Symbol"];
|
|
716
766
|
(getGlobal() || {})["Reflect"];
|
|
767
|
+
var strHasOwnProperty = "hasOwnProperty";
|
|
717
768
|
var __objAssignFnImpl = function (t) {
|
|
718
769
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
719
770
|
s = arguments[i];
|
|
720
771
|
for (var p in s) {
|
|
721
|
-
if (ObjProto[
|
|
772
|
+
if (ObjProto[strHasOwnProperty].call(s, p)) {
|
|
722
773
|
t[p] = s[p];
|
|
723
774
|
}
|
|
724
775
|
}
|
|
725
776
|
}
|
|
726
777
|
return t;
|
|
727
778
|
};
|
|
728
|
-
var __assignFn =
|
|
779
|
+
var __assignFn = objAssign || __objAssignFnImpl;
|
|
729
780
|
var extendStaticsFn = function (d, b) {
|
|
730
781
|
extendStaticsFn = ObjClass["setPrototypeOf"] ||
|
|
731
782
|
({ __proto__: [] } instanceof Array && function (d, b) {
|
|
@@ -733,7 +784,7 @@
|
|
|
733
784
|
}) ||
|
|
734
785
|
function (d, b) {
|
|
735
786
|
for (var p in b) {
|
|
736
|
-
if (b[
|
|
787
|
+
if (b[strHasOwnProperty](p)) {
|
|
737
788
|
d[p] = b[p];
|
|
738
789
|
}
|
|
739
790
|
}
|
|
@@ -748,15 +799,10 @@
|
|
|
748
799
|
function __() {
|
|
749
800
|
this.constructor = d;
|
|
750
801
|
}
|
|
751
|
-
d[strShimPrototype] = b === null ?
|
|
802
|
+
d[strShimPrototype] = b === null ? objCreate(b) : (__[strShimPrototype] = b[strShimPrototype], new __());
|
|
752
803
|
}
|
|
753
804
|
|
|
754
|
-
/*!
|
|
755
|
-
* Microsoft Dynamic Proto Utility, 1.1.8
|
|
756
|
-
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
757
|
-
*/
|
|
758
805
|
var _a;
|
|
759
|
-
var UNDEFINED = "undefined";
|
|
760
806
|
var Constructor = 'constructor';
|
|
761
807
|
var Prototype = 'prototype';
|
|
762
808
|
var strFunction = 'function';
|
|
@@ -777,23 +823,7 @@
|
|
|
777
823
|
var Obj = Object;
|
|
778
824
|
var _objGetPrototypeOf = Obj["getPrototypeOf"];
|
|
779
825
|
var _objGetOwnProps = Obj["getOwnPropertyNames"];
|
|
780
|
-
|
|
781
|
-
var result;
|
|
782
|
-
if (typeof globalThis !== UNDEFINED) {
|
|
783
|
-
result = globalThis;
|
|
784
|
-
}
|
|
785
|
-
if (!result && typeof self !== UNDEFINED) {
|
|
786
|
-
result = self;
|
|
787
|
-
}
|
|
788
|
-
if (!result && typeof window !== UNDEFINED) {
|
|
789
|
-
result = window;
|
|
790
|
-
}
|
|
791
|
-
if (!result && typeof global !== UNDEFINED) {
|
|
792
|
-
result = global;
|
|
793
|
-
}
|
|
794
|
-
return result || {};
|
|
795
|
-
}
|
|
796
|
-
var _gbl = _getGlobal();
|
|
826
|
+
var _gbl = getGlobal();
|
|
797
827
|
var _gblInst = _gbl[DynProtoGlobalSettings] || (_gbl[DynProtoGlobalSettings] = {
|
|
798
828
|
o: (_a = {},
|
|
799
829
|
_a[strSetInstFuncs] = true,
|
|
@@ -801,9 +831,6 @@
|
|
|
801
831
|
_a),
|
|
802
832
|
n: 1000
|
|
803
833
|
});
|
|
804
|
-
function _hasOwnProperty(obj, prop) {
|
|
805
|
-
return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
|
|
806
|
-
}
|
|
807
834
|
function _isObjectOrArrayPrototype(target) {
|
|
808
835
|
return target && (target === Obj[Prototype] || target === Array[Prototype]);
|
|
809
836
|
}
|
|
@@ -818,7 +845,7 @@
|
|
|
818
845
|
}
|
|
819
846
|
var curProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
820
847
|
newProto = target[DynProtoBaseProto] || curProto;
|
|
821
|
-
if (!
|
|
848
|
+
if (!objHasOwnProperty(target, DynProtoBaseProto)) {
|
|
822
849
|
delete target[DynProtoCurrent];
|
|
823
850
|
newProto = target[DynProtoBaseProto] = target[DynProtoCurrent] || target[DynProtoBaseProto];
|
|
824
851
|
target[DynProtoCurrent] = curProto;
|
|
@@ -833,7 +860,7 @@
|
|
|
833
860
|
}
|
|
834
861
|
else {
|
|
835
862
|
for (var name_1 in target) {
|
|
836
|
-
if (typeof name_1 === "string" &&
|
|
863
|
+
if (typeof name_1 === "string" && objHasOwnProperty(target, name_1)) {
|
|
837
864
|
props.push(name_1);
|
|
838
865
|
}
|
|
839
866
|
}
|
|
@@ -845,10 +872,10 @@
|
|
|
845
872
|
}
|
|
846
873
|
}
|
|
847
874
|
function _isDynamicCandidate(target, funcName, skipOwn) {
|
|
848
|
-
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn ||
|
|
875
|
+
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)));
|
|
849
876
|
}
|
|
850
877
|
function _throwTypeError(message) {
|
|
851
|
-
|
|
878
|
+
throwTypeError("DynamicProto: " + message);
|
|
852
879
|
}
|
|
853
880
|
function _getInstanceFuncs(thisTarget) {
|
|
854
881
|
var instFuncs = {};
|
|
@@ -899,14 +926,14 @@
|
|
|
899
926
|
}
|
|
900
927
|
function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
|
|
901
928
|
var instFunc = null;
|
|
902
|
-
if (target &&
|
|
929
|
+
if (target && objHasOwnProperty(proto, DynClassName)) {
|
|
903
930
|
var instFuncTable = target[DynInstFuncTable] || {};
|
|
904
931
|
instFunc = (instFuncTable[proto[DynClassName]] || {})[funcName];
|
|
905
932
|
if (!instFunc) {
|
|
906
933
|
_throwTypeError("Missing [" + funcName + "] " + strFunction);
|
|
907
934
|
}
|
|
908
935
|
if (!instFunc[DynInstChkTag] && instFuncTable[DynAllowInstChkTag] !== false) {
|
|
909
|
-
var canAddInst = !
|
|
936
|
+
var canAddInst = !objHasOwnProperty(target, funcName);
|
|
910
937
|
var objProto = _getObjProto(target);
|
|
911
938
|
var visited = [];
|
|
912
939
|
while (canAddInst && objProto && !_isObjectArrayOrFunctionPrototype(objProto) && !_hasVisited(visited, objProto)) {
|
|
@@ -960,7 +987,7 @@
|
|
|
960
987
|
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
961
988
|
instFuncs_1[name] = target[name];
|
|
962
989
|
delete target[name];
|
|
963
|
-
if (!
|
|
990
|
+
if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
964
991
|
proto[name] = _createDynamicPrototype(proto, name);
|
|
965
992
|
}
|
|
966
993
|
}
|
|
@@ -983,13 +1010,13 @@
|
|
|
983
1010
|
return true;
|
|
984
1011
|
}
|
|
985
1012
|
function _getObjName(target, unknownValue) {
|
|
986
|
-
if (
|
|
1013
|
+
if (objHasOwnProperty(target, Prototype)) {
|
|
987
1014
|
return target.name || unknownValue || UnknownValue;
|
|
988
1015
|
}
|
|
989
1016
|
return (((target || {})[Constructor]) || {}).name || unknownValue || UnknownValue;
|
|
990
1017
|
}
|
|
991
1018
|
function dynamicProto(theClass, target, delegateFunc, options) {
|
|
992
|
-
if (!
|
|
1019
|
+
if (!objHasOwnProperty(theClass, Prototype)) {
|
|
993
1020
|
_throwTypeError("theClass is an invalid class definition.");
|
|
994
1021
|
}
|
|
995
1022
|
var classProto = theClass[Prototype];
|
|
@@ -997,7 +1024,7 @@
|
|
|
997
1024
|
_throwTypeError("[" + _getObjName(theClass) + "] not in hierarchy of [" + _getObjName(target) + "]");
|
|
998
1025
|
}
|
|
999
1026
|
var className = null;
|
|
1000
|
-
if (
|
|
1027
|
+
if (objHasOwnProperty(classProto, DynClassName)) {
|
|
1001
1028
|
className = classProto[DynClassName];
|
|
1002
1029
|
}
|
|
1003
1030
|
else {
|
|
@@ -1152,15 +1179,17 @@
|
|
|
1152
1179
|
|
|
1153
1180
|
var UInt32Mask = 0x100000000;
|
|
1154
1181
|
var MaxUInt32 = 0xffffffff;
|
|
1182
|
+
var SEED1 = 123456789;
|
|
1183
|
+
var SEED2 = 987654321;
|
|
1155
1184
|
var _mwcSeeded = false;
|
|
1156
|
-
var _mwcW =
|
|
1157
|
-
var _mwcZ =
|
|
1185
|
+
var _mwcW = SEED1;
|
|
1186
|
+
var _mwcZ = SEED2;
|
|
1158
1187
|
function _mwcSeed(seedValue) {
|
|
1159
1188
|
if (seedValue < 0) {
|
|
1160
1189
|
seedValue >>>= 0;
|
|
1161
1190
|
}
|
|
1162
|
-
_mwcW = (
|
|
1163
|
-
_mwcZ = (
|
|
1191
|
+
_mwcW = (SEED1 + seedValue) & MaxUInt32;
|
|
1192
|
+
_mwcZ = (SEED2 - seedValue) & MaxUInt32;
|
|
1164
1193
|
_mwcSeeded = true;
|
|
1165
1194
|
}
|
|
1166
1195
|
function _autoSeedMwc() {
|
|
@@ -1224,7 +1253,7 @@
|
|
|
1224
1253
|
return result;
|
|
1225
1254
|
}
|
|
1226
1255
|
|
|
1227
|
-
var version = "3.0.0-
|
|
1256
|
+
var version = "3.0.0-nightly3.2304-28";
|
|
1228
1257
|
var instanceName = "." + newId(6);
|
|
1229
1258
|
var _dataUid = 0;
|
|
1230
1259
|
function createUniqueNamespace(name, includeVersion) {
|
|
@@ -1398,7 +1427,7 @@
|
|
|
1398
1427
|
return result;
|
|
1399
1428
|
}
|
|
1400
1429
|
function throwInvalidAccess(message) {
|
|
1401
|
-
throwTypeError
|
|
1430
|
+
throwTypeError("InvalidAccess:" + message);
|
|
1402
1431
|
}
|
|
1403
1432
|
|
|
1404
1433
|
var arrayMethodsToPatch = [
|
|
@@ -2276,7 +2305,7 @@
|
|
|
2276
2305
|
}
|
|
2277
2306
|
function dsPadNumber(num) {
|
|
2278
2307
|
var s = "00" + num;
|
|
2279
|
-
return
|
|
2308
|
+
return strSubstr(s, s[_DYN_LENGTH ] - 3);
|
|
2280
2309
|
}
|
|
2281
2310
|
|
|
2282
2311
|
var _document = getDocument() || {};
|
|
@@ -3938,7 +3967,5 @@
|
|
|
3938
3967
|
exports.utlSetLocalStorage = utlSetLocalStorage;
|
|
3939
3968
|
exports.utlSetSessionStorage = utlSetSessionStorage;
|
|
3940
3969
|
|
|
3941
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3942
|
-
|
|
3943
3970
|
}));
|
|
3944
3971
|
//# sourceMappingURL=applicationinsights-common.js.map
|