"use strict";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParameterList=exports.StyleType=void 0;const r=e(require("lodash"));var t,o,n,a,u;!function(e){e[e.Black=0]="Black",e[e.Red=1]="Red",e[e.Green=2]="Green",e[e.Yellow=3]="Yellow",e[e.Blue=4]="Blue",e[e.Magenta=5]="Magenta",e[e.Cyan=6]="Cyan",e[e.White=7]="White"}(t||(t={})),function(e){e[e.Bold=1]="Bold",e[e.Underline=4]="Underline",e[e.Inverse=7]="Inverse"}(o||(o={})),function(e){e[e.Foreground=30]="Foreground",e[e.Background=40]="Background",e[e.ForegroundBright=90]="ForegroundBright",e[e.BackgroundBright=100]="BackgroundBright"}(n||(n={})),function(e){e[e.Bold=22]="Bold",e[e.Foreground=39]="Foreground",e[e.Background=49]="Background",e[e.Underline=24]="Underline",e[e.Inverse=27]="Inverse"}(a||(a={})),function(e){e[e.Color=0]="Color",e[e.Decoration=1]="Decoration"}(u=exports.StyleType||(exports.StyleType={}));const i=e=>isNaN(Number(e)),l=Object.keys(t).filter(i).flatMap((e=>{const o=r.default.lowerFirst(e),i=t[e],l=u.Color;return[{parameter:o,attribute:n.Foreground,color:i,type:l,reset:a.Foreground},{parameter:`${o}Bright`,attribute:n.ForegroundBright,color:i,type:l,reset:a.Foreground},{parameter:`bg${e}`,attribute:n.Background,color:i,type:l,reset:a.Background},{parameter:`bg${e}Bright`,attribute:n.BackgroundBright,color:i,type:l,reset:a.Background}]})),d=Object.keys(o).filter(i).map((e=>({parameter:`${r.default.lowerFirst(e)}`,attribute:o[e],type:u.Decoration,reset:a[e]})));exports.ParameterList=[...l,...d];