1var b=(f,e,o)=>new Promise((l,t)=>{var u=n=>{try{c(o.next(n))}catch(p){t(p)}},_=n=>{try{c(o.throw(n))}catch(p){t(p)}},c=n=>n.done?l(n.value):Promise.resolve(n.value).then(u,_);c((o=o.apply(f,e)).next())});import{d as w,a as s,h as a,e as r,F as B,s as P,g as d,t as k,x as v,o as M,C,D as E,f as x,E as y,n as D}from"./chunk-XxbXtNwf.js";import{_ as F,D as K,a as L}from"./chunk-CiXZas8y.js";import{_ as T}from"./chunk-ftvJM5OQ.js";/* empty css */const V={"aria-label":"ХлебнÑе кÑоÑки",class:"text-sm text-slate-500"},H={class:"flex flex-wrap items-center gap-x-2 gap-y-1"},I={key:0,"aria-current":"page",class:"text-slate-700"},j=["href"],q={key:2,"aria-hidden":"true",class:"text-slate-300"},ie=w({__name:"DocsBreadcrumbs",props:{items:{}},setup(f){return(e,o)=>(a(),s("nav",V,[r("ol",H,[(a(!0),s(B,null,P(e.items,(l,t)=>(a(),s("li",{key:l.url,class:"flex items-center gap-x-2"},[t===e.items.length-1?(a(),s("span",I,k(l.name),1)):(a(),s("a",{key:1,href:l.url,class:"inline-flex min-h-10 items-center transition-colors hover:text-purple-700 lg:min-h-0"},k(l.name),9,j)),t<e.items.length-1?(a(),s("span",q,"/")):d("v-if",!0)]))),128))])]))}}),z={key:0,class:"relative w-full sm:w-80"},N={key:0,class:"absolute right-0 z-40 mt-2 max-h-[70vh] w-full overflow-y-auto rounded-3xl bg-white p-2 shadow-xl shadow-slate-300/50 ring-1 ring-slate-100 sm:w-[28rem]"},A={key:0,class:"px-3 py-2 text-sm text-slate-500"},O={key:1,class:"px-3 py-2 text-sm text-slate-500"},R={key:2},U=["href"],G={class:"block text-sm font-medium text-slate-900"},J=["innerHTML"],Q=w({__name:"DocsSearch",props:{basePath:{}},setup(f){const e=f,o=v(!1),l=v(""),t=v([]),u=v("idle"),_=v(!1);let c=null;M(()=>{o.value=!0});function n(){return b(this,null,function*(){return c||(c=yield T(()=>import("".concat(e.basePath,"pagefind.js")),[]),c)})}function p(){return b(this,null,function*(){const g=l.value.trim();if(g.length<2){t.value=[],_.value=!1;return}try{u.value="loading";const i=yield(yield n()).debouncedSearch(g,{},200);if(i===null)return;const S=yield Promise.all(i.results.slice(0,8).map(h=>h.data()));t.value=S.map(h=>{var $;return{url:String(h.url).replace(/(.)\/$/,"$1"),title:(($=h.meta)==null?void 0:$.title)||h.url,excerpt:h.excerpt}}),_.value=!0,u.value="idle"}catch(m){u.value="error"}})}return(g,m)=>o.value?(a(),s("div",z,[m[1]||(m[1]=r("label",{class:"sr-only",for:"docs-search-input"},"ÐоиÑк по докÑменÑаÑии",-1)),C(r("input",{id:"docs-search-input","onUpdate:modelValue":m[0]||(m[0]=i=>l.value=i),type:"search",autocomplete:"off",placeholder:"ÐоиÑк по докÑменÑаÑии",class:"w-full rounded-2xl bg-slate-50 px-4 py-2 text-sm text-slate-900 placeholder-slate-500 outline-none ring-1 ring-slate-100 focus:bg-white focus:ring-purple-300",onInput:p,onFocus:p},null,544),[[E,l.value]]),t.value.length||_.value||u.value==="error"?(a(),s("div",N,[u.value==="error"?(a(),s("p",A,"ÐоиÑк вÑеменно недоÑÑÑпен.")):t.value.length?(a(),s("ul",R,[(a(!0),s(B,null,P(t.value,i=>(a(),s("li",{key:i.url},[r("a",{href:i.url,class:"block rounded-2xl px-3 py-2 hover:bg-slate-50"},[r("span",G,k(i.title),1),r("span",{class:"docs-search-excerpt mt-0.5 block text-xs text-slate-500",innerHTML:i.excerpt},null,8,J)],8,U)]))),128))])):(a(),s("p",O,"ÐиÑего не найдено."))])):d("v-if",!0)])):d("v-if",!0)}}),W=F(Q,[["__scopeId","data-v-c5bbac3a"]]),X={class:"docs-page min-h-screen bg-white text-slate-800"},Y={class:"container-xl pb-20 pt-24"},Z={class:"flex flex-wrap items-center justify-between gap-x-6 gap-y-3"},ee={key:0,class:"mb-4 max-w-[42rem] lg:mb-0 lg:max-w-none"},ae={key:1,class:"hidden xl:block"},se={class:"docs-scroll sticky top-24 max-h-[calc(100vh-8rem)] overflow-y-auto"},ce=w({__name:"DocsShell",props:{data:{},sidebar:{type:Boolean},aside:{type:Boolean}},setup(f){return(e,o)=>(a(),s("div",X,[e.data.headerKey?(a(),x(K,{key:0,"header-key":e.data.headerKey,header:e.data.header,menus:e.data.headerMenus},null,8,["header-key","header","menus"])):d("v-if",!0),r("div",Y,[r("div",Z,[y(e.$slots,"breadcrumbs"),e.data.searchPath?(a(),x(W,{key:0,"base-path":e.data.searchPath},null,8,["base-path"])):d("v-if",!0)]),r("div",{class:D(["mt-6 lg:gap-x-10",e.sidebar?"lg:grid lg:grid-cols-[256px_minmax(0,1fr)]":"",e.sidebar&&e.aside?"xl:grid-cols-[256px_minmax(0,1fr)_208px]":""])},[e.sidebar?(a(),s("aside",ee,[y(e.$slots,"sidebar")])):d("v-if",!0),r("main",{class:D(["min-w-0",e.sidebar?"max-w-[42rem]":""])},[y(e.$slots,"default")],2),e.sidebar&&e.aside?(a(),s("aside",ae,[r("div",se,[y(e.$slots,"toc")])])):d("v-if",!0)],2)]),e.data.footerKey?(a(),x(L,{key:1,"footer-key":e.data.footerKey,footer:e.data.footer,menus:e.data.footerMenus,"blocks-data":e.data.blocksData}
1,null,8,["footer-key","footer","menus","blocks-data"])):d("v-if",!0)]))}});export{ce as _,ie as a};
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.