isomorfeus-preact 10.5.0 → 10.5.4
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 -35
- data/lib/isomorfeus/preact/imports.rb +30 -0
- data/lib/isomorfeus/preact_view_helper.rb +34 -42
- 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 +1097 -24
@@ -0,0 +1,20 @@
|
|
1
|
+
/** @license React v0.20.2
|
2
|
+
* scheduler.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';var f,g,h,k;if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}
|
10
|
+
if("undefined"===typeof window||"function"!==typeof MessageChannel){var t=null,u=null,w=function(){if(null!==t)try{var a=exports.unstable_now();t(!0,a);t=null}catch(b){throw setTimeout(w,0),b;}};f=function(a){null!==t?setTimeout(f,0,a):(t=a,setTimeout(w,0))};g=function(a,b){u=setTimeout(a,b)};h=function(){clearTimeout(u)};exports.unstable_shouldYield=function(){return!1};k=exports.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,y=window.clearTimeout;if("undefined"!==typeof console){var z=
|
11
|
+
window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");"function"!==typeof z&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var A=!1,B=null,C=-1,D=5,E=0;exports.unstable_shouldYield=function(){return exports.unstable_now()>=
|
12
|
+
E};k=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<a?Math.floor(1E3/a):5};var F=new MessageChannel,G=F.port2;F.port1.onmessage=function(){if(null!==B){var a=exports.unstable_now();E=a+D;try{B(!0,a)?G.postMessage(null):(A=!1,B=null)}catch(b){throw G.postMessage(null),b;}}else A=!1};f=function(a){B=a;A||(A=!0,G.postMessage(null))};g=function(a,b){C=
|
13
|
+
x(function(){a(exports.unstable_now())},b)};h=function(){y(C);C=-1}}function H(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<I(e,b))a[d]=b,a[c]=e,c=d;else break a}}function J(a){a=a[0];return void 0===a?null:a}
|
14
|
+
function K(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>I(n,c))void 0!==r&&0>I(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>I(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function I(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var L=[],M=[],N=1,O=null,P=3,Q=!1,R=!1,S=!1;
|
15
|
+
function T(a){for(var b=J(M);null!==b;){if(null===b.callback)K(M);else if(b.startTime<=a)K(M),b.sortIndex=b.expirationTime,H(L,b);else break;b=J(M)}}function U(a){S=!1;T(a);if(!R)if(null!==J(L))R=!0,f(V);else{var b=J(M);null!==b&&g(U,b.startTime-a)}}
|
16
|
+
function V(a,b){R=!1;S&&(S=!1,h());Q=!0;var c=P;try{T(b);for(O=J(L);null!==O&&(!(O.expirationTime>b)||a&&!exports.unstable_shouldYield());){var d=O.callback;if("function"===typeof d){O.callback=null;P=O.priorityLevel;var e=d(O.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?O.callback=e:O===J(L)&&K(L);T(b)}else K(L);O=J(L)}if(null!==O)var m=!0;else{var n=J(M);null!==n&&g(U,n.startTime-b);m=!1}return m}finally{O=null,P=c,Q=!1}}var W=k;exports.unstable_IdlePriority=5;
|
17
|
+
exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){R||Q||(R=!0,f(V))};exports.unstable_getCurrentPriorityLevel=function(){return P};exports.unstable_getFirstCallbackNode=function(){return J(L)};
|
18
|
+
exports.unstable_next=function(a){switch(P){case 1:case 2:case 3:var b=3;break;default:b=P}var c=P;P=b;try{return a()}finally{P=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=W;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=P;P=a;try{return b()}finally{P=c}};
|
19
|
+
exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:N++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,H(M,a),null===J(L)&&a===J(M)&&(S?h():S=!0,g(U,c-d))):(a.sortIndex=e,H(L,a),R||Q||(R=!0,f(V)));return a};
|
20
|
+
exports.unstable_wrapCallback=function(a){var b=P;return function(){var c=P;P=b;try{return a.apply(this,arguments)}finally{P=c}}};
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"name": "scheduler",
|
3
|
+
"version": "0.20.2",
|
4
|
+
"description": "Cooperative scheduler for the browser environment.",
|
5
|
+
"main": "index.js",
|
6
|
+
"repository": {
|
7
|
+
"type": "git",
|
8
|
+
"url": "https://github.com/facebook/react.git",
|
9
|
+
"directory": "packages/scheduler"
|
10
|
+
},
|
11
|
+
"license": "MIT",
|
12
|
+
"keywords": [
|
13
|
+
"react"
|
14
|
+
],
|
15
|
+
"bugs": {
|
16
|
+
"url": "https://github.com/facebook/react/issues"
|
17
|
+
},
|
18
|
+
"homepage": "https://reactjs.org/",
|
19
|
+
"dependencies": {
|
20
|
+
"loose-envify": "^1.1.0",
|
21
|
+
"object-assign": "^4.1.1"
|
22
|
+
},
|
23
|
+
"files": [
|
24
|
+
"LICENSE",
|
25
|
+
"README.md",
|
26
|
+
"build-info.json",
|
27
|
+
"index.js",
|
28
|
+
"tracing.js",
|
29
|
+
"tracing-profiling.js",
|
30
|
+
"unstable_mock.js",
|
31
|
+
"unstable_post_task.js",
|
32
|
+
"cjs/",
|
33
|
+
"umd/"
|
34
|
+
],
|
35
|
+
"browserify": {
|
36
|
+
"transform": [
|
37
|
+
"loose-envify"
|
38
|
+
]
|
39
|
+
}
|
40
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/**
|
2
|
+
* @license React
|
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
|
+
(function(global, factory) {
|
13
|
+
// eslint-disable-next-line no-unused-expressions
|
14
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
15
|
+
? (module.exports = factory(require('react')))
|
16
|
+
: typeof define === 'function' && define.amd // eslint-disable-line no-undef
|
17
|
+
? define(['react'], factory) // eslint-disable-line no-undef
|
18
|
+
: (global.SchedulerTracing = factory(global));
|
19
|
+
})(this, function(global) {
|
20
|
+
function unstable_clear() {
|
21
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_clear.apply(
|
22
|
+
this,
|
23
|
+
arguments
|
24
|
+
);
|
25
|
+
}
|
26
|
+
|
27
|
+
function unstable_getCurrent() {
|
28
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getCurrent.apply(
|
29
|
+
this,
|
30
|
+
arguments
|
31
|
+
);
|
32
|
+
}
|
33
|
+
|
34
|
+
function unstable_getThreadID() {
|
35
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getThreadID.apply(
|
36
|
+
this,
|
37
|
+
arguments
|
38
|
+
);
|
39
|
+
}
|
40
|
+
|
41
|
+
function unstable_subscribe() {
|
42
|
+
// eslint-disable-next-line max-len
|
43
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_subscribe.apply(
|
44
|
+
this,
|
45
|
+
arguments
|
46
|
+
);
|
47
|
+
}
|
48
|
+
|
49
|
+
function unstable_trace() {
|
50
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_trace.apply(
|
51
|
+
this,
|
52
|
+
arguments
|
53
|
+
);
|
54
|
+
}
|
55
|
+
|
56
|
+
function unstable_unsubscribe() {
|
57
|
+
// eslint-disable-next-line max-len
|
58
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_unsubscribe.apply(
|
59
|
+
this,
|
60
|
+
arguments
|
61
|
+
);
|
62
|
+
}
|
63
|
+
|
64
|
+
function unstable_wrap() {
|
65
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_wrap.apply(
|
66
|
+
this,
|
67
|
+
arguments
|
68
|
+
);
|
69
|
+
}
|
70
|
+
|
71
|
+
return Object.freeze({
|
72
|
+
unstable_clear: unstable_clear,
|
73
|
+
unstable_getCurrent: unstable_getCurrent,
|
74
|
+
unstable_getThreadID: unstable_getThreadID,
|
75
|
+
unstable_subscribe: unstable_subscribe,
|
76
|
+
unstable_trace: unstable_trace,
|
77
|
+
unstable_unsubscribe: unstable_unsubscribe,
|
78
|
+
unstable_wrap: unstable_wrap,
|
79
|
+
});
|
80
|
+
});
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/**
|
2
|
+
* @license React
|
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
|
+
(function(global, factory) {
|
13
|
+
// eslint-disable-next-line no-unused-expressions
|
14
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
15
|
+
? (module.exports = factory(require('react')))
|
16
|
+
: typeof define === 'function' && define.amd // eslint-disable-line no-undef
|
17
|
+
? define(['react'], factory) // eslint-disable-line no-undef
|
18
|
+
: (global.SchedulerTracing = factory(global));
|
19
|
+
})(this, function(global) {
|
20
|
+
function unstable_clear() {
|
21
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_clear.apply(
|
22
|
+
this,
|
23
|
+
arguments
|
24
|
+
);
|
25
|
+
}
|
26
|
+
|
27
|
+
function unstable_getCurrent() {
|
28
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getCurrent.apply(
|
29
|
+
this,
|
30
|
+
arguments
|
31
|
+
);
|
32
|
+
}
|
33
|
+
|
34
|
+
function unstable_getThreadID() {
|
35
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getThreadID.apply(
|
36
|
+
this,
|
37
|
+
arguments
|
38
|
+
);
|
39
|
+
}
|
40
|
+
|
41
|
+
function unstable_subscribe() {
|
42
|
+
// eslint-disable-next-line max-len
|
43
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_subscribe.apply(
|
44
|
+
this,
|
45
|
+
arguments
|
46
|
+
);
|
47
|
+
}
|
48
|
+
|
49
|
+
function unstable_trace() {
|
50
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_trace.apply(
|
51
|
+
this,
|
52
|
+
arguments
|
53
|
+
);
|
54
|
+
}
|
55
|
+
|
56
|
+
function unstable_unsubscribe() {
|
57
|
+
// eslint-disable-next-line max-len
|
58
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_unsubscribe.apply(
|
59
|
+
this,
|
60
|
+
arguments
|
61
|
+
);
|
62
|
+
}
|
63
|
+
|
64
|
+
function unstable_wrap() {
|
65
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_wrap.apply(
|
66
|
+
this,
|
67
|
+
arguments
|
68
|
+
);
|
69
|
+
}
|
70
|
+
|
71
|
+
return Object.freeze({
|
72
|
+
unstable_clear: unstable_clear,
|
73
|
+
unstable_getCurrent: unstable_getCurrent,
|
74
|
+
unstable_getThreadID: unstable_getThreadID,
|
75
|
+
unstable_subscribe: unstable_subscribe,
|
76
|
+
unstable_trace: unstable_trace,
|
77
|
+
unstable_unsubscribe: unstable_unsubscribe,
|
78
|
+
unstable_wrap: unstable_wrap,
|
79
|
+
});
|
80
|
+
});
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/**
|
2
|
+
* @license React
|
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
|
+
(function(global, factory) {
|
13
|
+
// eslint-disable-next-line no-unused-expressions
|
14
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
15
|
+
? (module.exports = factory(require('react')))
|
16
|
+
: typeof define === 'function' && define.amd // eslint-disable-line no-undef
|
17
|
+
? define(['react'], factory) // eslint-disable-line no-undef
|
18
|
+
: (global.SchedulerTracing = factory(global));
|
19
|
+
})(this, function(global) {
|
20
|
+
function unstable_clear() {
|
21
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_clear.apply(
|
22
|
+
this,
|
23
|
+
arguments
|
24
|
+
);
|
25
|
+
}
|
26
|
+
|
27
|
+
function unstable_getCurrent() {
|
28
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getCurrent.apply(
|
29
|
+
this,
|
30
|
+
arguments
|
31
|
+
);
|
32
|
+
}
|
33
|
+
|
34
|
+
function unstable_getThreadID() {
|
35
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getThreadID.apply(
|
36
|
+
this,
|
37
|
+
arguments
|
38
|
+
);
|
39
|
+
}
|
40
|
+
|
41
|
+
function unstable_subscribe() {
|
42
|
+
// eslint-disable-next-line max-len
|
43
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_subscribe.apply(
|
44
|
+
this,
|
45
|
+
arguments
|
46
|
+
);
|
47
|
+
}
|
48
|
+
|
49
|
+
function unstable_trace() {
|
50
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_trace.apply(
|
51
|
+
this,
|
52
|
+
arguments
|
53
|
+
);
|
54
|
+
}
|
55
|
+
|
56
|
+
function unstable_unsubscribe() {
|
57
|
+
// eslint-disable-next-line max-len
|
58
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_unsubscribe.apply(
|
59
|
+
this,
|
60
|
+
arguments
|
61
|
+
);
|
62
|
+
}
|
63
|
+
|
64
|
+
function unstable_wrap() {
|
65
|
+
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_wrap.apply(
|
66
|
+
this,
|
67
|
+
arguments
|
68
|
+
);
|
69
|
+
}
|
70
|
+
|
71
|
+
return Object.freeze({
|
72
|
+
unstable_clear: unstable_clear,
|
73
|
+
unstable_getCurrent: unstable_getCurrent,
|
74
|
+
unstable_getThreadID: unstable_getThreadID,
|
75
|
+
unstable_subscribe: unstable_subscribe,
|
76
|
+
unstable_trace: unstable_trace,
|
77
|
+
unstable_unsubscribe: unstable_unsubscribe,
|
78
|
+
unstable_wrap: unstable_wrap,
|
79
|
+
});
|
80
|
+
});
|
@@ -0,0 +1,664 @@
|
|
1
|
+
/** @license React v0.20.2
|
2
|
+
* scheduler-unstable_mock.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
|
+
(function (global, factory) {
|
10
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
11
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
12
|
+
(global = global || self, factory(global.SchedulerMock = {}));
|
13
|
+
}(this, (function (exports) { 'use strict';
|
14
|
+
|
15
|
+
var enableSchedulerDebugging = false;
|
16
|
+
var enableProfiling = false;
|
17
|
+
|
18
|
+
var currentTime = 0;
|
19
|
+
var scheduledCallback = null;
|
20
|
+
var scheduledTimeout = null;
|
21
|
+
var timeoutTime = -1;
|
22
|
+
var yieldedValues = null;
|
23
|
+
var expectedNumberOfYields = -1;
|
24
|
+
var didStop = false;
|
25
|
+
var isFlushing = false;
|
26
|
+
var needsPaint = false;
|
27
|
+
var shouldYieldForPaint = false;
|
28
|
+
function requestHostCallback(callback) {
|
29
|
+
scheduledCallback = callback;
|
30
|
+
}
|
31
|
+
function requestHostTimeout(callback, ms) {
|
32
|
+
scheduledTimeout = callback;
|
33
|
+
timeoutTime = currentTime + ms;
|
34
|
+
}
|
35
|
+
function cancelHostTimeout() {
|
36
|
+
scheduledTimeout = null;
|
37
|
+
timeoutTime = -1;
|
38
|
+
}
|
39
|
+
function shouldYieldToHost() {
|
40
|
+
if (expectedNumberOfYields !== -1 && yieldedValues !== null && yieldedValues.length >= expectedNumberOfYields || shouldYieldForPaint && needsPaint) {
|
41
|
+
// We yielded at least as many values as expected. Stop flushing.
|
42
|
+
didStop = true;
|
43
|
+
return true;
|
44
|
+
}
|
45
|
+
|
46
|
+
return false;
|
47
|
+
}
|
48
|
+
function getCurrentTime() {
|
49
|
+
return currentTime;
|
50
|
+
}
|
51
|
+
function forceFrameRate() {// No-op
|
52
|
+
}
|
53
|
+
|
54
|
+
function unstable_flushNumberOfYields(count) {
|
55
|
+
if (isFlushing) {
|
56
|
+
throw new Error('Already flushing work.');
|
57
|
+
}
|
58
|
+
|
59
|
+
if (scheduledCallback !== null) {
|
60
|
+
var cb = scheduledCallback;
|
61
|
+
expectedNumberOfYields = count;
|
62
|
+
isFlushing = true;
|
63
|
+
|
64
|
+
try {
|
65
|
+
var hasMoreWork = true;
|
66
|
+
|
67
|
+
do {
|
68
|
+
hasMoreWork = cb(true, currentTime);
|
69
|
+
} while (hasMoreWork && !didStop);
|
70
|
+
|
71
|
+
if (!hasMoreWork) {
|
72
|
+
scheduledCallback = null;
|
73
|
+
}
|
74
|
+
} finally {
|
75
|
+
expectedNumberOfYields = -1;
|
76
|
+
didStop = false;
|
77
|
+
isFlushing = false;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
function unstable_flushUntilNextPaint() {
|
82
|
+
if (isFlushing) {
|
83
|
+
throw new Error('Already flushing work.');
|
84
|
+
}
|
85
|
+
|
86
|
+
if (scheduledCallback !== null) {
|
87
|
+
var cb = scheduledCallback;
|
88
|
+
shouldYieldForPaint = true;
|
89
|
+
needsPaint = false;
|
90
|
+
isFlushing = true;
|
91
|
+
|
92
|
+
try {
|
93
|
+
var hasMoreWork = true;
|
94
|
+
|
95
|
+
do {
|
96
|
+
hasMoreWork = cb(true, currentTime);
|
97
|
+
} while (hasMoreWork && !didStop);
|
98
|
+
|
99
|
+
if (!hasMoreWork) {
|
100
|
+
scheduledCallback = null;
|
101
|
+
}
|
102
|
+
} finally {
|
103
|
+
shouldYieldForPaint = false;
|
104
|
+
didStop = false;
|
105
|
+
isFlushing = false;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
function unstable_flushExpired() {
|
110
|
+
if (isFlushing) {
|
111
|
+
throw new Error('Already flushing work.');
|
112
|
+
}
|
113
|
+
|
114
|
+
if (scheduledCallback !== null) {
|
115
|
+
isFlushing = true;
|
116
|
+
|
117
|
+
try {
|
118
|
+
var hasMoreWork = scheduledCallback(false, currentTime);
|
119
|
+
|
120
|
+
if (!hasMoreWork) {
|
121
|
+
scheduledCallback = null;
|
122
|
+
}
|
123
|
+
} finally {
|
124
|
+
isFlushing = false;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
function unstable_flushAllWithoutAsserting() {
|
129
|
+
// Returns false if no work was flushed.
|
130
|
+
if (isFlushing) {
|
131
|
+
throw new Error('Already flushing work.');
|
132
|
+
}
|
133
|
+
|
134
|
+
if (scheduledCallback !== null) {
|
135
|
+
var cb = scheduledCallback;
|
136
|
+
isFlushing = true;
|
137
|
+
|
138
|
+
try {
|
139
|
+
var hasMoreWork = true;
|
140
|
+
|
141
|
+
do {
|
142
|
+
hasMoreWork = cb(true, currentTime);
|
143
|
+
} while (hasMoreWork);
|
144
|
+
|
145
|
+
if (!hasMoreWork) {
|
146
|
+
scheduledCallback = null;
|
147
|
+
}
|
148
|
+
|
149
|
+
return true;
|
150
|
+
} finally {
|
151
|
+
isFlushing = false;
|
152
|
+
}
|
153
|
+
} else {
|
154
|
+
return false;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
function unstable_clearYields() {
|
158
|
+
if (yieldedValues === null) {
|
159
|
+
return [];
|
160
|
+
}
|
161
|
+
|
162
|
+
var values = yieldedValues;
|
163
|
+
yieldedValues = null;
|
164
|
+
return values;
|
165
|
+
}
|
166
|
+
function unstable_flushAll() {
|
167
|
+
if (yieldedValues !== null) {
|
168
|
+
throw new Error('Log is not empty. Assert on the log of yielded values before ' + 'flushing additional work.');
|
169
|
+
}
|
170
|
+
|
171
|
+
unstable_flushAllWithoutAsserting();
|
172
|
+
|
173
|
+
if (yieldedValues !== null) {
|
174
|
+
throw new Error('While flushing work, something yielded a value. Use an ' + 'assertion helper to assert on the log of yielded values, e.g. ' + 'expect(Scheduler).toFlushAndYield([...])');
|
175
|
+
}
|
176
|
+
}
|
177
|
+
function unstable_yieldValue(value) {
|
178
|
+
// eslint-disable-next-line react-internal/no-production-logging
|
179
|
+
if (console.log.name === 'disabledLog') {
|
180
|
+
// If console.log has been patched, we assume we're in render
|
181
|
+
// replaying and we ignore any values yielding in the second pass.
|
182
|
+
return;
|
183
|
+
}
|
184
|
+
|
185
|
+
if (yieldedValues === null) {
|
186
|
+
yieldedValues = [value];
|
187
|
+
} else {
|
188
|
+
yieldedValues.push(value);
|
189
|
+
}
|
190
|
+
}
|
191
|
+
function unstable_advanceTime(ms) {
|
192
|
+
// eslint-disable-next-line react-internal/no-production-logging
|
193
|
+
if (console.log.name === 'disabledLog') {
|
194
|
+
// If console.log has been patched, we assume we're in render
|
195
|
+
// replaying and we ignore any time advancing in the second pass.
|
196
|
+
return;
|
197
|
+
}
|
198
|
+
|
199
|
+
currentTime += ms;
|
200
|
+
|
201
|
+
if (scheduledTimeout !== null && timeoutTime <= currentTime) {
|
202
|
+
scheduledTimeout(currentTime);
|
203
|
+
timeoutTime = -1;
|
204
|
+
scheduledTimeout = null;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
function requestPaint() {
|
208
|
+
needsPaint = true;
|
209
|
+
}
|
210
|
+
|
211
|
+
function push(heap, node) {
|
212
|
+
var index = heap.length;
|
213
|
+
heap.push(node);
|
214
|
+
siftUp(heap, node, index);
|
215
|
+
}
|
216
|
+
function peek(heap) {
|
217
|
+
var first = heap[0];
|
218
|
+
return first === undefined ? null : first;
|
219
|
+
}
|
220
|
+
function pop(heap) {
|
221
|
+
var first = heap[0];
|
222
|
+
|
223
|
+
if (first !== undefined) {
|
224
|
+
var last = heap.pop();
|
225
|
+
|
226
|
+
if (last !== first) {
|
227
|
+
heap[0] = last;
|
228
|
+
siftDown(heap, last, 0);
|
229
|
+
}
|
230
|
+
|
231
|
+
return first;
|
232
|
+
} else {
|
233
|
+
return null;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
function siftUp(heap, node, i) {
|
238
|
+
var index = i;
|
239
|
+
|
240
|
+
while (true) {
|
241
|
+
var parentIndex = index - 1 >>> 1;
|
242
|
+
var parent = heap[parentIndex];
|
243
|
+
|
244
|
+
if (parent !== undefined && compare(parent, node) > 0) {
|
245
|
+
// The parent is larger. Swap positions.
|
246
|
+
heap[parentIndex] = node;
|
247
|
+
heap[index] = parent;
|
248
|
+
index = parentIndex;
|
249
|
+
} else {
|
250
|
+
// The parent is smaller. Exit.
|
251
|
+
return;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
function siftDown(heap, node, i) {
|
257
|
+
var index = i;
|
258
|
+
var length = heap.length;
|
259
|
+
|
260
|
+
while (index < length) {
|
261
|
+
var leftIndex = (index + 1) * 2 - 1;
|
262
|
+
var left = heap[leftIndex];
|
263
|
+
var rightIndex = leftIndex + 1;
|
264
|
+
var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
|
265
|
+
|
266
|
+
if (left !== undefined && compare(left, node) < 0) {
|
267
|
+
if (right !== undefined && compare(right, left) < 0) {
|
268
|
+
heap[index] = right;
|
269
|
+
heap[rightIndex] = node;
|
270
|
+
index = rightIndex;
|
271
|
+
} else {
|
272
|
+
heap[index] = left;
|
273
|
+
heap[leftIndex] = node;
|
274
|
+
index = leftIndex;
|
275
|
+
}
|
276
|
+
} else if (right !== undefined && compare(right, node) < 0) {
|
277
|
+
heap[index] = right;
|
278
|
+
heap[rightIndex] = node;
|
279
|
+
index = rightIndex;
|
280
|
+
} else {
|
281
|
+
// Neither child is smaller. Exit.
|
282
|
+
return;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
}
|
286
|
+
|
287
|
+
function compare(a, b) {
|
288
|
+
// Compare sort index first, then task id.
|
289
|
+
var diff = a.sortIndex - b.sortIndex;
|
290
|
+
return diff !== 0 ? diff : a.id - b.id;
|
291
|
+
}
|
292
|
+
|
293
|
+
// TODO: Use symbols?
|
294
|
+
var ImmediatePriority = 1;
|
295
|
+
var UserBlockingPriority = 2;
|
296
|
+
var NormalPriority = 3;
|
297
|
+
var LowPriority = 4;
|
298
|
+
var IdlePriority = 5;
|
299
|
+
|
300
|
+
function markTaskErrored(task, ms) {
|
301
|
+
}
|
302
|
+
|
303
|
+
/* eslint-disable no-var */
|
304
|
+
// Math.pow(2, 30) - 1
|
305
|
+
// 0b111111111111111111111111111111
|
306
|
+
|
307
|
+
var maxSigned31BitInt = 1073741823; // Times out immediately
|
308
|
+
|
309
|
+
var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out
|
310
|
+
|
311
|
+
var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
|
312
|
+
var NORMAL_PRIORITY_TIMEOUT = 5000;
|
313
|
+
var LOW_PRIORITY_TIMEOUT = 10000; // Never times out
|
314
|
+
|
315
|
+
var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt; // Tasks are stored on a min heap
|
316
|
+
|
317
|
+
var taskQueue = [];
|
318
|
+
var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
|
319
|
+
|
320
|
+
var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
|
321
|
+
var currentTask = null;
|
322
|
+
var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrancy.
|
323
|
+
|
324
|
+
var isPerformingWork = false;
|
325
|
+
var isHostCallbackScheduled = false;
|
326
|
+
var isHostTimeoutScheduled = false;
|
327
|
+
|
328
|
+
function advanceTimers(currentTime) {
|
329
|
+
// Check for tasks that are no longer delayed and add them to the queue.
|
330
|
+
var timer = peek(timerQueue);
|
331
|
+
|
332
|
+
while (timer !== null) {
|
333
|
+
if (timer.callback === null) {
|
334
|
+
// Timer was cancelled.
|
335
|
+
pop(timerQueue);
|
336
|
+
} else if (timer.startTime <= currentTime) {
|
337
|
+
// Timer fired. Transfer to the task queue.
|
338
|
+
pop(timerQueue);
|
339
|
+
timer.sortIndex = timer.expirationTime;
|
340
|
+
push(taskQueue, timer);
|
341
|
+
} else {
|
342
|
+
// Remaining timers are pending.
|
343
|
+
return;
|
344
|
+
}
|
345
|
+
|
346
|
+
timer = peek(timerQueue);
|
347
|
+
}
|
348
|
+
}
|
349
|
+
|
350
|
+
function handleTimeout(currentTime) {
|
351
|
+
isHostTimeoutScheduled = false;
|
352
|
+
advanceTimers(currentTime);
|
353
|
+
|
354
|
+
if (!isHostCallbackScheduled) {
|
355
|
+
if (peek(taskQueue) !== null) {
|
356
|
+
isHostCallbackScheduled = true;
|
357
|
+
requestHostCallback(flushWork);
|
358
|
+
} else {
|
359
|
+
var firstTimer = peek(timerQueue);
|
360
|
+
|
361
|
+
if (firstTimer !== null) {
|
362
|
+
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
363
|
+
}
|
364
|
+
}
|
365
|
+
}
|
366
|
+
}
|
367
|
+
|
368
|
+
function flushWork(hasTimeRemaining, initialTime) {
|
369
|
+
|
370
|
+
|
371
|
+
isHostCallbackScheduled = false;
|
372
|
+
|
373
|
+
if (isHostTimeoutScheduled) {
|
374
|
+
// We scheduled a timeout but it's no longer needed. Cancel it.
|
375
|
+
isHostTimeoutScheduled = false;
|
376
|
+
cancelHostTimeout();
|
377
|
+
}
|
378
|
+
|
379
|
+
isPerformingWork = true;
|
380
|
+
var previousPriorityLevel = currentPriorityLevel;
|
381
|
+
|
382
|
+
try {
|
383
|
+
if (enableProfiling) {
|
384
|
+
try {
|
385
|
+
return workLoop(hasTimeRemaining, initialTime);
|
386
|
+
} catch (error) {
|
387
|
+
if (currentTask !== null) {
|
388
|
+
var currentTime = getCurrentTime();
|
389
|
+
markTaskErrored(currentTask, currentTime);
|
390
|
+
currentTask.isQueued = false;
|
391
|
+
}
|
392
|
+
|
393
|
+
throw error;
|
394
|
+
}
|
395
|
+
} else {
|
396
|
+
// No catch in prod code path.
|
397
|
+
return workLoop(hasTimeRemaining, initialTime);
|
398
|
+
}
|
399
|
+
} finally {
|
400
|
+
currentTask = null;
|
401
|
+
currentPriorityLevel = previousPriorityLevel;
|
402
|
+
isPerformingWork = false;
|
403
|
+
}
|
404
|
+
}
|
405
|
+
|
406
|
+
function workLoop(hasTimeRemaining, initialTime) {
|
407
|
+
var currentTime = initialTime;
|
408
|
+
advanceTimers(currentTime);
|
409
|
+
currentTask = peek(taskQueue);
|
410
|
+
|
411
|
+
while (currentTask !== null && !(enableSchedulerDebugging )) {
|
412
|
+
if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
|
413
|
+
// This currentTask hasn't expired, and we've reached the deadline.
|
414
|
+
break;
|
415
|
+
}
|
416
|
+
|
417
|
+
var callback = currentTask.callback;
|
418
|
+
|
419
|
+
if (typeof callback === 'function') {
|
420
|
+
currentTask.callback = null;
|
421
|
+
currentPriorityLevel = currentTask.priorityLevel;
|
422
|
+
var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
|
423
|
+
|
424
|
+
var continuationCallback = callback(didUserCallbackTimeout);
|
425
|
+
currentTime = getCurrentTime();
|
426
|
+
|
427
|
+
if (typeof continuationCallback === 'function') {
|
428
|
+
currentTask.callback = continuationCallback;
|
429
|
+
} else {
|
430
|
+
|
431
|
+
if (currentTask === peek(taskQueue)) {
|
432
|
+
pop(taskQueue);
|
433
|
+
}
|
434
|
+
}
|
435
|
+
|
436
|
+
advanceTimers(currentTime);
|
437
|
+
} else {
|
438
|
+
pop(taskQueue);
|
439
|
+
}
|
440
|
+
|
441
|
+
currentTask = peek(taskQueue);
|
442
|
+
} // Return whether there's additional work
|
443
|
+
|
444
|
+
|
445
|
+
if (currentTask !== null) {
|
446
|
+
return true;
|
447
|
+
} else {
|
448
|
+
var firstTimer = peek(timerQueue);
|
449
|
+
|
450
|
+
if (firstTimer !== null) {
|
451
|
+
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
452
|
+
}
|
453
|
+
|
454
|
+
return false;
|
455
|
+
}
|
456
|
+
}
|
457
|
+
|
458
|
+
function unstable_runWithPriority(priorityLevel, eventHandler) {
|
459
|
+
switch (priorityLevel) {
|
460
|
+
case ImmediatePriority:
|
461
|
+
case UserBlockingPriority:
|
462
|
+
case NormalPriority:
|
463
|
+
case LowPriority:
|
464
|
+
case IdlePriority:
|
465
|
+
break;
|
466
|
+
|
467
|
+
default:
|
468
|
+
priorityLevel = NormalPriority;
|
469
|
+
}
|
470
|
+
|
471
|
+
var previousPriorityLevel = currentPriorityLevel;
|
472
|
+
currentPriorityLevel = priorityLevel;
|
473
|
+
|
474
|
+
try {
|
475
|
+
return eventHandler();
|
476
|
+
} finally {
|
477
|
+
currentPriorityLevel = previousPriorityLevel;
|
478
|
+
}
|
479
|
+
}
|
480
|
+
|
481
|
+
function unstable_next(eventHandler) {
|
482
|
+
var priorityLevel;
|
483
|
+
|
484
|
+
switch (currentPriorityLevel) {
|
485
|
+
case ImmediatePriority:
|
486
|
+
case UserBlockingPriority:
|
487
|
+
case NormalPriority:
|
488
|
+
// Shift down to normal priority
|
489
|
+
priorityLevel = NormalPriority;
|
490
|
+
break;
|
491
|
+
|
492
|
+
default:
|
493
|
+
// Anything lower than normal priority should remain at the current level.
|
494
|
+
priorityLevel = currentPriorityLevel;
|
495
|
+
break;
|
496
|
+
}
|
497
|
+
|
498
|
+
var previousPriorityLevel = currentPriorityLevel;
|
499
|
+
currentPriorityLevel = priorityLevel;
|
500
|
+
|
501
|
+
try {
|
502
|
+
return eventHandler();
|
503
|
+
} finally {
|
504
|
+
currentPriorityLevel = previousPriorityLevel;
|
505
|
+
}
|
506
|
+
}
|
507
|
+
|
508
|
+
function unstable_wrapCallback(callback) {
|
509
|
+
var parentPriorityLevel = currentPriorityLevel;
|
510
|
+
return function () {
|
511
|
+
// This is a fork of runWithPriority, inlined for performance.
|
512
|
+
var previousPriorityLevel = currentPriorityLevel;
|
513
|
+
currentPriorityLevel = parentPriorityLevel;
|
514
|
+
|
515
|
+
try {
|
516
|
+
return callback.apply(this, arguments);
|
517
|
+
} finally {
|
518
|
+
currentPriorityLevel = previousPriorityLevel;
|
519
|
+
}
|
520
|
+
};
|
521
|
+
}
|
522
|
+
|
523
|
+
function unstable_scheduleCallback(priorityLevel, callback, options) {
|
524
|
+
var currentTime = getCurrentTime();
|
525
|
+
var startTime;
|
526
|
+
|
527
|
+
if (typeof options === 'object' && options !== null) {
|
528
|
+
var delay = options.delay;
|
529
|
+
|
530
|
+
if (typeof delay === 'number' && delay > 0) {
|
531
|
+
startTime = currentTime + delay;
|
532
|
+
} else {
|
533
|
+
startTime = currentTime;
|
534
|
+
}
|
535
|
+
} else {
|
536
|
+
startTime = currentTime;
|
537
|
+
}
|
538
|
+
|
539
|
+
var timeout;
|
540
|
+
|
541
|
+
switch (priorityLevel) {
|
542
|
+
case ImmediatePriority:
|
543
|
+
timeout = IMMEDIATE_PRIORITY_TIMEOUT;
|
544
|
+
break;
|
545
|
+
|
546
|
+
case UserBlockingPriority:
|
547
|
+
timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
|
548
|
+
break;
|
549
|
+
|
550
|
+
case IdlePriority:
|
551
|
+
timeout = IDLE_PRIORITY_TIMEOUT;
|
552
|
+
break;
|
553
|
+
|
554
|
+
case LowPriority:
|
555
|
+
timeout = LOW_PRIORITY_TIMEOUT;
|
556
|
+
break;
|
557
|
+
|
558
|
+
case NormalPriority:
|
559
|
+
default:
|
560
|
+
timeout = NORMAL_PRIORITY_TIMEOUT;
|
561
|
+
break;
|
562
|
+
}
|
563
|
+
|
564
|
+
var expirationTime = startTime + timeout;
|
565
|
+
var newTask = {
|
566
|
+
id: taskIdCounter++,
|
567
|
+
callback: callback,
|
568
|
+
priorityLevel: priorityLevel,
|
569
|
+
startTime: startTime,
|
570
|
+
expirationTime: expirationTime,
|
571
|
+
sortIndex: -1
|
572
|
+
};
|
573
|
+
|
574
|
+
if (startTime > currentTime) {
|
575
|
+
// This is a delayed task.
|
576
|
+
newTask.sortIndex = startTime;
|
577
|
+
push(timerQueue, newTask);
|
578
|
+
|
579
|
+
if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
|
580
|
+
// All tasks are delayed, and this is the task with the earliest delay.
|
581
|
+
if (isHostTimeoutScheduled) {
|
582
|
+
// Cancel an existing timeout.
|
583
|
+
cancelHostTimeout();
|
584
|
+
} else {
|
585
|
+
isHostTimeoutScheduled = true;
|
586
|
+
} // Schedule a timeout.
|
587
|
+
|
588
|
+
|
589
|
+
requestHostTimeout(handleTimeout, startTime - currentTime);
|
590
|
+
}
|
591
|
+
} else {
|
592
|
+
newTask.sortIndex = expirationTime;
|
593
|
+
push(taskQueue, newTask);
|
594
|
+
// wait until the next time we yield.
|
595
|
+
|
596
|
+
|
597
|
+
if (!isHostCallbackScheduled && !isPerformingWork) {
|
598
|
+
isHostCallbackScheduled = true;
|
599
|
+
requestHostCallback(flushWork);
|
600
|
+
}
|
601
|
+
}
|
602
|
+
|
603
|
+
return newTask;
|
604
|
+
}
|
605
|
+
|
606
|
+
function unstable_pauseExecution() {
|
607
|
+
}
|
608
|
+
|
609
|
+
function unstable_continueExecution() {
|
610
|
+
|
611
|
+
if (!isHostCallbackScheduled && !isPerformingWork) {
|
612
|
+
isHostCallbackScheduled = true;
|
613
|
+
requestHostCallback(flushWork);
|
614
|
+
}
|
615
|
+
}
|
616
|
+
|
617
|
+
function unstable_getFirstCallbackNode() {
|
618
|
+
return peek(taskQueue);
|
619
|
+
}
|
620
|
+
|
621
|
+
function unstable_cancelCallback(task) {
|
622
|
+
// remove from the queue because you can't remove arbitrary nodes from an
|
623
|
+
// array based heap, only the first one.)
|
624
|
+
|
625
|
+
|
626
|
+
task.callback = null;
|
627
|
+
}
|
628
|
+
|
629
|
+
function unstable_getCurrentPriorityLevel() {
|
630
|
+
return currentPriorityLevel;
|
631
|
+
}
|
632
|
+
|
633
|
+
var unstable_requestPaint = requestPaint;
|
634
|
+
var unstable_Profiling = null;
|
635
|
+
|
636
|
+
exports.unstable_IdlePriority = IdlePriority;
|
637
|
+
exports.unstable_ImmediatePriority = ImmediatePriority;
|
638
|
+
exports.unstable_LowPriority = LowPriority;
|
639
|
+
exports.unstable_NormalPriority = NormalPriority;
|
640
|
+
exports.unstable_Profiling = unstable_Profiling;
|
641
|
+
exports.unstable_UserBlockingPriority = UserBlockingPriority;
|
642
|
+
exports.unstable_advanceTime = unstable_advanceTime;
|
643
|
+
exports.unstable_cancelCallback = unstable_cancelCallback;
|
644
|
+
exports.unstable_clearYields = unstable_clearYields;
|
645
|
+
exports.unstable_continueExecution = unstable_continueExecution;
|
646
|
+
exports.unstable_flushAll = unstable_flushAll;
|
647
|
+
exports.unstable_flushAllWithoutAsserting = unstable_flushAllWithoutAsserting;
|
648
|
+
exports.unstable_flushExpired = unstable_flushExpired;
|
649
|
+
exports.unstable_flushNumberOfYields = unstable_flushNumberOfYields;
|
650
|
+
exports.unstable_flushUntilNextPaint = unstable_flushUntilNextPaint;
|
651
|
+
exports.unstable_forceFrameRate = forceFrameRate;
|
652
|
+
exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
|
653
|
+
exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
|
654
|
+
exports.unstable_next = unstable_next;
|
655
|
+
exports.unstable_now = getCurrentTime;
|
656
|
+
exports.unstable_pauseExecution = unstable_pauseExecution;
|
657
|
+
exports.unstable_requestPaint = unstable_requestPaint;
|
658
|
+
exports.unstable_runWithPriority = unstable_runWithPriority;
|
659
|
+
exports.unstable_scheduleCallback = unstable_scheduleCallback;
|
660
|
+
exports.unstable_shouldYield = shouldYieldToHost;
|
661
|
+
exports.unstable_wrapCallback = unstable_wrapCallback;
|
662
|
+
exports.unstable_yieldValue = unstable_yieldValue;
|
663
|
+
|
664
|
+
})));
|