PageSourceSearch

https://www.victor-hart.com/cdn/shopifycloud/checkout-web/assets/c1/AddressPresenter.DCZt0CYc.js

js victor-hart.com collected 2026-09-30 15:45:52 UTC 1,281 bytes, 1 lines download raw bytes

1import{_ as f}from"./app.DklQzmA_.js";import{k as p,h as P,q as c,T as b,r as y,u as a,S as N}from"./esnext-vendor.7EcvH7tF.js";import{iW as _,ah as U,a5 as C,l as E}from"./hydrate.DbBIWEk-.js";const S="US";function F(){const[e,u]=p(m);P(()=>{requestIdleCallback(async()=>{u(await T())})},[]);const o=c((t,n,r)=>{const s=h=>t.isSupportedCountry(h);return t.parsePhoneNumber(n,r&&s(r)?r:S)},[]),l=c((t,n)=>{try{if(e==null)return null;const r=o(e,t,n);return r.country==null||!r.isValid()?null:r.format("E.164")||null}catch{return null}},[e,o]),i=c((t,n,r=!1)=>{try{if(e==null)return!0;const s=o(e,t,n);return s.country==null||r&&!t.startsWith(`+${e.getCountryCallingCode(s.country)}`)?!1:s.isValid()}catch{return!1}},[e,o]);return{isPhoneNumberUtilLoaded:b(()=>!!e,[e]),validatePhoneNumber:i,formatPhoneNumber:l}}let m=null;async function T(){return m=await y(()=>f(()=>import("./min-phone-number-library.CH-xVS8e.js").then(u=>u.q),[])),m}function V({address:e,hiddenFields:u=[],multiline:o,textColor:l,textSize:i}){const d=_(e,{hiddenFields:u,countryFormat:"explicit"});if(d==null)return a(U,{});const t=o?a("br",{}):", ";return a(E,{type:"address",size:i,color:l,children:d.map((n,r)=>a(N,{children:[r>0&&t,a("bdi",{children:o?a(C,{children:n}):n})]},r))})}export{V as A,F as u};

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.