PageSourceSearch

https://delta-batt.com/_nuxt/S7pvcqnU.js

js delta-batt.com collected 2026-10-09 22:41:11 UTC 1,640 bytes, 1 lines download raw bytes

1import{d as I,I as C,e as g,_ as N}from"./p7j0WGZt.js";import{m as $,a6 as w,j as f,N as c,Q as h,Y as i,$ as _,af as Q,ap as z,ar as F,u as K,S as R,U as v,ag as U,aa as y,M as o}from"./uOatmh1Q.js";/* empty css        */const j=["placeholder"],A=["disabled"],D=$({__name:"Search",props:y({loading:{type:Boolean},placeholder:{},header:{type:Boolean}},{modelValue:{default:""},modelModifiers:{}}),emits:y(["focus","blur","clear","search","intersect","inputQuery"],["update:modelValue"]),setup(d,{emit:b}){const s=d,e=w(d,"modelValue"),l=f(!!e.value),k=I(),t=b,B=()=>{e.value="",l.value=!1,t("clear")},V=()=>{l.value=!!e.value,t("search")},x=()=>{l.value=!!e.value,t("blur")};function M(n){const a=n.target.value;t("inputQuery",a)}let p=!1;const m=f(),S=n=>{n&&p&&m.value?.focus(),p=!0};return(n,a)=>{const r=g;return o(),c("form",{class:v(["ui-search",{header:s.header}]),onSubmit:U(V,["prevent"])},[h("div",{class:v(["ui-search__input",{"header-search":s.header}])},[s.header?(o(),i(r,{key:0,name:"ui/search",size:20})):_("",!0),Q(h("input",{ref_key:"inputRef",ref:m,"onUpdate:modelValue":a[0]||(a[0]=u=>e.value=u),type:"text",autocomplete:"off",placeholder:s.placeholder,onInput:M,onFocus:a[1]||(a[1]=u=>t("focus")),onKeyup:a[2]||(a[2]=F(u=>t("search"),["enter"])),onBlur:x},null,40,j),[[z,e.value],[C,S]]),e.value?(o(),c("button",{key:1,type:"button",class:"clear",onClick:B},[K(k).isMobile?(o(),i(r,{key:1,name:"trash"})):(o(),i(r,{key:0,name:"ui/close"}))])):s.header?_("",!0):(o(),c("button",{key:2,type:"submit",disabled:!e.value},[R(r,{name:"ui/search"})],8,A))],2)],34)}}}),q=N(D,[["__scopeId","data-v-169126a7"]]);export{q 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.