PageSourceSearch

https://www.grays-hockey.com/cdn/shopifycloud/checkout-web/assets/c1/utilities-stable-ref.dCtJn23l.js

js grays-hockey.com collected 2026-09-28 23:59:46 UTC 3,212 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["libphonenumber-index.-6DjIQHS.js","exports-getCountryCallingCode.B1Uy0QN5.js"])))=>i.map(i=>d[i]);
2import{k as b,h as v,q as c,T as y,r as C,u,f as p,l as m,S as g,A as N}from"./esnext-vendor.DDpcaSqU.js";import{_ as A}from"./app.DdDscdWN.js";import{W as f}from"./utilities-previous.Cnwy8G2v.js";import{jt as S,ak as _,a7 as U,l as w}from"./hydrate.BcfGVx0L.js";const V="US";function x(){const[e,o]=b(h);v(()=>{requestIdleCallback(async()=>{o(await E())})},[]);const s=c((n,r,t)=>{const d=P=>n.isSupportedCountry(P);return n.parsePhoneNumber(r,t&&d(t)?t:V)},[]),l=c((n,r)=>{try{if(e==null)return null;const t=s(e,n,r);return t.country==null||!t.isValid()?null:t.format("E.164")||null}catch{return null}},[e,s]),a=c((n,r,t=!1)=>{try{if(e==null)return!0;const d=s(e,n,r);return d.country==null||t&&!n.startsWith(`+${e.getCountryCallingCode(d.country)}`)?!1:d.isValid()}catch{return!1}},[e,s]);return{isPhoneNumberUtilLoaded:y(()=>!!e,[e]),validatePhoneNumber:a,formatPhoneNumber:l}}let h=null;async function E(){return h=await C(()=>A(()=>import("./libphonenumber-index.-6DjIQHS.js"),__vite__mapDeps([0,1]))),h}const F=e=>u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47 20",...e,children:u("path",{d:"m9.095 6.766-2.33 1.186C6.233 7.035 5.5 6.565 4.48 6.565q-1.665 0-1.665 1.007c0 .716.821.873 2.663 1.275 1.842.403 3.931.985 3.931 3.29 0 2.238-1.73 3.58-4.593 3.58-2.308 0-4.02-.984-4.816-2.73l2.33-1.163c.488 1.077 1.331 1.633 2.486 1.633 1.198 0 1.797-.335 1.797-1.052 0-.716-.823-.872-2.668-1.275C2.101 10.727.02 10.145.02 7.84c0-2.17 1.709-3.536 4.46-3.536 2.153 0 3.773.873 4.615 2.462M11.05.5h2.884v5.102c.754-.828 1.842-1.298 3.085-1.298 2.485 0 4.26 1.925 4.26 4.655v6.646h-2.884V8.959c0-1.275-.932-2.216-2.22-2.216-1.287 0-2.24.962-2.24 2.216v6.646h-2.886zm12.116 4.61c.954-.671 2.33-1.14 3.795-1.14 3.906 0 6.746 2.663 6.746 6.311 0 3.401-2.441 5.774-5.837 5.774-2.907 0-4.992-1.97-4.992-4.61 0-1.79 1.067-3.111 2.574-3.626l1.22 2.082c-.82.38-1.13.94-1.13 1.633 0 1.14.955 1.947 2.33 1.947 1.687 0 3.018-1.343 3.018-3.155 0-2.127-1.664-3.737-3.927-3.737a4.5 4.5 0 0 0-2.508.738zm15.024 9.22v5.17h-2.885V4.417h2.818V5.78c.866-.94 2.086-1.477 3.462-1.477 3.04 0 5.415 2.484 5.415 5.707s-2.375 5.707-5.415 5.707c-1.354 0-2.53-.515-3.395-1.388m5.947-4.341c0-1.858-1.287-3.223-3.04-3.223-1.731 0-3.04 1.388-3.04 3.223s1.309 3.223 3.04 3.223c1.753 0 3.042-1.366 3.042-3.223z"})});function R(){const{shippingAddress:e,billingAddress:o}=f();return p(()=>e.fields.countryCode.value||o.fields.countryCode.value||"")}function q(e){const o=m(x().validatePhoneNumber),s=m(e),{shippingAddress:l,billingAddress:a}=f();return p(()=>{const i=l.fields.phone.value,n=a.fields.phone.value,r=i||n;return r&&o.value(r,s.value)?r:null})}function D({address:e,hiddenFields:o=[],multiline:s,textColor:l,textSize:a}){const i=S(e,{hiddenFields:o,countryFormat:"explicit"});if(i==null)return u(_,{});const n=s?u("br",{}):", ";
2return u(w,{type:"address",size:a,color:l,children:i.map((r,t)=>u(g,{children:[t>0&&n,u("bdi",{children:s?u(U,{children:r}):r})]},t))})}function I(e){const o=N(e);return o.current=e,o}export{D as A,F as S,I as a,R as b,q as c,x 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.