1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3054],{61799:(s,t,n)=>{n.r(t),n.d(t,{SummaryBoxPromotionsV2:()=>h,default:()=>c});var e=n(85893),o=n(68827);n(67294);var a=n(62197),r=n(86239),i=n(59936),d=n(45007),l=n(83172),m=n(85830);let u=(0,d.$j)(s=>({promotions:(0,l.Wk)(s),hasPendingSkus:s.cart.pendingSkus.length>0}))(s=>{let t,n=(0,o.c)(3),{promotions:i}=s;return!i||i.length<=0?null:(n[0]!==i||n[1]!==s.hasPendingSkus?(t=i?(0,e.jsx)(e.Fragment,{children:i.map(t=>(0,e.jsxs)(a.NA,{"data-testid":`summaryBox-promotionItems-testId-${t.name}`,children:[(0,e.jsx)(a.EA,{children:s.hasPendingSkus?(0,e.jsx)(m.Yb,{}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.pA,{name:"Check"}),t.name]})}),(0,e.jsx)(a.X8,{children:s.hasPendingSkus?(0,e.jsx)(m.SF,{}):`-${t.savings}`})]},t.name))}):null,n[0]=i,n[1]=s.hasPendingSkus,n[2]=t):t=n[2],t)}),h=s=>{let t,n,d,l=(0,o.c)(8),{title:h,savings:c,promotions:x,shouldShowMemberPricing:j}=s;if(!c)return null;let g=`SummaryBoxPromotionsV2.${j?"totalProductNonPromoCodeSavingsWithoutLoyalty":"totalProductNonPromoCodeSavings"}`,S=j?c.totalProductNonPromoCodeSavingsWithoutLoyalty:c.totalProductNonPromoCodeSavings,P=S&&(0,i.Z)(g,S,!0)>0;return P||x&&!(x.length<=0)?(l[0]!==P||l[1]!==s||l[2]!==S||l[3]!==h?(t=P&&(0,e.jsxs)(a.NA,{"data-testid":s["data-testid"],children:[(0,e.jsx)(a.EA,{children:s.hasPendingSkus?(0,e.jsx)(m.Yb,{}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.pA,{name:"Check"}),h]})}),(0,e.jsx)(a.X8,{children:s.hasPendingSkus?(0,e.jsx)(m.SF,{}):`-${S}`})]}),l[0]=P,l[1]=s,l[2]=S,l[3]=h,l[4]=t):t=l[4],l[5]===Symbol.for("react.memo_cache_sentinel")?(n=(0,e.jsx)(u,{}),l[5]=n):n=l[5],l[6]!==t?(d=(0,e.jsxs)(a.jC,{"data-testid":"summaryBoxPromotionsV2-summaryListItemBox-div-testId",children:[t,n]}),l[6]=t,l[7]=d):d=l[7],d):null},c=(0,d.$j)(s=>({promotions:(0,l.Wk)(s)}))(h)}}]);
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.