PageSourceSearch

https://shop.realfaith.com/cdn/shopifycloud/checkout-web/assets/c1…s-useHasOrdersFromMultipleShops.PKFq4ktR.js

js realfaith.com collected 2026-09-24 10:58:11 UTC 2,158 bytes, 1 lines download raw bytes

1import{kX as G,p as Q,bE as d,eT as B}from"./addresses-is-address-empty.-MuOhIyI.js";import{f as P}from"./esnext-vendor.D7ldIee_.js";import{j5 as S}from"./hydrate.ByRIsqvd.js";function z({address1:e="",address2:r,city:t="",company:i,countryCode:o,firstName:s,lastName:n="",postalCode:u,zoneCode:l,phone:p="",oneTimeUse:f=!1,coordinates:a,district:h,line2:y,streetName:g,streetNumber:m,subdistrict:C},F){const{extendedFields:L,...A}=G({address1:e,address2:r,countryCode:o,fields:{district:h,line2:y,streetName:g,streetNumber:m,subdistrict:C},extendedAddressMode:F?.extendedAddressMode});return{...A,city:t??"",countryCode:o||"ZZ",postalCode:u,company:i,firstName:s,lastName:n,zoneCode:l,phone:p,oneTimeUse:f,coordinates:a?c(a):void 0,extendedFields:L}}function I({handle:e=""}){return{handle:e}}function R(e,r){return e.coordinates?{geolocation:{coordinates:c(e.coordinates),countryCode:B(e.countryCode),zoneCode:e.zoneCode,postalCode:e.postalCode}}:{streetAddress:d(e,r)}}function c(e){return{latitude:e.latitude,longitude:e.longitude}}function T(e,r,t,i,o=!1){const s=Q(e),n=e?.[0]?.method?.type==="deferred"&&t==="custom"&&!o;if(!s&&n)return null;const u=!!r.address1;return s||u?{streetAddress:d(r,i)}:null}function q({deliveryMethodHandle:e,deliveryMethodOptions:r,isCustomRate:t,isPointOfSale:i,retailLocationId:o,isPointOfSaleShipToHome:s,customDeliveryStrategy:n}={}){return i&&o&&!s?{deliveryStrategyMatchingConditions:{shipments:{any:!0}},options:r,originLocationId:o,autoFulfill:!0}:e?{deliveryStrategyByHandle:{handle:e,customDeliveryRate:t??!1},options:r}:n?{customDeliveryStrategy:{title:n.title,price:{value:n.price},code:n.code,source:n.source},options:r}:{deliveryStrategyMatchingConditions:{estimatedTimeInTransit:{any:!0},shipments:{any:!0}},options:r}}function v(e){return{value:e.amount.toString(),currency:e.currencyCode.toUpperCase()}}function E(e){if(!(e?.amount==null||!Number.isFinite(e.amount)||!e.currencyCode))return v({amount:e.amount,currencyCode:e.currencyCode})}function W(){const e=S();return P(()=>Array.from(e.value.values()).filter(t=>t.length>0).length>1)}export{I as a,E as b,T as c,z as d,R as g,q as s,v as t,W 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.