var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
  if (kind === "a" && !f)
    throw new TypeError("Private accessor was defined without a getter");
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
    throw new TypeError("Cannot read private member from an object whose class did not declare it");
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
};
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
  if (kind === "m")
    throw new TypeError("Private method is not writable");
  if (kind === "a" && !f)
    throw new TypeError("Private accessor was defined without a setter");
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
    throw new TypeError("Cannot write private member to an object whose class did not declare it");
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
};
var _KlevuMerchandising_instances, _KlevuMerchandising_viewportUtil, _KlevuMerchandising_layoutElement, _KlevuMerchandising_facetListElement, _KlevuMerchandising_resultObject, _KlevuMerchandising_fetchData, _KlevuMerchandising_loadMore, _KlevuMerchandising_paginationChange, _KlevuMerchandising_emitChanges, _KlevuMerchandising_sortChanged, _KlevuMerchandising_sizeChange, _KlevuMerchandising_applyFilters, _KlevuMerchandising_isMobile, _KlevuMerchandising_mobileDrawerOpened;
import { abTest, applyFilterWithManager, categoryMerchandising, FilterManager, KlevuFetch, listFilters, personalisation, sendMerchandisingViewEvent, } from "@klevu/core";
import { h, Host } from "@stencil/core";
import { KlevuInit } from "../klevu-init/klevu-init";
import { getTranslation } from "../../utils/getTranslation";
import { getKMCSettings } from "../../utils/getKMCSettings";
import { partsExports } from "../../utils/partsExports";
/**
 * Full merchandising app to power up your product grid pages
 *
 * @slot header - Header container
 * @slot footer - Footer container
 * @slot content - Product grid items including the grid container
 * @slot facets - Sidebar of facets content
 * @slot topbanners - Top banner content
 * @slot bottombanners - Bottom banner content
 *
 * @csspart merchandising-sidebar - Sidebar container
 * @csspart merchandising-header - Header container
 * @csspart merchandising-content - Content container
 * @csspart merchandising-footer - Footer container
 */
