PageSourceSearch

https://data.gov.tw/_nuxt/Dv6_qSAB.js

js data.gov.tw collected 2026-09-25 18:14:23 UTC 1,170 bytes, 1 lines download raw bytes

1import{u as g}from"./UbZmcXnx.js";import{as as F,K as x,aa as h,e as i,R as E,r as C,T}from"./CD5ytW8R.js";import{u as m}from"./CYnJB9ax.js";function b(c,{disabled:e,beforeFocus:s,afterFocus:l,beforeBlur:n,afterBlur:u}={}){const{emit:f}=F(),t=E(),r=C(!1),p=o=>{const a=h(s)?s(o):!1;i(e)||r.value||a||(r.value=!0,f("focus",o),l?.())},d=o=>{const a=h(n)?n(o):!1;i(e)||o.relatedTarget&&t.value?.contains(o.relatedTarget)||a||(r.value=!1,f("blur",o),u?.())},v=o=>{i(e)||g(o.target)||t.value?.contains(document.activeElement)&&t.value!==document.activeElement||c.value?.focus()};return x([t,()=>i(e)],([o,a])=>{o&&(a?o.removeAttribute("tabindex"):o.setAttribute("tabindex","-1"))}),m(t,"focus",p,!0),m(t,"blur",d,!0),m(t,"click",v,!0),{isFocused:r,wrapperRef:t,handleFocus:p,handleBlur:d}}function A({afterComposition:c,emit:e}){const s=C(!1),l=t=>{e?.("compositionstart",t),s.value=!0},n=t=>{e?.("compositionupdate",t),s.value=!0},u=t=>{e?.("compositionend",t),s.value&&(s.value=!1,T(()=>c(t)))};return{isComposing:s,handleComposition:t=>{t.type==="compositionend"?u(t):n(t)},handleCompositionStart:l,handleCompositionUpdate:n,handleCompositionEnd:u}}export{A as a,b as u};

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.