@nice-move/cli 0.11.14 → 0.11.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/145.mjs CHANGED
@@ -1 +1 @@
1
- export const id=145;export const ids=[145];export const modules={5145:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(3490);const o=/^[\uD800-\uDBFF][\uDC00-\uDFFF]$/,i=["\x1b","\x9b"],s=e=>`${i[0]}[${e}m`,u=(e,t,r)=>{let o=[];e=[...e];for(let r of e){const i=r;r.includes(";")&&(r=r.split(";")[0][0]+"0");const u=n.Ay.codes.get(Number.parseInt(r,10));if(u){const r=e.indexOf(u.toString());-1===r?o.push(s(t?u:i)):e.splice(r,1)}else{if(t){o.push(s(0));break}o.push(s(i))}}if(t&&(o=o.filter(((e,t)=>o.indexOf(e)===t)),void 0!==r)){const e=s(n.Ay.codes.get(Number.parseInt(r,10)));o=o.reduce(((t,r)=>r===e?[r,...t]:[...t,r]),[])}return o.join("")};function c(e,t,r){const n=[...e],s=[];let c,f="number"==typeof r?r:n.length,p=!1,d=0,l="";for(const[m,h]of n.entries()){let n=!1;if(i.includes(h)){const t=/\d[^m]*/.exec(e.slice(m,m+18));c=t&&t.length>0?t[0]:void 0,d<f&&(p=!0,void 0!==c&&s.push(c))}else p&&"m"===h&&(p=!1,n=!0);if(p||n||d++,!o.test(h)&&(a=h.codePointAt(),Number.isInteger(a)&&a>=4352&&(a<=4447||9001===a||9002===a||11904<=a&&a<=12871&&12351!==a||12880<=a&&a<=19903||19968<=a&&a<=42182||43360<=a&&a<=43388||44032<=a&&a<=55203||63744<=a&&a<=64255||65040<=a&&a<=65049||65072<=a&&a<=65131||65281<=a&&a<=65376||65504<=a&&a<=65510||110592<=a&&a<=110593||127488<=a&&a<=127569||131072<=a&&a<=262141))&&(d++,"number"!=typeof r&&f++),d>t&&d<=f)l+=h;else if(d!==t||p||void 0===c){if(d>=f){l+=u(s,!0,c);break}}else l=u(s)}var a;return l}var f=r(2843);function p(e,t,r){if(" "===e.charAt(t))return t;const n=r?1:-1;for(let r=0;r<=3;r++){const o=t+r*n;if(" "===e.charAt(o))return o}return t}function d(e,t,r={}){const{position:n="end",space:o=!1,preferTruncationOnSpace:i=!1}=r;let{truncationCharacter:s="\u2026"}=r;if("string"!=typeof e)throw new TypeError("Expected `input` to be a string, got "+typeof e);if("number"!=typeof t)throw new TypeError("Expected `columns` to be a number, got "+typeof t);if(t<1)return"";if(1===t)return s;const u=(0,f.A)(e);if(u<=t)return e;if("start"===n){if(i){return s+c(e,p(e,u-t+1,!0),u).trim()}return!0===o&&(s+=" "),s+c(e,u-t+(0,f.A)(s),u)}if("middle"===n){!0===o&&(s=` ${s} `);const r=Math.floor(t/2);if(i){const n=p(e,r),o=p(e,u-(t-r)+1,!0);return c(e,0,n)+s+c(e,o,u).trim()}return c(e,0,r)+s+c(e,u-(t-r)+(0,f.A)(s),u)}if("end"===n){if(i){return c(e,0,p(e,t-1))+s}return!0===o&&(s=` ${s}`),c(e,0,t-(0,f.A)(s))+s}throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${n}`)}}};
1
+ export const id=145;export const ids=[145];export const modules={5145:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(3490);const o=/^[\uD800-\uDBFF][\uDC00-\uDFFF]$/,i=["\x1b","\x9b"],s=e=>`${i[0]}[${e}m`,c=(e,t,r)=>{let o=[];e=[...e];for(let r of e){const i=r;r.includes(";")&&(r=r.split(";")[0][0]+"0");const c=n.Ay.codes.get(Number.parseInt(r,10));if(c){const r=e.indexOf(c.toString());-1===r?o.push(s(t?c:i)):e.splice(r,1)}else{if(t){o.push(s(0));break}o.push(s(i))}}if(t&&(o=o.filter(((e,t)=>o.indexOf(e)===t)),void 0!==r)){const e=s(n.Ay.codes.get(Number.parseInt(r,10)));o=o.reduce(((t,r)=>r===e?[r,...t]:[...t,r]),[])}return o.join("")};function u(e,t,r){const n=[...e],s=[];let u,f="number"==typeof r?r:n.length,p=!1,d=0,l="";for(const[m,h]of n.entries()){let n=!1;if(i.includes(h)){const t=/\d[^m]*/.exec(e.slice(m,m+18));u=t&&t.length>0?t[0]:void 0,d<f&&(p=!0,void 0!==u&&s.push(u))}else p&&"m"===h&&(p=!1,n=!0);if(p||n||d++,!o.test(h)&&(a=h.codePointAt(),Number.isInteger(a)&&a>=4352&&(a<=4447||9001===a||9002===a||11904<=a&&a<=12871&&12351!==a||12880<=a&&a<=19903||19968<=a&&a<=42182||43360<=a&&a<=43388||44032<=a&&a<=55203||63744<=a&&a<=64255||65040<=a&&a<=65049||65072<=a&&a<=65131||65281<=a&&a<=65376||65504<=a&&a<=65510||110592<=a&&a<=110593||127488<=a&&a<=127569||131072<=a&&a<=262141))&&(d++,"number"!=typeof r&&f++),d>t&&d<=f)l+=h;else if(d!==t||p||void 0===u){if(d>=f){l+=c(s,!0,u);break}}else l=c(s)}var a;return l}var f=r(326);function p(e,t,r){if(" "===e.charAt(t))return t;const n=r?1:-1;for(let r=0;r<=3;r++){const o=t+r*n;if(" "===e.charAt(o))return o}return t}function d(e,t,r={}){const{position:n="end",space:o=!1,preferTruncationOnSpace:i=!1}=r;let{truncationCharacter:s="\u2026"}=r;if("string"!=typeof e)throw new TypeError("Expected `input` to be a string, got "+typeof e);if("number"!=typeof t)throw new TypeError("Expected `columns` to be a number, got "+typeof t);if(t<1)return"";if(1===t)return s;const c=(0,f.A)(e);if(c<=t)return e;if("start"===n)return i?s+u(e,p(e,c-t+1,!0),c).trim():(!0===o&&(s+=" "),s+u(e,c-t+(0,f.A)(s),c));if("middle"===n){!0===o&&(s=` ${s} `);const r=Math.floor(t/2);if(i){const n=p(e,r),o=p(e,c-(t-r)+1,!0);return u(e,0,n)+s+u(e,o,c).trim()}return u(e,0,r)+s+u(e,c-(t-r)+(0,f.A)(s),c)}if("end"===n)return i?u(e,0,p(e,t-1))+s:(!0===o&&(s=` ${s}`),u(e,0,t-(0,f.A)(s))+s);throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${n}`)}}};