PageSourceSearch

https://frankiesbikinis.com/cdn/shop/t/507/compiled_assets/scripts.js?v=2057349236930558081783546936

js frankiesbikinis.com collected 2026-10-03 17:38:17 UTC 4,678 bytes, 2 lines download raw bytes

1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(__sections__.footer)try{class LocalizationForm extends HTMLElement{constructor(){super(),this.elements={input:this.querySelector('input[name="locale_code"], input[name="country_code"]'),button:this.querySelector("button.localization-button"),panel:this.querySelector("ul"),submit:this.querySelector('button[type="submit"]')},this.elements.button.addEventListener("click",this.openSelector.bind(this)),this.elements.button.addEventListener("focusout",this.closeSelector.bind(this)),this.querySelectorAll("a").forEach(item=>item.addEventListener("click",this.onItemClick.bind(this))),this.elements.submit.addEventListener("click",this.submitForm.bind(this))}submitForm(event){event.preventDefault(),this.querySelector("form")?.submit()}onItemClick(event){event.preventDefault(),this.elements.input.value=event.currentTarget.dataset.value}openSelector(event){console.clear(),console.log(event)}closeSelector(event){const shouldClose=event.relatedTarget&&event.relatedTarget.nodeName==="BUTTON";(event.relatedTarget===null||shouldClose)&&(this.elements.button.setAttribute("aria-expanded","false"),this.elements.panel.setAttribute("hidden",!0))}}customElements.define("localization-form",LocalizationForm)}catch(e){console.error(e)}})(),(function(){if(__sections__["main-cart-footer"])try{class CartNote extends HTMLElement{constructor(){super(),this.addEventListener("change",debounce(event=>{const body=JSON.stringify({note:event.target.value});fetch(`${routes.cart_update_url}`,{...fetchConfig(),body})},300))}}customElements.define("cart-note",CartNote)}catch(e){console.error(e)}})(),(function(){if(!(!__sections__["product-bar"]&&!Shopify.designMode))try{window.variantColorHandler=function(){document.querySelectorAll(".product__swatch").forEach(function(element){element.addEventListener("click",function(event){event.preventDefault();let productSwatchColor=element.querySelector(".product__swatch-color");if(productSwatchColor){let dataValue=productSwatchColor.dataset.value,productInfoWrapper=document.querySelector(".product__info-wrapper");if(dataValue&&productInfoWrapper){let colorInputMain=productInfoWrapper.querySelector(`input[name="Color"][data-color-handle="${dataValue}"]`);colorInputMain&&colorInputMain.click();let closestProductSwatches=element.closest(".product__swatches");if(closestProductSwatches){let activeProductSwatchesButtonSticky=closestProductSwatches.querySelector(".product__swatches-button-sticky.active"),activeProductColorSwatchesDropdown=closestProductSwatches.querySelector(".product__color-swatches-dropdown.show");activeProductSwatchesButtonSticky&&activeProductSwatchesButtonSticky.classList.remove("active"),activeProductColorSwatchesDropdown&&activeProductColorSwatchesDropdown.classList.remove("show")}}}})})},window.variantStickyBarHandler=function(){document.querySelectorAll(".product__swatches-button-sticky").forEach(function(button){button.addEventListener("click",function(event){event.preventDefault();const dropdown=button.nextElementSibling;document.querySelectorAll(".product__swatches-dropdown").forEach(function(el){el!==dropdown&&el.classList.remove("show")}),document.querySelectorAll(".product__swatches-button-sticky").forEach(function(btn){btn!==button&&btn.classList.remove("active")}),button.classList.toggle("active"),dropdown.classList.toggle("show")})}),typeof window.variantColorHandler=="function"&&window.variantColorHandler(),document.querySelectorAll('.product__swatches-dropdown input[type="radio"]').forEach(function(radio){radio.addEventListener("click",function(){let currentValue=radio.value;if(currentValue){let matchingVariantInput=document.querySelector(`.product-form__input[data-option="Size"] input[value="${currentValue}"]`);matchingVariantInput&&matchingVariantInput.click()}const group=radio.closest(".product__swatches-dropdown");group.querySelectorAll('.product__swatches-dropdown input[type="radio"]').forEach(function(r){r.checked=!1}
1),radio.checked=!0;const button=group.closest(".product__swatches").querySelector(".product__swatches-button-sticky"),dropdown=group;button.classList.remove("active"),dropdown.classList.remove("show")})})},document.addEventListener("DOMContentLoaded",function(){typeof window.variantStickyBarHandler=="function"&&window.variantStickyBarHandler(),new Headroom(document.querySelector(".product-bar"),{offset:350}).init()})}catch(e){console.error(e)}})()})();
2//# sourceMappingURL=/cdn/shop/t/507/compiled_assets/scripts.js.map?v=2057349236930558081783546936

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.