@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,565 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_polyfill } from "../../globalthis/polyfill.js";
|
|
3
|
-
import { require_lib as require_lib$1 } from "../../qj/lib/index.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/payment/lib/index.js
|
|
6
|
-
var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
-
(function() {
|
|
8
|
-
var Payment, QJ, cardFromNumber, cardFromType, cards, cursorSafeAssignValue, defaultFormat, formatBackCardNumber, formatBackExpiry, formatCardNumber, formatExpiry, formatForwardExpiry, formatForwardSlash, formatMonthExpiry, globalThis$1, hasTextSelected, luhnCheck, reFormatCardNumber, restrictCVC, restrictCardNumber, restrictCombinedExpiry, restrictExpiry, restrictMonthExpiry, restrictNumeric, restrictYearExpiry, setCardType, indexOf = [].indexOf || function(item) {
|
|
9
|
-
for (var i = 0, l = this.length; i < l; i++) if (i in this && this[i] === item) return i;
|
|
10
|
-
return -1;
|
|
11
|
-
};
|
|
12
|
-
globalThis$1 = require_polyfill()();
|
|
13
|
-
QJ = require_lib$1();
|
|
14
|
-
defaultFormat = /(\d{1,4})/g;
|
|
15
|
-
cards = [
|
|
16
|
-
{
|
|
17
|
-
type: "amex",
|
|
18
|
-
pattern: /^3[47]/,
|
|
19
|
-
format: /(\d{1,4})(\d{1,6})?(\d{1,5})?/,
|
|
20
|
-
length: [15],
|
|
21
|
-
cvcLength: [4],
|
|
22
|
-
luhn: true
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
type: "dankort",
|
|
26
|
-
pattern: /^5019/,
|
|
27
|
-
format: defaultFormat,
|
|
28
|
-
length: [16],
|
|
29
|
-
cvcLength: [3],
|
|
30
|
-
luhn: true
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
type: "dinersclub",
|
|
34
|
-
pattern: /^(36|38|30[0-5])/,
|
|
35
|
-
format: /(\d{1,4})(\d{1,6})?(\d{1,4})?/,
|
|
36
|
-
length: [14],
|
|
37
|
-
cvcLength: [3],
|
|
38
|
-
luhn: true
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
type: "discover",
|
|
42
|
-
pattern: /^(6011|65|64[4-9]|622)/,
|
|
43
|
-
format: defaultFormat,
|
|
44
|
-
length: [16],
|
|
45
|
-
cvcLength: [3],
|
|
46
|
-
luhn: true
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
type: "elo",
|
|
50
|
-
pattern: /^401178|^401179|^431274|^438935|^451416|^457393|^457631|^457632|^504175|^627780|^636297|^636369|^636368|^(506699|5067[0-6]\d|50677[0-8])|^(50900\d|5090[1-9]\d|509[1-9]\d{2})|^65003[1-3]|^(65003[5-9]|65004\d|65005[0-1])|^(65040[5-9]|6504[1-3]\d)|^(65048[5-9]|65049\d|6505[0-2]\d|65053[0-8])|^(65054[1-9]|6505[5-8]\d|65059[0-8])|^(65070\d|65071[0-8])|^65072[0-7]|^(65090[1-9]|65091\d|650920)|^(65165[2-9]|6516[6-7]\d)|^(65500\d|65501\d)|^(65502[1-9]|6550[3-4]\d|65505[0-8])|^(65092[1-9]|65097[0-8])/,
|
|
51
|
-
format: defaultFormat,
|
|
52
|
-
length: [16],
|
|
53
|
-
cvcLength: [3],
|
|
54
|
-
luhn: true
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
type: "hipercard",
|
|
58
|
-
pattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,
|
|
59
|
-
format: defaultFormat,
|
|
60
|
-
length: [
|
|
61
|
-
14,
|
|
62
|
-
15,
|
|
63
|
-
16,
|
|
64
|
-
17,
|
|
65
|
-
18,
|
|
66
|
-
19
|
|
67
|
-
],
|
|
68
|
-
cvcLength: [3],
|
|
69
|
-
luhn: true
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
type: "jcb",
|
|
73
|
-
pattern: /^(308[8-9]|309[0-3]|3094[0]{4}|309[6-9]|310[0-2]|311[2-9]|3120|315[8-9]|333[7-9]|334[0-9]|35)/,
|
|
74
|
-
format: defaultFormat,
|
|
75
|
-
length: [16, 19],
|
|
76
|
-
cvcLength: [3],
|
|
77
|
-
luhn: true
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
type: "laser",
|
|
81
|
-
pattern: /^(6706|6771|6709)/,
|
|
82
|
-
format: defaultFormat,
|
|
83
|
-
length: [
|
|
84
|
-
16,
|
|
85
|
-
17,
|
|
86
|
-
18,
|
|
87
|
-
19
|
|
88
|
-
],
|
|
89
|
-
cvcLength: [3],
|
|
90
|
-
luhn: true
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
type: "maestro",
|
|
94
|
-
pattern: /^(50|5[6-9]|6007|6220|6304|6703|6708|6759|676[1-3])/,
|
|
95
|
-
format: defaultFormat,
|
|
96
|
-
length: [
|
|
97
|
-
12,
|
|
98
|
-
13,
|
|
99
|
-
14,
|
|
100
|
-
15,
|
|
101
|
-
16,
|
|
102
|
-
17,
|
|
103
|
-
18,
|
|
104
|
-
19
|
|
105
|
-
],
|
|
106
|
-
cvcLength: [3],
|
|
107
|
-
luhn: true
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
type: "mastercard",
|
|
111
|
-
pattern: /^(5[1-5]|677189)|^(22[2-9][1-9]|2[3-6]\d{2}|27[0-1]\d|2720)/,
|
|
112
|
-
format: defaultFormat,
|
|
113
|
-
length: [16],
|
|
114
|
-
cvcLength: [3],
|
|
115
|
-
luhn: true
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
type: "mir",
|
|
119
|
-
pattern: /^220[0-4][0-9][0-9]\d{10}$/,
|
|
120
|
-
format: defaultFormat,
|
|
121
|
-
length: [16],
|
|
122
|
-
cvcLength: [3],
|
|
123
|
-
luhn: true
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
type: "troy",
|
|
127
|
-
pattern: /^9792/,
|
|
128
|
-
format: defaultFormat,
|
|
129
|
-
length: [16],
|
|
130
|
-
cvcLength: [3],
|
|
131
|
-
luhn: true
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
type: "unionpay",
|
|
135
|
-
pattern: /^62/,
|
|
136
|
-
format: defaultFormat,
|
|
137
|
-
length: [
|
|
138
|
-
16,
|
|
139
|
-
17,
|
|
140
|
-
18,
|
|
141
|
-
19
|
|
142
|
-
],
|
|
143
|
-
cvcLength: [3],
|
|
144
|
-
luhn: false
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
type: "visaelectron",
|
|
148
|
-
pattern: /^4(026|17500|405|508|844|91[37])/,
|
|
149
|
-
format: defaultFormat,
|
|
150
|
-
length: [16],
|
|
151
|
-
cvcLength: [3],
|
|
152
|
-
luhn: true
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
type: "visa",
|
|
156
|
-
pattern: /^4/,
|
|
157
|
-
format: defaultFormat,
|
|
158
|
-
length: [13, 16],
|
|
159
|
-
cvcLength: [3],
|
|
160
|
-
luhn: true
|
|
161
|
-
}
|
|
162
|
-
];
|
|
163
|
-
cardFromNumber = function(num) {
|
|
164
|
-
var card, foundCard, j, len, match;
|
|
165
|
-
num = (num + "").replace(/\D/g, "");
|
|
166
|
-
foundCard = void 0;
|
|
167
|
-
for (j = 0, len = cards.length; j < len; j++) {
|
|
168
|
-
card = cards[j];
|
|
169
|
-
if (match = num.match(card.pattern)) {
|
|
170
|
-
if (!foundCard || match[0].length > foundCard[1][0].length) foundCard = [card, match];
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
return foundCard && foundCard[0];
|
|
174
|
-
};
|
|
175
|
-
cardFromType = function(type) {
|
|
176
|
-
var card, j, len;
|
|
177
|
-
for (j = 0, len = cards.length; j < len; j++) {
|
|
178
|
-
card = cards[j];
|
|
179
|
-
if (card.type === type) return card;
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
luhnCheck = function(num) {
|
|
183
|
-
var digit, digits, j, len, odd = true, sum = 0;
|
|
184
|
-
digits = (num + "").split("").reverse();
|
|
185
|
-
for (j = 0, len = digits.length; j < len; j++) {
|
|
186
|
-
digit = digits[j];
|
|
187
|
-
digit = parseInt(digit, 10);
|
|
188
|
-
if (odd = !odd) digit *= 2;
|
|
189
|
-
if (digit > 9) digit -= 9;
|
|
190
|
-
sum += digit;
|
|
191
|
-
}
|
|
192
|
-
return sum % 10 === 0;
|
|
193
|
-
};
|
|
194
|
-
hasTextSelected = function(target) {
|
|
195
|
-
var ref;
|
|
196
|
-
try {
|
|
197
|
-
if (target.selectionStart != null && target.selectionStart !== target.selectionEnd) return true;
|
|
198
|
-
if ((typeof document !== "undefined" && document !== null ? (ref = document.selection) != null ? ref.createRange : void 0 : void 0) != null) {
|
|
199
|
-
if (document.selection.createRange().text) return true;
|
|
200
|
-
}
|
|
201
|
-
} catch (error) {}
|
|
202
|
-
return false;
|
|
203
|
-
};
|
|
204
|
-
reFormatCardNumber = function(e) {
|
|
205
|
-
return setTimeout((function(_this) {
|
|
206
|
-
return function() {
|
|
207
|
-
var target = e.target, value = QJ.val(target);
|
|
208
|
-
value = Payment.fns.formatCardNumber(value);
|
|
209
|
-
cursorSafeAssignValue(target, value);
|
|
210
|
-
return QJ.trigger(target, "change");
|
|
211
|
-
};
|
|
212
|
-
})(this));
|
|
213
|
-
};
|
|
214
|
-
formatCardNumber = function(maxLength) {
|
|
215
|
-
return function(e) {
|
|
216
|
-
var card, digit, i, j, len, length, re, target, upperLength, upperLengths, value;
|
|
217
|
-
if (e.which > 0) {
|
|
218
|
-
digit = String.fromCharCode(e.which);
|
|
219
|
-
value = QJ.val(e.target) + digit;
|
|
220
|
-
} else {
|
|
221
|
-
digit = e.data;
|
|
222
|
-
value = QJ.val(e.target);
|
|
223
|
-
}
|
|
224
|
-
if (!/^\d+$/.test(digit)) return;
|
|
225
|
-
target = e.target;
|
|
226
|
-
card = cardFromNumber(value);
|
|
227
|
-
length = value.replace(/\D/g, "").length;
|
|
228
|
-
upperLengths = [16];
|
|
229
|
-
if (card) upperLengths = card.length;
|
|
230
|
-
if (maxLength) upperLengths = upperLengths.filter(function(x) {
|
|
231
|
-
return x <= maxLength;
|
|
232
|
-
});
|
|
233
|
-
for (i = j = 0, len = upperLengths.length; j < len; i = ++j) {
|
|
234
|
-
upperLength = upperLengths[i];
|
|
235
|
-
if (length >= upperLength && upperLengths[i + 1]) continue;
|
|
236
|
-
if (length >= upperLength) return;
|
|
237
|
-
}
|
|
238
|
-
if (hasTextSelected(target)) return;
|
|
239
|
-
if (card && card.type === "amex") re = /^(\d{4}|\d{4}\s\d{6})$/;
|
|
240
|
-
else re = /(?:^|\s)(\d{4})$/;
|
|
241
|
-
value = value.substring(0, value.length - 1);
|
|
242
|
-
if (re.test(value)) {
|
|
243
|
-
e.preventDefault();
|
|
244
|
-
QJ.val(target, value + " " + digit);
|
|
245
|
-
return QJ.trigger(target, "change");
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
formatBackCardNumber = function(e) {
|
|
250
|
-
var target = e.target, value = QJ.val(target);
|
|
251
|
-
if (e.meta) return;
|
|
252
|
-
if (e.which !== 8) return;
|
|
253
|
-
if (hasTextSelected(target)) return;
|
|
254
|
-
if (/\d\s$/.test(value)) {
|
|
255
|
-
e.preventDefault();
|
|
256
|
-
QJ.val(target, value.replace(/\d\s$/, ""));
|
|
257
|
-
return QJ.trigger(target, "change");
|
|
258
|
-
} else if (/\s\d?$/.test(value)) {
|
|
259
|
-
e.preventDefault();
|
|
260
|
-
QJ.val(target, value.replace(/\s\d?$/, ""));
|
|
261
|
-
return QJ.trigger(target, "change");
|
|
262
|
-
}
|
|
263
|
-
};
|
|
264
|
-
formatExpiry = function(e) {
|
|
265
|
-
var digit, target = e.target, val;
|
|
266
|
-
if (e.which > 0) {
|
|
267
|
-
digit = String.fromCharCode(e.which);
|
|
268
|
-
val = QJ.val(target) + digit;
|
|
269
|
-
} else {
|
|
270
|
-
digit = e.data;
|
|
271
|
-
val = QJ.val(target);
|
|
272
|
-
}
|
|
273
|
-
if (!/^\d+$/.test(digit)) return;
|
|
274
|
-
if (/^\d$/.test(val) && val !== "0" && val !== "1") {
|
|
275
|
-
e.preventDefault();
|
|
276
|
-
QJ.val(target, "0" + val + " / ");
|
|
277
|
-
return QJ.trigger(target, "change");
|
|
278
|
-
} else if (/^\d\d$/.test(val)) {
|
|
279
|
-
e.preventDefault();
|
|
280
|
-
QJ.val(target, val + " / ");
|
|
281
|
-
return QJ.trigger(target, "change");
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
formatMonthExpiry = function(e) {
|
|
285
|
-
var digit = String.fromCharCode(e.which), target, val;
|
|
286
|
-
if (!/^\d+$/.test(digit)) return;
|
|
287
|
-
target = e.target;
|
|
288
|
-
val = QJ.val(target) + digit;
|
|
289
|
-
if (/^\d$/.test(val) && val !== "0" && val !== "1") {
|
|
290
|
-
e.preventDefault();
|
|
291
|
-
QJ.val(target, "0" + val);
|
|
292
|
-
return QJ.trigger(target, "change");
|
|
293
|
-
} else if (/^\d\d$/.test(val)) {
|
|
294
|
-
e.preventDefault();
|
|
295
|
-
QJ.val(target, "" + val);
|
|
296
|
-
return QJ.trigger(target, "change");
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
formatForwardExpiry = function(e) {
|
|
300
|
-
var digit = String.fromCharCode(e.which), target, val;
|
|
301
|
-
if (!/^\d+$/.test(digit)) return;
|
|
302
|
-
target = e.target;
|
|
303
|
-
val = QJ.val(target);
|
|
304
|
-
if (/^\d\d$/.test(val)) {
|
|
305
|
-
QJ.val(target, val + " / ");
|
|
306
|
-
return QJ.trigger(target, "change");
|
|
307
|
-
}
|
|
308
|
-
};
|
|
309
|
-
formatForwardSlash = function(e) {
|
|
310
|
-
var slash = String.fromCharCode(e.which), target, val;
|
|
311
|
-
if (slash !== "/") return;
|
|
312
|
-
target = e.target;
|
|
313
|
-
val = QJ.val(target);
|
|
314
|
-
if (/^\d$/.test(val) && val !== "0") {
|
|
315
|
-
QJ.val(target, "0" + val + " / ");
|
|
316
|
-
return QJ.trigger(target, "change");
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
formatBackExpiry = function(e) {
|
|
320
|
-
var target, value;
|
|
321
|
-
if (e.metaKey) return;
|
|
322
|
-
target = e.target;
|
|
323
|
-
value = QJ.val(target);
|
|
324
|
-
if (e.which !== 8) return;
|
|
325
|
-
if (hasTextSelected(target)) return;
|
|
326
|
-
if (/\d(\s|\/)+$/.test(value)) {
|
|
327
|
-
e.preventDefault();
|
|
328
|
-
QJ.val(target, value.replace(/\d(\s|\/)*$/, ""));
|
|
329
|
-
return QJ.trigger(target, "change");
|
|
330
|
-
} else if (/\s\/\s?\d?$/.test(value)) {
|
|
331
|
-
e.preventDefault();
|
|
332
|
-
QJ.val(target, value.replace(/\s\/\s?\d?$/, ""));
|
|
333
|
-
return QJ.trigger(target, "change");
|
|
334
|
-
}
|
|
335
|
-
};
|
|
336
|
-
restrictNumeric = function(e) {
|
|
337
|
-
var input;
|
|
338
|
-
if (e.metaKey || e.ctrlKey) return true;
|
|
339
|
-
if (e.which === 32) return e.preventDefault();
|
|
340
|
-
if (e.which === 0) return true;
|
|
341
|
-
if (e.which < 33) return true;
|
|
342
|
-
input = String.fromCharCode(e.which);
|
|
343
|
-
if (!/[\d\s]/.test(input)) return e.preventDefault();
|
|
344
|
-
};
|
|
345
|
-
restrictCardNumber = function(maxLength) {
|
|
346
|
-
return function(e) {
|
|
347
|
-
var card, digit, length, target = e.target, value;
|
|
348
|
-
digit = String.fromCharCode(e.which);
|
|
349
|
-
if (!/^\d+$/.test(digit)) return;
|
|
350
|
-
if (hasTextSelected(target)) return;
|
|
351
|
-
value = (QJ.val(target) + digit).replace(/\D/g, "");
|
|
352
|
-
card = cardFromNumber(value);
|
|
353
|
-
length = 16;
|
|
354
|
-
if (card) length = card.length[card.length.length - 1];
|
|
355
|
-
if (maxLength) length = Math.min(length, maxLength);
|
|
356
|
-
if (!(value.length <= length)) return e.preventDefault();
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
restrictExpiry = function(e, length) {
|
|
360
|
-
var digit, target = e.target, value;
|
|
361
|
-
digit = String.fromCharCode(e.which);
|
|
362
|
-
if (!/^\d+$/.test(digit)) return;
|
|
363
|
-
if (hasTextSelected(target)) return;
|
|
364
|
-
value = QJ.val(target) + digit;
|
|
365
|
-
value = value.replace(/\D/g, "");
|
|
366
|
-
if (value.length > length) return e.preventDefault();
|
|
367
|
-
};
|
|
368
|
-
restrictCombinedExpiry = function(e) {
|
|
369
|
-
return restrictExpiry(e, 6);
|
|
370
|
-
};
|
|
371
|
-
restrictMonthExpiry = function(e) {
|
|
372
|
-
return restrictExpiry(e, 2);
|
|
373
|
-
};
|
|
374
|
-
restrictYearExpiry = function(e) {
|
|
375
|
-
return restrictExpiry(e, 4);
|
|
376
|
-
};
|
|
377
|
-
restrictCVC = function(e) {
|
|
378
|
-
var digit, target = e.target, val;
|
|
379
|
-
digit = String.fromCharCode(e.which);
|
|
380
|
-
if (!/^\d+$/.test(digit)) return;
|
|
381
|
-
if (hasTextSelected(target)) return;
|
|
382
|
-
val = QJ.val(target) + digit;
|
|
383
|
-
if (!(val.length <= 4)) return e.preventDefault();
|
|
384
|
-
};
|
|
385
|
-
setCardType = function(e) {
|
|
386
|
-
var allTypes, card, cardType, target = e.target, val = QJ.val(target);
|
|
387
|
-
cardType = Payment.fns.cardType(val) || "unknown";
|
|
388
|
-
if (!QJ.hasClass(target, cardType)) {
|
|
389
|
-
allTypes = (function() {
|
|
390
|
-
var j, len, results = [];
|
|
391
|
-
for (j = 0, len = cards.length; j < len; j++) {
|
|
392
|
-
card = cards[j];
|
|
393
|
-
results.push(card.type);
|
|
394
|
-
}
|
|
395
|
-
return results;
|
|
396
|
-
})();
|
|
397
|
-
QJ.removeClass(target, "unknown");
|
|
398
|
-
QJ.removeClass(target, allTypes.join(" "));
|
|
399
|
-
QJ.addClass(target, cardType);
|
|
400
|
-
QJ.toggleClass(target, "identified", cardType !== "unknown");
|
|
401
|
-
return QJ.trigger(target, "payment.cardType", cardType);
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
cursorSafeAssignValue = function(target, value) {
|
|
405
|
-
var selectionEnd = target.selectionEnd;
|
|
406
|
-
QJ.val(target, value);
|
|
407
|
-
if (selectionEnd) return target.selectionEnd = selectionEnd;
|
|
408
|
-
};
|
|
409
|
-
Payment = (function() {
|
|
410
|
-
function Payment$1() {}
|
|
411
|
-
Payment$1.J = QJ;
|
|
412
|
-
Payment$1.fns = {
|
|
413
|
-
cardExpiryVal: function(value) {
|
|
414
|
-
var month, prefix, ref, year;
|
|
415
|
-
value = value.replace(/\s/g, "");
|
|
416
|
-
ref = value.split("/", 2), month = ref[0], year = ref[1];
|
|
417
|
-
if ((year != null ? year.length : void 0) === 2 && /^\d+$/.test(year)) {
|
|
418
|
-
prefix = (/* @__PURE__ */ new Date()).getFullYear();
|
|
419
|
-
prefix = prefix.toString().slice(0, 2);
|
|
420
|
-
year = prefix + year;
|
|
421
|
-
}
|
|
422
|
-
month = parseInt(month, 10);
|
|
423
|
-
year = parseInt(year, 10);
|
|
424
|
-
return {
|
|
425
|
-
month,
|
|
426
|
-
year
|
|
427
|
-
};
|
|
428
|
-
},
|
|
429
|
-
validateCardNumber: function(num) {
|
|
430
|
-
var card, ref;
|
|
431
|
-
num = (num + "").replace(/\s+|-/g, "");
|
|
432
|
-
if (!/^\d+$/.test(num)) return false;
|
|
433
|
-
card = cardFromNumber(num);
|
|
434
|
-
if (!card) return false;
|
|
435
|
-
return (ref = num.length, indexOf.call(card.length, ref) >= 0) && (card.luhn === false || luhnCheck(num));
|
|
436
|
-
},
|
|
437
|
-
validateCardExpiry: function(month, year) {
|
|
438
|
-
var currentTime, expiry, prefix, ref, ref1;
|
|
439
|
-
if (typeof month === "object" && "month" in month) ref = month, month = ref.month, year = ref.year;
|
|
440
|
-
else if (typeof month === "string" && indexOf.call(month, "/") >= 0) ref1 = Payment$1.fns.cardExpiryVal(month), month = ref1.month, year = ref1.year;
|
|
441
|
-
if (!(month && year)) return false;
|
|
442
|
-
month = QJ.trim(month);
|
|
443
|
-
year = QJ.trim(year);
|
|
444
|
-
if (!/^\d+$/.test(month)) return false;
|
|
445
|
-
if (!/^\d+$/.test(year)) return false;
|
|
446
|
-
month = parseInt(month, 10);
|
|
447
|
-
if (!(month && month <= 12)) return false;
|
|
448
|
-
if (year.length === 2) {
|
|
449
|
-
prefix = (/* @__PURE__ */ new Date()).getFullYear();
|
|
450
|
-
prefix = prefix.toString().slice(0, 2);
|
|
451
|
-
year = prefix + year;
|
|
452
|
-
}
|
|
453
|
-
expiry = new Date(year, month);
|
|
454
|
-
currentTime = /* @__PURE__ */ new Date();
|
|
455
|
-
expiry.setMonth(expiry.getMonth() - 1);
|
|
456
|
-
expiry.setMonth(expiry.getMonth() + 1, 1);
|
|
457
|
-
return expiry > currentTime;
|
|
458
|
-
},
|
|
459
|
-
validateCardCVC: function(cvc, type) {
|
|
460
|
-
var ref, ref1;
|
|
461
|
-
cvc = QJ.trim(cvc);
|
|
462
|
-
if (!/^\d+$/.test(cvc)) return false;
|
|
463
|
-
if (type && cardFromType(type)) return ref = cvc.length, indexOf.call((ref1 = cardFromType(type)) != null ? ref1.cvcLength : void 0, ref) >= 0;
|
|
464
|
-
else return cvc.length >= 3 && cvc.length <= 4;
|
|
465
|
-
},
|
|
466
|
-
cardType: function(num) {
|
|
467
|
-
var ref;
|
|
468
|
-
if (!num) return null;
|
|
469
|
-
return ((ref = cardFromNumber(num)) != null ? ref.type : void 0) || null;
|
|
470
|
-
},
|
|
471
|
-
formatCardNumber: function(num) {
|
|
472
|
-
var card = cardFromNumber(num), groups, ref, upperLength;
|
|
473
|
-
if (!card) return num;
|
|
474
|
-
upperLength = card.length[card.length.length - 1];
|
|
475
|
-
num = num.replace(/\D/g, "");
|
|
476
|
-
num = num.slice(0, upperLength);
|
|
477
|
-
if (card.format.global) return (ref = num.match(card.format)) != null ? ref.join(" ") : void 0;
|
|
478
|
-
else {
|
|
479
|
-
groups = card.format.exec(num);
|
|
480
|
-
if (groups == null) return;
|
|
481
|
-
groups.shift();
|
|
482
|
-
groups = groups.filter(function(n) {
|
|
483
|
-
return n;
|
|
484
|
-
});
|
|
485
|
-
return groups.join(" ");
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
Payment$1.restrictNumeric = function(el) {
|
|
490
|
-
QJ.on(el, "keypress", restrictNumeric);
|
|
491
|
-
return QJ.on(el, "input", restrictNumeric);
|
|
492
|
-
};
|
|
493
|
-
Payment$1.cardExpiryVal = function(el) {
|
|
494
|
-
return Payment$1.fns.cardExpiryVal(QJ.val(el));
|
|
495
|
-
};
|
|
496
|
-
Payment$1.formatCardCVC = function(el) {
|
|
497
|
-
Payment$1.restrictNumeric(el);
|
|
498
|
-
QJ.on(el, "keypress", restrictCVC);
|
|
499
|
-
QJ.on(el, "input", restrictCVC);
|
|
500
|
-
return el;
|
|
501
|
-
};
|
|
502
|
-
Payment$1.formatCardExpiry = function(el) {
|
|
503
|
-
var month, year;
|
|
504
|
-
Payment$1.restrictNumeric(el);
|
|
505
|
-
if (el.length && el.length === 2) {
|
|
506
|
-
month = el[0], year = el[1];
|
|
507
|
-
this.formatCardExpiryMultiple(month, year);
|
|
508
|
-
} else {
|
|
509
|
-
QJ.on(el, "keypress", restrictCombinedExpiry);
|
|
510
|
-
QJ.on(el, "keypress", formatExpiry);
|
|
511
|
-
QJ.on(el, "keypress", formatForwardSlash);
|
|
512
|
-
QJ.on(el, "keypress", formatForwardExpiry);
|
|
513
|
-
QJ.on(el, "keydown", formatBackExpiry);
|
|
514
|
-
QJ.on(el, "input", formatExpiry);
|
|
515
|
-
}
|
|
516
|
-
return el;
|
|
517
|
-
};
|
|
518
|
-
Payment$1.formatCardExpiryMultiple = function(month, year) {
|
|
519
|
-
QJ.on(month, "keypress", restrictMonthExpiry);
|
|
520
|
-
QJ.on(month, "keypress", formatMonthExpiry);
|
|
521
|
-
QJ.on(month, "input", formatMonthExpiry);
|
|
522
|
-
QJ.on(year, "keypress", restrictYearExpiry);
|
|
523
|
-
return QJ.on(year, "input", restrictYearExpiry);
|
|
524
|
-
};
|
|
525
|
-
Payment$1.formatCardNumber = function(el, maxLength) {
|
|
526
|
-
Payment$1.restrictNumeric(el);
|
|
527
|
-
QJ.on(el, "keypress", restrictCardNumber(maxLength));
|
|
528
|
-
QJ.on(el, "keypress", formatCardNumber(maxLength));
|
|
529
|
-
QJ.on(el, "keydown", formatBackCardNumber);
|
|
530
|
-
QJ.on(el, "keyup blur", setCardType);
|
|
531
|
-
QJ.on(el, "blur", formatCardNumber(maxLength));
|
|
532
|
-
QJ.on(el, "paste", reFormatCardNumber);
|
|
533
|
-
QJ.on(el, "input", formatCardNumber(maxLength));
|
|
534
|
-
return el;
|
|
535
|
-
};
|
|
536
|
-
Payment$1.getCardArray = function() {
|
|
537
|
-
return cards;
|
|
538
|
-
};
|
|
539
|
-
Payment$1.setCardArray = function(cardArray) {
|
|
540
|
-
cards = cardArray;
|
|
541
|
-
return true;
|
|
542
|
-
};
|
|
543
|
-
Payment$1.addToCardArray = function(cardObject) {
|
|
544
|
-
return cards.push(cardObject);
|
|
545
|
-
};
|
|
546
|
-
Payment$1.removeFromCardArray = function(type) {
|
|
547
|
-
var key, value;
|
|
548
|
-
for (key in cards) {
|
|
549
|
-
value = cards[key];
|
|
550
|
-
if (value.type === type) cards.splice(key, 1);
|
|
551
|
-
}
|
|
552
|
-
return true;
|
|
553
|
-
};
|
|
554
|
-
return Payment$1;
|
|
555
|
-
})();
|
|
556
|
-
module.exports = Payment;
|
|
557
|
-
globalThis$1.Payment = Payment;
|
|
558
|
-
}).call(exports);
|
|
559
|
-
}));
|
|
560
|
-
|
|
561
|
-
//#endregion
|
|
562
|
-
export default require_lib();
|
|
563
|
-
|
|
564
|
-
export { require_lib };
|
|
565
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["globalThis","Payment"],"sources":["../../../../../../node_modules/payment/lib/index.js"],"sourcesContent":["// Generated by CoffeeScript 1.12.7\n(function() {\n var Payment, QJ, cardFromNumber, cardFromType, cards, cursorSafeAssignValue, defaultFormat, formatBackCardNumber, formatBackExpiry, formatCardNumber, formatExpiry, formatForwardExpiry, formatForwardSlash, formatMonthExpiry, globalThis, hasTextSelected, luhnCheck, reFormatCardNumber, restrictCVC, restrictCardNumber, restrictCombinedExpiry, restrictExpiry, restrictMonthExpiry, restrictNumeric, restrictYearExpiry, setCardType,\n indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\n globalThis = require('globalthis/polyfill')();\n\n QJ = require('qj');\n\n defaultFormat = /(\\d{1,4})/g;\n\n cards = [\n {\n type: 'amex',\n pattern: /^3[47]/,\n format: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n length: [15],\n cvcLength: [4],\n luhn: true\n }, {\n type: 'dankort',\n pattern: /^5019/,\n format: defaultFormat,\n length: [16],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'dinersclub',\n pattern: /^(36|38|30[0-5])/,\n format: /(\\d{1,4})(\\d{1,6})?(\\d{1,4})?/,\n length: [14],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'discover',\n pattern: /^(6011|65|64[4-9]|622)/,\n format: defaultFormat,\n length: [16],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'elo',\n pattern: /^401178|^401179|^431274|^438935|^451416|^457393|^457631|^457632|^504175|^627780|^636297|^636369|^636368|^(506699|5067[0-6]\\d|50677[0-8])|^(50900\\d|5090[1-9]\\d|509[1-9]\\d{2})|^65003[1-3]|^(65003[5-9]|65004\\d|65005[0-1])|^(65040[5-9]|6504[1-3]\\d)|^(65048[5-9]|65049\\d|6505[0-2]\\d|65053[0-8])|^(65054[1-9]|6505[5-8]\\d|65059[0-8])|^(65070\\d|65071[0-8])|^65072[0-7]|^(65090[1-9]|65091\\d|650920)|^(65165[2-9]|6516[6-7]\\d)|^(65500\\d|65501\\d)|^(65502[1-9]|6550[3-4]\\d|65505[0-8])|^(65092[1-9]|65097[0-8])/,\n format: defaultFormat,\n length: [16],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'hipercard',\n pattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n format: defaultFormat,\n length: [14, 15, 16, 17, 18, 19],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'jcb',\n pattern: /^(308[8-9]|309[0-3]|3094[0]{4}|309[6-9]|310[0-2]|311[2-9]|3120|315[8-9]|333[7-9]|334[0-9]|35)/,\n format: defaultFormat,\n length: [16, 19],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'laser',\n pattern: /^(6706|6771|6709)/,\n format: defaultFormat,\n length: [16, 17, 18, 19],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'maestro',\n pattern: /^(50|5[6-9]|6007|6220|6304|6703|6708|6759|676[1-3])/,\n format: defaultFormat,\n length: [12, 13, 14, 15, 16, 17, 18, 19],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'mastercard',\n pattern: /^(5[1-5]|677189)|^(22[2-9][1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n format: defaultFormat,\n length: [16],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'mir',\n pattern: /^220[0-4][0-9][0-9]\\d{10}$/,\n format: defaultFormat,\n length: [16],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'troy',\n pattern: /^9792/,\n format: defaultFormat,\n length: [16],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'unionpay',\n pattern: /^62/,\n format: defaultFormat,\n length: [16, 17, 18, 19],\n cvcLength: [3],\n luhn: false\n }, {\n type: 'visaelectron',\n pattern: /^4(026|17500|405|508|844|91[37])/,\n format: defaultFormat,\n length: [16],\n cvcLength: [3],\n luhn: true\n }, {\n type: 'visa',\n pattern: /^4/,\n format: defaultFormat,\n length: [13, 16],\n cvcLength: [3],\n luhn: true\n }\n ];\n\n cardFromNumber = function(num) {\n var card, foundCard, j, len, match;\n num = (num + '').replace(/\\D/g, '');\n foundCard = void 0;\n for (j = 0, len = cards.length; j < len; j++) {\n card = cards[j];\n if (match = num.match(card.pattern)) {\n if (!foundCard || match[0].length > foundCard[1][0].length) {\n foundCard = [card, match];\n }\n }\n }\n return foundCard && foundCard[0];\n };\n\n cardFromType = function(type) {\n var card, j, len;\n for (j = 0, len = cards.length; j < len; j++) {\n card = cards[j];\n if (card.type === type) {\n return card;\n }\n }\n };\n\n luhnCheck = function(num) {\n var digit, digits, j, len, odd, sum;\n odd = true;\n sum = 0;\n digits = (num + '').split('').reverse();\n for (j = 0, len = digits.length; j < len; j++) {\n digit = digits[j];\n digit = parseInt(digit, 10);\n if ((odd = !odd)) {\n digit *= 2;\n }\n if (digit > 9) {\n digit -= 9;\n }\n sum += digit;\n }\n return sum % 10 === 0;\n };\n\n hasTextSelected = function(target) {\n var e, ref;\n try {\n if ((target.selectionStart != null) && target.selectionStart !== target.selectionEnd) {\n return true;\n }\n if ((typeof document !== \"undefined\" && document !== null ? (ref = document.selection) != null ? ref.createRange : void 0 : void 0) != null) {\n if (document.selection.createRange().text) {\n return true;\n }\n }\n } catch (error) {\n e = error;\n }\n return false;\n };\n\n reFormatCardNumber = function(e) {\n return setTimeout((function(_this) {\n return function() {\n var target, value;\n target = e.target;\n value = QJ.val(target);\n value = Payment.fns.formatCardNumber(value);\n cursorSafeAssignValue(target, value);\n return QJ.trigger(target, 'change');\n };\n })(this));\n };\n\n formatCardNumber = function(maxLength) {\n return function(e) {\n var card, digit, i, j, len, length, re, target, upperLength, upperLengths, value;\n if (e.which > 0) {\n digit = String.fromCharCode(e.which);\n value = QJ.val(e.target) + digit;\n } else {\n digit = e.data;\n value = QJ.val(e.target);\n }\n if (!/^\\d+$/.test(digit)) {\n return;\n }\n target = e.target;\n card = cardFromNumber(value);\n length = (value.replace(/\\D/g, '')).length;\n upperLengths = [16];\n if (card) {\n upperLengths = card.length;\n }\n if (maxLength) {\n upperLengths = upperLengths.filter(function(x) {\n return x <= maxLength;\n });\n }\n for (i = j = 0, len = upperLengths.length; j < len; i = ++j) {\n upperLength = upperLengths[i];\n if (length >= upperLength && upperLengths[i + 1]) {\n continue;\n }\n if (length >= upperLength) {\n return;\n }\n }\n if (hasTextSelected(target)) {\n return;\n }\n if (card && card.type === 'amex') {\n re = /^(\\d{4}|\\d{4}\\s\\d{6})$/;\n } else {\n re = /(?:^|\\s)(\\d{4})$/;\n }\n value = value.substring(0, value.length - 1);\n if (re.test(value)) {\n e.preventDefault();\n QJ.val(target, value + ' ' + digit);\n return QJ.trigger(target, 'change');\n }\n };\n };\n\n formatBackCardNumber = function(e) {\n var target, value;\n target = e.target;\n value = QJ.val(target);\n if (e.meta) {\n return;\n }\n if (e.which !== 8) {\n return;\n }\n if (hasTextSelected(target)) {\n return;\n }\n if (/\\d\\s$/.test(value)) {\n e.preventDefault();\n QJ.val(target, value.replace(/\\d\\s$/, ''));\n return QJ.trigger(target, 'change');\n } else if (/\\s\\d?$/.test(value)) {\n e.preventDefault();\n QJ.val(target, value.replace(/\\s\\d?$/, ''));\n return QJ.trigger(target, 'change');\n }\n };\n\n formatExpiry = function(e) {\n var digit, target, val;\n target = e.target;\n if (e.which > 0) {\n digit = String.fromCharCode(e.which);\n val = QJ.val(target) + digit;\n } else {\n digit = e.data;\n val = QJ.val(target);\n }\n if (!/^\\d+$/.test(digit)) {\n return;\n }\n if (/^\\d$/.test(val) && (val !== '0' && val !== '1')) {\n e.preventDefault();\n QJ.val(target, \"0\" + val + \" / \");\n return QJ.trigger(target, 'change');\n } else if (/^\\d\\d$/.test(val)) {\n e.preventDefault();\n QJ.val(target, val + \" / \");\n return QJ.trigger(target, 'change');\n }\n };\n\n formatMonthExpiry = function(e) {\n var digit, target, val;\n digit = String.fromCharCode(e.which);\n if (!/^\\d+$/.test(digit)) {\n return;\n }\n target = e.target;\n val = QJ.val(target) + digit;\n if (/^\\d$/.test(val) && (val !== '0' && val !== '1')) {\n e.preventDefault();\n QJ.val(target, \"0\" + val);\n return QJ.trigger(target, 'change');\n } else if (/^\\d\\d$/.test(val)) {\n e.preventDefault();\n QJ.val(target, \"\" + val);\n return QJ.trigger(target, 'change');\n }\n };\n\n formatForwardExpiry = function(e) {\n var digit, target, val;\n digit = String.fromCharCode(e.which);\n if (!/^\\d+$/.test(digit)) {\n return;\n }\n target = e.target;\n val = QJ.val(target);\n if (/^\\d\\d$/.test(val)) {\n QJ.val(target, val + \" / \");\n return QJ.trigger(target, 'change');\n }\n };\n\n formatForwardSlash = function(e) {\n var slash, target, val;\n slash = String.fromCharCode(e.which);\n if (slash !== '/') {\n return;\n }\n target = e.target;\n val = QJ.val(target);\n if (/^\\d$/.test(val) && val !== '0') {\n QJ.val(target, \"0\" + val + \" / \");\n return QJ.trigger(target, 'change');\n }\n };\n\n formatBackExpiry = function(e) {\n var target, value;\n if (e.metaKey) {\n return;\n }\n target = e.target;\n value = QJ.val(target);\n if (e.which !== 8) {\n return;\n }\n if (hasTextSelected(target)) {\n return;\n }\n if (/\\d(\\s|\\/)+$/.test(value)) {\n e.preventDefault();\n QJ.val(target, value.replace(/\\d(\\s|\\/)*$/, ''));\n return QJ.trigger(target, 'change');\n } else if (/\\s\\/\\s?\\d?$/.test(value)) {\n e.preventDefault();\n QJ.val(target, value.replace(/\\s\\/\\s?\\d?$/, ''));\n return QJ.trigger(target, 'change');\n }\n };\n\n restrictNumeric = function(e) {\n var input;\n if (e.metaKey || e.ctrlKey) {\n return true;\n }\n if (e.which === 32) {\n return e.preventDefault();\n }\n if (e.which === 0) {\n return true;\n }\n if (e.which < 33) {\n return true;\n }\n input = String.fromCharCode(e.which);\n if (!/[\\d\\s]/.test(input)) {\n return e.preventDefault();\n }\n };\n\n restrictCardNumber = function(maxLength) {\n return function(e) {\n var card, digit, length, target, value;\n target = e.target;\n digit = String.fromCharCode(e.which);\n if (!/^\\d+$/.test(digit)) {\n return;\n }\n if (hasTextSelected(target)) {\n return;\n }\n value = (QJ.val(target) + digit).replace(/\\D/g, '');\n card = cardFromNumber(value);\n length = 16;\n if (card) {\n length = card.length[card.length.length - 1];\n }\n if (maxLength) {\n length = Math.min(length, maxLength);\n }\n if (!(value.length <= length)) {\n return e.preventDefault();\n }\n };\n };\n\n restrictExpiry = function(e, length) {\n var digit, target, value;\n target = e.target;\n digit = String.fromCharCode(e.which);\n if (!/^\\d+$/.test(digit)) {\n return;\n }\n if (hasTextSelected(target)) {\n return;\n }\n value = QJ.val(target) + digit;\n value = value.replace(/\\D/g, '');\n if (value.length > length) {\n return e.preventDefault();\n }\n };\n\n restrictCombinedExpiry = function(e) {\n return restrictExpiry(e, 6);\n };\n\n restrictMonthExpiry = function(e) {\n return restrictExpiry(e, 2);\n };\n\n restrictYearExpiry = function(e) {\n return restrictExpiry(e, 4);\n };\n\n restrictCVC = function(e) {\n var digit, target, val;\n target = e.target;\n digit = String.fromCharCode(e.which);\n if (!/^\\d+$/.test(digit)) {\n return;\n }\n if (hasTextSelected(target)) {\n return;\n }\n val = QJ.val(target) + digit;\n if (!(val.length <= 4)) {\n return e.preventDefault();\n }\n };\n\n setCardType = function(e) {\n var allTypes, card, cardType, target, val;\n target = e.target;\n val = QJ.val(target);\n cardType = Payment.fns.cardType(val) || 'unknown';\n if (!QJ.hasClass(target, cardType)) {\n allTypes = (function() {\n var j, len, results;\n results = [];\n for (j = 0, len = cards.length; j < len; j++) {\n card = cards[j];\n results.push(card.type);\n }\n return results;\n })();\n QJ.removeClass(target, 'unknown');\n QJ.removeClass(target, allTypes.join(' '));\n QJ.addClass(target, cardType);\n QJ.toggleClass(target, 'identified', cardType !== 'unknown');\n return QJ.trigger(target, 'payment.cardType', cardType);\n }\n };\n\n cursorSafeAssignValue = function(target, value) {\n var selectionEnd;\n selectionEnd = target.selectionEnd;\n QJ.val(target, value);\n if (selectionEnd) {\n return target.selectionEnd = selectionEnd;\n }\n };\n\n Payment = (function() {\n function Payment() {}\n\n Payment.J = QJ;\n\n Payment.fns = {\n cardExpiryVal: function(value) {\n var month, prefix, ref, year;\n value = value.replace(/\\s/g, '');\n ref = value.split('/', 2), month = ref[0], year = ref[1];\n if ((year != null ? year.length : void 0) === 2 && /^\\d+$/.test(year)) {\n prefix = (new Date).getFullYear();\n prefix = prefix.toString().slice(0, 2);\n year = prefix + year;\n }\n month = parseInt(month, 10);\n year = parseInt(year, 10);\n return {\n month: month,\n year: year\n };\n },\n validateCardNumber: function(num) {\n var card, ref;\n num = (num + '').replace(/\\s+|-/g, '');\n if (!/^\\d+$/.test(num)) {\n return false;\n }\n card = cardFromNumber(num);\n if (!card) {\n return false;\n }\n return (ref = num.length, indexOf.call(card.length, ref) >= 0) && (card.luhn === false || luhnCheck(num));\n },\n validateCardExpiry: function(month, year) {\n var currentTime, expiry, prefix, ref, ref1;\n if (typeof month === 'object' && 'month' in month) {\n ref = month, month = ref.month, year = ref.year;\n } else if (typeof month === 'string' && indexOf.call(month, '/') >= 0) {\n ref1 = Payment.fns.cardExpiryVal(month), month = ref1.month, year = ref1.year;\n }\n if (!(month && year)) {\n return false;\n }\n month = QJ.trim(month);\n year = QJ.trim(year);\n if (!/^\\d+$/.test(month)) {\n return false;\n }\n if (!/^\\d+$/.test(year)) {\n return false;\n }\n month = parseInt(month, 10);\n if (!(month && month <= 12)) {\n return false;\n }\n if (year.length === 2) {\n prefix = (new Date).getFullYear();\n prefix = prefix.toString().slice(0, 2);\n year = prefix + year;\n }\n expiry = new Date(year, month);\n currentTime = new Date;\n expiry.setMonth(expiry.getMonth() - 1);\n expiry.setMonth(expiry.getMonth() + 1, 1);\n return expiry > currentTime;\n },\n validateCardCVC: function(cvc, type) {\n var ref, ref1;\n cvc = QJ.trim(cvc);\n if (!/^\\d+$/.test(cvc)) {\n return false;\n }\n if (type && cardFromType(type)) {\n return ref = cvc.length, indexOf.call((ref1 = cardFromType(type)) != null ? ref1.cvcLength : void 0, ref) >= 0;\n } else {\n return cvc.length >= 3 && cvc.length <= 4;\n }\n },\n cardType: function(num) {\n var ref;\n if (!num) {\n return null;\n }\n return ((ref = cardFromNumber(num)) != null ? ref.type : void 0) || null;\n },\n formatCardNumber: function(num) {\n var card, groups, ref, upperLength;\n card = cardFromNumber(num);\n if (!card) {\n return num;\n }\n upperLength = card.length[card.length.length - 1];\n num = num.replace(/\\D/g, '');\n num = num.slice(0, upperLength);\n if (card.format.global) {\n return (ref = num.match(card.format)) != null ? ref.join(' ') : void 0;\n } else {\n groups = card.format.exec(num);\n if (groups == null) {\n return;\n }\n groups.shift();\n groups = groups.filter(function(n) {\n return n;\n });\n return groups.join(' ');\n }\n }\n };\n\n Payment.restrictNumeric = function(el) {\n QJ.on(el, 'keypress', restrictNumeric);\n return QJ.on(el, 'input', restrictNumeric);\n };\n\n Payment.cardExpiryVal = function(el) {\n return Payment.fns.cardExpiryVal(QJ.val(el));\n };\n\n Payment.formatCardCVC = function(el) {\n Payment.restrictNumeric(el);\n QJ.on(el, 'keypress', restrictCVC);\n QJ.on(el, 'input', restrictCVC);\n return el;\n };\n\n Payment.formatCardExpiry = function(el) {\n var month, year;\n Payment.restrictNumeric(el);\n if (el.length && el.length === 2) {\n month = el[0], year = el[1];\n this.formatCardExpiryMultiple(month, year);\n } else {\n QJ.on(el, 'keypress', restrictCombinedExpiry);\n QJ.on(el, 'keypress', formatExpiry);\n QJ.on(el, 'keypress', formatForwardSlash);\n QJ.on(el, 'keypress', formatForwardExpiry);\n QJ.on(el, 'keydown', formatBackExpiry);\n QJ.on(el, 'input', formatExpiry);\n }\n return el;\n };\n\n Payment.formatCardExpiryMultiple = function(month, year) {\n QJ.on(month, 'keypress', restrictMonthExpiry);\n QJ.on(month, 'keypress', formatMonthExpiry);\n QJ.on(month, 'input', formatMonthExpiry);\n QJ.on(year, 'keypress', restrictYearExpiry);\n return QJ.on(year, 'input', restrictYearExpiry);\n };\n\n Payment.formatCardNumber = function(el, maxLength) {\n Payment.restrictNumeric(el);\n QJ.on(el, 'keypress', restrictCardNumber(maxLength));\n QJ.on(el, 'keypress', formatCardNumber(maxLength));\n QJ.on(el, 'keydown', formatBackCardNumber);\n QJ.on(el, 'keyup blur', setCardType);\n QJ.on(el, 'blur', formatCardNumber(maxLength));\n QJ.on(el, 'paste', reFormatCardNumber);\n QJ.on(el, 'input', formatCardNumber(maxLength));\n return el;\n };\n\n Payment.getCardArray = function() {\n return cards;\n };\n\n Payment.setCardArray = function(cardArray) {\n cards = cardArray;\n return true;\n };\n\n Payment.addToCardArray = function(cardObject) {\n return cards.push(cardObject);\n };\n\n Payment.removeFromCardArray = function(type) {\n var key, value;\n for (key in cards) {\n value = cards[key];\n if (value.type === type) {\n cards.splice(key, 1);\n }\n }\n return true;\n };\n\n return Payment;\n\n })();\n\n module.exports = Payment;\n\n globalThis.Payment = Payment;\n\n}).call(this);\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AACA,EAAC,WAAW;EACV,IAAI,SAAS,IAAI,gBAAgB,cAAc,OAAO,uBAAuB,eAAe,sBAAsB,kBAAkB,kBAAkB,cAAc,qBAAqB,oBAAoB,mBAAmBA,cAAY,iBAAiB,WAAW,oBAAoB,aAAa,oBAAoB,wBAAwB,gBAAgB,qBAAqB,iBAAiB,oBAAoB,aAC7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