PageSourceSearch

https://elitnoe.ru/_nuxt/DjvoHkcz.js

js elitnoe.ru collected 2026-10-02 11:13:18 UTC 1,429 bytes, 1 lines download raw bytes

1import{d as B,u as S,b as I,r as t,c as d,n as V,e as U,f as _,g as r,w as u,T as y,h as j,o as c,i as D,t as N,j as i,k as T}from"./DlWDwVWO.js";import{S as E,u as M}from"./Cda2P2_D.js";const z={key:0,ref:"block",class:"blog-search__block"},O=B({__name:"BlogSearch",props:{show:{type:Boolean},showModifiers:{}},emits:["update:show"],setup(f){const{isDesktop:h}=S(),a=I(f,"show"),n=t(""),p=t([]),l=t(""),{onInput:m,onClear:v}=M("/api/journal/search",n,p,l),o=t(!1);function k(){o.value=!0}function w(){a.value=!0}function b(){o.value=!1}function g(){a.value=!1}return(A,e)=>{const C=T,x=j;return c(),d("div",{class:V(["blog-search",{"blog-search--open":a.value}])},[a.value?_("",!0):(c(),U(x,{key:0,color:"white",bordered:"",narrow:"",class:"blog-search__button",onClick:k},{icon:u(()=>[r(C,{id:"ic_search"})]),default:u(()=>[D(" "+N(i(h)?"Поиск по журналу":""),1)]),_:1})),r(y,{name:"expand-width",onEnter:w,onAfterLeave:g},{default:u(()=>[o.value?(c(),d("div",z,[r(E,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=s=>n.value=s),status:l.value,"onUpdate:status":e[1]||(e[1]=s=>l.value=s),open:o.value,"onUpdate:open":e[2]||(e[2]=s=>o.value=s),results:p.value,"lock-scroll-width":"desktop","search-all-path":"/journal/search",class:"blog-search__field",onInput:i(m),onClear:i(v),onClose:b},null,8,["modelValue","status","open","results","onInput","onClear"])],512)):_("",!0)]),_:1})],2)}}});export{O as _};

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.