1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,241892,688829,l=>{"use strict";l.s([],241892),l.s(["SimplifiedFooter",()=>u],688829);var e=l.i(391398),n=l.i(191788);l.i(388008);var i=l.i(879045);l.i(354526);var t=l.i(309015);l.i(543336);var a=l.i(345970),r=l.i(900018),o=l.i(724096);let u=n.default.forwardRef((l,a)=>{let{legalLinks:u,needHelpSection:y,isButtonFixed:b,buttonHeight:f,trademarkText:h,trademarksText:k,...D}=l,{data:x}=(0,o.useGetSiteData)(),A=(0,n.useRef)(null),L=(0,r.isfooterLegalReqEnabled)(x.locale);return(0,n.useEffect)(()=>{(0,r.isGenesysChatEnabled)(x.locale)&&A.current&&A.current.querySelectorAll("a").forEach(l=>{"#open-chat"===l.getAttribute("href")&&(l.removeAttribute("href"),l.onclick=window.openMessenger,l.style.cursor="pointer",l.style.textDecoration="underline")})},[A]),(0,e.jsxs)(d,{ref:a,...D,css:{pb:b?"".concat(f,"px"):0,"@md":{pb:0}},children:[(0,e.jsx)(s,{children:(0,e.jsx)(m,{children:(0,e.jsx)(t.Text,{ref:A,css:{m:"0 auto",fontSize:"$s",flexWrap:"wrap",display:"block"},children:y})})}),(0,e.jsx)(g,{children:k&&L?(0,e.jsx)(t.Text,{css:{color:"$copyWhiteSmoke",textAlign:"center",maxWidth:"68rem",marginTop:"$3",padding:"$0 $5",fontSize:"$xs","& p:nth-of-type(2)":{textAlign:"center",fontSize:"$sm",marginBottom:"0"},"@md":{textAlign:"left"}},children:null==k?void 0:k.replace("{{year}}",new Date().getFullYear().toString())}):null}),(0,e.jsxs)(c,{css:{...L?{paddingBottom:"$6"}:{padding:"$6"}},children:[(0,e.jsx)(t.Text,{css:{color:"$copyMediumGray",fontSize:"$sm",lineHeight:"$7",textAlign:"center"},children:h}),(0,e.jsx)(v,{children:null==u?void 0:u.map((l,n)=>l?(0,e.jsx)(p,{children:(0,e.jsx)(i.Link,{...l,css:{color:"$copyMediumGray"}})},"".concat(l.href,"-").concat(n)):null)})]})]})}),d=(0,a.styled)("footer",{display:"flex",width:"100%",flexDirection:"column",alignItems:"center",backgroundColor:"rgb(242, 242, 242)",variants:{isButtonFixed:{true:{pb:"70px","@md":{pb:0}},false:{}}}}),s=(0,a.styled)("div",{width:"100%",maxWidth:"none",display:"flex",alignItems:"center",padding:"$6 $0 $5",justifyContent:"center",flexDirection:"column",backgroundColor:"rgb(242, 242, 242)",textAlign:"center"}),c=(0,a.styled)("div",{width:"100%",display:"flex",flexDirection:"column",backgroundColor:"$bkgBlack",boxSizing:"border-box","@lg":{flexDirection:"row",justifyContent:"center"}}),v=(0,a.styled)("ul",{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignItems:"center"}),p=(0,a.styled)("li",{display:"flex",margin:"0 $0-5","&::before":{content:"-",color:"$copyMediumGray",display:"inline-block",lineHeight:"$7",marginRight:"$1",opacity:"0.7"},"&:first-child":{"&::before":{display:"none","@lg":{display:"inline-block"}}},a:{color:"$copyMediumGray",fontSize:"$sm",lineHeight:"$7",textDecoration:"none","&:hover, &:focus":{textDecoration:"underline",textUnderlineOffset:1}}}),m=(0,a.styled)("div",{table:{tr:{display:"flex",flexDirection:"column",td:{"&:first-child":{marginBottom:"1rem"},"> p":{marginBlock:0}}},"@md":{tr:{display:"table-row",td:{textAlign:"left","&:first-child":{display:"block",marginBottom:"0",marginRight:"3rem"},"p:not(:first-child)":{display:"inline-block"},"p:nth-child(2)":{"&:after":{content:"\\00a0"}},"p:nth-child(3)":{"&:after":{content:" |\\00a0"}}}}}}}),g=(0,a.styled)("div",{backgroundColor:"$bkgBlack",width:"100%",display:"flex",justifyContent:"center"})},172721,398585,47421,443909,l=>{"use strict";l.s(["useCheckoutHeaderMapper",()=>B,"useCheckoutOrderDetailsMapper",()=>H,"useCheckoutOrderDetailsThankYouMapper",()=>V,"useCheckoutOrderSummaryMapper",()=>q,"useCheckoutProgressBarMapper",()=>O,"useSimplifiedFooterMapper",()=>F],172721);var e=l.i(391398);l.i(810615);var n=l.i(436595);l.i(250739);var i=l.i(919070);l.i(543336);var t=l.i(345970);l.i(649076);var a=l.i(288806),r=l.i(939588),o=l.i(719559),u=l.i(724096);l.i(20479);var d=l.i(841499),s=l.i(218872),c=l.i(717929);l.s(["useGetCheckoutData",()=>m],398585);var v=l.i(364034);let p=l.i(642474).QUERY_KEYS.CHECKOUT_DATA,m=()=>{let l=(0,v.useQuery)(p,{staleTime:1/0,keepPreviousData:!1});return l.queryKey=p,{...l}};m.queryKey=p;var g=l.i(900018),y=l.i(310215);l.s(["buildDeliveryRecapGroups",()=>U,"buildGroupPickupList",()=>T,"enrichLogisticsInfo",()=>h,"findDeliverySla",()=>k,"findGroupSelectedPickupEntry",()=>N,"findGroupWindowEntry",()=>w,"formatDeliveryWindowDate",()=>M,"getGroupHomeSlaId",()=>I,"getItemsWithWindows",()=>D,"groupChannelType",()=>W,"groupHasWindows",()=>S,"groupItemIndexes",()=>A,"hasDeliveryWindows",()=>x,"homeAvailableForAll",()=>P],47421);let b="delivery",f="pickup-in-point",h=(l,e)=>
1(null!=l?l:[]).map(l=>{var n,i,t;return{...l,itemName:null!=(t=null==e||null==(n=e[null!=(i=l.itemIndex)?i:-1])?void 0:n.name)?t:l.selectedSla}}),k=l=>{var e;return(null!=(e=null==l?void 0:l.slas)?e:[]).find(e=>e.id===(null==l?void 0:l.selectedSla)&&e.deliveryChannel===b)},D=l=>(null==l?void 0:l.length)?l.filter(l=>{var e,n,i;return l.selectedDeliveryChannel===b&&(null!=(i=null==(n=k(l))||null==(e=n.availableDeliveryWindows)?void 0:e.length)?i:0)>0}).map(l=>{var e,n,i,t,a,r;let o=k(l);return{itemIndex:null!=(e=l.itemIndex)?e:0,itemName:null!=(i=null!=(n=l.itemName)?n:l.selectedSla)?i:"",deliveryOption:{sla:null!=(t=l.selectedSla)?t:"",availableDeliveryWindows:null!=(a=null==o?void 0:o.availableDeliveryWindows)?a:[],selectedDeliveryWindow:null!=(r=null==o?void 0:o.deliveryWindow)?r:null,active:!0,channel:b}}}):[],x=(l,e)=>(null==l?void 0:l.length)?l.some(l=>{var e,n,i;return l.selectedDeliveryChannel===b&&(null!=(i=null==(n=k(l))||null==(e=n.availableDeliveryWindows)?void 0:e.length)?i:0)>0}):(null!=e?e:[]).some(l=>{var e,n;return(null!=(n=null==(e=l.availableDeliveryWindows)?void 0:e.length)?n:0)>0}),A=l=>{var e;return null!=(e=null==l?void 0:l.itemIndexes)?e:[]},L=(l,e)=>{let n=A(l);return(null!=e?e:[]).filter(l=>{var e;return n.includes(null!=(e=l.itemIndex)?e:-1)})},C=(l,e,n)=>{let i=L(l,e);if(0===i.length)return!1;for(let l of i){var t;let e=(null!=(t=l.slas)?t:[]).find(n);if(e&&"boolean"==typeof e.isMethodAvailableForAll)return e.isMethodAvailableForAll}return i.every(l=>{var e;return(null!=(e=l.slas)?e:[]).some(n)})},I=(l,e)=>{for(let i of L(l,e)){var n;let l=(null!=(n=i.slas)?n:[]).find(l=>l.deliveryChannel===b);if(null==l?void 0:l.id)return l.id}return"EnvÃo a domicilio"},P=(l,e)=>C(l,e,l=>l.deliveryChannel===b),T=(l,e)=>{let n=new Map;return L(l,e).forEach(i=>{var t;(null!=(t=i.slas)?t:[]).forEach(i=>{var t,a,r,o,u,d,s,c,v,p,m,g,y,b,h,k,D,x;if(i.deliveryChannel!==f||!(null==(t=i.pickupStoreInfo)?void 0:t.isPickupStore))return;let A=null!=(y=i.pickupPointId)?y:i.id;null==A||n.has(A)||n.set(A,{pickupPointId:i.pickupPointId,slaId:i.id,name:null==(a=i.pickupStoreInfo)?void 0:a.friendlyName,street:"".concat(null!=(b=null==(o=i.pickupStoreInfo)||null==(r=o.address)?void 0:r.street)?b:""," ").concat(null!=(h=null==(d=i.pickupStoreInfo)||null==(u=d.address)?void 0:u.number)?h:"").trim(),postalCode:null==(c=i.pickupStoreInfo)||null==(s=c.address)?void 0:s.postalCode,city:null==(p=i.pickupStoreInfo)||null==(v=p.address)?void 0:v.city,country:null==(g=i.pickupStoreInfo)||null==(m=g.address)?void 0:m.country,distance:null!=i.pickupDistance?"".concat(i.pickupDistance.toFixed(1)," km"):void 0,price:null!=(k=i.price)?k:0,availableForAll:C(l,e,l=>{var e;return(null!=(e=l.pickupPointId)?e:l.id)===A}),availableDeliveryWindows:null!=(D=i.availableDeliveryWindows)?D:[],selectedDeliveryWindow:null!=(x=i.deliveryWindow)?x:null})})}),[...n.values()]},S=(l,e)=>L(l,e).some(l=>{var e,n,i;return(null!=(i=null==(n=k(l))||null==(e=n.availableDeliveryWindows)?void 0:e.length)?i:0)>0}),w=(l,e)=>L(l,e).find(l=>{var e,n,i;return(null!=(i=null==(n=k(l))||null==(e=n.availableDeliveryWindows)?void 0:e.length)?i:0)>0}),N=(l,e)=>L(l,e).find(l=>l.selectedDeliveryChannel===f),W=(l,e)=>{let n=L(l,e);return(n.length?n.some(l=>l.selectedDeliveryChannel===f):l.selectedDeliveryChannel===f)?"pickup":"home"},M=(l,e)=>{let n=e.replace("_","-").toLowerCase().replace(/-(\w+)$/,(l,e)=>"-".concat(e.toUpperCase()));return new Date(l.startDateUtc).toLocaleDateString(n,{weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})},j=l=>{if(!l)return;if("string"==typeof l)return l;let e=[[l.street,l.number].filter(Boolean).join(" "),l.city,l.postalCode].filter(Boolean);return e.length?e.join(", "):void 0},U=(l,e,n)=>{if(!(null==l?void 0:l.length))return[];let i=new Map;for(let g of l){var t,a,r,o,u,d,s,c,v,p,m;let l=(null!=(t=g.slas)?t:[]).find(l=>l.id===g.selectedSla),y=null==e?void 0:e[null!=(a=g.itemIndex)?a:-1],b={name:null!=(o=null!=(r=null==y?void 0:y.name)?r:g.selectedSla)?o:"",imageUrl:null==y?void 0:y.imageUrl},h=null!=(d=null!=(u=null==l?void 0:l.name)?u:g.selectedSla)?d:void 0;if(g.selectedDeliveryChannel===f){let e=null!=(v=null==l||null==(s=l.pickupStoreInfo)?void 0:s.friendlyName)?v:void 0,n=j(null==l||null==(c=l.pickupStoreInfo)?void 0:c.address),t=["pickup",g.selectedSla,e].join("|"),a=i.get(t);a?a.items.push(b):i.set(t,{type:"pickup",methodName:h,pickupName:null!=e?e:void 0,pickupAddress:n,items:[b]})}else{let e=null!=(m=null!=(p=null==l?void 0:l.deliveryWindow)?p:g.deliveryWindow)?m:null,t=e?M(e,n):void 0,a=["delivery",g.selectedSla,null==e?void 0:e.startDateUtc,null==e?void 0:e.endDateUtc].join("|"),r=i.get(a);r?r.items.push(b):i.set(a,{type:"delivery",methodName:h,windowLabel:t,items:[b]})}}return Array.from(i.values())};function $(l){var e,n,i,t,a;let r=null!=(n=null==l?void 0:l.items)?n:[],o={};for(let l of r){let e=null!=(t=null==(i=l.seller)?void 0:i.id)?t:"1";(null!=(a=o[e])?a:o[e]=[]).push(l)}let u=Object.entries(o).map(l=>{var e,n,i,t,a,r;let[o,u]=l;return{groupId:"seller-".concat(o),itemUniqueIds:u.map(l=>l.uniqueId),selectedSla:null!=(a=null==(n=u[0])||null==(e=n.shippingInfo)?void 0:e.selectedSla)?a:"",selectedDeliveryChannel:null!=(r=null==(t=u[0])||null==(i=t.shippingInfo)?void 0:i.selectedDeliveryChannel)?r:"delivery",courierId:"",warehouseId:"",dockId:"",availableChannels:["delivery"]}}),d=(null==l||null==(e=l.logisticsGroups)?void 0:e.length)?l.logisticsGroups.map(l=>{var e;return{...l,itemUniqueIds:null!=(e=l.itemUniqueIds)?e:[]}}):u,s=r.map(l=>{var e,n,i,t,a,r;let o=l.shippingInfo,u=(null==o?void 0:o.shippingEstimateDate)?(l=>{let e=new Date(l),n=e.toLocaleDateString("en-US",{weekday:"long",timeZone:"UTC"}),i=e.getUTCMonth()+1,t=e.getUTCDate(),a=e.getUTCFullYear();return"Get it by ".concat(n,", ").concat(i,"/").concat(t,"/").concat(a)})(o.shippingEstimateDate):void 0;return{uniqueId:l.uniqueId,name:null!=(r=null!=(a=null==(e=l.product)?void 0:e.name)?a:l.name)?r:"",imageUrl:null==(i=l.assets)||null==(n=i.find(l=>(null==l?void 0:l.type)==="IMAGE"))?void 0:n.src,deliveryTimeLabel:u,seller:(null==(t=l.seller)?void 0:t.id)!=="1"?l.seller:void 0}}),c=new Set(Object.entries(o).filter(l=>{let[e]=l;return"1"!==e}).flatMap(l=>{let[,e]=l;return e.map(l=>l.uniqueId)})),v=d.filter(l=>l.itemUniqueIds.some(l=>c.has(l))).map(l=>l.groupId);return{parcelsGroups:d,parcelItems:s,marketplaceGroupIds:v}}l.s(["useMarketplaceParcels",()=>$],443909);var E=l.i(943622),G=l.i(979287);let B=(l,e)=>{var n;let{data:i}=(0,o.useGetTranslations)({locale:e}),{data:t}=(0,u.useQueryGetSiteData)(),{data:a}=(0,c.useGetHeaderDrawer)({locale:null==t?void 0:t.locale});return{props:{backToCartCta:null==a||null==(n=a.cart)?void 0:n.myCartCta,logoLink:(0,d.linkHelper)(t,"/"),image:null==l?void 0:l.logoWhite,icon:{name:"Padlock",text:null==i?void 0:i.padlockSecureLabel}}}},F=(l,e)=>{var n,i;return{props:{legalLinks:(null==l||null==(n=l.legalLinks)?void 0:n.links)||[],trademarksText:(null==l||null==(i=l.legalLinks)?void 0:i.trademarksText)||"",needHelpSection:null==l?void 0:l.needHelpSection,trademarkText:((null==e?void 0:e.simplified_trademark_text)||"© KitchenAid {{year}} - All rights reserved").replace("{{year}}",new Date().getFullYear().toString())}}},O=(l,e)=>{let{activeStepIndex:n,goToStep:t}=(0,i.useWizard)();return{props:{activeStepIndex:0===n?n:n-1,goToStep:l=>t(l+1),steps:(l?[...l]:[])||[],otpStepEnabled:e}}},q=function(l){var i,t,d,s,c,v,p,m,b,f,h,k,D,x,A,L,C,I,P,T,S,w,N,W,M;let j=!(arguments.length>1)||void 0===arguments[1]||arguments[1],U=arguments.length>2?arguments[2]:void 0,{data:$}=(0,u.useQueryGetSiteData)(),{data:B}=(0,o.useGetTranslations)({locale:null==$?void 0:$.locale}),{trackAffirmClickEvent:F}=(0,E.useTrackAffirmClickEvent)(),O=(0,G.useSoldBySeller)(null==$?void 0:$.locale);if(!l)return{props:null};let q=(null==U?void 0:U.items)?null==U?void 0:U.items:null==(i=l.cart)?void 0:i.items,_=null==$?void 0:$.locale,H=(0,r.totalPriceRemap)(_,null==l||null==(t=l.cart)?void 0:t.total,null==$?void 0:$.currency),V=(0,g.isCheckoutSummaryAdditionalFieldsEnabled)(_),R=null==q||!q.some(l=>!l.showPrice);return{props:{title:j?null==l||null==(c=l.cart)||null==(s=c.labels)||null==(d=s.informationLabels)?void 0:d.titleLabel:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(Q,{children:[(0,e.jsx)(Y,{children:(0,e.jsx)(n.Icon,{icon:"Check",label:"",fill:"white"})}),(0,e.jsx)(n.Icon,{icon:"Cart",label:"",css:{size:20}})]}
1),null==l||null==(m=l.cart)||null==(p=m.labels)||null==(v=p.informationLabels)?void 0:v.myOrderDetailLabel]}),countLabel:(null==l||null==(b=l.cart)?void 0:b.totalItemCount)>1?"".concat(null==l||null==(f=l.cart)?void 0:f.totalItemCount," ").concat(null==l||null==(D=l.cart)||null==(k=D.labels)||null==(h=k.informationLabels)?void 0:h.countPluralLabel):"".concat(null==l||null==(x=l.cart)?void 0:x.totalItemCount," ").concat(null==l||null==(C=l.cart)||null==(L=C.labels)||null==(A=L.informationLabels)?void 0:A.countSingularLabel),quantityLabel:null==l||null==(T=l.cart)||null==(P=T.labels)||null==(I=P.informationLabels)?void 0:I.itemQuantityLabel,products:(null==q?void 0:q.map(e=>{var n,i,t,o,u,d;if(!(null==(e=(0,r.itemsRemap)($.locale,e,$.currency))?void 0:e.product))return null;let[s,c]=(null==(n=e.assets)?void 0:n.filter(l=>(null==l?void 0:l.type)==="IMAGE"))||[];return{name:e.product.name,twelveNc:e.product.twelveNc,primaryImage:(0,a.imageFieldsToImageProps)(s),secondaryImage:(0,a.imageFieldsToImageProps)(c),href:null==(i=e.product.detailPageLink)?void 0:i.href,modelName:V?null==(t=e.product)?void 0:t.twelveNc:null,price:e.price&&e.showPrice?{current:e.price.current,special:e.price.special,...e.price.currentValue||0!==e.price.specialValue?{}:{freeLabel:null==B?void 0:B.freeLabel}}:null,engraving:e.engraving?{text:e.engraving.text,label:null==l||null==(d=l.cart)||null==(u=d.labels)||null==(o=u.informationLabels)?void 0:o.engravingLabel,price:e.engraving.price?{current:e.engraving.price.current,special:e.engraving.price.special!==e.engraving.price.current?e.engraving.price.special:null,...e.engraving.price.current||0!==parseInt(e.engraving.price.special)?{}:{freeLabel:null==B?void 0:B.freeLabel}}:null}:null,quantity:e.quantity,seller:e.seller}}).filter(l=>l))||[],subTotal:{label:null==H?void 0:H.subTotalLabel,value:null==H?void 0:H.subTotalValue},price:U?null==U?void 0:U.total:{label:null==H?void 0:H.totalLabel,value:null!=(M=null==H?void 0:H.totalValue)?M:null==B?void 0:B.freeLabel},shipping:{label:null==H?void 0:H.shippingLabel,value:(null==H?void 0:H.shippingTotalValue)||(null==B?void 0:B.freeLabel)},discount:(null==H?void 0:H.discountTotalValue)?{label:null==H?void 0:H.discountLabel,value:null==H?void 0:H.discountTotalValue}:null,giftWrapping:(null==(w=l.cart)||null==(S=w.giftWrapping)?void 0:S.active)?{label:null==(W=l.cart)||null==(N=W.total)?void 0:N.giftWrappingLabel,value:(null==H?void 0:H.giftWrappingTotalValue)||(null==B?void 0:B.freeLabel)}:null,taxes:V&&(null==H?void 0:H.taxesValue)?{label:(null==B?void 0:B.cartComponentTaxesLabel)||"Taxes",value:null==H?void 0:H.taxesValue}:null,ecoFees:(0,g.isEcoFeeEnabled)(_)&&V&&(null==H?void 0:H.ecoFeesValue)?{label:null==B?void 0:B.ecoFeeLabel,value:null==H?void 0:H.ecoFeesValue,toolTip:null==B?void 0:B.ecoFeeToolTip}:null,servicesPricings:V?null==H?void 0:H.servicesPricings.map(l=>({label:l.summaryServiceLabel,value:l.price})):[],locale:_,country:(0,y.toDataCountry)(_),affirmWidget:{enable:(0,g.affirmWidgetEnabled)(_),id:(0,g.affirmWidgetToken)(_),onLearnMoreClick:l=>{let e=l.target;e.matches(".affirm-modal-trigger")&&F({action:"Button Click - ".concat(e.innerHTML||e.innerText),component:"button",component_text:e.parentElement.innerText,cta_type:"Url",link_text:e.innerHTML||e.innerText})}},isCartPriceShown:R,soldBySeller:O}}},_=(l,e,n,i)=>{var t,a,r;let o=null!=(a=null==i?void 0:i.deliveryTimePromiseLabel)?a:"";if(!(0,g.isDeliveryWindowEnabled)(e))return o;let u=(l=>{var e,n,i,t;for(let a of null!=(n=null==l||null==(e=l.cart)?void 0:e.logisticsInfo)?n:[]){let l=(null!=(i=a.slas)?i:[]).find(l=>l.id===a.selectedSla),e=null!=(t=null==l?void 0:l.deliveryWindow)?t:a.deliveryWindow;if(e)return e}return null})(l);if(u)return((l,e)=>{let n=(null!=e?e:"").replace("_","-").toLowerCase().replace(/-(\w+)$/,(l,e)=>"-".concat(e.toUpperCase()));return new Date(l.startDateUtc).toLocaleDateString(n,{weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})})(u,e);if((null!=(r=null==l||null==(t=l.cart)?void 0:t.logisticsInfo)?r:[]).some(l=>"pickup-in-point"===l.selectedDeliveryChannel)||(null==n?void 0:n.deliveryTypeSelected)===s.DeliveryOption.PICKUP){let l=null==n?void 0:n.shippingAddress;
1return[null==l?void 0:l.street,null==l?void 0:l.city].filter(Boolean).join(", ")}return o},H=function(l,e,n,i){var t,a,r,u,d,s,c,v,p,y,b,f,h,k,D,x,A,L,C,I,P,T,S,w,N,W,M,j,E,G,B,F,O,q,H,V,R,z,K,Q,Y,Z,J,X;let ll=!(arguments.length>4)||void 0===arguments[4]||arguments[4],le=(0,g.isAddressComplementInCheckoutContactInfoEnabled)(e),ln=null==l||null==(a=l.cart)||null==(t=a.deliveryOptions)?void 0:t.find(l=>{let{active:e}=l;return e}),{data:li}=(0,o.useGetTranslations)({locale:e}),{data:lt}=m(),la=(0,g.isDeliveryWindowEnabled)(e)?U(null==l||null==(r=l.cart)?void 0:r.logisticsInfo,(null!=(J=null==l||null==(u=l.cart)?void 0:u.items)?J:[]).map(l=>({name:null==l?void 0:l.name})),e):[],lr=la.length?{title:null==lt||null==(d=lt.labels)?void 0:d.deliveryModeLabel,groups:la}:void 0,{parcelsGroups:lo,parcelItems:lu,marketplaceGroupIds:ld}=$(null==l?void 0:l.cart),ls=null!=(X=null==li?void 0:li.multipleDelivery_parcelLabel)?X:"Parcel",lc=ld.length?lo.map((l,e)=>{let n=lu.find(e=>l.itemUniqueIds.includes(e.uniqueId));return{label:"".concat(ls," ").concat(e+1),dateLabel:null==n?void 0:n.deliveryTimeLabel}}):void 0;return{props:{title:ll?null==li?void 0:li.myContactInfoLabel:null==l||null==(v=l.cart)||null==(c=v.labels)||null==(s=c.informationLabels)?void 0:s.myOrderDetailLabel,companyDetails:(null==lt||null==(p=lt.clientProfileData)?void 0:p.companyName)&&(null==lt||null==(y=lt.clientProfileData)?void 0:y.vat)?{title:null==li?void 0:li.companyDetailLabel,name:null==lt||null==(b=lt.clientProfileData)?void 0:b.companyName,vat:null==lt||null==(f=lt.clientProfileData)?void 0:f.vat}:null,personalDetails:{title:null==lt||null==(h=lt.labels)?void 0:h.personalDetailsTitle,firstName:null==lt||null==(k=lt.clientProfileData)?void 0:k.firstName,lastName:null==lt||null==(D=lt.clientProfileData)?void 0:D.lastName,email:null==lt||null==(x=lt.clientProfileData)?void 0:x.email,phone:null==lt||null==(A=lt.clientProfileData)?void 0:A.phone},deliveryAddress:{title:null==lt||null==(L=lt.labels)?void 0:L.deliveryAddressTitle,firstName:null==lt||null==(C=lt.shippingAddress)?void 0:C.firstName,lastName:null==lt||null==(I=lt.shippingAddress)?void 0:I.lastName,streetName:null==lt||null==(P=lt.shippingAddress)?void 0:P.street,streetNumber:null==lt||null==(T=lt.shippingAddress)?void 0:T.number,city:null==lt||null==(S=lt.shippingAddress)?void 0:S.city,postalCode:null==lt||null==(w=lt.shippingAddress)?void 0:w.postalCode,country:null==lt||null==(N=lt.shippingAddress)?void 0:N.country,state:null==lt||null==(W=lt.shippingAddress)?void 0:W.state,box:null==lt||null==(M=lt.shippingAddress)?void 0:M.complement},hasBillingAddress:null==lt?void 0:lt.useDistinctBillingAddress,sameDeliveryAndBilllingLabel:null==li?void 0:li.sameAsDeliveryAddressLabel,billingAddress:{title:null==lt||null==(j=lt.labels)?void 0:j.billingAddressTitle,firstName:null==lt||null==(E=lt.billingAddress)?void 0:E.firstName,lastName:null==lt||null==(G=lt.billingAddress)?void 0:G.lastName,streetName:null==lt||null==(B=lt.billingAddress)?void 0:B.street,phone:null==lt||null==(F=lt.billingAddress)?void 0:F.phone,streetNumber:null==lt||null==(O=lt.billingAddress)?void 0:O.number,city:null==lt||null==(q=lt.billingAddress)?void 0:q.city,postalCode:null==lt||null==(H=lt.billingAddress)?void 0:H.postalCode,country:null==lt||null==(V=lt.billingAddress)?void 0:V.country,state:null==lt||null==(R=lt.billingAddress)?void 0:R.state,box:null==lt||null==(z=lt.billingAddress)?void 0:z.complement},deliveryMode:{title:null==lt||null==(K=lt.labels)?void 0:K.deliveryModeLabel,name:null==ln?void 0:ln.name,dateLabel:_(l,e,lt,ln)},deliveryRecap:lr,parcels:lc,paymentMethod:n&&!ll?{title:null==li?void 0:li.paymetMethodLabel,images:n}:void 0,klarnaPaymentData:i,addressComplementInCheckoutContactInfo:le,pickupPoint:{pickupPointName:null==lt||null==(Q=lt.shippingAddress)?void 0:Q.pickupPointName,isPickupPoint:null==lt||null==(Y=lt.shippingAddress)?void 0:Y.isPickupPoint,pickupPointId:null==lt||null==(Z=lt.shippingAddress)?void 0:Z.pickupPointId}}}},V=function(l,e,n,i,t){var a,r,d,s,c,v,p,g,y,b,f,h,k,D,x,A;let L=!(arguments.length>5)||void 0===arguments[5]||arguments[5],C=arguments.length>6?arguments[6]:void 0,I=arguments.length>
17?arguments[7]:void 0,P=arguments.length>8&&void 0!==arguments[8]&&arguments[8],T=arguments.length>9?arguments[9]:void 0,S=null==e||null==(r=e.cart)||null==(a=r.deliveryOptions)?void 0:a.find(l=>{let{active:e}=l;return e}),{data:w}=m(),{data:N}=(0,u.useQueryGetSiteData)(),{data:W}=(0,o.useGetTranslations)({locale:null==N?void 0:N.locale}),{parcelsGroups:M,parcelItems:j,marketplaceGroupIds:U}=$(null==e?void 0:e.cart),E=null!=(f=null==W?void 0:W.multipleDelivery_parcelLabel)?f:"Parcel",G=U.length?M.map((l,e)=>{let n=j.find(e=>l.itemUniqueIds.includes(e.uniqueId));return{label:"".concat(E," ").concat(e+1),dateLabel:null==n?void 0:n.deliveryTimeLabel}}):void 0;return{props:{title:L?null==W?void 0:W.myContactInfoLabel:P?null==W?void 0:W.myOrderDetailLabel:null==e||null==(x=e.cart)||null==(D=x.labels)||null==(k=D.informationLabels)?void 0:k.myOrderDetailLabel,companyDetails:(null==w||null==(d=w.clientProfileData)?void 0:d.companyName)&&(null==w||null==(s=w.clientProfileData)?void 0:s.vat)?{title:null==W?void 0:W.companyDetailLabel,name:null==w||null==(c=w.clientProfileData)?void 0:c.companyName,vat:null==w||null==(v=w.clientProfileData)?void 0:v.vat}:null,personalDetails:{...null==l?void 0:l.personalDetail,title:null!=(h=P?null==W?void 0:W.personalDetailsLabel:null==w||null==(A=w.labels)?void 0:A.personalDetailsTitle)?h:null==l||null==(p=l.personalDetail)?void 0:p.title},deliveryAddress:R(w,C),pickupPoint:{pickupPointName:null==w||null==(g=w.shippingAddress)?void 0:g.pickupPointName,isPickupPoint:null==w||null==(y=w.shippingAddress)?void 0:y.isPickupPoint,pickupPointId:null==w||null==(b=w.shippingAddress)?void 0:b.pickupPointId},hasBillingAddress:null==w?void 0:w.useDistinctBillingAddress,sameDeliveryAndBilllingLabel:null==W?void 0:W.sameAsDeliveryAddressLabel,billingAddress:z(w,C),deliveryMode:T||K(w,C,S,e,null==N?void 0:N.locale),parcels:G,klarnaPaymentData:t,paymentMethod:i&&!L?{title:null==W?void 0:W.paymetMethodLabel,images:i}:void 0,installments:{data:n,dateLabel:null==W?void 0:W.installmentsDateLabel,statusLabel:null==W?void 0:W.installmentsStatusLabel,isPaid:null==W?void 0:W.installmentsIsPaidLabel,notPaid:null==W?void 0:W.installmentsNotPaidLabel,alma3xLabel:null==W?void 0:W.installmentsAlma3xLabel,scheduled:null==W?void 0:W.installmentsScheduledLabel,klarnaPayLaterLabel:null==W?void 0:W.klarnaPayLaterLabel,klarnaPayOverTimeLabel:null==W?void 0:W.klarnaPayOverTimeLabel,klarnaPayOverTimeText:null==W?void 0:W.klarnaPayOverTimeText,klarnaPayLaterText:null==W?void 0:W.klarnaPayLaterText,alma4xLabel:null==W?void 0:W.checkout_alma_4x,alma10xLabel:null==W?void 0:W.checkout_alma_10x,alma12xLabel:null==W?void 0:W.checkout_alma_12x},locale:null==N?void 0:N.locale,addressComplementInCheckoutContactInfo:I}}},R=(l,e)=>{var n,i,t,a,r,o,u,d,s;return(null==e?void 0:e.deliveryAddress)?e.deliveryAddress:{title:(null==l||null==(n=l.labels)?void 0:n.deliveryAddressTitle)||"",firstName:null==l||null==(i=l.shippingAddress)?void 0:i.firstName,lastName:null==l||null==(t=l.shippingAddress)?void 0:t.lastName,streetName:(null==l||null==(a=l.shippingAddress)?void 0:a.street)||"",streetNumber:null==l||null==(r=l.shippingAddress)?void 0:r.number,city:(null==l||null==(o=l.shippingAddress)?void 0:o.city)||"",postalCode:(null==l||null==(u=l.shippingAddress)?void 0:u.postalCode)||"",country:(null==l||null==(d=l.shippingAddress)?void 0:d.country)||"",box:null==l||null==(s=l.shippingAddress)?void 0:s.complement}},z=(l,e)=>{var n,i,t,a,r,o,u,d,s,c;return(null==e?void 0:e.billingAddress)?e.billingAddress:(null==l?void 0:l.billingAddress)&&(l=>!!((null==l?void 0:l.firstName)&&(null==l?void 0:l.lastName)&&(null==l?void 0:l.street)&&(null==l?void 0:l.postalCode)&&(null==l?void 0:l.country)))(l.billingAddress)?{title:(null==l||null==(n=l.labels)?void 0:n.billingAddressTitle)||"",firstName:null==l||null==(i=l.billingAddress)?void 0:i.firstName,lastName:null==l||null==(t=l.billingAddress)?void 0:t.lastName,streetName:(null==l||null==(a=l.billingAddress)?void 0:a.street)||"",phone:null==l||null==(r=l.billingAddress)?void 0:r.phone,streetNumber:null==l||null==(o=l.billingAddress)?void 0:o.number,city:(null==l||null==(u=l.billingAddress)?void 0:u.city)||"",postalCode:(null==l||null==(d=l.billingAddress)?void 0:d.postalCode)||"",country:(null==l||null==(s=l.billingAddress)?void 0:s.country)||"",box:null==l||null==(c=l.billingAddress)?void 0:c.complement}:void 0},K=(l,e,n,i,t)=>{var a;return(null==e?void 0:e.deliveryMode)?e.deliveryMode:{title:(null==l||null==(a=l.labels)?void 0:a.deliveryModeLabel)||"",name:(null==n?void 0:n.name)||"",dateLabel:_(i,t,l,n)}},Q=(0,t.styled)("span",{display:"inline-flex",mr:14,position:"relative"}),Y=(0,t.styled)("span",{position:"absolute",top:-6,right:-6,size:14,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"$inputValid",borderRadius:"50%",pointerEvents:"none",zIndex:5,svg:{size:8,fill:"$copyWhite"}})}]);
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.