1import{d as c,r as p,h,o as a,c as n,a as s,g as B,l as w,w as k,v as y,u as C,m as x,p as $,t as S,T as V,n as b}from"./runtime-dom.esm-bundler.70e00905.js";const E={class:"page-searchBar-inputContainer"},I=s("div",{class:"page-searchBar-inputIcon"},[s("div",null,[s("img",{style:{width:"16px",height:"auto"},src:"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='490' height='490'%3E%3Cpath fill='none' stroke='%23000' stroke-width='36' stroke-linecap='round'%0Ad='m280,278a153,153 0 1,0-2,2l170,170m-91-117 110,110-26,26-110-110'/%3E%3C/svg%3E",alt:""})])],-1),T={key:0,class:"page-searchBar-inputContent"},K=c({props:{modelValue:{type:String,default:""},text:{type:String,required:!0},withButton:{type:Boolean,default:!1},borderSide:{type:String,default:"bottom"}},emits:["update:modelValue","validate"],setup(o,{emit:v}){const f=o,u=p(!1),l=p(null),r=h({get(){return f.modelValue},set(i){v("update:modelValue",i)}});function m(){l.value&&l.value.focus&&l.value.focus()}function g(){u.value=!0}function d(){u.value=!1}return(i,e)=>(a(),n("div",{class:b(["page-searchBar",[o.borderSide]])},[s("div",E,[I,B(V,{mode:"out-in",onAfterEnter:e[6]||(e[6]=t=>m())},{default:w(()=>[u.value?(a(),n("div",T,[k(s("input",{ref_key:"inputRef",ref:l,"onUpdate:modelValue":e[0]||(e[0]=t=>x(r)?r.value=t:null),class:"page-searchBar-input",type:"text",onBlur:e[1]||(e[1]=t=>d()),onKeyup:e[2]||(e[2]=$(t=>i.$emit("validate"),["enter"]))},null,544),[[y,C(r)]]),o.withButton?(a(),n("button",{key:1,class:"page-searchBar-inputOkButton",onClick:e[4]||(e[4]=t=>i.$emit("validate"))}," OK ")):(a(),n("button",{key:0,class:"page-searchBar-inputCloseButton",onClick:e[3]||(e[3]=t=>d())}," X "))])):(a(),n("label",{key:1,class:"page-searchBar-inputPlaceholder",onClick:e[5]||(e[5]=t=>g())},S(o.text),1))]),_:1})])],2))}});export{K 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.