https://www.luluandgeorgia.com/cdn/shop/t/223/assets/algolia_init.js?v=77375161753952131081789425234
1(function(algolia){"use strict";algolia.config.powered_by&&console.log(`You're using Algolia ! 2Visit https://www.algolia.com/ for more insight about what we do.`),algolia.base_url=window.location.origin,algolia.storeName=window.location.hostname.replace(/^www\./,"").replace(/^([^.]*)\..*$/,"$1"),algolia.maxHits=1e3,algolia.queryThreshold=3,algolia.full_results=!!window.location.href.match(/\/search/),algolia.is_collection_results_page=!!window.location.pathname.match(/(^\/\w{2}\/|^\/|^\/\w{2}-\w{2}\/)collections\/(?!all$)([^/]+)[/]*$/);var collectionPageEnabled=algolia.is_collection_results_page&&algolia.config.instant_search_enabled_on_collection,results_selector=collectionPageEnabled?algolia.config.collection_css_selector:algolia.config.results_selector;results_selector+=", .algolia-shopify-instantsearch",(algolia.full_results&&algolia.config.instant_search_enabled||collectionPageEnabled)&&(algolia.contentHide=new DOMParser().parseFromString("<style>"+results_selector+" { visibility: hidden }</style>","text/html").head.firstElementChild,document.head.append(algolia.contentHide)),algolia.getTemplate=function(name){var el=document.getElementById("template_algolia_"+name);return el?el.innerHTML:""};var current_collection_id_string=algolia.getTemplate("current_collection_id").replace(/^\s+|\s+$/g,"");if(current_collection_id_string)try{var current_collection_id_object=JSON.parse(current_collection_id_string);algolia.current_collection_id=current_collection_id_object.currentCollectionID}catch{}algolia.appendStyle=function(content){var scripts=document.getElementsByTagName("script"),currentScript=scripts[scripts.length-1],style=document.createElement("style");style.innerHTML=content,currentScript.parentNode.insertBefore(style,currentScript.nextSibling)},algolia.assign=function(to){for(var i=1;i<arguments.length;i++){var nextSource=arguments[i];for(var nextKey in nextSource)Object.prototype.hasOwnProperty.call(nextSource,nextKey)&&(to[nextKey]=nextSource[nextKey])}return to},algolia.addCents=function(price){return price*100},algolia.money_format=algolia.getTemplate("money_format").replace(/^\s+|\s+$/g,""),algolia.formatMoney=function(cents){var priceInCents=cents,val=(priceInCents/100).toLocaleString("en",{minimumFractionDigits:2,maximumFractionDigits:2}),format=algolia.money_format,regexp=/^([^{}]*)\{\{amount\}\}([^{}]*)$/;if(format.match(regexp))return format.replace(regexp,"$1"+val+"$2");if(regexp=/^([^{}]*)\{\{amount_with_comma_separator\}\}([^{}]*)$/,format.match(regexp)){var money=val.replace(/[.]/,"|");return money=money.replace(/[,]/,"."),money=money.replace(/[|]/,","),format.replace(regexp,"$1"+money+"$2")}return window.Shopify&&window.Shopify.formatMoney?window.Shopify.formatMoney(priceInCents,format):"$"+val},algolia.formatPrice=function(value){return algolia.formatMoney(Number(value)*100).replace(".00","")},algolia.getDistinctKey=function(currentHit){let distinctKey=currentHit.meta?.search?.distinct_key,hasMultipleVariants=currentHit.variants_count>1;return distinctKey&&!hasMultipleVariants?(console.warn(`Algolia - Distinct group of 1 for ${currentHit.title}. Displaying single default price for this product`),!1):distinctKey&&hasMultipleVariants&&(distinctKey.toString().includes("_")||currentHit.meta?.search?.on_sale==!0)?distinctKey.toString():!1},algolia.changeDistinctPrices=function(hits,distinctProducts,container){if(hits.length===0){console.warn("The metafield distinct_key is not in attributesForFaceting in the Algolia Dashboard. Displaying default prices for all products");return}else hits.length===1e3&&console.warn("Returned limits reaches capacity of 1k. Some distinct product prices might not be updated.");let productCards=document.querySelector(`.${container}-product-hits`);distinctProducts.forEach(product=>{let defaultPricesContainer=productCards.querySelector('[data-variant-id="'+product.objectID+'"] .defaultPrice'),distinctPricesContainer=productCards.querySelector('[data-variant-id="'+product.objectID+'"] .distinctPrice'),distinctCurrentPrice=distinctPricesContainer.querySelector(".algolia-current-price"),distinctStrikedPrice=distinctPricesContainer.querySelector(".algolia-striked-price"),distinctKey=product.meta?.search?.distinct_key;if(distinctCurrentPrice&&distinctKey){let variants=hits.filter(hit=>hit.meta?.search?.distinct_key===distinctKey),originalPrice=[],currentPrice
2=[];if(variants.length===0){console.warn(`No returned hits from Algolia additional query for product ${product.title}`);return}if(variants.length>1){variants.forEach(variant=>{currentPrice.push(variant.price),variant.compare_at_price?originalPrice.push(variant.compare_at_price):originalPrice.push(variant.price)});let currentPriceMin=Math.min(...currentPrice),currentPriceMax=Math.max(...currentPrice),updatedCurrentPrice=currentPriceMin===currentPriceMax?algolia.formatPrice(currentPriceMax):algolia.formatPrice(currentPriceMin)+" - "+algolia.formatPrice(currentPriceMax);distinctCurrentPrice.innerHTML=updatedCurrentPrice;let isOnSale=product.meta?.search?.on_sale===!0;if(distinctStrikedPrice&&isOnSale){let originalPriceMin=Math.min(...originalPrice),originalPriceMax=Math.max(...originalPrice);distinctStrikedPrice.innerHTML=originalPriceMin===originalPriceMax?algolia.formatPrice(originalPriceMax):algolia.formatPrice(originalPriceMin)+" - "+algolia.formatPrice(originalPriceMax)}defaultPricesContainer.classList.add("hidden"),distinctPricesContainer.classList.remove("hidden")}else console.warn(`Algolia - Distinct group of 1 for ${product.title}. Displaying single default price for this product`),distinctPricesContainer.classList.add("hidden"),defaultPricesContainer.classList.remove("hidden")}})},algolia.getDistinctProductData=function(hits){const distinctKeys=[],distinctProducts=[];return hits.forEach(hit=>{let distinctKey=algolia.getDistinctKey(hit);distinctKey&&(distinctProducts.push(hit),distinctKeys.push(`meta.search.distinct_key:"${distinctKey.replace(/"/g,'\\"')}"`))}),{distinctProducts,distinctKeys}},algolia.updateDistinctPrices=function(originalHits,index,container){}})(window.algoliaShopify); 3//# sourceMappingURL=/cdn/shop/t/223/assets/algolia_init.js.map?v=77375161753952131081789425234
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.