1import{$ as e}from"./jquery-vite-HBvTTBcJ.js";import"./_commonjsHelpers-vite-BosuxZz1.js";function n(){let s=e("#AddressNewForm");s.length&&(window.Shopify.CountryProvinceSelector&&new window.Shopify.CountryProvinceSelector("AddressCountryNew","AddressProvinceNew",{hideElement:"AddressProvinceContainerNew"}),e(".address-country-option").each(function(){let d=e(this).data("form-id"),t="AddressCountry_"+d,o="AddressProvince_"+d,r="AddressProvinceContainer_"+d;new window.Shopify.CountryProvinceSelector(t,o,{hideElement:r})}),e(".address-new-toggle").on("click",function(){e(".address-new-toggle-add").toggleClass("hide"),s.toggleClass("hide")}),e(".address-edit-toggle").on("click",function(){let d=e(this).data("form-id"),t=e(".js-content[data-key='addresses']");e("#EditAddress_"+d).toggleClass("hide"),t.toggleClass("active")}),e(".address-delete").on("click",function(){let d=e(this),t=d.data("form-id"),o=d.data("confirm-message");confirm(o||"Are you sure you wish to delete this address?")&&window.Shopify.postLink("/account/addresses/"+t,{parameters:{_method:"delete"}})}))}document.addEventListener("readystatechange",()=>{document.readyState==="complete"&&(window.theme.customerAddresses=n())});
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.