PageSourceSearch

https://godthefatherapparel.com/cdn/shopifycloud/checkout-web/assets/c1/page-OnePageReview.CQdOMtkR.js

js godthefatherapparel.com collected 2026-09-29 01:03:07 UTC 16,558 bytes, 1 lines download raw bytes

1import{u as e,S as G,f as u,T as _e,i as p,p as we,q as Pe}from"./esnext-vendor.DDpcaSqU.js";import{cw as te,l as f,ak as E,L as Se,d$ as Ae,ei as Le,k as A,eO as Ne,cp as Re,P as V,eo as Ie,el as Fe,cr as Ce,B as ee,em as Me,en as De,I as Be,$ as xe,e as Oe,ep as Te,e7 as Ee,dT as ze,a3 as Ue,s as He,eP as Ve,b as j,O as qe,Q as Ge,a0 as re,U as $e,b0 as Ke,X as We,a8 as Xe}from"./hydrate.BcfGVx0L.js";import{T as k,W as ie,a5 as I,bm as B,dT as Ye,t as ne,dS as Je,dz as Qe,a4 as je,dU as Ze,dV as en,ai as nn,bl as tn,en as sn,ah as on,b9 as an,bb as rn,an as ln,al as cn,bk as dn}from"./utilities-previous.Cnwy8G2v.js";import{C as un}from"./Captcha.FpS8EQr6.js";import{MobileOrderSummary as le}from"./component-MobileOrderSummary.BDntaiIY.js";import{R as w,P as pn}from"./PaymentLine.HSjRrKhm.js";import{D as mn,u as hn}from"./StickyPayButton-StickyPayButton.module.Df_TeLYl.js";import{e as vn,u as yn,a as bn,R as gn,c as ce,D as de,b as ue,L as pe,P as Cn,d as fn}from"./components-DeliveryReviewMethods.BsNHxJXY.js";import{P as kn}from"./PayButtonSection.DnKXdf2M.js";import{P as me}from"./hooks-useWalletsTimeout.ByRalZ9t.js";import{D as he,u as _n,a as wn,S as Pn,R as Sn,b as An}from"./Middot.D2IL0UWw.js";import{M as Ln,S as Nn,a as Z}from"./Section.J2ZFesxe.js";import{S as fe}from"./Section-SectionStyleOverride.CdNufRZ0.js";import{u as Rn}from"./PaymentButtons.DF7tbJ-4.js";import{u as In,S as Fn}from"./CalloutHeader.DC7jgv42.js";import{A as ve}from"./utilities-stable-ref.dCtJn23l.js";import{u as Mn}from"./checkout-as-guest-amazon-pay.DVQDcxt_.js";import{a as Dn}from"./localization-index.C3Jg94aR.js";import{u as ye}from"./hooks-useSuppressShopPayModalOnLoad.Cvo-K0z2.js";import"./app.DdDscdWN.js";import"./graphql-PaymentSessionMutation.C-nDEOnn.js";import"./shared-permissions.B59tuyWB.js";import"./hooks-useShopPayExternalAppContext.R6pnDxYu.js";import"./ShopPayCaptcha.D1P4QA8k.js";import"./PaymentErrorBanner.CtzH3JZS.js";import"./hooks-useGeneralPaymentErrorMessage.DLzmknw2.js";import"./TransitionHeight.Bhh9D1te.js";import"./hooks-useShouldRevealCustomization.djt7DCHB.js";import"./styles-floating-layer.module.CZ3-lUNr.js";import"./PaymentIcon.-ypvsmSq.js";import"./Theme-ThemeOverride.CSLUDabY.js";import"./Switch.Bbq5KJxf.js";import"./shop-pay-experiments.BdHRV-Vf.js";import"./PayButton-helpers.DGMbMyz3.js";import"./Monorail-monorailMetric-wallets.D__Peh7l.js";import"./cvv-cvvBridge.CLYVr7ZJ.js";import"./useShopPayButtonClassName.C6ri8rG_.js";import"./shared-shop-theme.BKb8cP_L.js";import"./hooks-payment-button.D9pamPKR.js";import"./ShippingMethodRateLabel.D5IEFYQ5.js";import"./EstimatedDeliveryContent.DhMNjS2y.js";import"./hooks-useShopPayProgressIntercepts.DJVsS6aH.js";import"./utils-useViolationsHandler.DYEnoPXY.js";import"./ShopPayLogo.D2iKuiAK.js";import"./negotiated-findSelectedDeliveryMethod.C8W7wTVp.js";import"./payment-usePaymentExemptionReason.emSKnIpm.js";import"./shop-pay-installments-monorail.B1-OWrOB.js";import"./shipping-methods-consolidated-included.Cuff-UKu.js";function Bn(){const{checkout:n}=k(),s=ie().shippingAddress.value,{value:i}
1=I().deliveryNext,o=n.proposal.facts.delivery??[],t=o[0],a=I().buyerIdentity.value?.purchasingCompany;if((!o.length||!t?.lines?.length)&&!n.isShippingRequired.value||!t)return null;if(t.pickupAddress)return e(Tn,{address:t.pickupAddress??void 0,locationName:t.pickupAddressName});const r=i?.status==="unavailable"?s:t.deliveryAddress,l=i&&i.status!=="unavailable"?i.lines.find(c=>c.type!=="SUBSCRIPTION"&&c.status==="available"&&!c.methods.some(({methodType:d})=>d==="PICK_UP")):void 0;return e(G,{children:[e(On,{shippingAddress:r??void 0,companyLocationName:a?.location.name}),e(xn,{lines:t.lines,secondaryDeliveryLine:l})]})}function xn({lines:n,secondaryDeliveryLine:s}){const{i18n:i,source:o}=k(),t=n.filter(({deliveryChange:a,isFulfilled:r})=>a!=="REMOVED"&&!r).map(a=>e(mn,{line:a},a.title));return t.length?e(w,{id:"shipping",label:i.translate("shipping.title"),primaryContent:t,secondaryContent:o.type==="paymentCollection"||!s?void 0:e(vn,{line:s})}):null}function On({shippingAddress:n,companyLocationName:s}){const{i18n:i}=k(),o=te(n,{countryFormat:"explicit",displayName:!!s}),t=i.formatName(n?.firstName,n?.lastName,!0)||n?.firstName||n?.lastName,a=i.translate("review.blocks.no_address"),{primaryContent:r,secondaryContent:l}=s?{primaryContent:s,secondaryContent:n?o:a}:{primaryContent:n?t:a,secondaryContent:n?o:void 0},c=r?e(f,{children:r}):void 0;let d;return n&&o==null?d=e(E,{}):n&&l?d=e(f,{type:"address",children:l}):l&&(d=e(f,{children:l})),e(w,{id:"address",label:i.translate("review.blocks.shipping_address_title"),primaryContent:c,secondaryContent:d})}function Tn({address:n,locationName:s}){const{i18n:i}=k(),o=te(n,{hiddenFields:["postalCode","countryCode","phone"]});return!s||!o?null:e(w,{id:"delivery",label:i.translate("review.blocks.pick_up_in_store_shipping_method_html",{location_name:s}),primaryContent:e(f,{children:o})})}function M({accessibilityLabel:n,children:s,href:i}){const{checkout:{identity:o}}=k(),{onClick:t}=Mn(),a=En({href:i,identity:o,amazonPayCheckoutAsGuest:t});return e(Se,{href:i?`/${i}`:"/",onClick:a,accessibilityLabel:n,children:s})}function En({href:n,identity:s,amazonPayCheckoutAsGuest:i}){if(n==="#contact"&&s.current.value==="amazonPay")return()=>i?.()}const zn=["firstName","lastName"];function Un({hiddenFields:n,...s}){return{...s,hiddenFields:[...new Set([...n??[],...zn])]}}function ke({showAdressReviewItemAction:n=!0,reviewItemLabel:s,addressPresenterProps:i}){const{i18n:o,checkout:t}=k(),a=I(),r=a.deliveryNext,l=t.proposal.facts.delivery??[],c=a.shippingAddress,d=B("shippingAddress"),v=u(()=>l.length>0?l[0].deliveryAddress:c.value),m=u(()=>Ye(r.value)),{shippingAddress:h,billingAddress:L}=ie(),y=u(()=>r.value?.status==="unavailable"?h.value:v.value),{selectedPickupPoint:b}=Dn(),_=u(()=>!t.isShippingRequired.value),g=u(()=>_.value?L.value:y.value),C=Ae(),S=I().buyerIdentity.value?.purchasingCompany?.location,z=Le(),U=yn({address:g}).value,P=g.value,x=U??{hiddenFields:["phone"],multiline:!1,...i},H=Un(x),O=!!(S&&(P==null||ne(P)||!z.value)),R=()=>{if(P==null||ne(P)||O)return;const se=x.hiddenFields??[],oe=se.includes("firstName")?void 0:P.firstName,ae=se.includes("lastName")?void 0:P.lastName;return o.formatName(oe,ae,!0)||oe||ae},$=()=>O?S?.name:R(),K=te(b?.pickupLocation.address,{hiddenFields:["countryCode"]}),W=()=>b?.pickupLocation.name,X=_.value?o.translate("review.blocks.billing_address_title"):o.translate("review.blocks.shipping_address_title"),q=_.value?o.translate("review.blocks.change_billing_address_link_label"):o.translate("review.blocks.change_shipping_address_link_label"),Y=e(M,{href:"#deliveryAddress",accessibilityLabel:q,children:o.translate("review.blocks.change_link_label")}),J=o.translate("review.blocks.no_address"),F=o.translate("pickup_point.title").toLowerCase(),Q=C?.taxId.value;let T=$(),D=e(Hn,{address:P,hasCompanyLocation:!!S,noAddressLabel:J,secondaryAddressPresentationProps:H,vatNumber:Q});return d.value?(T=e(E,{}),D=void 0):m.value&&(T=W(),D=e(Vn,{formattedAddress:K,pickupPoint:b,pickupPointLabel:F})),e(w,{label:s||X,primaryAction:n?Y:void 0,primaryContent:T,secondaryContent:D})}function Hn({address:n,hasCompanyLocation:s,noAddressLabel:i,secondaryAddressPresentationProps:o,vatNumber:t}){return n==null||ne(n)?e(A,{children:[e(f,{color:"subdued",children:i}),t&&e(he,{vatNumber:t})]}):s?e(A,{children:e(ve,{...o,address:n})}):e(A,{children:[e(ve,{...o,address:n}),t&&e(he,{vatNumber:t})]})}function Vn({formattedAddress:n,pickupPoint:s,pickupPointLabel:i}){if(!s)return null;const o=`${s.pickupLocation.carrierName} ${i}`;return e(A,{children:[n?e(f,{type:"address",children:n}):null,e(f,{color:"subdued",size:"small",children:o})]})}function qn({purchasingCompany:n}){const{i18n:s}=k(),{secondary:i}=Ne({address:n.location.shippingAddress??{},nameLinePosition:"inline",addressDisplayName:n.location.name});if(!Je(n))return null;const o=s.translate("review.blocks.company_location"),t=e(M,{href:"#billingAddress",accessibilityLabel:s.translate("review.blocks.change_company_location_link_label"),children:s.translate("review.blocks.change_link_label")}),a=n.location.shippingAddress?i:s.translate("review.blocks.no_address"),r=e(f,{children:n.location.name});return e(w,{label:o,primaryAction:t,primaryContent:r,secondaryContent:e(f,{children:a})})}function Gn({companyName:n}){const{i18n:s,checkout:i}=k(),{value:o}=I().contactInfo,t=B("contactInfo").value,a=i.proposal.facts.contactMethod,{geolocation:r}=Re(),l=I().buyerIdentity.value?.purchasingCompany;
1bn(t);const{email:c,phone:d}=o??{},{email:v,phoneNumber:m}=a??{},{formattedNumber:h}=ye(r.country.code,m??void 0),{formattedNumber:L}=ye(r.country.code,d),y=t&&(c??d)==null,b=v||h||c||L,_=s.translate("customer_account.rollup_label");if(!b&&!t)return null;const g=n?_:s.translate("review.blocks.contact_method_title"),N=y?e(E,{}):l?e(gn,{contactInfo:b}):e(V,{lineClamp:1,children:e(f,{dir:"ltr",children:b})}),S=y||l?void 0:e(M,{href:"#contact",accessibilityLabel:s.translate("review.blocks.change_contact_method_link_label"),children:s.translate("review.blocks.change_link_label")});return e(w,{id:"contact",label:g,primaryAction:S,primaryContent:N})}function $n(){const{i18n:n}=k(),s=I(),{value:i}=s.deliveryNext,o=B("deliveryNext").value,t=Qe(i),a=Ie(),r=Fe().value,l=Ce(),c=_e(()=>{if(!(!i||i.status==="unavailable"))return t?.find(({methodType:R})=>R==="PICK_UP")?.pickupLocation},[i,t]),d=c?.address,v=c?.name,m=!!t?.some(({methodType:R})=>R==="PICK_UP"),h=_n({deliveryLines:!o&&i?.status==="filled"?i.lines:void 0}),L=()=>m?n.translate("review.blocks.change_delivery_method_link_label"):n.translate("review.blocks.change_shipping_method_link_label"),y=m?n.translate("local_pickup.title"):n.translate("shipping.title");if(o&&!i)return e(w,{label:y,primaryContent:e(E,{})});const b=r||o?null:e(M,{href:"#shippingMethod",accessibilityLabel:L(),children:n.translate("review.blocks.change_link_label")}),_=h?e(Pn,{summary:h}):void 0,g=h?e(wn,{summary:h}):void 0,S=e(w,{label:y,primaryAction:b,primaryContent:_??(m?e(pe,{pickupLocationName:v}):e(de,{})),secondaryContent:g??(m?e(ue,{address:d,pickupLocationName:v}):e(ce,{}))}),z=e(f,{color:"subdued",children:n.translate("review.blocks.no_address")}),U=d?e(ee,{maxInlineSize:"300px",children:e(pe,{pickupLocationName:v})}):z,P=d?e(ee,{maxInlineSize:"300px",children:e(ue,{address:d,pickupLocationName:v})}):void 0,x=e(M,{href:"#deliveryAddress",accessibilityLabel:n.translate("review.blocks.change_delivery_method_link_label"),children:n.translate("review.blocks.change_link_label")}),H=n.translate("review.blocks.pickup_items_at",{count:a.value.PICK_UP||0}),O=r||o?null:e(M,{href:"#shippingMethod",accessibilityLabel:n.translate("review.blocks.change_shipping_method_link_label"),children:n.translate("review.blocks.change_link_label")});return e(p,{when:l,fallback:S,children:[e(w,{label:H,primaryAction:x,primaryContent:U,secondaryContent:P}),e(p,{when:()=>a.value.SHIPPING,children:R=>e(ke,{reviewItemLabel:n.translate("review.blocks.ship_items_to",{count:R}),addressPresenterProps:{hiddenFields:["phone","company","firstName","lastName"]}})}),e(w,{label:n.translate("shipping.title"),primaryAction:O,primaryContent:_??e(de,{}),secondaryContent:g??e(ce,{})})]})}function be(){const{i18n:n}=k(),{acceptPaymentVaulting:s,paymentLines:i}=ie(),o=B("paymentLines"),t=B("shippingAddress"),a=je(),r=Me(),l=De(r.value),c=u(()=>!o.value&&i.value!=null&&!t.value),d=u(()=>{const C=i.value;return C?Ze(en(C,a.value)):[]}),v=u(()=>!!i.value?.some(C=>C.method.type==="direct")),m=u(()=>!i.value?.some(N=>N.method.type==="deferred")),h=u(()=>!!(s.value&&v.value)),L=n.translate("payment.title"),y=e(we,{each:d,children:C=>e(pn,{paymentLine:C,showCardBrandLabel:!0})}),b=c.value?e(M,{href:"#payment",accessibilityLabel:n.translate("review.blocks.change_payment_method_link_label"),children:e(f,{children:n.translate("review.blocks.change_link_label")})}):void 0,_=e(p,{when:c,fallback:e(E,{}),children:e(A,{gap:"small-400",children:y})});let g;return(m.value||h.value)&&(g=e(ee,{padding:"small-500 none none none",children:e(p,{when:c,fallback:e(E,{}),children:e(A,{gap:"small-400",children:[e(p,{when:m,children:e(V,{children:l})}),e(p,{when:h,children:e(A,{direction:"inline",gap:"small-400",alignItems:"center",children:[e(Be,{type:"check",size:"small"}),e(V,{children:n.translate("review.blocks.payment_method_saved_company_location")})]})})]})})})),e(w,{id:"payment",label:L,primaryAction:b,primaryContent:_,secondaryContent:g})}const Kn="#";function ge(){const{i18n:n}=k(),s=I().purchaseOrderNumber,i=u(()=>s.value?.trim()?`${Kn}${s.value}`:void 0),o=n.translate("review.blocks.no_purchase_order_number_long"),t=i.value,a=t?e(Cn,{children:t}):void 0,r=t?void 0:e(V,{children:o}),l=e(M,{accessibilityLabel:n.translate("review.blocks.change_purchase_order_number_label"),href:"#payment",children:e(f,{children:n.translate("review.blocks.change_link_label")})}),c=n.translate("review.blocks.purchase_order_number_title");return e(w,{id:"purchaseOrder",label:c,primaryAction:l,primaryContent:a,secondaryContent:r})}function qt(){In({stage:Fn.Complete,id:"Review"});const{checkout:n,i18n:s,shop:i,source:o}=k(),t=i.hasFlagEnabled(nn),a=n.configuration.visibility.showAside,{main:{spacing:r}}=xe(),{progress:l}=Oe(),c=Pe(()=>l("one-page-review-submit"),[l]),d=hn(c),v=tn("review.review_notice_html",s),m=I(),h=m.deliveryNext,L=m.paymentLines,y=sn(),b=B("total"),_=B("paymentLines"),g=n.proposal.facts.delivery??[],C=Te(),N=m.buyerIdentity,S=on(),z=Rn(),U=Ce(),P=n.configuration.showContactInformation,x=Ee(),H=u(()=>an(h.value)||g.length>0&&g.every(D=>D.pickupAddress!==null)),O=u(()=>n.isShippingRequired.value&&!H.value),R=u(()=>N.value?.purchasingCompany?n.isShippingRequired.value&&!C.value:n.isShippingRequired.value),$=u(()=>!!(y.value&&y.value.amount>0)||L.value?.lines.some(D=>D.cost?.amount)),K=u(()=>!!(b.value||_.value||!y.value||$.value)),W=ze(),X=u(()=>N.value?.purchasingCompany?W.value:!0),q=rn(o),Y=ln(),J=Ue({base:!0,medium:!1}),F=Y.value?J??!1:!0,Q=He("Checkout::Dynamic::Render","ORDER_SUMMARY4"),T=e(Z,{condition:!F&&!t,hideDivider:!0,children:[e(Ln,{condition:F&&!t,hideDivider:t?!0:void 0,children:[e(A,{gap:"small-400",children:[e(p,{when:()=>q,children:[e(Ve,{}),e(j,{blockSize:"base"})]}),e(Sn,{}),e(p,{when:()=>v,children:e(V,{type:"small",color:"subdued",children:e(An,{})})})]}),e(j,{blockSize:"large-200"}),e(Xn,{renderAsCard:t,children:e(Wn,{buyerIdentity:N,isOrderEditSession:q,showContactInformation:P,showPayment:K,showShippingAddress:O,showAddressReviewItemAction:X,showDeliveryMethod:R,isSplitShipAndPickup:U})})]}),t&&e(Nn,{spacing:F?cn(r):"large-400"}),e(p,{when:S,children:e(Z,{condition:F&&!t,children:[e(me,{placement:"default"}),e(j,{blockSize:"base"})]})}),e(Z,{condition:F&&!t,hideDivider:!0,children:e(qe,{section:"review",children:e(Ge,{section:"review",children:e(A,{gap:"base",children:[t?e(fe,{target:"card",children:e(re,{accessibilityRole:"presentation",display:a?"@media (inline-size >= medium) none, auto":void 0,children:e(le,{})})}):e(le,{}),e(A,{gap:"large-200",children:[e(p,{when:z,children:e(un,{})}),e(p,{when:S,children:e(me,{placement:"above-pay-button"})}),e(kn,{buttonHidden:x}),e(p,{when:()=>F,children:e($e,{customizations:Q,gap:"large-200"})})]})]})})})})]});return e(We,{onSubmit:d,children:t?e(Ke,{children:e(re,{accessibilityRole:"presentation",containerName:"s-shell-section",children:T})}):T})}function Wn({buyerIdentity:n,isOrderEditSession:s,showContactInformation:i,showPayment:o,showShippingAddress:t,showAddressReviewItemAction:a,showDeliveryMethod:r,isSplitShipAndPickup:l}){const c=u(()=>n.value?.purchasingCompany?.company?.name),d=u(()=>!!n.value?.purchasingCompany),v=u(()=>t.value&&!l.value),m=u(()=>t.value?void 0:n.value?.purchasingCompany);return e(G,{children:[i&&e(Gn,{companyName:c.value}),s?e(G,{children:[e(Bn,{}),e(p,{when:o,children:e(be,{})}),e(p,{when:d,children:e(ge,{})})]}):e(G,{children:[e(p,{when:v,children:e(ke,{showAdressReviewItemAction:a.value})}),e(p,{when:r,children:e($n,{})}),e(p,{when:m,children:h=>e(qn,{purchasingCompany:h})}),e(p,{when:o,children:e(be,{})}),e(p,{when:d,children:e(ge,{})})]})]})}function Xn({children:n,renderAsCard:s=!1}){const{i18n:i}=k(),o=dn(),t=i.translate("review.block_title"),a=e(fn,{accessibilityLabel:t,renderAsCard:s,children:n}),r=e(p,{when:()=>!o.value,fallback:a,children:e(Xe,{children:a})});return s?e(fe,{target:"edgeToEdgeCard",children:r}):r}export{Xn as ReviewItems,qt 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.