import{__exports as r}from"../../../../_virtual/validateTableData.mjs";import{__require as e}from"./utils.mjs";var t;function a(){if(t)return r;t=1,Object.defineProperty(r,"__esModule",{value:!0}),r.validateTableData=void 0;const a=e();return r.validateTableData=r=>{if(!Array.isArray(r))throw new TypeError("Table data must be an array.");if(0===r.length)throw new Error("Table must define at least one row.");if(0===r[0].length)throw new Error("Table must define at least one column.");const e=r[0].length;for(const t of r){if(!Array.isArray(t))throw new TypeError("Table row data must be an array.");if(t.length!==e)throw new Error("Table must have a consistent number of cells.");for(const r of t)if(/[\u0001-\u0006\u0008\u0009\u000B-\u001A]/.test((0,a.normalizeString)(String(r))))throw new Error("Table data must not contain control characters.")}},r}export{a as __require};