1(()=>{var e={6695:()=>{function e(t){return e="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},e(t)}function t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}function r(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==e(r)?r:String(r)}function n(t,r,n){return r=a(r),function(t,r){if(r&&("object"===e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)}(t,i()?Reflect.construct(r,n||[],a(t).constructor):r.apply(t,n))}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(i())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&c(o,r.prototype),o}(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},o(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var u=function(e){function r(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(e=n(this,r)).summary=e.querySelector("summary"),e.details=e.querySelector("details"),e.summary.addEventListener("click",(function(t){t.preventDefault(),e._toggle()})),document.addEventListener("product-grid:update",(function(){e.summary=e.querySelector("summary"),e.details=e.querySelector("details"),e.summary.addEventListener("click",(function(t){t.preventDefault(),e._toggle()}))})),e}var o,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(r,e),o=r,(i=[{key:"_toggle",value:function(){this.details.open?this._close():this._open()}},{key:"_open",value:function(){var e=this;this.details.open=!0,setTimeout((function(){e.classList.add("filter--expanded")}),300)}},{key:"_close",value:function(){var e=this;this.classList.remove("filter--expanded"),setTimeout((function(){e.details.open=!1}),300)}}])&&t(o.prototype,i),a&&t(o,a),Object.defineProperty(o,"prototype",{writable:!1}),r}(o(HTMLElement));customElements.get("filter-accordion")||customElements.define("filter-accordion",u)},7749:()=>{function e(t){return e="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},e(t)}function t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}function r(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}
1(t,"string");return"symbol"==e(r)?r:String(r)}function n(t,r,n){return r=a(r),function(t,r){if(r&&("object"===e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)}(t,i()?Reflect.construct(r,n||[],a(t).constructor):r.apply(t,n))}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(i())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&c(o,r.prototype),o}(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},o(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var u=function(e){function r(){var e,t,o,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(i=n(this,r)).sortToggle=document.querySelectorAll("[data-sort-toggle]"),i.viewToggle=document.querySelectorAll("[data-view-toggle]"),i.productGrid=document.querySelector("[data-product-grid]"),i.filter=i.querySelector("[data-filter-content]"),i.filterToggle=document.querySelectorAll("[data-filter-toggle]"),i.topNav=document.querySelector(".header__nav-list"),i.pageHeader=document.querySelector(".shopify-section__header"),null===(e=i.viewToggle)||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(t){var r;t.preventDefault();var n=e.dataset.viewToggle;null===(r=i.viewToggle)||void 0===r||r.forEach((function(e){e.classList.remove("active")})),e.classList.add("active"),i.productGrid.setAttribute("data-view-layout",n)}))})),null===(t=i.sortToggle)||void 0===t||t.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),i.classList.contains("sort--open")?i._close("sort--open"):i._open("sort--open")}))})),null===(o=i.filterToggle)||void 0===o||o.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),i.classList.contains("filter--open")?(i._close("filter--open"),i.topNav.classList.remove("hide-desktop"),i.pageHeader.classList.remove("lower")):(i._open("filter--open"),i.topNav.classList.add("hide-desktop"),i.pageHeader.classList.add("lower"))}))})),document.addEventListener("product-grid:update",(function(){i._close("sort--open")})),i}var o,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(r,e),o=r,(i=[{key:"_close",value:function(e){this.classList.remove(e)}},{key:"_open",value:function(e){this.classList.add(e)}}])&&t(o.prototype,i),a&&t(o,a),Object.defineProperty(o,"prototype",{writable:!1}),r}(o(HTMLElement));customElements.get("filter-sort-form")||customElements.define("filter-sort-form",u)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(6695),r(7749);function e(t){return e="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},e(t)}function t(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}
vendor: 2,837 bytes, line 1
1}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,c=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw c}}}}function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==e(r)?r:String(r)}function u(t,r,n){return r=d(r),function(t,r){if(r&&("object"===e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)}(t,f()?Reflect.construct(r,n||[],d(t).constructor):r.apply(t,n))}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(f())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&s(o,r.prototype),o}(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},l(e)}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}
1function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var p=function(e){function r(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(e=u(this,r)).filterData=[],e.searchParams=window.location.search.slice(1),e.filterSort=e.querySelector("form"),e.filterSort.addEventListener("input",(function(t){window.debounce(e.onSubmitHandler(t),500)})),e.querySelectorAll("[data-active-filters] a").forEach((function(t){t.addEventListener("click",(function(t){return e.onActiveFilterClick(t)}))})),e.fixVariants(),e.handleLoadMore(),e.observeProductGrid(),document.addEventListener("DOMContentLoaded",(function(e){document.querySelector("[data-product-grid]").classList.add("active")})),e}var o,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(r,e),o=r,i=[{key:"fixVariants",value:function(){(window.location.search.includes("sort_by=price-ascending")||window.location.search.includes("sort_by=price-descending"))&&document.querySelectorAll(".product-card__variants--toggle").forEach((function(e){e.querySelectorAll("label").forEach((function(e){e.querySelector("input").checked||e.click()}))}))}},{key:"handleLoadMore",value:function(){var e=this;if(this.loadMore=this.querySelector("[data-load-more]"),this.loadMore){this.productGrid=this.querySelector("[data-product-grid]"),this.loadMore.addEventListener("click",(function(t){t.preventDefault(),fetch(e.loadMore.href).then((function(e){return e.text()})).then((function(t){var r,o,i=(new DOMParser).parseFromString(t,"text/html");e.renderLoadMore(i),document.querySelector(".main-collection__product-grid").classList.contains("products-only")?(r=e.productGrid).append.apply(r,n(i.querySelectorAll("[data-product-card]"))):(o=e.productGrid).append.apply(o,n(i.querySelectorAll("[data-blog-card]"))),e.renderCount(t,!0)}))}));var t=document.querySelector(".main-collection__filter-sort [data-product-count]"),r=document.querySelectorAll("[data-product-card]").length;t.textContent=r}}},{key:"observeProductGrid",value:function(){var e=this,r=this.querySelector("[data-product-grid]");if(r){var n=new MutationObserver((function(r){var n,o=t(r);try{for(o.s();!(n=o.n()).done;){var i=n.value;if("childList"===i.type&&i.addedNodes.length){var c,a=t(i.addedNodes);try{for(a.s();!(c=a.n()).done;){var u=c.value;if(1===u.nodeType&&u.matches(".product-card")){e.executePowerReviewsScript();break}}}catch(e){a.e(e)}finally{a.f()}}}}catch(e){o.e(e)}finally{o.f()}}));n.observe(r,{childList:!0,subtree:!0}),this.productGridObserver=n}}},{key:"executePowerReviewsScript",value:function(){window.pwr=window.pwr||function(){(pwr.q=pwr.q||[]).push(arguments)};var e=[];document.querySelectorAll("product-card").forEach((function(t){var r=t.dataset.product;e.push({api_key:"{{ settings.powerreviews_api_key }}",locale:"{{ settings.powerreviews_locale }}",merchant_group_id:"{{ settings.powerreviews_group_id }}",merchant_id:"{{ settings.powerreviews_merchant_id }}",page_id:r,components:{CategorySnippet:"snippet-".concat(r)}})})),pwr("render",e)}},{key:"renderLoadMore",value:function(e){var t=e.querySelector("[data-load-more]");this.loadMore&&(t?(this.loadMore.parentNode.style.display="flex",this.loadMore.href=t.href):this.loadMore.parentNode.style.display="none")}},{key:"renderPage",value:function(e,t){var r=this,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.searchParams=e;var o,i,c=this.getSections();document.querySelector("[data-product-grid]").classList.add("loading"),c.forEach((function(n){o=e?"&".concat(e,"&type=product"):"",i=o?window.location.pathname:t.currentTarget.href;var c=new URLSearchParams(window.location.search).get("q"),a=c?"?q=".concat(c,"&"):"?",u="".concat(i).c
1oncat(a,"section_id=").concat(n.section).concat(o),l=function(e){return e.url===u},f=r.filterData.some(l),s=f?l:u;r.renderSection(s,t,f)})),e||this.updateURL(i),n&&this.updateURLHash(e)}},{key:"renderSection",value:function(e,t,r){var o=this;if(r){var i=this.filterData.find(e).html;this.renderProductGridContainer(i),this.renderFilters(i,t),this.renderCount(i)}else fetch(e).then((function(e){return e.text()})).then((function(r){var i=r;o.filterData=[].concat(n(o.filterData),[{html:i,url:e}]),o.renderProductGridContainer(i),o.renderFilters(i,t),o.renderCount(i)}))}},{key:"renderProductGridContainer",value:function(e){document.querySelector("[data-product-grid]").innerHTML=(new DOMParser).parseFromString(e,"text/html").querySelector("[data-product-grid]").innerHTML}},{key:"renderFilters",value:function(e,t){var r=(new DOMParser).parseFromString(e,"text/html"),n=r.querySelectorAll(".js-filter");Array.from(n).forEach((function(e){var t=document.querySelector('.js-filter[data-index="'.concat(e.dataset.index,'"]'));t&&(t.innerHTML=e.innerHTML)})),this.renderActiveFilters(r)}},{key:"renderActiveFilters",value:function(e){var t=this,r=e.querySelector("[data-active-filters]");r&&document.querySelectorAll("[data-active-filters]").forEach((function(e){e.innerHTML=r.innerHTML,e.querySelectorAll("a").forEach((function(e){e.addEventListener("click",(function(e){return t.onActiveFilterClick(e)}))}))}))}},{key:"renderCount",value:function(e){var t=(new DOMParser).parseFromString(e,"text/html"),r=document.querySelectorAll("[data-product-card]").length,n=document.querySelectorAll("[data-blog-card]").length,o=document.querySelectorAll("[data-product-count]"),i=document.querySelectorAll("[data-article-count]");o.forEach((function(e){e.innerHTML=r}
1)),i.forEach((function(e){e.innerHTML=n})),this.renderLoadMore(t),document.dispatchEvent(new CustomEvent("product-grid:update",{bubbles:!0,detail:{productCount:r,articleCount:n}})),this.fixVariants()}},{key:"updateURLHash",value:function(e){var t=new URLSearchParams(window.location.search).get("q"),r=t?"?q=".concat(t,"&"):"?";history.pushState({searchParams:e},"","".concat(window.location.pathname).concat(e&&r.concat(e)))}},{key:"updateURL",value:function(e){history.pushState({url:e},"","".concat(e))}},{key:"getSections",value:function(){return[{section:document.getElementById("product-grid-section").dataset.id}]}},{key:"createSearchParams",value:function(e){var t=new FormData(e);return new URLSearchParams(t).toString()}},{key:"onSubmitHandler",value:function(e){e.preventDefault(),e.target.closest(".product-card__variant input.visually-hidden")||this.renderPage(this.createSearchParams(this.filterSort),e)}},{key:"onActiveFilterClick",value:function(e){e.preventDefault(),-1==e.currentTarget.href.indexOf("?")||e.currentTarget.href.slice(e.currentTarget.href.indexOf("?")+1),this.renderPage(null,e,!1)}}],i&&c(o.prototype,i),a&&c(o,a),Object.defineProperty(o,"prototype",{writable:!1}),r}(l(HTMLElement));customElements.get("main-collection")||customElements.define("main-collection",p)})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.