var wc;(()=>{var e={3984:()=>{}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var c=t[n]={exports:{}};return e[n](c,c.exports,i),c.exports}i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n);const e=window.wc.__experimentalInteractivity,t=window.CustomEvent||null,o=(e,{bubbles:i=!1,cancelable:n=!1,element:o,detail:c={}})=>{if(!t)return;o||(o=document.body);const a=new t(e,{bubbles:i,cancelable:n,detail:c});o.dispatchEvent(a)},c=e=>{o("wc-blocks_product_list_rendered",{bubbles:!0,cancelable:!0,detail:e})};i(3984);const a=e=>e&&e instanceof window.HTMLAnchorElement&&e.href&&(!e.target||"_self"===e.target)&&e.origin===window.location.origin,l={state:{get startAnimation(){return"start"===(0,e.getContext)().animation},get finishAnimation(){return"finish"===(0,e.getContext)().animation}},actions:{*navigate(t){var i,n,o;const l=(0,e.getContext)(),{ref:r}=(0,e.getElement)(),s=null==r||null===(i=r.closest("[data-wc-navigation-id]"))||void 0===i||null===(n=i.dataset)||void 0===n?void 0:n.wcNavigationId;var d;if((null==r||null===(o=r.closest("[data-wc-navigation-id]"))||void 0===o?void 0:o.dataset.wcNavigationDisabled)&&(yield(d=r.href,window.location.assign(d),new Promise((()=>{})))),a(r)&&(e=>!(0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||e.defaultPrevented))(t)){t.preventDefault();const i=setTimeout((()=>{l.accessibilityMessage=l.accessibilityLoadingMessage,l.animation="start"}),400);yield(0,e.navigate)(r.href),clearTimeout(i),l.accessibilityMessage=l.accessibilityLoadedMessage+(l.accessibilityMessage===l.accessibilityLoadedMessage?" ":""),l.animation="finish",l.isPrefetchNextOrPreviousLink=!!r.href,function(e){if(!e)return;const t=`[data-wc-navigation-id=${e}] .wc-block-product-template .wc-block-product`,i=document.querySelector(t);if(i){const e=i.getBoundingClientRect();e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)||i.scrollIntoView({behavior:"smooth",block:"start"})}}(s),c({collection:l.collection})}},*prefetchOnHover(){var t;const{ref:i}=(0,e.getElement)();(null==i||null===(t=i.closest("[data-wc-navigation-id]"))||void 0===t?void 0:t.dataset.wcNavigationDisabled)||a(i)&&(yield(0,e.prefetch)(i.href))},*viewProduct(){const{collection:t,productId:i}=(0,e.getContext)();i&&o("wc-blocks_viewed_product",{bubbles:!0,cancelable:!0,detail:{collection:t,productId:i}})}},callbacks:{*prefetch(){var t;const{ref:i}=(0,e.getElement)();if(null==i||null===(t=i.closest("[data-wc-navigation-id]"))||void 0===t?void 0:t.dataset.wcNavigationDisabled)return;const n=(0,e.getContext)();null!=n&&n.isPrefetchNextOrPreviousLink&&a(i)&&(yield(0,e.prefetch)(i.href))},*onRender(){const{collection:t}=(0,e.getContext)();c({collection:t})}}};(0,e.store)("woocommerce/product-collection",l)})(),(wc=void 0===wc?{}:wc)["product-collection"]=n})();