PATH:
home
/
lab2454c
/
carbonbullion.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
(()=>{var e={3849:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7608:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===s){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2130:(e,t,n)=>{"use strict";var r=n(586);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,s=n.onlyScrollIfNeeded,i=n.alignWithTop,l=n.alignWithLeft,a=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var p=r.isWindow(t),m=r.offset(e),f=r.outerHeight(e),h=r.outerWidth(e),g=void 0,v=void 0,w=void 0,b=void 0,y=void 0,E=void 0,S=void 0,k=void 0,_=void 0,x=void 0;p?(S=t,x=r.height(S),_=r.width(S),k={left:r.scrollLeft(S),top:r.scrollTop(S)},y={left:m.left-k.left-c,top:m.top-k.top-a},E={left:m.left+h-(k.left+_)+d,top:m.top+f-(k.top+x)+u},b=k):(g=r.offset(t),v=t.clientHeight,w=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},y={left:m.left-(g.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:m.top-(g.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-a},E={left:m.left+h-(g.left+w+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:m.top+f-(g.top+v+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),y.top<0||E.top>0?!0===i?r.scrollTop(t,b.top+y.top):!1===i?r.scrollTop(t,b.top+E.top):y.top<0?r.scrollTop(t,b.top+y.top):r.scrollTop(t,b.top+E.top):s||((i=void 0===i||!!i)?r.scrollTop(t,b.top+y.top):r.scrollTop(t,b.top+E.top)),o&&(y.left<0||E.left>0?!0===l?r.scrollLeft(t,b.left+y.left):!1===l?r.scrollLeft(t,b.left+E.left):y.left<0?r.scrollLeft(t,b.left+y.left):r.scrollLeft(t,b.left+E.left):s||((l=void 0===l||!!l)?r.scrollLeft(t,b.left+y.left):r.scrollLeft(t,b.left+E.left)))}},2121:(e,t,n)=>{"use strict";e.exports=n(2130)},586:e=>{"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function r(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function o(e){return r(e)}function s(e){return r(e,!0)}function i(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,s=o.body,i=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=i.clientLeft||s.clientLeft||0,top:r-=i.clientTop||s.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=o(r),t.top+=s(r),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),a=/^(top|right|bottom|left)$/,c="currentStyle",u="runtimeStyle",d="left",p=void 0;function m(e,t){for(var n=0;n<e.length;n++)t(e[n])}function f(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,s=n||o.defaultView.getComputedStyle(e,null);return s&&(r=s.getPropertyValue(t)||s[t]),r}:function(e,t){var n=e[c]&&e[c][t];if(l.test(n)&&!a.test(t)){var r=e.style,o=r[d],s=e[u][d];e[u][d]=e[c][d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e[u][d]=s}return""===n?"auto":n});var h=["margin","border","padding"],g=-1,v=2,w=1;function b(e,t,n){var r=0,o=void 0,s=void 0,i=void 0;for(s=0;s<t.length;s++)if(o=t[s])for(i=0;i<n.length;i++){var l;l="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(p(e,l))||0}return r}function y(e){return null!=e&&e==e.window}var E={};function S(e,t,n){if(y(e))return"width"===t?E.viewportWidth(e):E.viewportHeight(e);if(9===e.nodeType)return"width"===t?E.docWidth(e):E.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,s=(p(e),f(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=p(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=s?w:g);var l=void 0!==o||s,a=o||i;if(n===g)return l?a-b(e,["border","padding"],r):i;if(l){var c=n===v?-b(e,["border"],r):b(e,["margin"],r);return a+(n===w?0:c)}return i+b(e,h.slice(n),r)}m(["Width","Height"],(function(e){E["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],E["viewport"+e](n))},E["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,s=r.documentElement[n];return"CSS1Compat"===r.compatMode&&s||o&&o[n]||s}}));var k={position:"absolute",visibility:"hidden",display:"block"};function _(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=S.apply(void 0,n):function(e,r,o){var s={},i=e.style,l=void 0;for(l in r)r.hasOwnProperty(l)&&(s[l]=i[l],i[l]=r[l]);for(l in function(){t=S.apply(void 0,n)}.call(e),r)r.hasOwnProperty(l)&&(i[l]=s[l])}(e,k),t}function x(e,t,r){var o=r;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):p(e,t);for(var s in t)t.hasOwnProperty(s)&&x(e,s,t[s])}m(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);E["outer"+t]=function(t,n){return t&&_(t,e,n?0:w)};var n="width"===e?["Left","Right"]:["Top","Bottom"];E[e]=function(t,r){return void 0===r?t&&_(t,e,g):t?(p(t),f(t)&&(r+=b(t,["padding","border"],n)),x(t,e,r)):void 0}})),e.exports=t({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return i(e);!function(e,t){"static"===x(e,"position")&&(e.style.position="relative");var n=i(e),r={},o=void 0,s=void 0;for(s in t)t.hasOwnProperty(s)&&(o=parseFloat(x(e,s))||0,r[s]=o+t[s]-n[s]);x(e,r)}(e,t)},isWindow:y,each:m,css:x,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(y(e)){if(void 0===t)return o(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(y(e)){if(void 0===t)return s(e);window.scrollTo(o(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},E)},8406:()=>{},479:()=>{},1753:()=>{},2728:()=>{},6099:()=>{},9027:()=>{},3106:()=>{}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.React,t=window.wp.element;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}const o=window.wp.i18n,s=window.wc.wcSettings;var i,l,a,c,u,d,p,m,f,h;const g=(0,s.getSetting)("wcBlocksConfig",{buildPhase:1,pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),v=g.pluginUrl+"assets/images/",w=(g.pluginUrl,g.buildPhase,null===(i=s.STORE_PAGES.shop)||void 0===i||i.permalink,null===(l=s.STORE_PAGES.checkout)||void 0===l||l.id,null===(a=s.STORE_PAGES.checkout)||void 0===a||a.permalink,null===(c=s.STORE_PAGES.privacy)||void 0===c||c.permalink,null===(u=s.STORE_PAGES.privacy)||void 0===u||u.title,null===(d=s.STORE_PAGES.terms)||void 0===d||d.permalink,null===(p=s.STORE_PAGES.terms)||void 0===p||p.title,null===(m=s.STORE_PAGES.cart)||void 0===m||m.id,null===(f=s.STORE_PAGES.cart)||void 0===f||f.permalink,null!==(h=s.STORE_PAGES.myaccount)&&void 0!==h&&h.permalink?s.STORE_PAGES.myaccount.permalink:(0,s.getSetting)("wpLoginUrl","/wp-login.php"),(0,s.getSetting)("localPickupEnabled",!1),(0,s.getSetting)("countries",{})),b=(0,s.getSetting)("countryData",{}),y=(Object.fromEntries(Object.keys(b).filter((e=>!0===b[e].allowBilling)).map((e=>[e,w[e]||""]))),Object.fromEntries(Object.keys(b).filter((e=>!0===b[e].allowBilling)).map((e=>[e,b[e].states||[]]))),Object.fromEntries(Object.keys(b).filter((e=>!0===b[e].allowShipping)).map((e=>[e,w[e]||""]))),Object.fromEntries(Object.keys(b).filter((e=>!0===b[e].allowShipping)).map((e=>[e,b[e].states||[]]))),Object.fromEntries(Object.keys(b).map((e=>[e,b[e].locale||[]]))),{address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],additional:[]}),E=((0,s.getSetting)("addressFieldsLocations",y).address,(0,s.getSetting)("addressFieldsLocations",y).contact,(0,s.getSetting)("addressFieldsLocations",y).additional,(0,s.getSetting)("additionalFields",{}),(0,s.getSetting)("additionalContactFields",{}),(0,s.getSetting)("additionalAddressFields",{}),({imageUrl:t=`${v}/block-error.svg`,header:n=(0,o.__)("Oops!","woocommerce"),text:r=(0,o.__)("There was an error loading the content.","woocommerce"),errorMessage:s,errorMessagePrefix:i=(0,o.__)("Error:","woocommerce"),button:l,showErrorBlock:a=!0})=>a?(0,e.createElement)("div",{className:"wc-block-error wc-block-components-error"},t&&(0,e.createElement)("img",{className:"wc-block-error__image wc-block-components-error__image",src:t,alt:""}),(0,e.createElement)("div",{className:"wc-block-error__content wc-block-components-error__content"},n&&(0,e.createElement)("p",{className:"wc-block-error__header wc-block-components-error__header"},n),r&&(0,e.createElement)("p",{className:"wc-block-error__text wc-block-components-error__text"},r),s&&(0,e.createElement)("p",{className:"wc-block-error__message wc-block-components-error__message"},i?i+" ":"",s),l&&(0,e.createElement)("p",{className:"wc-block-error__button wc-block-components-error__button"},l))):null);n(8406);class S extends t.Component{constructor(...e){var t,n,o;super(...e),t=this,o={errorMessage:"",hasError:!1},(n=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}(n="state"))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}static getDerivedStateFromError(t){return void 0!==t.statusText&&void 0!==t.status?{errorMessage:(0,e.createElement)(e.Fragment,null,(0,e.createElement)("strong",null,t.status),": ",t.statusText),hasError:!0}:{errorMessage:t.message,hasError:!0}}render(){const{header:t,imageUrl:n,showErrorMessage:r=!0,showErrorBlock:o=!0,text:s,errorMessagePrefix:i,renderError:l,button:a}=this.props,{errorMessage:c,hasError:u}=this.state;return u?"function"==typeof l?l({errorMessage:c}):(0,e.createElement)(E,{showErrorBlock:o,errorMessage:r?c:null,header:t,imageUrl:n,text:s,errorMessagePrefix:i,button:a}):this.props.children}}const k=S,_=[".wp-block-woocommerce-cart"],x=({Block:n,containers:r,getProps:o=(()=>({})),getErrorBoundaryProps:s=(()=>({}))})=>{0!==r.length&&Array.prototype.forEach.call(r,((r,i)=>{const l=o(r,i),a=s(r,i),c={...r.dataset,...l.attributes||{}};(({Block:n,container:r,attributes:o={},props:s={},errorBoundaryProps:i={}})=>{(0,t.render)((0,e.createElement)(k,{...i},(0,e.createElement)(t.Suspense,{fallback:(0,e.createElement)("div",{className:"wc-block-placeholder"})},n&&(0,e.createElement)(n,{...s,attributes:o}))),r,(()=>{r.classList&&r.classList.remove("is-loading")}))})({Block:n,container:r,props:l,attributes:c,errorBoundaryProps:a})}))},T=window.wp.isShallowEqual;var C=n.n(T);function L(e){const n=(0,t.useRef)(e);return C()(e,n.current)||(n.current=e),n.current}const I=window.wc.wcBlocksData,A=window.wp.data,R=(0,t.createContext)("page"),P=()=>(0,t.useContext)(R),F=(R.Provider,e=>{const n=P();e=e||n;const r=(0,A.useSelect)((t=>t(I.QUERY_STATE_STORE_KEY).getValueForQueryContext(e,void 0)),[e]),{setValueForQueryContext:o}=(0,A.useDispatch)(I.QUERY_STATE_STORE_KEY);return[r,(0,t.useCallback)((t=>{o(e,t)}),[e,o])]}),O=(e,n,r)=>{const o=P();r=r||o;const s=(0,A.useSelect)((t=>t(I.QUERY_STATE_STORE_KEY).getValueForQueryKey(r,e,n)),[r,e]),{setQueryValue:i}=(0,A.useDispatch)(I.QUERY_STATE_STORE_KEY);return[s,(0,t.useCallback)((t=>{i(r,e,t)}),[r,e,i])]},N=e=>{const{namespace:n,resourceName:r,resourceValues:o=[],query:s={},shouldSelect:i=!0}=e;if(!n||!r)throw new Error("The options object must have valid values for the namespace and the resource properties.");const l=(0,t.useRef)({results:[],isLoading:!0}),a=L(s),c=L(o),u=(()=>{const[,e]=(0,t.useState)();return(0,t.useCallback)((t=>{e((()=>{throw t}))}),[])})(),d=(0,A.useSelect)((e=>{if(!i)return null;const t=e(I.COLLECTIONS_STORE_KEY),o=[n,r,a,c],s=t.getCollectionError(...o);if(s){if(!(s instanceof Error))throw new Error("TypeError: `error` object is not an instance of Error constructor");u(s)}return{results:t.getCollection(...o),isLoading:!t.hasFinishedResolution("getCollection",o)}}),[n,r,c,a,i]);return null!==d&&(l.current=d),l.current};function B(e,t){return e===t}function M(e){return"function"==typeof e?function(){return e}:e}function D(e,t){return!(e=>null===e)(n=e)&&n instanceof Object&&n.constructor===Object&&t in e;var n}var V=function(e){return function(t,n,r){return e(t,n,r)*r}},W=function(e,t){if(e)throw Error("Invalid sort config: "+t)},j=function(e){var t=e||{},n=t.asc,r=t.desc,o=n?1:-1,s=n||r;return W(!s,"Expected `asc` or `desc` property"),W(n&&r,"Ambiguous object with `asc` and `desc` config properties"),{order:o,sortBy:s,comparer:e.comparer&&V(e.comparer)}};function H(e,t,n){if(void 0===e||!0===e)return function(e,r){return t(e,r,n)};if("string"==typeof e)return W(e.includes("."),"String syntax not allowed for nested properties."),function(r,o){return t(r[e],o[e],n)};if("function"==typeof e)return function(r,o){return t(e(r),e(o),n)};if(Array.isArray(e)){var r=function(e){return function t(n,r,o,s,i,l,a){var c,u;if("string"==typeof n)c=l[n],u=a[n];else{if("function"!=typeof n){var d=j(n);return t(d.sortBy,r,o,d.order,d.comparer||e,l,a)}c=n(l),u=n(a)}var p=i(c,u,s);return(0===p||null==c&&null==u)&&r.length>o?t(r[o],r,o+1,s,i,l,a):p}}(t);return function(o,s){return r(e[0],e,1,n,t,o,s)}}var o=j(e);return H(o.sortBy,o.comparer||t,o.order)}var U=function(e,t,n,r){return Array.isArray(t)?(Array.isArray(n)&&n.length<2&&(n=n[0]),t.sort(H(n,r,e))):t};function q(e){var t=V(e.comparer);return function(n){var r=Array.isArray(n)&&!e.inPlaceSorting?n.slice():n;return{asc:function(e){return U(1,r,e,t)},desc:function(e){return U(-1,r,e,t)},by:function(e){return U(1,r,e,t)}}}}var z=function(e,t,n){return null==e?n:null==t?-n:typeof e!=typeof t?typeof e<typeof t?-1:1:e<t?-1:e>t?1:0},K=q({comparer:z});q({comparer:z,inPlaceSorting:!0});const $=({queryAttribute:n,queryPrices:r,queryStock:o,queryRating:s,queryState:i,isEditor:l=!1})=>{let a=P();a=`${a}-collection-data`;const[c]=F(a),[u,d]=O("calculate_attribute_counts",[],a),[p,m]=O("calculate_price_range",null,a),[f,h]=O("calculate_stock_status_counts",null,a),[g,v]=O("calculate_rating_counts",null,a),w=L(n||{}),b=L(r),y=L(o),E=L(s);(0,t.useEffect)((()=>{"object"==typeof w&&Object.keys(w).length&&(u.find((e=>D(w,"taxonomy")&&e.taxonomy===w.taxonomy))||d([...u,w]))}),[w,u,d]),(0,t.useEffect)((()=>{p!==b&&void 0!==b&&m(b)}),[b,m,p]),(0,t.useEffect)((()=>{f!==y&&void 0!==y&&h(y)}),[y,h,f]),(0,t.useEffect)((()=>{g!==E&&void 0!==E&&v(E)}),[E,v,g]);const[S,k]=(0,t.useState)(l),[_]=(x=S,A=B,C=(0,e.useState)(M(x)),I=C[1],R=[C[0],(0,e.useCallback)((function(e){return I(M(e))}),[])],V=R[0],W=R[1],j=function(t,n,r){var o=this,s=(0,e.useRef)(null),i=(0,e.useRef)(0),l=(0,e.useRef)(null),a=(0,e.useRef)([]),c=(0,e.useRef)(),u=(0,e.useRef)(),d=(0,e.useRef)(t),p=(0,e.useRef)(!0);(0,e.useEffect)((function(){d.current=t}),[t]);var m=!n&&0!==n&&"undefined"!=typeof window;if("function"!=typeof t)throw new TypeError("Expected a function");n=+n||0;var f=!!(r=r||{}).leading,h=!("trailing"in r)||!!r.trailing,g="maxWait"in r,v=g?Math.max(+r.maxWait||0,n):null;(0,e.useEffect)((function(){return p.current=!0,function(){p.current=!1}}),[]);var w=(0,e.useMemo)((function(){var e=function(e){var t=a.current,n=c.current;return a.current=c.current=null,i.current=e,u.current=d.current.apply(n,t)},t=function(e,t){m&&cancelAnimationFrame(l.current),l.current=m?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!p.current)return!1;var t=e-s.current;return!s.current||t>=n||t<0||g&&e-i.current>=v},w=function(t){return l.current=null,h&&a.current?e(t):(a.current=c.current=null,u.current)},b=function e(){var o=Date.now();if(r(o))return w(o);if(p.current){var l=n-(o-s.current),a=g?Math.min(l,v-(o-i.current)):l;t(e,a)}},y=function(){var d=Date.now(),m=r(d);if(a.current=[].slice.call(arguments),c.current=o,s.current=d,m){if(!l.current&&p.current)return i.current=s.current,t(b,n),f?e(s.current):u.current;if(g)return t(b,n),e(s.current)}return l.current||t(b,n),u.current};return y.cancel=function(){l.current&&(m?cancelAnimationFrame(l.current):clearTimeout(l.current)),i.current=0,a.current=s.current=c.current=l.current=null},y.isPending=function(){return!!l.current},y.flush=function(){return l.current?w(Date.now()):u.current},y}),[f,g,n,v,h,m]);return w}((0,e.useCallback)((function(e){return W(e)}),[W]),200,T),H=(0,e.useRef)(x),A(H.current,x)||(j(x),H.current=x),[V,j]);var x,T,C,I,A,R,V,W,j,H;S||k(!0);const U=(0,t.useMemo)((()=>(e=>{const t=e;return Array.isArray(e.calculate_attribute_counts)&&(t.calculate_attribute_counts=K(e.calculate_attribute_counts.map((({taxonomy:e,queryType:t})=>({taxonomy:e,query_type:t})))).asc(["taxonomy","query_type"])),t})(c)),[c]);return N({namespace:"/wc/store/v1",resourceName:"products/collection-data",query:{...i,page:void 0,per_page:void 0,orderby:void 0,order:void 0,...U},shouldSelect:_})},G=window.wc.blocksComponents;n(479);const Q=({name:t,count:n})=>(0,e.createElement)(e.Fragment,null,t,null!==n&&Number.isFinite(n)&&(0,e.createElement)(G.Label,{label:n.toString(),screenReaderLabel:(0,o.sprintf)(/* translators: %s number of products. */ /* translators: %s number of products. */ (0,o._n)("%s product","%s products",n,"woocommerce"),n),wrapperElement:"span",wrapperProps:{className:"wc-filter-element-label-list-count"}}));var Y=n(3849),Z=n.n(Y);n(2728);const X=({className:t, /* translators: Reset button text for filters. */ label:n=(0,o.__)("Reset","woocommerce"),onClick:r,screenReaderLabel:s=(0,o.__)("Reset filter","woocommerce")})=>(0,e.createElement)("button",{className:Z()("wc-block-components-filter-reset-button",t),onClick:r},(0,e.createElement)(G.Label,{label:n,screenReaderLabel:s}));n(6099);const J=({className:t,isLoading:n,disabled:r, /* translators: Submit button text for filters. */ label:s=(0,o.__)("Apply","woocommerce"),onClick:i,screenReaderLabel:l=(0,o.__)("Apply filter","woocommerce")})=>(0,e.createElement)("button",{type:"submit",className:Z()("wp-block-button__link","wc-block-filter-submit-button","wc-block-components-filter-submit-button",{"is-loading":n},t),disabled:r,onClick:i},(0,e.createElement)(G.Label,{label:s,screenReaderLabel:l})),ee=window.wp.htmlEntities,te=window.wp.url,ne=e=>"boolean"==typeof e,re=e=>"string"==typeof e,oe=e=>D(e,"attribute")&&D(e,"operator")&&D(e,"slug")&&"string"==typeof e.attribute&&"string"==typeof e.operator&&Array.isArray(e.slug)&&e.slug.every((e=>"string"==typeof e)),se=(0,t.forwardRef)((function({icon:e,size:n=24,...r},o){return(0,t.cloneElement)(e,{width:n,height:n,...r,ref:o})})),ie=window.wp.primitives,le=(0,e.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)(ie.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),ae=(0,s.getSettingWithCoercion)("isRenderingPhpTemplate",!1,ne),ce="query_type_",ue="filter_";function de(e){if(ae){const t=new URL(e);t.pathname=t.pathname.replace(/\/page\/[0-9]+/i,""),t.searchParams.delete("paged"),t.searchParams.forEach(((e,n)=>{n.match(/^query(?:-[0-9]+)?-page$/)&&t.searchParams.delete(n)})),window.location.href=t.href}else window.history.replaceState({},"",e)}const pe=window.lodash;var me=n(7608),fe=n.n(me);const he=window.wp.compose,ge=window.wp.keycodes,ve=(0,t.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(ie.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},we.apply(this,arguments)}const be=window.wp.deprecated;var ye=n.n(be);const Ee=window.wp.dom,Se=(0,t.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(ie.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function ke(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const s=o.getBoundingClientRect();return new r.DOMRect(e.left+s.left,e.top+s.top,e.width,e.height)}let _e=0;function xe(e){const t=document.scrollingElement||document.body;e&&(_e=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=_e)}let Te=0;function Ce(){return(0,t.useEffect)((()=>(0===Te&&xe(!0),++Te,()=>{1===Te&&xe(!1),--Te})),[]),null}window.wp.warning;const Le=(0,t.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function Ie(e){const n=(0,t.useContext)(Le),r=n.slots[e]||{},o=n.fills[e],s=(0,t.useMemo)((()=>o||[]),[o]);return{...r,updateSlot:(0,t.useCallback)((t=>{n.updateSlot(e,t)}),[e,n.updateSlot]),unregisterSlot:(0,t.useCallback)((t=>{n.unregisterSlot(e,t)}),[e,n.unregisterSlot]),fills:s,registerFill:(0,t.useCallback)((t=>{n.registerFill(e,t)}),[e,n.registerFill]),unregisterFill:(0,t.useCallback)((t=>{n.unregisterFill(e,t)}),[e,n.unregisterFill])}}const Ae=(0,t.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});function Re({name:e,children:n,registerFill:r,unregisterFill:o}){const s=(e=>{const{getSlot:n,subscribe:r}=(0,t.useContext)(Ae),[o,s]=(0,t.useState)(n(e));return(0,t.useEffect)((()=>(s(n(e)),r((()=>{s(n(e))})))),[e]),o})(e),i=(0,t.useRef)({name:e,children:n});return(0,t.useLayoutEffect)((()=>(r(e,i.current),()=>o(e,i.current))),[]),(0,t.useLayoutEffect)((()=>{i.current.children=n,s&&s.forceUpdate()}),[n]),(0,t.useLayoutEffect)((()=>{e!==i.current.name&&(o(i.current.name,i.current),i.current.name=e,r(e,i.current))}),[e]),s&&s.node?((0,pe.isFunction)(n)&&(n=n(s.props.fillProps)),(0,t.createPortal)(n,s.node)):null}const Pe=e=>(0,t.createElement)(Ae.Consumer,null,(({registerFill:n,unregisterFill:r})=>(0,t.createElement)(Re,we({},e,{registerFill:n,unregisterFill:r}))));class Fe extends t.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:n,fillProps:r={},getFills:o}=this.props,s=(0,pe.map)(o(n,this),(e=>{const n=(0,pe.isFunction)(e.children)?e.children(r):e.children;return t.Children.map(n,((e,n)=>{if(!e||(0,pe.isString)(e))return e;const r=e.key||n;return(0,t.cloneElement)(e,{key:r})}))})).filter((0,pe.negate)(t.isEmptyElement));return(0,t.createElement)(t.Fragment,null,(0,pe.isFunction)(e)?e(s):s)}}const Oe=e=>(0,t.createElement)(Ae.Consumer,null,(({registerSlot:n,unregisterSlot:r,getFills:o})=>(0,t.createElement)(Fe,we({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))));function Ne(){const[,e]=(0,t.useState)({}),n=(0,t.useRef)(!0);return(0,t.useEffect)((()=>()=>{n.current=!1}),[]),()=>{n.current&&e({})}}function Be({name:e,children:n}){const r=Ie(e),o=(0,t.useRef)({rerender:Ne()});return(0,t.useEffect)((()=>(r.registerFill(o),()=>{r.unregisterFill(o)})),[r.registerFill,r.unregisterFill]),r.ref&&r.ref.current?("function"==typeof n&&(n=n(r.fillProps)),(0,t.createPortal)(n,r.ref.current)):null}const Me=(0,t.forwardRef)((function({name:e,fillProps:n={},as:r="div",...o},s){const i=(0,t.useContext)(Le),l=(0,t.useRef)();return(0,t.useLayoutEffect)((()=>(i.registerSlot(e,l,n),()=>{i.unregisterSlot(e,l)})),[i.registerSlot,i.unregisterSlot,e]),(0,t.useLayoutEffect)((()=>{i.updateSlot(e,n)})),(0,t.createElement)(r,we({ref:(0,he.useMergeRefs)([s,l])},o))}));function De(e){return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(Pe,e),(0,t.createElement)(Be,e))}const Ve=(0,t.forwardRef)((({bubblesVirtually:e,...n},r)=>e?(0,t.createElement)(Me,we({},n,{ref:r})):(0,t.createElement)(Oe,n)));function We(e){return"appear"===e?"top":"left"}const je="Popover";function He(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:s}=(i=t).ownerDocument.defaultView.getComputedStyle(i);var i;const l=n?parseInt(n,10):0,a=r?parseInt(r,10):0,c=o?parseInt(o,10):0,u=s?parseInt(s,10):0;return{x:e.left+c,y:e.top+l,width:e.width-c-u,height:e.height-l-a,left:e.left+c,right:e.right-u,top:e.top+l,bottom:e.bottom-a}}function Ue(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function qe(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function ze(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const Ke=(0,t.forwardRef)((({headerTitle:e,onClose:n,children:r,className:s,noArrow:i=!0,isAlternate:l,position:a="bottom right",range:c,focusOnMount:u="firstElement",anchorRef:d,shouldAnchorIncludePadding:p,anchorRect:m,getAnchorRect:f,expandOnMobile:h,animate:g=!0,onClickOutside:v,onFocusOutside:w,__unstableStickyBoundaryElement:b,__unstableSlotName:y=je,__unstableObserveElement:E,__unstableBoundaryParent:S,__unstableForcePosition:k,__unstableForceXAlignment:_,...x},T)=>{const C=(0,t.useRef)(null),L=(0,t.useRef)(null),I=(0,t.useRef)(),A=(0,he.useViewportMatch)("medium","<"),[R,P]=(0,t.useState)(),F=Ie(y),O=h&&A,[N,B]=(0,he.useResizeObserver)();i=O||i,(0,t.useLayoutEffect)((()=>{if(O)return ze(I.current,"is-without-arrow",i),ze(I.current,"is-alternate",l),Ue(I.current,"data-x-axis"),Ue(I.current,"data-y-axis"),qe(I.current,"top"),qe(I.current,"left"),qe(L.current,"maxHeight"),void qe(L.current,"maxWidth");const e=()=>{if(!I.current||!L.current)return;let e=function(e,t,n,r=!1,o,s){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return ke(t,t.ownerDocument||e.current.ownerDocument,s)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return ke((0,Ee.getRectangleFromRange)(r),r.endContainer.ownerDocument,s);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=ke(r.getBoundingClientRect(),r.ownerDocument,s);return o?e:He(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),l=ke(new window.DOMRect(n.left,n.top,n.width,i.bottom-n.top),e.ownerDocument,s);return o?l:He(l,r)}if(!e.current)return;const{parentNode:i}=e.current,l=i.getBoundingClientRect();return o?l:He(l,i)}(C,m,f,d,p,I.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=I.current;let r,s=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();s=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}var c;S&&(r=null===(c=I.current.closest(".popover-slot"))||void 0===c?void 0:c.parentNode);const u=B.height?B:L.current.getBoundingClientRect(),{popoverTop:h,popoverLeft:g,xAxis:v,yAxis:w,contentHeight:y,contentWidth:E}=function(e,t,n="top",r,s,i,l,a,c){const[u,d="center",p]=n.split(" "),m=function(e,t,n,r,o,s,i,l){const{height:a}=t;if(o){const t=o.getBoundingClientRect().top+a-i;if(e.top<=t)return{yAxis:n,popoverTop:Math.min(e.bottom,t)}}let c=e.top+e.height/2;"bottom"===r?c=e.bottom:"top"===r&&(c=e.top);const u={popoverTop:c,contentHeight:(c-a/2>0?a/2:c)+(c+a/2>window.innerHeight?window.innerHeight-c:a/2)},d={popoverTop:e.top,contentHeight:e.top-10-a>0?a:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+a>window.innerHeight?window.innerHeight-10-e.bottom:a};let m,f=n,h=null;if(!o&&!l)if("middle"===n&&u.contentHeight===a)f="middle";else if("top"===n&&d.contentHeight===a)f="top";else if("bottom"===n&&p.contentHeight===a)f="bottom";else{f=d.contentHeight>p.contentHeight?"top":"bottom";const e="top"===f?d.contentHeight:p.contentHeight;h=e!==a?e:null}return m="middle"===f?u.popoverTop:"top"===f?d.popoverTop:p.popoverTop,{yAxis:f,popoverTop:m,contentHeight:h}}(e,t,u,p,r,0,i,a),f=function(e,t,n,r,s,i,l,a,c){const{width:u}=t;"left"===n&&(0,o.isRTL)()?n="right":"right"===n&&(0,o.isRTL)()&&(n="left"),"left"===r&&(0,o.isRTL)()?r="right":"right"===r&&(0,o.isRTL)()&&(r="left");const d=Math.round(e.left+e.width/2),p={popoverLeft:d,contentWidth:(d-u/2>0?u/2:d)+(d+u/2>window.innerWidth?window.innerWidth-d:u/2)};let m=e.left;"right"===r?m=e.right:"middle"===i||c||(m=d);let f=e.right;"left"===r?f=e.left:"middle"===i||c||(f=d);const h={popoverLeft:m,contentWidth:m-u>0?u:m},g={popoverLeft:f,contentWidth:f+u>window.innerWidth?window.innerWidth-f:u};let v,w=n,b=null;if(!s&&!a)if("center"===n&&p.contentWidth===u)w="center";else if("left"===n&&h.contentWidth===u)w="left";else if("right"===n&&g.contentWidth===u)w="right";else{w=h.contentWidth>g.contentWidth?"left":"right";const e="left"===w?h.contentWidth:g.contentWidth;u>window.innerWidth&&(b=window.innerWidth),e!==u&&(w="center",p.popoverLeft=window.innerWidth/2)}if(v="center"===w?p.popoverLeft:"left"===w?h.popoverLeft:g.popoverLeft,l){const e=l.getBoundingClientRect();v=Math.min(v,e.right-u),(0,o.isRTL)()||(v=Math.max(v,0))}return{xAxis:w,popoverLeft:v,contentWidth:b}}(e,t,d,p,r,m.yAxis,l,a,c);return{...f,...m}}(e,u,a,b,I.current,s,r,k,_);"number"==typeof h&&"number"==typeof g&&(qe(I.current,"top",h+"px"),qe(I.current,"left",g+"px")),ze(I.current,"is-without-arrow",i||"center"===v&&"middle"===w),ze(I.current,"is-alternate",l),Ue(I.current,"data-x-axis",v),Ue(I.current,"data-y-axis",w),qe(L.current,"maxHeight","number"==typeof y?y+"px":""),qe(L.current,"maxWidth","number"==typeof E?E+"px":""),P(({left:"right",right:"left"}[v]||"center")+" "+({top:"bottom",bottom:"top"}[w]||"middle"))};e();const{ownerDocument:t}=I.current,{defaultView:n}=t,r=n.setInterval(e,500);let s;const c=()=>{n.cancelAnimationFrame(s),s=n.requestAnimationFrame(e)};n.addEventListener("click",c),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const u=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(d);let h;return u&&u!==t&&(u.defaultView.addEventListener("resize",e),u.defaultView.addEventListener("scroll",e,!0)),E&&(h=new n.MutationObserver(e),h.observe(E,{attributes:!0})),()=>{n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",c),n.cancelAnimationFrame(s),u&&u!==t&&(u.defaultView.removeEventListener("resize",e),u.defaultView.removeEventListener("scroll",e,!0)),h&&h.disconnect()}}),[O,m,f,d,p,a,B,b,E,S]);const M=(e,t)=>{if("focus-outside"===e&&w)w(t);else if("focus-outside"===e&&v){const e=new window.MouseEvent("click");Object.defineProperty(e,"target",{get:()=>t.relatedTarget}),ye()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),v(e)}else n&&n()},[D,V]=(0,he.__experimentalUseDialog)({focusOnMount:u,__unstableOnClose:M,onClose:M}),W=(0,he.useMergeRefs)([I,D,T]),j=Boolean(g&&R)&&function(e){if("loading"===e.type)return fe()("components-animate__loading");const{type:t,origin:n=We(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return fe()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?fe()("components-animate__slide-in","is-from-"+n):void 0}({type:"appear",origin:R});let H=(0,t.createElement)("div",we({className:fe()("components-popover",s,j,{"is-expanded":O,"is-without-arrow":i,"is-alternate":l})},x,{ref:W},V,{tabIndex:"-1"}),O&&(0,t.createElement)(Ce,null),O&&(0,t.createElement)("div",{className:"components-popover__header"},(0,t.createElement)("span",{className:"components-popover__header-title"},e),(0,t.createElement)(ot,{className:"components-popover__close",icon:Se,onClick:n})),(0,t.createElement)("div",{ref:L,className:"components-popover__content"},(0,t.createElement)("div",{style:{position:"relative"}},N,r)));return F.ref&&(H=(0,t.createElement)(De,{name:y},H)),d||m?H:(0,t.createElement)("span",{ref:C},H)}));Ke.Slot=(0,t.forwardRef)((function({name:e=je},n){return(0,t.createElement)(Ve,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:n})}));const $e=Ke,Ge=function({shortcut:e,className:n}){if(!e)return null;let r,o;return(0,pe.isString)(e)&&(r=e),(0,pe.isObject)(e)&&(r=e.display,o=e.ariaLabel),(0,t.createElement)("span",{className:n,"aria-label":o},r)},Qe=(0,t.createElement)("div",{className:"event-catcher"}),Ye=({eventHandlers:e,child:n,childrenWithPopover:r})=>(0,t.cloneElement)((0,t.createElement)("span",{className:"disabled-element-wrapper"},(0,t.cloneElement)(Qe,e),(0,t.cloneElement)(n,{children:r}),","),e),Ze=({child:e,eventHandlers:n,childrenWithPopover:r})=>(0,t.cloneElement)(e,{...n,children:r}),Xe=(e,n,r)=>{if(1!==t.Children.count(e))return;const o=t.Children.only(e);"function"==typeof o.props[n]&&o.props[n](r)},Je=function({children:e,position:n,text:r,shortcut:o}){const[s,i]=(0,t.useState)(!1),[l,a]=(0,t.useState)(!1),c=(0,he.useDebounce)(a,700),u=t=>{Xe(e,"onMouseDown",t),document.addEventListener("mouseup",m),i(!0)},d=t=>{Xe(e,"onMouseUp",t),document.removeEventListener("mouseup",m),i(!1)},p=e=>"mouseUp"===e?d:"mouseDown"===e?u:void 0,m=p("mouseUp"),f=(t,n)=>r=>{if(Xe(e,t,r),r.currentTarget.disabled)return;if("focus"===r.type&&s)return;c.cancel();const o=(0,pe.includes)(["focus","mouseenter"],r.type);o!==l&&(n?c(o):a(o))},h=()=>{c.cancel(),document.removeEventListener("mouseup",m)};if((0,t.useEffect)((()=>h),[]),1!==t.Children.count(e))return e;const g={onMouseEnter:f("onMouseEnter",!0),onMouseLeave:f("onMouseLeave"),onClick:f("onClick"),onFocus:f("onFocus"),onBlur:f("onBlur"),onMouseDown:p("mouseDown")},v=t.Children.only(e),{children:w,disabled:b}=v.props,y=b?Ye:Ze,E=(({grandchildren:e,isOver:n,position:r,text:o,shortcut:s})=>(0,t.concatChildren)(e,n&&(0,t.createElement)($e,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,t.createElement)(Ge,{className:"components-tooltip__shortcut",shortcut:s}))))({grandchildren:w,isOver:l,position:n,text:r,shortcut:o});return y({child:v,eventHandlers:g,childrenWithPopover:E})},et=function({icon:e,className:n,...r}){const o=["dashicon","dashicons","dashicons-"+e,n].filter(Boolean).join(" ");return(0,t.createElement)("span",we({className:o},r))},tt=function({icon:e=null,size:n=24,...r}){if("string"==typeof e)return(0,t.createElement)(et,we({icon:e},r));if((0,t.isValidElement)(e)&&et===e.type)return(0,t.cloneElement)(e,{...r});if("function"==typeof e)return e.prototype instanceof t.Component?(0,t.createElement)(e,{size:n,...r}):e({size:n,...r});if(e&&("svg"===e.type||e.type===ie.SVG)){const o={width:n,height:n,...e.props,...r};return(0,t.createElement)(ie.SVG,o)}return(0,t.isValidElement)(e)?(0,t.cloneElement)(e,{size:n,...r}):e},nt=(0,t.forwardRef)((function({as:e="div",className:n,...r},o){return function({as:e="div",...n}){return"function"==typeof n.children?n.children(n):(0,t.createElement)(e,n)}({as:e,className:fe()("components-visually-hidden",n),...r,ref:o})})),rt=["onMouseDown","onClick"],ot=(0,t.forwardRef)((function(e,n){const{href:r,target:o,isSmall:s,isPressed:i,isBusy:l,isDestructive:a,className:c,disabled:u,icon:d,iconPosition:p="left",iconSize:m,showTooltip:f,tooltipPosition:h,shortcut:g,label:v,children:w,text:b,variant:y,__experimentalIsFocusable:E,describedBy:S,...k}=function({isDefault:e,isPrimary:t,isSecondary:n,isTertiary:r,isLink:o,variant:s,...i}){let l=s;var a,c,u,d,p;return t&&(null!==(a=l)&&void 0!==a||(l="primary")),r&&(null!==(c=l)&&void 0!==c||(l="tertiary")),n&&(null!==(u=l)&&void 0!==u||(l="secondary")),e&&(ye()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(d=l)&&void 0!==d||(l="secondary")),o&&(null!==(p=l)&&void 0!==p||(l="link")),{...i,variant:l}}(e),_=fe()("components-button",c,{"is-secondary":"secondary"===y,"is-primary":"primary"===y,"is-small":s,"is-tertiary":"tertiary"===y,"is-pressed":i,"is-busy":l,"is-link":"link"===y,"is-destructive":a,"has-text":!!d&&!!w,"has-icon":!!d}),x=u&&!E,T=void 0===r||x?"button":"a",C="a"===T?{href:r,target:o}:{type:"button",disabled:x,"aria-pressed":i};if(u&&E){C["aria-disabled"]=!0;for(const e of rt)k[e]=e=>{e.stopPropagation(),e.preventDefault()}}const L=!x&&(f&&v||g||!!v&&(!w||(0,pe.isArray)(w)&&!w.length)&&!1!==f),I=S?(0,pe.uniqueId)():null,A=k["aria-describedby"]||I,R=(0,t.createElement)(T,we({},C,k,{className:_,"aria-label":k["aria-label"]||v,"aria-describedby":A,ref:n}),d&&"left"===p&&(0,t.createElement)(tt,{icon:d,size:m}),b&&(0,t.createElement)(t.Fragment,null,b),d&&"right"===p&&(0,t.createElement)(tt,{icon:d,size:m}),w);return L?(0,t.createElement)(t.Fragment,null,(0,t.createElement)(Je,{text:S||v,shortcut:g,position:h},R),S&&(0,t.createElement)(nt,null,(0,t.createElement)("span",{id:I},S))):(0,t.createElement)(t.Fragment,null,R,S&&(0,t.createElement)(nt,null,(0,t.createElement)("span",{id:I},S)))}));function st({value:e,status:n,title:r,displayTransform:s,isBorderless:i=!1,disabled:l=!1,onClickRemove:a=pe.noop,onMouseEnter:c,onMouseLeave:u,messages:d,termPosition:p,termsCount:m}){const f=(0,he.useInstanceId)(st),h=fe()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":i,"is-disabled":l}),g=s(e),v=(0,o.sprintf)( /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */ /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */ (0,o.__)("%1$s (%2$s of %3$s)"),g,p,m);return(0,t.createElement)("span",{className:h,onMouseEnter:c,onMouseLeave:u,title:r},(0,t.createElement)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${f}`},(0,t.createElement)(nt,{as:"span"},v),(0,t.createElement)("span",{"aria-hidden":"true"},g)),(0,t.createElement)(ot,{className:"components-form-token-field__remove-token",icon:ve,onClick:!l&&(()=>a({value:e})),label:d.remove,"aria-describedby":`components-form-token-field__token-text-${f}`}))}class it extends t.Component{constructor(){super(...arguments),this.onChange=this.onChange.bind(this),this.bindInput=this.bindInput.bind(this)}focus(){this.input.focus()}hasFocus(){return this.input===this.input.ownerDocument.activeElement}bindInput(e){this.input=e}onChange(e){this.props.onChange({value:e.target.value})}render(){const{value:e,isExpanded:n,instanceId:r,selectedSuggestionIndex:o,className:s,...i}=this.props,l=e?e.length+1:0;return(0,t.createElement)("input",we({ref:this.bindInput,id:`components-form-token-input-${r}`,type:"text"},i,{value:e||"",onChange:this.onChange,size:l,className:fe()(s,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?`components-form-token-suggestions-${r}`:void 0,"aria-activedescendant":-1!==o?`components-form-token-suggestions-${r}-${o}`:void 0,"aria-describedby":`components-form-token-suggestions-howto-${r}`}))}}const lt=it;var at=n(2121),ct=n.n(at);class ut extends t.Component{constructor(){super(...arguments),this.handleMouseDown=this.handleMouseDown.bind(this),this.bindList=this.bindList.bind(this)}componentDidUpdate(){this.props.selectedIndex>-1&&this.props.scrollIntoView&&this.list.children[this.props.selectedIndex]&&(this.scrollingIntoView=!0,ct()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((()=>{this.scrollingIntoView=!1}),100))}bindList(e){this.list=e}handleHover(e){return()=>{this.scrollingIntoView||this.props.onHover(e)}}handleClick(e){return()=>{this.props.onSelect(e)}}handleMouseDown(e){e.preventDefault()}computeSuggestionMatch(e){const t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;const n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}render(){return(0,t.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${this.props.instanceId}`,role:"listbox"},(0,pe.map)(this.props.suggestions,((e,n)=>{const r=this.computeSuggestionMatch(e),o=fe()("components-form-token-field__suggestion",{"is-selected":n===this.props.selectedIndex});return(0,t.createElement)("li",{id:`components-form-token-suggestions-${this.props.instanceId}-${n}`,role:"option",className:o,key:null!=e&&e.value?e.value:this.props.displayTransform(e),onMouseDown:this.handleMouseDown,onClick:this.handleClick(e),onMouseEnter:this.handleHover(e),"aria-selected":n===this.props.selectedIndex},r?(0,t.createElement)("span",{"aria-label":this.props.displayTransform(e)},r.suggestionBeforeMatch,(0,t.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):this.props.displayTransform(e))})))}}ut.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};const dt=(0,he.withSafeTimeout)(ut),pt=window.wp.a11y,mt=(0,he.createHigherOrderComponent)((e=>n=>(0,t.createElement)(e,we({},n,{speak:pt.speak,debouncedSpeak:(0,he.useDebounce)(pt.speak,500)}))),"withSpokenMessages"),ft={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class ht extends t.Component{constructor(){super(...arguments),this.state=ft,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.deleteTokenBeforeInput=this.deleteTokenBeforeInput.bind(this),this.deleteTokenAfterInput=this.deleteTokenAfterInput.bind(this),this.addCurrentToken=this.addCurrentToken.bind(this),this.onContainerTouched=this.onContainerTouched.bind(this),this.renderToken=this.renderToken.bind(this),this.onTokenClickRemove=this.onTokenClickRemove.bind(this),this.onSuggestionHovered=this.onSuggestionHovered.bind(this),this.onSuggestionSelected=this.onSuggestionSelected.bind(this),this.onInputChange=this.onInputChange.bind(this),this.bindInput=this.bindInput.bind(this),this.bindTokensAndInput=this.bindTokensAndInput.bind(this),this.updateSuggestions=this.updateSuggestions.bind(this)}componentDidUpdate(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();const{suggestions:t,value:n}=this.props,r=!C()(t,e.suggestions);(r||n!==e.value)&&this.updateSuggestions(r)}static getDerivedStateFromProps(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}bindInput(e){this.input=e}bindTokensAndInput(e){this.tokensAndInput=e}onFocus(e){const{__experimentalExpandOnFocus:t}=this.props;this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0,isExpanded:!!t||this.state.isExpanded}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}onBlur(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(ft)}onKeyDown(e){let t=!1;switch(e.keyCode){case ge.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case ge.ENTER:t=this.addCurrentToken();break;case ge.LEFT:t=this.handleLeftArrowKey();break;case ge.UP:t=this.handleUpArrowKey();break;case ge.RIGHT:t=this.handleRightArrowKey();break;case ge.DOWN:t=this.handleDownArrowKey();break;case ge.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case ge.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case ge.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}onKeyPress(e){let t=!1;44===e.charCode&&(t=this.handleCommaKey()),t&&e.preventDefault()}onContainerTouched(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}onTokenClickRemove(e){this.deleteToken(e.value),this.input.focus()}onSuggestionHovered(e){const t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}onSuggestionSelected(e){this.addNewToken(e)}onInputChange(e){const t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=(0,pe.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}handleDeleteKey(e){let t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}handleLeftArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}handleRightArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}handleUpArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(0===e.selectedSuggestionIndex?this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length:e.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}))),!0}handleDownArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(e.selectedSuggestionIndex+1)%this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length,selectedSuggestionScroll:!0}))),!0}handleEscapeKey(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}handleCommaKey(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}moveInputToIndex(e){this.setState(((t,n)=>({inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1})))}moveInputBeforePreviousToken(){this.setState(((e,t)=>({inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)})))}moveInputAfterNextToken(){this.setState((e=>({inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)})))}deleteTokenBeforeInput(){const e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}deleteTokenAfterInput(){const e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}addCurrentToken(){let e=!1;const t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}addNewTokens(e){const t=(0,pe.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((e=>!this.valueContainsToken(e))));if(t.length>0){const e=(0,pe.clone)(this.props.value);e.splice.apply(e,[this.getIndexOfInput(),0].concat(t)),this.props.onChange(e)}}addNewToken(e){const{__experimentalExpandOnFocus:t,__experimentalValidateInput:n}=this.props;n(e)?(this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!t}),this.state.isActive&&this.input.focus()):this.props.speak(this.props.messages.__experimentalInvalid,"assertive")}deleteToken(e){const t=this.props.value.filter((t=>this.getTokenValue(t)!==this.getTokenValue(e)));this.props.onChange(t),this.props.speak(this.props.messages.removed,"assertive")}getTokenValue(e){return"object"==typeof e?e.value:e}getMatchingSuggestions(e=this.state.incompleteTokenValue,t=this.props.suggestions,n=this.props.value,r=this.props.maxSuggestions,o=this.props.saveTransform){let s=o(e);const i=[],l=[];return 0===s.length?t=(0,pe.difference)(t,n):(s=s.toLocaleLowerCase(),(0,pe.each)(t,(e=>{const t=e.toLocaleLowerCase().indexOf(s);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&l.push(e))})),t=i.concat(l)),(0,pe.take)(t,r)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return(0,pe.some)(this.props.value,(t=>this.getTokenValue(e)===this.getTokenValue(t)))}getIndexOfInput(){return this.props.value.length-this.state.inputOffsetFromEnd}isInputEmpty(){return 0===this.state.incompleteTokenValue.length}inputHasValidValue(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}updateSuggestions(e=!0){const{__experimentalExpandOnFocus:t}=this.props,{incompleteTokenValue:n}=this.state,r=n.trim().length>1,s=this.getMatchingSuggestions(n),i=s.length>0,l={isExpanded:t||r&&i};if(e&&(l.selectedSuggestionIndex=-1,l.selectedSuggestionScroll=!1),this.setState(l),r){const{debouncedSpeak:e}=this.props;e(i?(0,o.sprintf)( /* translators: %d: number of results. */ /* translators: %d: number of results. */ (0,o._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",s.length),s.length):(0,o.__)("No results."),"assertive")}}renderTokensAndInput(){const e=(0,pe.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}renderToken(e,n,r){const o=this.getTokenValue(e),s=e.status?e.status:void 0,i=n+1,l=r.length;return(0,t.createElement)(st,{key:"token-"+o,value:o,status:s,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==s&&this.props.disabled,messages:this.props.messages,termsCount:l,termPosition:i})}renderInput(){const{autoCapitalize:e,autoComplete:n,maxLength:r,placeholder:o,value:s,instanceId:i}=this.props;let l={instanceId:i,autoCapitalize:e,autoComplete:n,placeholder:0===s.length?o:"",ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return r&&s.length>=r||(l={...l,onChange:this.onInputChange}),(0,t.createElement)(lt,l)}render(){const{disabled:e,label:n=(0,o.__)("Add item"),instanceId:r,className:s,__experimentalShowHowTo:i}=this.props,{isExpanded:l}=this.state,a=fe()(s,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":e});let c={className:"components-form-token-field",tabIndex:"-1"};const u=this.getMatchingSuggestions();return e||(c=Object.assign({},c,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),(0,t.createElement)("div",c,(0,t.createElement)("label",{htmlFor:`components-form-token-input-${r}`,className:"components-form-token-field__label"},n),(0,t.createElement)("div",{ref:this.bindTokensAndInput,className:a,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),l&&(0,t.createElement)(dt,{instanceId:r,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:u,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),i&&(0,t.createElement)("p",{id:`components-form-token-suggestions-howto-${r}`,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?(0,o.__)("Separate with commas, spaces, or the Enter key."):(0,o.__)("Separate with commas or the Enter key.")))}}ht.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:pe.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:(0,o.__)("Item added."),removed:(0,o.__)("Item removed."),remove:(0,o.__)("Remove item"),__experimentalInvalid:(0,o.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};const gt=mt((0,he.withInstanceId)(ht));n(9027);const vt=({className:t,style:n,suggestions:r,multiple:o=!0,saveTransform:s=(e=>e.trim().replace(/\s/g,"-")),messages:i={},validateInput:l=(e=>r.includes(e)),label:a="",...c})=>(0,e.createElement)("div",{className:Z()("wc-blocks-components-form-token-field-wrapper",t,{"single-selection":!o}),style:n},(0,e.createElement)(gt,{label:a,__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1,__experimentalValidateInput:l,saveTransform:s,maxLength:o?void 0:1,suggestions:r,messages:i,...c}));n(1753);const wt=({children:t})=>(0,e.createElement)("div",{className:"wc-block-filter-title-placeholder"},t),bt=(0,s.getSetting)("attributes",[]).reduce(((e,t)=>{const n=(r=t)&&r.attribute_name?{id:parseInt(r.attribute_id,10),name:r.attribute_name,taxonomy:"pa_"+r.attribute_name,label:r.attribute_label}:null;var r;return n&&n.id&&e.push(n),e}),[]),yt=(e=[],t,n,r=[],o="in")=>{if(!n||!n.taxonomy)return[];const s=e.filter((e=>e.attribute!==n.taxonomy));return 0===r.length?t(s):(s.push({attribute:n.taxonomy,operator:o,slug:r.map((({slug:e})=>e)).sort()}),t(K(s).asc("attribute"))),s},Et=[{value:"preview-1",formattedValue:"preview-1",name:"Blue",label:(0,e.createElement)(Q,{name:"Blue",count:3}),textLabel:"Blue (3)"},{value:"preview-2",formattedValue:"preview-2",name:"Green",label:(0,e.createElement)(Q,{name:"Green",count:3}),textLabel:"Green (3)"},{value:"preview-3",formattedValue:"preview-3",name:"Red",label:(0,e.createElement)(Q,{name:"Red",count:2}),textLabel:"Red (2)"}],St={count:0,has_archives:!0,id:0,label:"Preview",name:"preview",order:"menu_order",parent:0,taxonomy:"preview",type:""};n(3106);const kt=JSON.parse('{"Y4":{"hd":{"Z":"or"},"D8":{"Z":3},"PW":{"Z":"list"},"lr":{"Z":"multiple"}}}');function _t(){return Math.floor(Math.random()*Date.now())}const xt=e=>e.replace("pa_",""),Tt=(e,t=[])=>{const n={};t.forEach((e=>{const{attribute:t,slug:r,operator:o}=e,s=xt(t),i=r.join(","),l=`${ce}${s}`,a="in"===o?"or":"and";n[`${ue}${s}`]=i,n[l]=a}));const r=(0,te.removeQueryArgs)(e,...Object.keys(n));return(0,te.addQueryArgs)(r,n)},Ct=e=>{if(e){const n=(t=`filter_${e.name}`,window?(0,te.getQueryArg)(window.location.href,t):null);return("string"==typeof n?n.split(","):[]).map((e=>encodeURIComponent(e).toLowerCase()))}var t;return[]},Lt=e=>e.trim().replace(/\s/g,"-").replace(/_/g,"-").replace(/-+/g,"-").replace(/[^a-zA-Z0-9-]/g,""),It=({isLoading:t=!1,options:n,checked:r,onChange:o})=>t?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"is-loading"}),(0,e.createElement)("span",{className:"is-loading"})):(0,e.createElement)(G.CheckboxList,{className:"wc-block-attribute-filter-list",options:n,checked:r,onChange:o,isLoading:t,isDisabled:t}),At=(0,t.createContext)({});(e=>{const t=document.body.querySelectorAll(_.join(",")),{Block:n,getProps:r,getErrorBoundaryProps:o,selector:s}=e;(({Block:e,getProps:t,getErrorBoundaryProps:n,selector:r,wrappers:o})=>{const s=document.body.querySelectorAll(r);o&&o.length>0&&Array.prototype.filter.call(s,(e=>!((e,t)=>Array.prototype.some.call(t,(t=>t.contains(e)&&!t.isSameNode(e))))(e,o))),x({Block:e,containers:s,getProps:t,getErrorBoundaryProps:n})})({Block:n,getProps:r,getErrorBoundaryProps:o,selector:s,wrappers:t}),Array.prototype.forEach.call(t,(t=>{t.addEventListener("wc-blocks_render_blocks_frontend",(()=>{(({Block:e,getProps:t,getErrorBoundaryProps:n,selector:r,wrapper:o})=>{const s=o.querySelectorAll(r);x({Block:e,containers:s,getProps:t,getErrorBoundaryProps:n})})({...e,wrapper:t})}))}))})({selector:".wp-block-woocommerce-attribute-filter",Block:({attributes:n,isEditor:r=!1,getNotice:i=(()=>null)})=>{const l=(0,s.getSettingWithCoercion)("hasFilterableProducts",!1,ne),a=(0,s.getSettingWithCoercion)("isRenderingPhpTemplate",!1,ne),c=(0,s.getSettingWithCoercion)("pageUrl",window.location.href,re),[u,d]=(0,t.useState)(!1),p=n.isPreview&&!n.attributeId?St:(e=>{if(e)return bt.find((t=>t.id===e))})(n.attributeId),m=(0,t.useMemo)((()=>Ct(p)),[p]),[f,h]=(0,t.useState)(m),[g,v]=(0,t.useState)(_t()),[w,b]=(0,t.useState)(n.isPreview&&!n.attributeId?Et:[]),[y]=F(),[E,S]=O("attributes",[]),{results:k,isLoading:_}=N({namespace:"/wc/store/v1",resourceName:"products/attributes/terms",resourceValues:[(null==p?void 0:p.id)||0],shouldSelect:n.attributeId>0,query:{orderby:"menu_order"}}),{results:x,isLoading:T}=$({queryAttribute:{taxonomy:(null==p?void 0:p.taxonomy)||"",queryType:n.queryType},queryState:{...y},isEditor:r}),I=(0,t.useCallback)((e=>D(x,"attribute_counts")&&Array.isArray(x.attribute_counts)?x.attribute_counts.find((({term:t})=>t===e)):null),[x]);(0,t.useEffect)((()=>{if(_||T)return;if(!Array.isArray(k))return;const t=k.map((t=>{const r=I(t.id);if(!(r||f.includes(t.slug)||(o=t.slug,null!=y&&y.attributes&&y.attributes.some((({attribute:e,slug:t=[]})=>e===(null==p?void 0:p.taxonomy)&&t.includes(o))))))return null;var o;const s=r?r.count:0;return{formattedValue:Lt(t.slug),value:t.slug,name:(0,ee.decodeEntities)(t.name),label:(0,e.createElement)(Q,{name:(0,ee.decodeEntities)(t.name),count:n.showCounts?s:null}),textLabel:n.showCounts?`${(0,ee.decodeEntities)(t.name)} (${s})`:(0,ee.decodeEntities)(t.name)}})).filter((e=>!!e));b(t),v(_t())}),[null==p?void 0:p.taxonomy,k,_,n.showCounts,T,I,f,y.attributes]);const A=(0,t.useCallback)((e=>Array.isArray(k)?k.reduce(((t,n)=>(e.includes(n.slug)&&t.push(n),t)),[]):[]),[k]),R=(0,t.useCallback)(((e,t=!1)=>{if(e=e.map((e=>({...e,slug:e.slug.map((e=>decodeURIComponent(e)))}))),t){if(null==p||!p.taxonomy)return;const t=Object.keys((0,te.getQueryArgs)(window.location.href)),n=xt(p.taxonomy),r=t.reduce(((e,t)=>t.includes(ce+n)||t.includes(ue+n)?(0,te.removeQueryArgs)(e,t):e),window.location.href);de(Tt(r,e))}else{const t=Tt(c,e);((e,t)=>{const n=Object.entries(t).reduce(((e,[t,n])=>t.includes("query_type")?e:{...e,[t]:n}),{});return Object.entries(n).reduce(((t,[n,r])=>e[n]===r&&t),!0)})((0,te.getQueryArgs)(window.location.href),(0,te.getQueryArgs)(t))||de(t)}}),[c,null==p?void 0:p.taxonomy]),P=e=>{const t=yt(E,S,p,A(e),"or"===n.queryType?"in":"and");R(t,0===e.length)},B=(0,t.useCallback)(((e,t=!1)=>{r||(h(e),!t&&n.showFilterButton||yt(E,S,p,A(e),"or"===n.queryType?"in":"and"))}),[r,h,E,S,p,A,n.queryType,n.showFilterButton]),M=L((0,t.useMemo)((()=>{return e=E,Array.isArray(e)&&e.every(oe)?E.filter((({attribute:e})=>e===(null==p?void 0:p.taxonomy))).flatMap((({slug:e})=>e)):[];var e}),[E,null==p?void 0:p.taxonomy])),V=function(e,n){const r=(0,t.useRef)();return(0,t.useEffect)((()=>{r.current===e||(r.current=e)}),[e,n]),r.current}(M);(0,t.useEffect)((()=>{!V||C()(V,M)||C()(f,M)||B(M)}),[f,M,V,B]);const W="single"!==n.selectType,j=(0,t.useCallback)((e=>{const t=f.includes(e);let n;W?(n=f.filter((t=>t!==e)),t||(n.push(e),n.sort())):n=t?[]:[e],B(n)}),[f,W,B]);(0,t.useEffect)((()=>{p&&!n.showFilterButton&&((({currentCheckedFilters:e,hasSetFilterDefaultsFromUrl:t})=>t&&0===e.length)({currentCheckedFilters:f,hasSetFilterDefaultsFromUrl:u})?R(E,!0):R(E,!1))}),[u,R,E,p,f,n.showFilterButton]),(0,t.useEffect)((()=>{if(!u&&!_)return m.length>0?(d(!0),void B(m,!0)):void(a||d(!0))}),[p,u,_,B,m,a]);const H=(()=>{const{wrapper:e}=(0,t.useContext)(At);return t=>{e&&e.current&&(e.current.hidden=!t)}})();if(!l)return H(!1),null;if(!p)return r?i("noAttributes"):(H(!1),null);if(0===w.length&&!_&&r)return i("noProducts");const U=`h${n.headingLevel}`,q=!n.isPreview&&_,z=!n.isPreview&&T,K=(q||z)&&0===w.length;if(!K&&0===w.length)return H(!1),null;const G=W?!K&&f.length<w.length:!K&&0===f.length,Y=(0,e.createElement)(U,{className:"wc-block-attribute-filter__title"},n.heading),ie=K?(0,e.createElement)(wt,null,Y):Y;return H(!0),(0,e.createElement)(e.Fragment,null,!r&&n.heading&&ie,(0,e.createElement)("div",{className:Z()("wc-block-attribute-filter",`style-${n.displayStyle}`)},"dropdown"===n.displayStyle?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vt,{key:g,className:Z()({"single-selection":!W,"is-loading":K}),suggestions:w.filter((e=>!f.includes(e.value))).map((e=>e.formattedValue)),disabled:K,placeholder:(0,o.sprintf)(/* translators: %s attribute name. */ /* translators: %s attribute name. */ (0,o.__)("Select %s","woocommerce"),p.label),onChange:e=>{!W&&e.length>1&&(e=[e[e.length-1]]);const t=[e=e.map((e=>{const t=w.find((t=>t.formattedValue===e));return t?t.value:e})),f].reduce(((e,t)=>e.filter((e=>!t.includes(e)))));if(1===t.length)return j(t[0]);const n=[f,e].reduce(((e,t)=>e.filter((e=>!t.includes(e)))));1===n.length&&j(n[0])},value:f,displayTransform:e=>{const t=w.find((t=>[t.value,t.formattedValue].includes(e)));return t?t.textLabel:e},saveTransform:Lt,messages:{added:(0,o.sprintf)(/* translators: %s is the attribute label. */ /* translators: %s is the attribute label. */ (0,o.__)("%s filter added.","woocommerce"),p.label),removed:(0,o.sprintf)(/* translators: %s is the attribute label. */ /* translators: %s is the attribute label. */ (0,o.__)("%s filter removed.","woocommerce"),p.label),remove:(0,o.sprintf)(/* translators: %s is the attribute label. */ /* translators: %s is the attribute label. */ (0,o.__)("Remove %s filter.","woocommerce"),p.label.toLocaleLowerCase()),__experimentalInvalid:(0,o.sprintf)(/* translators: %s is the attribute label. */ /* translators: %s is the attribute label. */ (0,o.__)("Invalid %s filter.","woocommerce"),p.label.toLocaleLowerCase())}}),G&&(0,e.createElement)(se,{icon:le,size:30})):(0,e.createElement)(It,{options:w,checked:f,onChange:j,isLoading:K,isDisabled:K})),(0,e.createElement)("div",{className:"wc-block-attribute-filter__actions"},(f.length>0||r)&&!K&&(0,e.createElement)(X,{onClick:()=>{h([]),v(_t()),u&&P([])},screenReaderLabel:(0,o.__)("Reset attribute filter","woocommerce")}),n.showFilterButton&&(0,e.createElement)(J,{className:"wc-block-attribute-filter__button",isLoading:K,disabled:(()=>{if(q||z)return!0;const e=Ct(p);return e.length===f.length&&f.every((t=>e.includes(t)))})(),onClick:()=>P(f)})))},getProps:e=>{return{isEditor:!1,attributes:(t=e.dataset,{className:re(null==t?void 0:t.className)?t.className:"",attributeId:parseInt(re(null==t?void 0:t.attributeId)?t.attributeId:"0",10),showCounts:"true"===(null==t?void 0:t.showCounts),queryType:re(null==t?void 0:t.queryType)&&t.queryType||kt.Y4.hd.Z,heading:re(null==t?void 0:t.heading)?t.heading:"",headingLevel:re(null==t?void 0:t.headingLevel)&&parseInt(t.headingLevel,10)||kt.Y4.D8.Z,displayStyle:re(null==t?void 0:t.displayStyle)&&t.displayStyle||kt.Y4.PW.Z,showFilterButton:"true"===(null==t?void 0:t.showFilterButton),selectType:re(null==t?void 0:t.selectType)&&t.selectType||kt.Y4.lr.Z,isPreview:!1})};var t}})})()})();
[+]
..
[-] all-products.css
[edit]
[+]
product-details
[-] product-filter-rating.js
[edit]
[-] product-gallery-large-image-next-previous-style.js.LICENSE.txt
[edit]
[+]
product-new
[-] product-filter-stock-status-frontend.asset.php
[edit]
[-] filter-wrapper.asset.php
[edit]
[-] product-gallery-large-image-frontend.js
[edit]
[-] product-filter-price-frontend.asset.php
[edit]
[-] product-gallery-thumbnails.asset.php
[edit]
[-] order-confirmation-shipping-address.css
[edit]
[-] all-products-style.asset.php
[edit]
[-] rating-filter-frontend.js
[edit]
[+]
product-gallery-thumbnails
[-] legacy-template-style.asset.php
[edit]
[-] checkout.js
[edit]
[-] order-confirmation-additional-fields.asset.php
[edit]
[-] product-query.css
[edit]
[-] product-collection-no-results.asset.php
[edit]
[-] product-on-sale.js
[edit]
[-] product-gallery-rtl.css
[edit]
[-] blocks-components.asset.php
[edit]
[+]
product-filter-active
[-] order-confirmation-status-style.asset.php
[edit]
[-] product-average-rating.js
[edit]
[-] cart-style.asset.php
[edit]
[-] attribute-filter-style.asset.php
[edit]
[-] order-confirmation-additional-fields-style.asset.php
[edit]
[+]
add-to-cart-form
[-] rating-filter-wrapper-frontend.js
[edit]
[+]
product-collection-no-results
[-] wc-interactivity-checkbox-list.css
[edit]
[-] product-collection.js
[edit]
[-] product-reviews.css
[edit]
[-] product-rating-counter.js
[edit]
[-] reviews-by-category.css
[edit]
[-] all-products.asset.php
[edit]
[-] product-image-gallery-rtl.css
[edit]
[-] products-by-attribute-style.asset.php
[edit]
[-] store-notices-rtl.css
[edit]
[-] mini-cart-contents-style.js.LICENSE.txt
[edit]
[-] product-sku-frontend.js
[edit]
[-] catalog-sorting-style.asset.php
[edit]
[-] wc-payment-method-cod.asset.php
[edit]
[-] product-filter-frontend.asset.php
[edit]
[-] packages-style-rtl.css
[edit]
[-] product-image.js
[edit]
[-] product-categories.asset.php
[edit]
[-] wc-blocks-classic-template-revert-button-style-style.asset.php
[edit]
[-] product-filter.js
[edit]
[-] mini-cart-component-frontend.asset.php
[edit]
[-] classic-shortcode.js
[edit]
[-] stock-filter.css
[edit]
[-] product-rating-rtl.css
[edit]
[-] order-confirmation-billing-wrapper.asset.php
[edit]
[+]
store-notices
[-] reviews-by-product-rtl.css
[edit]
[+]
order-confirmation-billing-wrapper
[+]
product-collection
[-] featured-product-style.asset.php
[edit]
[-] wc-blocks-google-analytics.js
[edit]
[-] order-confirmation-additional-fields-wrapper-style.asset.php
[edit]
[-] reviews-by-product-style.js.LICENSE.txt
[edit]
[-] product-summary-rtl.css
[edit]
[-] active-filters.js
[edit]
[-] order-confirmation-totals-style.asset.php
[edit]
[-] product-filter-attribute-style.js.LICENSE.txt
[edit]
[-] product-categories-style.asset.php
[edit]
[-] product-gallery-thumbnails-style.js.LICENSE.txt
[edit]
[-] order-confirmation-shipping-wrapper.js
[edit]
[-] rating-filter.css
[edit]
[-] product-gallery-large-image-frontend.asset.php
[edit]
[-] order-confirmation-additional-fields-rtl.css
[edit]
[-] product-new.asset.php
[edit]
[-] order-confirmation-additional-fields-wrapper-rtl.css
[edit]
[-] product-gallery-large-image.js
[edit]
[-] wc-interactivity-dropdown.js
[edit]
[-] product-query.js
[edit]
[-] all-reviews-style.js.LICENSE.txt
[edit]
[-] product-collection-style.asset.php
[edit]
[-] order-confirmation-totals-wrapper.js
[edit]
[+]
order-confirmation-additional-information
[-] stock-filter-style.js.LICENSE.txt
[edit]
[-] wc-payment-method-paypal.js
[edit]
[-] reviews-by-product.asset.php
[edit]
[-] legacy-template-style.js.LICENSE.txt
[edit]
[-] product-filter-active-style.js.LICENSE.txt
[edit]
[-] product-filter-rating.asset.php
[edit]
[+]
page-content-wrapper
[-] reviews-by-category-style.js.LICENSE.txt
[edit]
[-] product-add-to-cart-rtl.css
[edit]
[-] wc-payment-method-bacs.js
[edit]
[-] product-filter-attribute.js
[edit]
[-] wc-blocks.js
[edit]
[-] order-confirmation-billing-address-style.asset.php
[edit]
[-] order-confirmation-shipping-address.asset.php
[edit]
[+]
price-filter
[-] classic-shortcode.css
[edit]
[-] featured-category-style.asset.php
[edit]
[-] product-title-rtl.css
[edit]
[-] active-filters.asset.php
[edit]
[-] product-filter-active-frontend.asset.php
[edit]
[-] product-filter-price.js
[edit]
[-] rating-filter-style.asset.php
[edit]
[-] product-details-rtl.css
[edit]
[-] product-collection-no-results.js
[edit]
[-] product-on-sale.asset.php
[edit]
[-] cart.css
[edit]
[-] product-filter-price.css
[edit]
[+]
all-products
[-] product-rating-frontend.js
[edit]
[-] wc-blocks-style.asset.php
[edit]
[-] cart-style.js.LICENSE.txt
[edit]
[-] wc-interactivity-checkbox-list-rtl.css
[edit]
[-] catalog-sorting.js
[edit]
[-] product-gallery-style.asset.php
[edit]
[-] classic-shortcode-style.asset.php
[edit]
[-] rating-filter-wrapper-rtl.css
[edit]
[-] wc-blocks.asset.php
[edit]
[+]
single-product
[-] mini-cart-frontend.asset.php
[edit]
[-] order-confirmation-downloads.asset.php
[edit]
[-] active-filters-frontend.asset.php
[edit]
[+]
order-confirmation-downloads
[-] product-top-rated-style.js.LICENSE.txt
[edit]
[-] product-filter-stock-status-rtl.css
[edit]
[-] featured-category.js
[edit]
[-] products-by-attribute.asset.php
[edit]
[-] order-confirmation-totals-wrapper.asset.php
[edit]
[-] cart.asset.php
[edit]
[+]
order-confirmation-shipping-address
[+]
product-tag
[-] attribute-filter-style.js.LICENSE.txt
[edit]
[-] product-gallery-pager-style.asset.php
[edit]
[-] product-rating-counter-frontend.js
[edit]
[-] wc-blocks-registry.js
[edit]
[-] classic-shortcode.asset.php
[edit]
[-] product-gallery.asset.php
[edit]
[-] wc-settings.js
[edit]
[-] all-products.js
[edit]
[-] filter-wrapper-rtl.css
[edit]
[+]
order-confirmation-totals
[+]
featured-product
[-] order-confirmation-summary-rtl.css
[edit]
[-] price-format.js
[edit]
[-] checkout-frontend.js
[edit]
[-] classic-shortcode-style.js.LICENSE.txt
[edit]
[-] order-confirmation-additional-information-rtl.css
[edit]
[-] attribute-filter-rtl.css
[edit]
[-] all-reviews-rtl.css
[edit]
[-] checkout-style.js.LICENSE.txt
[edit]
[-] attribute-filter-wrapper-frontend.js
[edit]
[+]
product-gallery-large-image
[-] blocks-checkout.asset.php
[edit]
[-] product-gallery.css
[edit]
[-] product-template.asset.php
[edit]
[-] single-product-style.js.LICENSE.txt
[edit]
[-] wc-blocks-vendors.js
[edit]
[-] featured-product.js
[edit]
[-] product-categories.css
[edit]
[-] product-details.css
[edit]
[-] product-price-frontend.js
[edit]
[-] product-average-rating-frontend.js
[edit]
[-] single-product-rtl.css
[edit]
[-] wc-interactivity.asset.php
[edit]
[-] product-filter-price.asset.php
[edit]
[+]
product-button
[-] featured-category-rtl.css
[edit]
[-] product-collection-rtl.css
[edit]
[-] page-content-wrapper-style.asset.php
[edit]
[-] price-filter.js
[edit]
[-] product-search.asset.php
[edit]
[-] wc-payment-method-cheque.js
[edit]
[-] product-filter-stock-status.js
[edit]
[-] product-filter-stock-status-style.js.LICENSE.txt
[edit]
[+]
order-confirmation-totals-wrapper
[+]
product-image-gallery
[+]
product-average-rating
[-] breadcrumbs.css
[edit]
[-] order-confirmation-shipping-wrapper-style.asset.php
[edit]
[-] product-image-gallery-style.asset.php
[edit]
[-] legacy-template.asset.php
[edit]
[-] product-rating-stars.js
[edit]
[-] wc-shipping-method-pickup-location.asset.php
[edit]
[+]
product-gallery-large-image-next-previous
[-] base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css
[edit]
[+]
checkout
[-] product-rating-stars-rtl.css
[edit]
[-] active-filters-wrapper-rtl.css
[edit]
[-] product-image.css
[edit]
[-] catalog-sorting.asset.php
[edit]
[-] product-category.js
[edit]
[-] active-filters-style.js.LICENSE.txt
[edit]
[-] filter-wrapper-frontend.js
[edit]
[-] base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss-rtl.css
[edit]
[+]
products-by-attribute
[-] product-query-rtl.css
[edit]
[-] order-confirmation-shipping-address.js
[edit]
[+]
stock-filter
[-] product-category-style.asset.php
[edit]
[-] order-confirmation-downloads-wrapper-style.asset.php
[edit]
[-] wc-blocks-classic-template-revert-button.asset.php
[edit]
[-] products-by-attribute.js
[edit]
[-] products-by-attribute-style.js.LICENSE.txt
[edit]
[-] order-confirmation-totals-rtl.css
[edit]
[-] attribute-filter-frontend.asset.php
[edit]
[-] product-new-style.js.LICENSE.txt
[edit]
[-] classic-shortcode-rtl.css
[edit]
[-] product-gallery-large-image.asset.php
[edit]
[-] order-confirmation-additional-fields-wrapper.js
[edit]
[-] product-search-style.js.LICENSE.txt
[edit]
[-] product-image-frontend.js
[edit]
[-] active-filters-style.asset.php
[edit]
[+]
mini-cart-contents-block
[-] product-filter-active.asset.php
[edit]
[-] product-gallery-pager-style.js.LICENSE.txt
[edit]
[-] wc-interactivity-dropdown.css
[edit]
[-] reviews-by-product.css
[edit]
[-] product-image-gallery.css
[edit]
[-] product-rating-stars.css
[edit]
[+]
product-rating
[+]
order-confirmation-additional-fields-wrapper
[-] product-summary-frontend.js
[edit]
[+]
inner-blocks
[-] order-confirmation-summary.js
[edit]
[-] product-filter-stock-status.asset.php
[edit]
[-] product-price.css
[edit]
[-] stock-filter-frontend.js
[edit]
[-] product-button.js
[edit]
[-] checkout-frontend.asset.php
[edit]
[-] order-confirmation-downloads-wrapper.js
[edit]
[-] reviews-by-category.js
[edit]
[-] product-filter-style.asset.php
[edit]
[-] attribute-filter.asset.php
[edit]
[-] wc-blocks-registry.asset.php
[edit]
[-] product-stock-indicator.css
[edit]
[-] product-gallery-large-image-style.asset.php
[edit]
[-] add-to-cart-form-rtl.css
[edit]
[-] product-template-style.js.LICENSE.txt
[edit]
[-] product-results-count-rtl.css
[edit]
[-] stock-filter-wrapper-rtl.css
[edit]
[-] price-filter-frontend.asset.php
[edit]
[-] product-filter-active-style.asset.php
[edit]
[-] order-confirmation-status.asset.php
[edit]
[-] wc-payment-method-cheque.asset.php
[edit]
[-] wc-interactivity-checkbox-list-style.asset.php
[edit]
[-] product-filter-rating-style.asset.php
[edit]
[-] mini-cart-rtl.css
[edit]
[+]
related-products
[+]
product-top-rated
[-] handpicked-products.asset.php
[edit]
[-] product-template-rtl.css
[edit]
[-] product-results-count.js
[edit]
[-] all-products-rtl.css
[edit]
[-] customer-account.asset.php
[edit]
[-] product-add-to-cart.css
[edit]
[+]
product-filter-attribute
[-] attribute-filter-frontend.js
[edit]
[-] product-details-style.js.LICENSE.txt
[edit]
[-] all-reviews.js
[edit]
[-] cart-rtl.css
[edit]
[-] checkout.asset.php
[edit]
[-] product-on-sale-style.js.LICENSE.txt
[edit]
[-] product-results-count-style.asset.php
[edit]
[-] wc-interactivity-checkbox-list.asset.php
[edit]
[-] rating-filter-rtl.css
[edit]
[-] product-sale-badge-rtl.css
[edit]
[-] featured-product-style.js.LICENSE.txt
[edit]
[-] product-sale-badge.js
[edit]
[-] wc-interactivity-dropdown.asset.php
[edit]
[-] product-filter.asset.php
[edit]
[-] stock-filter-wrapper.css
[edit]
[+]
order-confirmation-downloads-wrapper
[-] order-confirmation-summary.asset.php
[edit]
[-] product-filter-stock-status-frontend.js
[edit]
[-] mini-cart-style.asset.php
[edit]
[-] wc-settings.asset.php
[edit]
[+]
order-confirmation-additional-fields
[-] catalog-sorting.css
[edit]
[-] customer-account-style.js.LICENSE.txt
[edit]
[-] product-search.js
[edit]
[-] featured-product-rtl.css
[edit]
[-] product-button-frontend.js
[edit]
[-] featured-category-style.js.LICENSE.txt
[edit]
[-] order-confirmation-totals.asset.php
[edit]
[+]
order-confirmation-shipping-wrapper
[+]
classic-shortcode
[-] wc-payment-method-bacs.asset.php
[edit]
[-] rating-filter-wrapper.css
[edit]
[-] product-search-rtl.css
[edit]
[-] reviews-frontend.js
[edit]
[+]
filter-wrapper
[-] product-image-rtl.css
[edit]
[-] product-collection.asset.php
[edit]
[-] 9782-frontend.js
[edit]
[-] handpicked-products-style.js.LICENSE.txt
[edit]
[-] product-search-style.asset.php
[edit]
[-] active-filters-frontend.js
[edit]
[-] active-filters-rtl.css
[edit]
[-] order-confirmation-additional-information.js
[edit]
[-] add-to-cart-form.css
[edit]
[-] product-filter-rating-rtl.css
[edit]
[+]
product-gallery
[-] product-results-count.asset.php
[edit]
[-] product-add-to-cart-frontend.js
[edit]
[+]
product-reviews
[-] product-rating.js
[edit]
[-] customer-account.js
[edit]
[-] product-gallery-large-image-next-previous.js
[edit]
[-] wc-interactivity.js
[edit]
[-] product-sku.js
[edit]
[-] order-confirmation-status-rtl.css
[edit]
[-] order-confirmation-billing-address.asset.php
[edit]
[+]
product-meta
[-] product-gallery-thumbnails.js
[edit]
[-] wc-blocks-style.js.LICENSE.txt
[edit]
[-] price-filter-frontend.js
[edit]
[+]
checkout-blocks
[+]
product-filter-price
[-] wc-interactivity-dropdown-style.asset.php
[edit]
[-] product-reviews-rtl.css
[edit]
[-] order-confirmation-billing-address.css
[edit]
[-] store-notices-style.js.LICENSE.txt
[edit]
[-] mini-cart-frontend.js
[edit]
[-] wc-blocks-middleware.asset.php
[edit]
[-] handpicked-products.js
[edit]
[-] product-button-interactivity-frontend.js
[edit]
[+]
attribute-filter
[-] attribute-filter.js
[edit]
[-] reviews-by-category-rtl.css
[edit]
[-] price-filter-wrapper.css
[edit]
[-] product-button-rtl.css
[edit]
[-] wc-payment-method-cod.js
[edit]
[-] product-collection-frontend.asset.php
[edit]
[-] breadcrumbs-rtl.css
[edit]
[+]
order-confirmation-summary
[-] product-details-style.asset.php
[edit]
[-] featured-category.asset.php
[edit]
[-] order-confirmation-shipping-address-style.asset.php
[edit]
[-] product-gallery-pager.js
[edit]
[-] wc-blocks-classic-template-revert-button-style-rtl.css
[edit]
[+]
product-rating-stars
[-] rating-filter.js
[edit]
[-] page-content-wrapper.js
[edit]
[-] product-collection-frontend.js
[edit]
[-] product-gallery-frontend.asset.php
[edit]
[-] product-template.css
[edit]
[-] product-filter-price-frontend.js
[edit]
[-] product-price.js
[edit]
[-] product-filter-attribute-frontend.asset.php
[edit]
[-] product-filter-attribute.css
[edit]
[-] 9178-style.js.LICENSE.txt
[edit]
[-] wc-blocks-middleware.js
[edit]
[-] all-products-frontend.js
[edit]
[-] order-confirmation-additional-information.asset.php
[edit]
[-] active-filters-wrapper.css
[edit]
[-] product-gallery-large-image-next-previous-style.asset.php
[edit]
[-] product-results-count.css
[edit]
[-] stock-filter-rtl.css
[edit]
[-] customer-account.css
[edit]
[-] product-new.js
[edit]
[-] product-collection-style.js.LICENSE.txt
[edit]
[-] legacy-template-rtl.css
[edit]
[-] product-stock-indicator-rtl.css
[edit]
[-] product-filter-price-style.asset.php
[edit]
[-] 3030-frontend.js
[edit]
[-] packages-style-style.js.LICENSE.txt
[edit]
[-] legacy-template.css
[edit]
[-] product-sku-rtl.css
[edit]
[-] all-products-style.js.LICENSE.txt
[edit]
[-] order-confirmation-billing-wrapper-style.asset.php
[edit]
[-] wc-blocks-google-analytics.asset.php
[edit]
[-] all-reviews.css
[edit]
[-] order-confirmation-additional-fields.js
[edit]
[-] product-gallery-thumbnails-style.asset.php
[edit]
[-] product-filter-attribute.asset.php
[edit]
[-] order-confirmation-additional-information.css
[edit]
[-] all-reviews.asset.php
[edit]
[-] product-gallery-large-image-next-previous.asset.php
[edit]
[-] product-top-rated.js
[edit]
[-] product-summary.js
[edit]
[-] order-confirmation-additional-fields-wrapper.css
[edit]
[-] active-filters.css
[edit]
[-] product-rating.css
[edit]
[-] active-filters-wrapper-frontend.js
[edit]
[-] product-sku.css
[edit]
[-] featured-product.css
[edit]
[-] mini-cart.js
[edit]
[-] order-confirmation-totals-wrapper-style.asset.php
[edit]
[-] product-query.asset.php
[edit]
[-] handpicked-products-style.asset.php
[edit]
[-] wc-blocks-data.js
[edit]
[-] rating-filter.asset.php
[edit]
[+]
mini-cart
[-] product-filter-active.css
[edit]
[+]
breadcrumbs
[-] product-top-rated-style.asset.php
[edit]
[-] product-filter-rating.css
[edit]
[-] attribute-filter-wrapper-rtl.css
[edit]
[-] product-tag.js
[edit]
[-] product-filter-active-rtl.css
[edit]
[-] product-rating-stars-frontend.js
[edit]
[-] mini-cart-contents-rtl.css
[edit]
[-] product-search.css
[edit]
[-] all-products-frontend.asset.php
[edit]
[-] product-best-sellers-style.asset.php
[edit]
[-] product-tag-style.asset.php
[edit]
[-] product-best-sellers.asset.php
[edit]
[-] product-title-frontend.js
[edit]
[-] featured-product.asset.php
[edit]
[-] order-confirmation-status.css
[edit]
[-] stock-filter-style.asset.php
[edit]
[-] product-summary.css
[edit]
[-] rating-filter-style.js.LICENSE.txt
[edit]
[-] cart-frontend.asset.php
[edit]
[-] price-filter-style.js.LICENSE.txt
[edit]
[-] filter-wrapper-style.asset.php
[edit]
[-] wc-shipping-method-pickup-location.js
[edit]
[-] price-filter-rtl.css
[edit]
[-] 1720-style.js.LICENSE.txt
[edit]
[-] product-on-sale-style.asset.php
[edit]
[-] mini-cart-contents.css
[edit]
[-] wc-blocks-editor-style-rtl.css
[edit]
[-] product-collection.css
[edit]
[-] order-confirmation-totals.css
[edit]
[-] product-filter-rating-frontend.asset.php
[edit]
[-] 1092-frontend.js
[edit]
[-] reviews-by-product-style.asset.php
[edit]
[-] order-confirmation-additional-fields-wrapper.asset.php
[edit]
[-] order-confirmation-billing-wrapper.js
[edit]
[-] product-template.js
[edit]
[-] mini-cart.css
[edit]
[-] store-notices.js
[edit]
[-] product-button.css
[edit]
[-] single-product.js
[edit]
[-] product-filter-rating-style.js.LICENSE.txt
[edit]
[-] wc-blocks-classic-template-revert-button.js
[edit]
[-] store-notices.css
[edit]
[-] product-new-style.asset.php
[edit]
[-] product-reviews-style.asset.php
[edit]
[-] price-filter-wrapper-rtl.css
[edit]
[-] cart-frontend.js
[edit]
[-] reviews-by-category-style.asset.php
[edit]
[+]
product-categories
[-] blocks-components.js
[edit]
[-] filter-wrapper.css
[edit]
[-] product-template-style.asset.php
[edit]
[-] breadcrumbs.asset.php
[edit]
[-] reviews-by-product.js
[edit]
[-] product-filter-attribute-rtl.css
[edit]
[-] filter-wrapper.js
[edit]
[+]
cart-blocks
[-] customer-account-rtl.css
[edit]
[-] mini-cart-contents-style.asset.php
[edit]
[-] product-collection-no-results-style.asset.php
[edit]
[+]
product-filter-rating
[-] product-filter-price-rtl.css
[edit]
[-] order-confirmation-billing-address.js
[edit]
[-] order-confirmation-shipping-address-rtl.css
[edit]
[+]
product-filter-stock-status
[-] wc-blocks-shared-hocs.js
[edit]
[-] wc-blocks-data.asset.php
[edit]
[-] price-filter.css
[edit]
[-] product-title.js
[edit]
[-] product-gallery-frontend.js
[edit]
[-] order-confirmation-summary-style.asset.php
[edit]
[-] single-product-style.asset.php
[edit]
[-] reviews-frontend.asset.php
[edit]
[+]
order-confirmation-billing-address
[+]
product-results-count
[-] cart.js
[edit]
[-] order-confirmation-additional-fields.css
[edit]
[-] wc-blocks-editor-style.css
[edit]
[-] store-notices-style.asset.php
[edit]
[-] order-confirmation-billing-address-rtl.css
[edit]
[-] order-confirmation-summary.css
[edit]
[+]
product-rating-counter
[-] product-gallery-pager.asset.php
[edit]
[+]
handpicked-products
[-] checkout-rtl.css
[edit]
[+]
catalog-sorting
[-] wc-interactivity-checkbox-list.js
[edit]
[-] mini-cart-style.js.LICENSE.txt
[edit]
[-] mini-cart-contents.js
[edit]
[-] order-confirmation-downloads.css
[edit]
[-] product-top-rated.asset.php
[edit]
[-] add-to-cart-form-style.asset.php
[edit]
[-] filter-wrapper-frontend.asset.php
[edit]
[-] 64-style.js.LICENSE.txt
[edit]
[-] wc-blocks-rtl.css
[edit]
[-] breadcrumbs-style.asset.php
[edit]
[-] price-format.asset.php
[edit]
[-] mini-cart-component-frontend.js
[edit]
[-] product-categories-rtl.css
[edit]
[-] product-filter-stock-status-style.asset.php
[edit]
[-] checkout.css
[edit]
[-] checkout-style.asset.php
[edit]
[-] product-best-sellers-style.js.LICENSE.txt
[edit]
[+]
product-category
[-] mini-cart.asset.php
[edit]
[-] stock-filter.asset.php
[edit]
[-] stock-filter-frontend.asset.php
[edit]
[+]
product-filter
[+]
product-gallery-pager
[-] product-category.asset.php
[edit]
[-] product-filter-rating-frontend.js
[edit]
[+]
active-filters
[-] product-best-sellers.js
[edit]
[-] product-stock-indicator.js
[edit]
[-] product-filter-frontend.js
[edit]
[-] product-stock-indicator-frontend.js
[edit]
[-] product-categories.js
[edit]
[-] order-confirmation-downloads.js
[edit]
[+]
product-best-sellers
[-] order-confirmation-totals.js
[edit]
[-] wc-blocks-vendors.asset.php
[edit]
[-] product-button-interactivity-frontend.asset.php
[edit]
[-] wc-blocks-classic-template-revert-button-style.css
[edit]
[-] stock-filter-wrapper-frontend.js
[edit]
[-] product-filter-attribute-style.asset.php
[edit]
[-] product-tag.asset.php
[edit]
[-] mini-cart-contents.asset.php
[edit]
[-] stock-filter.js
[edit]
[+]
rating-filter
[-] order-confirmation-downloads-rtl.css
[edit]
[-] page-content-wrapper.asset.php
[edit]
[+]
featured-category
[-] product-sale-badge.css
[edit]
[-] product-title.css
[edit]
[-] breadcrumbs.js
[edit]
[-] order-confirmation-shipping-wrapper.asset.php
[edit]
[-] packages-style-style.asset.php
[edit]
[-] order-confirmation-status.js
[edit]
[-] product-gallery.js
[edit]
[-] product-filter-attribute-frontend.js
[edit]
[-] product-query-style.asset.php
[edit]
[-] wc-payment-method-paypal.asset.php
[edit]
[-] featured-category.css
[edit]
[-] customer-account-style.asset.php
[edit]
[-] legacy-template.js
[edit]
[-] attribute-filter-wrapper.css
[edit]
[-] wc-blocks-shared-context.js
[edit]
[-] packages-style.css
[edit]
[-] store-notices.asset.php
[edit]
[-] wc-blocks.css
[edit]
[-] product-filter-active-frontend.js
[edit]
[-] reviews-by-category.asset.php
[edit]
[+]
order-confirmation-status
[-] product-gallery-style.js.LICENSE.txt
[edit]
[-] product-category-style.js.LICENSE.txt
[edit]
[-] product-filter-price-style.js.LICENSE.txt
[edit]
[-] price-filter-wrapper-frontend.js
[edit]
[-] product-tag-style.js.LICENSE.txt
[edit]
[-] wc-interactivity-dropdown-rtl.css
[edit]
[-] price-filter.asset.php
[edit]
[-] product-gallery-large-image-style.js.LICENSE.txt
[edit]
[-] single-product.asset.php
[edit]
[-] attribute-filter.css
[edit]
[-] all-reviews-style.asset.php
[edit]
[-] price-filter-style.asset.php
[edit]
[+]
product-template
[-] single-product.css
[edit]
[-] product-filter-stock-status.css
[edit]
[-] blocks-checkout.js
[edit]
[-] product-price-rtl.css
[edit]
[-] order-confirmation-additional-information-style.asset.php
[edit]
[-] order-confirmation-downloads-wrapper-style.js.LICENSE.txt
[edit]
[+]
customer-account
[-] product-add-to-cart.js
[edit]
[-] catalog-sorting-rtl.css
[edit]
[-] product-filter-active.js
[edit]
[-] order-confirmation-downloads-wrapper.asset.php
[edit]
[-] wc-blocks-shared-hocs.asset.php
[edit]
[-] order-confirmation-downloads-style.asset.php
[edit]
[-] product-query-style.js.LICENSE.txt
[edit]
[-] rating-filter-frontend.asset.php
[edit]
[-] wc-blocks-shared-context.asset.php
[edit]
[-] product-sale-badge-frontend.js
[edit]