@shopify/hydrogen-react 0.0.0-next-80c454e → 0.0.0-next-992334e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dev → browser-dev}/AddToCartButton.mjs +0 -0
- package/dist/{dev → browser-dev}/AddToCartButton.mjs.map +0 -0
- package/dist/{dev → browser-dev}/BaseButton.mjs +0 -0
- package/dist/{dev → browser-dev}/BaseButton.mjs.map +0 -0
- package/dist/{dev → browser-dev}/BuyNowButton.mjs +0 -0
- package/dist/{dev → browser-dev}/BuyNowButton.mjs.map +0 -0
- package/dist/{dev → browser-dev}/CartCheckoutButton.mjs +0 -0
- package/dist/{dev → browser-dev}/CartCheckoutButton.mjs.map +0 -0
- package/dist/{dev → browser-dev}/CartProvider.mjs +0 -0
- package/dist/{dev → browser-dev}/CartProvider.mjs.map +0 -0
- package/dist/{dev → browser-dev}/ExternalVideo.mjs +0 -0
- package/dist/{dev → browser-dev}/ExternalVideo.mjs.map +0 -0
- package/dist/{dev → browser-dev}/Image.mjs +0 -0
- package/dist/{dev → browser-dev}/Image.mjs.map +0 -0
- package/dist/{dev → browser-dev}/MediaFile.mjs +0 -0
- package/dist/{dev → browser-dev}/MediaFile.mjs.map +0 -0
- package/dist/{dev → browser-dev}/Metafield.mjs +0 -0
- package/dist/{dev → browser-dev}/Metafield.mjs.map +0 -0
- package/dist/{dev → browser-dev}/ModelViewer.mjs +0 -0
- package/dist/{dev → browser-dev}/ModelViewer.mjs.map +0 -0
- package/dist/{dev → browser-dev}/Money.mjs +0 -0
- package/dist/{dev → browser-dev}/Money.mjs.map +0 -0
- package/dist/{dev → browser-dev}/ProductPrice.mjs +0 -0
- package/dist/{dev → browser-dev}/ProductPrice.mjs.map +0 -0
- package/dist/{dev → browser-dev}/ProductProvider.mjs +0 -0
- package/dist/{dev → browser-dev}/ProductProvider.mjs.map +0 -0
- package/dist/{dev → browser-dev}/ShopPayButton.mjs +0 -0
- package/dist/{dev → browser-dev}/ShopPayButton.mjs.map +0 -0
- package/dist/{dev → browser-dev}/ShopifyProvider.mjs +0 -0
- package/dist/{dev → browser-dev}/ShopifyProvider.mjs.map +0 -0
- package/dist/{dev → browser-dev}/Video.mjs +0 -0
- package/dist/{dev → browser-dev}/Video.mjs.map +0 -0
- package/dist/{dev → browser-dev}/_virtual/index.mjs +0 -0
- package/dist/{dev → browser-dev}/_virtual/index.mjs.map +0 -0
- package/dist/{dev → browser-dev}/_virtual/use-sync-external-store-shim.development.mjs +0 -0
- package/dist/{dev → browser-dev}/_virtual/use-sync-external-store-shim.development.mjs.map +0 -0
- package/dist/{dev → browser-dev}/_virtual/use-sync-external-store-shim.production.min.mjs +0 -0
- package/dist/{dev → browser-dev}/_virtual/use-sync-external-store-shim.production.min.mjs.map +0 -0
- package/dist/{dev → browser-dev}/_virtual/with-selector.development.mjs +0 -0
- package/dist/{dev → browser-dev}/_virtual/with-selector.development.mjs.map +0 -0
- package/dist/{dev → browser-dev}/_virtual/with-selector.mjs +0 -0
- package/dist/{dev → browser-dev}/_virtual/with-selector.mjs.map +0 -0
- package/dist/{dev → browser-dev}/_virtual/with-selector.production.min.mjs +0 -0
- package/dist/{dev → browser-dev}/_virtual/with-selector.production.min.mjs.map +0 -0
- package/dist/{dev → browser-dev}/cart-constants.mjs +0 -0
- package/dist/{dev → browser-dev}/cart-constants.mjs.map +0 -0
- package/dist/{dev → browser-dev}/cart-hooks.mjs +0 -0
- package/dist/{dev → browser-dev}/cart-hooks.mjs.map +0 -0
- package/dist/{dev → browser-dev}/cart-queries.mjs +0 -0
- package/dist/{dev → browser-dev}/cart-queries.mjs.map +0 -0
- package/dist/{dev → browser-dev}/flatten-connection.mjs +0 -0
- package/dist/{dev → browser-dev}/flatten-connection.mjs.map +0 -0
- package/dist/{dev → browser-dev}/image-size.mjs +0 -0
- package/dist/{dev → browser-dev}/image-size.mjs.map +0 -0
- package/dist/{dev → browser-dev}/index.mjs +0 -0
- package/dist/{dev → browser-dev}/index.mjs.map +0 -0
- package/dist/{dev → browser-dev}/load-script.mjs +0 -0
- package/dist/{dev → browser-dev}/load-script.mjs.map +0 -0
- package/dist/{dev → browser-dev}/metafield-parser.mjs +0 -0
- package/dist/{dev → browser-dev}/metafield-parser.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/@xstate/fsm/es/index.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/@xstate/fsm/es/index.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/@xstate/react/es/fsm.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/@xstate/react/es/fsm.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/@xstate/react/es/useConstant.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/@xstate/react/es/useConstant.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/shim/index.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/shim/index.mjs.map +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -0
- package/dist/{dev → browser-dev}/node_modules/use-sync-external-store/shim/with-selector.mjs.map +0 -0
- package/dist/{dev → browser-dev}/storefront-api-constants.mjs +0 -0
- package/dist/{dev → browser-dev}/storefront-api-constants.mjs.map +0 -0
- package/dist/{dev → browser-dev}/storefront-client.mjs +0 -0
- package/dist/{dev → browser-dev}/storefront-client.mjs.map +0 -0
- package/dist/{dev → browser-dev}/useCartAPIStateMachine.mjs +0 -0
- package/dist/{dev → browser-dev}/useCartAPIStateMachine.mjs.map +0 -0
- package/dist/{dev → browser-dev}/useCartActions.mjs +0 -0
- package/dist/{dev → browser-dev}/useCartActions.mjs.map +0 -0
- package/dist/{dev → browser-dev}/useMoney.mjs +0 -0
- package/dist/{dev → browser-dev}/useMoney.mjs.map +0 -0
- package/dist/{prod → browser-prod}/AddToCartButton.mjs +0 -0
- package/dist/{prod → browser-prod}/AddToCartButton.mjs.map +0 -0
- package/dist/{prod → browser-prod}/BaseButton.mjs +0 -0
- package/dist/{prod → browser-prod}/BaseButton.mjs.map +0 -0
- package/dist/{prod → browser-prod}/BuyNowButton.mjs +0 -0
- package/dist/{prod → browser-prod}/BuyNowButton.mjs.map +0 -0
- package/dist/{prod → browser-prod}/CartCheckoutButton.mjs +0 -0
- package/dist/{prod → browser-prod}/CartCheckoutButton.mjs.map +0 -0
- package/dist/{prod → browser-prod}/CartProvider.mjs +0 -0
- package/dist/{prod → browser-prod}/CartProvider.mjs.map +0 -0
- package/dist/{prod → browser-prod}/ExternalVideo.mjs +0 -0
- package/dist/{prod → browser-prod}/ExternalVideo.mjs.map +0 -0
- package/dist/{prod → browser-prod}/Image.mjs +0 -0
- package/dist/{prod → browser-prod}/Image.mjs.map +0 -0
- package/dist/{prod → browser-prod}/MediaFile.mjs +0 -0
- package/dist/{prod → browser-prod}/MediaFile.mjs.map +0 -0
- package/dist/{prod → browser-prod}/Metafield.mjs +0 -0
- package/dist/{prod → browser-prod}/Metafield.mjs.map +0 -0
- package/dist/{prod → browser-prod}/ModelViewer.mjs +0 -0
- package/dist/{prod → browser-prod}/ModelViewer.mjs.map +0 -0
- package/dist/{prod → browser-prod}/Money.mjs +0 -0
- package/dist/{prod → browser-prod}/Money.mjs.map +0 -0
- package/dist/{prod → browser-prod}/ProductPrice.mjs +0 -0
- package/dist/{prod → browser-prod}/ProductPrice.mjs.map +0 -0
- package/dist/{prod → browser-prod}/ProductProvider.mjs +0 -0
- package/dist/{prod → browser-prod}/ProductProvider.mjs.map +0 -0
- package/dist/{prod → browser-prod}/ShopPayButton.mjs +0 -0
- package/dist/{prod → browser-prod}/ShopPayButton.mjs.map +0 -0
- package/dist/{prod → browser-prod}/ShopifyProvider.mjs +0 -0
- package/dist/{prod → browser-prod}/ShopifyProvider.mjs.map +0 -0
- package/dist/{prod → browser-prod}/Video.mjs +0 -0
- package/dist/{prod → browser-prod}/Video.mjs.map +0 -0
- package/dist/{prod → browser-prod}/_virtual/index.mjs +0 -0
- package/dist/{prod → browser-prod}/_virtual/index.mjs.map +0 -0
- package/dist/{prod → browser-prod}/_virtual/use-sync-external-store-shim.development.mjs +0 -0
- package/dist/{prod → browser-prod}/_virtual/use-sync-external-store-shim.development.mjs.map +0 -0
- package/dist/{prod → browser-prod}/_virtual/use-sync-external-store-shim.production.min.mjs +0 -0
- package/dist/{prod → browser-prod}/_virtual/use-sync-external-store-shim.production.min.mjs.map +0 -0
- package/dist/{prod → browser-prod}/_virtual/with-selector.development.mjs +0 -0
- package/dist/{prod → browser-prod}/_virtual/with-selector.development.mjs.map +0 -0
- package/dist/{prod → browser-prod}/_virtual/with-selector.mjs +0 -0
- package/dist/{prod → browser-prod}/_virtual/with-selector.mjs.map +0 -0
- package/dist/{prod → browser-prod}/_virtual/with-selector.production.min.mjs +0 -0
- package/dist/{prod → browser-prod}/_virtual/with-selector.production.min.mjs.map +0 -0
- package/dist/{prod → browser-prod}/cart-constants.mjs +0 -0
- package/dist/{prod → browser-prod}/cart-constants.mjs.map +0 -0
- package/dist/{prod → browser-prod}/cart-hooks.mjs +0 -0
- package/dist/{prod → browser-prod}/cart-hooks.mjs.map +0 -0
- package/dist/{prod → browser-prod}/cart-queries.mjs +0 -0
- package/dist/{prod → browser-prod}/cart-queries.mjs.map +0 -0
- package/dist/{prod → browser-prod}/flatten-connection.mjs +0 -0
- package/dist/{prod → browser-prod}/flatten-connection.mjs.map +0 -0
- package/dist/{prod → browser-prod}/image-size.mjs +0 -0
- package/dist/{prod → browser-prod}/image-size.mjs.map +0 -0
- package/dist/{prod → browser-prod}/index.mjs +0 -0
- package/dist/{prod → browser-prod}/index.mjs.map +0 -0
- package/dist/{prod → browser-prod}/load-script.mjs +0 -0
- package/dist/{prod → browser-prod}/load-script.mjs.map +0 -0
- package/dist/{prod → browser-prod}/metafield-parser.mjs +0 -0
- package/dist/{prod → browser-prod}/metafield-parser.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/@xstate/fsm/es/index.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/@xstate/fsm/es/index.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/@xstate/react/es/fsm.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/@xstate/react/es/fsm.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/@xstate/react/es/useConstant.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/@xstate/react/es/useConstant.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/shim/index.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/shim/index.mjs.map +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -0
- package/dist/{prod → browser-prod}/node_modules/use-sync-external-store/shim/with-selector.mjs.map +0 -0
- package/dist/{prod → browser-prod}/storefront-api-constants.mjs +0 -0
- package/dist/{prod → browser-prod}/storefront-api-constants.mjs.map +0 -0
- package/dist/{prod → browser-prod}/storefront-client.mjs +0 -0
- package/dist/{prod → browser-prod}/storefront-client.mjs.map +0 -0
- package/dist/{prod → browser-prod}/useCartAPIStateMachine.mjs +0 -0
- package/dist/{prod → browser-prod}/useCartAPIStateMachine.mjs.map +0 -0
- package/dist/{prod → browser-prod}/useCartActions.mjs +0 -0
- package/dist/{prod → browser-prod}/useCartActions.mjs.map +0 -0
- package/dist/{prod → browser-prod}/useMoney.mjs +0 -0
- package/dist/{prod → browser-prod}/useMoney.mjs.map +0 -0
- package/dist/{dev → node-dev}/AddToCartButton.js +0 -0
- package/dist/{dev → node-dev}/AddToCartButton.js.map +0 -0
- package/dist/node-dev/AddToCartButton.mjs +70 -0
- package/dist/node-dev/AddToCartButton.mjs.map +1 -0
- package/dist/{dev → node-dev}/BaseButton.js +0 -0
- package/dist/{dev → node-dev}/BaseButton.js.map +0 -0
- package/dist/node-dev/BaseButton.mjs +31 -0
- package/dist/node-dev/BaseButton.mjs.map +1 -0
- package/dist/{dev → node-dev}/BuyNowButton.js +0 -0
- package/dist/{dev → node-dev}/BuyNowButton.js.map +0 -0
- package/dist/node-dev/BuyNowButton.mjs +45 -0
- package/dist/node-dev/BuyNowButton.mjs.map +1 -0
- package/dist/{dev → node-dev}/CartCheckoutButton.js +0 -0
- package/dist/{dev → node-dev}/CartCheckoutButton.js.map +0 -0
- package/dist/node-dev/CartCheckoutButton.mjs +30 -0
- package/dist/node-dev/CartCheckoutButton.mjs.map +1 -0
- package/dist/{dev → node-dev}/CartProvider.js +0 -0
- package/dist/{dev → node-dev}/CartProvider.js.map +0 -0
- package/dist/node-dev/CartProvider.mjs +485 -0
- package/dist/node-dev/CartProvider.mjs.map +1 -0
- package/dist/{dev → node-dev}/ExternalVideo.js +0 -0
- package/dist/{dev → node-dev}/ExternalVideo.js.map +0 -0
- package/dist/node-dev/ExternalVideo.mjs +39 -0
- package/dist/node-dev/ExternalVideo.mjs.map +1 -0
- package/dist/{dev → node-dev}/Image.js +0 -0
- package/dist/{dev → node-dev}/Image.js.map +0 -0
- package/dist/node-dev/Image.mjs +104 -0
- package/dist/node-dev/Image.mjs.map +1 -0
- package/dist/{dev → node-dev}/MediaFile.js +0 -0
- package/dist/{dev → node-dev}/MediaFile.js.map +0 -0
- package/dist/node-dev/MediaFile.mjs +57 -0
- package/dist/node-dev/MediaFile.mjs.map +1 -0
- package/dist/{dev → node-dev}/Metafield.js +0 -0
- package/dist/{dev → node-dev}/Metafield.js.map +0 -0
- package/dist/node-dev/Metafield.mjs +301 -0
- package/dist/node-dev/Metafield.mjs.map +1 -0
- package/dist/{dev → node-dev}/ModelViewer.js +0 -0
- package/dist/{dev → node-dev}/ModelViewer.js.map +0 -0
- package/dist/node-dev/ModelViewer.mjs +145 -0
- package/dist/node-dev/ModelViewer.mjs.map +1 -0
- package/dist/{dev → node-dev}/Money.js +0 -0
- package/dist/{dev → node-dev}/Money.js.map +0 -0
- package/dist/node-dev/Money.mjs +40 -0
- package/dist/node-dev/Money.mjs.map +1 -0
- package/dist/{dev → node-dev}/ProductPrice.js +0 -0
- package/dist/{dev → node-dev}/ProductPrice.js.map +0 -0
- package/dist/node-dev/ProductPrice.mjs +61 -0
- package/dist/node-dev/ProductPrice.mjs.map +1 -0
- package/dist/{dev → node-dev}/ProductProvider.js +0 -0
- package/dist/{dev → node-dev}/ProductProvider.js.map +0 -0
- package/dist/node-dev/ProductProvider.mjs +161 -0
- package/dist/node-dev/ProductProvider.mjs.map +1 -0
- package/dist/{dev → node-dev}/ShopPayButton.js +0 -0
- package/dist/{dev → node-dev}/ShopPayButton.js.map +0 -0
- package/dist/node-dev/ShopPayButton.mjs +64 -0
- package/dist/node-dev/ShopPayButton.mjs.map +1 -0
- package/dist/{dev → node-dev}/ShopifyProvider.js +0 -0
- package/dist/{dev → node-dev}/ShopifyProvider.js.map +0 -0
- package/dist/node-dev/ShopifyProvider.mjs +46 -0
- package/dist/node-dev/ShopifyProvider.mjs.map +1 -0
- package/dist/{dev → node-dev}/Video.js +0 -0
- package/dist/{dev → node-dev}/Video.js.map +0 -0
- package/dist/node-dev/Video.mjs +44 -0
- package/dist/node-dev/Video.mjs.map +1 -0
- package/dist/{dev → node-dev}/_virtual/index.js +0 -0
- package/dist/{dev → node-dev}/_virtual/index.js.map +0 -0
- package/dist/node-dev/_virtual/index.mjs +5 -0
- package/dist/node-dev/_virtual/index.mjs.map +1 -0
- package/dist/{dev → node-dev}/_virtual/use-sync-external-store-shim.development.js +0 -0
- package/dist/{dev → node-dev}/_virtual/use-sync-external-store-shim.development.js.map +0 -0
- package/dist/node-dev/_virtual/use-sync-external-store-shim.development.mjs +5 -0
- package/dist/node-dev/_virtual/use-sync-external-store-shim.development.mjs.map +1 -0
- package/dist/{dev → node-dev}/_virtual/use-sync-external-store-shim.production.min.js +0 -0
- package/dist/{dev → node-dev}/_virtual/use-sync-external-store-shim.production.min.js.map +0 -0
- package/dist/node-dev/_virtual/use-sync-external-store-shim.production.min.mjs +5 -0
- package/dist/node-dev/_virtual/use-sync-external-store-shim.production.min.mjs.map +1 -0
- package/dist/{dev → node-dev}/_virtual/with-selector.development.js +0 -0
- package/dist/{dev → node-dev}/_virtual/with-selector.development.js.map +0 -0
- package/dist/node-dev/_virtual/with-selector.development.mjs +5 -0
- package/dist/node-dev/_virtual/with-selector.development.mjs.map +1 -0
- package/dist/{dev → node-dev}/_virtual/with-selector.js +0 -0
- package/dist/{dev → node-dev}/_virtual/with-selector.js.map +0 -0
- package/dist/node-dev/_virtual/with-selector.mjs +5 -0
- package/dist/node-dev/_virtual/with-selector.mjs.map +1 -0
- package/dist/{dev → node-dev}/_virtual/with-selector.production.min.js +0 -0
- package/dist/{dev → node-dev}/_virtual/with-selector.production.min.js.map +0 -0
- package/dist/node-dev/_virtual/with-selector.production.min.mjs +5 -0
- package/dist/node-dev/_virtual/with-selector.production.min.mjs.map +1 -0
- package/dist/{dev → node-dev}/cart-constants.js +0 -0
- package/dist/{dev → node-dev}/cart-constants.js.map +0 -0
- package/dist/node-dev/cart-constants.mjs +17 -0
- package/dist/node-dev/cart-constants.mjs.map +1 -0
- package/dist/{dev → node-dev}/cart-hooks.js +0 -0
- package/dist/{dev → node-dev}/cart-hooks.js.map +0 -0
- package/dist/node-dev/cart-hooks.mjs +48 -0
- package/dist/node-dev/cart-hooks.mjs.map +1 -0
- package/dist/{dev → node-dev}/cart-queries.js +0 -0
- package/dist/{dev → node-dev}/cart-queries.js.map +0 -0
- package/dist/node-dev/cart-queries.mjs +114 -0
- package/dist/node-dev/cart-queries.mjs.map +1 -0
- package/dist/{dev → node-dev}/flatten-connection.js +0 -0
- package/dist/{dev → node-dev}/flatten-connection.js.map +0 -0
- package/dist/node-dev/flatten-connection.mjs +29 -0
- package/dist/node-dev/flatten-connection.mjs.map +1 -0
- package/dist/{dev → node-dev}/image-size.js +0 -0
- package/dist/{dev → node-dev}/image-size.js.map +0 -0
- package/dist/node-dev/image-size.mjs +80 -0
- package/dist/node-dev/image-size.mjs.map +1 -0
- package/dist/{dev → node-dev}/index.js +0 -0
- package/dist/{dev → node-dev}/index.js.map +0 -0
- package/dist/node-dev/index.mjs +46 -0
- package/dist/node-dev/index.mjs.map +1 -0
- package/dist/{dev → node-dev}/load-script.js +0 -0
- package/dist/{dev → node-dev}/load-script.js.map +0 -0
- package/dist/node-dev/load-script.mjs +52 -0
- package/dist/node-dev/load-script.mjs.map +1 -0
- package/dist/{dev → node-dev}/metafield-parser.js +0 -0
- package/dist/{dev → node-dev}/metafield-parser.js.map +0 -0
- package/dist/node-dev/metafield-parser.mjs +103 -0
- package/dist/node-dev/metafield-parser.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/@xstate/fsm/es/index.js +0 -0
- package/dist/{dev → node-dev}/node_modules/@xstate/fsm/es/index.js.map +0 -0
- package/dist/node-dev/node_modules/@xstate/fsm/es/index.mjs +159 -0
- package/dist/node-dev/node_modules/@xstate/fsm/es/index.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/@xstate/react/es/fsm.js +2 -2
- package/dist/{dev → node-dev}/node_modules/@xstate/react/es/fsm.js.map +1 -1
- package/dist/node-dev/node_modules/@xstate/react/es/fsm.mjs +94 -0
- package/dist/node-dev/node_modules/@xstate/react/es/fsm.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/@xstate/react/es/useConstant.js +0 -0
- package/dist/{dev → node-dev}/node_modules/@xstate/react/es/useConstant.js.map +0 -0
- package/dist/node-dev/node_modules/@xstate/react/es/useConstant.mjs +12 -0
- package/dist/node-dev/node_modules/@xstate/react/es/useConstant.mjs.map +1 -0
- package/dist/node-dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +5 -0
- package/dist/node-dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js.map +1 -0
- package/dist/node-dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.mjs +6 -0
- package/dist/node-dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +105 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +0 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js.map +0 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +72 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +136 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +0 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js.map +0 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +58 -0
- package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/shim/index.js +0 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/shim/index.js.map +0 -0
- package/dist/node-dev/node_modules/use-sync-external-store/shim/index.mjs +21 -0
- package/dist/node-dev/node_modules/use-sync-external-store/shim/index.mjs.map +1 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/shim/with-selector.js +0 -0
- package/dist/{dev → node-dev}/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -0
- package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.mjs +11 -0
- package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.mjs.map +1 -0
- package/dist/{dev → node-dev}/storefront-api-constants.js +0 -0
- package/dist/{dev → node-dev}/storefront-api-constants.js.map +0 -0
- package/dist/node-dev/storefront-api-constants.mjs +5 -0
- package/dist/node-dev/storefront-api-constants.mjs.map +1 -0
- package/dist/{dev → node-dev}/storefront-client.js +0 -0
- package/dist/{dev → node-dev}/storefront-client.js.map +0 -0
- package/dist/node-dev/storefront-client.mjs +72 -0
- package/dist/node-dev/storefront-client.mjs.map +1 -0
- package/dist/{dev → node-dev}/useCartAPIStateMachine.js +0 -0
- package/dist/{dev → node-dev}/useCartAPIStateMachine.js.map +0 -0
- package/dist/node-dev/useCartAPIStateMachine.mjs +326 -0
- package/dist/node-dev/useCartAPIStateMachine.mjs.map +1 -0
- package/dist/{dev → node-dev}/useCartActions.js +0 -0
- package/dist/{dev → node-dev}/useCartActions.js.map +0 -0
- package/dist/node-dev/useCartActions.mjs +123 -0
- package/dist/node-dev/useCartActions.mjs.map +1 -0
- package/dist/{dev → node-dev}/useMoney.js +0 -0
- package/dist/{dev → node-dev}/useMoney.js.map +0 -0
- package/dist/node-dev/useMoney.mjs +72 -0
- package/dist/node-dev/useMoney.mjs.map +1 -0
- package/dist/{prod → node-prod}/AddToCartButton.js +0 -0
- package/dist/{prod → node-prod}/AddToCartButton.js.map +0 -0
- package/dist/node-prod/AddToCartButton.mjs +70 -0
- package/dist/node-prod/AddToCartButton.mjs.map +1 -0
- package/dist/{prod → node-prod}/BaseButton.js +0 -0
- package/dist/{prod → node-prod}/BaseButton.js.map +0 -0
- package/dist/node-prod/BaseButton.mjs +31 -0
- package/dist/node-prod/BaseButton.mjs.map +1 -0
- package/dist/{prod → node-prod}/BuyNowButton.js +0 -0
- package/dist/{prod → node-prod}/BuyNowButton.js.map +0 -0
- package/dist/node-prod/BuyNowButton.mjs +45 -0
- package/dist/node-prod/BuyNowButton.mjs.map +1 -0
- package/dist/{prod → node-prod}/CartCheckoutButton.js +0 -0
- package/dist/{prod → node-prod}/CartCheckoutButton.js.map +0 -0
- package/dist/node-prod/CartCheckoutButton.mjs +30 -0
- package/dist/node-prod/CartCheckoutButton.mjs.map +1 -0
- package/dist/{prod → node-prod}/CartProvider.js +0 -0
- package/dist/{prod → node-prod}/CartProvider.js.map +0 -0
- package/dist/node-prod/CartProvider.mjs +485 -0
- package/dist/node-prod/CartProvider.mjs.map +1 -0
- package/dist/{prod → node-prod}/ExternalVideo.js +0 -0
- package/dist/{prod → node-prod}/ExternalVideo.js.map +0 -0
- package/dist/node-prod/ExternalVideo.mjs +39 -0
- package/dist/node-prod/ExternalVideo.mjs.map +1 -0
- package/dist/{prod → node-prod}/Image.js +0 -0
- package/dist/{prod → node-prod}/Image.js.map +0 -0
- package/dist/node-prod/Image.mjs +99 -0
- package/dist/node-prod/Image.mjs.map +1 -0
- package/dist/{prod → node-prod}/MediaFile.js +0 -0
- package/dist/{prod → node-prod}/MediaFile.js.map +0 -0
- package/dist/node-prod/MediaFile.mjs +59 -0
- package/dist/node-prod/MediaFile.mjs.map +1 -0
- package/dist/{prod → node-prod}/Metafield.js +0 -0
- package/dist/{prod → node-prod}/Metafield.js.map +0 -0
- package/dist/node-prod/Metafield.mjs +288 -0
- package/dist/node-prod/Metafield.mjs.map +1 -0
- package/dist/{prod → node-prod}/ModelViewer.js +0 -0
- package/dist/{prod → node-prod}/ModelViewer.js.map +0 -0
- package/dist/node-prod/ModelViewer.mjs +143 -0
- package/dist/node-prod/ModelViewer.mjs.map +1 -0
- package/dist/{prod → node-prod}/Money.js +0 -0
- package/dist/{prod → node-prod}/Money.js.map +0 -0
- package/dist/node-prod/Money.mjs +40 -0
- package/dist/node-prod/Money.mjs.map +1 -0
- package/dist/{prod → node-prod}/ProductPrice.js +0 -0
- package/dist/{prod → node-prod}/ProductPrice.js.map +0 -0
- package/dist/node-prod/ProductPrice.mjs +61 -0
- package/dist/node-prod/ProductPrice.mjs.map +1 -0
- package/dist/{prod → node-prod}/ProductProvider.js +0 -0
- package/dist/{prod → node-prod}/ProductProvider.js.map +0 -0
- package/dist/node-prod/ProductProvider.mjs +161 -0
- package/dist/node-prod/ProductProvider.mjs.map +1 -0
- package/dist/{prod → node-prod}/ShopPayButton.js +0 -0
- package/dist/{prod → node-prod}/ShopPayButton.js.map +0 -0
- package/dist/node-prod/ShopPayButton.mjs +64 -0
- package/dist/node-prod/ShopPayButton.mjs.map +1 -0
- package/dist/{prod → node-prod}/ShopifyProvider.js +0 -0
- package/dist/{prod → node-prod}/ShopifyProvider.js.map +0 -0
- package/dist/node-prod/ShopifyProvider.mjs +46 -0
- package/dist/node-prod/ShopifyProvider.mjs.map +1 -0
- package/dist/{prod → node-prod}/Video.js +0 -0
- package/dist/{prod → node-prod}/Video.js.map +0 -0
- package/dist/node-prod/Video.mjs +44 -0
- package/dist/node-prod/Video.mjs.map +1 -0
- package/dist/{prod → node-prod}/_virtual/index.js +0 -0
- package/dist/{prod → node-prod}/_virtual/index.js.map +0 -0
- package/dist/node-prod/_virtual/index.mjs +5 -0
- package/dist/node-prod/_virtual/index.mjs.map +1 -0
- package/dist/{prod → node-prod}/_virtual/use-sync-external-store-shim.development.js +0 -0
- package/dist/{prod → node-prod}/_virtual/use-sync-external-store-shim.development.js.map +0 -0
- package/dist/node-prod/_virtual/use-sync-external-store-shim.development.mjs +5 -0
- package/dist/node-prod/_virtual/use-sync-external-store-shim.development.mjs.map +1 -0
- package/dist/{prod → node-prod}/_virtual/use-sync-external-store-shim.production.min.js +0 -0
- package/dist/{prod → node-prod}/_virtual/use-sync-external-store-shim.production.min.js.map +0 -0
- package/dist/node-prod/_virtual/use-sync-external-store-shim.production.min.mjs +5 -0
- package/dist/node-prod/_virtual/use-sync-external-store-shim.production.min.mjs.map +1 -0
- package/dist/{prod → node-prod}/_virtual/with-selector.development.js +0 -0
- package/dist/{prod → node-prod}/_virtual/with-selector.development.js.map +0 -0
- package/dist/node-prod/_virtual/with-selector.development.mjs +5 -0
- package/dist/node-prod/_virtual/with-selector.development.mjs.map +1 -0
- package/dist/{prod → node-prod}/_virtual/with-selector.js +0 -0
- package/dist/{prod → node-prod}/_virtual/with-selector.js.map +0 -0
- package/dist/node-prod/_virtual/with-selector.mjs +5 -0
- package/dist/node-prod/_virtual/with-selector.mjs.map +1 -0
- package/dist/{prod → node-prod}/_virtual/with-selector.production.min.js +0 -0
- package/dist/{prod → node-prod}/_virtual/with-selector.production.min.js.map +0 -0
- package/dist/node-prod/_virtual/with-selector.production.min.mjs +5 -0
- package/dist/node-prod/_virtual/with-selector.production.min.mjs.map +1 -0
- package/dist/{prod → node-prod}/cart-constants.js +0 -0
- package/dist/{prod → node-prod}/cart-constants.js.map +0 -0
- package/dist/node-prod/cart-constants.mjs +17 -0
- package/dist/node-prod/cart-constants.mjs.map +1 -0
- package/dist/{prod → node-prod}/cart-hooks.js +0 -0
- package/dist/{prod → node-prod}/cart-hooks.js.map +0 -0
- package/dist/node-prod/cart-hooks.mjs +48 -0
- package/dist/node-prod/cart-hooks.mjs.map +1 -0
- package/dist/{prod → node-prod}/cart-queries.js +0 -0
- package/dist/{prod → node-prod}/cart-queries.js.map +0 -0
- package/dist/node-prod/cart-queries.mjs +114 -0
- package/dist/node-prod/cart-queries.mjs.map +1 -0
- package/dist/{prod → node-prod}/flatten-connection.js +0 -0
- package/dist/{prod → node-prod}/flatten-connection.js.map +0 -0
- package/dist/node-prod/flatten-connection.mjs +25 -0
- package/dist/node-prod/flatten-connection.mjs.map +1 -0
- package/dist/{prod → node-prod}/image-size.js +0 -0
- package/dist/{prod → node-prod}/image-size.js.map +0 -0
- package/dist/node-prod/image-size.mjs +80 -0
- package/dist/node-prod/image-size.mjs.map +1 -0
- package/dist/{prod → node-prod}/index.js +0 -0
- package/dist/{prod → node-prod}/index.js.map +0 -0
- package/dist/node-prod/index.mjs +46 -0
- package/dist/node-prod/index.mjs.map +1 -0
- package/dist/{prod → node-prod}/load-script.js +0 -0
- package/dist/{prod → node-prod}/load-script.js.map +0 -0
- package/dist/node-prod/load-script.mjs +52 -0
- package/dist/node-prod/load-script.mjs.map +1 -0
- package/dist/{prod → node-prod}/metafield-parser.js +0 -0
- package/dist/{prod → node-prod}/metafield-parser.js.map +0 -0
- package/dist/node-prod/metafield-parser.mjs +114 -0
- package/dist/node-prod/metafield-parser.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/@xstate/fsm/es/index.js +0 -0
- package/dist/{prod → node-prod}/node_modules/@xstate/fsm/es/index.js.map +0 -0
- package/dist/node-prod/node_modules/@xstate/fsm/es/index.mjs +159 -0
- package/dist/node-prod/node_modules/@xstate/fsm/es/index.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/@xstate/react/es/fsm.js +2 -2
- package/dist/{prod → node-prod}/node_modules/@xstate/react/es/fsm.js.map +1 -1
- package/dist/node-prod/node_modules/@xstate/react/es/fsm.mjs +94 -0
- package/dist/node-prod/node_modules/@xstate/react/es/fsm.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/@xstate/react/es/useConstant.js +0 -0
- package/dist/{prod → node-prod}/node_modules/@xstate/react/es/useConstant.js.map +0 -0
- package/dist/node-prod/node_modules/@xstate/react/es/useConstant.mjs +12 -0
- package/dist/node-prod/node_modules/@xstate/react/es/useConstant.mjs.map +1 -0
- package/dist/node-prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +5 -0
- package/dist/node-prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js.map +1 -0
- package/dist/node-prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.mjs +6 -0
- package/dist/node-prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +105 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +0 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js.map +0 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +72 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +136 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +0 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js.map +0 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +58 -0
- package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/shim/index.js +0 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/shim/index.js.map +0 -0
- package/dist/node-prod/node_modules/use-sync-external-store/shim/index.mjs +21 -0
- package/dist/node-prod/node_modules/use-sync-external-store/shim/index.mjs.map +1 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/shim/with-selector.js +0 -0
- package/dist/{prod → node-prod}/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -0
- package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.mjs +11 -0
- package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.mjs.map +1 -0
- package/dist/{prod → node-prod}/storefront-api-constants.js +0 -0
- package/dist/{prod → node-prod}/storefront-api-constants.js.map +0 -0
- package/dist/node-prod/storefront-api-constants.mjs +5 -0
- package/dist/node-prod/storefront-api-constants.mjs.map +1 -0
- package/dist/{prod → node-prod}/storefront-client.js +0 -0
- package/dist/{prod → node-prod}/storefront-client.js.map +0 -0
- package/dist/node-prod/storefront-client.mjs +57 -0
- package/dist/node-prod/storefront-client.mjs.map +1 -0
- package/dist/{prod → node-prod}/useCartAPIStateMachine.js +0 -0
- package/dist/{prod → node-prod}/useCartAPIStateMachine.js.map +0 -0
- package/dist/node-prod/useCartAPIStateMachine.mjs +326 -0
- package/dist/node-prod/useCartAPIStateMachine.mjs.map +1 -0
- package/dist/{prod → node-prod}/useCartActions.js +0 -0
- package/dist/{prod → node-prod}/useCartActions.js.map +0 -0
- package/dist/node-prod/useCartActions.mjs +123 -0
- package/dist/node-prod/useCartActions.mjs.map +1 -0
- package/dist/{prod → node-prod}/useMoney.js +0 -0
- package/dist/{prod → node-prod}/useMoney.js.map +0 -0
- package/dist/node-prod/useMoney.mjs +72 -0
- package/dist/node-prod/useMoney.mjs.map +1 -0
- package/package.json +34 -19
- package/dist/dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
- package/dist/dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js.map +0 -1
- package/dist/prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
- package/dist/prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js.map +0 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { __exports as withSelector_development } from "../../../../_virtual/with-selector.development.mjs";
|
|
2
|
+
import require$$0__default from "react";
|
|
3
|
+
import { __require as requireShim } from "../../shim/index.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* use-sync-external-store-shim/with-selector.development.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var hasRequiredWithSelector_development;
|
|
14
|
+
function requireWithSelector_development() {
|
|
15
|
+
if (hasRequiredWithSelector_development)
|
|
16
|
+
return withSelector_development;
|
|
17
|
+
hasRequiredWithSelector_development = 1;
|
|
18
|
+
if (process.env.NODE_ENV !== "production") {
|
|
19
|
+
(function() {
|
|
20
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
|
21
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
22
|
+
}
|
|
23
|
+
var React = require$$0__default;
|
|
24
|
+
var shim = requireShim();
|
|
25
|
+
function is(x, y) {
|
|
26
|
+
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
|
27
|
+
}
|
|
28
|
+
var objectIs = typeof Object.is === "function" ? Object.is : is;
|
|
29
|
+
var useSyncExternalStore = shim.useSyncExternalStore;
|
|
30
|
+
var useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
|
|
31
|
+
function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
32
|
+
var instRef = useRef(null);
|
|
33
|
+
var inst;
|
|
34
|
+
if (instRef.current === null) {
|
|
35
|
+
inst = {
|
|
36
|
+
hasValue: false,
|
|
37
|
+
value: null
|
|
38
|
+
};
|
|
39
|
+
instRef.current = inst;
|
|
40
|
+
} else {
|
|
41
|
+
inst = instRef.current;
|
|
42
|
+
}
|
|
43
|
+
var _useMemo = useMemo(function() {
|
|
44
|
+
var hasMemo = false;
|
|
45
|
+
var memoizedSnapshot;
|
|
46
|
+
var memoizedSelection;
|
|
47
|
+
var memoizedSelector = function(nextSnapshot) {
|
|
48
|
+
if (!hasMemo) {
|
|
49
|
+
hasMemo = true;
|
|
50
|
+
memoizedSnapshot = nextSnapshot;
|
|
51
|
+
var _nextSelection = selector(nextSnapshot);
|
|
52
|
+
if (isEqual !== void 0) {
|
|
53
|
+
if (inst.hasValue) {
|
|
54
|
+
var currentSelection = inst.value;
|
|
55
|
+
if (isEqual(currentSelection, _nextSelection)) {
|
|
56
|
+
memoizedSelection = currentSelection;
|
|
57
|
+
return currentSelection;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
memoizedSelection = _nextSelection;
|
|
62
|
+
return _nextSelection;
|
|
63
|
+
}
|
|
64
|
+
var prevSnapshot = memoizedSnapshot;
|
|
65
|
+
var prevSelection = memoizedSelection;
|
|
66
|
+
if (objectIs(prevSnapshot, nextSnapshot)) {
|
|
67
|
+
return prevSelection;
|
|
68
|
+
}
|
|
69
|
+
var nextSelection = selector(nextSnapshot);
|
|
70
|
+
if (isEqual !== void 0 && isEqual(prevSelection, nextSelection)) {
|
|
71
|
+
return prevSelection;
|
|
72
|
+
}
|
|
73
|
+
memoizedSnapshot = nextSnapshot;
|
|
74
|
+
memoizedSelection = nextSelection;
|
|
75
|
+
return nextSelection;
|
|
76
|
+
};
|
|
77
|
+
var maybeGetServerSnapshot = getServerSnapshot === void 0 ? null : getServerSnapshot;
|
|
78
|
+
var getSnapshotWithSelector = function() {
|
|
79
|
+
return memoizedSelector(getSnapshot());
|
|
80
|
+
};
|
|
81
|
+
var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? void 0 : function() {
|
|
82
|
+
return memoizedSelector(maybeGetServerSnapshot());
|
|
83
|
+
};
|
|
84
|
+
return [getSnapshotWithSelector, getServerSnapshotWithSelector];
|
|
85
|
+
}, [getSnapshot, getServerSnapshot, selector, isEqual]), getSelection = _useMemo[0], getServerSelection = _useMemo[1];
|
|
86
|
+
var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);
|
|
87
|
+
useEffect(function() {
|
|
88
|
+
inst.hasValue = true;
|
|
89
|
+
inst.value = value;
|
|
90
|
+
}, [value]);
|
|
91
|
+
useDebugValue(value);
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
withSelector_development.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;
|
|
95
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
|
96
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
97
|
+
}
|
|
98
|
+
})();
|
|
99
|
+
}
|
|
100
|
+
return withSelector_development;
|
|
101
|
+
}
|
|
102
|
+
export {
|
|
103
|
+
requireWithSelector_development as __require
|
|
104
|
+
};
|
|
105
|
+
//# sourceMappingURL=with-selector.development.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-selector.development.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var React = require('react');\nvar shim = require('use-sync-external-store/shim');\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nvar objectIs = typeof Object.is === 'function' ? Object.is : is;\n\nvar useSyncExternalStore = shim.useSyncExternalStore;\n\n// for CommonJS interop.\n\nvar useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue; // Same as useSyncExternalStore, but supports selector and isEqual arguments.\n\nfunction useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {\n // Use this to track the rendered snapshot.\n var instRef = useRef(null);\n var inst;\n\n if (instRef.current === null) {\n inst = {\n hasValue: false,\n value: null\n };\n instRef.current = inst;\n } else {\n inst = instRef.current;\n }\n\n var _useMemo = useMemo(function () {\n // Track the memoized state using closure variables that are local to this\n // memoized instance of a getSnapshot function. Intentionally not using a\n // useRef hook, because that state would be shared across all concurrent\n // copies of the hook/component.\n var hasMemo = false;\n var memoizedSnapshot;\n var memoizedSelection;\n\n var memoizedSelector = function (nextSnapshot) {\n if (!hasMemo) {\n // The first time the hook is called, there is no memoized result.\n hasMemo = true;\n memoizedSnapshot = nextSnapshot;\n\n var _nextSelection = selector(nextSnapshot);\n\n if (isEqual !== undefined) {\n // Even if the selector has changed, the currently rendered selection\n // may be equal to the new selection. We should attempt to reuse the\n // current value if possible, to preserve downstream memoizations.\n if (inst.hasValue) {\n var currentSelection = inst.value;\n\n if (isEqual(currentSelection, _nextSelection)) {\n memoizedSelection = currentSelection;\n return currentSelection;\n }\n }\n }\n\n memoizedSelection = _nextSelection;\n return _nextSelection;\n } // We may be able to reuse the previous invocation's result.\n\n\n // We may be able to reuse the previous invocation's result.\n var prevSnapshot = memoizedSnapshot;\n var prevSelection = memoizedSelection;\n\n if (objectIs(prevSnapshot, nextSnapshot)) {\n // The snapshot is the same as last time. Reuse the previous selection.\n return prevSelection;\n } // The snapshot has changed, so we need to compute a new selection.\n\n\n // The snapshot has changed, so we need to compute a new selection.\n var nextSelection = selector(nextSnapshot); // If a custom isEqual function is provided, use that to check if the data\n // has changed. If it hasn't, return the previous selection. That signals\n // to React that the selections are conceptually equal, and we can bail\n // out of rendering.\n\n // If a custom isEqual function is provided, use that to check if the data\n // has changed. If it hasn't, return the previous selection. That signals\n // to React that the selections are conceptually equal, and we can bail\n // out of rendering.\n if (isEqual !== undefined && isEqual(prevSelection, nextSelection)) {\n return prevSelection;\n }\n\n memoizedSnapshot = nextSnapshot;\n memoizedSelection = nextSelection;\n return nextSelection;\n }; // Assigning this to a constant so that Flow knows it can't change.\n\n\n // Assigning this to a constant so that Flow knows it can't change.\n var maybeGetServerSnapshot = getServerSnapshot === undefined ? null : getServerSnapshot;\n\n var getSnapshotWithSelector = function () {\n return memoizedSelector(getSnapshot());\n };\n\n var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? undefined : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n };\n return [getSnapshotWithSelector, getServerSnapshotWithSelector];\n }, [getSnapshot, getServerSnapshot, selector, isEqual]),\n getSelection = _useMemo[0],\n getServerSelection = _useMemo[1];\n\n var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);\n useEffect(function () {\n inst.hasValue = true;\n inst.value = value;\n }, [value]);\n useDebugValue(value);\n return value;\n}\n\nexports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;;AAYA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,KAAC,WAAW;AAKd,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,gCACpC,YACF;AACA,uCAA+B,4BAA4B,IAAI,MAAK,CAAE;AAAA,MACvE;AACS,UAAI,QAAQA;AACtB,UAAI,OAAOC;AAMX,eAAS,GAAG,GAAG,GAAG;AAChB,eAAO,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAM,MAAM,KAAK,MAAM;AAAA,MAEpE;AAED,UAAI,WAAW,OAAO,OAAO,OAAO,aAAa,OAAO,KAAK;AAE7D,UAAI,uBAAuB,KAAK;AAIhC,UAAI,SAAS,MAAM,QACf,YAAY,MAAM,WAClB,UAAU,MAAM,SAChB,gBAAgB,MAAM;AAE1B,eAAS,iCAAiC,WAAW,aAAa,mBAAmB,UAAU,SAAS;AAEtG,YAAI,UAAU,OAAO,IAAI;AACzB,YAAI;AAEJ,YAAI,QAAQ,YAAY,MAAM;AAC5B,iBAAO;AAAA,YACL,UAAU;AAAA,YACV,OAAO;AAAA,UACb;AACI,kBAAQ,UAAU;AAAA,QACtB,OAAS;AACL,iBAAO,QAAQ;AAAA,QAChB;AAED,YAAI,WAAW,QAAQ,WAAY;AAKjC,cAAI,UAAU;AACd,cAAI;AACJ,cAAI;AAEJ,cAAI,mBAAmB,SAAU,cAAc;AAC7C,gBAAI,CAAC,SAAS;AAEZ,wBAAU;AACV,iCAAmB;AAEnB,kBAAI,iBAAiB,SAAS,YAAY;AAE1C,kBAAI,YAAY,QAAW;AAIzB,oBAAI,KAAK,UAAU;AACjB,sBAAI,mBAAmB,KAAK;AAE5B,sBAAI,QAAQ,kBAAkB,cAAc,GAAG;AAC7C,wCAAoB;AACpB,2BAAO;AAAA,kBACR;AAAA,gBACF;AAAA,cACF;AAED,kCAAoB;AACpB,qBAAO;AAAA,YACR;AAID,gBAAI,eAAe;AACnB,gBAAI,gBAAgB;AAEpB,gBAAI,SAAS,cAAc,YAAY,GAAG;AAExC,qBAAO;AAAA,YACR;AAID,gBAAI,gBAAgB,SAAS,YAAY;AASzC,gBAAI,YAAY,UAAa,QAAQ,eAAe,aAAa,GAAG;AAClE,qBAAO;AAAA,YACR;AAED,+BAAmB;AACnB,gCAAoB;AACpB,mBAAO;AAAA,UACb;AAII,cAAI,yBAAyB,sBAAsB,SAAY,OAAO;AAEtE,cAAI,0BAA0B,WAAY;AACxC,mBAAO,iBAAiB,YAAW,CAAE;AAAA,UAC3C;AAEI,cAAI,gCAAgC,2BAA2B,OAAO,SAAY,WAAY;AAC5F,mBAAO,iBAAiB,uBAAsB,CAAE;AAAA,UACtD;AACI,iBAAO,CAAC,yBAAyB,6BAA6B;AAAA,QAC/D,GAAE,CAAC,aAAa,mBAAmB,UAAU,OAAO,CAAC,GAClD,eAAe,SAAS,IACxB,qBAAqB,SAAS;AAElC,YAAI,QAAQ,qBAAqB,WAAW,cAAc,kBAAkB;AAC5E,kBAAU,WAAY;AACpB,eAAK,WAAW;AAChB,eAAK,QAAQ;AAAA,QACjB,GAAK,CAAC,KAAK,CAAC;AACV,sBAAc,KAAK;AACnB,eAAO;AAAA,MACR;AAEuC,+BAAA,mCAAG;AAE3C,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,+BACpC,YACF;AACA,uCAA+B,2BAA2B,IAAI,MAAK,CAAE;AAAA,MACtE;AAAA,IAED;EACA;;;"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { __exports as withSelector_production_min } from "../../../../_virtual/with-selector.production.min.mjs";
|
|
2
|
+
import require$$0__default from "react";
|
|
3
|
+
import { __require as requireShim } from "../../shim/index.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var hasRequiredWithSelector_production_min;
|
|
14
|
+
function requireWithSelector_production_min() {
|
|
15
|
+
if (hasRequiredWithSelector_production_min)
|
|
16
|
+
return withSelector_production_min;
|
|
17
|
+
hasRequiredWithSelector_production_min = 1;
|
|
18
|
+
var h = require$$0__default, n = requireShim();
|
|
19
|
+
function p(a, b) {
|
|
20
|
+
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
|
|
21
|
+
}
|
|
22
|
+
var q = "function" === typeof Object.is ? Object.is : p, r = n.useSyncExternalStore, t = h.useRef, u = h.useEffect, v = h.useMemo, w = h.useDebugValue;
|
|
23
|
+
withSelector_production_min.useSyncExternalStoreWithSelector = function(a, b, e, l, g) {
|
|
24
|
+
var c = t(null);
|
|
25
|
+
if (null === c.current) {
|
|
26
|
+
var f = { hasValue: false, value: null };
|
|
27
|
+
c.current = f;
|
|
28
|
+
} else
|
|
29
|
+
f = c.current;
|
|
30
|
+
c = v(function() {
|
|
31
|
+
function a2(a3) {
|
|
32
|
+
if (!c2) {
|
|
33
|
+
c2 = true;
|
|
34
|
+
d2 = a3;
|
|
35
|
+
a3 = l(a3);
|
|
36
|
+
if (void 0 !== g && f.hasValue) {
|
|
37
|
+
var b2 = f.value;
|
|
38
|
+
if (g(b2, a3))
|
|
39
|
+
return k = b2;
|
|
40
|
+
}
|
|
41
|
+
return k = a3;
|
|
42
|
+
}
|
|
43
|
+
b2 = k;
|
|
44
|
+
if (q(d2, a3))
|
|
45
|
+
return b2;
|
|
46
|
+
var e2 = l(a3);
|
|
47
|
+
if (void 0 !== g && g(b2, e2))
|
|
48
|
+
return b2;
|
|
49
|
+
d2 = a3;
|
|
50
|
+
return k = e2;
|
|
51
|
+
}
|
|
52
|
+
var c2 = false, d2, k, m = void 0 === e ? null : e;
|
|
53
|
+
return [function() {
|
|
54
|
+
return a2(b());
|
|
55
|
+
}, null === m ? void 0 : function() {
|
|
56
|
+
return a2(m());
|
|
57
|
+
}];
|
|
58
|
+
}, [b, e, l, g]);
|
|
59
|
+
var d = r(a, c[0], c[1]);
|
|
60
|
+
u(function() {
|
|
61
|
+
f.hasValue = true;
|
|
62
|
+
f.value = d;
|
|
63
|
+
}, [d]);
|
|
64
|
+
w(d);
|
|
65
|
+
return d;
|
|
66
|
+
};
|
|
67
|
+
return withSelector_production_min;
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
requireWithSelector_production_min as __require
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=with-selector.production.min.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-selector.production.min.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var h=require(\"react\"),n=require(\"use-sync-external-store/shim\");function p(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var q=\"function\"===typeof Object.is?Object.is:p,r=n.useSyncExternalStore,t=h.useRef,u=h.useEffect,v=h.useMemo,w=h.useDebugValue;\nexports.useSyncExternalStoreWithSelector=function(a,b,e,l,g){var c=t(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;c=v(function(){function a(a){if(!c){c=!0;d=a;a=l(a);if(void 0!==g&&f.hasValue){var b=f.value;if(g(b,a))return k=b}return k=a}b=k;if(q(d,a))return b;var e=l(a);if(void 0!==g&&g(b,e))return b;d=a;return k=e}var c=!1,d,k,m=void 0===e?null:e;return[function(){return a(b())},null===m?void 0:function(){return a(m())}]},[b,e,l,g]);var d=r(a,c[0],c[1]);\nu(function(){f.hasValue=!0;f.value=d},[d]);w(d);return d};\n"],"names":["require$$0","require$$1","a","c","d","b","e"],"mappings":";;;;;;;;;;;;;;;;;AASa,MAAI,IAAEA,qBAAiB,IAAEC,YAAuC;AAAC,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,MAAI,MAAI,MAAI,KAAG,IAAE,MAAI,IAAE,MAAI,MAAI,KAAG,MAAI;AAAA,EAAC;AAAC,MAAI,IAAE,eAAa,OAAO,OAAO,KAAG,OAAO,KAAG,GAAE,IAAE,EAAE,sBAAqB,IAAE,EAAE,QAAO,IAAE,EAAE,WAAU,IAAE,EAAE,SAAQ,IAAE,EAAE;AAC/P,8BAAA,mCAAyC,SAAS,GAAE,GAAE,GAAE,GAAE,GAAE;AAAC,QAAI,IAAE,EAAE,IAAI;AAAE,QAAG,SAAO,EAAE,SAAQ;AAAC,UAAI,IAAE,EAAC,UAAS,OAAG,OAAM,KAAI;AAAE,QAAE,UAAQ;AAAA,IAAC;AAAM,UAAE,EAAE;AAAQ,QAAE,EAAE,WAAU;AAAC,eAASC,GAAEA,IAAE;AAAC,YAAG,CAACC,IAAE;AAAC,UAAAA,KAAE;AAAG,UAAAC,KAAEF;AAAE,UAAAA,KAAE,EAAEA,EAAC;AAAE,cAAG,WAAS,KAAG,EAAE,UAAS;AAAC,gBAAIG,KAAE,EAAE;AAAM,gBAAG,EAAEA,IAAEH,EAAC;AAAE,qBAAO,IAAEG;AAAA,UAAC;AAAC,iBAAO,IAAEH;AAAA,QAAC;AAAC,QAAAG,KAAE;AAAE,YAAG,EAAED,IAAEF,EAAC;AAAE,iBAAOG;AAAE,YAAIC,KAAE,EAAEJ,EAAC;AAAE,YAAG,WAAS,KAAG,EAAEG,IAAEC,EAAC;AAAE,iBAAOD;AAAE,QAAAD,KAAEF;AAAE,eAAO,IAAEI;AAAA,MAAC;AAAC,UAAIH,KAAE,OAAGC,IAAE,GAAE,IAAE,WAAS,IAAE,OAAK;AAAE,aAAM,CAAC,WAAU;AAAC,eAAOF,GAAE,EAAG,CAAA;AAAA,MAAC,GAAE,SAAO,IAAE,SAAO,WAAU;AAAC,eAAOA,GAAE,EAAC,CAAE;AAAA,MAAC,CAAC;AAAA,IAAC,GAAE,CAAC,GAAE,GAAE,GAAE,CAAC,CAAC;AAAE,QAAI,IAAE,EAAE,GAAE,EAAE,IAAG,EAAE,EAAE;AACrf,MAAE,WAAU;AAAC,QAAE,WAAS;AAAG,QAAE,QAAM;AAAA,IAAC,GAAE,CAAC,CAAC,CAAC;AAAE,MAAE,CAAC;AAAE,WAAO;AAAA,EAAC;;;"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { __exports as useSyncExternalStoreShim_development } from "../../../_virtual/use-sync-external-store-shim.development.mjs";
|
|
2
|
+
import require$$0__default from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* use-sync-external-store-shim.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var hasRequiredUseSyncExternalStoreShim_development;
|
|
13
|
+
function requireUseSyncExternalStoreShim_development() {
|
|
14
|
+
if (hasRequiredUseSyncExternalStoreShim_development)
|
|
15
|
+
return useSyncExternalStoreShim_development;
|
|
16
|
+
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
17
|
+
if (process.env.NODE_ENV !== "production") {
|
|
18
|
+
(function() {
|
|
19
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
|
20
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
21
|
+
}
|
|
22
|
+
var React = require$$0__default;
|
|
23
|
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
24
|
+
function error(format) {
|
|
25
|
+
{
|
|
26
|
+
{
|
|
27
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
28
|
+
args[_key2 - 1] = arguments[_key2];
|
|
29
|
+
}
|
|
30
|
+
printWarning("error", format, args);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function printWarning(level, format, args) {
|
|
35
|
+
{
|
|
36
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
37
|
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
38
|
+
if (stack !== "") {
|
|
39
|
+
format += "%s";
|
|
40
|
+
args = args.concat([stack]);
|
|
41
|
+
}
|
|
42
|
+
var argsWithFormat = args.map(function(item) {
|
|
43
|
+
return String(item);
|
|
44
|
+
});
|
|
45
|
+
argsWithFormat.unshift("Warning: " + format);
|
|
46
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function is(x, y) {
|
|
50
|
+
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
|
51
|
+
}
|
|
52
|
+
var objectIs = typeof Object.is === "function" ? Object.is : is;
|
|
53
|
+
var useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue;
|
|
54
|
+
var didWarnOld18Alpha = false;
|
|
55
|
+
var didWarnUncachedGetSnapshot = false;
|
|
56
|
+
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
57
|
+
{
|
|
58
|
+
if (!didWarnOld18Alpha) {
|
|
59
|
+
if (React.startTransition !== void 0) {
|
|
60
|
+
didWarnOld18Alpha = true;
|
|
61
|
+
error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
var value = getSnapshot();
|
|
66
|
+
{
|
|
67
|
+
if (!didWarnUncachedGetSnapshot) {
|
|
68
|
+
var cachedValue = getSnapshot();
|
|
69
|
+
if (!objectIs(value, cachedValue)) {
|
|
70
|
+
error("The result of getSnapshot should be cached to avoid an infinite loop");
|
|
71
|
+
didWarnUncachedGetSnapshot = true;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
var _useState = useState({
|
|
76
|
+
inst: {
|
|
77
|
+
value,
|
|
78
|
+
getSnapshot
|
|
79
|
+
}
|
|
80
|
+
}), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
81
|
+
useLayoutEffect(function() {
|
|
82
|
+
inst.value = value;
|
|
83
|
+
inst.getSnapshot = getSnapshot;
|
|
84
|
+
if (checkIfSnapshotChanged(inst)) {
|
|
85
|
+
forceUpdate({
|
|
86
|
+
inst
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}, [subscribe, value, getSnapshot]);
|
|
90
|
+
useEffect(function() {
|
|
91
|
+
if (checkIfSnapshotChanged(inst)) {
|
|
92
|
+
forceUpdate({
|
|
93
|
+
inst
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
var handleStoreChange = function() {
|
|
97
|
+
if (checkIfSnapshotChanged(inst)) {
|
|
98
|
+
forceUpdate({
|
|
99
|
+
inst
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
return subscribe(handleStoreChange);
|
|
104
|
+
}, [subscribe]);
|
|
105
|
+
useDebugValue(value);
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
function checkIfSnapshotChanged(inst) {
|
|
109
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
110
|
+
var prevValue = inst.value;
|
|
111
|
+
try {
|
|
112
|
+
var nextValue = latestGetSnapshot();
|
|
113
|
+
return !objectIs(prevValue, nextValue);
|
|
114
|
+
} catch (error2) {
|
|
115
|
+
return true;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
|
|
119
|
+
return getSnapshot();
|
|
120
|
+
}
|
|
121
|
+
var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined");
|
|
122
|
+
var isServerEnvironment = !canUseDOM;
|
|
123
|
+
var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
|
|
124
|
+
var useSyncExternalStore$2 = React.useSyncExternalStore !== void 0 ? React.useSyncExternalStore : shim;
|
|
125
|
+
useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
|
|
126
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
|
127
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
128
|
+
}
|
|
129
|
+
})();
|
|
130
|
+
}
|
|
131
|
+
return useSyncExternalStoreShim_development;
|
|
132
|
+
}
|
|
133
|
+
export {
|
|
134
|
+
requireUseSyncExternalStoreShim_development as __require
|
|
135
|
+
};
|
|
136
|
+
//# sourceMappingURL=use-sync-external-store-shim.development.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-sync-external-store-shim.development.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var React = require('react');\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nvar objectIs = typeof Object.is === 'function' ? Object.is : is;\n\n// dispatch for CommonJS interop named imports.\n\nvar useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nvar didWarnOld18Alpha = false;\nvar didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\n\nfunction useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n// React do not expose a way to check if we're hydrating. So users of the shim\n// will need to track that themselves and return the correct value\n// from `getSnapshot`.\ngetServerSnapshot) {\n {\n if (!didWarnOld18Alpha) {\n if (React.startTransition !== undefined) {\n didWarnOld18Alpha = true;\n\n error('You are using an outdated, pre-release alpha of React 18 that ' + 'does not support useSyncExternalStore. The ' + 'use-sync-external-store shim will not work correctly. Upgrade ' + 'to a newer pre-release.');\n }\n }\n } // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n\n\n var value = getSnapshot();\n\n {\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n\n if (!objectIs(value, cachedValue)) {\n error('The result of getSnapshot should be cached to avoid an infinite loop');\n\n didWarnUncachedGetSnapshot = true;\n }\n }\n } // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n\n\n var _useState = useState({\n inst: {\n value: value,\n getSnapshot: getSnapshot\n }\n }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n\n\n useLayoutEffect(function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }, [subscribe, value, getSnapshot]);\n useEffect(function () {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n\n var handleStoreChange = function () {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }; // Subscribe to the store and return a clean-up function.\n\n\n return subscribe(handleStoreChange);\n }, [subscribe]);\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n var prevValue = inst.value;\n\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n\nfunction useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n return getSnapshot();\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');\n\nvar isServerEnvironment = !canUseDOM;\n\nvar shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;\nvar useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;\n\nexports.useSyncExternalStore = useSyncExternalStore$2;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n"],"names":["require$$0","error"],"mappings":";;;;;;;;;;;;;;;;AAYA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,KAAC,WAAW;AAKd,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,gCACpC,YACF;AACA,uCAA+B,4BAA4B,IAAI,MAAK,CAAE;AAAA,MACvE;AACS,UAAI,QAAQA;AAEtB,UAAI,uBAAuB,MAAM;AAEjC,eAAS,MAAM,QAAQ;AACrB;AACE;AACE,qBAAS,QAAQ,UAAU,QAAQ,OAAO,IAAI,MAAM,QAAQ,IAAI,QAAQ,IAAI,CAAC,GAAG,QAAQ,GAAG,QAAQ,OAAO,SAAS;AACjH,mBAAK,QAAQ,KAAK,UAAU;AAAA,YAC7B;AAED,yBAAa,SAAS,QAAQ,IAAI;AAAA,UACnC;AAAA,QACF;AAAA,MACF;AAED,eAAS,aAAa,OAAO,QAAQ,MAAM;AAGzC;AACE,cAAI,yBAAyB,qBAAqB;AAClD,cAAI,QAAQ,uBAAuB;AAEnC,cAAI,UAAU,IAAI;AAChB,sBAAU;AACV,mBAAO,KAAK,OAAO,CAAC,KAAK,CAAC;AAAA,UAC3B;AAGD,cAAI,iBAAiB,KAAK,IAAI,SAAU,MAAM;AAC5C,mBAAO,OAAO,IAAI;AAAA,UACxB,CAAK;AAED,yBAAe,QAAQ,cAAc,MAAM;AAI3C,mBAAS,UAAU,MAAM,KAAK,QAAQ,QAAQ,SAAS,cAAc;AAAA,QACtE;AAAA,MACF;AAMD,eAAS,GAAG,GAAG,GAAG;AAChB,eAAO,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAM,MAAM,KAAK,MAAM;AAAA,MAEpE;AAED,UAAI,WAAW,OAAO,OAAO,OAAO,aAAa,OAAO,KAAK;AAI7D,UAAI,WAAW,MAAM,UACjB,YAAY,MAAM,WAClB,kBAAkB,MAAM,iBACxB,gBAAgB,MAAM;AAC1B,UAAI,oBAAoB;AACxB,UAAI,6BAA6B;AAWjC,eAAS,qBAAqB,WAAW,aAIzC,mBAAmB;AACjB;AACE,cAAI,CAAC,mBAAmB;AACtB,gBAAI,MAAM,oBAAoB,QAAW;AACvC,kCAAoB;AAEpB,oBAAM,gMAA+M;AAAA,YACtN;AAAA,UACF;AAAA,QACF;AAMD,YAAI,QAAQ;AAEZ;AACE,cAAI,CAAC,4BAA4B;AAC/B,gBAAI,cAAc;AAElB,gBAAI,CAAC,SAAS,OAAO,WAAW,GAAG;AACjC,oBAAM,sEAAsE;AAE5E,2CAA6B;AAAA,YAC9B;AAAA,UACF;AAAA,QACF;AAgBD,YAAI,YAAY,SAAS;AAAA,UACvB,MAAM;AAAA,YACJ;AAAA,YACA;AAAA,UACD;AAAA,QACL,CAAG,GACG,OAAO,UAAU,GAAG,MACpB,cAAc,UAAU;AAK5B,wBAAgB,WAAY;AAC1B,eAAK,QAAQ;AACb,eAAK,cAAc;AAKnB,cAAI,uBAAuB,IAAI,GAAG;AAEhC,wBAAY;AAAA,cACV;AAAA,YACR,CAAO;AAAA,UACF;AAAA,QACF,GAAE,CAAC,WAAW,OAAO,WAAW,CAAC;AAClC,kBAAU,WAAY;AAGpB,cAAI,uBAAuB,IAAI,GAAG;AAEhC,wBAAY;AAAA,cACV;AAAA,YACR,CAAO;AAAA,UACF;AAED,cAAI,oBAAoB,WAAY;AAOlC,gBAAI,uBAAuB,IAAI,GAAG;AAEhC,0BAAY;AAAA,gBACV;AAAA,cACV,CAAS;AAAA,YACF;AAAA,UACP;AAGI,iBAAO,UAAU,iBAAiB;AAAA,QACtC,GAAK,CAAC,SAAS,CAAC;AACd,sBAAc,KAAK;AACnB,eAAO;AAAA,MACR;AAED,eAAS,uBAAuB,MAAM;AACpC,YAAI,oBAAoB,KAAK;AAC7B,YAAI,YAAY,KAAK;AAErB,YAAI;AACF,cAAI,YAAY;AAChB,iBAAO,CAAC,SAAS,WAAW,SAAS;AAAA,QACtC,SAAQC,QAAP;AACA,iBAAO;AAAA,QACR;AAAA,MACF;AAED,eAAS,uBAAuB,WAAW,aAAa,mBAAmB;AAKzE,eAAO,YAAW;AAAA,MACnB;AAED,UAAI,YAAY,CAAC,EAAE,OAAO,WAAW,eAAe,OAAO,OAAO,aAAa,eAAe,OAAO,OAAO,SAAS,kBAAkB;AAEvI,UAAI,sBAAsB,CAAC;AAE3B,UAAI,OAAO,sBAAsB,yBAAyB;AAC1D,UAAI,yBAAyB,MAAM,yBAAyB,SAAY,MAAM,uBAAuB;AAEzE,2CAAA,uBAAG;AAE/B,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,+BACpC,YACF;AACA,uCAA+B,2BAA2B,IAAI,MAAK,CAAE;AAAA,MACtE;AAAA,IAED;EACA;;;"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { __exports as useSyncExternalStoreShim_production_min } from "../../../_virtual/use-sync-external-store-shim.production.min.mjs";
|
|
2
|
+
import require$$0__default from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* use-sync-external-store-shim.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var hasRequiredUseSyncExternalStoreShim_production_min;
|
|
13
|
+
function requireUseSyncExternalStoreShim_production_min() {
|
|
14
|
+
if (hasRequiredUseSyncExternalStoreShim_production_min)
|
|
15
|
+
return useSyncExternalStoreShim_production_min;
|
|
16
|
+
hasRequiredUseSyncExternalStoreShim_production_min = 1;
|
|
17
|
+
var e = require$$0__default;
|
|
18
|
+
function h(a, b) {
|
|
19
|
+
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
|
|
20
|
+
}
|
|
21
|
+
var k = "function" === typeof Object.is ? Object.is : h, l = e.useState, m = e.useEffect, n = e.useLayoutEffect, p = e.useDebugValue;
|
|
22
|
+
function q(a, b) {
|
|
23
|
+
var d = b(), f = l({ inst: { value: d, getSnapshot: b } }), c = f[0].inst, g = f[1];
|
|
24
|
+
n(function() {
|
|
25
|
+
c.value = d;
|
|
26
|
+
c.getSnapshot = b;
|
|
27
|
+
r(c) && g({ inst: c });
|
|
28
|
+
}, [a, d, b]);
|
|
29
|
+
m(function() {
|
|
30
|
+
r(c) && g({ inst: c });
|
|
31
|
+
return a(function() {
|
|
32
|
+
r(c) && g({ inst: c });
|
|
33
|
+
});
|
|
34
|
+
}, [a]);
|
|
35
|
+
p(d);
|
|
36
|
+
return d;
|
|
37
|
+
}
|
|
38
|
+
function r(a) {
|
|
39
|
+
var b = a.getSnapshot;
|
|
40
|
+
a = a.value;
|
|
41
|
+
try {
|
|
42
|
+
var d = b();
|
|
43
|
+
return !k(a, d);
|
|
44
|
+
} catch (f) {
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function t(a, b) {
|
|
49
|
+
return b();
|
|
50
|
+
}
|
|
51
|
+
var u = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? t : q;
|
|
52
|
+
useSyncExternalStoreShim_production_min.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
|
|
53
|
+
return useSyncExternalStoreShim_production_min;
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
requireUseSyncExternalStoreShim_production_min as __require
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=use-sync-external-store-shim.production.min.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-sync-external-store-shim.production.min.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var e=require(\"react\");function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k=\"function\"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c})},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c})})},[a]);p(d);return d}\nfunction r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return!k(a,d)}catch(f){return!0}}function t(a,b){return b()}var u=\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement?t:q;exports.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;\n"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;;;AASa,MAAI,IAAEA;AAAiB,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,MAAI,MAAI,MAAI,KAAG,IAAE,MAAI,IAAE,MAAI,MAAI,KAAG,MAAI;AAAA,EAAC;AAAC,MAAI,IAAE,eAAa,OAAO,OAAO,KAAG,OAAO,KAAG,GAAE,IAAE,EAAE,UAAS,IAAE,EAAE,WAAU,IAAE,EAAE,iBAAgB,IAAE,EAAE;AAAc,WAAS,EAAE,GAAE,GAAE;AAAC,QAAI,IAAE,EAAC,GAAG,IAAE,EAAE,EAAC,MAAK,EAAC,OAAM,GAAE,aAAY,EAAC,EAAC,CAAC,GAAE,IAAE,EAAE,GAAG,MAAK,IAAE,EAAE;AAAG,MAAE,WAAU;AAAC,QAAE,QAAM;AAAE,QAAE,cAAY;AAAE,QAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAA,IAAC,GAAE,CAAC,GAAE,GAAE,CAAC,CAAC;AAAE,MAAE,WAAU;AAAC,QAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAE,aAAO,EAAE,WAAU;AAAC,UAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAA,MAAC,CAAC;AAAA,IAAC,GAAE,CAAC,CAAC,CAAC;AAAE,MAAE,CAAC;AAAE,WAAO;AAAA,EAAC;AAClc,WAAS,EAAE,GAAE;AAAC,QAAI,IAAE,EAAE;AAAY,QAAE,EAAE;AAAM,QAAG;AAAC,UAAI,IAAE,EAAG;AAAC,aAAM,CAAC,EAAE,GAAE,CAAC;AAAA,IAAC,SAAO,GAAN;AAAS,aAAM;AAAA,IAAE;AAAA,EAAC;AAAC,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,EAAC;AAAA,EAAE;AAAC,MAAI,IAAE,gBAAc,OAAO,UAAQ,gBAAc,OAAO,OAAO,YAAU,gBAAc,OAAO,OAAO,SAAS,gBAAc,IAAE;AAAE,0CAA4B,uBAAC,WAAS,EAAE,uBAAqB,EAAE,uBAAqB;;;"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { s as shim } from "../../../_virtual/index.mjs";
|
|
2
|
+
import { __require as requireUseSyncExternalStoreShim_production_min } from "../cjs/use-sync-external-store-shim.production.min.mjs";
|
|
3
|
+
import { __require as requireUseSyncExternalStoreShim_development } from "../cjs/use-sync-external-store-shim.development.mjs";
|
|
4
|
+
var hasRequiredShim;
|
|
5
|
+
function requireShim() {
|
|
6
|
+
if (hasRequiredShim)
|
|
7
|
+
return shim.exports;
|
|
8
|
+
hasRequiredShim = 1;
|
|
9
|
+
(function(module) {
|
|
10
|
+
if (process.env.NODE_ENV === "production") {
|
|
11
|
+
module.exports = requireUseSyncExternalStoreShim_production_min();
|
|
12
|
+
} else {
|
|
13
|
+
module.exports = requireUseSyncExternalStoreShim_development();
|
|
14
|
+
}
|
|
15
|
+
})(shim);
|
|
16
|
+
return shim.exports;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
requireShim as __require
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;AAEA,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,aAAA,UAAiBA;IACnB,OAAO;AACL,aAAA,UAAiBC;IACnB;AAAA;;;"}
|
|
File without changes
|
package/dist/{dev → node-dev}/node_modules/use-sync-external-store/shim/with-selector.js.map
RENAMED
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { w as withSelector } from "../../../_virtual/with-selector.mjs";
|
|
2
|
+
import { __require as requireWithSelector_production_min } from "../cjs/use-sync-external-store-shim/with-selector.production.min.mjs";
|
|
3
|
+
import { __require as requireWithSelector_development } from "../cjs/use-sync-external-store-shim/with-selector.development.mjs";
|
|
4
|
+
(function(module) {
|
|
5
|
+
if (process.env.NODE_ENV === "production") {
|
|
6
|
+
module.exports = requireWithSelector_production_min();
|
|
7
|
+
} else {
|
|
8
|
+
module.exports = requireWithSelector_development();
|
|
9
|
+
}
|
|
10
|
+
})(withSelector);
|
|
11
|
+
//# sourceMappingURL=with-selector.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-selector.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;AAEA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,WAAA,UAAiBA;EACnB,OAAO;AACL,WAAA,UAAiBC;EACnB;;"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storefront-api-constants.mjs","sources":["../../src/storefront-api-constants.ts"],"sourcesContent":["export const SFAPI_VERSION = '2022-10';\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { SFAPI_VERSION } from "./storefront-api-constants.mjs";
|
|
2
|
+
function createStorefrontClient({
|
|
3
|
+
storeDomain,
|
|
4
|
+
privateStorefrontToken,
|
|
5
|
+
publicStorefrontToken,
|
|
6
|
+
storefrontApiVersion,
|
|
7
|
+
contentType
|
|
8
|
+
}) {
|
|
9
|
+
if (storefrontApiVersion !== SFAPI_VERSION) {
|
|
10
|
+
console.warn(
|
|
11
|
+
`StorefrontClient: The Storefront API version that you're using is different than the version this build of Hydrogen-UI is targeting. You may run into unexpected errors if these versions don't match. Received verion: "${storefrontApiVersion}"; expected version "${SFAPI_VERSION}"`
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
if (!privateStorefrontToken && !globalThis.document) {
|
|
15
|
+
console.warn(
|
|
16
|
+
`StorefrontClient: Using a private storefront token is recommended for server environments. Refer to the authentication https://shopify.dev/api/storefront#authentication documentation for more details. `
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
if (privateStorefrontToken && globalThis) {
|
|
20
|
+
console.warn(
|
|
21
|
+
`StorefrontClient: You are attempting to use a private token in an environment where it can be easily accessed by anyone. This is a security risk; please use the public token and the 'publicStorefrontToken' prop`
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
getStorefrontApiUrl(overrideProps) {
|
|
26
|
+
var _a, _b;
|
|
27
|
+
return `https://${(_a = overrideProps == null ? void 0 : overrideProps.storeDomain) != null ? _a : storeDomain}.myshopify.com/api/${(_b = overrideProps == null ? void 0 : overrideProps.storefrontApiVersion) != null ? _b : storefrontApiVersion}/graphql.json`;
|
|
28
|
+
},
|
|
29
|
+
getPrivateTokenHeaders(overrideProps) {
|
|
30
|
+
var _a, _b, _c;
|
|
31
|
+
if (!privateStorefrontToken && !(overrideProps == null ? void 0 : overrideProps.privateStorefrontToken)) {
|
|
32
|
+
throw new Error(
|
|
33
|
+
`StorefrontClient: You did not pass in a 'privateStorefrontToken' while using 'getPrivateTokenHeaders()'`
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
if (!(overrideProps == null ? void 0 : overrideProps.buyerIp)) {
|
|
37
|
+
console.warn(
|
|
38
|
+
`StorefrontClient: it is recommended to pass in the 'buyerIp' property which improves analytics and data in the admin.`
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
const finalContentType = (_a = overrideProps == null ? void 0 : overrideProps.contentType) != null ? _a : contentType;
|
|
42
|
+
return {
|
|
43
|
+
"content-type": finalContentType === "graphql" ? "application/graphql" : "application/json",
|
|
44
|
+
"X-SDK-Variant": "hydrogen-ui",
|
|
45
|
+
"X-SDK-Variant-Source": "react",
|
|
46
|
+
"X-SDK-Version": storefrontApiVersion,
|
|
47
|
+
"Shopify-Storefront-Private-Token": (_c = (_b = overrideProps == null ? void 0 : overrideProps.privateStorefrontToken) != null ? _b : privateStorefrontToken) != null ? _c : "",
|
|
48
|
+
...(overrideProps == null ? void 0 : overrideProps.buyerIp) ? { "Shopify-Storefront-Buyer-IP": overrideProps.buyerIp } : {}
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
getPublicTokenHeaders(overrideProps) {
|
|
52
|
+
var _a, _b, _c;
|
|
53
|
+
if (!publicStorefrontToken && !(overrideProps == null ? void 0 : overrideProps.publicStorefrontToken)) {
|
|
54
|
+
throw new Error(
|
|
55
|
+
`StorefrontClient: You did not pass in a 'publicStorefrontToken' while using 'getPublicTokenHeaders()'`
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
const finalContentType = (_a = overrideProps == null ? void 0 : overrideProps.contentType) != null ? _a : contentType;
|
|
59
|
+
return {
|
|
60
|
+
"content-type": finalContentType === "graphql" ? "application/graphql" : "application/json",
|
|
61
|
+
"X-SDK-Variant": "hydrogen-ui",
|
|
62
|
+
"X-SDK-Variant-Source": "react",
|
|
63
|
+
"X-SDK-Version": storefrontApiVersion,
|
|
64
|
+
"X-Shopify-Storefront-Access-Token": (_c = (_b = overrideProps == null ? void 0 : overrideProps.publicStorefrontToken) != null ? _b : publicStorefrontToken) != null ? _c : ""
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
createStorefrontClient
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=storefront-client.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storefront-client.mjs","sources":["../../src/storefront-client.ts"],"sourcesContent":["import {SFAPI_VERSION} from './storefront-api-constants.js';\n\n/**\n * The `createStorefrontClient()` function creates helpers that enable you to quickly query the Shopify Storefront API.\n *\n * When used on the server, it is recommended to use the `privateStorefrontToken` prop. When used on the client, it is recommended to use the `publicStorefrontToken` prop.\n */\nexport function createStorefrontClient({\n storeDomain,\n privateStorefrontToken,\n publicStorefrontToken,\n storefrontApiVersion,\n contentType,\n}: StorefrontClientProps): StorefrontClientReturn {\n if (storefrontApiVersion !== SFAPI_VERSION) {\n console.warn(\n `StorefrontClient: The Storefront API version that you're using is different than the version this build of Hydrogen-UI is targeting. You may run into unexpected errors if these versions don't match. Received verion: \"${storefrontApiVersion}\"; expected version \"${SFAPI_VERSION}\"`\n );\n }\n\n // only warn if not in a browser environment\n if (__HYDROGEN_DEV__ && !privateStorefrontToken && !globalThis.document) {\n console.warn(\n `StorefrontClient: Using a private storefront token is recommended for server environments. Refer to the authentication https://shopify.dev/api/storefront#authentication documentation for more details. `\n );\n }\n\n // only warn if in a browser environment and you're using the privateStorefrontToken\n if (__HYDROGEN_DEV__ && privateStorefrontToken && globalThis) {\n console.warn(\n `StorefrontClient: You are attempting to use a private token in an environment where it can be easily accessed by anyone. This is a security risk; please use the public token and the 'publicStorefrontToken' prop`\n );\n }\n\n return {\n getStorefrontApiUrl(overrideProps) {\n return `https://${\n overrideProps?.storeDomain ?? storeDomain\n }.myshopify.com/api/${\n overrideProps?.storefrontApiVersion ?? storefrontApiVersion\n }/graphql.json`;\n },\n getPrivateTokenHeaders(overrideProps) {\n if (!privateStorefrontToken && !overrideProps?.privateStorefrontToken) {\n throw new Error(\n `StorefrontClient: You did not pass in a 'privateStorefrontToken' while using 'getPrivateTokenHeaders()'`\n );\n }\n\n if (__HYDROGEN_DEV__ && !overrideProps?.buyerIp) {\n console.warn(\n `StorefrontClient: it is recommended to pass in the 'buyerIp' property which improves analytics and data in the admin.`\n );\n }\n\n const finalContentType = overrideProps?.contentType ?? contentType;\n\n return {\n // default to json\n 'content-type':\n finalContentType === 'graphql'\n ? 'application/graphql'\n : 'application/json',\n 'X-SDK-Variant': 'hydrogen-ui',\n 'X-SDK-Variant-Source': 'react',\n 'X-SDK-Version': storefrontApiVersion,\n 'Shopify-Storefront-Private-Token':\n overrideProps?.privateStorefrontToken ?? privateStorefrontToken ?? '',\n ...(overrideProps?.buyerIp\n ? {'Shopify-Storefront-Buyer-IP': overrideProps.buyerIp}\n : {}),\n };\n },\n getPublicTokenHeaders(overrideProps) {\n if (!publicStorefrontToken && !overrideProps?.publicStorefrontToken) {\n throw new Error(\n `StorefrontClient: You did not pass in a 'publicStorefrontToken' while using 'getPublicTokenHeaders()'`\n );\n }\n\n const finalContentType = overrideProps?.contentType ?? contentType;\n\n return {\n // default to json\n 'content-type':\n finalContentType === 'graphql'\n ? 'application/graphql'\n : 'application/json',\n 'X-SDK-Variant': 'hydrogen-ui',\n 'X-SDK-Variant-Source': 'react',\n 'X-SDK-Version': storefrontApiVersion,\n 'X-Shopify-Storefront-Access-Token':\n overrideProps?.publicStorefrontToken ?? publicStorefrontToken ?? '',\n };\n },\n };\n}\n\ntype StorefrontClientProps = {\n /** The host name of the domain (eg: `{shop}.myshopify.com`). */\n storeDomain: string;\n /** The Storefront API delegate access token. Refer to the [authentication](https://shopify.dev/api/storefront#authentication) and [delegate access token](https://shopify.dev/apps/auth/oauth/delegate-access-tokens) documentation for more details. */\n privateStorefrontToken?: string;\n /** The Storefront API access token. Refer to the [authentication](https://shopify.dev/api/storefront#authentication) documentation for more details. */\n publicStorefrontToken?: string;\n /** The Storefront API version. This should almost always be the same as the version Hydrogen-UI was built for. Learn more about Shopify [API versioning](https://shopify.dev/api/usage/versioning) for more details. */\n storefrontApiVersion: string;\n /**\n * Customizes which `\"content-type\"` header is added when using `getPrivateTokenHeaders()` and `getPublicTokenHeaders()`. When fetching with a `JSON.stringify()`-ed `body`, use `\"json\"`. When fetching with a `body` that is a plain string, use `\"graphql\"`. Defaults to `\"json\"`\n *\n * Can also be customized on a call-by-call basis by passing in `'contentType'` to both `getPrivateTokenHeaders({...})` and `getPublicTokenHeaders({...})`, for example: `getPublicTokenHeaders({contentType: 'graphql'})`\n */\n contentType?: 'json' | 'graphql';\n};\n\ntype OverrideTokenHeaderProps = Partial<\n Pick<StorefrontClientProps, 'contentType'>\n>;\n\ntype StorefrontClientReturn = {\n /**\n * Creates the fully-qualified URL to your store's GraphQL endpoint.\n *\n * By default, it will use the config you passed in when calling `createStorefrontClient()`. However, you can override the following settings on each invocation of `getStorefrontApiUrl({...})`:\n *\n * - `storeDomain`\n * - `storefrontApiVersion`\n */\n getStorefrontApiUrl: (\n props?: Partial<\n Pick<StorefrontClientProps, 'storeDomain' | 'storefrontApiVersion'>\n >\n ) => string;\n /**\n * Returns an object that contains headers that are needed for each query to Storefront API GraphQL endpoint. This method uses the private Server-to-Server token which reduces the chance of throttling but must not be exposed to clients. Server-side calls should prefer using this over `getPublicTokenHeaders()`.\n *\n * By default, it will use the config you passed in when calling `createStorefrontClient()`. However, you can override the following settings on each invocation of `getPrivateTokenHeaders({...})`:\n *\n * - `contentType`\n * - `privateStorefrontToken`\n * - `buyerIp`\n *\n * Note that `contentType` defaults to what you configured in `createStorefrontClient({...})` and defaults to `'json'`, but a specific call may require using `graphql`. When using `JSON.stringify()` on the `body`, use `'json'`; otherwise, use `'graphql'`.\n */\n getPrivateTokenHeaders: (\n props?: OverrideTokenHeaderProps &\n Pick<StorefrontClientProps, 'privateStorefrontToken'> & {\n /**\n * The client's IP address. Passing this to the Storefront API when using a server-to-server token will help improve your store's analytics data.\n */\n buyerIp?: string;\n }\n ) => Record<string, string>;\n /**\n * Returns an object that contains headers that are needed for each query to Storefront API GraphQL endpoint. This method uses the private Server-to-Server token which reduces the chance of throttling but must not be exposed to clients. Server-side calls should prefer using this over `getPublicTokenHeaders()`.\n *\n * By default, it will use the config you passed in when calling `createStorefrontClient()`. However, you can override the following settings on each invocation of `getPrivateTokenHeaders({...})`:\n *\n * - `contentType`\n * - `publicStorefrontToken`\n *\n * Note that `contentType` defaults to what you configured in `createStorefrontClient({...})` and defaults to `'json'`, but a specific call may require using `graphql`. When using `JSON.stringify()` on the `body`, use `'json'`; otherwise, use `'graphql'`.\n */\n getPublicTokenHeaders: (\n props?: OverrideTokenHeaderProps &\n Pick<StorefrontClientProps, 'publicStorefrontToken'>\n ) => Record<string, string>;\n};\n"],"names":[],"mappings":";AAOO,SAAS,uBAAuB;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAkD;AAChD,MAAI,yBAAyB,eAAe;AAClC,YAAA;AAAA,MACN,4NAA4N,4CAA4C;AAAA,IAAA;AAAA,EAE5Q;AAGA,MAAwB,CAAC,0BAA0B,CAAC,WAAW,UAAU;AAC/D,YAAA;AAAA,MACN;AAAA,IAAA;AAAA,EAEJ;AAGI,MAAoB,0BAA0B,YAAY;AACpD,YAAA;AAAA,MACN;AAAA,IAAA;AAAA,EAEJ;AAEO,SAAA;AAAA,IACL,oBAAoB,eAAe;;AACjC,aAAO,YACL,oDAAe,gBAAf,YAA8B,kCAE9B,oDAAe,yBAAf,YAAuC;AAAA,IAE3C;AAAA,IACA,uBAAuB,eAAe;;AACpC,UAAI,CAAC,0BAA0B,EAAC,+CAAe,yBAAwB;AACrE,cAAM,IAAI;AAAA,UACR;AAAA,QAAA;AAAA,MAEJ;AAEI,UAAoB,EAAC,+CAAe,UAAS;AACvC,gBAAA;AAAA,UACN;AAAA,QAAA;AAAA,MAEJ;AAEM,YAAA,oBAAmB,oDAAe,gBAAf,YAA8B;AAEhD,aAAA;AAAA,QAEL,gBACE,qBAAqB,YACjB,wBACA;AAAA,QACN,iBAAiB;AAAA,QACjB,wBAAwB;AAAA,QACxB,iBAAiB;AAAA,QACjB,qCACE,0DAAe,2BAAf,YAAyC,2BAAzC,YAAmE;AAAA,QACrE,IAAI,+CAAe,WACf,EAAC,+BAA+B,cAAc,QAAA,IAC9C,CAAC;AAAA,MAAA;AAAA,IAET;AAAA,IACA,sBAAsB,eAAe;;AACnC,UAAI,CAAC,yBAAyB,EAAC,+CAAe,wBAAuB;AACnE,cAAM,IAAI;AAAA,UACR;AAAA,QAAA;AAAA,MAEJ;AAEM,YAAA,oBAAmB,oDAAe,gBAAf,YAA8B;AAEhD,aAAA;AAAA,QAEL,gBACE,qBAAqB,YACjB,wBACA;AAAA,QACN,iBAAiB;AAAA,QACjB,wBAAwB;AAAA,QACxB,iBAAiB;AAAA,QACjB,sCACE,0DAAe,0BAAf,YAAwC,0BAAxC,YAAiE;AAAA,MAAA;AAAA,IAEvE;AAAA,EAAA;AAEJ;"}
|
|
File without changes
|
|
File without changes
|