chromatic
Version:
Automate visual testing across browsers. Gather UI feedback. Versioned documentation.
28 lines • 160 kB
JavaScript
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2875e2cb-95c4-51c2-ac5b-f704a6efe828")}catch(e){}}();
const e=require(`./chunk-gGpyby2o.cjs`);var t=e.t(((e,t)=>{t.exports=(e,t=process.argv)=>{let n=e.startsWith(`-`)?``:e.length===1?`-`:`--`,r=t.indexOf(n+e),i=t.indexOf(`--`);return r!==-1&&(i===-1||r<i)}})),n=e.t(((e,n)=>{let r=require(`os`),i=require(`tty`),a=t(),{env:o}=process,s;a(`no-color`)||a(`no-colors`)||a(`color=false`)||a(`color=never`)?s=0:(a(`color`)||a(`colors`)||a(`color=true`)||a(`color=always`))&&(s=1),`FORCE_COLOR`in o&&(s=o.FORCE_COLOR===`true`?1:o.FORCE_COLOR===`false`?0:o.FORCE_COLOR.length===0?1:Math.min(parseInt(o.FORCE_COLOR,10),3));function c(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(s===0)return 0;if(a(`color=16m`)||a(`color=full`)||a(`color=truecolor`))return 3;if(a(`color=256`))return 2;if(e&&!t&&s===void 0)return 0;let n=s||0;if(o.TERM===`dumb`)return n;if(process.platform===`win32`){let e=r.release().split(`.`);return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if(`CI`in o)return[`TRAVIS`,`CIRCLECI`,`APPVEYOR`,`GITLAB_CI`,`GITHUB_ACTIONS`,`BUILDKITE`].some(e=>e in o)||o.CI_NAME===`codeship`?1:n;if(`TEAMCITY_VERSION`in o)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION);if(o.COLORTERM===`truecolor`)return 3;if(`TERM_PROGRAM`in o){let e=parseInt((o.TERM_PROGRAM_VERSION||``).split(`.`)[0],10);switch(o.TERM_PROGRAM){case`iTerm.app`:return e>=3?3:2;case`Apple_Terminal`:return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||`COLORTERM`in o?1:n}function u(e){return c(l(e,e&&e.isTTY))}n.exports={supportsColor:u,stdout:c(l(!0,i.isatty(1))),stderr:c(l(!0,i.isatty(2)))}})),r=e.t(((e,t)=>{t.exports=require(`os`).homedir||function(){var e=process.env.HOME,t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform===`win32`?process.env.USERPROFILE||process.env.HOMEDRIVE&&process.env.HOMEPATH&&process.env.HOMEDRIVE+process.env.HOMEPATH||e||null:process.platform===`darwin`?e||(t?`/Users/`+t:null):process.platform===`linux`?e||(process.getuid()===0?`/root`:t?`/home/`+t:null):e||null}})),i=e.t(((e,t)=>{t.exports=Error})),a=e.t(((e,t)=>{var n=i();t.exports=function(){var e=n.prepareStackTrace;n.prepareStackTrace=function(e,t){return t};var t=new n().stack;return n.prepareStackTrace=e,t[2].getFileName()}})),o=e.t(((e,t)=>{var n=process.platform===`win32`,r=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,i={};function a(e){return r.exec(e).slice(1)}i.parse=function(e){if(typeof e!=`string`)throw TypeError(`Parameter 'pathString' must be a string, not `+typeof e);var t=a(e);if(!t||t.length!==5)throw TypeError(`Invalid path '`+e+`'`);return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var o=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,s={};function c(e){return o.exec(e).slice(1)}s.parse=function(e){if(typeof e!=`string`)throw TypeError(`Parameter 'pathString' must be a string, not `+typeof e);var t=c(e);if(!t||t.length!==5)throw TypeError(`Invalid path '`+e+`'`);return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}},n?t.exports=i.parse:t.exports=s.parse,t.exports.posix=s.parse,t.exports.win32=i.parse})),s=e.t(((e,t)=>{var n=require(`path`),r=n.parse||o(),i=/^([A-Za-z]:)/,a=/^\\\\/;function s(e,t){var o=`/`;i.test(e)?o=``:a.test(e)&&(o=`\\\\`);for(var s=[e],c=r(e);c.dir!==s[s.length-1];)s.push(c.dir),c=r(c.dir);return s.reduce(function(e,r){return e.concat(t.map(function(e){return n.resolve(o,r,e)}))},[])}t.exports=function(e,t,n){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):[`node_modules`];if(t&&typeof t.paths==`function`)return t.paths(n,e,function(){return s(e,r)},t);var i=s(e,r);return t&&t.paths?i.concat(t.paths):i}})),c=e.t(((e,t)=>{let n=require(`path`);t.exports=function(e,t){if(t||={},t.forceNodeResolution||!process.versions.pnp)return t;let{findPnpApi:r}=require(`module`),i=(e,t)=>{let i=e.match(/^((?:@[^/]+\/)?[^/]+)(\/.*)?/);if(!i)throw Error(`Assertion failed: Expected the "resolve" package to call the "paths" callback with package names only (got "${e}")`);t.charAt(t.length-1)!==`/`&&(t=n.join(t,`/`));let a=r(t);if(a===null)return;let o;try{o=a.resolveToUnqualified(`${i[1]}/package.json`,t,{considerBuiltins:!1})}catch{return null}if(o===null)throw Error(`Assertion failed: The resolution thinks that "${i[1]}" is a Node builtin`);let s=n.dirname(o);return{packagePath:s,unqualifiedPath:i[2]===void 0?s:n.join(s,i[2])}},a=(e,t)=>{for(let n=0;n<t.length;n++){let r=i(e,t[n]);if(r||n===t.length-1)return r}return null},o=Array.isArray(t.paths)?t.paths:[],s=(e,t,n,r)=>{let i=a(e,[t].concat(o));return i==null?n():[i.unqualifiedPath]},c=(e,t,r,i)=>{let s=a(e,[t].concat(o));if(s==null)return r().concat(o);let c=n.dirname(s.packagePath);return e.match(/^@[^/]+\//)&&(c=n.dirname(c)),[c]},l=!1;return t.__skipPackageIterator||(t.packageIterator=function(e,t,n,r){l=!0;try{return s(e,t,n,r)}finally{l=!1}}),t.paths=function(e,t,n,r){return l?n().concat(o):c(e,t,n,r)},t}})),l=e.t(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),u=e.t(((e,t)=>{var n=l();t.exports=Function.prototype.bind||n})),d=e.t(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=u().call(n,r)})),f=e.t(((e,t)=>{t.exports={assert:!0,"node:assert":[`>= 14.18 && < 15`,`>= 16`],"assert/strict":`>= 15`,"node:assert/strict":`>= 16`,async_hooks:`>= 8`,"node:async_hooks":[`>= 14.18 && < 15`,`>= 16`],buffer_ieee754:`>= 0.5 && < 0.9.7`,buffer:!0,"node:buffer":[`>= 14.18 && < 15`,`>= 16`],child_process:!0,"node:child_process":[`>= 14.18 && < 15`,`>= 16`],cluster:`>= 0.5`,"node:cluster":[`>= 14.18 && < 15`,`>= 16`],console:!0,"node:console":[`>= 14.18 && < 15`,`>= 16`],constants:!0,"node:constants":[`>= 14.18 && < 15`,`>= 16`],crypto:!0,"node:crypto":[`>= 14.18 && < 15`,`>= 16`],_debug_agent:`>= 1 && < 8`,_debugger:`< 8`,dgram:!0,"node:dgram":[`>= 14.18 && < 15`,`>= 16`],diagnostics_channel:[`>= 14.17 && < 15`,`>= 15.1`],"node:diagnostics_channel":[`>= 14.18 && < 15`,`>= 16`],dns:!0,"node:dns":[`>= 14.18 && < 15`,`>= 16`],"dns/promises":`>= 15`,"node:dns/promises":`>= 16`,domain:`>= 0.7.12`,"node:domain":[`>= 14.18 && < 15`,`>= 16`],events:!0,"node:events":[`>= 14.18 && < 15`,`>= 16`],freelist:`< 6`,fs:!0,"node:fs":[`>= 14.18 && < 15`,`>= 16`],"fs/promises":[`>= 10 && < 10.1`,`>= 14`],"node:fs/promises":[`>= 14.18 && < 15`,`>= 16`],_http_agent:`>= 0.11.1`,"node:_http_agent":[`>= 14.18 && < 15`,`>= 16`],_http_client:`>= 0.11.1`,"node:_http_client":[`>= 14.18 && < 15`,`>= 16`],_http_common:`>= 0.11.1`,"node:_http_common":[`>= 14.18 && < 15`,`>= 16`],_http_incoming:`>= 0.11.1`,"node:_http_incoming":[`>= 14.18 && < 15`,`>= 16`],_http_outgoing:`>= 0.11.1`,"node:_http_outgoing":[`>= 14.18 && < 15`,`>= 16`],_http_server:`>= 0.11.1`,"node:_http_server":[`>= 14.18 && < 15`,`>= 16`],http:!0,"node:http":[`>= 14.18 && < 15`,`>= 16`],http2:`>= 8.8`,"node:http2":[`>= 14.18 && < 15`,`>= 16`],https:!0,"node:https":[`>= 14.18 && < 15`,`>= 16`],inspector:`>= 8`,"node:inspector":[`>= 14.18 && < 15`,`>= 16`],"inspector/promises":[`>= 19`],"node:inspector/promises":[`>= 19`],_linklist:`< 8`,module:!0,"node:module":[`>= 14.18 && < 15`,`>= 16`],net:!0,"node:net":[`>= 14.18 && < 15`,`>= 16`],"node-inspect/lib/_inspect":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_client":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_repl":`>= 7.6 && < 12`,os:!0,"node:os":[`>= 14.18 && < 15`,`>= 16`],path:!0,"node:path":[`>= 14.18 && < 15`,`>= 16`],"path/posix":`>= 15.3`,"node:path/posix":`>= 16`,"path/win32":`>= 15.3`,"node:path/win32":`>= 16`,perf_hooks:`>= 8.5`,"node:perf_hooks":[`>= 14.18 && < 15`,`>= 16`],process:`>= 1`,"node:process":[`>= 14.18 && < 15`,`>= 16`],punycode:`>= 0.5`,"node:punycode":[`>= 14.18 && < 15`,`>= 16`],querystring:!0,"node:querystring":[`>= 14.18 && < 15`,`>= 16`],readline:!0,"node:readline":[`>= 14.18 && < 15`,`>= 16`],"readline/promises":`>= 17`,"node:readline/promises":`>= 17`,repl:!0,"node:repl":[`>= 14.18 && < 15`,`>= 16`],"node:sea":[`>= 20.12 && < 21`,`>= 21.7`],smalloc:`>= 0.11.5 && < 3`,"node:sqlite":[`>= 22.13 && < 23`,`>= 23.4`],_stream_duplex:`>= 0.9.4`,"node:_stream_duplex":[`>= 14.18 && < 15`,`>= 16`],_stream_transform:`>= 0.9.4`,"node:_stream_transform":[`>= 14.18 && < 15`,`>= 16`],_stream_wrap:`>= 1.4.1`,"node:_stream_wrap":[`>= 14.18 && < 15`,`>= 16`],_stream_passthrough:`>= 0.9.4`,"node:_stream_passthrough":[`>= 14.18 && < 15`,`>= 16`],_stream_readable:`>= 0.9.4`,"node:_stream_readable":[`>= 14.18 && < 15`,`>= 16`],_stream_writable:`>= 0.9.4`,"node:_stream_writable":[`>= 14.18 && < 15`,`>= 16`],stream:!0,"node:stream":[`>= 14.18 && < 15`,`>= 16`],"stream/consumers":`>= 16.7`,"node:stream/consumers":`>= 16.7`,"stream/promises":`>= 15`,"node:stream/promises":`>= 16`,"stream/web":`>= 16.5`,"node:stream/web":`>= 16.5`,string_decoder:!0,"node:string_decoder":[`>= 14.18 && < 15`,`>= 16`],sys:[`>= 0.4 && < 0.7`,`>= 0.8`],"node:sys":[`>= 14.18 && < 15`,`>= 16`],"test/reporters":`>= 19.9 && < 20.2`,"node:test/reporters":[`>= 18.17 && < 19`,`>= 19.9`,`>= 20`],"test/mock_loader":`>= 22.3 && < 22.7`,"node:test/mock_loader":`>= 22.3 && < 22.7`,"node:test":[`>= 16.17 && < 17`,`>= 18`],timers:!0,"node:timers":[`>= 14.18 && < 15`,`>= 16`],"timers/promises":`>= 15`,"node:timers/promises":`>= 16`,_tls_common:`>= 0.11.13`,"node:_tls_common":[`>= 14.18 && < 15`,`>= 16`],_tls_legacy:`>= 0.11.3 && < 10`,_tls_wrap:`>= 0.11.3`,"node:_tls_wrap":[`>= 14.18 && < 15`,`>= 16`],tls:!0,"node:tls":[`>= 14.18 && < 15`,`>= 16`],trace_events:`>= 10`,"node:trace_events":[`>= 14.18 && < 15`,`>= 16`],tty:!0,"node:tty":[`>= 14.18 && < 15`,`>= 16`],url:!0,"node:url":[`>= 14.18 && < 15`,`>= 16`],util:!0,"node:util":[`>= 14.18 && < 15`,`>= 16`],"util/types":`>= 15.3`,"node:util/types":`>= 16`,"v8/tools/arguments":`>= 10 && < 12`,"v8/tools/codemap":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/consarray":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/csvparser":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/logreader":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/profile_view":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/splaytree":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],v8:`>= 1`,"node:v8":[`>= 14.18 && < 15`,`>= 16`],vm:!0,"node:vm":[`>= 14.18 && < 15`,`>= 16`],wasi:[`>= 13.4 && < 13.5`,`>= 18.17 && < 19`,`>= 20`],"node:wasi":[`>= 18.17 && < 19`,`>= 20`],worker_threads:`>= 11.7`,"node:worker_threads":[`>= 14.18 && < 15`,`>= 16`],zlib:`>= 0.5`,"node:zlib":[`>= 14.18 && < 15`,`>= 16`]}})),p=e.t(((e,t)=>{var n=d();function r(e,t){for(var n=e.split(`.`),r=t.split(` `),i=r.length>1?r[0]:`=`,a=(r.length>1?r[1]:r[0]).split(`.`),o=0;o<3;++o){var s=parseInt(n[o]||0,10),c=parseInt(a[o]||0,10);if(s!==c)return i===`<`?s<c:i===`>=`?s>=c:!1}return i===`>=`}function i(e,t){var n=t.split(/ ?&& ?/);if(n.length===0)return!1;for(var i=0;i<n.length;++i)if(!r(e,n[i]))return!1;return!0}function a(e,t){if(typeof t==`boolean`)return t;var n=e===void 0?process.versions&&process.versions.node:e;if(typeof n!=`string`)throw TypeError(e===void 0?`Unable to determine current node version`:`If provided, a valid node version is required`);if(t&&typeof t==`object`){for(var r=0;r<t.length;++r)if(i(n,t[r]))return!0;return!1}return i(n,t)}var o=f();t.exports=function(e,t){return n(o,e)&&a(t,o[e])}})),m=e.t(((e,t)=>{t.exports=TypeError})),h=e.t(((e,t)=>{var n=require(`fs`),o=r(),l=require(`path`),u=a(),d=s(),f=c(),h=p(),g=i(),_=m(),v=process.platform!==`win32`&&n.realpath&&typeof n.realpath.native==`function`?n.realpath.native:n.realpath,y=/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/,b=/^\w:[/\\]*$/,x=/[/\\]node_modules[/\\]*$/,S=o();function C(){return S?[l.join(S,`.node_modules`),l.join(S,`.node_libraries`)]:[]}var w=function(e,t){n.stat(e,function(e,n){return e?e.code===`ENOENT`||e.code===`ENOTDIR`?t(null,!1):t(e):t(null,n.isFile()||n.isFIFO())})},T=function(e,t){n.stat(e,function(e,n){return e?e.code===`ENOENT`||e.code===`ENOTDIR`?t(null,!1):t(e):t(null,n.isDirectory())})},E=function(e,t){v(e,function(n,r){n&&n.code!==`ENOENT`?t(n):t(null,n?e:r)})};function D(e,t,n,r){n&&n.preserveSymlinks===!1?e(t,r):r(null,t)}function O(e,t,n){e(t,function(e,t){if(e)n(e);else try{n(null,JSON.parse(t))}catch{n(null)}})}function k(e,t,n){for(var r=d(t,n,e),i=0;i<r.length;i++)r[i]=l.join(r[i],e);return r}t.exports=function(e,t,r){var i=r,a=t;if(typeof t==`function`&&(i=a,a={}),typeof e!=`string`){var o=new _(`Path must be a string.`);return process.nextTick(function(){i(o)})}a=f(e,a);var s=a.isFile||w,c=a.isDirectory||T,d=a.readFile||n.readFile,p=a.realpath||E,m=a.readPackage||O;if(a.readFile&&a.readPackage){var v=new _("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){i(v)})}var S=a.packageIterator,A=a.extensions||[`.js`],j=a.includeCoreModules!==!1,M=a.basedir||l.dirname(u()),N=a.filename||M;a.paths=a.paths||C(),D(p,l.resolve(M),a,function(e,t){e?i(e):F(t)});var P;function F(t){if(y.test(e))P=l.resolve(t,e),(e===`.`||e===`..`||e.slice(-1)===`/`)&&(P+=`/`),e.slice(-1)===`/`&&P===t?z(P,a.package,I):L(P,a.package,I);else if(j&&h(e))return i(null,e);else V(e,t,function(t,n,r){if(t)i(t);else if(n)return D(p,n,a,function(e,t){e?i(e):i(null,t,r)});else{var o=new g(`Cannot find module '`+e+`' from '`+N+`'`);o.code=`MODULE_NOT_FOUND`,i(o)}})}function I(t,n,r){t?i(t):n?i(null,n,r):z(P,function(t,n,r){if(t)i(t);else if(n)D(p,n,a,function(e,t){e?i(e):i(null,t,r)});else{var o=new g(`Cannot find module '`+e+`' from '`+N+`'`);o.code=`MODULE_NOT_FOUND`,i(o)}})}function L(e,t,n){var r=t,i=n;typeof r==`function`&&(i=r,r=void 0),o([``].concat(A),e,r);function o(e,t,n){if(e.length===0)return i(null,void 0,n);var r=t+e[0],c=n;c?u(null,c):R(l.dirname(r),u);function u(n,u,f){if(c=u,n)return i(n);if(f&&c&&a.pathFilter){var p=l.relative(f,r),m=p.slice(0,p.length-e[0].length),h=a.pathFilter(c,t,m);if(h)return o([``].concat(A),l.resolve(f,h),c)}s(r,d)}function d(n,a){if(n)return i(n);if(a)return i(null,r,c);o(e.slice(1),t,c)}}}function R(e,t){if(e===``||e===`/`||process.platform===`win32`&&b.test(e)||x.test(e))return t(null);D(p,e,a,function(n,r){if(n)return R(l.dirname(e),t);var i=l.join(r,`package.json`);s(i,function(n,r){if(!r)return R(l.dirname(e),t);m(d,i,function(n,r){if(n)return t(n);var o=r;o&&a.packageFilter&&(o=a.packageFilter(o,i)),t(null,o,e)})})})}function z(e,t,n){var r=n,i=t;typeof i==`function`&&(r=i,i=a.package),D(p,e,a,function(t,n){if(t)return r(t);var o=l.join(n,`package.json`);s(o,function(t,n){if(t)return r(t);if(!n)return L(l.join(e,`index`),i,r);m(d,o,function(t,n){if(t)return r(t);var i=n;if(i&&a.packageFilter&&(i=a.packageFilter(i,o)),i&&i.main){if(typeof i.main!=`string`){var s=new _(`package “`+i.name+"” `main` must be a string");return s.code=`INVALID_PACKAGE_MAIN`,r(s)}(i.main===`.`||i.main===`./`)&&(i.main=`index`),L(l.resolve(e,i.main),i,function(t,n,i){if(t)return r(t);if(n)return r(null,n,i);if(!i)return L(l.join(e,`index`),i,r);z(l.resolve(e,i.main),i,function(t,n,i){if(t)return r(t);if(n)return r(null,n,i);L(l.join(e,`index`),i,r)})});return}L(l.join(e,`/index`),i,r)})})})}function B(e,t){if(t.length===0)return e(null,void 0);var n=t[0];c(l.dirname(n),r);function r(r,o){if(r)return e(r);if(!o)return B(e,t.slice(1));L(n,a.package,i)}function i(t,r,i){if(t)return e(t);if(r)return e(null,r,i);z(n,a.package,o)}function o(n,r,i){if(n)return e(n);if(r)return e(null,r,i);B(e,t.slice(1))}}function V(e,t,n){var r=function(){return k(e,t,a)};B(n,S?S(e,t,r,a):r())}}})),g=e.t(((e,t)=>{t.exports={assert:!0,"node:assert":[`>= 14.18 && < 15`,`>= 16`],"assert/strict":`>= 15`,"node:assert/strict":`>= 16`,async_hooks:`>= 8`,"node:async_hooks":[`>= 14.18 && < 15`,`>= 16`],buffer_ieee754:`>= 0.5 && < 0.9.7`,buffer:!0,"node:buffer":[`>= 14.18 && < 15`,`>= 16`],child_process:!0,"node:child_process":[`>= 14.18 && < 15`,`>= 16`],cluster:`>= 0.5`,"node:cluster":[`>= 14.18 && < 15`,`>= 16`],console:!0,"node:console":[`>= 14.18 && < 15`,`>= 16`],constants:!0,"node:constants":[`>= 14.18 && < 15`,`>= 16`],crypto:!0,"node:crypto":[`>= 14.18 && < 15`,`>= 16`],_debug_agent:`>= 1 && < 8`,_debugger:`< 8`,dgram:!0,"node:dgram":[`>= 14.18 && < 15`,`>= 16`],diagnostics_channel:[`>= 14.17 && < 15`,`>= 15.1`],"node:diagnostics_channel":[`>= 14.18 && < 15`,`>= 16`],dns:!0,"node:dns":[`>= 14.18 && < 15`,`>= 16`],"dns/promises":`>= 15`,"node:dns/promises":`>= 16`,domain:`>= 0.7.12`,"node:domain":[`>= 14.18 && < 15`,`>= 16`],events:!0,"node:events":[`>= 14.18 && < 15`,`>= 16`],freelist:`< 6`,fs:!0,"node:fs":[`>= 14.18 && < 15`,`>= 16`],"fs/promises":[`>= 10 && < 10.1`,`>= 14`],"node:fs/promises":[`>= 14.18 && < 15`,`>= 16`],_http_agent:`>= 0.11.1`,"node:_http_agent":[`>= 14.18 && < 15`,`>= 16`],_http_client:`>= 0.11.1`,"node:_http_client":[`>= 14.18 && < 15`,`>= 16`],_http_common:`>= 0.11.1`,"node:_http_common":[`>= 14.18 && < 15`,`>= 16`],_http_incoming:`>= 0.11.1`,"node:_http_incoming":[`>= 14.18 && < 15`,`>= 16`],_http_outgoing:`>= 0.11.1`,"node:_http_outgoing":[`>= 14.18 && < 15`,`>= 16`],_http_server:`>= 0.11.1`,"node:_http_server":[`>= 14.18 && < 15`,`>= 16`],http:!0,"node:http":[`>= 14.18 && < 15`,`>= 16`],http2:`>= 8.8`,"node:http2":[`>= 14.18 && < 15`,`>= 16`],https:!0,"node:https":[`>= 14.18 && < 15`,`>= 16`],inspector:`>= 8`,"node:inspector":[`>= 14.18 && < 15`,`>= 16`],"inspector/promises":[`>= 19`],"node:inspector/promises":[`>= 19`],_linklist:`< 8`,module:!0,"node:module":[`>= 14.18 && < 15`,`>= 16`],net:!0,"node:net":[`>= 14.18 && < 15`,`>= 16`],"node-inspect/lib/_inspect":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_client":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_repl":`>= 7.6 && < 12`,os:!0,"node:os":[`>= 14.18 && < 15`,`>= 16`],path:!0,"node:path":[`>= 14.18 && < 15`,`>= 16`],"path/posix":`>= 15.3`,"node:path/posix":`>= 16`,"path/win32":`>= 15.3`,"node:path/win32":`>= 16`,perf_hooks:`>= 8.5`,"node:perf_hooks":[`>= 14.18 && < 15`,`>= 16`],process:`>= 1`,"node:process":[`>= 14.18 && < 15`,`>= 16`],punycode:`>= 0.5`,"node:punycode":[`>= 14.18 && < 15`,`>= 16`],querystring:!0,"node:querystring":[`>= 14.18 && < 15`,`>= 16`],readline:!0,"node:readline":[`>= 14.18 && < 15`,`>= 16`],"readline/promises":`>= 17`,"node:readline/promises":`>= 17`,repl:!0,"node:repl":[`>= 14.18 && < 15`,`>= 16`],"node:sea":[`>= 20.12 && < 21`,`>= 21.7`],smalloc:`>= 0.11.5 && < 3`,"node:sqlite":[`>= 22.13 && < 23`,`>= 23.4`],_stream_duplex:`>= 0.9.4`,"node:_stream_duplex":[`>= 14.18 && < 15`,`>= 16`],_stream_transform:`>= 0.9.4`,"node:_stream_transform":[`>= 14.18 && < 15`,`>= 16`],_stream_wrap:`>= 1.4.1`,"node:_stream_wrap":[`>= 14.18 && < 15`,`>= 16`],_stream_passthrough:`>= 0.9.4`,"node:_stream_passthrough":[`>= 14.18 && < 15`,`>= 16`],_stream_readable:`>= 0.9.4`,"node:_stream_readable":[`>= 14.18 && < 15`,`>= 16`],_stream_writable:`>= 0.9.4`,"node:_stream_writable":[`>= 14.18 && < 15`,`>= 16`],stream:!0,"node:stream":[`>= 14.18 && < 15`,`>= 16`],"stream/consumers":`>= 16.7`,"node:stream/consumers":`>= 16.7`,"stream/promises":`>= 15`,"node:stream/promises":`>= 16`,"stream/web":`>= 16.5`,"node:stream/web":`>= 16.5`,string_decoder:!0,"node:string_decoder":[`>= 14.18 && < 15`,`>= 16`],sys:[`>= 0.4 && < 0.7`,`>= 0.8`],"node:sys":[`>= 14.18 && < 15`,`>= 16`],"test/reporters":`>= 19.9 && < 20.2`,"node:test/reporters":[`>= 18.17 && < 19`,`>= 19.9`,`>= 20`],"test/mock_loader":`>= 22.3 && < 22.7`,"node:test/mock_loader":`>= 22.3 && < 22.7`,"node:test":[`>= 16.17 && < 17`,`>= 18`],timers:!0,"node:timers":[`>= 14.18 && < 15`,`>= 16`],"timers/promises":`>= 15`,"node:timers/promises":`>= 16`,_tls_common:`>= 0.11.13`,"node:_tls_common":[`>= 14.18 && < 15`,`>= 16`],_tls_legacy:`>= 0.11.3 && < 10`,_tls_wrap:`>= 0.11.3`,"node:_tls_wrap":[`>= 14.18 && < 15`,`>= 16`],tls:!0,"node:tls":[`>= 14.18 && < 15`,`>= 16`],trace_events:`>= 10`,"node:trace_events":[`>= 14.18 && < 15`,`>= 16`],tty:!0,"node:tty":[`>= 14.18 && < 15`,`>= 16`],url:!0,"node:url":[`>= 14.18 && < 15`,`>= 16`],util:!0,"node:util":[`>= 14.18 && < 15`,`>= 16`],"util/types":`>= 15.3`,"node:util/types":`>= 16`,"v8/tools/arguments":`>= 10 && < 12`,"v8/tools/codemap":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/consarray":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/csvparser":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/logreader":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/profile_view":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/splaytree":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],v8:`>= 1`,"node:v8":[`>= 14.18 && < 15`,`>= 16`],vm:!0,"node:vm":[`>= 14.18 && < 15`,`>= 16`],wasi:[`>= 13.4 && < 13.5`,`>= 18.17 && < 19`,`>= 20`],"node:wasi":[`>= 18.17 && < 19`,`>= 20`],worker_threads:`>= 11.7`,"node:worker_threads":[`>= 14.18 && < 15`,`>= 16`],zlib:`>= 0.5`,"node:zlib":[`>= 14.18 && < 15`,`>= 16`]}})),_=e.t(((e,t)=>{var n=p(),r=g(),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=n(a));t.exports=i})),v=e.t(((e,t)=>{var n=p();t.exports=function(e){return n(e)}})),y=e.t(((e,t)=>{var n=p(),o=require(`fs`),l=require(`path`),u=i(),d=m(),f=r(),h=a(),g=s(),_=c(),v=process.platform!==`win32`&&o.realpathSync&&typeof o.realpathSync.native==`function`?o.realpathSync.native:o.realpathSync,y=/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/,b=/^\w:[/\\]*$/,x=/[/\\]node_modules[/\\]*$/,S=f();function C(){return S?[l.join(S,`.node_modules`),l.join(S,`.node_libraries`)]:[]}var w=function(e){try{var t=o.statSync(e,{throwIfNoEntry:!1})}catch(e){if(e&&(e.code===`ENOENT`||e.code===`ENOTDIR`))return!1;throw e}return!!t&&(t.isFile()||t.isFIFO())},T=function(e){try{var t=o.statSync(e,{throwIfNoEntry:!1})}catch(e){if(e&&(e.code===`ENOENT`||e.code===`ENOTDIR`))return!1;throw e}return!!t&&t.isDirectory()},E=function(e){try{return v(e)}catch(e){if(e.code!==`ENOENT`)throw e}return e};function D(e,t,n){return n&&n.preserveSymlinks===!1?e(t):t}function O(e,t){var n=e(t);try{return JSON.parse(n)}catch{}}function k(e,t,n){for(var r=g(t,n,e),i=0;i<r.length;i++)r[i]=l.join(r[i],e);return r}t.exports=function(e,t){if(typeof e!=`string`)throw new d(`Path must be a string.`);var r=_(e,t),i=r.isFile||w,a=r.readFileSync||o.readFileSync,s=r.isDirectory||T,c=r.realpathSync||E,f=r.readPackageSync||O;if(r.readFileSync&&r.readPackageSync)throw new d("`readFileSync` and `readPackageSync` are mutually exclusive.");var p=r.packageIterator,m=r.extensions||[`.js`],g=r.includeCoreModules!==!1,v=r.basedir||l.dirname(h()),S=r.filename||v;r.paths=r.paths||C();var A=D(c,l.resolve(v),r);if(y.test(e)){var j=l.resolve(A,e);(e===`.`||e===`..`||e.slice(-1)===`/`)&&(j+=`/`);var M=F(j)||L(j);if(M)return D(c,M,r)}else if(g&&n(e))return e;else{var N=R(e,A);if(N)return D(c,N,r)}var P=new u(`Cannot find module '`+e+`' from '`+S+`'`);throw P.code=`MODULE_NOT_FOUND`,P;function F(e){var t=I(l.dirname(e));if(t&&t.dir&&t.pkg&&r.pathFilter){var n=l.relative(t.dir,e),a=r.pathFilter(t.pkg,e,n);a&&(e=l.resolve(t.dir,a))}if(i(e))return e;for(var o=0;o<m.length;o++){var s=e+m[o];if(i(s))return s}}function I(e){if(!(e===``||e===`/`)&&!(process.platform===`win32`&&b.test(e))&&!x.test(e)){var t=l.join(D(c,e,r),`package.json`);if(!i(t))return I(l.dirname(e));var n=f(a,t);return n&&r.packageFilter&&(n=r.packageFilter(n,e)),{pkg:n,dir:e}}}function L(e){var t=l.join(D(c,e,r),`/package.json`);if(i(t)){try{var n=f(a,t)}catch{}if(n&&r.packageFilter&&(n=r.packageFilter(n,e)),n&&n.main){if(typeof n.main!=`string`){var o=new d(`package “`+n.name+"” `main` must be a string");throw o.code=`INVALID_PACKAGE_MAIN`,o}(n.main===`.`||n.main===`./`)&&(n.main=`index`);try{var s=F(l.resolve(e,n.main));if(s)return s;var u=L(l.resolve(e,n.main));if(u)return u}catch{}}}return F(l.join(e,`/index`))}function R(e,t){for(var n=function(){return k(e,t,r)},i=p?p(e,t,n,r):n(),a=0;a<i.length;a++){var o=i[a];if(s(l.dirname(o))){var c=F(o);if(c)return c;var u=L(o);if(u)return u}}}}})),b=e.t(((e,t)=>{var n=h();n.core=_(),n.isCore=v(),n.sync=y(),t.exports=n})),x=e.t(((e,t)=>{let n=process||{},r=n.argv||[],i=n.env||{},a=!(i.NO_COLOR||r.includes(`--no-color`))&&(!!i.FORCE_COLOR||r.includes(`--color`)||n.platform===`win32`||(n.stdout||{}).isTTY&&i.TERM!==`dumb`||!!i.CI),o=(e,t,n=e)=>r=>{let i=``+r,a=i.indexOf(t,e.length);return~a?e+s(i,t,n,a)+t:e+i+t},s=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},c=(e=a)=>{let t=e?o:()=>String;return{isColorSupported:e,reset:t(`\x1B[0m`,`\x1B[0m`),bold:t(`\x1B[1m`,`\x1B[22m`,`\x1B[22m\x1B[1m`),dim:t(`\x1B[2m`,`\x1B[22m`,`\x1B[22m\x1B[2m`),italic:t(`\x1B[3m`,`\x1B[23m`),underline:t(`\x1B[4m`,`\x1B[24m`),inverse:t(`\x1B[7m`,`\x1B[27m`),hidden:t(`\x1B[8m`,`\x1B[28m`),strikethrough:t(`\x1B[9m`,`\x1B[29m`),black:t(`\x1B[30m`,`\x1B[39m`),red:t(`\x1B[31m`,`\x1B[39m`),green:t(`\x1B[32m`,`\x1B[39m`),yellow:t(`\x1B[33m`,`\x1B[39m`),blue:t(`\x1B[34m`,`\x1B[39m`),magenta:t(`\x1B[35m`,`\x1B[39m`),cyan:t(`\x1B[36m`,`\x1B[39m`),white:t(`\x1B[37m`,`\x1B[39m`),gray:t(`\x1B[90m`,`\x1B[39m`),bgBlack:t(`\x1B[40m`,`\x1B[49m`),bgRed:t(`\x1B[41m`,`\x1B[49m`),bgGreen:t(`\x1B[42m`,`\x1B[49m`),bgYellow:t(`\x1B[43m`,`\x1B[49m`),bgBlue:t(`\x1B[44m`,`\x1B[49m`),bgMagenta:t(`\x1B[45m`,`\x1B[49m`),bgCyan:t(`\x1B[46m`,`\x1B[49m`),bgWhite:t(`\x1B[47m`,`\x1B[49m`),blackBright:t(`\x1B[90m`,`\x1B[39m`),redBright:t(`\x1B[91m`,`\x1B[39m`),greenBright:t(`\x1B[92m`,`\x1B[39m`),yellowBright:t(`\x1B[93m`,`\x1B[39m`),blueBright:t(`\x1B[94m`,`\x1B[39m`),magentaBright:t(`\x1B[95m`,`\x1B[39m`),cyanBright:t(`\x1B[96m`,`\x1B[39m`),whiteBright:t(`\x1B[97m`,`\x1B[39m`),bgBlackBright:t(`\x1B[100m`,`\x1B[49m`),bgRedBright:t(`\x1B[101m`,`\x1B[49m`),bgGreenBright:t(`\x1B[102m`,`\x1B[49m`),bgYellowBright:t(`\x1B[103m`,`\x1B[49m`),bgBlueBright:t(`\x1B[104m`,`\x1B[49m`),bgMagentaBright:t(`\x1B[105m`,`\x1B[49m`),bgCyanBright:t(`\x1B[106m`,`\x1B[49m`),bgWhiteBright:t(`\x1B[107m`,`\x1B[49m`)}};t.exports=c(),t.exports.createColors=c})),S=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,e.matchToToken=function(e){var t={type:`invalid`,value:e[0],closed:void 0};return e[1]?(t.type=`string`,t.closed=!!(e[3]||e[4])):e[5]?t.type=`comment`:e[6]?(t.type=`comment`,t.closed=!!e[7]):e[8]?t.type=`regex`:e[9]?t.type=`number`:e[10]?t.type=`name`:e[11]?t.type=`punctuator`:e[12]&&(t.type=`whitespace`),t}})),C=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isIdentifierChar=l,e.isIdentifierName=u,e.isIdentifierStart=c;let t=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,n=`·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・`,r=RegExp(`[`+t+`]`),i=RegExp(`[`+t+n+`]`);t=n=null;let a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function s(e,t){let n=65536;for(let r=0,i=t.length;r<i;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function c(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&r.test(String.fromCharCode(e)):s(e,a)}function l(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&i.test(String.fromCharCode(e)):s(e,a)||s(e,o)}function u(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if((r&64512)==55296&&n+1<e.length){let t=e.charCodeAt(++n);(t&64512)==56320&&(r=65536+((r&1023)<<10)+(t&1023))}if(t){if(t=!1,!c(r))return!1}else if(!l(r))return!1}return!t}})),w=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isKeyword=l,e.isReservedWord=a,e.isStrictBindOnlyReservedWord=s,e.isStrictBindReservedWord=c,e.isStrictReservedWord=o;let t={keyword:`break.case.catch.continue.debugger.default.do.else.finally.for.function.if.return.switch.throw.try.var.const.while.with.new.this.super.class.extends.export.import.null.true.false.in.instanceof.typeof.void.delete`.split(`.`),strict:[`implements`,`interface`,`let`,`package`,`private`,`protected`,`public`,`static`,`yield`],strictBind:[`eval`,`arguments`]},n=new Set(t.keyword),r=new Set(t.strict),i=new Set(t.strictBind);function a(e,t){return t&&e===`await`||e===`enum`}function o(e,t){return a(e,t)||r.has(e)}function s(e){return i.has(e)}function c(e,t){return o(e,t)||s(e)}function l(e){return n.has(e)}})),T=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.defineProperty(e,`isIdentifierChar`,{enumerable:!0,get:function(){return t.isIdentifierChar}}),Object.defineProperty(e,`isIdentifierName`,{enumerable:!0,get:function(){return t.isIdentifierName}}),Object.defineProperty(e,`isIdentifierStart`,{enumerable:!0,get:function(){return t.isIdentifierStart}}),Object.defineProperty(e,`isKeyword`,{enumerable:!0,get:function(){return n.isKeyword}}),Object.defineProperty(e,`isReservedWord`,{enumerable:!0,get:function(){return n.isReservedWord}}),Object.defineProperty(e,`isStrictBindOnlyReservedWord`,{enumerable:!0,get:function(){return n.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,`isStrictBindReservedWord`,{enumerable:!0,get:function(){return n.isStrictBindReservedWord}}),Object.defineProperty(e,`isStrictReservedWord`,{enumerable:!0,get:function(){return n.isStrictReservedWord}});var t=C(),n=w()})),E=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=x(),n=S(),r=T();function i(){return typeof process==`object`&&(process.env.FORCE_COLOR===`0`||process.env.FORCE_COLOR===`false`)?!1:t.isColorSupported}let a=(e,t)=>n=>e(t(n));function o(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:a(a(e.white,e.bgRed),e.bold),gutter:e.gray,marker:a(e.red,e.bold),message:a(e.red,e.bold),reset:e.reset}}let s=o(t.createColors(!0)),c=o(t.createColors(!1));function l(e){return e?s:c}let u=new Set([`as`,`async`,`from`,`get`,`of`,`set`]),d=/\r\n|[\n\r\u2028\u2029]/,f=/^[()[\]{}]$/,p,m=/^[a-z][\w-]*$/i,h=function(e,t,n){if(e.type===`name`){let i=e.value;if(r.isKeyword(i)||r.isStrictReservedWord(i,!0)||u.has(i))return`keyword`;if(m.test(i)&&(n[t-1]===`<`||n.slice(t-2,t)===`</`))return`jsxIdentifier`;let a=String.fromCodePoint(i.codePointAt(0));if(a!==a.toLowerCase())return`capitalized`}return e.type===`punctuator`&&f.test(e.value)?`bracket`:e.type===`invalid`&&(e.value===`@`||e.value===`#`)?`punctuator`:e.type};p=function*(e){let t;for(;t=n.default.exec(e);){let r=n.matchToToken(t);yield{type:h(r,t.index,e),value:r.value}}};function g(e){if(e===``)return``;let t=l(!0),n=``;for(let{type:r,value:i}of p(e))r in t?n+=i.split(d).map(e=>t[r](e)).join(`
`):n+=i;return n}let _=!1,v=/\r\n|[\n\r\u2028\u2029]/;function y(e,t,n,r){let i=Object.assign({column:0,line:-1},e.start),a=Object.assign({},i,e.end),{linesAbove:o=2,linesBelow:s=3}=n||{},c=i.line-r,l=i.column,u=a.line-r,d=a.column,f=Math.max(c-(o+1),0),p=Math.min(t.length,u+s);c===-1&&(f=0),u===-1&&(p=t.length);let m=u-c,h={};if(m)for(let e=0;e<=m;e++){let n=e+c;l?e===0?h[n]=[l,t[n-1].length-l+1]:e===m?h[n]=[0,d]:h[n]=[0,t[n-e].length]:h[n]=!0}else l===d?l?h[c]=[l,0]:h[c]=!0:h[c]=[l,d-l];return{start:f,end:p,markerLines:h}}function b(e,t,n={}){let r=n.forceColor||i()&&n.highlightCode,a=(n.startLine||1)-1,o=l(r),{start:s,end:c,markerLines:u}=y(t,e.split(v),n,a),d=t.start&&typeof t.start.column==`number`,f=String(c+a).length,p=(r?g(e):e).split(v,c).slice(s,c).map((e,t)=>{let r=s+1+t,i=` ${` ${r+a}`.slice(-f)} |`,c=u[r],l=!u[r+1];if(c){let t=``;if(Array.isArray(c)){let r=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g,` `),a=c[1]||1;t=[`
`,o.gutter(i.replace(/\d/g,` `)),` `,r,o.marker(`^`).repeat(a)].join(``),l&&n.message&&(t+=` `+o.message(n.message))}return[o.marker(`>`),o.gutter(i),e.length>0?` ${e}`:``,t].join(``)}else return` ${o.gutter(i)}${e.length>0?` ${e}`:``}`}).join(`
`);return n.message&&!d&&(p=`${` `.repeat(f+1)}${n.message}\n${p}`),r?o.reset(p):p}function C(e,t,n,r={}){if(!_){_=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(e,`DeprecationWarning`);else{let t=Error(e);t.name=`DeprecationWarning`,console.warn(Error(e))}}return n=Math.max(n,0),b(e,{start:{column:n,line:t}},r)}e.codeFrameColumns=b,e.default=C,e.highlight=g})),D=e.t(((e,t)=>{t.exports=`0BSD,3D-Slicer-1.0,AAL,ADSL,AFL-1.1,AFL-1.2,AFL-2.0,AFL-2.1,AFL-3.0,AGPL-1.0-only,AGPL-1.0-or-later,AGPL-3.0-only,AGPL-3.0-or-later,ALGLIB-Documentation,AMD-newlib,AMDPLPA,AML,AML-glslang,AMPAS,ANTLR-PD,ANTLR-PD-fallback,APAFML,APL-1.0,APSL-1.0,APSL-1.1,APSL-1.2,APSL-2.0,ASWF-Digital-Assets-1.0,ASWF-Digital-Assets-1.1,Abstyles,AdaCore-doc,Adobe-2006,Adobe-Display-PostScript,Adobe-Glyph,Adobe-Utopia,Advanced-Cryptics-Dictionary,Afmparse,Aladdin,Apache-1.0,Apache-1.1,Apache-2.0,App-s2p,Arphic-1999,Artistic-1.0,Artistic-1.0-Perl,Artistic-1.0-cl8,Artistic-2.0,Artistic-dist,Aspell-RU,BOLA-1.1,BSD-1-Clause,BSD-2-Clause,BSD-2-Clause-Darwin,BSD-2-Clause-Patent,BSD-2-Clause-Views,BSD-2-Clause-first-lines,BSD-2-Clause-pkgconf-disclaimer,BSD-3-Clause,BSD-3-Clause-Attribution,BSD-3-Clause-Clear,BSD-3-Clause-HP,BSD-3-Clause-LBNL,BSD-3-Clause-Modification,BSD-3-Clause-No-Military-License,BSD-3-Clause-No-Nuclear-License,BSD-3-Clause-No-Nuclear-License-2014,BSD-3-Clause-No-Nuclear-Warranty,BSD-3-Clause-Open-MPI,BSD-3-Clause-Sun,BSD-3-Clause-Tso,BSD-3-Clause-acpica,BSD-3-Clause-flex,BSD-4-Clause,BSD-4-Clause-Shortened,BSD-4-Clause-UC,BSD-4.3RENO,BSD-4.3TAHOE,BSD-Advertising-Acknowledgement,BSD-Attribution-HPND-disclaimer,BSD-Inferno-Nettverk,BSD-Mark-Modifications,BSD-Protection,BSD-Source-Code,BSD-Source-beginning-file,BSD-Systemics,BSD-Systemics-W3Works,BSL-1.0,BUSL-1.1,Baekmuk,Bahyph,Barr,Beerware,BitTorrent-1.0,BitTorrent-1.1,Bitstream-Charter,Bitstream-Vera,BlueOak-1.0.0,Boehm-GC,Boehm-GC-without-fee,Borceux,Brian-Gladman-2-Clause,Brian-Gladman-3-Clause,Buddy,C-UDA-1.0,CAL-1.0,CAL-1.0-Combined-Work-Exception,CAPEC-tou,CATOSL-1.1,CC-BY-1.0,CC-BY-2.0,CC-BY-2.5,CC-BY-2.5-AU,CC-BY-3.0,CC-BY-3.0-AT,CC-BY-3.0-AU,CC-BY-3.0-DE,CC-BY-3.0-IGO,CC-BY-3.0-NL,CC-BY-3.0-US,CC-BY-4.0,CC-BY-NC-1.0,CC-BY-NC-2.0,CC-BY-NC-2.5,CC-BY-NC-3.0,CC-BY-NC-3.0-DE,CC-BY-NC-4.0,CC-BY-NC-ND-1.0,CC-BY-NC-ND-2.0,CC-BY-NC-ND-2.5,CC-BY-NC-ND-3.0,CC-BY-NC-ND-3.0-DE,CC-BY-NC-ND-3.0-IGO,CC-BY-NC-ND-4.0,CC-BY-NC-SA-1.0,CC-BY-NC-SA-2.0,CC-BY-NC-SA-2.0-DE,CC-BY-NC-SA-2.0-FR,CC-BY-NC-SA-2.0-UK,CC-BY-NC-SA-2.5,CC-BY-NC-SA-3.0,CC-BY-NC-SA-3.0-DE,CC-BY-NC-SA-3.0-IGO,CC-BY-NC-SA-4.0,CC-BY-ND-1.0,CC-BY-ND-2.0,CC-BY-ND-2.5,CC-BY-ND-3.0,CC-BY-ND-3.0-DE,CC-BY-ND-4.0,CC-BY-SA-1.0,CC-BY-SA-2.0,CC-BY-SA-2.0-UK,CC-BY-SA-2.1-JP,CC-BY-SA-2.5,CC-BY-SA-3.0,CC-BY-SA-3.0-AT,CC-BY-SA-3.0-DE,CC-BY-SA-3.0-IGO,CC-BY-SA-4.0,CC-PDDC,CC-PDM-1.0,CC-SA-1.0,CC0-1.0,CDDL-1.0,CDDL-1.1,CDL-1.0,CDLA-Permissive-1.0,CDLA-Permissive-2.0,CDLA-Sharing-1.0,CECILL-1.0,CECILL-1.1,CECILL-2.0,CECILL-2.1,CECILL-B,CECILL-C,CERN-OHL-1.1,CERN-OHL-1.2,CERN-OHL-P-2.0,CERN-OHL-S-2.0,CERN-OHL-W-2.0,CFITSIO,CMU-Mach,CMU-Mach-nodoc,CNRI-Jython,CNRI-Python,CNRI-Python-GPL-Compatible,COIL-1.0,CPAL-1.0,CPL-1.0,CPOL-1.02,CUA-OPL-1.0,Caldera,Caldera-no-preamble,Catharon,ClArtistic,Clips,Community-Spec-1.0,Condor-1.1,Cornell-Lossless-JPEG,Cronyx,Crossword,CryptoSwift,CrystalStacker,Cube,D-FSL-1.0,DEC-3-Clause,DL-DE-BY-2.0,DL-DE-ZERO-2.0,DOC,DRL-1.0,DRL-1.1,DSDP,DocBook-DTD,DocBook-Schema,DocBook-Stylesheet,DocBook-XML,Dotseqn,ECL-1.0,ECL-2.0,EFL-1.0,EFL-2.0,EPICS,EPL-1.0,EPL-2.0,ESA-PL-permissive-2.4,ESA-PL-strong-copyleft-2.4,ESA-PL-weak-copyleft-2.4,EUDatagrid,EUPL-1.0,EUPL-1.1,EUPL-1.2,Elastic-2.0,Entessa,ErlPL-1.1,Eurosym,FBM,FDK-AAC,FSFAP,FSFAP-no-warranty-disclaimer,FSFUL,FSFULLR,FSFULLRSD,FSFULLRWD,FSL-1.1-ALv2,FSL-1.1-MIT,FTL,Fair,Ferguson-Twofish,Frameworx-1.0,FreeBSD-DOC,FreeImage,Furuseth,GCR-docs,GD,GFDL-1.1-invariants-only,GFDL-1.1-invariants-or-later,GFDL-1.1-no-invariants-only,GFDL-1.1-no-invariants-or-later,GFDL-1.1-only,GFDL-1.1-or-later,GFDL-1.2-invariants-only,GFDL-1.2-invariants-or-later,GFDL-1.2-no-invariants-only,GFDL-1.2-no-invariants-or-later,GFDL-1.2-only,GFDL-1.2-or-later,GFDL-1.3-invariants-only,GFDL-1.3-invariants-or-later,GFDL-1.3-no-invariants-only,GFDL-1.3-no-invariants-or-later,GFDL-1.3-only,GFDL-1.3-or-later,GL2PS,GLWTPL,GPL-1.0-only,GPL-1.0-or-later,GPL-2.0-only,GPL-2.0-or-later,GPL-3.0-only,GPL-3.0-or-later,Game-Programming-Gems,Giftware,Glide,Glulxe,Graphics-Gems,Gutmann,HDF5,HIDAPI,HP-1986,HP-1989,HPND,HPND-DEC,HPND-Fenneberg-Livingston,HPND-INRIA-IMAG,HPND-Intel,HPND-Kevlin-Henney,HPND-MIT-disclaimer,HPND-Markus-Kuhn,HPND-Netrek,HPND-Pbmplus,HPND-SMC,HPND-UC,HPND-UC-export-US,HPND-doc,HPND-doc-sell,HPND-export-US,HPND-export-US-acknowledgement,HPND-export-US-modify,HPND-export2-US,HPND-merchantability-variant,HPND-sell-MIT-disclaimer-xserver,HPND-sell-regexpr,HPND-sell-variant,HPND-sell-variant-MIT-disclaimer,HPND-sell-variant-MIT-disclaimer-rev,HPND-sell-variant-critical-systems,HTMLTIDY,HaskellReport,Hippocratic-2.1,IBM-pibs,ICU,IEC-Code-Components-EULA,IJG,IJG-short,IPA,IPL-1.0,ISC,ISC-Veillard,ISO-permission,ImageMagick,Imlib2,Info-ZIP,Inner-Net-2.0,InnoSetup,Intel,Intel-ACPI,Interbase-1.0,JPL-image,JPNIC,JSON,Jam,JasPer-2.0,Kastrup,Kazlib,Knuth-CTAN,LAL-1.2,LAL-1.3,LGPL-2.0-only,LGPL-2.0-or-later,LGPL-2.1-only,LGPL-2.1-or-later,LGPL-3.0-only,LGPL-3.0-or-later,LGPLLR,LOOP,LPD-document,LPL-1.0,LPL-1.02,LPPL-1.0,LPPL-1.1,LPPL-1.2,LPPL-1.3a,LPPL-1.3c,LZMA-SDK-9.11-to-9.20,LZMA-SDK-9.22,Latex2e,Latex2e-translated-notice,Leptonica,LiLiQ-P-1.1,LiLiQ-R-1.1,LiLiQ-Rplus-1.1,Libpng,Linux-OpenIB,Linux-man-pages-1-para,Linux-man-pages-copyleft,Linux-man-pages-copyleft-2-para,Linux-man-pages-copyleft-var,Lucida-Bitmap-Fonts,MIPS,MIT,MIT-0,MIT-CMU,MIT-Click,MIT-Festival,MIT-Khronos-old,MIT-Modern-Variant,MIT-STK,MIT-Wu,MIT-advertising,MIT-enna,MIT-feh,MIT-open-group,MIT-testregex,MITNFA,MMIXware,MMPL-1.0.1,MPEG-SSG,MPL-1.0,MPL-1.1,MPL-2.0,MPL-2.0-no-copyleft-exception,MS-LPL,MS-PL,MS-RL,MTLL,Mackerras-3-Clause,Mackerras-3-Clause-acknowledgment,MakeIndex,Martin-Birgmeier,McPhee-slideshow,Minpack,MirOS,Motosoto,MulanPSL-1.0,MulanPSL-2.0,Multics,Mup,NAIST-2003,NASA-1.3,NBPL-1.0,NCBI-PD,NCGL-UK-2.0,NCL,NCSA,NGPL,NICTA-1.0,NIST-PD,NIST-PD-TNT,NIST-PD-fallback,NIST-Software,NLOD-1.0,NLOD-2.0,NLPL,NOSL,NPL-1.0,NPL-1.1,NPOSL-3.0,NRL,NTIA-PD,NTP,NTP-0,Naumen,NetCDF,Newsletr,Nokia,Noweb,O-UDA-1.0,OAR,OCCT-PL,OCLC-2.0,ODC-By-1.0,ODbL-1.0,OFFIS,OFL-1.0,OFL-1.0-RFN,OFL-1.0-no-RFN,OFL-1.1,OFL-1.1-RFN,OFL-1.1-no-RFN,OGC-1.0,OGDL-Taiwan-1.0,OGL-Canada-2.0,OGL-UK-1.0,OGL-UK-2.0,OGL-UK-3.0,OGTSL,OLDAP-1.1,OLDAP-1.2,OLDAP-1.3,OLDAP-1.4,OLDAP-2.0,OLDAP-2.0.1,OLDAP-2.1,OLDAP-2.2,OLDAP-2.2.1,OLDAP-2.2.2,OLDAP-2.3,OLDAP-2.4,OLDAP-2.5,OLDAP-2.6,OLDAP-2.7,OLDAP-2.8,OLFL-1.3,OML,OPL-1.0,OPL-UK-3.0,OPUBL-1.0,OSC-1.0,OSET-PL-2.1,OSL-1.0,OSL-1.1,OSL-2.0,OSL-2.1,OSL-3.0,OSSP,OpenMDW-1.0,OpenPBS-2.3,OpenSSL,OpenSSL-standalone,OpenVision,PADL,PDDL-1.0,PHP-3.0,PHP-3.01,PPL,PSF-2.0,ParaType-Free-Font-1.3,Parity-6.0.0,Parity-7.0.0,Pixar,Plexus,PolyForm-Noncommercial-1.0.0,PolyForm-Small-Business-1.0.0,PostgreSQL,Python-2.0,Python-2.0.1,QPL-1.0,QPL-1.0-INRIA-2004,Qhull,RHeCos-1.1,RPL-1.1,RPL-1.5,RPSL-1.0,RSA-MD,RSCPL,Rdisc,Ruby,Ruby-pty,SAX-PD,SAX-PD-2.0,SCEA,SGI-B-1.0,SGI-B-1.1,SGI-B-2.0,SGI-OpenGL,SGMLUG-PM,SGP4,SHL-0.5,SHL-0.51,SISSL,SISSL-1.2,SL,SMAIL-GPL,SMLNJ,SMPPL,SNIA,SOFA,SPL-1.0,SSH-OpenSSH,SSH-short,SSLeay-standalone,SSPL-1.0,SUL-1.0,SWL,Saxpath,SchemeReport,Sendmail,Sendmail-8.23,Sendmail-Open-Source-1.1,SimPL-2.0,Sleepycat,Soundex,Spencer-86,Spencer-94,Spencer-99,SugarCRM-1.1.3,Sun-PPP,Sun-PPP-2000,SunPro,Symlinks,TAPR-OHL-1.0,TCL,TCP-wrappers,TGPPL-1.0,TMate,TORQUE-1.1,TOSL,TPDL,TPL-1.0,TTWL,TTYP0,TU-Berlin-1.0,TU-Berlin-2.0,TekHVC,TermReadKey,ThirdEye,TrustedQSL,UCAR,UCL-1.0,UMich-Merit,UPL-1.0,URT-RLE,Ubuntu-font-1.0,UnRAR,Unicode-3.0,Unicode-DFS-2015,Unicode-DFS-2016,Unicode-TOU,UnixCrypt,Unlicense,Unlicense-libtelnet,Unlicense-libwhirlpool,VOSTROM,VSL-1.0,Vim,Vixie-Cron,W3C,W3C-19980720,W3C-20150513,WTFNMFPL,WTFPL,Watcom-1.0,Widget-Workshop,WordNet,Wsuipa,X11,X11-distribute-modifications-variant,X11-no-permit-persons,X11-swapped,XFree86-1.1,XSkat,Xdebug-1.03,Xerox,Xfig,Xnet,YPL-1.0,YPL-1.1,ZPL-1.1,ZPL-2.0,ZPL-2.1,Zed,Zeeff,Zend-2.0,Zimbra-1.3,Zimbra-1.4,Zlib,any-OSI,any-OSI-perl-modules,bcrypt-Solar-Designer,blessing,bzip2-1.0.6,check-cvs,checkmk,copyleft-next-0.3.0,copyleft-next-0.3.1,curl,cve-tou,diffmark,dtoa,dvipdfm,eGenix,etalab-2.0,fwlw,gSOAP-1.3b,generic-xts,gnuplot,gtkbook,hdparm,hyphen-bulgarian,iMatix,jove,libpng-1.6.35,libpng-2.0,libselinux-1.0,libtiff,libutil-David-Nugent,lsof,magaz,mailprio,man2html,metamail,mpi-permissive,mpich2,mplus,ngrep,pkgconf,pnmstitch,psfrag,psutils,python-ldap,radvd,snprintf,softSurfer,ssh-keyscan,swrule,threeparttable,ulem,w3m,wwl,xinetd,xkeyboard-config-Zinoviev,xlock,xpp,xzoom,zlib-acknowledgement`.split(`,`)})),O=e.t(((e,t)=>{t.exports=`AGPL-1.0,AGPL-3.0,BSD-2-Clause-FreeBSD,BSD-2-Clause-NetBSD,GFDL-1.1,GFDL-1.2,GFDL-1.3,GPL-1.0,GPL-2.0,GPL-2.0-with-GCC-exception,GPL-2.0-with-autoconf-exception,GPL-2.0-with-bison-exception,GPL-2.0-with-classpath-exception,GPL-2.0-with-font-exception,GPL-3.0,GPL-3.0-with-GCC-exception,GPL-3.0-with-autoconf-exception,LGPL-2.0,LGPL-2.1,LGPL-3.0,Net-SNMP,Nunit,StandardML-NJ,bzip2-1.0.5,eCos-2.0,wxWindows`.split(`,`)})),k=e.t(((e,t)=>{t.exports=`389-exception,Asterisk-exception,Autoconf-exception-2.0,Autoconf-exception-3.0,Autoconf-exception-generic,Autoconf-exception-generic-3.0,Autoconf-exception-macro,Bison-exception-1.24,Bison-exception-2.2,Bootloader-exception,Classpath-exception-2.0,CLISP-exception-2.0,cryptsetup-OpenSSL-exception,DigiRule-FOSS-exception,eCos-exception-2.0,Fawkes-Runtime-exception,FLTK-exception,fmt-exception,Font-exception-2.0,freertos-exception-2.0,GCC-exception-2.0,GCC-exception-2.0-note,GCC-exception-3.1,Gmsh-exception,GNAT-exception,GNOME-examples-exception,GNU-compiler-exception,gnu-javamail-exception,GPL-3.0-interface-exception,GPL-3.0-linking-exception,GPL-3.0-linking-source-exception,GPL-CC-1.0,GStreamer-exception-2005,GStreamer-exception-2008,i2p-gpl-java-exception,KiCad-libraries-exception,LGPL-3.0-linking-exception,libpri-OpenH323-exception,Libtool-exception,Linux-syscall-note,LLGPL,LLVM-exception,LZMA-exception,mif-exception,OCaml-LGPL-linking-exception,OCCT-exception-1.0,OpenJDK-assembly-exception-1.0,openvpn-openssl-exception,PS-or-PDF-font-exception-20170817,QPL-1.0-INRIA-2004-exception,Qt-GPL-exception-1.0,Qt-LGPL-exception-1.1,Qwt-exception-1.0,SANE-exception,SHL-2.0,SHL-2.1,stunnel-exception,SWI-exception,Swift-exception,Texinfo-exception,u-boot-exception-2.0,UBDL-exception,Universal-FOSS-exception-1.0,vsftpd-openssl-exception,WxWindows-exception-3.1,x11vnc-openssl-exception`.split(`,`)})),A=e.t(((e,t)=>{var n=[].concat(D(),O()),r=k();t.exports=function(e){var t=0;function i(){return t<e.length}function a(n){if(n instanceof RegExp){var r=e.slice(t).match(n);if(r)return t+=r[0].length,r[0]}else if(e.indexOf(n,t)===t)return t+=n.length,n}function o(){a(/[ ]*/)}function s(){for(var n,r=[`WITH`,`AND`,`OR`,`(`,`)`,`:`,`+`],i=0;i<r.length&&(n=a(r[i]),!n);i++);if(n===`+`&&t>1&&e[t-2]===` `)throw Error("Space before `+`");return n&&{type:`OPERATOR`,string:n}}function c(){return a(/[A-Za-z0-9-.]+/)}function l(){var e=c();if(!e)throw Error(`Expected idstring at offset `+t);return e}function u(){if(a(`DocumentRef-`))return{type:`DOCUMENTREF`,string:l()}}function d(){if(a(`LicenseRef-`))return{type:`LICENSEREF`,string:l()}}function f(){var e=t,i=c();if(n.indexOf(i)!==-1)return{type:`LICENSE`,string:i};if(r.indexOf(i)!==-1)return{type:`EXCEPTION`,string:i};t=e}function p(){return s()||u()||d()||f()}for(var m=[];i()&&(o(),i());){var h=p();if(!h)throw Error("Unexpected `"+e[t]+"` at offset "+t);m.push(h)}return m}})),j=e.t(((e,t)=>{t.exports=function(e){var t=0;function n(){return t<e.length}function r(){return n()?e[t]:null}function i(){if(!n())throw Error();t++}function a(e){var t=r();if(t&&t.type===`OPERATOR`&&e===t.string)return i(),t.string}function o(){if(a(`WITH`)){var e=r();if(e&&e.type===`EXCEPTION`)return i(),e.string;throw Error("Expected exception after `WITH`")}}function s(){var e=t,n=``,o=r();if(o.type===`DOCUMENTREF`&&(i(),n+=`DocumentRef-`+o.string+`:`,!a(`:`)))throw Error("Expected `:` after `DocumentRef-...`");if(o=r(),o.type===`LICENSEREF`)return i(),n+=`LicenseRef-`+o.string,{license:n};t=e}function c(){var e=r();if(e&&e.type===`LICENSE`){i();var t={license:e.string};a(`+`)&&(t.plus=!0);var n=o();return n&&(t.exception=n),t}}function l(){if(a(`(`)){var e=f();if(!a(`)`))throw Error("Expected `)`");return e}}function u(){return l()||s()||c()}function d(e,t){return function n(){var r=t();if(r){if(!a(e))return r;var i=n();if(!i)throw Error(`Expected expression`);return{left:r,conjunction:e.toLowerCase(),right:i}}}}var f=d(`OR`,d(`AND`,u)),p=f();if(!p||n())throw Error(`Syntax error`);return p}})),M=e.t(((e,t)=>{var n=A(),r=j();t.exports=function(e){return r(n(e))}})),N=e.t(((e,t)=>{var n=M(),r=D();function i(e){try{return n(e),!0}catch{return!1}}function a(e,t){var n=t[0].length-e[0].length;return n===0?e[0].toUpperCase().localeCompare(t[0].toUpperCase()):n}var o=[[`APGL`,`AGPL`],[`Gpl`,`GPL`],[`GLP`,`GPL`],[`APL`,`Apache`],[`ISD`,`ISC`],[`GLP`,`GPL`],[`IST`,`ISC`],[`Claude`,`Clause`],[` or later`,`+`],[` International`,``],[`GNU`,`GPL`],[`GUN`,`GPL`],[`+`,``],[`GNU GPL`,`GPL`],[`GNU LGPL`,`LGPL`],[`GNU/GPL`,`GPL`],[`GNU GLP`,`GPL`],[`GNU LESSER GENERAL PUBLIC LICENSE`,`LGPL`],[`GNU Lesser General Public License`,`LGPL`],[`GNU LESSER GENERAL PUBLIC LICENSE`,`LGPL-2.1`],[`GNU Lesser General Public License`,`LGPL-2.1`],[`LESSER GENERAL PUBLIC LICENSE`,`LGPL`],[`Lesser General Public License`,`LGPL`],[`LESSER GENERAL PUBLIC LICENSE`,`LGPL-2.1`],[`Lesser General Public License`,`LGPL-2.1`],[`GNU General Public License`,`GPL`],[`Gnu public license`,`GPL`],[`GNU Public License`,`GPL`],[`GNU GENERAL PUBLIC LICENSE`,`GPL`],[`MTI`,`MIT`],[`Mozilla Public License`,`MPL`],[`Universal Permissive License`,`UPL`],[`WTH`,`WTF`],[`WTFGPL`,`WTFPL`],[`-License`,``]].sort(a),s=0,c=1,l=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,``)},function(e){return e.replace(/\s+/g,``)},function(e){return e.replace(/\s+/g,`-`)},function(e){return e.replace(`v`,`-`)},function(e){return e.replace(/,?\s*(\d)/,`-$1`)},function(e){return e.replace(/,?\s*(\d)/,`-$1.0`)},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,`-$2`)},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,`-$2.0`)},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace(`/`,`-`)},function(e){return e.replace(/\s*V\s*(\d)/,`-$1`).replace(/(\d)$/,`$1.0`)},function(e){return e.indexOf(`3.0`)===-1?e+`-only`:e+`-or-later`},function(e){return e+`only`},function(e){return e.replace(/(\d)$/,`-$1.0`)},function(e){return e.replace(/(-| )?(\d)$/,`-$2-Clause`)},function(e){return e.replace(/(-| )clause(-| )(\d)/,`-$3-Clause`)},function(e){return e.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,`BSD-3-Clause`)},function(e){return e.replace(/\bSimplified(-| )?BSD((-| )License)?/i,`BSD-2-Clause`)},function(e){return e.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,`BSD-2-Clause-$1BSD`)},function(e){return e.replace(/\bClear(-| )?BSD((-| )License)?/i,`BSD-3-Clause-Clear`)},function(e){return e.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,`BSD-4-Clause`)},function(e){return`CC-`+e},function(e){return`CC-`+e+`-4.0`},function(e){return e.replace(`Attribution`,`BY`).replace(`NonCommercial`,`NC`).replace(`NoDerivatives`,`ND`).replace(/ (\d)/,`-$1`).replace(/ ?International/,``)},function(e){return`CC-`+e.replace(`Attribution`,`BY`).replace(`NonCommercial`,`NC`).replace(`NoDerivatives`,`ND`).replace(/ (\d)/,`-$1`).replace(/ ?International/,``)+`-4.0`}],u=r.map(function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]}).reduce(function(e,t){var n=t[1];return e[n]=e[n]||[],e[n].push(t[0]),e},{}),d=Object.keys(u).map(function(e){return[e,u[e]]}).filter(function(e){return e[1].length===1&&e[0]!==null&&e[0]!==`APL`}).map(function(e){return[e[0],e[1][0]]});u=void 0;var f=[[`UNLI`,`Unlicense`],[`WTF`,`WTFPL`],[`2 CLAUSE`,`BSD-2-Clause`],[`2-CLAUSE`,`BSD-2-Clause`],[`3 CLAUSE`,`BSD-3-Clause`],[`3-CLAUSE`,`BSD-3-Clause`],[`AFFERO`,`AGPL-3.0-or-later`],[`AGPL`,`AGPL-3.0-or-later`],[`APACHE`,`Apache-2.0`],[`ARTISTIC`,`Artistic-2.0`],[`Affero`,`AGPL-3.0-or-later`],[`BEER`,`Beerware`],[`BOOST`,`BSL-1.0`],[`BSD`,`BSD-2-Clause`],[`CDDL`,`CDDL-1.1`],[`ECLIPSE`,`EPL-1.0`],[`FUCK`,`WTFPL`],[`GNU`,`GPL-3.0-or-later`],[`LGPL`,`LGPL-3.0-or-later`],[`GPLV1`,`GPL-1.0-only`],[`GPL-1`,`GPL-1.0-only`],[`GPLV2`,`GPL-2.0-only`],[`GPL-2`,`GPL-2.0-only`],[`GPL`,`GPL-3.0-or-later`],[`MIT +NO-FALSE-ATTRIBS`,`MITNFA`],[`MIT`,`MIT`],[`MPL`,`MPL-2.0`],[`X11`,`X11`],[`ZLIB`,`Zlib`]].concat(d).sort(a),p=0,m=1,h=function(e){for(var t=0;t<l.length;t++){var n=l[t](e).trim();if(n!==e&&i(n))return n}return null},g=function(e){for(var t=e.toUpperCase(),n=0;n<f.length;n++){var r=f[n];if(t.indexOf(r[p])>-1)return r[m]}return null},_=function(e,t){for(var n=0;n<o.length;n++){var r=o[n],i=r[s];if(e.indexOf(i)>-1){var a=t(e.replace(i,r[c]));if(a!==null)return a}}return null};t.exports=function(e,t){t||={};var n=t.upgrade===void 0?!0:!!t.upgrade;function r(e){return n?v(e):e}if(!(typeof e==`string`&&e.trim().length!==0))throw Error(`Invalid argument. Expected non-empty string.`);if(e=e.trim(),i(e))return r(e);var a=e.replace(/\+$/,``).trim();if(i(a))return r(a);var o=h(e);return o!==null||(o=_(e,function(e){return i(e)?e:h(e)}),o!==null)||(o=g(e),o!==null)||(o=_(e,g),o!==null)?r(o):null};function v(e){return[`GPL-1.0`,`LGPL-1.0`,`AGPL-1.0`,`GPL-2.0`,`LGPL-2.0`,`AGPL-2.0`,`LGPL-2.1`].indexOf(e)===-1?[`GPL-1.0+`,`GPL-2.0+`,`GPL-3.0+`,`LGPL-2.0+`,`LGPL-2.1+`,`LGPL-3.0+`,`AGPL-1.0+`,`AGPL-3.0+`].indexOf(e)===-1?[`GPL-3.0`,`LGPL-3.0`,`AGPL-3.0`].indexOf(e)===-1?e:e+`-or-later`:e.replace(/\+$/,`-or-later`):e+`-only`}})),P=e.t(((e,t)=>{var n=M(),r=N(),i=`license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"`,a=/^SEE LICEN[CS]E IN (.+)$/;function o(e,t){return t.slice(0,e.length)===e}function s(e){if(e.hasOwnProperty(`license`)){var t=e.license;return o(`LicenseRef`,t)||o(`DocumentRef`,t)}else return s(e.left)||s(e.right)}t.exports=function(e){var t;try{t=n(e)}catch{var o;if(e===`UNLICENSED`||e===`UNLICENCED`)return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(o=a.exec(e))return{validForOldPackages:!0,validForNewPackages:!0,inFile:o[1]};var c={validForOldPackages:!1,validForNewPackages:!1,warnings:[i]};if(e.trim().length!==0){var l=r(e);l&&c.warnings.push(`license is similar to the valid expression "`+l+`"`)}return c}return s(t)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[i]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}}})),F=e.t(((e,t)=>{t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}})),I=e.t(((e,t)=>{let n=F(),r={};for(let e of Object.keys(n))r[n[e]]=e;let i={rgb:{channels:3,labels:`rgb`},hsl:{channels:3,labels:`hsl`},hsv:{channels:3,labels:`hsv`},hwb:{channels:3,labels:`hwb`},cmyk:{channels:4,labels:`cmyk`},xyz:{channels:3,labels:`xyz`},lab:{channels:3,labels:`lab`},lch:{channels:3,labels:`lch`},hex:{channels:1,labels:[`hex`]},keyword:{channels:1,labels:[`keyword`]},ansi16:{channels:1,labels:[`ansi16`]},ansi256:{channels:1,labels:[`ansi256`]},hcg:{channels:3,labels:[`h`,`c`,`g`]},apple:{channels:3,labels:[`r16`,`g16`,`b16`]},gray:{channels:1,labels:[`gray`]}};t.exports=i;for(let e of Object.keys(i)){if(!(`channels`in i[e]))throw Error(`missing channels property: `+e);if(!(`labels`in i[e]))throw Error(`missing channel labels property: `+e);if(i[e].labels.length!==i[e].channels)throw Error(`channel and label counts mismatch: `+e);let{channels:t,labels:n}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],`channels`,{value:t}),Object.defineProperty(i[e],`labels`,{value:n})}i.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=a-i,s,c;a===i?s=0:t===a?s=(n-r)/o:n===a?s=2+(r-t)/o:r===a&&(s=4+(t-n)/o),s=Math.min(s*60,360),s<0&&(s+=360);let l=(i+a)/2;return c=a===i?0:l<=.5?o/(a+i):o/(2-a-i),[s,c*100,l*100]},i.rgb.hsv=function(e){let t,n,r,i,a,o=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),d=function(e){return(l-e)/6/u+1/2};return u===0?(i=0,a=0):(a=u/l,t=d(o),n=d(s),r=d(c),o===l?i=r-n:s===l?i=1/3+t-r:c===l&&(i=2/3+n-t),i<0?i+=1:i>1&&--i),[i*360,a*100,l*100]},i.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],a=i.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[a,o*100,r*100]},i.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r),a=(1-t-i)/(1-i)||0,o=(1-n-i)/(1-i)||0,s=(1-r-i)/(1-i)||0;return[a*100,o*100,s*100,i*100]};function a(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){let t=r[e];if(t)return t;let i=1/0,o;for(let t of Object.keys(n)){let r=n[t],s=a(e,r);s<i&&(i=s,o=t)}return o},i.keyword.rgb=function(e){return n[e]},i.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,o=t*.0193+n*.1192+r*.9505;return[i*100,a*100,o*100]},i.rgb.lab=function(e){let t=i.rgb.xyz(e),n=t[0],r=t[1],a=t[2];return n/=95.047,r/=100,a/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,[116*r-16,500*(n-r),200*(r-a)]},i.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,o;if(n===0)return o=r*255,[o,o,o];i=r<.5?r*(1+n):r+n-r*n;let s=2*r-i,c=[0,0,0];for(let e=0;e<3;e++)a=t+1/3*-(e-1),a<0&&a++,a>1&&a--,o=6*a<1?s+(i-s)*6*a:2*a<1?i:3*a<2?s+(i-s)*(2/3-a)*6:s,c[e]=o*255;return c},i.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a;let o=(r+n)/2;return[t,(r===0?2*i/(a+i):2*n/(r+n))*100,o*100]},i.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,o];case 1:return[s,r,o];case 2:return[o,r,c];case 3:return[o,s,r];case 4:return[c,o,r];case 5:return[r,o,s]}},i.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,o;o=(2-n)*r;let s=(2-n)*i;return a=n*i,a/=s<=1?s:2-s,a||=0,o/=2,[t,a*100,o*100]},i.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a;i>1&&(n/=i,r/=i);let o=Math.floor(6*t),s=1-r;a=6*t-o,o&1&&(a=1-a);let c=n+a*(s-n),l,u,d;switch(o){default:case 6:case 0:l=s,u=c,d=n;break;case 1:l=c,u=s,d=n;break;case 2:l=n,u=s,d=c;break;case 3:l=n,u=c,d=s;break;case 4:l=c,u=n,d=s;break;case 5:l=s,u=n,d=c;break}return[l*255,u*255,d*255]},i.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,n*(1-i)+i),s=1-Math.min(1,r*(1-i)+i);return[a*255,o*255,s*255]},i.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,o;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,o=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[i*255,a*255,o*255]},i.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},i.lab.xyz=function(e){let t=e[0],n=e[1],r=e[2],i,a,o;a=(t+16)/116,i=n/500+a,o=a-r/200;let s=a**3,c=i**3,l=o**3;return a=s>.008856?s:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,a*=100,o*=108.883,[i,a,o]},i.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],i;return i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},i.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},i.rgb.ansi16=function(e,t=null){let[n,r,a]=e,o=t===null?i.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let s=30+(Math.round(a/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return o===2&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(~~(e>50)+1)*.5;return[(t&1)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){let t=(e-232)*10+8;return[t,t,t]}e-=16;let t;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return`000000`.substring(t.length)+t},i.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split(``).map(e=>e+e).join(``));let r=parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},i.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),o=i-a,s,c;return s=o<1?a/(1-o):0,c=o<=0?0:i===t?(n-r)/o%6:i===n?2+(r-t)/o:4+(t-n)/o,c/=6,c%=1,[c*360,o*100,s*100]},i.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]},i.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]},i.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];let i=[0,0,0],a=t%1*6,o=a%1,s=1-o,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]},i.hcg.hsv=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],r*100,n*100]},i.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],r*100,n*100]},i.hcg.hwb=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],(n-t)*100,(1-n)*100]},i.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return`000000`.substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}})),L=e.t(((e,t)=>{let n=I();function r(){let e={},t=Object.keys(n);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function i(e){let t=r(),i=[e];for(t[e].distance=0;i.length;){let e=i.pop(),r=Object.keys(n[e]);for(let n=r.length,a=0;a<n;a++){let n=r[a],o=t[n];o.distance===-1&&(o.distance=t[e].distance+1,o.parent=e,i.unshift(n))}}return t}function a(e,t){return function(n){return t(e(n))}}function o(e,t){let r=[t[e].parent,e],i=n[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),i=a(n[t[o].parent][o],i),o=t[o].parent;return i.conversion=r,i}t.exports=function(e){let t=i(e),n={},r=Object.keys(t);for(let e=r.length,i=0;i<e;i++){let e=r[i];t[e].parent!==null&&(n[e]=o(e,t))}return n}})),R=e.t(((e,t)=>{let n=I(),r=L(),i={},a=Object.keys(n);function o(e){let t=function(...t){let n=t[0];return n==null?n:(n.length>1&&(t=n),e(t))};return`conversion`in e&&(t.conversion=e.conversion),t}function s(e){let t=function(...t){let n=t[0];if(n==null)return n;n.length>1&&(t=n);let r=e(t);if(typeof r==`object`)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return`conversion`in e&&(t.conversion=e.conversion),t}a.forEach(e=>{i[e]={},Object.defineProperty(i[e],`channels`,{value:n[e].channels}),Object.defineProperty(i[e],`labels`,{value:n[e].labels});let t=r(e);Object.keys(t).forEach(n=>{let r=t[n];i[e][n]=s(r),i[e][n].raw=o(r)})}),t.exports=i})),z=e.t(((e,t)=>{let n=(e,t)=>(...n)=>`\u001B[${e(...n)+t}m`,r=(e,t)=>(...n)=>{let r=e(...n);return`\u001B[${38+t};5;${r}m`},i=(e,t)=>(...n)=>{let r=e(...n);return`\u001B[${38+t};2;${r[0]};${r[1]};${r[2]}m`},a=e=>e,o=(e,t,n)=>[e,t,n],s=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},c,l=(e,t,n,r)=>{c===void 0&&(c=R());let i=r?10:0,a={};for(let[r,o]of Object.entries(c)){let s=r===`ansi16`?`ansi`:r;r===t?a[s]=e(n,i):typeof o==`object`&&(a[s]=e(o[t],i))}return a};function u(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[n,r]of Object.entries(t)){for(let[n,i]of Object.entries(r))t[n]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},r[n]=t[n],e.set(i[0],i[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,`codes`,{value:e,enumerable:!1}),t.color.close=`\x1B[39m`,t.bgColor.close=`\x1B[49m`,s(t.color,`ansi`,()=>l(n,`ansi16`,a,!1)),s(t.color,`ansi256`,()=>l(r,`ansi256`,a,!1)),s(t.color,`ansi16m`,()=>l(i,`rgb`,o,!1)),s(t.bgColor,`ansi`,()=>l(n,`ansi16`,a,!0)),s(t.bgColor,`ansi256`,()=>l(r,`ansi256`,a,!0)),s(t.bgColor,`ansi16m`,()=>l(i,`rgb`,o,!0)),t}Object.defineProperty(t,`exports`,{enumerable:!0,get:u})})),B=e.t(((e,t)=>{t.exports={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let i=t.length,a=0,o=``;do o+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a);while(r!==-1);return o+=e.substr(a),o},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,a=``;do{let o=e[r-1]===`\r`;a+=e.substr(i,(o?r-1:r)-i)+t+(o?`\r
`:`
`)+n,i=r+1,r=e.indexOf(`
`,i)}while(r!==-1);return a+=e.substr(i),a}}})),V=e.t(((e,t)=>{let n=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([[`n`,`
`],[`r`,`\r`],[`t`,` `],[`b`,`\b`],[`f`,`\f`],[`v`,`\v`],[`0`,`\0`],[`\\`,`\\`],[`e`,`\x1B`],[`a`,`\x07`]]);function s(e){let t=e[0]===`u`,n=e[1]===`{`;return t&&!n&&e.length===5||e[0]===`x`&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):o.get(e)||e}function c(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),o;for(let t of r){let r=Number(t);if(!Number.isNaN(r))n.push(r);else if(o=t.match(i))n.push(o[2].replace(a,(e,t,n)=>t?s(t):n));else throw Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}return n}function l(e){r.lastIndex=0;let t=[],n;for(;(n=r.exec(e))!==null;){let e=n[1];if(n[2]){let r=c(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function u(e,t){let n={};for(let e of t)for(let t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(let[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw Error(`Unknown Chalk style: ${e}`);r=t.length>0?r[e](...t):r[e]}return r}t.exports=(e,t)=>{let r=[],i=[],a=[];if(t.replace(n,(t,n,o,c,d,f)=>{if(n)a.push(s(n));else if(c){let t=a.join(``);a=[],i.push(r.length===0?t:u(e,r)(t)),r.push({inverse:o,styles:l(c)})}else if(d){if(r.length===0)throw Error(`Found extraneous } in Chalk template literal`);i.push(u(e,r)(a.join(``))),a=[],r.pop()}else a.push(f)}),i.push(a.join(``)),r.length>0){let e=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?``:`s`} (\`}\`)`;throw Error(e)}return i.join(``)}})),H=e.t(((e,t)=>{let r=z(),{stdout:i,stderr:a}=n(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:s}=B(),{isArray:c}=Array,l=[`ansi`,`ansi`,`ansi256`,`ansi16m`],u=Object.create(null),d=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let n=i?i.level:0;e.level=t.level===void 0?n:t.level};var f=class{constructor(e){return p(e)}};let p=e=>{let t={};return d(t,e),t.template=(...e)=>x(t.template,...e),Object.setPrototypeOf(t,m.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=f,t.template};function m(e){return p(e)}for(let[e,t]of Object.entries(r))u[e]={get(){let n=v(this,_(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};u.visible={get(){let e=v(this,this._styler,!0);return Object.defineProperty(this,`visible`,{value:e}),e}};let h=[`rgb`,`hex`,`keyword`,`hsl`,`hsv`,`hwb`,`ansi`,`ansi256`];for(let e of h)u[e]={get(){let{level:t}=this;return function(...n){let i=_(r.color[l[t]][e](...n),r.color.close,this._styler);return v(this,i,this._isEmpty)}}};for(let e of h){let t=`bg`+e[0].toUpperCase()+e.slice(1);u[t]={get(){let{level:t}=this;return function(...n){let i=_(r.bgColor[l[t]][e](...n),r.bgColor.close,this._styler);return v(this,i,this._isEmpty)}}}}let g=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),_=(e,t,n)=>{let r,i;return n===void 0?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},v=(e,t,n)=>{let r=(...e)=>c(e[0])&&c(e[0].raw)?y(r,x(r,...e)):y(r,e.length===1?``+e[0]:e.join(` `));return Object.setPrototypeOf(r,g),r._generator=e,r._styler=t,r._isEmpty=n,r},y=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?``:t;let n=e._styler;if(n===void 0)return t;let{openAll:r,closeAll:i}=n;if(t.indexOf(`\x1B`)!==-1)for(;n!==void 0;)t=o(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
`);return a!==-1&&(t=s(t,i,r,a)),r+t+i},b,x=(e,...t)=>{let[n]=t;if(!c(n)||!c(n.raw))return t.join(` `);let r=t.slice(1),i=[n.raw[0]];for(let e=1;e<n.length;e++)i.push(String(r[e-1]).replace(/[{}\\]/g,`\\$&`),String(n.raw[e]));return b===void 0&&(b=V()),b(e,i.join(``))};Object.defineProperties(m.prototype,u);let S=m();S.supportsColor=i,S.stderr=m({level:a?a.level:0}),S.stderr.supportsColor=a,t.exports=S})),U=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.dedent=void 0;function t(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Array.from(typeof e==`string`?[e]:e.raw);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,``);var i=r.reduce(function(e,t){var n=t.match(/\n[\t ]+/g);return n?e.concat(n.map(function(e){return e.length-1})):e},[]);if(i.length){var a=RegExp(`
[ ]{`+Math.min.apply(Math,i)+`}`,`g`);r=r.map(function(e){return e.replace(a,`
`)})}r[0]=r[0].replace(/^\r?\n/,``);var o=r[0];return t.forEach(function(e,t){o+=e+r[t+1]}),o}e.dedent=t})),W=e.a(H());const G=process.platform!==`win32`||process.env.CI||process.env.TERM===`xterm-256color`,ee=G?`✖`:`×`,K=G?`✔`:`√`,q=W.default.blue(G?`ℹ`:`i`),te=W.default.green(K),J=W.default.yellow(G?`⚠`:`‼`),Y=W.default.red(ee);var X=e.t(((e,t)=>{var n=Object.prototype.toString;t.exports=function(e){var t;return n.call(e)===`[object Object]`&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))}})),Z=e.t(((e,t)=>{t.exports=function(e){return e==null?[]:Array.isArray(e)?e:[e]}})),Q=e.t(((e,t)=>{var n=Object.prototype.toString;t.exports=function(e){if(e===void 0)return`undefined`;if(e===null)return`null`;var t=typeof e;if(t===`boolean`)return`boolean`;if(t===`string`)return`string`;if(t===`number`)return`number`;if(t===`symbol`)return`symbol`;if(t===`function`)return c(e)?`generatorfunction`:`function`;if(i(e))return`array`;if(d(e))return`buffer`;if(u(e))return`arguments`;if(o(e))return`date`;if(a(e))return`error`;if(s(e))return`regexp`;switch(r(e)){case`Symbol`:return`symbol`;case`Promise`:return`promise`;case`WeakMap`:return`weakmap`;case`WeakSet`:return`weakset`;case`Map`:return`map`;case`Set`:return`set`;case`Int8Array`:return`int8array`;case`Uint8Array`:return`uint8array`;case`Uint8ClampedArray`:return`uint8clampedarray`;case`Int16Array`:return`int16array`;case`Uint16Array`:return`uint16array`;case`Int32Array`:return`int32array`;case`Uint32Array`:return`uint32array`;case`Float32Array`:return`float32array`;case`Float64Array`:return`float64array`}if(l(e))return`generator`;switch(t=n.call(e),t){case`[object Object]`:return`object`;case`[object Map Iterator]`:return`mapiterator`;case`[object Set Iterator]`:return`setiterator`;case`[object String Iterator]`:return`stringiterator`;case`[object Array Iterator]`:return`arrayiterator`}return t.slice(8,-1).toLowerCase().replace(/\s/g,``)};function r(e){return typeof e.constructor==`function`?e.constructor.name:null}function i(e){return Array.isArray?Array.isArray(e):e instanceof Array}function a(e){return e instanceof Error||typeof e.message==`string`&&e.constructor&&typeof e.constructor.stackTraceLimit==`number`}function o(e){return e instanceof Date?!0:typeof e.toDateString==`function`&&typeof e.getDate==`function`&&typeof e.setDate==`function`}function s(e){return e instanceof RegExp?!0:typeof e.flags==`string`&&typeof e.ignoreCase==`boolean`&&typeof e.multiline==`boolean`&&typeof e.global==`boolean`}function c(e,t){return r(e)===`GeneratorFunction`}function l(e){return typeof e.throw==`function`&&typeof e.return==`function`&&typeof e.next==`function`}function u(e){try{if(typeof e.length==`number`&&typeof e.callee==`function`)return!0}catch(e){if(e.message.indexOf(`callee`)!==-1)return!0}return!1}function d(e){return e.constructor&&typeof e.constructor.isBuffer==`function`?e.constructor.isBuffer(e):!1}})),ne=e.t(((e,t)=>{let n=X(),r=Z(),i=Q(),a=(e,t,n)=>{e[t]||(e[t]=[]),e[t].push(n)},o=(e,t,n,r)=>{e[t]||(e[t]={}),e[t][n]=r},s=e=>Array.isArray(e)?`[${e.map(s).join(`, `)}]`:i(e)===`string`?JSON.stringify(e):e,c=e=>{if(Array.isArray(e)&&e.length>0){let[t]=e;return`${i(t)}-array`}return i(e)},l=(e,t)=>{let n=e===`array`?`string-array`:e;return f.includes(n)&&Array.isArray(t)&&t.length===0?`array`:n},u=[`stopEarly`,`unknown`,`--`],d=[`string`,`boolean`,`number`],f=d.map(e=>`${e}-array`),p=[...d,`array`,...f],m=e=>{e||={};let t={};return u.forEach(n=>{e[n]&&(t[n]=e[n])}),Object.keys(e).forEach(i=>{let u=e[i];if(i===`arguments`&&(i=`_`),typeof u==`string`&&(u={type:u}),n(u)){let e=u,{type:n}=e;if(n){if(!p.includes(n))throw TypeError(`Expected type of "${i}" to be one of ${s(p)}, got ${s(n)}`);if(f.includes(n)){let[e]=n.split(`-`);a(t,`array`,{key:i,[e]:!0})}else a(t,n,i)}if({}.hasOwnProperty.call(e,`default`)){let{default:r}=e,a=c(r),u=l(n,r);if(u&&u!==a)throw TypeError(`Expected "${i}" default value to be of type "${u}", got ${s(a)}`);o(t,`default`,i,r)}r(e.alias).forEach(e=>{o(t,`alias`,e,i)})}}),t};t.exports=m,t.exports.default=m})),$=e.t(((e,t)=>{var n=require(`util`),r=require(`fs`),i=require(`path`);function a(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf(`-`)===-1&&e.indexOf(`_`)===-1)return e;{let t=``,n=!1,r=e.match(/^-+/);for(let i=r?r[0].length:0;i<e.length;i++){let r=e.charAt(i);n&&(n=!1,r=r.toUpperCase()),i!==0&&(r===`-`||r===`_`)?n=!0:r!==`-`&&r!==`_`&&(t+=r)}return t}}function o(e,t){let n=e.toLowerCase();t||=`-`;let r=``;for(let i=0;i<e.length;i++){let a=n.charAt(i),o=e.charAt(i);a!==o&&i>0?r+=`${t}${n.charAt(i)}`:r+=o}return r}function s(e){return e==null?!1:typeof e==`number`||/^0x[0-9a-f]+$/i.test(e)?!0:/^0[^.]/.test(e)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function c(e){if(Array.isArray(e))return e.map(e=>typeof e==`string`?e:e+``);e=e.trim();let t=0,n=null,r=null,i=null,a=[];for(let o=0;o<e.length;o++){if(n=r,r=e.charAt(o),r===` `&&!i){n!==` `&&t++;continue}r===i?i=null:(r===`'`||r===`"`)&&!i&&(i=r),a[t]||(a[t]=``),a[t]+=r}return a}var l;(function(e){e.BOOLEAN=`boolean`,e.STRING=`string`,e.NUMBER=`number`,e.ARRAY=`array`})(l||={});let u;var d=class{constructor(e){u=e}parse(e,t){let n=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},t),r=c(e),i=f(Object.assign(Object.create(null),n.alias)),d=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":`no-`,"parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},n.configuration),h=Object.assign(Object.create(null),n.default),g=n.configObjects||[],_=n.envPrefix,v=d[`populate--`],y=v?`--`:`_`,b=Object.create(null),x=Object.create(null),S=n.__||u.format,C={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},w=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,T=RegExp(`^--`+d[`negation-prefix`]+`(.+)`);[].concat(n.array||[]).filter(Boolean).forEach(function(e){let t=typeof e==`object`?e.key:e,n=Object.keys(e).map(function(e){return{boolean:`bools`,string:`strings`,number:`numbers`}[e]}).filter(Boolean).pop();n&&(C[n][t]=!0),C.arrays[t]=!0,C.keys.push(t)}),[].concat(n.boolean||[]).filter(Boolean).forEach(function(e){C.bools[e]=!0,C.keys.push(e)}),[].concat(n.string||[]).filter(Boolean).forEach(function(e){C.strings[e]=!0,C.keys.push(e)}),[].concat(n.number||[]).filter(Boolean).forEach(function(e){C.numbers[e]=!0,C.keys.push(e)}),[].concat(n.count||[]).filter(Boolean).forEach(function(e){C.counts[e]=!0,C.keys.push(e)}),[].concat(n.normalize||[]).filter(Boolean).forEach(function(e){C.normalize[e]=!0,C.keys.push(e)}),typeof n.narg==`object`&&Object.entries(n.narg).forEach(([e,t])=>{typeof t==`number`&&(C.nargs[e]=t,C.keys.push(e))}),typeof n.coerce==`object`&&Object.entries(n.coerce).forEach(([e,t])=>{typeof t==`function`&&(C.coercions[e]=t,C.keys.push(e))}),n.config!==void 0&&(Array.isArray(n.config)||typeof n.config==`string`?[].concat(n.config).filter(Boolean).forEach(function(e){C.configs[e]=!0}):typeof n.config==`object`&&Object.entries(n.config).forEach(([e,t])=>{(typeof t==`boolean`||typeof t==`function`)&&(C.configs[e]=t)})),ee(n.key,i,n.default,C.arrays),Object.keys(h).forEach(function(e){(C.aliases[e]||[]).forEach(function(t){h[t]=h[e]})});let E=null;re();let D=[],O=Object.assign(Object.create(null),{_:[]}),k={};for(let e=0;e<r.length;e++){let t=r[e],n=t.replace(/^-{3,}/,`---`),i,a,o,s,c,l;if(t!==`--`&&Y(t))A(t);else if(n.match(/---+(=|$)/)){A(t);continue}else if(t.match(/^--.+=/)||!d[`short-option-groups`]&&t.match(/^-.+=/))s=t.match(/^--?([^=]+)=([\s\S]*)$/),s!==null&&Array.isArray(s)&&s.length>=3&&(K(s[1],C.arrays)?e=M(e,s[1],r,s[2]):K(s[1],C.nargs)===!1?N(s[1],s[2]):e=j(e,s[1],r,s[2]));else if(t.match(T)&&d[`boolean-negation`])s=t.match(T),s!==null&&Array.isArray(s)&&s.length>=2&&(a=s[1],N(a,K(a,C.arrays)?[!1]:!1));else if(t.match(/^--.+/)||!d[`short-option-groups`]&&t.match(/^-[^-]+/))s=t.match(/^--?(.+)/),s!==null&&Array.isArray(s)&&s.length>=2&&(a=s[1],K(a,C.arrays)?e=M(e,a,r):K(a,C.nargs)===!1?(c=r[e+1],c!==void 0&&(!c.match(/^-/)||c.match(w))&&!K(a,C.bools)&&!K(a,C.counts)||/^(true|false)$/.test(c)?(N(a,c),e++):N(a,Z(a))):e=j(e,a,r));else if(t.match(/^-.\..+=/))s=t.match(/^-([^=]+)=([\s\S]*)$/),s!==null&&Array.isArray(s)&&s.length>=3&&N(s[1],s[2]);else if(t.match(/^-.\..+/)&&!t.match(w))c=r[e+1],s=t.match(/^-(.\..+)/),s!==null&&Array.isArray(s)&&s.length>=2&&(a=s[1],c!==void 0&&!c.match(/^-/)&&!K(a,C.bools)&&!K(a,C.counts)?(N(a,c),e++):N(a,Z(a)));else if(t.match(/^-[^-]+/)&&!t.match(w)){o=t.slice(1,-1).split(``),i=!1;for(let n=0;n<o.length;n++){if(c=t.slice(n+2),o[n+1]&&o[n+1]===`=`){l=t.slice(n+3),a=o[n],K(a,C.arrays)?e=M(e,a,r,l):K(a,C.nargs)===!1?N(a,l):e=j(e,a,r,l),i=!0;break}if(c===`-`){N(o[n],c);continue}if(/[A-Za-z]/.test(o[n])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(c)&&K(c,C.bools)===!1){N(o[n],c),i=!0;break}if(o[n+1]&&o[n+1].match(/\W/)){N(o[n],c),i=!0;break}else N(o[n],Z(o[n]))}a=t.slice(-1)[0],!i&&a!==`-`&&(K(a,C.arrays)?e=M(e,a,r):K(a,C.nargs)===!1?(c=r[e+1],c!==void 0&&(!/^(-|--)[^-]/.test(c)||c.match(w))&&!K(a,C.bools)&&!K(a,C.counts)||/^(true|false)$/.test(c)?(N(a,c),e++):N(a,Z(a))):e=j(e,a,r))}else if(t.match(/^-[0-9]$/)&&t.match(w)&&K(t.slice(1),C.bools))a=t.slice(1),N(a,Z(a));else if(t===`--`){D=r.slice(e+1);break}else if(d[`halt-at-non-option`]){D=r.slice(e);break}else A(t)}B(O,!0),B(O,!1),L(O),z(),U(O,C.aliases,h,!0),V(O),d[`set-placeholder-key`]&&H(O),Object.keys(C.counts).forEach(function(e){W(O,e.split(`.`))||N(e,0)}),v&&D.length&&(O[y]=[]),D.forEach(function(e){O[y].push(e)}),d[`camel-case-expansion`]&&d[`strip-dashed`]&&Object.keys(O).filter(e=>e!==`--`&&e.includes(`-`)).forEach(e=>{delete O[e]}),d[`strip-aliased`]&&[].concat(...Object.keys(i).map(e=>i[e])).forEach(e=>{d[`camel-case-expansion`]&&e.includes(`-`)&&delete O[e.split(`.`).map(e=>a(e)).join(`.`)],delete O[e]});function A(e){let t=I(`_`,e);(typeof t==`string`||typeof t==`number`)&&O._.push(t)}function j(e,t,n,r){let i,a=K(t,C.nargs);if(a=typeof a!=`number`||isNaN(a)?1:a,a===0)return $(r)||(E=Error(S(`Argument unexpected for: %s`,t))),N(t,Z(t)),e;let o=+!$(r);if(d[`nargs-eats-options`])n.length-(e+1)+o<a&&(E=Error(S(`Not enough arguments following: %s`,t))),o=a;else{for(i=e+1;i<n.length&&(!n[i].match(/^-[^0-9]/)||n[i].match(w)||Y(n[i]));i++)o++;o<a&&(E=Error(S(`Not enough arguments following: %s`,t)))}let s=Math.min(o,a);for(!$(r)&&s>0&&(N(t,r),s--),i=e+1;i<s+e+1;i++)N(t,n[i]);return e+s}function M(e,t,n,r){let i=[],a=r||n[e+1],o=K(t,C.nargs);if(K(t,C.bools)&&!/^(true|false)$/.test(a))i.push(!0);else if($(a)||$(r)&&/^-/.test(a)&&!w.test(a)&&!Y(a)){if(h[t]!==void 0){let e=h[t];i=Array.isArray(e)?e:[e]}}else{$(r)||i.push(F(t,r));for(let r=e+1;r<n.length&&!(!d[`greedy-arrays`]&&i.length>0||o&&typeof o==`number`&&i.length>=o||(a=n[r],/^-/.test(a)&&!w.test(a)&&!Y(a)));r++)e=r,i.push(F(t,a))}return typeof o==`number`&&(o&&i.length<o||isNaN(o)&&i.length===0)&&(E=Error(S(`Not enough arguments following: %s`,t))),N(t,i),e}function N(e,t){/-/.test(e)&&d[`camel-case-expansion`]&&P(e,e.split(`.`).map(function(e){return a(e)}).join(`.`));let n=F(e,t),r=e.split(`.`);G(O,r,n),C.aliases[e]&&C.aliases[e].forEach(function(e){G(O,e.split(`.`),n)}),r.length>1&&d[`dot-notation`]&&(C.aliases[r[0]]||[]).forEach(function(t){let i=t.split(`.`),a=[].concat(r);a.shift(),i=i.concat(a),(C.aliases[e]||[]).includes(i.join(`.`))||G(O,i,n)}),K(e,C.normalize)&&!K(e,C.arrays)&&[e].concat(C.aliases[e]||[]).forEach(function(e){Object.defineProperty(k,e,{enumerable:!0,get(){return t},set(e){t=typeof e==`string`?u.normalize(e):e}})})}function P(e,t){C.aliases[e]&&C.aliases[e].length||(C.aliases[e]=[t],b[t]=!0),C.aliases[t]&&C.aliases[t].length||P(t,e)}function F(e,t){typeof t==`string`&&(t[0]===`'`||t[0]===`"`)&&t[t.length-1]===t[0]&&(t=t.substring(1,t.length-1)),(K(e,C.bools)||K(e,C.counts))&&typeof t==`string`&&(t=t===`true`);let n=Array.isArray(t)?t.map(function(t){return I(e,t)}):I(e,t);return K(e,C.counts)&&($(n)||typeof n==`boolean`)&&(n=p()),K(e,C.normalize)&&K(e,C.arrays)&&(n=Array.isArray(t)?t.map(e=>u.normalize(e)):u.normalize(t)),n}function I(e,t){return!d[`parse-positional-numbers`]&&e===`_`||!K(e,C.strings)&&!K(e,C.bools)&&!Array.isArray(t)&&(s(t)&&d[`parse-numbers`]&&Number.isSafeInteger(Math.floor(parseFloat(`${t}`)))||!$(t)&&K(e,C.numbers))&&(t=Number(t)),t}function L(e){let t=Object.create(null);U(t,C.aliases,h),Object.keys(C.configs).forEach(function(n){let r=e[n]||t[n];if(r)try{let e=null,t=u.resolve(u.cwd(),r),i=C.configs[n];if(typeof i==`function`){try{e=i(t)}catch(t){e=t}if(e instanceof Error){E=e;return}}else e=u.require(t);R(e)}catch(t){t.name===`PermissionDenied`?E=t:e[n]&&(E=Error(S(`Invalid JSON config file: %s`,r)))}})}function R(e,t){Object.keys(e).forEach(function(n){let r=e[n],i=t?t+`.`+n:n;typeof r==`object`&&r&&!Array.isArray(r)&&d[`dot-notation`]?R(r,i):(!W(O,i.split(`.`))||K(i,C.arrays)&&d[`combine-arrays`])&&N(i,r)})}function z(){g!==void 0&&g.forEach(function(e){R(e)})}function B(e,t){if(_===void 0)return;let n=typeof _==`string`?_:``,r=u.env();Object.keys(r).forEach(function(i){if(n===``||i.lastIndexOf(n,0)===0){let o=i.split(`__`).map(function(e,t){return t===0&&(e=e.substring(n.length)),a(e)});(t&&C.configs[o.join(`.`)]||!t)&&!W(e,o)&&N(o.join(`.`),r[i])}})}function V(e){let t,n=new Set;Object.keys(e).forEach(function(r){if(!n.has(r)&&(t=K(r,C.coercions),typeof t==`function`))try{let i=I(r,t(e[r]));[].concat(C.aliases[r]||[],r).forEach(t=>{n.add(t),e[t]=i})}catch(e){E=e}})}function H(e){return C.keys.forEach(t=>{~t.indexOf(`.`)||e[t]===void 0&&(e[t]=void 0)}),e}function U(e,t,n,r=!1){Object.keys(n).forEach(function(i){W(e,i.split(`.`))||(G(e,i.split(`.`),n[i]),r&&(x[i]=!0),(t[i]||[]).forEach(function(t){W(e,t.split(`.`))||G(e,t.split(`.`),n[i])}))})}function W(e,t){let n=e;d[`dot-notation`]||(t=[t.join(`.`)]),t.slice(0,-1).forEach(function(e){n=n[e]||{}});let r=t[t.length-1];return typeof n==`object`?r in n:!1}function G(e,t,n){let r=e;d[`dot-notation`]||(t=[t.join(`.`)]),t.slice(0,-1).forEach(function(e){e=m(e),typeof r==`object`&&r[e]===void 0&&(r[e]={}),typeof r[e]!=`object`||Array.isArray(r[e])?(Array.isArray(r[e])?r[e].push({}):r[e]=[r[e],{}],r=r[e][r[e].length-1]):r=r[e]});let i=m(t[t.length-1]),a=K(t.join(`.`),C.arrays),o=Array.isArray(n),s=d[`duplicate-arguments-array`];!s&&K(i,C.nargs)&&(s=!0,(!$(r[i])&&C.nargs[i]===1||Array.isArray(r[i])&&r[i].length===C.nargs[i])&&(r[i]=void 0)),n===p()?r[i]=p(r[i]):Array.isArray(r[i])?s&&a&&o?r[i]=d[`flatten-duplicate-arrays`]?r[i].concat(n):(Array.isArray(r[i][0])?r[i]:[r[i]]).concat([n]):!s&&!!a==!!o?r[i]=n:r[i]=r[i].concat([n]):r[i]===void 0&&a?r[i]=o?n:[n]:s&&!(r[i]===void 0||K(i,C.counts)||K(i,C.bools))?r[i]=[r[i],n]:r[i]=n}function ee(...e){e.forEach(function(e){Object.keys(e||{}).forEach(function(e){C.aliases[e]||(C.aliases[e]=[].concat(i[e]||[]),C.aliases[e].concat(e).forEach(function(t){if(/-/.test(t)&&d[`camel-case-expansion`]){let n=a(t);n!==e&&C.aliases[e].indexOf(n)===-1&&(C.aliases[e].push(n),b[n]=!0)}}),C.aliases[e].concat(e).forEach(function(t){if(t.length>1&&/[A-Z]/.test(t)&&d[`camel-case-expansion`]){let n=o(t,`-`);n!==e&&C.aliases[e].indexOf(n)===-1&&(C.aliases[e].push(n),b[n]=!0)}}),C.aliases[e].forEach(function(t){C.aliases[t]=[e].concat(C.aliases[e].filter(function(e){return t!==e}))}))})})}function K(e,t){let n=[].concat(C.aliases[e]||[],e),r=Object.keys(t),i=n.find(e=>r.includes(e));return i?t[i]:!1}function q(e){let t=Object.keys(C);return[].concat(t.map(e=>C[e])).some(function(t){return Array.isArray(t)?t.includes(e):t[e]})}function te(e,...t){return[].concat(...t).some(function(t){let n=e.match(t);return n&&q(n[1])})}function J(e){if(e.match(w)||!e.match(/^-[^-]+/))return!1;let t=!0,n,r=e.slice(1).split(``);for(let i=0;i<r.length;i++){if(n=e.slice(i+2),!q(r[i])){t=!1;break}if(r[i+1]&&r[i+1]===`=`||n===`-`||/[A-Za-z]/.test(r[i])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(n)||r[i+1]&&r[i+1].match(/\W/))break}return t}function Y(e){return d[`unknown-options-as-args`]&&X(e)}function X(e){return e=e.replace(/^-{3,}/,`--`),e.match(w)||J(e)?!1:!te(e,/^-+([^=]+?)=[\s\S]*$/,T,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function Z(e){return!K(e,C.bools)&&!K(e,C.counts)&&`${e}`in h?h[e]:Q(ne(e))}function Q(e){return{[l.BOOLEAN]:!0,[l.STRING]:``,[l.NUMBER]:void 0,[l.ARRAY]:[]}[e]}function ne(e){let t=l.BOOLEAN;return K(e,C.strings)?t=l.STRING:K(e,C.numbers)?t=l.NUMBER:K(e,C.bools)?t=l.BOOLEAN:K(e,C.arrays)&&(t=l.ARRAY),t}function $(e){return e===void 0}function re(){Object.keys(C.counts).find(e=>K(e,C.arrays)?(E=Error(S(`Invalid configuration: %s, opts.count excludes opts.array.`,e)),!0):K(e,C.nargs)?(E=Error(S(`Invalid configuration: %s, opts.count excludes opts.narg.`,e)),!0):!1)}return{aliases:Object.assign({},C.aliases),argv:Object.assign(k,O),configuration:d,defaulted:Object.assign({},x),error:E,newAliases:Object.assign({},b)}}};function f(e){let t=[],n=Object.create(null),r=!0;for(Object.keys(e).forEach(function(n){t.push([].concat(e[n],n))});r;){r=!1;for(let e=0;e<t.length;e++)for(let n=e+1;n<t.length;n++)if(t[e].filter(function(e){return t[n].indexOf(e)!==-1}).length){t[e]=t[e].concat(t[n]),t.splice(n,1),r=!0;break}}return t.forEach(function(e){e=e.filter(function(e,t,n){return n.indexOf(e)===t});let t=e.pop();t!==void 0&&typeof t==`string`&&(n[t]=e)}),n}function p(e){return e===void 0?1:e+1}function m(e){return e===`__proto__`?`___proto___`:e}let h=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):10;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<h)throw Error(`yargs parser supports a minimum Node.js version of ${h}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);let g=process?process.env:{},_=new d({cwd:process.cwd,env:()=>g,format:n.format,normalize:i.normalize,resolve:i.resolve,require:e=>{if(typeof require<`u`)return require(e);if(e.match(/\.json$/))return r.readFileSync(e,`utf8`);throw Error(`only .json config files are supported in ESM`)}}),v=function(e,t){return _.parse(e.slice(),t).argv};v.detailed=function(e,t){return _.parse(e.slice(),t)},v.camelCase=a,v.decamelize=o,v.looksLikeNumber=s,t.exports=v})),re=e.t(((e,t)=>{let n=e=>typeof e==`object`&&!!e,r=Symbol(`skip`),i=e=>n(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),a=(e,t,n,o=new WeakMap)=>{if(n={deep:!1,target:{},...n},o.has(e))return o.get(e);o.set(e,n.target);let{target:s}=n;delete n.target;let c=e=>e.map(e=>i(e)?a(e,t,n,o):e);if(Array.isArray(e))return c(e);for(let[l,u]of Object.entries(e)){let d=t(l,u,e);if(d===r)continue;let[f,p,{shouldRecurse:m=!0}={}]=d;f!==`__proto__`&&(n.deep&&m&&i(p)&&(p=Array.isArray(p)?c(p):a(p,t,n,o)),s[f]=p)}return s};t.exports=(e,t,r)=>{if(!n(e))throw TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return a(e,t,r)},t.exports.mapObjectSkip=r})),ie=e.t(((e,t)=>{let n=e=>{let t=!1,n=!1,r=!1;for(let i=0;i<e.length;i++){let a=e[i];t&&/[a-zA-Z]/.test(a)&&a.toUpperCase()===a?(e=e.slice(0,i)+`-`+e.slice(i),t=!1,r=n,n=!0,i++):n&&r&&/[a-zA-Z]/.test(a)&&a.toLowerCase()===a?(e=e.slice(0,i-1)+`-`+e.slice(i-1),r=n,n=!1,t=!0):(t=a.toLowerCase()===a&&a.toUpperCase()!==a,r=n,n=a.toUpperCase()===a&&a.toLowerCase()!==a)}return e},r=(e,t)=>{if(!(typeof e==`string`||Array.isArray(e)))throw TypeError("Expected the input to be `string | string[]`");return t=Object.assign({pascalCase:!1},t),e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join(`-`):e.trim(),e.length===0?``:e.length===1?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=n(e)),e=e.replace(/^[_.\- ]+/,``).toLowerCase().replace(/[_.\- ]+(\w|$)/g,(e,t)=>t.toUpperCase()).replace(/\d+(\w|$)/g,e=>e.toUpperCase()),(e=>t.pascalCase?e.charAt(0).toUpperCase()+e.slice(1):e)(e))};t.exports=r,t.exports.default=r})),ae=e.t(((e,t)=>{t.exports=class{constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw TypeError("`maxSize` must be a number greater than 0");this.maxSize=e.maxSize,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this.oldCache=this.cache,this.cache=new Map)}get(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.has(e)){let t=this.oldCache.get(e);return this.oldCache.delete(e),this._set(e,t),t}}set(e,t){return this.cache.has(e)?this.cache.set(e,t):this._set(e,t),this}has(e){return this.cache.has(e)||this.oldCache.has(e)}peek(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.has(e))return this.oldCache.get(e)}delete(e){let t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(let[e]of this)yield e}*values(){for(let[,e]of this)yield e}*[Symbol.iterator](){for(let e of this.cache)yield e;for(let e of this.oldCache){let[t]=e;this.cache.has(t)||(yield e)}}get size(){let e=0;for(let t of this.oldCache.keys())this.cache.has(t)||e++;return this._size+e}}})),oe=e.t(((e,t)=>{let n=re(),r=ie(),i=ae(),a=(e,t)=>e.some(e=>typeof e==`string`?e===t:(e.lastIndex=0,e.test(t))),o=new i({maxSize:1e5}),s=e=>typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),c=(e,t)=>{if(!s(e))return e;t={deep:!1,pascalCase:!1,...t};let{exclude:i,pascalCase:c,stopPaths:l,deep:u}=t,d=new Set(l),f=e=>(t,l)=>{if(u&&s(l)){let r=e===void 0?t:`${e}.${t}`;d.has(r)||(l=n(l,f(r)))}if(!(i&&a(i,t))){let e=c?`${t}_`:t;if(o.has(e))t=o.get(e);else{let n=r(t,{pascalCase:c});t.length<100&&o.set(e,n),t=n}}return[t,l]};return n(e,f(void 0))};t.exports=(e,t)=>Array.isArray(e)?Object.keys(e).map(n=>c(e[n],t)):c(e,t)})),se=e.t(((e,t)=>{t.exports=function(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string`);return t=t===void 0?`_`:t,e.replace(/([a-z\d])([A-Z])/g,`$1`+t+`$2`).replace(/([A-Z]+)([A-Z][a-z\d]+)/g,`$1`+t+`$2`).toLowerCase()}})),ce=e.t(((e,t)=>{t.exports=function(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i],o=t(a,e[a],e);n[o[0]]=o[1]}return n}})),le=e.t(((e,t)=>{var n=ce(),r=se();t.exports=function(e,t,i){typeof t!=`string`&&(i=t,t=null),i||={},t||=i.separator;var a=i.exclude||[];return n(e,function(e,n){return e=a.indexOf(e)===-1?r(e,t):e,[e,n]})}})),ue=e.t(((e,t)=>{t.exports=e=>e.replace(/^[\r\n]+/,``).replace(/[\r\n]+$/,``),t.exports.start=e=>e.replace(/^[\r\n]+/,``),t.exports.end=e=>{let t=e.length;for(;t>0&&(e[t-1]===`\r`||e[t-1]===`
`);)t--;return t<e.length?e.slice(0,t):e}})),de=e.t(((e,t)=>{t.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((e,t)=>Math.min(e,t.length),1/0):0}})),fe=e.t(((e,t)=>{let n=de();t.exports=e=>{let t=n(e);if(t===0)return e;let r=RegExp(`^[ \\t]{${t}}`,`gm`);return e.replace(r,``)}})),pe=e.t(((e,t)=>{t.exports=(e,t=1,n)=>{if(n={indent:` `,includeEmptyLines:!1,...n},typeof e!=`string`)throw TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!=`number`)throw TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof n.indent!=`string`)throw TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n.indent}\``);if(t===0)return e;let r=n.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(r,n.indent.repeat(t))}})),me=e.t(((e,t)=>{let n=fe(),r=pe();t.exports=(e,t=0,i)=>r(n(e),t,i)})),he=e.t(((e,t)=>{let n=(e,...t)=>new Promise(n=>{n(e(...t))});t.exports=n,t.exports.default=n})),ge=e.t(((e,t)=>{let n=he(),r=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],r=0,i=()=>{r--,t.length>0&&t.shift()()},a=(e,t,...a)=>{r++;let o=n(e,...a);t(o),o.then(i,i)},o=(n,i,...o)=>{r<e?a(n,i,...o):t.push(a.bind(null,n,i,...o))},s=(e,...t)=>new Promise(n=>o(e,n,...t));return Object.defineProperties(s,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),s};t.exports=r,t.exports.default=r})),_e=e.t(((e,t)=>{let n=ge();var r=class extends Error{constructor(e){super(),this.value=e}};let i=async(e,t)=>t(await e),a=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new r(t[0]);return!1},o=async(e,t,o)=>{o={concurrency:1/0,preserveOrder:!0,...o};let s=n(o.concurrency),c=[...e].map(e=>[e,s(i,e,t)]),l=n(o.preserveOrder?1:1/0);try{await Promise.all(c.map(e=>l(a,e)))}catch(e){if(e instanceof r)return e.value;throw e}};t.exports=o,t.exports.default=o})),ve=e.t(((e,t)=>{let n=require(`path`),r=require(`fs`),{promisify:i}=require(`util`),a=_e(),o=i(r.stat),s=i(r.lstat),c={directory:`isDirectory`,file:`isFile`};function l({type:e}){if(!(e in c))throw Error(`Invalid type specified: ${e}`)}let u=(e,t)=>e===void 0||t[c[e]]();t.exports=async(e,t)=>{t={cwd:process.cwd(),type:`file`,allowSymlinks:!0,...t},l(t);let r=t.allowSymlinks?o:s;return a(e,async e=>{try{let i=await r(n.resolve(t.cwd,e));return u(t.type,i)}catch{return!1}},t)},t.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:`file`,...t},l(t);let i=t.allowSymlinks?r.statSync:r.lstatSync;for(let r of e)try{let e=i(n.resolve(t.cwd,r));if(u(t.type,e))return r}catch{}}})),ye=e.t(((e,t)=>{let n=require(`fs`),{promisify:r}=require(`util`),i=r(n.access);t.exports=async e=>{try{return await i(e),!0}catch{return!1}},t.exports.sync=e=>{try{return n.accessSync(e),!0}catch{return!1}}})),be=e.t(((e,t)=>{let n=require(`path`),r=ve(),i=ye(),a=Symbol(`findUp.stop`);t.exports=async(e,t={})=>{let i=n.resolve(t.cwd||``),{root:o}=n.parse(i),s=[].concat(e),c=async t=>{if(typeof e!=`function`)return r(s,t);let n=await e(t.cwd);return typeof n==`string`?r([n],t):n};for(;;){let e=await c({...t,cwd:i});if(e===a)return;if(e)return n.resolve(i,e);if(i===o)return;i=n.dirname(i)}},t.exports.sync=(e,t={})=>{let i=n.resolve(t.cwd||``),{root:o}=n.parse(i),s=[].concat(e),c=t=>{if(typeof e!=`function`)return r.sync(s,t);let n=e(t.cwd);return typeof n==`string`?r.sync([n],t):n};for(;;){let e=c({...t,cwd:i});if(e===a)return;if(e)return n.resolve(i,e);if(i===o)return;i=n.dirname(i)}},t.exports.exists=i,t.exports.sync.exists=i.sync,t.exports.stop=a})),xe=e.t(((e,t)=>{t.exports=function(e){return e?e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function:!1}})),Se=e.t(((e,t)=>{var n=require(`util`),r=xe(),i=function(e,t){(!e||e.constructor!==String)&&(t=e||{},e=Error.name);var i=function n(a){if(!this)return new n(a);a=a instanceof Error?a.message:a||this.message,Error.call(this,a),Error.captureStackTrace(this,i),this.name=e,Object.defineProperty(this,`message`,{configurable:!0,enumerable:!1,get:function(){var e=a.split(/\r?\n/g);for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];`message`in i&&(e=i.message(this[n],e)||e,r(e)||(e=[e]))}return e.join(`
`)},set:function(e){a=e}});var o=null,s=Object.getOwnPropertyDescriptor(this,`stack`),c=s.get,l=s.value;delete s.value,delete s.writable,s.set=function(e){o=e},s.get=function(){var e=(o||(c?c.call(this):l)).split(/\r?\n+/g);o||(e[0]=this.name+`: `+this.message);var n=1;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(`line`in i){var a=i.line(this[r]);a&&e.splice(n++,0,` `+a)}`stack`in i&&i.stack(this[r],e)}return e.join(`
`)},Object.defineProperty(this,`stack`,s)};return Object.setPrototypeOf?(Object.setPrototypeOf(i.prototype,Error.prototype),Object.setPrototypeOf(i,Error)):n.inherits(i,Error),i};i.append=function(e,t){return{message:function(n,r){return n||=t,n&&(r[0]+=` `+e.replace(`%s`,n.toString())),r}}},i.line=function(e,t){return{line:function(n){return n||=t,n?e.replace(`%s`,n.toString()):null}}},t.exports=i})),Ce=e.t(((e,t)=>{let n=e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return`0x`+(t.length%2?`0`:``)+t},r=(e,t,r)=>{if(!t)return{message:e.message+` while parsing empty string`,position:0};let i=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),a=i?+i[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null,o=i?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(i[1])} (${n(i[1])})`):e.message;if(a!=null){let e=a<=r?0:a-r,n=a+r>=t.length?t.length:a+r,i=(e===0?``:`...`)+t.slice(e,n)+(n===t.length?``:`...`);return{message:o+` while parsing ${t===i?``:`near `}${JSON.stringify(i)}`,position:a}}else return{message:o+` while parsing '${t.slice(0,r*2)}'`,position:0}};var i=class extends SyntaxError{constructor(e,t,n,i){n||=20;let a=r(e,t,n);super(a.message),Object.assign(this,a),this.code=`EJSONPARSE`,this.systemError=e,Error.captureStackTrace(this,i||this.constructor)}get name(){return this.constructor.name}set name(e){}get[Symbol.toStringTag](){return this.constructor.name}};let a=Symbol.for(`indent`),o=Symbol.for(`newline`),s=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,c=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,l=(e,t,n)=>{let r=u(e);n||=20;try{let[,e=`
`,n=` `]=r.match(c)||r.match(s)||[,``,``],i=JSON.parse(r,t);return i&&typeof i==`object`&&(i[o]=e,i[a]=n),i}catch(t){if(typeof e!=`string`&&!Buffer.isBuffer(e)){let n=Array.isArray(e)&&e.length===0;throw Object.assign(TypeError(`Cannot parse ${n?`an empty array`:String(e)}`),{code:`EJSONPARSE`,systemError:t})}throw new i(t,r,n,l)}},u=e=>String(e).replace(/^\uFEFF/,``);t.exports=l,l.JSONParseError=i,l.noExceptions=(e,t)=>{try{return JSON.parse(u(e),t)}catch{}}})),we=e.t((e=>{e.__esModule=!0,e.LinesAndColumns=void 0;var t=`
`,n=`\r`,r=function(){function e(e){this.string=e;for(var r=[0],i=0;i<e.length;)switch(e[i]){case t:i+=t.length,r.push(i);break;case n:i+=n.length,e[i]===t&&(i+=t.length),r.push(i);break;default:i++;break}this.offsets=r}return e.prototype.locationForIndex=function(e){if(e<0||e>this.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;var r=e-n[t];return{line:t,column:r}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t},e}();e.LinesAndColumns=r,e.default=r})),Te=e.t(((e,t)=>{let n=Se(),r=Ce(),{default:i}=we(),{codeFrameColumns:a}=E(),o=n(`JSONError`,{fileName:n.append(`in %s`),codeFrame:n.append(`
%s
`)}),s=(e,t,n)=>{typeof t==`string`&&(n=t,t=null);try{try{return JSON.parse(e,t)}catch(n){throw r(e,t),n}}catch(t){t.message=t.message.replace(/\n/g,``);let r=t.message.match(/in JSON at position (\d+) while parsing/),s=new o(t);if(n&&(s.fileName=n),r&&r.length>0){let t=new i(e),n=Number(r[1]),o=t.locationForIndex(n);s.codeFrame=a(e,{start:{line:o.line+1,column:o.column+1}},{highlightCode:!0})}throw s}};s.JSONError=o,t.exports=s})),Ee=e.t(((e,t)=>{var n=t.exports={github:{protocols:[`git`,`http`,`git+ssh`,`git+https`,`ssh`,`https`],domain:`github.com`,treepath:`tree`,filetemplate:`https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}`,bugstemplate:`https://{domain}/{user}/{project}/issues`,gittemplate:`git://{auth@}{domain}/{user}/{project}.git{#committish}`,tarballtemplate:`https://codeload.{domain}/{user}/{project}/tar.gz/{committish}`},bitbucket:{protocols:[`git+ssh`,`git+https`,`ssh`,`https`],domain:`bitbucket.org`,treepath:`src`,tarballtemplate:`https://{domain}/{user}/{project}/get/{committish}.tar.gz`},gitlab:{protocols:[`git+ssh`,`git+https`,`ssh`,`https`],domain:`gitlab.com`,treepath:`tree`,bugstemplate:`https://{domain}/{user}/{project}/issues`,httpstemplate:`git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}`,tarballtemplate:`https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}`,pathmatch:/^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/},gist:{protocols:[`git`,`git+ssh`,`git+https`,`ssh`,`https`],domain:`gist.github.com`,pathmatch:/^[/](?:([^/]+)[/])?([a-z0-9]{32,})(?:[.]git)?$/,filetemplate:`https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}`,bugstemplate:`https://{domain}/{project}`,gittemplate:`git://{domain}/{project}.git{#committish}`,sshtemplate:`git@{domain}:/{project}.git{#committish}`,sshurltemplate:`git+ssh://git@{domain}/{project}.git{#committish}`,browsetemplate:`https://{domain}/{project}{/committish}`,browsefiletemplate:`https://{domain}/{project}{/committish}{#path}`,docstemplate:`https://{domain}/{project}{/committish}`,httpstemplate:`git+https://{domain}/{project}.git{#committish}`,shortcuttemplate:`{type}:{project}{#committish}`,pathtemplate:`{project}{#committish}`,tarballtemplate:`https://codeload.github.com/gist/{project}/tar.gz/{committish}`,hashformat:function(e){return`file-`+i(e)}}},r={sshtemplate:`git@{domain}:{user}/{project}.git{#committish}`,sshurltemplate:`git+ssh://git@{domain}/{user}/{project}.git{#committish}`,browsetemplate:`https://{domain}/{user}/{project}{/tree/committish}`,browsefiletemplate:`https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}`,docstemplate:`https://{domain}/{user}/{project}{/tree/committish}#readme`,httpstemplate:`git+https://{auth@}{domain}/{user}/{project}.git{#committish}`,filetemplate:`https://{domain}/{user}/{project}/raw/{committish}/{path}`,shortcuttemplate:`{type}:{user}/{project}{#committish}`,pathtemplate:`{user}/{project}{#committish}`,pathmatch:/^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,hashformat:i};Object.keys(n).forEach(function(e){Object.keys(r).forEach(function(t){n[e][t]||(n[e][t]=r[t])}),n[e].protocols_re=RegExp(`^(`+n[e].protocols.map(function(e){return e.replace(/([\\+*{}()[\]$^|])/g,`\\$1`)}).join(`|`)+`):$`)});function i(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,``).replace(/\W+/g,`-`)}})),De=e.t(((e,t)=>{var n=Ee(),r=Object.assign||function(e,t){if(typeof t!=`object`||!t)return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};t.exports=i;function i(e,t,r,i,a,o,s){var c=this;c.type=e,Object.keys(n[e]).forEach(function(t){c[t]=n[e][t]}),c.user=t,c.auth=r,c.project=i,c.committish=a,c.default=o,c.opts=s||{}}i.prototype.hash=function(){return this.committish?`#`+this.committish:``},i.prototype._fill=function(e,t){if(e){var n=r({},t);n.path=n.path?n.path.replace(/^[/]+/g,``):``,t=r(r({},this.opts),t);var i=this;Object.keys(this).forEach(function(e){i[e]!=null&&n[e]==null&&(n[e]=i[e])});var a=n.auth,o=n.committish,s=n.fragment,c=n.path,l=n.project;Object.keys(n).forEach(function(e){var t=n[e];(e===`path`||e===`project`)&&typeof t==`string`?n[e]=t.split(`/`).map(function(e){return encodeURIComponent(e)}).join(`/`):n[e]=encodeURIComponent(t)}),n[`auth@`]=a?a+`@`:``,n[`#fragment`]=s?`#`+this.hashformat(s):``,n.fragment=n.fragment?n.fragment:``,n[`#path`]=c?`#`+this.hashformat(c):``,n[`/path`]=n.path?`/`+n.path:``,n.projectPath=l.split(`/`).map(encodeURIComponent).join(`/`),t.noCommittish?(n[`#committish`]=``,n[`/tree/committish`]=``,n[`/committish`]=``,n.committish=``):(n[`#committish`]=o?`#`+o:``,n[`/tree/committish`]=n.committish?`/`+n.treepath+`/`+n.committish:``,n[`/committish`]=n.committish?`/`+n.committish:``,n.committish=n.committish||`master`);var u=e;return Object.keys(n).forEach(function(e){u=u.replace(RegExp(`[{]`+e+`[}]`,`g`),n[e])}),t.noGitPlus?u.replace(/^git[+]/,``):u}},i.prototype.ssh=function(e){return this._fill(this.sshtemplate,e)},i.prototype.sshurl=function(e){return this._fill(this.sshurltemplate,e)},i.prototype.browse=function(e,t,n){return typeof e==`string`?(typeof t!=`string`&&(n=t,t=null),this._fill(this.browsefiletemplate,r({fragment:t,path:e},n))):this._fill(this.browsetemplate,e)},i.prototype.docs=function(e){return this._fill(this.docstemplate,e)},i.prototype.bugs=function(e){return this._fill(this.bugstemplate,e)},i.prototype.https=function(e){return this._fill(this.httpstemplate,e)},i.prototype.git=function(e){return this._fill(this.gittemplate,e)},i.prototype.shortcut=function(e){return this._fill(this.shortcuttemplate,e)},i.prototype.path=function(e){return this._fill(this.pathtemplate,e)},i.prototype.tarball=function(e){var t=r({},e,{noCommittish:!1});return this._fill(this.tarballtemplate,t)},i.prototype.file=function(e,t){return this._fill(this.filetemplate,r({path:e},t))},i.prototype.getDefaultRepresentation=function(){return this.default},i.prototype.toString=function(e){return this.default&&typeof this[this.default]==`function`?this[this.default](e):this.sshurl(e)}})),Oe=e.t(((e,t)=>{var n=require(`url`),r=Ee(),i=t.exports=De(),a={"git+ssh:":`sshurl`,"git+https:":`https`,"ssh:":`sshurl`,"git:":`git`};function o(e){return a[e]||e.slice(0,-1)}var s={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0},c={};t.exports.fromUrl=function(e,t){if(typeof e==`string`){var n=e+JSON.stringify(t||{});return n in c||(c[n]=l(e,t)),c[n]}};function l(e,t){if(!(e==null||e===``)){var n=d(u(e)?`github:`+e:e),a=f(n),c=n.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/),l=Object.keys(r).map(function(e){try{var n=r[e],l=null;a.auth&&s[a.protocol]&&(l=a.auth);var u=a.hash?decodeURIComponent(a.hash.substr(1)):null,d=null,f=null,p=null;if(c&&c[1]===e)d=c[2]&&decodeURIComponent(c[2]),f=decodeURIComponent(c[3].replace(/\.git$/,``)),p=`shortcut`;else{if(a.host&&a.host!==n.domain&&a.host.replace(/^www[.]/,``)!==n.domain||!n.protocols_re.test(a.protocol)||!a.path)return;var m=n.pathmatch,h=a.path.match(m);if(!h)return;h[1]!==null&&h[1]!==void 0&&(d=decodeURIComponent(h[1].replace(/^:/,``))),f=decodeURIComponent(h[2]),p=o(a.protocol)}return new i(e,d,l,f,u,p,t)}catch(e){if(!(e instanceof URIError))throw e}}).filter(function(e){return e});if(l.length===1)return l[0]}}function u(e){return/^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(e)}function d(e){var t=n.parse(e);return t.protocol===`gist:`&&t.host&&!t.path?t.protocol+`/`+t.host:e}function f(e){var t=e.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);if(!t){var r=n.parse(e);if(r.auth&&typeof n.URL==`function`){var i=e.match(/[^@]+@[^:/]+/);if(i){var a=new n.URL(i[0]);r.auth=a.username||``,a.password&&(r.auth+=`:`+a.password)}}return r}return{protocol:`git+ssh:`,slashes:!0,auth:t[1],host:t[2],port:null,hostname:t[2],hash:t[4],search:null,query:null,pathname:`/`+t[3],path:`/`+t[3],href:`git+ssh://`+t[1]+`@`+t[2]+`/`+t[3]+(t[4]||``)}}})),ke=e.t(((e,t)=>{t.exports=n;function n(e){if(e&&e!==`ERROR: No README data found!`){e=e.trim().split(`
`);for(var t=0;e[t]&&e[t].trim().match(/^(#|$)/);t++);for(var n=e.length,r=t+1;r<n&&e[r].trim();r++);return e.slice(t,r).join(` `).trim()}}})),Ae=e.t(((e,t)=>{t.exports={topLevel:{dependancies:`dependencies`,dependecies:`dependencies`,depdenencies:`dependencies`,devEependencies:`devDependencies`,depends:`dependencies`,"dev-dependencies":`devDependencies`,devDependences:`devDependencies`,devDepenencies:`devDependencies`,devdependencies:`devDependencies`,repostitory:`repository`,repo:`repository`,prefereGlobal:`preferGlobal`,hompage:`homepage`,hampage:`homepage`,autohr:`author`,autor:`author`,contributers:`contributors`,publicationConfig:`publishConfig`,script:`scripts`},bugs:{web:`url`,name:`url`},script:{server:`start`,tests:`test`}}})),je=e.t(((e,t)=>{var n=require(`semver`),r=P(),i=Oe(),a=b().isCore,o=[`dependencies`,`devDependencies`,`optionalDependencies`],s=ke(),c=require(`url`),l=Ae();t.exports={warn:function(){},fixRepositoryField:function(e){if(e.repositories&&(this.warn(`repositories`),e.repository=e.repositories[0]),!e.repository)return this.warn(`missingRepository`);typeof e.repository==`string`&&(e.repository={type:`git`,url:e.repository});var t=e.repository.url||``;if(t){var n=i.fromUrl(t);n&&(t=e.repository.url=n.getDefaultRepresentation()==`shortcut`?n.https():n.toString())}t.match(/github.com\/[^\/]+\/[^\/]+\.git\.git$/)&&this.warn(`brokenGitUrl`,t)},fixTypos:function(e){Object.keys(l.topLevel).forEach(function(t){e.hasOwnProperty(t)&&this.warn(`typo`,t,l.topLevel[t])},this)},fixScriptsField:function(e){if(e.scripts){if(typeof e.scripts!=`object`){this.warn(`nonObjectScripts`),delete e.scripts;return}Object.keys(e.scripts).forEach(function(t){typeof e.scripts[t]==`string`?l.script[t]&&!e.scripts[l.script[t]]&&this.warn(`typo`,t,l.script[t],`scripts`):(this.warn(`nonStringScript`),delete e.scripts[t])},this)}},fixFilesField:function(e){var t=e.files;t&&!Array.isArray(t)?(this.warn(`nonArrayFiles`),delete e.files):e.files&&=e.files.filter(function(e){return!e||typeof e!=`string`?(this.warn(`invalidFilename`,e),!1):!0},this)},fixBinField:function(e){if(e.bin&&typeof e.bin==`string`){var t={},n;(n=e.name.match(/^@[^/]+[/](.*)$/))?t[n[1]]=e.bin:t[e.name]=e.bin,e.bin=t}},fixManField:function(e){e.man&&typeof e.man==`string`&&(e.man=[e.man])},fixBundleDependenciesField:function(e){var t=`bundledDependencies`,n=`bundleDependencies`;e[t]&&!e[n]&&(e[n]=e[t],delete e[t]),e[n]&&!Array.isArray(e[n])?(this.warn(`nonArrayBundleDependencies`),delete e[n]):e[n]&&(e[n]=e[n].filter(function(t){return!t||typeof t!=`string`?(this.warn(`nonStringBundleDependency`,t),!1):(e.dependencies||={},e.dependencies.hasOwnProperty(t)||(this.warn(`nonDependencyBundleDependency`,t),e.dependencies[t]=`*`),!0)},this))},fixDependencies:function(e,t){v(e,this.warn),g(e,this.warn),this.fixBundleDependenciesField(e),[`dependencies`,`devDependencies`].forEach(function(t){if(t in e){if(!e[t]||typeof e[t]!=`object`){this.warn(`nonObjectDependencies`,t),delete e[t];return}Object.keys(e[t]).forEach(function(n){var r=e[t][n];typeof r!=`string`&&(this.warn(`nonStringDependency`,n,JSON.stringify(r)),delete e[t][n]);var a=i.fromUrl(e[t][n]);a&&(e[t][n]=a.toString())},this)}},this)},fixModulesField:function(e){e.modules&&(this.warn(`deprecatedModules`),delete e.modules)},fixKeywordsField:function(e){typeof e.keywords==`string`&&(e.keywords=e.keywords.split(/,\s+/)),e.keywords&&!Array.isArray(e.keywords)?(delete e.keywords,this.warn(`nonArrayKeywords`)):e.keywords&&=e.keywords.filter(function(e){return typeof e!=`string`||!e?(this.warn(`nonStringKeyword`),!1):!0},this)},fixVersionField:function(e,t){var r=!t;if(!e.version)return e.version=``,!0;if(!n.valid(e.version,r))throw Error(`Invalid version: "`+e.version+`"`);return e.version=n.clean(e.version,r),!0},fixPeople:function(e){p(e,m),p(e,h)},fixNameField:function(e,t){typeof t==`boolean`?t={strict:t}:t===void 0&&(t={});var n=t.strict;if(!e.name&&!n){e.name=``;return}if(typeof e.name!=`string`)throw Error(`name field must be a string.`);n||(e.name=e.name.trim()),f(e.name,n,t.allowLegacyCase),a(e.name)&&this.warn(`conflictingName`,e.name)},fixDescriptionField:function(e){e.description&&typeof e.description!=`string`&&(this.warn(`nonStringDescription`),delete e.description),e.readme&&!e.description&&(e.description=s(e.readme)),e.description===void 0&&delete e.description,e.description||this.warn(`missingDescription`)},fixReadmeField:function(e){e.readme||=(this.warn(`missingReadme`),`ERROR: No README data found!`)},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=i.fromUrl(e.repository.url);t&&t.bugs()&&(e.bugs={url:t.bugs()})}else if(e.bugs){var n=/^.+@.*\..+$/;if(typeof e.bugs==`string`)n.test(e.bugs)?e.bugs={email:e.bugs}:c.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn(`nonEmailUrlBugsString`);else{y(e.bugs,this.warn);var r=e.bugs;e.bugs={},r.url&&(typeof r.url==`string`&&c.parse(r.url).protocol?e.bugs.url=r.url:this.warn(`nonUrlBugsUrlField`)),r.email&&(typeof r.email==`string`&&n.test(r.email)?e.bugs.email=r.email:this.warn(`nonEmailBugsEmailField`))}!e.bugs.email&&!e.bugs.url&&(delete e.bugs,this.warn(`emptyNormalizedBugs`))}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=i.fromUrl(e.repository.url);t&&t.docs()&&(e.homepage=t.docs())}if(e.homepage){if(typeof e.homepage!=`string`)return this.warn(`nonUrlHomepage`),delete e.homepage;c.parse(e.homepage).protocol||(e.homepage=`http://`+e.homepage)}},fixLicenseField:function(e){if(e.license)typeof e.license!=`string`||e.license.length<1||e.license.trim()===``?this.warn(`invalidLicense`):r(e.license).validForNewPackages||this.warn(`invalidLicense`);else return this.warn(`missingLicense`)}};function u(e){if(e.charAt(0)!==`@`)return!1;var t=e.slice(1).split(`/`);return t.length===2?t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1]):!1}function d(e){return!e.match(/[\/@\s\+%:]/)&&e===encodeURIComponent(e)}function f(e,t,n){if(e.charAt(0)===`.`||!(u(e)||d(e))||t&&!n&&e!==e.toLowerCase()||e.toLowerCase()===`node_modules`||e.toLowerCase()===`favicon.ico`)throw Error(`Invalid name: `+JSON.stringify(e))}function p(e,t){return e.author&&=t(e.author),[`maintainers`,`contributors`].forEach(function(n){Array.isArray(e[n])&&(e[n]=e[n].map(t))}),e}function m(e){if(typeof e==`string`)return e;var t=e.name||``,n=e.url||e.web,r=n?` (`+n+`)`:``,i=e.email||e.mail;return t+(i?` <`+i+`>`:``)+r}function h(e){if(typeof e!=`string`)return e;var t=e.match(/^([^\(<]+)/),n=e.match(/\(([^\)]+)\)/),r=e.match(/<([^>]+)>/),i={};return t&&t[0].trim()&&(i.name=t[0].trim()),r&&(i.email=r[1]),n&&(i.url=n[1]),i}function g(e,t){var n=e.optionalDependencies;if(n){var r=e.dependencies||{};Object.keys(n).forEach(function(e){r[e]=n[e]}),e.dependencies=r}}function _(e,t,n){if(!e)return{};if(typeof e==`string`&&(e=e.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(e))return e;n(`deprecatedArrayDependencies`,t);var r={};return e.filter(function(e){return typeof e==`string`}).forEach(function(e){e=e.trim().split(/(:?[@\s><=])/);var t=e.shift(),n=e.join(``);n=n.trim(),n=n.replace(/^@/,``),r[t]=n}),r}function v(e,t){o.forEach(function(n){e[n]&&(e[n]=_(e[n],n,t))})}function y(e,t){e&&Object.keys(e).forEach(function(n){l.bugs[n]&&(t(`typo`,n,l.bugs[n],`bugs`),e[l.bugs[n]]=e[n],delete e[n])})}})),Me=e.t(((e,t)=>{t.exports={repositories:`'repositories' (plural) Not supported. Please pick one as the 'repository' field`,missingRepository:`No repository field.`,brokenGitUrl:`Probably broken git url: %s`,nonObjectScripts:`scripts must be an object`,nonStringScript:`script values must be string commands`,nonArrayFiles:`Invalid 'files' member`,invalidFilename:`Invalid filename in 'files' list: %s`,nonArrayBundleDependencies:`Invalid 'bundleDependencies' list. Must be array of package names`,nonStringBundleDependency:`Invalid bundleDependencies member: %s`,nonDependencyBundleDependency:`Non-dependency in bundleDependencies: %s`,nonObjectDependencies:`%s field must be an object`,nonStringDependency:`Invalid dependency: %s %s`,deprecatedArrayDependencies:`specifying %s as array is deprecated`,deprecatedModules:`modules field is deprecated`,nonArrayKeywords:`keywords should be an array of strings`,nonStringKeyword:`keywords should be an array of strings`,conflictingName:`%s is also the name of a node core module.`,nonStringDescription:`'description' field should be a string`,missingDescription:`No description`,missingReadme:`No README data`,missingLicense:`No license field.`,nonEmailUrlBugsString:`Bug string field must be url, email, or {email,url}`,nonUrlBugsUrlField:`bugs.url field must be a string url. Deleted.`,nonEmailBugsEmailField:`bugs.email field must be a string email. Deleted.`,emptyNormalizedBugs:`Normalized value of bugs field is an empty object. Deleted.`,nonUrlHomepage:`homepage field must be a string url. Deleted.`,invalidLicense:`license should be a valid SPDX license expression`,typo:`%s should probably be %s.`}})),Ne=e.t(((e,t)=>{var n=require(`util`),r=Me();t.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t==`typo`)return i.apply(null,e);var a=r[t]?r[t]:t+`: '%s'`;return e.unshift(a),n.format.apply(null,e)};function i(e,t,i){return i&&(e=i+`['`+e+`']`,t=i+`['`+t+`']`),n.format(r.typo,e,t)}})),Pe=e.t(((e,t)=>{t.exports=s;var n=je();s.fixer=n;var r=Ne(),i=[`name`,`version`,`description`,`repository`,`modules`,`scripts`,`files`,`bin`,`man`,`bugs`,`keywords`,`readme`,`homepage`,`license`],a=[`dependencies`,`people`,`typos`],o=i.map(function(e){return c(e)+`Field`});o=o.concat(a);function s(e,t,i){t===!0&&(t=null,i=!0),i||=!1,(!t||e.private)&&(t=function(e){}),e.scripts&&e.scripts.install===`node-gyp rebuild`&&!e.scripts.preinstall&&(e.gypfile=!0),n.warn=function(){t(r.apply(null,arguments))},o.forEach(function(t){n[`fix`+c(t)](e,i)}),e._id=e.name+`@`+e.version}function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}})),Fe=e.t(((e,t)=>{let{promisify:n}=require(`util`),r=require(`fs`),i=require(`path`),a=Te(),o=n(r.readFile);t.exports=async e=>{e={cwd:process.cwd(),normalize:!0,...e};let t=a(await o(i.resolve(e.cwd,`package.json`),`utf8`));return e.normalize&&Pe()(t),t},t.exports.sync=e=>{e={cwd:process.cwd(),normalize:!0,...e};let t=i.resolve(e.cwd,`package.json`),n=a(r.readFileSync(t,`utf8`));return e.normalize&&Pe()(n),n}})),Ie=e.t(((e,t)=>{let n=require(`path`),r=be(),i=Fe();t.exports=async e=>{let t=await r(`package.json`,e);if(t)return{packageJson:await i({...e,cwd:n.dirname(t)}),path:t}},t.exports.sync=e=>{let t=r.sync(`package.json`,e);if(t)return{packageJson:i.sync({...e,cwd:n.dirname(t)}),path:t}}})),Le=e.t(((e,t)=>{let n=require(`util`),r=!1,i=(e=console.error)=>{r||(r=!0,process.on(`unhandledRejection`,t=>{t instanceof Error||(t=Error(`Promise rejected with value: ${n.inspect(t)}`)),e(t.stack),process.exit(1)}))};t.exports=i,t.exports.default=i})),Re=e.t(((e,t)=>{let n=(...e)=>e.every(e=>e)?e.join(``):``,r=e=>e?encodeURIComponent(e):``,i={sshtemplate:({domain:e,user:t,project:r,committish:i})=>`git@${e}:${t}/${r}.git${n(`#`,i)}`,sshurltemplate:({domain:e,user:t,project:r,committish:i})=>`git+ssh://git@${e}/${t}/${r}.git${n(`#`,i)}`,browsetemplate:({domain:e,user:t,project:i,committish:a,treepath:o})=>`https://${e}/${t}/${i}${n(`/`,o,`/`,r(a))}`,browsefiletemplate:({domain:e,user:t,project:i,committish:a,treepath:o,path:s,fragment:c,hashformat:l})=>`https://${e}/${t}/${i}/${o}/${r(a||`master`)}/${s}${n(`#`,l(c||``))}`,docstemplate:({domain:e,user:t,project:i,treepath:a,committish:o})=>`https://${e}/${t}/${i}${n(`/`,a,`/`,r(o))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:i,committish:a})=>`git+https://${n(e,`@`)}${t}/${r}/${i}.git${n(`#`,a)}`,filetemplate:({domain:e,user:t,project:n,committish:i,path:a})=>`https://${e}/${t}/${n}/raw/${r(i)||`master`}/${a}`,shortcuttemplate:({type:e,user:t,project:r,committish:i})=>`${e}:${t}/${r}${n(`#`,i)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${n(`#`,r)}`,bugstemplate:({domain:e,user:t,project:n})=>`https://${e}/${t}/${n}/issues`,hashformat:s},a={};a.github=Object.assign({},i,{protocols:[`git:`,`http:`,`git+ssh:`,`git+https:`,`ssh:`,`https:`],domain:`github.com`,treepath:`tree`,filetemplate:({auth:e,user:t,project:i,committish:a,path:o})=>`https://${n(e,`@`)}raw.githubusercontent.com/${t}/${i}/${r(a)||`master`}/${o}`,gittemplate:({auth:e,domain:t,user:r,project:i,committish:a})=>`git://${n(e,`@`)}${t}/${r}/${i}.git${n(`#`,a)}`,tarballtemplate:({domain:e,user:t,project:n,committish:i})=>`https://codeload.${e}/${t}/${n}/tar.gz/${r(i)||`master`}`,extract:e=>{let[,t,n,r,i]=e.pathname.split(`/`,5);if(!(r&&r!==`tree`)&&(r||(i=e.hash.slice(1)),n&&n.endsWith(`.git`)&&(n=n.slice(0,-4)),!(!t||!n)))return{user:t,project:n,committish:i}}}),a.bitbucket=Object.assign({},i,{protocols:[`git+ssh:`,`git+https:`,`ssh:`,`https:`],domain:`bitbucket.org`,treepath:`src`,tarballtemplate:({domain:e,user:t,project:n,committish:i})=>`https://${e}/${t}/${n}/get/${r(i)||`master`}.tar.gz`,extract:e=>{let[,t,n,r]=e.pathname.split(`/`,4);if(![`get`].includes(r)&&(n&&n.endsWith(`.git`)&&(n=n.slice(0,-4)),!(!t||!n)))return{user:t,project:n,committish:e.hash.slice(1)}}}),a.gitlab=Object.assign({},i,{protocols:[`git+ssh:`,`git+https:`,`ssh:`,`https:`],domain:`gitlab.com`,treepath:`tree`,httpstemplate:({auth:e,domain:t,user:r,project:i,committish:a})=>`git+https://${n(e,`@`)}${t}/${r}/${i}.git${n(`#`,a)}`,tarballtemplate:({domain:e,user:t,project:n,committish:i})=>`https://${e}/${t}/${n}/repository/archive.tar.gz?ref=${r(i)||`master`}`,extract:e=>{let t=e.pathname.slice(1);if(t.includes(`/-/`)||t.includes(`/archive.tar.gz`))return;let n=t.split(`/`),r=n.pop();r.endsWith(`.git`)&&(r=r.slice(0,-4));let i=n.join(`/`);if(!(!i||!r))return{user:i,project:r,committish:e.hash.slice(1)}}}),a.gist=Object.assign({},i,{protocols:[`git:`,`git+ssh:`,`git+https:`,`ssh:`,`https:`],domain:`gist.github.com`,sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${n(`#`,r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${n(`#`,r)}`,browsetemplate:({domain:e,project:t,committish:i})=>`https://${e}/${t}${n(`/`,r(i))}`,browsefiletemplate:({domain:e,project:t,committish:i,path:a,hashformat:o})=>`https://${e}/${t}${n(`/`,r(i))}${n(`#`,o(a))}`,docstemplate:({domain:e,project:t,committish:i})=>`https://${e}/${t}${n(`/`,r(i))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${n(`#`,r)}`,filetemplate:({user:e,project:t,committish:i,path:a})=>`https://gist.githubusercontent.com/${e}/${t}/raw${n(`/`,r(i))}/${a}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${n(`#`,r)}`,pathtemplate:({project:e,committish:t})=>`${e}${n(`#`,t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${n(`#`,r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${r(t)||`master`}`,extract:e=>{let[,t,n,r]=e.pathname.split(`/`,4);if(r!==`raw`){if(!n){if(!t)return;n=t,t=null}return n.endsWith(`.git`)&&(n=n.slice(0,-4)),{user:t,project:n,committish:e.hash.slice(1)}}},hashformat:function(e){return e&&`file-`+s(e)}}),a.sourcehut=Object.assign({},i,{protocols:[`git+ssh:`,`https:`],domain:`git.sr.ht`,treepath:`tree`,browsefiletemplate:({domain:e,user:t,project:i,committish:a,treepath:o,path:s,fragment:c,hashformat:l})=>`https://${e}/${t}/${i}/${o}/${r(a||`main`)}/${s}${n(`#`,l(c||``))}`,filetemplate:({domain:e,user:t,project:n,committish:i,path:a})=>`https://${e}/${t}/${n}/blob/${r(i)||`main`}/${a}`,httpstemplate:({domain:e,user:t,project:r,committish:i})=>`https://${e}/${t}/${r}.git${n(`#`,i)}`,tarballtemplate:({domain:e,user:t,project:n,committish:i})=>`https://${e}/${t}/${n}/archive/${r(i)||`main`}.tar.gz`,bugstemplate:({domain:e,user:t,project:n})=>`https://todo.sr.ht/${t}/${n}`,docstemplate:({domain:e,user:t,project:i,treepath:a,committish:o})=>`https://${e}/${t}/${i}${n(`/`,a,`/`,r(o))}#readme`,extract:e=>{let[,t,n,r]=e.pathname.split(`/`,4);if(![`archive`].includes(r)&&(n&&n.endsWith(`.git`)&&(n=n.slice(0,-4)),!(!t||!n)))return{user:t,project:n,committish:e.hash.slice(1)}}});let o=Object.keys(a);a.byShortcut={},a.byDomain={};for(let e of o)a.byShortcut[`${e}:`]=e,a.byDomain[a[e].domain]=e;function s(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,``).replace(/\W+/g,`-`)}t.exports=a})),ze=e.t(((e,t)=>{let n=Re();t.exports=class{constructor(e,t,r,i,a,o,s={}){Object.assign(this,n[e]),this.type=e,this.user=t,this.auth=r,this.project=i,this.committish=a,this.default=o,this.opts=s}hash(){return this.committish?`#${this.committish}`:``}ssh(e){return this._fill(this.sshtemplate,e)}_fill(e,t){if(typeof e==`function`){let n={...this,...this.opts,...t};n.path||=``,n.path.startsWith(`/`)&&(n.path=n.path.slice(1)),n.noCommittish&&(n.committish=null);let r=e(n);return n.noGitPlus&&r.startsWith(`git+`)?r.slice(4):r}return null}sshurl(e){return this._fill(this.sshurltemplate,e)}browse(e,t,n){return typeof e==`string`?(typeof t!=`string`&&(n=t,t=null),this._fill(this.browsefiletemplate,{...n,fragment:t,path:e})):this._fill(this.browsetemplate,e)}docs(e){return this._fill(this.docstemplate,e)}bugs(e){return this._fill(this.bugstemplate,e)}https(e){return this._fill(this.httpstemplate,e)}git(e){return this._fill(this.gittemplate,e)}shortcut(e){return this._fill(this.shortcuttemplate,e)}path(e){return this._fill(this.pathtemplate,e)}tarball(e){return this._fill(this.tarballtemplate,{...e,noCommittish:!1})}file(e,t){return this._fill(this.filetemplate,{...t,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]==`function`?this[this.default](e):this.sshurl(e)}}})),Be=e.t(((e,t)=>{t.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}})),Ve=e.t(((e,t)=>{t.exports=n,n.Node=o,n.create=n;function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach==`function`)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)t.push(arguments[r]);return t}n.prototype.removeNode=function(e){if(e.list!==this)throw Error(`removing node which does not belong to this list`);var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},n.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||=e,this.length++}},n.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||=e,this.length++}},n.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},n.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},n.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},n.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},n.prototype.forEach=function(e,t){t||=this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next},n.prototype.forEachReverse=function(e,t){t||=this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev},n.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value},n.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value},n.prototype.map=function(e,t){t||=this;for(var r=new n,i=this.head;i!==null;)r.push(e.call(t,i.value,this)),i=i.next;return r},n.prototype.mapReverse=function(e,t){t||=this;for(var r=new n,i=this.tail;i!==null;)r.push(e.call(t,i.value,this)),i=i.prev;return r},n.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw TypeError(`Reduce of empty list with no initial value`);for(var i=0;r!==null;i++)n=e(n,r.value,i),r=r.next;return n},n.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw TypeError(`Reduce of empty list with no initial value`);for(var i=this.length-1;r!==null;i--)n=e(n,r.value,i),r=r.prev;return n},n.prototype.toArray=function(){for(var e=Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e},n.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e},n.prototype.slice=function(e,t){t||=this.length,t<0&&(t+=this.length),e||=0,e<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,a=this.head;a!==null&&i<e;i++)a=a.next;for(;a!==null&&i<t;i++,a=a.next)r.push(a.value);return r},n.prototype.sliceReverse=function(e,t){t||=this.length,t<0&&(t+=this.length),e||=0,e<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,a=this.tail;a!==null&&i>t;i--)a=a.prev;for(;a!==null&&i>e;i--,a=a.prev)r.push(a.value);return r},n.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,a=this.head;a!==null&&i<e;i++)a=a.next;for(var o=[],i=0;a&&i<t;i++)o.push(a.value),a=this.removeNode(a);a===null&&(a=this.tail),a!==this.head&&a!==this.tail&&(a=a.prev);for(var i=0;i<n.length;i++)a=r(this,a,n[i]);return o},n.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function r(e,t,n){var r=t===e.head?new o(n,null,t,e):new o(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function i(e,t){e.tail=new o(t,e.tail,null,e),e.head||=e.tail,e.length++}function a(e,t){e.head=new o(t,null,e.head,e),e.tail||=e.head,e.length++}function o(e,t,n,r){if(!(this instanceof o))return new o(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{Be()(n)}catch{}})),He=e.t(((e,t)=>{let n=Ve(),r=Symbol(`max`),i=Symbol(`length`),a=Symbol(`lengthCalculator`),o=Symbol(`allowStale`),s=Symbol(`maxAge`),c=Symbol(`dispose`),l=Symbol(`noDisposeOnSet`),u=Symbol(`lruList`),d=Symbol(`cache`),f=Symbol(`updateAgeOnGet`),p=()=>1;var m=class{constructor(e){if(typeof e==`number`&&(e={max:e}),e||={},e.max&&(typeof e.max!=`number`||e.max<0))throw TypeError(`max must be a non-negative number`);this[r]=e.max||1/0;let t=e.length||p;if(this[a]=typeof t==`function`?t:p,this[o]=e.stale||!1,e.maxAge&&typeof e.maxAge!=`number`)throw TypeError(`maxAge must be a number`);this[s]=e.maxAge||0,this[c]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!=`number`||e<0)throw TypeError(`max must be a non-negative number`);this[r]=e||1/0,_(this)}get max(){return this[r]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if(typeof e!=`number`)throw TypeError(`maxAge must be a non-negative number`);this[s]=e,_(this)}get maxAge(){return this[s]}set lengthCalculator(e){typeof e!=`function`&&(e=p),e!==this[a]&&(this[a]=e,this[i]=0,this[u].forEach(e=>{e.length=this[a](e.value,e.key),this[i]+=e.length})),_(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t||=this;for(let n=this[u].tail;n!==null;){let r=n.prev;b(this,e,n,t),n=r}}forEach(e,t){t||=this;for(let n=this[u].head;n!==null;){let r=n.next;b(this,e,n,t),n=r}}keys(){return this[u].toArray().map(e=>e.key)}values(){return this[u].toArray().map(e=>e.value)}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach(e=>this[c](e.key,e.value)),this[d]=new Map,this[u]=new n,this[i]=0}dump(){return this[u].map(e=>g(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[u]}set(e,t,n){if(n||=this[s],n&&typeof n!=`number`)throw TypeError(`maxAge must be a number`);let o=n?Date.now():0,f=this[a](t,e);if(this[d].has(e)){if(f>this[r])return v(this,this[d].get(e)),!1;let a=this[d].get(e).value;return this[c]&&(this[l]||this[c](e,a.value)),a.now=o,a.maxAge=n,a.value=t,this[i]+=f-a.length,a.length=f,this.get(e),_(this),!0}let p=new y(e,t,f,o,n);return p.length>this[r]?(this[c]&&this[c](e,t),!1):(this[i]+=p.length,this[u].unshift(p),this[d].set(e,this[u].head),_(this),!0)}has(e){if(!this[d].has(e))return!1;let t=this[d].get(e).value;return!g(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){let e=this[u].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();let t=Date.now();for(let n=e.length-1;n>=0;n--){let r=e[n],i=r.e||0;if(i===0)this.set(r.k,r.v);else{let e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach((e,t)=>h(this,t,!1))}};let h=(e,t,n)=>{let r=e[d].get(t);if(r){let t=r.value;if(g(e,t)){if(v(e,r),!e[o])return}else n&&(e[f]&&(r.value.now=Date.now()),e[u].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[s]&&n>e[s]},_=e=>{if(e[i]>e[r])for(let t=e[u].tail;e[i]>e[r]&&t!==null;){let n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){let n=t.value;e[c]&&e[c](n.key,n.value),e[i]-=n.length,e[d].delete(n.key),e[u].removeNode(t)}};var y=class{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}};let b=(e,t,n,r)=>{let i=n.value;g(e,i)&&(v(e,n),e[o]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};t.exports=m})),Ue=e.t(((e,t)=>{let n=require(`url`),r=Re(),i=t.exports=ze(),a=new(He())({max:1e3}),o={"git+ssh:":`sshurl`,"git+https:":`https`,"ssh:":`sshurl`,"git:":`git`};function s(e){return o[e]||e.slice(0,-1)}let c={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0},l=Object.keys(r.byShortcut).concat([`http:`,`https:`,`git:`,`git+ssh:`,`git+https:`,`ssh:`]);t.exports.fromUrl=function(e,t){if(typeof e!=`string`)return;let n=e+JSON.stringify(t||{});return a.has(n)||a.set(n,u(e,t)),a.get(n)};function u(e,t){if(!e)return;let n=m(f(e)?`github:`+e:d(e));if(!n)return n;let a=r.byShortcut[n.protocol],o=r.byDomain[n.hostname.startsWith(`www.`)?n.hostname.slice(4):n.hostname],l=a||o;if(!l)return;let u=r[a||o],p=null;c[n.protocol]&&(n.username||n.password)&&(p=`${n.username}${n.password?`:`+n.password:``}`);let h=null,g=null,_=null,v=null;try{if(a){let e=n.pathname.startsWith(`/`)?n.pathname.slice(1):n.pathname,t=e.indexOf(`@`);t>-1&&(e=e.slice(t+1));let r=e.lastIndexOf(`/`);r>-1?(g=decodeURIComponent(e.slice(0,r)),g||=null,_=decodeURIComponent(e.slice(r+1))):_=decodeURIComponent(e),_.endsWith(`.git`)&&(_=_.slice(0,-4)),n.hash&&(h=decodeURIComponent(n.hash.slice(1))),v=`shortcut`}else{if(!u.protocols.includes(n.protocol))return;let e=u.extract(n);if(!e)return;g=e.user&&decodeURIComponent(e.user),_=decodeURIComponent(e.project),h=decodeURIComponent(e.committish),v=s(n.protocol)}}catch(e){if(e instanceof URIError)return;throw e}return new i(l,g,p,_,h,v,t)}let d=e=>{let t=e.indexOf(`:`),n=e.slice(0,t+1);if(l.includes(n))return e;let r=e.indexOf(`@`);return r>-1?r>t?`git+ssh://${e}`:e:e.indexOf(`//`)===t+1?e:e.slice(0,t+1)+`//`+e.slice(t+1)},f=e=>{let t=e.indexOf(`#`),n=e.indexOf(`/`),r=e.indexOf(`/`,n+1),i=e.indexOf(`:`),a=/\s/.exec(e),o=e.indexOf(`@`),s=!a||t>-1&&a.index>t,c=o===-1||t>-1&&o>t,l=i===-1||t>-1&&i>t,u=r===-1||t>-1&&r>t,d=n>0,f=t>-1?e[t-1]!==`/`:!e.endsWith(`/`),p=!e.startsWith(`.`);return s&&d&&f&&p&&c&&l&&u},p=e=>{let t=e.indexOf(`@`),n=e.lastIndexOf(`#`),r=e.indexOf(`:`),i=e.lastIndexOf(`:`,n>-1?n:1/0),a;return i>t&&(a=e.slice(0,i)+`/`+e.slice(i+1),r=a.indexOf(`:`),i=a.lastIndexOf(`:`)),r===-1&&e.indexOf(`//`)===-1&&(a=`git+ssh://${a}`),a},m=e=>{let t;try{t=new n.URL(e)}catch{}if(t)return t;let r=p(e);try{t=new n.URL(r)}catch{}return t}})),We=e.t(((e,t)=>{t.exports=n;function n(e){if(e&&e!==`ERROR: No README data found!`){e=e.trim().split(`
`);for(var t=0;e[t]&&e[t].trim().match(/^(#|$)/);t++);for(var n=e.length,r=t+1;r<n&&e[r].trim();r++);return e.slice(t,r).join(` `).trim()}}})),Ge=e.t(((e,t)=>{t.exports={topLevel:{dependancies:`dependencies`,dependecies:`dependencies`,depdenencies:`dependencies`,devEependencies:`devDependencies`,depends:`dependencies`,"dev-dependencies":`devDependencies`,devDependences:`devDependencies`,devDepenencies:`devDependencies`,devdependencies:`devDependencies`,repostitory:`repository`,repo:`repository`,prefereGlobal:`preferGlobal`,hompage:`homepage`,hampage:`homepage`,autohr:`author`,autor:`author`,contributers:`contributors`,publicationConfig:`publishConfig`,script:`scripts`},bugs:{web:`url`,name:`url`},script:{server:`start`,tests:`test`}}})),Ke=e.t(((e,t)=>{var n=require(`semver/functions/valid.js`),r=require(`semver/functions/clean.js`),i=P(),a=Ue(),o=p(),s=[`dependencies`,`devDependencies`,`optionalDependencies`],c=We(),l=require(`url`),u=Ge();t.exports={warn:function(){},fixRepositoryField:function(e){if(e.repositories&&(this.warn(`repositories`),e.repository=e.repositories[0]),!e.repository)return this.warn(`missingRepository`);typeof e.repository==`string`&&(e.repository={type:`git`,url:e.repository});var t=e.repository.url||``;if(t){var n=a.fromUrl(t);n&&(t=e.repository.url=n.getDefaultRepresentation()===`shortcut`?n.https():n.toString())}t.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn(`brokenGitUrl`,t)},fixTypos:function(e){Object.keys(u.topLevel).forEach(function(t){Object.prototype.hasOwnProperty.call(e,t)&&this.warn(`typo`,t,u.topLevel[t])},this)},fixScriptsField:function(e){if(e.scripts){if(typeof e.scripts!=`object`){this.warn(`nonObjectScripts`),delete e.scripts;return}Object.keys(e.scripts).forEach(function(t){typeof e.scripts[t]==`string`?u.script[t]&&!e.scripts[u.script[t]]&&this.warn(`typo`,t,u.script[t],`scripts`):(this.warn(`nonStringScript`),delete e.scripts[t])},this)}},fixFilesField:function(e){var t=e.files;t&&!Array.isArray(t)?(this.warn(`nonArrayFiles`),delete e.files):e.files&&=e.files.filter(function(e){return!e||typeof e!=`string`?(this.warn(`invalidFilename`,e),!1):!0},this)},fixBinField:function(e){if(e.bin&&typeof e.bin==`string`){var t={},n;(n=e.name.match(/^@[^/]+[/](.*)$/))?t[n[1]]=e.bin:t[e.name]=e.bin,e.bin=t}},fixManField:function(e){e.man&&typeof e.man==`string`&&(e.man=[e.man])},fixBundleDependenciesField:function(e){var t=`bundledDependencies`,n=`bundleDependencies`;e[t]&&!e[n]&&(e[n]=e[t],delete e[t]),e[n]&&!Array.isArray(e[n])?(this.warn(`nonArrayBundleDependencies`),delete e[n]):e[n]&&(e[n]=e[n].filter(function(t){return!t||typeof t!=`string`?(this.warn(`nonStringBundleDependency`,t),!1):(e.dependencies||={},Object.prototype.hasOwnProperty.call(e.dependencies,t)&&(this.warn(`nonDependencyBundleDependency`,t),e.dependencies[t]=`*`),!0)},this))},fixDependencies:function(e,t){b(e,this.warn),v(e,this.warn),this.fixBundleDependenciesField(e),[`dependencies`,`devDependencies`].forEach(function(t){if(t in e){if(!e[t]||typeof e[t]!=`object`){this.warn(`nonObjectDependencies`,t),delete e[t];return}Object.keys(e[t]).forEach(function(n){var r=e[t][n];typeof r!=`string`&&(this.warn(`nonStringDependency`,n,JSON.stringify(r)),delete e[t][n]);var i=a.fromUrl(e[t][n]);i&&(e[t][n]=i.toString())},this)}},this)},fixModulesField:function(e){e.modules&&(this.warn(`deprecatedModules`),delete e.modules)},fixKeywordsField:function(e){typeof e.keywords==`string`&&(e.keywords=e.keywords.split(/,\s+/)),e.keywords&&!Array.isArray(e.keywords)?(delete e.keywords,this.warn(`nonArrayKeywords`)):e.keywords&&=e.keywords.filter(function(e){return typeof e!=`string`||!e?(this.warn(`nonStringKeyword`),!1):!0},this)},fixVersionField:function(e,t){var i=!t;if(!e.version)return e.version=``,!0;if(!n(e.version,i))throw Error(`Invalid version: "`+e.version+`"`);return e.version=r(e.version,i),!0},fixPeople:function(e){h(e,g),h(e,_)},fixNameField:function(e,t){typeof t==`boolean`?t={strict:t}:t===void 0&&(t={});var n=t.strict;if(!e.name&&!n){e.name=``;return}if(typeof e.name!=`string`)throw Error(`name field must be a string.`);n||(e.name=e.name.trim()),m(e.name,n,t.allowLegacyCase),o(e.name)&&this.warn(`conflictingName`,e.name)},fixDescriptionField:function(e){e.description&&typeof e.description!=`string`&&(this.warn(`nonStringDescription`),delete e.description),e.readme&&!e.description&&(e.description=c(e.readme)),e.description===void 0&&delete e.description,e.description||this.warn(`missingDescription`)},fixReadmeField:function(e){e.readme||=(this.warn(`missingReadme`),`ERROR: No README data found!`)},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=a.fromUrl(e.repository.url);t&&t.bugs()&&(e.bugs={url:t.bugs()})}else if(e.bugs){var n=/^.+@.*\..+$/;if(typeof e.bugs==`string`)n.test(e.bugs)?e.bugs={email:e.bugs}:l.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn(`nonEmailUrlBugsString`);else{x(e.bugs,this.warn);var r=e.bugs;e.bugs={},r.url&&(typeof r.url==`string`&&l.parse(r.url).protocol?e.bugs.url=r.url:this.warn(`nonUrlBugsUrlField`)),r.email&&(typeof r.email==`string`&&n.test(r.email)?e.bugs.email=r.email:this.warn(`nonEmailBugsEmailField`))}!e.bugs.email&&!e.bugs.url&&(delete e.bugs,this.warn(`emptyNormalizedBugs`))}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=a.fromUrl(e.repository.url);t&&t.docs()&&(e.homepage=t.docs())}if(e.homepage){if(typeof e.homepage!=`string`)return this.warn(`nonUrlHomepage`),delete e.homepage;l.parse(e.homepage).protocol||(e.homepage=`http://`+e.homepage)}},fixLicenseField:function(e){let t=e.license||e.licence;if(!t)return this.warn(`missingLicense`);if(typeof t!=`string`||t.length<1||t.trim()===``||!i(t).validForNewPackages)return this.warn(`invalidLicense`)}};function d(e){if(e.charAt(0)!==`@`)return!1;var t=e.slice(1).split(`/`);return t.length===2?t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1]):!1}function f(e){return!e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function m(e,t,n){if(e.charAt(0)===`.`||!(d(e)||f(e))||t&&!n&&e!==e.toLowerCase()||e.toLowerCase()===`node_modules`||e.toLowerCase()===`favicon.ico`)throw Error(`Invalid name: `+JSON.stringify(e))}function h(e,t){return e.author&&=t(e.author),[`maintainers`,`contributors`].forEach(function(n){Array.isArray(e[n])&&(e[n]=e[n].map(t))}),e}function g(e){if(typeof e==`string`)return e;var t=e.name||``,n=e.url||e.web,r=n?` (`+n+`)`:``,i=e.email||e.mail;return t+(i?` <`+i+`>`:``)+r}function _(e){if(typeof e!=`string`)return e;var t=e.match(/^([^(<]+)/),n=e.match(/\(([^)]+)\)/),r=e.match(/<([^>]+)>/),i={};return t&&t[0].trim()&&(i.name=t[0].trim()),r&&(i.email=r[1]),n&&(i.url=n[1]),i}function v(e,t){var n=e.optionalDependencies;if(n){var r=e.dependencies||{};Object.keys(n).forEach(function(e){r[e]=n[e]}),e.dependencies=r}}function y(e,t,n){if(!e)return{};if(typeof e==`string`&&(e=e.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(e))return e;n(`deprecatedArrayDependencies`,t);var r={};return e.filter(function(e){return typeof e==`string`}).forEach(function(e){e=e.trim().split(/(:?[@\s><=])/);var t=e.shift(),n=e.join(``);n=n.trim(),n=n.replace(/^@/,``),r[t]=n}),r}function b(e,t){s.forEach(function(n){e[n]&&(e[n]=y(e[n],n,t))})}function x(e,t){e&&Object.keys(e).forEach(function(n){u.bugs[n]&&(t(`typo`,n,u.bugs[n],`bugs`),e[u.bugs[n]]=e[n],delete e[n])})}})),qe=e.t(((e,t)=>{t.exports={repositories:`'repositories' (plural) Not supported. Please pick one as the 'repository' field`,missingRepository:`No repository field.`,brokenGitUrl:`Probably broken git url: %s`,nonObjectScripts:`scripts must be an object`,nonStringScript:`script values must be string commands`,nonArrayFiles:`Invalid 'files' member`,invalidFilename:`Invalid filename in 'files' list: %s`,nonArrayBundleDependencies:`Invalid 'bundleDependencies' list. Must be array of package names`,nonStringBundleDependency:`Invalid bundleDependencies member: %s`,nonDependencyBundleDependency:`Non-dependency in bundleDependencies: %s`,nonObjectDependencies:`%s field must be an object`,nonStringDependency:`Invalid dependency: %s %s`,deprecatedArrayDependencies:`specifying %s as array is deprecated`,deprecatedModules:`modules field is deprecated`,nonArrayKeywords:`keywords should be an array of strings`,nonStringKeyword:`keywords should be an array of strings`,conflictingName:`%s is also the name of a node core module.`,nonStringDescription:`'description' field should be a string`,missingDescription:`No description`,missingReadme:`No README data`,missingLicense:`No license field.`,nonEmailUrlBugsString:`Bug string field must be url, email, or {email,url}`,nonUrlBugsUrlField:`bugs.url field must be a string url. Deleted.`,nonEmailBugsEmailField:`bugs.email field must be a string email. Deleted.`,emptyNormalizedBugs:`Normalized value of bugs field is an empty object. Deleted.`,nonUrlHomepage:`homepage field must be a string url. Deleted.`,invalidLicense:`license should be a valid SPDX license expression`,typo:`%s should probably be %s.`}})),Je=e.t(((e,t)=>{var n=require(`util`),r=qe();t.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t===`typo`)return i.apply(null,e);var a=r[t]?r[t]:t+`: '%s'`;return e.unshift(a),n.format.apply(null,e)};function i(e,t,i){return i&&(e=i+`['`+e+`']`,t=i+`['`+t+`']`),n.format(r.typo,e,t)}})),Ye=e.t(((e,t)=>{t.exports=s;var n=Ke();s.fixer=n;var r=Je(),i=[`name`,`version`,`description`,`repository`,`modules`,`scripts`,`files`,`bin`,`man`,`bugs`,`keywords`,`readme`,`homepage`,`license`],a=[`dependencies`,`people`,`typos`],o=i.map(function(e){return c(e)+`Field`});o=o.concat(a);function s(e,t,i){t===!0&&(t=null,i=!0),i||=!1,(!t||e.private)&&(t=function(e){}),e.scripts&&e.scripts.install===`node-gyp rebuild`&&!e.scripts.preinstall&&(e.gypfile=!0),n.warn=function(){t(r.apply(null,arguments))},o.forEach(function(t){n[`fix`+c(t)](e,i)}),e._id=e.name+`@`+e.version}function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}})),Xe=e.t(((e,t)=>{let n=require(`path`),r=ne(),i=$(),a=oe(),o=se(),s=le(),c=ue(),l=me(),u=Ie(),d=Le(),f=Ye();delete require.cache[__filename];let p=n.dirname(t.parent&&t.parent.filename?t.parent.filename:`.`),m=(e,t,n,r)=>{let i=t[e],a=!0;if(typeof i.isRequired==`function`&&(a=i.isRequired(n,r),typeof a!=`boolean`))throw TypeError(`Return value for isRequired callback should be of type boolean, but ${typeof a} was returned.`);return n[e]===void 0?a:i.isMultiple&&n[e].length===0},h=(e,t,n)=>{let r=[];if(e===void 0)return[];for(let i of Object.keys(e))e[i].isRequired&&m(i,e,t,n)&&r.push({key:i,...e[i]});return r},g=e=>{console.error(`Missing required flag${e.length>1?`s`:``}`);for(let t of e)console.error(`\t--${o(t.key,`-`)}${t.alias?`, -${t.alias}`:``}`)},_=({flags:e})=>{let t=Object.keys(e).filter(e=>e.includes(`-`)&&e!==`--`);if(t.length>0)throw Error(`Flag keys may not contain '-': ${t.join(`, `)}`)},v=e=>{console.error([`Unknown flag${e.length>1?`s`:``}`,...e].join(`
`))},y=({flags:e,booleanDefault:t})=>{let n={};for(let[r,i]of Object.entries(e)){let e={...i};t!==void 0&&e.type===`boolean`&&!Object.prototype.hasOwnProperty.call(e,`default`)&&(e.default=e.isMultiple?[t]:t),e.isMultiple&&(e.type=e.type?`${e.type}-array`:`array`,e.default=e.default||[],delete e.isMultiple),n[r]=e}return n},b=(e,t)=>{for(let[n,r]of Object.entries(t.flags))if(n!==`--`&&!r.isMultiple&&Array.isArray(e[n]))throw Error(`The flag --${n} can only be set once.`)};t.exports=(e,t)=>{typeof e!=`string`&&(t=e,e=``);let n=u.sync({cwd:p,normalize:!1});t={pkg:n?n.packageJson:{},argv:process.argv.slice(2),flags:{},inferType:!1,input:`string`,help:e,autoHelp:!0,autoVersion:!0,booleanDefault:!1,hardRejection:!0,allowUnknownFlags:!0,...t},t.hardRejection&&d(),_(t);let o={arguments:t.input,...y(t)};o=s(o,`-`,{exclude:[`stopEarly`,`--`]}),t.inferType&&delete o.arguments,o=r(o),o.configuration={...o.configuration,"greedy-arrays":!1},o[`--`]&&(o.configuration[`populate--`]=!0),t.allowUnknownFlags||(o.configuration[`unknown-options-as-args`]=!0);let{pkg:m}=t,x=i(t.argv,o),S=l(c((t.help||``).replace(/\t+\n*$/,``)),2);f(m),process.title=m.bin?Object.keys(m.bin)[0]:m.name;let{description:C}=t;!C&&C!==!1&&({description:C}=m),S=(C?`\n ${C}\n`:``)+(S?`\n${S}\n`:`
`);let w=e=>{console.log(S),process.exit(typeof e==`number`?e:2)},T=()=>{console.log(typeof t.version==`string`?t.version:m.version),process.exit(0)};x._.length===0&&t.argv.length===1&&(x.version===!0&&t.autoVersion&&T(),x.help===!0&&t.autoHelp&&w(0));let E=x._;if(delete x._,!t.allowUnknownFlags){let e=E.filter(e=>typeof e==`string`&&e.startsWith(`-`));e.length>0&&(v(e),process.exit(2))}let D=a(x,{exclude:[`--`,/^\w$/]}),O={...D};b(D,t);for(let e of Object.values(t.flags))delete D[e.alias];let k=h(t.flags,D,E);return k.length>0&&(g(k),process.exit(2)),{input:E,flags:D,unnormalizedFlags:O,pkg:m,help:S,showHelp:w,showVersion:T}}}));Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return pe}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return te}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return ie}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return Xe}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return P}});
//# sourceMappingURL=meow-CbdXCBsh.cjs.map
//# debugId=2875e2cb-95c4-51c2-ac5b-f704a6efe828