(()=>{"use strict";var e,t={2797:(e,t,o)=>{o.r(t);var r=o(9196);const n=window.wp.blocks;var c=o(1984),l=o(3378);const i=window.wc.wcSettings;var s;const a=(0,i.getSetting)("wcBlocksConfig",{buildPhase:1,pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),p=(a.pluginUrl,a.pluginUrl,a.buildPhase),u=(null===(s=i.STORE_PAGES.shop)||void 0===s||s.permalink,i.STORE_PAGES.checkout.id,i.STORE_PAGES.checkout.permalink,i.STORE_PAGES.privacy.permalink,i.STORE_PAGES.privacy.title,i.STORE_PAGES.terms.permalink,i.STORE_PAGES.terms.title,i.STORE_PAGES.cart.id,i.STORE_PAGES.cart.permalink,i.STORE_PAGES.myaccount.permalink?i.STORE_PAGES.myaccount.permalink:(0,i.getSetting)("wpLoginUrl","/wp-login.php"),(0,i.getSetting)("localPickupEnabled",!1),(0,i.getSetting)("countries",{})),m=(0,i.getSetting)("countryData",{}),d=(Object.fromEntries(Object.keys(m).filter((e=>!0===m[e].allowBilling)).map((e=>[e,u[e]||""]))),Object.fromEntries(Object.keys(m).filter((e=>!0===m[e].allowBilling)).map((e=>[e,m[e].states||[]]))),Object.fromEntries(Object.keys(m).filter((e=>!0===m[e].allowShipping)).map((e=>[e,u[e]||""]))),Object.fromEntries(Object.keys(m).filter((e=>!0===m[e].allowShipping)).map((e=>[e,m[e].states||[]]))),Object.fromEntries(Object.keys(m).map((e=>[e,m[e].locale||[]]))),JSON.parse('{"name":"woocommerce/collection-filters","version":"1.0.0","title":"Collection Filters","description":"A block that adds product filters to the product collection.","category":"woocommerce","keywords":["WooCommerce","Filters"],"textdomain":"woocommerce","supports":{"html":false,"reusable":false},"usesContext":["query"],"ancestor":["woocommerce/product-collection"],"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json"}')),w=window.wp.blockEditor;p>2&&(0,n.registerBlockType)(d,{icon:{src:(0,r.createElement)(c.Z,{icon:l.Z,className:"wc-block-editor-components-block-icon"})},edit:()=>{const e=(0,w.useBlockProps)(),t=(0,w.useInnerBlocksProps)(e);return(0,r.createElement)("nav",{...t})},save:function(){const e=w.useBlockProps.save(),t=w.useInnerBlocksProps.save(e);return(0,r.createElement)("nav",{...t})}})},9196:e=>{e.exports=window.React},9307:e=>{e.exports=window.wp.element},444:e=>{e.exports=window.wp.primitives}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var c=o[e]={exports:{}};return t[e].call(c.exports,c,c.exports,r),c.exports}r.m=t,e=[],r.O=(t,o,n,c)=>{if(!o){var l=1/0;for(p=0;p<e.length;p++){for(var[o,n,c]=e[p],i=!0,s=0;s<o.length;s++)(!1&c||l>=c)&&Object.keys(r.O).every((e=>r.O[e](o[s])))?o.splice(s--,1):(i=!1,c<l&&(l=c));if(i){e.splice(p--,1);var a=n();void 0!==a&&(t=a)}}return t}c=c||0;for(var p=e.length;p>0&&e[p-1][2]>c;p--)e[p]=e[p-1];e[p]=[o,n,c]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},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})},r.j=3418,(()=>{var e={3418:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var n,c,[l,i,s]=o,a=0;if(l.some((t=>0!==e[t]))){for(n in i)r.o(i,n)&&(r.m[n]=i[n]);if(s)var p=s(r)}for(t&&t(o);a<l.length;a++)c=l[a],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return r.O(p)},o=self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var n=r.O(void 0,[2869],(()=>r(2797)));n=r.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["collection-filters"]=n})();