1import{G as L,U as l,L as z,V as A,W as $,g as w}from"./DcxZ-ZnM.js";function E(t){return A()?($(t),!0):!1}const O=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Y=Object.prototype.toString,H=t=>Y.call(t)==="[object Object]";function y(t){return Array.isArray(t)?t:[t]}const N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Z=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function j(t,e,n,c){let s=t<12?"AM":"PM";return c&&(s=s.split("").reduce((u,f)=>u+=`${f}.`,"")),n?s.toLowerCase():s}function d(t){const e=["th","st","nd","rd"],n=t%100;return t+(e[(n-20)%10]||e[n]||e[0])}function k(t,e,n={}){var c;const s=t.getFullYear(),u=t.getMonth(),f=t.getDate(),o=t.getHours(),r=t.getMinutes(),i=t.getSeconds(),a=t.getMilliseconds(),g=t.getDay(),m=(c=n.customMeridiem)!=null?c:j,S=D=>{var p;return(p=D.split(" ")[1])!=null?p:""},h={Yo:()=>d(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>u+1,Mo:()=>d(u+1),MM:()=>`${u+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(l(n.locales),{month:"short"}),MMMM:()=>t.toLocaleDateString(l(n.locales),{month:"long"}),D:()=>String(f),Do:()=>d(f),DD:()=>`${f}`.padStart(2,"0"),H:()=>String(o),Ho:()=>d(o),HH:()=>`${o}`.padStart(2,"0"),h:()=>`${o%12||12}`.padStart(1,"0"),ho:()=>d(o%12||12),hh:()=>`${o%12||12}`.padStart(2,"0"),m:()=>String(r),mo:()=>d(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(i),so:()=>d(i),ss:()=>`${i}`.padStart(2,"0"),SSS:()=>`${a}`.padStart(3,"0"),d:()=>g,dd:()=>t.toLocaleDateString(l(n.locales),{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(l(n.locales),{weekday:"short"}),dddd:()=>t.toLocaleDateString(l(n.locales),{weekday:"long"}),A:()=>m(o,r),AA:()=>m(o,r,!1,!0),a:()=>m(o,r,!0),aa:()=>m(o,r,!0,!0),z:()=>S(t.toLocaleDateString(l(n.locales),{timeZoneName:"shortOffset"})),zz:()=>S(t.toLocaleDateString(l(n.locales),{timeZoneName:"shortOffset"})),zzz:()=>S(t.toLocaleDateString(l(n.locales),{timeZoneName:"shortOffset"})),zzzz:()=>S(t.toLocaleDateString(l(n.locales),{timeZoneName:"longOffset"}))};return e.replace(Z,(D,p)=>{var M,v;return(v=p??((M=h[D])==null?void 0:M.call(h)))!=null?v:D})}function G(t){if(t===null)return new Date(Number.NaN);if(t===void 0)return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){const e=t.match(N);if(e){const n=e[2]-1||0,c=(e[7]||"0").substring(0,3);return new Date(e[1],n,e[3]||1,e[4]||0,e[5]||0,e[6]||0,c)}}return new Date(t)}function x(t,e="HH:mm:ss",n={}){return L(()=>k(G(l(t)),l(e),n))}function T(t,e,n){return z(t,e,{...n,immediate:!0})}const b=O?window:void 0;function W(t){var e;const n=l(t);return(e=n?.$el)!=null?e:n}function C(...t){const e=[],n=()=>{e.forEach(o=>o()),e.length=0},c=(o,r,i,a)=>(o.addEventListener(r,i,a),()=>o.removeEventListener(r,i,a)),s=L(()=>{const o=y(l(t[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0}),u=T(()=>{var o,r;return[(r=(o=s.value)==null?void 0:o.map(i=>W(i)))!=null?r:[b].filter(i=>i!=null),y(l(s.value?t[1]:t[0])),y(w(s.value?t[2]:t[1])),l(s.value?t[3]:t[2])]},([o,r,i,a])=>{if(n(),!o?.length||!r?.length||!i?.length)return;const g=H(a)?{...a}:a;e.push(...o.flatMap(m=>r.flatMap(S=>i.map(h=>c(m,S,h,g)))))},{flush:"post"}),f=()=>{u(),n()};return E(n),f}function P(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function K(...t){let e,n,c={};t.length===3?(e=t[0],n=t[1],c=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],c=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:s=b,eventName:u="keydown",passive:f=!1,dedupe:o=!1}=c,r=P(e);return C(s,u,a=>{a.repeat&&l(o)||r(a)&&n(a)},f)}export{K as o,x 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.