PageSourceSearch

https://www.booksellers.ca/_next/static/chunks/3766.767d4bfd90789323.js

js booksellers.ca collected 2026-09-26 08:49:39 UTC 3,130 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="867617de-0d6a-4ae5-9b84-7a33e85ca5f4",e._sentryDebugIdIdentifier="sentry-dbid-867617de-0d6a-4ae5-9b84-7a33e85ca5f4")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3766],{13766:(e,l,t)=>{t.r(l),t.d(l,{default:()=>h});var a=t(37876),i=t(14232),n=t(249),s=t(14428),r=t(63820),o=t(12212),c=t(53810),d=t(46218),u=t(79881),b=t(21468);let g="has-fullscreen-dialog",h=(0,i.memo)(e=>{let{files:l,initialIndex:t=0,isOpen:h,onOpenChange:f,onIndexChange:x}=e,{t:_}=(0,o.B)(),{trackRef:m,activeIndex:p,goTo:v,goNext:y,goPrevious:w}=(0,r.A)(l?.length??0,t),j=(0,i.useId)(),N=l?.[0]?.name??"",k=Math.max((l?.length??0)-1,0),C=(0,i.useCallback)(()=>{p>0&&w()},[p,w]),A=(0,i.useCallback)(()=>{p<k&&y()},[p,k,y]),I=(0,i.useCallback)(e=>{e||x?.(p),f(e)},[p,x,f]);return((0,i.useEffect)(()=>{if(!h)return;let e=document.documentElement;return e.classList.add(g),()=>e.classList.remove(g)},[h]),(0,i.useEffect)(()=>{if(!h)return;let e=new AbortController;return document.addEventListener("keydown",e=>{if(!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey){if((0,n.Mm)(e)){e.preventDefault(),w();return}if((0,n.D2)(e)){e.preventDefault(),y();return}if((0,n.Tt)(e)){e.preventDefault(),v(0);return}(0,n.P$)(e)&&(e.preventDefault(),v(k))}},{signal:e.signal}),()=>e.abort()},[h,y,w,v,k]),l?.length)?(0,a.jsx)(u.A,{isOpen:h,onOpenChange:I,className:"modal-wrapper--fullscreen",children:(0,a.jsxs)(u.A.Content,{title:_("product.view.gallery.lightbox_title",{title:N}),className:"dialog--lightbox",hasCloseButton:!0,children:[(0,a.jsxs)("div",{className:"lightbox",children:[(0,a.jsx)("button",{type:"button",className:"lightbox__nav lightbox__nav--previous",onClick:C,"aria-disabled":0===p,"aria-label":_("product.view.gallery.previous_image"),children:(0,a.jsx)(b.A,{value:"chevron-left"})}),(0,a.jsx)("section",{className:"lightbox__viewport",ref:m,tabIndex:l.length>1?0:void 0,"aria-label":_("product.view.gallery.carousel_label",{title:N}),children:l.map((e,l)=>(0,a.jsx)("div",{id:`${j}-slide-${l}`,className:"lightbox__slide",children:(0,a.jsx)(d.A,{images:e.images,imagePreference:s.Iw.LARGE,alt:e.desc,className:`lightbox__image${e.isPlaceholder?" lightbox__image--placeholder":""}`,priority:l===t})},e.url))}),(0,a.jsx)("button",{type:"button",className:"lightbox__nav lightbox__nav--next",onClick:A,"aria-disabled":p===k,"aria-label":_("product.view.gallery.next_image"),children:(0,a.jsx)(b.A,{value:"chevron-right"})}),(0,a.jsx)("p",{className:"lightbox__counter","aria-live":"polite",children:_("product.view.gallery.current_position",{index:p+1,total:l.length})})]}),(0,a.jsxs)(u.A.Buttons,{className:"lightbox__footer",children:[(0,a.jsx)(c.A,{files:l,activeIndex:p,onSelect:v,slideIdPrefix:j,className:"gallery-thumbs--lightbox"}),(0,a.jsx)("button",{type:"button",className:"btn btn--outline btn--outline--forest lightbox__close",onClick:()=>I(!1),children:_("utils.close")})]})]})}):null})}}]);

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.