PageSourceSearch

https://hhplift.com/cdn/shopifycloud/checkout-web/assets/c1/289b89e4.CiABDxQY.js

js hhplift.com collected 2026-10-06 02:06:27 UTC 7,096 bytes, 1 lines download raw bytes

1import{q as e,u as i,g as a,z as t,o as s,h as n,k as r,_ as l,w as o,t as c,L as p,p as d,S as u}from"./2c1ab0fe.RaLGJvq2.js";import{L as h,c0 as m,c1 as g,c2 as v,c3 as f,w as b,r as y,l as _,c4 as j,n as k,bq as w,ah as D,ae as S,af as x,U as z,h as A,S as I,H as L,c5 as P,f as E,an as G,a0 as M,i as N,c6 as F}from"./164ad2e3.bPUx3Fg0.js";import{T}from"./7b0c98ea.C5VPaglw.js";import{u as B,S as C,D as R}from"./d6447d9e.BG2VBWVB.js";import{b as V,d as O,c as U,P as q,a as H}from"./0a30a815.ccZD-1L7.js";import{S as K}from"./f51e663e.BL0cGzSY.js";import{a as W,aI as Y,b3 as $,an as J,bF as Q,p as X,bf as Z}from"./f67abd2c.BTHhdhoM.js";import{P as ee}from"./f49d4216.C5t-HE2u.js";import{a as ie,b as ae,E as te}from"./a422df8c.FHHIb5NR.js";import{T as se}from"./7e8cd205.BrnFEGan.js";import{B as ne}from"./0627daf2.D5TuTLdI.js";import{m as re}from"./21cc90a2.DHzOO82q.js";import{b as le,c as oe,u as ce}from"./64de7b49.QaUyq4Wz.js";import{u as pe}from"./9f047e05.B541JhC9.js";import{u as de,S as ue}from"./71ae3d5c.CamNwqhE.js";import{h as he}from"./17425706.BWBJtbgF.js";import"./d0bb51ec.BIqtCEEY.js";import"./app.CPIYcwpp.js";import"./60a453ce.BHWO3gHr.js";import"./e12db40c.CeuzD2R-.js";import"./9dba8418.DCzpk36x.js";import"./efa0389a.4jo1XZ5U.js";import"./22345fd4.BOPeNj8v.js";import"./8e79be58.Csw1br6J.js";import"./3ca8ef7e.mdJTe1BI.js";import"./347b440c.Ct28yEbl.js";import"./9ce08e25.CMzOvpmI.js";import"./47b970b2.D1oAm8Vb.js";import"./a9fa9fda.D5UMnVmk.js";import"./ca3e798e.BWruLT5k.js";import"./90e26f5f.V546a3YF.js";import"./31cc568e.95lmLO5k.js";import"./4b1c22b7.DKftNOPJ.js";import"./5fda1420.BxIbEH_S.js";const me="/cdn/shopifycloud/checkout-web/assets/c1/assets/shipping.CG9i_A4v.svg",ge=()=>{const{i18n:e,checkout:a}=W(),t=a.configuration.layout.isOnePage.value,s=i(h,{href:"/information",children:e.translate("shipping.shipping_information_redirect_link")});return i(te,{children:[!t&&i(ie,{children:i("img",{src:me,alt:""})}),i(ae,{children:e.translate("shipping.shipping_information_required_notice",{link:s})})]})},ve=()=>{const{i18n:e,checkout:a}=W(),t=a.configuration.layout.isOnePage.value;return i(te,{children:[!t&&i(ie,{children:i("img",{src:me,alt:""})}),i(ae,{children:e.translate("shipping_errors.shipping_method_not_available_generic.one")})]})};function fe(){const{i18n:d,checkout:{negotiator:u}}=W(),h=m(),{allViolations:v,deliveryNext:f}=u.current.fields,b=$("deliveryNext"),y=function(){const{userEvents:i}=W(),a=Y();return e((e,t,s)=>{const n={schemaId:"checkout_display_shipping_methods/1.0",payload:{eventTimestamp:t,shopId:a.value.defaultAttributes?.shopId||1,apiClientId:s,promiseRetrievalTime:e}};i.monorailEvent(n)},[i,a.value.defaultAttributes?.shopId])}(),_=a(b.peek()),[,j]=t(),k=a(void 0),w=s(!1),{shippingAddress:D}=u.parts,S=B(j),x=g();n(()=>{w.value=!0},[w]);const z=r(()=>{const e=h.value.shippableDeliveryLines;return e?J(e):[]});l(()=>c(()=>
1{if(b.value)return void(k.current??=Date.now());_.current=!1;const e=k.current;if(null==e)return;const i=Date.now(),a=i-e,t=z.peek()[0]?.methods[0]?.deliveryPromiseProviderApiClientId;if(k.current=void 0,!t)return;const s=X(t);p(()=>{y(a,i,Number(s)),x(a,Number(s))})}),[b,x,z,y]);const A=r(()=>v.value?.some(e=>"target"in e&&e.target.startsWith("$.cart.deliveryGroups[0].deliveryAddress"))),I=r(()=>function({deliveryLoading:e,showLoading:i,hasMounted:a,hasFilledShippingMethods:t}){return e&&i&&(a||!t)}({deliveryLoading:b.value,showLoading:_.current,hasMounted:w.value,hasFilledShippingMethods:"filled"===f.value?.status&&z.value.length>0}));return i(o,{when:()=>!I.value,fallback:i(ee,{text:d.translate("shipping.waiting_on_rate_notice")}),children:i(o,{when:()=>!A.value,fallback:i(ye,{}),children:i(o,{when:()=>!Q(D.value),fallback:i(ge,{}),children:i(o,{when:()=>"filled"===f.value?.status,fallback:i(be,{}),children:i(o,{when:()=>z.value.length>0,fallback:i(be,{}),children:i(C,{lines:z.value,loading:S})})})})})})}function be(){const{checkout:{negotiator:e}}=W(),{deliveryNext:a,shippingAddress:t}=e.current.fields,{shippingAddress:s}=e.parts,n=v();return i(o,{when:()=>{const e=s.value,i=n(e);return f({deliveryNext:a.value,proposedAddress:e,negotiatedAddress:t.value,reloadStrategy:i})},fallback:i(ge,{}),children:i(ve,{})})}function ye(){const{router:e}=W();return e.redirect("/information"),null}const _e=e=>i(A,{children:e});function je(){const{i18n:e,checkout:a}=W(),{nextPage:t,previousPage:s}=b(),{progress:n,progressing:l}=y(),{deliveryNext:c,optionalDuties:h}=a.negotiator.current.fields,m=$("deliveryNext").value,g=e.translate("shipping.shipping_method_title"),v=e.translate("shipping.duties_and_taxes_title"),f=e.translate("general.continue_to_payment_method"),B=a.configuration.layout.isOnePage.value,C=_(),Y=j(),J=le(),Q=r(()=>Z(c.value)||J.value.showShipmentBreakdown?"small-400":"base"),X=oe(),{customizationsBefore:ee,customizationsAfter:ie}=ce({hasMultipleDeliveryGroups:X.value.hasMultipleDeliveryGroups,targeted:!1}).value,ae=k("Checkout::Dynamic::Render","DELIVERY1"),te=k("Checkout::Dynamic::Render","DELIVERY2");de({stage:m?ue.Usable:ue.Complete,id:"Shipping"}),pe("shipping");const me=r(()=>null==c.value||"unavailable"===c.value.status);w(e=>{"success"===e.type&&"progression"===e.negotiationStage&&(C("pageSubmit",{timestamp:new Date}),Y({type:"page_submit",page:"shipping"}))});const ge=r(()=>Boolean(c.value));d(()=>{ge.value&&p(()=>{C("shippingMethodsFilled",{timestamp:new Date}),Y({type:"shipping_methods_filled"})})});const ve=r(()=>{const e=X.value.onlyDeliveryGroupType;return{groupType:e?re(e):void 0,includeDeliverySelectionGroups:!1}});return i(u,{children:[i(se,{children:e.translate("shipping.title")}),i(D,{onSubmit:()=>n("shipping-page-submit"),disabled:l.value||me.value,implicitSubmit:f,children:i(S,{section:"delivery",children:i(x,{section:"delivery",children:i(V,{children:[i(O,{children:[i(z,{customizations:ae,render:_e}),i(A,{accessibilityLabel:g,children:i(I,{gap:Q.value,children:[i(I,{gap:"small-400",children:[i(L,{autoFocus:!B,id:P,level:1,children:g}),he("shipping.shipping_method_notice",e)?i(E,{children:e.translate("shipping.shipping_method_notice")}):null]}),i(I,{gap:"base",children:i(G,{children:[i(o,{when:()=>J.value.showShipmentBreakdown,children:i(T,{children:i(K,{})})}),i(z,{customizations:ee,options:ve.value}),i(fe,{}),i(z,{customizations:ie,options:ve.value})]})})]})}),i(o,{when:()=>h.value?.refuseDutiesPermitted,children:i(A,{accessibilityLabel:v,children:i(I,{gap:"large-200",children:[i(L,{id:`${P}-duties-and-taxes`,level:1,children:v}),i(R,{})]})})}),i(z,{customizations:te,render:_e})]}),i(U,{children:[i(q,{children:i(ne,{inlineSize:"fill",disabled:me.value,type:"submit",loading:l.value,size:"large",pixelId:"go_to_next_step",variant:"primary",children:t.label})}),s.route?i(H,{children:i(ne,{href:s.route,variant:"plain",inlineSize:"fill",textDecoration:"none",pixelId:"go_to_previous_step",children:i(I,{direction:"inline",gap:"small-200",alignItems:"center",children:[i(M,{type:"chevron-left",size:"small"}),i(N,{children:s.label})]})})}):null]})]})})})}),i(F.Prefetch,{})]})}
1export{je as default};

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.