1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4964],{64964:function(t,e,n){n.d(e,{q:function(){return ItemCard}});var r=n(72253),i=n(14932),c=n(47702),o=n(85893),u=n(30713),a=n(13742),l=n(82729),d=n(85444),m=n(6635);function _templateObject(){var t=(0,l._)(["\n gap: ","px;\n "]);return _templateObject=function(){return t},t}function _templateObject1(){var t=(0,l._)(["\n gap: ","px;\n "]);return _templateObject1=function(){return t},t}function _templateObject2(){var t=(0,l._)(["\n gap: ","px;\n "]);return _templateObject2=function(){return t},t}function _templateObject3(){var t=(0,l._)(["\n color: ",";\n "]);return _templateObject3=function(){return t},t}function _templateObject4(){var t=(0,l._)(["\n color: ",";\n "]);return _templateObject4=function(){return t},t}function _templateObject5(){var t=(0,l._)(["\n color: ",";\n "]);return _templateObject5=function(){return t},t}function _templateObject6(){var t=(0,l._)(["\n background: ",";\n "]);return _templateObject6=function(){return t},t}function _templateObject7(){var t=(0,l._)(["\n background: ",";\n "]);return _templateObject7=function(){return t},t}function _templateObject8(){var t=(0,l._)(["\n background: ",";\n "]);return _templateObject8=function(){return t},t}function _templateObject9(){var t=(0,l._)(["\n border: none;\n "]);return _templateObject9=function(){return t},t}function _templateObject10(){var t=(0,l._)(["\n border-width: 1px;\n border-style: solid;\n "]);return _templateObject10=function(){return t},t}function _templateObject11(){var t=(0,l._)(["\n border-width: ","px;\n border-style: dashed;\n "]);return _templateObject11=function(){return t},t}function _templateObject12(){var t=(0,l._)(["\n border-color: ",";\n "]);return _templateObject12=function(){return t},t}function _templateObject13(){var t=(0,l._)(["\n border-color: ",";\n "]);return _templateObject13=function(){return t},t}function _templateObject14(){var t=(0,l._)(["\n border-color: ",";\n "]);return _templateObject14=function(){return t},t}function _templateObject15(){var t=(0,l._)(["\n background: ",";\n "]);return _templateObject15=function(){return t},t}function _templateObject16(){var t=(0,l._)(["\n background: ",";\n "]);return _templateObject16=function(){return t},t}function _templateObject17(){var t=(0,l._)(["\n background: transparent;\n "]);return _templateObject17=function(){return t},t}function _templateObject18(){var t=(0,l._)(["\n background: transparent;\n "]);return _templateObject18=function(){return t},t}function _templateObject19(){var t=(0,l._)(["\n box-sizing: border-box;\n font-family: ",";\n display: flex;\n flex-direction: row;\n align-items: center;\n border-radius: ","px;\n ","\n padding: ",";\n ","\n ","\n ","\n ","\n"]);return _templateObject19=function(){return t},t}function _templateObject20(){var t=(0,l._)(["\n position: relative;\n width: ","px;\n height: ","px;\n flex-shrink: 0;\n border-radius: ","px;\n overflow: hidden;\n ","\n"]);return _templateObject20=function(){return t},t}function _templateObject21(){var t=(0,l._)(["\n position: absolute;\n right: ","px;\n bottom: ","px;\n min-width: ","px;\n height: ","px;\n padding: 0 ","px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ","px;\n background: ",";\n color: ",";\n font-family: ",";\n font-size: ","px;\n line-height: ","px;\n font-weight: ",";\n"]);return _templateObject21=function(){return t},t}function _templateObject22(){var t=(0,l._)(["\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: ",";\n color: ",";\n"]);return _templateObject22=function(){return t},t}function _templateObject23(){var t=(0,l._)(["\n font-size: ","px;\n line-height: ","px;\n "]);return _templateObject23=function(){return t},t}function _templateObject24(){var t=(0,l._)(["\n font-size: ","px;\n line-height: ","px;\n "]);return _templateObject24=function(){return t},t}
1function _templateObject25(){var t=(0,l._)(["\n font-size: ","px;\n line-height: ","px;\n "]);return _templateObject25=function(){return t},t}function _templateObject26(){var t=(0,l._)(["\n font-size: ","px;\n line-height: ","px;\n "]);return _templateObject26=function(){return t},t}function _templateObject27(){var t=(0,l._)(["\n font-size: ","px;\n line-height: ","px;\n "]);return _templateObject27=function(){return t},t}function _templateObject28(){var t=(0,l._)(["\n font-size: ","px;\n line-height: ","px;\n "]);return _templateObject28=function(){return t},t}function _templateObject29(){var t=(0,l._)(["\n color: ",";\n "]);return _templateObject29=function(){return t},t}function _templateObject30(){var t=(0,l._)(["\n color: ",";\n "]);return _templateObject30=function(){return t},t}function _templateObject31(){var t=(0,l._)(["\n color: ",";\n opacity: 0.85;\n "]);return _templateObject31=function(){return t},t}function _templateObject32(){var t=(0,l._)(["\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: ","px;\n"]);return _templateObject32=function(){return t},t}function _templateObject33(){var t=(0,l._)(["\n font-family: ",";\n font-weight: ",";\n color: inherit;\n ","\n"]);return _templateObject33=function(){return t},t}function _templateObject34(){var t=(0,l._)(["\n ","\n ","\n"]);return _templateObject34=function(){return t},t}function _templateObject35(){var t=(0,l._)(["\n ","\n ","\n"]);return _templateObject35=function(){return t},t}function _templateObject36(){var t=(0,l._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: ","px;\n flex-shrink: 0;\n ","\n"]);return _templateObject36=function(){return t},t}var f={sm:(0,d.iv)(_templateObject(),m.W["200"]),md:(0,d.iv)(_templateObject1(),m.W["400"]),lg:(0,d.iv)(_templateObject2(),m.W["500"])},s={sm:"100",md:"100",lg:"200"},p={default:(0,d.iv)(_templateObject3(),function(t){return t.theme.ds.text.primary}),secondary:(0,d.iv)(_templateObject4(),function(t){return t.theme.ds.text.primary}),brand:(0,d.iv)(_templateObject5(),function(t){return t.theme.ds.stroke.onBrand})},b={default:(0,d.iv)(_templateObject6(),function(t){return t.theme.ds.bg.floating}),secondary:(0,d.iv)(_templateObject7(),function(t){return t.theme.ds.bg.secondary}),brand:(0,d.iv)(_templateObject8(),function(t){return t.theme.ds.bg.brand})},_={none:(0,d.iv)(_templateObject9()),solid:(0,d.iv)(_templateObject10()),dashed:(0,d.iv)(_templateObject11(),m.W["050"])},h={default:(0,d.iv)(_templateObject12(),function(t){return t.theme.ds.stroke.secondary}),secondary:(0,d.iv)(_templateObject13(),function(t){return t.theme.ds.stroke.secondary}),brand:(0,d.iv)(_templateObject14(),function(t){return t.theme.ds.stroke.brand})},j={secondary:(0,d.iv)(_templateObject15(),function(t){return t.theme.ds.bg.secondary}),floating:(0,d.iv)(_templateObject16(),function(t){return t.theme.ds.bg.floating}),transparent:(0,d.iv)(_templateObject17())},O=d.ZP.div.withConfig({displayName:"styles__StyledItemCard",componentId:"sc-d4617cfe-0"})(_templateObject19(),function(t){return t.theme.fonts.default},function(t){return t.theme.ds.radii["400"]},function(t){return f[t.$size]},function(t){var e=t.$size,n=t.$paddingKey;return"".concat(m.W[null!=n?n:s[e]],"px")},function(t){return p[t.$color]},function(t){var e=t.$background,n=t.$color;return"transparent"===e?(0,d.iv)(_templateObject18()):b[n]},function(t){return _[t.$border]},function(t){var e=t.$border,n=t.$color;return"none"!==e?h[n]:null}),g=d.ZP.div.withConfig({displayName:"styles__ThumbWrap",componentId:"sc-d4617cfe-1"})(_templateObject20(),function(t){return t.theme.ds.sizing["80"]},function(t){return t.theme.ds.sizing["80"]},function(t){return t.theme.ds.radii["200"]},function(t){return j[t.$thumbBackground]}),v=d.ZP.span.withConfig({displayName:"styles__ThumbBadge",componentId:"sc-d4617cfe-2"})(_templateObject21(),m.W["050"],m.W["050"],function(t){return t.theme.ds.sizing["24"]},function(t){return t.theme.ds.sizing["24"]},m.W["100"],function(t){return t.theme.ds.radii["200"]},function(t){return t.theme.ds.badge.bg.blue},function(t){return t.theme.ds.badge.textOnDarkMuted},function(t){return t.theme.fonts.highlight},function(t){return t.theme.ds.fontSize.xs},function(t){return t.theme.ds.lineHeight.xs},function(t){return t.theme.ds.fontWeight.bold}),x=d.ZP.div.withConfig({displayName:"styles__OverlayCenter",componentId:"sc-d461
17cfe-3"})(_templateObject22(),function(t){return t.theme.ds.bg.secondary},function(t){return t.theme.ds.text.primary}),y={sm:(0,d.iv)(_templateObject23(),function(t){return t.theme.ds.fontSize.sm},function(t){return t.theme.ds.lineHeight.sm}),md:(0,d.iv)(_templateObject24(),function(t){return t.theme.ds.fontSize.md},function(t){return t.theme.ds.lineHeight.md}),lg:(0,d.iv)(_templateObject25(),function(t){return t.theme.ds.fontSize.lg},function(t){return t.theme.ds.lineHeight.lg})},z={sm:(0,d.iv)(_templateObject26(),function(t){return t.theme.ds.fontSize.xs},function(t){return t.theme.ds.lineHeight.xs}),md:(0,d.iv)(_templateObject27(),function(t){return t.theme.ds.fontSize.sm},function(t){return t.theme.ds.lineHeight.sm}),lg:(0,d.iv)(_templateObject28(),function(t){return t.theme.ds.fontSize.md},function(t){return t.theme.ds.lineHeight.md})},k={default:(0,d.iv)(_templateObject29(),function(t){return t.theme.ds.text.secondary}),secondary:(0,d.iv)(_templateObject30(),function(t){return t.theme.ds.text.secondary}),brand:(0,d.iv)(_templateObject31(),function(t){return t.theme.ds.stroke.onBrand})},$=d.ZP.div.withConfig({displayName:"styles__Content",componentId:"sc-d4617cfe-4"})(_templateObject32(),m.W["050"]),w=d.ZP.span.withConfig({displayName:"styles__Title",componentId:"sc-d4617cfe-5"})(_templateObject33(),function(t){return t.theme.fonts.highlight},function(t){return t.theme.ds.fontWeight.semibold},function(t){return y[t.$size]}),C=d.ZP.span.withConfig({displayName:"styles__Details",componentId:"sc-d4617cfe-6"})(_templateObject34(),function(t){return z[t.$size]},function(t){return k[t.$color]}),W=d.ZP.span.withConfig({displayName:"styles__Weight",componentId:"sc-d4617cfe-7"})(_templateObject35(),function(t){return z[t.$size]},function(t){return k[t.$color]}),I=d.ZP.div.withConfig({displayName:"styles__Actions",componentId:"sc-d4617cfe-8"})(_templateObject36(),m.W["200"],function(t){return k[t.$color]}),N={undo:(0,o.jsx)(u.Z,{size:24,strokeWidth:1.6}),done:(0,o.jsx)(a.Z,{size:24,strokeWidth:2})};function ItemCard(t){var e=t.thumbnail,n=t.title,u=t.details,a=t.weight,l=t.badgeLabel,d=t.overlay,m=void 0===d?"none":d,f=t.actions,s=t.size,p=void 0===s?"md":s,b=t.color,_=void 0===b?"default":b,h=t.background,j=t.border,y=t.paddingKey,z=t.thumbnailBackground,k=(0,c._)(t,["thumbnail","title","details","weight","badgeLabel","overlay","actions","size","color","background","border","paddingKey","thumbnailBackground"]),Z="none"!==m;return(0,o.jsxs)(O,(0,i._)((0,r._)({$size:p,$color:_,$background:void 0===h?"solid":h,$border:void 0===j?"none":j,$paddingKey:y},k),{children:[(0,o.jsxs)(g,{$thumbBackground:void 0===z?"secondary":z,children:["string"==typeof e?(0,o.jsx)("img",{src:e,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",filter:Z?"blur(4px)":void 0}}):e,null!=l&&(0,o.jsx)(v,{children:l}),Z&&(0,o.jsx)(x,{children:N[m]})]}),(0,o.jsxs)($,{$size:p,children:[(0,o.jsx)(w,{$size:p,children:n}),null!=u&&(0,o.jsx)(C,{$size:p,$color:_,children:u}),null!=a&&(0,o.jsx)(W,{$size:p,$color:_,children:a})]}),null!=f&&(0,o.jsx)(I,{$size:p,$color:_,children:f})]}))}}}]);
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.