PageSourceSearch

https://www.bonhams.com/_next/static/chunks/pages/internal-web-app/pusher-470cf2b129a084ca.js

js bonhams.com collected 2026-09-24 08:37:04 UTC 7,467 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7710],{18929:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/internal-web-app/pusher",function(){return r(77563)}])},28841:(e,t,r)=>{"use strict";r.d(t,{e:()=>s});var n=r(6029),o=r(34910);let s=e=>function(t){let{error:r,statusCode:s,...i}=t;return r?(0,n.jsx)(o.default,{statusCode:s||500}):(0,n.jsx)(e,{...i})}},31287:(e,t,r)=>{"use strict";r.d(t,{o:()=>s});var n=r(6029),o=r(44781);let s=e=>{let{children:t,bleed:r,background:s,verticalSpacing:i,...l}=e;return t?(0,n.jsx)(o.V,{...l,$bleed:r,$background:s,$verticalSpacing:i,children:t}):null}},34910:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>j});var n=r(6029),o=r(55452),s=r(82281),i=r.n(s),l=r(98638),a=r(63283),c=r(31287),d=r(7612),h=r(69499);let u=r(19357).Ay.div.withConfig({componentId:"sc-2e03691-0"})(["","{margin-bottom:40px;}"],e=>{let{theme:{media:t}}=e;return t.up.lg}),p=JSON.parse('{"sl_translate":"sl_all","error.403.Title":"You do not have permission to view this page","error.403.Description":"Please contact our Client Services team for more information.","error.403.Button":"Contact us","error.404.Title":"Page not found","error.404.Description":"Sorry, the page you’re looking for was not found.","error.500.Title":"Sorry","error.500.Description":"Something went wrong. We’re working on the problem. Please try again later.","error.500.Button":"Refresh the page","error.browse":"Browse auctions","error.plane":"A flying paper aeroplane"}'),{publicRuntimeConfig:x}=i()(),{text:f}=(0,d.r)(p),g=e=>{let{statusCode:t}=e,r=403===t||404===t?t:500;return(0,n.jsxs)(c.o,{children:[(0,n.jsx)(h.aN,{}),(0,n.jsxs)(h.tf,{children:[(0,n.jsx)(u,{children:(0,n.jsx)(a.M,{src:"/web-assets/errorPlane.png",width:"203",height:"191",alt:f("error.plane"),disableBackgroundPlaceholder:!0})}),(0,n.jsxs)(h.xv,{children:[(0,n.jsx)(h.QP,{$level:2,as:"h1",children:f("error.".concat(r,".Title"))}),(0,n.jsx)(h.iL,{$level:"L",as:"p",children:f("error.".concat(r,".Description"))})]}),(0,n.jsxs)(h.j_,{children:[403===t&&(0,n.jsx)(l.L,{href:"".concat(x.WEB_BASE_URL,"/stories/30262/"),children:f("error.403.Button")}),500===t&&(0,n.jsx)(l.L,{onClick:()=>window.location.reload(),children:f("error.500.Button")}),(0,n.jsx)(l.L,{variant:404===t?"primary":"secondary",href:"/auctions/upcoming/",children:f("error.browse")})]})]})]})},m=e=>(0,n.jsx)(g,{...e});m.getInitialProps=e=>{let{res:t,err:r}=e;r&&404!==r.statusCode&&o.Cp(r);let n=t?t.statusCode:r&&r.statusCode;return{statusCode:null!=n?n:404}};let j=m},69499:(e,t,r)=>{"use strict";r.d(t,{QP:()=>a,aN:()=>s,iL:()=>c,j_:()=>d,tf:()=>i,xv:()=>l});var n=r(19357),o=r(74636);let s=(0,n.DU)(["body{background:"," !important;}"],e=>{let{theme:{colours:t}}=e;return t.primary.white}),i=n.Ay.div.withConfig({componentId:"sc-15d3bfaa-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:",";padding:45px 15px;margin:0 -15px -60px;","{padding:70px 0;margin-top:10px;}"],e=>{let{theme:{colours:t}}=e;return t.primary.white},e=>{let{theme:{media:t}}=e;return t.up.lg}),l=n.Ay.div.withConfig({componentId:"sc-15d3bfaa-1"})(["text-align:center;padding:20px;"]),a=(0,n.Ay)(o.DZ).withConfig({componentId:"sc-15d3bfaa-2"})(["&&{margin-bottom:20px;}"]),c=(0,n.Ay)(o.nB).withConfig({componentId:"sc-15d3bfaa-3"})(["&&{font-weight:400;","{margin-bottom:60px;}}"],e=>{let{theme:{media:t}}=e;return t.up.lg}),d=n.Ay.div.withConfig({componentId:"sc-15d3bfaa-4"})(["display:grid;margin:10px 0;grid-auto-flow:row;gap:20px;width:100%;max-width:375px;","{gap:32px;width:fit-content;grid-auto-flow:column;max-width:100%;}"],e=>{let{theme:{media:t}}=e;return t.up.lg})},77563:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LotPusher:()=>f,UserPusher:()=>g,__N_SSP:()=>x,default:()=>m});var n=r(6029),o=r(19357),s=r(55729),i=r(6207),l=r(98638),a=r(62676),c=r(47947),d=r(31287),h=r(74636),u=r(28841);let p=e=>{let{lotId:t,removeLot:r}=e,{subscribe:a,unsubscribe:c}
1=(0,i.p)(),[d,h]=(0,s.useState)(!1),[u,p]=(0,s.useState)([]),x=(0,s.useMemo)(()=>({"lot.bid":e=>p(t=>[...t,e]),"lot.info":e=>p(t=>[...t,e]),"lot.timeExtended":e=>p(t=>[...t,e]),"lot.cancelBid":e=>p(t=>[...t,e]),"lot.finished":e=>p(t=>[...t,e])}),[]);return(0,s.useEffect)(()=>(a("cache-lot-".concat(t,"-v").concat(1),x,()=>h(!0)),()=>{c("cache-lot-".concat(t,"-v").concat(1))}),[t,a,c,x]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(y,{children:[(0,n.jsx)("div",{children:u.map((e,t)=>(0,n.jsx)("div",{children:(0,n.jsx)(w,{$_css:t!==u.length-1&&(0,o.AH)(["border-bottom:1px solid;"]),children:JSON.stringify(e,null,2)})},t))}),(0,n.jsxs)(b,{children:[(0,n.jsx)(l.L,{onClick:()=>r(t),children:"Remove Lot"}),"\xa0",(0,n.jsx)(l.L,{onClick:()=>{p([]),d?(c("cache-lot-".concat(t,"-v").concat(1)),h(!1)):a("cache-lot-".concat(t,"-v").concat(1),x,()=>h(!0))},variant:"secondary",children:d?"Disable":"Enable"})]})]}),(0,n.jsx)("hr",{})]})};var x=!0;let f=()=>{let[e,t]=(0,s.useState)([]),r=(0,s.useRef)(null),o=e=>{t(t=>[...t.filter(t=>t!==e)])};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(C,{children:[(0,n.jsxs)("label",{children:["Lot ID:"," ",(0,n.jsx)(j,{ref:r})]}),"\xa0",(0,n.jsx)(l.L,{onClick:()=>t(e=>[...e,...r.current?[r.current.value]:[]]),children:"Add lot"})]}),e.map((e,t)=>(0,n.jsxs)("div",{children:[(0,n.jsxs)(h.DZ,{$level:4,as:"h2",children:["Messages for Lot ID: ",e]}),(0,n.jsx)(p,{lotId:e,removeLot:o})]},t))]})},g=()=>
1{let[e,t]=(0,s.useState)("1"),[r,a]=(0,s.useState)([]),{subscribe:c,unsubscribe:d}=(0,i.p)(),[u,p]=(0,s.useState)(!1),x=(0,s.useMemo)(()=>({"user.outbid":e=>a(t=>[...t,e])}),[]);return(0,s.useEffect)(()=>(a([]),c("user-".concat(e,"-v").concat(1),x,()=>p(!0)),()=>{d("user-".concat(e,"-v").concat(1))}),[e,x,c,d]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("label",{children:["Client ID:"," ",(0,n.jsx)(v,{value:e,onChange:e=>t(e.currentTarget.value)})]}),(0,n.jsxs)(h.DZ,{$level:4,as:"h2",children:["Messages for Client ID: ",e]}),r.map((e,t)=>(0,n.jsx)("div",{children:(0,n.jsx)(_,{$_css2:t!==r.length-1&&(0,o.AH)(["border-bottom:1px solid;"]),children:JSON.stringify(e,null,2)})},t)),(0,n.jsx)(l.L,{onClick:()=>{a([]),u?(d("user-".concat(e,"-v").concat(1)),p(!1)):c("user-".concat(e,"-v").concat(1),x,()=>p(!0))},children:u?"Disable":"Enable"})]})},m=(0,u.e)(()=>{let[e,t]=(0,s.useState)(!0);return(0,n.jsxs)(d.o,{children:[(0,n.jsxs)(h.nB,{children:["You can use the"," ",(0,n.jsx)(c.r,{href:"https://dashboard.pusher.com/apps/1942154/console",children:"debugger in pusher.com"})," ","to send messages"]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)(l.L,{onClick:()=>t(!e),children:[e?"Remove":"Display"," Pusher test"]}),(0,n.jsx)("hr",{}),e?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g,{}),(0,n.jsx)("hr",{}),(0,n.jsx)(f,{})]}):null]})]})});var j=(0,o.Ay)(a.P).withConfig({componentId:"sc-d17a1f91-0"})(["width:100px;"]),v=(0,o.Ay)(a.P).withConfig({componentId:"sc-d17a1f91-1"})(["width:100px;"]),w=(0,o.Ay)("pre").withConfig({componentId:"sc-d17a1f91-2"})(["font-family:courier;font-size:10px;",""],e=>e.$_css),b=(0,o.Ay)("div").withConfig({componentId:"sc-d17a1f91-3"})(["justify-self:end;"]),y=(0,o.Ay)("div").withConfig({componentId:"sc-d17a1f91-4"})(["display:grid;grid-template-columns:1fr auto;"]),C=(0,o.Ay)("div").withConfig({componentId:"sc-d17a1f91-5"})(["display:flex;align-items:end;"]),_=(0,o.Ay)("pre").withConfig({componentId:"sc-d17a1f91-6"})(["font-family:courier;font-size:10px;",""],e=>e.$_css2)}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=18929)),_N_E=e.O()}]);

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.