isomorfeus-preact 10.5.1 → 10.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +29 -0
- data/lib/isomorfeus/preact/config.rb +19 -33
- data/lib/isomorfeus/preact/imports.rb +30 -0
- data/lib/isomorfeus/preact_view_helper.rb +26 -34
- data/lib/isomorfeus-preact.rb +6 -4
- data/lib/lucid_app/context.rb +9 -9
- data/lib/preact/version.rb +1 -1
- data/node_modules/.bin/loose-envify +12 -0
- data/node_modules/.bin/loose-envify.cmd +17 -0
- data/node_modules/.bin/loose-envify.ps1 +28 -0
- data/node_modules/.package-lock.json +278 -0
- data/node_modules/@babel/runtime/LICENSE +22 -0
- data/node_modules/@babel/runtime/README.md +19 -0
- data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +99 -0
- data/node_modules/@babel/runtime/helpers/AwaitValue.js +6 -0
- data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +31 -0
- data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +12 -0
- data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +6 -0
- data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +8 -0
- data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +10 -0
- data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +57 -0
- data/node_modules/@babel/runtime/helpers/asyncIterator.js +16 -0
- data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +38 -0
- data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +8 -0
- data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +8 -0
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +23 -0
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +10 -0
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +14 -0
- data/node_modules/@babel/runtime/helpers/classCallCheck.js +8 -0
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +8 -0
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +8 -0
- data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +10 -0
- data/node_modules/@babel/runtime/helpers/classNameTDZError.js +6 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +11 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +11 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +9 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +10 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +8 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +12 -0
- data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +10 -0
- data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +9 -0
- data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +6 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +14 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +14 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +15 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +9 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +6 -0
- data/node_modules/@babel/runtime/helpers/construct.js +26 -0
- data/node_modules/@babel/runtime/helpers/createClass.js +18 -0
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +61 -0
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +25 -0
- data/node_modules/@babel/runtime/helpers/createSuper.js +25 -0
- data/node_modules/@babel/runtime/helpers/decorate.js +401 -0
- data/node_modules/@babel/runtime/helpers/defaults.js +17 -0
- data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +25 -0
- data/node_modules/@babel/runtime/helpers/defineProperty.js +17 -0
- data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +95 -0
- data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +28 -0
- data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +4 -0
- data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +54 -0
- data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +13 -0
- data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +35 -0
- data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +4 -0
- data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +20 -0
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +11 -0
- data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +4 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/construct.js +18 -0
- data/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +57 -0
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +21 -0
- data/node_modules/@babel/runtime/helpers/esm/createSuper.js +19 -0
- data/node_modules/@babel/runtime/helpers/esm/decorate.js +396 -0
- data/node_modules/@babel/runtime/helpers/esm/defaults.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +22 -0
- data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/extends.js +17 -0
- data/node_modules/@babel/runtime/helpers/esm/get.js +20 -0
- data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/inherits.js +15 -0
- data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/instanceof.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +51 -0
- data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +12 -0
- data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +29 -0
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/jsx.js +46 -0
- data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +19 -0
- data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +39 -0
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +19 -0
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
- data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +11 -0
- data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/set.js +51 -0
- data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +11 -0
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/tdz.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +1 -0
- data/node_modules/@babel/runtime/helpers/esm/toArray.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +13 -0
- data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/typeof.js +15 -0
- data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +37 -0
- data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +65 -0
- data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +3 -0
- data/node_modules/@babel/runtime/helpers/extends.js +21 -0
- data/node_modules/@babel/runtime/helpers/get.js +27 -0
- data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +10 -0
- data/node_modules/@babel/runtime/helpers/inherits.js +19 -0
- data/node_modules/@babel/runtime/helpers/inheritsLoose.js +10 -0
- data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +12 -0
- data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +6 -0
- data/node_modules/@babel/runtime/helpers/instanceof.js +10 -0
- data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +8 -0
- data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +54 -0
- data/node_modules/@babel/runtime/helpers/isNativeFunction.js +6 -0
- data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +15 -0
- data/node_modules/@babel/runtime/helpers/iterableToArray.js +6 -0
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +32 -0
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +17 -0
- data/node_modules/@babel/runtime/helpers/jsx.js +50 -0
- data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +13 -0
- data/node_modules/@babel/runtime/helpers/newArrowCheck.js +8 -0
- data/node_modules/@babel/runtime/helpers/nonIterableRest.js +6 -0
- data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +6 -0
- data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +6 -0
- data/node_modules/@babel/runtime/helpers/objectSpread.js +23 -0
- data/node_modules/@babel/runtime/helpers/objectSpread2.js +42 -0
- data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +23 -0
- data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +17 -0
- data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +16 -0
- data/node_modules/@babel/runtime/helpers/readOnlyError.js +6 -0
- data/node_modules/@babel/runtime/helpers/set.js +55 -0
- data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +12 -0
- data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +10 -0
- data/node_modules/@babel/runtime/helpers/slicedToArray.js +14 -0
- data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +14 -0
- data/node_modules/@babel/runtime/helpers/superPropBase.js +13 -0
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +14 -0
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +11 -0
- data/node_modules/@babel/runtime/helpers/tdz.js +6 -0
- data/node_modules/@babel/runtime/helpers/temporalRef.js +10 -0
- data/node_modules/@babel/runtime/helpers/temporalUndefined.js +4 -0
- data/node_modules/@babel/runtime/helpers/toArray.js +14 -0
- data/node_modules/@babel/runtime/helpers/toConsumableArray.js +14 -0
- data/node_modules/@babel/runtime/helpers/toPrimitive.js +17 -0
- data/node_modules/@babel/runtime/helpers/toPropertyKey.js +11 -0
- data/node_modules/@babel/runtime/helpers/typeof.js +22 -0
- data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +13 -0
- data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +10 -0
- data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +45 -0
- data/node_modules/@babel/runtime/helpers/wrapRegExp.js +72 -0
- data/node_modules/@babel/runtime/helpers/writeOnlyError.js +6 -0
- data/node_modules/@babel/runtime/package.json +848 -0
- data/node_modules/@babel/runtime/regenerator/index.js +1 -0
- data/node_modules/css-in-js-utils/Changelog.md +16 -0
- data/node_modules/css-in-js-utils/LICENSE +21 -0
- data/node_modules/css-in-js-utils/README.md +241 -0
- data/node_modules/css-in-js-utils/lib/__tests__/assignStyle-test.js +117 -0
- data/node_modules/css-in-js-utils/lib/__tests__/camelCaseProperty-test.js +15 -0
- data/node_modules/css-in-js-utils/lib/__tests__/cssifyDeclaration-test.js +15 -0
- data/node_modules/css-in-js-utils/lib/__tests__/cssifyObject-test.js +31 -0
- data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedProperty-test.js +19 -0
- data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedValue-test.js +19 -0
- data/node_modules/css-in-js-utils/lib/__tests__/isUnitlessProperty-test.js +43 -0
- data/node_modules/css-in-js-utils/lib/__tests__/normalizeProperty-test.js +21 -0
- data/node_modules/css-in-js-utils/lib/__tests__/resolveArrayValue-test.js +17 -0
- data/node_modules/css-in-js-utils/lib/__tests__/unprefixProperty-test.js +19 -0
- data/node_modules/css-in-js-utils/lib/__tests__/unprefixValue-test.js +20 -0
- data/node_modules/css-in-js-utils/lib/assignStyle.js +37 -0
- data/node_modules/css-in-js-utils/lib/camelCaseProperty.js +15 -0
- data/node_modules/css-in-js-utils/lib/cssifyDeclaration.js +17 -0
- data/node_modules/css-in-js-utils/lib/cssifyObject.js +34 -0
- data/node_modules/css-in-js-utils/lib/hyphenateProperty.js +17 -0
- data/node_modules/css-in-js-utils/lib/index.js +71 -0
- data/node_modules/css-in-js-utils/lib/isPrefixedProperty.js +12 -0
- data/node_modules/css-in-js-utils/lib/isPrefixedValue.js +12 -0
- data/node_modules/css-in-js-utils/lib/isUnitlessProperty.js +64 -0
- data/node_modules/css-in-js-utils/lib/normalizeProperty.js +21 -0
- data/node_modules/css-in-js-utils/lib/resolveArrayValue.js +19 -0
- data/node_modules/css-in-js-utils/lib/unprefixProperty.js +13 -0
- data/node_modules/css-in-js-utils/lib/unprefixValue.js +16 -0
- data/node_modules/css-in-js-utils/package.json +56 -0
- data/node_modules/css-tree/CHANGELOG.md +590 -0
- data/node_modules/css-tree/LICENSE +19 -0
- data/node_modules/css-tree/README.md +130 -0
- data/node_modules/css-tree/data/index.js +103 -0
- data/node_modules/css-tree/data/patch.json +721 -0
- data/node_modules/css-tree/dist/csstree.js +12606 -0
- data/node_modules/css-tree/dist/csstree.min.js +1 -0
- data/node_modules/css-tree/lib/common/List.js +576 -0
- data/node_modules/css-tree/lib/common/OffsetToLocation.js +91 -0
- data/node_modules/css-tree/lib/common/SyntaxError.js +82 -0
- data/node_modules/css-tree/lib/common/TokenStream.js +219 -0
- data/node_modules/css-tree/lib/common/adopt-buffer.js +10 -0
- data/node_modules/css-tree/lib/convertor/create.js +28 -0
- data/node_modules/css-tree/lib/convertor/index.js +3 -0
- data/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +14 -0
- data/node_modules/css-tree/lib/definition-syntax/generate.js +129 -0
- data/node_modules/css-tree/lib/definition-syntax/index.js +6 -0
- data/node_modules/css-tree/lib/definition-syntax/parse.js +568 -0
- data/node_modules/css-tree/lib/definition-syntax/tokenizer.js +55 -0
- data/node_modules/css-tree/lib/definition-syntax/walk.js +52 -0
- data/node_modules/css-tree/lib/generator/create.js +66 -0
- data/node_modules/css-tree/lib/generator/index.js +4 -0
- data/node_modules/css-tree/lib/generator/sourceMap.js +95 -0
- data/node_modules/css-tree/lib/index.js +1 -0
- data/node_modules/css-tree/lib/lexer/Lexer.js +466 -0
- data/node_modules/css-tree/lib/lexer/error.js +127 -0
- data/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +236 -0
- data/node_modules/css-tree/lib/lexer/generic-urange.js +159 -0
- data/node_modules/css-tree/lib/lexer/generic.js +585 -0
- data/node_modules/css-tree/lib/lexer/index.js +3 -0
- data/node_modules/css-tree/lib/lexer/match-graph.js +455 -0
- data/node_modules/css-tree/lib/lexer/match.js +639 -0
- data/node_modules/css-tree/lib/lexer/prepare-tokens.js +73 -0
- data/node_modules/css-tree/lib/lexer/search.js +65 -0
- data/node_modules/css-tree/lib/lexer/structure.js +163 -0
- data/node_modules/css-tree/lib/lexer/trace.js +79 -0
- data/node_modules/css-tree/lib/parser/create.js +304 -0
- data/node_modules/css-tree/lib/parser/index.js +4 -0
- data/node_modules/css-tree/lib/parser/sequence.js +54 -0
- data/node_modules/css-tree/lib/syntax/atrule/font-face.js +8 -0
- data/node_modules/css-tree/lib/syntax/atrule/import.js +40 -0
- data/node_modules/css-tree/lib/syntax/atrule/index.js +7 -0
- data/node_modules/css-tree/lib/syntax/atrule/media.js +12 -0
- data/node_modules/css-tree/lib/syntax/atrule/page.js +12 -0
- data/node_modules/css-tree/lib/syntax/atrule/supports.js +89 -0
- data/node_modules/css-tree/lib/syntax/config/lexer.js +9 -0
- data/node_modules/css-tree/lib/syntax/config/mix.js +140 -0
- data/node_modules/css-tree/lib/syntax/config/parser.js +25 -0
- data/node_modules/css-tree/lib/syntax/config/walker.js +3 -0
- data/node_modules/css-tree/lib/syntax/create.js +77 -0
- data/node_modules/css-tree/lib/syntax/function/expression.js +7 -0
- data/node_modules/css-tree/lib/syntax/function/var.js +43 -0
- data/node_modules/css-tree/lib/syntax/index.js +21 -0
- data/node_modules/css-tree/lib/syntax/node/AnPlusB.js +297 -0
- data/node_modules/css-tree/lib/syntax/node/Atrule.js +107 -0
- data/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +51 -0
- data/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +165 -0
- data/node_modules/css-tree/lib/syntax/node/Block.js +91 -0
- data/node_modules/css-tree/lib/syntax/node/Brackets.js +34 -0
- data/node_modules/css-tree/lib/syntax/node/CDC.js +19 -0
- data/node_modules/css-tree/lib/syntax/node/CDO.js +19 -0
- data/node_modules/css-tree/lib/syntax/node/ClassSelector.js +29 -0
- data/node_modules/css-tree/lib/syntax/node/Combinator.js +55 -0
- data/node_modules/css-tree/lib/syntax/node/Comment.js +36 -0
- data/node_modules/css-tree/lib/syntax/node/Declaration.js +169 -0
- data/node_modules/css-tree/lib/syntax/node/DeclarationList.js +49 -0
- data/node_modules/css-tree/lib/syntax/node/Dimension.js +29 -0
- data/node_modules/css-tree/lib/syntax/node/Function.js +40 -0
- data/node_modules/css-tree/lib/syntax/node/Hash.js +26 -0
- data/node_modules/css-tree/lib/syntax/node/IdSelector.js +27 -0
- data/node_modules/css-tree/lib/syntax/node/Identifier.js +20 -0
- data/node_modules/css-tree/lib/syntax/node/MediaFeature.js +76 -0
- data/node_modules/css-tree/lib/syntax/node/MediaQuery.js +68 -0
- data/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +36 -0
- data/node_modules/css-tree/lib/syntax/node/Nth.js +51 -0
- data/node_modules/css-tree/lib/syntax/node/Number.js +18 -0
- data/node_modules/css-tree/lib/syntax/node/Operator.js +21 -0
- data/node_modules/css-tree/lib/syntax/node/Parentheses.js +34 -0
- data/node_modules/css-tree/lib/syntax/node/Percentage.js +27 -0
- data/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +61 -0
- data/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +62 -0
- data/node_modules/css-tree/lib/syntax/node/Ratio.js +66 -0
- data/node_modules/css-tree/lib/syntax/node/Raw.js +87 -0
- data/node_modules/css-tree/lib/syntax/node/Rule.js +54 -0
- data/node_modules/css-tree/lib/syntax/node/Selector.js +32 -0
- data/node_modules/css-tree/lib/syntax/node/SelectorList.js +39 -0
- data/node_modules/css-tree/lib/syntax/node/String.js +18 -0
- data/node_modules/css-tree/lib/syntax/node/StyleSheet.js +81 -0
- data/node_modules/css-tree/lib/syntax/node/TypeSelector.js +53 -0
- data/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +173 -0
- data/node_modules/css-tree/lib/syntax/node/Url.js +69 -0
- data/node_modules/css-tree/lib/syntax/node/Value.js +19 -0
- data/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +26 -0
- data/node_modules/css-tree/lib/syntax/node/index.js +42 -0
- data/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +9 -0
- data/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +9 -0
- data/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/dir.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/has.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/index.js +12 -0
- data/node_modules/css-tree/lib/syntax/pseudo/lang.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/matches.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/not.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/slotted.js +7 -0
- data/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +3 -0
- data/node_modules/css-tree/lib/syntax/scope/default.js +87 -0
- data/node_modules/css-tree/lib/syntax/scope/index.js +5 -0
- data/node_modules/css-tree/lib/syntax/scope/selector.js +80 -0
- data/node_modules/css-tree/lib/syntax/scope/value.js +5 -0
- data/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +249 -0
- data/node_modules/css-tree/lib/tokenizer/const.js +40 -0
- data/node_modules/css-tree/lib/tokenizer/index.js +591 -0
- data/node_modules/css-tree/lib/tokenizer/utils.js +243 -0
- data/node_modules/css-tree/lib/utils/clone.js +21 -0
- data/node_modules/css-tree/lib/utils/createCustomError.js +17 -0
- data/node_modules/css-tree/lib/utils/names.js +104 -0
- data/node_modules/css-tree/lib/walker/create.js +284 -0
- data/node_modules/css-tree/lib/walker/index.js +4 -0
- data/node_modules/css-tree/package.json +60 -0
- data/node_modules/csstype/LICENSE +19 -0
- data/node_modules/csstype/README.md +273 -0
- data/node_modules/csstype/index.d.ts +20553 -0
- data/node_modules/csstype/index.js.flow +6278 -0
- data/node_modules/csstype/package.json +62 -0
- data/node_modules/error-stack-parser/CHANGELOG.md +53 -0
- data/node_modules/error-stack-parser/LICENSE +19 -0
- data/node_modules/error-stack-parser/README.md +44 -0
- data/node_modules/error-stack-parser/dist/error-stack-parser.js +202 -0
- data/node_modules/error-stack-parser/dist/error-stack-parser.min.js +2 -0
- data/node_modules/error-stack-parser/dist/error-stack-parser.min.js.map +1 -0
- data/node_modules/error-stack-parser/error-stack-parser.d.ts +66 -0
- data/node_modules/error-stack-parser/error-stack-parser.js +202 -0
- data/node_modules/error-stack-parser/package.json +63 -0
- data/node_modules/fastest-stable-stringify/.eslintrc.yml +26 -0
- data/node_modules/fastest-stable-stringify/.travis.yml +7 -0
- data/node_modules/fastest-stable-stringify/LICENSE +18 -0
- data/node_modules/fastest-stable-stringify/README.md +44 -0
- data/node_modules/fastest-stable-stringify/benchmark/index.js +32 -0
- data/node_modules/fastest-stable-stringify/benchmark/test.json +215 -0
- data/node_modules/fastest-stable-stringify/example/key_cmp.js +7 -0
- data/node_modules/fastest-stable-stringify/example/nested.js +3 -0
- data/node_modules/fastest-stable-stringify/example/str.js +3 -0
- data/node_modules/fastest-stable-stringify/example/value_cmp.js +7 -0
- data/node_modules/fastest-stable-stringify/index.js +60 -0
- data/node_modules/fastest-stable-stringify/package.json +54 -0
- data/node_modules/fastest-stable-stringify/test/bench.js +20 -0
- data/node_modules/fastest-stable-stringify/test/nested.js +24 -0
- data/node_modules/fastest-stable-stringify/test/str.js +52 -0
- data/node_modules/fastest-stable-stringify/test/to-json.js +22 -0
- data/node_modules/hyphenate-style-name/LICENSE +28 -0
- data/node_modules/hyphenate-style-name/README.md +28 -0
- data/node_modules/hyphenate-style-name/index.cjs.js +21 -0
- data/node_modules/hyphenate-style-name/index.js +19 -0
- data/node_modules/hyphenate-style-name/package.json +42 -0
- data/node_modules/inline-style-prefixer/CHANGELOG.md +195 -0
- data/node_modules/inline-style-prefixer/LICENSE +22 -0
- data/node_modules/inline-style-prefixer/README.md +100 -0
- data/node_modules/inline-style-prefixer/es/createPrefixer.js +47 -0
- data/node_modules/inline-style-prefixer/es/data.js +12 -0
- data/node_modules/inline-style-prefixer/es/generator/generatePluginList.js +21 -0
- data/node_modules/inline-style-prefixer/es/generator/generatePrefixMap.js +75 -0
- data/node_modules/inline-style-prefixer/es/generator/index.js +69 -0
- data/node_modules/inline-style-prefixer/es/generator/maps/pluginMap.js +108 -0
- data/node_modules/inline-style-prefixer/es/generator/maps/propertyMap.js +38 -0
- data/node_modules/inline-style-prefixer/es/index.js +26 -0
- data/node_modules/inline-style-prefixer/es/plugins/backgroundClip.js +7 -0
- data/node_modules/inline-style-prefixer/es/plugins/calc.js +11 -0
- data/node_modules/inline-style-prefixer/es/plugins/crossFade.js +12 -0
- data/node_modules/inline-style-prefixer/es/plugins/cursor.js +16 -0
- data/node_modules/inline-style-prefixer/es/plugins/filter.js +12 -0
- data/node_modules/inline-style-prefixer/es/plugins/flex.js +10 -0
- data/node_modules/inline-style-prefixer/es/plugins/flexboxIE.js +67 -0
- data/node_modules/inline-style-prefixer/es/plugins/flexboxOld.js +33 -0
- data/node_modules/inline-style-prefixer/es/plugins/gradient.js +14 -0
- data/node_modules/inline-style-prefixer/es/plugins/grid.js +129 -0
- data/node_modules/inline-style-prefixer/es/plugins/imageSet.js +12 -0
- data/node_modules/inline-style-prefixer/es/plugins/index.js +17 -0
- data/node_modules/inline-style-prefixer/es/plugins/logical.js +35 -0
- data/node_modules/inline-style-prefixer/es/plugins/position.js +5 -0
- data/node_modules/inline-style-prefixer/es/plugins/sizing.js +26 -0
- data/node_modules/inline-style-prefixer/es/plugins/transition.js +75 -0
- data/node_modules/inline-style-prefixer/es/utils/addNewValuesOnly.js +15 -0
- data/node_modules/inline-style-prefixer/es/utils/capitalizeString.js +3 -0
- data/node_modules/inline-style-prefixer/es/utils/isObject.js +3 -0
- data/node_modules/inline-style-prefixer/es/utils/prefixProperty.js +22 -0
- data/node_modules/inline-style-prefixer/es/utils/prefixValue.js +11 -0
- data/node_modules/inline-style-prefixer/lib/createPrefixer.js +66 -0
- data/node_modules/inline-style-prefixer/lib/data.js +17 -0
- data/node_modules/inline-style-prefixer/lib/generator/generatePluginList.js +32 -0
- data/node_modules/inline-style-prefixer/lib/generator/generatePrefixMap.js +86 -0
- data/node_modules/inline-style-prefixer/lib/generator/index.js +85 -0
- data/node_modules/inline-style-prefixer/lib/generator/maps/pluginMap.js +113 -0
- data/node_modules/inline-style-prefixer/lib/generator/maps/propertyMap.js +43 -0
- data/node_modules/inline-style-prefixer/lib/index.js +78 -0
- data/node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js +13 -0
- data/node_modules/inline-style-prefixer/lib/plugins/calc.js +21 -0
- data/node_modules/inline-style-prefixer/lib/plugins/crossFade.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/cursor.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/filter.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/flex.js +16 -0
- data/node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js +73 -0
- data/node_modules/inline-style-prefixer/lib/plugins/flexboxOld.js +39 -0
- data/node_modules/inline-style-prefixer/lib/plugins/gradient.js +26 -0
- data/node_modules/inline-style-prefixer/lib/plugins/grid.js +136 -0
- data/node_modules/inline-style-prefixer/lib/plugins/imageSet.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/index.js +69 -0
- data/node_modules/inline-style-prefixer/lib/plugins/logical.js +41 -0
- data/node_modules/inline-style-prefixer/lib/plugins/position.js +11 -0
- data/node_modules/inline-style-prefixer/lib/plugins/sizing.js +32 -0
- data/node_modules/inline-style-prefixer/lib/plugins/transition.js +92 -0
- data/node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js +21 -0
- data/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js +9 -0
- data/node_modules/inline-style-prefixer/lib/utils/isObject.js +9 -0
- data/node_modules/inline-style-prefixer/lib/utils/prefixProperty.js +32 -0
- data/node_modules/inline-style-prefixer/lib/utils/prefixValue.js +17 -0
- data/node_modules/inline-style-prefixer/package.json +79 -0
- data/node_modules/isobject/LICENSE +21 -0
- data/node_modules/isobject/README.md +122 -0
- data/node_modules/isobject/index.d.ts +5 -0
- data/node_modules/isobject/index.js +12 -0
- data/node_modules/isobject/package.json +74 -0
- data/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/node_modules/js-tokens/LICENSE +21 -0
- data/node_modules/js-tokens/README.md +240 -0
- data/node_modules/js-tokens/index.js +23 -0
- data/node_modules/js-tokens/package.json +30 -0
- data/node_modules/loose-envify/LICENSE +21 -0
- data/node_modules/loose-envify/README.md +45 -0
- data/node_modules/loose-envify/cli.js +16 -0
- data/node_modules/loose-envify/custom.js +4 -0
- data/node_modules/loose-envify/index.js +3 -0
- data/node_modules/loose-envify/loose-envify.js +36 -0
- data/node_modules/loose-envify/package.json +36 -0
- data/node_modules/loose-envify/replace.js +65 -0
- data/node_modules/mdn-data/LICENSE +116 -0
- data/node_modules/mdn-data/README.md +56 -0
- data/node_modules/mdn-data/api/index.js +3 -0
- data/node_modules/mdn-data/api/inheritance.json +2681 -0
- data/node_modules/mdn-data/api/inheritance.schema.json +31 -0
- data/node_modules/mdn-data/css/at-rules.json +560 -0
- data/node_modules/mdn-data/css/at-rules.schema.json +132 -0
- data/node_modules/mdn-data/css/definitions.json +77 -0
- data/node_modules/mdn-data/css/index.js +8 -0
- data/node_modules/mdn-data/css/properties.json +9163 -0
- data/node_modules/mdn-data/css/properties.schema.json +402 -0
- data/node_modules/mdn-data/css/selectors.json +927 -0
- data/node_modules/mdn-data/css/selectors.schema.json +36 -0
- data/node_modules/mdn-data/css/syntaxes.json +761 -0
- data/node_modules/mdn-data/css/syntaxes.schema.json +15 -0
- data/node_modules/mdn-data/css/types.json +265 -0
- data/node_modules/mdn-data/css/types.schema.json +32 -0
- data/node_modules/mdn-data/css/units.json +199 -0
- data/node_modules/mdn-data/css/units.schema.json +28 -0
- data/node_modules/mdn-data/index.js +5 -0
- data/node_modules/mdn-data/l10n/css.json +1567 -0
- data/node_modules/mdn-data/l10n/index.js +3 -0
- data/node_modules/mdn-data/package.json +39 -0
- data/node_modules/nano-css/.circleci/config.yml +85 -0
- data/node_modules/nano-css/.eslintrc.yml +27 -0
- data/node_modules/nano-css/.github/FUNDING.yml +3 -0
- data/node_modules/nano-css/.github/workflows/nodejs.yml +23 -0
- data/node_modules/nano-css/CHANGELOG.md +362 -0
- data/node_modules/nano-css/LICENSE +24 -0
- data/node_modules/nano-css/README.md +70 -0
- data/node_modules/nano-css/addon/__dev__/warnOnMissingDependencies.js +25 -0
- data/node_modules/nano-css/addon/__tests__/__snapshots__/reset.test.js.snap +407 -0
- data/node_modules/nano-css/addon/__tests__/__snapshots__/tachyons.test.js.snap +43 -0
- data/node_modules/nano-css/addon/__tests__/amp.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/amp.server.test.js +223 -0
- data/node_modules/nano-css/addon/__tests__/atoms.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/atoms.server.dev.test.js +8 -0
- data/node_modules/nano-css/addon/__tests__/atoms.server.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/atoms.test.js +49 -0
- data/node_modules/nano-css/addon/__tests__/cssom.server.test.js +12 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.dev.test.js +8 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.test.js +219 -0
- data/node_modules/nano-css/addon/__tests__/env.js +6 -0
- data/node_modules/nano-css/addon/__tests__/extract.server.test.js +159 -0
- data/node_modules/nano-css/addon/__tests__/index.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/index.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/index.test.js +257 -0
- data/node_modules/nano-css/addon/__tests__/jsx.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/jsx.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/jsx.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/jsx.test.js +33 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.test.js +131 -0
- data/node_modules/nano-css/addon/__tests__/limit.server.test.js +54 -0
- data/node_modules/nano-css/addon/__tests__/nesting.test.js +85 -0
- data/node_modules/nano-css/addon/__tests__/prefixer.test.js +121 -0
- data/node_modules/nano-css/addon/__tests__/put.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/put.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/put.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/put.test.js +75 -0
- data/node_modules/nano-css/addon/__tests__/reset.test.js +38 -0
- data/node_modules/nano-css/addon/__tests__/rule.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/rule.server.dev.test.js +7 -0
- data/node_modules/nano-css/addon/__tests__/rule.server.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/rule.test.js +57 -0
- data/node_modules/nano-css/addon/__tests__/setup.js +7 -0
- data/node_modules/nano-css/addon/__tests__/sheet.test.js +74 -0
- data/node_modules/nano-css/addon/__tests__/snake.test.js +124 -0
- data/node_modules/nano-css/addon/__tests__/tachyons.test.js +45 -0
- data/node_modules/nano-css/addon/__tests__/units.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/units.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/units.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/units.test.js +41 -0
- data/node_modules/nano-css/addon/__tests__/validate.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/validate.test.js +69 -0
- data/node_modules/nano-css/addon/__tests__/vcssom.server.test.js +14 -0
- data/node_modules/nano-css/addon/__tests__/virtual.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/virtual.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/virtual.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/virtual.test.js +225 -0
- data/node_modules/nano-css/addon/amp.d.ts +5 -0
- data/node_modules/nano-css/addon/amp.js +156 -0
- data/node_modules/nano-css/addon/animate/fadeIn.js +22 -0
- data/node_modules/nano-css/addon/animate/fadeInDown.js +25 -0
- data/node_modules/nano-css/addon/animate/fadeInScale.js +25 -0
- data/node_modules/nano-css/addon/animate/fadeOut.js +23 -0
- data/node_modules/nano-css/addon/animate/fadeOutScale.js +21 -0
- data/node_modules/nano-css/addon/array.d.ts +5 -0
- data/node_modules/nano-css/addon/array.js +33 -0
- data/node_modules/nano-css/addon/atoms.d.ts +243 -0
- data/node_modules/nano-css/addon/atoms.js +63 -0
- data/node_modules/nano-css/addon/cache.d.ts +8 -0
- data/node_modules/nano-css/addon/cache.js +17 -0
- data/node_modules/nano-css/addon/component.d.ts +7 -0
- data/node_modules/nano-css/addon/component.js +26 -0
- data/node_modules/nano-css/addon/cssom.d.ts +17 -0
- data/node_modules/nano-css/addon/cssom.js +36 -0
- data/node_modules/nano-css/addon/decorator.d.ts +7 -0
- data/node_modules/nano-css/addon/decorator.js +43 -0
- data/node_modules/nano-css/addon/drule.d.ts +8 -0
- data/node_modules/nano-css/addon/drule.js +27 -0
- data/node_modules/nano-css/addon/dsheet.d.ts +8 -0
- data/node_modules/nano-css/addon/dsheet.js +36 -0
- data/node_modules/nano-css/addon/emmet.d.ts +614 -0
- data/node_modules/nano-css/addon/emmet.js +177 -0
- data/node_modules/nano-css/addon/extract.d.ts +5 -0
- data/node_modules/nano-css/addon/extract.js +59 -0
- data/node_modules/nano-css/addon/global.d.ts +8 -0
- data/node_modules/nano-css/addon/global.js +19 -0
- data/node_modules/nano-css/addon/googleFont.d.ts +8 -0
- data/node_modules/nano-css/addon/googleFont.js +43 -0
- data/node_modules/nano-css/addon/hydrate.d.ts +7 -0
- data/node_modules/nano-css/addon/hydrate.js +28 -0
- data/node_modules/nano-css/addon/hyperstyle.js +27 -0
- data/node_modules/nano-css/addon/important.js +38 -0
- data/node_modules/nano-css/addon/jsx.js +60 -0
- data/node_modules/nano-css/addon/keyframes.d.ts +34 -0
- data/node_modules/nano-css/addon/keyframes.js +61 -0
- data/node_modules/nano-css/addon/limit.js +26 -0
- data/node_modules/nano-css/addon/nesting.js +37 -0
- data/node_modules/nano-css/addon/pipe.js +57 -0
- data/node_modules/nano-css/addon/prefixer.js +79 -0
- data/node_modules/nano-css/addon/ref.js +87 -0
- data/node_modules/nano-css/addon/reset/EricMeyer.js +48 -0
- data/node_modules/nano-css/addon/reset/EricMeyerCondensed.js +44 -0
- data/node_modules/nano-css/addon/reset/Minimalistic.js +16 -0
- data/node_modules/nano-css/addon/reset/Minimalistic2.js +17 -0
- data/node_modules/nano-css/addon/reset/Minimalistic3.js +18 -0
- data/node_modules/nano-css/addon/reset/Normalize.js +83 -0
- data/node_modules/nano-css/addon/reset/PoorMan.js +25 -0
- data/node_modules/nano-css/addon/reset/ShaunInman.js +42 -0
- data/node_modules/nano-css/addon/reset/Siolon.js +34 -0
- data/node_modules/nano-css/addon/reset/Tantek.js +31 -0
- data/node_modules/nano-css/addon/reset/Tripoli.js +75 -0
- data/node_modules/nano-css/addon/reset/Universal.js +23 -0
- data/node_modules/nano-css/addon/reset/Yahoo.js +43 -0
- data/node_modules/nano-css/addon/reset-font.js +24 -0
- data/node_modules/nano-css/addon/rtl.js +15 -0
- data/node_modules/nano-css/addon/rule.d.ts +26 -0
- data/node_modules/nano-css/addon/rule.js +39 -0
- data/node_modules/nano-css/addon/sheet.d.ts +22 -0
- data/node_modules/nano-css/addon/sheet.js +45 -0
- data/node_modules/nano-css/addon/snake.js +141 -0
- data/node_modules/nano-css/addon/sourcemaps.js +96 -0
- data/node_modules/nano-css/addon/spread.js +23 -0
- data/node_modules/nano-css/addon/stable.js +7 -0
- data/node_modules/nano-css/addon/style.js +33 -0
- data/node_modules/nano-css/addon/styled.js +161 -0
- data/node_modules/nano-css/addon/stylis/plugin-onRule.js +43 -0
- data/node_modules/nano-css/addon/stylis.js +28 -0
- data/node_modules/nano-css/addon/tachyons.js +215 -0
- data/node_modules/nano-css/addon/unitless.js +78 -0
- data/node_modules/nano-css/addon/units.d.ts +89 -0
- data/node_modules/nano-css/addon/units.js +27 -0
- data/node_modules/nano-css/addon/useStyles.js +24 -0
- data/node_modules/nano-css/addon/util/cloneElement.js +11 -0
- data/node_modules/nano-css/addon/util/transformComponentDynamic.js +50 -0
- data/node_modules/nano-css/addon/util/transformComponentStatic.js +26 -0
- data/node_modules/nano-css/addon/validate.js +82 -0
- data/node_modules/nano-css/addon/vcssom/__tests__/cssToTree.test.js +159 -0
- data/node_modules/nano-css/addon/vcssom/cssToTree.d.ts +15 -0
- data/node_modules/nano-css/addon/vcssom/cssToTree.js +42 -0
- data/node_modules/nano-css/addon/vcssom/removeRule.d.ts +3 -0
- data/node_modules/nano-css/addon/vcssom/removeRule.js +15 -0
- data/node_modules/nano-css/addon/vcssom.d.ts +72 -0
- data/node_modules/nano-css/addon/vcssom.js +97 -0
- data/node_modules/nano-css/addon/virtual.js +107 -0
- data/node_modules/nano-css/addon/withStyles.js +32 -0
- data/node_modules/nano-css/index.d.ts +4 -0
- data/node_modules/nano-css/index.js +138 -0
- data/node_modules/nano-css/package.json +145 -0
- data/node_modules/nano-css/preset/react.js +43 -0
- data/node_modules/nano-css/preset/sheet.d.ts +5 -0
- data/node_modules/nano-css/preset/sheet.js +27 -0
- data/node_modules/nano-css/preset/vdom.js +40 -0
- data/node_modules/nano-css/prettier.config.js +13 -0
- data/node_modules/nano-css/renovate.json +3 -0
- data/node_modules/nano-css/types/common.d.ts +14 -0
- data/node_modules/nano-css/types/demo.ts +7 -0
- data/node_modules/nano-css/types/nano.d.ts +171 -0
- data/node_modules/object-assign/index.js +90 -0
- data/node_modules/object-assign/license +21 -0
- data/node_modules/object-assign/package.json +42 -0
- data/node_modules/object-assign/readme.md +61 -0
- data/node_modules/preact/LICENSE +21 -0
- data/node_modules/preact/README.md +187 -0
- data/node_modules/preact/compat/LICENSE +21 -0
- data/node_modules/preact/compat/dist/compat.js +2 -0
- data/node_modules/preact/compat/dist/compat.js.map +1 -0
- data/node_modules/preact/compat/dist/compat.mjs +2 -0
- data/node_modules/preact/compat/dist/compat.mjs.map +1 -0
- data/node_modules/preact/compat/dist/compat.modern.js +2 -0
- data/node_modules/preact/compat/dist/compat.modern.js.map +1 -0
- data/node_modules/preact/compat/dist/compat.module.js +2 -0
- data/node_modules/preact/compat/dist/compat.module.js.map +1 -0
- data/node_modules/preact/compat/dist/compat.umd.js +2 -0
- data/node_modules/preact/compat/dist/compat.umd.js.map +1 -0
- data/node_modules/preact/compat/jsx-dev-runtime.js +1 -0
- data/node_modules/preact/compat/jsx-dev-runtime.mjs +1 -0
- data/node_modules/preact/compat/jsx-runtime.js +1 -0
- data/node_modules/preact/compat/jsx-runtime.mjs +1 -0
- data/node_modules/preact/compat/package.json +19 -0
- data/node_modules/preact/compat/scheduler.js +15 -0
- data/node_modules/preact/compat/scheduler.mjs +23 -0
- data/node_modules/preact/compat/server.js +15 -0
- data/node_modules/preact/compat/server.mjs +4 -0
- data/node_modules/preact/compat/src/Children.js +21 -0
- data/node_modules/preact/compat/src/PureComponent.js +15 -0
- data/node_modules/preact/compat/src/forwardRef.js +51 -0
- data/node_modules/preact/compat/src/index.d.ts +140 -0
- data/node_modules/preact/compat/src/index.js +187 -0
- data/node_modules/preact/compat/src/internal.d.ts +47 -0
- data/node_modules/preact/compat/src/memo.js +34 -0
- data/node_modules/preact/compat/src/portals.js +80 -0
- data/node_modules/preact/compat/src/render.js +219 -0
- data/node_modules/preact/compat/src/suspense-list.d.ts +14 -0
- data/node_modules/preact/compat/src/suspense-list.js +126 -0
- data/node_modules/preact/compat/src/suspense.d.ts +15 -0
- data/node_modules/preact/compat/src/suspense.js +270 -0
- data/node_modules/preact/compat/src/util.js +28 -0
- data/node_modules/preact/compat/test-utils.js +1 -0
- data/node_modules/preact/debug/LICENSE +21 -0
- data/node_modules/preact/debug/dist/debug.js +2 -0
- data/node_modules/preact/debug/dist/debug.js.map +1 -0
- data/node_modules/preact/debug/dist/debug.mjs +2 -0
- data/node_modules/preact/debug/dist/debug.mjs.map +1 -0
- data/node_modules/preact/debug/dist/debug.modern.js +2 -0
- data/node_modules/preact/debug/dist/debug.modern.js.map +1 -0
- data/node_modules/preact/debug/dist/debug.module.js +2 -0
- data/node_modules/preact/debug/dist/debug.module.js.map +1 -0
- data/node_modules/preact/debug/dist/debug.umd.js +2 -0
- data/node_modules/preact/debug/dist/debug.umd.js.map +1 -0
- data/node_modules/preact/debug/package.json +18 -0
- data/node_modules/preact/debug/src/check-props.js +54 -0
- data/node_modules/preact/debug/src/component-stack.js +146 -0
- data/node_modules/preact/debug/src/constants.js +3 -0
- data/node_modules/preact/debug/src/debug.js +442 -0
- data/node_modules/preact/debug/src/index.js +6 -0
- data/node_modules/preact/debug/src/internal.d.ts +82 -0
- data/node_modules/preact/debug/src/util.js +11 -0
- data/node_modules/preact/devtools/LICENSE +21 -0
- data/node_modules/preact/devtools/dist/devtools.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.js.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.mjs +2 -0
- data/node_modules/preact/devtools/dist/devtools.mjs.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.modern.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.modern.js.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.module.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.module.js.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.umd.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -0
- data/node_modules/preact/devtools/package.json +16 -0
- data/node_modules/preact/devtools/src/devtools.js +10 -0
- data/node_modules/preact/devtools/src/index.d.ts +8 -0
- data/node_modules/preact/devtools/src/index.js +15 -0
- data/node_modules/preact/dist/preact.js +2 -0
- data/node_modules/preact/dist/preact.js.map +1 -0
- data/node_modules/preact/dist/preact.min.js +2 -0
- data/node_modules/preact/dist/preact.min.js.map +1 -0
- data/node_modules/preact/dist/preact.mjs +2 -0
- data/node_modules/preact/dist/preact.mjs.map +1 -0
- data/node_modules/preact/dist/preact.module.js +2 -0
- data/node_modules/preact/dist/preact.module.js.map +1 -0
- data/node_modules/preact/dist/preact.umd.js +2 -0
- data/node_modules/preact/dist/preact.umd.js.map +1 -0
- data/node_modules/preact/hooks/LICENSE +21 -0
- data/node_modules/preact/hooks/dist/hooks.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.js.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.mjs +2 -0
- data/node_modules/preact/hooks/dist/hooks.mjs.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.modern.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.modern.js.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.module.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.module.js.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.umd.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -0
- data/node_modules/preact/hooks/package.json +26 -0
- data/node_modules/preact/hooks/src/index.d.ts +133 -0
- data/node_modules/preact/hooks/src/index.js +386 -0
- data/node_modules/preact/hooks/src/internal.d.ts +75 -0
- data/node_modules/preact/jsx-runtime/LICENSE +21 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.js.map +1 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js.map +1 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js.map +1 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js.map +1 -0
- data/node_modules/preact/jsx-runtime/package.json +19 -0
- data/node_modules/preact/jsx-runtime/src/index.d.ts +50 -0
- data/node_modules/preact/jsx-runtime/src/index.js +77 -0
- data/node_modules/preact/package.json +270 -0
- data/node_modules/preact/src/cjs.js +3 -0
- data/node_modules/preact/src/clone-element.js +34 -0
- data/node_modules/preact/src/component.js +225 -0
- data/node_modules/preact/src/constants.js +3 -0
- data/node_modules/preact/src/create-context.js +68 -0
- data/node_modules/preact/src/create-element.js +97 -0
- data/node_modules/preact/src/diff/catch-error.js +38 -0
- data/node_modules/preact/src/diff/children.js +347 -0
- data/node_modules/preact/src/diff/index.js +514 -0
- data/node_modules/preact/src/diff/props.js +158 -0
- data/node_modules/preact/src/index.d.ts +310 -0
- data/node_modules/preact/src/index.js +13 -0
- data/node_modules/preact/src/internal.d.ts +146 -0
- data/node_modules/preact/src/jsx.d.ts +962 -0
- data/node_modules/preact/src/options.js +16 -0
- data/node_modules/preact/src/render.js +75 -0
- data/node_modules/preact/src/util.js +27 -0
- data/node_modules/preact/test-utils/dist/testUtils.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.js.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.mjs +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.mjs.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.modern.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.modern.js.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.module.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.module.js.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.umd.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.umd.js.map +1 -0
- data/node_modules/preact/test-utils/package.json +19 -0
- data/node_modules/preact/test-utils/src/index.d.ts +3 -0
- data/node_modules/preact/test-utils/src/index.js +117 -0
- data/node_modules/preact-deep-force-update/.babelrc +8 -0
- data/node_modules/preact-deep-force-update/.eslintrc +66 -0
- data/node_modules/preact-deep-force-update/.npmignore +2 -0
- data/node_modules/preact-deep-force-update/.travis.yml +3 -0
- data/node_modules/preact-deep-force-update/LICENSE +21 -0
- data/node_modules/preact-deep-force-update/README.md +53 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.js +36 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.js.map +1 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js +2 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js.map +1 -0
- data/node_modules/preact-deep-force-update/karma.conf.js +32 -0
- data/node_modules/preact-deep-force-update/package.json +80 -0
- data/node_modules/preact-deep-force-update/rollup.config.js +17 -0
- data/node_modules/preact-deep-force-update/src/index.js +27 -0
- data/node_modules/preact-deep-force-update/test/index.js +50 -0
- data/node_modules/preact-render-to-string/LICENSE +21 -0
- data/node_modules/preact-render-to-string/README.md +102 -0
- data/node_modules/preact-render-to-string/dist/commonjs.js +2 -0
- data/node_modules/preact-render-to-string/dist/commonjs.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/index.d.ts +16 -0
- data/node_modules/preact-render-to-string/dist/index.js +1 -0
- data/node_modules/preact-render-to-string/dist/index.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/index.mjs +2 -0
- data/node_modules/preact-render-to-string/dist/index.module.js +2 -0
- data/node_modules/preact-render-to-string/dist/index.module.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx-entry.js +2 -0
- data/node_modules/preact-render-to-string/dist/jsx-entry.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.d.ts +13 -0
- data/node_modules/preact-render-to-string/dist/jsx.js +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.mjs +2 -0
- data/node_modules/preact-render-to-string/dist/jsx.modern.js +2 -0
- data/node_modules/preact-render-to-string/dist/jsx.modern.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.module.js +2 -0
- data/node_modules/preact-render-to-string/dist/jsx.module.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/preact-render-to-string-tests.d.ts +1 -0
- data/node_modules/preact-render-to-string/jsx.js +1 -0
- data/node_modules/preact-render-to-string/package.json +139 -0
- data/node_modules/preact-render-to-string/src/index.d.ts +16 -0
- data/node_modules/preact-render-to-string/src/index.js +438 -0
- data/node_modules/preact-render-to-string/src/jsx.d.ts +13 -0
- data/node_modules/preact-render-to-string/src/jsx.js +76 -0
- data/node_modules/preact-render-to-string/src/polyfills.js +8 -0
- data/node_modules/preact-render-to-string/src/preact-render-to-string-tests.d.ts +1 -0
- data/node_modules/preact-render-to-string/src/util.js +78 -0
- data/node_modules/preact-render-to-string/typings.json +5 -0
- data/node_modules/pretty-format/.npmignore +3 -0
- data/node_modules/pretty-format/LICENSE.md +15 -0
- data/node_modules/pretty-format/README.md +94 -0
- data/node_modules/pretty-format/index.js +343 -0
- data/node_modules/pretty-format/package.json +26 -0
- data/node_modules/pretty-format/plugins/ReactElement.js +74 -0
- data/node_modules/pretty-format/plugins/ReactTestComponent.js +58 -0
- data/node_modules/pretty-format/printString.js +7 -0
- data/node_modules/react/LICENSE +21 -0
- data/node_modules/react/README.md +13 -0
- data/node_modules/react/build-info.json +8 -0
- data/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1203 -0
- data/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +9 -0
- data/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +9 -0
- data/node_modules/react/cjs/react-jsx-runtime.development.js +1221 -0
- data/node_modules/react/cjs/react-jsx-runtime.production.min.js +10 -0
- data/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +10 -0
- data/node_modules/react/cjs/react.development.js +2333 -0
- data/node_modules/react/cjs/react.production.min.js +23 -0
- data/node_modules/react/index.js +7 -0
- data/node_modules/react/jsx-dev-runtime.js +7 -0
- data/node_modules/react/jsx-runtime.js +7 -0
- data/node_modules/react/package.json +39 -0
- data/node_modules/react/umd/react.development.js +3357 -0
- data/node_modules/react/umd/react.production.min.js +31 -0
- data/node_modules/react/umd/react.profiling.min.js +36 -0
- data/node_modules/react-dom/LICENSE +21 -0
- data/node_modules/react-dom/README.md +54 -0
- data/node_modules/react-dom/build-info.json +8 -0
- data/node_modules/react-dom/cjs/react-dom-server.browser.development.js +4342 -0
- data/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +51 -0
- data/node_modules/react-dom/cjs/react-dom-server.node.development.js +4383 -0
- data/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +52 -0
- data/node_modules/react-dom/cjs/react-dom-test-utils.development.js +2118 -0
- data/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +43 -0
- data/node_modules/react-dom/cjs/react-dom.development.js +26262 -0
- data/node_modules/react-dom/cjs/react-dom.production.min.js +297 -0
- data/node_modules/react-dom/cjs/react-dom.profiling.min.js +310 -0
- data/node_modules/react-dom/index.js +38 -0
- data/node_modules/react-dom/package.json +49 -0
- data/node_modules/react-dom/profiling.js +38 -0
- data/node_modules/react-dom/server.browser.js +7 -0
- data/node_modules/react-dom/server.js +3 -0
- data/node_modules/react-dom/server.node.js +7 -0
- data/node_modules/react-dom/test-utils.js +7 -0
- data/node_modules/react-dom/umd/react-dom-server.browser.development.js +4341 -0
- data/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +46 -0
- data/node_modules/react-dom/umd/react-dom-test-utils.development.js +2136 -0
- data/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +35 -0
- data/node_modules/react-dom/umd/react-dom.development.js +26292 -0
- data/node_modules/react-dom/umd/react-dom.production.min.js +245 -0
- data/node_modules/react-dom/umd/react-dom.profiling.min.js +252 -0
- data/node_modules/regenerator-runtime/LICENSE +21 -0
- data/node_modules/regenerator-runtime/README.md +31 -0
- data/node_modules/regenerator-runtime/package.json +19 -0
- data/node_modules/regenerator-runtime/path.js +11 -0
- data/node_modules/regenerator-runtime/runtime.js +754 -0
- data/node_modules/rtl-css-js/CHANGELOG.md +5 -0
- data/node_modules/rtl-css-js/LICENSE +20 -0
- data/node_modules/rtl-css-js/README.md +205 -0
- data/node_modules/rtl-css-js/core/package.json +6 -0
- data/node_modules/rtl-css-js/core.d.ts +163 -0
- data/node_modules/rtl-css-js/core.esm.d.ts +1 -0
- data/node_modules/rtl-css-js/core.esm.js +9 -0
- data/node_modules/rtl-css-js/dist/cjs/convert-a10c80e3.js +509 -0
- data/node_modules/rtl-css-js/dist/cjs/core.js +30 -0
- data/node_modules/rtl-css-js/dist/cjs/index.js +7 -0
- data/node_modules/rtl-css-js/dist/esm/convert-09159978.js +487 -0
- data/node_modules/rtl-css-js/dist/esm/core.js +1 -0
- data/node_modules/rtl-css-js/dist/esm/index.js +5 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js +519 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js.map +1 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js +2 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js.map +1 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js +496 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js.map +1 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js +2 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js.map +1 -0
- data/node_modules/rtl-css-js/package.json +66 -0
- data/node_modules/rtl-css-js/types.d.ts +8 -0
- data/node_modules/scheduler/LICENSE +21 -0
- data/node_modules/scheduler/README.md +9 -0
- data/node_modules/scheduler/build-info.json +8 -0
- data/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
- data/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
- data/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
- data/node_modules/scheduler/cjs/scheduler.development.js +646 -0
- data/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
- data/node_modules/scheduler/index.js +7 -0
- data/node_modules/scheduler/package.json +40 -0
- data/node_modules/scheduler/tracing-profiling.js +7 -0
- data/node_modules/scheduler/tracing.js +7 -0
- data/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
- data/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
- data/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
- data/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
- data/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
- data/node_modules/scheduler/umd/scheduler.development.js +152 -0
- data/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- data/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- data/node_modules/scheduler/unstable_mock.js +7 -0
- data/node_modules/scheduler/unstable_post_task.js +7 -0
- data/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/source-map/LICENSE +28 -0
- data/node_modules/source-map/README.md +742 -0
- data/node_modules/source-map/dist/source-map.debug.js +3234 -0
- data/node_modules/source-map/dist/source-map.js +3233 -0
- data/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- data/node_modules/source-map/lib/source-map-generator.js +425 -0
- data/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/source-map/lib/util.js +488 -0
- data/node_modules/source-map/package.json +73 -0
- data/node_modules/source-map/source-map.d.ts +98 -0
- data/node_modules/source-map/source-map.js +8 -0
- data/node_modules/sourcemap-codec/CHANGELOG.md +64 -0
- data/node_modules/sourcemap-codec/LICENSE +21 -0
- data/node_modules/sourcemap-codec/README.md +63 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +124 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +1 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +135 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
- data/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +5 -0
- data/node_modules/sourcemap-codec/package.json +53 -0
- data/node_modules/stack-generator/.eslintrc.yml +32 -0
- data/node_modules/stack-generator/CHANGELOG.md +18 -0
- data/node_modules/stack-generator/CONTRIBUTING.md +27 -0
- data/node_modules/stack-generator/LICENSE +19 -0
- data/node_modules/stack-generator/README.md +28 -0
- data/node_modules/stack-generator/bower.json +33 -0
- data/node_modules/stack-generator/component.json +17 -0
- data/node_modules/stack-generator/dist/stack-generator.js +45 -0
- data/node_modules/stack-generator/dist/stack-generator.min.js +2 -0
- data/node_modules/stack-generator/dist/stack-generator.min.js.map +1 -0
- data/node_modules/stack-generator/karma.conf.ci.js +108 -0
- data/node_modules/stack-generator/karma.conf.js +26 -0
- data/node_modules/stack-generator/package.json +53 -0
- data/node_modules/stack-generator/stack-generator.js +45 -0
- data/node_modules/stackframe/.eslintrc.yml +29 -0
- data/node_modules/stackframe/CHANGELOG.md +39 -0
- data/node_modules/stackframe/CONTRIBUTING.md +28 -0
- data/node_modules/stackframe/LICENSE +19 -0
- data/node_modules/stackframe/README.md +78 -0
- data/node_modules/stackframe/bower.json +31 -0
- data/node_modules/stackframe/component.json +16 -0
- data/node_modules/stackframe/dist/stackframe.js +143 -0
- data/node_modules/stackframe/dist/stackframe.min.js +2 -0
- data/node_modules/stackframe/dist/stackframe.min.js.map +1 -0
- data/node_modules/stackframe/karma.conf.ci.js +105 -0
- data/node_modules/stackframe/karma.conf.js +23 -0
- data/node_modules/stackframe/package.json +51 -0
- data/node_modules/stackframe/stackframe-tests.ts +47 -0
- data/node_modules/stackframe/stackframe.d.ts +74 -0
- data/node_modules/stackframe/stackframe.js +143 -0
- data/node_modules/stacktrace-gps/CHANGELOG.md +60 -0
- data/node_modules/stacktrace-gps/LICENSE +19 -0
- data/node_modules/stacktrace-gps/README.md +89 -0
- data/node_modules/stacktrace-gps/dist/polyfills.js +5 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js +2 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js.map +1 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.js +342 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js +2 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js.map +1 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/LICENSE +28 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/README.md +729 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.debug.js +3056 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.js +3055 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/array-set.js +104 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-consumer.js +1082 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-generator.js +404 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-node.js +407 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/util.js +417 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/package.json +71 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/source-map.js +8 -0
- data/node_modules/stacktrace-gps/package.json +66 -0
- data/node_modules/stacktrace-gps/stacktrace-gps.js +342 -0
- data/node_modules/stacktrace-js/CHANGELOG.md +97 -0
- data/node_modules/stacktrace-js/LICENSE +19 -0
- data/node_modules/stacktrace-js/README.md +186 -0
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.js +5405 -0
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js +3 -0
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js.map +1 -0
- data/node_modules/stacktrace-js/dist/stacktrace.js +3025 -0
- data/node_modules/stacktrace-js/dist/stacktrace.min.js +2 -0
- data/node_modules/stacktrace-js/dist/stacktrace.min.js.map +1 -0
- data/node_modules/stacktrace-js/package.json +82 -0
- data/node_modules/stacktrace-js/stacktrace-js.d.ts +134 -0
- data/node_modules/stacktrace-js/stacktrace.js +227 -0
- data/node_modules/stylis/LICENSE +21 -0
- data/node_modules/stylis/README.md +152 -0
- data/node_modules/stylis/dist/stylis.mjs +2 -0
- data/node_modules/stylis/dist/stylis.mjs.map +1 -0
- data/node_modules/stylis/dist/umd/package.json +1 -0
- data/node_modules/stylis/dist/umd/stylis.js +2 -0
- data/node_modules/stylis/dist/umd/stylis.js.map +1 -0
- data/node_modules/stylis/index.js +7 -0
- data/node_modules/stylis/package.json +164 -0
- data/node_modules/stylis/src/Enum.js +20 -0
- data/node_modules/stylis/src/Middleware.js +107 -0
- data/node_modules/stylis/src/Parser.js +184 -0
- data/node_modules/stylis/src/Prefixer.js +119 -0
- data/node_modules/stylis/src/Serializer.js +34 -0
- data/node_modules/stylis/src/Tokenizer.js +244 -0
- data/node_modules/stylis/src/Utility.js +109 -0
- data/node_modules/wouter-preact/cjs/index.js +180 -0
- data/node_modules/wouter-preact/cjs/matcher.js +72 -0
- data/node_modules/wouter-preact/cjs/package.json +1 -0
- data/node_modules/wouter-preact/cjs/react-deps.js +75 -0
- data/node_modules/wouter-preact/cjs/static-location.js +21 -0
- data/node_modules/wouter-preact/cjs/use-location.js +94 -0
- data/node_modules/wouter-preact/index.d.ts +110 -0
- data/node_modules/wouter-preact/index.js +178 -0
- data/node_modules/wouter-preact/matcher.d.ts +30 -0
- data/node_modules/wouter-preact/matcher.js +66 -0
- data/node_modules/wouter-preact/package.json +33 -0
- data/node_modules/wouter-preact/react-deps.js +15 -0
- data/node_modules/wouter-preact/static-location.d.ts +16 -0
- data/node_modules/wouter-preact/static-location.js +17 -0
- data/node_modules/wouter-preact/use-location.d.ts +43 -0
- data/node_modules/wouter-preact/use-location.js +86 -0
- data/package.json +10 -0
- metadata +1093 -20
@@ -0,0 +1,9 @@
|
|
1
|
+
/** @license React v17.0.2
|
2
|
+
* react-jsx-dev-runtime.production.min.js
|
3
|
+
*
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
5
|
+
*
|
6
|
+
* This source code is licensed under the MIT license found in the
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
8
|
+
*/
|
9
|
+
'use strict';require("object-assign");require("react");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/** @license React v17.0.2
|
2
|
+
* react-jsx-dev-runtime.profiling.min.js
|
3
|
+
*
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
5
|
+
*
|
6
|
+
* This source code is licensed under the MIT license found in the
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
8
|
+
*/
|
9
|
+
'use strict';require("object-assign");require("react");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0;
|
@@ -0,0 +1,1221 @@
|
|
1
|
+
/** @license React v17.0.2
|
2
|
+
* react-jsx-runtime.development.js
|
3
|
+
*
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
5
|
+
*
|
6
|
+
* This source code is licensed under the MIT license found in the
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
8
|
+
*/
|
9
|
+
|
10
|
+
'use strict';
|
11
|
+
|
12
|
+
if (process.env.NODE_ENV !== "production") {
|
13
|
+
(function() {
|
14
|
+
'use strict';
|
15
|
+
|
16
|
+
var React = require('react');
|
17
|
+
var _assign = require('object-assign');
|
18
|
+
|
19
|
+
// ATTENTION
|
20
|
+
// When adding new symbols to this file,
|
21
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
22
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
23
|
+
// nor polyfill, then a plain number is used for performance.
|
24
|
+
var REACT_ELEMENT_TYPE = 0xeac7;
|
25
|
+
var REACT_PORTAL_TYPE = 0xeaca;
|
26
|
+
exports.Fragment = 0xeacb;
|
27
|
+
var REACT_STRICT_MODE_TYPE = 0xeacc;
|
28
|
+
var REACT_PROFILER_TYPE = 0xead2;
|
29
|
+
var REACT_PROVIDER_TYPE = 0xeacd;
|
30
|
+
var REACT_CONTEXT_TYPE = 0xeace;
|
31
|
+
var REACT_FORWARD_REF_TYPE = 0xead0;
|
32
|
+
var REACT_SUSPENSE_TYPE = 0xead1;
|
33
|
+
var REACT_SUSPENSE_LIST_TYPE = 0xead8;
|
34
|
+
var REACT_MEMO_TYPE = 0xead3;
|
35
|
+
var REACT_LAZY_TYPE = 0xead4;
|
36
|
+
var REACT_BLOCK_TYPE = 0xead9;
|
37
|
+
var REACT_SERVER_BLOCK_TYPE = 0xeada;
|
38
|
+
var REACT_FUNDAMENTAL_TYPE = 0xead5;
|
39
|
+
var REACT_SCOPE_TYPE = 0xead7;
|
40
|
+
var REACT_OPAQUE_ID_TYPE = 0xeae0;
|
41
|
+
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
|
42
|
+
var REACT_OFFSCREEN_TYPE = 0xeae2;
|
43
|
+
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
|
44
|
+
|
45
|
+
if (typeof Symbol === 'function' && Symbol.for) {
|
46
|
+
var symbolFor = Symbol.for;
|
47
|
+
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
48
|
+
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
49
|
+
exports.Fragment = symbolFor('react.fragment');
|
50
|
+
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
51
|
+
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
52
|
+
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
53
|
+
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
54
|
+
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
55
|
+
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
56
|
+
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
57
|
+
REACT_MEMO_TYPE = symbolFor('react.memo');
|
58
|
+
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
59
|
+
REACT_BLOCK_TYPE = symbolFor('react.block');
|
60
|
+
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
61
|
+
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
62
|
+
REACT_SCOPE_TYPE = symbolFor('react.scope');
|
63
|
+
REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
|
64
|
+
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
|
65
|
+
REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
|
66
|
+
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
|
67
|
+
}
|
68
|
+
|
69
|
+
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
70
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
71
|
+
function getIteratorFn(maybeIterable) {
|
72
|
+
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
73
|
+
return null;
|
74
|
+
}
|
75
|
+
|
76
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
77
|
+
|
78
|
+
if (typeof maybeIterator === 'function') {
|
79
|
+
return maybeIterator;
|
80
|
+
}
|
81
|
+
|
82
|
+
return null;
|
83
|
+
}
|
84
|
+
|
85
|
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
86
|
+
|
87
|
+
function error(format) {
|
88
|
+
{
|
89
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
90
|
+
args[_key2 - 1] = arguments[_key2];
|
91
|
+
}
|
92
|
+
|
93
|
+
printWarning('error', format, args);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
function printWarning(level, format, args) {
|
98
|
+
// When changing this logic, you might want to also
|
99
|
+
// update consoleWithStackDev.www.js as well.
|
100
|
+
{
|
101
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
102
|
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
103
|
+
|
104
|
+
if (stack !== '') {
|
105
|
+
format += '%s';
|
106
|
+
args = args.concat([stack]);
|
107
|
+
}
|
108
|
+
|
109
|
+
var argsWithFormat = args.map(function (item) {
|
110
|
+
return '' + item;
|
111
|
+
}); // Careful: RN currently depends on this prefix
|
112
|
+
|
113
|
+
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
114
|
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
115
|
+
// eslint-disable-next-line react-internal/no-production-logging
|
116
|
+
|
117
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
|
122
|
+
|
123
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
124
|
+
|
125
|
+
function isValidElementType(type) {
|
126
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
127
|
+
return true;
|
128
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
129
|
+
|
130
|
+
|
131
|
+
if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
|
132
|
+
return true;
|
133
|
+
}
|
134
|
+
|
135
|
+
if (typeof type === 'object' && type !== null) {
|
136
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
|
137
|
+
return true;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
return false;
|
142
|
+
}
|
143
|
+
|
144
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
145
|
+
var functionName = innerType.displayName || innerType.name || '';
|
146
|
+
return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
|
147
|
+
}
|
148
|
+
|
149
|
+
function getContextName(type) {
|
150
|
+
return type.displayName || 'Context';
|
151
|
+
}
|
152
|
+
|
153
|
+
function getComponentName(type) {
|
154
|
+
if (type == null) {
|
155
|
+
// Host root, text node or just invalid type.
|
156
|
+
return null;
|
157
|
+
}
|
158
|
+
|
159
|
+
{
|
160
|
+
if (typeof type.tag === 'number') {
|
161
|
+
error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
if (typeof type === 'function') {
|
166
|
+
return type.displayName || type.name || null;
|
167
|
+
}
|
168
|
+
|
169
|
+
if (typeof type === 'string') {
|
170
|
+
return type;
|
171
|
+
}
|
172
|
+
|
173
|
+
switch (type) {
|
174
|
+
case exports.Fragment:
|
175
|
+
return 'Fragment';
|
176
|
+
|
177
|
+
case REACT_PORTAL_TYPE:
|
178
|
+
return 'Portal';
|
179
|
+
|
180
|
+
case REACT_PROFILER_TYPE:
|
181
|
+
return 'Profiler';
|
182
|
+
|
183
|
+
case REACT_STRICT_MODE_TYPE:
|
184
|
+
return 'StrictMode';
|
185
|
+
|
186
|
+
case REACT_SUSPENSE_TYPE:
|
187
|
+
return 'Suspense';
|
188
|
+
|
189
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
190
|
+
return 'SuspenseList';
|
191
|
+
}
|
192
|
+
|
193
|
+
if (typeof type === 'object') {
|
194
|
+
switch (type.$$typeof) {
|
195
|
+
case REACT_CONTEXT_TYPE:
|
196
|
+
var context = type;
|
197
|
+
return getContextName(context) + '.Consumer';
|
198
|
+
|
199
|
+
case REACT_PROVIDER_TYPE:
|
200
|
+
var provider = type;
|
201
|
+
return getContextName(provider._context) + '.Provider';
|
202
|
+
|
203
|
+
case REACT_FORWARD_REF_TYPE:
|
204
|
+
return getWrappedName(type, type.render, 'ForwardRef');
|
205
|
+
|
206
|
+
case REACT_MEMO_TYPE:
|
207
|
+
return getComponentName(type.type);
|
208
|
+
|
209
|
+
case REACT_BLOCK_TYPE:
|
210
|
+
return getComponentName(type._render);
|
211
|
+
|
212
|
+
case REACT_LAZY_TYPE:
|
213
|
+
{
|
214
|
+
var lazyComponent = type;
|
215
|
+
var payload = lazyComponent._payload;
|
216
|
+
var init = lazyComponent._init;
|
217
|
+
|
218
|
+
try {
|
219
|
+
return getComponentName(init(payload));
|
220
|
+
} catch (x) {
|
221
|
+
return null;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
return null;
|
228
|
+
}
|
229
|
+
|
230
|
+
// Helpers to patch console.logs to avoid logging during side-effect free
|
231
|
+
// replaying on render function. This currently only patches the object
|
232
|
+
// lazily which won't cover if the log function was extracted eagerly.
|
233
|
+
// We could also eagerly patch the method.
|
234
|
+
var disabledDepth = 0;
|
235
|
+
var prevLog;
|
236
|
+
var prevInfo;
|
237
|
+
var prevWarn;
|
238
|
+
var prevError;
|
239
|
+
var prevGroup;
|
240
|
+
var prevGroupCollapsed;
|
241
|
+
var prevGroupEnd;
|
242
|
+
|
243
|
+
function disabledLog() {}
|
244
|
+
|
245
|
+
disabledLog.__reactDisabledLog = true;
|
246
|
+
function disableLogs() {
|
247
|
+
{
|
248
|
+
if (disabledDepth === 0) {
|
249
|
+
/* eslint-disable react-internal/no-production-logging */
|
250
|
+
prevLog = console.log;
|
251
|
+
prevInfo = console.info;
|
252
|
+
prevWarn = console.warn;
|
253
|
+
prevError = console.error;
|
254
|
+
prevGroup = console.group;
|
255
|
+
prevGroupCollapsed = console.groupCollapsed;
|
256
|
+
prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099
|
257
|
+
|
258
|
+
var props = {
|
259
|
+
configurable: true,
|
260
|
+
enumerable: true,
|
261
|
+
value: disabledLog,
|
262
|
+
writable: true
|
263
|
+
}; // $FlowFixMe Flow thinks console is immutable.
|
264
|
+
|
265
|
+
Object.defineProperties(console, {
|
266
|
+
info: props,
|
267
|
+
log: props,
|
268
|
+
warn: props,
|
269
|
+
error: props,
|
270
|
+
group: props,
|
271
|
+
groupCollapsed: props,
|
272
|
+
groupEnd: props
|
273
|
+
});
|
274
|
+
/* eslint-enable react-internal/no-production-logging */
|
275
|
+
}
|
276
|
+
|
277
|
+
disabledDepth++;
|
278
|
+
}
|
279
|
+
}
|
280
|
+
function reenableLogs() {
|
281
|
+
{
|
282
|
+
disabledDepth--;
|
283
|
+
|
284
|
+
if (disabledDepth === 0) {
|
285
|
+
/* eslint-disable react-internal/no-production-logging */
|
286
|
+
var props = {
|
287
|
+
configurable: true,
|
288
|
+
enumerable: true,
|
289
|
+
writable: true
|
290
|
+
}; // $FlowFixMe Flow thinks console is immutable.
|
291
|
+
|
292
|
+
Object.defineProperties(console, {
|
293
|
+
log: _assign({}, props, {
|
294
|
+
value: prevLog
|
295
|
+
}),
|
296
|
+
info: _assign({}, props, {
|
297
|
+
value: prevInfo
|
298
|
+
}),
|
299
|
+
warn: _assign({}, props, {
|
300
|
+
value: prevWarn
|
301
|
+
}),
|
302
|
+
error: _assign({}, props, {
|
303
|
+
value: prevError
|
304
|
+
}),
|
305
|
+
group: _assign({}, props, {
|
306
|
+
value: prevGroup
|
307
|
+
}),
|
308
|
+
groupCollapsed: _assign({}, props, {
|
309
|
+
value: prevGroupCollapsed
|
310
|
+
}),
|
311
|
+
groupEnd: _assign({}, props, {
|
312
|
+
value: prevGroupEnd
|
313
|
+
})
|
314
|
+
});
|
315
|
+
/* eslint-enable react-internal/no-production-logging */
|
316
|
+
}
|
317
|
+
|
318
|
+
if (disabledDepth < 0) {
|
319
|
+
error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
|
320
|
+
}
|
321
|
+
}
|
322
|
+
}
|
323
|
+
|
324
|
+
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
325
|
+
var prefix;
|
326
|
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
327
|
+
{
|
328
|
+
if (prefix === undefined) {
|
329
|
+
// Extract the VM specific prefix used by each line.
|
330
|
+
try {
|
331
|
+
throw Error();
|
332
|
+
} catch (x) {
|
333
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
334
|
+
prefix = match && match[1] || '';
|
335
|
+
}
|
336
|
+
} // We use the prefix to ensure our stacks line up with native stack frames.
|
337
|
+
|
338
|
+
|
339
|
+
return '\n' + prefix + name;
|
340
|
+
}
|
341
|
+
}
|
342
|
+
var reentry = false;
|
343
|
+
var componentFrameCache;
|
344
|
+
|
345
|
+
{
|
346
|
+
var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
|
347
|
+
componentFrameCache = new PossiblyWeakMap();
|
348
|
+
}
|
349
|
+
|
350
|
+
function describeNativeComponentFrame(fn, construct) {
|
351
|
+
// If something asked for a stack inside a fake render, it should get ignored.
|
352
|
+
if (!fn || reentry) {
|
353
|
+
return '';
|
354
|
+
}
|
355
|
+
|
356
|
+
{
|
357
|
+
var frame = componentFrameCache.get(fn);
|
358
|
+
|
359
|
+
if (frame !== undefined) {
|
360
|
+
return frame;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
|
364
|
+
var control;
|
365
|
+
reentry = true;
|
366
|
+
var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.
|
367
|
+
|
368
|
+
Error.prepareStackTrace = undefined;
|
369
|
+
var previousDispatcher;
|
370
|
+
|
371
|
+
{
|
372
|
+
previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
|
373
|
+
// for warnings.
|
374
|
+
|
375
|
+
ReactCurrentDispatcher.current = null;
|
376
|
+
disableLogs();
|
377
|
+
}
|
378
|
+
|
379
|
+
try {
|
380
|
+
// This should throw.
|
381
|
+
if (construct) {
|
382
|
+
// Something should be setting the props in the constructor.
|
383
|
+
var Fake = function () {
|
384
|
+
throw Error();
|
385
|
+
}; // $FlowFixMe
|
386
|
+
|
387
|
+
|
388
|
+
Object.defineProperty(Fake.prototype, 'props', {
|
389
|
+
set: function () {
|
390
|
+
// We use a throwing setter instead of frozen or non-writable props
|
391
|
+
// because that won't throw in a non-strict mode function.
|
392
|
+
throw Error();
|
393
|
+
}
|
394
|
+
});
|
395
|
+
|
396
|
+
if (typeof Reflect === 'object' && Reflect.construct) {
|
397
|
+
// We construct a different control for this case to include any extra
|
398
|
+
// frames added by the construct call.
|
399
|
+
try {
|
400
|
+
Reflect.construct(Fake, []);
|
401
|
+
} catch (x) {
|
402
|
+
control = x;
|
403
|
+
}
|
404
|
+
|
405
|
+
Reflect.construct(fn, [], Fake);
|
406
|
+
} else {
|
407
|
+
try {
|
408
|
+
Fake.call();
|
409
|
+
} catch (x) {
|
410
|
+
control = x;
|
411
|
+
}
|
412
|
+
|
413
|
+
fn.call(Fake.prototype);
|
414
|
+
}
|
415
|
+
} else {
|
416
|
+
try {
|
417
|
+
throw Error();
|
418
|
+
} catch (x) {
|
419
|
+
control = x;
|
420
|
+
}
|
421
|
+
|
422
|
+
fn();
|
423
|
+
}
|
424
|
+
} catch (sample) {
|
425
|
+
// This is inlined manually because closure doesn't do it for us.
|
426
|
+
if (sample && control && typeof sample.stack === 'string') {
|
427
|
+
// This extracts the first frame from the sample that isn't also in the control.
|
428
|
+
// Skipping one frame that we assume is the frame that calls the two.
|
429
|
+
var sampleLines = sample.stack.split('\n');
|
430
|
+
var controlLines = control.stack.split('\n');
|
431
|
+
var s = sampleLines.length - 1;
|
432
|
+
var c = controlLines.length - 1;
|
433
|
+
|
434
|
+
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
435
|
+
// We expect at least one stack frame to be shared.
|
436
|
+
// Typically this will be the root most one. However, stack frames may be
|
437
|
+
// cut off due to maximum stack limits. In this case, one maybe cut off
|
438
|
+
// earlier than the other. We assume that the sample is longer or the same
|
439
|
+
// and there for cut off earlier. So we should find the root most frame in
|
440
|
+
// the sample somewhere in the control.
|
441
|
+
c--;
|
442
|
+
}
|
443
|
+
|
444
|
+
for (; s >= 1 && c >= 0; s--, c--) {
|
445
|
+
// Next we find the first one that isn't the same which should be the
|
446
|
+
// frame that called our sample function and the control.
|
447
|
+
if (sampleLines[s] !== controlLines[c]) {
|
448
|
+
// In V8, the first line is describing the message but other VMs don't.
|
449
|
+
// If we're about to return the first line, and the control is also on the same
|
450
|
+
// line, that's a pretty good indicator that our sample threw at same line as
|
451
|
+
// the control. I.e. before we entered the sample frame. So we ignore this result.
|
452
|
+
// This can happen if you passed a class to function component, or non-function.
|
453
|
+
if (s !== 1 || c !== 1) {
|
454
|
+
do {
|
455
|
+
s--;
|
456
|
+
c--; // We may still have similar intermediate frames from the construct call.
|
457
|
+
// The next one that isn't the same should be our match though.
|
458
|
+
|
459
|
+
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
460
|
+
// V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
|
461
|
+
var _frame = '\n' + sampleLines[s].replace(' at new ', ' at ');
|
462
|
+
|
463
|
+
{
|
464
|
+
if (typeof fn === 'function') {
|
465
|
+
componentFrameCache.set(fn, _frame);
|
466
|
+
}
|
467
|
+
} // Return the line we found.
|
468
|
+
|
469
|
+
|
470
|
+
return _frame;
|
471
|
+
}
|
472
|
+
} while (s >= 1 && c >= 0);
|
473
|
+
}
|
474
|
+
|
475
|
+
break;
|
476
|
+
}
|
477
|
+
}
|
478
|
+
}
|
479
|
+
} finally {
|
480
|
+
reentry = false;
|
481
|
+
|
482
|
+
{
|
483
|
+
ReactCurrentDispatcher.current = previousDispatcher;
|
484
|
+
reenableLogs();
|
485
|
+
}
|
486
|
+
|
487
|
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
488
|
+
} // Fallback to just using the name if we couldn't make it throw.
|
489
|
+
|
490
|
+
|
491
|
+
var name = fn ? fn.displayName || fn.name : '';
|
492
|
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';
|
493
|
+
|
494
|
+
{
|
495
|
+
if (typeof fn === 'function') {
|
496
|
+
componentFrameCache.set(fn, syntheticFrame);
|
497
|
+
}
|
498
|
+
}
|
499
|
+
|
500
|
+
return syntheticFrame;
|
501
|
+
}
|
502
|
+
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
503
|
+
{
|
504
|
+
return describeNativeComponentFrame(fn, false);
|
505
|
+
}
|
506
|
+
}
|
507
|
+
|
508
|
+
function shouldConstruct(Component) {
|
509
|
+
var prototype = Component.prototype;
|
510
|
+
return !!(prototype && prototype.isReactComponent);
|
511
|
+
}
|
512
|
+
|
513
|
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
514
|
+
|
515
|
+
if (type == null) {
|
516
|
+
return '';
|
517
|
+
}
|
518
|
+
|
519
|
+
if (typeof type === 'function') {
|
520
|
+
{
|
521
|
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
522
|
+
}
|
523
|
+
}
|
524
|
+
|
525
|
+
if (typeof type === 'string') {
|
526
|
+
return describeBuiltInComponentFrame(type);
|
527
|
+
}
|
528
|
+
|
529
|
+
switch (type) {
|
530
|
+
case REACT_SUSPENSE_TYPE:
|
531
|
+
return describeBuiltInComponentFrame('Suspense');
|
532
|
+
|
533
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
534
|
+
return describeBuiltInComponentFrame('SuspenseList');
|
535
|
+
}
|
536
|
+
|
537
|
+
if (typeof type === 'object') {
|
538
|
+
switch (type.$$typeof) {
|
539
|
+
case REACT_FORWARD_REF_TYPE:
|
540
|
+
return describeFunctionComponentFrame(type.render);
|
541
|
+
|
542
|
+
case REACT_MEMO_TYPE:
|
543
|
+
// Memo may contain any component type so we recursively resolve it.
|
544
|
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
545
|
+
|
546
|
+
case REACT_BLOCK_TYPE:
|
547
|
+
return describeFunctionComponentFrame(type._render);
|
548
|
+
|
549
|
+
case REACT_LAZY_TYPE:
|
550
|
+
{
|
551
|
+
var lazyComponent = type;
|
552
|
+
var payload = lazyComponent._payload;
|
553
|
+
var init = lazyComponent._init;
|
554
|
+
|
555
|
+
try {
|
556
|
+
// Lazy may contain any component type so we recursively resolve it.
|
557
|
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
558
|
+
} catch (x) {}
|
559
|
+
}
|
560
|
+
}
|
561
|
+
}
|
562
|
+
|
563
|
+
return '';
|
564
|
+
}
|
565
|
+
|
566
|
+
var loggedTypeFailures = {};
|
567
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
568
|
+
|
569
|
+
function setCurrentlyValidatingElement(element) {
|
570
|
+
{
|
571
|
+
if (element) {
|
572
|
+
var owner = element._owner;
|
573
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
574
|
+
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
575
|
+
} else {
|
576
|
+
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
577
|
+
}
|
578
|
+
}
|
579
|
+
}
|
580
|
+
|
581
|
+
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
582
|
+
{
|
583
|
+
// $FlowFixMe This is okay but Flow doesn't know it.
|
584
|
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
585
|
+
|
586
|
+
for (var typeSpecName in typeSpecs) {
|
587
|
+
if (has(typeSpecs, typeSpecName)) {
|
588
|
+
var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
|
589
|
+
// fail the render phase where it didn't fail before. So we log it.
|
590
|
+
// After these have been cleaned up, we'll let them throw.
|
591
|
+
|
592
|
+
try {
|
593
|
+
// This is intentionally an invariant that gets caught. It's the same
|
594
|
+
// behavior as without this statement except with a better message.
|
595
|
+
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
596
|
+
var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
|
597
|
+
err.name = 'Invariant Violation';
|
598
|
+
throw err;
|
599
|
+
}
|
600
|
+
|
601
|
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
|
602
|
+
} catch (ex) {
|
603
|
+
error$1 = ex;
|
604
|
+
}
|
605
|
+
|
606
|
+
if (error$1 && !(error$1 instanceof Error)) {
|
607
|
+
setCurrentlyValidatingElement(element);
|
608
|
+
|
609
|
+
error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
|
610
|
+
|
611
|
+
setCurrentlyValidatingElement(null);
|
612
|
+
}
|
613
|
+
|
614
|
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
615
|
+
// Only monitor this failure once because there tends to be a lot of the
|
616
|
+
// same error.
|
617
|
+
loggedTypeFailures[error$1.message] = true;
|
618
|
+
setCurrentlyValidatingElement(element);
|
619
|
+
|
620
|
+
error('Failed %s type: %s', location, error$1.message);
|
621
|
+
|
622
|
+
setCurrentlyValidatingElement(null);
|
623
|
+
}
|
624
|
+
}
|
625
|
+
}
|
626
|
+
}
|
627
|
+
}
|
628
|
+
|
629
|
+
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
630
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
631
|
+
var RESERVED_PROPS = {
|
632
|
+
key: true,
|
633
|
+
ref: true,
|
634
|
+
__self: true,
|
635
|
+
__source: true
|
636
|
+
};
|
637
|
+
var specialPropKeyWarningShown;
|
638
|
+
var specialPropRefWarningShown;
|
639
|
+
var didWarnAboutStringRefs;
|
640
|
+
|
641
|
+
{
|
642
|
+
didWarnAboutStringRefs = {};
|
643
|
+
}
|
644
|
+
|
645
|
+
function hasValidRef(config) {
|
646
|
+
{
|
647
|
+
if (hasOwnProperty.call(config, 'ref')) {
|
648
|
+
var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
|
649
|
+
|
650
|
+
if (getter && getter.isReactWarning) {
|
651
|
+
return false;
|
652
|
+
}
|
653
|
+
}
|
654
|
+
}
|
655
|
+
|
656
|
+
return config.ref !== undefined;
|
657
|
+
}
|
658
|
+
|
659
|
+
function hasValidKey(config) {
|
660
|
+
{
|
661
|
+
if (hasOwnProperty.call(config, 'key')) {
|
662
|
+
var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
|
663
|
+
|
664
|
+
if (getter && getter.isReactWarning) {
|
665
|
+
return false;
|
666
|
+
}
|
667
|
+
}
|
668
|
+
}
|
669
|
+
|
670
|
+
return config.key !== undefined;
|
671
|
+
}
|
672
|
+
|
673
|
+
function warnIfStringRefCannotBeAutoConverted(config, self) {
|
674
|
+
{
|
675
|
+
if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
|
676
|
+
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
677
|
+
|
678
|
+
if (!didWarnAboutStringRefs[componentName]) {
|
679
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
|
680
|
+
|
681
|
+
didWarnAboutStringRefs[componentName] = true;
|
682
|
+
}
|
683
|
+
}
|
684
|
+
}
|
685
|
+
}
|
686
|
+
|
687
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
688
|
+
{
|
689
|
+
var warnAboutAccessingKey = function () {
|
690
|
+
if (!specialPropKeyWarningShown) {
|
691
|
+
specialPropKeyWarningShown = true;
|
692
|
+
|
693
|
+
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
694
|
+
}
|
695
|
+
};
|
696
|
+
|
697
|
+
warnAboutAccessingKey.isReactWarning = true;
|
698
|
+
Object.defineProperty(props, 'key', {
|
699
|
+
get: warnAboutAccessingKey,
|
700
|
+
configurable: true
|
701
|
+
});
|
702
|
+
}
|
703
|
+
}
|
704
|
+
|
705
|
+
function defineRefPropWarningGetter(props, displayName) {
|
706
|
+
{
|
707
|
+
var warnAboutAccessingRef = function () {
|
708
|
+
if (!specialPropRefWarningShown) {
|
709
|
+
specialPropRefWarningShown = true;
|
710
|
+
|
711
|
+
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
712
|
+
}
|
713
|
+
};
|
714
|
+
|
715
|
+
warnAboutAccessingRef.isReactWarning = true;
|
716
|
+
Object.defineProperty(props, 'ref', {
|
717
|
+
get: warnAboutAccessingRef,
|
718
|
+
configurable: true
|
719
|
+
});
|
720
|
+
}
|
721
|
+
}
|
722
|
+
/**
|
723
|
+
* Factory method to create a new React element. This no longer adheres to
|
724
|
+
* the class pattern, so do not use new to call it. Also, instanceof check
|
725
|
+
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
|
726
|
+
* if something is a React Element.
|
727
|
+
*
|
728
|
+
* @param {*} type
|
729
|
+
* @param {*} props
|
730
|
+
* @param {*} key
|
731
|
+
* @param {string|object} ref
|
732
|
+
* @param {*} owner
|
733
|
+
* @param {*} self A *temporary* helper to detect places where `this` is
|
734
|
+
* different from the `owner` when React.createElement is called, so that we
|
735
|
+
* can warn. We want to get rid of owner and replace string `ref`s with arrow
|
736
|
+
* functions, and as long as `this` and owner are the same, there will be no
|
737
|
+
* change in behavior.
|
738
|
+
* @param {*} source An annotation object (added by a transpiler or otherwise)
|
739
|
+
* indicating filename, line number, and/or other information.
|
740
|
+
* @internal
|
741
|
+
*/
|
742
|
+
|
743
|
+
|
744
|
+
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
745
|
+
var element = {
|
746
|
+
// This tag allows us to uniquely identify this as a React Element
|
747
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
748
|
+
// Built-in properties that belong on the element
|
749
|
+
type: type,
|
750
|
+
key: key,
|
751
|
+
ref: ref,
|
752
|
+
props: props,
|
753
|
+
// Record the component responsible for creating this element.
|
754
|
+
_owner: owner
|
755
|
+
};
|
756
|
+
|
757
|
+
{
|
758
|
+
// The validation flag is currently mutative. We put it on
|
759
|
+
// an external backing store so that we can freeze the whole object.
|
760
|
+
// This can be replaced with a WeakMap once they are implemented in
|
761
|
+
// commonly used development environments.
|
762
|
+
element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
|
763
|
+
// the validation flag non-enumerable (where possible, which should
|
764
|
+
// include every environment we run tests in), so the test framework
|
765
|
+
// ignores it.
|
766
|
+
|
767
|
+
Object.defineProperty(element._store, 'validated', {
|
768
|
+
configurable: false,
|
769
|
+
enumerable: false,
|
770
|
+
writable: true,
|
771
|
+
value: false
|
772
|
+
}); // self and source are DEV only properties.
|
773
|
+
|
774
|
+
Object.defineProperty(element, '_self', {
|
775
|
+
configurable: false,
|
776
|
+
enumerable: false,
|
777
|
+
writable: false,
|
778
|
+
value: self
|
779
|
+
}); // Two elements created in two different places should be considered
|
780
|
+
// equal for testing purposes and therefore we hide it from enumeration.
|
781
|
+
|
782
|
+
Object.defineProperty(element, '_source', {
|
783
|
+
configurable: false,
|
784
|
+
enumerable: false,
|
785
|
+
writable: false,
|
786
|
+
value: source
|
787
|
+
});
|
788
|
+
|
789
|
+
if (Object.freeze) {
|
790
|
+
Object.freeze(element.props);
|
791
|
+
Object.freeze(element);
|
792
|
+
}
|
793
|
+
}
|
794
|
+
|
795
|
+
return element;
|
796
|
+
};
|
797
|
+
/**
|
798
|
+
* https://github.com/reactjs/rfcs/pull/107
|
799
|
+
* @param {*} type
|
800
|
+
* @param {object} props
|
801
|
+
* @param {string} key
|
802
|
+
*/
|
803
|
+
|
804
|
+
function jsxDEV(type, config, maybeKey, source, self) {
|
805
|
+
{
|
806
|
+
var propName; // Reserved names are extracted
|
807
|
+
|
808
|
+
var props = {};
|
809
|
+
var key = null;
|
810
|
+
var ref = null; // Currently, key can be spread in as a prop. This causes a potential
|
811
|
+
// issue if key is also explicitly declared (ie. <div {...props} key="Hi" />
|
812
|
+
// or <div key="Hi" {...props} /> ). We want to deprecate key spread,
|
813
|
+
// but as an intermediary step, we will use jsxDEV for everything except
|
814
|
+
// <div {...props} key="Hi" />, because we aren't currently able to tell if
|
815
|
+
// key is explicitly declared to be undefined or not.
|
816
|
+
|
817
|
+
if (maybeKey !== undefined) {
|
818
|
+
key = '' + maybeKey;
|
819
|
+
}
|
820
|
+
|
821
|
+
if (hasValidKey(config)) {
|
822
|
+
key = '' + config.key;
|
823
|
+
}
|
824
|
+
|
825
|
+
if (hasValidRef(config)) {
|
826
|
+
ref = config.ref;
|
827
|
+
warnIfStringRefCannotBeAutoConverted(config, self);
|
828
|
+
} // Remaining properties are added to a new props object
|
829
|
+
|
830
|
+
|
831
|
+
for (propName in config) {
|
832
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
833
|
+
props[propName] = config[propName];
|
834
|
+
}
|
835
|
+
} // Resolve default props
|
836
|
+
|
837
|
+
|
838
|
+
if (type && type.defaultProps) {
|
839
|
+
var defaultProps = type.defaultProps;
|
840
|
+
|
841
|
+
for (propName in defaultProps) {
|
842
|
+
if (props[propName] === undefined) {
|
843
|
+
props[propName] = defaultProps[propName];
|
844
|
+
}
|
845
|
+
}
|
846
|
+
}
|
847
|
+
|
848
|
+
if (key || ref) {
|
849
|
+
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
850
|
+
|
851
|
+
if (key) {
|
852
|
+
defineKeyPropWarningGetter(props, displayName);
|
853
|
+
}
|
854
|
+
|
855
|
+
if (ref) {
|
856
|
+
defineRefPropWarningGetter(props, displayName);
|
857
|
+
}
|
858
|
+
}
|
859
|
+
|
860
|
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
861
|
+
}
|
862
|
+
}
|
863
|
+
|
864
|
+
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
865
|
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
866
|
+
|
867
|
+
function setCurrentlyValidatingElement$1(element) {
|
868
|
+
{
|
869
|
+
if (element) {
|
870
|
+
var owner = element._owner;
|
871
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
872
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
873
|
+
} else {
|
874
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
875
|
+
}
|
876
|
+
}
|
877
|
+
}
|
878
|
+
|
879
|
+
var propTypesMisspellWarningShown;
|
880
|
+
|
881
|
+
{
|
882
|
+
propTypesMisspellWarningShown = false;
|
883
|
+
}
|
884
|
+
/**
|
885
|
+
* Verifies the object is a ReactElement.
|
886
|
+
* See https://reactjs.org/docs/react-api.html#isvalidelement
|
887
|
+
* @param {?object} object
|
888
|
+
* @return {boolean} True if `object` is a ReactElement.
|
889
|
+
* @final
|
890
|
+
*/
|
891
|
+
|
892
|
+
function isValidElement(object) {
|
893
|
+
{
|
894
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
895
|
+
}
|
896
|
+
}
|
897
|
+
|
898
|
+
function getDeclarationErrorAddendum() {
|
899
|
+
{
|
900
|
+
if (ReactCurrentOwner$1.current) {
|
901
|
+
var name = getComponentName(ReactCurrentOwner$1.current.type);
|
902
|
+
|
903
|
+
if (name) {
|
904
|
+
return '\n\nCheck the render method of `' + name + '`.';
|
905
|
+
}
|
906
|
+
}
|
907
|
+
|
908
|
+
return '';
|
909
|
+
}
|
910
|
+
}
|
911
|
+
|
912
|
+
function getSourceInfoErrorAddendum(source) {
|
913
|
+
{
|
914
|
+
if (source !== undefined) {
|
915
|
+
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
916
|
+
var lineNumber = source.lineNumber;
|
917
|
+
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
918
|
+
}
|
919
|
+
|
920
|
+
return '';
|
921
|
+
}
|
922
|
+
}
|
923
|
+
/**
|
924
|
+
* Warn if there's no key explicitly set on dynamic arrays of children or
|
925
|
+
* object keys are not valid. This allows us to keep track of children between
|
926
|
+
* updates.
|
927
|
+
*/
|
928
|
+
|
929
|
+
|
930
|
+
var ownerHasKeyUseWarning = {};
|
931
|
+
|
932
|
+
function getCurrentComponentErrorInfo(parentType) {
|
933
|
+
{
|
934
|
+
var info = getDeclarationErrorAddendum();
|
935
|
+
|
936
|
+
if (!info) {
|
937
|
+
var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
|
938
|
+
|
939
|
+
if (parentName) {
|
940
|
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
941
|
+
}
|
942
|
+
}
|
943
|
+
|
944
|
+
return info;
|
945
|
+
}
|
946
|
+
}
|
947
|
+
/**
|
948
|
+
* Warn if the element doesn't have an explicit key assigned to it.
|
949
|
+
* This element is in an array. The array could grow and shrink or be
|
950
|
+
* reordered. All children that haven't already been validated are required to
|
951
|
+
* have a "key" property assigned to it. Error statuses are cached so a warning
|
952
|
+
* will only be shown once.
|
953
|
+
*
|
954
|
+
* @internal
|
955
|
+
* @param {ReactElement} element Element that requires a key.
|
956
|
+
* @param {*} parentType element's parent's type.
|
957
|
+
*/
|
958
|
+
|
959
|
+
|
960
|
+
function validateExplicitKey(element, parentType) {
|
961
|
+
{
|
962
|
+
if (!element._store || element._store.validated || element.key != null) {
|
963
|
+
return;
|
964
|
+
}
|
965
|
+
|
966
|
+
element._store.validated = true;
|
967
|
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
968
|
+
|
969
|
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
970
|
+
return;
|
971
|
+
}
|
972
|
+
|
973
|
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
|
974
|
+
// property, it may be the creator of the child that's responsible for
|
975
|
+
// assigning it a key.
|
976
|
+
|
977
|
+
var childOwner = '';
|
978
|
+
|
979
|
+
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
980
|
+
// Give the component that originally created this child.
|
981
|
+
childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
|
982
|
+
}
|
983
|
+
|
984
|
+
setCurrentlyValidatingElement$1(element);
|
985
|
+
|
986
|
+
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
987
|
+
|
988
|
+
setCurrentlyValidatingElement$1(null);
|
989
|
+
}
|
990
|
+
}
|
991
|
+
/**
|
992
|
+
* Ensure that every element either is passed in a static location, in an
|
993
|
+
* array with an explicit keys property defined, or in an object literal
|
994
|
+
* with valid key property.
|
995
|
+
*
|
996
|
+
* @internal
|
997
|
+
* @param {ReactNode} node Statically passed child of any type.
|
998
|
+
* @param {*} parentType node's parent's type.
|
999
|
+
*/
|
1000
|
+
|
1001
|
+
|
1002
|
+
function validateChildKeys(node, parentType) {
|
1003
|
+
{
|
1004
|
+
if (typeof node !== 'object') {
|
1005
|
+
return;
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
if (Array.isArray(node)) {
|
1009
|
+
for (var i = 0; i < node.length; i++) {
|
1010
|
+
var child = node[i];
|
1011
|
+
|
1012
|
+
if (isValidElement(child)) {
|
1013
|
+
validateExplicitKey(child, parentType);
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
} else if (isValidElement(node)) {
|
1017
|
+
// This element was passed in a valid location.
|
1018
|
+
if (node._store) {
|
1019
|
+
node._store.validated = true;
|
1020
|
+
}
|
1021
|
+
} else if (node) {
|
1022
|
+
var iteratorFn = getIteratorFn(node);
|
1023
|
+
|
1024
|
+
if (typeof iteratorFn === 'function') {
|
1025
|
+
// Entry iterators used to provide implicit keys,
|
1026
|
+
// but now we print a separate warning for them later.
|
1027
|
+
if (iteratorFn !== node.entries) {
|
1028
|
+
var iterator = iteratorFn.call(node);
|
1029
|
+
var step;
|
1030
|
+
|
1031
|
+
while (!(step = iterator.next()).done) {
|
1032
|
+
if (isValidElement(step.value)) {
|
1033
|
+
validateExplicitKey(step.value, parentType);
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
}
|
1037
|
+
}
|
1038
|
+
}
|
1039
|
+
}
|
1040
|
+
}
|
1041
|
+
/**
|
1042
|
+
* Given an element, validate that its props follow the propTypes definition,
|
1043
|
+
* provided by the type.
|
1044
|
+
*
|
1045
|
+
* @param {ReactElement} element
|
1046
|
+
*/
|
1047
|
+
|
1048
|
+
|
1049
|
+
function validatePropTypes(element) {
|
1050
|
+
{
|
1051
|
+
var type = element.type;
|
1052
|
+
|
1053
|
+
if (type === null || type === undefined || typeof type === 'string') {
|
1054
|
+
return;
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
var propTypes;
|
1058
|
+
|
1059
|
+
if (typeof type === 'function') {
|
1060
|
+
propTypes = type.propTypes;
|
1061
|
+
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
1062
|
+
// Inner props are checked in the reconciler.
|
1063
|
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
1064
|
+
propTypes = type.propTypes;
|
1065
|
+
} else {
|
1066
|
+
return;
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
if (propTypes) {
|
1070
|
+
// Intentionally inside to avoid triggering lazy initializers:
|
1071
|
+
var name = getComponentName(type);
|
1072
|
+
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
1073
|
+
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
1074
|
+
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
|
1075
|
+
|
1076
|
+
var _name = getComponentName(type);
|
1077
|
+
|
1078
|
+
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
1082
|
+
error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
1083
|
+
}
|
1084
|
+
}
|
1085
|
+
}
|
1086
|
+
/**
|
1087
|
+
* Given a fragment, validate that it can only be provided with fragment props
|
1088
|
+
* @param {ReactElement} fragment
|
1089
|
+
*/
|
1090
|
+
|
1091
|
+
|
1092
|
+
function validateFragmentProps(fragment) {
|
1093
|
+
{
|
1094
|
+
var keys = Object.keys(fragment.props);
|
1095
|
+
|
1096
|
+
for (var i = 0; i < keys.length; i++) {
|
1097
|
+
var key = keys[i];
|
1098
|
+
|
1099
|
+
if (key !== 'children' && key !== 'key') {
|
1100
|
+
setCurrentlyValidatingElement$1(fragment);
|
1101
|
+
|
1102
|
+
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
|
1103
|
+
|
1104
|
+
setCurrentlyValidatingElement$1(null);
|
1105
|
+
break;
|
1106
|
+
}
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
if (fragment.ref !== null) {
|
1110
|
+
setCurrentlyValidatingElement$1(fragment);
|
1111
|
+
|
1112
|
+
error('Invalid attribute `ref` supplied to `React.Fragment`.');
|
1113
|
+
|
1114
|
+
setCurrentlyValidatingElement$1(null);
|
1115
|
+
}
|
1116
|
+
}
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
|
1120
|
+
{
|
1121
|
+
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
|
1122
|
+
// succeed and there will likely be errors in render.
|
1123
|
+
|
1124
|
+
if (!validType) {
|
1125
|
+
var info = '';
|
1126
|
+
|
1127
|
+
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
|
1128
|
+
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
var sourceInfo = getSourceInfoErrorAddendum(source);
|
1132
|
+
|
1133
|
+
if (sourceInfo) {
|
1134
|
+
info += sourceInfo;
|
1135
|
+
} else {
|
1136
|
+
info += getDeclarationErrorAddendum();
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
var typeString;
|
1140
|
+
|
1141
|
+
if (type === null) {
|
1142
|
+
typeString = 'null';
|
1143
|
+
} else if (Array.isArray(type)) {
|
1144
|
+
typeString = 'array';
|
1145
|
+
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
|
1146
|
+
typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
|
1147
|
+
info = ' Did you accidentally export a JSX literal instead of a component?';
|
1148
|
+
} else {
|
1149
|
+
typeString = typeof type;
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
|
1156
|
+
// TODO: Drop this when these are no longer allowed as the type argument.
|
1157
|
+
|
1158
|
+
if (element == null) {
|
1159
|
+
return element;
|
1160
|
+
} // Skip key warning if the type isn't valid since our key validation logic
|
1161
|
+
// doesn't expect a non-string/function type and can throw confusing errors.
|
1162
|
+
// We don't want exception behavior to differ between dev and prod.
|
1163
|
+
// (Rendering will throw with a helpful message and as soon as the type is
|
1164
|
+
// fixed, the key warnings will appear.)
|
1165
|
+
|
1166
|
+
|
1167
|
+
if (validType) {
|
1168
|
+
var children = props.children;
|
1169
|
+
|
1170
|
+
if (children !== undefined) {
|
1171
|
+
if (isStaticChildren) {
|
1172
|
+
if (Array.isArray(children)) {
|
1173
|
+
for (var i = 0; i < children.length; i++) {
|
1174
|
+
validateChildKeys(children[i], type);
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
if (Object.freeze) {
|
1178
|
+
Object.freeze(children);
|
1179
|
+
}
|
1180
|
+
} else {
|
1181
|
+
error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
|
1182
|
+
}
|
1183
|
+
} else {
|
1184
|
+
validateChildKeys(children, type);
|
1185
|
+
}
|
1186
|
+
}
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
if (type === exports.Fragment) {
|
1190
|
+
validateFragmentProps(element);
|
1191
|
+
} else {
|
1192
|
+
validatePropTypes(element);
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
return element;
|
1196
|
+
}
|
1197
|
+
} // These two functions exist to still get child warnings in dev
|
1198
|
+
// even with the prod transform. This means that jsxDEV is purely
|
1199
|
+
// opt-in behavior for better messages but that we won't stop
|
1200
|
+
// giving you warnings if you use production apis.
|
1201
|
+
|
1202
|
+
function jsxWithValidationStatic(type, props, key) {
|
1203
|
+
{
|
1204
|
+
return jsxWithValidation(type, props, key, true);
|
1205
|
+
}
|
1206
|
+
}
|
1207
|
+
function jsxWithValidationDynamic(type, props, key) {
|
1208
|
+
{
|
1209
|
+
return jsxWithValidation(type, props, key, false);
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
|
1213
|
+
var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.
|
1214
|
+
// for now we can ship identical prod functions
|
1215
|
+
|
1216
|
+
var jsxs = jsxWithValidationStatic ;
|
1217
|
+
|
1218
|
+
exports.jsx = jsx;
|
1219
|
+
exports.jsxs = jsxs;
|
1220
|
+
})();
|
1221
|
+
}
|