PageSourceSearch

https://www.cyff.org.tw/_nuxt/BKZSkMyD.js

js cyff.org.tw collected 2026-09-24 09:42:37 UTC 1,217 bytes, 1 lines download raw bytes

1import{ar as f,aN as c,aO as y}from"./BcNAT0cp.js";import{r as m,P as h,c as w,q as b,o as v}from"./Bs0Gx3pR.js";function P(p={},n){const t=m({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:u,keyup:i}=p,s=e=>{switch(e.key){case"Control":t.ctrl=!0;break;case"Meta":t.command=!0,t.win=!0;break;case"Shift":t.shift=!0;break;case"Tab":t.tab=!0;break}u!==void 0&&Object.keys(u).forEach(o=>{if(o!==e.key)return;const a=u[o];if(typeof a=="function")a(e);else{const{stop:d=!1,prevent:l=!1}=a;d&&e.stopPropagation(),l&&e.preventDefault(),a.handler(e)}})},r=e=>{switch(e.key){case"Control":t.ctrl=!1;break;case"Meta":t.command=!1,t.win=!1;break;case"Shift":t.shift=!1;break;case"Tab":t.tab=!1;break}i!==void 0&&Object.keys(i).forEach(o=>{if(o!==e.key)return;const a=i[o];if(typeof a=="function")a(e);else{const{stop:d=!1,prevent:l=!1}=a;d&&e.stopPropagation(),l&&e.preventDefault(),a.handler(e)}})},k=()=>{(n===void 0||n.value)&&(f("keydown",document,s),f("keyup",document,r)),n!==void 0&&w(n,e=>{e?(f("keydown",document,s),f("keyup",document,r)):(c("keydown",document,s),c("keyup",document,r))})};return y()?(b(k),v(()=>
1{(n===void 0||n.value)&&(c("keydown",document,s),c("keyup",document,r))})):k(),h(t)}export{P 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.