PageSourceSearch

https://www.prairiemoon.com/mm5/themes/genesis/branches/production…/dist/2170.ec353353a335e3688012.chunk.js

js prairiemoon.com collected 2026-09-24 09:00:43 UTC 1,712 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_mvps_genesis_quickstart_theme=self.webpackChunk_mvps_genesis_quickstart_theme||[]).push([[2170],{2170:(e,t,s)=>{s.d(t,{AddressEvents:()=>l});class l{constructor(e,t){this.datalistElements=e,this.toggleElements=t,this.shippingSelector=document.getElementById("shipping_selector"),this.billingSelector=document.getElementById("billing_selector"),this.init()}init(){for(const e of this.datalistElements)e.addEventListener("blur",(()=>this.setValue(e)));for(const e of this.toggleElements)e.addEventListener("click",(()=>this.toggleElement(e)));this.shippingSelector&&this.shippingSelector.addEventListener("change",(()=>this.toggleAllElements())),this.billingSelector&&this.billingSelector.addEventListener("change",(()=>this.toggleAllElements()))}setValue(e){const t=e.getAttribute("list"),s=this.checkOption(e.value,t);s&&(e.value=s)}checkOption(e,t){const s=document.getElementById(t);if(!s)return!1;const l=s.getElementsByTagName("option");let n="";for(let t=0,s=l.length;t<s;t++){const s=l[t];e.toLowerCase()!==s.value.toLowerCase()&&e.toLowerCase()!==s.text.toLowerCase()||(n=s.value)}return n}toggleElement(e){const t=e.getAttribute("data-address-toggle"),s=document.getElementById(t);if(s){s.classList.remove("u-hidden");const e=s.querySelector("input");e&&e.focus()}e.style.display="none"}toggleAllElements(){for(const e of this.toggleElements){const t=e.getAttribute("data-address-toggle"),s=document.getElementById(t);if(!s)return;const l=s.querySelector("input");if(!l)return;l.value?(s.classList.remove("u-hidden"),e.style.display="none"):(s.classList.add("u-hidden"),e.style.removeProperty("display"))}}}}}]);
2//# sourceMappingURL=2170.ec353353a335e3688012.chunk.js.map

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.