PageSourceSearch

https://www.doc.govt.nz/static/doc-front-end/chunks/js/DocPopoverNavItem.internal-CTQmhGw7.js

js doc.govt.nz collected 2026-09-24 08:27:01 UTC 1,068 bytes, 1 lines download raw bytes

1import{d as p,aW as t,aX as h,aY as u,a_ as _,v as y,o as x,e as b,k as e,r as o,ak as g,al as S,h as a,Z as k}from"../../entry/js/main-DqXmKUqu.js";import{u as w}from"./useHoverToggle-O7MJndLR.js";const D={class:"flex cursor-pointer select-none text-sm"},H=["id"],I={class:"flex gap-x-4 bg-white p-4 px-5 py-4"},$=["aria-labelledby"],B={class:"w-full"},C=p({__name:"DocPopoverNavItem.internal",setup(N){const i=t(h),{activeId:r,activateWithDelay:c,deactivateWithDelay:d,forceClose:f}=t(u),{navId:l,internalId:v,isOpen:m}=t(_),n=y(null);return w(n,v,r,c,d,f),(s,W)=>(x(),b("li",{ref_key:"hoverZoneRef",ref:n,class:"flex"},[e("div",D,[o(s.$slots,"main-nav-link")]),g(e("div",{id:`nav-${a(l)}`,class:"absolute left-1/2 z-10 mx-auto w-full -translate-x-1/2 md:max-w-screen-lg",style:k({top:a(i).topOffset.value+"px"})},[e("div",I,[e("ul",{class:"no-default-styles flex min-w-[270px] flex-col gap-y-.5","aria-labelledby":`${a(l)}-label`},[o(s.$slots,"sub-nav-links")],8,$),e("div",B,[o(s.$slots,"additional-content")])])],12,H),[[S,a(m)]])],512))}});export{C 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.