View file File name : product-filter-active-frontend.js Content :var wc;(()=>{"use strict";var e={5226:(e,t,r)=>{r.d(t,{navigate:()=>s});var a=r(3097);const o=window.wc.wcSettings,n=(0,o.getSetting)("isBlockTheme"),c=(0,o.getSetting)("isProductArchive"),i=(0,o.getSetting)("needsRefreshForInteractivityAPI",!1);function s(e,t={}){const r=new URL(e);return r.pathname=r.pathname.replace(/\/page\/[0-9]+/i,""),r.searchParams.delete("paged"),r.searchParams.forEach(((e,t)=>{t.match(/^query(?:-[0-9]+)?-page$/)&&r.searchParams.delete(t)})),e=r.href,i||!n&&c?window.location.href=e:(0,a.navigate)(e,t)}},3097:e=>{e.exports=window.wc.__experimentalInteractivity}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{r.r(a);var e=r(3097),t=r(5226);(0,e.store)("woocommerce/product-filter-active",{actions:{clearAll:()=>{const{params:r}=(0,e.getContext)(),a=new URL(window.location.href),{searchParams:o}=a;r.forEach((e=>o.delete(e))),(0,t.navigate)(a.href)}}})})(),(wc=void 0===wc?{}:wc)["product-filter-active"]=a})();