1import{_ as B}from"./client-only.9e284ab7.js";import{_ as S,d as $,s as L,u as M,r as E,a as H,w as R,o as V,b as T,c as x,e as a,f as v,g as A,h as i,F as p,i as C,k as D,j as s,l as b,t as P,m as w,n as z,p as q,q as F,v as N,x as W,y as I}from"./entry.5248caec.js";import{u as j,a as G,c as O}from"./pages.28c1fd3f.js";import{V as Y}from"./vue3-runtime-template.es.d19652c6.js";import{P as J}from"./page-pagination.d036ac7b.js";import{G as K}from"./glossary-tooltip.92cfef96.js";import"./arrow.c320c898.js";import"./arrow-full.c5e6aab0.js";const Q=$({components:{VRuntimeTemplate:Y,PagePagination:J,GlossaryTooltip:K},async setup(){const o=j(),{pageInfo:m,titles:c}=L(o),{getPageInfo:_,changeActiveTitle:d}=o,u=M(),r=E(!1);H({title:m.value.title});const f=(t,e)=>{!t||!e||d(e.match(/<h2[^>]*\sid="l-([^"]*)">/i)[1])};R(()=>{r.value&&u.hash&&c.value&&c.value.length>0&&I(()=>{const t=document.getElementById("l-"+u.hash.split("#")[1]);t&&(t.getBoundingClientRect(),d(t.innerHTML.toLocaleLowerCase().replaceAll(" ","-")),I(()=>t.scrollIntoView({behavior:"smooth",block:"center"})))})});const g=(t,e)=>` 2 ${t.map(l=>{if(l.type==="text")return l.value;if(l.type==="tooltip")return`<glossary-tooltip glossary="${l.value}" tooltipIndex="${l.tooltip}" section-index="${e}"/>`}).join("")} 3 `,h=()=>{document.querySelectorAll("[data-colwidth]").forEach(e=>{e.style.width=e.dataset.colwidth+"px"})},y=()=>{document.querySelectorAll("[data-formula]").forEach(e=>{D.render(e.dataset.formula,e,{throwOnError:!1})})};V(()=>{y(),h(),r.value=!0});const n=t=>r.value?document.getElementById(t):null;return c&&await G(()=>_(u.path),"$46HtYhc5ci"),{createTextWithTooltips:g,visibilityChanged:f,pageInfo:m,getRoot:n}}}),U={key:0,id:"top",class:"container"},X=["innerHTML"],Z=["innerHTML"],ee={key:1,class:"typography"},te={key:2,class:"formula"},oe={key:2,class:"content-error"};function se(o,m,c,_,d,u){const r=B,f=T("v-runtime-template"),g=T("page-pagination"),h=x("katex"),y=x("observe-visibility");return s(),a(p,null,[o.pageInfo.title?(s(),a("section",U,[v(r,null,{default:A(()=>[b("h1",null,P(o.pageInfo.title),1)]),_:1})])):i("",!0),o.pageInfo.sections&&o.pageInfo.sections.length>0?(s(),a(p,{key:1},[(s(!0),a(p,null,C(o.pageInfo.sections,(n,t)=>w((s(),a("section",{key:n.id+"section",class:"container"},[n.title?(s(),a("div",{key:0,class:"title",innerHTML:n.title},null,8,X)):i("",!0),(s(!0),a(p,null,C(n.content,(e,k)=>(s(),a("div",{key:k+"content",class:z(["content",{"is-big":e.component&&("componentsBigContainer"in o?o.componentsBigContainer:q(O)).includes(e.component),"is-formula":e.type==="formula"}])},[e.type==="text"?(s(),a("div",{key:0,class:"typography",innerHTML:e.value},null,8,Z)):i("",!0),e.type==="text-tooltips"?(s(),a("div",ee,[v(f,{template:o.createTextWithTooltips(e.value,t)},null,8,["template"])])):i("",!0),e.type==="formula"?(s(),a("div",te,[w(b("div",{style:F({fontSize:e.fontSize})},null,4),[[h,e.dataFormula]])])):i("",!0),e.type==="figure"?(s(),N(W(e.component),{key:3,"class-name":"figure",title:e.title},null,8,["title"])):i("",!0)],2))),128))])),[[y,{callback:e=>o.visibilityChanged(e,n.title),intersection:{root:o.getRoot(n.id+"section"),rootMargin:"-94px 0px -30px 0px",threshold:0}}]])),128)),v(g)],64)):(s(),a("p",oe," Sorry, the content of this page is under construction. "))],64)}const me=S(Q,[["render",se]]);export{me as default};
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.