PageSourceSearch

https://www.diamondculture.com.hk/cdn/shop/t/14/assets/locales-form.js?v=4358674376623527901783072293

js diamondculture.com.hk collected 2026-10-06 11:01:41 UTC 1,262 bytes, 4 lines download raw bytes

1window.Eurus.loadedScript.has("locales-form.js")||(window.Eurus.loadedScript.add("locales-form.js"),requestAnimationFrame(()=>{document.addEventListener("alpine:init",()=>{Alpine.data("xLocalizationForm",()=>({openCountry:!1,loading:!1,cachedResults:!1,submit(value,input){const currentPath=window.location.pathname;if(currentPath==="/en/pages/lab-white-diamonds"||currentPath==="/en/pages/lab-color-diamonds"){if(!window.confirm(`All selections will be reset.
2
3Are you sure to reset filters?`))return!1;localStorage.clear(),sessionStorage.clear()}this.$el.closest("#localization_form").querySelector("#"+input).value=value,this.$el.closest("#localization_form").submit()},loadCountry(el){if(this.cachedResults)return this.openCountry=!0,!0;let optionEL=el.closest(".country-selector").querySelector(".country-options");this.loading=!0,fetch(window.Shopify.routes.root+"?section_id=country-selector").then(reponse=>reponse.text()).then(response=>{const content=new DOMParser().parseFromString(response,"text/html").getElementById("list-country").innerHTML;optionEL.innerHTML=content,this.cachedResults=!0,this.openCountry=!0}).finally(()=>{this.loading=!1})}}))})}));
4//# sourceMappingURL=/cdn/shop/t/14/assets/locales-form.js.map?v=4358674376623527901783072293

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.