@prisma/cli-dev 0.9.0 → 0.10.1
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/chunk-4QNO2WQL.js +31 -0
- package/dist/chunk-FON2L4R6.js +3 -0
- package/dist/chunk-M6TFCQLD.js +2 -0
- package/dist/chunk-OE4BCZ2F.js +11 -0
- package/dist/chunk-SZYQ5TDI.js +15 -0
- package/dist/chunk-ZPUL6EAC.js +30 -0
- package/dist/index.js +5 -112
- package/dist/list-URPVLN6C.js +5 -0
- package/dist/{prompt-AVJG6SAC.js → prompt-KJRFDAR5.js} +1 -1
- package/dist/remove-LXPTJUNN.js +9 -0
- package/dist/start-M7MH244V.js +13 -0
- package/dist/stop-LEO7ZSSO.js +5 -0
- package/package.json +5 -2
- package/dist/accelerate-6KR7K7Y5.js +0 -494
- package/dist/chunk-6CY7FTXB.js +0 -12
- package/dist/chunk-7LVVKN3Q.js +0 -2
- package/dist/chunk-C743SY2X.js +0 -2
- package/dist/chunk-IUA2KLPR.js +0 -34
- package/dist/chunk-J2EYU3K5.js +0 -2
- package/dist/chunk-MKAOBCJL.js +0 -2
- package/dist/chunk-PKHPXFYF.js +0 -4
- package/dist/chunk-VMZVNK7U.js +0 -2
- package/dist/chunk-VN3SER5K.js +0 -2
- package/dist/chunk-WAQNVDRS.js +0 -15
- package/dist/chunk-ZZ7TGN5J.js +0 -2
- package/dist/client-ROT4AZYN.js +0 -2
- package/dist/dist-44BN73S3.js +0 -24
- package/dist/dist-FF6JPL3Y.js +0 -2
- package/dist/dist-OWTPHSRP.js +0 -2
- package/dist/http-exception-IXDDLQOJ.js +0 -2
- package/dist/list-AF7WT6HT.js +0 -5
- package/dist/logger-5NORX5VG.js +0 -2
- package/dist/nodefs-MQZB2OFY.js +0 -2
- package/dist/opfs-ahp-W7WVBYAH.js +0 -4
- package/dist/pg_dump-F2HW5KLY.js +0 -3
- package/dist/proxy-signals-TJILVQAL.js +0 -2
- package/dist/remove-BWVQMMM4.js +0 -9
- package/dist/stop-XM5K7ZMT.js +0 -5
- package/dist/tiny-4VNDEAK3.js +0 -2
- package/dist/utility-5QZDATLM.js +0 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
+
var B={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},P={silent:{level:-1},fatal:{level:B.fatal},error:{level:B.error},warn:{level:B.warn},log:{level:B.log},info:{level:B.info},success:{level:B.success},fail:{level:B.fail},ready:{level:B.info},start:{level:B.info},box:{level:B.info},debug:{level:B.debug},trace:{level:B.trace},verbose:{level:B.verbose}};function x(u){if(u===null||typeof u!="object")return!1;let D=Object.getPrototypeOf(u);return D!==null&&D!==Object.prototype&&Object.getPrototypeOf(D)!==null||Symbol.iterator in u?!1:Symbol.toStringTag in u?Object.prototype.toString.call(u)==="[object Module]":!0}function M(u,D,e=".",F){if(!x(D))return M(u,{},e,F);let t=Object.assign({},D);for(let r in u){if(r==="__proto__"||r==="constructor")continue;let o=u[r];o!=null&&(F&&F(t,r,o,e)||(Array.isArray(o)&&Array.isArray(t[r])?t[r]=[...o,...t[r]]:x(o)&&x(t[r])?t[r]=M(o,t[r],(e?`${e}.`:"")+r.toString(),F):t[r]=o))}return t}function cu(u){return(...D)=>D.reduce((e,F)=>M(e,F,"",u),{})}var fu=cu();function Bu(u){return Object.prototype.toString.call(u)==="[object Object]"}function Au(u){return!(!Bu(u)||!u.message&&!u.args||u.stack)}var N=!1,Z=[],f=class u{options;_lastLog;_mockFn;constructor(D={}){let e=D.types||P;this.options=fu({...D,defaults:{...D.defaults},level:$(D.level,e),reporters:[...D.reporters||[]]},{types:P,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(let F in e){let t={type:F,...this.options.defaults,...e[F]};this[F]=this._wrapLogFn(t),this[F].raw=this._wrapLogFn(t,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(D){this.options.level=$(D,this.options.types,this.options.level)}prompt(D,e){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(D,e)}create(D){let e=new u({...this.options,...D});return this._mockFn&&e.mockTypes(this._mockFn),e}withDefaults(D){return this.create({...this.options,defaults:{...this.options.defaults,...D}})}withTag(D){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+D:D})}addReporter(D){return this.options.reporters.push(D),this}removeReporter(D){if(D){let e=this.options.reporters.indexOf(D);if(e!==-1)return this.options.reporters.splice(e,1)}else this.options.reporters.splice(0);return this}setReporters(D){return this.options.reporters=Array.isArray(D)?D:[D],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(let D in this.options.types)console["__"+D]||(console["__"+D]=console[D]),console[D]=this[D].raw}restoreConsole(){for(let D in this.options.types)console["__"+D]&&(console[D]=console["__"+D],delete console["__"+D])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(D,e){D&&(D.__write||(D.__write=D.write),D.write=F=>{this[e].raw(String(F).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(D){D&&D.__write&&(D.write=D.__write,delete D.__write)}pauseLogs(){N=!0}resumeLogs(){N=!1;let D=Z.splice(0);for(let e of D)e[0]._logFn(e[1],e[2])}mockTypes(D){let e=D||this.options.mockFn;if(this._mockFn=e,typeof e=="function")for(let F in this.options.types)this[F]=e(F,this.options.types[F])||this[F],this[F].raw=this[F]}_wrapLogFn(D,e){return(...F)=>{if(N){Z.push([this,D,F,e]);return}return this._logFn(D,F,e)}}_logFn(D,e,F){if((D.level||0)>this.level)return!1;let t={date:new Date,args:[],...D,level:$(D.level,this.options.types)};!F&&e.length===1&&Au(e[0])?Object.assign(t,e[0]):t.args=[...e],t.message&&(t.args.unshift(t.message),delete t.message),t.additional&&(Array.isArray(t.additional)||(t.additional=t.additional.split(`
|
|
3
|
+
`)),t.args.push(`
|
|
4
|
+
`+t.additional.join(`
|
|
5
|
+
`)),delete t.additional),t.type=typeof t.type=="string"?t.type.toLowerCase():"log",t.tag=typeof t.tag=="string"?t.tag:"";let r=(n=!1)=>{let s=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&s>0){let a=[...this._lastLog.object.args];s>1&&a.push(`(repeated ${s} times)`),this._log({...this._lastLog.object,args:a}),this._lastLog.count=1}n&&(this._lastLog.object=t,this._log(t))};clearTimeout(this._lastLog.timeout);let o=this._lastLog.time&&t.date?t.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=t.date,o<this.options.throttle)try{let n=JSON.stringify([t.type,t.tag,t.args]),s=this._lastLog.serialized===n;if(this._lastLog.serialized=n,s&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(r,this.options.throttle);return}}catch{}r(!0)}_log(D){for(let e of this.options.reporters)e.log(D,{options:this.options})}};function $(u,D={},e=3){return u===void 0?e:typeof u=="number"?u:D[u]&&D[u].level!==void 0?D[u].level:e}f.prototype.add=f.prototype.addReporter;f.prototype.remove=f.prototype.removeReporter;f.prototype.clear=f.prototype.removeReporter;f.prototype.withScope=f.prototype.withTag;f.prototype.mock=f.prototype.mockTypes;f.prototype.pause=f.prototype.pauseLogs;f.prototype.resume=f.prototype.resumeLogs;function K(u={}){return new f(u)}import{formatWithOptions as J}from"util";import{sep as pu}from"path";function k(u,D){let e=process.cwd()+pu;return u.split(`
|
|
6
|
+
`).splice(D.split(`
|
|
7
|
+
`).length).map(t=>t.trim().replace("file://","").replace(e,""))}function gu(u,D){return(D.__write||D.write).call(D,u)}var U=u=>u?`[${u}]`:"",I=class{formatStack(D,e,F){let t=" ".repeat((F?.errorLevel||0)+1);return t+k(D,e).join(`
|
|
8
|
+
${t}`)}formatError(D,e){let F=D.message??J(e,D),t=D.stack?this.formatStack(D.stack,F,e):"",r=e?.errorLevel||0,o=r>0?`${" ".repeat(r)}[cause]: `:"",n=D.cause?`
|
|
9
|
+
|
|
10
|
+
`+this.formatError(D.cause,{...e,errorLevel:r+1}):"";return o+F+`
|
|
11
|
+
`+t+n}formatArgs(D,e){let F=D.map(t=>t&&typeof t.stack=="string"?this.formatError(t,e):t);return J(e,...F)}formatDate(D,e){return e.date?D.toLocaleTimeString():""}filterAndJoin(D){return D.filter(Boolean).join(" ")}formatLogObj(D,e){let F=this.formatArgs(D.args,e);return D.type==="box"?`
|
|
12
|
+
`+[U(D.tag),D.title&&D.title,...F.split(`
|
|
13
|
+
`)].filter(Boolean).map(t=>" > "+t).join(`
|
|
14
|
+
`)+`
|
|
15
|
+
`:this.filterAndJoin([U(D.type),U(D.tag),F])}log(D,e){let F=this.formatLogObj(D,{columns:e.options.stdout.columns||0,...e.options.formatOptions});return gu(F+`
|
|
16
|
+
`,D.level<2?e.options.stderr||process.stderr:e.options.stdout||process.stdout)}};import tu from"process";import*as v from"tty";var{env:y={},argv:uu=[],platform:hu=""}=typeof process>"u"?{}:process,du="NO_COLOR"in y||uu.includes("--no-color"),mu="FORCE_COLOR"in y||uu.includes("--color"),_u=hu==="win32",Du=y.TERM==="dumb",yu=v&&v.isatty&&v.isatty(1)&&y.TERM&&!Du,bu="CI"in y&&("GITHUB_ACTIONS"in y||"GITLAB_CI"in y||"CIRCLECI"in y),Lu=!du&&(mu||_u&&!Du||yu||bu);function eu(u,D,e,F,t=D.slice(0,Math.max(0,u))+F,r=D.slice(Math.max(0,u+e.length)),o=r.indexOf(e)){return t+(o<0?r:eu(o,r,e,F))}function wu(u,D,e,F,t){return u<0?e+D+F:e+eu(u,D,F,t)+F}function Tu(u,D,e=u,F=u.length+1){return t=>t||!(t===""||t===void 0)?wu((""+t).indexOf(D,F),t,u,D,e):""}function E(u,D,e){return Tu(`\x1B[${u}m`,`\x1B[${D}m`,e)}var X={reset:E(0,0),bold:E(1,22,"\x1B[22m\x1B[1m"),dim:E(2,22,"\x1B[22m\x1B[2m"),italic:E(3,23),underline:E(4,24),inverse:E(7,27),hidden:E(8,28),strikethrough:E(9,29),black:E(30,39),red:E(31,39),green:E(32,39),yellow:E(33,39),blue:E(34,39),magenta:E(35,39),cyan:E(36,39),white:E(37,39),gray:E(90,39),bgBlack:E(40,49),bgRed:E(41,49),bgGreen:E(42,49),bgYellow:E(43,49),bgBlue:E(44,49),bgMagenta:E(45,49),bgCyan:E(46,49),bgWhite:E(47,49),blackBright:E(90,39),redBright:E(91,39),greenBright:E(92,39),yellowBright:E(93,39),blueBright:E(94,39),magentaBright:E(95,39),cyanBright:E(96,39),whiteBright:E(97,39),bgBlackBright:E(100,49),bgRedBright:E(101,49),bgGreenBright:E(102,49),bgYellowBright:E(103,49),bgBlueBright:E(104,49),bgMagentaBright:E(105,49),bgCyanBright:E(106,49),bgWhiteBright:E(107,49)};function Iu(u=Lu){return u?X:Object.fromEntries(Object.keys(X).map(D=>[D,String]))}var l=Iu();function j(u,D="reset"){return l[u]||l[D]}function Su(u,D){return j(u)(D)}var vu=[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 _(u){return u.replace(new RegExp(vu,"g"),"")}var Q={solid:{tl:"\u250C",tr:"\u2510",bl:"\u2514",br:"\u2518",h:"\u2500",v:"\u2502"},double:{tl:"\u2554",tr:"\u2557",bl:"\u255A",br:"\u255D",h:"\u2550",v:"\u2551"},doubleSingle:{tl:"\u2553",tr:"\u2556",bl:"\u2559",br:"\u255C",h:"\u2500",v:"\u2551"},doubleSingleRounded:{tl:"\u256D",tr:"\u256E",bl:"\u2570",br:"\u256F",h:"\u2500",v:"\u2551"},singleThick:{tl:"\u250F",tr:"\u2513",bl:"\u2517",br:"\u251B",h:"\u2501",v:"\u2503"},singleDouble:{tl:"\u2552",tr:"\u2555",bl:"\u2558",br:"\u255B",h:"\u2550",v:"\u2502"},singleDoubleRounded:{tl:"\u256D",tr:"\u256E",bl:"\u2570",br:"\u256F",h:"\u2550",v:"\u2502"},rounded:{tl:"\u256D",tr:"\u256E",bl:"\u2570",br:"\u256F",h:"\u2500",v:"\u2502"}},Ru={borderColor:"white",borderStyle:"rounded",valign:"center",padding:2,marginLeft:1,marginTop:1,marginBottom:1};function W(u,D={}){let e={...D,style:{...Ru,...D.style}},F=u.split(`
|
|
17
|
+
`),t=[],r=j(e.style.borderColor),o={...typeof e.style.borderStyle=="string"?Q[e.style.borderStyle]||Q.solid:e.style.borderStyle};if(r)for(let i in o)o[i]=r(o[i]);let n=e.style.padding%2===0?e.style.padding:e.style.padding+1,s=F.length+n,a=Math.max(...F.map(i=>_(i).length),e.title?_(e.title).length:0)+n,C=a+n,A=e.style.marginLeft>0?" ".repeat(e.style.marginLeft):"";if(e.style.marginTop>0&&t.push("".repeat(e.style.marginTop)),e.title){let i=r?r(e.title):e.title,c=o.h.repeat(Math.floor((a-_(e.title).length)/2)),p=o.h.repeat(a-_(e.title).length-_(c).length+n);t.push(`${A}${o.tl}${c}${i}${p}${o.tr}`)}else t.push(`${A}${o.tl}${o.h.repeat(C)}${o.tr}`);let g=e.style.valign==="center"?Math.floor((s-F.length)/2):e.style.valign==="top"?s-F.length-n:s-F.length;for(let i=0;i<s;i++)if(i<g||i>=g+F.length)t.push(`${A}${o.v}${" ".repeat(C)}${o.v}`);else{let c=F[i-g],p=" ".repeat(n),m=" ".repeat(a-_(c).length);t.push(`${A}${o.v}${p}${c}${m}${o.v}`)}return t.push(`${A}${o.bl}${o.h.repeat(C)}${o.br}`),e.style.marginBottom>0&&t.push("".repeat(e.style.marginBottom)),t.join(`
|
|
18
|
+
`)}import"util";import"path";import"tty";var O=Object.create(null),S=u=>globalThis.process?.env||import.meta.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(u?O:globalThis),b=new Proxy(O,{get(u,D){return S()[D]??O[D]},has(u,D){let e=S();return D in e||D in O},set(u,D,e){let F=S(!0);return F[D]=e,!0},deleteProperty(u,D){if(!D)return!1;let e=S(!0);return delete e[D],!0},ownKeys(){let u=S(!0);return Object.keys(u)}}),Ou=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",xu=[["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}],["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 Nu(){if(globalThis.process?.env)for(let u of xu){let 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:!1}:{name:"",ci:!1}}var ou=Nu();ou.name;function w(u){return u?u!=="false":!1}var $u=globalThis.process?.platform||"",Y=w(b.CI)||ou.ci!==!1,su=w(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY),Pu=w(b.DEBUG),V=Ou==="test"||w(b.TEST);w(b.MINIMAL);var Mu=/^win/i.test($u);!w(b.NO_COLOR)&&(w(b.FORCE_COLOR)||(su||Mu)&&b.TERM);var Uu=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null;Number(Uu?.split(".")[0]);var ku=globalThis.process||Object.create(null),Fu={versions:{}};new Proxy(ku,{get(u,D){if(D==="env")return b;if(D in u)return u[D];if(D in Fu)return Fu[D]}});var ju=globalThis.process?.release?.name==="node",Wu=!!globalThis.Bun||!!globalThis.process?.versions?.bun,Gu=!!globalThis.Deno,Yu=!!globalThis.fastly,Vu=!!globalThis.Netlify,Hu=!!globalThis.EdgeRuntime,qu=globalThis.navigator?.userAgent==="Cloudflare-Workers",zu=[[Vu,"netlify"],[Hu,"edge-light"],[qu,"workerd"],[Yu,"fastly"],[Gu,"deno"],[Wu,"bun"],[ju,"node"]];function Zu(){let u=zu.find(D=>D[0]);if(u)return{name:u[1]}}var Ku=Zu();Ku?.name;function Ju({onlyFirst:u=!1}={}){let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(e,u?void 0:"g")}var Xu=Ju();function Qu(u){if(typeof u!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(Xu,"")}function uD(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 DD(u){return u===12288||u>=65281&&u<=65376||u>=65504&&u<=65510}function eD(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 tD(u){if(!Number.isSafeInteger(u))throw new TypeError(`Expected a code point, got \`${typeof u}\`.`)}function FD(u,{ambiguousAsWide:D=!1}={}){return tD(u),DD(u)||eD(u)||D&&uD(u)?2:1}var nD=()=>/[#*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,rD=globalThis.Intl?.Segmenter?new Intl.Segmenter:{segment:u=>u.split("")},oD=/^\p{Default_Ignorable_Code_Point}$/u;function sD(u,D={}){if(typeof u!="string"||u.length===0)return 0;let{ambiguousIsNarrow:e=!0,countAnsiEscapeCodes:F=!1}=D;if(F||(u=Qu(u)),u.length===0)return 0;let t=0,r={ambiguousAsWide:!e};for(let{segment:o}of rD.segment(u)){let n=o.codePointAt(0);if(!(n<=31||n>=127&&n<=159)&&!(n>=8203&&n<=8207||n===65279)&&!(n>=768&&n<=879||n>=6832&&n<=6911||n>=7616&&n<=7679||n>=8400&&n<=8447||n>=65056&&n<=65071)&&!(n>=55296&&n<=57343)&&!(n>=65024&&n<=65039)&&!oD.test(o)){if(nD().test(o)){t+=2;continue}t+=FD(n,r)}}return t}function iD(){let{env:u}=tu,{TERM:D,TERM_PROGRAM:e}=u;return tu.platform!=="win32"?D!=="linux":!!u.WT_SESSION||!!u.TERMINUS_SUBLIME||u.ConEmuTask==="{cmd::Cmder}"||e==="Terminus-Sublime"||e==="vscode"||D==="xterm-256color"||D==="alacritty"||D==="rxvt-unicode"||D==="rxvt-unicode-256color"||u.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var aD={info:"cyan",fail:"red",success:"green",ready:"green",start:"magenta"},ED={0:"red",1:"yellow"},CD=iD(),d=(u,D)=>CD?u:D,nu={error:d("\u2716","\xD7"),fatal:d("\u2716","\xD7"),ready:d("\u2714","\u221A"),warn:d("\u26A0","\u203C"),info:d("\u2139","i"),success:d("\u2714","\u221A"),debug:d("\u2699","D"),trace:d("\u2192","\u2192"),fail:d("\u2716","\xD7"),start:d("\u25D0","o"),log:""};function ru(u){return!(typeof Intl=="object")||!Intl.Segmenter?_(u).length:sD(u)}var G=class extends I{formatStack(D,e,F){let t=" ".repeat((F?.errorLevel||0)+1);return`
|
|
19
|
+
${t}`+k(D,e).map(r=>" "+r.replace(/^at +/,o=>l.gray(o)).replace(/\((.+)\)/,(o,n)=>`(${l.cyan(n)})`)).join(`
|
|
20
|
+
${t}`)}formatType(D,e,F){let t=aD[D.type]||ED[D.level]||"gray";if(e)return cD(t)(l.black(` ${D.type.toUpperCase()} `));let r=typeof nu[D.type]=="string"?nu[D.type]:D.icon||D.type;return r?lD(t)(r):""}formatLogObj(D,e){let[F,...t]=this.formatArgs(D.args,e).split(`
|
|
21
|
+
`);if(D.type==="box")return W(R(F+(t.length>0?`
|
|
22
|
+
`+t.join(`
|
|
23
|
+
`):"")),{title:D.title?R(D.title):void 0,style:D.style});let r=this.formatDate(D.date,e),o=r&&l.gray(r),n=D.badge??D.level<2,s=this.formatType(D,n,e),a=D.tag?l.gray(D.tag):"",C,A=this.filterAndJoin([s,R(F)]),g=this.filterAndJoin(e.columns?[a,o]:[a]),i=(e.columns||0)-ru(A)-ru(g)-2;if(C=i>0&&(e.columns||0)>=80?A+" ".repeat(i)+g:(g?`${l.gray(`[${g}]`)} `:"")+A,C+=R(t.length>0?`
|
|
24
|
+
`+t.join(`
|
|
25
|
+
`):""),D.type==="trace"){let c=new Error("Trace: "+D.message);C+=this.formatStack(c.stack||"",c.message)}return n?`
|
|
26
|
+
`+C+`
|
|
27
|
+
`:C}};function R(u){return u.replace(/`([^`]+)`/gm,(D,e)=>l.cyan(e)).replace(/\s+_([^_]+)_\s+/gm,(D,e)=>` ${l.underline(e)} `)}function lD(u="white"){return l[u]||l.white}function cD(u="bgWhite"){return l[`bg${u[0].toUpperCase()}${u.slice(1)}`]||l.bgWhite}function fD(u={}){let D=BD();return process.env.CONSOLA_LEVEL&&(D=Number.parseInt(process.env.CONSOLA_LEVEL)??D),K({level:D,defaults:{level:D},stdout:process.stdout,stderr:process.stderr,prompt:(...F)=>import("./prompt-KJRFDAR5.js").then(t=>t.prompt(...F)),reporters:u.reporters||[u.fancy??!(Y||V)?new G:new I],...u})}function BD(){return Pu?B.debug:V?B.warn:B.info}var T=fD();import"tty";function AD(u){return Array.isArray(u)?u:u===void 0?[]:[u]}function H(u,D=""){let e=[];for(let F of u)for(let[t,r]of F.entries())e[t]=Math.max(e[t]||0,r.length);return u.map(F=>F.map((t,r)=>D+t[r===0?"padStart":"padEnd"](e[r])).join(" ")).join(`
|
|
28
|
+
`)}function h(u){return typeof u=="function"?u():u}var L=class extends Error{constructor(D,e){super(D),this.code=e,this.name="CLIError"}},pD=/\d/,gD=["-","_","/","."];function hD(u=""){if(!pD.test(u))return u!==u.toLowerCase()}function iu(u,D){let e=D??gD,F=[];if(!u||typeof u!="string")return F;let t="",r,o;for(let n of u){let s=e.includes(n);if(s===!0){F.push(t),t="",r=void 0;continue}let a=hD(n);if(o===!1){if(r===!1&&a===!0){F.push(t),t=n,r=a;continue}if(r===!0&&a===!1&&t.length>1){let C=t.at(-1);F.push(t.slice(0,Math.max(0,t.length-1))),t=C+n,r=a;continue}}t+=n,r=a,o=s}return F.push(t),F}function dD(u){return u?u[0].toUpperCase()+u.slice(1):""}function mD(u){return u?u[0].toLowerCase()+u.slice(1):""}function _D(u,D){return u?(Array.isArray(u)?u:iu(u)).map(e=>dD(D?.normalize?e.toLowerCase():e)).join(""):""}function yD(u,D){return mD(_D(u||"",D))}function bD(u,D){return u?(Array.isArray(u)?u:iu(u)).map(e=>e.toLowerCase()).join(D??"-"):""}function q(u){return u==null?[]:Array.isArray(u)?u:[u]}function LD(u,D,e,F){let t,r=u[D],o=~F.string.indexOf(D)?e==null||e===!0?"":String(e):typeof e=="boolean"?e:~F.boolean.indexOf(D)?e==="false"?!1:e==="true"||(u._.push((t=+e,t*0===0?t:e)),!!e):(t=+e,t*0===0?t:e);u[D]=r==null?o:Array.isArray(r)?r.concat(o):[r,o]}function wD(u=[],D={}){let e,F,t,r,o,n={_:[]},s=0,a=0,C=0,A=u.length,g=D.alias!==void 0,i=D.unknown!==void 0,c=D.default!==void 0;if(D.alias=D.alias||{},D.string=q(D.string),D.boolean=q(D.boolean),g)for(e in D.alias)for(F=D.alias[e]=q(D.alias[e]),s=0;s<F.length;s++)(D.alias[F[s]]=F.concat(e)).splice(s,1);for(s=D.boolean.length;s-- >0;)for(F=D.alias[D.boolean[s]]||[],a=F.length;a-- >0;)D.boolean.push(F[a]);for(s=D.string.length;s-- >0;)for(F=D.alias[D.string[s]]||[],a=F.length;a-- >0;)D.string.push(F[a]);if(c){for(e in D.default)if(r=typeof D.default[e],F=D.alias[e]=D.alias[e]||[],D[r]!==void 0)for(D[r].push(e),s=0;s<F.length;s++)D[r].push(F[s])}let p=i?Object.keys(D.alias):[];for(s=0;s<A;s++){if(t=u[s],t==="--"){n._=n._.concat(u.slice(++s));break}for(a=0;a<t.length&&t.charCodeAt(a)===45;a++);if(a===0)n._.push(t);else if(t.substring(a,a+3)==="no-"){if(r=t.slice(Math.max(0,a+3)),i&&!~p.indexOf(r))return D.unknown(t);n[r]=!1}else{for(C=a+1;C<t.length&&t.charCodeAt(C)!==61;C++);for(r=t.substring(a,C),o=t.slice(Math.max(0,++C))||s+1===A||(""+u[s+1]).charCodeAt(0)===45||u[++s],F=a===2?[r]:r,C=0;C<F.length;C++){if(r=F[C],i&&!~p.indexOf(r))return D.unknown("-".repeat(a)+r);LD(n,r,C+1<F.length||o,D)}}}if(c)for(e in D.default)n[e]===void 0&&(n[e]=D.default[e]);if(g)for(e in n)for(F=D.alias[e]||[];F.length>0;)n[F.shift()]=n[e];return n}function TD(u,D){let e={boolean:[],string:[],mixed:[],alias:{},default:{}},F=au(D);for(let n of F)n.type!=="positional"&&(n.type==="string"?e.string.push(n.name):n.type==="boolean"&&e.boolean.push(n.name),n.default!==void 0&&(e.default[n.name]=n.default),n.alias&&(e.alias[n.name]=n.alias));let t=wD(u,e),[...r]=t._,o=new Proxy(t,{get(n,s){return n[s]??n[yD(s)]??n[bD(s)]}});for(let[,n]of F.entries())if(n.type==="positional"){let s=r.shift();if(s!==void 0)o[n.name]=s;else{if(n.default===void 0&&n.required!==!1)throw new L(`Missing required positional argument: ${n.name.toUpperCase()}`,"EARG");o[n.name]=n.default}}else if(n.required&&o[n.name]===void 0)throw new L(`Missing required argument: --${n.name}`,"EARG");return o}function au(u){let D=[];for(let[e,F]of Object.entries(u||{}))D.push({...F,name:e,alias:AD(F.alias)});return D}async function Eu(u,D){let e=await h(u.args||{}),F=TD(D.rawArgs,e),t={rawArgs:D.rawArgs,args:F,data:D.data,cmd:u};typeof u.setup=="function"&&await u.setup(t);let r;try{let o=await h(u.subCommands);if(o&&Object.keys(o).length>0){let n=D.rawArgs.findIndex(a=>!a.startsWith("-")),s=D.rawArgs[n];if(s){if(!o[s])throw new L(`Unknown command \`${s}\``,"E_UNKNOWN_COMMAND");let a=await h(o[s]);a&&await Eu(a,{rawArgs:D.rawArgs.slice(n+1)})}else if(!u.run)throw new L("No command specified.","E_NO_COMMAND")}typeof u.run=="function"&&(r=await u.run(t))}finally{typeof u.cleanup=="function"&&await u.cleanup(t)}return{result:r}}async function z(u,D,e){let F=await h(u.subCommands);if(F&&Object.keys(F).length>0){let t=D.findIndex(n=>!n.startsWith("-")),r=D[t],o=await h(F[r]);if(o)return z(o,D.slice(t+1),u)}return[u,e]}async function ID(u,D){try{T.log(await SD(u,D)+`
|
|
29
|
+
`)}catch(e){T.error(e)}}async function SD(u,D){let e=await h(u.meta||{}),F=au(await h(u.args||{})),t=await h(D?.meta||{}),r=`${t.name?`${t.name} `:""}`+(e.name||process.argv[1]),o=[],n=[],s=[],a=[];for(let i of F)if(i.type==="positional"){let c=i.name.toUpperCase(),p=i.required!==!1&&i.default===void 0,m=i.default?`="${i.default}"`:"";n.push(["`"+c+m+"`",i.description||"",i.valueHint?`<${i.valueHint}>`:""]),a.push(p?`<${c}>`:`[${c}]`)}else{let c=i.required===!0&&i.default===void 0,p=(i.type==="boolean"&&i.default===!0?[...(i.alias||[]).map(m=>`--no-${m}`),`--no-${i.name}`].join(", "):[...(i.alias||[]).map(m=>`-${m}`),`--${i.name}`].join(", "))+(i.type==="string"&&(i.valueHint||i.default)?`=${i.valueHint?`<${i.valueHint}>`:`"${i.default||""}"`}`:"");o.push(["`"+p+(c?" (required)":"")+"`",i.description||""]),c&&a.push(p)}if(u.subCommands){let i=[],c=await h(u.subCommands);for(let[p,m]of Object.entries(c)){let Cu=await h(m),lu=await h(Cu?.meta);s.push([`\`${p}\``,lu?.description||""]),i.push(p)}a.push(i.join("|"))}let C=[],A=e.version||t.version;C.push(l.gray(`${e.description} (${r+(A?` v${A}`:"")})`),"");let g=o.length>0||n.length>0;return C.push(`${l.underline(l.bold("USAGE"))} \`${r}${g?" [OPTIONS]":""} ${a.join(" ")}\``,""),n.length>0&&(C.push(l.underline(l.bold("ARGUMENTS")),""),C.push(H(n," ")),C.push("")),o.length>0&&(C.push(l.underline(l.bold("OPTIONS")),""),C.push(H(o," ")),C.push("")),s.length>0&&(C.push(l.underline(l.bold("COMMANDS")),""),C.push(H(s," ")),C.push("",`Use \`${r} <command> --help\` for more information about a command.`)),C.filter(i=>typeof i=="string").join(`
|
|
30
|
+
`)}async function De(u,D={}){let e=D.rawArgs||process.argv.slice(2),F=D.showUsage||ID;try{if(e.includes("--help")||e.includes("-h"))await F(...await z(u,e)),process.exit(0);else if(e.length===1&&e[0]==="--version"){let t=typeof u.meta=="function"?await u.meta():await u.meta;if(!t?.version)throw new L("No version specified","E_NO_VERSION");T.log(t.version)}else await Eu(u,{rawArgs:e})}catch(t){let r=t instanceof L;r||T.error(t,`
|
|
31
|
+
`),r&&await F(...await z(u,e)),T.error(t.message),process.exit(1)}}var te={debug:{default:!1,description:"Enable debug logging. Defaults to `false`.",required:!1,type:"boolean"}};export{B as a,Su as b,W as c,T as d,De as e,te as f};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
+
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports),n=(b,a)=>{for(var c in a)e(b,c,{get:a[c],enumerable:!0})},l=(b,a,c,f)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of i(a))!k.call(b,d)&&d!==c&&e(b,d,{get:()=>a[d],enumerable:!(f=h(a,d))||f.enumerable});return b};var o=(b,a,c)=>(c=b!=null?g(j(b)):{},l(a||!b||!b.__esModule?e(c,"default",{value:b,enumerable:!0}):c,b));export{m as a,n as b,o as c};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
+
import{d as o,h as a,k as c}from"./chunk-SZYQ5TDI.js";import{b as r}from"./chunk-4QNO2WQL.js";async function T(e){let{confirmationText:t,debug:h}=e;return a?typeof await new c({debug:h,render(){switch(this.state){case"active":case"error":case"initial":{let s=`
|
|
3
|
+
\u{1F9F7} To confirm, type ${o(t)} and press ${r("inverse"," \u23CE ")}:`,l=this.value?.length<=t.length&&t.startsWith(this.value),i=!this.error&&u(this.value,t),n=t.charAt(this.cursor)?r("inverse",t.charAt(this.cursor)):this.valueWithCursor.charAt(this.cursor),m=r("dim",t.slice(this.valueWithCursor.length)),p=i?`${t}${r("reset",r("strikethrough",r("dim",this.value.slice(t.length))))}${n}`:`${this.value}${n}`;return`${s}
|
|
4
|
+
|
|
5
|
+
${r(i?"greenBright":l?"reset":"redBright",`${r("hidden","_")}> ${p}`)}${m}
|
|
6
|
+
`}case"cancel":return`
|
|
7
|
+
Aborted!
|
|
8
|
+
|
|
9
|
+
`;case"submit":return`
|
|
10
|
+
`;default:return this.state,`
|
|
11
|
+
`}},validate:s=>u(s,t)?void 0:"!"}).prompt()=="string":!0}function u(e,t){return typeof e=="string"&&e.startsWith(t)}export{T as a};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
+
import{b as B}from"./chunk-4QNO2WQL.js";import{a as V,c as U}from"./chunk-M6TFCQLD.js";var H=V((yu,z)=>{"use strict";var L="\x1B",o=`${L}[`,RD="\x07",$={to(t,u){return u?`${o}${u+1};${t+1}H`:`${o}${t+1}G`},move(t,u){let e="";return t<0?e+=`${o}${-t}D`:t>0&&(e+=`${o}${t}C`),u<0?e+=`${o}${-u}A`:u>0&&(e+=`${o}${u}B`),e},up:(t=1)=>`${o}${t}A`,down:(t=1)=>`${o}${t}B`,forward:(t=1)=>`${o}${t}C`,backward:(t=1)=>`${o}${t}D`,nextLine:(t=1)=>`${o}E`.repeat(t),prevLine:(t=1)=>`${o}F`.repeat(t),left:`${o}G`,hide:`${o}?25l`,show:`${o}?25h`,save:`${L}7`,restore:`${L}8`},LD={up:(t=1)=>`${o}S`.repeat(t),down:(t=1)=>`${o}T`.repeat(t)},$D={screen:`${o}2J`,up:(t=1)=>`${o}1J`.repeat(t),down:(t=1)=>`${o}J`.repeat(t),line:`${o}2K`,lineEnd:`${o}K`,lineStart:`${o}1K`,lines(t){let u="";for(let e=0;e<t;e++)u+=this.line+(e<t-1?$.up():"");return t&&(u+=$.left),u}};z.exports={cursor:$,scroll:LD,erase:$D,beep:RD}});var X=V((Ru,P)=>{"use strict";var w=process||{},Z=w.argv||[],_=w.env||{},PD=!(_.NO_COLOR||Z.includes("--no-color"))&&(!!_.FORCE_COLOR||Z.includes("--color")||w.platform==="win32"||(w.stdout||{}).isTTY&&_.TERM!=="dumb"||!!_.CI),ND=(t,u,e=t)=>s=>{let r=""+s,i=r.indexOf(u,t.length);return~i?t+kD(r,u,e,i)+u:t+r+u},kD=(t,u,e,s)=>{let r="",i=0;do r+=t.substring(i,s)+e,i=s+u.length,s=t.indexOf(u,i);while(~s);return r+t.substring(i)},J=(t=PD)=>{let u=t?ND:()=>String;return{isColorSupported:t,reset:u("\x1B[0m","\x1B[0m"),bold:u("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:u("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:u("\x1B[3m","\x1B[23m"),underline:u("\x1B[4m","\x1B[24m"),inverse:u("\x1B[7m","\x1B[27m"),hidden:u("\x1B[8m","\x1B[28m"),strikethrough:u("\x1B[9m","\x1B[29m"),black:u("\x1B[30m","\x1B[39m"),red:u("\x1B[31m","\x1B[39m"),green:u("\x1B[32m","\x1B[39m"),yellow:u("\x1B[33m","\x1B[39m"),blue:u("\x1B[34m","\x1B[39m"),magenta:u("\x1B[35m","\x1B[39m"),cyan:u("\x1B[36m","\x1B[39m"),white:u("\x1B[37m","\x1B[39m"),gray:u("\x1B[90m","\x1B[39m"),bgBlack:u("\x1B[40m","\x1B[49m"),bgRed:u("\x1B[41m","\x1B[49m"),bgGreen:u("\x1B[42m","\x1B[49m"),bgYellow:u("\x1B[43m","\x1B[49m"),bgBlue:u("\x1B[44m","\x1B[49m"),bgMagenta:u("\x1B[45m","\x1B[49m"),bgCyan:u("\x1B[46m","\x1B[49m"),bgWhite:u("\x1B[47m","\x1B[49m"),blackBright:u("\x1B[90m","\x1B[39m"),redBright:u("\x1B[91m","\x1B[39m"),greenBright:u("\x1B[92m","\x1B[39m"),yellowBright:u("\x1B[93m","\x1B[39m"),blueBright:u("\x1B[94m","\x1B[39m"),magentaBright:u("\x1B[95m","\x1B[39m"),cyanBright:u("\x1B[96m","\x1B[39m"),whiteBright:u("\x1B[97m","\x1B[39m"),bgBlackBright:u("\x1B[100m","\x1B[49m"),bgRedBright:u("\x1B[101m","\x1B[49m"),bgGreenBright:u("\x1B[102m","\x1B[49m"),bgYellowBright:u("\x1B[103m","\x1B[49m"),bgBlueBright:u("\x1B[104m","\x1B[49m"),bgMagentaBright:u("\x1B[105m","\x1B[49m"),bgCyanBright:u("\x1B[106m","\x1B[49m"),bgWhiteBright:u("\x1B[107m","\x1B[49m")}};P.exports=J();P.exports.createColors=J});var d=Object.create(null),m=t=>globalThis.process?.env||import.meta.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(t?d:globalThis),p=new Proxy(d,{get(t,u){return m()[u]??d[u]},has(t,u){let e=m();return u in e||u in d},set(t,u,e){let s=m(!0);return s[u]=e,!0},deleteProperty(t,u){if(!u)return!1;let e=m(!0);return delete e[u],!0},ownKeys(){let t=m(!0);return Object.keys(t)}}),cD=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",BD=[["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 pD(){if(globalThis.process?.env)for(let t of BD){let u=t[1]||t[0];if(globalThis.process?.env[u])return{name:t[0].toLowerCase(),...t[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}var Y=pD(),nu=Y.name;function A(t){return t?t!=="false":!1}var R=globalThis.process?.platform||"",v=A(p.CI)||Y.ci!==!1,x=A(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY);var Eu=A(p.DEBUG),bD=cD==="test"||A(p.TEST);var au=A(p.MINIMAL)||v||bD||!x,AD=/^win/i.test(R),lu=/^linux/i.test(R),hu=/^darwin/i.test(R),cu=!A(p.NO_COLOR)&&(A(p.FORCE_COLOR)||(x||AD)&&p.TERM!=="dumb"||v),mD=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null,Bu=Number(mD?.split(".")[0])||null,gD=globalThis.process||Object.create(null),G={versions:{}},pu=new Proxy(gD,{get(t,u){if(u==="env")return p;if(u in t)return t[u];if(u in G)return G[u]}}),fD=globalThis.process?.release?.name==="node",dD=!!globalThis.Bun||!!globalThis.process?.versions?.bun,vD=!!globalThis.Deno,xD=!!globalThis.fastly,_D=!!globalThis.Netlify,wD=!!globalThis.EdgeRuntime,TD=globalThis.navigator?.userAgent==="Cloudflare-Workers",ID=[[_D,"netlify"],[wD,"edge-light"],[TD,"workerd"],[xD,"fastly"],[vD,"deno"],[dD,"bun"],[fD,"node"]];function OD(){let t=ID.find(u=>u[0]);if(t)return{name:t[1]}}var SD=OD(),bu=SD?.name||"";function gu(t){return B("cyan",t)}function fu(t){return B("magenta",t)}function du(t){return B("yellow",t)}function vu(t){return B("white",t)}var wu=yD();function yD(t){return B("inverse",`${K()}prisma dev${t?` ${t}`:""}${K()}`)}function K(t=1){return t<1?"":B("hidden","_".repeat(t))}var Ou=!v&&x;var h=U(H(),1),CD=U(X(),1);import{stdin as MD,stdout as WD}from"process";import*as S from"readline";import q from"readline";import{Writable as jD}from"stream";function VD({onlyFirst:t=!1}={}){let u=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(u,t?void 0:"g")}var UD=VD();function oD(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(UD,"")}function nD(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ED={exports:{}};(function(t){var u={};t.exports=u,u.eastAsianWidth=function(s){var r=s.charCodeAt(0),i=s.length==2?s.charCodeAt(1):0,D=r;return 55296<=r&&r<=56319&&56320<=i&&i<=57343&&(r&=1023,i&=1023,D=r<<10|i,D+=65536),D==12288||65281<=D&&D<=65376||65504<=D&&D<=65510?"F":D==8361||65377<=D&&D<=65470||65474<=D&&D<=65479||65482<=D&&D<=65487||65490<=D&&D<=65495||65498<=D&&D<=65500||65512<=D&&D<=65518?"H":4352<=D&&D<=4447||4515<=D&&D<=4519||4602<=D&&D<=4607||9001<=D&&D<=9002||11904<=D&&D<=11929||11931<=D&&D<=12019||12032<=D&&D<=12245||12272<=D&&D<=12283||12289<=D&&D<=12350||12353<=D&&D<=12438||12441<=D&&D<=12543||12549<=D&&D<=12589||12593<=D&&D<=12686||12688<=D&&D<=12730||12736<=D&&D<=12771||12784<=D&&D<=12830||12832<=D&&D<=12871||12880<=D&&D<=13054||13056<=D&&D<=19903||19968<=D&&D<=42124||42128<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||55216<=D&&D<=55238||55243<=D&&D<=55291||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65106||65108<=D&&D<=65126||65128<=D&&D<=65131||110592<=D&&D<=110593||127488<=D&&D<=127490||127504<=D&&D<=127546||127552<=D&&D<=127560||127568<=D&&D<=127569||131072<=D&&D<=194367||177984<=D&&D<=196605||196608<=D&&D<=262141?"W":32<=D&&D<=126||162<=D&&D<=163||165<=D&&D<=166||D==172||D==175||10214<=D&&D<=10221||10629<=D&&D<=10630?"Na":D==161||D==164||167<=D&&D<=168||D==170||173<=D&&D<=174||176<=D&&D<=180||182<=D&&D<=186||188<=D&&D<=191||D==198||D==208||215<=D&&D<=216||222<=D&&D<=225||D==230||232<=D&&D<=234||236<=D&&D<=237||D==240||242<=D&&D<=243||247<=D&&D<=250||D==252||D==254||D==257||D==273||D==275||D==283||294<=D&&D<=295||D==299||305<=D&&D<=307||D==312||319<=D&&D<=322||D==324||328<=D&&D<=331||D==333||338<=D&&D<=339||358<=D&&D<=359||D==363||D==462||D==464||D==466||D==468||D==470||D==472||D==474||D==476||D==593||D==609||D==708||D==711||713<=D&&D<=715||D==717||D==720||728<=D&&D<=731||D==733||D==735||768<=D&&D<=879||913<=D&&D<=929||931<=D&&D<=937||945<=D&&D<=961||963<=D&&D<=969||D==1025||1040<=D&&D<=1103||D==1105||D==8208||8211<=D&&D<=8214||8216<=D&&D<=8217||8220<=D&&D<=8221||8224<=D&&D<=8226||8228<=D&&D<=8231||D==8240||8242<=D&&D<=8243||D==8245||D==8251||D==8254||D==8308||D==8319||8321<=D&&D<=8324||D==8364||D==8451||D==8453||D==8457||D==8467||D==8470||8481<=D&&D<=8482||D==8486||D==8491||8531<=D&&D<=8532||8539<=D&&D<=8542||8544<=D&&D<=8555||8560<=D&&D<=8569||D==8585||8592<=D&&D<=8601||8632<=D&&D<=8633||D==8658||D==8660||D==8679||D==8704||8706<=D&&D<=8707||8711<=D&&D<=8712||D==8715||D==8719||D==8721||D==8725||D==8730||8733<=D&&D<=8736||D==8739||D==8741||8743<=D&&D<=8748||D==8750||8756<=D&&D<=8759||8764<=D&&D<=8765||D==8776||D==8780||D==8786||8800<=D&&D<=8801||8804<=D&&D<=8807||8810<=D&&D<=8811||8814<=D&&D<=8815||8834<=D&&D<=8835||8838<=D&&D<=8839||D==8853||D==8857||D==8869||D==8895||D==8978||9312<=D&&D<=9449||9451<=D&&D<=9547||9552<=D&&D<=9587||9600<=D&&D<=9615||9618<=D&&D<=9621||9632<=D&&D<=9633||9635<=D&&D<=9641||9650<=D&&D<=9651||9654<=D&&D<=9655||9660<=D&&D<=9661||9664<=D&&D<=9665||9670<=D&&D<=9672||D==9675||9678<=D&&D<=9681||9698<=D&&D<=9701||D==9711||9733<=D&&D<=9734||D==9737||9742<=D&&D<=9743||9748<=D&&D<=9749||D==9756||D==9758||D==9792||D==9794||9824<=D&&D<=9825||9827<=D&&D<=9829||9831<=D&&D<=9834||9836<=D&&D<=9837||D==9839||9886<=D&&D<=9887||9918<=D&&D<=9919||9924<=D&&D<=9933||9935<=D&&D<=9953||D==9955||9960<=D&&D<=9983||D==10045||D==10071||10102<=D&&D<=10111||11093<=D&&D<=11097||12872<=D&&D<=12879||57344<=D&&D<=63743||65024<=D&&D<=65039||D==65533||127232<=D&&D<=127242||127248<=D&&D<=127277||127280<=D&&D<=127337||127344<=D&&D<=127386||917760<=D&&D<=917999||983040<=D&&D<=1048573||1048576<=D&&D<=1114109?"A":"N"},u.characterLength=function(s){var r=this.eastAsianWidth(s);return r=="F"||r=="W"||r=="A"?2:1};function e(s){return s.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}u.length=function(s){for(var r=e(s),i=0,D=0;D<r.length;D++)i=i+this.characterLength(r[D]);return i},u.slice=function(s,r,i){textLen=u.length(s),r=r||0,i=i||1,r<0&&(r=textLen+r),i<0&&(i=textLen+i);for(var D="",F=0,a=e(s),n=0;n<a.length;n++){var c=a[n],E=u.length(c);if(F>=r-(E==2?1:0))if(F+E<=i)D+=c;else break;F+=E}return D}})(ED);var GD=ED.exports,YD=nD(GD),KD=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\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|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\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]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g},zD=nD(KD);function g(t,u={}){if(typeof t!="string"||t.length===0||(u={ambiguousIsNarrow:!0,...u},t=oD(t),t.length===0))return 0;t=t.replace(zD()," ");let e=u.ambiguousIsNarrow?1:2,s=0;for(let r of t){let i=r.codePointAt(0);if(!(i<=31||i>=127&&i<=159||i>=768&&i<=879))switch(YD.eastAsianWidth(r)){case"F":case"W":s+=2;break;case"A":s+=e;break;default:s+=1}}return s}var N=10,Q=(t=0)=>u=>`\x1B[${u+t}m`,DD=(t=0)=>u=>`\x1B[${38+t};5;${u}m`,uD=(t=0)=>(u,e,s)=>`\x1B[${38+t};2;${u};${e};${s}m`,C={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(C.modifier);var HD=Object.keys(C.color),ZD=Object.keys(C.bgColor);[...HD,...ZD];function JD(){let t=new Map;for(let[u,e]of Object.entries(C)){for(let[s,r]of Object.entries(e))C[s]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},e[s]=C[s],t.set(r[0],r[1]);Object.defineProperty(C,u,{value:e,enumerable:!1})}return Object.defineProperty(C,"codes",{value:t,enumerable:!1}),C.color.close="\x1B[39m",C.bgColor.close="\x1B[49m",C.color.ansi=Q(),C.color.ansi256=DD(),C.color.ansi16m=uD(),C.bgColor.ansi=Q(N),C.bgColor.ansi256=DD(N),C.bgColor.ansi16m=uD(N),Object.defineProperties(C,{rgbToAnsi256:{value:(u,e,s)=>u===e&&e===s?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(e/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:u=>{let e=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!e)return[0,0,0];let[s]=e;s.length===3&&(s=[...s].map(i=>i+i).join(""));let r=Number.parseInt(s,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:u=>C.rgbToAnsi256(...C.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value:u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let e,s,r;if(u>=232)e=((u-232)*10+8)/255,s=e,r=e;else{u-=16;let F=u%36;e=Math.floor(u/36)/5,s=Math.floor(F/6)/5,r=F%6/5}let i=Math.max(e,s,r)*2;if(i===0)return 30;let D=30+(Math.round(r)<<2|Math.round(s)<<1|Math.round(e));return i===2&&(D+=60),D},enumerable:!1},rgbToAnsi:{value:(u,e,s)=>C.ansi256ToAnsi(C.rgbToAnsi256(u,e,s)),enumerable:!1},hexToAnsi:{value:u=>C.ansi256ToAnsi(C.hexToAnsi256(u)),enumerable:!1}}),C}var XD=JD(),y=new Set(["\x1B","\x9B"]),qD=39,W="\x07",aD="[",QD="]",lD="m",j=`${QD}8;;`,tD=t=>`${y.values().next().value}${aD}${t}${lD}`,eD=t=>`${y.values().next().value}${j}${t}${W}`,Du=t=>t.split(" ").map(u=>g(u)),k=(t,u,e)=>{let s=[...u],r=!1,i=!1,D=g(oD(t[t.length-1]));for(let[F,a]of s.entries()){let n=g(a);if(D+n<=e?t[t.length-1]+=a:(t.push(a),D=0),y.has(a)&&(r=!0,i=s.slice(F+1).join("").startsWith(j)),r){i?a===W&&(r=!1,i=!1):a===lD&&(r=!1);continue}D+=n,D===e&&F<s.length-1&&(t.push(""),D=0)}!D&&t[t.length-1].length>0&&t.length>1&&(t[t.length-2]+=t.pop())},uu=t=>{let u=t.split(" "),e=u.length;for(;e>0&&!(g(u[e-1])>0);)e--;return e===u.length?t:u.slice(0,e).join(" ")+u.slice(e).join("")},tu=(t,u,e={})=>{if(e.trim!==!1&&t.trim()==="")return"";let s="",r,i,D=Du(t),F=[""];for(let[n,c]of t.split(" ").entries()){e.trim!==!1&&(F[F.length-1]=F[F.length-1].trimStart());let E=g(F[F.length-1]);if(n!==0&&(E>=u&&(e.wordWrap===!1||e.trim===!1)&&(F.push(""),E=0),(E>0||e.trim===!1)&&(F[F.length-1]+=" ",E++)),e.hard&&D[n]>u){let b=u-E,f=1+Math.floor((D[n]-b-1)/u);Math.floor((D[n]-1)/u)<f&&F.push(""),k(F,c,u);continue}if(E+D[n]>u&&E>0&&D[n]>0){if(e.wordWrap===!1&&E<u){k(F,c,u);continue}F.push("")}if(E+D[n]>u&&e.wordWrap===!1){k(F,c,u);continue}F[F.length-1]+=c}e.trim!==!1&&(F=F.map(n=>uu(n)));let a=[...F.join(`
|
|
3
|
+
`)];for(let[n,c]of a.entries()){if(s+=c,y.has(c)){let{groups:b}=new RegExp(`(?:\\${aD}(?<code>\\d+)m|\\${j}(?<uri>.*)${W})`).exec(a.slice(n).join(""))||{groups:{}};if(b.code!==void 0){let f=Number.parseFloat(b.code);r=f===qD?void 0:f}else b.uri!==void 0&&(i=b.uri.length===0?void 0:b.uri)}let E=XD.codes.get(Number(r));a[n+1]===`
|
|
4
|
+
`?(i&&(s+=eD("")),r&&E&&(s+=tD(E))):c===`
|
|
5
|
+
`&&(r&&E&&(s+=tD(r)),i&&(s+=eD(i)))}return s};function sD(t,u,e){return String(t).normalize().replace(/\r\n/g,`
|
|
6
|
+
`).split(`
|
|
7
|
+
`).map(s=>tu(s,u,e)).join(`
|
|
8
|
+
`)}var eu=["up","down","left","right","space","enter","cancel"],I={actions:new Set(eu),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["","cancel"],["escape","cancel"]])};function hD(t,u){if(typeof t=="string")return I.aliases.get(t)===u;for(let e of t)if(e!==void 0&&hD(e,u))return!0;return!1}function su(t,u){if(t===u)return;let e=t.split(`
|
|
9
|
+
`),s=u.split(`
|
|
10
|
+
`),r=[];for(let i=0;i<Math.max(e.length,s.length);i++)e[i]!==s[i]&&r.push(i);return r}var Nu=globalThis.process.platform.startsWith("win"),M=Symbol("clack:cancel");function ku(t){return t===M}function T(t,u){let e=t;e.isTTY&&e.setRawMode(u)}var ru=Object.defineProperty,iu=(t,u,e)=>u in t?ru(t,u,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[u]=e,l=(t,u,e)=>(iu(t,typeof u!="symbol"?u+"":u,e),e),O=class{constructor(u,e=!0){l(this,"input"),l(this,"output"),l(this,"_abortSignal"),l(this,"rl"),l(this,"opts"),l(this,"_render"),l(this,"_track",!1),l(this,"_prevFrame",""),l(this,"_subscribers",new Map),l(this,"_cursor",0),l(this,"state","initial"),l(this,"error",""),l(this,"value");let{input:s=MD,output:r=WD,render:i,signal:D,...F}=u;this.opts=F,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=i.bind(this),this._track=e,this._abortSignal=D,this.input=s,this.output=r}unsubscribe(){this._subscribers.clear()}setSubscriber(u,e){let s=this._subscribers.get(u)??[];s.push(e),this._subscribers.set(u,s)}on(u,e){this.setSubscriber(u,{cb:e})}once(u,e){this.setSubscriber(u,{cb:e,once:!0})}emit(u,...e){let s=this._subscribers.get(u)??[],r=[];for(let i of s)i.cb(...e),i.once&&r.push(()=>s.splice(s.indexOf(i),1));for(let i of r)i()}prompt(){return new Promise((u,e)=>{if(this._abortSignal){if(this._abortSignal.aborted)return this.state="cancel",this.close(),u(M);this._abortSignal.addEventListener("abort",()=>{this.state="cancel",this.close()},{once:!0})}let s=new jD;s._write=(r,i,D)=>{this._track&&(this.value=this.rl?.line.replace(/\t/g,""),this._cursor=this.rl?.cursor??0,this.emit("value",this.value)),D()},this.input.pipe(s),this.rl=q.createInterface({input:this.input,output:s,tabSize:2,prompt:"",escapeCodeTimeout:50,terminal:!0}),q.emitKeypressEvents(this.input,this.rl),this.rl.prompt(),this.opts.initialValue!==void 0&&this._track&&this.rl.write(this.opts.initialValue),this.input.on("keypress",this.onKeypress),T(this.input,!0),this.output.on("resize",this.render),this.render(),this.once("submit",()=>{this.output.write(h.cursor.show),this.output.off("resize",this.render),T(this.input,!1),u(this.value)}),this.once("cancel",()=>{this.output.write(h.cursor.show),this.output.off("resize",this.render),T(this.input,!1),u(M)})})}onKeypress(u,e){if(this.state==="error"&&(this.state="active"),e?.name&&(!this._track&&I.aliases.has(e.name)&&this.emit("cursor",I.aliases.get(e.name)),I.actions.has(e.name)&&this.emit("cursor",e.name)),u&&(u.toLowerCase()==="y"||u.toLowerCase()==="n")&&this.emit("confirm",u.toLowerCase()==="y"),u===" "&&this.opts.placeholder&&(this.value||(this.rl?.write(this.opts.placeholder),this.emit("value",this.opts.placeholder))),u&&this.emit("key",u.toLowerCase()),e?.name==="return"){if(this.opts.validate){let s=this.opts.validate(this.value);s&&(this.error=s instanceof Error?s.message:s,this.state="error",this.rl?.write(this.value))}this.state!=="error"&&(this.state="submit")}hD([u,e?.name,e?.sequence],"cancel")&&(this.state="cancel"),(this.state==="submit"||this.state==="cancel")&&this.emit("finalize"),this.render(),(this.state==="submit"||this.state==="cancel")&&this.close()}close(){this.input.unpipe(),this.input.removeListener("keypress",this.onKeypress),this.output.write(`
|
|
11
|
+
`),T(this.input,!1),this.rl?.close(),this.rl=void 0,this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){let u=sD(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
|
|
12
|
+
`).length-1;this.output.write(h.cursor.move(-999,u*-1))}render(){let u=sD(this._render(this)??"",process.stdout.columns,{hard:!0});if(u!==this._prevFrame){if(this.state==="initial")this.output.write(h.cursor.hide);else{let e=su(this._prevFrame,u);if(this.restoreCursor(),e&&e?.length===1){let s=e[0];this.output.write(h.cursor.move(0,s)),this.output.write(h.erase.lines(1));let r=u.split(`
|
|
13
|
+
`);this.output.write(r[s]),this._prevFrame=u,this.output.write(h.cursor.move(0,r.length-s-1));return}if(e&&e?.length>1){let s=e[0];this.output.write(h.cursor.move(0,s)),this.output.write(h.erase.down());let r=u.split(`
|
|
14
|
+
`).slice(s);this.output.write(r.join(`
|
|
15
|
+
`)),this._prevFrame=u;return}this.output.write(h.erase.down())}this.output.write(u),this.state==="initial"&&(this.state="active"),this._prevFrame=u}}};var Fu;Fu=new WeakMap;var Cu=Object.defineProperty,ou=(t,u,e)=>u in t?Cu(t,u,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[u]=e,rD=(t,u,e)=>(ou(t,typeof u!="symbol"?u+"":u,e),e),iD=class extends O{constructor(u){super(u,!1),rD(this,"options"),rD(this,"cursor",0),this.options=u.options;let e=this.options.map(({value:[s]})=>s?.toLowerCase());this.cursor=Math.max(e.indexOf(u.initialValue),0),this.on("key",s=>{if(!e.includes(s))return;let r=this.options.find(({value:[i]})=>i?.toLowerCase()===s);r&&(this.value=r.value,this.state="submit",this.emit("submit"))})}},FD=class extends O{get valueWithCursor(){if(this.state==="submit")return this.value;if(this.cursor>=this.value.length)return`${this.value}\u2588`;let u=this.value.slice(0,this.cursor),[e,...s]=this.value.slice(this.cursor);return`${u}${CD.default.inverse(e)}${s.join("")}`}get cursor(){return this._cursor}constructor(u){super(u),this.on("finalize",()=>{this.value||(this.value=u.defaultValue)})}};export{pu as a,gu as b,fu as c,du as d,vu as e,wu as f,yD as g,Ou as h,ku as i,iD as j,FD as k};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a as x,b as n,c as v,e as h,f as b,h as S,i as w,j as C}from"./chunk-SZYQ5TDI.js";import{b as m,c as R,d}from"./chunk-4QNO2WQL.js";import{b as _}from"./chunk-M6TFCQLD.js";import{setTimeout as Gt}from"timers/promises";import c from"process";import{stripVTControlCharacters as Rt}from"util";var p={};_(p,{bgBlack:()=>rt,bgBlue:()=>st,bgBlueBright:()=>yt,bgCyan:()=>ct,bgCyanBright:()=>$t,bgGray:()=>lt,bgGreen:()=>nt,bgGreenBright:()=>vt,bgMagenta:()=>at,bgMagentaBright:()=>Pt,bgRed:()=>ot,bgRedBright:()=>bt,bgWhite:()=>pt,bgWhiteBright:()=>Tt,bgYellow:()=>it,bgYellowBright:()=>St,black:()=>F,blue:()=>z,blueBright:()=>dt,bold:()=>N,cyan:()=>Z,cyanBright:()=>ft,dim:()=>H,gray:()=>et,green:()=>V,greenBright:()=>ut,hidden:()=>j,inverse:()=>Q,italic:()=>k,magenta:()=>J,magentaBright:()=>gt,overline:()=>Y,red:()=>K,redBright:()=>ht,reset:()=>D,strikethrough:()=>q,underline:()=>W,white:()=>tt,whiteBright:()=>xt,yellow:()=>X,yellowBright:()=>mt});import L from"tty";var U=L?.WriteStream?.prototype?.hasColors?.()??!1,r=(e,t)=>{if(!U)return a=>a;let o=`\x1B[${e}m`,s=`\x1B[${t}m`;return a=>{let i=a+"",l=i.indexOf(s);if(l===-1)return o+i+s;let g=o,u=0;for(;l!==-1;)g+=i.slice(u,l)+o,u=l+s.length,l=i.indexOf(s,u);return g+=i.slice(u)+s,g}},D=r(0,0),N=r(1,22),H=r(2,22),k=r(3,23),W=r(4,24),Y=r(53,55),Q=r(7,27),j=r(8,28),q=r(9,29),F=r(30,39),K=r(31,39),V=r(32,39),X=r(33,39),z=r(34,39),J=r(35,39),Z=r(36,39),tt=r(37,39),et=r(90,39),rt=r(40,49),ot=r(41,49),nt=r(42,49),it=r(43,49),st=r(44,49),at=r(45,49),ct=r(46,49),pt=r(47,49),lt=r(100,49),ht=r(91,39),ut=r(92,39),mt=r(93,39),dt=r(94,39),gt=r(95,39),ft=r(96,39),xt=r(97,39),bt=r(101,49),vt=r(102,49),St=r(103,49),yt=r(104,49),Pt=r(105,49),$t=r(106,49),Tt=r(107,49);var f=c.platform!=="win32"||!!c.env.WT_SESSION||c.env.TERM_PROGRAM==="vscode",wt=e=>!!(e.isTTY&&c.env.TERM!=="dumb"&&!("CI"in c.env)),Ct=p.blue(f?"\u2139":"i"),Bt=p.green(f?"\u2714":"\u221A"),Ot=p.yellow(f?"\u26A0":"\u203C"),It=p.red(f?"\u2716":"\xD7"),Et={frames:f?["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]:["-","\\","|","/"],interval:80},y=class{#p;#l;#n=-1;#i;#r;#t;#s;#h=0;#o;#e;#d=0;#u=!1;constructor(t={}){let o=t.spinner??Et;this.#p=o.frames,this.#l=o.interval,this.#r=t.text??"",this.#t=t.stream??c.stderr,this.#s=t.color??"cyan",this.#e=wt(this.#t),this.#o=this.#S.bind(this)}start(t){return t&&(this.#r=t),this.isSpinning?this:(this.#u=!0,this.#f(),this.#c(),this.#b(),this.#e&&(this.#i=setInterval(()=>{this.#c()},this.#l)),this)}stop(t){return this.isSpinning?(this.#u=!1,this.#i&&(clearInterval(this.#i),this.#i=void 0),this.#x(),this.clear(),this.#v(),t&&this.#t.write(`${t}
|
|
3
|
+
`),this):this}#a(t,o){return this.stop(`${t} ${o??this.#r}`)}success(t){return this.#a(Bt,t)}error(t){return this.#a(It,t)}warning(t){return this.#a(Ot,t)}info(t){return this.#a(Ct,t)}get isSpinning(){return this.#u}get text(){return this.#r}set text(t){this.#r=t??"",this.#c()}get color(){return this.#s}set color(t){this.#s=t,this.#c()}clear(){if(!this.#e)return this;this.#t.cursorTo(0);for(let t=0;t<this.#h;t++)t>0&&this.#t.moveCursor(0,-1),this.#t.clearLine(1);return this.#h=0,this}#c(){let t=Date.now();(this.#n===-1||t-this.#d>=this.#l)&&(this.#n=++this.#n%this.#p.length,this.#d=t);let o=p[this.#s]??p.cyan,s=this.#p[this.#n],a=`${o(s)} ${this.#r}`;this.#e||(a+=`
|
|
4
|
+
`),this.clear(),this.#m(a),this.#e&&(this.#h=this.#g(a))}#m(t){this.#t.write(t)}#g(t){let o=this.#t.columns??80,s=Rt(t).split(`
|
|
5
|
+
`),a=0;for(let i of s)a+=Math.max(1,Math.ceil(i.length/o));return a}#f(){this.#e&&this.#m("\x1B[?25l")}#x(){this.#e&&this.#m("\x1B[?25h")}#b(){c.once("SIGINT",this.#o),c.once("SIGTERM",this.#o)}#v(){c.off("SIGINT",this.#o),c.off("SIGTERM",this.#o)}#S(t){this.isSpinning&&this.stop();let o=t==="SIGINT"?130:t==="SIGTERM"?143:1;c.exit(o)}};function P(e){return new y(e)}var At=[{value:"h",label:"print http url"},{value:"t",label:"print tcp urls"},{value:"q",label:"quit"}],$=6;function B(e){let t=new C({debug:e?.debug,options:At,render:Mt,signal:e?.abortSignal});return{clearPrompt(){x.stdout.moveCursor(0,-$),x.stdout.cursorTo(0),x.stdout.clearScreenDown()},prompt:t,respond:async o=>{if(w(o)||o==="q")return await e?.onQuit?.();await e?.onOption?.[o]?.()}}}function Mt(){let e=`${this.options.map(t=>`${m("inverse",` ${t.value} `)} ${t.label}`).join(" ")}`;return R(e,{style:{borderColor:"blackBright",borderStyle:"solid"},title:" \u25B3 press a key \u25B3 "})}function ie(e){let t=P();return{renderContent:_t,renderIntro:()=>Lt(e,t),renderOutro:()=>Promise.resolve(Ut(e)),spinner:t}}async function _t(e){let{abortSignal:t,debug:o,isClosed:s,onQuit:a,server:i,spinner:l}=e;if(l.success(` Great Success! \u{1F609}\u{1F44D}
|
|
6
|
+
|
|
7
|
+
Your ${b} server ${n(i.name)} is ready and listening on ports ${Dt([new URL(i.http.url).port,new URL(i.database.connectionString).port,new URL(i.shadowDatabase.connectionString).port])}.`),!S){d.log(O(i)),d.log(I(i));return}for(;!s();){let{clearPrompt:g,prompt:u,respond:M}=B({abortSignal:t,debug:o,onOption:{h:()=>d.log(O(i)),t:()=>d.log(I(i))},onQuit:a}),G=await u.prompt();g(),t.aborted||await M(G)}}async function Lt(e,t){t.start(` Starting ${b} server ${n(e)}...${`
|
|
8
|
+
`.repeat($+3)}`),S&&await Gt(250)}function Ut(e){d.log(`\u{1F44B} Buh Bye!
|
|
9
|
+
|
|
10
|
+
Your ${b} server ${n(e)} has been closed successfully.
|
|
11
|
+
`)}function O(e){return`\u{1F50C} To connect to your local Prisma Postgres database via HTTP + Prisma ORM
|
|
12
|
+
use the following connection string:
|
|
13
|
+
|
|
14
|
+
${A("\u{1F4C4} .env:")}
|
|
15
|
+
|
|
16
|
+
${T("DATABASE_URL",Nt(e.ppg.url))}
|
|
17
|
+
|
|
18
|
+
\u2728 The ${n("api_key")} above does not contain any sensitive information.`}function I(e){return`\u{1F50C} To connect to your local Prisma Postgres database via TCP + Prisma ORM
|
|
19
|
+
use the following connection strings:
|
|
20
|
+
|
|
21
|
+
${A("\u{1F4C4} .env:")}
|
|
22
|
+
|
|
23
|
+
${T("DATABASE_URL",E(e.database.prismaORMConnectionString))}
|
|
24
|
+
|
|
25
|
+
${T("SHADOW_DATABASE_URL",E(e.shadowDatabase.prismaORMConnectionString))}
|
|
26
|
+
|
|
27
|
+
\u{1F418} You can also use the TCP ${n("DATABASE_URL")} with the ${n("pg")} or ${n("postgres.js")} JavaScript drivers!
|
|
28
|
+
|
|
29
|
+
Set the maximum number of connections to ${n(1)}, connect timeout to ${n(0)} and
|
|
30
|
+
idle timeout to the smallest positive value supported.`}function Dt(e){if(e.length===0)return"";let t=[...e].map(Number).sort();return t.length>1&&t.every((o,s)=>s===0||o===t[s-1]+1)?`${n(t[0])}-${n(t.at(-1))}`:e.map(n).join(", ")}function T(e,t){return`${n(e)}="${t}"`}function Nt(e){return e=new URL(e),`${v(e.protocol)}//${n(e.hostname)}:${n(e.port)}${h(e.pathname)}${h(e.search)}`}function E(e){return e=new URL(e),`${v(e.protocol)}${h(`//${e.username}:${e.password}@`)}${n(e.hostname)}${h(":")}${n(e.port)}${h(e.pathname)}${h(e.search)}`}function A(e){return m("italic",m("dim",m("green",`# ${e}`)))}export{ie as a,O as b,I as c,Dt as d};
|