PageSourceSearch

https://www.lewiscellars.com/_next/static/chunks/5177.1869a348776ba202.js

js lewiscellars.com collected 2026-09-26 05:51:59 UTC 4,275 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3496b118-1f54-48a6-b3c3-44ac4c1446ff",e._sentryDebugIdIdentifier="sentry-dbid-3496b118-1f54-48a6-b3c3-44ac4c1446ff")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5177],{45177:(e,t,l)=>{l.r(t),l.d(t,{Table:()=>f});var n=l(95155),a=l(31713),r=l(12115),i=l(15239),o=l(69691),d=l(163),s=l(97288),c=l(97625),u={_getCss:function(){return _},container:"Table-module_container__IfLKf",row:"Table-module_row__r76g-","text-left":"Table-module_text-left__54xuX","text-center":"Table-module_text-center__AiRtq","text-right":"Table-module_text-right__-nyIL"},_=".Table-module_container__IfLKf .Table-module_row__r76g-{overflow-x:auto}.Table-module_container__IfLKf td,.Table-module_container__IfLKf th{min-width:14.9375rem;padding:0 .75rem;width:calc(100%/var(--column-count))}.Table-module_container__IfLKf .Table-module_text-left__54xuX{text-align:left}.Table-module_container__IfLKf .Table-module_text-center__AiRtq{text-align:center}.Table-module_container__IfLKf .Table-module_text-right__-nyIL{text-align:right}",b=l(32604);let f=(0,c.X)(function(e){let{design:t,columns:l,enableScrollIndicators:c,disableAnimations:_,assets:f,ariaLabel:g}=e,[h,m]=(0,r.useState)(!1),[x,T]=(0,r.useState)({isOverflowing:!1,isScrolledToBeginning:!0,isScrolledToEnd:!1}),w=(0,r.useRef)(null),v=(0,r.useRef)(null),y=({scrollLeft:e,scrollWidth:t,clientWidth:l})=>{T(n=>Object.assign(Object.assign({},n),{isScrolledToBeginning:0===e,isScrolledToEnd:t-e-l<1}))},p=(0,r.useMemo)(()=>(0,b.s)(y,50),[y]),j=(0,r.useCallback)(e=>{p({scrollLeft:e.currentTarget.scrollLeft,scrollWidth:e.currentTarget.scrollWidth,clientWidth:e.currentTarget.clientWidth})},[p]);if((0,r.useEffect)(()=>{if(!c)return;let e=()=>{if(w.current&&v.current){let e=w.current.scrollWidth>v.current.clientWidth;T(t=>Object.assign(Object.assign({},t),{isOverflowing:e}))}},t=new ResizeObserver(e);return v.current&&t.observe(v.current),e(),()=>{t.disconnect()}},[c]),!((null==l?void 0:l.length)>0))return(0,n.jsx)(d.g,{componentName:"Table",visible:!0});let I=Math.max(...l.map(e=>{var t;return(null==(t=e.rows)?void 0:t.length)||0}));return(0,n.jsx)(s.default,{"data-testid":"table-container",className:(0,o.$)("container","table__container",u.container,t&&`table--${t}`,x.isOverflowing&&"table__container--is-overflowing",!_&&"animation-enabled",h&&!_&&"in-viewport"),onEnterViewport:()=>{m(!0)},children:(0,n.jsxs)("div",{className:"row-outer",children:[!x.isScrolledToBeginning&&c?(0,n.jsx)("span",{className:"table__scrolled table__scrolled--beginning","data-testid":"table__scrolled--beginning"}):null,(0,n.jsx)("div",{className:(0,o.$)([u.row,"row"]),ref:v,onScroll:x.isOverflowing?j:void 0,children:(0,n.jsxs)("table",{ref:w,className:"col-10 offset-1",style:{"--column-count":l.length},tabIndex:0,"data-testid":"table","aria-label":g||void 0,children:[(0,n.jsx)("thead",{"data-testid":"table-header",children:(0,n.jsx)("tr",{"data-testid":"table-row",children:l.map((e,t)=>{var l;let r=e.headerIcon,d=r&&f?null==(l=f.find(e=>e.type===r.iconType))?void 0:l.icons.find(e=>e.name===r[r.iconType]):void 0;return(0,n.jsxs)("th",{scope:"col","data-testid":"table-header-cell",children:[d&&(0,n.jsx)(i.default,{src:d.url,width:d.width,height:d.height,loading:"lazy",alt:""}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,a.z)(e.header||"")},className:(0,o.$)("richtext",u[e.align])})]},`column-${t}`)})})}),(0,n.jsx)("tbody",{"data-testid":"table-body",children:[...Array(I)].map((e,t)=>(0,n.jsx)("tr",{children:l.map((e,l)=>{var r;let i=null==(r=e.rows)?void 0:r[t];return(0,n.jsx)("td",{"data-testid":"table-cell",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,a.z)((null==i?void 0:i.cellBody)||"")},className:(0,o.$)("richtext",u[e.align],!(null==i?void 0:i.cellBody)&&"empty-cell")})},`cell-${l}-${t}`)})},`row-${t}`))})]})}),!x.isScrolledToEnd&&c?(0,n.jsx)("span",{className:"table__scrolled table__scrolled--end","data-testid":"table__scrolled--end"}):null]})})},u)}}]);
2//# sourceMappingURL=5177.1869a348776ba202.js.map

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.