PageSourceSearch

https://sooperbooks.com/_next/static/chunks/73-16390c19b810d426-1790579903535.js

js sooperbooks.com collected 2026-09-28 10:23:44 UTC 8,240 bytes, 1 lines download raw bytes

1(self.sb=self.sb||[]).push([[73,69,70,71,72,94,95],{329:function(e,t,n){"use strict";n.d(t,{v:function(){return S}});var r=n(120);let i=(...e)=>(...t)=>{for(let n=0;n<e.length;n++){let r=e[n];if(r){let e=r(...t);if(null!=e)return e}}},l={listItem:"list-item",oListItem:"o-list-item",list:"group-list-item",oList:"group-o-list-item",span:"span"},s={[l.listItem]:"listItem",[l.oListItem]:"oListItem",[l.list]:"list",[l.oList]:"oList"},o=e=>(t,n,r,i,l)=>{let o=e[s[t]||t];if(o)return o({type:t,node:n,text:r,children:i,key:l})};var u=n(23);let a=()=>(++a.i).toString();a.i=0;let d=e=>{let t=h(e),n=[];for(let e=0;e<t.length;e++)n.push(f(t[e]));return{key:a(),children:n}},p=(e,t=[])=>({key:a(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:t}),c=e=>p({type:l.span,text:e,spans:[]}),h=e=>{let t=e.slice(0);for(let e=0;e<t.length;e++){let n=t[e];if(n.type===l.listItem||n.type===l.oListItem){let r=[n];for(;t[e+1]&&t[e+1].type===n.type;)r.push(t[e+1]),t.splice(e,1);n.type===l.listItem?t[e]={type:l.list,items:r}:t[e]={type:l.oList,items:r}}}return t},f=e=>{if("text"in e)return p(e,m(e.spans,e));if("items"in e){let t=[];for(let n=0;n<e.items.length;n++)t.push(f(e.items[n]));return p(e,t)}return p(e)},m=(e,t,n)=>{if(!e.length)return[c(t.text)];let r=e.slice(0);r.sort((e,t)=>e.start-t.start||t.end-e.end);let i=[];for(let e=0;e<r.length;e++){let l=r[e],s=n&&n.start||0,o=l.start-s,u=l.end-s,a=t.text.slice(o,u),d=[];for(let t=e;t<r.length;t++){let e=r[t];e!==l&&(e.start>=l.start&&e.end<=l.end?(d.push(e),r.splice(t,1),t--):e.start<l.end&&e.end>l.start&&(d.push({...e,end:l.end}),r[t]={...e,start:l.end}))}0===e&&o>0&&i.push(c(t.text.slice(0,o)));let h={...l,text:a};i.push(p(h,m(d,{...t,text:a},l))),u<t.text.length&&i.push(c(t.text.slice(u,r[e+1]?r[e+1].start-s:void 0)))}return i},g=(e,t)=>x(d(e).children,t),x=(e,t)=>{let n=[];for(let r=0;r<e.length;r++){let i=e[r],l=t(i.type,i.node,i.text,x(i.children,t),i.key);null!=l&&n.push(l)}return n},y=e=>{let t=/^(\/(?!\/)|#)/.test(e),n=!t&&!/^https?:\/\//.test(e);return t&&!n},v={Any:"Any",Document:"Document",Media:"Media",Web:"Web"},b=e=>{var t;return{link_type:v.Document,id:e.id,uid:e.uid||void 0,type:e.type,tags:e.tags,lang:e.lang,url:null==e.url?void 0:e.url,slug:null==(t=e.slugs)?void 0:t[0],...e.data&&Object.keys(e.data).length>0?{data:e.data}:{}}},j=(e,...t)=>{let n;if(!e)return null;let r="link_type"in e?e:b(e),[i]=t;switch(n="function"==typeof i||null==i?{linkResolver:i}:{...i},r.link_type){case v.Media:case v.Web:return"url"in r?r.url:null;case v.Document:if("id"in r&&n.linkResolver){let e=n.linkResolver(r);if(null!=e)return e}if("url"in r&&r.url)return r.url;return null;case v.Any:default:return null}},k=e=>null!=e,C=e=>!!k(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length),L=e=>k(e)&&("id"in e||"url"in e),I=(e,t={})=>{if(e&&("link_type"in e?L(e):e)){let n="target"in e?e.target:void 0,r=j(e,t.linkResolver),i=null==r?void 0:r,l="string"==typeof i&&!y(i),s=t.rel?t.rel({href:i,isExternal:l,target:n}):l?"noreferrer":void 0;return{href:i,target:n,rel:null==s?void 0:s}}return{}},R=e=>{let t=/^(\/(?!\/)|#)/.test(e),n=!t&&!/^https?:\/\//.test(e);return t&&!n};n(146);let _=u.forwardRef(function({field:e,document:t,linkResolver:n,internalComponent:i,externalComponent:l,...s},o){let{href:u,rel:a,...d}=I(e??t,{linkResolver:n,rel:"function"==typeof s.rel?s.rel:void 0}),p=a;"rel"in s&&"function"!=typeof s.rel&&(p=s.rel);let c=("href"in s?s.href:u)||"",h=c&&R(c)?i||"a":l||"a";return(0,r.jsx)(h,{ref:o,...d,...s,href:c,rel:p})});n(146);let w=e=>o({heading1:({children:e,key:t})=>(0,r.jsx)("h1",{children:e},t),heading2:({children:e,key:t})=>(0,r.jsx)("h2",{children:e},t),heading3:({children:e,key:t})=>(0,r.jsx)("h3",{children:e},t),heading4:({children:e,key:t})=>(0,r.jsx)("h4",{children:e},t),heading5:({children:e,key:t})=>(0,r.jsx)("h5",{children:e},t),heading6:({children:e,key:t})=>(0,r.jsx)("h6",{children:e},t),paragraph:({children:e,key:t})=>(0,r.jsx)("p",{children:e},t),preformatted:({node:e,key:t})=>(0,r.jsx)("pre",{children:e.text},t),strong:({children:e,key:t})=>(0,r.jsx)("strong",{children:e},t),em:({children:e,key:t})=>(0,r.jsx)("em",{children:e},t),listItem:({children:e,key:t})=>(0,r.jsx)("li",{children:e},t),oListItem:({children:e,key:t})=>(0,r.jsx)("li",{children:e},t),list:({children:e,key:t})=>(0,r.jsx)("ul",{children:e},t),oList:({children:e,key:t})=>(0,r.jsx)("ol",{children:e},t),image:({node:t,key:n})=>{let i=(0,r.jsx)("img",{src:t.url,alt:t.alt??void 0,"data-copyright":t.copyright?t.copyright:void 0});return(0,r.jsx)("p",{className:"block-img",children:t.linkTo?(0,r.jsx)(_,{linkResolver:e.linkResolver,internalComponent:e.internalLinkComponent,externalComponent:e.externalLinkComponent,field:t.linkTo,children:i}):i},n)}
1,embed:({node:e,key:t})=>(0,r.jsx)("div",{"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name,dangerouslySetInnerHTML:{__html:e.oembed.html??""}},t),hyperlink:({node:t,children:n,key:i})=>(0,r.jsx)(_,{field:t.data,linkResolver:e.linkResolver,internalComponent:e.internalLinkComponent,externalComponent:e.externalLinkComponent,children:n},i),label:({node:e,children:t,key:n})=>(0,r.jsx)("span",{className:e.data.label,children:t},n),span:({text:e,key:t})=>{let n=[],i=0;for(let t of e.split("\n"))i>0&&n.push((0,r.jsx)("br",{},`${i}__break`)),n.push((0,r.jsx)(u.Fragment,{children:t},`${i}__line`)),i++;return(0,r.jsx)(u.Fragment,{children:n},t)}});function M({linkResolver:e,field:t,fallback:n,components:l,externalLinkComponent:s,internalLinkComponent:a,...d}){return u.useMemo(()=>{if(!C(t))return null!=n?(0,r.jsx)(r.Fragment,{children:n}):null;{let n=i("object"==typeof l?o(l):l,w({linkResolver:e,internalLinkComponent:a,externalLinkComponent:s})),d=g(t,(e,t,r,i,l)=>{let s=n(e,t,r,i,l);return u.isValidElement(s)&&null==s.key?u.cloneElement(s,{key:l}):s});return(0,r.jsx)(r.Fragment,{children:d})}},[t,a,s,l,e,n])}let V=u.createContext({}),A=()=>u.useContext(V)||{},S=function({components:e,...t}){let n=A(),l=i("object"==typeof e?o(e):e,"object"==typeof n.richTextComponents?o(n.richTextComponents):n.richTextComponents);return(0,r.jsx)(M,{components:l,internalLinkComponent:n.internalLinkComponent,externalLinkComponent:n.externalLinkComponent,...t})}},304:function(e,t,n){e.exports=n(112)},324:function(e,t,n){"use strict";n.d(t,{YD:function(){return a}});var r=n(23),i=Object.defineProperty,l=new Map,s=new WeakMap,o=0,u=void 0;function a({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:a,triggerOnce:d,skip:p,initialInView:c,fallbackInView:h,onChange:f}={}){var m;let[g,x]=r.useState(null),y=r.useRef(),[v,b]=r.useState({inView:!!c,entry:void 0});y.current=f,r.useEffect(()=>{let r;if(!p&&g)return r=function(e,t,n={},r=u){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:a,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?(n=e.root)?(s.has(n)||(o+=1,s.set(n,o.toString())),s.get(n)):"0":e[t]}`}).toString(),n=l.get(t);if(!n){let r;let i=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var n;let l=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=l),null==(n=i.get(t.target))||n.forEach(e=>{e(l,t)})})},e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:i},l.set(t,n)}return n}(n),p=d.get(e)||[];return d.has(e)||d.set(e,p),p.push(t),a.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(d.delete(e),a.unobserve(e)),0===d.size&&(a.disconnect(),l.delete(i))}}(g,(e,t)=>{b({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&d&&r&&(r(),r=void 0)},{root:a,rootMargin:i,threshold:e,trackVisibility:n,delay:t},h),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,g,a,i,d,p,n,h,t]);let j=null==(m=v.entry)?void 0:m.target,k=r.useRef();g||!j||d||p||k.current===j||(k.current=j,b({inView:!!c,entry:void 0}));let C=[x,v.inView,v.entry];return C.ref=C[0],C.inView=C[1],C.entry=C[2],C}r.Component}}]);

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.