PageSourceSearch

https://howtostartanllc.com/_astro/StateGuideSelector.astro_astro_type_script_index_0_lang.yX6z0ToU.js

js howtostartanllc.com collected 2026-10-02 02:25:14 UTC 702 bytes, 1 lines download raw bytes

1import{s}from"./google-analytics.CYbw_1Kv.js";function l(e){if(e.dataset.stateSelectorInitialized==="true")return;e.dataset.stateSelectorInitialized="true";const t=e.querySelector("select[name='state']"),a=e.querySelector("button[type='submit']");!t||!a||(t.value="",a.disabled=!0,t.addEventListener("change",()=>{a.disabled=t.value===""}),e.addEventListener("submit",i=>{if(i.preventDefault(),!t.value)return;const n=t.selectedOptions[0];s("state_guide_selected",{destination_path:t.value,placement:e.dataset.placement||"homepage",state:n?.dataset.stateAbbreviation||n?.textContent||""}),window.location.assign(t.value)}))}for(const e of document.querySelectorAll("[data-state-guide-selector]"))l(e);

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.