PluginProbe ʕ •ᴥ•ʔ
WooCommerce / 8.5.0-beta.1
WooCommerce v8.5.0-beta.1
10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 7.8.0-beta.1 7.8.0-beta.2 7.8.0-rc.1 7.8.0-rc.2 7.8.1 7.8.2 7.8.3 7.8.4 7.9.0 7.9.0-beta.1 7.9.0-beta.2 7.9.0-rc.2 7.9.0-rc.3 7.9.1 7.9.2 8.0.0 8.0.0-beta.1 8.0.0-beta.2 8.0.0-rc.1 8.0.0-rc.2 8.0.1 8.0.2 8.0.3 8.0.4 8.0.5 8.1.0 8.1.0-beta.1 8.1.0-rc.1 8.1.0-rc.2 8.1.1 8.1.2 8.1.3 8.1.4 8.2.0 8.2.0-beta.1 8.2.0-rc.1 8.2.0-rc.2 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.3.0 8.3.0-beta.1 8.3.0-rc.1 8.3.0-rc.2 8.3.1 8.3.2 8.3.3 8.3.4 8.4.0 8.4.0-beta.1 8.4.0-rc.1 8.4.1 8.4.2 8.4.3 8.5.0 8.5.0-beta.1 8.5.0-rc.1 8.5.1 8.5.2 8.5.3 8.5.4 8.5.5 8.6.0 8.6.0-beta.1 8.6.0-rc.1 8.6.1 8.6.2 8.6.3 8.6.4 8.7.0 8.7.0-beta.1 8.7.0-beta.2 8.7.0-rc.1 8.7.1 8.7.2 8.7.3 8.8.0 8.8.0-beta.1 8.8.0-rc.1 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.8.6 8.8.7 8.9.0 8.9.0-beta.1 8.9.0-rc.1 8.9.1 8.9.2 8.9.3 8.9.4 8.9.5 9.0.0 9.0.0-beta.1 9.0.0-beta.2 9.0.0-rc.1 9.0.1 9.0.2 9.0.3 9.0.4 9.1.0 9.1.0-beta.1 9.1.0-rc.1 9.1.1 9.1.2 9.1.3 9.1.4 9.1.5 9.1.6 9.2.0 9.2.0-beta.1 9.2.0-rc.1 9.2.1 9.2.2 9.2.3 9.2.4 9.2.5 9.3.0 9.3.0-beta.1 9.3.0-rc.1 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.3.6 9.4.0 9.4.0-beta.1 9.4.0-beta.2 9.4.0-rc.1 9.4.0-rc.2 9.4.0-rc.3 9.4.0-rc.4 9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.5.0 9.5.0-beta.1 9.5.0-beta.2 9.5.0-rc.1 9.5.1 9.5.2 9.5.3 9.5.4 9.6.0 9.6.0-beta.1 9.6.0-beta.2 9.6.0-rc.1 9.6.1 9.6.2 9.6.3 9.6.4 9.7.0 9.7.0-beta.1 9.7.0-rc.1 9.7.1 9.7.2 9.7.3 9.8.0 9.8.0-beta.1 9.8.0-rc.1 9.8.1 9.8.2 9.8.3 9.8.4 9.8.5 9.8.6 9.8.7 9.9.0 9.9.0-beta.1 9.9.0-rc.1 9.9.1 9.9.2 9.9.3 9.9.4 9.9.5 9.9.6 9.9.7 3.7.3 7.1.2 3.8.0 7.2.0 3.8.0-beta.1 7.2.0-beta.1 3.8.0-rc.1 7.2.0-beta.2 3.8.0-rc.2 7.2.0-rc.1 3.8.1 7.2.0-rc.2 3.8.2 7.2.1 3.8.3 7.2.2 3.9.0 7.2.3 3.9.0-beta.1 7.2.4 3.9.0-beta.2 7.3.0 3.9.0-rc.1 7.3.0-beta.1 3.9.0-rc.2 7.3.0-beta.2 3.9.0-rc.3 7.3.0-rc.1 3.9.0-rc.4 7.3.0-rc.2 3.9.1 7.3.1 3.9.2 7.4.0 3.9.3 7.4.0-beta.1 3.9.4 7.4.0-beta.2 3.9.5 7.4.0-rc.1 4.0.0 7.4.0-rc.2 4.0.0-beta.1 7.4.1 4.0.0-rc.1 7.4.2 4.0.0-rc.2 7.5.0 4.0.1 7.5.0-beta.1 4.0.2 7.5.0-beta.2 4.0.3 7.5.0-rc.1 4.0.4 7.5.1 4.1.0 7.5.2 4.1.0-beta.1 7.6.0 4.1.0-beta.2 7.6.0-beta.1 4.1.0-rc.1 7.6.0-beta.2 4.1.0-rc.2 7.6.0-rc.1 4.1.1 7.6.0-rc.2 4.1.2 7.6.0-rc.3 4.1.3 7.6.1 4.1.4 7.6.2 4.2.0 7.7.0 4.2.0-RC.1 7.7.0-beta.1 4.2.0-RC.2 7.7.0-beta.2 4.2.0-beta.1 7.7.0-rc.1 4.2.1 7.7.1 4.2.2 7.7.2 4.2.3 7.7.3 4.2.4 7.8.0 4.2.5 4.3.0 4.3.0-beta.1 4.3.0-rc.1 4.3.0-rc.2 4.3.0-rc.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.4.0 4.4.0-beta.1 4.4.0-rc.1 4.4.1 4.4.2 4.4.3 4.4.4 4.5.0 4.5.0-beta.1 4.5.0-rc.1 4.5.0-rc.3 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.6.0 4.6.0-beta.1 4.6.0-rc.1 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.7.0 4.7.0-beta.1 4.7.0-beta.2 4.7.0-rc.1 4.7.1 4.7.1-beta.1 4.7.2 4.7.3 4.7.4 4.8.0 4.8.0-beta.1 4.8.0-rc.1 4.8.0-rc.2 4.8.1 4.8.2 4.8.3 4.9.0 4.9.0-beta.1 4.9.0-rc.1 4.9.0-rc.2 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 5.0.0 5.0.0-beta.1 5.0.0-beta.2 5.0.0-rc.1 5.0.0-rc.2 5.0.0-rc.3 5.0.1 5.0.2 5.0.3 5.1.0 5.1.0-beta.1 5.1.0-rc.1 trunk 5.1.1 10.0.0 5.1.2 10.0.0-rc.1 5.1.3 10.0.0-rc.2 5.2.0 10.0.1 5.2.0-beta.1 10.0.2 5.2.0-rc.1 10.0.3 5.2.0-rc.2 10.0.4 5.2.1 10.0.5 5.2.2 10.0.6 5.2.3 10.1.0 5.2.4 10.1.0-rc.1 5.2.5 10.1.0-rc.2 5.3.0 10.1.0-rc.3 5.3.0-beta.1 10.1.0-rc.4 5.3.0-rc.1 10.1.1 5.3.0-rc.2 10.1.2 5.3.1 10.1.3 5.3.2 10.1.4 5.3.3 10.2.0 5.4.0 10.2.0-beta.1 5.4.0-beta.1 10.2.0-beta.2 5.4.0-rc.1 10.2.0-rc.1 5.4.1 10.2.1 5.4.2 10.2.2 5.4.3 10.2.3 5.4.4 10.2.4 5.4.5 10.3.0 5.5.0 10.3.0-beta.1 5.5.0-beta.1 10.3.0-beta.2 5.5.0-rc.1 10.3.0-rc.1 5.5.0-rc.2 10.3.0-rc.2 5.5.1 10.3.1 5.5.2 10.3.2 5.5.3 10.3.3 5.5.4 10.3.4 5.5.5 10.3.5 5.6.0 10.3.6 5.6.0-beta.1 10.3.7 5.6.0-rc.1 10.3.8 5.6.0-rc.2 10.4.0 5.6.1 10.4.0-beta.1 5.6.2 10.4.0-beta.2 5.6.3 10.4.0-rc.1 5.7.0 10.4.1 5.7.0-beta.1 10.4.2 5.7.0-rc.1 10.4.3 5.7.1 10.4.4 5.7.2 10.5.0 5.7.3 10.5.0-beta.1 5.8.0 10.5.0-beta.2 5.8.0-beta.1 10.5.0-rc.1 5.8.0-beta.2 10.5.0-rc.2 5.8.0-rc.1 10.5.0-rc.3 5.8.1 10.5.1 5.8.2 10.5.2 5.9.0 10.5.3 5.9.0-beta.1 10.6.0 5.9.0-rc.1 10.6.0-beta.1 5.9.0-rc.2 10.6.0-beta.2 5.9.1 10.6.0-rc.1 5.9.2 10.6.1 6.0.0 10.6.2 6.0.0-beta.1 10.7.0 6.0.0-rc.1 10.7.0-beta.1 6.0.1 10.7.0-beta.2 6.0.2 10.7.0-rc.1 6.1.0 3.0.0 6.1.0-beta.1 3.0.1 6.1.0-rc.1 3.0.2 6.1.0-rc.2 3.0.3 6.1.1 3.0.4 6.1.2 3.0.5 6.1.3 3.0.6 6.2.0 3.0.7 6.2.0-beta.1 3.0.8 6.2.0-rc.1 3.0.9 6.2.0-rc.2 3.1.0 6.2.1 3.1.1 6.2.2 3.1.2 6.2.3 3.2.0 6.3.0 3.2.1 6.3.0-beta.1 3.2.2 6.3.0-rc.1 3.2.3 6.3.0-rc.2 3.2.4 6.3.1 3.2.5 6.3.2 3.2.6 6.4.0 3.3.0 6.4.0-beta.1 3.3.1 6.4.0-rc.1 3.3.2 6.4.1 3.3.2-rc.1 6.4.2 3.3.3 6.5.0 3.3.4 6.5.0-beta.1 3.3.5 6.5.0-rc.1 3.3.6 6.5.0-rc.2 3.4.0 6.5.1 3.4.0-beta.1 6.5.2 3.4.0-rc.2 6.6.0 3.4.1 6.6.0-beta.1 3.4.2 6.6.0-rc.1 3.4.3 6.6.0-rc.2 3.4.4 6.6.1 3.4.5 6.6.2 3.4.6 6.7.0 3.4.7 6.7.0-beta.1 3.4.8 6.7.0-beta.2 3.5.0 6.7.0-rc.1 3.5.0-beta.1 6.7.1 3.5.0-rc.1 6.8.0 3.5.0-rc.2 6.8.0-beta.1 3.5.1 6.8.0-beta.2 3.5.10 6.8.0-rc.1 3.5.2 6.8.1 3.5.3 6.8.2 3.5.4 6.8.3 3.5.5 6.9.0 3.5.6 6.9.0-beta.1 3.5.7 6.9.0-beta.2 3.5.8 6.9.0-rc.1 3.5.9 6.9.1 3.6.0 6.9.2 3.6.0-beta.1 6.9.3 3.6.0-rc.1 6.9.4 3.6.0-rc.2 6.9.5 3.6.0-rc.3 7.0.0 3.6.1 7.0.0-beta.1 3.6.2 7.0.0-beta.2 3.6.3 7.0.0-beta.3 3.6.4 7.0.0-rc.1 3.6.5 7.0.0-rc.2 3.6.6 7.0.1 3.6.7 7.0.2 3.7.0 7.1.0 3.7.0-beta.1 7.1.0-beta.1 3.7.0-rc.1 7.1.0-beta.2 3.7.0-rc.2 7.1.0-rc.1 3.7.1 7.1.0-rc.2 3.7.2 7.1.1
woocommerce / assets / client / blocks / collection-stock-filter.js
woocommerce / assets / client / blocks Last commit date
active-filters 2 years ago add-to-cart-form 2 years ago all-products 2 years ago attribute-filter 2 years ago base-components-mini-cart-contents-block 2 years ago base-components-product-price~mini-cart-contents-block 2 years ago breadcrumbs 2 years ago cart-blocks 2 years ago catalog-sorting 2 years ago checkout 2 years ago checkout-blocks 2 years ago classic-shortcode 2 years ago collection-active-filters 2 years ago collection-attribute-filter 2 years ago collection-filters 2 years ago collection-price-filter 2 years ago collection-rating-filter 2 years ago collection-stock-filter 2 years ago customer-account 2 years ago featured-category 2 years ago featured-product 2 years ago filter-wrapper 2 years ago handpicked-products 2 years ago inner-blocks 2 years ago mini-cart 2 years ago mini-cart-contents-block 2 years ago order-confirmation-additional-information 2 years ago order-confirmation-billing-address 2 years ago order-confirmation-billing-wrapper 2 years ago order-confirmation-downloads 2 years ago order-confirmation-downloads-wrapper 2 years ago order-confirmation-shipping-address 2 years ago order-confirmation-shipping-wrapper 2 years ago order-confirmation-status 2 years ago order-confirmation-summary 2 years ago order-confirmation-totals 2 years ago order-confirmation-totals-wrapper 2 years ago page-content-wrapper 2 years ago price-filter 2 years ago product-average-rating 2 years ago product-best-sellers 2 years ago product-button 2 years ago product-categories 2 years ago product-category 2 years ago product-collection 2 years ago product-collection-no-results 2 years ago product-details 2 years ago product-gallery 2 years ago product-gallery-large-image 2 years ago product-gallery-large-image-next-previous 2 years ago product-gallery-pager 2 years ago product-gallery-thumbnails 2 years ago product-image-gallery 2 years ago product-meta 2 years ago product-new 2 years ago product-rating 2 years ago product-rating-counter 2 years ago product-rating-stars 2 years ago product-results-count 2 years ago product-reviews 2 years ago product-tag 2 years ago product-template 2 years ago product-top-rated 2 years ago products-by-attribute 2 years ago rating-filter 2 years ago related-products 2 years ago single-product 2 years ago stock-filter 2 years ago store-notices 2 years ago active-filters-frontend.asset.php 2 years ago active-filters-frontend.js 2 years ago active-filters-frontend.js.map 2 years ago active-filters-rtl.css 2 years ago active-filters-style.asset.php 2 years ago active-filters-style.js.map 2 years ago active-filters-wrapper-frontend.js 2 years ago active-filters-wrapper-frontend.js.map 2 years ago active-filters-wrapper-rtl.css 2 years ago active-filters-wrapper-style.js.map 2 years ago active-filters-wrapper.css 2 years ago active-filters-wrapper.css.map 2 years ago active-filters.asset.php 2 years ago active-filters.css 2 years ago active-filters.css.map 2 years ago active-filters.js 2 years ago active-filters.js.map 2 years ago add-to-cart-form-rtl.css 2 years ago add-to-cart-form-style.asset.php 2 years ago add-to-cart-form-style.js.map 2 years ago add-to-cart-form.css 2 years ago add-to-cart-form.css.map 2 years ago all-products-frontend.asset.php 2 years ago all-products-frontend.js 2 years ago all-products-frontend.js.map 2 years ago all-products-rtl.css 2 years ago all-products-style.asset.php 2 years ago all-products-style.js.map 2 years ago all-products.asset.php 2 years ago all-products.css 2 years ago all-products.css.map 2 years ago all-products.js 2 years ago all-products.js.map 2 years ago all-reviews-rtl.css 2 years ago all-reviews-style.asset.php 2 years ago all-reviews-style.js.map 2 years ago all-reviews.asset.php 2 years ago all-reviews.css 2 years ago all-reviews.css.map 2 years ago all-reviews.js 2 years ago all-reviews.js.map 2 years ago assets_js_base_context_hooks_collections_use-collection_ts-assets_js_base_context_hooks_use-q-fdf7ba-style.js.map 2 years ago assets_js_base_context_hooks_use-store-add-to-cart_ts-assets_js_base_context_hooks_use-store--e30f56-style.js.map 2 years ago attribute-filter-frontend.asset.php 2 years ago attribute-filter-frontend.js 2 years ago attribute-filter-frontend.js.map 2 years ago attribute-filter-rtl.css 2 years ago attribute-filter-style.asset.php 2 years ago attribute-filter-style.js.map 2 years ago attribute-filter-wrapper-frontend.js 2 years ago attribute-filter-wrapper-frontend.js.map 2 years ago attribute-filter-wrapper-rtl.css 2 years ago attribute-filter-wrapper-style.js.map 2 years ago attribute-filter-wrapper.css 2 years ago attribute-filter-wrapper.css.map 2 years ago attribute-filter.asset.php 2 years ago attribute-filter.css 2 years ago attribute-filter.css.map 2 years ago attribute-filter.js 2 years ago attribute-filter.js.map 2 years ago base-components-attribute-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-price-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-price-filter-wrapper-style.scss-rtl.css 2 years ago base-components-price-filter-wrapper-style.scss.css 2 years ago base-components-price-filter-wrapper-style.scss.css.map 2 years ago base-components-rating-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-rating-filter-wrapper-style.scss-rtl.css 2 years ago base-components-rating-filter-wrapper-style.scss.css 2 years ago base-components-rating-filter-wrapper-style.scss.css.map 2 years ago base-components-stock-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss-rtl.css 2 years ago base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css 2 years ago base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css.map 2 years ago base-context-product-add-to-cart-index.js-style.js.map 2 years ago blocks-checkout.asset.php 2 years ago blocks-checkout.js 2 years ago blocks-checkout.js.map 2 years ago blocks-components.asset.php 2 years ago blocks-components.js 2 years ago blocks-components.js.map 2 years ago breadcrumbs-rtl.css 2 years ago breadcrumbs-style.asset.php 2 years ago breadcrumbs-style.js.map 2 years ago breadcrumbs.asset.php 2 years ago breadcrumbs.css 2 years ago breadcrumbs.css.map 2 years ago breadcrumbs.js 2 years ago breadcrumbs.js.map 2 years ago cart-frontend.asset.php 2 years ago cart-frontend.js 2 years ago cart-frontend.js.map 2 years ago cart-rtl.css 2 years ago cart-style.asset.php 2 years ago cart-style.js.map 2 years ago cart.asset.php 2 years ago cart.css 2 years ago cart.css.map 2 years ago cart.js 2 years ago cart.js.map 2 years ago catalog-sorting-rtl.css 2 years ago catalog-sorting-style.asset.php 2 years ago catalog-sorting-style.js.map 2 years ago catalog-sorting.asset.php 2 years ago catalog-sorting.css 2 years ago catalog-sorting.css.map 2 years ago catalog-sorting.js 2 years ago catalog-sorting.js.map 2 years ago checkout-frontend.asset.php 2 years ago checkout-frontend.js 2 years ago checkout-frontend.js.map 2 years ago checkout-rtl.css 2 years ago checkout-style.asset.php 2 years ago checkout-style.js.map 2 years ago checkout.asset.php 2 years ago checkout.css 2 years ago checkout.css.map 2 years ago checkout.js 2 years ago checkout.js.map 2 years ago classic-shortcode-rtl.css 2 years ago classic-shortcode-style.asset.php 2 years ago classic-shortcode-style.js.map 2 years ago classic-shortcode.asset.php 2 years ago classic-shortcode.css 2 years ago classic-shortcode.css.map 2 years ago classic-shortcode.js 2 years ago classic-shortcode.js.map 2 years ago collection-active-filters-frontend.asset.php 2 years ago collection-active-filters-frontend.js 2 years ago collection-active-filters-frontend.js.map 2 years ago collection-active-filters-rtl.css 2 years ago collection-active-filters-style.asset.php 2 years ago collection-active-filters-style.js.map 2 years ago collection-active-filters.asset.php 2 years ago collection-active-filters.css 2 years ago collection-active-filters.css.map 2 years ago collection-active-filters.js 2 years ago collection-active-filters.js.map 2 years ago collection-attribute-filter-frontend.asset.php 2 years ago collection-attribute-filter-frontend.js 2 years ago collection-attribute-filter-frontend.js.map 2 years ago collection-attribute-filter-rtl.css 2 years ago collection-attribute-filter-style.asset.php 2 years ago collection-attribute-filter-style.js.map 2 years ago collection-attribute-filter.asset.php 2 years ago collection-attribute-filter.css 2 years ago collection-attribute-filter.css.map 2 years ago collection-attribute-filter.js 2 years ago collection-attribute-filter.js.map 2 years ago collection-filters-style.asset.php 2 years ago collection-filters-style.js.map 2 years ago collection-filters.asset.php 2 years ago collection-filters.js 2 years ago collection-filters.js.map 2 years ago collection-price-filter-frontend.asset.php 2 years ago collection-price-filter-frontend.js 2 years ago collection-price-filter-frontend.js.map 2 years ago collection-price-filter-rtl.css 2 years ago collection-price-filter-style.asset.php 2 years ago collection-price-filter-style.js.map 2 years ago collection-price-filter.asset.php 2 years ago collection-price-filter.css 2 years ago collection-price-filter.css.map 2 years ago collection-price-filter.js 2 years ago collection-price-filter.js.map 2 years ago collection-rating-filter-frontend.asset.php 2 years ago collection-rating-filter-frontend.js 2 years ago collection-rating-filter-frontend.js.map 2 years ago collection-rating-filter-rtl.css 2 years ago collection-rating-filter-style.asset.php 2 years ago collection-rating-filter-style.js.map 2 years ago collection-rating-filter.asset.php 2 years ago collection-rating-filter.css 2 years ago collection-rating-filter.css.map 2 years ago collection-rating-filter.js 2 years ago collection-rating-filter.js.map 2 years ago collection-stock-filter-frontend.asset.php 2 years ago collection-stock-filter-frontend.js 2 years ago collection-stock-filter-frontend.js.map 2 years ago collection-stock-filter-rtl.css 2 years ago collection-stock-filter-style.asset.php 2 years ago collection-stock-filter-style.js.map 2 years ago collection-stock-filter.asset.php 2 years ago collection-stock-filter.css 2 years ago collection-stock-filter.css.map 2 years ago collection-stock-filter.js 2 years ago collection-stock-filter.js.map 2 years ago customer-account-rtl.css 2 years ago customer-account-style.asset.php 2 years ago customer-account-style.js.map 2 years ago customer-account.asset.php 2 years ago customer-account.css 2 years ago customer-account.css.map 2 years ago customer-account.js 2 years ago customer-account.js.map 2 years ago featured-category-rtl.css 2 years ago featured-category-style.asset.php 2 years ago featured-category-style.js.map 2 years ago featured-category.asset.php 2 years ago featured-category.css 2 years ago featured-category.css.map 2 years ago featured-category.js 2 years ago featured-category.js.map 2 years ago featured-product-rtl.css 2 years ago featured-product-style.asset.php 2 years ago featured-product-style.js.map 2 years ago featured-product.asset.php 2 years ago featured-product.css 2 years ago featured-product.css.map 2 years ago featured-product.js 2 years ago featured-product.js.map 2 years ago filter-wrapper-frontend.asset.php 2 years ago filter-wrapper-frontend.js 2 years ago filter-wrapper-frontend.js.map 2 years ago filter-wrapper-rtl.css 2 years ago filter-wrapper-style.asset.php 2 years ago filter-wrapper-style.js.map 2 years ago filter-wrapper.asset.php 2 years ago filter-wrapper.css 2 years ago filter-wrapper.css.map 2 years ago filter-wrapper.js 2 years ago filter-wrapper.js.map 2 years ago handpicked-products-style.asset.php 2 years ago handpicked-products-style.js.map 2 years ago handpicked-products.asset.php 2 years ago handpicked-products.js 2 years ago handpicked-products.js.map 2 years ago legacy-template-rtl.css 2 years ago legacy-template-style.asset.php 2 years ago legacy-template-style.js.map 2 years ago legacy-template.asset.php 2 years ago legacy-template.css 2 years ago legacy-template.css.map 2 years ago legacy-template.js 2 years ago legacy-template.js.map 2 years ago mini-cart-component-frontend.asset.php 2 years ago mini-cart-component-frontend.js 2 years ago mini-cart-component-frontend.js.map 2 years ago mini-cart-contents-rtl.css 2 years ago mini-cart-contents-style.asset.php 2 years ago mini-cart-contents-style.js.map 2 years ago mini-cart-contents.asset.php 2 years ago mini-cart-contents.css 2 years ago mini-cart-contents.css.map 2 years ago mini-cart-contents.js 2 years ago mini-cart-contents.js.map 2 years ago mini-cart-frontend.asset.php 2 years ago mini-cart-frontend.js 2 years ago mini-cart-frontend.js.map 2 years ago mini-cart-rtl.css 2 years ago mini-cart-style.asset.php 2 years ago mini-cart-style.js.map 2 years ago mini-cart.asset.php 2 years ago mini-cart.css 2 years ago mini-cart.css.map 2 years ago mini-cart.js 2 years ago mini-cart.js.map 2 years ago order-confirmation-additional-information-rtl.css 2 years ago order-confirmation-additional-information-style.asset.php 2 years ago order-confirmation-additional-information-style.js.map 2 years ago order-confirmation-additional-information.asset.php 2 years ago order-confirmation-additional-information.css 2 years ago order-confirmation-additional-information.css.map 2 years ago order-confirmation-additional-information.js 2 years ago order-confirmation-additional-information.js.map 2 years ago order-confirmation-billing-address-rtl.css 2 years ago order-confirmation-billing-address-style.asset.php 2 years ago order-confirmation-billing-address-style.js.map 2 years ago order-confirmation-billing-address.asset.php 2 years ago order-confirmation-billing-address.css 2 years ago order-confirmation-billing-address.css.map 2 years ago order-confirmation-billing-address.js 2 years ago order-confirmation-billing-address.js.map 2 years ago order-confirmation-billing-wrapper-style.asset.php 2 years ago order-confirmation-billing-wrapper-style.js.map 2 years ago order-confirmation-billing-wrapper.asset.php 2 years ago order-confirmation-billing-wrapper.js 2 years ago order-confirmation-billing-wrapper.js.map 2 years ago order-confirmation-downloads-rtl.css 2 years ago order-confirmation-downloads-style.asset.php 2 years ago order-confirmation-downloads-style.js.map 2 years ago order-confirmation-downloads-wrapper-style.asset.php 2 years ago order-confirmation-downloads-wrapper-style.js.map 2 years ago order-confirmation-downloads-wrapper.asset.php 2 years ago order-confirmation-downloads-wrapper.js 2 years ago order-confirmation-downloads-wrapper.js.map 2 years ago order-confirmation-downloads.asset.php 2 years ago order-confirmation-downloads.css 2 years ago order-confirmation-downloads.css.map 2 years ago order-confirmation-downloads.js 2 years ago order-confirmation-downloads.js.map 2 years ago order-confirmation-shipping-address-rtl.css 2 years ago order-confirmation-shipping-address-style.asset.php 2 years ago order-confirmation-shipping-address-style.js.map 2 years ago order-confirmation-shipping-address.asset.php 2 years ago order-confirmation-shipping-address.css 2 years ago order-confirmation-shipping-address.css.map 2 years ago order-confirmation-shipping-address.js 2 years ago order-confirmation-shipping-address.js.map 2 years ago order-confirmation-shipping-wrapper-style.asset.php 2 years ago order-confirmation-shipping-wrapper-style.js.map 2 years ago order-confirmation-shipping-wrapper.asset.php 2 years ago order-confirmation-shipping-wrapper.js 2 years ago order-confirmation-shipping-wrapper.js.map 2 years ago order-confirmation-status-rtl.css 2 years ago order-confirmation-status-style.asset.php 2 years ago order-confirmation-status-style.js.map 2 years ago order-confirmation-status.asset.php 2 years ago order-confirmation-status.css 2 years ago order-confirmation-status.css.map 2 years ago order-confirmation-status.js 2 years ago order-confirmation-status.js.map 2 years ago order-confirmation-summary-rtl.css 2 years ago order-confirmation-summary-style.asset.php 2 years ago order-confirmation-summary-style.js.map 2 years ago order-confirmation-summary.asset.php 2 years ago order-confirmation-summary.css 2 years ago order-confirmation-summary.css.map 2 years ago order-confirmation-summary.js 2 years ago order-confirmation-summary.js.map 2 years ago order-confirmation-totals-rtl.css 2 years ago order-confirmation-totals-style.asset.php 2 years ago order-confirmation-totals-style.js.map 2 years ago order-confirmation-totals-wrapper-style.asset.php 2 years ago order-confirmation-totals-wrapper-style.js.map 2 years ago order-confirmation-totals-wrapper.asset.php 2 years ago order-confirmation-totals-wrapper.js 2 years ago order-confirmation-totals-wrapper.js.map 2 years ago order-confirmation-totals.asset.php 2 years ago order-confirmation-totals.css 2 years ago order-confirmation-totals.css.map 2 years ago order-confirmation-totals.js 2 years ago order-confirmation-totals.js.map 2 years ago packages-style-rtl.css 2 years ago packages-style-style.asset.php 2 years ago packages-style-style.js.map 2 years ago packages-style.css 2 years ago packages-style.css.map 2 years ago page-content-wrapper-style.asset.php 2 years ago page-content-wrapper-style.js.map 2 years ago page-content-wrapper.asset.php 2 years ago page-content-wrapper.js 2 years ago page-content-wrapper.js.map 2 years ago price-filter-frontend.asset.php 2 years ago price-filter-frontend.js 2 years ago price-filter-frontend.js.map 2 years ago price-filter-rtl.css 2 years ago price-filter-style.asset.php 2 years ago price-filter-style.js.map 2 years ago price-filter-wrapper-frontend.js 2 years ago price-filter-wrapper-frontend.js.map 2 years ago price-filter-wrapper-rtl.css 2 years ago price-filter-wrapper-style.js.map 2 years ago price-filter-wrapper.css 2 years ago price-filter-wrapper.css.map 2 years ago price-filter.asset.php 2 years ago price-filter.css 2 years ago price-filter.css.map 2 years ago price-filter.js 2 years ago price-filter.js.map 2 years ago price-format.asset.php 2 years ago price-format.js 2 years ago price-format.js.map 2 years ago product-add-to-cart-frontend.js 2 years ago product-add-to-cart-frontend.js.map 2 years ago product-add-to-cart-rtl.css 2 years ago product-add-to-cart-style.js.map 2 years ago product-add-to-cart.css 2 years ago product-add-to-cart.css.map 2 years ago product-add-to-cart.js 2 years ago product-add-to-cart.js.map 2 years ago product-average-rating-frontend.js 2 years ago product-average-rating-frontend.js.map 2 years ago product-average-rating-style.js.map 2 years ago product-average-rating.js 2 years ago product-average-rating.js.map 2 years ago product-best-sellers-style.asset.php 2 years ago product-best-sellers-style.js.map 2 years ago product-best-sellers.asset.php 2 years ago product-best-sellers.js 2 years ago product-best-sellers.js.map 2 years ago product-button-frontend.js 2 years ago product-button-frontend.js.map 2 years ago product-button-interactivity-frontend.asset.php 2 years ago product-button-interactivity-frontend.js 2 years ago product-button-interactivity-frontend.js.map 2 years ago product-button-rtl.css 2 years ago product-button-style.js.map 2 years ago product-button.css 2 years ago product-button.css.map 2 years ago product-button.js 2 years ago product-button.js.map 2 years ago product-categories-rtl.css 2 years ago product-categories-style.asset.php 2 years ago product-categories-style.js.map 2 years ago product-categories.asset.php 2 years ago product-categories.css 2 years ago product-categories.css.map 2 years ago product-categories.js 2 years ago product-categories.js.map 2 years ago product-category-style.asset.php 2 years ago product-category-style.js.map 2 years ago product-category.asset.php 2 years ago product-category.js 2 years ago product-category.js.map 2 years ago product-collection-no-results-style.asset.php 2 years ago product-collection-no-results-style.js.map 2 years ago product-collection-no-results.asset.php 2 years ago product-collection-no-results.js 2 years ago product-collection-no-results.js.map 2 years ago product-collection-style.asset.php 2 years ago product-collection-style.js.map 2 years ago product-collection.asset.php 2 years ago product-collection.js 2 years ago product-collection.js.map 2 years ago product-details-rtl.css 2 years ago product-details-style.asset.php 2 years ago product-details-style.js.map 2 years ago product-details.css 2 years ago product-details.css.map 2 years ago product-gallery-frontend.asset.php 2 years ago product-gallery-frontend.js 2 years ago product-gallery-frontend.js.map 2 years ago product-gallery-large-image-frontend.asset.php 2 years ago product-gallery-large-image-frontend.js 2 years ago product-gallery-large-image-frontend.js.map 2 years ago product-gallery-large-image-next-previous-style.asset.php 2 years ago product-gallery-large-image-next-previous-style.js.map 2 years ago product-gallery-large-image-next-previous.asset.php 2 years ago product-gallery-large-image-next-previous.js 2 years ago product-gallery-large-image-next-previous.js.map 2 years ago product-gallery-large-image-style.asset.php 2 years ago product-gallery-large-image-style.js.map 2 years ago product-gallery-large-image.asset.php 2 years ago product-gallery-large-image.js 2 years ago product-gallery-large-image.js.map 2 years ago product-gallery-pager-style.asset.php 2 years ago product-gallery-pager-style.js.map 2 years ago product-gallery-pager.asset.php 2 years ago product-gallery-pager.js 2 years ago product-gallery-pager.js.map 2 years ago product-gallery-rtl.css 2 years ago product-gallery-style.asset.php 2 years ago product-gallery-style.js.map 2 years ago product-gallery-thumbnails-style.asset.php 2 years ago product-gallery-thumbnails-style.js.map 2 years ago product-gallery-thumbnails.asset.php 2 years ago product-gallery-thumbnails.js 2 years ago product-gallery-thumbnails.js.map 2 years ago product-gallery.asset.php 2 years ago product-gallery.css 2 years ago product-gallery.css.map 2 years ago product-gallery.js 2 years ago product-gallery.js.map 2 years ago product-image-frontend.js 2 years ago product-image-frontend.js.map 2 years ago product-image-gallery-rtl.css 2 years ago product-image-gallery-style.asset.php 2 years ago product-image-gallery-style.js.map 2 years ago product-image-gallery.css 2 years ago product-image-gallery.css.map 2 years ago product-image-rtl.css 2 years ago product-image-style.js.map 2 years ago product-image.css 2 years ago product-image.css.map 2 years ago product-image.js 2 years ago product-image.js.map 2 years ago product-new-style.asset.php 2 years ago product-new-style.js.map 2 years ago product-new.asset.php 2 years ago product-new.js 2 years ago product-new.js.map 2 years ago product-on-sale-style.asset.php 2 years ago product-on-sale-style.js.map 2 years ago product-on-sale.asset.php 2 years ago product-on-sale.js 2 years ago product-on-sale.js.map 2 years ago product-price-frontend.js 2 years ago product-price-frontend.js.map 2 years ago product-price-rtl.css 2 years ago product-price-style.js.map 2 years ago product-price.css 2 years ago product-price.css.map 2 years ago product-price.js 2 years ago product-price.js.map 2 years ago product-query-rtl.css 2 years ago product-query-style.asset.php 2 years ago product-query-style.js.map 2 years ago product-query.asset.php 2 years ago product-query.css 2 years ago product-query.css.map 2 years ago product-query.js 2 years ago product-query.js.map 2 years ago product-rating-counter-frontend.js 2 years ago product-rating-counter-frontend.js.map 2 years ago product-rating-counter-style.js.map 2 years ago product-rating-counter.js 2 years ago product-rating-counter.js.map 2 years ago product-rating-frontend.js 2 years ago product-rating-frontend.js.map 2 years ago product-rating-rtl.css 2 years ago product-rating-stars-frontend.js 2 years ago product-rating-stars-frontend.js.map 2 years ago product-rating-stars-rtl.css 2 years ago product-rating-stars-style.js.map 2 years ago product-rating-stars.css 2 years ago product-rating-stars.css.map 2 years ago product-rating-stars.js 2 years ago product-rating-stars.js.map 2 years ago product-rating-style.js.map 2 years ago product-rating.css 2 years ago product-rating.css.map 2 years ago product-rating.js 2 years ago product-rating.js.map 2 years ago product-results-count-rtl.css 2 years ago product-results-count-style.asset.php 2 years ago product-results-count-style.js.map 2 years ago product-results-count.asset.php 2 years ago product-results-count.css 2 years ago product-results-count.css.map 2 years ago product-results-count.js 2 years ago product-results-count.js.map 2 years ago product-reviews-rtl.css 2 years ago product-reviews-style.asset.php 2 years ago product-reviews-style.js.map 2 years ago product-reviews.css 2 years ago product-reviews.css.map 2 years ago product-sale-badge-frontend.js 2 years ago product-sale-badge-frontend.js.map 2 years ago product-sale-badge-rtl.css 2 years ago product-sale-badge-style.js.map 2 years ago product-sale-badge.css 2 years ago product-sale-badge.css.map 2 years ago product-sale-badge.js 2 years ago product-sale-badge.js.map 2 years ago product-search-rtl.css 2 years ago product-search-style.asset.php 2 years ago product-search-style.js.map 2 years ago product-search.asset.php 2 years ago product-search.css 2 years ago product-search.css.map 2 years ago product-search.js 2 years ago product-search.js.map 2 years ago product-sku-frontend.js 2 years ago product-sku-frontend.js.map 2 years ago product-sku-rtl.css 2 years ago product-sku-style.js.map 2 years ago product-sku.css 2 years ago product-sku.css.map 2 years ago product-sku.js 2 years ago product-sku.js.map 2 years ago product-stock-indicator-frontend.js 2 years ago product-stock-indicator-frontend.js.map 2 years ago product-stock-indicator-rtl.css 2 years ago product-stock-indicator-style.js.map 2 years ago product-stock-indicator.css 2 years ago product-stock-indicator.css.map 2 years ago product-stock-indicator.js 2 years ago product-stock-indicator.js.map 2 years ago product-summary-frontend.js 2 years ago product-summary-frontend.js.map 2 years ago product-summary-rtl.css 2 years ago product-summary-style.js.map 2 years ago product-summary.css 2 years ago product-summary.css.map 2 years ago product-summary.js 2 years ago product-summary.js.map 2 years ago product-tag-style.asset.php 2 years ago product-tag-style.js.map 2 years ago product-tag.asset.php 2 years ago product-tag.js 2 years ago product-tag.js.map 2 years ago product-template-rtl.css 2 years ago product-template-style.asset.php 2 years ago product-template-style.js.map 2 years ago product-template.asset.php 2 years ago product-template.css 2 years ago product-template.css.map 2 years ago product-template.js 2 years ago product-template.js.map 2 years ago product-title-frontend.js 2 years ago product-title-frontend.js.map 2 years ago product-title-rtl.css 2 years ago product-title-style.js.map 2 years ago product-title.css 2 years ago product-title.css.map 2 years ago product-title.js 2 years ago product-title.js.map 2 years ago product-top-rated-style.asset.php 2 years ago product-top-rated-style.js.map 2 years ago product-top-rated.asset.php 2 years ago product-top-rated.js 2 years ago product-top-rated.js.map 2 years ago products-by-attribute-style.asset.php 2 years ago products-by-attribute-style.js.map 2 years ago products-by-attribute.asset.php 2 years ago products-by-attribute.js 2 years ago products-by-attribute.js.map 2 years ago rating-filter-frontend.asset.php 2 years ago rating-filter-frontend.js 2 years ago rating-filter-frontend.js.map 2 years ago rating-filter-rtl.css 2 years ago rating-filter-style.asset.php 2 years ago rating-filter-style.js.map 2 years ago rating-filter-wrapper-frontend.js 2 years ago rating-filter-wrapper-frontend.js.map 2 years ago rating-filter-wrapper-rtl.css 2 years ago rating-filter-wrapper-style.js.map 2 years ago rating-filter-wrapper.css 2 years ago rating-filter-wrapper.css.map 2 years ago rating-filter.asset.php 2 years ago rating-filter.css 2 years ago rating-filter.css.map 2 years ago rating-filter.js 2 years ago rating-filter.js.map 2 years ago reviews-by-category-rtl.css 2 years ago reviews-by-category-style.asset.php 2 years ago reviews-by-category-style.js.map 2 years ago reviews-by-category.asset.php 2 years ago reviews-by-category.css 2 years ago reviews-by-category.css.map 2 years ago reviews-by-category.js 2 years ago reviews-by-category.js.map 2 years ago reviews-by-product-rtl.css 2 years ago reviews-by-product-style.asset.php 2 years ago reviews-by-product-style.js.map 2 years ago reviews-by-product.asset.php 2 years ago reviews-by-product.css 2 years ago reviews-by-product.css.map 2 years ago reviews-by-product.js 2 years ago reviews-by-product.js.map 2 years ago reviews-frontend.asset.php 2 years ago reviews-frontend.js 2 years ago reviews-frontend.js.map 2 years ago single-product-rtl.css 2 years ago single-product-style.asset.php 2 years ago single-product-style.js.map 2 years ago single-product.asset.php 2 years ago single-product.css 2 years ago single-product.css.map 2 years ago single-product.js 2 years ago single-product.js.map 2 years ago stock-filter-frontend.asset.php 2 years ago stock-filter-frontend.js 2 years ago stock-filter-frontend.js.map 2 years ago stock-filter-rtl.css 2 years ago stock-filter-style.asset.php 2 years ago stock-filter-style.js.map 2 years ago stock-filter-wrapper-frontend.js 2 years ago stock-filter-wrapper-frontend.js.map 2 years ago stock-filter-wrapper-rtl.css 2 years ago stock-filter-wrapper-style.js.map 2 years ago stock-filter-wrapper.css 2 years ago stock-filter-wrapper.css.map 2 years ago stock-filter.asset.php 2 years ago stock-filter.css 2 years ago stock-filter.css.map 2 years ago stock-filter.js 2 years ago stock-filter.js.map 2 years ago store-notices-rtl.css 2 years ago store-notices-style.asset.php 2 years ago store-notices-style.js.map 2 years ago store-notices.asset.php 2 years ago store-notices.css 2 years ago store-notices.css.map 2 years ago store-notices.js 2 years ago store-notices.js.map 2 years ago vendors-node_modules_pnpm_dinero_js_1_9_1_node_modules_dinero_js_build_esm_dinero_js-style.js.map 2 years ago vendors-node_modules_pnpm_param-case_3_0_4_node_modules_param-case_dist_es2015_index_js-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-019903-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-37238e-frontend.js 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-37238e-frontend.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-68c184-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-70a73f-frontend.js 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-70a73f-frontend.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-849324-frontend.js 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-849324-frontend.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-bab841-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-c6918e-style.js.map 2 years ago wc-blocks-classic-template-revert-button-style-rtl.css 2 years ago wc-blocks-classic-template-revert-button-style-style.asset.php 2 years ago wc-blocks-classic-template-revert-button-style-style.js.map 2 years ago wc-blocks-classic-template-revert-button-style.css 2 years ago wc-blocks-classic-template-revert-button-style.css.map 2 years ago wc-blocks-classic-template-revert-button.asset.php 2 years ago wc-blocks-classic-template-revert-button.js 2 years ago wc-blocks-classic-template-revert-button.js.map 2 years ago wc-blocks-data.asset.php 2 years ago wc-blocks-data.js 2 years ago wc-blocks-data.js.map 2 years ago wc-blocks-editor-style-rtl.css 2 years ago wc-blocks-editor-style.css 2 years ago wc-blocks-editor-style.css.map 2 years ago wc-blocks-google-analytics.asset.php 2 years ago wc-blocks-google-analytics.js 2 years ago wc-blocks-google-analytics.js.map 2 years ago wc-blocks-middleware.asset.php 2 years ago wc-blocks-middleware.js 2 years ago wc-blocks-middleware.js.map 2 years ago wc-blocks-registry.asset.php 2 years ago wc-blocks-registry.js 2 years ago wc-blocks-registry.js.map 2 years ago wc-blocks-rtl.css 2 years ago wc-blocks-shared-context.asset.php 2 years ago wc-blocks-shared-context.js 2 years ago wc-blocks-shared-context.js.map 2 years ago wc-blocks-shared-hocs.asset.php 2 years ago wc-blocks-shared-hocs.js 2 years ago wc-blocks-shared-hocs.js.map 2 years ago wc-blocks-style.asset.php 2 years ago wc-blocks-style.js.map 2 years ago wc-blocks-vendors.asset.php 2 years ago wc-blocks-vendors.js 2 years ago wc-blocks-vendors.js.map 2 years ago wc-blocks.asset.php 2 years ago wc-blocks.css 2 years ago wc-blocks.css.map 2 years ago wc-blocks.js 2 years ago wc-blocks.js.map 2 years ago wc-interactivity-checkbox-list-rtl.css 2 years ago wc-interactivity-checkbox-list-style.asset.php 2 years ago wc-interactivity-checkbox-list-style.js.map 2 years ago wc-interactivity-checkbox-list.asset.php 2 years ago wc-interactivity-checkbox-list.css 2 years ago wc-interactivity-checkbox-list.css.map 2 years ago wc-interactivity-checkbox-list.js 2 years ago wc-interactivity-checkbox-list.js.map 2 years ago wc-interactivity-dropdown-rtl.css 2 years ago wc-interactivity-dropdown-style.asset.php 2 years ago wc-interactivity-dropdown-style.js.map 2 years ago wc-interactivity-dropdown.asset.php 2 years ago wc-interactivity-dropdown.css 2 years ago wc-interactivity-dropdown.css.map 2 years ago wc-interactivity-dropdown.js 2 years ago wc-interactivity-dropdown.js.map 2 years ago wc-interactivity.asset.php 2 years ago wc-interactivity.js 2 years ago wc-interactivity.js.map 2 years ago wc-payment-method-bacs.asset.php 2 years ago wc-payment-method-bacs.js 2 years ago wc-payment-method-bacs.js.map 2 years ago wc-payment-method-cheque.asset.php 2 years ago wc-payment-method-cheque.js 2 years ago wc-payment-method-cheque.js.map 2 years ago wc-payment-method-cod.asset.php 2 years ago wc-payment-method-cod.js 2 years ago wc-payment-method-cod.js.map 2 years ago wc-payment-method-paypal.asset.php 2 years ago wc-payment-method-paypal.js 2 years ago wc-payment-method-paypal.js.map 2 years ago wc-settings.asset.php 2 years ago wc-settings.js 2 years ago wc-settings.js.map 2 years ago wc-shipping-method-pickup-location.asset.php 2 years ago wc-shipping-method-pickup-location.js 2 years ago wc-shipping-method-pickup-location.js.map 2 years ago
collection-stock-filter.js
1856 lines
1 /******/ (() => { // webpackBootstrap
2 /******/ var __webpack_modules__ = ({
3
4 /***/ "./assets/js/base/components/filter-element-label/index.tsx":
5 /*!******************************************************************!*\
6 !*** ./assets/js/base/components/filter-element-label/index.tsx ***!
7 \******************************************************************/
8 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
10 "use strict";
11 __webpack_require__.r(__webpack_exports__);
12 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14 /* harmony export */ });
15 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
16 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
17 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
18 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
19 /* harmony import */ var _woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @woocommerce/blocks-components */ "@woocommerce/blocks-components");
20 /* harmony import */ var _woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_2__);
21 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./assets/js/base/components/filter-element-label/style.scss");
22 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_3__);
23
24 /**
25 * External dependencies
26 */
27
28
29
30 /**
31 * Internal dependencies
32 */
33
34 /**
35 * The label for a filter element.
36 *
37 * @param {Object} props Incoming props for the component.
38 * @param {string} props.name The name for the label.
39 * @param {number} props.count The count of products this status is attached to.
40 */
41 const FilterElementLabel = ({
42 name,
43 count
44 }) => {
45 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, name, count !== null && Number.isFinite(count) && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_2__.Label, {
46 label: count.toString(),
47 screenReaderLabel: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.sprintf)( /* translators: %s number of products. */
48 (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__._n)('%s product', '%s products', count, 'woocommerce'), count),
49 wrapperElement: "span",
50 wrapperProps: {
51 className: 'wc-filter-element-label-list-count'
52 }
53 }));
54 };
55 FilterElementLabel.__docgenInfo = {
56 "description": "The label for a filter element.\n\n@param {Object} props Incoming props for the component.\n@param {string} props.name The name for the label.\n@param {number} props.count The count of products this status is attached to.",
57 "methods": [],
58 "displayName": "FilterElementLabel",
59 "props": {
60 "name": {
61 "required": true,
62 "tsType": {
63 "name": "string"
64 },
65 "description": ""
66 },
67 "count": {
68 "required": true,
69 "tsType": {
70 "name": "union",
71 "raw": "number | null",
72 "elements": [{
73 "name": "number"
74 }, {
75 "name": "null"
76 }]
77 },
78 "description": ""
79 }
80 }
81 };
82 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FilterElementLabel);
83 if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
84 STORYBOOK_REACT_CLASSES["assets/js/base/components/filter-element-label/index.tsx"] = {
85 name: "FilterElementLabel",
86 docgenInfo: FilterElementLabel.__docgenInfo,
87 path: "assets/js/base/components/filter-element-label/index.tsx"
88 };
89 }
90
91 /***/ }),
92
93 /***/ "./assets/js/base/components/form-token-field/index.tsx":
94 /*!**************************************************************!*\
95 !*** ./assets/js/base/components/form-token-field/index.tsx ***!
96 \**************************************************************/
97 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
98
99 "use strict";
100 __webpack_require__.r(__webpack_exports__);
101 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
102 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
103 /* harmony export */ });
104 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
105 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
106 /* harmony import */ var wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! wordpress-components */ "../../node_modules/.pnpm/@wordpress+components@14.2.0_@types+react@17.0.71_react-dom@17.0.2_react-with-direction@1.4.0_g43nmvk3ohn3r3z6u5eunaboqa/node_modules/@wordpress/components/build-module/form-token-field/index.js");
107 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js");
108 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
109 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./assets/js/base/components/form-token-field/style.scss");
110 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_2__);
111
112 /**
113 * External dependencies
114 */
115
116
117
118 /**
119 * Internal dependencies
120 */
121
122 const FormTokenField = ({
123 className,
124 style,
125 suggestions,
126 multiple = true,
127 saveTransform = incompleteToken => incompleteToken.trim().replace(/\s/g, '-'),
128 messages = {},
129 validateInput = token => suggestions.includes(token),
130 label = '',
131 ...props
132 }) => {
133 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
134 className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('wc-blocks-components-form-token-field-wrapper', className, {
135 'single-selection': !multiple
136 }),
137 style: style
138 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(wordpress_components__WEBPACK_IMPORTED_MODULE_3__["default"], {
139 label: label,
140 __experimentalExpandOnFocus: true,
141 __experimentalShowHowTo: false,
142 __experimentalValidateInput: validateInput,
143 saveTransform: saveTransform,
144 maxLength: multiple ? undefined : 1,
145 suggestions: suggestions,
146 messages: messages,
147 ...props
148 }));
149 };
150 FormTokenField.__docgenInfo = {
151 "description": "",
152 "methods": [],
153 "displayName": "FormTokenField",
154 "props": {
155 "multiple": {
156 "defaultValue": {
157 "value": "true",
158 "computed": false
159 },
160 "required": false,
161 "tsType": {
162 "name": "boolean"
163 },
164 "description": ""
165 },
166 "saveTransform": {
167 "defaultValue": {
168 "value": "( incompleteToken ) =>\nincompleteToken.trim().replace( /\\s/g, '-' )",
169 "computed": false
170 },
171 "required": false,
172 "tsType": {
173 "name": "signature",
174 "type": "function",
175 "raw": "( value: string ) => string",
176 "signature": {
177 "arguments": [{
178 "name": "value",
179 "type": {
180 "name": "string"
181 }
182 }],
183 "return": {
184 "name": "string"
185 }
186 }
187 },
188 "description": ""
189 },
190 "messages": {
191 "defaultValue": {
192 "value": "{}",
193 "computed": false
194 },
195 "required": false,
196 "tsType": {
197 "name": "Record",
198 "elements": [{
199 "name": "string"
200 }, {
201 "name": "string"
202 }],
203 "raw": "Record< string, string >"
204 },
205 "description": ""
206 },
207 "validateInput": {
208 "defaultValue": {
209 "value": "( token: string ) => suggestions.includes( token )",
210 "computed": false
211 },
212 "required": false,
213 "tsType": {
214 "name": "signature",
215 "type": "function",
216 "raw": "( token: string ) => boolean",
217 "signature": {
218 "arguments": [{
219 "name": "token",
220 "type": {
221 "name": "string"
222 }
223 }],
224 "return": {
225 "name": "boolean"
226 }
227 }
228 },
229 "description": ""
230 },
231 "label": {
232 "defaultValue": {
233 "value": "''",
234 "computed": false
235 },
236 "required": false,
237 "tsType": {
238 "name": "string"
239 },
240 "description": ""
241 },
242 "className": {
243 "required": false,
244 "tsType": {
245 "name": "string"
246 },
247 "description": ""
248 },
249 "disabled": {
250 "required": false,
251 "tsType": {
252 "name": "boolean"
253 },
254 "description": ""
255 },
256 "displayTransform": {
257 "required": false,
258 "tsType": {
259 "name": "signature",
260 "type": "function",
261 "raw": "( value: string ) => string",
262 "signature": {
263 "arguments": [{
264 "name": "value",
265 "type": {
266 "name": "string"
267 }
268 }],
269 "return": {
270 "name": "string"
271 }
272 }
273 },
274 "description": ""
275 },
276 "onChange": {
277 "required": true,
278 "tsType": {
279 "name": "signature",
280 "type": "function",
281 "raw": "( value: string[] ) => void",
282 "signature": {
283 "arguments": [{
284 "name": "value",
285 "type": {
286 "name": "Array",
287 "elements": [{
288 "name": "string"
289 }],
290 "raw": "string[]"
291 }
292 }],
293 "return": {
294 "name": "void"
295 }
296 }
297 },
298 "description": ""
299 },
300 "placeholder": {
301 "required": false,
302 "tsType": {
303 "name": "string"
304 },
305 "description": ""
306 },
307 "style": {
308 "required": false,
309 "tsType": {
310 "name": "ReactCSSProperties",
311 "raw": "React.CSSProperties"
312 },
313 "description": ""
314 },
315 "suggestions": {
316 "required": true,
317 "tsType": {
318 "name": "Array",
319 "elements": [{
320 "name": "string"
321 }],
322 "raw": "string[]"
323 },
324 "description": ""
325 },
326 "value": {
327 "required": true,
328 "tsType": {
329 "name": "Array",
330 "elements": [{
331 "name": "string"
332 }],
333 "raw": "string[]"
334 },
335 "description": ""
336 }
337 }
338 };
339 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormTokenField);
340 if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
341 STORYBOOK_REACT_CLASSES["assets/js/base/components/form-token-field/index.tsx"] = {
342 name: "FormTokenField",
343 docgenInfo: FormTokenField.__docgenInfo,
344 path: "assets/js/base/components/form-token-field/index.tsx"
345 };
346 }
347
348 /***/ }),
349
350 /***/ "./assets/js/base/context/hooks/collections/use-collection-data.ts":
351 /*!*************************************************************************!*\
352 !*** ./assets/js/base/context/hooks/collections/use-collection-data.ts ***!
353 \*************************************************************************/
354 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
355
356 "use strict";
357 __webpack_require__.r(__webpack_exports__);
358 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
359 /* harmony export */ useCollectionData: () => (/* binding */ useCollectionData)
360 /* harmony export */ });
361 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
362 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
363 /* harmony import */ var use_debounce__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! use-debounce */ "../../node_modules/.pnpm/use-debounce@9.0.4_react@17.0.2/node_modules/use-debounce/dist/index.module.js");
364 /* harmony import */ var _woocommerce_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @woocommerce/types */ "./assets/js/types/type-guards/object.ts");
365 /* harmony import */ var fast_sort__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-sort */ "../../node_modules/.pnpm/fast-sort@3.4.0/node_modules/fast-sort/dist/sort.mjs");
366 /* harmony import */ var _woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @woocommerce/base-hooks */ "./assets/js/base/hooks/use-shallow-equal.ts");
367 /* harmony import */ var _use_query_state__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../use-query-state */ "./assets/js/base/context/hooks/use-query-state.js");
368 /* harmony import */ var _use_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./use-collection */ "./assets/js/base/context/hooks/collections/use-collection.ts");
369 /* harmony import */ var _providers_query_state_context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../providers/query-state-context */ "./assets/js/base/context/providers/query-state-context.js");
370 /**
371 * External dependencies
372 */
373
374
375
376
377
378
379 /**
380 * Internal dependencies
381 */
382
383
384
385 const buildCollectionDataQuery = collectionDataQueryState => {
386 const query = collectionDataQueryState;
387 if (Array.isArray(collectionDataQueryState.calculate_attribute_counts)) {
388 query.calculate_attribute_counts = (0,fast_sort__WEBPACK_IMPORTED_MODULE_1__.sort)(collectionDataQueryState.calculate_attribute_counts.map(({
389 taxonomy,
390 queryType
391 }) => {
392 return {
393 taxonomy,
394 query_type: queryType
395 };
396 })).asc(['taxonomy', 'query_type']);
397 }
398 return query;
399 };
400 const useCollectionData = ({
401 queryAttribute,
402 queryPrices,
403 queryStock,
404 queryRating,
405 queryState,
406 isEditor = false
407 }) => {
408 let context = (0,_providers_query_state_context__WEBPACK_IMPORTED_MODULE_2__.useQueryStateContext)();
409 context = `${context}-collection-data`;
410 const [collectionDataQueryState] = (0,_use_query_state__WEBPACK_IMPORTED_MODULE_3__.useQueryStateByContext)(context);
411 const [calculateAttributesQueryState, setCalculateAttributesQueryState] = (0,_use_query_state__WEBPACK_IMPORTED_MODULE_3__.useQueryStateByKey)('calculate_attribute_counts', [], context);
412 const [calculatePriceRangeQueryState, setCalculatePriceRangeQueryState] = (0,_use_query_state__WEBPACK_IMPORTED_MODULE_3__.useQueryStateByKey)('calculate_price_range', null, context);
413 const [calculateStockStatusQueryState, setCalculateStockStatusQueryState] = (0,_use_query_state__WEBPACK_IMPORTED_MODULE_3__.useQueryStateByKey)('calculate_stock_status_counts', null, context);
414 const [calculateRatingQueryState, setCalculateRatingQueryState] = (0,_use_query_state__WEBPACK_IMPORTED_MODULE_3__.useQueryStateByKey)('calculate_rating_counts', null, context);
415 const currentQueryAttribute = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_4__.useShallowEqual)(queryAttribute || {});
416 const currentQueryPrices = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_4__.useShallowEqual)(queryPrices);
417 const currentQueryStock = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_4__.useShallowEqual)(queryStock);
418 const currentQueryRating = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_4__.useShallowEqual)(queryRating);
419 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
420 if (typeof currentQueryAttribute === 'object' && Object.keys(currentQueryAttribute).length) {
421 const foundAttribute = calculateAttributesQueryState.find(attribute => {
422 return (0,_woocommerce_types__WEBPACK_IMPORTED_MODULE_5__.objectHasProp)(currentQueryAttribute, 'taxonomy') && attribute.taxonomy === currentQueryAttribute.taxonomy;
423 });
424 if (!foundAttribute) {
425 setCalculateAttributesQueryState([...calculateAttributesQueryState, currentQueryAttribute]);
426 }
427 }
428 }, [currentQueryAttribute, calculateAttributesQueryState, setCalculateAttributesQueryState]);
429 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
430 if (calculatePriceRangeQueryState !== currentQueryPrices && currentQueryPrices !== undefined) {
431 setCalculatePriceRangeQueryState(currentQueryPrices);
432 }
433 }, [currentQueryPrices, setCalculatePriceRangeQueryState, calculatePriceRangeQueryState]);
434 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
435 if (calculateStockStatusQueryState !== currentQueryStock && currentQueryStock !== undefined) {
436 setCalculateStockStatusQueryState(currentQueryStock);
437 }
438 }, [currentQueryStock, setCalculateStockStatusQueryState, calculateStockStatusQueryState]);
439 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
440 if (calculateRatingQueryState !== currentQueryRating && currentQueryRating !== undefined) {
441 setCalculateRatingQueryState(currentQueryRating);
442 }
443 }, [currentQueryRating, setCalculateRatingQueryState, calculateRatingQueryState]);
444
445 // Defer the select query so all collection-data query vars can be gathered.
446 const [shouldSelect, setShouldSelect] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useState)(isEditor);
447 const [debouncedShouldSelect] = (0,use_debounce__WEBPACK_IMPORTED_MODULE_6__.useDebounce)(shouldSelect, 200);
448 if (!shouldSelect) {
449 setShouldSelect(true);
450 }
451 const collectionDataQueryVars = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {
452 return buildCollectionDataQuery(collectionDataQueryState);
453 }, [collectionDataQueryState]);
454 return (0,_use_collection__WEBPACK_IMPORTED_MODULE_7__.useCollection)({
455 namespace: '/wc/store/v1',
456 resourceName: 'products/collection-data',
457 query: {
458 ...queryState,
459 page: undefined,
460 per_page: undefined,
461 orderby: undefined,
462 order: undefined,
463 ...collectionDataQueryVars
464 },
465 shouldSelect: debouncedShouldSelect
466 });
467 };
468
469 /***/ }),
470
471 /***/ "./assets/js/base/context/hooks/collections/use-collection.ts":
472 /*!********************************************************************!*\
473 !*** ./assets/js/base/context/hooks/collections/use-collection.ts ***!
474 \********************************************************************/
475 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
476
477 "use strict";
478 __webpack_require__.r(__webpack_exports__);
479 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
480 /* harmony export */ useCollection: () => (/* binding */ useCollection)
481 /* harmony export */ });
482 /* harmony import */ var _woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @woocommerce/block-data */ "@woocommerce/block-data");
483 /* harmony import */ var _woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__);
484 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
485 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
486 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
487 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
488 /* harmony import */ var _woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @woocommerce/base-hooks */ "./assets/js/base/hooks/use-shallow-equal.ts");
489 /* harmony import */ var _woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @woocommerce/base-hooks */ "./assets/js/base/hooks/use-throw-error.ts");
490 /* harmony import */ var _woocommerce_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @woocommerce/types */ "./assets/js/types/type-guards/error.ts");
491 /**
492 * External dependencies
493 */
494
495
496
497
498
499
500 /**
501 * This is a custom hook that is wired up to the `wc/store/collections` data
502 * store. Given a collections option object, this will ensure a component is
503 * kept up to date with the collection matching that query in the store state.
504 *
505 * @throws {Object} Throws an exception object if there was a problem with the
506 * API request, to be picked up by BlockErrorBoundry.
507 *
508 * @param {Object} options An object declaring the various
509 * collection arguments.
510 * @param {string} options.namespace The namespace for the collection.
511 * Example: `'/wc/blocks'`
512 * @param {string} options.resourceName The name of the resource for the
513 * collection. Example:
514 * `'products/attributes'`
515 * @param {Array} [options.resourceValues] An array of values (in correct order)
516 * that are substituted in the route
517 * placeholders for the collection route.
518 * Example: `[10, 20]`
519 * @param {Object} [options.query] An object of key value pairs for the
520 * query to execute on the collection
521 * Example:
522 * `{ order: 'ASC', order_by: 'price' }`
523 * @param {boolean} [options.shouldSelect] If false, the previous results will be
524 * returned and internal selects will not
525 * fire.
526 *
527 * @return {Object} This hook will return an object with two properties:
528 * - results An array of collection items returned.
529 * - isLoading A boolean indicating whether the collection is
530 * loading (true) or not.
531 */
532
533 const useCollection = options => {
534 const {
535 namespace,
536 resourceName,
537 resourceValues = [],
538 query = {},
539 shouldSelect = true
540 } = options;
541 if (!namespace || !resourceName) {
542 throw new Error('The options object must have valid values for the namespace and ' + 'the resource properties.');
543 }
544 const currentResults = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useRef)({
545 results: [],
546 isLoading: true
547 });
548 // ensure we feed the previous reference if it's equivalent
549 const currentQuery = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_3__.useShallowEqual)(query);
550 const currentResourceValues = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_3__.useShallowEqual)(resourceValues);
551 const throwError = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_4__.useThrowError)();
552 const results = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(select => {
553 if (!shouldSelect) {
554 return null;
555 }
556 const store = select(_woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__.COLLECTIONS_STORE_KEY);
557 const args = [namespace, resourceName, currentQuery, currentResourceValues];
558 const error = store.getCollectionError(...args);
559 if (error) {
560 if ((0,_woocommerce_types__WEBPACK_IMPORTED_MODULE_5__.isError)(error)) {
561 throwError(error);
562 } else {
563 throw new Error('TypeError: `error` object is not an instance of Error constructor');
564 }
565 }
566 return {
567 results: store.getCollection(...args),
568 isLoading: !store.hasFinishedResolution('getCollection', args)
569 };
570 }, [namespace, resourceName, currentResourceValues, currentQuery, shouldSelect]);
571 // if selector was not bailed, then update current results. Otherwise return
572 // previous results
573 if (results !== null) {
574 currentResults.current = results;
575 }
576 return currentResults.current;
577 };
578
579 /***/ }),
580
581 /***/ "./assets/js/base/context/hooks/use-query-state.js":
582 /*!*********************************************************!*\
583 !*** ./assets/js/base/context/hooks/use-query-state.js ***!
584 \*********************************************************/
585 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
586
587 "use strict";
588 __webpack_require__.r(__webpack_exports__);
589 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
590 /* harmony export */ useQueryStateByContext: () => (/* binding */ useQueryStateByContext),
591 /* harmony export */ useQueryStateByKey: () => (/* binding */ useQueryStateByKey),
592 /* harmony export */ useSynchronizedQueryState: () => (/* binding */ useSynchronizedQueryState)
593 /* harmony export */ });
594 /* harmony import */ var _woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @woocommerce/block-data */ "@woocommerce/block-data");
595 /* harmony import */ var _woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__);
596 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
597 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
598 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
599 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
600 /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/is-shallow-equal */ "@wordpress/is-shallow-equal");
601 /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_3__);
602 /* harmony import */ var _woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @woocommerce/base-hooks */ "./assets/js/base/hooks/use-shallow-equal.ts");
603 /* harmony import */ var _woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @woocommerce/base-hooks */ "./assets/js/base/hooks/use-previous.ts");
604 /* harmony import */ var _providers_query_state_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../providers/query-state-context */ "./assets/js/base/context/providers/query-state-context.js");
605 /**
606 * External dependencies
607 */
608
609
610
611
612
613
614 /**
615 * Internal dependencies
616 */
617
618
619
620 /**
621 * A custom hook that exposes the current query state and a setter for the query
622 * state store for the given context.
623 *
624 * "Query State" is a wp.data store that keeps track of an arbitrary object of
625 * query keys and their values.
626 *
627 * @param {string} [context] What context to retrieve the query state for. If not
628 * provided, this hook will attempt to get the context
629 * from the query state context provided by the
630 * QueryStateContextProvider
631 *
632 * @return {Array} An array that has two elements. The first element is the
633 * query state value for the given context. The second element
634 * is a dispatcher function for setting the query state.
635 */
636 const useQueryStateByContext = context => {
637 const queryStateContext = (0,_providers_query_state_context__WEBPACK_IMPORTED_MODULE_4__.useQueryStateContext)();
638 context = context || queryStateContext;
639 const queryState = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(select => {
640 const store = select(_woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__.QUERY_STATE_STORE_KEY);
641 return store.getValueForQueryContext(context, undefined);
642 }, [context]);
643 const {
644 setValueForQueryContext
645 } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useDispatch)(_woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__.QUERY_STATE_STORE_KEY);
646 const setQueryState = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useCallback)(value => {
647 setValueForQueryContext(context, value);
648 }, [context, setValueForQueryContext]);
649 return [queryState, setQueryState];
650 };
651
652 /**
653 * A custom hook that exposes the current query state value and a setter for the
654 * given context and query key.
655 *
656 * "Query State" is a wp.data store that keeps track of an arbitrary object of
657 * query keys and their values.
658 *
659 * @param {*} queryKey The specific query key to retrieve the value for.
660 * @param {*} [defaultValue] Default value if query does not exist.
661 * @param {string} [context] What context to retrieve the query state for. If
662 * not provided will attempt to use what is provided
663 * by query state context.
664 *
665 * @return {*} Whatever value is set at the query state index using the
666 * provided context and query key.
667 */
668 const useQueryStateByKey = (queryKey, defaultValue, context) => {
669 const queryStateContext = (0,_providers_query_state_context__WEBPACK_IMPORTED_MODULE_4__.useQueryStateContext)();
670 context = context || queryStateContext;
671 const queryValue = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(select => {
672 const store = select(_woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__.QUERY_STATE_STORE_KEY);
673 return store.getValueForQueryKey(context, queryKey, defaultValue);
674 },
675 // eslint-disable-next-line react-hooks/exhaustive-deps
676 [context, queryKey]);
677 const {
678 setQueryValue
679 } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useDispatch)(_woocommerce_block_data__WEBPACK_IMPORTED_MODULE_0__.QUERY_STATE_STORE_KEY);
680 const setQueryValueByKey = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useCallback)(value => {
681 setQueryValue(context, queryKey, value);
682 }, [context, queryKey, setQueryValue]);
683 return [queryValue, setQueryValueByKey];
684 };
685
686 /**
687 * A custom hook that works similarly to useQueryStateByContext. However, this
688 * hook allows for synchronizing with a provided queryState object.
689 *
690 * This hook does the following things with the provided `synchronizedQuery`
691 * object:
692 *
693 * - whenever synchronizedQuery varies between renders, the queryState will be
694 * updated to a merged object of the internal queryState and the provided
695 * object. Note, any values from the same properties between objects will
696 * be set from synchronizedQuery.
697 * - if there are no changes between renders, then the existing internal
698 * queryState is always returned.
699 * - on initial render, the synchronizedQuery value is returned.
700 *
701 * Typically, this hook would be used in a scenario where there may be external
702 * triggers for updating the query state (i.e. initial population of query
703 * state by hydration or component attributes, or routing url changes that
704 * affect query state).
705 *
706 * @param {Object} synchronizedQuery A provided query state object to
707 * synchronize internal query state with.
708 * @param {string} [context] What context to retrieve the query state
709 * for. If not provided, will be pulled from
710 * the QueryStateContextProvider in the tree.
711 */
712 const useSynchronizedQueryState = (synchronizedQuery, context) => {
713 const queryStateContext = (0,_providers_query_state_context__WEBPACK_IMPORTED_MODULE_4__.useQueryStateContext)();
714 context = context || queryStateContext;
715 const [queryState, setQueryState] = useQueryStateByContext(context);
716 const currentQueryState = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_5__.useShallowEqual)(queryState);
717 const currentSynchronizedQuery = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_5__.useShallowEqual)(synchronizedQuery);
718 const previousSynchronizedQuery = (0,_woocommerce_base_hooks__WEBPACK_IMPORTED_MODULE_6__.usePrevious)(currentSynchronizedQuery);
719 // used to ensure we allow initial synchronization to occur before
720 // returning non-synced state.
721 const isInitialized = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useRef)(false);
722 // update queryState anytime incoming synchronizedQuery changes
723 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
724 if (!_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_3___default()(previousSynchronizedQuery, currentSynchronizedQuery)) {
725 setQueryState(Object.assign({}, currentQueryState, currentSynchronizedQuery));
726 isInitialized.current = true;
727 }
728 }, [currentQueryState, currentSynchronizedQuery, previousSynchronizedQuery, setQueryState]);
729 return isInitialized.current ? [queryState, setQueryState] : [synchronizedQuery, setQueryState];
730 };
731
732 /***/ }),
733
734 /***/ "./assets/js/base/context/providers/query-state-context.js":
735 /*!*****************************************************************!*\
736 !*** ./assets/js/base/context/providers/query-state-context.js ***!
737 \*****************************************************************/
738 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
739
740 "use strict";
741 __webpack_require__.r(__webpack_exports__);
742 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
743 /* harmony export */ QueryStateContextProvider: () => (/* binding */ QueryStateContextProvider),
744 /* harmony export */ useQueryStateContext: () => (/* binding */ useQueryStateContext)
745 /* harmony export */ });
746 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
747 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
748 /**
749 * External dependencies
750 */
751
752
753 /**
754 * Query state context is the index for used for a query state store. By
755 * exposing this via context, it allows for all children blocks to be
756 * synchronized to the same query state defined by the parent in the tree.
757 *
758 * Defaults to 'page' for general global query state shared among all blocks
759 * in a view.
760 *
761 * @member {Object} QueryStateContext A react context object
762 */
763 const QueryStateContext = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createContext)('page');
764 const useQueryStateContext = () => (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useContext)(QueryStateContext);
765 const QueryStateContextProvider = QueryStateContext.Provider;
766
767 /***/ }),
768
769 /***/ "./assets/js/base/hooks/use-previous.ts":
770 /*!**********************************************!*\
771 !*** ./assets/js/base/hooks/use-previous.ts ***!
772 \**********************************************/
773 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
774
775 "use strict";
776 __webpack_require__.r(__webpack_exports__);
777 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
778 /* harmony export */ usePrevious: () => (/* binding */ usePrevious)
779 /* harmony export */ });
780 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
781 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
782 /**
783 * External dependencies
784 */
785
786 /**
787 * Use Previous based on https://usehooks.com/useprevious/.
788 *
789 * @param {*} value
790 * @param {Function} [validation] Function that needs to validate for the value
791 * to be updated.
792 */
793 function usePrevious(value, validation) {
794 const ref = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useRef)();
795 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
796 if (ref.current !== value && (!validation || validation(value, ref.current))) {
797 ref.current = value;
798 }
799 }, [value, validation]);
800 return ref.current;
801 }
802
803 /***/ }),
804
805 /***/ "./assets/js/base/hooks/use-shallow-equal.ts":
806 /*!***************************************************!*\
807 !*** ./assets/js/base/hooks/use-shallow-equal.ts ***!
808 \***************************************************/
809 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
810
811 "use strict";
812 __webpack_require__.r(__webpack_exports__);
813 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
814 /* harmony export */ useShallowEqual: () => (/* binding */ useShallowEqual)
815 /* harmony export */ });
816 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
817 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
818 /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/is-shallow-equal */ "@wordpress/is-shallow-equal");
819 /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_1__);
820 /**
821 * External dependencies
822 */
823
824
825
826 /**
827 * A custom hook that compares the provided value across renders and returns the
828 * previous instance if shallow equality with previous instance exists.
829 *
830 * This is particularly useful when non-primitive types are used as
831 * dependencies for react hooks.
832 *
833 * @param {*} value Value to keep the same if satisfies shallow equality.
834 *
835 * @return {*} The previous cached instance of the value if the current has shallow equality with it.
836 */
837 function useShallowEqual(value) {
838 const ref = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useRef)(value);
839 if (!_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_1___default()(value, ref.current)) {
840 ref.current = value;
841 }
842 return ref.current;
843 }
844
845 /***/ }),
846
847 /***/ "./assets/js/base/hooks/use-throw-error.ts":
848 /*!*************************************************!*\
849 !*** ./assets/js/base/hooks/use-throw-error.ts ***!
850 \*************************************************/
851 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
852
853 "use strict";
854 __webpack_require__.r(__webpack_exports__);
855 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
856 /* harmony export */ useThrowError: () => (/* binding */ useThrowError)
857 /* harmony export */ });
858 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
859 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
860 /**
861 * External dependencies
862 */
863
864
865 /**
866 * Helper method for throwing an error in a React Hook.
867 *
868 * @see https://github.com/facebook/react/issues/14981
869 */
870 const useThrowError = () => {
871 const [, setState] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useState)();
872 return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useCallback)(error => {
873 setState(() => {
874 throw error;
875 });
876 }, []);
877 };
878
879 /***/ }),
880
881 /***/ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/components/inspector.tsx":
882 /*!************************************************************************************************!*\
883 !*** ./assets/js/blocks/collection-filters/inner-blocks/stock-filter/components/inspector.tsx ***!
884 \************************************************************************************************/
885 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
886
887 "use strict";
888 __webpack_require__.r(__webpack_exports__);
889 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
890 /* harmony export */ Inspector: () => (/* binding */ Inspector)
891 /* harmony export */ });
892 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
893 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
894 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
895 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__);
896 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
897 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
898 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
899 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
900
901 /**
902 * External dependencies
903 */
904
905
906
907
908 /**
909 * Internal dependencies
910 */
911
912 const Inspector = ({
913 attributes,
914 setAttributes
915 }) => {
916 const {
917 showCounts,
918 selectType,
919 displayStyle
920 } = attributes;
921 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, {
922 key: "inspector"
923 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.PanelBody, {
924 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display Settings', 'woocommerce')
925 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.ToggleControl, {
926 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display product count', 'woocommerce'),
927 checked: showCounts,
928 onChange: () => setAttributes({
929 showCounts: !showCounts
930 })
931 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.__experimentalToggleGroupControl, {
932 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Allow selecting multiple options?', 'woocommerce'),
933 value: selectType || 'multiple',
934 onChange: value => setAttributes({
935 selectType: value
936 }),
937 className: "wc-block-attribute-filter__multiple-toggle"
938 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.__experimentalToggleGroupControlOption, {
939 value: "multiple",
940 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Multiple', 'woocommerce')
941 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.__experimentalToggleGroupControlOption, {
942 value: "single",
943 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Single', 'woocommerce')
944 })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.__experimentalToggleGroupControl, {
945 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display Style', 'woocommerce'),
946 value: displayStyle,
947 onChange: value => setAttributes({
948 displayStyle: value
949 }),
950 className: "wc-block-attribute-filter__display-toggle"
951 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.__experimentalToggleGroupControlOption, {
952 value: "list",
953 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('List', 'woocommerce')
954 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.__experimentalToggleGroupControlOption, {
955 value: "dropdown",
956 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Dropdown', 'woocommerce')
957 }))));
958 };
959 Inspector.__docgenInfo = {
960 "description": "",
961 "methods": [],
962 "displayName": "Inspector"
963 };
964 if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
965 STORYBOOK_REACT_CLASSES["assets/js/blocks/collection-filters/inner-blocks/stock-filter/components/inspector.tsx"] = {
966 name: "Inspector",
967 docgenInfo: Inspector.__docgenInfo,
968 path: "assets/js/blocks/collection-filters/inner-blocks/stock-filter/components/inspector.tsx"
969 };
970 }
971
972 /***/ }),
973
974 /***/ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/edit.tsx":
975 /*!********************************************************************************!*\
976 !*** ./assets/js/blocks/collection-filters/inner-blocks/stock-filter/edit.tsx ***!
977 \********************************************************************************/
978 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
979
980 "use strict";
981 __webpack_require__.r(__webpack_exports__);
982 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
983 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
984 /* harmony export */ });
985 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
986 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
987 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
988 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
989 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js");
990 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
991 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
992 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
993 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
994 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
995 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
996 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
997 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/.pnpm/@wordpress+icons@9.36.0/node_modules/@wordpress/icons/build-module/icon/index.js");
998 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/.pnpm/@wordpress+icons@9.36.0/node_modules/@wordpress/icons/build-module/library/chevron-down.js");
999 /* harmony import */ var _woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @woocommerce/blocks-components */ "@woocommerce/blocks-components");
1000 /* harmony import */ var _woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_6__);
1001 /* harmony import */ var _woocommerce_base_components_filter_element_label__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @woocommerce/base-components/filter-element-label */ "./assets/js/base/components/filter-element-label/index.tsx");
1002 /* harmony import */ var _woocommerce_base_components_form_token_field__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @woocommerce/base-components/form-token-field */ "./assets/js/base/components/form-token-field/index.tsx");
1003 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @woocommerce/settings */ "@woocommerce/settings");
1004 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_9__);
1005 /* harmony import */ var _woocommerce_base_context_hooks__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @woocommerce/base-context/hooks */ "./assets/js/base/context/hooks/collections/use-collection-data.ts");
1006 /* harmony import */ var _components_inspector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./components/inspector */ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/components/inspector.tsx");
1007
1008 /**
1009 * External dependencies
1010 */
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023 /**
1024 * Internal dependencies
1025 */
1026
1027
1028 const Edit = props => {
1029 const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)({
1030 className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('wc-block-stock-filter', props.attributes.className)
1031 });
1032 const {
1033 showCounts,
1034 displayStyle
1035 } = props.attributes;
1036 const stockStatusOptions = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_9__.getSetting)('stockStatusOptions', {});
1037 const {
1038 results: filteredCounts
1039 } = (0,_woocommerce_base_context_hooks__WEBPACK_IMPORTED_MODULE_10__.useCollectionData)({
1040 queryStock: true,
1041 queryState: {},
1042 isEditor: true
1043 });
1044 const listOptions = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {
1045 return Object.entries(stockStatusOptions).map(([key, value]) => {
1046 var _stock_status_counts, _stock_status_counts$;
1047 const count = // @ts-expect-error - there is a fault with useCollectionData types, it can be non-array.
1048 filteredCounts === null || filteredCounts === void 0 ? void 0 : (_stock_status_counts = filteredCounts.stock_status_counts) === null || _stock_status_counts === void 0 ? void 0 : (_stock_status_counts$ = _stock_status_counts.find(item => item.status === key)) === null || _stock_status_counts$ === void 0 ? void 0 : _stock_status_counts$.count;
1049 return {
1050 value: key,
1051 label: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_woocommerce_base_components_filter_element_label__WEBPACK_IMPORTED_MODULE_7__["default"], {
1052 name: value,
1053 count: showCounts && count ? Number(count) : null
1054 })
1055 };
1056 });
1057 }, [stockStatusOptions, filteredCounts, showCounts]);
1058 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
1059 ...blockProps
1060 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_components_inspector__WEBPACK_IMPORTED_MODULE_11__.Inspector, {
1061 ...props
1062 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Disabled, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
1063 className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('wc-block-stock-filter', `style-${displayStyle}`, {
1064 'is-loading': false
1065 })
1066 }, displayStyle === 'dropdown' ? (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_woocommerce_base_components_form_token_field__WEBPACK_IMPORTED_MODULE_8__["default"], {
1067 className: classnames__WEBPACK_IMPORTED_MODULE_2___default()({
1068 'single-selection': true,
1069 'is-loading': false
1070 }),
1071 suggestions: [],
1072 placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__.__)('Select stock status', 'woocommerce'),
1073 onChange: () => null,
1074 value: []
1075 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_icons__WEBPACK_IMPORTED_MODULE_12__["default"], {
1076 icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_13__["default"],
1077 size: 30
1078 })) : (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_woocommerce_blocks_components__WEBPACK_IMPORTED_MODULE_6__.CheckboxList, {
1079 className: 'wc-block-stock-filter-list',
1080 options: listOptions,
1081 checked: [],
1082 onChange: () => null,
1083 isLoading: false,
1084 isDisabled: true
1085 })))));
1086 };
1087 Edit.__docgenInfo = {
1088 "description": "",
1089 "methods": [],
1090 "displayName": "Edit"
1091 };
1092 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit);
1093 if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
1094 STORYBOOK_REACT_CLASSES["assets/js/blocks/collection-filters/inner-blocks/stock-filter/edit.tsx"] = {
1095 name: "Edit",
1096 docgenInfo: Edit.__docgenInfo,
1097 path: "assets/js/blocks/collection-filters/inner-blocks/stock-filter/edit.tsx"
1098 };
1099 }
1100
1101 /***/ }),
1102
1103 /***/ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/index.tsx":
1104 /*!*********************************************************************************!*\
1105 !*** ./assets/js/blocks/collection-filters/inner-blocks/stock-filter/index.tsx ***!
1106 \*********************************************************************************/
1107 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1108
1109 "use strict";
1110 __webpack_require__.r(__webpack_exports__);
1111 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
1112 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1113 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
1114 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
1115 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/.pnpm/@wordpress+icons@9.36.0/node_modules/@wordpress/icons/build-module/icon/index.js");
1116 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/.pnpm/@wordpress+icons@9.36.0/node_modules/@wordpress/icons/build-module/library/box.js");
1117 /* harmony import */ var _woocommerce_block_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @woocommerce/block-settings */ "./assets/js/settings/blocks/index.ts");
1118 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/style.scss");
1119 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_3__);
1120 /* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./edit */ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/edit.tsx");
1121 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/block.json");
1122
1123 /**
1124 * External dependencies
1125 */
1126
1127
1128
1129
1130 /**
1131 * Internal dependencies
1132 */
1133
1134
1135
1136 if ((0,_woocommerce_block_settings__WEBPACK_IMPORTED_MODULE_2__.isExperimentalBuild)()) {
1137 (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_4__, {
1138 icon: {
1139 src: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"], {
1140 icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"],
1141 className: "wc-block-editor-components-block-icon"
1142 })
1143 },
1144 edit: _edit__WEBPACK_IMPORTED_MODULE_7__["default"]
1145 });
1146 }
1147
1148 /***/ }),
1149
1150 /***/ "./assets/js/settings/blocks/constants.ts":
1151 /*!************************************************!*\
1152 !*** ./assets/js/settings/blocks/constants.ts ***!
1153 \************************************************/
1154 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1155
1156 "use strict";
1157 __webpack_require__.r(__webpack_exports__);
1158 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1159 /* harmony export */ ADDITIONAL_FIELDS_KEYS: () => (/* binding */ ADDITIONAL_FIELDS_KEYS),
1160 /* harmony export */ ADDRESS_FIELDS_KEYS: () => (/* binding */ ADDRESS_FIELDS_KEYS),
1161 /* harmony export */ ALLOWED_COUNTRIES: () => (/* binding */ ALLOWED_COUNTRIES),
1162 /* harmony export */ ALLOWED_STATES: () => (/* binding */ ALLOWED_STATES),
1163 /* harmony export */ CART_PAGE_ID: () => (/* binding */ CART_PAGE_ID),
1164 /* harmony export */ CART_URL: () => (/* binding */ CART_URL),
1165 /* harmony export */ CHECKOUT_PAGE_ID: () => (/* binding */ CHECKOUT_PAGE_ID),
1166 /* harmony export */ CHECKOUT_URL: () => (/* binding */ CHECKOUT_URL),
1167 /* harmony export */ CONTACT_FIELDS_KEYS: () => (/* binding */ CONTACT_FIELDS_KEYS),
1168 /* harmony export */ COUNTRY_LOCALE: () => (/* binding */ COUNTRY_LOCALE),
1169 /* harmony export */ LOCAL_PICKUP_ENABLED: () => (/* binding */ LOCAL_PICKUP_ENABLED),
1170 /* harmony export */ LOGIN_URL: () => (/* binding */ LOGIN_URL),
1171 /* harmony export */ PRIVACY_PAGE_NAME: () => (/* binding */ PRIVACY_PAGE_NAME),
1172 /* harmony export */ PRIVACY_URL: () => (/* binding */ PRIVACY_URL),
1173 /* harmony export */ SHIPPING_COUNTRIES: () => (/* binding */ SHIPPING_COUNTRIES),
1174 /* harmony export */ SHIPPING_STATES: () => (/* binding */ SHIPPING_STATES),
1175 /* harmony export */ SHOP_URL: () => (/* binding */ SHOP_URL),
1176 /* harmony export */ TERMS_PAGE_NAME: () => (/* binding */ TERMS_PAGE_NAME),
1177 /* harmony export */ TERMS_URL: () => (/* binding */ TERMS_URL),
1178 /* harmony export */ WC_BLOCKS_BUILD_URL: () => (/* binding */ WC_BLOCKS_BUILD_URL),
1179 /* harmony export */ WC_BLOCKS_IMAGE_URL: () => (/* binding */ WC_BLOCKS_IMAGE_URL),
1180 /* harmony export */ WC_BLOCKS_PHASE: () => (/* binding */ WC_BLOCKS_PHASE),
1181 /* harmony export */ blocksConfig: () => (/* binding */ blocksConfig)
1182 /* harmony export */ });
1183 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @woocommerce/settings */ "@woocommerce/settings");
1184 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__);
1185 var _STORE_PAGES$shop, _STORE_PAGES$checkout, _STORE_PAGES$checkout2, _STORE_PAGES$privacy, _STORE_PAGES$privacy2, _STORE_PAGES$terms, _STORE_PAGES$terms2, _STORE_PAGES$cart, _STORE_PAGES$cart2, _STORE_PAGES$myaccoun;
1186 /**
1187 * External dependencies
1188 */
1189
1190 const blocksConfig = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('wcBlocksConfig', {
1191 buildPhase: 1,
1192 pluginUrl: '',
1193 productCount: 0,
1194 defaultAvatar: '',
1195 restApiRoutes: {},
1196 wordCountType: 'words'
1197 });
1198 const WC_BLOCKS_IMAGE_URL = blocksConfig.pluginUrl + 'assets/images/';
1199 const WC_BLOCKS_BUILD_URL = blocksConfig.pluginUrl + 'assets/client/blocks/';
1200 const WC_BLOCKS_PHASE = blocksConfig.buildPhase;
1201 const SHOP_URL = (_STORE_PAGES$shop = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.shop) === null || _STORE_PAGES$shop === void 0 ? void 0 : _STORE_PAGES$shop.permalink;
1202 const CHECKOUT_PAGE_ID = (_STORE_PAGES$checkout = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.checkout) === null || _STORE_PAGES$checkout === void 0 ? void 0 : _STORE_PAGES$checkout.id;
1203 const CHECKOUT_URL = (_STORE_PAGES$checkout2 = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.checkout) === null || _STORE_PAGES$checkout2 === void 0 ? void 0 : _STORE_PAGES$checkout2.permalink;
1204 const PRIVACY_URL = (_STORE_PAGES$privacy = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.privacy) === null || _STORE_PAGES$privacy === void 0 ? void 0 : _STORE_PAGES$privacy.permalink;
1205 const PRIVACY_PAGE_NAME = (_STORE_PAGES$privacy2 = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.privacy) === null || _STORE_PAGES$privacy2 === void 0 ? void 0 : _STORE_PAGES$privacy2.title;
1206 const TERMS_URL = (_STORE_PAGES$terms = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.terms) === null || _STORE_PAGES$terms === void 0 ? void 0 : _STORE_PAGES$terms.permalink;
1207 const TERMS_PAGE_NAME = (_STORE_PAGES$terms2 = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.terms) === null || _STORE_PAGES$terms2 === void 0 ? void 0 : _STORE_PAGES$terms2.title;
1208 const CART_PAGE_ID = (_STORE_PAGES$cart = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.cart) === null || _STORE_PAGES$cart === void 0 ? void 0 : _STORE_PAGES$cart.id;
1209 const CART_URL = (_STORE_PAGES$cart2 = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.cart) === null || _STORE_PAGES$cart2 === void 0 ? void 0 : _STORE_PAGES$cart2.permalink;
1210 const LOGIN_URL = (_STORE_PAGES$myaccoun = _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.myaccount) !== null && _STORE_PAGES$myaccoun !== void 0 && _STORE_PAGES$myaccoun.permalink ? _woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.STORE_PAGES.myaccount.permalink : (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('wpLoginUrl', '/wp-login.php');
1211 const LOCAL_PICKUP_ENABLED = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('localPickupEnabled', false);
1212 // Contains country names.
1213 const countries = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('countries', {});
1214
1215 // Contains country settings.
1216 const countryData = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('countryData', {});
1217 const ALLOWED_COUNTRIES = Object.fromEntries(Object.keys(countryData).filter(countryCode => {
1218 return countryData[countryCode].allowBilling === true;
1219 }).map(countryCode => {
1220 return [countryCode, countries[countryCode] || ''];
1221 }));
1222 const ALLOWED_STATES = Object.fromEntries(Object.keys(countryData).filter(countryCode => {
1223 return countryData[countryCode].allowBilling === true;
1224 }).map(countryCode => {
1225 return [countryCode, countryData[countryCode].states || []];
1226 }));
1227 const SHIPPING_COUNTRIES = Object.fromEntries(Object.keys(countryData).filter(countryCode => {
1228 return countryData[countryCode].allowShipping === true;
1229 }).map(countryCode => {
1230 return [countryCode, countries[countryCode] || ''];
1231 }));
1232 const SHIPPING_STATES = Object.fromEntries(Object.keys(countryData).filter(countryCode => {
1233 return countryData[countryCode].allowShipping === true;
1234 }).map(countryCode => {
1235 return [countryCode, countryData[countryCode].states || []];
1236 }));
1237 const COUNTRY_LOCALE = Object.fromEntries(Object.keys(countryData).map(countryCode => {
1238 return [countryCode, countryData[countryCode].locale || []];
1239 }));
1240 const defaultFieldsLocations = {
1241 address: ['first_name', 'last_name', 'company', 'address_1', 'address_2', 'city', 'postcode', 'country', 'state', 'phone'],
1242 contact: ['email'],
1243 additional: []
1244 };
1245 const ADDRESS_FIELDS_KEYS = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('addressFieldsLocations', defaultFieldsLocations).address;
1246 const CONTACT_FIELDS_KEYS = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('addressFieldsLocations', defaultFieldsLocations).contact;
1247 const ADDITIONAL_FIELDS_KEYS = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_0__.getSetting)('addressFieldsLocations', defaultFieldsLocations).additional;
1248
1249 /***/ }),
1250
1251 /***/ "./assets/js/settings/blocks/feature-flags.ts":
1252 /*!****************************************************!*\
1253 !*** ./assets/js/settings/blocks/feature-flags.ts ***!
1254 \****************************************************/
1255 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1256
1257 "use strict";
1258 __webpack_require__.r(__webpack_exports__);
1259 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1260 /* harmony export */ isExperimentalBuild: () => (/* binding */ isExperimentalBuild),
1261 /* harmony export */ isFeaturePluginBuild: () => (/* binding */ isFeaturePluginBuild),
1262 /* harmony export */ registerExperimentalBlockType: () => (/* binding */ registerExperimentalBlockType),
1263 /* harmony export */ registerFeaturePluginBlockType: () => (/* binding */ registerFeaturePluginBlockType)
1264 /* harmony export */ });
1265 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
1266 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
1267 /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ "./assets/js/settings/blocks/constants.ts");
1268 /**
1269 * External dependencies
1270 */
1271
1272 /**
1273 * Internal dependencies
1274 */
1275
1276
1277 /**
1278 * Registers a new experimental block provided a unique name and an object defining its
1279 * behavior. Once registered, the block is made available as an option to any
1280 * editor interface where blocks are implemented.
1281 */
1282 const registerExperimentalBlockType = (blockNameOrMetadata, settings) => {
1283 if (_constants__WEBPACK_IMPORTED_MODULE_1__.WC_BLOCKS_PHASE > 2) {
1284 return (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(blockNameOrMetadata, settings);
1285 }
1286 };
1287
1288 /**
1289 * Registers a new feature plugin block provided a unique name and an object
1290 * defining its behavior. Once registered, the block is made available as an
1291 * option to any editor interface where blocks are implemented.
1292 */
1293 const registerFeaturePluginBlockType = (blockNameOrMetadata, settings) => {
1294 if (_constants__WEBPACK_IMPORTED_MODULE_1__.WC_BLOCKS_PHASE > 1) {
1295 return (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(blockNameOrMetadata, settings);
1296 }
1297 };
1298
1299 /**
1300 * Checks if we're executing the code in an experimental build mode.
1301 *
1302 * @return {boolean} True if this is an experimental build, false otherwise.
1303 */
1304 const isExperimentalBuild = () => _constants__WEBPACK_IMPORTED_MODULE_1__.WC_BLOCKS_PHASE > 2;
1305
1306 /**
1307 * Checks if we're executing the code in an feature plugin or experimental build mode.
1308 *
1309 * @return {boolean} True if this is an experimental or feature plugin build, false otherwise.
1310 */
1311 const isFeaturePluginBuild = () => _constants__WEBPACK_IMPORTED_MODULE_1__.WC_BLOCKS_PHASE > 1;
1312
1313 /***/ }),
1314
1315 /***/ "./assets/js/settings/blocks/index.ts":
1316 /*!********************************************!*\
1317 !*** ./assets/js/settings/blocks/index.ts ***!
1318 \********************************************/
1319 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1320
1321 "use strict";
1322 __webpack_require__.r(__webpack_exports__);
1323 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1324 /* harmony export */ ADDITIONAL_FIELDS_KEYS: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.ADDITIONAL_FIELDS_KEYS),
1325 /* harmony export */ ADDRESS_FIELDS_KEYS: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.ADDRESS_FIELDS_KEYS),
1326 /* harmony export */ ALLOWED_COUNTRIES: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.ALLOWED_COUNTRIES),
1327 /* harmony export */ ALLOWED_STATES: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.ALLOWED_STATES),
1328 /* harmony export */ CART_PAGE_ID: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.CART_PAGE_ID),
1329 /* harmony export */ CART_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.CART_URL),
1330 /* harmony export */ CHECKOUT_PAGE_ID: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.CHECKOUT_PAGE_ID),
1331 /* harmony export */ CHECKOUT_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.CHECKOUT_URL),
1332 /* harmony export */ CONTACT_FIELDS_KEYS: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.CONTACT_FIELDS_KEYS),
1333 /* harmony export */ COUNTRY_LOCALE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.COUNTRY_LOCALE),
1334 /* harmony export */ LOCAL_PICKUP_ENABLED: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.LOCAL_PICKUP_ENABLED),
1335 /* harmony export */ LOGIN_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.LOGIN_URL),
1336 /* harmony export */ PRIVACY_PAGE_NAME: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.PRIVACY_PAGE_NAME),
1337 /* harmony export */ PRIVACY_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.PRIVACY_URL),
1338 /* harmony export */ SHIPPING_COUNTRIES: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.SHIPPING_COUNTRIES),
1339 /* harmony export */ SHIPPING_STATES: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.SHIPPING_STATES),
1340 /* harmony export */ SHOP_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.SHOP_URL),
1341 /* harmony export */ TERMS_PAGE_NAME: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.TERMS_PAGE_NAME),
1342 /* harmony export */ TERMS_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.TERMS_URL),
1343 /* harmony export */ WC_BLOCKS_BUILD_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.WC_BLOCKS_BUILD_URL),
1344 /* harmony export */ WC_BLOCKS_IMAGE_URL: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.WC_BLOCKS_IMAGE_URL),
1345 /* harmony export */ WC_BLOCKS_PHASE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.WC_BLOCKS_PHASE),
1346 /* harmony export */ blocksConfig: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.blocksConfig),
1347 /* harmony export */ isExperimentalBuild: () => (/* reexport safe */ _feature_flags__WEBPACK_IMPORTED_MODULE_1__.isExperimentalBuild),
1348 /* harmony export */ isFeaturePluginBuild: () => (/* reexport safe */ _feature_flags__WEBPACK_IMPORTED_MODULE_1__.isFeaturePluginBuild),
1349 /* harmony export */ registerExperimentalBlockType: () => (/* reexport safe */ _feature_flags__WEBPACK_IMPORTED_MODULE_1__.registerExperimentalBlockType),
1350 /* harmony export */ registerFeaturePluginBlockType: () => (/* reexport safe */ _feature_flags__WEBPACK_IMPORTED_MODULE_1__.registerFeaturePluginBlockType)
1351 /* harmony export */ });
1352 /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ "./assets/js/settings/blocks/constants.ts");
1353 /* harmony import */ var _feature_flags__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./feature-flags */ "./assets/js/settings/blocks/feature-flags.ts");
1354 /**
1355 * Internal dependencies
1356 */
1357
1358
1359
1360 /***/ }),
1361
1362 /***/ "./assets/js/types/type-guards/error.ts":
1363 /*!**********************************************!*\
1364 !*** ./assets/js/types/type-guards/error.ts ***!
1365 \**********************************************/
1366 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1367
1368 "use strict";
1369 __webpack_require__.r(__webpack_exports__);
1370 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1371 /* harmony export */ isError: () => (/* binding */ isError)
1372 /* harmony export */ });
1373 const isError = term => {
1374 return term instanceof Error;
1375 };
1376
1377 /***/ }),
1378
1379 /***/ "./assets/js/types/type-guards/null.ts":
1380 /*!*********************************************!*\
1381 !*** ./assets/js/types/type-guards/null.ts ***!
1382 \*********************************************/
1383 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1384
1385 "use strict";
1386 __webpack_require__.r(__webpack_exports__);
1387 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1388 /* harmony export */ isNull: () => (/* binding */ isNull)
1389 /* harmony export */ });
1390 const isNull = term => {
1391 return term === null;
1392 };
1393
1394 /***/ }),
1395
1396 /***/ "./assets/js/types/type-guards/object.ts":
1397 /*!***********************************************!*\
1398 !*** ./assets/js/types/type-guards/object.ts ***!
1399 \***********************************************/
1400 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1401
1402 "use strict";
1403 __webpack_require__.r(__webpack_exports__);
1404 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1405 /* harmony export */ isEmptyObject: () => (/* binding */ isEmptyObject),
1406 /* harmony export */ isObject: () => (/* binding */ isObject),
1407 /* harmony export */ objectHasProp: () => (/* binding */ objectHasProp)
1408 /* harmony export */ });
1409 /* harmony import */ var _null__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./null */ "./assets/js/types/type-guards/null.ts");
1410 /**
1411 * Internal dependencies
1412 */
1413
1414
1415 const isObject = term => {
1416 return !(0,_null__WEBPACK_IMPORTED_MODULE_0__.isNull)(term) && term instanceof Object && term.constructor === Object;
1417 };
1418 function objectHasProp(target, property) {
1419 // The `in` operator throws a `TypeError` for non-object values.
1420 return isObject(target) && property in target;
1421 }
1422 const isEmptyObject = object => {
1423 return Object.keys(object).length === 0;
1424 };
1425
1426 /***/ }),
1427
1428 /***/ "./assets/js/base/components/filter-element-label/style.scss":
1429 /*!*******************************************************************!*\
1430 !*** ./assets/js/base/components/filter-element-label/style.scss ***!
1431 \*******************************************************************/
1432 /***/ (() => {
1433
1434
1435
1436 /***/ }),
1437
1438 /***/ "./assets/js/base/components/form-token-field/style.scss":
1439 /*!***************************************************************!*\
1440 !*** ./assets/js/base/components/form-token-field/style.scss ***!
1441 \***************************************************************/
1442 /***/ (() => {
1443
1444
1445
1446 /***/ }),
1447
1448 /***/ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/style.scss":
1449 /*!**********************************************************************************!*\
1450 !*** ./assets/js/blocks/collection-filters/inner-blocks/stock-filter/style.scss ***!
1451 \**********************************************************************************/
1452 /***/ (() => {
1453
1454
1455
1456 /***/ }),
1457
1458 /***/ "react":
1459 /*!************************!*\
1460 !*** external "React" ***!
1461 \************************/
1462 /***/ ((module) => {
1463
1464 "use strict";
1465 module.exports = window["React"];
1466
1467 /***/ }),
1468
1469 /***/ "lodash":
1470 /*!*************************!*\
1471 !*** external "lodash" ***!
1472 \*************************/
1473 /***/ ((module) => {
1474
1475 "use strict";
1476 module.exports = window["lodash"];
1477
1478 /***/ }),
1479
1480 /***/ "@woocommerce/blocks-components":
1481 /*!******************************************!*\
1482 !*** external ["wc","blocksComponents"] ***!
1483 \******************************************/
1484 /***/ ((module) => {
1485
1486 "use strict";
1487 module.exports = window["wc"]["blocksComponents"];
1488
1489 /***/ }),
1490
1491 /***/ "@woocommerce/block-data":
1492 /*!**************************************!*\
1493 !*** external ["wc","wcBlocksData"] ***!
1494 \**************************************/
1495 /***/ ((module) => {
1496
1497 "use strict";
1498 module.exports = window["wc"]["wcBlocksData"];
1499
1500 /***/ }),
1501
1502 /***/ "@woocommerce/settings":
1503 /*!************************************!*\
1504 !*** external ["wc","wcSettings"] ***!
1505 \************************************/
1506 /***/ ((module) => {
1507
1508 "use strict";
1509 module.exports = window["wc"]["wcSettings"];
1510
1511 /***/ }),
1512
1513 /***/ "@wordpress/a11y":
1514 /*!******************************!*\
1515 !*** external ["wp","a11y"] ***!
1516 \******************************/
1517 /***/ ((module) => {
1518
1519 "use strict";
1520 module.exports = window["wp"]["a11y"];
1521
1522 /***/ }),
1523
1524 /***/ "@wordpress/block-editor":
1525 /*!*************************************!*\
1526 !*** external ["wp","blockEditor"] ***!
1527 \*************************************/
1528 /***/ ((module) => {
1529
1530 "use strict";
1531 module.exports = window["wp"]["blockEditor"];
1532
1533 /***/ }),
1534
1535 /***/ "@wordpress/blocks":
1536 /*!********************************!*\
1537 !*** external ["wp","blocks"] ***!
1538 \********************************/
1539 /***/ ((module) => {
1540
1541 "use strict";
1542 module.exports = window["wp"]["blocks"];
1543
1544 /***/ }),
1545
1546 /***/ "@wordpress/components":
1547 /*!************************************!*\
1548 !*** external ["wp","components"] ***!
1549 \************************************/
1550 /***/ ((module) => {
1551
1552 "use strict";
1553 module.exports = window["wp"]["components"];
1554
1555 /***/ }),
1556
1557 /***/ "@wordpress/compose":
1558 /*!*********************************!*\
1559 !*** external ["wp","compose"] ***!
1560 \*********************************/
1561 /***/ ((module) => {
1562
1563 "use strict";
1564 module.exports = window["wp"]["compose"];
1565
1566 /***/ }),
1567
1568 /***/ "@wordpress/data":
1569 /*!******************************!*\
1570 !*** external ["wp","data"] ***!
1571 \******************************/
1572 /***/ ((module) => {
1573
1574 "use strict";
1575 module.exports = window["wp"]["data"];
1576
1577 /***/ }),
1578
1579 /***/ "@wordpress/deprecated":
1580 /*!************************************!*\
1581 !*** external ["wp","deprecated"] ***!
1582 \************************************/
1583 /***/ ((module) => {
1584
1585 "use strict";
1586 module.exports = window["wp"]["deprecated"];
1587
1588 /***/ }),
1589
1590 /***/ "@wordpress/dom":
1591 /*!*****************************!*\
1592 !*** external ["wp","dom"] ***!
1593 \*****************************/
1594 /***/ ((module) => {
1595
1596 "use strict";
1597 module.exports = window["wp"]["dom"];
1598
1599 /***/ }),
1600
1601 /***/ "@wordpress/element":
1602 /*!*********************************!*\
1603 !*** external ["wp","element"] ***!
1604 \*********************************/
1605 /***/ ((module) => {
1606
1607 "use strict";
1608 module.exports = window["wp"]["element"];
1609
1610 /***/ }),
1611
1612 /***/ "@wordpress/i18n":
1613 /*!******************************!*\
1614 !*** external ["wp","i18n"] ***!
1615 \******************************/
1616 /***/ ((module) => {
1617
1618 "use strict";
1619 module.exports = window["wp"]["i18n"];
1620
1621 /***/ }),
1622
1623 /***/ "@wordpress/is-shallow-equal":
1624 /*!****************************************!*\
1625 !*** external ["wp","isShallowEqual"] ***!
1626 \****************************************/
1627 /***/ ((module) => {
1628
1629 "use strict";
1630 module.exports = window["wp"]["isShallowEqual"];
1631
1632 /***/ }),
1633
1634 /***/ "@wordpress/keycodes":
1635 /*!**********************************!*\
1636 !*** external ["wp","keycodes"] ***!
1637 \**********************************/
1638 /***/ ((module) => {
1639
1640 "use strict";
1641 module.exports = window["wp"]["keycodes"];
1642
1643 /***/ }),
1644
1645 /***/ "@wordpress/primitives":
1646 /*!************************************!*\
1647 !*** external ["wp","primitives"] ***!
1648 \************************************/
1649 /***/ ((module) => {
1650
1651 "use strict";
1652 module.exports = window["wp"]["primitives"];
1653
1654 /***/ }),
1655
1656 /***/ "@wordpress/warning":
1657 /*!*********************************!*\
1658 !*** external ["wp","warning"] ***!
1659 \*********************************/
1660 /***/ ((module) => {
1661
1662 "use strict";
1663 module.exports = window["wp"]["warning"];
1664
1665 /***/ }),
1666
1667 /***/ "./assets/js/blocks/collection-filters/inner-blocks/stock-filter/block.json":
1668 /*!**********************************************************************************!*\
1669 !*** ./assets/js/blocks/collection-filters/inner-blocks/stock-filter/block.json ***!
1670 \**********************************************************************************/
1671 /***/ ((module) => {
1672
1673 "use strict";
1674 module.exports = JSON.parse('{"name":"woocommerce/collection-stock-filter","version":"1.0.0","title":"Stock Filter","description":"Enable customers to filter the product collection by stock status.","category":"woocommerce","keywords":["WooCommerce","filter","stock"],"supports":{"interactivity":true,"html":false,"multiple":false},"attributes":{"className":{"type":"string","default":""},"showCounts":{"type":"boolean","default":false},"displayStyle":{"type":"string","default":"list"},"selectType":{"type":"string","default":"multiple"},"isPreview":{"type":"boolean","default":false},"queryParam":{"type":"object","default":{"calculate_stock_status_counts":"true"}}},"usesContext":["collectionData"],"ancestor":["woocommerce/collection-filters"],"textdomain":"woocommerce","apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json"}');
1675
1676 /***/ })
1677
1678 /******/ });
1679 /************************************************************************/
1680 /******/ // The module cache
1681 /******/ var __webpack_module_cache__ = {};
1682 /******/
1683 /******/ // The require function
1684 /******/ function __webpack_require__(moduleId) {
1685 /******/ // Check if module is in cache
1686 /******/ var cachedModule = __webpack_module_cache__[moduleId];
1687 /******/ if (cachedModule !== undefined) {
1688 /******/ return cachedModule.exports;
1689 /******/ }
1690 /******/ // Create a new module (and put it into the cache)
1691 /******/ var module = __webpack_module_cache__[moduleId] = {
1692 /******/ // no module.id needed
1693 /******/ // no module.loaded needed
1694 /******/ exports: {}
1695 /******/ };
1696 /******/
1697 /******/ // Execute the module function
1698 /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
1699 /******/
1700 /******/ // Return the exports of the module
1701 /******/ return module.exports;
1702 /******/ }
1703 /******/
1704 /******/ // expose the modules object (__webpack_modules__)
1705 /******/ __webpack_require__.m = __webpack_modules__;
1706 /******/
1707 /************************************************************************/
1708 /******/ /* webpack/runtime/chunk loaded */
1709 /******/ (() => {
1710 /******/ var deferred = [];
1711 /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
1712 /******/ if(chunkIds) {
1713 /******/ priority = priority || 0;
1714 /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
1715 /******/ deferred[i] = [chunkIds, fn, priority];
1716 /******/ return;
1717 /******/ }
1718 /******/ var notFulfilled = Infinity;
1719 /******/ for (var i = 0; i < deferred.length; i++) {
1720 /******/ var [chunkIds, fn, priority] = deferred[i];
1721 /******/ var fulfilled = true;
1722 /******/ for (var j = 0; j < chunkIds.length; j++) {
1723 /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
1724 /******/ chunkIds.splice(j--, 1);
1725 /******/ } else {
1726 /******/ fulfilled = false;
1727 /******/ if(priority < notFulfilled) notFulfilled = priority;
1728 /******/ }
1729 /******/ }
1730 /******/ if(fulfilled) {
1731 /******/ deferred.splice(i--, 1)
1732 /******/ var r = fn();
1733 /******/ if (r !== undefined) result = r;
1734 /******/ }
1735 /******/ }
1736 /******/ return result;
1737 /******/ };
1738 /******/ })();
1739 /******/
1740 /******/ /* webpack/runtime/compat get default export */
1741 /******/ (() => {
1742 /******/ // getDefaultExport function for compatibility with non-harmony modules
1743 /******/ __webpack_require__.n = (module) => {
1744 /******/ var getter = module && module.__esModule ?
1745 /******/ () => (module['default']) :
1746 /******/ () => (module);
1747 /******/ __webpack_require__.d(getter, { a: getter });
1748 /******/ return getter;
1749 /******/ };
1750 /******/ })();
1751 /******/
1752 /******/ /* webpack/runtime/define property getters */
1753 /******/ (() => {
1754 /******/ // define getter functions for harmony exports
1755 /******/ __webpack_require__.d = (exports, definition) => {
1756 /******/ for(var key in definition) {
1757 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1758 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1759 /******/ }
1760 /******/ }
1761 /******/ };
1762 /******/ })();
1763 /******/
1764 /******/ /* webpack/runtime/global */
1765 /******/ (() => {
1766 /******/ __webpack_require__.g = (function() {
1767 /******/ if (typeof globalThis === 'object') return globalThis;
1768 /******/ try {
1769 /******/ return this || new Function('return this')();
1770 /******/ } catch (e) {
1771 /******/ if (typeof window === 'object') return window;
1772 /******/ }
1773 /******/ })();
1774 /******/ })();
1775 /******/
1776 /******/ /* webpack/runtime/hasOwnProperty shorthand */
1777 /******/ (() => {
1778 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1779 /******/ })();
1780 /******/
1781 /******/ /* webpack/runtime/make namespace object */
1782 /******/ (() => {
1783 /******/ // define __esModule on exports
1784 /******/ __webpack_require__.r = (exports) => {
1785 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1786 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1787 /******/ }
1788 /******/ Object.defineProperty(exports, '__esModule', { value: true });
1789 /******/ };
1790 /******/ })();
1791 /******/
1792 /******/ /* webpack/runtime/jsonp chunk loading */
1793 /******/ (() => {
1794 /******/ // no baseURI
1795 /******/
1796 /******/ // object to store loaded and loading chunks
1797 /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
1798 /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
1799 /******/ var installedChunks = {
1800 /******/ "collection-stock-filter": 0
1801 /******/ };
1802 /******/
1803 /******/ // no chunk on demand loading
1804 /******/
1805 /******/ // no prefetching
1806 /******/
1807 /******/ // no preloaded
1808 /******/
1809 /******/ // no HMR
1810 /******/
1811 /******/ // no HMR manifest
1812 /******/
1813 /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
1814 /******/
1815 /******/ // install a JSONP callback for chunk loading
1816 /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
1817 /******/ var [chunkIds, moreModules, runtime] = data;
1818 /******/ // add "moreModules" to the modules object,
1819 /******/ // then flag all "chunkIds" as loaded and fire callback
1820 /******/ var moduleId, chunkId, i = 0;
1821 /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
1822 /******/ for(moduleId in moreModules) {
1823 /******/ if(__webpack_require__.o(moreModules, moduleId)) {
1824 /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
1825 /******/ }
1826 /******/ }
1827 /******/ if(runtime) var result = runtime(__webpack_require__);
1828 /******/ }
1829 /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
1830 /******/ for(;i < chunkIds.length; i++) {
1831 /******/ chunkId = chunkIds[i];
1832 /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
1833 /******/ installedChunks[chunkId][0]();
1834 /******/ }
1835 /******/ installedChunks[chunkId] = 0;
1836 /******/ }
1837 /******/ return __webpack_require__.O(result);
1838 /******/ }
1839 /******/
1840 /******/ var chunkLoadingGlobal = self["webpackChunkwebpackWcBlocksJsonp"] = self["webpackChunkwebpackWcBlocksJsonp"] || [];
1841 /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
1842 /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
1843 /******/ })();
1844 /******/
1845 /************************************************************************/
1846 /******/
1847 /******/ // startup
1848 /******/ // Load entry module and return exports
1849 /******/ // This entry module depends on other loaded chunks and execution need to be delayed
1850 /******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["wc-blocks-vendors"], () => (__webpack_require__("./assets/js/blocks/collection-filters/inner-blocks/stock-filter/index.tsx")))
1851 /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
1852 /******/ ((this.wc = this.wc || {}).blocks = this.wc.blocks || {})["collection-stock-filter"] = __webpack_exports__;
1853 /******/
1854 /******/ })()
1855 ;
1856 //# sourceMappingURL=collection-stock-filter.js.map