PageSourceSearch

https://www.imrpress.com/_nuxt/BMGEDI6Y.js

js imrpress.com collected 2026-09-24 17:13:55 UTC 2,428 bytes, 1 lines download raw bytes

1import{f as L,ap as $,c as b,r as B,o as T,e as V,k as n,Q as s,a0 as v,a1 as _,R as r,W as k,X as w,Y as c,U as g,S as y,_ as I}from"#entry";const O={class:"catalog-list base-scrollbar"},A=["href"],S=["aria-label","onClick","onKeydown"],Y={key:0},M=["href"],N=["aria-label","onClick","onKeydown"],R={class:"h2-text"},U={key:0},j=["href"],q=["aria-label","onClick","onKeydown"],z={class:"h3-text"},D=L({__name:"rich-text-catalog",props:{catalogList:{},pageType:{},topOffset:{}},setup(m){$(e=>({eeb4fcd8:C.value,e5e6b7b2:x.value?"var(--publisher-theme-color)":"var(--journal-theme-color)"}));const p=m,x=b(()=>p.pageType==="publisher"),C=b(()=>{var e;return`${(e=p.topOffset)!=null?e:154}px`}),l=B("");function i(e){const d=document.getElementById(e);d&&(l.value=e,d.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"}))}function f(){var t;const e=Array.from(document.querySelectorAll("h1[id], h2[id], h3[id]"));if(e.length===0)return;const d=window.scrollY,o=(t=p.topOffset)!=null?t:152;let h=e[0].id;for(const u of e)if(u.getBoundingClientRect().top+window.scrollY-o<=d)h=u.id;else break;h!==l.value&&(l.value=h)}return T(()=>{window.addEventListener("scroll",f,{passive:!0}),window.addEventListener("hashchange",()=>{const e=window.location.hash.replace(/^#/,"");l.value=e})}),V(()=>{window.removeEventListener("scroll",f),window.removeEventListener("hashchange",f)}),(e,d)=>(s(),n("ul",O,[(s(!0),n(v,null,_(e.catalogList,(o,h)=>(s(),n("li",{key:h},[r("a",{href:"#"+o.id},[r("h1",{role:"button","aria-label":o.title,class:g({active:o.id===l.value}),onClick:c(t=>i(o.id),["stop"]),onKeydown:w(c(t=>i(o.id),["prevent"]),["enter"])},y(o.title),43,S)],8,A),o.children&&o.children.length?(s(),n("ul",Y,[(s(!0),n(v,null,_(o.children,(t,u)=>(s(),n("li",{key:u},[r("a",{href:"#"+t.id},[r("h2",{role:"button","aria-label":t.title,class:g({active:t.id===l.value}),onClick:c(a=>i(t.id),["stop"]),onKeydown:w(c(a=>i(t.id),["prevent"]),["enter"])},[r("span",R,y(t.title),1)],42,N)],8,M),t.children&&t.children.length?(s(),n("ul",U,[(s(!0),n(v,null,_(t.children,(a,E)=>(s(),n("li",{key:E},[r("a",{href:"#"+a.id},[r("h3",{role:"button","aria-label":a.title,class:g({active:a.id===l.value}),onClick:c(K=>i(a.id),["stop"]),onKeydown:w(c(K=>i(a.id),["prevent"]),["enter"])},[r("span",z,y(a.title),1)],42,q)],8,j)]))),128))])):k("",!0)]))),128))])):k("",!0)]))),128))]))}}),P=I(D,[["__scopeId","data-v-1d499b20"]]);export{P 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.