PageSourceSearch

https://fl84.com/js/inddex-DKFguRZv.js

js fl84.com collected 2026-10-07 21:10:25 UTC 686 bytes, 1 lines download raw bytes

1function c(r){const t=r.replace(/[/\s.]/g,"-").split("-");if(t.length<3)throw new Error("日期格式无效");const a=t[0],o=t[1].padStart(2,"0").slice(-2),n=t[2].padStart(2,"0").slice(-2);if(!/^\d{4}$/.test(a))throw new Error("年份必须为4位数字");const e=parseInt(o),s=parseInt(n);if(e<1||e>12)throw new Error("月份必须在1-12之间");if(s<1||s>31)throw new Error("日期必须在1-31之间");return[a,o,n]}const p=r=>{const t=r.getFullYear(),a=(r.getMonth()+1).toString().padStart(2,"0"),o=r.getDate().toString().padStart(2,"0");return`${t}-${a}-${o}`};function i([r,t,a],o="-"){const n=e=>(e+"").padStart(2,"0");return`${r}-${n(t)}-${n(a)}`}export{i as a,p as f,c as p};

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.