PageSourceSearch

https://www.bonhams.com/_next/static/chunks/3775-6b69890f1374bdc3.js

js bonhams.com collected 2026-10-01 10:11:49 UTC 8,530 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3775],{25590:(e,t,n)=>{n.d(t,{s:()=>r});function r(e,t){let n,r=function(){for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>e(...l),t)};return r.cancel=()=>clearTimeout(n),r}},31287:(e,t,n)=>{n.d(t,{o:()=>i});var r=n(6029),l=n(44781);let i=e=>{let{children:t,bleed:n,background:i,verticalSpacing:o,...a}=e;return t?(0,r.jsx)(l.V,{...a,$bleed:n,$background:i,$verticalSpacing:o,children:t}):null}},77225:(e,t,n)=>{n.d(t,{h:()=>C});var r=n(6029),l=n(55729),i=n(28438),o=n.n(i),a=n(19357);let c=a.Ay.div.withConfig({componentId:"sc-ef0dfba0-0"})(["display:none;",""],e=>{let{theme:t}=e;return(0,a.AH)(["","{display:block;}"],t.media.up.sm)}),s=a.Ay.div.withConfig({componentId:"sc-ef0dfba0-1"})(["",""],e=>{let{theme:t}=e;return(0,a.AH)(["","{display:none;}"],t.media.up.sm)});var u=n(25590),d=n(65505),h=n(91302),f=n(31520),m=n(82179);let g=e=>{let{numOfContainers:t,currentContainer:n,movetoPage:i,showPagination:o}=e,a=(0,l.useRef)(null),[c,s]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=(0,u.s)(()=>{if(a.current){let e=Math.ceil(a.current.clientWidth);e&&s(15*t+150>e)}},100);return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[t]),(0,r.jsx)(m.Lc,{ref:a,$singleContainer:1===t,$showPagination:o,children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.Vh,{disabled:1===n,onClick:()=>i(n-1),children:(0,r.jsx)(d.h,{width:"20",height:"20",title:"Previous page"})}),o&&(c?(0,r.jsxs)(m.pi,{as:"div",children:[n," / ",t]}):(0,r.jsx)(m.dJ,{children:[...Array(t).keys()].map(e=>(0,r.jsx)(m.Hf,{children:(0,r.jsx)(m.VI,{$isCurrent:n===e+1,onClick:()=>i(e+1),"aria-pressed":n===e+1,"aria-current":n===e+1?"page":void 0,children:(0,r.jsxs)(f.A,{children:["Page ",e+1]})})},"pagination-".concat(e)))})),(0,r.jsx)(m.Vh,{disabled:n===t,onClick:()=>i(n+1),children:(0,r.jsx)(h.h,{width:"20",height:"20",title:"Next page"})})]})})},p=a.Ay.div.withConfig({componentId:"sc-c084ff13-0"})(["",""],e=>{let{theme:t,$fullWidthItems:n,$alignment:r="center"}=e;return(0,a.AH)(["display:grid;align-items:",";grid-auto-flow:column;grid-auto-columns:",";gap:var(--gap,20px);","{grid-auto-columns:",";}> *{width:",";","{width:",";}}"],r,"never"===n?"min-content":void 0,t.media.up.md,"always"===n?void 0:"min-content","never"===n?void 0:"100%",t.media.up.md,"always"===n?"100%":"inherit")}),v=(0,a.Ay)(p).withConfig({componentId:"sc-c084ff13-1"})(["",""],e=>{let{theme:t,$fullWidthItems:n}=e;return(0,a.AH)(["scroll-snap-type:x mandatory;scroll-behavior:smooth;overflow:scroll hidden;box-sizing:border-box;-ms-overflow-style:none;scrollbar-width:none;overscroll-behavior-x:contain;align-items:normal;width:100%;grid-auto-columns:",";&::-webkit-scrollbar{display:none;}img{display:block;}> *{width:",";scroll-snap-align:start;}","{grid-auto-columns:",";> *{width:",";}}"],"never"===n?void 0:"100%","never"===n?"min-content":"100%",t.media.up.md,"always"===n?"100%":"min-content","always"===n?"100%":"min-content")}),y=e=>(0,l.createElement)(x,{...e,key:new Date().valueOf()});function w(e){return Array.isArray(e)&&!!e.length&&e.every(e=>(0,l.isValidElement)(e))}let x=e=>{let{showPaginationDots:t=!0,fullWidthItems:i="never",alignment:o="center",autoScroll:a=0,moveToRef:c,onHandleScrollCallback:s,children:d,defaultCarouselPage:h,...f}=e,m=(0,l.useRef)(null),y=(0,l.useRef)([]),x=(0,l.useRef)([]),[b,C]=(0,l.useState)(null),[A,k]=(0,l.useState)([]),[j,I]=(0,l.useState)(!1),[E,M]=(0,l.useState)((null==h?void 0:h.current)||1);(0,l.useEffect)(()=>{"scrollBehavior"in document.documentElement.style||n.e(7841).then(n.t.bind(n,57841,23)).then(e=>e.polyfill())},[]),(0,l.useEffect)(()=>{let e=(0,u.s)(()=>{if(!m.current)return;let e=Math.ceil(m.current.offsetWidth),t=Math.ceil(m.current.offsetLeft),n=[],r=[],i=e+t;y.current.forEach((t,o)=>{let a=Math.ceil(parseInt(window.getComputedStyle(t).getPropertyValue("width"))),c=Math.ceil(t.offsetLeft);if(a+c<=i||!o){let e=null;(0,l.isValidElement)(d)?e=d:w(d)&&(e=d[o]),e&&r.push({element:e,width:a,childIndex:o})}else n.push(r),i=c+e,r=[{element:d[o],width:a,childIndex:o}]}),n.push(r),n.length!==x.current.filter(Boolean).length&&(x.current=Array(n.length).fill(null),k(n))},100);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[d,b]);let L=(0,l.useCallback)(function(e){var t,n,r,l,i;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth";null==s||s(),null==(i=m.current)||null==(l=i.scrollTo)||l.call(i,{top:0,left:Math.ceil(null==(n=x.current)||null==(t=n[e-1])?void 0:t.offsetLeft)-Math.ceil(null==(r=m.current)?void 0:r.offsetLeft),behavior:o})},[s]);(0,l.useEffect)(()=>{h&&h.current>1&&x.current.length&&L(h.current,"instant")},[A]),(0,l.useEffect)(()=>{let e;return a&&(e=setInterval(()=>{E===A.length?L(1):L(E+1)},a),j&&clearInterval(e)),()=>clearInterval(e)},[a,A.length,E,j,L]),(0,l.useEffect)(()=>{m.current&&A.length&&C(A.length>1)},[A.length]),c&&(c.current=L);let V=(0,l.useCallback)(e=>{let{currentTarget:t}=e,n=Math.ceil(t.scrollLeft),r=Math.ceil(t.scrollWidth),l=Math.ceil(t.offsetWidth),i=Math.ceil(t.offsetLeft);function o(e){M(e),h&&(h.current=e)}if(n+l>=r)return void o(A.length);let a=((e,t)=>e.reduce((e,n)=>Math.abs(e)>Math.abs(n-t)?n-t:e,1/0)+t)(x.current.filter(Boolean).map(e=>Math.ceil(e.offsetLeft)-i),n);o(x.current.findIndex(e=>Math.ceil(null==e?void 0:e.offsetLeft)===a+i)+1),null==s||s()},[A.length,s,h]);return(0,l.isValidElement)(d)||w(d)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{ref:m,onScroll:V,"data-testid":"carousel",$fullWidthItems:i,onMouseOver:a?()=>I(!0):void 0,onMouseOut:a?()=>I(!1):void 0,...f,children:A.length?A.map((e,t)=>(0,r.jsx)(p,{ref:e=>{e&&(x.current[t]=e)},"data-testid":"container-".concat(t+1),...t+1===A.length?{"data-container-last":!0}:{},$fullWidthItems:i,$alignment:o,children:e.map((e,n)=>{let{element:r,childIndex:i}=e;return(0,l.cloneElement)(r,{key:"element-".concat(t,"-").concat(n),ref:e=>y.current[i]=e,"data-testid":"element-".concat(i+1)})})},"container-".concat(t))):l.Children.map(d,(e,t)=>(0,l.cloneElement)(e,{ref:e=>e&&(y.current[t]=e),key:"child-".concat(t),"data-testid":"child-".concat(t)}))}),b&&(0,r.jsx)(g,{numOfContainers:A.length,currentContainer:E,movetoPage:L,showPagination:t})]}):null};function b(e){let{children:t,className:n,...l}=e;return(0,r.jsxs)("div",{className:n,children:[(0,r.jsx)(c,{children:(0,r.jsx)(y,{...l,children:t})}),(0,r.jsx)(s,{children:t})]})}let C=(0,l.memo)(e=>{let{isDesktopOnly:t=!1,...n}=e;return(0,r.jsx)(t?b:y,{...n})},o())},82179:(e,t,n)=>{n.d(t,{Hf:()=>s,Lc:()=>i,VI:()=>u,Vh:()=>o,dJ:()=>a,pi:()=>c});
1var r=n(19357),l=n(74636);let i=r.Ay.div.withConfig({componentId:"sc-c9763a0c-0"})(["",""],e=>{let{$showPagination:t,$singleContainer:n}=e;return(0,r.AH)(["display:grid;grid-template-columns:",";justify-content:space-between;",""],t?"auto 1fr auto":"auto auto",!n&&(0,r.AH)(["margin-top:20px;margin-bottom:11px;min-height:40px;"]))}),o=r.Ay.button.withConfig({componentId:"sc-c9763a0c-1"})(["all:unset;width:38px;height:38px;display:grid;place-items:center;border-radius:2px;&:disabled{color:",";}&:enabled{color:",";cursor:pointer;&:hover,&:focus-visible{color:",";}}",";"],e=>{let{theme:t}=e;return t.colours.grey["45"]},e=>{let{theme:t}=e;return t.colours.primary.primary},e=>{let{theme:t}=e;return t.colours.secondary.primary},e=>{var t,n;let{theme:r}=e;return null==(n=r.components)||null==(t=n.FireCarousel)?void 0:t.PageArrow}),a=r.Ay.ul.withConfig({componentId:"sc-c9763a0c-2"})(["padding:0;margin:0 auto;display:grid;grid-auto-flow:column;gap:7px;"]),c=(0,r.Ay)(l.nB).withConfig({componentId:"sc-c9763a0c-3"})(["text-align:center;margin:auto 0;"]),s=r.Ay.li.withConfig({componentId:"sc-c9763a0c-4"})(["list-style:none;display:grid;place-items:center;overflow-x:hidden;"]),u=r.Ay.button.withConfig({componentId:"sc-c9763a0c-5"})(["all:unset;display:block;border-radius:50%;width:8px;height:8px;background:",";cursor:pointer;&:hover,&:focus-visible{background:",";}",";",""],e=>{let{theme:t}=e;return t.colours.grey["60"]},e=>{let{theme:t}=e;return t.colours.primary.black},e=>{var t,n,r;let{theme:l}=e;return null==(r=l.components)||null==(n=r.FireCarousel)||null==(t=n.PageButton)?void 0:t.root},e=>{let{$isCurrent:t}=e;return t&&(0,r.AH)(["background:",";",";"],e=>{let{theme:t}=e;return t.colours.primary.black},e=>{var t,n,r;let{theme:l}=e;return null==(r=l.components)||null==(n=r.FireCarousel)||null==(t=n.PageButton)?void 0:t.active})})}}]);

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.