PageSourceSearch

https://www.booksellers.ca/_next/static/chunks/pages/site/%5Bhost%5D-c828848b1d2d6eb4.js

js booksellers.ca collected 2026-09-26 08:47:45 UTC 14,002 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]="5a5b12e4-1650-4e21-9996-c3cf0dedc945",e._sentryDebugIdIdentifier="sentry-dbid-5a5b12e4-1650-4e21-9996-c3cf0dedc945")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1602,5249],{2126:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a,n,i=l(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(null,arguments)}let o=e=>i.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 120 90"},e),a||(a=i.createElement("defs",null,i.createElement("path",{id:"quialu_svg__a",d:"M0 .655h88.625v88.922H0z"}))),n||(n=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("mask",{id:"quialu_svg__b",fill:"#fff"},i.createElement("use",{xlinkHref:"#quialu_svg__a"})),i.createElement("path",{fill:"#009862",d:"M73.931 78.16c9.02-8.137 14.694-19.93 14.694-33.055 0-24.549-19.839-44.45-44.312-44.45S0 20.556 0 45.105c0 24.548 19.84 44.448 44.313 44.448 6.749 0 13.142-1.52 18.867-4.226l6.553 2.243 5.996 2.007-.932-5.922-.866-5.495z",mask:"url(#quialu_svg__b)"}),i.createElement("path",{fill:"#FFF",d:"M56.352 58 45.303 47.837c-1.522-1.285-1.743-3.597-.493-5.163.154-.194.328-.37.516-.527L56.36 32l2.633 2.17-7.998 10.335c-.023.023-.205.257-.205.484 0 .234.19.475.197.483L59 55.877 56.352 58z"}),i.createElement("path",{fill:"#FFF",d:"M42.358 58 31.303 47.837c-1.524-1.29-1.743-3.607-.488-5.174.15-.19.32-.362.504-.516L42.366 32 45 34.17l-8.01 10.335c-.023.023-.205.257-.205.484 0 .234.198.475.198.483L45 55.877 42.358 58z"}),i.createElement("path",{fill:"#6BDAB3",d:"M92 3C78.745 3 68 13.745 68 27c0 7.517 3.459 14.225 8.868 18.625l-.108.687L76.02 51l4.76-1.59 1.444-.492A23.91 23.91 0 0 0 92 51c13.255 0 24-10.745 24-24S105.255 3 92 3"}),i.createElement("path",{fill:"#FFF",d:"m86.413 20 5.892 5.472c.812.693.93 1.937.263 2.78-.082.105-.175.2-.275.284L86.408 34l-1.404-1.168 4.265-5.565a.468.468 0 0 0 .11-.26.485.485 0 0 0-.106-.261L85 21.143 86.413 20z"}),i.createElement("path",{fill:"#FFF",d:"m93.41 20 5.894 5.472c.814.695.93 1.943.261 2.787a1.95 1.95 0 0 1-.268.277L93.406 34 92 32.832l4.272-5.565a.476.476 0 0 0 .11-.26c0-.127-.106-.257-.106-.261L92 21.143 93.41 20z"}))))},15687:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(37876);l(14232);var n=l(2126),i=l(12212),r=l(75975),o=l(37908),s=l(21468),c=l(80998),d=l(45625);let u=e=>{let{t,locale:l}=(0,i.B)(),{isPersonalizedRecommendationsEnabled:u}=(0,d.n)(),m="";if("quialu"===e.for){let l={title:t("account.quialu.titlebox"),text:t("account.quialu.textbox"),link:t("account.quialu.linkbox")};"profil"===e.from&&(l={title:t("account.quialu.titleboxshort"),text:t("account.quialu.textboxshort"),link:t("account.quialu.linkbox")}),m=(0,a.jsx)("div",{className:`textimage-box textimage-box--${e.for}`,children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-md-4 col-lg-3 textimage-box__logo mb-4",children:(0,a.jsx)(n.A,{})}),(0,a.jsxs)("div",{className:"col-md-8 col-lg-9 textimage-box__content mb-4",children:[(0,a.jsx)("h2",{className:"headline headline--block headline--c-quialu",children:l.title}),(0,a.jsx)("p",{className:"p p--fs-15 p--c-whitesmokelight",children:l.text}),(0,a.jsxs)("a",{className:"btn btn--raised btn--raised--quialu btn__icon mt-1",href:"https://www.quialu.ca/questions/go/onboarding",rel:"noreferrer",target:"_blank",children:[l.link,"\xa0",(0,a.jsx)(s.A,{value:"external"})]})]})]})})}else if("recomm"===e.for){if(!u)return null;let l={title:t("account.recomm.titlebox"),text:t("account.recomm.textbox"),link:t("account.recomm.linkbox"),seemy:t("account.recomm.seemy")};m=(0,a.jsx)("div",{className:`textimage-box textimage-box--${e.for}`,children:(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"textimage-box__content mb-4 d-flex align-items-center justify-content-center",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"headline headline--block headline--c-white",children:l.title}),(0,a.jsx)("p",{className:"p p--fs-18 p--c-whitesmokelight",children:l.text}),(0,a.jsxs)(r.A,{href:`/${t("routes.yourfavbooks")}`,className:"btn btn--raised btn--raised--tomato btn__icon mt-3 me-3",children:[l.link,(0,a.jsx)("span",{className:"ms-2",style:{width:"20px"},children:(0,a.jsx)(s.A,{value:"thumb-up"})})]}),e.showPref&&(0,a.jsxs)(r.A,{href:`/${t("routes.quialurecomm")}`,className:"btn btn--raised btn--raised--quialu mt-3",children:[l.seemy,"\xa0\xa0",(0,a.jsx)(s.A,{value:"chevron-right"}),(0,a.jsx)(s.A,{value:"chevron-right"})]})]})})})})}else{let t=e.data,n={title:(0,c.bT)(t.title,l),content:(0,c.bT)(t.content,l),tagline:(0,c.bT)(t.tagline,l),main_image:(0,c.bT)(t.main_image,l),button_link:(0,c.bT)(t.button_link,l),button_text:(0,c.bT)(t.button_text,l),title_color:t.title_color,tagline_color:t.tagline_color,background_color:t.background_color,background_image:(0,c.bT)(t.background_image,l),button_color_text:t.button_color_text,content_color_text:t.content_color_text,button_color_background:t.button_color_background},i=n.button_link.includes("vos-livres-preferes")||n.button_link.includes("your-favorite-books");if(i&&!u||"en"===l&&n.button_link.includes("revue.leslibraires.ca"))return null;
1m=(0,a.jsx)("div",{className:`${e.smaller?"col-sm-6 col-md-4 mb-4":"col-sm-6 mb-4"} flex-grow-1`,children:(0,a.jsx)("div",{className:`textimage-box textimage-box--block ${i?"textimage-box--reco":""}`,style:{backgroundColor:n.background_color,backgroundImage:"url("+n.background_image+")"},children:(0,a.jsxs)("div",{className:"row ",children:[n.main_image?(0,a.jsx)("div",{className:"col-md-12 col-lg-6 textimage-box__logo mb-4",children:(0,a.jsx)(o.A,{src:n.main_image,className:"d-block w-100 h-auto",alt:n.title,title:n.title})}):"",(0,a.jsxs)("div",{className:` textimage-box__content mb-4 ${n.main_image?"col-md-12 col-lg-6":"col-12 ps-2 ps-md-4 pe-2 pe-md-4"}`,children:[n.tagline?(0,a.jsx)("h2",{className:"headline headline--sub mb-2",style:{color:n.tagline_color},dangerouslySetInnerHTML:{__html:n.tagline}}):"",n.title?n.tagline?(0,a.jsx)("h3",{className:"headline headline--block mt-0 mb-3",style:{color:n.title_color},dangerouslySetInnerHTML:{__html:n.title}}):(0,a.jsx)("h2",{className:"headline headline--block mt-0 mb-3",style:{color:n.title_color},dangerouslySetInnerHTML:{__html:n.title}}):"",n.content?(0,a.jsx)("p",{className:"p p--fs-15 p--c-whitesmokelight",style:{color:n.content_color_text},dangerouslySetInnerHTML:{__html:n.content}}):"",n.button_link&&n.button_text?(0,a.jsxs)("a",{className:"btn btn--raised btn--raised--tomato p-2",style:{color:n.button_color_text,backgroundColor:n.button_color_background,borderColor:n.button_color_background},href:n.button_link,rel:"noreferrer",target:"_blank",children:[n.button_text,"\xa0\xa0",(0,a.jsx)(s.A,{value:"chevron-right"})]}):""]})]})})})}return(0,a.jsx)(a.Fragment,{children:m})}},64727:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>B,default:()=>z});var a=l(37876),n=l(14232),i=l(89099),r=l(12212),o=l(43361),s=l(78570),c=l(40667),d=l(2891),u=l(44588),m=l(58672),b=l(85690),_=l(75975),h=l(45625);let g=e=>{let{t}=(0,r.B)(),{isQuialuEnabled:l}=(0,h.n)();return!l||e.data&&0===e.data.length?null:(0,a.jsxs)("section",{className:"section section--pt-40 section--pb-40",children:[(0,a.jsx)("div",{className:"container",style:{maxWidth:"960px"},children:null!==e.data.data&&(0,a.jsx)(_.A,{href:`/${t("routes.quialurecomm")}`,className:"link--c-forest",children:(0,a.jsx)("h2",{className:"headline headline--section a-center headline--margin--30",dangerouslySetInnerHTML:{__html:t("quialurecomm.slidertitle")}})})}),(0,a.jsx)("div",{className:"container container--full container--nopadd",children:(0,a.jsxs)("div",{className:"slider-w-cta",children:[(0,a.jsx)(m.A,{bgColor:"#6bdab3",textColor:"#003324",libChoice:!1,loading:e.loading,link:`/${t("routes.quialurecomm")}`,text:t("quialurecomm.sliderdesc"),section:t("quialurecomm.slidertitle")}),(0,a.jsx)(b.A,{data:e.data,isNumeroted:!1,loading:e.loading,autoplay:!1,type:"quialu",unique:"slider-quialurecomm",goToOnReachEnd:`/${t("routes.quialurecomm")}`})]})})]})};var x=l(39906),p=l(19758),f=l(23477),j=l(2847),v=l(37908);let k=(e,t)=>{let l=e?.data;if(!l)return null;let a=l.content?.[t],n=l.content_mobile?.[t];return a||n?{desktop:a,mobile:n}:null},N=e=>{let{data:t,priority:l}=e,{locale:n}=(0,r.B)(),i=k(t,n);if(null===i)return null;let{desktop:o,mobile:s}=i,c=(0,a.jsx)(v.A,{src:s||o,sources:o&&s?[{media:(0,j.uT)("md"),srcSet:o}]:null,alt:"",priority:l}),d=t.data.primary_button_link?.[n];return(0,a.jsx)("div",{className:"page-hero",children:(0,a.jsx)("div",{className:"page-hero__content",children:(0,a.jsx)("div",{className:"img-wrapper",children:d?(0,a.jsx)(_.A,{href:d,className:"d-block",children:c}):c})})})};var y=l(21468);let w=e=>{let{locale:t}=(0,r.B)(),l="";if(void 0===e.data)l=[1,2,3].map((e,t)=>{let l=t+1;return(0,a.jsx)("li",{className:"col-12 col-md-6 col-lg-4 page-banners__list__item justify-content-center",children:(0,a.jsx)(x.A,{zone:p.mA.HOME_SECTION,num:l,targeting:{section:"triple"},wrapperClassName:"page-banners__list__content mb-4"})},`panel-${l}`)});else{let n=e.data.data;if(null===n)return null;l=Object.entries(n).map(e=>(0,a.jsx)("li",{className:"col-12 col-md-4 page-banners__list__item page-banners__list__item--old mb-4",children:e[1].primary_button?(0,a.jsxs)("div",{className:"page-banners__list__content",children:[e[1].content&&void 0!==e[1].content[t]&&(0,a.jsx)(v.A,{src:e[1].content[t],alt:""}),(0,a.jsx)(_.A,{href:null!==e[1].primary_button_link[t]?e[1].primary_button_link[t]:"",className:"arrow-icon",style:{backgroundColor:e[1].primary_button_color_background,color:e[1].primary_button_color_text},children:(0,a.jsx)(y.A,{value:"chevron-right"})})]}):(0,a.jsx)(_.A,{href:null!==e[1].primary_button_link[t]?e[1].primary_button_link[t]:"#",className:"page-banners__list__content",children:e[1].content&&void 0!==e[1].content[t]&&(0,a.jsx)(v.A,{src:e[1].content[t],alt:""})})},e[0]+e.id))}return(0,a.jsx)("div",{id:"page-banners",className:"page-banners",children:(0,a.jsx)("ul",{className:"page-banners__list row",children:l})})};var A=l(78891),q=l(54292),E=l(40878),T=l(15687);let S=e=>{let t=e.data.data;return(0,a.jsx)("div",{className:"page-twocolumns mt-4 mt-lg-5",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"row justify-content-center",children:[(0,a.jsx)(T.A,{data:t.panel_1,smaller:!0}),e.children,(0,a.jsx)(T.A,{data:t.panel_2,smaller:!0})]})})})};
1var C=l(86216),L=l(14428),$=l(56372),F=l(75130),I=l(21356),M=l(25117),O=l(2408);let H=e=>{let{t,locale:l}=(0,r.B)(),m=(0,i.useRouter)(),{isAuthenticated:b}=(0,I.A)(),{subdomain:_,organization:h}=(0,M.Z)(),[j,v]=(0,n.useState)(null),[y,T]=(0,n.useState)(null);(0,n.useEffect)(()=>{if(null===_){let e=()=>{void 0!==window.googletag&&window.googletag.pubads&&window.googletag.cmd.push(()=>{window.googletag.pubads().refresh()})};return m.events.on("routeChangeComplete",e),()=>{m.events.off("routeChangeComplete",e)}}},[m,_]),(0,n.useEffect)(()=>{b&&null===_&&null===y&&(0,F.Bi)().catch(e=>{}).then(e=>{if(e&&1===e.data.success){let t=e.data.recommendations.slice(0,20);(0,C.WL)(t,"&fields=contributors,work_other_book_editions").then(e=>{e&&e.data&&T(e.data)})}else T([])})},[b,_,y]);let O=null;if(null!==e.regionStatic&&void 0!==e.regionStatic){let t=e.regionStatic.data.filter(e=>"homepage-hero-region"===e.template&&null!==e.data);0!==t.length&&null!==k(t[0],l)&&(O=(0,a.jsx)(N,{data:t[0],priority:!0}))}let H=0,B=0,z=(0,L.eT)(null!==O),P=(e.pageOrdering??[]).map((t,l)=>{switch(t.type){case"item_list":let n=e.itemLists.find(e=>e.id===t.id);if(!n)return null;if(B++,"alternate"===n.template)return(0,a.jsx)(s.A,{data:n,creativeSlot:`home_${B}`,priority:(0,$.$R)(n)&&z()},n.id);return H++,(0,a.jsx)(c.A,{data:n,subdomain:_,adNum:H,creativeSlot:`home_${B}`,priority:(0,$.$R)(n)&&z()},n.id);case"craques":return H++,(0,a.jsx)(d.A,{data:e.craques,adNum:H,priority:(0,d.j)(e.craques)&&z()},t.type);case"events":return(0,a.jsx)(u.A,{events:e.events},t.type);case"title-section":return(0,a.jsx)(A.A,{data:t},t.type+"-"+l);case"content-section":return(0,a.jsx)(q.A,{data:t},t.type+"-"+l);case"image-section":return(0,a.jsx)(E.A,{data:t,priority:(0,E.v)(t)&&z()},t.type+"-"+l);default:return""}});if(null===_)P.splice(2,0,(0,a.jsx)(w,{setPubThreeColActive:v,pubThreeColActive:j,subdomain:_},"panels0")),null!==y&&0!==y.length&&P.splice(3,0,(0,a.jsx)(g,{data:y,loading:!1,subdomain:_},"quialu"));else{let t=e.regionStatic?e.regionStatic.data.filter(e=>"homepage-banners-region"===e.template&&null!==e.data):[];0!==t.length&&P.splice(2,0,(0,a.jsx)(w,{setPubThreeColActive:v,pubThreeColActive:j,data:t[0],subdomain:_},"panels0"))}let D=e.regionStatic?e.regionStatic.data.filter(e=>"homepage-two-columns-region"===e.template&&null!==e.data):[];return 0!==D.length&&P.splice(5,0,(0,a.jsx)(S,{data:D[0],children:(0,a.jsx)("div",{className:"col-sm-12 col-md-4 mb-4 order-4 order-md-0",style:{minHeight:"300px"},children:(0,a.jsx)(x.A,{zone:p.mA.HOME_SECTION,num:4,targeting:{section:"middle"}})})},"twocolumns0")),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.A,{route:"home",selfCanonical:!0}),O,(0,a.jsx)(f.A,{children:(0,a.jsx)("h1",{children:_&&h?t("homepage.title_of",{bookstore:h.name.replace(/\b(librairie|bookstore|librairies|bookstores)\b/gi,"").replace(/\s+/g," ").trim()}):t("homepage.title")})}),0!==P.length&&P.map(e=>e)]})};H.getLayout=e=>(0,a.jsx)(O.A,{reserveTopAdHeight:!e.props.subdomain,children:e});var B=!0;let z=H},87775:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/site/[host]",function(){return l(64727)}])}},e=>{e.O(0,[8153,7646,4587,898,2941,7240,5690,1548,3490,6593,636,8792],()=>e(e.s=87775)),_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.