PageSourceSearch

https://www.stillgoode.com/cdn/shop/t/14/assets/localization-form-…?v=149474749463920235281782253645

js stillgoode.com collected 2026-10-03 22:22:35 UTC 1,800 bytes, 2 lines download raw bytes

1(()=>{var isDefined=customElements.get("localization-form");if(!isDefined){class LocalizationForm extends HTMLElement{constructor(){super(),this.thing=0,this.isPanelOpen=!1,this.elements={input:this.querySelector('input[name="language_code"],input[name="country_code"]'),button:this.querySelector("button"),panel:this.querySelector("ul")},this.elements.button.addEventListener("click",this.togglePanel.bind(this)),this.elements.button.addEventListener("focusout",this.handleFocusOut.bind(this)),this.elements.panel.addEventListener("focusout",this.handleFocusOut.bind(this)),document.addEventListener("mousedown",this.handleDocumentClick.bind(this)),this.addEventListener("keyup",this.onContainerKeyUp.bind(this)),this.querySelectorAll("a").forEach(item=>item.addEventListener("click",this.onItemClick.bind(this)))}handleDocumentClick(event){this.contains(event.target)||this.hidePanel()}handleFocusOut(event){this.contains(event.relatedTarget)||this.hidePanel()}hidePanel(){this.isPanelOpen=!1,this.elements.button.setAttribute("aria-expanded","false"),this.elements.panel.setAttribute("hidden",!0)}showPanel(){this.isPanelOpen=!0,this.elements.button.setAttribute("aria-expanded","true"),this.elements.panel.removeAttribute("hidden")}togglePanel(event){event.preventDefault(),event.stopPropagation(),this.isPanelOpen?this.hidePanel():this.showPanel()}onContainerKeyUp(event){event.code.toUpperCase()==="ESCAPE"&&(this.hidePanel(),this.elements.button.focus())}onItemClick(event){event.preventDefault();const form=this.querySelector("form");this.elements.input.value=event.currentTarget.dataset.value,form&&form.submit()}}customElements.define("localization-form",LocalizationForm)}})();
2//# sourceMappingURL=/cdn/shop/t/14/assets/localization-form-component.js.map?v=149474749463920235281782253645

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.