PageSourceSearch

https://www.booksellers.ca/_next/static/chunks/946-fd7d770866016803.js

js booksellers.ca collected 2026-09-26 08:49:24 UTC 11,237 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0bc19ba1-fa44-478c-ab65-f4e9313997a8",e._sentryDebugIdIdentifier="sentry-dbid-0bc19ba1-fa44-478c-ab65-f4e9313997a8")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[946],{3097:(e,t,i)=>{i.d(t,{Y:()=>s});var l=i(14232);function s(e){return parseInt(l.version.split(".")[0],10)>=19?e:e?"true":void 0}},10074:(e,t,i)=>{i.d(t,{Z:()=>d,p:()=>a});var l=i(18570),s=i(52494),n=i(5407),o=i(15301),r=i(14232);function a(e){let{filter:t,layoutDelegate:i}=e,a=(0,s.R)(e),d=(0,r.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),u=(0,r.useCallback)(e=>new(0,l.J)(t?t(e):e),[t]),y=(0,r.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),b=(0,o.G)(e,u,y),f=(0,r.useMemo)(()=>new(0,n.Y)(b,a,{layoutDelegate:i}),[b,a,i]);return c(b,f),{collection:b,disabledKeys:d,selectionManager:f}}function d(e,t){let i=(0,r.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),l=e.selectionManager.withCollection(i);return c(i,l),{collection:i,selectionManager:l,disabledKeys:e.disabledKeys}}function c(e,t){let i=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&i.current){let l=i.current.getKeyAfter(t.focusedKey),s=null;for(;null!=l;){let n=e.getItem(l);if(n&&"item"===n.type&&!t.isDisabled(l)){s=l;break}l=i.current.getKeyAfter(l)}if(null==s)for(l=i.current.getKeyBefore(t.focusedKey);null!=l;){let n=e.getItem(l);if(n&&"item"===n.type&&!t.isDisabled(l)){s=l;break}l=i.current.getKeyBefore(l)}t.setFocusedKey(s)}i.current=e},[e,t])}},18570:(e,t,i)=>{i.d(t,{J:()=>l});class l{constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let t=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let i of e.childNodes)t(i)};for(let i of e)t(i);let i=null,l=0,s=0;for(let[e,t]of this.keyMap)i?(i.nextKey=e,t.prevKey=i.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=l++),("section"===t.type||"item"===t.type)&&s++,(i=t).nextKey=void 0;this._size=s,this.lastKey=i?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return t?.childNodes||[]}}},20946:(e,t,i)=>{i.d(t,{oz:()=>$,wb:()=>_,Kp:()=>B,tU:()=>L});var l=i(3384),s=i(49219),n=i(73618),o=i(48247),r=i(48518);let a=new WeakMap;function d(e,t,i){if(!e)return"";"string"==typeof t&&(t=t.replace(/\s+/g,""));let l=a.get(e);return`${l}-${i}-${t}`}class c{constructor(e,t,i,l=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===i,this.disabledKeys=l,this.tabDirection="horizontal"===i}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do null==(t=this.collection.getKeyAfter(t))&&(t=this.collection.getFirstKey());while(null!=t&&this.isDisabled(t));return t}getPreviousKey(e){let t=e;do null==(t=this.collection.getKeyBefore(t))&&(t=this.collection.getLastKey());while(null!=t&&this.isDisabled(t));return t}}var u=i(95800),y=i(3324),b=i(81719),f=i(82554),g=i(14232),h=i(50302),p=i(14411),K=i(87802),v=i(28061),m=i(32639),D=i(3696),S=i(68762),M=i(91681),x=i(226),P=i(3097),k=i(10074),w=i(97213);function C(e,t){let i=null;if(e){for(i=e.getFirstKey();null!=i&&(t.has(i)||e.getItem(i)?.props?.isDisabled)&&i!==e.getLastKey();)i=e.getKeyAfter(i);null!=i&&(t.has(i)||e.getItem(i)?.props?.isDisabled)&&i===e.getLastKey()&&(i=e.getFirstKey())}return i}var E=i(82002),I=i(93406),F=i(48553),N=i(71489);let R=(0,g.createContext)(null),T=(0,g.createContext)(null),L=(0,g.forwardRef)(function(e,t){[e,t]=(0,l.JT)(e,t,R);let{children:i,orientation:s="horizontal"}=e;return i=(0,g.useMemo)(()=>"function"==typeof i?i({orientation:s,defaultChildren:null}):i,[i,s]),g.createElement(S.GQ,{content:i},i=>g.createElement(z,{props:e,collection:i,tabsRef:t}))});function z({props:e,tabsRef:t,collection:i}){let{orientation:s="horizontal"}=e,n=function(e){let t=function(e){let[t,i]=(0,w.P)(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),l=(0,g.useMemo)(()=>null!=t?[t]:[],[t]),{collection:s,disabledKeys:n,selectionManager:o}=(0,k.p)({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:l,onSelectionChange:l=>{if("all"===l)return;let s=l.values().next().value??null;s===t&&e.onSelectionChange&&e.onSelectionChange(s),i(s)}}),r=null!=t?s.getItem(t):null;return{collection:s,disabledKeys:n,selectionManager:o,selectedKey:t,setSelectedKey:i,selectedItem:r}}({...e,onSelectionChange:e.onSelectionChange?t=>{null!=t&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??C(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:i,collection:l,selectedKey:s}=t,n=(0,g.useRef)(s);return(0,g.useEffect)(()=>{let o=s;null==e.selectedKey&&(i.isEmpty||null==o||!l.getItem(o))&&null!=(o=C(l,t.disabledKeys))&&i.setSelectedKeys([o]),(null==o||null!=i.focusedKey)&&(i.isFocused||o===n.current)||i.setFocusedKey(o),n.current=o}),{...t,isDisabled:e.isDisabled||!1}}({...e,collection:i,children:void 0}),{focusProps:o,isFocused:a,isFocusVisible:d}=(0,I.o)({within:!0}),c=(0,g.useMemo)(()=>({orientation:s,isFocusWithin:a,isFocusVisible:d}),[s,a,d]),u=(0,l.Sl)({...e,defaultClassName:"react-aria-Tabs",values:c}),y=(0,h.$)(e,{global:!0});return g.createElement(l.tT.div,{...(0,r.v)(y,u,o),ref:t,slot:e.slot||void 0,"data-focused":a||void 0,"data-orientation":s,"data-focus-visible":d||void 0,"data-disabled":n.isDisabled||void 0},g.createElement(l.Kq,{values:[[R,e],[T,n]]},u.children))}let _=(0,g.forwardRef)(function(e,t){return(0,g.useContext)(T)?g.createElement(V,{props:e,forwardedRef:t}):g.createElement(S.pM,e)});function V({props:e,forwardedRef:t}){let i=(0,g.useContext)(T),{CollectionRoot:n}=(0,g.useContext)(s.zL),{orientation:d="horizontal",keyboardActivation:p="automatic"}=(0,l.CC)(R),K=(0,N.U)(t),{tabListProps:v}=function(e,t,i){let{orientation:l="horizontal",keyboardActivation:s="automatic"}=e,{collection:n,selectionManager:o,disabledKeys:d}=t,{direction:h}=(0,b.Y)(),p=(0,g.useMemo)(()=>new c(n,h,l,d),[n,d,l,h]),{collectionProps:K}=(0,f.y)({ref:i,selectionManager:o,keyboardDelegate:p,selectOnFocus:"automatic"===s,disallowEmptySelection:!0,scrollRef:i,linkBehavior:"selection"}),v=(0,u.Bi)();a.set(t,v);let m=(0,y.b)({...e,id:v});return{tabListProps:{...(0,r.v)(K,m),role:"tablist","aria-orientation":l,tabIndex:void 0}}}
1({...e,orientation:d,keyboardActivation:p},i,K),m=(0,l.Sl)({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:d,state:i}}),D=(0,h.$)(e,{global:!0});return delete D.id,g.createElement(l.tT.div,{...(0,r.v)(D,m,v),ref:K,"data-orientation":d||void 0},g.createElement(o.D,null,g.createElement(n,{collection:i.collection,persistedKeys:(0,s.l2)(i.selectionManager.focusedKey)})))}class A extends M.Pt{static{this.type="item"}}let $=(0,S.KU)(A,(e,t,i)=>{let s=(0,g.useContext)(T),o=(0,N.U)(t),{tabProps:a,isSelected:c,isDisabled:u,isPressed:y}=function(e,t,i){let{key:l,isDisabled:s,shouldSelectOnPressUp:n}=e,{selectionManager:o,selectedKey:a}=t,c=l===a,u=s||t.isDisabled||t.selectionManager.isDisabled(l),y=t.collection.getItem(l),{itemProps:b,isPressed:f}=(0,v.p)({selectionManager:o,key:l,ref:i,isDisabled:u,shouldSelectOnPressUp:n??y?.props.href!=null,linkBehavior:"selection"}),g=d(t,l,"tab"),m=d(t,l,"tabpanel"),{tabIndex:D}=b,S=(0,h.$)(y?.props,{labelable:!0});delete S.id;let M=(0,K._h)(y?.props),{focusableProps:x}=(0,p.Wc)({...y?.props,isDisabled:u},i);return{tabProps:(0,r.v)(S,x,M,b,{id:g,"aria-selected":c,"aria-disabled":u||void 0,"aria-controls":c?m:void 0,tabIndex:u?void 0:D,role:"tab"}),isSelected:c,isDisabled:u,isPressed:f}}({key:i.key,...e},s,o),{focusProps:b,isFocused:f,isFocusVisible:m}=(0,I.o)(),{hoverProps:D,isHovered:S}=(0,F.M)({isDisabled:u,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),M=(0,l.Sl)({...e,id:void 0,children:i.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:c,isDisabled:u,isFocused:f,isFocusVisible:m,isPressed:y,isHovered:S}}),x=i.props.href?l.tT.a:l.tT.div,P=(0,h.$)(e,{global:!0});return delete P.id,delete P.onClick,g.createElement(x,{...(0,r.v)(P,M,a,b,D),ref:o,"data-selected":c||void 0,"data-disabled":u||void 0,"data-focused":f||void 0,"data-focus-visible":m||void 0,"data-pressed":y||void 0,"data-hovered":S||void 0},g.createElement(n.r.Provider,{value:{isSelected:c}},M.children))}),B=(0,x.U7)(function(e,t){let i=(0,g.useContext)(T),l=(0,N.U)(t),s=i.selectedKey===e.id,[n,o]=(0,g.useState)(null!=i.selectedKey?s:null);null==n&&null!=i.selectedKey?o(s):!s&&n&&o(!1);let r=(0,E.O)(l,s);return s||e.shouldForceMount||r?g.createElement(H,{...e,tabPanelRef:l,isInitiallySelected:n||!1,isExiting:r}):null});function H(e){let t=(0,g.useContext)(T),{id:i,tabPanelRef:n,isInitiallySelected:o,isExiting:a,...c}=e,{tabPanelProps:u}=function(e,t,i){let l=!function(e,t){let i,[l,s]=(0,g.useState)(!1);return(0,D.N)(()=>{if(e?.current&&!i){let t=()=>{e.current&&s(!!(0,m.N$)(e.current,{tabbable:!0}).nextNode())};t();let i=new MutationObserver(t);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),!i&&l}(i)?0:void 0,s=d(t,e.id??t?.selectedKey,"tabpanel"),n=(0,y.b)({...e,id:s,"aria-labelledby":d(t,t?.selectedKey,"tab")});return{tabPanelProps:(0,r.v)(n,{tabIndex:l,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}(e,t,n),{focusProps:b,isFocused:f,isFocusVisible:p}=(0,I.o)(),K=t.selectedKey===e.id,v=(0,E._)(n)&&!o,S=(0,l.Sl)({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:f,isFocusVisible:p,isInert:(0,P.Y)(!K),isEntering:v,isExiting:a,state:t}}),M=(0,h.$)(c,{global:!0});delete M.id;let x=K?(0,r.v)(M,u,b,S):(0,r.v)(M,S);return g.createElement(l.tT.div,{...x,ref:n,"data-focused":f||void 0,"data-focus-visible":p||void 0,inert:(0,P.Y)(!K||e.inert),"data-inert":K?void 0:"true","data-entering":v||void 0,"data-exiting":a||void 0},g.createElement(l.Kq,{values:[[R,null],[T,null]]},g.createElement(s.zL.Provider,{value:s.N},S.children)))}}}]);

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.