PageSourceSearch

https://obermeyer.com/cdn/shopifycloud/checkout-web/assets/c1/865e4eaf.DBasL1xH.js

js obermeyer.com collected 2026-10-02 11:36:15 UTC 2,208 bytes, 1 lines download raw bytes

1import{a as o,G as e}from"./164ad2e3.BbIvMjRY.js";import{H as t,I as s,E as i,J as r,K as a}from"./4c290a1e.C6TDJ9Fn.js";import{n as c}from"./6f1b819b.CFRiXcHU.js";import{g as n}from"./29034f35.BtTRppF-.js";import"./2c1ab0fe.GMbxnz74.js";import"./9f047e05.CCJUgz_L.js";import"./app.CepNJbvh.js";import"./0a7dffce.DfUtZWCu.js";import"./5fda1420.KYpufQ--.js";import"./60a453ce.CkhHeRBc.js";import"./21cc90a2.DAzJmttM.js";import"./bb728e1c.iawBHR84.js";import"./6a2fc6d6.Cw2cQrl7.js";import"./cf29e63b.ByW6Fn7D.js";import"./cb38e5c2.DHRUgYmP.js";import"./413b21e2.Bib5DUlj.js";import"./e477f96c.BxtSUGa4.js";import"./2255f8fa.BCU-NIF_.js";import"./b8733b27.B0VmlfYu.js";import"./e39bc11c.BPwkTsU-.js";import"./08a3b809.BxtDOfoo.js";import"./bff2ff9b.Wb1R3ZbF.js";import"./ac5a19ff.CRrh5Bdw.js";function d(o){return{resolvePickupLocality:e=>p(e,o),announcePickupLocality:e=>u(e,o)}}async function p(o,e){return m(o,(await n(e)).current.call,e)}async function m(o,t,{shop:s,source:n,i18n:d}){const p=i(),m={locale:d.locale,requestToken:p,shopId:r(s.id),sourceId:n.sourceId||"",checkoutSessionIdentifier:n.checkoutSessionIdentifier||""},{data:u}=await t.search(o.postal_code,{...m,countryCode:o.address_country,location:void 0},e),f=(await Promise.all(u.slice(0,5).map(o=>t.fetchAddress(o.addressId,{...m,completionService:o.completionService,extendedFields:!1})))).filter(e=>e.countryCode===o.address_country&&c(e.postalCode)===c(o.postal_code)&&(!o.address_region||e.zoneCode===o.address_region)&&e.coordinates&&Number.isFinite(e.coordinates.latitude)&&Number.isFinite(e.coordinates.longitude)&&Math.abs(e.coordinates.latitude)<=90&&Math.abs(e.coordinates.longitude)<=180);if(1!==new Set(f.map(({coordinates:o})=>JSON.stringify(o))).size)return;const l=f[0];return a({countryCode:l.countryCode,zoneCode:l.zoneCode,postalCode:l.postalCode,city:l.city,coordinates:l.coordinates})}function u(e,i){const r=t(e.countryCode?i.checkout.address.countryDetails.get(e.countryCode):void 0,i.i18n);o({content:s(e,r,["company","firstName","lastName","phone","countryCode","zoneCode"]),role:"status"})}export{u as announcePickupLocality,d as createPickupLocalityServices,p as lookupPickupLocality,m as resolvePickupLocality};

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.