/* Socket Lib - Built with esbuild */
var _=Object.create;var a=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var y=(e,o)=>{for(var n in o)a(e,n,{get:o[n],enumerable:!0})},b=(e,o,n,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of x(o))!w.call(e,r)&&r!==n&&a(e,r,{get:()=>o[r],enumerable:!(i=m(o,r))||i.enumerable});return e};var C=(e,o,n)=>(n=e!=null?_(O(e)):{},b(o||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e)),T=e=>b(a({},"__esModule",{value:!0}),e);var F={};y(F,{createHeader:()=>h,createSectionHeader:()=>v,printFooter:()=>j,printHeader:()=>S});module.exports=T(F);var d=C(require("../external/yoctocolors-cjs")),t=require("../strings");function h(e,o){const{bold:n=!0,borderChar:i="=",color:r="cyan",padding:u=1,width:p=80}={__proto__:null,...o},g=(0,t.repeatString)(i,p);let l=e;r&&d.default[r]&&(l=d.default[r](l)),n&&d.default.bold&&(l=d.default.bold(l));const H=(0,t.centerText)(l,p),f=(0,t.repeatString)(" ",p),s=[g];for(let c=0;c<u;c++)s.push(f);s.push(H);for(let c=0;c<u;c++)s.push(f);return s.push(g),s.join(`
`)}function v(e,o){const{borderChar:n="-",color:i="blue",width:r=60}={__proto__:null,...o};return h(e,{width:r,borderChar:n,padding:0,color:i,bold:!1})}function S(e){const o=(0,t.repeatString)("\u2550",55);console.log(o),console.log(`  ${e}`),console.log(o)}function j(e){const o=(0,t.repeatString)("\u2500",55);console.log(o),e&&console.log(d.default.green(e))}0&&(module.exports={createHeader,createSectionHeader,printFooter,printHeader});
//# sourceMappingURL=header.js.map
