PageSourceSearch

https://www.elecdov.com/cdn/shopifycloud/checkout-web/assets/c1/865e4eaf.DAtEXZwE.js

js elecdov.com collected 2026-10-04 02:31:39 UTC 2,208 bytes, 1 lines download raw bytes

1import{a as o,G as e}from"./164ad2e3.B4L1MRYB.js";import{H as t,I as s,E as i,J as r,K as a}from"./4c290a1e.DMQ9xOwP.js";import{n as c}from"./6f1b819b.BcGHDpfD.js";import{g as n}from"./29034f35.DARWjbfB.js";import"./2c1ab0fe.GMbxnz74.js";import"./9f047e05.DwjCPgK0.js";import"./app.DGSHpWaV.js";import"./0a7dffce.BcNpdEJk.js";import"./5fda1420.BLaDhoyL.js";import"./60a453ce.Cg9T1Gj2.js";import"./21cc90a2.Ccyorzx_.js";import"./bb728e1c.CHt2JlPY.js";import"./6a2fc6d6.CB7WRe6i.js";import"./cf29e63b.BYllFEI4.js";import"./cb38e5c2.Hmwo5zs2.js";import"./413b21e2.DZZRDa_s.js";import"./e477f96c.DJuIaq7S.js";import"./2255f8fa.CDyfBNrW.js";import"./b8733b27.05ur1szn.js";import"./e39bc11c.D2a9UHbt.js";import"./08a3b809.DDk5v8y8.js";import"./bff2ff9b.Cy_si-5k.js";import"./ac5a19ff.BchXgW63.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.