@medipass/utils 12.0.0 → 12.0.1
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/dist/_virtual/rolldown_runtime.js +1 -29
- package/dist/build-validation-schema.d.ts +17 -18
- package/dist/build-validation-schema.js +26 -32
- package/dist/build-validation-schema.js.map +1 -1
- package/dist/datetime.js +3 -3
- package/dist/documents/workflow-state-formatted.d.ts +4 -4
- package/dist/documents/workflow-state-formatted.js +5 -7
- package/dist/documents/workflow-state-formatted.js.map +1 -1
- package/dist/funders.js +2 -4
- package/dist/funders.js.map +1 -1
- package/dist/get-env.js +5 -9
- package/dist/get-env.js.map +1 -1
- package/dist/get-select-options.js +7 -9
- package/dist/get-select-options.js.map +1 -1
- package/dist/google-addresses.js +4 -7
- package/dist/google-addresses.js.map +1 -1
- package/dist/masked.js +4 -7
- package/dist/masked.js.map +1 -1
- package/dist/products.js +4 -6
- package/dist/products.js.map +1 -1
- package/dist/redux-actions.js +2 -4
- package/dist/redux-actions.js.map +1 -1
- package/dist/redux-reducer.js +4 -7
- package/dist/redux-reducer.js.map +1 -1
- package/dist/sanitise-url.js +2 -4
- package/dist/sanitise-url.js.map +1 -1
- package/dist/sentry.js +15 -21
- package/dist/sentry.js.map +1 -1
- package/dist/service-items.js +18 -22
- package/dist/service-items.js.map +1 -1
- package/dist/transaction-status-helpers.js +2 -4
- package/dist/transaction-status-helpers.js.map +1 -1
- package/dist/transaction-status.js +7 -9
- package/dist/transaction-status.js.map +1 -1
- package/dist/validate-form.js +11 -14
- package/dist/validate-form.js.map +1 -1
- package/dist/validate.js +9 -14
- package/dist/validate.js.map +1 -1
- package/dist/workflow-state-formatted.d.ts +3 -3
- package/dist/workflow-state-formatted.js +4 -6
- package/dist/workflow-state-formatted.js.map +1 -1
- package/package.json +10 -7
- package/dist/node_modules/@sentry/browser/esm/backend.js +0 -59
- package/dist/node_modules/@sentry/browser/esm/backend.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/client.js +0 -75
- package/dist/node_modules/@sentry/browser/esm/client.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/eventbuilder.js +0 -48
- package/dist/node_modules/@sentry/browser/esm/eventbuilder.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/helpers.js +0 -94
- package/dist/node_modules/@sentry/browser/esm/helpers.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/index.js +0 -59
- package/dist/node_modules/@sentry/browser/esm/index.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js +0 -218
- package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js +0 -166
- package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/index.js +0 -19
- package/dist/node_modules/@sentry/browser/esm/integrations/index.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js +0 -62
- package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js +0 -172
- package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js +0 -41
- package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/parsers.js +0 -65
- package/dist/node_modules/@sentry/browser/esm/parsers.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/sdk.js +0 -157
- package/dist/node_modules/@sentry/browser/esm/sdk.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/tracekit.js +0 -146
- package/dist/node_modules/@sentry/browser/esm/tracekit.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/base.js +0 -31
- package/dist/node_modules/@sentry/browser/esm/transports/base.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/fetch.js +0 -57
- package/dist/node_modules/@sentry/browser/esm/transports/fetch.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/index.js +0 -15
- package/dist/node_modules/@sentry/browser/esm/transports/index.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/xhr.js +0 -54
- package/dist/node_modules/@sentry/browser/esm/transports/xhr.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/version.js +0 -7
- package/dist/node_modules/@sentry/browser/esm/version.js.map +0 -1
- package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js +0 -65
- package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/api.js +0 -75
- package/dist/node_modules/@sentry/core/esm/api.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/basebackend.js +0 -54
- package/dist/node_modules/@sentry/core/esm/basebackend.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/baseclient.js +0 -331
- package/dist/node_modules/@sentry/core/esm/baseclient.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integration.js +0 -65
- package/dist/node_modules/@sentry/core/esm/integration.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js +0 -32
- package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js +0 -143
- package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integrations/index.js +0 -13
- package/dist/node_modules/@sentry/core/esm/integrations/index.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/sdk.js +0 -19
- package/dist/node_modules/@sentry/core/esm/sdk.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/transports/noop.js +0 -28
- package/dist/node_modules/@sentry/core/esm/transports/noop.js.map +0 -1
- package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js +0 -36
- package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/hub/esm/hub.js +0 -383
- package/dist/node_modules/@sentry/hub/esm/hub.js.map +0 -1
- package/dist/node_modules/@sentry/hub/esm/scope.js +0 -271
- package/dist/node_modules/@sentry/hub/esm/scope.js.map +0 -1
- package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js +0 -36
- package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/minimal/esm/index.js +0 -146
- package/dist/node_modules/@sentry/minimal/esm/index.js.map +0 -1
- package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js +0 -26
- package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/types/esm/severity.js +0 -45
- package/dist/node_modules/@sentry/types/esm/severity.js.map +0 -1
- package/dist/node_modules/@sentry/types/esm/status.js +0 -37
- package/dist/node_modules/@sentry/types/esm/status.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/dsn.js +0 -82
- package/dist/node_modules/@sentry/utils/esm/dsn.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/error.js +0 -21
- package/dist/node_modules/@sentry/utils/esm/error.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/instrument.js +0 -336
- package/dist/node_modules/@sentry/utils/esm/instrument.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/is.js +0 -142
- package/dist/node_modules/@sentry/utils/esm/is.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/logger.js +0 -55
- package/dist/node_modules/@sentry/utils/esm/logger.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/memo.js +0 -40
- package/dist/node_modules/@sentry/utils/esm/memo.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/misc.js +0 -250
- package/dist/node_modules/@sentry/utils/esm/misc.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/object.js +0 -190
- package/dist/node_modules/@sentry/utils/esm/object.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/polyfill.js +0 -20
- package/dist/node_modules/@sentry/utils/esm/polyfill.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/promisebuffer.js +0 -75
- package/dist/node_modules/@sentry/utils/esm/promisebuffer.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/string.js +0 -48
- package/dist/node_modules/@sentry/utils/esm/string.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/supports.js +0 -84
- package/dist/node_modules/@sentry/utils/esm/supports.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/syncpromise.js +0 -171
- package/dist/node_modules/@sentry/utils/esm/syncpromise.js.map +0 -1
- package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js +0 -73
- package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/escape-html/index.js +0 -68
- package/dist/node_modules/escape-html/index.js.map +0 -1
- package/dist/node_modules/globalthis/implementation.browser.js +0 -14
- package/dist/node_modules/globalthis/implementation.browser.js.map +0 -1
- package/dist/node_modules/globalthis/polyfill.js +0 -17
- package/dist/node_modules/globalthis/polyfill.js.map +0 -1
- package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js +0 -84028
- package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js.map +0 -1
- package/dist/node_modules/lodash/_DataView.js +0 -15
- package/dist/node_modules/lodash/_DataView.js.map +0 -1
- package/dist/node_modules/lodash/_Hash.js +0 -38
- package/dist/node_modules/lodash/_Hash.js.map +0 -1
- package/dist/node_modules/lodash/_ListCache.js +0 -38
- package/dist/node_modules/lodash/_ListCache.js.map +0 -1
- package/dist/node_modules/lodash/_Map.js +0 -15
- package/dist/node_modules/lodash/_Map.js.map +0 -1
- package/dist/node_modules/lodash/_MapCache.js +0 -38
- package/dist/node_modules/lodash/_MapCache.js.map +0 -1
- package/dist/node_modules/lodash/_Promise.js +0 -15
- package/dist/node_modules/lodash/_Promise.js.map +0 -1
- package/dist/node_modules/lodash/_Set.js +0 -15
- package/dist/node_modules/lodash/_Set.js.map +0 -1
- package/dist/node_modules/lodash/_SetCache.js +0 -31
- package/dist/node_modules/lodash/_SetCache.js.map +0 -1
- package/dist/node_modules/lodash/_Stack.js +0 -34
- package/dist/node_modules/lodash/_Stack.js.map +0 -1
- package/dist/node_modules/lodash/_Symbol.js +0 -15
- package/dist/node_modules/lodash/_Symbol.js.map +0 -1
- package/dist/node_modules/lodash/_Uint8Array.js +0 -15
- package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
- package/dist/node_modules/lodash/_WeakMap.js +0 -15
- package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
- package/dist/node_modules/lodash/_apply.js +0 -31
- package/dist/node_modules/lodash/_apply.js.map +0 -1
- package/dist/node_modules/lodash/_arrayEach.js +0 -26
- package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
- package/dist/node_modules/lodash/_arrayFilter.js +0 -29
- package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludes.js +0 -26
- package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -26
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -34
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_arrayMap.js +0 -26
- package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
- package/dist/node_modules/lodash/_arrayPush.js +0 -25
- package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
- package/dist/node_modules/lodash/_arrayReduce.js +0 -30
- package/dist/node_modules/lodash/_arrayReduce.js.map +0 -1
- package/dist/node_modules/lodash/_arraySome.js +0 -27
- package/dist/node_modules/lodash/_arraySome.js.map +0 -1
- package/dist/node_modules/lodash/_asciiToArray.js +0 -22
- package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
- package/dist/node_modules/lodash/_asciiWords.js +0 -24
- package/dist/node_modules/lodash/_asciiWords.js.map +0 -1
- package/dist/node_modules/lodash/_assignValue.js +0 -31
- package/dist/node_modules/lodash/_assignValue.js.map +0 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -27
- package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +0 -32
- package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
- package/dist/node_modules/lodash/_baseDifference.js +0 -55
- package/dist/node_modules/lodash/_baseDifference.js.map +0 -1
- package/dist/node_modules/lodash/_baseEach.js +0 -24
- package/dist/node_modules/lodash/_baseEach.js.map +0 -1
- package/dist/node_modules/lodash/_baseFindIndex.js +0 -28
- package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
- package/dist/node_modules/lodash/_baseFlatten.js +0 -38
- package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
- package/dist/node_modules/lodash/_baseFor.js +0 -25
- package/dist/node_modules/lodash/_baseFor.js.map +0 -1
- package/dist/node_modules/lodash/_baseForOwn.js +0 -26
- package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
- package/dist/node_modules/lodash/_baseGet.js +0 -29
- package/dist/node_modules/lodash/_baseGet.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -30
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetTag.js +0 -31
- package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/dist/node_modules/lodash/_baseHas.js +0 -25
- package/dist/node_modules/lodash/_baseHas.js.map +0 -1
- package/dist/node_modules/lodash/_baseHasIn.js +0 -23
- package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseIndexOf.js +0 -28
- package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -27
- package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +0 -34
- package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -67
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +0 -48
- package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNaN.js +0 -22
- package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNative.js +0 -44
- package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -33
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/_baseIteratee.js +0 -31
- package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeys.js +0 -30
- package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeysIn.js +0 -31
- package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatches.js +0 -30
- package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -37
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
- package/dist/node_modules/lodash/_basePick.js +0 -29
- package/dist/node_modules/lodash/_basePick.js.map +0 -1
- package/dist/node_modules/lodash/_basePickBy.js +0 -33
- package/dist/node_modules/lodash/_basePickBy.js.map +0 -1
- package/dist/node_modules/lodash/_baseProperty.js +0 -24
- package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +0 -26
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
- package/dist/node_modules/lodash/_basePropertyOf.js +0 -24
- package/dist/node_modules/lodash/_basePropertyOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseRepeat.js +0 -33
- package/dist/node_modules/lodash/_baseRepeat.js.map +0 -1
- package/dist/node_modules/lodash/_baseRest.js +0 -27
- package/dist/node_modules/lodash/_baseRest.js.map +0 -1
- package/dist/node_modules/lodash/_baseSet.js +0 -45
- package/dist/node_modules/lodash/_baseSet.js.map +0 -1
- package/dist/node_modules/lodash/_baseSetToString.js +0 -32
- package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseSlice.js +0 -32
- package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
- package/dist/node_modules/lodash/_baseTimes.js +0 -26
- package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
- package/dist/node_modules/lodash/_baseToString.js +0 -36
- package/dist/node_modules/lodash/_baseToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseTrim.js +0 -26
- package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
- package/dist/node_modules/lodash/_baseUnary.js +0 -24
- package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
- package/dist/node_modules/lodash/_cacheHas.js +0 -23
- package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_castFunction.js +0 -24
- package/dist/node_modules/lodash/_castFunction.js.map +0 -1
- package/dist/node_modules/lodash/_castPath.js +0 -29
- package/dist/node_modules/lodash/_castPath.js.map +0 -1
- package/dist/node_modules/lodash/_castSlice.js +0 -28
- package/dist/node_modules/lodash/_castSlice.js.map +0 -1
- package/dist/node_modules/lodash/_coreJsData.js +0 -15
- package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseEach.js +0 -31
- package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseFor.js +0 -29
- package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
- package/dist/node_modules/lodash/_createCaseFirst.js +0 -33
- package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
- package/dist/node_modules/lodash/_createCompounder.js +0 -30
- package/dist/node_modules/lodash/_createCompounder.js.map +0 -1
- package/dist/node_modules/lodash/_deburrLetter.js +0 -213
- package/dist/node_modules/lodash/_deburrLetter.js.map +0 -1
- package/dist/node_modules/lodash/_defineProperty.js +0 -21
- package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
- package/dist/node_modules/lodash/_equalArrays.js +0 -64
- package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
- package/dist/node_modules/lodash/_equalByTag.js +0 -74
- package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
- package/dist/node_modules/lodash/_equalObjects.js +0 -64
- package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
- package/dist/node_modules/lodash/_flatRest.js +0 -26
- package/dist/node_modules/lodash/_flatRest.js.map +0 -1
- package/dist/node_modules/lodash/_freeGlobal.js +0 -14
- package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeys.js +0 -26
- package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeysIn.js +0 -27
- package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_getMapData.js +0 -26
- package/dist/node_modules/lodash/_getMapData.js.map +0 -1
- package/dist/node_modules/lodash/_getMatchData.js +0 -34
- package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
- package/dist/node_modules/lodash/_getNative.js +0 -27
- package/dist/node_modules/lodash/_getNative.js.map +0 -1
- package/dist/node_modules/lodash/_getPrototype.js +0 -15
- package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_getRawTag.js +0 -44
- package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbols.js +0 -32
- package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbolsIn.js +0 -32
- package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
- package/dist/node_modules/lodash/_getTag.js +0 -44
- package/dist/node_modules/lodash/_getTag.js.map +0 -1
- package/dist/node_modules/lodash/_getValue.js +0 -23
- package/dist/node_modules/lodash/_getValue.js.map +0 -1
- package/dist/node_modules/lodash/_hasPath.js +0 -40
- package/dist/node_modules/lodash/_hasPath.js.map +0 -1
- package/dist/node_modules/lodash/_hasUnicode.js +0 -24
- package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
- package/dist/node_modules/lodash/_hasUnicodeWord.js +0 -24
- package/dist/node_modules/lodash/_hasUnicodeWord.js.map +0 -1
- package/dist/node_modules/lodash/_hashClear.js +0 -25
- package/dist/node_modules/lodash/_hashClear.js.map +0 -1
- package/dist/node_modules/lodash/_hashDelete.js +0 -27
- package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
- package/dist/node_modules/lodash/_hashGet.js +0 -35
- package/dist/node_modules/lodash/_hashGet.js.map +0 -1
- package/dist/node_modules/lodash/_hashHas.js +0 -29
- package/dist/node_modules/lodash/_hashHas.js.map +0 -1
- package/dist/node_modules/lodash/_hashSet.js +0 -32
- package/dist/node_modules/lodash/_hashSet.js.map +0 -1
- package/dist/node_modules/lodash/_isFlattenable.js +0 -28
- package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
- package/dist/node_modules/lodash/_isIndex.js +0 -29
- package/dist/node_modules/lodash/_isIndex.js.map +0 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +0 -33
- package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
- package/dist/node_modules/lodash/_isKey.js +0 -31
- package/dist/node_modules/lodash/_isKey.js.map +0 -1
- package/dist/node_modules/lodash/_isKeyable.js +0 -23
- package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
- package/dist/node_modules/lodash/_isMasked.js +0 -29
- package/dist/node_modules/lodash/_isMasked.js.map +0 -1
- package/dist/node_modules/lodash/_isPrototype.js +0 -25
- package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +0 -25
- package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheClear.js +0 -23
- package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -33
- package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheGet.js +0 -27
- package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheHas.js +0 -26
- package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheSet.js +0 -32
- package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -31
- package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -28
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -26
- package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -26
- package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -30
- package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapToArray.js +0 -26
- package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -27
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -32
- package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
- package/dist/node_modules/lodash/_nativeCreate.js +0 -14
- package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeys.js +0 -14
- package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeysIn.js +0 -26
- package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_nodeUtil.js +0 -28
- package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
- package/dist/node_modules/lodash/_objectToString.js +0 -28
- package/dist/node_modules/lodash/_objectToString.js.map +0 -1
- package/dist/node_modules/lodash/_overArg.js +0 -25
- package/dist/node_modules/lodash/_overArg.js.map +0 -1
- package/dist/node_modules/lodash/_overRest.js +0 -36
- package/dist/node_modules/lodash/_overRest.js.map +0 -1
- package/dist/node_modules/lodash/_root.js +0 -18
- package/dist/node_modules/lodash/_root.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +0 -28
- package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheHas.js +0 -24
- package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_setToArray.js +0 -26
- package/dist/node_modules/lodash/_setToArray.js.map +0 -1
- package/dist/node_modules/lodash/_setToString.js +0 -24
- package/dist/node_modules/lodash/_setToString.js.map +0 -1
- package/dist/node_modules/lodash/_shortOut.js +0 -35
- package/dist/node_modules/lodash/_shortOut.js.map +0 -1
- package/dist/node_modules/lodash/_stackClear.js +0 -25
- package/dist/node_modules/lodash/_stackClear.js.map +0 -1
- package/dist/node_modules/lodash/_stackDelete.js +0 -26
- package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
- package/dist/node_modules/lodash/_stackGet.js +0 -24
- package/dist/node_modules/lodash/_stackGet.js.map +0 -1
- package/dist/node_modules/lodash/_stackHas.js +0 -24
- package/dist/node_modules/lodash/_stackHas.js.map +0 -1
- package/dist/node_modules/lodash/_stackSet.js +0 -43
- package/dist/node_modules/lodash/_stackSet.js.map +0 -1
- package/dist/node_modules/lodash/_strictIndexOf.js +0 -27
- package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_stringToArray.js +0 -26
- package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
- package/dist/node_modules/lodash/_stringToPath.js +0 -33
- package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
- package/dist/node_modules/lodash/_toKey.js +0 -28
- package/dist/node_modules/lodash/_toKey.js.map +0 -1
- package/dist/node_modules/lodash/_toSource.js +0 -32
- package/dist/node_modules/lodash/_toSource.js.map +0 -1
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -27
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
- package/dist/node_modules/lodash/_unicodeToArray.js +0 -40
- package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
- package/dist/node_modules/lodash/_unicodeWords.js +0 -55
- package/dist/node_modules/lodash/_unicodeWords.js.map +0 -1
- package/dist/node_modules/lodash/camelCase.js +0 -39
- package/dist/node_modules/lodash/camelCase.js.map +0 -1
- package/dist/node_modules/lodash/capitalize.js +0 -33
- package/dist/node_modules/lodash/capitalize.js.map +0 -1
- package/dist/node_modules/lodash/constant.js +0 -36
- package/dist/node_modules/lodash/constant.js.map +0 -1
- package/dist/node_modules/lodash/deburr.js +0 -44
- package/dist/node_modules/lodash/deburr.js.map +0 -1
- package/dist/node_modules/lodash/difference.js +0 -41
- package/dist/node_modules/lodash/difference.js.map +0 -1
- package/dist/node_modules/lodash/eq.js +0 -47
- package/dist/node_modules/lodash/eq.js.map +0 -1
- package/dist/node_modules/lodash/flatten.js +0 -31
- package/dist/node_modules/lodash/flatten.js.map +0 -1
- package/dist/node_modules/lodash/forEach.js +0 -50
- package/dist/node_modules/lodash/forEach.js.map +0 -1
- package/dist/node_modules/lodash/forOwn.js +0 -46
- package/dist/node_modules/lodash/forOwn.js.map +0 -1
- package/dist/node_modules/lodash/get.js +0 -43
- package/dist/node_modules/lodash/get.js.map +0 -1
- package/dist/node_modules/lodash/has.js +0 -45
- package/dist/node_modules/lodash/has.js.map +0 -1
- package/dist/node_modules/lodash/hasIn.js +0 -44
- package/dist/node_modules/lodash/hasIn.js.map +0 -1
- package/dist/node_modules/lodash/identity.js +0 -31
- package/dist/node_modules/lodash/identity.js.map +0 -1
- package/dist/node_modules/lodash/isArguments.js +0 -44
- package/dist/node_modules/lodash/isArguments.js.map +0 -1
- package/dist/node_modules/lodash/isArray.js +0 -36
- package/dist/node_modules/lodash/isArray.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLike.js +0 -43
- package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLikeObject.js +0 -43
- package/dist/node_modules/lodash/isArrayLikeObject.js.map +0 -1
- package/dist/node_modules/lodash/isBuffer.js +0 -39
- package/dist/node_modules/lodash/isBuffer.js.map +0 -1
- package/dist/node_modules/lodash/isEmpty.js +0 -67
- package/dist/node_modules/lodash/isEmpty.js.map +0 -1
- package/dist/node_modules/lodash/isFunction.js +0 -39
- package/dist/node_modules/lodash/isFunction.js.map +0 -1
- package/dist/node_modules/lodash/isLength.js +0 -43
- package/dist/node_modules/lodash/isLength.js.map +0 -1
- package/dist/node_modules/lodash/isObject.js +0 -41
- package/dist/node_modules/lodash/isObject.js.map +0 -1
- package/dist/node_modules/lodash/isObjectLike.js +0 -39
- package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
- package/dist/node_modules/lodash/isSymbol.js +0 -37
- package/dist/node_modules/lodash/isSymbol.js.map +0 -1
- package/dist/node_modules/lodash/isTypedArray.js +0 -35
- package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/keys.js +0 -47
- package/dist/node_modules/lodash/keys.js.map +0 -1
- package/dist/node_modules/lodash/keysIn.js +0 -42
- package/dist/node_modules/lodash/keysIn.js.map +0 -1
- package/dist/node_modules/lodash/mapKeys.js +0 -45
- package/dist/node_modules/lodash/mapKeys.js.map +0 -1
- package/dist/node_modules/lodash/mapValues.js +0 -52
- package/dist/node_modules/lodash/mapValues.js.map +0 -1
- package/dist/node_modules/lodash/memoize.js +0 -73
- package/dist/node_modules/lodash/memoize.js.map +0 -1
- package/dist/node_modules/lodash/negate.js +0 -47
- package/dist/node_modules/lodash/negate.js.map +0 -1
- package/dist/node_modules/lodash/omitBy.js +0 -39
- package/dist/node_modules/lodash/omitBy.js.map +0 -1
- package/dist/node_modules/lodash/pick.js +0 -35
- package/dist/node_modules/lodash/pick.js.map +0 -1
- package/dist/node_modules/lodash/pickBy.js +0 -45
- package/dist/node_modules/lodash/pickBy.js.map +0 -1
- package/dist/node_modules/lodash/property.js +0 -42
- package/dist/node_modules/lodash/property.js.map +0 -1
- package/dist/node_modules/lodash/repeat.js +0 -44
- package/dist/node_modules/lodash/repeat.js.map +0 -1
- package/dist/node_modules/lodash/set.js +0 -45
- package/dist/node_modules/lodash/set.js.map +0 -1
- package/dist/node_modules/lodash/snakeCase.js +0 -37
- package/dist/node_modules/lodash/snakeCase.js.map +0 -1
- package/dist/node_modules/lodash/stubArray.js +0 -33
- package/dist/node_modules/lodash/stubArray.js.map +0 -1
- package/dist/node_modules/lodash/stubFalse.js +0 -28
- package/dist/node_modules/lodash/stubFalse.js.map +0 -1
- package/dist/node_modules/lodash/toFinite.js +0 -45
- package/dist/node_modules/lodash/toFinite.js.map +0 -1
- package/dist/node_modules/lodash/toInteger.js +0 -44
- package/dist/node_modules/lodash/toInteger.js.map +0 -1
- package/dist/node_modules/lodash/toNumber.js +0 -61
- package/dist/node_modules/lodash/toNumber.js.map +0 -1
- package/dist/node_modules/lodash/toString.js +0 -38
- package/dist/node_modules/lodash/toString.js.map +0 -1
- package/dist/node_modules/lodash/upperFirst.js +0 -31
- package/dist/node_modules/lodash/upperFirst.js.map +0 -1
- package/dist/node_modules/lodash/words.js +0 -42
- package/dist/node_modules/lodash/words.js.map +0 -1
- package/dist/node_modules/nanoclone/src/index.js +0 -38
- package/dist/node_modules/nanoclone/src/index.js.map +0 -1
- package/dist/node_modules/payment/lib/index.js +0 -565
- package/dist/node_modules/payment/lib/index.js.map +0 -1
- package/dist/node_modules/property-expr/index.js +0 -100
- package/dist/node_modules/property-expr/index.js.map +0 -1
- package/dist/node_modules/qj/lib/index.js +0 -175
- package/dist/node_modules/qj/lib/index.js.map +0 -1
- package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js +0 -86
- package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js.map +0 -1
- package/dist/node_modules/toposort/index.js +0 -78
- package/dist/node_modules/toposort/index.js.map +0 -1
- package/dist/node_modules/yup/es/Condition.d.ts +0 -23
- package/dist/node_modules/yup/es/Condition.js +0 -40
- package/dist/node_modules/yup/es/Condition.js.map +0 -1
- package/dist/node_modules/yup/es/Lazy.d.ts +0 -29
- package/dist/node_modules/yup/es/Lazy.js +0 -49
- package/dist/node_modules/yup/es/Lazy.js.map +0 -1
- package/dist/node_modules/yup/es/Reference.d.ts +0 -36
- package/dist/node_modules/yup/es/Reference.js +0 -61
- package/dist/node_modules/yup/es/Reference.js.map +0 -1
- package/dist/node_modules/yup/es/ValidationError.d.ts +0 -16
- package/dist/node_modules/yup/es/ValidationError.js +0 -48
- package/dist/node_modules/yup/es/ValidationError.js.map +0 -1
- package/dist/node_modules/yup/es/array.js +0 -181
- package/dist/node_modules/yup/es/array.js.map +0 -1
- package/dist/node_modules/yup/es/boolean.js +0 -53
- package/dist/node_modules/yup/es/boolean.js.map +0 -1
- package/dist/node_modules/yup/es/date.js +0 -67
- package/dist/node_modules/yup/es/date.js.map +0 -1
- package/dist/node_modules/yup/es/index.js +0 -52
- package/dist/node_modules/yup/es/index.js.map +0 -1
- package/dist/node_modules/yup/es/locale.js +0 -61
- package/dist/node_modules/yup/es/locale.js.map +0 -1
- package/dist/node_modules/yup/es/mixed.js +0 -13
- package/dist/node_modules/yup/es/mixed.js.map +0 -1
- package/dist/node_modules/yup/es/number.js +0 -108
- package/dist/node_modules/yup/es/number.js.map +0 -1
- package/dist/node_modules/yup/es/object.d.ts +0 -48
- package/dist/node_modules/yup/es/object.js +0 -266
- package/dist/node_modules/yup/es/object.js.map +0 -1
- package/dist/node_modules/yup/es/schema.d.ts +0 -148
- package/dist/node_modules/yup/es/schema.js +0 -407
- package/dist/node_modules/yup/es/schema.js.map +0 -1
- package/dist/node_modules/yup/es/setLocale.js +0 -14
- package/dist/node_modules/yup/es/setLocale.js.map +0 -1
- package/dist/node_modules/yup/es/string.js +0 -132
- package/dist/node_modules/yup/es/string.js.map +0 -1
- package/dist/node_modules/yup/es/types.d.ts +0 -56
- package/dist/node_modules/yup/es/util/ReferenceSet.d.ts +0 -19
- package/dist/node_modules/yup/es/util/ReferenceSet.js +0 -51
- package/dist/node_modules/yup/es/util/ReferenceSet.js.map +0 -1
- package/dist/node_modules/yup/es/util/createValidation.d.ts +0 -43
- package/dist/node_modules/yup/es/util/createValidation.js +0 -96
- package/dist/node_modules/yup/es/util/createValidation.js.map +0 -1
- package/dist/node_modules/yup/es/util/isAbsent.js +0 -6
- package/dist/node_modules/yup/es/util/isAbsent.js.map +0 -1
- package/dist/node_modules/yup/es/util/isSchema.js +0 -6
- package/dist/node_modules/yup/es/util/isSchema.js.map +0 -1
- package/dist/node_modules/yup/es/util/isodate.js +0 -39
- package/dist/node_modules/yup/es/util/isodate.js.map +0 -1
- package/dist/node_modules/yup/es/util/printValue.js +0 -36
- package/dist/node_modules/yup/es/util/printValue.js.map +0 -1
- package/dist/node_modules/yup/es/util/reach.js +0 -47
- package/dist/node_modules/yup/es/util/reach.js.map +0 -1
- package/dist/node_modules/yup/es/util/runTests.js +0 -48
- package/dist/node_modules/yup/es/util/runTests.js.map +0 -1
- package/dist/node_modules/yup/es/util/sortByKeyOrder.js +0 -21
- package/dist/node_modules/yup/es/util/sortByKeyOrder.js.map +0 -1
- package/dist/node_modules/yup/es/util/sortFields.js +0 -31
- package/dist/node_modules/yup/es/util/sortFields.js.map +0 -1
- package/dist/node_modules/yup/es/util/toArray.js +0 -8
- package/dist/node_modules/yup/es/util/toArray.js.map +0 -1
- package/dist/node_modules/yup/es/util/types.d.ts +0 -11
- package/dist/node_modules/yup/lib/Condition.d.ts +0 -23
- package/dist/node_modules/yup/lib/Lazy.d.ts +0 -29
- package/dist/node_modules/yup/lib/Reference.d.ts +0 -36
- package/dist/node_modules/yup/lib/ValidationError.d.ts +0 -16
- package/dist/node_modules/yup/lib/locale.d.ts +0 -18
- package/dist/node_modules/yup/lib/object.d.ts +0 -13
- package/dist/node_modules/yup/lib/schema.d.ts +0 -141
- package/dist/node_modules/yup/lib/string.d.ts +0 -74
- package/dist/node_modules/yup/lib/types.d.ts +0 -54
- package/dist/node_modules/yup/lib/util/ReferenceSet.d.ts +0 -19
- package/dist/node_modules/yup/lib/util/createValidation.d.ts +0 -43
- package/dist/node_modules/yup/lib/util/types.d.ts +0 -12
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +0 -11
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js +0 -11
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js +0 -437
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +0 -50
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +0 -51
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -27
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +0 -17
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +0 -25
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +0 -17
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +0 -32
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js +0 -19
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js +0 -8
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js +0 -24
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +0 -20
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +0 -17
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +0 -24
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +0 -23
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js +0 -11
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js +0 -37
- package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/format/index.js +0 -378
- package/dist/packages/utils/node_modules/date-fns/esm/format/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js +0 -33
- package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js +0 -36
- package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js +0 -37
- package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js +0 -70
- package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +0 -12
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +0 -23
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +0 -36
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +0 -22
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +0 -78
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +0 -37
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +0 -16
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +0 -217
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +0 -133
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js +0 -33
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js +0 -1346
- package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js +0 -461
- package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js +0 -38
- package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js +0 -36
- package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js +0 -35
- package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js +0 -50
- package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js.map +0 -1
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/@sentry/types/esm/status.js
|
|
2
|
-
/** The status of an event. */
|
|
3
|
-
var Status;
|
|
4
|
-
(function(Status$1) {
|
|
5
|
-
/** The status could not be determined. */
|
|
6
|
-
Status$1["Unknown"] = "unknown";
|
|
7
|
-
/** The event was skipped due to configuration or callbacks. */
|
|
8
|
-
Status$1["Skipped"] = "skipped";
|
|
9
|
-
/** The event was sent to Sentry successfully. */
|
|
10
|
-
Status$1["Success"] = "success";
|
|
11
|
-
/** The client is currently rate limited and will try again later. */
|
|
12
|
-
Status$1["RateLimit"] = "rate_limit";
|
|
13
|
-
/** The event could not be processed. */
|
|
14
|
-
Status$1["Invalid"] = "invalid";
|
|
15
|
-
/** A server-side error ocurred during submission. */
|
|
16
|
-
Status$1["Failed"] = "failed";
|
|
17
|
-
})(Status || (Status = {}));
|
|
18
|
-
(function(Status$1) {
|
|
19
|
-
/**
|
|
20
|
-
* Converts a HTTP status code into a {@link Status}.
|
|
21
|
-
*
|
|
22
|
-
* @param code The HTTP response status code.
|
|
23
|
-
* @returns The send status or {@link Status.Unknown}.
|
|
24
|
-
*/
|
|
25
|
-
function fromHttpCode(code) {
|
|
26
|
-
if (code >= 200 && code < 300) return Status$1.Success;
|
|
27
|
-
if (code === 429) return Status$1.RateLimit;
|
|
28
|
-
if (code >= 400 && code < 500) return Status$1.Invalid;
|
|
29
|
-
if (code >= 500) return Status$1.Failed;
|
|
30
|
-
return Status$1.Unknown;
|
|
31
|
-
}
|
|
32
|
-
Status$1.fromHttpCode = fromHttpCode;
|
|
33
|
-
})(Status || (Status = {}));
|
|
34
|
-
|
|
35
|
-
//#endregion
|
|
36
|
-
export { Status };
|
|
37
|
-
//# sourceMappingURL=status.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","names":["Status"],"sources":["../../../../../../../node_modules/@sentry/types/esm/status.js"],"sourcesContent":["/** The status of an event. */\nexport var Status;\n(function (Status) {\n /** The status could not be determined. */\n Status[\"Unknown\"] = \"unknown\";\n /** The event was skipped due to configuration or callbacks. */\n Status[\"Skipped\"] = \"skipped\";\n /** The event was sent to Sentry successfully. */\n Status[\"Success\"] = \"success\";\n /** The client is currently rate limited and will try again later. */\n Status[\"RateLimit\"] = \"rate_limit\";\n /** The event could not be processed. */\n Status[\"Invalid\"] = \"invalid\";\n /** A server-side error ocurred during submission. */\n Status[\"Failed\"] = \"failed\";\n})(Status || (Status = {}));\n// tslint:disable:completed-docs\n// tslint:disable:no-unnecessary-qualifier no-namespace\n(function (Status) {\n /**\n * Converts a HTTP status code into a {@link Status}.\n *\n * @param code The HTTP response status code.\n * @returns The send status or {@link Status.Unknown}.\n */\n function fromHttpCode(code) {\n if (code >= 200 && code < 300) {\n return Status.Success;\n }\n if (code === 429) {\n return Status.RateLimit;\n }\n if (code >= 400 && code < 500) {\n return Status.Invalid;\n }\n if (code >= 500) {\n return Status.Failed;\n }\n return Status.Unknown;\n }\n Status.fromHttpCode = fromHttpCode;\n})(Status || (Status = {}));\n//# sourceMappingURL=status.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAW;CACV,SAAU,UAAQ;;AAEf,UAAO,aAAa;;AAEpB,UAAO,aAAa;;AAEpB,UAAO,aAAa;;AAEpB,UAAO,eAAe;;AAEtB,UAAO,aAAa;;AAEpB,UAAO,YAAY;GACpB,WAAW,SAAS,EAAE,EAAE;CAG1B,SAAU,UAAQ;;;;;;;CAOf,SAAS,aAAa,MAAM;AACxB,MAAI,QAAQ,OAAO,OAAO,IACtB,QAAOA,SAAO;AAElB,MAAI,SAAS,IACT,QAAOA,SAAO;AAElB,MAAI,QAAQ,OAAO,OAAO,IACtB,QAAOA,SAAO;AAElB,MAAI,QAAQ,IACR,QAAOA,SAAO;AAElB,SAAOA,SAAO;;AAElB,UAAO,eAAe;GACvB,WAAW,SAAS,EAAE,EAAE"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { __read } from "../node_modules/tslib/tslib.es6.js";
|
|
2
|
-
import { SentryError } from "./error.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/@sentry/utils/esm/dsn.js
|
|
5
|
-
/** Regular expression used to parse a Dsn. */
|
|
6
|
-
var DSN_REGEX = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/;
|
|
7
|
-
/** Error message */
|
|
8
|
-
var ERROR_MESSAGE = "Invalid Dsn";
|
|
9
|
-
/** The Sentry Dsn, identifying a Sentry instance and project. */
|
|
10
|
-
var Dsn = function() {
|
|
11
|
-
/** Creates a new Dsn component */
|
|
12
|
-
function Dsn$1(from) {
|
|
13
|
-
if (typeof from === "string") this._fromString(from);
|
|
14
|
-
else this._fromComponents(from);
|
|
15
|
-
this._validate();
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Renders the string representation of this Dsn.
|
|
19
|
-
*
|
|
20
|
-
* By default, this will render the public representation without the password
|
|
21
|
-
* component. To get the deprecated private _representation, set `withPassword`
|
|
22
|
-
* to true.
|
|
23
|
-
*
|
|
24
|
-
* @param withPassword When set to true, the password will be included.
|
|
25
|
-
*/
|
|
26
|
-
Dsn$1.prototype.toString = function(withPassword) {
|
|
27
|
-
if (withPassword === void 0) withPassword = false;
|
|
28
|
-
var _a = this, host = _a.host, path = _a.path, pass = _a.pass, port = _a.port, projectId = _a.projectId, protocol = _a.protocol, user = _a.user;
|
|
29
|
-
return protocol + "://" + user + (withPassword && pass ? ":" + pass : "") + ("@" + host + (port ? ":" + port : "") + "/" + (path ? path + "/" : path) + projectId);
|
|
30
|
-
};
|
|
31
|
-
/** Parses a string into this Dsn. */
|
|
32
|
-
Dsn$1.prototype._fromString = function(str) {
|
|
33
|
-
var match = DSN_REGEX.exec(str);
|
|
34
|
-
if (!match) throw new SentryError(ERROR_MESSAGE);
|
|
35
|
-
var _a = __read(match.slice(1), 6), protocol = _a[0], user = _a[1], _b = _a[2], pass = _b === void 0 ? "" : _b, host = _a[3], _c = _a[4], port = _c === void 0 ? "" : _c, lastPath = _a[5];
|
|
36
|
-
var path = "";
|
|
37
|
-
var projectId = lastPath;
|
|
38
|
-
var split = projectId.split("/");
|
|
39
|
-
if (split.length > 1) {
|
|
40
|
-
path = split.slice(0, -1).join("/");
|
|
41
|
-
projectId = split.pop();
|
|
42
|
-
}
|
|
43
|
-
this._fromComponents({
|
|
44
|
-
host,
|
|
45
|
-
pass,
|
|
46
|
-
path,
|
|
47
|
-
projectId,
|
|
48
|
-
port,
|
|
49
|
-
protocol,
|
|
50
|
-
user
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
/** Maps Dsn components into this instance. */
|
|
54
|
-
Dsn$1.prototype._fromComponents = function(components) {
|
|
55
|
-
this.protocol = components.protocol;
|
|
56
|
-
this.user = components.user;
|
|
57
|
-
this.pass = components.pass || "";
|
|
58
|
-
this.host = components.host;
|
|
59
|
-
this.port = components.port || "";
|
|
60
|
-
this.path = components.path || "";
|
|
61
|
-
this.projectId = components.projectId;
|
|
62
|
-
};
|
|
63
|
-
/** Validates this Dsn and throws on error. */
|
|
64
|
-
Dsn$1.prototype._validate = function() {
|
|
65
|
-
var _this = this;
|
|
66
|
-
[
|
|
67
|
-
"protocol",
|
|
68
|
-
"user",
|
|
69
|
-
"host",
|
|
70
|
-
"projectId"
|
|
71
|
-
].forEach(function(component) {
|
|
72
|
-
if (!_this[component]) throw new SentryError(ERROR_MESSAGE);
|
|
73
|
-
});
|
|
74
|
-
if (this.protocol !== "http" && this.protocol !== "https") throw new SentryError(ERROR_MESSAGE);
|
|
75
|
-
if (this.port && isNaN(parseInt(this.port, 10))) throw new SentryError(ERROR_MESSAGE);
|
|
76
|
-
};
|
|
77
|
-
return Dsn$1;
|
|
78
|
-
}();
|
|
79
|
-
|
|
80
|
-
//#endregion
|
|
81
|
-
export { Dsn };
|
|
82
|
-
//# sourceMappingURL=dsn.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dsn.js","names":["Dsn","tslib_1.__read"],"sources":["../../../../../../../node_modules/@sentry/utils/esm/dsn.js"],"sourcesContent":["import * as tslib_1 from \"tslib\";\nimport { SentryError } from './error';\n/** Regular expression used to parse a Dsn. */\nvar DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+))?@)([\\w\\.-]+)(?::(\\d+))?\\/(.+)/;\n/** Error message */\nvar ERROR_MESSAGE = 'Invalid Dsn';\n/** The Sentry Dsn, identifying a Sentry instance and project. */\nvar Dsn = /** @class */ (function () {\n /** Creates a new Dsn component */\n function Dsn(from) {\n if (typeof from === 'string') {\n this._fromString(from);\n }\n else {\n this._fromComponents(from);\n }\n this._validate();\n }\n /**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private _representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\n Dsn.prototype.toString = function (withPassword) {\n if (withPassword === void 0) { withPassword = false; }\n // tslint:disable-next-line:no-this-assignment\n var _a = this, host = _a.host, path = _a.path, pass = _a.pass, port = _a.port, projectId = _a.projectId, protocol = _a.protocol, user = _a.user;\n return (protocol + \"://\" + user + (withPassword && pass ? \":\" + pass : '') +\n (\"@\" + host + (port ? \":\" + port : '') + \"/\" + (path ? path + \"/\" : path) + projectId));\n };\n /** Parses a string into this Dsn. */\n Dsn.prototype._fromString = function (str) {\n var match = DSN_REGEX.exec(str);\n if (!match) {\n throw new SentryError(ERROR_MESSAGE);\n }\n var _a = tslib_1.__read(match.slice(1), 6), protocol = _a[0], user = _a[1], _b = _a[2], pass = _b === void 0 ? '' : _b, host = _a[3], _c = _a[4], port = _c === void 0 ? '' : _c, lastPath = _a[5];\n var path = '';\n var projectId = lastPath;\n var split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop();\n }\n this._fromComponents({ host: host, pass: pass, path: path, projectId: projectId, port: port, protocol: protocol, user: user });\n };\n /** Maps Dsn components into this instance. */\n Dsn.prototype._fromComponents = function (components) {\n this.protocol = components.protocol;\n this.user = components.user;\n this.pass = components.pass || '';\n this.host = components.host;\n this.port = components.port || '';\n this.path = components.path || '';\n this.projectId = components.projectId;\n };\n /** Validates this Dsn and throws on error. */\n Dsn.prototype._validate = function () {\n var _this = this;\n ['protocol', 'user', 'host', 'projectId'].forEach(function (component) {\n if (!_this[component]) {\n throw new SentryError(ERROR_MESSAGE);\n }\n });\n if (this.protocol !== 'http' && this.protocol !== 'https') {\n throw new SentryError(ERROR_MESSAGE);\n }\n if (this.port && isNaN(parseInt(this.port, 10))) {\n throw new SentryError(ERROR_MESSAGE);\n }\n };\n return Dsn;\n}());\nexport { Dsn };\n//# sourceMappingURL=dsn.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;AAGA,IAAI,YAAY;;AAEhB,IAAI,gBAAgB;;AAEpB,IAAI,MAAqB,WAAY;;CAEjC,SAASA,MAAI,MAAM;AACf,MAAI,OAAO,SAAS,SAChB,MAAK,YAAY,KAAK;MAGtB,MAAK,gBAAgB,KAAK;AAE9B,OAAK,WAAW;;;;;;;;;;;AAWpB,OAAI,UAAU,WAAW,SAAU,cAAc;AAC7C,MAAI,iBAAiB,KAAK,EAAK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AQ;GAAY,CAAC,QAAQ,SAAU,WAAW;AACnE,OAAI,CAAC,MAAM,WACP,OAAM,IAAI,YAAY,cAAc;IAE1C;AACF,MAAI,KAAK,aAAa,UAAU,KAAK,aAAa,QAC9C,OAAM,IAAI,YAAY,cAAc;AAExC,MAAI,KAAK,QAAQ,MAAM,SAAS,KAAK,MAAM,GAAG,CAAC,CAC3C,OAAM,IAAI,YAAY,cAAc;;AAG5C,QAAOD;GACR"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __extends } from "../node_modules/tslib/tslib.es6.js";
|
|
2
|
-
import { setPrototypeOf } from "./polyfill.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/@sentry/utils/esm/error.js
|
|
5
|
-
/** An error emitted by Sentry SDKs and related utilities. */
|
|
6
|
-
var SentryError = function(_super) {
|
|
7
|
-
__extends(SentryError$1, _super);
|
|
8
|
-
function SentryError$1(message) {
|
|
9
|
-
var _newTarget = this.constructor;
|
|
10
|
-
var _this = _super.call(this, message) || this;
|
|
11
|
-
_this.message = message;
|
|
12
|
-
_this.name = _newTarget.prototype.constructor.name;
|
|
13
|
-
setPrototypeOf(_this, _newTarget.prototype);
|
|
14
|
-
return _this;
|
|
15
|
-
}
|
|
16
|
-
return SentryError$1;
|
|
17
|
-
}(Error);
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { SentryError };
|
|
21
|
-
//# sourceMappingURL=error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","names":["SentryError"],"sources":["../../../../../../../node_modules/@sentry/utils/esm/error.js"],"sourcesContent":["import * as tslib_1 from \"tslib\";\nimport { setPrototypeOf } from './polyfill';\n/** An error emitted by Sentry SDKs and related utilities. */\nvar SentryError = /** @class */ (function (_super) {\n tslib_1.__extends(SentryError, _super);\n function SentryError(message) {\n var _newTarget = this.constructor;\n var _this = _super.call(this, message) || this;\n _this.message = message;\n // tslint:disable:no-unsafe-any\n _this.name = _newTarget.prototype.constructor.name;\n setPrototypeOf(_this, _newTarget.prototype);\n return _this;\n }\n return SentryError;\n}(Error));\nexport { SentryError };\n//# sourceMappingURL=error.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;AAGA,IAAI,cAA6B,SAAU,QAAQ;AAC/C,WAAkBA,eAAa,OAAO;CACtC,SAASA,cAAY,SAAS;EAC1B,IAAI,aAAa,KAAK;EACtB,IAAI,QAAQ,OAAO,KAAK,MAAM,QAAQ,IAAI;AAC1C,QAAM,UAAU;AAEhB,QAAM,OAAO,WAAW,UAAU,YAAY;AAC9C,iBAAe,OAAO,WAAW,UAAU;AAC3C,SAAO;;AAEX,QAAOA;EACT,MAAM"}
|
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
import { __assign, __values } from "../node_modules/tslib/tslib.es6.js";
|
|
2
|
-
import { isInstanceOf, isString } from "./is.js";
|
|
3
|
-
import { getFunctionName, getGlobalObject } from "./misc.js";
|
|
4
|
-
import { logger } from "./logger.js";
|
|
5
|
-
import { fill } from "./object.js";
|
|
6
|
-
import { supportsHistory, supportsNativeFetch } from "./supports.js";
|
|
7
|
-
|
|
8
|
-
//#region ../../node_modules/@sentry/utils/esm/instrument.js
|
|
9
|
-
var global = getGlobalObject();
|
|
10
|
-
/**
|
|
11
|
-
* Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.
|
|
12
|
-
* - Console API
|
|
13
|
-
* - Fetch API
|
|
14
|
-
* - XHR API
|
|
15
|
-
* - History API
|
|
16
|
-
* - DOM API (click/typing)
|
|
17
|
-
*/
|
|
18
|
-
var handlers = {};
|
|
19
|
-
var instrumented = {};
|
|
20
|
-
/** Instruments given API */
|
|
21
|
-
function instrument(type) {
|
|
22
|
-
if (instrumented[type]) return;
|
|
23
|
-
instrumented[type] = true;
|
|
24
|
-
switch (type) {
|
|
25
|
-
case "console":
|
|
26
|
-
instrumentConsole();
|
|
27
|
-
break;
|
|
28
|
-
case "dom":
|
|
29
|
-
instrumentDOM();
|
|
30
|
-
break;
|
|
31
|
-
case "xhr":
|
|
32
|
-
instrumentXHR();
|
|
33
|
-
break;
|
|
34
|
-
case "fetch":
|
|
35
|
-
instrumentFetch();
|
|
36
|
-
break;
|
|
37
|
-
case "history":
|
|
38
|
-
instrumentHistory();
|
|
39
|
-
break;
|
|
40
|
-
default: logger.warn("unknown instrumentation type:", type);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Add handler that will be called when given type of instrumentation triggers.
|
|
45
|
-
* Use at your own risk, this might break without changelog notice, only used internally.
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
function addInstrumentationHandler(handler) {
|
|
49
|
-
if (!handler || typeof handler.type !== "string" || typeof handler.callback !== "function") return;
|
|
50
|
-
handlers[handler.type] = handlers[handler.type] || [];
|
|
51
|
-
handlers[handler.type].push(handler.callback);
|
|
52
|
-
instrument(handler.type);
|
|
53
|
-
}
|
|
54
|
-
/** JSDoc */
|
|
55
|
-
function triggerHandlers(type, data) {
|
|
56
|
-
var e_1, _a;
|
|
57
|
-
if (!type || !handlers[type]) return;
|
|
58
|
-
try {
|
|
59
|
-
for (var _b = __values(handlers[type] || []), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
60
|
-
var handler = _c.value;
|
|
61
|
-
try {
|
|
62
|
-
handler(data);
|
|
63
|
-
} catch (e) {
|
|
64
|
-
logger.error("Error while triggering instrumentation handler.\nType: " + type + "\nName: " + getFunctionName(handler) + "\nError: " + e);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
} catch (e_1_1) {
|
|
68
|
-
e_1 = { error: e_1_1 };
|
|
69
|
-
} finally {
|
|
70
|
-
try {
|
|
71
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
72
|
-
} finally {
|
|
73
|
-
if (e_1) throw e_1.error;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
/** JSDoc */
|
|
78
|
-
function instrumentConsole() {
|
|
79
|
-
if (!("console" in global)) return;
|
|
80
|
-
[
|
|
81
|
-
"debug",
|
|
82
|
-
"info",
|
|
83
|
-
"warn",
|
|
84
|
-
"error",
|
|
85
|
-
"log",
|
|
86
|
-
"assert"
|
|
87
|
-
].forEach(function(level) {
|
|
88
|
-
if (!(level in global.console)) return;
|
|
89
|
-
fill(global.console, level, function(originalConsoleLevel) {
|
|
90
|
-
return function() {
|
|
91
|
-
var args = [];
|
|
92
|
-
for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
|
|
93
|
-
triggerHandlers("console", {
|
|
94
|
-
args,
|
|
95
|
-
level
|
|
96
|
-
});
|
|
97
|
-
if (originalConsoleLevel) Function.prototype.apply.call(originalConsoleLevel, global.console, args);
|
|
98
|
-
};
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
/** JSDoc */
|
|
103
|
-
function instrumentFetch() {
|
|
104
|
-
if (!supportsNativeFetch()) return;
|
|
105
|
-
fill(global, "fetch", function(originalFetch) {
|
|
106
|
-
return function() {
|
|
107
|
-
var args = [];
|
|
108
|
-
for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
|
|
109
|
-
var commonHandlerData = {
|
|
110
|
-
args,
|
|
111
|
-
fetchData: {
|
|
112
|
-
method: getFetchMethod(args),
|
|
113
|
-
url: getFetchUrl(args)
|
|
114
|
-
},
|
|
115
|
-
startTimestamp: Date.now()
|
|
116
|
-
};
|
|
117
|
-
triggerHandlers("fetch", __assign({}, commonHandlerData));
|
|
118
|
-
return originalFetch.apply(global, args).then(function(response) {
|
|
119
|
-
triggerHandlers("fetch", __assign({}, commonHandlerData, {
|
|
120
|
-
endTimestamp: Date.now(),
|
|
121
|
-
response
|
|
122
|
-
}));
|
|
123
|
-
return response;
|
|
124
|
-
}, function(error) {
|
|
125
|
-
triggerHandlers("fetch", __assign({}, commonHandlerData, {
|
|
126
|
-
endTimestamp: Date.now(),
|
|
127
|
-
error
|
|
128
|
-
}));
|
|
129
|
-
throw error;
|
|
130
|
-
});
|
|
131
|
-
};
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
/** Extract `method` from fetch call arguments */
|
|
135
|
-
function getFetchMethod(fetchArgs) {
|
|
136
|
-
if (fetchArgs === void 0) fetchArgs = [];
|
|
137
|
-
if ("Request" in global && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) return String(fetchArgs[0].method).toUpperCase();
|
|
138
|
-
if (fetchArgs[1] && fetchArgs[1].method) return String(fetchArgs[1].method).toUpperCase();
|
|
139
|
-
return "GET";
|
|
140
|
-
}
|
|
141
|
-
/** Extract `url` from fetch call arguments */
|
|
142
|
-
function getFetchUrl(fetchArgs) {
|
|
143
|
-
if (fetchArgs === void 0) fetchArgs = [];
|
|
144
|
-
if (typeof fetchArgs[0] === "string") return fetchArgs[0];
|
|
145
|
-
if ("Request" in global && isInstanceOf(fetchArgs[0], Request)) return fetchArgs[0].url;
|
|
146
|
-
return String(fetchArgs[0]);
|
|
147
|
-
}
|
|
148
|
-
/** JSDoc */
|
|
149
|
-
function instrumentXHR() {
|
|
150
|
-
if (!("XMLHttpRequest" in global)) return;
|
|
151
|
-
var xhrproto = XMLHttpRequest.prototype;
|
|
152
|
-
fill(xhrproto, "open", function(originalOpen) {
|
|
153
|
-
return function() {
|
|
154
|
-
var args = [];
|
|
155
|
-
for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
|
|
156
|
-
var url = args[1];
|
|
157
|
-
this.__sentry_xhr__ = {
|
|
158
|
-
method: isString(args[0]) ? args[0].toUpperCase() : args[0],
|
|
159
|
-
url: args[1]
|
|
160
|
-
};
|
|
161
|
-
if (isString(url) && this.__sentry_xhr__.method === "POST" && url.match(/sentry_key/)) this.__sentry_own_request__ = true;
|
|
162
|
-
return originalOpen.apply(this, args);
|
|
163
|
-
};
|
|
164
|
-
});
|
|
165
|
-
fill(xhrproto, "send", function(originalSend) {
|
|
166
|
-
return function() {
|
|
167
|
-
var args = [];
|
|
168
|
-
for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
|
|
169
|
-
var xhr = this;
|
|
170
|
-
var commonHandlerData = {
|
|
171
|
-
args,
|
|
172
|
-
startTimestamp: Date.now(),
|
|
173
|
-
xhr
|
|
174
|
-
};
|
|
175
|
-
triggerHandlers("xhr", __assign({}, commonHandlerData));
|
|
176
|
-
/**
|
|
177
|
-
* @hidden
|
|
178
|
-
*/
|
|
179
|
-
function onreadystatechangeHandler() {
|
|
180
|
-
if (xhr.readyState === 4) {
|
|
181
|
-
try {
|
|
182
|
-
if (xhr.__sentry_xhr__) xhr.__sentry_xhr__.status_code = xhr.status;
|
|
183
|
-
} catch (e) {}
|
|
184
|
-
triggerHandlers("xhr", __assign({}, commonHandlerData, { endTimestamp: Date.now() }));
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
if ("onreadystatechange" in xhr && typeof xhr.onreadystatechange === "function") fill(xhr, "onreadystatechange", function(original) {
|
|
188
|
-
return function() {
|
|
189
|
-
var readyStateArgs = [];
|
|
190
|
-
for (var _i$1 = 0; _i$1 < arguments.length; _i$1++) readyStateArgs[_i$1] = arguments[_i$1];
|
|
191
|
-
onreadystatechangeHandler();
|
|
192
|
-
return original.apply(xhr, readyStateArgs);
|
|
193
|
-
};
|
|
194
|
-
});
|
|
195
|
-
else xhr.onreadystatechange = onreadystatechangeHandler;
|
|
196
|
-
return originalSend.apply(this, args);
|
|
197
|
-
};
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
var lastHref;
|
|
201
|
-
/** JSDoc */
|
|
202
|
-
function instrumentHistory() {
|
|
203
|
-
if (!supportsHistory()) return;
|
|
204
|
-
var oldOnPopState = global.onpopstate;
|
|
205
|
-
global.onpopstate = function() {
|
|
206
|
-
var args = [];
|
|
207
|
-
for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
|
|
208
|
-
var to = global.location.href;
|
|
209
|
-
var from = lastHref;
|
|
210
|
-
lastHref = to;
|
|
211
|
-
triggerHandlers("history", {
|
|
212
|
-
from,
|
|
213
|
-
to
|
|
214
|
-
});
|
|
215
|
-
if (oldOnPopState) return oldOnPopState.apply(this, args);
|
|
216
|
-
};
|
|
217
|
-
/** @hidden */
|
|
218
|
-
function historyReplacementFunction(originalHistoryFunction) {
|
|
219
|
-
return function() {
|
|
220
|
-
var args = [];
|
|
221
|
-
for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
|
|
222
|
-
var url = args.length > 2 ? args[2] : void 0;
|
|
223
|
-
if (url) {
|
|
224
|
-
var from = lastHref;
|
|
225
|
-
var to = String(url);
|
|
226
|
-
lastHref = to;
|
|
227
|
-
triggerHandlers("history", {
|
|
228
|
-
from,
|
|
229
|
-
to
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
return originalHistoryFunction.apply(this, args);
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
fill(global.history, "pushState", historyReplacementFunction);
|
|
236
|
-
fill(global.history, "replaceState", historyReplacementFunction);
|
|
237
|
-
}
|
|
238
|
-
/** JSDoc */
|
|
239
|
-
function instrumentDOM() {
|
|
240
|
-
if (!("document" in global)) return;
|
|
241
|
-
global.document.addEventListener("click", domEventHandler("click", triggerHandlers.bind(null, "dom")), false);
|
|
242
|
-
global.document.addEventListener("keypress", keypressEventHandler(triggerHandlers.bind(null, "dom")), false);
|
|
243
|
-
["EventTarget", "Node"].forEach(function(target) {
|
|
244
|
-
var proto = global[target] && global[target].prototype;
|
|
245
|
-
if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty("addEventListener")) return;
|
|
246
|
-
fill(proto, "addEventListener", function(original) {
|
|
247
|
-
return function(eventName, fn, options) {
|
|
248
|
-
if (fn && fn.handleEvent) {
|
|
249
|
-
if (eventName === "click") fill(fn, "handleEvent", function(innerOriginal) {
|
|
250
|
-
return function(event) {
|
|
251
|
-
domEventHandler("click", triggerHandlers.bind(null, "dom"))(event);
|
|
252
|
-
return innerOriginal.call(this, event);
|
|
253
|
-
};
|
|
254
|
-
});
|
|
255
|
-
if (eventName === "keypress") fill(fn, "handleEvent", function(innerOriginal) {
|
|
256
|
-
return function(event) {
|
|
257
|
-
keypressEventHandler(triggerHandlers.bind(null, "dom"))(event);
|
|
258
|
-
return innerOriginal.call(this, event);
|
|
259
|
-
};
|
|
260
|
-
});
|
|
261
|
-
} else {
|
|
262
|
-
if (eventName === "click") domEventHandler("click", triggerHandlers.bind(null, "dom"), true)(this);
|
|
263
|
-
if (eventName === "keypress") keypressEventHandler(triggerHandlers.bind(null, "dom"))(this);
|
|
264
|
-
}
|
|
265
|
-
return original.call(this, eventName, fn, options);
|
|
266
|
-
};
|
|
267
|
-
});
|
|
268
|
-
fill(proto, "removeEventListener", function(original) {
|
|
269
|
-
return function(eventName, fn, options) {
|
|
270
|
-
var callback = fn;
|
|
271
|
-
try {
|
|
272
|
-
callback = callback && (callback.__sentry_wrapped__ || callback);
|
|
273
|
-
} catch (e) {}
|
|
274
|
-
return original.call(this, eventName, callback, options);
|
|
275
|
-
};
|
|
276
|
-
});
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
var debounceDuration = 1e3;
|
|
280
|
-
var debounceTimer = 0;
|
|
281
|
-
var keypressTimeout;
|
|
282
|
-
var lastCapturedEvent;
|
|
283
|
-
/**
|
|
284
|
-
* Wraps addEventListener to capture UI breadcrumbs
|
|
285
|
-
* @param name the event name (e.g. "click")
|
|
286
|
-
* @param handler function that will be triggered
|
|
287
|
-
* @param debounce decides whether it should wait till another event loop
|
|
288
|
-
* @returns wrapped breadcrumb events handler
|
|
289
|
-
* @hidden
|
|
290
|
-
*/
|
|
291
|
-
function domEventHandler(name, handler, debounce) {
|
|
292
|
-
if (debounce === void 0) debounce = false;
|
|
293
|
-
return function(event) {
|
|
294
|
-
keypressTimeout = void 0;
|
|
295
|
-
if (!event || lastCapturedEvent === event) return;
|
|
296
|
-
lastCapturedEvent = event;
|
|
297
|
-
if (debounceTimer) clearTimeout(debounceTimer);
|
|
298
|
-
if (debounce) debounceTimer = setTimeout(function() {
|
|
299
|
-
handler({
|
|
300
|
-
event,
|
|
301
|
-
name
|
|
302
|
-
});
|
|
303
|
-
});
|
|
304
|
-
else handler({
|
|
305
|
-
event,
|
|
306
|
-
name
|
|
307
|
-
});
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
/**
|
|
311
|
-
* Wraps addEventListener to capture keypress UI events
|
|
312
|
-
* @param handler function that will be triggered
|
|
313
|
-
* @returns wrapped keypress events handler
|
|
314
|
-
* @hidden
|
|
315
|
-
*/
|
|
316
|
-
function keypressEventHandler(handler) {
|
|
317
|
-
return function(event) {
|
|
318
|
-
var target;
|
|
319
|
-
try {
|
|
320
|
-
target = event.target;
|
|
321
|
-
} catch (e) {
|
|
322
|
-
return;
|
|
323
|
-
}
|
|
324
|
-
var tagName = target && target.tagName;
|
|
325
|
-
if (!tagName || tagName !== "INPUT" && tagName !== "TEXTAREA" && !target.isContentEditable) return;
|
|
326
|
-
if (!keypressTimeout) domEventHandler("input", handler)(event);
|
|
327
|
-
clearTimeout(keypressTimeout);
|
|
328
|
-
keypressTimeout = setTimeout(function() {
|
|
329
|
-
keypressTimeout = void 0;
|
|
330
|
-
}, debounceDuration);
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
//#endregion
|
|
335
|
-
export { addInstrumentationHandler };
|
|
336
|
-
//# sourceMappingURL=instrument.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instrument.js","names":["tslib_1.__values","tslib_1.__assign","_i"],"sources":["../../../../../../../node_modules/@sentry/utils/esm/instrument.js"],"sourcesContent":["/* tslint:disable:only-arrow-functions no-unsafe-any */\nimport * as tslib_1 from \"tslib\";\nimport { isInstanceOf, isString } from './is';\nimport { logger } from './logger';\nimport { getFunctionName, getGlobalObject } from './misc';\nimport { fill } from './object';\nimport { supportsHistory, supportsNativeFetch } from './supports';\nvar global = getGlobalObject();\n/**\n * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.\n * - Console API\n * - Fetch API\n * - XHR API\n * - History API\n * - DOM API (click/typing)\n */\nvar handlers = {};\nvar instrumented = {};\n/** Instruments given API */\nfunction instrument(type) {\n if (instrumented[type]) {\n return;\n }\n instrumented[type] = true;\n switch (type) {\n case 'console':\n instrumentConsole();\n break;\n case 'dom':\n instrumentDOM();\n break;\n case 'xhr':\n instrumentXHR();\n break;\n case 'fetch':\n instrumentFetch();\n break;\n case 'history':\n instrumentHistory();\n break;\n default:\n logger.warn('unknown instrumentation type:', type);\n }\n}\n/**\n * Add handler that will be called when given type of instrumentation triggers.\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nexport function addInstrumentationHandler(handler) {\n // tslint:disable-next-line:strict-type-predicates\n if (!handler || typeof handler.type !== 'string' || typeof handler.callback !== 'function') {\n return;\n }\n handlers[handler.type] = handlers[handler.type] || [];\n handlers[handler.type].push(handler.callback);\n instrument(handler.type);\n}\n/** JSDoc */\nfunction triggerHandlers(type, data) {\n var e_1, _a;\n if (!type || !handlers[type]) {\n return;\n }\n try {\n for (var _b = tslib_1.__values(handlers[type] || []), _c = _b.next(); !_c.done; _c = _b.next()) {\n var handler = _c.value;\n try {\n handler(data);\n }\n catch (e) {\n logger.error(\"Error while triggering instrumentation handler.\\nType: \" + type + \"\\nName: \" + getFunctionName(handler) + \"\\nError: \" + e);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n}\n/** JSDoc */\nfunction instrumentConsole() {\n if (!('console' in global)) {\n return;\n }\n ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level) {\n if (!(level in global.console)) {\n return;\n }\n fill(global.console, level, function (originalConsoleLevel) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n triggerHandlers('console', { args: args, level: level });\n // this fails for some browsers. :(\n if (originalConsoleLevel) {\n Function.prototype.apply.call(originalConsoleLevel, global.console, args);\n }\n };\n });\n });\n}\n/** JSDoc */\nfunction instrumentFetch() {\n if (!supportsNativeFetch()) {\n return;\n }\n fill(global, 'fetch', function (originalFetch) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var commonHandlerData = {\n args: args,\n fetchData: {\n method: getFetchMethod(args),\n url: getFetchUrl(args),\n },\n startTimestamp: Date.now(),\n };\n triggerHandlers('fetch', tslib_1.__assign({}, commonHandlerData));\n return originalFetch.apply(global, args).then(function (response) {\n triggerHandlers('fetch', tslib_1.__assign({}, commonHandlerData, { endTimestamp: Date.now(), response: response }));\n return response;\n }, function (error) {\n triggerHandlers('fetch', tslib_1.__assign({}, commonHandlerData, { endTimestamp: Date.now(), error: error }));\n throw error;\n });\n };\n });\n}\n/** Extract `method` from fetch call arguments */\nfunction getFetchMethod(fetchArgs) {\n if (fetchArgs === void 0) { fetchArgs = []; }\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) {\n return String(fetchArgs[0].method).toUpperCase();\n }\n if (fetchArgs[1] && fetchArgs[1].method) {\n return String(fetchArgs[1].method).toUpperCase();\n }\n return 'GET';\n}\n/** Extract `url` from fetch call arguments */\nfunction getFetchUrl(fetchArgs) {\n if (fetchArgs === void 0) { fetchArgs = []; }\n if (typeof fetchArgs[0] === 'string') {\n return fetchArgs[0];\n }\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request)) {\n return fetchArgs[0].url;\n }\n return String(fetchArgs[0]);\n}\n/** JSDoc */\nfunction instrumentXHR() {\n if (!('XMLHttpRequest' in global)) {\n return;\n }\n var xhrproto = XMLHttpRequest.prototype;\n fill(xhrproto, 'open', function (originalOpen) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var url = args[1];\n this.__sentry_xhr__ = {\n method: isString(args[0]) ? args[0].toUpperCase() : args[0],\n url: args[1],\n };\n // if Sentry key appears in URL, don't capture it as a request\n if (isString(url) && this.__sentry_xhr__.method === 'POST' && url.match(/sentry_key/)) {\n this.__sentry_own_request__ = true;\n }\n return originalOpen.apply(this, args);\n };\n });\n fill(xhrproto, 'send', function (originalSend) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var xhr = this; // tslint:disable-line:no-this-assignment\n var commonHandlerData = {\n args: args,\n startTimestamp: Date.now(),\n xhr: xhr,\n };\n triggerHandlers('xhr', tslib_1.__assign({}, commonHandlerData));\n /**\n * @hidden\n */\n function onreadystatechangeHandler() {\n if (xhr.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n if (xhr.__sentry_xhr__) {\n xhr.__sentry_xhr__.status_code = xhr.status;\n }\n }\n catch (e) {\n /* do nothing */\n }\n triggerHandlers('xhr', tslib_1.__assign({}, commonHandlerData, { endTimestamp: Date.now() }));\n }\n }\n if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') {\n fill(xhr, 'onreadystatechange', function (original) {\n return function () {\n var readyStateArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n readyStateArgs[_i] = arguments[_i];\n }\n onreadystatechangeHandler();\n return original.apply(xhr, readyStateArgs);\n };\n });\n }\n else {\n // if onreadystatechange wasn't actually set by the page on this xhr, we\n // are free to set our own and capture the breadcrumb\n xhr.onreadystatechange = onreadystatechangeHandler;\n }\n return originalSend.apply(this, args);\n };\n });\n}\nvar lastHref;\n/** JSDoc */\nfunction instrumentHistory() {\n if (!supportsHistory()) {\n return;\n }\n var oldOnPopState = global.onpopstate;\n global.onpopstate = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var to = global.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n var from = lastHref;\n lastHref = to;\n triggerHandlers('history', {\n from: from,\n to: to,\n });\n if (oldOnPopState) {\n return oldOnPopState.apply(this, args);\n }\n };\n /** @hidden */\n function historyReplacementFunction(originalHistoryFunction) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n var from = lastHref;\n var to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n triggerHandlers('history', {\n from: from,\n to: to,\n });\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n fill(global.history, 'pushState', historyReplacementFunction);\n fill(global.history, 'replaceState', historyReplacementFunction);\n}\n/** JSDoc */\nfunction instrumentDOM() {\n if (!('document' in global)) {\n return;\n }\n // Capture breadcrumbs from any click that is unhandled / bubbled up all the way\n // to the document. Do this before we instrument addEventListener.\n global.document.addEventListener('click', domEventHandler('click', triggerHandlers.bind(null, 'dom')), false);\n global.document.addEventListener('keypress', keypressEventHandler(triggerHandlers.bind(null, 'dom')), false);\n // After hooking into document bubbled up click and keypresses events, we also hook into user handled click & keypresses.\n ['EventTarget', 'Node'].forEach(function (target) {\n var proto = global[target] && global[target].prototype;\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n fill(proto, 'addEventListener', function (original) {\n return function (eventName, fn, options) {\n if (fn && fn.handleEvent) {\n if (eventName === 'click') {\n fill(fn, 'handleEvent', function (innerOriginal) {\n return function (event) {\n domEventHandler('click', triggerHandlers.bind(null, 'dom'))(event);\n return innerOriginal.call(this, event);\n };\n });\n }\n if (eventName === 'keypress') {\n fill(fn, 'handleEvent', function (innerOriginal) {\n return function (event) {\n keypressEventHandler(triggerHandlers.bind(null, 'dom'))(event);\n return innerOriginal.call(this, event);\n };\n });\n }\n }\n else {\n if (eventName === 'click') {\n domEventHandler('click', triggerHandlers.bind(null, 'dom'), true)(this);\n }\n if (eventName === 'keypress') {\n keypressEventHandler(triggerHandlers.bind(null, 'dom'))(this);\n }\n }\n return original.call(this, eventName, fn, options);\n };\n });\n fill(proto, 'removeEventListener', function (original) {\n return function (eventName, fn, options) {\n var callback = fn;\n try {\n callback = callback && (callback.__sentry_wrapped__ || callback);\n }\n catch (e) {\n // ignore, accessing __sentry_wrapped__ will throw in some Selenium environments\n }\n return original.call(this, eventName, callback, options);\n };\n });\n });\n}\nvar debounceDuration = 1000;\nvar debounceTimer = 0;\nvar keypressTimeout;\nvar lastCapturedEvent;\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param name the event name (e.g. \"click\")\n * @param handler function that will be triggered\n * @param debounce decides whether it should wait till another event loop\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nfunction domEventHandler(name, handler, debounce) {\n if (debounce === void 0) { debounce = false; }\n return function (event) {\n // reset keypress timeout; e.g. triggering a 'click' after\n // a 'keypress' will reset the keypress debounce so that a new\n // set of keypresses can be recorded\n keypressTimeout = undefined;\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors). Ignore if we've\n // already captured the event.\n if (!event || lastCapturedEvent === event) {\n return;\n }\n lastCapturedEvent = event;\n if (debounceTimer) {\n clearTimeout(debounceTimer);\n }\n if (debounce) {\n debounceTimer = setTimeout(function () {\n handler({ event: event, name: name });\n });\n }\n else {\n handler({ event: event, name: name });\n }\n };\n}\n/**\n * Wraps addEventListener to capture keypress UI events\n * @param handler function that will be triggered\n * @returns wrapped keypress events handler\n * @hidden\n */\nfunction keypressEventHandler(handler) {\n // TODO: if somehow user switches keypress target before\n // debounce timeout is triggered, we will only capture\n // a single breadcrumb from the FIRST target (acceptable?)\n return function (event) {\n var target;\n try {\n target = event.target;\n }\n catch (e) {\n // just accessing event properties can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/raven-js/issues/838\n return;\n }\n var tagName = target && target.tagName;\n // only consider keypress events on actual input elements\n // this will disregard keypresses targeting body (e.g. tabbing\n // through elements, hotkeys, etc)\n if (!tagName || (tagName !== 'INPUT' && tagName !== 'TEXTAREA' && !target.isContentEditable)) {\n return;\n }\n // record first keypress in a series, but ignore subsequent\n // keypresses until debounce clears\n if (!keypressTimeout) {\n domEventHandler('input', handler)(event);\n }\n clearTimeout(keypressTimeout);\n keypressTimeout = setTimeout(function () {\n keypressTimeout = undefined;\n }, debounceDuration);\n };\n}\n//# sourceMappingURL=instrument.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAOA,IAAI,SAAS,iBAAiB;;;;;;;;;AAS9B,IAAI,WAAW,EAAE;AACjB,IAAI,eAAe,EAAE;;AAErB,SAAS,WAAW,MAAM;AACtB,KAAI,aAAa,MACb;AAEJ,cAAa,QAAQ;AACrB,SAAQ,MAAR;EACI,KAAK;AACD,sBAAmB;AACnB;EACJ,KAAK;AACD,kBAAe;AACf;EACJ,KAAK;AACD,kBAAe;AACf;EACJ,KAAK;AACD,oBAAiB;AACjB;EACJ,KAAK;AACD,sBAAmB;AACnB;EACJ,QACI,QAAO,KAAK,iCAAiC,KAAK;;;;;;;;AAQ9D,SAAgB,0BAA0B,SAAS;AAE/C,KAAI,CAAC,WAAW,OAAO,QAAQ,SAAS,YAAY,OAAO,QAAQ,aAAa,WAC5E;AAEJ,UAAS,QAAQ,QAAQ,SAAS,QAAQ,SAAS,EAAE;AACrD,UAAS,QAAQ,MAAM,KAAK,QAAQ,SAAS;AAC7C,YAAW,QAAQ,KAAK;;;AAG5B,SAAS,gBAAgB,MAAM,MAAM;CACjC,IAAI,KAAK;AACT,KAAI,CAAC,QAAQ,CAAC,SAAS,MACnB;AAEJ,KAAI;AACA,OAAK,IAAI,KAAKA,SAAiB,SAAS,SAAS,EAAE,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,CAAC,GAAG,MAAM,KAAK,GAAG,MAAM,EAAE;GAC5F,IAAI,UAAU,GAAG;AACjB,OAAI;AACA,YAAQ,KAAK;YAEV,GAAG;AACN,WAAO,MAAM,4DAA4D,OAAO,aAAa,gBAAgB,Q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