import{o as r}from"./rolldown-runtime-iuO8RvI4.js";import{Gg as t}from"./shared-0-C4kdVF7Y.js";import{Mi as n}from"./vendor-frame-CwiylG4Y.js";import{rn as o}from"./vendor-all-2-BJdkbLSj.js";import{Ai as e}from"./shared-3-D-Ux4aGn.js";var s=/[\u0000-\u0008\u000B\u000C\u000E-\u001A\u001C-\u001F\u007F\uFFFD]/g;function u(r){const t=r.match(s);return null!==t&&t.length>=4&&t.length/r.length>=.1}function a(r){if(!r)return!1;const{folders:n}=t(r.items,r.files);if(n.length>0)return!0;const o=r.getData("text/plain");return o.length>0&&u(o)}var l=r(n());function i(){const{locale:r}=o();return(0,l.useMemo)(()=>Array.from({length:7},(t,n)=>e(n,r)),[r])}export{u as n,a as r,i as t};