1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["ab63b84b.dS9e65cQ.js","2c1ab0fe.Bywc2Brn.js","164ad2e3.DHuJhR22.js","9dba8418.DInoCEzY.js","app.D2wFhSFv.js","assets/app.BuSMBobh.css","assets/paypal-express-utilities.BhV0n1qN.css","d0bb51ec.DwFzQH6k.js","f67abd2c.CxgiarJo.js","60a453ce.CQQC7Spq.js","e12db40c.DJw7xsqf.js","assets/hydrate.ByGT37s3.css","9f3d9f8c.DaD3WBjM.js","64de7b49.CLNCr43I.js","347b440c.8UmgLgUR.js","9ce08e25.DbZR-P3G.js","assets/EstimatedDeliveryContent.B_THySFF.css","90e26f5f.BfJG0RLt.js","assets/SubscriptionPriceBreakdown.vTcdVGq4.css"])))=>i.map(i=>d[i]); 2import{i as e,j as i,T as n,u as a,S as t,o as s,k as r,w as l,H as o}from"./2c1ab0fe.Bywc2Brn.js";import{H as c,U as d,S as p,ab as m,r as u,aH as h,aS as g,a1 as _,j as v,s as b,aT as y,d as f,aU as k}from"./164ad2e3.DHuJhR22.js";import{c as S,aP as x}from"./9dba8418.DInoCEzY.js";import{m as I}from"./21cc90a2.DHzOO82q.js";import{u as T,M as z,a as D,b as j,g as L}from"./64de7b49.CLNCr43I.js";import{d as M}from"./347b440c.8UmgLgUR.js";import{_ as w,u as q}from"./app.D2wFhSFv.js";const B=e({displayName:"SubscriptionGroupLine",load:()=>i(()=>w(()=>import("./ab63b84b.dS9e65cQ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])))}),H={groupType:I("SUBSCRIPTION"),includeDeliverySelectionGroups:!1};function R({subscriptionLines:e}){const{i18n:i,shop:t}=S(),{customizationsBefore:s,customizationsAfter:r}=T({targeted:!0,hasMultipleDeliveryGroups:!0}).value,l=n(()=>t.marketDrivenShippingEnabled?M(e):e,[t.marketDrivenShippingEnabled,e]),o=l.length;return 0===o?null:a(m,{gridAutoRows:"minmax(auto, max-content)",gridTemplateColumns:"minmax(0, 1fr)",gridTemplateRows:"minmax(auto, max-content)",gap:"small-200",children:[a(c,{level:3,children:i.translate("shipping.shipping_method_recurring_shipments_group_title.other")}),a(d,{customizations:s,options:H}),a(p,{background:"subdued",padding:"base",borderRadius:"base",gap:"@media (inline-size >= extraSmall) small-100, small-200",children:l.map((e,i)=>a(B,{subscriptionLine:e,subscriptionLinesLength:o,index:i,showDivider:!1},e.id||q()))}),a(d,{customizations:r,options:H})]})}const A=b("ShipmentBreakdownDetails");function C({targetMerchandiseLines:e,selectedDeliveryMethod:i,merchandiseQuantityText:n,modalHeader:s}){const r=u(void 0,A);return a(t,{children:[a(h,{commandFor:r,children:a(p,{direction:"inline",alignItems:"center",gap:"base",children:[e.length>1?a(g,{variant:"fan-legacy",merchandise:e,size:"small",useResponsiveImageSources:!0,useTitleAsAltTextFallback:!0}):a(z,{merchandiseItem:e[0],hideBadge:!0}),a(p,{direction:"inline",alignItems:"center",gap:"small-500",children:[a(_,{tone:"accent",type:"truck",size:"small"}),a(v,{tone:"accent",size:"small",children:n})]})]})}),a(D,{id:r,merchandiseLines:e,deliveryMethod:i,modalHeader:s})]})}function E({quantityTitle:e,open:i,onClick:n,controlId:t}){return a(h,{expanded:i,controlId:t,onClick:n,children:a(p,{direction:"inline",gap:"small-400",alignItems:"center",children:[a(v,{children:e}),a(_,{size:"small-200",type:i?"chevron-up":"chevron-down"})]})})}function G(){const{checkout:e,i18n:i}=S(),n=s(!1),c=j(),d=r(()=>L(c.value.selectedDeliveryMethod)),m=r(()=>d.value.length),u=r(()=>{if(!d.value?.length)return"";const n=i.translate("shipping.split_shipping_multiple_shipment_quantity_label",{quantity:d.value.length});return x({checkout:e})?i.translate("shipping.split_shipping_first_shipment_notice",{quantity_shipments:n}):i.translate("shipping.split_shipping_shipment_notice",{quantity_shipments:n})}),h=r(()=>c.value.selectedDeliveryMethod);return a(l,{when:h,children:e=>a(t,{children:[a(v,{color:"subdued",children:a(p,{direction:"inline",alignItems:"center",gap:"small-500",children:[a(_,{type:"truck"}),a(E,{quantityTitle:u.value,open:n.value,onClick:()=>n.value=!n.value,controlId:"shipmentBreakdown"})]})}),a(y,{open:n.value,id:"shipmentBreakdown",children:[a(f,{blockSize:"small-100"}),a(p,{gap:"small-100",children:a(o,{each:d,children:({targetMerchandiseLines:n},t)=>a(C,{targetMerchandiseLines:n,selectedDeliveryMethod:e,merchandiseQuantityText:i.translate("order_summary.discount_discovery.merchandise_quantity_label",{count:k(n)}),modalHeader:i.translate("shipping.split_shipping_merchandise_shipment_number",{number:t+1,total:m.value})})})})]})]})})}export{G as S,R as a};
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.