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 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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7.1.0-rc.1 3.7.1 7.1.0-rc.2 3.7.2 7.1.1
woocommerce / assets / client / blocks / rating-filter-wrapper-frontend.js
woocommerce / assets / client / blocks Last commit date
@woocommerce 2 weeks ago accordion-group 1 year ago accordion-header 1 year ago accordion-item 1 year ago accordion-panel 1 year ago active-filters 1 year ago add-to-cart-form 1 year ago add-to-cart-with-options 7 months ago add-to-cart-with-options-grouped-product-item 1 year ago add-to-cart-with-options-grouped-product-item-label 1 year ago add-to-cart-with-options-grouped-product-item-selector 1 year ago add-to-cart-with-options-grouped-product-selector 1 year ago add-to-cart-with-options-quantity-selector 3 months ago add-to-cart-with-options-variation-description 11 months ago add-to-cart-with-options-variation-selector 1 year ago add-to-cart-with-options-variation-selector-attribute 2 months ago add-to-cart-with-options-variation-selector-attribute-name 1 year ago add-to-wishlist-button 2 months ago all-products 1 year ago all-reviews 1 year ago attribute-filter 1 year ago breadcrumbs 1 year ago cart-link 5 months ago catalog-sorting 2 months ago category-description 9 months ago category-title 9 months ago checkout 5 months ago classic-shortcode 1 year ago coming-soon 1 year ago coupon-code 4 months ago customer-account 5 months ago dropdown 2 months ago email-content 7 months ago featured-category 9 months ago featured-product 9 months ago filter-wrapper 1 year ago handpicked-products 1 year ago inner-blocks 4 months ago mini-cart 2 weeks ago mini-cart-contents 5 months ago order-confirmation-additional-fields 2 years ago order-confirmation-additional-fields-wrapper 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-create-account 1 year ago order-confirmation-downloads 2 weeks 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 weeks ago order-confirmation-totals-wrapper 2 years ago page-content-wrapper 1 year ago payment-method-icons 1 year ago price-filter 1 year ago product-average-rating 1 year ago product-best-sellers 1 year ago product-button 2 weeks ago product-categories 1 year ago product-category 1 year ago product-collection 1 month ago product-collection-no-results 11 months ago product-description 1 year ago product-details 2 weeks ago product-filter-active 1 month ago product-filter-attribute 1 month ago product-filter-checkbox-list 1 month ago product-filter-chips 2 months ago product-filter-clear-button 1 month ago product-filter-price 1 month ago product-filter-price-slider 1 month ago product-filter-rating 1 month ago product-filter-removable-chips 1 month ago product-filter-status 1 month ago product-filter-taxonomy 1 month ago product-filters 1 month ago product-gallery 1 month ago product-gallery-large-image 7 months ago product-gallery-large-image-next-previous 2 weeks ago product-gallery-thumbnails 7 months ago product-image 2 weeks ago product-image-gallery 1 year ago product-meta 1 year ago product-new 1 year ago product-on-sale 1 year ago product-price 2 weeks ago product-rating 2 weeks ago product-rating-counter 2 weeks ago product-rating-stars 2 weeks ago product-results-count 9 months ago product-review-author-name 1 year ago product-review-content 1 year ago product-review-date 1 year ago product-review-form 1 year ago product-review-rating 1 year ago product-review-template 9 months ago product-reviews 1 year ago product-reviews-pagination 1 year ago product-reviews-pagination-next 4 months ago product-reviews-pagination-numbers 1 year ago product-reviews-pagination-previous 4 months ago product-reviews-title 1 year ago product-sale-badge 2 weeks ago product-sku 4 months ago product-specifications 1 year ago product-stock-indicator 11 months ago product-summary 2 weeks ago product-tag 1 year ago product-template 11 months ago product-title 2 weeks ago product-top-rated 1 year ago products-by-attribute 1 year ago rating-filter 1 year ago related-products 1 year ago reviews-by-category 1 year ago reviews-by-product 1 year ago saved-for-later 2 months ago single-product 2 months ago stock-filter 1 year ago store-notices 1 year ago wishlist 2 months ago woocommerce 1 week ago 219.js 1 month ago 991.js 1 month ago accordion-group.asset.php 1 month ago accordion-group.js 1 month ago accordion-header-style.asset.php 1 year ago accordion-header.asset.php 1 month ago accordion-header.js 1 month ago accordion-item-style.asset.php 4 months ago accordion-item.asset.php 1 month ago accordion-item.js 1 month ago accordion-panel-style.asset.php 1 year ago accordion-panel.asset.php 1 month ago accordion-panel.js 1 month ago active-filters-frontend.asset.php 1 month ago active-filters-frontend.js 1 month ago active-filters-rtl.css 1 year ago active-filters-style.asset.php 1 week ago active-filters-wrapper-frontend.js 1 month ago active-filters.asset.php 2 weeks ago active-filters.css 1 year ago active-filters.js 2 weeks ago add-to-cart-form.asset.php 2 weeks ago add-to-cart-form.js 2 weeks ago add-to-cart-with-options-grouped-product-item-label-style.asset.php 2 weeks ago add-to-cart-with-options-grouped-product-item-label.asset.php 2 weeks ago add-to-cart-with-options-grouped-product-item-label.js 2 weeks ago add-to-cart-with-options-grouped-product-item-selector-rtl.css 2 weeks ago add-to-cart-with-options-grouped-product-item-selector-style.asset.php 2 weeks ago add-to-cart-with-options-grouped-product-item-selector.asset.php 2 weeks ago add-to-cart-with-options-grouped-product-item-selector.css 2 weeks ago add-to-cart-with-options-grouped-product-item-selector.js 2 weeks ago add-to-cart-with-options-grouped-product-item-style.asset.php 2 weeks ago add-to-cart-with-options-grouped-product-item.asset.php 2 weeks ago add-to-cart-with-options-grouped-product-item.js 2 weeks ago add-to-cart-with-options-grouped-product-selector.asset.php 1 month ago add-to-cart-with-options-grouped-product-selector.js 1 month ago add-to-cart-with-options-quantity-selector.asset.php 2 weeks ago add-to-cart-with-options-quantity-selector.js 2 weeks ago add-to-cart-with-options-variation-description-style.asset.php 1 month ago add-to-cart-with-options-variation-description.asset.php 1 month ago add-to-cart-with-options-variation-description.js 1 month ago add-to-cart-with-options-variation-selector-attribute-name-style.asset.php 1 month ago add-to-cart-with-options-variation-selector-attribute-name.asset.php 1 month ago add-to-cart-with-options-variation-selector-attribute-name.js 1 month ago add-to-cart-with-options-variation-selector-attribute-rtl.css 2 months ago add-to-cart-with-options-variation-selector-attribute-style.asset.php 2 weeks ago add-to-cart-with-options-variation-selector-attribute.asset.php 2 weeks ago add-to-cart-with-options-variation-selector-attribute.css 2 months ago add-to-cart-with-options-variation-selector-attribute.js 2 weeks ago add-to-cart-with-options-variation-selector.asset.php 1 month ago add-to-cart-with-options-variation-selector.js 1 month ago add-to-cart-with-options.asset.php 2 weeks ago add-to-cart-with-options.js 2 weeks ago add-to-wishlist-button.asset.php 1 month ago add-to-wishlist-button.js 1 month ago all-products-frontend.asset.php 2 weeks ago all-products-frontend.js 2 weeks ago all-products-rtl.css 4 months ago all-products-style.asset.php 1 week ago all-products.asset.php 2 weeks ago all-products.css 4 months ago all-products.js 2 weeks ago all-reviews-rtl.css 1 year ago all-reviews-style.asset.php 1 week ago all-reviews.asset.php 2 weeks ago all-reviews.css 1 year ago all-reviews.js 2 weeks ago attribute-filter-frontend.asset.php 1 month ago attribute-filter-frontend.js 1 month ago attribute-filter-rtl.css 4 months ago attribute-filter-style.asset.php 1 week ago attribute-filter-style.js.LICENSE.txt 2 years ago attribute-filter-wrapper-frontend.js 1 month ago attribute-filter.asset.php 2 weeks ago attribute-filter.css 4 months ago attribute-filter.js 2 weeks ago blocks-checkout-events.asset.php 4 months ago blocks-checkout-events.js 4 months ago blocks-checkout.asset.php 2 weeks ago blocks-checkout.js 2 weeks ago blocks-components.asset.php 2 weeks ago blocks-components.js 2 weeks ago blocks-json.php 2 weeks ago breadcrumbs-rtl.css 1 year ago breadcrumbs-style.asset.php 1 month ago breadcrumbs.asset.php 1 month ago breadcrumbs.css 1 year ago breadcrumbs.js 1 month ago cart-frontend.asset.php 2 weeks ago cart-frontend.js 2 weeks ago cart-link-rtl.css 2 weeks ago cart-link-style.asset.php 1 week ago cart-link.asset.php 2 weeks ago cart-link.css 2 weeks ago cart-link.js 2 weeks ago cart-rtl.css 2 weeks ago cart-style.asset.php 1 week ago cart.asset.php 1 week ago cart.css 2 weeks ago cart.js 1 week ago catalog-sorting.asset.php 1 month ago catalog-sorting.js 1 month ago category-description-style.asset.php 1 month ago category-description.asset.php 1 month ago category-description.js 1 month ago category-title-style.asset.php 1 month ago category-title.asset.php 1 month ago category-title.js 1 month ago checkout-frontend.asset.php 2 weeks ago checkout-frontend.js 2 weeks ago checkout-rtl.css 2 weeks ago checkout-style.asset.php 1 week ago checkout.asset.php 2 weeks ago checkout.css 2 weeks ago checkout.js 2 weeks ago classic-shortcode-rtl.css 1 year ago classic-shortcode-style.asset.php 1 week ago classic-shortcode.asset.php 1 month ago classic-shortcode.css 1 year ago classic-shortcode.js 1 month ago coming-soon-rtl.css 2 weeks ago coming-soon-style.asset.php 2 weeks ago coming-soon.asset.php 1 month ago coming-soon.css 2 weeks ago coming-soon.js 1 month ago coupon-code-style.asset.php 4 months ago coupon-code.asset.php 4 months ago coupon-code.js 4 months ago customer-account.asset.php 2 weeks ago customer-account.js 2 weeks ago dependency-detection.js 5 months ago dropdown.asset.php 1 month ago dropdown.js 1 month ago email-content-style.asset.php 4 months ago email-content.asset.php 4 months ago email-content.js 4 months ago featured-category-rtl.css 9 months ago featured-category-style.asset.php 1 week ago featured-category.asset.php 2 weeks ago featured-category.css 9 months ago featured-category.js 2 weeks ago featured-product-rtl.css 9 months ago featured-product-style.asset.php 1 week ago featured-product.asset.php 2 weeks ago featured-product.css 9 months ago featured-product.js 2 weeks ago filter-wrapper-frontend.asset.php 1 month ago filter-wrapper-frontend.js 1 month ago filter-wrapper.asset.php 2 weeks ago filter-wrapper.js 2 weeks ago handpicked-products-style.asset.php 1 week ago handpicked-products.asset.php 1 month ago handpicked-products.js 1 month ago interactivity-blocks-frontend-assets.php 1 week ago legacy-template-rtl.css 11 months ago legacy-template-style.asset.php 1 week ago legacy-template.asset.php 1 week ago legacy-template.css 11 months ago legacy-template.js 1 week ago mini-cart-contents-rtl.css 2 weeks ago mini-cart-contents-style.asset.php 1 week ago mini-cart-contents.asset.php 2 weeks ago mini-cart-contents.css 2 weeks ago mini-cart-contents.js 2 weeks ago mini-cart.asset.php 2 weeks ago mini-cart.js 2 weeks ago order-confirmation-additional-fields-rtl.css 2 weeks ago order-confirmation-additional-fields-style.asset.php 2 weeks ago order-confirmation-additional-fields-wrapper-rtl.css 1 year ago order-confirmation-additional-fields-wrapper-style.asset.php 1 month ago order-confirmation-additional-fields-wrapper.asset.php 1 month ago order-confirmation-additional-fields-wrapper.css 1 year ago order-confirmation-additional-fields-wrapper.js 1 month ago order-confirmation-additional-fields.asset.php 1 month ago order-confirmation-additional-fields.css 2 weeks ago order-confirmation-additional-fields.js 1 month ago order-confirmation-additional-information-rtl.css 2 weeks ago order-confirmation-additional-information-style.asset.php 2 weeks ago order-confirmation-additional-information.asset.php 1 month ago order-confirmation-additional-information.css 2 weeks ago order-confirmation-additional-information.js 1 month ago order-confirmation-billing-address-rtl.css 2 weeks ago order-confirmation-billing-address-style.asset.php 2 weeks ago order-confirmation-billing-address.asset.php 1 month ago order-confirmation-billing-address.css 2 weeks ago order-confirmation-billing-address.js 1 month ago order-confirmation-billing-wrapper-style.asset.php 1 month ago order-confirmation-billing-wrapper.asset.php 1 month ago order-confirmation-billing-wrapper.js 1 month ago order-confirmation-create-account-frontend.asset.php 1 month ago order-confirmation-create-account-frontend.js 1 month ago order-confirmation-create-account-rtl.css 2 weeks ago order-confirmation-create-account-style.asset.php 1 week ago order-confirmation-create-account.asset.php 2 weeks ago order-confirmation-create-account.css 2 weeks ago order-confirmation-create-account.js 2 weeks ago order-confirmation-downloads-rtl.css 2 weeks ago order-confirmation-downloads-style.asset.php 2 weeks ago order-confirmation-downloads-wrapper-style.asset.php 1 week ago order-confirmation-downloads-wrapper.asset.php 1 month ago order-confirmation-downloads-wrapper.js 1 month ago order-confirmation-downloads.asset.php 1 month ago order-confirmation-downloads.css 2 weeks ago order-confirmation-downloads.js 1 month ago order-confirmation-shipping-address-rtl.css 2 weeks ago order-confirmation-shipping-address-style.asset.php 2 weeks ago order-confirmation-shipping-address.asset.php 1 month ago order-confirmation-shipping-address.css 2 weeks ago order-confirmation-shipping-address.js 1 month ago order-confirmation-shipping-wrapper-style.asset.php 1 month ago order-confirmation-shipping-wrapper.asset.php 1 month ago order-confirmation-shipping-wrapper.js 1 month ago order-confirmation-status-rtl.css 1 year ago order-confirmation-status-style.asset.php 1 month ago order-confirmation-status.asset.php 1 month ago order-confirmation-status.css 1 year ago order-confirmation-status.js 1 month ago order-confirmation-summary-rtl.css 1 year ago order-confirmation-summary-style.asset.php 1 month ago order-confirmation-summary.asset.php 1 month ago order-confirmation-summary.css 1 year ago order-confirmation-summary.js 1 month ago order-confirmation-totals-rtl.css 2 weeks ago order-confirmation-totals-style.asset.php 2 weeks ago order-confirmation-totals-wrapper-style.asset.php 1 month ago order-confirmation-totals-wrapper.asset.php 1 month ago order-confirmation-totals-wrapper.js 1 month ago order-confirmation-totals.asset.php 1 month ago order-confirmation-totals.css 2 weeks ago order-confirmation-totals.js 1 month ago packages-style-rtl.css 2 weeks ago packages-style-style.asset.php 1 week ago packages-style-style.js.LICENSE.txt 2 weeks ago packages-style.css 2 weeks ago page-content-wrapper-style.asset.php 1 week ago page-content-wrapper.asset.php 1 month ago page-content-wrapper.js 1 month ago payment-method-icons-rtl.css 1 year ago payment-method-icons-style.asset.php 4 months ago payment-method-icons.asset.php 4 months ago payment-method-icons.css 1 year ago payment-method-icons.js 4 months ago price-filter-frontend.asset.php 1 month ago price-filter-frontend.js 1 month ago price-filter-rtl.css 1 year ago price-filter-style.asset.php 1 week ago price-filter-wrapper-frontend.js 1 month ago price-filter.asset.php 2 weeks ago price-filter.css 1 year ago price-filter.js 2 weeks ago price-format.asset.php 9 months ago price-format.js 9 months ago product-average-rating-frontend.js 1 month ago product-average-rating.js 1 month ago product-best-sellers-style.asset.php 1 week ago product-best-sellers.asset.php 1 month ago product-best-sellers.js 1 month ago product-button-frontend.js 2 weeks ago product-button-rtl.css 9 months ago product-button.css 9 months ago product-button.js 2 weeks ago product-categories-rtl.css 1 year ago product-categories-style.asset.php 1 week ago product-categories.asset.php 2 weeks ago product-categories.css 1 year ago product-categories.js 2 weeks ago product-category-style.asset.php 1 week ago product-category.asset.php 1 month ago product-category.js 1 month ago product-collection-no-results-style.asset.php 1 month ago product-collection-no-results.asset.php 1 month ago product-collection-no-results.js 1 month ago product-collection.asset.php 1 week ago product-collection.js 1 week ago product-description-style.asset.php 2 weeks ago product-description.asset.php 2 weeks ago product-description.js 2 weeks ago product-details-rtl.css 1 year ago product-details-style.asset.php 1 week ago product-details.asset.php 2 weeks ago product-details.css 1 year ago product-details.js 2 weeks ago product-filter-active.asset.php 1 month ago product-filter-active.js 1 month ago product-filter-attribute-rtl.css 1 year ago product-filter-attribute-style.asset.php 1 month ago product-filter-attribute.asset.php 1 month ago product-filter-attribute.css 1 year ago product-filter-attribute.js 1 month ago product-filter-checkbox-list.asset.php 1 month ago product-filter-checkbox-list.js 1 month ago product-filter-chips.asset.php 1 month ago product-filter-chips.js 1 month ago product-filter-clear-button-rtl.css 1 year ago product-filter-clear-button-style.asset.php 1 month ago product-filter-clear-button.asset.php 1 month ago product-filter-clear-button.css 1 year ago product-filter-clear-button.js 1 month ago product-filter-price-slider.asset.php 1 month ago product-filter-price-slider.js 1 month ago product-filter-price.asset.php 1 month ago product-filter-price.js 1 month ago product-filter-rating-rtl.css 1 year ago product-filter-rating-style.asset.php 1 month ago product-filter-rating.asset.php 1 month ago product-filter-rating.css 1 year ago product-filter-rating.js 1 month ago product-filter-removable-chips-style.asset.php 1 month ago product-filter-removable-chips.asset.php 1 month ago product-filter-removable-chips.js 1 month ago product-filter-status-rtl.css 1 year ago product-filter-status-style.asset.php 1 month ago product-filter-status.asset.php 1 month ago product-filter-status.css 1 year ago product-filter-status.js 1 month ago product-filter-taxonomy-rtl.css 1 year ago product-filter-taxonomy-style.asset.php 1 month ago product-filter-taxonomy.asset.php 1 month ago product-filter-taxonomy.css 1 year ago product-filter-taxonomy.js 1 month ago product-filters.asset.php 1 month ago product-filters.js 1 month ago product-gallery-large-image-next-previous-style.asset.php 2 weeks ago product-gallery-large-image-next-previous.asset.php 2 weeks ago product-gallery-large-image-next-previous.js 2 weeks ago product-gallery-large-image.asset.php 7 months ago product-gallery-large-image.js 7 months ago product-gallery-thumbnails-style.asset.php 2 weeks ago product-gallery-thumbnails.asset.php 2 weeks ago product-gallery-thumbnails.js 2 weeks ago product-gallery.asset.php 2 weeks ago product-gallery.js 2 weeks ago product-image-frontend.js 1 month ago product-image-gallery-rtl.css 1 year ago product-image-gallery-style.asset.php 1 week ago product-image-gallery.css 1 year ago product-image-rtl.css 1 year ago product-image.css 1 year ago product-image.js 2 weeks ago product-new-style.asset.php 1 week ago product-new.asset.php 1 month ago product-new.js 1 month ago product-on-sale-style.asset.php 1 week ago product-on-sale.asset.php 1 month ago product-on-sale.js 1 month ago product-price-frontend.js 2 weeks ago product-price-rtl.css 5 months ago product-price.css 5 months ago product-price.js 2 weeks ago product-query-rtl.css 1 year ago product-query-style.asset.php 1 week ago product-query.asset.php 2 weeks ago product-query.css 1 year ago product-query.js 2 weeks ago product-rating-counter-frontend.js 1 month ago product-rating-counter.js 1 month ago product-rating-frontend.js 1 month ago product-rating-rtl.css 1 year ago product-rating-stars-frontend.js 1 month ago product-rating-stars-rtl.css 1 year ago product-rating-stars.css 1 year ago product-rating-stars.js 1 month ago product-rating.css 1 year ago product-rating.js 1 month ago product-results-count-rtl.css 1 year ago product-results-count-style.asset.php 1 month ago product-results-count.asset.php 1 month ago product-results-count.css 1 year ago product-results-count.js 1 month ago product-review-author-name-rtl.css 1 year ago product-review-author-name-style.asset.php 1 month ago product-review-author-name.asset.php 1 month ago product-review-author-name.css 1 year ago product-review-author-name.js 1 month ago product-review-content-rtl.css 1 year ago product-review-content-style.asset.php 1 month ago product-review-content.asset.php 1 month ago product-review-content.css 1 year ago product-review-content.js 1 month ago product-review-date-rtl.css 1 year ago product-review-date-style.asset.php 1 month ago product-review-date.asset.php 1 month ago product-review-date.css 1 year ago product-review-date.js 1 month ago product-review-form.asset.php 1 month ago product-review-form.js 1 month ago product-review-rating-style.asset.php 1 month ago product-review-rating.asset.php 1 month ago product-review-rating.js 1 month ago product-review-template-rtl.css 1 year ago product-review-template-style.asset.php 1 month ago product-review-template.asset.php 1 month ago product-review-template.css 1 year ago product-review-template.js 1 month ago product-reviews-pagination-next-style.asset.php 1 month ago product-reviews-pagination-next.asset.php 1 month ago product-reviews-pagination-next.js 1 month ago product-reviews-pagination-numbers-style.asset.php 1 week ago product-reviews-pagination-numbers.asset.php 1 month ago product-reviews-pagination-numbers.js 1 month ago product-reviews-pagination-previous-style.asset.php 1 month ago product-reviews-pagination-previous.asset.php 1 month ago product-reviews-pagination-previous.js 1 month ago product-reviews-pagination-rtl.css 1 year ago product-reviews-pagination-style.asset.php 1 week ago product-reviews-pagination.asset.php 1 month ago product-reviews-pagination.css 1 year ago product-reviews-pagination.js 1 month ago product-reviews-title-rtl.css 1 year ago product-reviews-title-style.asset.php 1 month ago product-reviews-title.asset.php 1 month ago product-reviews-title.css 1 year ago product-reviews-title.js 1 month ago product-reviews.asset.php 2 weeks ago product-reviews.js 2 weeks ago product-sale-badge-frontend.js 1 month ago product-sale-badge-rtl.css 1 year ago product-sale-badge.css 1 year ago product-sale-badge.js 1 month ago product-search-rtl.css 1 year ago product-search-style.asset.php 1 week ago product-search.asset.php 2 weeks ago product-search.css 1 year ago product-search.js 2 weeks ago product-sku-frontend.js 1 month ago product-sku-rtl.css 4 months ago product-sku.css 4 months ago product-sku.js 1 month ago product-specifications-rtl.css 1 year ago product-specifications-style.asset.php 2 weeks ago product-specifications.asset.php 2 weeks ago product-specifications.css 1 year ago product-specifications.js 2 weeks ago product-stock-indicator-frontend.js 1 month ago product-stock-indicator-rtl.css 1 year ago product-stock-indicator.css 1 year ago product-stock-indicator.js 1 month ago product-summary-frontend.js 2 weeks ago product-summary-rtl.css 1 year ago product-summary.css 1 year ago product-summary.js 2 weeks ago product-tag-style.asset.php 1 week ago product-tag.asset.php 1 month ago product-tag.js 1 month ago product-template-style.asset.php 1 month ago product-template.asset.php 1 month ago product-template.js 1 month ago product-title-frontend.js 1 month ago product-title-rtl.css 1 year ago product-title.css 1 year ago product-title.js 1 month ago product-top-rated-style.asset.php 1 week ago product-top-rated.asset.php 1 month ago product-top-rated.js 1 month ago products-by-attribute-style.asset.php 1 week ago products-by-attribute.asset.php 1 month ago products-by-attribute.js 1 month ago rating-filter-frontend.asset.php 1 month ago rating-filter-frontend.js 1 month ago rating-filter-rtl.css 4 months ago rating-filter-style.asset.php 1 week ago rating-filter-style.js.LICENSE.txt 2 years ago rating-filter-wrapper-frontend.js 1 month ago rating-filter.asset.php 2 weeks ago rating-filter.css 4 months ago rating-filter.js 2 weeks ago reviews-by-category-rtl.css 1 year ago reviews-by-category-style.asset.php 1 week ago reviews-by-category.asset.php 2 weeks ago reviews-by-category.css 1 year ago reviews-by-category.js 2 weeks ago reviews-by-product-rtl.css 1 year ago reviews-by-product-style.asset.php 1 week ago reviews-by-product.asset.php 2 weeks ago reviews-by-product.css 1 year ago reviews-by-product.js 2 weeks ago reviews-frontend.asset.php 2 weeks ago reviews-frontend.js 2 weeks ago saved-for-later.asset.php 1 month ago saved-for-later.js 1 month ago single-product-rtl.css 1 year ago single-product-style.asset.php 1 week ago single-product.asset.php 2 weeks ago single-product.css 1 year ago single-product.js 2 weeks ago stock-filter-frontend.asset.php 1 month ago stock-filter-frontend.js 1 month ago stock-filter-rtl.css 4 months ago stock-filter-style.asset.php 1 week ago stock-filter-style.js.LICENSE.txt 2 years ago stock-filter-wrapper-frontend.js 1 month ago stock-filter.asset.php 2 weeks ago stock-filter.css 4 months ago stock-filter.js 2 weeks ago store-notices-rtl.css 1 month ago store-notices-style.asset.php 1 week ago store-notices.asset.php 1 month ago store-notices.css 1 month ago store-notices.js 1 month ago wc-block-library-style-rtl.css 2 weeks ago wc-block-library-style-source-style.asset.php 1 week ago wc-block-library-style-source-style.js.LICENSE.txt 2 weeks ago wc-block-library-style.css 2 weeks ago wc-block-library.asset.php 1 week ago wc-block-library.js 1 week ago wc-blocks-data.asset.php 2 weeks ago wc-blocks-data.js 2 weeks ago wc-blocks-editor-style-rtl.css 2 weeks ago wc-blocks-editor-style.css 2 weeks ago wc-blocks-frontend-vendors-frontend.asset.php 1 month ago wc-blocks-frontend-vendors-frontend.js 1 month ago wc-blocks-google-analytics.asset.php 4 months ago wc-blocks-google-analytics.js 4 months ago wc-blocks-middleware.asset.php 4 months ago wc-blocks-middleware.js 4 months ago wc-blocks-registry.asset.php 1 week ago wc-blocks-registry.js 1 week ago wc-blocks-rtl.css 2 weeks ago wc-blocks-shared-context.asset.php 9 months ago wc-blocks-shared-context.js 9 months ago wc-blocks-shared-hocs.asset.php 1 month ago wc-blocks-shared-hocs.js 1 month ago wc-blocks-style.asset.php 1 week ago wc-blocks-vendors.asset.php 1 month ago wc-blocks-vendors.js 1 month ago wc-blocks.asset.php 2 weeks ago wc-blocks.css 2 weeks ago wc-blocks.js 2 weeks ago wc-cart-checkout-base-frontend.asset.php 2 weeks ago wc-cart-checkout-base-frontend.js 2 weeks ago wc-cart-checkout-vendors-frontend.asset.php 2 weeks ago wc-cart-checkout-vendors-frontend.js 2 weeks ago wc-entities.asset.php 2 weeks ago wc-entities.js 2 weeks ago wc-payment-method-bacs.asset.php 5 months ago wc-payment-method-bacs.js 5 months ago wc-payment-method-cheque.asset.php 5 months ago wc-payment-method-cheque.js 5 months ago wc-payment-method-cod.asset.php 4 months ago wc-payment-method-cod.js 4 months ago wc-payment-method-paypal.asset.php 1 month ago wc-payment-method-paypal.js 1 month ago wc-schema-parser.asset.php 4 months ago wc-schema-parser.js 4 months ago wc-settings.asset.php 4 months ago wc-settings.js 4 months ago wc-shipping-method-pickup-location.asset.php 2 weeks ago wc-shipping-method-pickup-location.js 2 weeks ago wc-types.asset.php 2 weeks ago wc-types.js 2 weeks ago wishlist.asset.php 1 month ago wishlist.js 1 month ago
rating-filter-wrapper-frontend.js
9 lines
1 (globalThis.webpackChunkwebpackWcBlocksFrontendJsonp=globalThis.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[21],{612:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var r=s(7723),o=s(4921),n=s(4656),a=(s(7165),s(790));const l=({className:e,
2 /* translators: Reset button text for filters. */
3 label:t=(0,r.__)("Reset","woocommerce"),onClick:s,screenReaderLabel:l=(0,r.__)("Reset filter","woocommerce")})=>(0,a.jsx)("button",{className:(0,o.A)("wc-block-components-filter-reset-button",e),onClick:s,children:(0,a.jsx)(n.Label,{label:t,screenReaderLabel:l})})},427:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var r=s(7723),o=s(4921),n=s(4656),a=(s(874),s(790));const l=({className:e,isLoading:t,disabled:s,
4 /* translators: Submit button text for filters. */
5 label:l=(0,r.__)("Apply","woocommerce"),onClick:c,screenReaderLabel:i=(0,r.__)("Apply filter","woocommerce")})=>(0,a.jsx)("button",{type:"submit",className:(0,o.A)("wp-block-button__link","wc-block-filter-submit-button","wc-block-components-filter-submit-button",{"is-loading":t},e),disabled:s,onClick:c,children:(0,a.jsx)(n.Label,{label:l,screenReaderLabel:i})})},5490:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(9238),o=s(4921),n=(s(4357),s(790));const a=({className:e,style:t,suggestions:s,multiple:a=!0,saveTransform:l=e=>e.trim().replace(/\s/g,"-"),messages:c={},validateInput:i=e=>s.includes(e),label:u="",...d})=>(0,n.jsx)("div",{className:(0,o.A)("wc-blocks-components-form-token-field-wrapper",e,{"single-selection":!a}),style:t,children:(0,n.jsx)(r.A,{label:u,__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1,__experimentalValidateInput:i,saveTransform:l,maxLength:a?void 0:1,suggestions:s,messages:c,...d})})},8199:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var r=s(6087),o=s(4347),n=s(3993),a=s(1303),l=s(6151),c=s(6748),i=s(9678),u=s(154);const d=({queryAttribute:e,queryTaxonomy:t,queryPrices:s,queryStock:d,queryRating:g,queryState:m,isEditor:f=!1})=>{let p=(0,u._)();p=`${p}-collection-data`;const[y]=(0,c.dJ)(p),[_,b]=(0,c.xd)("calculate_attribute_counts",[],p),[h,w]=(0,c.xd)("calculate_taxonomy_counts",[],p),[v,x]=(0,c.xd)("calculate_price_range",null,p),[S,k]=(0,c.xd)("calculate_stock_status_counts",null,p),[C,A]=(0,c.xd)("calculate_rating_counts",null,p),j=(0,l.c)(e||{}),E=(0,l.c)(t),N=(0,l.c)(s),R=(0,l.c)(d),T=(0,l.c)(g);(0,r.useEffect)(()=>{"object"==typeof j&&Object.keys(j).length&&(_.find(e=>(0,n.objectHasProp)(j,"taxonomy")&&e.taxonomy===j.taxonomy)||b([..._,j]))},[j,_,b]),(0,r.useEffect)(()=>{E&&!h.includes(E)&&w([...h,E])},[E,h,w]),(0,r.useEffect)(()=>{v!==N&&void 0!==N&&x(N)},[N,x,v]),(0,r.useEffect)(()=>{S!==R&&void 0!==R&&k(R)},[R,k,S]),(0,r.useEffect)(()=>{C!==T&&void 0!==T&&A(T)},[T,A,C]);const[L,P]=(0,r.useState)(f),[O]=(0,o.d7)(L,200);L||P(!0);const F=(0,r.useMemo)(()=>(e=>{const t=e;return Array.isArray(e.calculate_attribute_counts)&&(t.calculate_attribute_counts=(0,a.di)(e.calculate_attribute_counts.map(({taxonomy:e,queryType:t})=>({taxonomy:e,query_type:t}))).asc(["taxonomy","query_type"])),Array.isArray(e.calculate_taxonomy_counts)&&(t.calculate_taxonomy_counts=e.calculate_taxonomy_counts),t})(y),[y]),{results:Q,isLoading:q}=(0,i.G)({namespace:"/wc/store/v1",resourceName:"products/collection-data",query:{...m,page:void 0,per_page:void 0,orderby:void 0,order:void 0,...F},shouldSelect:O});return{data:Q,isLoading:q}}},9678:(e,t,s)=>{"use strict";s.d(t,{G:()=>u});var r=s(7594),o=s(7143),n=s(6087),a=s(6151),l=s(6337),c=s(3993),i=s(7723);const u=e=>{const{namespace:t,resourceName:s,resourceValues:u=[],query:d={},shouldSelect:g=!0}=e;if(!t||!s)throw new Error("The options object must have valid values for the namespace and the resource properties.");const m=(0,n.useRef)({results:[],isLoading:!0}),f=(0,a.c)(d),p=(0,a.c)(u),y=(0,l.a)(),_=(0,o.useSelect)(e=>{if(!g)return null;const o=e(r.COLLECTIONS_STORE_KEY),n=[t,s,f,p],a=o.getCollectionError(...n);if(a)if((0,c.isError)(a))y(a);else{const e="object"==typeof a&&null!==a&&"string"==typeof a.message?a.message:(0,i.__)("Something went wrong while loading data.","woocommerce");y(new Error(e))}return{results:o.getCollection(...n),isLoading:!o.hasFinishedResolution("getCollection",n)}},[t,s,p,f,g,y]);return null!==_&&(m.current=_),m.current}},6748:(e,t,s)=>{"use strict";s.d(t,{dJ:()=>l,xd:()=>c});var r=s(7594),o=s(7143),n=s(6087),a=(s(923),s(154));const l=e=>{const t=(0,a._)();e=e||t;const s=(0,o.useSelect)(t=>t(r.QUERY_STATE_STORE_KEY).getValueForQueryContext(e,void 0),[e]),{setValueForQueryContext:l}=(0,o.useDispatch)(r.QUERY_STATE_STORE_KEY);return[s,(0,n.useCallback)(t=>{l(e,t)},[e,l])]},c=(e,t,s)=>{const l=(0,a._)();s=s||l;const c=(0,o.useSelect)(o=>o(r.QUERY_STATE_STORE_KEY).getValueForQueryKey(s,e,t),[s,e]),{setQueryValue:i}=(0,o.useDispatch)(r.QUERY_STATE_STORE_KEY);return[c,(0,n.useCallback)(t=>{i(s,e,t)},[s,e,i])]}},154:(e,t,s)=>{"use strict";s.d(t,{_:()=>n});var r=s(6087);const o=(0,r.createContext)("page"),n=()=>(0,r.useContext)(o);o.Provider},3817:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var r=s(6087);function o(e,t){const s=(0,r.useRef)();return(0,r.useEffect)(()=>{s.current===e||t&&!t(e,s.current)||(s.current=e)},[e,t]),s.current}},6151:(e,t,s)=>{"use strict";s.d(t,{c:()=>a});var r=s(6087),o=s(923),n=s.n(o);function a(e){const t=(0,r.useRef)(e);return n()(e,t.current)||(t.current=e),t.current}},3754:(e,t,s)=>{"use strict";s.d(t,{p:()=>i});var r=s(4921),o=s(3993),n=s(7356),a=s(9786);function l(e={}){const t={};return(0,a.getCSSRules)(e,{selector:""}).forEach(e=>{t[e.key]=e.value}),t}function c(e,t){return e&&t?`has-${(0,n.c)(t)}-${e}`:""}const i=e=>{const t=(e=>{const t=(0,o.isObject)(e)?e:{style:{}};let s=t.style;return(0,o.isString)(s)&&(s=JSON.parse(s)||{}),(0,o.isObject)(s)||(s={}),{...t,style:s}})(e),s=function(e){const{backgroundColor:t,textColor:s,gradient:n,style:a}=e,i=c("background-color",t),u=c("color",s),d=function(e){if(e)return`has-${e}-gradient-background`}(n),g=d||a?.color?.gradient;return{className:(0,r.A)(u,d,{[i]:!g&&!!i,"has-text-color":s||a?.color?.text,"has-background":t||a?.color?.background||n||a?.color?.gradient,"has-link-color":(0,o.isObject)(a?.elements?.link)?a?.elements?.link?.color:void 0}),style:l({color:a?.color||{}})}}(t),n=function(e){const t=e.style?.border||{};return{className:function(e){const{borderColor:t,style:s}=e,o=t?c("border-color",t):"";return(0,r.A)({"has-border-color":!!t||!!s?.border?.color,[o]:!!o})}(e),style:l({border:t})}}(t),a=function(e){return{className:void 0,style:l({spacing:e.style?.spacing||{}})}}(t),i=(e=>{const t=(0,o.isObject)(e.style.typography)?e.style.typography:{},s=(0,o.isString)(t.fontFamily)?t.fontFamily:"";return{className:e.fontFamily?`has-${e.fontFamily}-font-family`:s,style:{fontSize:e.fontSize?`var(--wp--preset--font-size--${e.fontSize})`:t.fontSize,fontStyle:t.fontStyle,fontWeight:t.fontWeight,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,textDecoration:t.textDecoration,textTransform:t.textTransform}}})(t);return{className:(0,r.A)(i.className,s.className,n.className,a.className),style:{...i.style,...s.style,...n.style,...a.style}}}},6337:(e,t,s)=>{"use strict";s.d(t,{a:()=>o});var r=s(6087);const o=()=>{const[,e]=(0,r.useState)();return(0,r.useCallback)(t=>{e(()=>{throw t})},[])}},5473:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>F});var r=s(4921),o=s(3754),n=s(3993),a=s(7723),l=s(195),c=s(3450),i=s(5414),u=(s(5765),s(790));const d=({className:e,rating:t,ratedProductsCount:s})=>{const o=(0,r.A)("wc-block-components-product-rating",e),n={width:t/5*100+"%"},l=(0,a.sprintf)(/* translators: %f is referring to the average rating value */ /* translators: %f is referring to the average rating value */
6 (0,a.__)("Rated %f out of 5","woocommerce"),t),c={__html:(0,a.sprintf)(/* translators: %s is the rating value wrapped in HTML strong tags. */ /* translators: %s is the rating value wrapped in HTML strong tags. */
7 (0,a.__)("Rated %s out of 5","woocommerce"),(0,a.sprintf)('<strong class="rating">%f</strong>',t))};return(0,u.jsxs)("div",{className:o,children:[(0,u.jsx)("div",{className:"wc-block-components-product-rating__stars",role:"img","aria-label":l,children:(0,u.jsx)("span",{style:n,dangerouslySetInnerHTML:c})}),null!==s?(0,u.jsxs)("span",{className:"wc-block-components-product-rating-count",children:["(",s,")"]}):null]})};var g=s(6151),m=s(3817),f=s(6748),p=s(8199),y=s(5703),_=s(923),b=s.n(_),h=s(6087),w=s(4656),v=s(427),x=s(612),S=s(5490),k=s(3832),C=s(8197),A=s(7848);const j=[{label:(0,u.jsx)(d,{rating:5,ratedProductsCount:null},5),value:"5"},{label:(0,u.jsx)(d,{rating:4,ratedProductsCount:null},4),value:"4"},{label:(0,u.jsx)(d,{rating:3,ratedProductsCount:null},3),value:"3"},{label:(0,u.jsx)(d,{rating:2,ratedProductsCount:null},2),value:"2"},{label:(0,u.jsx)(d,{rating:1,ratedProductsCount:null},1),value:"1"}];s(6121);const E=JSON.parse('{"uK":{"Ox":{"A":"list"},"dc":{"A":"multiple"}}}'),N=e=>e.trim().replace(/\s/g,"-").replace(/_/g,"-").replace(/-+/g,"-").replace(/[^a-zA-Z0-9-]/g,"");var R=s(5238);const T="rating_filter",L=e=>(0,a.sprintf)(/* translators: %s is referring to the average rating value */ /* translators: %s is referring to the average rating value */
8 (0,a.__)("Rated %s out of 5 filter added.","woocommerce"),e),P=e=>(0,a.sprintf)(/* translators: %s is referring to the average rating value */ /* translators: %s is referring to the average rating value */
9 (0,a.__)("Rated %s out of 5 filter added.","woocommerce"),e),O=({attributes:e,isEditor:t,noRatingsNotice:s=null})=>{const o=(0,R.LY)(),_=(0,y.getSettingWithCoercion)("isRenderingPhpTemplate",!1,n.isBoolean),[E,O]=(0,h.useState)(!1),[F]=(0,f.dJ)(),{data:Q,isLoading:q}=(0,p.A)({queryRating:!0,queryState:F,isEditor:t}),[B,Y]=(0,h.useState)(e.isPreview?j:[]),H=!e.isPreview&&q&&0===B.length,I=!e.isPreview&&q,K=(0,h.useMemo)(()=>((e="filter_rating")=>{const t=(0,A.Vf)(e);return t?(0,n.isString)(t)?t.split(","):t:[]})("rating_filter"),[]),[V,$]=(0,h.useState)(K),[z,D]=(0,f.xd)("rating",K),[J,W]=(0,h.useState)((0,C.I)()),[M,U]=(0,h.useState)(!1),Z="single"!==e.selectType,G=Z?!H&&V.length<B.length:!H&&0===V.length,X=(0,h.useCallback)(e=>{t||(e&&!_&&D(e),(e=>{if(!window)return;if(0===e.length){const e=(0,k.removeQueryArgs)(window.location.href,T);return void(e!==(0,A.Q)(window.location.href)&&(0,A.CH)(e))}const t=(0,k.addQueryArgs)(window.location.href,{[T]:e.join(",")});t!==(0,A.Q)(window.location.href)&&(0,A.CH)(t)})(e))},[t,D,_]);(0,h.useEffect)(()=>{e.showFilterButton||X(V)},[e.showFilterButton,V,X]);const ee=(0,h.useMemo)(()=>z,[z]),te=(0,g.c)(ee),se=(0,m.Z)(te);(0,h.useEffect)(()=>{b()(se,te)||b()(V,te)||$(te)},[V,te,se]),(0,h.useEffect)(()=>{E||(D(K),O(!0))},[D,E,O,K]),(0,h.useEffect)(()=>{if(q||e.isPreview)return;const s=!q&&(0,n.objectHasProp)(Q,"rating_counts")&&Array.isArray(Q.rating_counts)?[...Q.rating_counts].reverse():[];if(t&&0===s.length)return Y(j),void U(!0);const r=s.filter(e=>(0,n.isObject)(e)&&Object.keys(e).length>0).map(t=>({label:(0,u.jsx)(d,{rating:t?.rating,ratedProductsCount:e.showCounts?t?.count:null},t?.rating),value:t?.rating?.toString()}));Y(r),W((0,C.I)())},[e.showCounts,e.isPreview,Q,q,z,t]);const re=(0,h.useCallback)(e=>{const t=V.includes(e);if(!Z){const s=t?[]:[e];return(0,l.speak)(t?P(e):L(e)),void $(s)}if(t){const t=V.filter(t=>t!==e);return(0,l.speak)(P(e)),void $(t)}const s=[...V,e].sort((e,t)=>Number(t)-Number(e));(0,l.speak)(L(e)),$(s)},[V,Z]);return(q||0!==B.length)&&(0,y.getSettingWithCoercion)("hasFilterableProducts",!1,n.isBoolean)?(o(!0),(0,u.jsxs)(u.Fragment,{children:[M&&s,(0,u.jsx)("div",{className:(0,r.A)("wc-block-rating-filter",`style-${e.displayStyle}`,{"is-loading":H}),children:"dropdown"===e.displayStyle?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(S.A,{className:(0,r.A)({"single-selection":!Z,"is-loading":H}),style:{borderStyle:"none"},suggestions:B.filter(e=>!V.includes(e.value)).map(e=>e.value),disabled:H,placeholder:(0,a.__)("Select Rating","woocommerce"),onChange:e=>{!Z&&e.length>1&&(e=[e[e.length-1]]);const t=[e=e.map(e=>{const t=B.find(t=>t.value===e);return t?t.value:e}),V].reduce((e,t)=>e.filter(e=>!t.includes(e)));if(1===t.length)return re(t[0]);const s=[V,e].reduce((e,t)=>e.filter(e=>!t.includes(e)));1===s.length&&re(s[0])},value:V,displayTransform:e=>{const t={value:e,label:(0,u.jsx)(d,{rating:Number(e),ratedProductsCount:0},Number(e))},s=B.find(t=>t.value===e)||t,{label:r,value:o}=s;return Object.assign({},r,{toLocaleLowerCase:()=>o,substring:(e,t)=>0===e&&1===t?r:""})},saveTransform:N,messages:{added:(0,a.__)("Rating filter added.","woocommerce"),removed:(0,a.__)("Rating filter removed.","woocommerce"),remove:(0,a.__)("Remove rating filter.","woocommerce"),__experimentalInvalid:(0,a.__)("Invalid rating filter.","woocommerce")}},J),G&&(0,u.jsx)(c.A,{icon:i.A,size:30})]}):(0,u.jsx)(w.CheckboxList,{className:"wc-block-rating-filter-list",options:B,checked:V,onChange:e=>{re(e.toString())},isLoading:H,isDisabled:I})}),(0,u.jsxs)("div",{className:"wc-block-rating-filter__actions",children:[(V.length>0||t)&&!H&&(0,u.jsx)(x.A,{onClick:()=>{$([]),D([]),X([])},screenReaderLabel:(0,a.__)("Reset rating filter","woocommerce")}),e.showFilterButton&&(0,u.jsx)(v.A,{className:"wc-block-rating-filter__button",isLoading:H,disabled:H||I,onClick:()=>X(V),screenReaderLabel:(0,a.__)("Apply rating filter","woocommerce")})]})]})):(o(!1),null)},F=e=>{const t=(0,o.p)(e),s=(a=e,{showFilterButton:"true"===a?.showFilterButton,showCounts:"true"===a?.showCounts,isPreview:!1,displayStyle:(0,n.isString)(a?.displayStyle)&&a.displayStyle||E.uK.Ox.A,selectType:(0,n.isString)(a?.selectType)&&a.selectType||E.uK.dc.A});var a;return(0,u.jsx)("div",{className:(0,r.A)((0,n.isString)(e.className)?e.className:"",t.className),style:t.style,children:(0,u.jsx)(O,{isEditor:!1,attributes:s})})}},7848:(e,t,s)=>{"use strict";s.d(t,{CH:()=>u,Q:()=>d,Vf:()=>i,nD:()=>c,xB:()=>l});var r=s(3832),o=s(5703),n=s(3993);const a=(0,o.getSettingWithCoercion)("isRenderingPhpTemplate",!1,n.isBoolean),l="query_type_",c="filter_";function i(e){return window?(0,r.getQueryArg)(window.location.href,e):null}function u(e){if(a){const t=new URL(e);t.pathname=t.pathname.replace(/\/page\/[0-9]+/i,""),t.searchParams.delete("paged"),t.searchParams.forEach((e,s)=>{s.match(/^query(?:-[0-9]+)?-page$/)&&t.searchParams.delete(s)}),window.location.href=t.href}else window.history.replaceState({},"",e)}const d=e=>{const t=(0,r.getQueryArgs)(e);return(0,r.addQueryArgs)(e,t)}},8197:(e,t,s)=>{"use strict";function r(){return Math.floor(Math.random()*Date.now())}s.d(t,{I:()=>r})},7165:()=>{},874:()=>{},4357:()=>{},5765:()=>{},6121:()=>{}}]);