@winner-fed/bundler-webpack
Version:
@winner-fed/bundler-webpack
7 lines • 94.3 kB
JavaScript
(function(){var u={252:function(u){let{defineProperty:D,setPrototypeOf:t,create:r,keys:F}=Object,l="",{round:E,max:f}=Math,o=u=>{let[,D]=/([a-f\d]{3,6})/i.exec(u)||[],t=D?D.length:0;if(3===t)D=D[0]+D[0]+D[1]+D[1]+D[2]+D[2];else if(6^t)return[0,0,0];let r=parseInt(D,16);return[r>>16&255,r>>8&255,255&r]},a=(u,D,t)=>u===D&&D===t?u<8?16:u>248?231:E((u-8)/247*24)+232:16+36*E(u/51)+6*E(D/51)+E(t/51),c=u=>{let D,t,r,F,l;return u<8?30+u:u<16?u-8+90:(u>=232?D=t=r=(10*(u-232)+8)/255:(l=(u-=16)%36,D=(u/36|0)/5,t=(l/6|0)/5,r=l%6/5),F=2*f(D,t,r),F?30+(E(r)<<2|E(t)<<1|E(D))+(2^F?0:60):30)},B=(()=>{let e=u=>l.some((D=>u.test(D))),u=globalThis,D=u.Deno,t=!!D,r=u.process||D||{},l=r.argv||r.args||[],E=r.env||{},f=-1;if(t)try{E=E.toObject()}catch(e){f=0}let B=!!E.PM2_HOME&&!!E.pm_id||E.NEXT_RUNTIME?.includes("edge")||(t?D.isatty(1):!!r.stdout?.isTTY),p="FORCE_COLOR",g=E[p],d=parseInt(g),w=isNaN(d)?"false"===g?0:-1:d,L=p in E&&w||e(/^-{1,2}color=?(true|always)?$/);return L&&(f=w),f<0&&(f=((u,D,t)=>{let r=u.TERM,l=","+F(u).join(",");return{"24bit":3,truecolor:3,ansi256:2,ansi:1}[u.COLORTERM]||(u.TF_BUILD?1:/,TEAMCI/.test(l)?2:u.CI?/,GIT(HUB|EA)/.test(l)?3:1:!D||/-mono|dumb/i.test(r)?0:t||/term-(kit|dir)/.test(r)?3:/-256/.test(r)?2:/scr|xterm|tty|ansi|color|[nm]ux|vt|cyg/.test(r)?1:3)})(E,B,"win32"===(t?D.build.os:r.platform))),!w||E.NO_COLOR||e(/^-{1,2}(no-color|color=(false|never))$/)?0:L&&!f||u.window?.chrome?3:f})(),p=B>0,g={open:l,close:l},d=p?(u,D)=>({open:`[${u}m`,close:`[${D}m`}):()=>g,w=39,L=49,_=(u,D)=>(t,r,F)=>d(((u,D,t)=>c(a(u,D,t)))(t,r,F)+u,D),m=u=>(D,t,r)=>u(a(D,t,r)),y=u=>D=>u(...o(D)),h=(u,D,t)=>d(`38;2;${u};${D};${t}`,w),O=(u,D,t)=>d(`48;2;${u};${D};${t}`,L),$=u=>d(`38;5;${u}`,w),x=u=>d(`48;5;${u}`,L);2===B?(h=m($),O=m(x)):1===B&&(h=_(0,w),O=_(10,L),$=u=>d(c(u),w),x=u=>d(c(u)+10,L));let R,S={ansi256:$,bgAnsi256:x,fg:$,bg:x,rgb:h,bgRgb:O,hex:y(h),bgHex:y(O),visible:g,reset:d(0,0),bold:d(1,22),dim:d(2,22),italic:d(3,23),underline:d(4,24),inverse:d(7,27),hidden:d(8,28)},T="Bright",v=30;"black,red,green,yellow,blue,magenta,cyan,white".split(",").map((u=>{R="bg"+u[0].toUpperCase()+u.slice(1),S[u]=d(v,w),S[u+T]=d(60+v,w),S[R]=d(v+10,L),S[R+T]=d(70+v++,L)})),S.grey=S.gray=d(90,w),S.bgGrey=S.bgGray=d(100,L),S.strikethrough=S.strike=d(9,29);let U,P={},I=({_p:u},{open:D,close:r})=>{let s=(u,...t)=>{if(!u){if(D&&D===r)return D;if(null==u||l===u)return l}let F=u.raw?String.raw(u,...t).replace(/\\n/g,"\n"):l+u,E=s._p,{_a:f,_b:B}=E;if(F.includes(""))for(;E;){let u,D=E.close,t=E.open,r=D.length,f=l,B=0;if(r){for(;~(u=F.indexOf(D,B));B=u+r)f+=F.slice(B,u)+t;F=f+F.slice(B)}E=E._p}return F.includes("\n")&&(F=F.replace(/(\r?\n)/g,B+"$1"+f)),f+F+B},F=D,E=r;return u&&(F=u._a+D,E=r+u._b),t(s,U),s._p={open:D,close:r,_a:F,_b:E,_p:u},s.open=F,s.close=E,s};const M=function(){let u={Ansis:M,isSupported:()=>p,strip:u=>u.replace(/[][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,l),extend(F){for(let u in F){let t=F[u],r=(typeof t)[0],l="s"===r?h(...o(t)):t;P[u]="f"===r?{get(){return(...u)=>I(this,t(...u))}}:{get(){let t=I(this,l);return D(this,u,{value:t}),t}}}return U=r({},P),t(u,U),u}};return u.extend(S)},k=new M;u.exports=k,k.default=k},347:function(u,D,t){"use strict";
/*!
* pretty-time <https://github.com/jonschlinkert/pretty-time>
*
* Copyright (c) 2015-2018, present, Jon Schlinkert.
* Released under the MIT License.
*/const r=t(91);u.exports=(u,D,t)=>{const F=/^[0-9]+$/.test(u);if(!F&&!Array.isArray(u)){throw new TypeError("expected an array or number in nanoseconds")}if(Array.isArray(u)&&u.length!==2){throw new TypeError("expected an array from process.hrtime()")}if(/^[0-9]+$/.test(D)){t=D;D=null}let l=F?u:r.nano(u);let E="";let f;for(const u of Object.keys(r.scale)){const F=r.scale[u];let B=l/F;if(D&&r.isSmallest(u,D)){B=r.round(B,t);if(f&&B===f/F)--B;E+=B+u;return E.trim()}if(B<1)continue;if(!D){B=r.round(B,t);E+=B+u;return E}f=F;B=Math.floor(B);l-=B*F;E+=B+u+" "}return E.trim()}},91:function(u,D){D.nano=u=>+u[0]*1e9+ +u[1];D.scale={w:6048e11,d:864e11,h:36e11,m:6e10,s:1e9,ms:1e6,"μs":1e3,ns:1};D.regex={w:/^(w((ee)?k)?s?)$/,d:/^(d(ay)?s?)$/,h:/^(h((ou)?r)?s?)$/,m:/^(min(ute)?s?|m)$/,s:/^((sec(ond)?)s?|s)$/,ms:/^(milli(second)?s?|ms)$/,"μs":/^(micro(second)?s?|μs)$/,ns:/^(nano(second)?s?|ns?)$/};D.isSmallest=function(u,t){return D.regex[u].test(t)};D.round=function(u,D){const t=Math.abs(u);return/[0-9]/.test(D)?t.toFixed(D):Math.round(t)}},489:function(u){function webpackEmptyContext(u){var D=new Error("Cannot find module '"+u+"'");D.code="MODULE_NOT_FOUND";throw D}webpackEmptyContext.keys=function(){return[]};webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=489;u.exports=webpackEmptyContext},254:function(u){"use strict";u.exports=require("@winner-fed/bundler-webpack/compiled/webpack")},411:function(u){"use strict";u.exports=require("node:path")},742:function(u){"use strict";u.exports=require("node:process")},19:function(u){"use strict";u.exports=require("node:readline")},997:function(u){"use strict";u.exports=require("node:tty")},261:function(u){"use strict";u.exports=require("node:util")},668:function(u,D){"use strict";const t={silent:Number.NEGATIVE_INFINITY,fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,ready:3,start:3,box:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY};const r={silent:{level:-1},fatal:{level:t.fatal},error:{level:t.error},warn:{level:t.warn},log:{level:t.log},info:{level:t.info},success:{level:t.success},fail:{level:t.fail},ready:{level:t.info},start:{level:t.info},box:{level:t.info},debug:{level:t.debug},trace:{level:t.trace},verbose:{level:t.verbose}};function isPlainObject$1(u){if(u===null||typeof u!=="object"){return false}const D=Object.getPrototypeOf(u);if(D!==null&&D!==Object.prototype&&Object.getPrototypeOf(D)!==null){return false}if(Symbol.iterator in u){return false}if(Symbol.toStringTag in u){return Object.prototype.toString.call(u)==="[object Module]"}return true}function _defu(u,D,t=".",r){if(!isPlainObject$1(D)){return _defu(u,{},t,r)}const F=Object.assign({},D);for(const D in u){if(D==="__proto__"||D==="constructor"){continue}const l=u[D];if(l===null||l===void 0){continue}if(r&&r(F,D,l,t)){continue}if(Array.isArray(l)&&Array.isArray(F[D])){F[D]=[...l,...F[D]]}else if(isPlainObject$1(l)&&isPlainObject$1(F[D])){F[D]=_defu(l,F[D],(t?`${t}.`:"")+D.toString(),r)}else{F[D]=l}}return F}function createDefu(u){return(...D)=>D.reduce(((D,t)=>_defu(D,t,"",u)),{})}const F=createDefu();function isPlainObject(u){return Object.prototype.toString.call(u)==="[object Object]"}function isLogObj(u){if(!isPlainObject(u)){return false}if(!u.message&&!u.args){return false}if(u.stack){return false}return true}let l=false;const E=[];class Consola{options;_lastLog;_mockFn;constructor(u={}){const D=u.types||r;this.options=F({...u,defaults:{...u.defaults},level:_normalizeLogLevel(u.level,D),reporters:[...u.reporters||[]]},{types:r,throttle:1e3,throttleMin:5,formatOptions:{date:true,colors:false,compact:true}});for(const u in D){const t={type:u,...this.options.defaults,...D[u]};this[u]=this._wrapLogFn(t);this[u].raw=this._wrapLogFn(t,true)}if(this.options.mockFn){this.mockTypes()}this._lastLog={}}get level(){return this.options.level}set level(u){this.options.level=_normalizeLogLevel(u,this.options.types,this.options.level)}prompt(u,D){if(!this.options.prompt){throw new Error("prompt is not supported!")}return this.options.prompt(u,D)}create(u){const D=new Consola({...this.options,...u});if(this._mockFn){D.mockTypes(this._mockFn)}return D}withDefaults(u){return this.create({...this.options,defaults:{...this.options.defaults,...u}})}withTag(u){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+u:u})}addReporter(u){this.options.reporters.push(u);return this}removeReporter(u){if(u){const D=this.options.reporters.indexOf(u);if(D!==-1){return this.options.reporters.splice(D,1)}}else{this.options.reporters.splice(0)}return this}setReporters(u){this.options.reporters=Array.isArray(u)?u:[u];return this}wrapAll(){this.wrapConsole();this.wrapStd()}restoreAll(){this.restoreConsole();this.restoreStd()}wrapConsole(){for(const u in this.options.types){if(!console["__"+u]){console["__"+u]=console[u]}console[u]=this[u].raw}}restoreConsole(){for(const u in this.options.types){if(console["__"+u]){console[u]=console["__"+u];delete console["__"+u]}}}wrapStd(){this._wrapStream(this.options.stdout,"log");this._wrapStream(this.options.stderr,"log")}_wrapStream(u,D){if(!u){return}if(!u.__write){u.__write=u.write}u.write=u=>{this[D].raw(String(u).trim())}}restoreStd(){this._restoreStream(this.options.stdout);this._restoreStream(this.options.stderr)}_restoreStream(u){if(!u){return}if(u.__write){u.write=u.__write;delete u.__write}}pauseLogs(){l=true}resumeLogs(){l=false;const u=E.splice(0);for(const D of u){D[0]._logFn(D[1],D[2])}}mockTypes(u){const D=u||this.options.mockFn;this._mockFn=D;if(typeof D!=="function"){return}for(const u in this.options.types){this[u]=D(u,this.options.types[u])||this[u];this[u].raw=this[u]}}_wrapLogFn(u,D){return(...t)=>{if(l){E.push([this,u,t,D]);return}return this._logFn(u,t,D)}}_logFn(u,D,t){if((u.level||0)>this.level){return false}const r={date:new Date,args:[],...u,level:_normalizeLogLevel(u.level,this.options.types)};if(!t&&D.length===1&&isLogObj(D[0])){Object.assign(r,D[0])}else{r.args=[...D]}if(r.message){r.args.unshift(r.message);delete r.message}if(r.additional){if(!Array.isArray(r.additional)){r.additional=r.additional.split("\n")}r.args.push("\n"+r.additional.join("\n"));delete r.additional}r.type=typeof r.type==="string"?r.type.toLowerCase():"log";r.tag=typeof r.tag==="string"?r.tag:"";const resolveLog=(u=false)=>{const D=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&D>0){const u=[...this._lastLog.object.args];if(D>1){u.push(`(repeated ${D} times)`)}this._log({...this._lastLog.object,args:u});this._lastLog.count=1}if(u){this._lastLog.object=r;this._log(r)}};clearTimeout(this._lastLog.timeout);const F=this._lastLog.time&&r.date?r.date.getTime()-this._lastLog.time.getTime():0;this._lastLog.time=r.date;if(F<this.options.throttle){try{const u=JSON.stringify([r.type,r.tag,r.args]);const D=this._lastLog.serialized===u;this._lastLog.serialized=u;if(D){this._lastLog.count=(this._lastLog.count||0)+1;if(this._lastLog.count>this.options.throttleMin){this._lastLog.timeout=setTimeout(resolveLog,this.options.throttle);return}}}catch{}}resolveLog(true)}_log(u){for(const D of this.options.reporters){D.log(u,{options:this.options})}}}function _normalizeLogLevel(u,D={},t=3){if(u===void 0){return t}if(typeof u==="number"){return u}if(D[u]&&D[u].level!==void 0){return D[u].level}return t}Consola.prototype.add=Consola.prototype.addReporter;Consola.prototype.remove=Consola.prototype.removeReporter;Consola.prototype.clear=Consola.prototype.removeReporter;Consola.prototype.withScope=Consola.prototype.withTag;Consola.prototype.mock=Consola.prototype.mockTypes;Consola.prototype.pause=Consola.prototype.pauseLogs;Consola.prototype.resume=Consola.prototype.resumeLogs;function createConsola(u={}){return new Consola(u)}D.Consola=Consola;D.LogLevels=t;D.LogTypes=r;D.createConsola=createConsola},235:function(u,D,t){"use strict";Object.defineProperty(D,"__esModule",{value:true});const r=t(668);const F=t(332);const l=t(742);const E=t(747);t(261);t(411);t(997);function _interopDefaultCompat(u){return u&&typeof u==="object"&&"default"in u?u.default:u}const f=_interopDefaultCompat(l);const B=Object.create(null),i=u=>globalThis.process?.env||undefined||globalThis.Deno?.env.toObject()||globalThis.__env__||(u?B:globalThis),p=new Proxy(B,{get(u,D){return i()[D]??B[D]},has(u,D){const t=i();return D in t||D in B},set(u,D,t){const r=i(true);return r[D]=t,true},deleteProperty(u,D){if(!D)return false;const t=i(true);return delete t[D],true},ownKeys(){const u=i(true);return Object.keys(u)}}),g=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",d=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:true}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:true}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:false}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:false}],["VERCEL","VERCEL_ENV",{ci:false}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:false}],["CODESANDBOX","CODESANDBOX_HOST",{ci:false}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:true}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:true}]];function b(){if(globalThis.process?.env)for(const u of d){const D=u[1]||u[0];if(globalThis.process?.env[D])return{name:u[0].toLowerCase(),...u[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:false}:{name:"",ci:false}}const w=b();w.name;function n(u){return u?u!=="false":false}const L=globalThis.process?.platform||"",R=n(p.CI)||w.ci!==false,S=n(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY),T=n(p.DEBUG),v=g==="test"||n(p.TEST);n(p.MINIMAL)||R||v||!S;const U=/^win/i.test(L);!n(p.NO_COLOR)&&(n(p.FORCE_COLOR)||(S||U)&&p.TERM!=="dumb"||R);const P=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null;Number(P?.split(".")[0])||null;const k=globalThis.process||Object.create(null),N={versions:{}};new Proxy(k,{get(u,D){if(D==="env")return p;if(D in u)return u[D];if(D in N)return N[D]}});const j=globalThis.process?.release?.name==="node",W=!!globalThis.Bun||!!globalThis.process?.versions?.bun,q=!!globalThis.Deno,V=!!globalThis.fastly,Y=!!globalThis.Netlify,H=!!globalThis.EdgeRuntime,z=globalThis.navigator?.userAgent==="Cloudflare-Workers",K=[[Y,"netlify"],[H,"edge-light"],[z,"workerd"],[V,"fastly"],[q,"deno"],[W,"bun"],[j,"node"]];function G(){const u=K.find((u=>u[0]));if(u)return{name:u[1]}}const Z=G();Z?.name||"";function ansiRegex({onlyFirst:u=false}={}){const D="(?:\\u0007|\\u001B\\u005C|\\u009C)";const t=[`[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${D})`,"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(t,u?undefined:"g")}const J=ansiRegex();function stripAnsi(u){if(typeof u!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``)}return u.replace(J,"")}function isAmbiguous(u){return u===161||u===164||u===167||u===168||u===170||u===173||u===174||u>=176&&u<=180||u>=182&&u<=186||u>=188&&u<=191||u===198||u===208||u===215||u===216||u>=222&&u<=225||u===230||u>=232&&u<=234||u===236||u===237||u===240||u===242||u===243||u>=247&&u<=250||u===252||u===254||u===257||u===273||u===275||u===283||u===294||u===295||u===299||u>=305&&u<=307||u===312||u>=319&&u<=322||u===324||u>=328&&u<=331||u===333||u===338||u===339||u===358||u===359||u===363||u===462||u===464||u===466||u===468||u===470||u===472||u===474||u===476||u===593||u===609||u===708||u===711||u>=713&&u<=715||u===717||u===720||u>=728&&u<=731||u===733||u===735||u>=768&&u<=879||u>=913&&u<=929||u>=931&&u<=937||u>=945&&u<=961||u>=963&&u<=969||u===1025||u>=1040&&u<=1103||u===1105||u===8208||u>=8211&&u<=8214||u===8216||u===8217||u===8220||u===8221||u>=8224&&u<=8226||u>=8228&&u<=8231||u===8240||u===8242||u===8243||u===8245||u===8251||u===8254||u===8308||u===8319||u>=8321&&u<=8324||u===8364||u===8451||u===8453||u===8457||u===8467||u===8470||u===8481||u===8482||u===8486||u===8491||u===8531||u===8532||u>=8539&&u<=8542||u>=8544&&u<=8555||u>=8560&&u<=8569||u===8585||u>=8592&&u<=8601||u===8632||u===8633||u===8658||u===8660||u===8679||u===8704||u===8706||u===8707||u===8711||u===8712||u===8715||u===8719||u===8721||u===8725||u===8730||u>=8733&&u<=8736||u===8739||u===8741||u>=8743&&u<=8748||u===8750||u>=8756&&u<=8759||u===8764||u===8765||u===8776||u===8780||u===8786||u===8800||u===8801||u>=8804&&u<=8807||u===8810||u===8811||u===8814||u===8815||u===8834||u===8835||u===8838||u===8839||u===8853||u===8857||u===8869||u===8895||u===8978||u>=9312&&u<=9449||u>=9451&&u<=9547||u>=9552&&u<=9587||u>=9600&&u<=9615||u>=9618&&u<=9621||u===9632||u===9633||u>=9635&&u<=9641||u===9650||u===9651||u===9654||u===9655||u===9660||u===9661||u===9664||u===9665||u>=9670&&u<=9672||u===9675||u>=9678&&u<=9681||u>=9698&&u<=9701||u===9711||u===9733||u===9734||u===9737||u===9742||u===9743||u===9756||u===9758||u===9792||u===9794||u===9824||u===9825||u>=9827&&u<=9829||u>=9831&&u<=9834||u===9836||u===9837||u===9839||u===9886||u===9887||u===9919||u>=9926&&u<=9933||u>=9935&&u<=9939||u>=9941&&u<=9953||u===9955||u===9960||u===9961||u>=9963&&u<=9969||u===9972||u>=9974&&u<=9977||u===9979||u===9980||u===9982||u===9983||u===10045||u>=10102&&u<=10111||u>=11094&&u<=11097||u>=12872&&u<=12879||u>=57344&&u<=63743||u>=65024&&u<=65039||u===65533||u>=127232&&u<=127242||u>=127248&&u<=127277||u>=127280&&u<=127337||u>=127344&&u<=127373||u===127375||u===127376||u>=127387&&u<=127404||u>=917760&&u<=917999||u>=983040&&u<=1048573||u>=1048576&&u<=1114109}function isFullWidth(u){return u===12288||u>=65281&&u<=65376||u>=65504&&u<=65510}function isWide(u){return u>=4352&&u<=4447||u===8986||u===8987||u===9001||u===9002||u>=9193&&u<=9196||u===9200||u===9203||u===9725||u===9726||u===9748||u===9749||u>=9776&&u<=9783||u>=9800&&u<=9811||u===9855||u>=9866&&u<=9871||u===9875||u===9889||u===9898||u===9899||u===9917||u===9918||u===9924||u===9925||u===9934||u===9940||u===9962||u===9970||u===9971||u===9973||u===9978||u===9981||u===9989||u===9994||u===9995||u===10024||u===10060||u===10062||u>=10067&&u<=10069||u===10071||u>=10133&&u<=10135||u===10160||u===10175||u===11035||u===11036||u===11088||u===11093||u>=11904&&u<=11929||u>=11931&&u<=12019||u>=12032&&u<=12245||u>=12272&&u<=12287||u>=12289&&u<=12350||u>=12353&&u<=12438||u>=12441&&u<=12543||u>=12549&&u<=12591||u>=12593&&u<=12686||u>=12688&&u<=12773||u>=12783&&u<=12830||u>=12832&&u<=12871||u>=12880&&u<=42124||u>=42128&&u<=42182||u>=43360&&u<=43388||u>=44032&&u<=55203||u>=63744&&u<=64255||u>=65040&&u<=65049||u>=65072&&u<=65106||u>=65108&&u<=65126||u>=65128&&u<=65131||u>=94176&&u<=94180||u===94192||u===94193||u>=94208&&u<=100343||u>=100352&&u<=101589||u>=101631&&u<=101640||u>=110576&&u<=110579||u>=110581&&u<=110587||u===110589||u===110590||u>=110592&&u<=110882||u===110898||u>=110928&&u<=110930||u===110933||u>=110948&&u<=110951||u>=110960&&u<=111355||u>=119552&&u<=119638||u>=119648&&u<=119670||u===126980||u===127183||u===127374||u>=127377&&u<=127386||u>=127488&&u<=127490||u>=127504&&u<=127547||u>=127552&&u<=127560||u===127568||u===127569||u>=127584&&u<=127589||u>=127744&&u<=127776||u>=127789&&u<=127797||u>=127799&&u<=127868||u>=127870&&u<=127891||u>=127904&&u<=127946||u>=127951&&u<=127955||u>=127968&&u<=127984||u===127988||u>=127992&&u<=128062||u===128064||u>=128066&&u<=128252||u>=128255&&u<=128317||u>=128331&&u<=128334||u>=128336&&u<=128359||u===128378||u===128405||u===128406||u===128420||u>=128507&&u<=128591||u>=128640&&u<=128709||u===128716||u>=128720&&u<=128722||u>=128725&&u<=128727||u>=128732&&u<=128735||u===128747||u===128748||u>=128756&&u<=128764||u>=128992&&u<=129003||u===129008||u>=129292&&u<=129338||u>=129340&&u<=129349||u>=129351&&u<=129535||u>=129648&&u<=129660||u>=129664&&u<=129673||u>=129679&&u<=129734||u>=129742&&u<=129756||u>=129759&&u<=129769||u>=129776&&u<=129784||u>=131072&&u<=196605||u>=196608&&u<=262141}function validate(u){if(!Number.isSafeInteger(u)){throw new TypeError(`Expected a code point, got \`${typeof u}\`.`)}}function eastAsianWidth(u,{ambiguousAsWide:D=false}={}){validate(u);if(isFullWidth(u)||isWide(u)||D&&isAmbiguous(u)){return 2}return 1}const emojiRegex=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;const X=globalThis.Intl?.Segmenter?new Intl.Segmenter:{segment:u=>u.split("")};const Q=/^\p{Default_Ignorable_Code_Point}$/u;function stringWidth$1(u,D={}){if(typeof u!=="string"||u.length===0){return 0}const{ambiguousIsNarrow:t=true,countAnsiEscapeCodes:r=false}=D;if(!r){u=stripAnsi(u)}if(u.length===0){return 0}let F=0;const l={ambiguousAsWide:!t};for(const{segment:D}of X.segment(u)){const u=D.codePointAt(0);if(u<=31||u>=127&&u<=159){continue}if(u>=8203&&u<=8207||u===65279){continue}if(u>=768&&u<=879||u>=6832&&u<=6911||u>=7616&&u<=7679||u>=8400&&u<=8447||u>=65056&&u<=65071){continue}if(u>=55296&&u<=57343){continue}if(u>=65024&&u<=65039){continue}if(Q.test(D)){continue}if(emojiRegex().test(D)){F+=2;continue}F+=eastAsianWidth(u,l)}return F}function isUnicodeSupported(){const{env:u}=f;const{TERM:D,TERM_PROGRAM:t}=u;if(f.platform!=="win32"){return D!=="linux"}return Boolean(u.WT_SESSION)||Boolean(u.TERMINUS_SUBLIME)||u.ConEmuTask==="{cmd::Cmder}"||t==="Terminus-Sublime"||t==="vscode"||D==="xterm-256color"||D==="alacritty"||D==="rxvt-unicode"||D==="rxvt-unicode-256color"||u.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const uu={info:"cyan",fail:"red",success:"green",ready:"green",start:"magenta"};const Du={0:"red",1:"yellow"};const eu=isUnicodeSupported();const s=(u,D)=>eu?u:D;const tu={error:s("✖","×"),fatal:s("✖","×"),ready:s("✔","√"),warn:s("⚠","‼"),info:s("ℹ","i"),success:s("✔","√"),debug:s("⚙","D"),trace:s("→","→"),fail:s("✖","×"),start:s("◐","o"),log:""};function stringWidth(u){const D=typeof Intl==="object";if(!D||!Intl.Segmenter){return E.stripAnsi(u).length}return stringWidth$1(u)}class FancyReporter extends F.BasicReporter{formatStack(u,D,t){const r=" ".repeat((t?.errorLevel||0)+1);return`\n${r}`+F.parseStack(u,D).map((u=>" "+u.replace(/^at +/,(u=>E.colors.gray(u))).replace(/\((.+)\)/,((u,D)=>`(${E.colors.cyan(D)})`)))).join(`\n${r}`)}formatType(u,D,t){const r=uu[u.type]||Du[u.level]||"gray";if(D){return getBgColor(r)(E.colors.black(` ${u.type.toUpperCase()} `))}const F=typeof tu[u.type]==="string"?tu[u.type]:u.icon||u.type;return F?getColor(r)(F):""}formatLogObj(u,D){const[t,...r]=this.formatArgs(u.args,D).split("\n");if(u.type==="box"){return E.box(characterFormat(t+(r.length>0?"\n"+r.join("\n"):"")),{title:u.title?characterFormat(u.title):void 0,style:u.style})}const F=this.formatDate(u.date,D);const l=F&&E.colors.gray(F);const f=u.badge??u.level<2;const B=this.formatType(u,f,D);const p=u.tag?E.colors.gray(u.tag):"";let g;const d=this.filterAndJoin([B,characterFormat(t)]);const w=this.filterAndJoin(D.columns?[p,l]:[p]);const L=(D.columns||0)-stringWidth(d)-stringWidth(w)-2;g=L>0&&(D.columns||0)>=80?d+" ".repeat(L)+w:(w?`${E.colors.gray(`[${w}]`)} `:"")+d;g+=characterFormat(r.length>0?"\n"+r.join("\n"):"");if(u.type==="trace"){const D=new Error("Trace: "+u.message);g+=this.formatStack(D.stack||"",D.message)}return f?"\n"+g+"\n":g}}function characterFormat(u){return u.replace(/`([^`]+)`/gm,((u,D)=>E.colors.cyan(D))).replace(/\s+_([^_]+)_\s+/gm,((u,D)=>` ${E.colors.underline(D)} `))}function getColor(u="white"){return E.colors[u]||E.colors.white}function getBgColor(u="bgWhite"){return E.colors[`bg${u[0].toUpperCase()}${u.slice(1)}`]||E.colors.bgWhite}function createConsola(u={}){let D=_getDefaultLogLevel();if(process.env.CONSOLA_LEVEL){D=Number.parseInt(process.env.CONSOLA_LEVEL)??D}const l=r.createConsola({level:D,defaults:{level:D},stdout:process.stdout,stderr:process.stderr,prompt:(...u)=>t.e(697).then(t.t.bind(t,697,19)).then((D=>D.prompt(...u))),reporters:u.reporters||[u.fancy??!(R||v)?new FancyReporter:new F.BasicReporter],...u});return l}function _getDefaultLogLevel(){if(T){return r.LogLevels.debug}if(v){return r.LogLevels.warn}return r.LogLevels.info}const nu=createConsola();D.Consola=r.Consola;D.LogLevels=r.LogLevels;D.LogTypes=r.LogTypes;D.consola=nu;D.createConsola=createConsola;D["default"]=nu},332:function(u,D,t){"use strict";const r=t(261);const F=t(411);function parseStack(u,D){const t=process.cwd()+F.sep;const r=u.split("\n").splice(D.split("\n").length).map((u=>u.trim().replace("file://","").replace(t,"")));return r}function writeStream(u,D){const t=D.__write||D.write;return t.call(D,u)}const bracket=u=>u?`[${u}]`:"";class BasicReporter{formatStack(u,D,t){const r=" ".repeat((t?.errorLevel||0)+1);return r+parseStack(u,D).join(`\n${r}`)}formatError(u,D){const t=u.message??r.formatWithOptions(D,u);const F=u.stack?this.formatStack(u.stack,t,D):"";const l=D?.errorLevel||0;const E=l>0?`${" ".repeat(l)}[cause]: `:"";const f=u.cause?"\n\n"+this.formatError(u.cause,{...D,errorLevel:l+1}):"";return E+t+"\n"+F+f}formatArgs(u,D){const t=u.map((u=>{if(u&&typeof u.stack==="string"){return this.formatError(u,D)}return u}));return r.formatWithOptions(D,...t)}formatDate(u,D){return D.date?u.toLocaleTimeString():""}filterAndJoin(u){return u.filter(Boolean).join(" ")}formatLogObj(u,D){const t=this.formatArgs(u.args,D);if(u.type==="box"){return"\n"+[bracket(u.tag),u.title&&u.title,...t.split("\n")].filter(Boolean).map((u=>" > "+u)).join("\n")+"\n"}return this.filterAndJoin([bracket(u.type),bracket(u.tag),t])}log(u,D){const t=this.formatLogObj(u,{columns:D.options.stdout.columns||0,...D.options.formatOptions});return writeStream(t+"\n",u.level<2?D.options.stderr||process.stderr:D.options.stdout||process.stdout)}}D.BasicReporter=BasicReporter;D.parseStack=parseStack},747:function(u,D,t){"use strict";const r=t(997);function _interopNamespaceCompat(u){if(u&&typeof u==="object"&&"default"in u)return u;const D=Object.create(null);if(u){for(const t in u){D[t]=u[t]}}D.default=u;return D}const F=_interopNamespaceCompat(r);const{env:l={},argv:E=[],platform:f=""}=typeof process==="undefined"?{}:process;const B="NO_COLOR"in l||E.includes("--no-color");const p="FORCE_COLOR"in l||E.includes("--color");const g=f==="win32";const d=l.TERM==="dumb";const w=F&&F.isatty&&F.isatty(1)&&l.TERM&&!d;const L="CI"in l&&("GITHUB_ACTIONS"in l||"GITLAB_CI"in l||"CIRCLECI"in l);const R=!B&&(p||g&&!d||w||L);function replaceClose(u,D,t,r,F=D.slice(0,Math.max(0,u))+r,l=D.slice(Math.max(0,u+t.length)),E=l.indexOf(t)){return F+(E<0?l:replaceClose(E,l,t,r))}function clearBleed(u,D,t,r,F){return u<0?t+D+r:t+replaceClose(u,D,r,F)+r}function filterEmpty(u,D,t=u,r=u.length+1){return F=>F||!(F===""||F===void 0)?clearBleed((""+F).indexOf(D,r),F,u,D,t):""}function init(u,D,t){return filterEmpty(`[${u}m`,`[${D}m`,t)}const S={reset:init(0,0),bold:init(1,22,"[22m[1m"),dim:init(2,22,"[22m[2m"),italic:init(3,23),underline:init(4,24),inverse:init(7,27),hidden:init(8,28),strikethrough:init(9,29),black:init(30,39),red:init(31,39),green:init(32,39),yellow:init(33,39),blue:init(34,39),magenta:init(35,39),cyan:init(36,39),white:init(37,39),gray:init(90,39),bgBlack:init(40,49),bgRed:init(41,49),bgGreen:init(42,49),bgYellow:init(43,49),bgBlue:init(44,49),bgMagenta:init(45,49),bgCyan:init(46,49),bgWhite:init(47,49),blackBright:init(90,39),redBright:init(91,39),greenBright:init(92,39),yellowBright:init(93,39),blueBright:init(94,39),magentaBright:init(95,39),cyanBright:init(96,39),whiteBright:init(97,39),bgBlackBright:init(100,49),bgRedBright:init(101,49),bgGreenBright:init(102,49),bgYellowBright:init(103,49),bgBlueBright:init(104,49),bgMagentaBright:init(105,49),bgCyanBright:init(106,49),bgWhiteBright:init(107,49)};function createColors(u=R){return u?S:Object.fromEntries(Object.keys(S).map((u=>[u,String])))}const T=createColors();function getColor(u,D="reset"){return T[u]||T[D]}function colorize(u,D){return getColor(u)(D)}const v=[String.raw`[\u001B\u009B][[\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\d\/#&.:=?%@~_]+)*|[a-zA-Z\d]+(?:;[-a-zA-Z\d\/#&.:=?%@~_]*)*)?\u0007)`,String.raw`(?:(?:\d{1,4}(?:;\d{0,4})*)?[\dA-PR-TZcf-nq-uy=><~]))`].join("|");function stripAnsi(u){return u.replace(new RegExp(v,"g"),"")}function centerAlign(u,D,t=" "){const r=D-u.length;if(r<=0){return u}const F=Math.floor(r/2);let l="";for(let r=0;r<D;r++){l+=r<F||r>=F+u.length?t:u[r-F]}return l}function rightAlign(u,D,t=" "){const r=D-u.length;if(r<=0){return u}let F="";for(let l=0;l<D;l++){F+=l<r?t:u[l-r]}return F}function leftAlign(u,D,t=" "){let r="";for(let F=0;F<D;F++){r+=F<u.length?u[F]:t}return r}function align(u,D,t,r=" "){switch(u){case"left":{return leftAlign(D,t,r)}case"right":{return rightAlign(D,t,r)}case"center":{return centerAlign(D,t,r)}default:{return D}}}const U={solid:{tl:"┌",tr:"┐",bl:"└",br:"┘",h:"─",v:"│"},double:{tl:"╔",tr:"╗",bl:"╚",br:"╝",h:"═",v:"║"},doubleSingle:{tl:"╓",tr:"╖",bl:"╙",br:"╜",h:"─",v:"║"},doubleSingleRounded:{tl:"╭",tr:"╮",bl:"╰",br:"╯",h:"─",v:"║"},singleThick:{tl:"┏",tr:"┓",bl:"┗",br:"┛",h:"━",v:"┃"},singleDouble:{tl:"╒",tr:"╕",bl:"╘",br:"╛",h:"═",v:"│"},singleDoubleRounded:{tl:"╭",tr:"╮",bl:"╰",br:"╯",h:"═",v:"│"},rounded:{tl:"╭",tr:"╮",bl:"╰",br:"╯",h:"─",v:"│"}};const P={borderColor:"white",borderStyle:"rounded",valign:"center",padding:2,marginLeft:1,marginTop:1,marginBottom:1};function box(u,D={}){const t={...D,style:{...P,...D.style}};const r=u.split("\n");const F=[];const l=getColor(t.style.borderColor);const E={...typeof t.style.borderStyle==="string"?U[t.style.borderStyle]||U.solid:t.style.borderStyle};if(l){for(const u in E){E[u]=l(E[u])}}const f=t.style.padding%2===0?t.style.padding:t.style.padding+1;const B=r.length+f;const p=Math.max(...r.map((u=>stripAnsi(u).length)),t.title?stripAnsi(t.title).length:0)+f;const g=p+f;const d=t.style.marginLeft>0?" ".repeat(t.style.marginLeft):"";if(t.style.marginTop>0){F.push("".repeat(t.style.marginTop))}if(t.title){const u=l?l(t.title):t.title;const D=E.h.repeat(Math.floor((p-stripAnsi(t.title).length)/2));const r=E.h.repeat(p-stripAnsi(t.title).length-stripAnsi(D).length+f);F.push(`${d}${E.tl}${D}${u}${r}${E.tr}`)}else{F.push(`${d}${E.tl}${E.h.repeat(g)}${E.tr}`)}const w=t.style.valign==="center"?Math.floor((B-r.length)/2):t.style.valign==="top"?B-r.length-f:B-r.length;for(let u=0;u<B;u++){if(u<w||u>=w+r.length){F.push(`${d}${E.v}${" ".repeat(g)}${E.v}`)}else{const D=r[u-w];const t=" ".repeat(f);const l=" ".repeat(p-stripAnsi(D).length);F.push(`${d}${E.v}${t}${D}${l}${E.v}`)}}F.push(`${d}${E.bl}${E.h.repeat(g)}${E.br}`);if(t.style.marginBottom>0){F.push("".repeat(t.style.marginBottom))}return F.join("\n")}D.align=align;D.box=box;D.centerAlign=centerAlign;D.colorize=colorize;D.colors=T;D.getColor=getColor;D.leftAlign=leftAlign;D.rightAlign=rightAlign;D.stripAnsi=stripAnsi},686:function(u,D,t){const r=t(235);u.exports=r.consola;for(const D in r){if(!(D in u.exports)){u.exports[D]=r[D]}}},506:function(u,D){"use strict";var t=Object.defineProperty;var r=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var C=(u,D,r)=>D in u?t(u,D,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[D]=r,A=(u,D)=>{for(var t in D||(D={}))F.call(D,t)&&C(u,t,D[t]);if(r)for(var t of r(D))l.call(D,t)&&C(u,t,D[t]);return u};var E,f,B,p,g,d,w,L,R,S;const T=Object.create(null),s=u=>{var D,t;return((D=globalThis.process)==null?void 0:D.env)||void 0||((t=globalThis.Deno)==null?void 0:t.env.toObject())||globalThis.__env__||(u?T:globalThis)},v=new Proxy(T,{get(u,D){var t;return(t=s()[D])!=null?t:T[D]},has(u,D){const t=s();return D in t||D in T},set(u,D,t){const r=s(!0);return r[D]=t,!0},deleteProperty(u,D){if(!D)return!1;const t=s(!0);return delete t[D],!0},ownKeys(){const u=s(!0);return Object.keys(u)}}),U=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",P=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CLOUDFLARE_WORKERS","WORKERS_CI",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["CODESANDBOX","CODESANDBOX_HOST",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:!0}]];function I(){var u,D,t,r,F,l;if((u=globalThis.process)!=null&&u.env)for(const u of P){const t=u[1]||u[0];if((D=globalThis.process)!=null&&D.env[t])return A({name:u[0].toLowerCase()},u[2])}return((r=(t=globalThis.process)==null?void 0:t.env)==null?void 0:r.SHELL)==="/bin/jsh"&&((l=(F=globalThis.process)==null?void 0:F.versions)!=null&&l.webcontainer)?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}const k=I(),N=k.name;function toBoolean(u){return u?u!=="false":!1}const j=((E=globalThis.process)==null?void 0:E.platform)||"",W=toBoolean(v.CI)||k.ci!==!1,q=toBoolean(((f=globalThis.process)==null?void 0:f.stdout)&&((B=globalThis.process)==null?void 0:B.stdout.isTTY)),V=typeof window<"u",Y=toBoolean(v.DEBUG),H=U==="test"||toBoolean(v.TEST),z=U==="production",K=U==="dev"||U==="development",Z=toBoolean(v.MINIMAL)||W||H||!q,J=/^win/i.test(j),X=/^linux/i.test(j),Q=/^darwin/i.test(j),uu=!toBoolean(v.NO_COLOR)&&(toBoolean(v.FORCE_COLOR)||(q||J)&&v.TERM!=="dumb"||W),Du=(((g=(p=globalThis.process)==null?void 0:p.versions)==null?void 0:g.node)||"").replace(/^v/,"")||null,eu=Number(Du==null?void 0:Du.split(".")[0])||null,tu=globalThis.process||Object.create(null),nu={versions:{}},ou=new Proxy(tu,{get(u,D){if(D==="env")return v;if(D in u)return u[D];if(D in nu)return nu[D]}}),ru=((w=(d=globalThis.process)==null?void 0:d.release)==null?void 0:w.name)==="node",iu=!!globalThis.Bun||!!((R=(L=globalThis.process)==null?void 0:L.versions)!=null&&R.bun),su=!!globalThis.Deno,Fu=!!globalThis.fastly,lu=!!globalThis.Netlify,au=!!globalThis.EdgeRuntime,Eu=((S=globalThis.navigator)==null?void 0:S.userAgent)==="Cloudflare-Workers",Cu=[[lu,"netlify"],[au,"edge-light"],[Eu,"workerd"],[Fu,"fastly"],[su,"deno"],[iu,"bun"],[ru,"node"]];function o(){const u=Cu.find((u=>u[0]));if(u)return{name:u[1]}}const cu=o(),fu=(cu==null?void 0:cu.name)||"";D.env=v,D.hasTTY=q,D.hasWindow=V,D.isBun=iu,D.isCI=W,D.isColorSupported=uu,D.isDebug=Y,D.isDeno=su,D.isDevelopment=K,D.isEdgeLight=au,D.isFastly=Fu,D.isLinux=X,D.isMacOS=Q,D.isMinimal=Z,D.isNetlify=lu,D.isNode=ru,D.isProduction=z,D.isTest=H,D.isWindows=J,D.isWorkerd=Eu,D.nodeENV=U,D.nodeMajorVersion=eu,D.nodeVersion=Du,D.platform=j,D.process=ou,D.provider=N,D.providerInfo=k,D.runtime=fu,D.runtimeInfo=cu},702:function(u,D,t){"use strict";const r=t(506);const F=t(347);const l=t(411);const E=t(252);const f=t(686);const B=t(742);function _interopDefaultCompat(u){return u&&typeof u==="object"&&"default"in u?u.default:u}const p=_interopDefaultCompat(F);const g=_interopDefaultCompat(l);const d=_interopDefaultCompat(E);const w=_interopDefaultCompat(B);function first(u){return u[0]}function last(u){return u.length>0?u[u.length-1]:null}function startCase(u){return u[0].toUpperCase()+u.slice(1)}function firstMatch(u,D){const t=u.exec(D);return t?t[0]:null}function hasValue(u){return u&&u.length>0}function removeAfter(u,D){return first(D.split(u))||""}function removeBefore(u,D){return last(D.split(u))||""}function range(u){const D=[];for(let t=0;t<u;t++){D.push(t)}return D}function shortenPath(u=""){const D=process.cwd()+l.sep;return String(u).replace(D,"")}function objectValues(u){return Object.keys(u).map((D=>u[D]))}function defaultStringLength(u){return u.length}function markdownTable(u,D){const t=D||{};const r=(t.align||[]).concat();const F=t.stringLength||defaultStringLength;const l=[];const E=[];const f=[];const B=[];let p=0;let g=-1;while(++g<u.length){const D=[];const r=[];let l=-1;if(u[g].length>p){p=u[g].length}while(++l<u[g].length){const E=serialize(u[g][l]);if(t.alignDelimiters!==false){const u=F(E);r[l]=u;if(B[l]===undefined||u>B[l]){B[l]=u}}D.push(E)}E[g]=D;f[g]=r}let d=-1;if(typeof r==="object"&&"length"in r){while(++d<p){l[d]=toAlignment(r[d])}}else{const u=toAlignment(r);while(++d<p){l[d]=u}}d=-1;const w=[];const L=[];while(++d<p){const u=l[d];let D="";let r="";if(u===99){D=":";r=":"}else if(u===108){D=":"}else if(u===114){r=":"}let F=t.alignDelimiters===false?1:Math.max(1,B[d]-D.length-r.length);const E=D+"