1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30800],{411867:(e,s,i)=>{i.d(s,{A:()=>x});var r=i(695155),n=i(934515),d=i(508296),o=i(406368),a=i(202543),t=i(981980),l=i(888750),c=i(234237),b=i(363555),u=i(773840),h=i(48257);let m="webview/api/price-drop-watchlist",p=e=>{let{ratio:s,label:i}=e;return(0,r.jsxs)(t.az,{w:"100%",bg:"sbds-background-color-primary",borderRadius:"sbds-dimension-border-radius-s",overflow:"hidden",border:"solid 1px {colors.sbds-border-color-subtle}",children:[(0,r.jsx)(t.ov,{style:{aspectRatio:s},children:(0,r.jsx)(t.ov,{w:"sbds-dimension-size-15",h:"sbds-dimension-size-15",borderRadius:"sbds-dimension-border-radius-full",bg:"sbds-color-red-5",children:(0,r.jsx)(n.Xhp,{size:"md",color:"sbds-font-color-error"})})}),(0,r.jsx)(t.BJ,{gap:"sbds-dimension-size-1",p:"sbds-dimension-space-size-s",children:(0,r.jsx)(d.A,{variant:"caption-1",tone:"secondary",align:"center",children:i})})]})},x=e=>{let{data:s,trackingData:i}=e,n=(0,a.A)("webview"),{tracking_data:x}=s.detail,{user:w}=(0,c.O)(),{data:g,isLoading:j}=(0,b.X)({queryKey:[m],queryFn:()=>(0,o.c)(m),enabled:!!w,throwOnError:!1}),f=null!=g?g:[];if(!j&&0===f.length)return null;let v={...i,...x},z=f.length<2,A=n("Add items to your watchlist");return(0,r.jsxs)(t.az,{mx:"sbds-dimension-space-size-m",bg:"sbds-status-color-error-lighter",borderRadius:"sbds-dimension-border-radius-m",overflow:"hidden",pb:"sbds-dimension-space-size-m",children:[(0,r.jsxs)(t.BJ,{px:"sbds-dimension-space-size-m",py:"sbds-dimension-space-size-m",gap:"sbds-dimension-space-size-xs",children:[(0,r.jsx)(d.A,{variant:"section-heading-2",weight:"bold",truncate:2,children:n("Watched items just dropped")}),(0,r.jsx)(d.A,{variant:"caption-1",tone:"secondary",children:n("Lowest in 30 days \xb7 cashback still on")})]}),(0,r.jsx)(t.az,{bg:"sbds-background-color-primary",borderRadius:"sbds-dimension-border-radius-m",mx:"sbds-dimension-space-size-m",py:"sbds-dimension-space-size-m",overflow:"hidden",children:j?(0,r.jsx)(l.A,{slidesToShow:2,numberOfSlides:2,isUnitCarousel:!0,children:Array.from({length:2},(e,s)=>(0,r.jsx)(h.A,{ratio:1.5},s))},"skeleton"):(0,r.jsxs)(l.A,{slidesToShow:2,numberOfSlides:f.length+Number(z),isUnitCarousel:!0,children:[f.map((e,s)=>(0,r.jsx)(u.A,{index:s,data:e,trackingData:v,ratio:1.5},e.skuId)),z&&(0,r.jsx)(p,{ratio:1.5,label:A})]},"content")})]})}},430800:(e,s,i)=>{i.r(s),i.d(s,{default:()=>r.A});var r=i(411867)},773840:(e,s,i)=>{i.d(s,{A:()=>h});var r=i(695155),n=i(934515),d=i(761722),o=i(33489),a=i(508296),t=i(398122),l=i(439026),c=i(202543),b=i(981980),u=i(700914);let h=e=>{let{ratio:s,index:i,data:h,trackingData:m}=e,p=(0,c.A)("webview"),{currency:x,locale:w}=(0,t.T)(),{skuId:g,title:j,imageUrl:f,sellerName:v,savedPrice:z,newPrice:A,cashbackAmount:_}=h,k="shopback://sku?id=".concat(g,"&ui_element_click_id=009"),y={...m,feature_type:"price_drop_watchlist",feature_id:g,feature_name:j,seller_name:v,feature_position:i+1,feature_destination_url:k,price:A,original_price:z,cashback_amount:null!=_?_:void 0},R=(0,l.G)(A,x,w,{precision:Number.isInteger(A)?0:void 0}),N=(0,l.G)(z,x,w,{precision:Number.isInteger(z)?0:void 0}),C=_?(0,l.G)(_,x,w,{precision:Number.isInteger(_)?0:void 0}):null;return(0,r.jsxs)(u.A,{display:"flex",flexDir:"column",w:"100%",gap:"sbds-dimension-space-size-xs",href:k,interactionTrackingData:y,children:[(0,r.jsx)(b.az,{overflow:"hidden",style:{aspectRatio:s},children:(0,r.jsx)(d.A,{src:f,alt:j,width:0,height:0,objectFit:"cover",w:"100%",h:"100%",border:"1px solid {colors.sbds-border-color-subtle}",borderRadius:"sbds-dimension-border-radius-m"})}),v&&(0,r.jsx)(a.A,{variant:"caption-1",tone:"secondary",truncate:1,children:v}),(0,r.jsx)(a.A,{weight:"bold",truncate:2,children:j}),(0,r.jsxs)(b.so,{align:"center",gap:0,children:[(0,r.jsx)(a.A,{weight:"bold",children:R}),(0,r.jsx)(n.tz5,{size:"xs",color:"sbds-font-color-error",ml:"sbds-dimension-space-size-xs"}),(0,r.jsx)(a.A,{variant:"caption-1",color:"sbds-font-color-error",weight:"medium",truncate:1,ml:"sbds-dimension-size-1",children:N})]}),C&&(0,r.jsx)(a.A,{variant:"caption-1",color:"sbds-interaction-color-link",weight:"medium",children:p("{amount} Cashback",{amount:C})}),(0,r.jsx)(o.A,{variant:"warning",w:"fit-content",withBorder:!0,solid:!0,size:"small",children:p("Price Drop")})]})}}}]);
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.