locize 2.4.6 → 3.0.0
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/.babelrc +3 -0
- package/.ts.eslintrc +37 -0
- package/CHANGELOG.md +5 -0
- package/README.md +10 -19
- package/dist/cjs/api/handleCommitKey.js +17 -0
- package/dist/cjs/api/handleCommitKeys.js +39 -0
- package/dist/cjs/api/handleConfirmInitialized.js +11 -0
- package/dist/cjs/api/handleEditKey.js +60 -0
- package/dist/cjs/api/handleIsLocizeEnabled.js +11 -0
- package/dist/cjs/api/handleRequestPopupChanges.js +21 -0
- package/dist/cjs/api/handleRequestResourceBundle.js +27 -0
- package/dist/cjs/api/handleSelectedKeys.js +27 -0
- package/dist/cjs/api/handleTurnOff.js +8 -0
- package/dist/cjs/api/handleTurnOn.js +8 -0
- package/dist/cjs/api/postMessage.js +161 -0
- package/dist/cjs/clickHandler.js +48 -0
- package/dist/cjs/index.d.ts +15 -0
- package/dist/cjs/index.js +55 -0
- package/dist/cjs/locizePlugin.js +110 -0
- package/dist/cjs/observer.js +74 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/parser.js +122 -0
- package/dist/cjs/process.js +63 -0
- package/dist/cjs/processLegacy.js +80 -0
- package/dist/cjs/shims/uniqueID.js +31 -0
- package/dist/cjs/startStandalone.js +24 -0
- package/dist/cjs/store.js +49 -0
- package/dist/cjs/ui/elements/icons.js +48 -0
- package/dist/cjs/ui/elements/popup.js +80 -0
- package/dist/cjs/ui/elements/ribbonBox.js +67 -0
- package/dist/cjs/ui/highlightNode.js +167 -0
- package/dist/cjs/ui/mouseDistance.js +44 -0
- package/dist/cjs/ui/popup.js +113 -0
- package/dist/cjs/ui/stylesheet.js +12 -0
- package/dist/cjs/ui/utils.js +39 -0
- package/dist/cjs/uninstrumentedStore.js +43 -0
- package/dist/cjs/utils.js +138 -0
- package/dist/cjs/vars.js +22 -0
- package/dist/esm/api/handleCommitKey.js +15 -0
- package/dist/esm/api/handleCommitKeys.js +33 -0
- package/dist/esm/api/handleConfirmInitialized.js +9 -0
- package/dist/esm/api/handleEditKey.js +56 -0
- package/dist/esm/api/handleIsLocizeEnabled.js +9 -0
- package/dist/esm/api/handleRequestPopupChanges.js +19 -0
- package/dist/esm/api/handleRequestResourceBundle.js +20 -0
- package/dist/esm/api/handleSelectedKeys.js +25 -0
- package/dist/esm/api/handleTurnOff.js +6 -0
- package/dist/esm/api/handleTurnOn.js +6 -0
- package/dist/esm/api/postMessage.js +148 -0
- package/dist/esm/clickHandler.js +44 -0
- package/dist/esm/index.d.mts +1 -0
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.js +33 -0
- package/dist/esm/locizePlugin.js +99 -0
- package/dist/esm/observer.js +70 -0
- package/dist/esm/parser.js +113 -0
- package/dist/esm/process.js +55 -0
- package/dist/esm/processLegacy.js +72 -0
- package/dist/esm/shims/uniqueID.js +29 -0
- package/dist/esm/startStandalone.js +20 -0
- package/dist/esm/store.js +41 -0
- package/dist/esm/ui/elements/icons.js +39 -0
- package/dist/esm/ui/elements/popup.js +76 -0
- package/dist/esm/ui/elements/ribbonBox.js +62 -0
- package/dist/esm/ui/highlightNode.js +156 -0
- package/dist/esm/ui/mouseDistance.js +39 -0
- package/dist/esm/ui/popup.js +108 -0
- package/dist/esm/ui/stylesheet.js +8 -0
- package/dist/esm/ui/utils.js +34 -0
- package/dist/esm/uninstrumentedStore.js +35 -0
- package/dist/esm/utils.js +123 -0
- package/dist/esm/vars.js +16 -0
- package/dist/umd/locize.js +2790 -286
- package/dist/umd/locize.min.js +1 -1
- package/index.d.mts +1 -0
- package/index.d.ts +5 -6
- package/locize.js +2790 -286
- package/locize.min.js +1 -1
- package/package.json +64 -31
- package/rollup.config.js +62 -29
- package/src/api/handleCommitKey.js +17 -0
- package/src/api/handleCommitKeys.js +39 -0
- package/src/api/handleConfirmInitialized.js +10 -0
- package/src/api/handleEditKey.js +81 -0
- package/src/api/handleIsLocizeEnabled.js +13 -0
- package/src/api/handleRequestPopupChanges.js +25 -0
- package/src/api/handleRequestResourceBundle.js +11 -0
- package/src/api/handleSelectedKeys.js +32 -0
- package/src/api/handleTurnOff.js +8 -0
- package/src/api/handleTurnOn.js +8 -0
- package/src/api/index.js +19 -0
- package/src/api/postMessage.js +169 -0
- package/src/clickHandler.js +48 -0
- package/src/index.js +30 -0
- package/src/locizePlugin.js +117 -0
- package/src/observer.js +93 -0
- package/src/parser.js +162 -0
- package/src/process.js +55 -0
- package/src/processLegacy.js +69 -0
- package/src/shims/uniqueID.js +49 -0
- package/src/startStandalone.js +19 -0
- package/src/store.js +47 -0
- package/src/ui/elements/icons.js +92 -0
- package/src/ui/elements/popup.js +226 -0
- package/src/ui/elements/ribbonBox.js +76 -0
- package/src/ui/highlightNode.js +203 -0
- package/src/ui/mouseDistance.js +46 -0
- package/src/ui/popup.js +135 -0
- package/src/ui/stylesheet.js +8 -0
- package/src/ui/utils.js +37 -0
- package/src/uninstrumentedStore.js +39 -0
- package/src/utils.js +158 -0
- package/src/vars.js +18 -0
- package/tsconfig.json +4 -4
- package/.eslintrc.js +0 -20
- package/debuggingApp/README.md +0 -11
- package/debuggingApp/debugEditor.html +0 -28
- package/debuggingApp/index.html +0 -151
- package/debuggingApp/node_modules/.package-lock.json +0 -668
- package/debuggingApp/node_modules/@babel/runtime/LICENSE +0 -22
- package/debuggingApp/node_modules/@babel/runtime/README.md +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -98
- package/debuggingApp/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -30
- package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecs.js +0 -284
- package/debuggingApp/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -56
- package/debuggingApp/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -50
- package/debuggingApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -37
- package/debuggingApp/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/construct.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/createClass.js +0 -20
- package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -60
- package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -24
- package/debuggingApp/node_modules/@babel/runtime/helpers/createSuper.js +0 -24
- package/debuggingApp/node_modules/@babel/runtime/helpers/decorate.js +0 -400
- package/debuggingApp/node_modules/@babel/runtime/helpers/defaults.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -24
- package/debuggingApp/node_modules/@babel/runtime/helpers/defineProperty.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -282
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -48
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/identity.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -26
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -352
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -50
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/extends.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/get.js +0 -23
- package/debuggingApp/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/identity.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/inherits.js +0 -21
- package/debuggingApp/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/instanceof.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -53
- package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -31
- package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/jsx.js +0 -29
- package/debuggingApp/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -29
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -15
- package/debuggingApp/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -354
- package/debuggingApp/node_modules/@babel/runtime/helpers/set.js +0 -54
- package/debuggingApp/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/superPropBase.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/tdz.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/temporalRef.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/toArray.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/typeof.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -42
- package/debuggingApp/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -55
- package/debuggingApp/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/package.json +0 -876
- package/debuggingApp/node_modules/@babel/runtime/regenerator/index.js +0 -15
- package/debuggingApp/node_modules/accepts/HISTORY.md +0 -243
- package/debuggingApp/node_modules/accepts/LICENSE +0 -23
- package/debuggingApp/node_modules/accepts/README.md +0 -140
- package/debuggingApp/node_modules/accepts/index.js +0 -238
- package/debuggingApp/node_modules/accepts/package.json +0 -47
- package/debuggingApp/node_modules/array-flatten/LICENSE +0 -21
- package/debuggingApp/node_modules/array-flatten/README.md +0 -43
- package/debuggingApp/node_modules/array-flatten/array-flatten.js +0 -64
- package/debuggingApp/node_modules/array-flatten/package.json +0 -39
- package/debuggingApp/node_modules/body-parser/HISTORY.md +0 -651
- package/debuggingApp/node_modules/body-parser/LICENSE +0 -23
- package/debuggingApp/node_modules/body-parser/README.md +0 -464
- package/debuggingApp/node_modules/body-parser/SECURITY.md +0 -25
- package/debuggingApp/node_modules/body-parser/index.js +0 -157
- package/debuggingApp/node_modules/body-parser/lib/read.js +0 -205
- package/debuggingApp/node_modules/body-parser/lib/types/json.js +0 -236
- package/debuggingApp/node_modules/body-parser/lib/types/raw.js +0 -101
- package/debuggingApp/node_modules/body-parser/lib/types/text.js +0 -121
- package/debuggingApp/node_modules/body-parser/lib/types/urlencoded.js +0 -284
- package/debuggingApp/node_modules/body-parser/package.json +0 -56
- package/debuggingApp/node_modules/bytes/History.md +0 -97
- package/debuggingApp/node_modules/bytes/LICENSE +0 -23
- package/debuggingApp/node_modules/bytes/Readme.md +0 -152
- package/debuggingApp/node_modules/bytes/index.js +0 -170
- package/debuggingApp/node_modules/bytes/package.json +0 -42
- package/debuggingApp/node_modules/call-bind/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/call-bind/.nycrc +0 -13
- package/debuggingApp/node_modules/call-bind/CHANGELOG.md +0 -42
- package/debuggingApp/node_modules/call-bind/LICENSE +0 -21
- package/debuggingApp/node_modules/call-bind/README.md +0 -2
- package/debuggingApp/node_modules/call-bind/callBound.js +0 -15
- package/debuggingApp/node_modules/call-bind/index.js +0 -47
- package/debuggingApp/node_modules/call-bind/package.json +0 -80
- package/debuggingApp/node_modules/call-bind/test/callBound.js +0 -55
- package/debuggingApp/node_modules/call-bind/test/index.js +0 -66
- package/debuggingApp/node_modules/content-disposition/HISTORY.md +0 -60
- package/debuggingApp/node_modules/content-disposition/LICENSE +0 -22
- package/debuggingApp/node_modules/content-disposition/README.md +0 -142
- package/debuggingApp/node_modules/content-disposition/index.js +0 -458
- package/debuggingApp/node_modules/content-disposition/package.json +0 -44
- package/debuggingApp/node_modules/content-type/HISTORY.md +0 -24
- package/debuggingApp/node_modules/content-type/LICENSE +0 -22
- package/debuggingApp/node_modules/content-type/README.md +0 -92
- package/debuggingApp/node_modules/content-type/index.js +0 -222
- package/debuggingApp/node_modules/content-type/package.json +0 -40
- package/debuggingApp/node_modules/cookie/HISTORY.md +0 -142
- package/debuggingApp/node_modules/cookie/LICENSE +0 -24
- package/debuggingApp/node_modules/cookie/README.md +0 -302
- package/debuggingApp/node_modules/cookie/SECURITY.md +0 -25
- package/debuggingApp/node_modules/cookie/index.js +0 -270
- package/debuggingApp/node_modules/cookie/package.json +0 -44
- package/debuggingApp/node_modules/cookie-signature/History.md +0 -38
- package/debuggingApp/node_modules/cookie-signature/Readme.md +0 -42
- package/debuggingApp/node_modules/cookie-signature/index.js +0 -51
- package/debuggingApp/node_modules/cookie-signature/package.json +0 -18
- package/debuggingApp/node_modules/cookies/History.md +0 -62
- package/debuggingApp/node_modules/cookies/LICENSE.txt +0 -22
- package/debuggingApp/node_modules/cookies/README.md +0 -121
- package/debuggingApp/node_modules/cookies/lib/cookies.js +0 -181
- package/debuggingApp/node_modules/cookies/package.json +0 -24
- package/debuggingApp/node_modules/debug/.coveralls.yml +0 -1
- package/debuggingApp/node_modules/debug/.travis.yml +0 -14
- package/debuggingApp/node_modules/debug/CHANGELOG.md +0 -362
- package/debuggingApp/node_modules/debug/LICENSE +0 -19
- package/debuggingApp/node_modules/debug/Makefile +0 -50
- package/debuggingApp/node_modules/debug/README.md +0 -312
- package/debuggingApp/node_modules/debug/component.json +0 -19
- package/debuggingApp/node_modules/debug/node.js +0 -1
- package/debuggingApp/node_modules/debug/package.json +0 -49
- package/debuggingApp/node_modules/debug/src/browser.js +0 -185
- package/debuggingApp/node_modules/debug/src/debug.js +0 -202
- package/debuggingApp/node_modules/debug/src/index.js +0 -10
- package/debuggingApp/node_modules/debug/src/inspector-log.js +0 -15
- package/debuggingApp/node_modules/debug/src/node.js +0 -248
- package/debuggingApp/node_modules/depd/History.md +0 -103
- package/debuggingApp/node_modules/depd/LICENSE +0 -22
- package/debuggingApp/node_modules/depd/Readme.md +0 -280
- package/debuggingApp/node_modules/depd/index.js +0 -538
- package/debuggingApp/node_modules/depd/lib/browser/index.js +0 -77
- package/debuggingApp/node_modules/depd/package.json +0 -45
- package/debuggingApp/node_modules/destroy/LICENSE +0 -23
- package/debuggingApp/node_modules/destroy/README.md +0 -63
- package/debuggingApp/node_modules/destroy/index.js +0 -209
- package/debuggingApp/node_modules/destroy/package.json +0 -48
- package/debuggingApp/node_modules/ee-first/LICENSE +0 -22
- package/debuggingApp/node_modules/ee-first/README.md +0 -80
- package/debuggingApp/node_modules/ee-first/index.js +0 -95
- package/debuggingApp/node_modules/ee-first/package.json +0 -29
- package/debuggingApp/node_modules/encodeurl/HISTORY.md +0 -14
- package/debuggingApp/node_modules/encodeurl/LICENSE +0 -22
- package/debuggingApp/node_modules/encodeurl/README.md +0 -128
- package/debuggingApp/node_modules/encodeurl/index.js +0 -60
- package/debuggingApp/node_modules/encodeurl/package.json +0 -40
- package/debuggingApp/node_modules/escape-html/LICENSE +0 -24
- package/debuggingApp/node_modules/escape-html/Readme.md +0 -43
- package/debuggingApp/node_modules/escape-html/index.js +0 -78
- package/debuggingApp/node_modules/escape-html/package.json +0 -24
- package/debuggingApp/node_modules/etag/HISTORY.md +0 -83
- package/debuggingApp/node_modules/etag/LICENSE +0 -22
- package/debuggingApp/node_modules/etag/README.md +0 -159
- package/debuggingApp/node_modules/etag/index.js +0 -131
- package/debuggingApp/node_modules/etag/package.json +0 -47
- package/debuggingApp/node_modules/express/History.md +0 -3579
- package/debuggingApp/node_modules/express/LICENSE +0 -24
- package/debuggingApp/node_modules/express/Readme.md +0 -166
- package/debuggingApp/node_modules/express/index.js +0 -11
- package/debuggingApp/node_modules/express/lib/application.js +0 -661
- package/debuggingApp/node_modules/express/lib/express.js +0 -116
- package/debuggingApp/node_modules/express/lib/middleware/init.js +0 -43
- package/debuggingApp/node_modules/express/lib/middleware/query.js +0 -47
- package/debuggingApp/node_modules/express/lib/request.js +0 -525
- package/debuggingApp/node_modules/express/lib/response.js +0 -1169
- package/debuggingApp/node_modules/express/lib/router/index.js +0 -673
- package/debuggingApp/node_modules/express/lib/router/layer.js +0 -181
- package/debuggingApp/node_modules/express/lib/router/route.js +0 -225
- package/debuggingApp/node_modules/express/lib/utils.js +0 -304
- package/debuggingApp/node_modules/express/lib/view.js +0 -182
- package/debuggingApp/node_modules/express/package.json +0 -99
- package/debuggingApp/node_modules/finalhandler/HISTORY.md +0 -195
- package/debuggingApp/node_modules/finalhandler/LICENSE +0 -22
- package/debuggingApp/node_modules/finalhandler/README.md +0 -147
- package/debuggingApp/node_modules/finalhandler/SECURITY.md +0 -25
- package/debuggingApp/node_modules/finalhandler/index.js +0 -336
- package/debuggingApp/node_modules/finalhandler/package.json +0 -46
- package/debuggingApp/node_modules/forwarded/HISTORY.md +0 -21
- package/debuggingApp/node_modules/forwarded/LICENSE +0 -22
- package/debuggingApp/node_modules/forwarded/README.md +0 -57
- package/debuggingApp/node_modules/forwarded/index.js +0 -90
- package/debuggingApp/node_modules/forwarded/package.json +0 -45
- package/debuggingApp/node_modules/fresh/HISTORY.md +0 -70
- package/debuggingApp/node_modules/fresh/LICENSE +0 -23
- package/debuggingApp/node_modules/fresh/README.md +0 -119
- package/debuggingApp/node_modules/fresh/index.js +0 -137
- package/debuggingApp/node_modules/fresh/package.json +0 -46
- package/debuggingApp/node_modules/function-bind/.jscs.json +0 -176
- package/debuggingApp/node_modules/function-bind/.travis.yml +0 -168
- package/debuggingApp/node_modules/function-bind/LICENSE +0 -20
- package/debuggingApp/node_modules/function-bind/README.md +0 -48
- package/debuggingApp/node_modules/function-bind/implementation.js +0 -52
- package/debuggingApp/node_modules/function-bind/index.js +0 -5
- package/debuggingApp/node_modules/function-bind/package.json +0 -63
- package/debuggingApp/node_modules/function-bind/test/index.js +0 -252
- package/debuggingApp/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/get-intrinsic/.nycrc +0 -9
- package/debuggingApp/node_modules/get-intrinsic/CHANGELOG.md +0 -91
- package/debuggingApp/node_modules/get-intrinsic/LICENSE +0 -21
- package/debuggingApp/node_modules/get-intrinsic/README.md +0 -71
- package/debuggingApp/node_modules/get-intrinsic/index.js +0 -334
- package/debuggingApp/node_modules/get-intrinsic/package.json +0 -88
- package/debuggingApp/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/debuggingApp/node_modules/has/LICENSE-MIT +0 -22
- package/debuggingApp/node_modules/has/README.md +0 -18
- package/debuggingApp/node_modules/has/package.json +0 -48
- package/debuggingApp/node_modules/has/src/index.js +0 -5
- package/debuggingApp/node_modules/has/test/index.js +0 -10
- package/debuggingApp/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/has-symbols/.nycrc +0 -9
- package/debuggingApp/node_modules/has-symbols/CHANGELOG.md +0 -75
- package/debuggingApp/node_modules/has-symbols/LICENSE +0 -21
- package/debuggingApp/node_modules/has-symbols/README.md +0 -46
- package/debuggingApp/node_modules/has-symbols/index.js +0 -13
- package/debuggingApp/node_modules/has-symbols/package.json +0 -101
- package/debuggingApp/node_modules/has-symbols/shams.js +0 -42
- package/debuggingApp/node_modules/has-symbols/test/index.js +0 -22
- package/debuggingApp/node_modules/has-symbols/test/shams/core-js.js +0 -28
- package/debuggingApp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
- package/debuggingApp/node_modules/has-symbols/test/tests.js +0 -56
- package/debuggingApp/node_modules/http-errors/HISTORY.md +0 -180
- package/debuggingApp/node_modules/http-errors/LICENSE +0 -23
- package/debuggingApp/node_modules/http-errors/README.md +0 -169
- package/debuggingApp/node_modules/http-errors/index.js +0 -289
- package/debuggingApp/node_modules/http-errors/package.json +0 -50
- package/debuggingApp/node_modules/i18next/CONTRIBUTING.md +0 -22
- package/debuggingApp/node_modules/i18next/LICENSE +0 -21
- package/debuggingApp/node_modules/i18next/README.md +0 -60
- package/debuggingApp/node_modules/i18next/dist/cjs/i18next.js +0 -2801
- package/debuggingApp/node_modules/i18next/dist/esm/i18next.bundled.js +0 -2954
- package/debuggingApp/node_modules/i18next/dist/esm/i18next.js +0 -2802
- package/debuggingApp/node_modules/i18next/dist/esm/package.json +0 -1
- package/debuggingApp/node_modules/i18next/dist/umd/i18next.js +0 -2922
- package/debuggingApp/node_modules/i18next/dist/umd/i18next.min.js +0 -1
- package/debuggingApp/node_modules/i18next/i18next.js +0 -2922
- package/debuggingApp/node_modules/i18next/i18next.min.js +0 -1
- package/debuggingApp/node_modules/i18next/index.d.ts +0 -1257
- package/debuggingApp/node_modules/i18next/index.js +0 -5
- package/debuggingApp/node_modules/i18next/package.json +0 -126
- package/debuggingApp/node_modules/i18next-express-middleware/LICENSE +0 -22
- package/debuggingApp/node_modules/i18next-express-middleware/README.md +0 -167
- package/debuggingApp/node_modules/i18next-express-middleware/lib/LanguageDetector.js +0 -138
- package/debuggingApp/node_modules/i18next-express-middleware/lib/index.js +0 -152
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/cookie.js +0 -47
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/header.js +0 -59
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/path.js +0 -27
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/querystring.js +0 -31
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/session.js +0 -27
- package/debuggingApp/node_modules/i18next-express-middleware/lib/utils.js +0 -70
- package/debuggingApp/node_modules/i18next-express-middleware/package.json +0 -43
- package/debuggingApp/node_modules/i18next-node-fs-backend/LICENSE +0 -22
- package/debuggingApp/node_modules/i18next-node-fs-backend/README.md +0 -72
- package/debuggingApp/node_modules/i18next-node-fs-backend/lib/index.js +0 -162
- package/debuggingApp/node_modules/i18next-node-fs-backend/lib/utils.js +0 -78
- package/debuggingApp/node_modules/i18next-node-fs-backend/package.json +0 -43
- package/debuggingApp/node_modules/iconv-lite/Changelog.md +0 -162
- package/debuggingApp/node_modules/iconv-lite/LICENSE +0 -21
- package/debuggingApp/node_modules/iconv-lite/README.md +0 -156
- package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
- package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
- package/debuggingApp/node_modules/iconv-lite/encodings/index.js +0 -22
- package/debuggingApp/node_modules/iconv-lite/encodings/internal.js +0 -188
- package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
- package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/debuggingApp/node_modules/iconv-lite/encodings/utf16.js +0 -177
- package/debuggingApp/node_modules/iconv-lite/encodings/utf7.js +0 -290
- package/debuggingApp/node_modules/iconv-lite/lib/bom-handling.js +0 -52
- package/debuggingApp/node_modules/iconv-lite/lib/extend-node.js +0 -217
- package/debuggingApp/node_modules/iconv-lite/lib/index.d.ts +0 -24
- package/debuggingApp/node_modules/iconv-lite/lib/index.js +0 -153
- package/debuggingApp/node_modules/iconv-lite/lib/streams.js +0 -121
- package/debuggingApp/node_modules/iconv-lite/package.json +0 -46
- package/debuggingApp/node_modules/inherits/LICENSE +0 -16
- package/debuggingApp/node_modules/inherits/README.md +0 -42
- package/debuggingApp/node_modules/inherits/inherits.js +0 -9
- package/debuggingApp/node_modules/inherits/inherits_browser.js +0 -27
- package/debuggingApp/node_modules/inherits/package.json +0 -29
- package/debuggingApp/node_modules/ipaddr.js/LICENSE +0 -19
- package/debuggingApp/node_modules/ipaddr.js/README.md +0 -233
- package/debuggingApp/node_modules/ipaddr.js/ipaddr.min.js +0 -1
- package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
- package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/debuggingApp/node_modules/ipaddr.js/package.json +0 -35
- package/debuggingApp/node_modules/json5/.travis.yml +0 -5
- package/debuggingApp/node_modules/json5/CHANGELOG.md +0 -144
- package/debuggingApp/node_modules/json5/README.md +0 -271
- package/debuggingApp/node_modules/json5/lib/cli.js +0 -41
- package/debuggingApp/node_modules/json5/lib/json5.js +0 -754
- package/debuggingApp/node_modules/json5/lib/require.js +0 -18
- package/debuggingApp/node_modules/json5/package.json +0 -30
- package/debuggingApp/node_modules/json5/package.json5 +0 -30
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/empty-array.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/leading-comma-array.js +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/lone-trailing-comma-array.js +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/no-comma-array.txt +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/regular-array.json +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/trailing-comma-array.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-array-element.json5 +0 -6
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-top-level-value.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-in-string.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-preceding-top-level-value.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 +0 -7
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-array-element.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-in-string.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-preceding-top-level-value.json5 +0 -2
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-block-comment.txt +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-inline-comment.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/unterminated-block-comment.txt +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/empty.txt +0 -0
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json +0 -106
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json5 +0 -106
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/readme-example.json5 +0 -25
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/valid-whitespace.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/.gitattributes +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-zero.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point-with-integer-exponent.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-with-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-empty.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-lowercase-letter.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-uppercase-x.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-with-integer-exponent.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/infinity.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-float-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-hexadecimal-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-float-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-hexadecimal-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-zero-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-float-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-hexadecimal-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-zero-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-zero-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/lone-decimal-point.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/nan.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-zero.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-infinity.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-noctal.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal-with-leading-octal-digit.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-zero.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-infinity.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-integer.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-noctal.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-integer.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer-with-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/duplicate-keys.json +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/empty-object.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-number.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-symbol.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/leading-comma-object.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/lone-trailing-comma-object.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/no-comma-object.txt +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/reserved-unquoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/single-quoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/trailing-comma-object.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/unquoted-keys.json5 +0 -8
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/escaped-single-quoted-string.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/multi-line-string.json5 +0 -2
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/single-quoted-string.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/unescaped-multi-line-string.txt +0 -2
- package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-escaped-unquoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-unquoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse.js +0 -89
- package/debuggingApp/node_modules/json5/test/readme.md +0 -23
- package/debuggingApp/node_modules/json5/test/require.js +0 -18
- package/debuggingApp/node_modules/json5/test/stringify.js +0 -498
- package/debuggingApp/node_modules/keygrip/HISTORY.md +0 -20
- package/debuggingApp/node_modules/keygrip/LICENSE +0 -21
- package/debuggingApp/node_modules/keygrip/README.md +0 -103
- package/debuggingApp/node_modules/keygrip/index.js +0 -71
- package/debuggingApp/node_modules/keygrip/package.json +0 -25
- package/debuggingApp/node_modules/media-typer/HISTORY.md +0 -22
- package/debuggingApp/node_modules/media-typer/LICENSE +0 -22
- package/debuggingApp/node_modules/media-typer/README.md +0 -81
- package/debuggingApp/node_modules/media-typer/index.js +0 -270
- package/debuggingApp/node_modules/media-typer/package.json +0 -26
- package/debuggingApp/node_modules/merge-descriptors/HISTORY.md +0 -21
- package/debuggingApp/node_modules/merge-descriptors/LICENSE +0 -23
- package/debuggingApp/node_modules/merge-descriptors/README.md +0 -48
- package/debuggingApp/node_modules/merge-descriptors/index.js +0 -60
- package/debuggingApp/node_modules/merge-descriptors/package.json +0 -32
- package/debuggingApp/node_modules/methods/HISTORY.md +0 -29
- package/debuggingApp/node_modules/methods/LICENSE +0 -24
- package/debuggingApp/node_modules/methods/README.md +0 -51
- package/debuggingApp/node_modules/methods/index.js +0 -69
- package/debuggingApp/node_modules/methods/package.json +0 -36
- package/debuggingApp/node_modules/mime/CHANGELOG.md +0 -164
- package/debuggingApp/node_modules/mime/LICENSE +0 -21
- package/debuggingApp/node_modules/mime/README.md +0 -90
- package/debuggingApp/node_modules/mime/cli.js +0 -8
- package/debuggingApp/node_modules/mime/mime.js +0 -108
- package/debuggingApp/node_modules/mime/package.json +0 -44
- package/debuggingApp/node_modules/mime/src/build.js +0 -53
- package/debuggingApp/node_modules/mime/src/test.js +0 -60
- package/debuggingApp/node_modules/mime/types.json +0 -1
- package/debuggingApp/node_modules/mime-db/HISTORY.md +0 -507
- package/debuggingApp/node_modules/mime-db/LICENSE +0 -23
- package/debuggingApp/node_modules/mime-db/README.md +0 -100
- package/debuggingApp/node_modules/mime-db/db.json +0 -8519
- package/debuggingApp/node_modules/mime-db/index.js +0 -12
- package/debuggingApp/node_modules/mime-db/package.json +0 -60
- package/debuggingApp/node_modules/mime-types/HISTORY.md +0 -397
- package/debuggingApp/node_modules/mime-types/LICENSE +0 -23
- package/debuggingApp/node_modules/mime-types/README.md +0 -113
- package/debuggingApp/node_modules/mime-types/index.js +0 -188
- package/debuggingApp/node_modules/mime-types/package.json +0 -44
- package/debuggingApp/node_modules/ms/index.js +0 -152
- package/debuggingApp/node_modules/ms/license.md +0 -21
- package/debuggingApp/node_modules/ms/package.json +0 -37
- package/debuggingApp/node_modules/ms/readme.md +0 -51
- package/debuggingApp/node_modules/negotiator/HISTORY.md +0 -108
- package/debuggingApp/node_modules/negotiator/LICENSE +0 -24
- package/debuggingApp/node_modules/negotiator/README.md +0 -203
- package/debuggingApp/node_modules/negotiator/index.js +0 -82
- package/debuggingApp/node_modules/negotiator/lib/charset.js +0 -169
- package/debuggingApp/node_modules/negotiator/lib/encoding.js +0 -184
- package/debuggingApp/node_modules/negotiator/lib/language.js +0 -179
- package/debuggingApp/node_modules/negotiator/lib/mediaType.js +0 -294
- package/debuggingApp/node_modules/negotiator/package.json +0 -42
- package/debuggingApp/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/object-inspect/.nycrc +0 -13
- package/debuggingApp/node_modules/object-inspect/CHANGELOG.md +0 -360
- package/debuggingApp/node_modules/object-inspect/LICENSE +0 -21
- package/debuggingApp/node_modules/object-inspect/example/all.js +0 -23
- package/debuggingApp/node_modules/object-inspect/example/circular.js +0 -6
- package/debuggingApp/node_modules/object-inspect/example/fn.js +0 -5
- package/debuggingApp/node_modules/object-inspect/example/inspect.js +0 -10
- package/debuggingApp/node_modules/object-inspect/index.js +0 -512
- package/debuggingApp/node_modules/object-inspect/package-support.json +0 -20
- package/debuggingApp/node_modules/object-inspect/package.json +0 -94
- package/debuggingApp/node_modules/object-inspect/readme.markdown +0 -86
- package/debuggingApp/node_modules/object-inspect/test/bigint.js +0 -58
- package/debuggingApp/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/debuggingApp/node_modules/object-inspect/test/circular.js +0 -16
- package/debuggingApp/node_modules/object-inspect/test/deep.js +0 -12
- package/debuggingApp/node_modules/object-inspect/test/element.js +0 -53
- package/debuggingApp/node_modules/object-inspect/test/err.js +0 -48
- package/debuggingApp/node_modules/object-inspect/test/fakes.js +0 -29
- package/debuggingApp/node_modules/object-inspect/test/fn.js +0 -76
- package/debuggingApp/node_modules/object-inspect/test/has.js +0 -15
- package/debuggingApp/node_modules/object-inspect/test/holes.js +0 -15
- package/debuggingApp/node_modules/object-inspect/test/indent-option.js +0 -271
- package/debuggingApp/node_modules/object-inspect/test/inspect.js +0 -139
- package/debuggingApp/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/debuggingApp/node_modules/object-inspect/test/number.js +0 -58
- package/debuggingApp/node_modules/object-inspect/test/quoteStyle.js +0 -17
- package/debuggingApp/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/debuggingApp/node_modules/object-inspect/test/undef.js +0 -12
- package/debuggingApp/node_modules/object-inspect/test/values.js +0 -211
- package/debuggingApp/node_modules/object-inspect/test-core-js.js +0 -26
- package/debuggingApp/node_modules/object-inspect/util.inspect.js +0 -1
- package/debuggingApp/node_modules/on-finished/HISTORY.md +0 -98
- package/debuggingApp/node_modules/on-finished/LICENSE +0 -23
- package/debuggingApp/node_modules/on-finished/README.md +0 -162
- package/debuggingApp/node_modules/on-finished/index.js +0 -234
- package/debuggingApp/node_modules/on-finished/package.json +0 -39
- package/debuggingApp/node_modules/parseurl/HISTORY.md +0 -58
- package/debuggingApp/node_modules/parseurl/LICENSE +0 -24
- package/debuggingApp/node_modules/parseurl/README.md +0 -133
- package/debuggingApp/node_modules/parseurl/index.js +0 -158
- package/debuggingApp/node_modules/parseurl/package.json +0 -40
- package/debuggingApp/node_modules/path-to-regexp/History.md +0 -36
- package/debuggingApp/node_modules/path-to-regexp/LICENSE +0 -21
- package/debuggingApp/node_modules/path-to-regexp/Readme.md +0 -35
- package/debuggingApp/node_modules/path-to-regexp/index.js +0 -129
- package/debuggingApp/node_modules/path-to-regexp/package.json +0 -30
- package/debuggingApp/node_modules/proxy-addr/HISTORY.md +0 -161
- package/debuggingApp/node_modules/proxy-addr/LICENSE +0 -22
- package/debuggingApp/node_modules/proxy-addr/README.md +0 -139
- package/debuggingApp/node_modules/proxy-addr/index.js +0 -327
- package/debuggingApp/node_modules/proxy-addr/package.json +0 -47
- package/debuggingApp/node_modules/qs/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/qs/.nycrc +0 -13
- package/debuggingApp/node_modules/qs/CHANGELOG.md +0 -388
- package/debuggingApp/node_modules/qs/LICENSE.md +0 -29
- package/debuggingApp/node_modules/qs/README.md +0 -623
- package/debuggingApp/node_modules/qs/dist/qs.js +0 -2044
- package/debuggingApp/node_modules/qs/lib/formats.js +0 -23
- package/debuggingApp/node_modules/qs/lib/index.js +0 -11
- package/debuggingApp/node_modules/qs/lib/parse.js +0 -263
- package/debuggingApp/node_modules/qs/lib/stringify.js +0 -317
- package/debuggingApp/node_modules/qs/lib/utils.js +0 -252
- package/debuggingApp/node_modules/qs/package.json +0 -73
- package/debuggingApp/node_modules/qs/test/parse.js +0 -841
- package/debuggingApp/node_modules/qs/test/stringify.js +0 -865
- package/debuggingApp/node_modules/qs/test/utils.js +0 -136
- package/debuggingApp/node_modules/range-parser/HISTORY.md +0 -56
- package/debuggingApp/node_modules/range-parser/LICENSE +0 -23
- package/debuggingApp/node_modules/range-parser/README.md +0 -84
- package/debuggingApp/node_modules/range-parser/index.js +0 -162
- package/debuggingApp/node_modules/range-parser/package.json +0 -44
- package/debuggingApp/node_modules/raw-body/HISTORY.md +0 -303
- package/debuggingApp/node_modules/raw-body/LICENSE +0 -22
- package/debuggingApp/node_modules/raw-body/README.md +0 -223
- package/debuggingApp/node_modules/raw-body/SECURITY.md +0 -24
- package/debuggingApp/node_modules/raw-body/index.d.ts +0 -87
- package/debuggingApp/node_modules/raw-body/index.js +0 -329
- package/debuggingApp/node_modules/raw-body/package.json +0 -49
- package/debuggingApp/node_modules/regenerator-runtime/LICENSE +0 -21
- package/debuggingApp/node_modules/regenerator-runtime/README.md +0 -31
- package/debuggingApp/node_modules/regenerator-runtime/package.json +0 -19
- package/debuggingApp/node_modules/regenerator-runtime/path.js +0 -11
- package/debuggingApp/node_modules/regenerator-runtime/runtime.js +0 -754
- package/debuggingApp/node_modules/safe-buffer/LICENSE +0 -21
- package/debuggingApp/node_modules/safe-buffer/README.md +0 -584
- package/debuggingApp/node_modules/safe-buffer/index.d.ts +0 -187
- package/debuggingApp/node_modules/safe-buffer/index.js +0 -65
- package/debuggingApp/node_modules/safe-buffer/package.json +0 -51
- package/debuggingApp/node_modules/safer-buffer/LICENSE +0 -21
- package/debuggingApp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/debuggingApp/node_modules/safer-buffer/Readme.md +0 -156
- package/debuggingApp/node_modules/safer-buffer/dangerous.js +0 -58
- package/debuggingApp/node_modules/safer-buffer/package.json +0 -34
- package/debuggingApp/node_modules/safer-buffer/safer.js +0 -77
- package/debuggingApp/node_modules/safer-buffer/tests.js +0 -406
- package/debuggingApp/node_modules/send/HISTORY.md +0 -521
- package/debuggingApp/node_modules/send/LICENSE +0 -23
- package/debuggingApp/node_modules/send/README.md +0 -327
- package/debuggingApp/node_modules/send/SECURITY.md +0 -24
- package/debuggingApp/node_modules/send/index.js +0 -1143
- package/debuggingApp/node_modules/send/node_modules/ms/index.js +0 -162
- package/debuggingApp/node_modules/send/node_modules/ms/license.md +0 -21
- package/debuggingApp/node_modules/send/node_modules/ms/package.json +0 -38
- package/debuggingApp/node_modules/send/node_modules/ms/readme.md +0 -59
- package/debuggingApp/node_modules/send/package.json +0 -62
- package/debuggingApp/node_modules/serve-static/HISTORY.md +0 -471
- package/debuggingApp/node_modules/serve-static/LICENSE +0 -25
- package/debuggingApp/node_modules/serve-static/README.md +0 -257
- package/debuggingApp/node_modules/serve-static/index.js +0 -210
- package/debuggingApp/node_modules/serve-static/package.json +0 -42
- package/debuggingApp/node_modules/setprototypeof/LICENSE +0 -13
- package/debuggingApp/node_modules/setprototypeof/README.md +0 -31
- package/debuggingApp/node_modules/setprototypeof/index.d.ts +0 -2
- package/debuggingApp/node_modules/setprototypeof/index.js +0 -17
- package/debuggingApp/node_modules/setprototypeof/package.json +0 -38
- package/debuggingApp/node_modules/setprototypeof/test/index.js +0 -24
- package/debuggingApp/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/side-channel/.nycrc +0 -13
- package/debuggingApp/node_modules/side-channel/CHANGELOG.md +0 -65
- package/debuggingApp/node_modules/side-channel/LICENSE +0 -21
- package/debuggingApp/node_modules/side-channel/README.md +0 -2
- package/debuggingApp/node_modules/side-channel/index.js +0 -124
- package/debuggingApp/node_modules/side-channel/package.json +0 -67
- package/debuggingApp/node_modules/side-channel/test/index.js +0 -78
- package/debuggingApp/node_modules/statuses/HISTORY.md +0 -82
- package/debuggingApp/node_modules/statuses/LICENSE +0 -23
- package/debuggingApp/node_modules/statuses/README.md +0 -136
- package/debuggingApp/node_modules/statuses/codes.json +0 -65
- package/debuggingApp/node_modules/statuses/index.js +0 -146
- package/debuggingApp/node_modules/statuses/package.json +0 -49
- package/debuggingApp/node_modules/toidentifier/HISTORY.md +0 -9
- package/debuggingApp/node_modules/toidentifier/LICENSE +0 -21
- package/debuggingApp/node_modules/toidentifier/README.md +0 -61
- package/debuggingApp/node_modules/toidentifier/index.js +0 -32
- package/debuggingApp/node_modules/toidentifier/package.json +0 -38
- package/debuggingApp/node_modules/type-is/HISTORY.md +0 -259
- package/debuggingApp/node_modules/type-is/LICENSE +0 -23
- package/debuggingApp/node_modules/type-is/README.md +0 -170
- package/debuggingApp/node_modules/type-is/index.js +0 -266
- package/debuggingApp/node_modules/type-is/package.json +0 -45
- package/debuggingApp/node_modules/unpipe/HISTORY.md +0 -4
- package/debuggingApp/node_modules/unpipe/LICENSE +0 -22
- package/debuggingApp/node_modules/unpipe/README.md +0 -43
- package/debuggingApp/node_modules/unpipe/index.js +0 -69
- package/debuggingApp/node_modules/unpipe/package.json +0 -27
- package/debuggingApp/node_modules/utils-merge/LICENSE +0 -20
- package/debuggingApp/node_modules/utils-merge/README.md +0 -34
- package/debuggingApp/node_modules/utils-merge/index.js +0 -23
- package/debuggingApp/node_modules/utils-merge/package.json +0 -40
- package/debuggingApp/node_modules/vary/HISTORY.md +0 -39
- package/debuggingApp/node_modules/vary/LICENSE +0 -22
- package/debuggingApp/node_modules/vary/README.md +0 -101
- package/debuggingApp/node_modules/vary/index.js +0 -149
- package/debuggingApp/node_modules/vary/package.json +0 -43
- package/debuggingApp/package-lock.json +0 -1162
- package/debuggingApp/package.json +0 -18
- package/debuggingApp/server.js +0 -42
- package/dist/cjs/locize.js +0 -464
- package/dist/esm/locize.js +0 -454
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).i18next=t()}(this,function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function s(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var p={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},g=new(function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.init(n,r)}return r(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||p,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,f(f({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}()),h=function(){function e(){t(this,e),this.observers={}}return r(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter(function(e){return e!==t}):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)});this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function d(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function v(e){return null==e?"":""+e}function y(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function m(e,t,n){var r=y(e,t,Object);r.obj[r.k]=n}function b(e,t){var n=y(e,t),r=n.obj,o=n.k;if(r)return r[o]}function O(e,t,n){var r=b(e,n);return void 0!==r?r:b(t,n)}function k(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var w={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function x(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return w[e]}):e}var S="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,j=[" ",",","?","!",";"];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var N=function(e){a(i,h);var n=R(i);function i(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return t(this,i),r=n.call(this),S&&h.call(o(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return r(i,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=b(this.data,a);return s||!i||"string"!=typeof n?s:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var o=n.split(r),i=t,a=0;a<o.length;++a){if(!i)return;if("string"==typeof i[o[a]]&&a+1<o.length)return;if(void 0===i[o[a]]){for(var s=2,u=o.slice(a,a+s).join(r),c=i[u];void 0===c&&o.length>a+s;)s++,c=i[u=o.slice(a,a+s).join(r)];if(void 0===c)return;if(null===c)return null;if(n.endsWith(u)){if("string"==typeof c)return c;if(u&&"string"==typeof c[u])return c[u]}var l=o.slice(a+s).join(r);return l?e(c,l,r):void 0}i=i[o[a]]}return i}}(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),m(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=b(this.data,a)||{};r?function e(t,n,r){for(var o in n)"__proto__"!==o&&"constructor"!==o&&(o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o]);return t}(s,n,o):s=L(L({},s),n),m(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?L(L({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),i}(),C={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var I={},A=function(n){a(s,h);var i=F(s);function s(e){var n,r,a,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t(this,s),n=i.call(this),S&&h.call(o(n)),r=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],a=e,u=o(n),r.forEach(function(e){a[e]&&(u[e]=a[e])}),n.options=c,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=g.create("translator"),n}return r(s,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=j.filter(function(e){return t.indexOf(e)<0&&n.indexOf(e)<0});if(0===r.length)return!0;var o=new RegExp("(".concat(r.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r));if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),e=u.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(t,n,r){var o=this;if("object"!==e(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);var i=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,u=this.extractFromKey(t[t.length-1],n),c=u.key,l=u.namespaces,f=l[l.length-1],p=n.lng||this.language,g=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(g){var h=n.nsSeparator||this.options.nsSeparator;return i?(d.res="".concat(f).concat(h).concat(c),d):"".concat(f).concat(h).concat(c)}return i?(d.res=c,d):c}var d=this.resolve(t,n),v=d&&d.res,y=d&&d.usedKey||c,m=d&&d.exactUsedKey||c,b=Object.prototype.toString.apply(v),O=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject;if(k&&v&&("string"!=typeof v&&"boolean"!=typeof v&&"number"!=typeof v)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof O||"[object Array]"!==b)){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,v,D(D({},n),{},{ns:l})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return i?(d.res=w,d):w}if(a){var x="[object Array]"===b,S=x?[]:{},j=x?m:y;for(var P in v)if(Object.prototype.hasOwnProperty.call(v,P)){var L="".concat(j).concat(a).concat(P);S[P]=this.translate(L,D(D({},n),{joinArrays:!1,ns:l})),S[P]===L&&(S[P]=v[P])}v=S}}else if(k&&"string"==typeof O&&"[object Array]"===b)(v=v.join(O))&&(v=this.extendTranslation(v,t,n,r));else{var R=!1,N=!1,C=void 0!==n.count&&"string"!=typeof n.count,E=s.hasDefaultValue(n),F=C?this.pluralResolver.getSuffix(p,n.count,n):"",I=n["defaultValue".concat(F)]||n.defaultValue;!this.isValidLookup(v)&&E&&(R=!0,v=I),this.isValidLookup(v)||(N=!0,v=c);var A=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:v,T=E&&I!==v&&this.options.updateMissing;if(N||R||T){if(this.logger.log(T?"updateKey":"missingKey",p,f,c,T?I:v),a){var V=this.resolve(c,D(D({},n),{},{keySeparator:!1}));V&&V.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var U=[],K=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&K&&K[0])for(var B=0;B<K.length;B++)U.push(K[B]);else"all"===this.options.saveMissingTo?U=this.languageUtils.toResolveHierarchy(n.lng||this.language):U.push(n.lng||this.language);var M=function(e,t,r){var i=E&&r!==v?r:A;o.options.missingKeyHandler?o.options.missingKeyHandler(e,f,t,i,T,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,f,t,i,T,n),o.emit("missingKey",e,f,t,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?U.forEach(function(e){o.pluralResolver.getSuffixes(e,n).forEach(function(t){M([e],c+t,n["defaultValue".concat(t)]||I)})}):M(U,c,I))}v=this.extendTranslation(v,t,n,d,r),N&&v===c&&this.options.appendNamespaceToMissingKey&&(v="".concat(f,":").concat(c)),(N||R)&&this.options.parseMissingKeyHandler&&(v="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(f,":").concat(c):c,R?v:void 0):this.options.parseMissingKeyHandler(v))}return i?(d.res=v,d):v}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,D(D({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(D(D({},n),{interpolation:D(D({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=e.match(this.interpolator.nestingRegexp);a=u&&u.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=D(D({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var l=e.match(this.interpolator.nestingRegexp);a<(l&&l.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,p="string"==typeof f?[f]:f;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=C.handle(p,e,t,this.options&&this.options.postProcessPassResolved?D({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,p=f&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),g=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach(function(e){a.isValidLookup(t)||(i=e,!I["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(I["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(n){if(!a.isValidLookup(t)){o=n;var i,u=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(u,c,n,e,s);else{var l;f&&(l=a.pluralResolver.getSuffix(n,s.count,s));if(f&&(u.push(c+l),p&&u.push(c+"_zero")),g){var h="".concat(c).concat(a.options.contextSeparator).concat(s.context);u.push(h),f&&(u.push(h+l),p&&u.push(h+"_zero"))}}for(;i=u.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),s}();function T(e){return e.charAt(0).toUpperCase()+e.slice(1)}var V=function(){function e(n){t(this,e),this.options=n,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return r(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=T(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))}),o}}]),e}(),U=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],K={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},B=["v1","v2","v3"],M={zero:0,one:1,two:2,few:3,many:4,other:5};var H=function(){function e(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.languageUtils=n,this.options=o,this.logger=g.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},U.forEach(function(e){e.lngs.forEach(function(t){r[t]={numbers:e.nr,plurals:K[e.fc]}})}),r)}return r(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(e,t){return M[e]-M[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):r.numbers.map(function(r){return t.getSuffix(e,r,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON?i():this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!B.includes(this.options.compatibilityJSON)}}]),e}();function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=g.create("interpolator"),this.options=n,this.format=n.interpolation&&n.interpolation.format||function(e){return e},this.init(n)}return r(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:x,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?k(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?k(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?k(t.nestingPrefix):t.nestingPrefixEscaped||k("$t("),this.nestingSuffix=t.nestingSuffix?k(t.nestingSuffix):t.nestingSuffixEscaped||k(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var o=O(t,u,e);return s.alwaysFormat?s.format(o,void 0,n,J(J(J({},r),t),{},{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(O(t,u,a),c,n,J(J(J({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach(function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=l(n)))if("function"==typeof f){var u=f(e,o,r);i="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))i="";else{if(p){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=v(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),p?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=J({},i);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=J(J({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=l.shift(),u=l,c=!0}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=v(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=u.reduce(function(e,t){return o.format(e,t,i.lng,J(J({},i),{},{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var G=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=g.create("formatter"),this.options=n,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,Y(Y({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,Y({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,Y({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,Y({},n)).format(e)}},this.init(n)}return r(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce(function(e,t){var i=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(function(e){if(e){var t=$(e.split(":")),r=t[0],o=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=o),"false"===o&&(n[r.trim()]=!1),"true"===o&&(n[r.trim()]=!0),isNaN(o)||(n[r.trim()]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}}(t),a=i.formatName,s=i.formatOptions;if(o.formats[a]){var u=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=c.locale||c.lng||r.locale||r.lng||n;u=o.formats[a](e,l,Y(Y(Y({},s),r),c))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(a)),e},e)}}]),e}();function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var ee=function(e){a(i,h);var n=Z(i);function i(e,r,a){var s,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t(this,i),s=n.call(this),S&&h.call(o(s)),s.backend=e,s.store=r,s.services=a,s.languageUtils=a.languageUtils,s.options=u,s.logger=g.create("backendConnector"),s.waitingReads=[],s.maxParallelReads=u.maxParallelReads||10,s.readingCalls=0,s.state={},s.queue=[],s.backend&&s.backend.init&&s.backend.init(a,u.backend,u),s}return r(i,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i={},a={},s={},u={};return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===u[t]&&(u[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,s,u,c,l,f;r=n.loaded,s=i,c=y(r,[o],Object),l=c.obj,f=c.k,l[f]=l[f]||[],u&&(l[f]=l[f].concat(s)),u||l[f].push(s),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:a}):(this.readingCalls++,this.backend[n](e,t,function(s,u){if(s&&u&&o<5)setTimeout(function(){r.read.call(r,e,t,n,o+1,2*i,a)},i);else{if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}a(s,u)}})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,X(X({},i),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),i}();function te(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function ie(){}var ae=function(n){a(u,h);var i=oe(u);function u(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(t(this,u),e=i.call(this),S&&h.call(o(e)),e.options=te(r),e.services={},e.logger=g,e.modules={external:[]},n=o(e),Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(function(e){"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),s(e,o(e));setTimeout(function(){e.init(r,a)},0)}return e}return r(u,[{key:"init",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof n&&(r=n,n={}),!n.defaultNS&&n.ns&&("string"==typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var o={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if("object"===e(t[1])&&(n=t[1]),"string"==typeof t[1]&&(n.defaultValue=t[1]),"string"==typeof t[2]&&(n.tDescription=t[2]),"object"===e(t[2])||"object"===e(t[3])){var r=t[3]||t[2];Object.keys(r).forEach(function(e){n[e]=r[e]})}return n},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function i(e){return e?"function"==typeof e?new e:e:null}if(this.options=re(re(re({},o),this.options),te(n)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=re(re({},o.interpolation),this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var a;this.modules.logger?g.init(i(this.modules.logger),this.options):g.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=G);var s=new V(this.options);this.store=new N(this.options.resources,this.options);var u=this.services;u.logger=g,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new H(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(u.formatter=i(a),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new _(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ee(i(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))}),this.modules.languageDetector&&(u.languageDetector=i(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=i(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new A(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))}),this.modules.external.forEach(function(e){e.init&&e.init(t)})}if(this.format=this.options.interpolation.format,r||(r=ie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments),t}});var l=d(),f=function(){var e=function(e,n){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,t.options.isClone||t.logger.log("initialized",t.options),t.emit("initialized",t.options),l.resolve(n),r(e,n)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){o.indexOf(e)<0&&o.push(e)})};if(r)i(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return i(e)});this.options.preload&&this.options.preload.forEach(function(e){return i(e)}),this.services.backendConnector.load(o,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)})}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=d();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ie),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&C.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=d();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,function(e){!function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})}(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(t,n,r){var o=this,i=function t(n,i){var a;if("object"!==e(i)){for(var s=arguments.length,u=new Array(s>2?s-2:0),c=2;c<s;c++)u[c-2]=arguments[c];a=o.options.overloadTranslationOptionHandler([n,i].concat(u))}else a=re({},i);a.lng=a.lng||t.lng,a.lngs=a.lngs||t.lngs,a.ns=a.ns||t.ns;var l=o.options.keySeparator||".",f=r?"".concat(r).concat(l).concat(n):n;return o.t(f,a)};return"string"==typeof t?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=d();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=d();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter(function(e){return r.indexOf(e)<0});return o.length?(this.options.preload=r.concat(o),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,r=re(re(re({},this.options),t),{isClone:!0}),o=new u(r);return["store","services","language"].forEach(function(t){o[t]=e[t]}),o.services=re({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new A(o.services,o.options),o.translator.on("*",function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))}),o.init(r,n),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),u}();c(ae,"createInstance",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ae(e,t)});var se=ae.createInstance();return se.createInstance=ae.createInstance,se});
|