PageSourceSearch

https://www.thegreatbritishbookshop.co.uk/cdn/shopifycloud/checkout-web/assets/c1/5587f402.B4N8qnlk.js

js thegreatbritishbookshop.co.uk collected 2026-10-01 10:24:20 UTC 2,623 bytes, 1 lines download raw bytes

1import{M as e,kV as a}from"./4c290a1e.D9lE9kmU.js";const r={Grayscale:{Black:new e(0,0,0),D2:new e(0,0,5.5),D2D:new e(0,0,17.1),L2:new e(0,0,93),L3:new e(0,0,94.8),L4:new e(221,11.7,96.1),White:new e(0,0,100)},Purple:{P40:new e(268.7,91,38.3),L20:new e(272.1,93.4,61.7)},Poppy:{D1:new e(14.2,96.7,47.6)}},n=r.Purple.P40;function o({darkMode:e,fontScale:a,isEmbedded:o=!1}){const t=e?r.Grayscale.D2:r.Grayscale.White,i=e?r.Grayscale.White:r.Grayscale.Black,c=e?r.Purple.L20:n,l=i,s=t,d=e?r.Grayscale.D2D:r.Grayscale.L4,y=e?r.Grayscale.L3:r.Grayscale.Black,u=e?void 0:r.Grayscale.L2;return{colors:{global:{accent:c,critical:r.Poppy.D1,info:r.Grayscale.D2},schemes:{scheme1:{base:{background:t,text:i,accent:c,icon:i,border:u},control:{background:t,text:i,icon:i,accent:i,selected:{background:e?r.Grayscale.D2D:r.Grayscale.L4}},primaryButton:{background:l,border:s,text:s},secondaryButton:{background:d,text:y}},scheme2:{base:{background:t,text:i,accent:c,icon:i},control:{background:t,text:i,icon:i,accent:i},primaryButton:{background:l,border:s,text:s},secondaryButton:{background:d,text:y}}}},cornerRadius:o?{small:6,base:8,large:12}:{small:8,base:12,large:20},spacing:{},typographySize:{},typographyLineHeight:{},typographyScale:{base:14*a,ratio:1.2},typographyPrimary:{},typographySecondary:{},headingLevel1:{typography:{fonts:"primary",size:"extraLarge",weight:"bold"}},headingLevel2:{typography:{fonts:"primary",size:"medium",weight:"bold"}},headingLevel3:{},headingLevel4:{},divider:{},link:{typographyDecoration:"none"},lineItems:{quantityVisibility:"visibleWhenMultiple"},merchandiseThumbnail:{...o&&{cornerRadius:"small"}},moneyLines:{divided:!1},moneySummary:{blockPadding:"none"},rollup:{inlinePadding:"base"},modal:o?{}:{blockPaddingStart:"large200",blockPaddingEnd:"large300",cornerRadius:"fullyRounded",margin:"small200"},global:{},control:{cornerRadius:"base"},textField:{},select:{},checkbox:{cornerRadius:"small"},choiceList:{},optionList:{},primaryButton:{cornerRadius:o?void 0:"fullyRounded",typography:{fonts:"primary",size:"medium",weight:"bold"}},secondaryButton:{cornerRadius:o?void 0:"fullyRounded",typography:{size:"base",weight:"base"}},formLayout:{},popover:{connector:"none"},vaulted:{shadow:"extraSmall",cornerRadius:"large"}}}const t={handle:"e_769189b8",variants:{control:"v_11937282",treatment:"v_151ee815"}};function i(e,a,r){if(!e.flag||r(e.flag))for(const n of a){const[a,r]=n.split("=");if(a===e.handle)return null!=r&&Object.values(e.variants).includes(r)?r:void 0}}function c(e,r=[]){return Object.keys(a(e)).every((e=>r.includes(e)))}export{t as E,r as P,n as S,o as g,c as i,i as r};

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.