{
"version": 3,
"sources": ["/cdn/shop/t/116/assets/boost-pfs-core.js"],
"sourcesContent": ["var BoostPFS = function(J) {\n function z($) {\n for (var V, x, w = $[0], _ = $[1], I = $[2], j = 0, k = []; j < w.length; j++)\n x = w[j],\n Object.prototype.hasOwnProperty.call(h, x) && h[x] && k.push(h[x][0]),\n h[x] = 0;\n for (V in _)\n Object.prototype.hasOwnProperty.call(_, V) && (J[V] = _[V]);\n for (b && b($); k.length; )\n k.shift()();\n return c.push.apply(c, I || []),\n l()\n }\n function l() {\n for (var $, V = 0; V < c.length; V++) {\n for (var x = c[V], w = !0, _ = 1; _ < x.length; _++) {\n var I = x[_];\n h[I] !== 0 && (w = !1)\n }\n w && (c.splice(V--, 1),\n $ = g(g.s = x[0]))\n }\n return $\n }\n var N = {}\n , h = {\n 0: 0\n }\n , c = [];\n function g($) {\n if (N[$])\n return N[$].exports;\n var V = N[$] = {\n i: $,\n l: !1,\n exports: {}\n };\n return J[$].call(V.exports, V, V.exports, g),\n V.l = !0,\n V.exports\n }\n g.m = J,\n g.c = N,\n g.d = function($, V, x) {\n g.o($, V) || Object.defineProperty($, V, {\n enumerable: !0,\n get: x\n })\n }\n ,\n g.r = function($) {\n typeof Symbol != \"undefined\" && Symbol.toStringTag && Object.defineProperty($, Symbol.toStringTag, {\n value: \"Module\"\n }),\n Object.defineProperty($, \"__esModule\", {\n value: !0\n })\n }\n ,\n g.t = function($, V) {\n if (1 & V && ($ = g($)),\n 8 & V || 4 & V && typeof $ == \"object\" && $ && $.__esModule)\n return $;\n var x = Object.create(null );\n if (g.r(x),\n Object.defineProperty(x, \"default\", {\n enumerable: !0,\n value: $\n }),\n 2 & V && typeof $ != \"string\")\n for (var w in $)\n g.d(x, w, function(_) {\n return $[_]\n }\n .bind(null , w));\n return x\n }\n ,\n g.n = function($) {\n var V = $ && $.__esModule ? function() {\n return $.default\n }\n : function() {\n return $\n }\n ;\n return g.d(V, \"a\", V),\n V\n }\n ,\n g.o = function($, V) {\n return Object.prototype.hasOwnProperty.call($, V)\n }\n ,\n g.p = \"\";\n var f = window.webpackJsonpBoostPFS = window.webpackJsonpBoostPFS || []\n , P = f.push.bind(f);\n f.push = z,\n f = f.slice();\n for (var H = 0; H < f.length; H++)\n z(f[H]);\n var b = P;\n return c.push([184, 1]),\n l()\n}({\n 0: function(J, z, l) {\n \"use strict\";\n l(30),\n l(43),\n l(21),\n l(38);\n var N = l(1)\n , h = {\n general: {\n enableFilter: !0,\n filterTreeMobileStyle: \"style2\",\n filterTreeMobileStyleFullWidth: !1,\n filterHorizontalColumn: \"1\",\n filterTreeEnableRenderPartially: !0,\n showRefineBy: !0,\n separateRefineByFromFilter: !1,\n refineByHorizontalPosition: \"bottom\",\n changeMobileButtonLabel: !1,\n breakpointMobile: \"767\",\n breakpointTablet: \"1199\",\n showLoading: !1,\n showMobileLoading: !1,\n showLoadMoreLoading: !0,\n positionShowInfiniteLoading: 700,\n activeScrollToTop: !1,\n styleScrollToTop: \"style1\",\n showSingleOption: !0,\n showOutOfStockOption: !1,\n showFilterOptionCount: !0,\n requestInstantly: !1,\n capitalizeFilterOptionValues: !0,\n forceCapitalizeFilterOptionValues: !1,\n capitalizeFirstLetterFilterOptionValues: !1,\n collapseOnPCByDefault: !1,\n collapseOnMobileByDefault: !1,\n keepScrollState: !0,\n keepToggleState: !0,\n keepTabOpenState: !1,\n activeFilterScrollbarPC: !0,\n activeFilterScrollbarMobile: !0,\n scrollFirstLoadLength: 24,\n startViewMore: {\n list: 5,\n box: 3,\n swatch: 10\n },\n startViewMoreH: {\n list: 10,\n box: 20,\n swatch: 10\n },\n removePriceDecimal: !0,\n rangeSliderMoneyFormat: \"\",\n oneValueRangeSlider: !1,\n rangeSlidersStyle3: [],\n rangeSlidersSingleHandle: [],\n advancedRangeSliders: [],\n shortenPipsRange: !1,\n formatPipsRange: [{\n node: 1e3,\n symbol: \"K\",\n fix: 0,\n suffix: !1\n }, {\n node: 1e6,\n symbol: \"M\",\n fix: 2,\n suffix: !1\n }],\n enable3rdCurrencySupport: !1,\n imageExtension: [\"jpg\", \"JPG\", \"png\", \"PNG\", \"jpeg\", \"JPEG\", \"gif\", \"GIF\"],\n swatchStyle: \"\",\n swatchImageVersion: \"1111111\",\n removePrefixFromSwatchFile: !0,\n enableFilterOptionBoxStyle: !0,\n filterOptionBoxCharWidth: 14,\n openMultiLevelByDefault: [],\n multiLevelCollectionSelectType: \"single\",\n filterPrefixParam: \"pf_\",\n limit: 16,\n vendorParam: \"pf_v_vendor\",\n typeParam: \"pf_pt_product_type\",\n priceMode: \"\",\n tagMode: \"\",\n urlScheme: 1,\n isShortenUrlParam: !1,\n shortenUrlParamList: [],\n productAvailable: !1,\n variantAvailable: !1,\n availableAfterFiltering: !1,\n loadProductFirst: !0,\n loadProductFirstBestSelling: !1,\n addCollectionToProductUrl: !0,\n showVariantImageBasedOnSelectedFilter: \"\",\n paginationType: \"default\",\n paginationTypeAdvanced: !0,\n activeLoadPreviousPage: !0,\n loadPreviousType: \"load_more\",\n sessionStorageCurrentPreviousPage: \"boostPFSCurrentPreviousPage\",\n sessionStorageCurrentPage: \"boostPFSCurrentPage\",\n sessionStorageCurrentNextPage: \"boostPFSCurrentNextPage\",\n sessionStoragePreviousPageEvent: \"boostPFSPreviousPageEvent\",\n enableKeepScrollbackPosition: !0,\n keepScrollbackPositionType: \"sessionStorage\",\n sessionStorageScrollbackPosition: \"boostPFSScrollbackPostion\",\n sortingList: [\"relevance\", \"best-selling\", \"manual\", \"price-ascending\", \"price-descending\", \"title-ascending\", \"title-descending\", \"created-descending\", \"created-ascending\"],\n customSortingList: \"\",\n extraSortingList: \"\",\n sortingAvailableFirst: !1,\n showLimitList: \"4,8,12,16\",\n defaultDisplay: \"grid\",\n collageNumber: 3,\n showPlaceholderProductList: !1,\n placeholderImageRatio: 1.4,\n placeholderProductGridItemClass: \"\",\n placeholderProductPerRow: 3,\n loadProductFromLiquid: !1,\n loadProductFromLiquidType: \"ajax\",\n otpProductItemClass: \"\",\n enableAjaxCart: !1,\n enableAjaxCartOnProductPage: !1,\n ajaxCartStyle: \"slide\",\n showAjaxCartOnAdd: !0,\n autoCloseMiniCart: !1,\n autoCloseMiniCartDuration: 2e3,\n selectOptionInProductItem: !1,\n selectOptionContainer: \"\",\n enableTrackingOrderRevenue: !0,\n enableSeo: !0,\n boostCollection: \"boost-all\",\n moneyFormatWithCurrency: !1\n },\n search: {\n enableSearch: !0,\n enableSuggestion: !0,\n suggestionBlocks: [{\n type: \"suggestions\",\n label: \"Suggestions\",\n status: \"active\",\n number: 3\n }, {\n type: \"collections\",\n label: \"Collections\",\n status: \"active\",\n number: 2\n }, {\n type: \"pages\",\n label: \"Pages\",\n status: \"active\",\n number: 2\n }, {\n type: \"products\",\n label: \"Products\",\n status: \"active\",\n number: 6\n }],\n suggesionMaxItems: 10,\n suggestionDymLimit: 2,\n suggestionMinLength: 1,\n suggestionPosition: \"\",\n suggestionDelay: 200,\n suggestionWidth: \"auto\",\n suggestionTypes: [],\n suggestionStyle: \"style2\",\n suggestionColumn: \"1\",\n suggestionProductPosition: \"none\",\n suggestionProductItemPerRow: \"1\",\n suggestionProductItemType: \"list\",\n suggestionMaxHeight: 657,\n suggestionStyle2MainContainerSelector: \"body\",\n suggestionStyle1ProductItemType: \"list\",\n suggestionStyle1ProductPosition: \"none\",\n suggestionStyle1ProductPerRow: \"1\",\n suggestionStyle2ProductItemType: \"list\",\n suggestionStyle2ProductPosition: \"right\",\n suggestionStyle2ProductPerRow: 2,\n suggestionStyle2Column: \"2-non-fullwidth\",\n suggestionStyle3ProductItemType: \"list\",\n suggestionStyle3ProductPosition: \"right\",\n suggestionStyle3ProductPerRow: 3,\n suggestionMobileStyle: \"style1\",\n showSuggestionLoading: !0,\n showSuggestionProductVendor: !0,\n showSuggestionProductPrice: !0,\n showSuggestionProductSalePrice: !0,\n showSuggestionProductImage: !0,\n showSuggestionProductSku: !1,\n showSearchBtnMobile: !1,\n enableDefaultResult: !0,\n enableFuzzy: !0,\n productAvailable: !1,\n removePriceDecimal: !1,\n highlightSuggestionResult: !0,\n openProductNewTab: !1,\n suggestionMode: \"prod\",\n termKey: \"q\",\n skipFields: [],\n reduceMinMatch: !1,\n fullMinMatch: !1,\n enablePlusCharacterSearch: !1,\n fontSizeSuggestionHeader: \"\",\n bgSuggestionHeader: \"\",\n colorSuggestionHeader: \"\",\n enableFixHeadTitle: !0,\n searchPanelList: [\"products\", \"collections\", \"pages\"],\n searchPanelDefault: \"products\",\n searchPanelBlocks: {\n products: {\n label: \"Products\",\n pageSize: 25,\n active: !0\n },\n collections: {\n label: \"Collections\",\n pageSize: 25,\n active: !1\n },\n pages: {\n label: \"Pages\",\n pageSize: 25,\n active: !1\n }\n },\n suggestionNoResult: {\n search_terms: {\n label: '\"Popular suggestions',\n status: !0,\n data: []\n },\n products: {\n label: \"Products\",\n status: !0,\n data: []\n }\n },\n searchBoxOnclick: {\n recentSearch: {\n label: \"Recent searches\",\n status: !1,\n number: 3\n },\n searchTermSuggestion: {\n label: \"Popular searches\",\n status: !1,\n data: []\n },\n productSuggestion: {\n label: \"Trending products\",\n status: !1,\n data: []\n }\n }\n },\n init: function() {\n var c = h;\n if (typeof boostPFSConfig != \"undefined\" && boostPFSConfig.hasOwnProperty(\"settings\") && boostPFSConfig.settings !== null && (c = N.a.mergeObject(c, boostPFSConfig.settings)),\n typeof boostPFSAppConfig != \"undefined\" && Object.keys(boostPFSAppConfig).length > 0 && (c = N.a.mergeObject(c, boostPFSAppConfig)),\n typeof boostPFSThemeConfig != \"undefined\" && Object.keys(boostPFSThemeConfig).length > 0 && (c = N.a.mergeObject(c, boostPFSThemeConfig)),\n typeof boostPFSFilterConfig != \"undefined\" && Object.keys(boostPFSFilterConfig).length > 0 && (c = N.a.mergeObject(c, boostPFSFilterConfig)),\n typeof boostPFSInstantSearchConfig != \"undefined\" && Object.keys(boostPFSInstantSearchConfig).length > 0 && (c = N.a.mergeObject(c, boostPFSInstantSearchConfig)),\n typeof Shopify != \"undefined\" && Shopify.hasOwnProperty(\"locale\") && c.hasOwnProperty(\"label\") && c.hasOwnProperty(\"labelTranslations\") && c.labelTranslations !== void 0 && c.labelTranslations.hasOwnProperty(Shopify.locale)) {\n var g = c.labelTranslations[Shopify.locale];\n c.label = N.a.mergeObject(c.label || {}, g)\n }\n h = c\n },\n getSettingValue: function(c) {\n var g = \"\";\n if (h.hasOwnProperty(c))\n return h[c];\n if (c.indexOf(\".\") > -1)\n for (var f = c.split(\".\"), P = 0; P < f.length; P++)\n if (g == \"\") {\n if (!h.hasOwnProperty(f[P]))\n return \"\";\n g = h[f[P]]\n } else {\n if (!g.hasOwnProperty(f[P]))\n return \"\";\n g = g[f[P]]\n }\n return g\n }\n };\n z.a = h\n },\n 1: function(J, z, l) {\n \"use strict\";\n l(14),\n l(15),\n l(16),\n l(36),\n l(23),\n l(39),\n l(30),\n l(10),\n l(62),\n l(91),\n l(92),\n l(76),\n l(77),\n l(106),\n l(165),\n l(43),\n l(11),\n l(93),\n l(167),\n l(21),\n l(42),\n l(44),\n l(13),\n l(144),\n l(22),\n l(53),\n l(38),\n l(20),\n l(12);\n var N = l(2)\n , h = l.n(N)\n , c = l(0)\n , g = l(3)\n , f = {\n isFullWidthMobile: function() {\n return E.isMobile() && c.a.getSettingValue(\"search.suggestionMobileStyle\") == \"style1\"\n },\n isStyle2: function() {\n return !E.isMobile() && c.a.getSettingValue(\"search.suggestionStyle\") === \"style2\"\n }\n }\n , P = {\n checkExistFilterOptionParam: function() {\n for (var p in Globals.queryParams)\n if (p.indexOf(\"pf_\") > -1)\n return !0;\n return !1\n },\n encodeURIParamValue: function(p) {\n return encodeURIComponent(p).replace(/&/g, \"%26\").replace(/'/g, \"%27\").replace(/\\*/g, \"%2A\")\n }\n }\n , H = (l(109),\n l(8));\n function b(p) {\n return (b = typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\" ? function(m) {\n return typeof m\n }\n : function(m) {\n return m && typeof Symbol == \"function\" && m.constructor === Symbol && m !== Symbol.prototype ? \"symbol\" : typeof m\n }\n )(p)\n }\n var $ = function() {\n return c.a.getSettingValue(\"general.paginationTypeAdvanced\")\n }\n , V = function() {\n return c.a.getSettingValue(\"general.paginationType\") == \"load_more\"\n }\n , x = function() {\n return c.a.getSettingValue(\"general.paginationType\") == \"infinite\"\n }\n , w = {\n getSortingList: function() {\n var p = c.a.getSettingValue(\"general.sortingList\")\n , m = c.a.getSettingValue(\"general.customSortingList\");\n if (m != \"\")\n for (var d = (p = m.trim().split(\"|\")).length - 1; d >= 0; d--)\n p[d] == \"\" && p.splice(d, 1);\n var v = c.a.getSettingValue(\"general.extraSortingList\");\n if (v && (p = p.concat(v.split(\"|\"))),\n E.isSearchPage()) {\n var O = E.findIndexArray(\"manual\", p);\n O >= 0 && p.splice(O, 1)\n } else {\n var R = E.findIndexArray(\"relevance\", p);\n R >= 0 && p.splice(R, 1)\n }\n for (var U = {}, G = 0; G < p.length; G++) {\n var K = H.a.sortingList[p[G]];\n if (v.length > 0 && v.indexOf(p[G]) > -1) {\n var Y = p[G].replace(/-/g, \"_\");\n K = H.a[Y]\n }\n if (U[p[G]] = K,\n H.a.sortByOptions) {\n var te = H.a.sortByOptions[p[G]];\n te && te.length > 0 && (U[p[G]] = te)\n }\n }\n return U\n },\n getDefaultSorting: function(p) {\n var m = c.a.getSettingValue(\"default_sort_order\")\n , d = \"\";\n return b(m) == \"object\" && p !== void 0 && ((d = m[p = p.toString()]) || (d = p == \"search\" ? \"relevance\" : m.all)),\n d\n },\n getProductMetafield: function(p, m, d) {\n if (p.hasOwnProperty(\"metafields\")) {\n var v = p.metafields.filter(function(O) {\n return O.namespace == m && O.key == d\n });\n if (v[0] !== void 0)\n return v[0].value\n }\n return null \n },\n isAdvancedPaginationType: $,\n buildProductItemUrl: function(p, m) {\n var d = E.getWindowLocation().search.substring(1)\n , v = window.location.pathname\n , O = v.split(\"/\")\n , R = b(p) === \"object\" && p.hasOwnProperty(\"handle\") ? p.handle : p;\n if (m = m !== void 0 ? m : c.a.getSettingValue(\"general.addCollectionToProductUrl\")) {\n if (v == \"/\" || E.isSearchPage() || E.isVendorPage() || E.isTypePage())\n return (U = O.indexOf(boostPFSAppConfig.general.current_locale) > -1 ? \"/\" + boostPFSAppConfig.general.current_locale + \"/collections/all/products/\" : \"/collections/all/products/\") + R;\n if (E.isTagPage()) {\n var U = O.indexOf(boostPFSAppConfig.general.current_locale) > -1 ? \"/\" + boostPFSAppConfig.general.current_locale + \"/collections/\" : \"/collections/\"\n , G = O.indexOf(\"collections\") + 1;\n return O.length >= 4 ? U + O[G] + \"/products/\" + R : \"/collections/all/products/\" + R\n }\n if (d.indexOf(\"cache:\") > -1) {\n var K = \"all\"\n , Y = d.split(\"&\")[0].split(\"?\")[0].split(\"collections/\");\n return Y.length > 1 && (K = Y[1].indexOf(\"/\") > -1 ? Y[1].split(\"/\")[0] : Y[1]),\n \"/collections/\" + (K = K.replace(/[`~!@#$%^&*()_|+\\=?;:'\",.<>\\{\\}\\[\\]\\\\\\/]/g, \"\")) + \"/products/\" + R\n }\n return G = O.indexOf(\"collections\") + 1,\n U = O.indexOf(boostPFSAppConfig.general.current_locale) > -1 ? \"/\" + boostPFSAppConfig.general.current_locale + \"/collections/\" : \"/collections/\",\n O[2] !== void 0 ? U + O[G] + \"/products/\" + R : window.location.pathname + \"/products/\" + R\n }\n return O.indexOf(boostPFSAppConfig.general.current_locale) > -1 ? \"/\" + boostPFSAppConfig.general.current_locale + \"/products/\" + R : \"/products/\" + R\n },\n buildProductItemVendorUrl: function(p) {\n return window.location.protocol + \"//\" + window.location.hostname + \"/collections/vendors?q=\" + P.encodeURIParamValue(p)\n },\n removePageParamFromUrl: function(p) {\n return g.a.queryParams.hasOwnProperty(\"page\") && (p = p.replace(\"&page=\" + g.a.queryParams.page, \"\").replace(\"?page=\" + g.a.queryParams.page + \"&\", \"?\").replace(\"?page=\" + g.a.queryParams.page, \"\")),\n p\n },\n removeCollectionScopeParamFromUrl: function(p) {\n return g.a.queryParams.hasOwnProperty(\"collection_scope\") && (p = p.replace(\"&collection_scope=\" + g.a.queryParams.collection_scope, \"\")),\n p\n },\n buildToolbarLink: function(p, m, d) {\n var v = window.location.origin + window.location.pathname;\n switch (p) {\n case \"page\":\n case \"limit\":\n case \"sort\":\n case \"display\":\n if (p == \"page\" && d == 1)\n break;\n v += \"?\" + p + \"=\" + d\n }\n return v\n },\n isDefaultPaginationType: function() {\n return c.a.getSettingValue(\"general.paginationType\") == \"default\"\n },\n isLoadMorePaginationType: V,\n isInfiniteLoadingPaginationType: x,\n isLoadPreviousPagePaginationType: function() {\n return (V() || x()) && $() && c.a.getSettingValue(\"general.activeLoadPreviousPage\")\n },\n isNoFilterResult: function(p, m) {\n return p <= 0 && !(m === \"init\" && c.a.getSettingValue(\"general.productAndVariantAvailable\") && c.a.getSettingValue(\"general.availableAfterFiltering\"))\n },\n compileShopifyProductVariables: function(p, m) {\n return m = (m = (m = (m = (m = (m = (m = (m = (m = (m = (m = (m = (m = (m = (m = (m = (m = m.replace(/{{product.title}}/g, p.title)).replace(/{{product.vendor}}/g, p.vendor)).replace(/{{product.url}}/g, E.buildProductItemUrl(p))).replace(/{{product.available}}/g, p.available)).replace(/{{product.compare_at_price}}/g, E.formatMoney(p.compare_at_price_min))).replace(/{{product.compare_at_price_min}}/g, E.formatMoney(p.compare_at_price_min))).replace(/{{product.compare_at_price_max}}/g, E.formatMoney(p.compare_at_price_max))).replace(/{{product.description}}/g, p.body_html !== void 0 && p.body_html != null ? p.body_html : \"\")).replace(/{{product.handle}}/g, p.handle)).replace(/{{product.id}}/g, p.id)).replace(/{{product.price}}/g, E.formatMoney(p.price_min))).replace(/{{product.price_max}}/g, E.formatMoney(p.price_max))).replace(/{{product.price_min}}/g, E.formatMoney(p.price_min))).replace(/{{product.template_suffix}}/g, p.template_suffix !== void 0 && p.template_suffix != null ? p.template_suffix : \"\")).replace(/{{product.percent_sale_min}}/g, p.percent_sale_min > 0 ? p.percent_sale_min : \"\")).replace(/{{product.type}}/g, p.product_type)).replace(/{{product.sku}}/g, p.skus !== void 0 && p.skus != null && p.skus.length > 0 ? p.skus[0] : \"\")\n },\n compileShopifyProductMetafield: function(p, m) {\n if (m.indexOf(\"product.metafields\") != -1) {\n var d = m.match(/\\{\\{product.metafields(.*?)\\}\\}/g)\n , v = 0\n , O = \"\"\n , R = \"\"\n , U = \"\"\n , G = \"\";\n if (d.length > 0) {\n v = d.length;\n for (var K = 0; K < v; K++)\n (R = d[K].replace(/\\{\\{/g, \"\").replace(/\\}\\}/g, \"\").split(\".\")).length == 4 && (O = R[2],\n U = R[3],\n G = E.getProductMetafield(p, O, U) || \"\",\n m = replaceAllFix(m, d[K], G))\n }\n }\n return m\n }\n };\n \n function _(p) {\n return (_ = typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\" ? function(m) {\n return typeof m\n }\n : function(m) {\n return m && typeof Symbol == \"function\" && m.constructor === Symbol && m !== Symbol.prototype ? \"symbol\" : typeof m\n }\n )(p)\n }\n var I = function(p, m) {\n p || (p = boostPFSConfig.general.no_image_url),\n m = m !== void 0 ? m : \"large\";\n for (var d = c.a.getSettingValue(\"general.imageExtension\"), v = 0; v < d.length; v++)\n p = p.replace(\".\" + d[v] + \"?\", \"_\" + m + \".\" + d[v] + \"?\");\n return p\n }\n , j = function() {\n return h()(\"
\" + boostPFSConfig.shop.money_format + \"
\").text().replace(/{{[^}]*}}/g, \"\")\n }\n , k = null \n , C = function() {\n return A.getWindowLocation().href.includes(\"webcache.googleusercontent.com\") ? A.getWindowLocation().search.indexOf(\"search?\") > -1 : window.location.pathname.indexOf(\"/search\") > -1\n }\n , S = function(p, m) {\n m || (m = A.getWindowLocation().href),\n p = p.replace(/[\\[\\]]/g, \"\\\\$&\");\n var d = new RegExp(\"[?&]\" + p + \"(=([^]*)|&|#|$)\").exec(m);\n return d ? d[2] ? decodeURIComponent(d[2].replace(/\\+/g, \" \")) : \"\" : null \n }\n , D = function(p, m, d, v) {\n if (d != null ) {\n for (var O = 0; O < m.length; O++)\n if (v !== void 0 && v == 0 && (m[O][d] = m[O][d].toLowerCase(),\n p = p.toLowerCase()),\n m[O][d] == p)\n return O\n } else\n for (O = 0; O < m.length; O++)\n if (v !== void 0 && v == 0 && (m[O] = m[O].toLowerCase(),\n p = p.toLowerCase()),\n m[O] == p)\n return O;\n return -1\n }\n , L = function(p) {\n if (p && typeof p == \"string\") {\n var m = p.replace(/<.*?>/g, \"\");\n return m = m.replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\").replace(/"/g, '\"').replace(/'/g, \"'\").replace(/$/g, \"$\").replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(/\\$/g, \"$\"),\n m\n }\n return \"\"\n }\n , A = {\n escape: function(p, m) {\n return m = m ? \" \" : \"\\n\",\n (\"\" + p).replace(/&/g, \"&\").replace(/'/g, \"'\").replace(/\"/g, \""\").replace(//g, \">\").replace(/\\r\\n/g, m).replace(/[\\r\\n]/g, m)\n },\n unescape: function(p) {\n return (\"\" + p).replace(/&/g, \"&\").replace(/'/g, \"'\").replace(/"/g, '\"').replace(/</g, \"<\").replace(/>/g, \">\")\n },\n findIndexArray: D,\n getParam: S,\n getSearchTerm: function() {\n return S(g.a.searchTermKey)\n },\n getValueInObjectArray: function(p, m, d, v) {\n d === void 0 && (d = \"key\"),\n v === void 0 && (v = \"values\");\n var O = D(p, m, d);\n return O > -1 && m[O].hasOwnProperty(v) ? m[O][v] : \"\"\n },\n getFilePath: function(p, m, d) {\n m = m !== void 0 ? m : \"png\",\n d = d !== void 0 ? d : \"\";\n var v = g.a.fileUrl.split(\"?\")[0];\n return v += p + \".\" + m + (d ? \"?v=\" + d : \"\")\n },\n getNumberDecimals: function(p) {\n var m = p.toString().split(\".\");\n return m.length > 1 ? m[1].length : 0\n },\n isMobile: function() {\n return k || (k = h()(window).width(),\n h()(window).on(\"resize\", function() {\n k = h()(window).width()\n })),\n k <= c.a.getSettingValue(\"general.breakpointMobile\")\n },\n isMobileDevice: function() {\n return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)\n },\n isTablet: function() {\n return k || (k = h()(window).width(),\n h()(window).on(\"resize\", function() {\n k = h()(window).width()\n })),\n k <= c.a.getSettingValue(\"general.breakpointTablet\") && k > c.a.getSettingValue(\"general.breakpointMobile\")\n },\n isiOS: function() {\n return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream\n },\n isSafari: function() {\n return /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent)\n },\n isBackButton: function() {\n return window.performance && window.performance.navigation && window.performance.navigation.type == 2\n },\n isCartPage: function() {\n return window.location.pathname.indexOf(\"/cart\") > -1\n },\n isProductPage: function() {\n return window.location.pathname.indexOf(\"/products\") > -1\n },\n isCollectionPage: function() {\n return window.location.pathname.indexOf(\"/collections\") > -1 && window.location.pathname.indexOf(\"/products\") == -1\n },\n isSearchPage: C,\n isVendorPage: function() {\n return window.location.pathname.indexOf(\"/collections/vendors\") > -1\n },\n isTagPage: function() {\n return g.a.currentTags !== void 0 && g.a.currentTags !== null && g.a.currentTags.length > 0\n },\n isTypePage: function() {\n return window.location.pathname.indexOf(\"/collections/types\") > -1\n },\n isGLHMobile: function() {\n return navigator && navigator.userAgent && navigator.userAgent.includes(atob(\"TGlnaHRob3VzZQ==\")) && A.isMobile() && !A.isSearchPage()\n },\n mergeObject: function p(m, d) {\n for (var v in d)\n try {\n m[v] = d[v].constructor == Object ? p(m[v], d[v]) : d[v]\n } catch (O) {\n m[v] = d[v]\n }\n return m\n },\n optimizeImage: I,\n getFeaturedImage: function(p, m) {\n m = m !== void 0 ? m : \"large\";\n var d = I(boostPFSConfig.general.no_image_url, m);\n return p.length > 0 && (d = _(p[0]) === \"object\" ? I(p[0].src, m) : I(p[0], m)),\n d\n },\n slugify: function(p) {\n if (p == null || _(p) == \"object\")\n return \"\";\n if (typeof p != \"string\") {\n if (typeof p.toString != \"function\")\n return \"\";\n p = p.toString()\n }\n p = p.toLowerCase();\n for (var m = \"\\xE0\\xE1\\xE4\\xE2\\xE3\\xE8\\xE9\\xEB\\xEA\\u1EBD\\xEC\\xED\\xEF\\xEE\\u0129\\xF2\\xF3\\xF6\\xF4\\xF5\\xF9\\xFA\\xFC\\xFB\\u0169\\xF1\\xE7\\xB7/_,:;\", d = 0, v = m.length; d < v; d++)\n p = p.replace(new RegExp(m.charAt(d),\"g\"), \"aaaaaeeeeeiiiiiooooouuuuunc--_---\".charAt(d));\n for (var O = 32, R = 0; R < O; R++)\n p = p.replace(new RegExp(\"\\xC1\\xE1\\xC4\\xE4\\u010C\\u010D\\u010E\\u010F\\xC9\\xE9\\u011B\\xCD\\xED\\u0147\\u0148\\xD3\\xF3\\xD6\\xF6\\u0158\\u0159\\u0160\\u0161\\u0164\\u0165\\xDA\\xFA\\u016F\\xDD\\xFD\\u017D\\u017E\".charAt(R),\"g\"), \"AaAaCcDdEeeIiNnOoOoRrSsTtUuuYyZz\".charAt(R));\n for (var U = [\"AE\", \"ae\", \"O\", \"o\", \"A\", \"a\"], G = 6, K = 0; K < G; K++)\n p = p.replace(new RegExp(\"\\xC6\\xE6\\xD8\\xF8\\xC5\\xE5\".charAt(K),\"g\"), U[K]);\n return (p = p.replace(/'/g, \"\").replace(/\"/g, \"\")).replace(/[\\s\\/]+/g, \"-\").replace(/[`~!@#$%^&*()|+\\-=?;:'\",.<>\\{\\}\\[\\]\\\\\\/]/g, \"-\").replace(/\\-\\-+/g, \"-\").replace(/^-+/, \"\").replace(/-+$/, \"\")\n },\n capitalize: function(p, m, d) {\n return d = d !== void 0 && d,\n (m = m !== void 0 && m) && (p = p.toLowerCase()),\n d ? p.charAt(0).toUpperCase() + p.slice(1) : p.replace(/(?:^|\\s)\\S/g, function(v) {\n return v.toUpperCase()\n })\n },\n textify: function(p, m) {\n m = m !== void 0 ? m : \"-\";\n for (var d = p.split(m), v = \"\", O = 0; O < d.length; O++)\n v += d[O].charAt(0).toUpperCase() + d[O].slice(1),\n O < d.length - 1 && (v += \" \");\n return v\n },\n stripHtml: L,\n stripScriptTag: function(p) {\n if (p)\n return p.replace(/