PageSourceSearch

https://mankovskygallery.com/cdn/shopifycloud/checkout-web/assets/c1/page-Shipping.Cz2KbZ2j.js

js mankovskygallery.com collected 2026-09-28 09:27:06 UTC 7,084 bytes, 1 lines download raw bytes

1import{q as j,u as e,A as C,k as Q,e as X,h as Z,f as c,_ as ee,i as d,j as ie,G as U,p as te,S as ne}from"./esnext-vendor.B9Da21W6.js";import{L as se,bE as ae,bF as oe,bG as re,bH as le,J as pe,f as de,bI as ce,bJ as ue,p as I,bd as he,N as ge,K as me,M as ve,U as E,Y as T,k as f,m as G,bK as z,P as ye,a6 as fe,Q as R,I as Se,l as be,bL as _e,aw as ke}from"./hydrate.DZ4YTm7p.js";import{T as Pe}from"./TransitionHeight.CV2XV0NY.js";import{u as De,S as Ae,D as Ee}from"./ShippingLines.DZaI5-k3.js";import{b as we,d as Te,c as Me,P as xe,a as Le}from"./Page.jjGbeNkl.js";import{S as Ce}from"./ShipmentBreakdown.Da0Xa8EW.js";import{S as h,bO as Ie,a4 as M,bc as F,T as H,aK as Ge,r as ze,H as Re,bG as Ne}from"./addresses-is-address-empty.Bn2lNY_L.js";import{P as Oe}from"./PendingShipping.CnPQOmzL.js";import{a as J,b as W,E as q}from"./IncentiveBadge.DborNHa8.js";import{u as Be,T as Ue,S as N}from"./stopwatch.CfKlh48v.js";import{b as Fe,c as He,u as Je}from"./MerchandiseModal.BtS8T15h.js";import{u as We,h as qe}from"./graphql-PaymentSessionMutation.CAXCwUvV.js";import"./app.DbSrjjlA.js";import"./hooks-useShopPayExternalAppContext.DWwMuRnz.js";import"./hooks-useReplaceShopPayInHistory.DPpLejwu.js";import"./Choice.DSKmQsTS.js";import"./Checkbox.DQyvbr9E.js";import"./ShippingMethodSelector.DcVyvGiN.js";import"./TextArea.C1mMoZ65.js";import"./localization-index.1YNaS8kx.js";import"./ShippingMethodRateLabel.DAtbOh1H.js";import"./EstimatedDeliveryContent.BuJLi-Ww.js";import"./PhoneField.C0TeiZrn.js";import"./components-RedirectionNotice.module.CsVdFi0g.js";import"./amazon-pay-useAmazonPayPaymentLine.Ju006AId.js";import"./hooks-useSuppressShopPayModalOnLoad.DFOLDSdS.js";import"./SubscriptionPriceBreakdown.ChspO5Cv.js";function Ke(){const{userEvents:i}=h(),t=Ie();return j((n,a,r)=>{const l=t.value.defaultAttributes?.shopId||1,g={schemaId:"checkout_display_shipping_methods/1.0",payload:{eventTimestamp:a,shopId:l,apiClientId:r,promiseRetrievalTime:n}};i.monorailEvent(g)},[i,t.value.defaultAttributes?.shopId])}const K="/cdn/shopifycloud/checkout-web/assets/c1/assets/shipping.CG9i_A4v.svg",V=()=>{const{i18n:i,checkout:t}=h(),s=t.configuration.layout.isOnePage.value,n=e(se,{href:"/information",children:i.translate("shipping.shipping_information_redirect_link")});return e(q,{children:[!s&&e(J,{children:e("img",{src:K,alt:""})}),e(W,{children:i.translate("shipping.shipping_information_required_notice",{link:n})})]})},Ve=()=>{const{i18n:i,checkout:t}=h(),s=t.configuration.layout.isOnePage.value;return e(q,{children:[!s&&e(J,{children:e("img",{src:K,alt:""})}),e(W,{children:i.translate("shipping_errors.shipping_method_not_available_generic.one")})]})};function Ye(){const{i18n:i}=h(),t=ae(),{allViolations:s,deliveryNext:n}=M(),a=F("deliveryNext"),r=Ke(),l=C(a.peek()),[,g]=Q(),m=C(void 0),u=X(!1),{shippingAddress:S}=H(),w=De(g),b=oe();Z(()=>{u.value=!0},[u]);const p=c(()=>{const o=t.value.shippableDeliveryLines;return o?Ge(o):[]});ee(()=>ie(()=>{if(a.value){m.current??=Date.now();return}l.current=!1;const o=m.current;if(o==null)return;const v=Date.now(),P=v-o,D=p.peek()[0]?.methods[0]?.deliveryPromiseProviderApiClientId;if(m.current=void 0,!D)return;const A=Re(D);U(()=>{r(P,v,Number(A)),b(P,Number(A))})}),[a,b,p,r]);const _=c(()=>s.value?.some(o=>"target"in o&&o.target.startsWith("$.cart.deliveryGroups[0].deliveryAddress"))),k=c(()=>$e({deliveryLoading:a.value,showLoading:l.current,hasMounted:u.value,hasFilledShippingMethods:n.value?.status==="filled"&&p.value.length>0}));return e(d,{when:()=>!k.value,fallback:e(Oe,{text:i.translate("shipping.waiting_on_rate_notice")}),children:e(d,{when:()=>!_.value,fallback:e(je,{}),children:e(d,{when:()=>!ze(S.value),fallback:e(V,{}),children:e(d,{when:()=>n.value?.status==="filled",fallback:e(O,{}),children:e(d,{when:()=>p.value.length>0,fallback:e(O,{}),children:e(Ae,{lines:p.value,loading:w})})})})})})}function $e({deliveryLoading:i,showLoading:t,hasMounted:s,hasFilledShippingMethods:n}){return i&&t&&(s||!n)}function O(){const{deliveryNext:i,shippingAddress:t}=M(),{shippingAddress:s}=H(),n=re();return e(d,{when:()=>{const a=s.value,r=n(a);return le({deliveryNext:i.value,proposedAddress:a,negotiatedAddress:t.value,reloadStrategy:r})},fallback:e(V,{}),children:e(Ve,{})})}function je(){const{router:i}=h();return i.redirect("/information"),null}const B=i=>e(T,{children:i});function Di(){const{i18n:i,checkout:t}=h(),{nextPage:s,previousPage:n}=pe(),{progress:a,progressing:r}=de(),{deliveryNext:l,optionalDuties:g}=M(),m=F("deliveryNext").value,u=i.translate("shipping.shipping_method_title"),S=i.translate("shipping.duties_and_taxes_title"),w=i.translate("general.continue_to_payment_method"),b=t.configuration.layout.isOnePage.value,p=ce(),_=ue(),k=Fe(),o=c(()=>Ne(l.value)||k.value.showShipmentBreakdown?"small-400":"base"),v=He(),{
1customizationsBefore:P,customizationsAfter:D}=Je({hasMultipleDeliveryGroups:v.value.hasMultipleDeliveryGroups,targeted:!1}).value,A=I("Checkout::Dynamic::Render","DELIVERY1"),Y=I("Checkout::Dynamic::Render","DELIVERY2");Be({stage:m?N.Usable:N.Complete,id:"Shipping"}),We("shipping");const x=c(()=>l.value==null||l.value.status==="unavailable");he(y=>{y.type==="success"&&y.negotiationStage==="progression"&&(p("pageSubmit",{timestamp:new Date}),_({type:"page_submit",page:"shipping"}))});const $=c(()=>!!l.value);te(()=>{$.value&&U(()=>{p("shippingMethodsFilled",{timestamp:new Date}),_({type:"shipping_methods_filled"})})});const L=c(()=>{const y=v.value.onlyDeliveryGroupType;return{groupType:y?ke(y):void 0,includeDeliverySelectionGroups:!1}});return e(ne,{children:[e(Ue,{children:i.translate("shipping.title")}),e(ge,{onSubmit:()=>a("shipping-page-submit"),disabled:r.value||x.value,implicitSubmit:w,children:e(me,{section:"delivery",children:e(ve,{section:"delivery",children:e(we,{children:[e(Te,{children:[e(E,{customizations:A,render:B}),e(T,{accessibilityLabel:u,children:e(f,{gap:o.value,children:[e(f,{gap:"small-400",children:[e(G,{autoFocus:!b,id:z,level:1,children:u}),qe("shipping.shipping_method_notice",i)?e(ye,{children:i.translate("shipping.shipping_method_notice")}):null]}),e(f,{gap:"base",children:e(fe,{children:[e(d,{when:()=>k.value.showShipmentBreakdown,children:e(Pe,{children:e(Ce,{})})}),e(E,{customizations:P,options:L.value}),e(Ye,{}),e(E,{customizations:D,options:L.value})]})})]})}),e(d,{when:()=>g.value?.refuseDutiesPermitted,children:e(T,{accessibilityLabel:S,children:e(f,{gap:"large-200",children:[e(G,{id:`${z}-duties-and-taxes`,level:1,children:S}),e(Ee,{})]})})}),e(E,{customizations:Y,render:B})]}),e(Me,{children:[e(xe,{children:e(R,{inlineSize:"fill",disabled:x.value,type:"submit",loading:r.value,size:"large",pixelId:"go_to_next_step",variant:"primary",children:s.label})}),n.route?e(Le,{children:e(R,{href:n.route,variant:"plain",inlineSize:"fill",textDecoration:"none",pixelId:"go_to_previous_step",children:e(f,{direction:"inline",gap:"small-200",alignItems:"center",children:[e(Se,{type:"chevron-left",size:"small"}),e(be,{children:n.label})]})})}):null]})]})})})}),e(_e.Prefetch,{})]})}export{Di 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.