PageSourceSearch

https://nspk.ru/_nuxt/CUmjOGlz.js

js nspk.ru collected 2026-10-02 03:28:04 UTC 2,753 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DfwVzzJN.js","./BdY7EaSY.js","./BcwcfCg9.js","./Dv-8tdzx.js","./entry.DvWQ73zK.css","./UiSearch.BUmt30W8.css","./ModalsSearch.CfesbsAA.css"])))=>i.map(i=>d[i]);
2import{_ as N,h as P,i as V,G as A,o as a,d as u,f as o,j as E,t as k,b as r,a as x,k as G,F as y,r as v,c as S,e as H,l as U,m as $,n as w,p as z,w as F,q as O,s as W}from"./Dv-8tdzx.js";import j from"./BdY7EaSY.js";import{_ as Q}from"./CDQbKaKL.js";import{_ as R}from"./C6nM-TRO.js";import{u as Z}from"./Bc3bC_v7.js";import{u as J}from"./BKoxPBWl.js";import{a as K}from"./30xRzcBb.js";import"./BcwcfCg9.js";import"./Cxc9e2VM.js";const X=w(()=>z(()=>import("./DfwVzzJN.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(l=>l.default||l)),Y={class:"pages-search container"},ee={class:"pages-search__header"},te={class:"pages-search__font pages-search__font--title"},se={class:"pages-search__font pages-search__font--number"},ne={class:"pages-search__results"},ae=["innerHTML"],oe=["innerHTML"],re={__name:"index",setup(l){const m=P(),b=Z(),L=V(),B=J().smaller("sm"),n=U(""),{data:c,pending:q}=K(()=>b.search(m.query.q),{server:!1,watch:()=>m.query.q},"$xZOtWaao2Q"),T=$(()=>c.value?c.value.reduce((e,t)=>{const{entityId:s}=t,_=e.find(({id:h})=>h===s),i={url:t.url,text:t.text,blockId:t.blockId};return _?_.links.push(i):e.push({id:s,title:t.title,links:[i]}),e},[]):[]);function C({url:e,blockId:t}){const s=e.startsWith("/");return{to:s&&t?`${e}#${t}`:e,target:s?void 0:"_blank"}}function d(){L.push({name:"search",query:{q:n.value}})}const f=A({component:X,attrs:{searchString:n,"onUpdate:searchString"(e){n.value=e},goToSearch:d}});function D(){B.value?f.open():f.close()}return(e,t)=>{const s=j,_=Q,i=W,h=R;return a(),u("div",Y,[o("div",ee,[o("span",te,[E(k(e.$t("search.searchResults"))+" ",1),o("span",se,k(r(c)?.length),1)]),x(s,{"search-string":r(n),"onUpdate:searchString":t[0]||(t[0]=p=>G(n)?n.value=p:null),class:"pages-search__search hidden-mobile",inline:"",onSubmit:d},null,8,["search-string"]),x(_,{class:"pages-search__button pages-search__button--search hidden-desktop",onClick:D})]),o("div",ne,[r(c)?.length?(a(!0),u(y,{key:0},v(r(T),(p,I)=>(a(),u("div",{key:I,class:"pages-search__info"},[(a(!0),u(y,null,v(p.links,(g,M)=>(a(),S(i,O({key:M,class:"pages-search__link link"},{ref_for:!0},C(g)),{default:F(()=>[o("span",{class:"pages-search__font pages-search__font--group",innerHTML:p.title},null,8,ae),o("span",{class:"pages-search__font pages-search__font--text",innerHTML:g.text},null,8,oe)]),_:2},1040))),128))]))),128)):r(q)?H("",!0):(a(),S(h,{key:1,class:"pages-search__empty container"}))])])}}},ge=N(re,[["__scopeId","data-v-278e9b1a"]]);export{ge as default};
3//# sourceMappingURL=CUmjOGlz.js.map

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.