export class KlevuMerchandising {
  constructor() {
    _KlevuMerchandising_instances.add(this);
    _KlevuMerchandising_viewportUtil.set(this, void 0);
    _KlevuMerchandising_layoutElement.set(this, void 0);
    _KlevuMerchandising_facetListElement.set(this, void 0);
    _KlevuMerchandising_resultObject.set(this, void 0);
    this.usePagination = undefined;
    this.useInfiniteScroll = undefined;
    this.limit = 24;
    this.category = undefined;
    this.categoryTitle = undefined;
    this.tLoadMore = getTranslation("merchandising.tLoadMore");
    this.sort = undefined;
    this.filterCount = undefined;
    this.options = undefined;
    this.filterCustomOrder = undefined;
    this.sortOptions = undefined;
    this.showRatings = undefined;
    this.showRatingsCount = undefined;
    this.usePersonalisation = undefined;
    this.useABTest = undefined;
    this.currentViewPortSize = undefined;
    this.results = [];
    this.manager = new FilterManager();
    this.loading = false;
    this.infiniteScrollingPaused = false;
    this.searchResultTopBanners = [];
    this.searchResultBottomBanners = [];
  }
  async connectedCallback() {
    var _a, _b;
    await KlevuInit.ready();
    const settings = getKMCSettings();
    if (settings) {
      if (this.showRatings === undefined) {
        this.showRatings = ((_a = settings.klevu_uc_userOptions) === null || _a === void 0 ? void 0 : _a.showRatingsOnCategoryPage) || false;
      }
      if (this.showRatingsCount === undefined) {
        this.showRatingsCount = ((_b = settings.klevu_uc_userOptions) === null || _b === void 0 ? void 0 : _b.showRatingsCountOnCategoryPage) || false;
      }
      if (this.usePersonalisation === undefined && (settings === null || settings === void 0 ? void 0 : settings.klevu_uc_userOptions.enablePersonalisationInCatNav)) {
        this.usePersonalisation = true;
      }
      if (this.useABTest === undefined) {
        this.useABTest = settings.klevu_abTestActive;
      }
    }
    await __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_fetchData).call(this);
  }
  async watchPropHandler(newValue, oldValue) {
    if (newValue !== oldValue) {
      this.manager.clear();
      await __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_fetchData).call(this);
    }
  }
  infiniteScrollLoadMoreHandler() {
    __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_loadMore).call(this);
  }
  infiniteLoadPausedHandler() {
    this.infiniteScrollingPaused = true;
  }
  productClickHandler(event) {
    var _a, _b;
    if (!event.detail.product.id) {
      return;
    }
    if ((_a = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _a === void 0 ? void 0 : _a.categoryMerchandisingClickEvent) {
      (_b = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _b === void 0 ? void 0 : _b.categoryMerchandisingClickEvent({
        productId: event.detail.product.id,
        variantId: event.detail.product.variantId,
        categoryTitle: this.categoryTitle,
      });
    }
  }
  async componentDidLoad() {
    this.currentViewPortSize = await __classPrivateFieldGet(this, _KlevuMerchandising_viewportUtil, "f").getCurrentSize();
  }
  filterManagerFiltersUpdated() {
    if (__classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_isMobile).call(this)) {
      return;
    }
    __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_fetchData).call(this);
  }
  render() {
    var _a, _b, _c;
    const showInfiniteScroll = this.useInfiniteScroll &&
      !this.infiniteScrollingPaused &&
      this.results.length > 0 &&
      ((_a = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _a === void 0 ? void 0 : _a.hasNextPage());
    return (h(Host, null, h("klevu-util-viewport", { onKlevuSizeChanged: __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_sizeChange).bind(this), ref: (el) => (__classPrivateFieldSet(this, _KlevuMerchandising_viewportUtil, el, "f")) }), h("klevu-layout-results", { onKlevuDrawerOpened: __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_mobileDrawerOpened).bind(this), ref: (el) => (__classPrivateFieldSet(this, _KlevuMerchandising_layoutElement, el, "f")) }, h("slot", { name: "facets", slot: "sidebar" }, h("div", { part: "merchandising-sidebar" }, h("klevu-facet-list", { ref: (el) => (__classPrivateFieldSet(this, _KlevuMerchandising_facetListElement, el, "f")), accordion: true, customOrder: this.filterCustomOrder, manager: this.manager, useApplyButton: __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_isMobile).call(this), onKlevuApplyFilters: __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_applyFilters).bind(this) }))), h("div", { slot: "header", class: "header", part: "merchandising-header" }, h("klevu-typography", { variant: "h1" }, this.categoryTitle), h("klevu-sort", { variant: "inline", onKlevuSortChanged: __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_sortChanged).bind(this), options: this.sortOptions })), h("slot", { name: "content", slot: "content" }, h("div", { part: "merchandising-content" }, h("slot", { name: "topbanners" }, this.searchResultTopBanners.map((b) => (h("klevu-banner", { imageUrl: b.bannerImg, linkUrl: b.redirectUrl, altText: b.bannerAltTag })))), h("klevu-product-grid", null, this.results.map((p) => (h("klevu-product", { product: p, fixedWidth: true, exportparts: partsExports("klevu-product"), showRatings: this.showRatings, showRatingsCount: this.showRatingsCount })))), this.loading && !this.infiniteScrollingPaused && (h("klevu-loading-indicator", { exportparts: partsExports("klevu-loading-indicator") })), h("slot", { name: "bottombanners" }, this.searchResultBottomBanners.map((b) => (h("klevu-banner", { imageUrl: b.bannerImg, linkUrl: b.redirectUrl, altText: b.bannerAltTag })))))), h("div", { slot: "footer", class: "footer", part: "merchandising-footer" }, showInfiniteScroll ? (h("klevu-util-infinite-scroll", { infiniteScrollPauseThreshold: 3, enabled: !!((_b = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _b === void 0 ? void 0 : _b.hasNextPage()) && !this.loading })) : this.usePagination && __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f") ? (h("klevu-pagination", { exportparts: partsExports("klevu-pagination"), queryResult: __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f"), onKlevuPaginationChange: __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_paginationChange).bind(this) })) : ((_c = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _c === void 0 ? void 0 : _c.hasNextPage()) ? (h("klevu-button", { onClick: __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_loadMore).bind(this) }, this.tLoadMore)) : null))));
  }
  static get is() { return "klevu-merchandising"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() {
    return {
      "$": ["klevu-merchandising.css"]
    };
  }
  static get styleUrls() {
    return {
      "$": ["klevu-merchandising.css"]
    };
  }
  static get properties() {
    return {
      "usePagination": {
        "type": "boolean",
        "mutable": false,
        "complexType": {
          "original": "boolean",
          "resolved": "boolean | undefined",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Should display pagination instead of load next"
        },
        "attribute": "use-pagination",
        "reflect": false
      },
      "useInfiniteScroll": {
        "type": "boolean",
        "mutable": false,
        "complexType": {
          "original": "boolean",
          "resolved": "boolean | undefined",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Should use infinite scroll component to trigger load next"
        },
        "attribute": "use-infinite-scroll",
        "reflect": false
      },
      "limit": {
        "type": "number",
        "mutable": false,
        "complexType": {
          "original": "number",
          "resolved": "number",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": "Count of products for page"
        },
        "attribute": "limit",
        "reflect": false,
        "defaultValue": "24"
      },
      "category": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": true,
        "optional": false,
        "docs": {
          "tags": [],
          "text": "Which category products"
        },
        "attribute": "category",
        "reflect": false
      },
      "categoryTitle": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": true,
        "optional": false,
        "docs": {
          "tags": [],
          "text": "Category title"
        },
        "attribute": "category-title",
        "reflect": false
      },
      "tLoadMore": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": "Text for load more button"
        },
        "attribute": "t-load-more",
        "reflect": false,
        "defaultValue": "getTranslation(\"merchandising.tLoadMore\")"
      },
      "sort": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "KlevuSearchSorting",
          "resolved": "KlevuSearchSorting.AdvancedSorting | KlevuSearchSorting.NameAsc | KlevuSearchSorting.NameDesc | KlevuSearchSorting.NewArrivalAsc | KlevuSearchSorting.NewArrivalDesc | KlevuSearchSorting.PriceAsc | KlevuSearchSorting.PriceDesc | KlevuSearchSorting.RatingAsc | KlevuSearchSorting.RatingDesc | KlevuSearchSorting.Relevance | undefined",
          "references": {
            "KlevuSearchSorting": {
              "location": "import",
              "path": "@klevu/core",
              "id": "../klevu-core/dist/cjs/index.d.ts::KlevuSearchSorting"
            }
          }
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Order of results"
        },
        "attribute": "sort",
        "reflect": false
      },
      "filterCount": {
        "type": "number",
        "mutable": false,
        "complexType": {
          "original": "number",
          "resolved": "number | undefined",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "How many filters per facet to show"
        },
        "attribute": "filter-count",
        "reflect": false
      },
      "options": {
        "type": "unknown",
        "mutable": false,
        "complexType": {
          "original": "KlevuMerchandisingOptions",
          "resolved": "undefined | { id: string; searchTerm: string; } & Omit<KlevuBaseQuerySettings, \"query\">",
          "references": {
            "KlevuMerchandisingOptions": {
              "location": "import",
              "path": "@klevu/core",
              "id": "../klevu-core/dist/cjs/index.d.ts::KlevuMerchandisingOptions"
            }
          }
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Object to override and settings on search options"
        }
      },
      "filterCustomOrder": {
        "type": "unknown",
        "mutable": false,
        "complexType": {
          "original": "{ [key: string]: string[] }",
          "resolved": "undefined | { [key: string]: string[]; }",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Order filters in given order"
        }
      },
      "sortOptions": {
        "type": "unknown",
        "mutable": false,
        "complexType": {
          "original": "Array<{ value: KlevuSearchSorting; text: string }>",
          "resolved": "undefined | { value: KlevuSearchSorting; text: string; }[]",
          "references": {
            "Array": {
              "location": "global",
              "id": "global::Array"
            },
            "KlevuSearchSorting": {
              "location": "import",
              "path": "@klevu/core",
              "id": "../klevu-core/dist/cjs/index.d.ts::KlevuSearchSorting"
            }
          }
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Pass custom options for the sort dropdown"
        }
      },
      "showRatings": {
        "type": "boolean",
        "mutable": false,
        "complexType": {
          "original": "boolean",
          "resolved": "boolean | undefined",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Show ratings"
        },
        "attribute": "show-ratings",
        "reflect": false
      },
      "showRatingsCount": {
        "type": "boolean",
        "mutable": false,
        "complexType": {
          "original": "boolean",
          "resolved": "boolean | undefined",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Show ratings count"
        },
        "attribute": "show-ratings-count",
        "reflect": false
      },
      "usePersonalisation": {
        "type": "boolean",
        "mutable": false,
        "complexType": {
          "original": "boolean",
          "resolved": "boolean | undefined",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Enable personalisation"
        },
        "attribute": "use-personalisation",
        "reflect": false
      },
      "useABTest": {
        "type": "boolean",
        "mutable": false,
        "complexType": {
          "original": "boolean",
          "resolved": "boolean | undefined",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Overrides KMC setting to use ABtest for results"
        },
        "attribute": "use-a-b-test",
        "reflect": false
      }
    };
  }
  static get states() {
    return {
      "currentViewPortSize": {},
      "results": {},
      "manager": {},
      "loading": {},
      "infiniteScrollingPaused": {},
      "searchResultTopBanners": {},
      "searchResultBottomBanners": {}
    };
  }
  static get events() {
    return [{
        "method": "klevuData",
        "name": "klevuData",
        "bubbles": true,
        "cancelable": true,
        "composed": true,
        "docs": {
          "tags": [],
          "text": ""
        },
        "complexType": {
          "original": "{ resultObject: KlevuResponseQueryObject; records: KlevuRecord[]; manager: FilterManager }",
          "resolved": "{ resultObject: KlevuResponseQueryObject; records: KlevuRecord[]; manager: FilterManager; }",
          "references": {
            "KlevuResponseQueryObject": {
              "location": "import",
              "path": "@klevu/core",
              "id": "../klevu-core/dist/cjs/index.d.ts::KlevuResponseQueryObject"
            },
            "KlevuRecord": {
              "location": "import",
              "path": "@klevu/core",
              "id": "../klevu-core/dist/cjs/index.d.ts::KlevuRecord"
            },
            "FilterManager": {
              "location": "import",
              "path": "@klevu/core",
              "id": "../klevu-core/dist/cjs/index.d.ts::FilterManager"
            }
          }
        }
      }];
  }
  static get elementRef() { return "el"; }
  static get watchers() {
    return [{
        "propName": "category",
        "methodName": "watchPropHandler"
      }];
  }
  static get listeners() {
    return [{
        "name": "klevuLoadMore",
        "method": "infiniteScrollLoadMoreHandler",
        "target": undefined,
        "capture": false,
        "passive": false
      }, {
        "name": "klevuInfiniteScrollingPaused",
        "method": "infiniteLoadPausedHandler",
        "target": undefined,
        "capture": false,
        "passive": false
      }, {
        "name": "klevuProductClick",
        "method": "productClickHandler",
        "target": undefined,
        "capture": false,
        "passive": false
      }, {
        "name": "klevu-filter-selection-updates",
        "method": "filterManagerFiltersUpdated",
        "target": "document",
        "capture": false,
        "passive": false
      }];
  }
}
_KlevuMerchandising_viewportUtil = new WeakMap(), _KlevuMerchandising_layoutElement = new WeakMap(), _KlevuMerchandising_facetListElement = new WeakMap(), _KlevuMerchandising_resultObject = new WeakMap(), _KlevuMerchandising_instances = new WeakSet(), _KlevuMerchandising_fetchData = async function _KlevuMerchandising_fetchData() {
  var _a, _b;
  this.loading = true;
  const modifiers = [
    sendMerchandisingViewEvent(this.categoryTitle),
    listFilters({
      filterManager: this.manager,
      limit: this.filterCount,
      rangeFilterSettings: [
        {
          key: "klevu_price",
          minMax: true,
        },
      ],
    }),
    applyFilterWithManager(this.manager),
  ];
  if (this.usePersonalisation) {
    modifiers.push(personalisation());
  }
  if (this.useABTest) {
    modifiers.push(abTest());
  }
  const result = await KlevuFetch(categoryMerchandising(this.category, Object.assign({ limit: this.limit, sort: this.sort }, this.options), ...modifiers));
  __classPrivateFieldSet(this, _KlevuMerchandising_resultObject, result.queriesById("categoryMerchandising"), "f");
  this.results = (_b = (_a = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _a === void 0 ? void 0 : _a.records) !== null && _b !== void 0 ? _b : [];
  const allBanners = await __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f").getBanners();
  this.searchResultTopBanners = allBanners.filter((b) => b.position === "top");
  this.searchResultBottomBanners = allBanners.filter((b) => b.position === "bottom");
  __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_emitChanges).call(this);
  this.loading = false;
}, _KlevuMerchandising_loadMore = async function _KlevuMerchandising_loadMore() {
  var _a, _b, _c;
  if (!((_a = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _a === void 0 ? void 0 : _a.getPage)) {
    return;
  }
  this.loading = true;
  const nextResultObject = await __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f").getPage();
  __classPrivateFieldSet(this, _KlevuMerchandising_resultObject, nextResultObject === null || nextResultObject === void 0 ? void 0 : nextResultObject.queriesById("categoryMerchandising"), "f");
  this.results = [...this.results, ...((_c = (_b = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _b === void 0 ? void 0 : _b.records) !== null && _c !== void 0 ? _c : [])];
  __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_emitChanges).call(this);
  this.loading = false;
}, _KlevuMerchandising_paginationChange = async function _KlevuMerchandising_paginationChange(event) {
  var _a, _b, _c;
  if (!((_a = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _a === void 0 ? void 0 : _a.getPage)) {
    return;
  }
  this.loading = true;
  const nextResultObject = await __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f").getPage({ pageIndex: event.detail - 1 });
  __classPrivateFieldSet(this, _KlevuMerchandising_resultObject, nextResultObject === null || nextResultObject === void 0 ? void 0 : nextResultObject.queriesById("categoryMerchandising"), "f");
  this.results = (_c = (_b = __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) === null || _b === void 0 ? void 0 : _b.records) !== null && _c !== void 0 ? _c : [];
  __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_emitChanges).call(this);
  this.loading = false;
}, _KlevuMerchandising_emitChanges = function _KlevuMerchandising_emitChanges() {
  if (!__classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f")) {
    return;
  }
  this.klevuData.emit({
    resultObject: __classPrivateFieldGet(this, _KlevuMerchandising_resultObject, "f"),
    records: this.results,
    manager: this.manager,
  });
  this.infiniteScrollingPaused = false;
}, _KlevuMerchandising_sortChanged = async function _KlevuMerchandising_sortChanged(event) {
  this.sort = event.detail;
  await __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_fetchData).call(this);
}, _KlevuMerchandising_sizeChange = function _KlevuMerchandising_sizeChange(event) {
  this.currentViewPortSize = event.detail;
}, _KlevuMerchandising_applyFilters = function _KlevuMerchandising_applyFilters() {
  __classPrivateFieldGet(this, _KlevuMerchandising_instances, "m", _KlevuMerchandising_fetchData).call(this);
  __classPrivateFieldGet(this, _KlevuMerchandising_layoutElement, "f").closeDrawer();
}, _KlevuMerchandising_isMobile = function _KlevuMerchandising_isMobile() {
  var _a, _b;
  return ((_a = this.currentViewPortSize) === null || _a === void 0 ? void 0 : _a.name) === "xs" || ((_b = this.currentViewPortSize) === null || _b === void 0 ? void 0 : _b.name) === "sm";
}, _KlevuMerchandising_mobileDrawerOpened = function _KlevuMerchandising_mobileDrawerOpened() {
  __classPrivateFieldGet(this, _KlevuMerchandising_facetListElement, "f").updateApplyFilterState();
};
//# sourceMappingURL=klevu-merchandising.js.map
