PATH:
home
/
lab2454c
/
equitablegold.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
(()=>{var e={3849:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){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=r.apply(null,n);i&&e.push(i)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var l in n)o.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},7608:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){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=r.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)o.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},2130:(e,t,n)=>{"use strict";var o=n(586);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=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;r=void 0===r||r;var p=o.isWindow(t),f=o.offset(e),m=o.outerHeight(e),h=o.outerWidth(e),g=void 0,v=void 0,w=void 0,b=void 0,y=void 0,E=void 0,k=void 0,S=void 0,_=void 0,T=void 0;p?(k=t,T=o.height(k),_=o.width(k),S={left:o.scrollLeft(k),top:o.scrollTop(k)},y={left:f.left-S.left-c,top:f.top-S.top-a},E={left:f.left+h-(S.left+_)+d,top:f.top+m-(S.top+T)+u},b=S):(g=o.offset(t),v=t.clientHeight,w=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},y={left:f.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-c,top:f.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},E={left:f.left+h-(g.left+w+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:f.top+m-(g.top+v+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),y.top<0||E.top>0?!0===i?o.scrollTop(t,b.top+y.top):!1===i?o.scrollTop(t,b.top+E.top):y.top<0?o.scrollTop(t,b.top+y.top):o.scrollTop(t,b.top+E.top):s||((i=void 0===i||!!i)?o.scrollTop(t,b.top+y.top):o.scrollTop(t,b.top+E.top)),r&&(y.left<0||E.left>0?!0===l?o.scrollLeft(t,b.left+y.left):!1===l?o.scrollLeft(t,b.left+E.left):y.left<0?o.scrollLeft(t,b.left+y.left):o.scrollLeft(t,b.left+E.left):s||((l=void 0===l||!!l)?o.scrollLeft(t,b.left+y.left):o.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 o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}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 o(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function r(e){return o(e)}function s(e){return o(e,!0)}function i(e){var t=function(e){var t,n=void 0,o=void 0,r=e.ownerDocument,s=r.body,i=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,o=t.top,{left:n-=i.clientLeft||s.clientLeft||0,top:o-=i.clientTop||s.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=r(o),t.top+=s(o),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 f(e,t){for(var n=0;n<e.length;n++)t(e[n])}function m(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,n){var o="",r=e.ownerDocument,s=n||r.defaultView.getComputedStyle(e,null);return s&&(o=s.getPropertyValue(t)||s[t]),o}:function(e,t){var n=e[c]&&e[c][t];if(l.test(n)&&!a.test(t)){var o=e.style,r=o[d],s=e[u][d];e[u][d]=e[c][d],o[d]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[d]=r,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 o=0,r=void 0,s=void 0,i=void 0;for(s=0;s<t.length;s++)if(r=t[s])for(i=0;i<n.length;i++){var l;l="border"===r?r+n[i]+"Width":r+n[i],o+=parseFloat(p(e,l))||0}return o}function y(e){return null!=e&&e==e.window}var E={};function k(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 o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,s=(p(e),m(e)),i=0;(null==r||r<=0)&&(r=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!==r||s,a=r||i;if(n===g)return l?a-b(e,["border","padding"],o):i;if(l){var c=n===v?-b(e,["border"],o):b(e,["margin"],o);return a+(n===w?0:c)}return i+b(e,h.slice(n),o)}f(["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,o=t.document,r=o.body,s=o.documentElement[n];return"CSS1Compat"===o.compatMode&&s||r&&r[n]||s}}));var S={position:"absolute",visibility:"hidden",display:"block"};function _(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=k.apply(void 0,n):function(e,o,r){var s={},i=e.style,l=void 0;for(l in o)o.hasOwnProperty(l)&&(s[l]=i[l],i[l]=o[l]);for(l in function(){t=k.apply(void 0,n)}.call(e),o)o.hasOwnProperty(l)&&(i[l]=s[l])}(e,S),t}function T(e,t,o){var r=o;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):p(e,t);for(var s in t)t.hasOwnProperty(s)&&T(e,s,t[s])}f(["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,o){return void 0===o?t&&_(t,e,g):t?(p(t),m(t)&&(o+=b(t,["padding","border"],n)),T(t,e,o)):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"===T(e,"position")&&(e.style.position="relative");var n=i(e),o={},r=void 0,s=void 0;for(s in t)t.hasOwnProperty(s)&&(r=parseFloat(T(e,s))||0,o[s]=r+t[s]-n[s]);T(e,o)}(e,t)},isWindow:y,each:f,css:T,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 r(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(r(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},E)},8406:()=>{},479:()=>{},1753:()=>{},2728:()=>{},6099:()=>{},9027:()=>{},2402:()=>{}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var s=t[o]={exports:{}};return e[o](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 o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.React,t=window.wp.element;function o(e){return o="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},o(e)}const r=window.wp.i18n,s=window.wc.wcSettings;var i,l,a,c,u,d,p,f,m,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===(f=s.STORE_PAGES.cart)||void 0===f||f.id,null===(m=s.STORE_PAGES.cart)||void 0===m||m.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,r.__)("Oops!","woocommerce"),text:o=(0,r.__)("There was an error loading the content.","woocommerce"),errorMessage:s,errorMessagePrefix:i=(0,r.__)("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),o&&(0,e.createElement)("p",{className:"wc-block-error__text wc-block-components-error__text"},o),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 k extends t.Component{constructor(...e){var t,n,r;super(...e),t=this,r={errorMessage:"",hasError:!1},(n=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===o(t)?t:String(t)}(n="state"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}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:o=!0,showErrorBlock:r=!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:r,errorMessage:o?c:null,header:t,imageUrl:n,text:s,errorMessagePrefix:i,button:a}):this.props.children}}const S=k,_=[".wp-block-woocommerce-cart"],T=({Block:n,containers:o,getProps:r=(()=>({})),getErrorBoundaryProps:s=(()=>({}))})=>{0!==o.length&&Array.prototype.forEach.call(o,((o,i)=>{const l=r(o,i),a=s(o,i),c={...o.dataset,...l.attributes||{}};(({Block:n,container:o,attributes:r={},props:s={},errorBoundaryProps:i={}})=>{(0,t.render)((0,e.createElement)(S,{...i},(0,e.createElement)(t.Suspense,{fallback:(0,e.createElement)("div",{className:"wc-block-placeholder"})},n&&(0,e.createElement)(n,{...s,attributes:r}))),o,(()=>{o.classList&&o.classList.remove("is-loading")}))})({Block:n,container:o,props:l,attributes:c,errorBoundaryProps:a})}))},x=window.wp.a11y,C=(0,t.forwardRef)((function({icon:e,size:n=24,...o},r){return(0,t.cloneElement)(e,{width:n,height:n,...o,ref:r})})),I=window.wp.primitives,L=(0,e.createElement)(I.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)(I.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),A=window.wp.isShallowEqual;var O=n.n(A);function R(e){const n=(0,t.useRef)(e);return O()(e,n.current)||(n.current=e),n.current}const P=window.wc.wcBlocksData,F=window.wp.data,M=(0,t.createContext)("page"),N=()=>(0,t.useContext)(M),B=(M.Provider,e=>{const n=N();e=e||n;const o=(0,F.useSelect)((t=>t(P.QUERY_STATE_STORE_KEY).getValueForQueryContext(e,void 0)),[e]),{setValueForQueryContext:r}=(0,F.useDispatch)(P.QUERY_STATE_STORE_KEY);return[o,(0,t.useCallback)((t=>{r(e,t)}),[e,r])]}),D=(e,n,o)=>{const r=N();o=o||r;const s=(0,F.useSelect)((t=>t(P.QUERY_STATE_STORE_KEY).getValueForQueryKey(o,e,n)),[o,e]),{setQueryValue:i}=(0,F.useDispatch)(P.QUERY_STATE_STORE_KEY);return[s,(0,t.useCallback)((t=>{i(o,e,t)}),[o,e,i])]};function V(e,t){return e===t}function W(e){return"function"==typeof e?function(){return e}:e}function H(e,t){return!(e=>null===e)(n=e)&&n instanceof Object&&n.constructor===Object&&t in e;var n}var j=function(e){return function(t,n,o){return e(t,n,o)*o}},z=function(e,t){if(e)throw Error("Invalid sort config: "+t)},K=function(e){var t=e||{},n=t.asc,o=t.desc,r=n?1:-1,s=n||o;return z(!s,"Expected `asc` or `desc` property"),z(n&&o,"Ambiguous object with `asc` and `desc` config properties"),{order:r,sortBy:s,comparer:e.comparer&&j(e.comparer)}};function U(e,t,n){if(void 0===e||!0===e)return function(e,o){return t(e,o,n)};if("string"==typeof e)return z(e.includes("."),"String syntax not allowed for nested properties."),function(o,r){return t(o[e],r[e],n)};if("function"==typeof e)return function(o,r){return t(e(o),e(r),n)};if(Array.isArray(e)){var o=function(e){return function t(n,o,r,s,i,l,a){var c,u;if("string"==typeof n)c=l[n],u=a[n];else{if("function"!=typeof n){var d=K(n);return t(d.sortBy,o,r,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)&&o.length>r?t(o[r],o,r+1,s,i,l,a):p}}(t);return function(r,s){return o(e[0],e,1,n,t,r,s)}}var r=K(e);return U(r.sortBy,r.comparer||t,r.order)}var $=function(e,t,n,o){return Array.isArray(t)?(Array.isArray(n)&&n.length<2&&(n=n[0]),t.sort(U(n,o,e))):t};function q(e){var t=j(e.comparer);return function(n){var o=Array.isArray(n)&&!e.inPlaceSorting?n.slice():n;return{asc:function(e){return $(1,o,e,t)},desc:function(e){return $(-1,o,e,t)},by:function(e){return $(1,o,e,t)}}}}var G=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},Y=q({comparer:G});q({comparer:G,inPlaceSorting:!0});const Q=({queryAttribute:n,queryPrices:o,queryStock:r,queryRating:s,queryState:i,isEditor:l=!1})=>{let a=N();a=`${a}-collection-data`;const[c]=B(a),[u,d]=D("calculate_attribute_counts",[],a),[p,f]=D("calculate_price_range",null,a),[m,h]=D("calculate_stock_status_counts",null,a),[g,v]=D("calculate_rating_counts",null,a),w=R(n||{}),b=R(o),y=R(r),E=R(s);(0,t.useEffect)((()=>{"object"==typeof w&&Object.keys(w).length&&(u.find((e=>H(w,"taxonomy")&&e.taxonomy===w.taxonomy))||d([...u,w]))}),[w,u,d]),(0,t.useEffect)((()=>{p!==b&&void 0!==b&&f(b)}),[b,f,p]),(0,t.useEffect)((()=>{m!==y&&void 0!==y&&h(y)}),[y,h,m]),(0,t.useEffect)((()=>{g!==E&&void 0!==E&&v(E)}),[E,v,g]);const[k,S]=(0,t.useState)(l),[_]=(T=k,L=V,C=(0,e.useState)(W(T)),I=C[1],A=[C[0],(0,e.useCallback)((function(e){return I(W(e))}),[])],O=A[0],M=A[1],j=function(t,n,o){var r=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 f=!n&&0!==n&&"undefined"!=typeof window;if("function"!=typeof t)throw new TypeError("Expected a function");n=+n||0;var m=!!(o=o||{}).leading,h=!("trailing"in o)||!!o.trailing,g="maxWait"in o,v=g?Math.max(+o.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){f&&cancelAnimationFrame(l.current),l.current=f?requestAnimationFrame(e):setTimeout(e,t)},o=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 r=Date.now();if(o(r))return w(r);if(p.current){var l=n-(r-s.current),a=g?Math.min(l,v-(r-i.current)):l;t(e,a)}},y=function(){var d=Date.now(),f=o(d);if(a.current=[].slice.call(arguments),c.current=r,s.current=d,f){if(!l.current&&p.current)return i.current=s.current,t(b,n),m?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&&(f?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}),[m,g,n,v,h,f]);return w}((0,e.useCallback)((function(e){return M(e)}),[M]),200,x),z=(0,e.useRef)(T),L(z.current,T)||(j(T),z.current=T),[O,j]);var T,x,C,I,L,A,O,M,j,z;k||S(!0);const K=(0,t.useMemo)((()=>(e=>{const t=e;return Array.isArray(e.calculate_attribute_counts)&&(t.calculate_attribute_counts=Y(e.calculate_attribute_counts.map((({taxonomy:e,queryType:t})=>({taxonomy:e,query_type:t})))).asc(["taxonomy","query_type"])),t})(c)),[c]);return(e=>{const{namespace:n,resourceName:o,resourceValues:r=[],query:s={},shouldSelect:i=!0}=e;if(!n||!o)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=R(s),c=R(r),u=(()=>{const[,e]=(0,t.useState)();return(0,t.useCallback)((t=>{e((()=>{throw t}))}),[])})(),d=(0,F.useSelect)((e=>{if(!i)return null;const t=e(P.COLLECTIONS_STORE_KEY),r=[n,o,a,c],s=t.getCollectionError(...r);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(...r),isLoading:!t.hasFinishedResolution("getCollection",r)}}),[n,o,c,a,i]);return null!==d&&(l.current=d),l.current})({namespace:"/wc/store/v1",resourceName:"products/collection-data",query:{...i,page:void 0,per_page:void 0,orderby:void 0,order:void 0,...K},shouldSelect:_})},Z=window.wc.blocksComponents;var X=n(3849),J=n.n(X);n(6099);const ee=({className:t,isLoading:n,disabled:o, /* translators: Submit button text for filters. */ label:s=(0,r.__)("Apply","woocommerce"),onClick:i,screenReaderLabel:l=(0,r.__)("Apply filter","woocommerce")})=>(0,e.createElement)("button",{type:"submit",className:J()("wp-block-button__link","wc-block-filter-submit-button","wc-block-components-filter-submit-button",{"is-loading":n},t),disabled:o,onClick:i},(0,e.createElement)(Z.Label,{label:s,screenReaderLabel:l}));n(2728);const te=({className:t, /* translators: Reset button text for filters. */ label:n=(0,r.__)("Reset","woocommerce"),onClick:o,screenReaderLabel:s=(0,r.__)("Reset filter","woocommerce")})=>(0,e.createElement)("button",{className:J()("wc-block-components-filter-reset-button",t),onClick:o},(0,e.createElement)(Z.Label,{label:n,screenReaderLabel:s}));n(1753);const ne=({children:t})=>(0,e.createElement)("div",{className:"wc-block-filter-title-placeholder"},t);n(479);const oe=({name:t,count:n})=>(0,e.createElement)(e.Fragment,null,t,null!==n&&Number.isFinite(n)&&(0,e.createElement)(Z.Label,{label:n.toString(),screenReaderLabel:(0,r.sprintf)(/* translators: %s number of products. */ /* translators: %s number of products. */ (0,r._n)("%s product","%s products",n,"woocommerce"),n),wrapperElement:"span",wrapperProps:{className:"wc-filter-element-label-list-count"}})),re=window.lodash;var se=n(7608),ie=n.n(se);const le=window.wp.compose,ae=window.wp.keycodes,ce=(0,t.createElement)(I.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(I.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 ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ue.apply(this,arguments)}const de=window.wp.deprecated;var pe=n.n(de);const fe=window.wp.dom,me=(0,t.createElement)(I.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(I.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 he(e,t,n){const{defaultView:o}=t,{frameElement:r}=o;if(!r||t===n.ownerDocument)return e;const s=r.getBoundingClientRect();return new o.DOMRect(e.left+s.left,e.top+s.top,e.width,e.height)}let ge=0;function ve(e){const t=document.scrollingElement||document.body;e&&(ge=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=ge)}let we=0;function be(){return(0,t.useEffect)((()=>(0===we&&ve(!0),++we,()=>{1===we&&ve(!1),--we})),[]),null}window.wp.warning;const ye=(0,t.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function Ee(e){const n=(0,t.useContext)(ye),o=n.slots[e]||{},r=n.fills[e],s=(0,t.useMemo)((()=>r||[]),[r]);return{...o,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 ke=(0,t.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});function Se({name:e,children:n,registerFill:o,unregisterFill:r}){const s=(e=>{const{getSlot:n,subscribe:o}=(0,t.useContext)(ke),[r,s]=(0,t.useState)(n(e));return(0,t.useEffect)((()=>(s(n(e)),o((()=>{s(n(e))})))),[e]),r})(e),i=(0,t.useRef)({name:e,children:n});return(0,t.useLayoutEffect)((()=>(o(e,i.current),()=>r(e,i.current))),[]),(0,t.useLayoutEffect)((()=>{i.current.children=n,s&&s.forceUpdate()}),[n]),(0,t.useLayoutEffect)((()=>{e!==i.current.name&&(r(i.current.name,i.current),i.current.name=e,o(e,i.current))}),[e]),s&&s.node?((0,re.isFunction)(n)&&(n=n(s.props.fillProps)),(0,t.createPortal)(n,s.node)):null}const _e=e=>(0,t.createElement)(ke.Consumer,null,(({registerFill:n,unregisterFill:o})=>(0,t.createElement)(Se,ue({},e,{registerFill:n,unregisterFill:o}))));class Te 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:o}=this.props;e.name!==t&&(n(e.name),o(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:n,fillProps:o={},getFills:r}=this.props,s=(0,re.map)(r(n,this),(e=>{const n=(0,re.isFunction)(e.children)?e.children(o):e.children;return t.Children.map(n,((e,n)=>{if(!e||(0,re.isString)(e))return e;const o=e.key||n;return(0,t.cloneElement)(e,{key:o})}))})).filter((0,re.negate)(t.isEmptyElement));return(0,t.createElement)(t.Fragment,null,(0,re.isFunction)(e)?e(s):s)}}const xe=e=>(0,t.createElement)(ke.Consumer,null,(({registerSlot:n,unregisterSlot:o,getFills:r})=>(0,t.createElement)(Te,ue({},e,{registerSlot:n,unregisterSlot:o,getFills:r}))));function Ce(){const[,e]=(0,t.useState)({}),n=(0,t.useRef)(!0);return(0,t.useEffect)((()=>()=>{n.current=!1}),[]),()=>{n.current&&e({})}}function Ie({name:e,children:n}){const o=Ee(e),r=(0,t.useRef)({rerender:Ce()});return(0,t.useEffect)((()=>(o.registerFill(r),()=>{o.unregisterFill(r)})),[o.registerFill,o.unregisterFill]),o.ref&&o.ref.current?("function"==typeof n&&(n=n(o.fillProps)),(0,t.createPortal)(n,o.ref.current)):null}const Le=(0,t.forwardRef)((function({name:e,fillProps:n={},as:o="div",...r},s){const i=(0,t.useContext)(ye),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)(o,ue({ref:(0,le.useMergeRefs)([s,l])},r))}));function Ae(e){return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(_e,e),(0,t.createElement)(Ie,e))}const Oe=(0,t.forwardRef)((({bubblesVirtually:e,...n},o)=>e?(0,t.createElement)(Le,ue({},n,{ref:o})):(0,t.createElement)(xe,n)));function Re(e){return"appear"===e?"top":"left"}const Pe="Popover";function Fe(e,t){const{paddingTop:n,paddingBottom:o,paddingLeft:r,paddingRight:s}=(i=t).ownerDocument.defaultView.getComputedStyle(i);var i;const l=n?parseInt(n,10):0,a=o?parseInt(o,10):0,c=r?parseInt(r,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 Me(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function Ne(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function Be(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const De=(0,t.forwardRef)((({headerTitle:e,onClose:n,children:o,className:s,noArrow:i=!0,isAlternate:l,position:a="bottom right",range:c,focusOnMount:u="firstElement",anchorRef:d,shouldAnchorIncludePadding:p,anchorRect:f,getAnchorRect:m,expandOnMobile:h,animate:g=!0,onClickOutside:v,onFocusOutside:w,__unstableStickyBoundaryElement:b,__unstableSlotName:y=Pe,__unstableObserveElement:E,__unstableBoundaryParent:k,__unstableForcePosition:S,__unstableForceXAlignment:_,...T},x)=>{const C=(0,t.useRef)(null),I=(0,t.useRef)(null),L=(0,t.useRef)(),A=(0,le.useViewportMatch)("medium","<"),[O,R]=(0,t.useState)(),P=Ee(y),F=h&&A,[M,N]=(0,le.useResizeObserver)();i=F||i,(0,t.useLayoutEffect)((()=>{if(F)return Be(L.current,"is-without-arrow",i),Be(L.current,"is-alternate",l),Me(L.current,"data-x-axis"),Me(L.current,"data-y-axis"),Ne(L.current,"top"),Ne(L.current,"left"),Ne(I.current,"maxHeight"),void Ne(I.current,"maxWidth");const e=()=>{if(!L.current||!I.current)return;let e=function(e,t,n,o=!1,r,s){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return he(t,t.ownerDocument||e.current.ownerDocument,s)}if(!1!==o){if(!(o&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==o?void 0:o.cloneRange))return he((0,fe.getRectangleFromRange)(o),o.endContainer.ownerDocument,s);if("function"==typeof(null==o?void 0:o.getBoundingClientRect)){const e=he(o.getBoundingClientRect(),o.ownerDocument,s);return r?e:Fe(e,o)}const{top:e,bottom:t}=o,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),l=he(new window.DOMRect(n.left,n.top,n.width,i.bottom-n.top),e.ownerDocument,s);return r?l:Fe(l,o)}if(!e.current)return;const{parentNode:i}=e.current,l=i.getBoundingClientRect();return r?l:Fe(l,i)}(C,f,m,d,p,L.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=L.current;let o,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;k&&(o=null===(c=L.current.closest(".popover-slot"))||void 0===c?void 0:c.parentNode);const u=N.height?N:I.current.getBoundingClientRect(),{popoverTop:h,popoverLeft:g,xAxis:v,yAxis:w,contentHeight:y,contentWidth:E}=function(e,t,n="top",o,s,i,l,a,c){const[u,d="center",p]=n.split(" "),f=function(e,t,n,o,r,s,i,l){const{height:a}=t;if(r){const t=r.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"===o?c=e.bottom:"top"===o&&(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 f,m=n,h=null;if(!r&&!l)if("middle"===n&&u.contentHeight===a)m="middle";else if("top"===n&&d.contentHeight===a)m="top";else if("bottom"===n&&p.contentHeight===a)m="bottom";else{m=d.contentHeight>p.contentHeight?"top":"bottom";const e="top"===m?d.contentHeight:p.contentHeight;h=e!==a?e:null}return f="middle"===m?u.popoverTop:"top"===m?d.popoverTop:p.popoverTop,{yAxis:m,popoverTop:f,contentHeight:h}}(e,t,u,p,o,0,i,a),m=function(e,t,n,o,s,i,l,a,c){const{width:u}=t;"left"===n&&(0,r.isRTL)()?n="right":"right"===n&&(0,r.isRTL)()&&(n="left"),"left"===o&&(0,r.isRTL)()?o="right":"right"===o&&(0,r.isRTL)()&&(o="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 f=e.left;"right"===o?f=e.right:"middle"===i||c||(f=d);let m=e.right;"left"===o?m=e.left:"middle"===i||c||(m=d);const h={popoverLeft:f,contentWidth:f-u>0?u:f},g={popoverLeft:m,contentWidth:m+u>window.innerWidth?window.innerWidth-m: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,r.isRTL)()||(v=Math.max(v,0))}return{xAxis:w,popoverLeft:v,contentWidth:b}}(e,t,d,p,o,f.yAxis,l,a,c);return{...m,...f}}(e,u,a,b,L.current,s,o,S,_);"number"==typeof h&&"number"==typeof g&&(Ne(L.current,"top",h+"px"),Ne(L.current,"left",g+"px")),Be(L.current,"is-without-arrow",i||"center"===v&&"middle"===w),Be(L.current,"is-alternate",l),Me(L.current,"data-x-axis",v),Me(L.current,"data-y-axis",w),Ne(I.current,"maxHeight","number"==typeof y?y+"px":""),Ne(I.current,"maxWidth","number"==typeof E?E+"px":""),R(({left:"right",right:"left"}[v]||"center")+" "+({top:"bottom",bottom:"top"}[w]||"middle"))};e();const{ownerDocument:t}=L.current,{defaultView:n}=t,o=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(o),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()}}),[F,f,m,d,p,a,N,b,E,k]);const B=(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}),pe()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),v(e)}else n&&n()},[D,V]=(0,le.__experimentalUseDialog)({focusOnMount:u,__unstableOnClose:B,onClose:B}),W=(0,le.useMergeRefs)([L,D,x]),H=Boolean(g&&O)&&function(e){if("loading"===e.type)return ie()("components-animate__loading");const{type:t,origin:n=Re(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return ie()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?ie()("components-animate__slide-in","is-from-"+n):void 0}({type:"appear",origin:O});let j=(0,t.createElement)("div",ue({className:ie()("components-popover",s,H,{"is-expanded":F,"is-without-arrow":i,"is-alternate":l})},T,{ref:W},V,{tabIndex:"-1"}),F&&(0,t.createElement)(be,null),F&&(0,t.createElement)("div",{className:"components-popover__header"},(0,t.createElement)("span",{className:"components-popover__header-title"},e),(0,t.createElement)(Qe,{className:"components-popover__close",icon:me,onClick:n})),(0,t.createElement)("div",{ref:I,className:"components-popover__content"},(0,t.createElement)("div",{style:{position:"relative"}},M,o)));return P.ref&&(j=(0,t.createElement)(Ae,{name:y},j)),d||f?j:(0,t.createElement)("span",{ref:C},j)}));De.Slot=(0,t.forwardRef)((function({name:e=Pe},n){return(0,t.createElement)(Oe,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:n})}));const Ve=De,We=function({shortcut:e,className:n}){if(!e)return null;let o,r;return(0,re.isString)(e)&&(o=e),(0,re.isObject)(e)&&(o=e.display,r=e.ariaLabel),(0,t.createElement)("span",{className:n,"aria-label":r},o)},He=(0,t.createElement)("div",{className:"event-catcher"}),je=({eventHandlers:e,child:n,childrenWithPopover:o})=>(0,t.cloneElement)((0,t.createElement)("span",{className:"disabled-element-wrapper"},(0,t.cloneElement)(He,e),(0,t.cloneElement)(n,{children:o}),","),e),ze=({child:e,eventHandlers:n,childrenWithPopover:o})=>(0,t.cloneElement)(e,{...n,children:o}),Ke=(e,n,o)=>{if(1!==t.Children.count(e))return;const r=t.Children.only(e);"function"==typeof r.props[n]&&r.props[n](o)},Ue=function({children:e,position:n,text:o,shortcut:r}){const[s,i]=(0,t.useState)(!1),[l,a]=(0,t.useState)(!1),c=(0,le.useDebounce)(a,700),u=t=>{Ke(e,"onMouseDown",t),document.addEventListener("mouseup",f),i(!0)},d=t=>{Ke(e,"onMouseUp",t),document.removeEventListener("mouseup",f),i(!1)},p=e=>"mouseUp"===e?d:"mouseDown"===e?u:void 0,f=p("mouseUp"),m=(t,n)=>o=>{if(Ke(e,t,o),o.currentTarget.disabled)return;if("focus"===o.type&&s)return;c.cancel();const r=(0,re.includes)(["focus","mouseenter"],o.type);r!==l&&(n?c(r):a(r))},h=()=>{c.cancel(),document.removeEventListener("mouseup",f)};if((0,t.useEffect)((()=>h),[]),1!==t.Children.count(e))return e;const g={onMouseEnter:m("onMouseEnter",!0),onMouseLeave:m("onMouseLeave"),onClick:m("onClick"),onFocus:m("onFocus"),onBlur:m("onBlur"),onMouseDown:p("mouseDown")},v=t.Children.only(e),{children:w,disabled:b}=v.props,y=b?je:ze,E=(({grandchildren:e,isOver:n,position:o,text:r,shortcut:s})=>(0,t.concatChildren)(e,n&&(0,t.createElement)(Ve,{focusOnMount:!1,position:o,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},r,(0,t.createElement)(We,{className:"components-tooltip__shortcut",shortcut:s}))))({grandchildren:w,isOver:l,position:n,text:o,shortcut:r});return y({child:v,eventHandlers:g,childrenWithPopover:E})},$e=function({icon:e,className:n,...o}){const r=["dashicon","dashicons","dashicons-"+e,n].filter(Boolean).join(" ");return(0,t.createElement)("span",ue({className:r},o))},qe=function({icon:e=null,size:n=24,...o}){if("string"==typeof e)return(0,t.createElement)($e,ue({icon:e},o));if((0,t.isValidElement)(e)&&$e===e.type)return(0,t.cloneElement)(e,{...o});if("function"==typeof e)return e.prototype instanceof t.Component?(0,t.createElement)(e,{size:n,...o}):e({size:n,...o});if(e&&("svg"===e.type||e.type===I.SVG)){const r={width:n,height:n,...e.props,...o};return(0,t.createElement)(I.SVG,r)}return(0,t.isValidElement)(e)?(0,t.cloneElement)(e,{size:n,...o}):e},Ge=(0,t.forwardRef)((function({as:e="div",className:n,...o},r){return function({as:e="div",...n}){return"function"==typeof n.children?n.children(n):(0,t.createElement)(e,n)}({as:e,className:ie()("components-visually-hidden",n),...o,ref:r})})),Ye=["onMouseDown","onClick"],Qe=(0,t.forwardRef)((function(e,n){const{href:o,target:r,isSmall:s,isPressed:i,isBusy:l,isDestructive:a,className:c,disabled:u,icon:d,iconPosition:p="left",iconSize:f,showTooltip:m,tooltipPosition:h,shortcut:g,label:v,children:w,text:b,variant:y,__experimentalIsFocusable:E,describedBy:k,...S}=function({isDefault:e,isPrimary:t,isSecondary:n,isTertiary:o,isLink:r,variant:s,...i}){let l=s;var a,c,u,d,p;return t&&(null!==(a=l)&&void 0!==a||(l="primary")),o&&(null!==(c=l)&&void 0!==c||(l="tertiary")),n&&(null!==(u=l)&&void 0!==u||(l="secondary")),e&&(pe()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(d=l)&&void 0!==d||(l="secondary")),r&&(null!==(p=l)&&void 0!==p||(l="link")),{...i,variant:l}}(e),_=ie()("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}),T=u&&!E,x=void 0===o||T?"button":"a",C="a"===x?{href:o,target:r}:{type:"button",disabled:T,"aria-pressed":i};if(u&&E){C["aria-disabled"]=!0;for(const e of Ye)S[e]=e=>{e.stopPropagation(),e.preventDefault()}}const I=!T&&(m&&v||g||!!v&&(!w||(0,re.isArray)(w)&&!w.length)&&!1!==m),L=k?(0,re.uniqueId)():null,A=S["aria-describedby"]||L,O=(0,t.createElement)(x,ue({},C,S,{className:_,"aria-label":S["aria-label"]||v,"aria-describedby":A,ref:n}),d&&"left"===p&&(0,t.createElement)(qe,{icon:d,size:f}),b&&(0,t.createElement)(t.Fragment,null,b),d&&"right"===p&&(0,t.createElement)(qe,{icon:d,size:f}),w);return I?(0,t.createElement)(t.Fragment,null,(0,t.createElement)(Ue,{text:k||v,shortcut:g,position:h},O),k&&(0,t.createElement)(Ge,null,(0,t.createElement)("span",{id:L},k))):(0,t.createElement)(t.Fragment,null,O,k&&(0,t.createElement)(Ge,null,(0,t.createElement)("span",{id:L},k)))}));function Ze({value:e,status:n,title:o,displayTransform:s,isBorderless:i=!1,disabled:l=!1,onClickRemove:a=re.noop,onMouseEnter:c,onMouseLeave:u,messages:d,termPosition:p,termsCount:f}){const m=(0,le.useInstanceId)(Ze),h=ie()("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,r.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,r.__)("%1$s (%2$s of %3$s)"),g,p,f);return(0,t.createElement)("span",{className:h,onMouseEnter:c,onMouseLeave:u,title:o},(0,t.createElement)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${m}`},(0,t.createElement)(Ge,{as:"span"},v),(0,t.createElement)("span",{"aria-hidden":"true"},g)),(0,t.createElement)(Qe,{className:"components-form-token-field__remove-token",icon:ce,onClick:!l&&(()=>a({value:e})),label:d.remove,"aria-describedby":`components-form-token-field__token-text-${m}`}))}class Xe 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:o,selectedSuggestionIndex:r,className:s,...i}=this.props,l=e?e.length+1:0;return(0,t.createElement)("input",ue({ref:this.bindInput,id:`components-form-token-input-${o}`,type:"text"},i,{value:e||"",onChange:this.onChange,size:l,className:ie()(s,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?`components-form-token-suggestions-${o}`:void 0,"aria-activedescendant":-1!==r?`components-form-token-suggestions-${o}-${r}`:void 0,"aria-describedby":`components-form-token-suggestions-howto-${o}`}))}}const Je=Xe;var et=n(2121),tt=n.n(et);class nt 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,tt()(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,re.map)(this.props.suggestions,((e,n)=>{const o=this.computeSuggestionMatch(e),r=ie()("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:r,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},o?(0,t.createElement)("span",{"aria-label":this.props.displayTransform(e)},o.suggestionBeforeMatch,(0,t.createElement)("strong",{className:"components-form-token-field__suggestion-match"},o.suggestionMatch),o.suggestionAfterMatch):this.props.displayTransform(e))})))}}nt.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};const ot=(0,le.withSafeTimeout)(nt),rt=(0,le.createHigherOrderComponent)((e=>n=>(0,t.createElement)(e,ue({},n,{speak:x.speak,debouncedSpeak:(0,le.useDebounce)(x.speak,500)}))),"withSpokenMessages"),st={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class it extends t.Component{constructor(){super(...arguments),this.state=st,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,o=!O()(t,e.suggestions);(o||n!==e.value)&&this.updateSuggestions(o)}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(st)}onKeyDown(e){let t=!1;switch(e.keyCode){case ae.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case ae.ENTER:t=this.addCurrentToken();break;case ae.LEFT:t=this.handleLeftArrowKey();break;case ae.UP:t=this.handleUpArrowKey();break;case ae.RIGHT:t=this.handleRightArrowKey();break;case ae.DOWN:t=this.handleDownArrowKey();break;case ae.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case ae.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case ae.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]+/,o=t.split(n),r=(0,re.last)(o)||"";o.length>1&&this.addNewTokens(o.slice(0,-1)),this.setState({incompleteTokenValue:r},this.updateSuggestions),this.props.onInputChange(r)}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,re.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((e=>!this.valueContainsToken(e))));if(t.length>0){const e=(0,re.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,o=this.props.maxSuggestions,r=this.props.saveTransform){let s=r(e);const i=[],l=[];return 0===s.length?t=(0,re.difference)(t,n):(s=s.toLocaleLowerCase(),(0,re.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,re.take)(t,o)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return(0,re.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,o=n.trim().length>1,s=this.getMatchingSuggestions(n),i=s.length>0,l={isExpanded:t||o&&i};if(e&&(l.selectedSuggestionIndex=-1,l.selectedSuggestionScroll=!1),this.setState(l),o){const{debouncedSpeak:e}=this.props;e(i?(0,r.sprintf)( /* translators: %d: number of results. */ /* translators: %d: number of results. */ (0,r._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,r.__)("No results."),"assertive")}}renderTokensAndInput(){const e=(0,re.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}renderToken(e,n,o){const r=this.getTokenValue(e),s=e.status?e.status:void 0,i=n+1,l=o.length;return(0,t.createElement)(Ze,{key:"token-"+r,value:r,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:o,placeholder:r,value:s,instanceId:i}=this.props;let l={instanceId:i,autoCapitalize:e,autoComplete:n,placeholder:0===s.length?r:"",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 o&&s.length>=o||(l={...l,onChange:this.onInputChange}),(0,t.createElement)(Je,l)}render(){const{disabled:e,label:n=(0,r.__)("Add item"),instanceId:o,className:s,__experimentalShowHowTo:i}=this.props,{isExpanded:l}=this.state,a=ie()(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-${o}`,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)(ot,{instanceId:o,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-${o}`,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?(0,r.__)("Separate with commas, spaces, or the Enter key."):(0,r.__)("Separate with commas or the Enter key.")))}}it.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:re.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:(0,r.__)("Item added."),removed:(0,r.__)("Item removed."),remove:(0,r.__)("Remove item"),__experimentalInvalid:(0,r.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};const lt=rt((0,le.withInstanceId)(it));n(9027);const at=({className:t,style:n,suggestions:o,multiple:r=!0,saveTransform:s=(e=>e.trim().replace(/\s/g,"-")),messages:i={},validateInput:l=(e=>o.includes(e)),label:a="",...c})=>(0,e.createElement)("div",{className:J()("wc-blocks-components-form-token-field-wrapper",t,{"single-selection":!r}),style:n},(0,e.createElement)(lt,{label:a,__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1,__experimentalValidateInput:l,saveTransform:s,maxLength:r?void 0:1,suggestions:o,messages:i,...c})),ct=window.wp.htmlEntities,ut=e=>"boolean"==typeof e,dt=window.wp.url,pt=(0,s.getSettingWithCoercion)("isRenderingPhpTemplate",!1,ut);function ft(e){pt?((e=e.replace(/(?:query-(?:\d+-)?page=(\d+))|(?:page\/(\d+))/g,"")).endsWith("?")&&(e=e.slice(0,-1)),window.location.href=e):window.history.replaceState({},"",e)}const mt=e=>{const t=(0,dt.getQueryArgs)(e);return(0,dt.addQueryArgs)(e,t)},ht=[{value:"preview-1",name:"In Stock",label:(0,e.createElement)(oe,{name:"In Stock",count:3}),textLabel:"In Stock (3)"},{value:"preview-2",name:"Out of stock",label:(0,e.createElement)(oe,{name:"Out of stock",count:3}),textLabel:"Out of stock (3)"},{value:"preview-3",name:"On backorder",label:(0,e.createElement)(oe,{name:"On backorder",count:2}),textLabel:"On backorder (2)"}];n(2402);const gt=e=>"string"==typeof e,vt=JSON.parse('{"Y4":{"D8":{"Z":3},"PW":{"Z":"list"},"lr":{"Z":"multiple"}}}');function wt(){return Math.floor(Math.random()*Date.now())}const bt=e=>e.trim().replace(/\s/g,"").replace(/_/g,"-").replace(/-+/g,"-").replace(/[^a-zA-Z0-9-]/g,""),yt=(0,t.createContext)({}),Et="filter_stock_status";(e=>{const t=document.body.querySelectorAll(_.join(",")),{Block:n,getProps:o,getErrorBoundaryProps:r,selector:s}=e;(({Block:e,getProps:t,getErrorBoundaryProps:n,selector:o,wrappers:r})=>{const s=document.body.querySelectorAll(o);r&&r.length>0&&Array.prototype.filter.call(s,(e=>!((e,t)=>Array.prototype.some.call(t,(t=>t.contains(e)&&!t.isSameNode(e))))(e,r))),T({Block:e,containers:s,getProps:t,getErrorBoundaryProps:n})})({Block:n,getProps:o,getErrorBoundaryProps:r,selector:s,wrappers:t}),Array.prototype.forEach.call(t,(t=>{t.addEventListener("wc-blocks_render_blocks_frontend",(()=>{(({Block:e,getProps:t,getErrorBoundaryProps:n,selector:o,wrapper:r})=>{const s=r.querySelectorAll(o);T({Block:e,containers:s,getProps:t,getErrorBoundaryProps:n})})({...e,wrapper:t})}))}))})({selector:".wp-block-woocommerce-stock-filter",Block:({attributes:n,isEditor:o=!1})=>{const i=(()=>{const{wrapper:e}=(0,t.useContext)(yt);return t=>{e&&e.current&&(e.current.hidden=!t)}})(),l=(0,s.getSettingWithCoercion)("isRenderingPhpTemplate",!1,ut),[a,c]=(0,t.useState)(!1),{outofstock:u,...d}=(0,s.getSetting)("stockStatusOptions",{}),p=(0,t.useRef)((0,s.getSetting)("hideOutOfStockItems",!1)?d:{outofstock:u,...d}),f=(0,t.useMemo)((()=>((e,t="filter_stock_status")=>{const n=(o=t,window?(0,dt.getQueryArg)(window.location.href,o):null);var o;if(!n)return[];const r=gt(n)?n.split(","):n,s=Object.keys(e);return r.filter((e=>s.includes(e)))})(p.current,Et)),[]),[m,h]=(0,t.useState)(f),[g,v]=(0,t.useState)(n.isPreview?ht:[]),[w]=(0,t.useState)(Object.entries(p.current).map((([e,t])=>({slug:e,name:t}))).filter((e=>!!e.name)).sort(((e,t)=>e.slug.localeCompare(t.slug)))),[b]=B(),[y,E]=D("stock_status",f),{results:k,isLoading:S}=Q({queryStock:!0,queryState:b,isEditor:o}),_=(0,t.useCallback)((e=>H(k,"stock_status_counts")&&Array.isArray(k.stock_status_counts)?k.stock_status_counts.find((({status:t,count:n})=>t===e&&0!==Number(n))):null),[k]),[T,I]=(0,t.useState)(wt());(0,t.useEffect)((()=>{if(S||n.isPreview)return;const t=w.map((t=>{const o=_(t.slug);if(!(o||m.includes(t.slug)||(r=t.slug,null!=b&&b.stock_status&&b.stock_status.some((({status:e=[]})=>e.includes(r))))))return null;var r;const s=o?Number(o.count):0;return{value:t.slug,name:(0,ct.decodeEntities)(t.name),label:(0,e.createElement)(oe,{name:(0,ct.decodeEntities)(t.name),count:n.showCounts?s:null}),textLabel:n.showCounts?`${(0,ct.decodeEntities)(t.name)} (${s})`:(0,ct.decodeEntities)(t.name)}})).filter((e=>!!e));v(t),I(wt())}),[n.showCounts,n.isPreview,S,_,m,b.stock_status,w]);const A="single"!==n.selectType,P=(0,t.useCallback)((e=>{o||(e&&!l&&E(e),(e=>{if(!window)return;if(0===e.length){const e=(0,dt.removeQueryArgs)(window.location.href,Et);return void(e!==mt(window.location.href)&&ft(e))}const t=(0,dt.addQueryArgs)(window.location.href,{[Et]:e.join(",")});t!==mt(window.location.href)&&ft(t)})(e))}),[o,E,l]);(0,t.useEffect)((()=>{n.showFilterButton||P(m)}),[n.showFilterButton,m,P]);const F=R((0,t.useMemo)((()=>y),[y])),M=function(e,n){const o=(0,t.useRef)();return(0,t.useEffect)((()=>{o.current===e||(o.current=e)}),[e,n]),o.current}(F);(0,t.useEffect)((()=>{O()(M,F)||O()(m,F)||h(F)}),[m,F,M]),(0,t.useEffect)((()=>{a||(E(f),c(!0))}),[E,a,c,f]);const N=(0,t.useCallback)((e=>{const t=e=>{const t=g.find((t=>t.value===e));return t?t.name:null},n=({filterAdded:e,filterRemoved:n})=>{const o=e?t(e):null,s=n?t(n):null;o?(0,x.speak)((0,r.sprintf)(/* translators: %s stock statuses (for example: 'instock'...) */ /* translators: %s stock statuses (for example: 'instock'...) */ (0,r.__)("%s filter added.","woocommerce"),o)):s&&(0,x.speak)((0,r.sprintf)(/* translators: %s stock statuses (for example:'instock'...) */ /* translators: %s stock statuses (for example:'instock'...) */ (0,r.__)("%s filter removed.","woocommerce"),s))},o=m.includes(e);if(!A){const t=o?[]:[e];return n(o?{filterRemoved:e}:{filterAdded:e}),void h(t)}if(o){const t=m.filter((t=>t!==e));return n({filterRemoved:e}),void h(t)}const s=[...m,e].sort();n({filterAdded:e}),h(s)}),[m,A,g]);if(!S&&0===g.length)return i(!1),null;const V=`h${n.headingLevel}`,W=!n.isPreview&&!p.current||0===g.length,j=!n.isPreview&&S;if(!(0,s.getSettingWithCoercion)("hasFilterableProducts",!1,ut))return i(!1),null;const z=A?!W&&m.length<g.length:!W&&0===m.length,K=(0,e.createElement)(V,{className:"wc-block-stock-filter__title"},n.heading),U=W?(0,e.createElement)(ne,null,K):K;return i(!0),(0,e.createElement)(e.Fragment,null,!o&&n.heading&&U,(0,e.createElement)("div",{className:J()("wc-block-stock-filter",`style-${n.displayStyle}`,{"is-loading":W})},"dropdown"===n.displayStyle?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(at,{key:T,className:J()({"single-selection":!A,"is-loading":W}),suggestions:g.filter((e=>!m.includes(e.value))).map((e=>e.value)),disabled:W,placeholder:(0,r.__)("Select stock status","woocommerce"),onChange:e=>{!A&&e.length>1&&(e=e.slice(-1));const t=[e=e.map((e=>{const t=g.find((t=>t.value===e));return t?t.value:e})),m].reduce(((e,t)=>e.filter((e=>!t.includes(e)))));if(1===t.length)return N(t[0]);const n=[m,e].reduce(((e,t)=>e.filter((e=>!t.includes(e)))));1===n.length&&N(n[0])},value:m,displayTransform:e=>{const t=g.find((t=>t.value===e));return t?t.textLabel:e},saveTransform:bt,messages:{added:(0,r.__)("Stock filter added.","woocommerce"),removed:(0,r.__)("Stock filter removed.","woocommerce"),remove:(0,r.__)("Remove stock filter.","woocommerce"),__experimentalInvalid:(0,r.__)("Invalid stock filter.","woocommerce")}}),z&&(0,e.createElement)(C,{icon:L,size:30})):(0,e.createElement)(Z.CheckboxList,{className:"wc-block-stock-filter-list",options:g,checked:m,onChange:N,isLoading:W,isDisabled:j})),(0,e.createElement)("div",{className:"wc-block-stock-filter__actions"},(m.length>0||o)&&!W&&(0,e.createElement)(te,{onClick:()=>{h([]),P([])},screenReaderLabel:(0,r.__)("Reset stock filter","woocommerce")}),n.showFilterButton&&(0,e.createElement)(ee,{className:"wc-block-stock-filter__button",isLoading:W,disabled:W||j,onClick:()=>P(m)})))},getProps:e=>{return{attributes:(t=e.dataset,{heading:gt(null==t?void 0:t.heading)?t.heading:"",headingLevel:gt(null==t?void 0:t.headingLevel)&&parseInt(t.headingLevel,10)||vt.Y4.D8.Z,showFilterButton:"true"===(null==t?void 0:t.showFilterButton),showCounts:"true"===(null==t?void 0:t.showCounts),isPreview:!1,displayStyle:gt(null==t?void 0:t.displayStyle)&&t.displayStyle||vt.Y4.PW.Z,selectType:gt(null==t?void 0:t.selectType)&&t.selectType||vt.Y4.lr.Z}),isEditor:!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]
[-] 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]
[-] 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-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]
[-] 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]